/* AegisLand: restore the original blue + white, media-first editorial direction.
   Loaded LAST on the homepage so archived scientific visualizations stay intact. */
:root{--home-action:#166ec0;--home-blue:#166ec0;--home-deep:#0a2b51;--home-ice:#f2f8ff;--home-border:#dce7f2}
body.home-evidence-led{background:#fff!important;color:#122a43!important;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;line-height:1.5}
body.home-evidence-led main{padding-top:64px}
body.home-evidence-led .wrap{width:min(1230px,calc(100% - 64px))}
body.home-evidence-led :is(h1,h2,h3){color:#132943!important;letter-spacing:-.045em!important}
body.home-evidence-led :is(.site-header,.signature-nav){background:rgba(255,255,255,.96)!important;border-bottom:1px solid #e8edf2!important;backdrop-filter:blur(16px)!important}
body.home-evidence-led .site-nav a:hover,body.home-evidence-led .header-actions a:hover{color:var(--home-blue)!important}
body.home-evidence-led .button.primary,body.home-evidence-led .signature-button.primary{background:var(--home-blue)!important;border-color:var(--home-blue)!important;color:#fff!important;border-radius:999px!important}
body.home-evidence-led .button.primary:hover{background:#0b579f!important;border-color:#0b579f!important}
body.home-evidence-led .button.secondary{background:#fff!important;border:1px solid #ccd9e6!important;color:#153553!important;border-radius:999px!important}
body.home-evidence-led :is(a,button,summary,input):focus-visible{outline:3px solid #1981dc!important;outline-offset:3px!important}
body.home-evidence-led :is(.home-evidence-led,[hidden])[hidden],body.home-evidence-led [hidden]{display:none!important}

/* Hero: generous open space and an actual, visible film—not a wall of text. */
body.home-evidence-led .evidence-hero{padding:clamp(48px,6vw,88px) 0 clamp(30px,4vw,60px);background:radial-gradient(ellipse 48% 75% at 12% 15%,#eaf5ff 0%,#fff 100%);overflow:hidden}
body.home-evidence-led .evidence-hero__grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(32px,5vw,78px);align-items:center;min-height:min(590px,65vh)}
body.home-evidence-led .evidence-hero__copy{position:relative;max-width:520px}
body.home-evidence-led #top h1{font-size:clamp(54px,6.3vw,94px)!important;font-weight:650!important;line-height:.99!important;max-width:620px!important;letter-spacing:-.065em!important}
body.home-evidence-led #top h1 span{color:#1673c9!important}
body.home-evidence-led #top .hero-deck{margin:25px 0 0!important;max-width:36ch!important;font-size:clamp(16px,1.45vw,20px)!important;line-height:1.6!important;color:#536a7d!important}
body.home-evidence-led #top .actions{display:flex;flex-wrap:wrap;gap:11px;margin-top:30px}
body.home-evidence-led #top .button{font-size:13px!important;min-height:48px!important;display:inline-flex;align-items:center;justify-content:center;padding:12px 22px!important}
body.home-evidence-led #top .hero-scope{color:#6b7d8e!important;font-size:11px!important;line-height:1.6!important;margin:22px 0 0!important;max-width:52ch}
.home-film-hero{width:100%;min-width:0;margin:0;position:relative}
.home-film-hero__screen{position:relative;border-radius:18px;overflow:hidden;aspect-ratio:1.34;background:#092849;box-shadow:0 28px 70px rgba(17,63,112,.15)}
.home-film-hero__screen:after{content:"";position:absolute;inset:60% 0 0;pointer-events:none;background:linear-gradient(transparent,rgba(5,25,49,.27))}
.home-film-hero video{display:block;width:100%;height:100%;object-fit:cover;object-position:center;background:#102d4f}
.home-film-hero__tag{position:absolute;top:20px;left:20px;z-index:1;padding:8px 12px;border:1px solid rgba(255,255,255,.5);background:rgba(5,30,58,.48);border-radius:999px;color:white;font-size:10px;font-weight:750;letter-spacing:.11em}
.home-film-toggle{position:absolute;bottom:23px;right:21px;z-index:2;border:1px solid rgba(255,255,255,.7);border-radius:999px;min-width:82px;min-height:42px;background:rgba(4,29,55,.6);color:white;font-weight:650;cursor:pointer;backdrop-filter:blur(9px)}
.home-film-toggle:hover{background:rgba(4,29,55,.85)}
.home-film-hero figcaption,.home-visual-strip figcaption{font-size:11px;color:#64798d;line-height:1.5;margin-top:10px}
.home-film-hero figcaption a,.home-visual-strip figcaption a{color:#1769b6;text-decoration:none}
.home-film-hero figcaption a:hover,.home-visual-strip figcaption a:hover{text-decoration:underline}
.home-visual-strip{background:#fff;padding:20px 0 68px}
.home-visual-strip__grid{display:grid;grid-template-columns:minmax(0,1.13fr) minmax(0,.87fr);gap:18px;align-items:stretch}
.home-visual-strip__grid>*{min-width:0;max-width:100%;width:100%}
.home-visual-strip__video{margin:0;overflow:hidden}
.home-visual-strip__video video{width:100%;aspect-ratio:16/9;object-fit:cover;display:block;border-radius:13px;background:#dae6f4}
.home-visual-strip__image{position:relative;display:block;box-sizing:border-box;min-width:0;min-height:0;aspect-ratio:16/9;border-radius:13px;overflow:hidden;background:#d9e6f3;color:#fff;text-decoration:none}
.home-visual-strip__image>img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;transition:transform .45s ease}
.home-visual-strip__image:hover>img{transform:scale(1.035)}
.home-visual-strip__image:after{content:"";position:absolute;inset:25% 0 0;background:linear-gradient(transparent,rgba(4,31,58,.7))}
.home-visual-strip__image>span{position:absolute;z-index:1;left:24px;right:22px;bottom:19px;font-size:10px;letter-spacing:.12em;font-weight:650}
.home-visual-strip__image b{font-size:clamp(19px,2.6vw,30px);line-height:1.2;letter-spacing:-.025em;display:block;margin-top:4px}
.home-visual-strip__image small{display:block;font-size:10px;font-weight:500;letter-spacing:0;margin-top:8px;color:#e3edf7}

/* Interactive proof remains prominent but is no longer crammed into the hero. */
body.home-evidence-led .home-comparison-feature{background:#f3f8ff;padding:clamp(58px,8vw,105px) 0;border-block:1px solid var(--home-border)}
body.home-evidence-led .home-comparison{width:min(1030px,100%);margin-inline:auto}
body.home-evidence-led .comparison-heading{align-items:end;gap:16px;margin-bottom:18px}
body.home-evidence-led .comparison-heading h2{font-size:clamp(27px,3.2vw,45px)!important;font-weight:640!important;line-height:1.08!important}
body.home-evidence-led .comparison-heading a{color:#0f60ae;font-weight:650;font-size:13px}
body.home-evidence-led .home-condition-tabs{border-bottom:0!important;gap:8px!important;padding:6px 0 3px!important}
body.home-evidence-led .home-condition-tabs button{border-radius:999px!important;background:#e5eef8;color:#1d4c75;min-height:40px;padding:9px 15px;font-size:12px;transition:background .15s ease}
body.home-evidence-led .home-condition-tabs button[aria-pressed="true"]{background:#1468b7!important;color:white!important}
body.home-evidence-led .home-condition-tabs button:hover:not(:disabled):not([aria-pressed="true"]){background:#d6e7f8}
body.home-evidence-led .home-model-pair{margin-top:18px!important;gap:20px!important}
body.home-evidence-led .home-model{padding:15px 15px 17px;background:white;border:1px solid #dbe7f2;border-radius:14px;box-shadow:0 8px 28px rgba(11,64,115,.04)}
body.home-evidence-led .home-model__head{margin-bottom:10px}
body.home-evidence-led .home-camera{border-radius:9px;background:#eaf2fa}
body.home-evidence-led .home-comparison__legend{margin-top:16px}
body.home-evidence-led .home-display-note{max-width:78ch;color:#6e8091;font-size:11px;margin-top:9px}
body.home-evidence-led .home-example-note{font-size:11px;color:#526e84}
body.home-evidence-led .replay-strip{background:#edf5fd;border-block:1px solid var(--home-border)}
body.home-evidence-led .replay-strip a{color:#0f60ae!important}

/* Research chapters: short, readable, airy—not six competing callout styles. */
body.home-evidence-led :is(.camera-results,.simulation-brief,.aegis-home-spotlight,.home-fdi-pilot,.home-records){padding-block:clamp(60px,8vw,105px)!important}
body.home-evidence-led :is(.camera-results,.simulation-brief,.aegis-home-spotlight,.home-fdi-pilot,.home-records) h2{font-size:clamp(33px,4.3vw,60px)!important;line-height:1.09!important;font-weight:600!important}
body.home-evidence-led :is(.camera-results,.simulation-brief,.aegis-home-spotlight,.home-fdi-pilot,.home-records) p{line-height:1.6}
body.home-evidence-led :is(.camera-results,.simulation-brief,.home-fdi-pilot) a.text-link{color:#1769b6!important;font-weight:650}
body.home-evidence-led .camera-results{background:#fff!important}
body.home-evidence-led .home-aggregate-chart{background:#f5f9fd!important;border:1px solid #e1ebf3!important;border-radius:12px;padding:clamp(20px,3vw,34px)}
body.home-evidence-led .chart-caption{font-size:11px!important;color:#708195!important}
body.home-evidence-led .research-counts{padding-top:30px!important}
body.home-evidence-led .simulation-brief{background:#f4f9ff!important}
body.home-evidence-led .simulation-signal{border-left:3px solid #1769b6!important}
body.home-evidence-led .aegis-home-spotlight{background:#fff!important;border-color:#e7eef6!important}
body.home-evidence-led .aegis-home-spotlight__text>.eyebrow{color:#1769b6!important}
body.home-evidence-led .aegis-home-spotlight__link{border-bottom-color:#1769b6!important;color:#1769b6!important}
body.home-evidence-led .aegis-home-spotlight__stats{border-radius:12px!important;overflow:hidden;border-color:#dce7f2!important}
body.home-evidence-led .aegis-home-spotlight__stats .aegis-home-spotlight__warning{color:#bb6632!important}
body.home-evidence-led .home-fdi-pilot{background:#f6faff!important}
body.home-evidence-led .home-fdi-pilot__score{background:#fff!important;border:1px solid #dce7f2!important;border-radius:12px!important}
body.home-evidence-led .home-records{background:#fff!important}
body.home-evidence-led .research-record-links a:hover{color:#1268b8!important}
body.home-evidence-led .home-footer{background:#f5f9fe;color:#667c90;border-color:#dfebf6}
body.home-evidence-led .home-footer a:hover{color:#1269b8}

/* Responsive: video stays above research explorer, with real touch targets. */
@media(max-width:1020px){
 body.home-evidence-led .evidence-hero__grid{grid-template-columns:.85fr 1.15fr;gap:28px}
 body.home-evidence-led #top h1{font-size:clamp(45px,6vw,70px)!important}
 body.home-evidence-led .hero-deck{font-size:15px!important}
}
@media(max-width:820px){
 body.home-evidence-led .evidence-hero{padding:42px 0 36px}
 body.home-evidence-led .evidence-hero__grid{grid-template-columns:1fr;min-height:0;gap:32px}
 body.home-evidence-led .evidence-hero__copy{max-width:640px}
 body.home-evidence-led #top h1{max-width:700px!important;font-size:clamp(48px,10vw,75px)!important}
 .home-film-hero__screen{aspect-ratio:16/10}
 .home-visual-strip__grid{grid-template-columns:1fr 1fr;gap:12px}
 body.home-evidence-led .home-model-pair{gap:12px!important}
 body.home-evidence-led .wrap{width:calc(100% - 38px)!important}
}
@media(max-width:600px){
 body.home-evidence-led main{padding-top:52px}
 body.home-evidence-led #top h1{font-size:clamp(43px,11.7vw,61px)!important}
 body.home-evidence-led #top .actions{display:flex!important;gap:10px}
 body.home-evidence-led #top .button{min-width:0;width:auto!important;flex:1 1 160px}
 body.home-evidence-led #top .hero-deck{font-size:16px!important}
 .home-film-hero__screen{aspect-ratio:4/3}
 .home-film-hero__tag{left:12px;top:12px;font-size:9px}
 .home-visual-strip{padding:8px 0 38px}
 .home-visual-strip__grid{grid-template-columns:1fr;gap:20px}
 .home-visual-strip__video video,.home-visual-strip__image{aspect-ratio:16/9}
 body.home-evidence-led .home-comparison-feature{padding:56px 0!important}
 body.home-evidence-led .comparison-heading h2{font-size:29px!important}
 body.home-evidence-led .home-model-pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important}
 body.home-evidence-led .home-model{padding:8px 8px 10px;border-radius:8px}
 body.home-evidence-led .home-model__head>span{font-size:9px}
 body.home-evidence-led .home-condition-tabs{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:thin;padding-bottom:12px!important}
 body.home-evidence-led .home-condition-tabs button{flex:0 0 auto;font-size:11px;padding-inline:12px;min-height:44px}
 body.home-evidence-led :is(.camera-results,.simulation-brief,.aegis-home-spotlight,.home-fdi-pilot,.home-records) h2{font-size:clamp(34px,8.8vw,43px)!important}
}
@media(prefers-reduced-motion:reduce){
 .home-visual-strip__image>img{transition:none}
}


/* Mobile menu must sit ABOVE its own fixed header hit area. */
@media(max-width:820px){
 body.home-evidence-led .site-header{height:64px!important;min-height:64px!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;overflow:visible!important}
 body.home-evidence-led .site-header .mobile-menu-toggle{
   display:inline-flex!important;position:relative!important;z-index:91!important;
   pointer-events:auto!important;align-self:center!important;justify-self:end!important;
   align-items:center!important;justify-content:center!important;
   width:auto;min-width:74px!important;min-height:44px!important;
   margin:0!important;transform:none!important;touch-action:manipulation;
 }
 body.home-evidence-led .site-header::before,body.home-evidence-led .site-header::after{pointer-events:none!important}
 body.home-evidence-led main{padding-top:64px!important}
}
.measurement-notes{margin-top:14px;border-top:1px solid #d4e3f2;color:#58748b;font-size:12px}
.measurement-notes summary{display:inline-flex;min-height:44px;align-items:center;cursor:pointer;color:#1267b5;font-weight:650}
.measurement-notes p{max-width:78ch;margin:0 0 16px;line-height:1.6}


/* The toggle lives outside the header's backdrop-filter stacking context. */
body.home-evidence-led .mobile-menu-floating{display:none!important}
@media(max-width:820px){
 body.home-evidence-led .site-header{grid-template-columns:1fr!important}
 body.home-evidence-led #mobileMenuToggle.mobile-menu-floating{
   display:inline-flex!important;position:fixed!important;top:10px!important;right:16px!important;
   width:auto!important;min-width:76px!important;min-height:44px!important;
   padding:9px 14px!important;margin:0!important;
   align-items:center!important;justify-content:center!important;
   border:1px solid #d4e5f4!important;border-radius:999px!important;
   background:#fff!important;color:#124a80!important;
   box-shadow:0 3px 18px rgba(14,62,107,.08)!important;
   transform:none!important;pointer-events:auto!important;z-index:2147483645!important;
 }
 body.home-evidence-led #mobileMenuSheet{z-index:2147483646!important}
}
