/* ============================================================================
   QULTR, hub / main site. The blackbook, raised floor.
   No build step. Tokenised so UI elements can be swapped without touching layout.
   Palette + type carried from the quiz (quiz/style.css); quiz/ stays untouched.
   ========================================================================= */

:root{
  /* ── palette ── */
  --void:#080808;
  --paper:#111113;
  --paper-2:#0d0d0f;
  --electric:#D4E600;
  --bone:#E8E7E4;
  /* secondary text tinted toward bone, never flat gray (contrast floor ≥4.5:1) */
  --text:#D6D5D1;
  --dim:#A2A29C;
  --faint:#7C7C77;
  --edge:rgba(232,231,228,.13);
  --edge-2:rgba(232,231,228,.07);
  --electric-line:rgba(212,230,0,.34);
  --electric-wash:rgba(212,230,0,.05);

  /* ── type ── */
  --head:'League Spartan',Arial,sans-serif;
  --serif:'Times New Roman',Times,serif;
  --measure:66ch;            /* body line length floor→ceiling */

  /* ── space + rhythm ── */
  --pad:clamp(20px,5vw,44px);
  --bar:52px;
  --gap:clamp(64px,11vh,132px);   /* between major sections */
  --col:min(1120px,100%);
  --read:660px;                    /* single-column reading width */

  /* ── motion ── */
  --ease-out:cubic-bezier(.23,1,.32,1);   /* strong, not the weak CSS default */
  --ease-in-out:cubic-bezier(.77,0,.175,1);
  --press:transform .14s var(--ease-out);
}

*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:calc(var(--bar) + 18px)}

body{
  background:var(--void);color:var(--text);
  font-family:var(--head);font-weight:400;
  font-size:clamp(16px,4vw,17px);line-height:1.62;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
  position:relative;overflow-x:hidden;
}

