/* =========================================
   Lockton Solutions — R&D Page
   Extra styles. Must be loaded after css/style.css
   ========================================= */

/* Page hero */
.page-hero{
  padding:9rem 3rem 3rem;
  position:relative;
  overflow:hidden;
  text-align:center;

  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
}

.page-hero .hero-grid{
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(0,0,0,.04) 1px,transparent 1px),
    linear-gradient(90deg,rgba(0,0,0,.04) 1px,transparent 1px);
  background-size:60px 60px;
  mask-image:radial-gradient(ellipse 70% 80% at 50% 30%,black,transparent);
}

.page-hero > .hero-content{
  width:100% !important;
  max-width:760px !important;
  margin:0 auto !important;
  padding:0 !important;
  position:relative !important;
  left:auto !important;
  right:auto !important;
  transform:none !important;
  z-index:2;
  text-align:center !important;

  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
}

.page-hero .hero-badge{
  margin-left:auto !important;
  margin-right:auto !important;
  align-self:center !important;
}

.page-hero h1{
  width:100%;
  font-size:clamp(2.2rem,5vw,4rem);
  margin-bottom:1rem;
  text-align:center !important;
}

.page-hero .hero-sub{
  max-width:760px;
  margin:0 auto;
  text-align:center !important;
}

/* Owner / founder card */
.owner-section{
  padding:4rem 3rem;
  position:relative;
}

.owner-card{
  max-width:1200px;
  margin:0 auto;
  display:grid;
  grid-template-columns:360px 1fr;
  gap:3rem;
  align-items:center;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:3rem 3.5rem;
}

/* Founder photo */
.owner-photo-wrap{
  width:300px;
  height:300px;
  max-width:300px;
  max-height:300px;
  flex:0 0 300px;
  border-radius:50%;
  padding:3px;
  overflow:hidden;
  background:linear-gradient(135deg,rgba(43,125,233,.75),rgba(90,158,245,.2));
  box-shadow:0 24px 60px rgba(43,125,233,.2);
}

.owner-photo{
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  display:block;
  object-fit:cover;
  object-position:center 28%;
  border-radius:50%;
  background:var(--surface2);
}

.owner-info h3{
  font-size:1.5rem;
  font-weight:700;
  margin-bottom:.25rem;
}

.owner-role{
  font-family:'Space Mono',monospace;
  font-size:.8rem;
  color:var(--accent);
  letter-spacing:.1em;
  text-transform:uppercase;
  margin-bottom:1rem;
}

.owner-bio{
  color:var(--text-dim);
  font-size:.98rem;
  line-height:1.7;
  font-weight:300;
}

/* Projects grid */
.rnd-container{
  max-width:1200px;
  margin:0 auto;
}

.projects-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(330px,1fr));
  gap:1.5rem;
  margin-top:1rem;
}

.project-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:2rem;
  position:relative;
  overflow:hidden;
  transition:transform .35s,border-color .35s,box-shadow .35s;
  display:flex;
  flex-direction:column;
}

.project-card:hover{
  transform:translateY(-6px);
  border-color:rgba(43,125,233,.25);
  box-shadow:0 14px 44px rgba(43,125,233,.1);
}

.project-card::after{
  content:'';
  position:absolute;
  inset:0 0 auto 0;
  height:3px;
  background:linear-gradient(90deg,var(--accent),var(--accent2));
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .4s;
}

.project-card:hover::after{
  transform:scaleX(1);
}

.project-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  margin-bottom:1.2rem;
}

.project-icon{
  width:48px;
  height:48px;
  border-radius:14px;
  background:linear-gradient(135deg,var(--accent),var(--accent3));
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.4rem;
}

.project-status{
  font-family:'Space Mono',monospace;
  font-size:.65rem;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
  padding:.3rem .7rem;
  border-radius:100px;
}

.status-live{
  background:rgba(43,125,233,.12);
  color:var(--accent);
}

.status-beta{
  background:rgba(90,158,245,.14);
  color:var(--accent2);
}

.status-research{
  background:rgba(106,126,150,.14);
  color:var(--text-dim);
}

.project-card h3{
  font-size:1.25rem;
  font-weight:700;
  margin-bottom:.5rem;
}

.project-card p{
  color:var(--text-dim);
  font-size:.9rem;
  line-height:1.65;
  font-weight:300;
  margin-bottom:1.2rem;
  flex-grow:1;
}

.project-tags{
  display:flex;
  flex-wrap:wrap;
  gap:.4rem;
  margin-bottom:1.2rem;
}

.project-tag{
  font-size:.72rem;
  font-weight:500;
  padding:.25rem .65rem;
  border-radius:100px;
  background:var(--surface2);
  color:var(--text-dim);
}

.project-link{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  color:var(--accent);
  text-decoration:none;
  font-weight:600;
  font-size:.85rem;
  transition:gap .3s;
  margin-top:auto;
}

.project-link:hover{
  gap:.7rem;
}

/* Responsive */
@media(max-width:900px){
  .page-hero{
    padding:7rem 1.5rem 2rem;
  }

  .owner-section{
    padding:2.5rem 1.5rem;
  }

  .owner-card{
    grid-template-columns:1fr;
    text-align:center;
    padding:2rem;
    gap:1.8rem;
  }

  .owner-photo-wrap{
    width:240px;
    height:240px;
    max-width:240px;
    max-height:240px;
    flex:0 0 240px;
    margin:0 auto;
  }

  .projects-grid{
    grid-template-columns:1fr;
  }
}

@media(max-width:520px){
  .owner-photo-wrap{
    width:200px;
    height:200px;
    max-width:200px;
    max-height:200px;
    flex:0 0 200px;
  }
}