@font-face{font-family:Geist;src:url(assets/fonts/Geist-Variable.woff2) format('woff2');font-weight:100 900;font-display:block}
@font-face{font-family:'Geist Mono';src:url(assets/fonts/GeistMono-Variable.woff2) format('woff2');font-weight:100 900;font-display:block}
:root{--bg:#07101d;--ink:#EDF3F9;--dim:#A3B4C7;--acc:#35C9E8;--em:#35C9E8;--btn:#35C9E8;--btnInk:#04121d;--line:rgba(255,255,255,.14);
  --scrim:linear-gradient(90deg,rgba(7,16,29,.93) 0%,rgba(7,16,29,.74) 30%,rgba(7,16,29,0) 52%);
  --scrimPh:linear-gradient(0deg,rgba(7,16,29,.96) 0%,rgba(7,16,29,.88) 28%,rgba(7,16,29,0) 43%);color-scheme:dark}
body.light{--bg:#EEF3F7;--ink:#0A1627;--dim:#4A5C72;--acc:#0B86A6;--em:#0B86A6;--btn:#0A1627;--btnInk:#fff;--line:rgba(10,22,39,.14);
  --scrim:linear-gradient(90deg,rgba(238,243,247,.95) 0%,rgba(238,243,247,.8) 30%,rgba(238,243,247,0) 52%);
  --scrimPh:linear-gradient(0deg,rgba(238,243,247,.98) 0%,rgba(238,243,247,.94) 44%,rgba(238,243,247,0) 60%);color-scheme:light}