/* ── raised floor: browser surfaces themed from the palette ── */
::selection{background:var(--electric);color:var(--void)}
:where(a,button,input,textarea):focus-visible{
  outline:2px solid var(--electric);outline-offset:3px;border-radius:1px;
}
input,textarea{caret-color:var(--electric)}
*{scrollbar-width:thin;scrollbar-color:var(--faint) var(--void)}
::-webkit-scrollbar{width:11px;height:11px}
::-webkit-scrollbar-track{background:var(--void)}
::-webkit-scrollbar-thumb{background:#26261f;border:3px solid var(--void);border-radius:99px}
::-webkit-scrollbar-thumb:hover{background:#34341f}

/* ── static dossier grain (kept subtle, the world's texture, not decoration) ── */
body::after{
  content:'';position:fixed;inset:-40%;pointer-events:none;z-index:0;opacity:.05;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================================
   NAV, the dossier bar
   ========================================================================= */
.bar{
  position:fixed;top:0;left:0;right:0;height:var(--bar);z-index:40;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:0 var(--pad);
  background:rgba(8,8,8,.86);backdrop-filter:blur(10px);
  border-bottom:1px solid var(--edge);
}
.brand{display:inline-flex;align-items:center;gap:9px;font-size:14px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--bone);text-decoration:none}
a.brand:hover .slash{color:var(--bone)}
.brand .slash{color:var(--electric)}
.nav{display:flex;gap:clamp(14px,2.4vw,30px);align-items:center}
.nav a{
  font-size:11.5px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;
  color:var(--dim);text-decoration:none;transition:color .16s var(--ease-out);
}
.nav a:hover{color:var(--bone)}
.nav a.nav-cta{color:var(--electric)}

/* ── mobile menu, CSS-only hamburger (no per-page JS) ── */
.nav-check{display:none}
.nav-burger{display:none}
@media(max-width:720px){
  .nav-burger{
    display:flex;flex-direction:column;justify-content:center;gap:5px;
    width:38px;height:38px;margin-left:auto;cursor:pointer;
  }
  .nav-burger span{display:block;width:22px;height:2px;background:var(--bone);
    margin-left:auto;transition:transform .22s var(--ease-out),opacity .22s var(--ease-out)}
  .nav-check:checked ~ .nav-burger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .nav-check:checked ~ .nav-burger span:nth-child(2){opacity:0}
  .nav-check:checked ~ .nav-burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .nav{
    position:fixed;top:var(--bar);left:0;right:0;
    flex-direction:column;align-items:stretch;gap:0;
    background:rgba(8,8,8,.98);backdrop-filter:blur(12px);
    border-bottom:1px solid var(--edge);
    max-height:0;overflow:hidden;transition:max-height .28s var(--ease-out);
  }
  .nav a{padding:17px var(--pad);width:100%;border-top:1px solid var(--edge);font-size:14px}
  .nav-check:checked ~ .nav{max-height:60vh}
}

/* ============================================================================
   LAYOUT primitives
   ========================================================================= */
main{position:relative;z-index:1}
.section{
  padding:var(--gap) var(--pad);
  max-width:var(--col);margin-inline:auto;width:100%;
}
.section + .section{padding-top:0}
.bleed{margin-inline:calc(50% - 50vw);width:100vw;max-width:100vw}
.reading{max-width:var(--read)}
.prose{max-width:var(--measure)}
.prose p + p{margin-top:1em}

/* section label, the case-file marker (used as a device, not on every heading) */
.mark{
  display:inline-flex;align-items:center;gap:10px;margin-bottom:22px;
  font-size:11.5px;font-weight:800;letter-spacing:.15em;text-transform:uppercase;
  line-height:1;color:var(--electric);
}
.mark::before{
  content:'';display:block;flex:0 0 auto;align-self:center;
  width:26px;height:2px;background:var(--electric);
}
.mark .n{color:var(--faint);font-variant-numeric:tabular-nums}

/* ============================================================================
   TYPE
   ========================================================================= */
h1,h2,h3{text-wrap:balance}
p{text-wrap:pretty}
.display{
  font-weight:900;text-transform:uppercase;line-height:.9;letter-spacing:-.03em;
  font-size:clamp(44px,9.4vw,104px);color:var(--bone);
}
h2{
  font-weight:800;text-transform:uppercase;line-height:1;letter-spacing:-.02em;
  font-size:clamp(28px,5.6vw,50px);color:var(--bone);
}
h3{font-weight:800;text-transform:uppercase;letter-spacing:-.01em;font-size:clamp(19px,3vw,24px);color:var(--bone);line-height:1.05}
em,.serif{font-family:var(--serif);font-style:italic;font-weight:700}
.accent{color:var(--electric)}
/* highlighter, key nouns; electric mark on void type (not bold-underline) */
.hl{
  background:var(--electric);color:var(--void);
  padding:0 .12em;
  box-decoration-break:clone;-webkit-box-decoration-break:clone;
}
.lede{
  font-family:var(--serif);font-style:italic;font-weight:700;
  font-size:clamp(20px,3.6vw,30px);line-height:1.28;color:var(--bone);
}
.dim{color:var(--dim)}
.fine{font-size:13px;color:var(--faint);letter-spacing:.01em}

/* manifesto, belief stack + large close */
.manifesto-body > * + *{margin-top:1.35em}
.manifesto-close{
  font-size:clamp(44px,9vw,96px);
  margin:0;
}

/* stagger text, word/letter rise (about title + reusable) */
.js [data-stagger-text]:not([data-stagger-ready]){visibility:hidden}
.js [data-stagger-text][data-stagger-ready]{visibility:visible}
.stagger-word-mask{
  display:inline-block;
  overflow:hidden;
  vertical-align:top;
  position:relative;
}
.stagger-word{
  display:inline-block;
  will-change:transform;
}
@media (prefers-reduced-motion: reduce){
  .js [data-stagger-text]:not([data-stagger-ready]){visibility:visible}
}

/* about, parallax targets keep GPU layer */
[data-parallax]{will-change:transform}
@media (prefers-reduced-motion: reduce){
  [data-parallax]{transform:none!important;will-change:auto}
}

/* blur-reveal, char-by-char (about lede) */
.js [data-blur-reveal]:not([data-blur-ready]){visibility:hidden}
.js [data-blur-reveal][data-blur-ready]{visibility:visible}
.blur-reveal-word{
  display:inline-block;
  white-space:nowrap;
}
.blur-reveal-char{
  display:inline-block;
  will-change:opacity,filter,transform;
}
@media (prefers-reduced-motion: reduce){
  .js [data-blur-reveal]:not([data-blur-ready]){visibility:visible}
}

/* block wipe reveal (manifesto open) */
.manifesto-open{margin:0}
.text-reveal-block-line{
  position:relative;
  display:block;
  width:max-content;
  max-width:100%;
  overflow:hidden;
}
.text-reveal-block-line + .text-reveal-block-line{margin-top:.12em}
.text-reveal-line{
  position:relative;
  display:block;
}
/* hide until wipe runs, visible if JS never adds .js */
.js [data-text-reveal] .text-reveal-line{opacity:0}
@media (prefers-reduced-motion: reduce){
  .js [data-text-reveal] .text-reveal-line{opacity:1}
}
.text-reveal-block-wipe{
  position:absolute;
  inset:0;
  width:101%;height:101%;
  pointer-events:none;
  will-change:transform;
  z-index:1;
  background:var(--electric);
}

/* risk line + text CTAs (home routing) */
.risk{
  margin-top:14px;
  font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  color:var(--faint);line-height:1.45;
}
.hero-mid .risk{text-align:center}
.text-link{
  display:inline-flex;align-items:baseline;gap:6px;
  font-family:var(--serif);font-style:italic;font-weight:700;
  font-size:clamp(16px,1.8vw,19px);color:var(--bone);
  text-decoration:none;border-bottom:1px solid var(--edge);
  transition:color .16s var(--ease-out),border-color .16s var(--ease-out);
}
.text-link:hover{color:var(--electric);border-color:var(--electric)}
.text-link .arw{font-family:var(--head);font-style:normal;font-size:.85em}
.text-link-lg{font-size:clamp(20px,3vw,28px)}

/* two ways in */
.ways{
  display:grid;gap:12px;margin-top:8px;
  grid-template-columns:1fr;
}
@media(min-width:760px){.ways{grid-template-columns:1fr 1fr;gap:14px}}
.way h3{
  font-size:clamp(22px,3.2vw,28px);margin-bottom:12px;
}
.way .dim{font-size:clamp(15px,1.6vw,17px);line-height:1.45;max-width:36ch}
.way-head{
  display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;
  margin-bottom:12px;
}
.way-head h3{margin-bottom:0}
.way-head .mark{margin-bottom:0}
.coming{
  display:inline-flex;align-items:center;
  font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;
  color:var(--void);background:var(--electric);
  padding:4px 9px;line-height:1;
}
.section > * + *{margin-top:20px}

/* ============================================================================
   BUTTONS, Uiverse glow (adamgiebl) retuned to ELECTRIC
   ========================================================================= */
.btn{
  --btn-glow:var(--electric);
  --btn-glow-soft:rgba(212,230,0,.1);
  --btn-glow-mid:rgba(212,230,0,.4);
  --btn-glow-strong:rgba(212,230,0,.6);
  --btn-glow-ring:rgba(212,230,0,.1);
  --btn-glow-ring-hot:rgba(212,230,0,.2);
  position:relative;
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  font-family:var(--head);font-weight:800;text-transform:uppercase;
  letter-spacing:.06em;font-size:15px;line-height:1;
  /* League Spartan caps sit high, bias padding down for optical center */
  padding:.88em 2.7em .72em;cursor:pointer;text-decoration:none;
  border-radius:.6em;overflow:hidden;
  border:2px solid var(--btn-glow);
  background:linear-gradient(to right,var(--btn-glow-soft) 1%,transparent 40%,transparent 60%,var(--btn-glow-soft) 100%);
  color:var(--btn-glow);
  box-shadow:inset 0 0 10px var(--btn-glow-mid),0 0 9px 3px var(--btn-glow-ring);
  transition:color .3s,box-shadow .3s,transform .14s var(--ease-out);
}
.btn::before{
  content:"";
  position:absolute;left:-4em;top:0;width:4em;height:100%;
  background:linear-gradient(to right,transparent 1%,var(--btn-glow-soft) 40%,var(--btn-glow-soft) 60%,transparent 100%);
  transition:transform .4s ease-in-out;
  pointer-events:none;
}
.btn .arw{
  position:relative;z-index:1;line-height:1;
  transition:transform .18s var(--ease-out);
}
.btn:hover{
  color:#eef86a;
  box-shadow:inset 0 0 10px var(--btn-glow-strong),0 0 9px 3px var(--btn-glow-ring-hot);
}
.btn:hover::before{transform:translateX(15em)}
.btn:hover .arw{transform:translateX(5px)}
.btn:active{transform:scale(.98)}
.btn:focus-visible{outline:2px solid var(--electric);outline-offset:3px}
.btn-ghost{
  --btn-glow:transparent;
  background:transparent;color:var(--bone);
  border:1px solid var(--edge);border-radius:.6em;
  box-shadow:none;
}
.btn-ghost::before{display:none}
.btn-ghost:hover{
  color:var(--electric);border-color:var(--electric);
  box-shadow:none;
}
@media (prefers-reduced-motion:reduce){
  .btn::before{display:none}
  .btn,.btn .arw{transition:color .2s,box-shadow .2s,border-color .2s}
}
.btn-row{display:flex;flex-wrap:wrap;gap:14px;align-items:center}

/* AntiMetal, sessions CTA (vanilla port; white metal + electric wipe) */
.anti-metal{
  --am-from:#D4E600;
  --am-to:#c5ea2c;
  --am-dot:#0f0f0f;
  position:relative;display:inline-flex;align-items:center;justify-content:flex-end;
  height:44px;min-width:min(260px,100%);width:min(280px,100%);max-width:100%;
  padding:0 18px 0 0;box-sizing:border-box;
  overflow:hidden;text-decoration:none;cursor:pointer;
  background:linear-gradient(180deg,#ffffff 0%,#ededed 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 4px 12px rgba(0,0,0,.35);
  transition:transform .14s var(--ease-out);
}
@media(max-width:480px){
  .anti-metal{width:100%;min-width:0;height:48px}
  .anti-metal-label{right:12px;font-size:12px;letter-spacing:.06em}
}
.anti-metal:active{transform:scale(.98)}
.anti-metal:focus-visible{outline:2px solid var(--electric);outline-offset:3px}
/* label sits under the wipe, covered (disappears) on hover */
.anti-metal-label{
  position:absolute;inset-block:0;right:16px;z-index:1;
  display:flex;align-items:center;
  font-family:var(--head);font-weight:800;font-size:13px;
  letter-spacing:.08em;text-transform:uppercase;color:#0a0a0a;
  white-space:nowrap;pointer-events:none;
}
.anti-metal-slide{
  position:absolute;top:4px;bottom:4px;left:4px;z-index:2;
  display:flex;align-items:center;justify-content:flex-start;gap:8px;
  width:36px;overflow:hidden;padding:0 10px 0 12px;
  background:linear-gradient(180deg,var(--am-from) 0%,var(--am-to) 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.4),inset 0 -2px 4px rgba(0,0,0,.12),0 2px 4px rgba(0,0,0,.08);
  transition:width .2s cubic-bezier(.65,0,.35,1),padding .2s cubic-bezier(.65,0,.35,1),gap .2s cubic-bezier(.65,0,.35,1);
}
.anti-metal:hover .anti-metal-slide{
  width:calc(100% - 8px);
  justify-content:space-between;
  gap:0;
  padding:0 14px;
}
.anti-metal-chev{flex:0 0 auto;overflow:visible}
.anti-metal-dots{fill:var(--am-dot)}
.anti-metal-dots circle{
  transform-box:fill-box;transform-origin:center;
  animation:am-dot-wave 1.4s ease-in-out infinite;
}
.anti-metal-dots circle:nth-child(1){animation-delay:calc(var(--i) * .12s)}
.anti-metal-dots circle:nth-child(2){animation-delay:calc(var(--i) * .12s + .05s)}
.anti-metal-dots circle:nth-child(3){animation-delay:calc(var(--i) * .12s + .1s)}
.anti-metal-dots circle:nth-child(4){animation-delay:calc(var(--i) * .12s + .15s)}
.anti-metal-dots circle:nth-child(5){animation-delay:calc(var(--i) * .12s + .2s)}
.anti-metal-dots circle:nth-child(6){animation-delay:calc(var(--i) * .12s + .05s)}
.anti-metal-dots circle:nth-child(7){animation-delay:calc(var(--i) * .12s + .1s)}
.anti-metal-dots circle:nth-child(8){animation-delay:calc(var(--i) * .12s + .15s)}
.anti-metal-dots circle:nth-child(9){animation-delay:calc(var(--i) * .12s + .2s)}
.anti-metal-dots circle:nth-child(10){animation-delay:calc(var(--i) * .12s + .25s)}
@keyframes am-dot-wave{
  0%,70%,100%{opacity:.25;transform:scale(.85)}
  35%{opacity:1;transform:scale(1)}
}
@media (prefers-reduced-motion:reduce){
  .anti-metal-dots circle{animation:none;opacity:1}
  .anti-metal-slide{transition:none}
}

/* ============================================================================
   HERO
   ========================================================================= */
.hero{
  position:relative;overflow:hidden;
  min-height:clamp(560px,88svh,900px);display:flex;align-items:center;
  padding:calc(var(--bar) + var(--gap)) var(--pad) var(--gap);
  border-bottom:1px solid var(--edge);
}
/* blueprint grid, the dossier surface, low and deliberate */
.hero::before{
  content:'';position:absolute;inset:0;pointer-events:none;z-index:0;opacity:.6;
  background-image:
    repeating-linear-gradient(to right,var(--edge-2) 0 1px,transparent 1px 78px),
    repeating-linear-gradient(to bottom,var(--edge-2) 0 1px,transparent 1px 78px);
  -webkit-mask-image:radial-gradient(120% 90% at 50% 40%,#000 40%,transparent 100%);
          mask-image:radial-gradient(120% 90% at 50% 40%,#000 40%,transparent 100%);
}
.hero-in{position:relative;z-index:1;max-width:var(--col);margin-inline:auto;width:100%}
.hero .lede{max-width:30ch;margin-top:26px}
.hero .btn-row{margin-top:38px}
.hero .display .accent{display:block}

/* the one authored entrance, hero children only, staggered. Nothing else animates in. */
.rise>*{opacity:0;transform:translateY(14px);animation:rise .6s var(--ease-out) forwards}
.rise>*:nth-child(1){animation-delay:.02s}
.rise>*:nth-child(2){animation-delay:.10s}
.rise>*:nth-child(3){animation-delay:.18s}
.rise>*:nth-child(4){animation-delay:.26s}
@keyframes rise{to{opacity:1;transform:none}}

/* ============================================================================
   DIAGNOSES, a case-file index, not a card grid
   ========================================================================= */
.dx{border-top:1px solid var(--edge)}
.dx a{
  display:grid;grid-template-columns:auto 1fr auto;align-items:baseline;
  gap:clamp(16px,3vw,34px);
  padding:clamp(22px,3.4vw,32px) 4px;
  border-bottom:1px solid var(--edge);text-decoration:none;color:var(--bone);
  transition:background .18s var(--ease-out),padding-left .18s var(--ease-out);
}
.dx a:hover{background:var(--electric-wash);padding-left:18px}
.dx .file{
  font-size:12px;font-weight:800;letter-spacing:.1em;color:var(--faint);
  font-variant-numeric:tabular-nums;padding-top:6px;transition:color .18s var(--ease-out);
}
.dx a:hover .file{color:var(--electric)}
.dx .name{font-weight:900;text-transform:uppercase;letter-spacing:-.015em;font-size:clamp(22px,3.7vw,34px);line-height:1}
.dx .line{
  display:block;margin-top:10px;max-width:52ch;
  font-family:var(--serif);font-style:italic;font-weight:700;
  font-size:clamp(15px,2.1vw,18px);line-height:1.3;color:var(--dim);
}
.dx .go{align-self:center;color:var(--faint);font-weight:800;transition:transform .18s var(--ease-out),color .18s var(--ease-out)}
.dx a:hover .go{color:var(--electric);transform:translateX(5px)}
@media(max-width:620px){
  .dx a{grid-template-columns:auto 1fr;row-gap:0}
  .dx .go{display:none}
}

/* ============================================================================
   LIGHT BAND, bone surface (orient / #what)
   ========================================================================= */
.section-light{
  --bleed:max(var(--pad),calc((100vw - min(var(--col),100vw)) / 2));
  background:var(--bone);color:var(--void);
  max-width:none;width:100%;
  margin-inline:0;
  padding-inline:var(--bleed);
  padding-bottom:var(--gap);
  box-sizing:border-box;
  /* paint bone edge-to-edge without widening the layout */
  box-shadow:0 0 0 100vmax var(--bone);clip-path:inset(0 -100vmax);
}
.section-light + .section{padding-top:var(--gap)}
.section-light .mark{
  color:var(--void);
  font-size:clamp(13px,1.4vw,15px);
  letter-spacing:.18em;
  margin-bottom:28px;
}
.section-light .mark::before{
  width:42px;height:3px;background:var(--electric);
}
.section-light h2{color:var(--void)}
.section-light .prose{
  color:#2a2a26;
  font-size:clamp(16px,1.7vw,19px);line-height:1.55;
}
.section-light .prose.dim{color:#2a2a26}
/* electric on bone fails, accents go ink + weight instead */
.section-light .accent{
  color:var(--void);font-weight:800;
  box-shadow:inset 0 -2px 0 var(--electric);
}
.section-light .stats{gap:10px}
.section-light .stats .s{
  background:var(--void);
  border:1px solid var(--void);
}
.section-light .stats .k{color:var(--electric)}
.section-light .stats .l{color:var(--dim)}

/* ============================================================================
   FLOWING MENU, Where to start (GSAP edge-wipe marquee)
   ========================================================================= */
.flow-menu-wrap{
  width:100%;margin-top:8px;
  border-top:1px solid rgba(255,255,255,.12);
}
.flow-menu{display:flex;flex-direction:column;margin:0;padding:0}
.flow-item{
  position:relative;overflow:hidden;
  min-height:clamp(96px,14vh,130px);
  border-bottom:1px solid rgba(255,255,255,.12);
}
.flow-link{
  position:relative;z-index:2;
  display:grid;
  /* fixed meta column → titles share one left edge */
  grid-template-columns:11em 1fr auto;
  align-items:center;
  gap:clamp(16px,3vw,34px);
  height:100%;min-height:inherit;
  padding:clamp(22px,3.4vw,32px) 4px;
  width:100%;
  text-decoration:none;color:var(--bone);cursor:pointer;
}
.flow-meta{
  font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--faint);
  width:11em;
}
.flow-title{
  font-weight:900;text-transform:uppercase;letter-spacing:-.02em;
  font-size:clamp(22px,3.8vw,40px);line-height:1;
}
.flow-go{color:var(--faint);font-weight:800;transition:color .18s var(--ease-out),transform .18s var(--ease-out)}
.flow-link:hover .flow-go,.flow-link:focus-visible .flow-go{color:var(--electric);transform:translateX(5px)}
.flow-link:focus-visible{outline:2px solid var(--electric);outline-offset:-2px}
/* marquee, electric wipe (brand accent) */
.flow-marquee{
  position:absolute;inset:0;z-index:3;
  overflow:hidden;pointer-events:none;
  background:var(--electric);
  transform:translate3d(0,101%,0);
}
.flow-marquee-inner-wrap{height:100%;width:100%;overflow:hidden}
.flow-marquee-inner{
  display:flex;align-items:center;
  position:relative;height:100%;width:fit-content;
  will-change:transform;
}
.flow-marquee-part{
  display:flex;align-items:center;flex-shrink:0;
  color:var(--void);
}
.flow-marquee-part span{
  white-space:nowrap;text-transform:uppercase;
  font-weight:800;font-size:clamp(22px,3.8vw,40px);line-height:1;
  letter-spacing:-.02em;padding:0 1.2vw;
}
.flow-marquee-img{
  width:min(200px,28vw);height:clamp(40px,7vh,56px);
  margin:0 2vw;border-radius:999px;
  background-size:cover;
  background-position:var(--flow-img-pos,50% 50%);
  flex-shrink:0;
}
/* crop is CSS-owned, JS marquee rebuilds must not reset this */
.flow-item[data-img$="image-02-flow.jpg"] .flow-marquee-img{
  background-position:50% 50%;
}
@media(max-width:620px){
  .flow-item{min-height:0}
  .flow-link{grid-template-columns:1fr;gap:6px 0;padding-block:clamp(18px,4vw,26px)}
  .flow-go{display:none}
  .flow-meta{width:auto}
  .flow-title{font-size:clamp(20px,7vw,28px);line-height:1.05}
  .flow-marquee-part span{font-size:clamp(18px,6.5vw,26px)}
  .flow-marquee-img{width:min(140px,36vw);height:36px;margin:0 3vw}
}
/* touch: no hover marquee, keep tap targets clean */
@media (hover:none){
  .flow-marquee{display:none}
}
@media (prefers-reduced-motion:reduce){
  .flow-marquee{display:none}
}

/* ============================================================================
   RESOURCE list (legacy card grid, kept for other pages if needed)
   ========================================================================= */
.res{display:grid;gap:1px;background:var(--edge);border:1px solid var(--edge);margin-top:8px}
.res .item{
  background:var(--paper);padding:clamp(20px,3vw,28px);
  display:flex;flex-direction:column;gap:8px;
  transition:background .18s var(--ease-out);
}
.res .item:hover{background:var(--paper-2)}
.res .tag{font-size:11px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:var(--electric)}
.res .item h3{font-size:clamp(18px,2.6vw,22px)}
.res .item p{font-size:14.5px;color:var(--dim);max-width:42ch}
@media(min-width:720px){.res{grid-template-columns:1fr 1fr}}

/* ============================================================================
   FREE PAGE, electric hero band + image-reveal index list
   ========================================================================= */
.page-free{
  --mono:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,monospace;
}
.page-free .foot-logo{filter:none}

/* hero band, electric full-bleed (nav stays void) */
.page-free .free-hero{
  --bleed:max(var(--pad),calc((100vw - min(var(--col),100vw)) / 2));
  background:var(--electric);color:var(--void);
  max-width:none;width:100%;
  margin-inline:0;
  padding:calc(var(--bar) + clamp(48px,8vh,88px)) var(--bleed) clamp(48px,8vh,88px);
  box-sizing:border-box;
  box-shadow:0 0 0 100vmax var(--electric);clip-path:inset(0 -100vmax);
}
.page-free .free-hero + .section{padding-top:var(--gap)}
.page-free .free-hero .mark{
  color:var(--void);
  font-size:clamp(13px,1.4vw,15px);
  letter-spacing:.18em;
}
.page-free .free-hero .mark::before{
  width:42px;height:3px;background:var(--void);
}
.page-free .free-display{
  font-size:clamp(40px,7.5vw,84px);
  color:var(--void);
}
.page-free .free-hero .lede{
  color:var(--void);
  max-width:42ch;
}

/* footer, electric, tighter, emphasis punches harder */
.page-free .site-foot{
  max-width:none;width:100%;
  margin-inline:0;padding:28px var(--pad) 20px;
  background:var(--electric);border-top:none;
  box-shadow:0 0 0 100vmax var(--electric);clip-path:inset(0 -100vmax);
}
.page-free .site-foot .foot-cols,
.page-free .site-foot .foot-bottom{
  max-width:var(--col);margin-inline:auto;
}
.page-free .foot-cols{gap:18px 28px}
.page-free .foot-logo{height:22px;margin-bottom:8px}
.page-free .foot-lead p{
  color:var(--void);
  font-size:clamp(18px,2.1vw,22px);
  font-weight:700;
  line-height:1.25;
}
.page-free .foot-col h4{color:rgba(8,8,8,.48);margin-bottom:8px;font-size:10.5px}
.page-free .foot-col a{
  color:rgba(8,8,8,.88);
  margin-bottom:6px;
  font-size:14px;font-weight:600;
}
.page-free .foot-col a:hover{color:var(--void)}
.page-free .foot-bottom{
  margin-top:20px;padding-top:14px;
  border-top-color:rgba(8,8,8,.22);
}
.page-free .foot-bottom .sign{
  color:var(--void);
  font-size:clamp(13px,1.35vw,15px);
  letter-spacing:.14em;
  font-weight:900;
}
.page-free .foot-bottom .mini span,
.page-free .foot-bottom .mini a{
  color:rgba(8,8,8,.7);
  font-size:12.5px;font-weight:600;
}
.page-free .foot-bottom .mini a:hover{color:var(--void)}

/* reveal list, centered column, not full-bleed */
.page-free #audits{overflow:visible}
.reveal-list{
  list-style:none;margin:0;padding:0;
  width:100%;position:relative;overflow:visible;
}
.reveal-list > li{margin:0;padding:0;position:relative;overflow:visible}
.reveal-row{
  position:relative;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;gap:clamp(14px,3vw,28px);
  width:100%;
  padding:clamp(22px,3.2vw,32px) 4px;
  border-top:1px solid var(--edge);
  text-decoration:none;color:var(--bone);
  transition:background .22s var(--ease-out);
  overflow:visible;
}
.reveal-list > li:last-child .reveal-row{border-bottom:1px solid var(--edge)}
.reveal-row:hover,
.reveal-row:focus-visible{
  background:rgba(255,255,255,.05);
}
.reveal-row:focus-visible{outline:2px solid var(--electric);outline-offset:2px}
.reveal-idx{
  font-family:var(--mono);font-weight:600;font-size:clamp(13px,1.5vw,15px);
  color:var(--electric);letter-spacing:.04em;min-width:2.4ch;
  position:relative;z-index:2;
}
.reveal-copy{display:flex;flex-direction:column;gap:10px;min-width:0;position:relative;z-index:2}
.reveal-title{
  display:inline-block;
  font-weight:900;text-transform:uppercase;letter-spacing:-.015em;
  font-size:clamp(20px,3.4vw,32px);line-height:1.05;color:var(--bone);
  transition:transform .28s var(--ease-out);
}
.reveal-row:hover .reveal-title,
.reveal-row:focus-visible .reveal-title{transform:translateX(16px)}
.reveal-tags{
  display:flex;flex-wrap:wrap;gap:8px;align-items:center;
}
.reveal-tags .tag{
  display:inline-flex;align-items:center;
  padding:5px 11px;
  border:1px solid rgba(232,231,228,.22);
  border-radius:999px;
  background:rgba(255,255,255,.04);
  font-family:var(--mono);
  font-size:10.5px;font-weight:600;
  letter-spacing:.08em;text-transform:uppercase;
  color:rgba(232,231,228,.62);
  line-height:1;
}
.reveal-blurb{
  max-width:46ch;
  font-size:clamp(14px,1.5vw,16px);
  line-height:1.4;
  color:var(--dim);
  font-weight:500;
  text-transform:none;letter-spacing:0;
}
.reveal-arrow{
  color:var(--electric);opacity:0;z-index:2;
  display:inline-flex;align-items:center;justify-content:center;
  transition:opacity .22s var(--ease-out),transform .28s var(--ease-out);
  transform:rotate(0deg);
}
.reveal-row:hover .reveal-arrow,
.reveal-row:focus-visible .reveal-arrow{
  opacity:1;transform:rotate(45deg);
}
/* side image reveal, cover art floats left of the row */
.reveal-img{
  position:absolute;left:-128px;top:50%;
  width:104px;height:140px;
  object-fit:cover;border-radius:3px;
  transform:translateY(-50%) scale(.9);
  opacity:0;pointer-events:none;z-index:20;
  box-shadow:0 18px 40px rgba(0,0,0,.55);
  transition:opacity .32s cubic-bezier(.34,1.56,.64,1),transform .32s cubic-bezier(.34,1.56,.64,1),left .32s cubic-bezier(.34,1.56,.64,1);
}
.reveal-row:hover .reveal-img,
.reveal-row:focus-visible .reveal-img{
  opacity:1;left:-112px;transform:translateY(-50%) scale(1);
}
@media(max-width:1100px){
  /* not enough left margin, flip reveal to the right */
  .reveal-img{left:auto;right:-16px}
  .reveal-row:hover .reveal-img,
  .reveal-row:focus-visible .reveal-img{left:auto;right:36px}
}
@media(max-width:720px){
  .reveal-row{grid-template-columns:auto 1fr;gap:12px 18px}
  .reveal-arrow{opacity:.5}
  .reveal-img{display:none}
  .reveal-row:hover .reveal-title,
  .reveal-row:focus-visible .reveal-title{transform:translateX(10px)}
}
@media (hover:none){
  .reveal-img{display:none}
  .reveal-arrow{opacity:.55}
  .reveal-title{transform:none!important}
}
@media (prefers-reduced-motion:reduce){
  .reveal-title,.reveal-arrow,.reveal-img{transition:none}
  .reveal-row:hover .reveal-title{transform:none}
  .reveal-row:hover .reveal-arrow{transform:none}
}

/* ============================================================================
   FEATURE panel (offer / hire / subscribe)
   ========================================================================= */
.panel{
  position:relative;z-index:1;
  padding:clamp(28px,5vw,52px);
  background:radial-gradient(circle at top left,rgba(255,255,255,.03),transparent);
  border:1px solid rgba(255,255,255,.05);
  transition:border-color .5s ease, background .5s ease;
}
.panel:hover{
  border-color:rgba(212,230,0,.3);
  background:radial-gradient(circle at top left,rgba(212,230,0,.05),transparent);
}
.panel .free{
  font-family:var(--serif);font-style:italic;font-weight:700;
  font-size:clamp(24px,4.4vw,34px);color:var(--electric);line-height:1.1;margin-top:8px;
}

/* full-bleed electric band, page rhythm */
.band{
  background:var(--electric);color:var(--void);overflow:hidden;white-space:nowrap;
  padding:7px 0;border-block:1px solid var(--void);
}
.band span{
  display:inline-block;font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;
  line-height:1;animation:slide 34s linear infinite;
}
@media(max-width:768px){
  .band{padding:5px 0}
  .band span{font-size:11.5px;letter-spacing:.12em}
}
@keyframes slide{to{transform:translateX(-50%)}}

/* ============================================================================
   FORM (subscribe / capture)
   ========================================================================= */
.form{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px;max-width:520px}
.form input{
  flex:1 1 220px;min-width:0;
  background:var(--void);color:var(--bone);border:1px solid var(--edge);
  font-family:var(--head);font-size:16px;padding:16px 16px;
  transition:border-color .16s var(--ease-out);
}
.form input::placeholder{color:var(--faint)}
.form input:focus{outline:0;border-color:var(--electric)}
.form .btn{flex:0 0 auto}
/* gate form, sessions-panel energy, no filled CTA brick */
.form-bare{
  max-width:420px;align-items:stretch;
  border:1px solid var(--edge);
}
.form-bare input{
  flex:1 1 auto;border:0;background:transparent;padding:18px 18px;
}
.form-bare input:focus{outline:0;box-shadow:none}
.form-send{
  flex:0 0 auto;
  appearance:none;border:0;background:transparent;cursor:pointer;
  font-family:var(--head);font-weight:800;font-size:13px;
  letter-spacing:.08em;text-transform:uppercase;
  color:var(--electric);padding:0 18px;
  transition:color .16s var(--ease-out);
}
.form-send .arw{display:inline-block;transition:transform .18s var(--ease-out)}
.form-send:hover{color:var(--bone)}
.form-send:hover .arw{transform:translateX(4px)}
.form-send:disabled{opacity:.45;cursor:wait}
.form-bare:focus-within{border-color:var(--electric)}
.msg{font-family:var(--serif);font-style:italic;font-weight:700;color:var(--electric);font-size:15px;margin-top:14px}

/* ============================================================================
   FOOTER
   ========================================================================= */
.foot{
  border-top:1px solid var(--edge);padding:var(--gap) var(--pad) 56px;
  max-width:var(--col);margin-inline:auto;
  display:flex;flex-wrap:wrap;gap:24px 40px;justify-content:space-between;align-items:end;
}
.foot .sign{font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--faint)}
.foot .sign b{color:var(--electric)}
.foot nav{display:flex;flex-wrap:wrap;gap:18px}
.foot a{color:var(--dim);text-decoration:none;font-size:12.5px;letter-spacing:.02em;transition:color .16s var(--ease-out)}
.foot a:hover{color:var(--bone)}

/* ============================================================================
   CREDIBILITY STRIP, honest markers, never vanity metrics
   ========================================================================= */
.stats{
  display:grid;grid-template-columns:repeat(2,1fr);gap:10px;
  margin-top:10px;background:transparent;border:none;
}
@media(min-width:760px){.stats{grid-template-columns:repeat(4,1fr)}}
.stats .s{
  padding:clamp(22px,3.2vw,32px);
  background:radial-gradient(circle at top left,rgba(255,255,255,.03),transparent);
  border:1px solid rgba(255,255,255,.05);
}
.stats .k{
  font-size:clamp(30px,4.6vw,44px);font-weight:900;line-height:1;letter-spacing:-.03em;
  color:var(--electric);font-variant-numeric:tabular-nums;
}
.stats .l{
  display:block;margin-top:11px;font-size:12px;font-weight:700;
  letter-spacing:.05em;text-transform:uppercase;color:var(--dim);line-height:1.4;
}

/* ============================================================================
   ANATOMY, what a world is made of (thematic; NOT a numbered curriculum)
   ========================================================================= */
.anatomy{display:grid;gap:1px;background:var(--edge);border:1px solid var(--edge);margin-top:12px}
@media(min-width:640px){.anatomy{grid-template-columns:1fr 1fr}}
@media(min-width:980px){.anatomy{grid-template-columns:1fr 1fr 1fr}}
.anatomy .el{
  background:var(--paper);padding:clamp(24px,3.2vw,32px);
  transition:background .18s var(--ease-out);
}
.anatomy .el:hover{background:var(--paper-2)}
.anatomy .el h3{font-size:clamp(18px,2.5vw,22px);margin-bottom:9px}
.anatomy .el p{font-size:14.5px;color:var(--dim);max-width:36ch;line-height:1.5}
.anatomy .el .miss{
  display:block;margin-top:12px;font-size:12px;font-weight:700;letter-spacing:.04em;
  text-transform:uppercase;color:var(--faint);
}

/* ============================================================================
   RICH FOOTER, columns (home page); .foot simple stays for sub-pages
   ========================================================================= */
.site-foot{border-top:1px solid var(--edge);padding:var(--gap) var(--pad) 48px;
  max-width:var(--col);margin-inline:auto}
.foot-cols{display:grid;gap:34px 40px;grid-template-columns:1fr 1fr}
@media(min-width:760px){.foot-cols{grid-template-columns:2.2fr 1fr 1fr 1fr}}
.foot-lead .brand{font-size:20px;display:inline-block;margin-bottom:14px}
.foot-lead p{font-family:var(--serif);font-style:italic;font-weight:700;color:var(--dim);
  font-size:16px;max-width:34ch;line-height:1.35}
.foot-col h4{font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;
  color:var(--faint);margin-bottom:15px}
.foot-col a{display:block;color:var(--dim);text-decoration:none;font-size:13.5px;
  margin-bottom:10px;transition:color .16s var(--ease-out)}
.foot-col a:hover{color:var(--electric)}
.foot-bottom{display:flex;flex-wrap:wrap;gap:14px 24px;justify-content:space-between;
  align-items:center;margin-top:48px;padding-top:22px;border-top:1px solid var(--edge)}
.foot-bottom .sign{
  margin:0;
  font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;
  color:var(--faint);line-height:1;
}
.foot-bottom .sign b{color:var(--electric)}
.foot-bottom .mini{display:flex;align-items:center;gap:18px}
.foot-bottom .mini span,
.foot-bottom .mini a{
  color:var(--faint);text-decoration:none;
  font-size:12px;font-weight:600;letter-spacing:.02em;line-height:1;
  transition:color .16s var(--ease-out);
}
.foot-bottom .mini a:hover{color:var(--bone)}

/* ============================================================================
   PROOF PLATES, reserved slots for the FOX&RA world (swap for <img> when real)
   ========================================================================= */
.plates{display:grid;gap:12px;margin-top:28px;grid-template-columns:1fr 1fr}
@media(min-width:820px){.plates{grid-template-columns:1fr 1fr 1fr}}
.plate{
  position:relative;aspect-ratio:4/5;border:1px dashed var(--electric-line);
  background:var(--paper-2);display:flex;align-items:flex-end;padding:16px;
  transition:border-color .18s var(--ease-out);
}
.plate:hover{border-color:var(--electric)}
.plate::after{
  content:'In build';position:absolute;top:12px;left:12px;
  font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;
  color:var(--faint);border:1px solid var(--edge);padding:4px 8px;
}
.plate b{font-size:13px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:var(--bone)}
.plate.wide{grid-column:1/-1;aspect-ratio:auto;min-height:118px;align-items:center;justify-content:center;text-align:center}
.plate.wide b{color:var(--dim)}
/* When a real image lands: give the plate an <img> child + class "filled". */
.plate.filled{border-style:solid;border-color:var(--edge);padding:0;overflow:hidden}
.plate.filled::after{display:none}
.plate.filled img{width:100%;height:100%;object-fit:cover;display:block}

/* ============================================================================
   DOWNLOAD LINKS (delivered freebies)
   ========================================================================= */
.dlgrid{display:grid;gap:1px;background:var(--edge);border:1px solid var(--edge)}
@media(min-width:560px){.dlgrid{grid-template-columns:1fr 1fr}}
.dl{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  background:var(--paper);color:var(--bone);text-decoration:none;
  padding:16px 18px;font-weight:700;font-size:15px;
  transition:background .16s var(--ease-out),color .16s var(--ease-out);
}
.dl span{color:var(--electric);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.dl:hover{background:var(--electric);color:var(--void)}
.dl:hover span{color:var(--void)}

/* ============================================================================
   OUTFIT preloader clone, structure + tokens from outfit.hellohello.is
   ========================================================================= */
html.intro-active body{overflow:hidden}

#intro{
  position:fixed;inset:0;z-index:200;background:var(--void);
  display:flex;align-items:center;justify-content:center;
  clip-path:inset(0% 0% 0% 0%);contain:layout paint style;
}
.no-intro #intro{display:none}

.intro-stage{
  position:relative;width:100%;height:100%;
  display:flex;align-items:center;justify-content:center;
}
.invisible{visibility:hidden}

/* photos, stacked center, original aspect, no crop */
.intro-photos{
  position:fixed;inset:0;display:flex;align-items:center;justify-content:center;
  contain:layout paint style;pointer-events:none;z-index:1;
}
.intro-photo-img{
  position:absolute;width:52.5vw;height:auto;max-height:92svh;
  object-fit:contain;display:block;
}
@media(min-width:768px){.intro-photo-img{width:21vw}}

/* logo, png slices slide up like OUTFIT svg paths */
.intro-logo-wrap{position:relative;z-index:2;text-align:center}
.logo-build{
  --lw:min(28rem,70vw);--lh:calc(var(--lw)*491/1019);
  width:var(--lw);height:var(--lh);display:flex;flex-direction:column;
}
.logo-slice{flex:1;overflow:hidden;position:relative}
.logo-slice img{
  position:absolute;left:0;width:var(--lw);height:var(--lh);
  top:calc(var(--i)*var(--lh)/-6);max-width:none;display:block;pointer-events:none;
}

/* counter, fixed below photo pile, never overlaps images */
.intro-count-wrap{
  position:fixed;bottom:clamp(52px,10vh,96px);left:50%;
  transform:translateX(-50%);z-index:3;overflow:hidden;
}
#intro .icount{
  display:block;text-align:right;font-size:1.5rem;font-weight:800;
  letter-spacing:-.02em;color:var(--bone);font-variant-numeric:tabular-nums;
  line-height:1;
}

/* live editorial detail, a running clock + "now building" (the human touch) */
.hero-live{display:flex;flex-wrap:wrap;gap:6px 22px;align-items:baseline;margin-top:16px}
.hero-live .clock{font-variant-numeric:tabular-nums;color:var(--bone)}
.hero-live .now{color:var(--dim)}
.hero-live .now b{color:var(--electric);font-weight:800}
.lab.link{transition:color .16s var(--ease-out)}
.lab.link:hover{color:var(--electric)}

/* brand-forward hero, mock: logo · rule · labels · mid · thin ticker */
.hero-brand{
  --hero-inset:clamp(12px,2vw,28px);
  position:relative;display:flex;flex-direction:column;
  padding:calc(var(--bar) + 2px) 0 0;
  /* pack CTA into first fold, no empty stretch before ticker */
  min-height:auto;
}
.hero-top{
  flex:0 0 auto;display:flex;flex-direction:column;
}
.hero-logo-reveal{
  position:relative;flex:0 0 auto;line-height:0;overflow:hidden;
  width:100%;padding:6px var(--hero-inset) 0;
}
.hero-logo-reveal .ghost-cursor{
  position:absolute;inset:0;pointer-events:none;z-index:0;
  will-change:transform;
}
.hero-logo-reveal .ghost-cursor > canvas{
  display:block;width:100%;height:100%;background:transparent;
}
.wordmark-parallax{
  position:relative;z-index:1;will-change:transform;
}
.wordmark-img{
  display:block;width:100%;height:auto;
  object-fit:contain;object-position:left center;
  transform-origin:left center;
}
/* park logo until handoff so the settle isn't a flash */
html.js:not(.loaded) .hero-brand .wordmark-img{visibility:hidden}
html.js.loaded .hero-brand .wordmark-img{visibility:visible}
@media (prefers-reduced-motion: reduce){
  .hero-logo-reveal .ghost-cursor{display:none}
  .wordmark-parallax,.hero-logo-reveal .ghost-cursor{transform:none!important;will-change:auto}
}
.hero-rule{
  flex:0 0 auto;
  width:100%;height:2px;background:var(--electric);border:none;
  margin:8px 0 12px;
  transform-origin:left center;
}
.hero-labels{
  display:grid;grid-template-columns:1fr 1fr;
  align-items:start;width:100%;
  padding:0 var(--hero-inset);
  margin-bottom:10px;
}
.hero-lab-col{display:flex;flex-direction:column;gap:4px}
.hero-lab-meta{justify-self:end;text-align:right}
.lab{font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--dim)}
.lab b{color:var(--bone);font-weight:800}
.hero-institution{
  font-size:clamp(10px,1.05vw,12px);font-weight:800;letter-spacing:.08em;
  text-transform:uppercase;color:var(--bone);line-height:1.2;max-width:14ch;
}
.hero-mid{
  display:flex;flex-direction:column;align-items:center;text-align:center;
  max-width:48ch;margin:0 auto;width:100%;
  padding:0 var(--hero-inset) 12px;
}
.hero-mid-tight{padding-top:4px;padding-bottom:8px;max-width:52ch}
.hero-statement{
  font-weight:900;text-transform:uppercase;line-height:.92;letter-spacing:-.03em;
  font-size:clamp(20px,3.2vw,34px);color:var(--bone);
}
.hero-build{
  display:inline-block;margin-top:.08em;
  color:var(--electric);font-size:1.12em;letter-spacing:-.03em;
}
.hero-mid .lede{
  margin-top:12px;max-width:40ch;
  font-size:clamp(15px,1.7vw,19px);line-height:1.3;color:var(--bone);
}
.hero-mid .btn-row{
  margin-top:16px;justify-content:center;gap:14px 18px;align-items:center;
}
.hero-mid .btn{
  padding:13px 18px 11px;font-size:13px;line-height:1;
}
.hero-brand .hero-labels{margin-top:8px;margin-bottom:6px}

/* thin running line, flush to hero bottom */
.hero-ticker{
  flex:0 0 auto;margin-top:18px;
  width:100%;height:20px;
  background:var(--electric);color:var(--void);
  overflow:hidden;white-space:nowrap;
  display:flex;align-items:center;
}
.hero-ticker span{
  display:inline-block;
  font-size:9px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;
  line-height:1;animation:slide 34s linear infinite;
}
@media(max-width:768px){
  .hero-labels{grid-template-columns:1fr;row-gap:12px;margin-bottom:14px}
  .hero-lab-meta{justify-self:start;text-align:left}
  .hero-mid{align-items:flex-start;text-align:left}
  .hero-mid .risk{text-align:left}
  .hero-mid .btn-row{justify-content:flex-start;flex-direction:column;align-items:flex-start;gap:12px}
  .hero-mid .btn{width:100%;justify-content:center}
  .hero-statement{font-size:clamp(22px,6vw,30px)}
  .hero-logo-reveal{padding:8px var(--hero-inset) 0}
  .wordmark-img{width:100%;max-width:100%}
}
@media(max-width:480px){
  .section-light .stats .l{font-size:11px;letter-spacing:.04em}
  .panel{padding:clamp(22px,5vw,28px)}
  .foot-cols{gap:28px 20px}
}

/* hero chrome hidden until intro handoff, prevents flash + double anim */
html.js:not(.loaded) .hero-brand .hero-rule,
html.js:not(.loaded) .hero-brand .hero-labels,
html.js:not(.loaded) .hero-brand .hero-mid{visibility:hidden}

/* scroll-reveal, staggered entrance; fully visible if JS is off */
.js .reveal{
  opacity:0;transform:translateY(36px);
  transition:
    opacity .85s var(--ease-out) calc(var(--d, 0) * 1ms),
    transform .85s var(--ease-out) calc(var(--d, 0) * 1ms);
  will-change:opacity,transform;
}
.js .reveal.in{opacity:1;transform:none;will-change:auto}
/* blur → sharp (manifesto body + close) */
.js .reveal.reveal-blur{
  transform:none;
  filter:blur(12px);
  transition:
    opacity .9s var(--ease-out) calc(var(--d, 0) * 1ms),
    filter .95s var(--ease-out) calc(var(--d, 0) * 1ms);
  will-change:opacity,filter;
}
.js .reveal.reveal-blur.in{
  opacity:1;filter:blur(0);will-change:auto;
}
/* mark hairline draws in with the label */
.js .mark.reveal::before{
  transform:scaleX(0);transform-origin:left center;
  transition:transform .7s var(--ease-out) calc((var(--d, 0) + 80) * 1ms);
}
.js .mark.reveal.in::before{transform:scaleX(1)}
/* route rows, slight left bias so the list feels indexed */
.js .dx a.reveal{transform:translateY(28px) translateX(-10px)}
.js .dx a.reveal.in{transform:none}
/* stats, lift from the grid */
.js .stats .s.reveal{transform:translateY(28px)}
.js .stats .s.reveal.in{transform:none}

/* ============================================================================
   REAL LOGO, used in nav, hero, footer, intro (replaces text wordmark)
   ========================================================================= */
.brandlogo{height:18px;width:auto;display:block}
.brandlogo-mark{height:28px;width:auto}
/* hero wordmark, mock scale: full track width, height-capped, left-aligned, no upscale blur */
.foot-logo{height:26px;width:auto;display:block;margin-bottom:16px}

/* ============================================================================
   MOTION off-switch
   ========================================================================= */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{animation:none!important;transition:none!important}
  .rise>*{opacity:1;transform:none}
  #intro{display:none!important}
  .reveal{opacity:1!important;transform:none!important;filter:none!important}
  .mark.reveal::before{transform:none!important}
  html.intro-active body{overflow:auto}
  .logo-slice img,.wordmark-img{transform:none!important}
}

/* footer social icons, adapt to dark vs light (page-free) footer */
.foot-social{display:flex;gap:16px;margin-top:16px}
.foot-social a{display:inline-flex;color:var(--dim);opacity:.75;transition:opacity .15s var(--ease-out),color .15s var(--ease-out)}
.foot-social a:hover{opacity:1;color:var(--electric)}
.page-free .foot-social a{color:var(--void);opacity:.6}
.page-free .foot-social a:hover{color:var(--void);opacity:1}
