/* V16 production hardening: fixed layout regressions after legacy V10-V15 overrides. */
/* BUG: the late .hero-face,.brentphoto selector changed the hero image to relative positioning.
   Restore the intentional stacked full-bleed image and let the text paint above it. */
.hero { position:relative; isolation:isolate; }
.hero-face { position:absolute !important; inset:auto 0 0 auto; right:0; bottom:0; width:44%; height:91%; z-index:1; pointer-events:none; }
.hero-face img { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:cover; object-position:48% 38%; }
.hero-content { position:relative; z-index:2; width:min(var(--max),92%); min-height:620px; }
.hero h1 { overflow-wrap:normal; text-wrap:balance; max-width:min(900px,70%); }
.hero-content > p:not(.hero-credentials) { max-width:min(610px,63%); }
.hero-face.image-failed .photo-fallback{z-index:1}
/* The newly approved second paragraph was accidentally rendered at default body size. */
.science-intro .science-statement-followup{
  font-family:var(--raleway); font-size:clamp(16px,1.18vw,19px); font-weight:400;
  line-height:1.68; color:#3d5952; max-width:900px; margin:16px auto 0;
}
/* Readable card copy when two/three columns are genuinely supported. */
.path,.revealitem { min-width:0; }
.path h3,.revealitem h3 { overflow-wrap:break-word; }
.path a { display:inline-flex; align-items:center; min-height:35px; }
/* Stop desktop footer links from squeezing the brand. */
.foot { flex-wrap:wrap; }
.footer .brand { flex:0 0 auto; }
@media (min-width:1021px) and (max-width:1250px){
  .hero h1{font-size:clamp(44px,4.6vw,61px);max-width:72%}
  .hero-content > p:not(.hero-credentials){max-width:60%}
  .hero-face{width:43%}
}
@media (max-width:1020px){
  .hero{height:auto!important; min-height:0!important;}
  .hero-face{width:58%;height:92%;opacity:.56}
  .hero-content{min-height:0;padding-top:145px!important;padding-bottom:65px!important;}
  .hero h1{max-width:86%;font-size:clamp(38px,5.9vw,63px)}
  .hero-content > p:not(.hero-credentials){max-width:70%}
  .revealgrid,.pathgrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .revealgrid > :last-child,.pathgrid > :last-child{grid-column:1/-1}
  .revealitem{min-height:285px!important}
  .path{min-height:0!important}
  .brent{grid-template-columns:1fr 1fr}
}
@media (max-width:750px){
  .hero-dna{left:0;opacity:.68;background-position:56% center;}
  .hero-fade{background:linear-gradient(90deg,rgba(3,22,23,.94),rgba(3,22,23,.69)),linear-gradient(0deg,rgba(2,19,20,.84),transparent 70%)}
  .hero-face{width:93%;height:100%;opacity:.28;mask-image:linear-gradient(to right,transparent,black 35%);}
  .hero-content{min-height:0;padding-top:122px!important;padding-bottom:56px!important;}
  .hero h1{font-size:clamp(32px,7.8vw,53px);max-width:100%;line-height:1.15;letter-spacing:-.025em;margin:18px 0 19px;}
  .hero-content > p:not(.hero-credentials){max-width:100%;font-size:clamp(15px,2.65vw,18px);line-height:1.58;margin-bottom:23px;}
  .hero .actions{align-items:stretch}
  .hero .actions .btn{flex:1 1 185px;min-width:0;}
  .hero-credentials{line-height:1.6;max-width:100%;}
  .science-intro .science-statement-followup{font-size:16px;line-height:1.63;margin-top:12px;}
  .revealgrid,.pathgrid{grid-template-columns:minmax(0,1fr)!important;gap:12px;}
  .revealgrid > :last-child,.pathgrid > :last-child{grid-column:auto}
  .revealitem{min-height:0!important}
  .brent{grid-template-columns:1fr}
  .brentcopy{padding:28px 6%}
  .face-header p{display:none}
  .faces-scroll{overflow-x:auto;scroll-snap-type:x proximity;mask-image:none;-webkit-overflow-scrolling:touch;}
  .face-track{animation:none!important;}
  .face-track .face{scroll-snap-align:start}
  .face-track[aria-hidden=true]{display:none}
  .media-strip-label{max-width:80px;flex-basis:80px;font-size:9px}
  .video-frame{width:100%;}
  .video-bottom a{white-space:normal}
  .foot{align-items:flex-start;flex-direction:column;gap:18px}
  .foot nav{row-gap:12px}
}
@media (max-width:430px){
  .hero-content{padding-top:108px!important;padding-bottom:46px!important;}
  .hero h1{font-size:clamp(30px,8.2vw,35px);}
  .hero .actions .btn{flex-basis:100%;padding:13px 12px;}
  .science-statement{font-size:clamp(19px,5.15vw,22px)!important;}
  .quote blockquote{font-size:18px}
  .media-strip{padding:13px 0}
  .media-strip-inner{gap:8px;padding:0 3.5%}
}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .hero-dna{animation:none}
  .face-track,.media-track{animation:none!important}
  .media-window{overflow-x:auto;mask-image:none}
}

/* Avoid the conspicuous CK picture placeholder when the approved general portrait is unavailable. */
.general-feature{gap:0;}
.general-feature > div{max-width:590px}