*{box-sizing:border-box}
html,body{margin:0;background:var(--bg);color:var(--ink);font-family:Geist,system-ui,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
.nav{position:fixed;top:0;left:0;right:0;z-index:20;display:flex;align-items:center;gap:32px;padding:18px clamp(20px,4vw,56px)}
.brand{display:flex;align-items:center;gap:12px}.brand img{height:40px;width:auto}
.brand span{display:flex;flex-direction:column;line-height:1.2}
.brand b{font-weight:500;letter-spacing:.34em;font-size:15px}.brand i{font-style:normal;letter-spacing:.3em;font-size:9px;color:var(--acc);font-family:'Geist Mono',monospace}
.links{display:flex;gap:28px;margin-left:auto;font-size:14.5px;color:var(--dim)}
.btn{display:inline-flex;align-items:center;justify-content:center;background:var(--btn);color:var(--btnInk);font-weight:600;font-size:15.5px;padding:14px 24px;border-radius:10px;box-shadow:0 10px 30px -12px rgba(53,201,232,.6)}
.btn.sm{padding:10px 18px;font-size:14px}.btn.ghost{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1px var(--line)}
.story{height:520vh;position:relative}
.stage{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden}
.stage canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.scrim{position:absolute;inset:0;background:var(--scrim);pointer-events:none}
.copy{position:absolute;left:clamp(24px,6vw,104px);top:0;bottom:0;width:min(540px,40vw)}
.beat{position:absolute;left:0;right:0;top:50%;transform:translateY(-44%);opacity:0;transition:opacity .6s ease,transform .9s cubic-bezier(.16,1,.3,1);pointer-events:none}
.beat.on{opacity:1;transform:translateY(-50%);pointer-events:auto;transition-delay:.12s}
.tag{font-family:'Geist Mono',monospace;font-size:12px;font-weight:500;letter-spacing:.16em;text-transform:uppercase;color:var(--acc);margin-bottom:22px;display:flex;align-items:center;gap:12px}
.tag:before{content:'';width:28px;height:1px;background:var(--acc)}
h1,h2{font-family:Geist,sans-serif;font-weight:600;font-size:clamp(38px,3.9vw,60px);line-height:1.04;letter-spacing:-.035em;margin:0 0 24px;text-wrap:balance}
h1 em,h2 em{font-style:normal;color:var(--em)}
.beat p{font-size:18px;line-height:1.6;color:var(--dim);max-width:44ch;margin:0}
.ctas{display:flex;gap:12px;flex-wrap:wrap;margin-top:32px}
.own{margin-top:22px;font-size:13.5px;color:var(--dim);display:flex;align-items:center;gap:10px}
.live{width:8px;height:8px;border-radius:50%;background:var(--acc);box-shadow:0 0 0 4px rgba(53,201,232,.18);animation:pulse 2s ease-in-out infinite}
@keyframes pulse{50%{box-shadow:0 0 0 7px rgba(53,201,232,0)}}
.hint{position:absolute;left:50%;bottom:26px;transform:translateX(-50%);font-size:11px;letter-spacing:.24em;text-transform:uppercase;color:var(--dim);display:flex;flex-direction:column;align-items:center;gap:10px;transition:opacity .5s}
.hint span{width:1px;height:38px;background:linear-gradient(var(--acc),transparent);animation:drop 1.8s ease-in-out infinite}
@keyframes drop{0%{transform:scaleY(0);transform-origin:top}50%{transform:scaleY(1);transform-origin:top}51%{transform-origin:bottom}100%{transform:scaleY(0);transform-origin:bottom}}
.rail{position:absolute;right:clamp(18px,3vw,40px);top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:12px}
.rail i{width:3px;height:26px;border-radius:3px;background:var(--line);transition:background .4s,height .4s}.rail i.on{background:var(--acc);height:42px}
.after{min-height:86vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:120px 24px;position:relative;background:radial-gradient(60% 50% at 50% 40%,rgba(53,201,232,.13),transparent 70%),var(--bg)}
.after .tag:before{display:none}
.after p{color:var(--dim);font-size:18px;line-height:1.6;max-width:46ch;margin:0 0 32px}
.note{margin-top:64px;font-size:12.5px;color:var(--dim);opacity:.7;max-width:60ch}
.chip{position:fixed;right:18px;bottom:18px;z-index:30;display:flex;align-items:center;gap:2px;padding:4px;border-radius:999px;background:rgba(7,16,29,.84);color:#EDF3F9;backdrop-filter:blur(12px);box-shadow:0 0 0 1px rgba(255,255,255,.14);font-size:13px}
.chip a{padding:8px 12px;border-radius:999px}.chip .nm{font-weight:600}
@media (max-width:760px){
  .links{display:none}.nav{gap:12px;padding:14px 16px}.brand img{height:28px}.brand b{font-size:13px}.brand i{font-size:8px}.nav .btn.sm{margin-left:auto;padding:9px 14px;font-size:13px}
  .scrim{background:var(--scrimPh)}
  .copy{left:20px;right:20px;width:auto;top:auto;bottom:0;height:54%}
  .beat{top:auto;bottom:34px;transform:translateY(14px)}.beat.on{transform:none}
  h1,h2{font-size:clamp(30px,8.4vw,39px);margin-bottom:14px}.tag{margin-bottom:12px;font-size:11px}
  .beat p{font-size:15.5px;line-height:1.55}.ctas{margin-top:20px}.ctas .btn{padding:13px 18px;font-size:14.5px}.own{display:none}
  .rail{display:none}.hint{display:none}
  .chip{top:66px;bottom:auto;right:12px;font-size:12px}
}
@media (prefers-reduced-motion:reduce){.beat,.btn{transition:none}.hint span,.live{animation:none}}

/* one world: a taller story, the dark dip between acts, a scroll pill on phones, a soft nav backing */
.story{height:1750vh}
.veil{position:absolute;inset:0;background:var(--bg);opacity:0;pointer-events:none}
.hint{transition:opacity .5s}
.nav{background:linear-gradient(180deg,rgba(6,16,28,.88),rgba(6,16,28,.55) 70%,rgba(6,16,28,0));backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
@media (max-width:760px){
  .story{height:1350vh}
  .hint{display:flex!important;top:auto;bottom:calc(46% + 8px);left:50%;padding:10px 16px;border-radius:999px;background:rgba(53,201,232,.95);box-shadow:0 10px 30px -12px rgba(0,0,0,.6);color:#04121d;font-weight:600;font-size:11px;letter-spacing:.16em;flex-direction:row;gap:8px;white-space:nowrap;animation:hb 1.6s ease-in-out infinite}
  .hint span{width:9px;height:9px;border-right:2px solid #04121d;border-bottom:2px solid #04121d;background:none;transform:rotate(45deg);animation:none;margin-top:-4px}
  @keyframes hb{50%{transform:translate(-50%,6px)}}
}

/* phones, design pass: the scene gets the top two-thirds, the words sit tight at the bottom */
@media (max-width:760px){
  .copy{height:40%}
  .beat{bottom:calc(18px + env(safe-area-inset-bottom,0px))}
  h1,h2{font-size:clamp(24px,6.6vw,29px);line-height:1.08;margin-bottom:9px}.tag{margin-bottom:8px;font-size:10px;letter-spacing:.16em}
  .beat p{font-size:13.5px;line-height:1.5;display:block;color:var(--dim)}
  .ctas{margin-top:12px;gap:8px}.ctas .btn{padding:11px 16px;font-size:13.5px}
  .hint{bottom:calc(40% + 6px)}
}

/* QA 09-30: full sentences on phones (the clamp cut words mid-way); the scroll pill sits under the nav, clear of the words */
@media (max-width:760px){
  .beat p{font-size:13px;line-height:1.45}
  .hint{top:calc(64px + env(safe-area-inset-top,0px))!important;bottom:auto!important}
}
@media (max-width:760px) and (max-height:700px){ .beat p{font-size:12.5px;line-height:1.4} h1,h2{font-size:clamp(22px,6.2vw,26px)} }

/* phones, composition pass (10-02): the scroll pill sits at the foot of the 3D band, just above the words (shell.js sets
   --hint-b), never on the copy and never under the nav */
@media (max-width:760px){.hint{top:auto!important;bottom:var(--hint-b,46%)!important}}
