/* v8.css: sitewide fixes, linked last by gen.py (2026-11-06).
   1 Home hero stat band · 2 Home proof close + light network · 3 Founder logo boxes + HBS photo card
   4 Section separation (CTA lift, motto band, jump bar) · 5 Auto-demo hints */

/* 1. Home hero stat band */
.h4-hero .wrap{padding-bottom:clamp(78px,10vh,110px)}
.h8-stats{list-style:none;margin:clamp(22px,3.4vh,34px) 0 0;padding:0;display:flex;flex-wrap:wrap;gap:1px;max-width:1120px;
 background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.16);border-radius:var(--r);overflow:hidden;
 -webkit-backdrop-filter:blur(10px) saturate(1.1);backdrop-filter:blur(10px) saturate(1.1)}
/* flex, not a fixed grid: the band lays out cleanly with 4 visible stats now and with 5 once .stat-pending is unhidden */
.h8-stats li{flex:1 1 0;min-width:0;background:rgba(7,8,13,.62);padding:16px 18px 15px}
.h8-stats li.cap{flex:1.55 1 0}
.h8-stats li[hidden]{display:none!important}
.h8-stats b{display:block;font:800 clamp(1.3rem,1.9vw,1.8rem)/1.1 Montserrat,sans-serif;color:#fff;letter-spacing:-.02em;white-space:nowrap;font-variant-numeric:tabular-nums}
.h8-stats span{display:block;margin-top:4px;font-size:.8rem;line-height:1.3;color:rgba(255,255,255,.78)}
.h8-stats .cap b{color:#ff4fa8}
@media(max-width:1100px){.h8-stats li{flex:1 1 22%}.h8-stats li.cap{flex:1 1 100%}}
@media(max-width:700px){
 .h4-cue{display:none}
 .h4-hero .wrap{padding-bottom:28px}
 .h8-stats{margin-top:20px}
 .h8-stats li{flex:1 1 28%;padding:11px 12px}
 .h8-stats:not(:has(>li[hidden])) li{flex-basis:40%} /* 5 visible: 2x2 + capability row */
 .h8-stats li.cap{flex:1 1 100%}
 .h8-stats b{font-size:1.28rem}
 .h8-stats span{font-size:.74rem}
}

/* 2a. Home story: Proof chapter closes visually (numbers now live once, in the hero) */
.hs-close{flex-direction:column;gap:14px!important;text-align:center}
.hs-close-ic{width:clamp(120px,16vw,220px);height:auto;fill:none;stroke:#ff4fa8;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hs-close-ic g:nth-child(3){stroke:#fff}
.hs-close-t{margin:0;font:800 clamp(1.5rem,3.4vw,3rem)/1.1 Montserrat,sans-serif;color:#fff;letter-spacing:-.02em}
.hs-close-t em{font-style:normal;color:#ff4fa8}
@media(max-width:700px){.hs-close-t{font-size:1.6rem;padding:0 12px}}

/* 2b. Home network on the light tone (dark calculator sits above it) */
.h8-light .h4-reach h2,.h8-light .h4-reach .eyebrow{color:#fff}
.h8-light .h4-reach .eyebrow{opacity:.85}
.h8-light .h4-tier{color:#c4006b}
.h8-light .h4-hubs li{background:#fff;border-color:#e2e5ee}
.h8-light .h4-hubs b{color:var(--ink)}.h8-light .h4-hubs span{color:var(--mute)}
.h8-light .h4-sat{background:#fff;border-color:#cfd4e0}
.h8-light .h4-sat p:not(.h4-tier){color:#4a5163}
.h8-light .h4-sat .chips li{color:var(--ink);border-color:#d6dae4;background:#f5f6fa}
.h8-light .h4-cmd{color:rgba(255,255,255,.8)}.h8-light .h4-cmd h3{color:#fff}
.h8-light .btn-o{color:var(--ink)}

/* 3. Founder: one shared logo box, logos sized optically equal (sizes set per logo in the markup) */
.pt .tl{grid-template-columns:136px 1fr}
.pt .tl-logo{width:136px;height:84px;padding:10px;overflow:hidden;display:flex;align-items:center;justify-content:center;box-sizing:border-box;background:#fff;border:1px solid var(--pt-line,#e6e8ef);border-radius:12px;flex:none}
.pt .tl-logo img{display:block;max-width:100%;max-height:100%;object-fit:contain;flex:none}
@media(max-width:620px){.pt .tl{grid-template-columns:112px 1fr}.pt .tl-logo{width:112px;height:76px}}
.pt .acad-band .acad-photo{position:relative;background:#0b0c12;aspect-ratio:16/9}
.pt .acad-band .acad-photo>img{object-position:50% 40%}
.pt .acad-photo .acad-plate{position:absolute;left:16px;top:16px;transform:none;z-index:2;border:0;border-radius:14px;box-shadow:0 10px 30px rgba(7,8,13,.28)}
.pt .acad-photo .acad-plate img{transform:none!important;transition:none;width:88px;height:38px;object-fit:contain}
.pt .acad-credit{position:absolute;z-index:2;right:8px;bottom:6px;left:8px;text-align:right;font-size:.64rem;line-height:1.3;color:rgba(255,255,255,.88);text-shadow:0 1px 3px rgba(0,0,0,.7)}
.pt .acad-credit a{color:inherit;text-decoration:underline;text-underline-offset:2px}

/* 4. Section separation */
.ctaband.cta-lift{background:#f5f6fa;color:#3b4254;border-top:1px solid #e2e5ee}
.ctaband.cta-lift h2{color:var(--ink)}
.ctaband.cta-lift .eyebrow{color:#c4006b}
.ctaband.cta-lift .btn-o{color:var(--ink)}
.pt .pt-motto{background:#E6007E;color:#fff}
.pt .pt-motto em,.pt .pt-motto i{color:#fff}
.pt .pt-motto em{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
.jump{box-shadow:0 1px 0 #e2e5ee}

/* 5. Auto-demo hints */
.v8-live:before{content:"";display:inline-block;width:7px;height:7px;margin:0 8px 1px 0;border-radius:50%;background:#E6007E;vertical-align:middle;animation:v8pulse 1.6s ease-in-out infinite}
@keyframes v8pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.7)}}
.v8-hint{margin:8px 0 0;font-size:.8rem;color:rgba(255,255,255,.66)}
.c-ba.v8-auto input{cursor:grab}
@media(prefers-reduced-motion:reduce){.v8-live:before{animation:none}}
@media(max-width:760px){.pt .acad-band .acad-photo{aspect-ratio:4/3!important;height:auto!important}.pt .acad-photo .acad-plate{left:10px;top:10px}.pt .acad-band .acad-photo>img{object-position:50% 30%}.pt .acad-credit{font-size:.6rem}}

/* 4b. A dark section straight after a dark cinematic hero gets a deliberate divider: brand hairline + ink tint (palette --ink) */
.c-hero + .c-dark{border-top:3px solid transparent;border-image:linear-gradient(90deg,#E6007E,#1f6feb 55%,#E6007E) 1}
.c-hero + .c-dark:not(.nw-mapsec){background-color:#111522}
/* 4c. Culture: DEIB follows the Inclusion band; give it its own tone (deep blue-ink, mirrored glow) on top of its rainbow rule */
.pt .inclusion.deib{background:radial-gradient(1000px 480px at 10% -10%,rgba(31,111,235,.34),transparent 60%),radial-gradient(760px 420px at 105% 110%,rgba(115,41,130,.30),transparent 60%),linear-gradient(200deg,#0d1426 0%,#0b1020 60%,#120b1c 100%)}
