/* ateon labs site
   colours match ateonlabs.com: black, thin white lines, green accent */

:root {
  --black: #000;
  --white: #fff;
  --volt: #c6fd5b;
  --volt-24: rgba(198, 253, 91, .24);
  --w-04: rgba(255, 255, 255, .04);
  --w-08: rgba(255, 255, 255, .08);
  --w-24: rgba(255, 255, 255, .24);
  --w-48: rgba(255, 255, 255, .48);
  --w-72: rgba(255, 255, 255, .72);
  --hair: 1px solid var(--w-24);
  --hair-faint: 1px solid var(--w-08);
  --font-display: "Inter Tight", system-ui, sans-serif;
  --font-body: "Inter Tight", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1680px;
  --nav-h: 64px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--black); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--black); color: var(--white);
  font-family: var(--font-body); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, canvas { display: block; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
address { font-style: normal; }
::selection { background: var(--volt); color: var(--black); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.label { color: var(--w-48); margin-bottom: 16px; }
.volt { color: var(--volt); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--volt); color: #000; padding: 8px 12px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 1px solid var(--volt); outline-offset: 3px; }

.wordmark {
  display: block; width: 156px; height: 19px; background-color: currentColor;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: left center; mask-position: left center;
  -webkit-mask-size: contain; mask-size: contain;
}
.wordmark--lg { width: 240px; height: 29px; }

/* --- buttons --- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; gap: 12px; height: var(--h); padding: 0 22px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid transparent; transition: background .3s var(--ease-out), color .3s, border-color .3s;
  white-space: nowrap;
}
.btn span { transition: transform .4s var(--ease-out); }
.btn:hover span { transform: translateX(4px); }
.btn--volt { background: var(--volt); color: #000; }
.btn--volt:hover { background: var(--white); }
.btn--line { border-color: var(--w-24); color: var(--white); background: rgba(0, 0, 0, .25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--line:hover { border-color: var(--white); }
.btn--sm { --h: 36px; padding: 0 14px; font-size: 11px; }
.link { display: inline-flex; gap: 10px; color: var(--volt); padding-bottom: 4px; border-bottom: 1px solid var(--volt-24); transition: border-color .3s; }
.link:hover { border-color: var(--volt); }

/* --- nav --- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  transition: background .4s, border-color .4s, transform .5s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(0, 0, 0, .55); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: var(--w-08); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__link { font-size: 14px; color: var(--w-72); position: relative; transition: color .25s; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--volt); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out); }
.nav__link:hover, .nav__link.is-active { color: var(--white); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__sep { width: 1px; height: 16px; background: var(--w-24); }
.nav__cta { margin-left: 8px; }
.nav__burger { display: none; width: 40px; height: 40px; border: var(--hair); background: none; position: relative; cursor: pointer; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 1px; background: var(--white); transition: transform .4s var(--ease-out); }
.nav__burger span:first-child { top: 16px; } .nav__burger span:last-child { top: 23px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45; background: rgba(0, 0, 0, .94); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding-top: calc(var(--nav-h) + 48px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; overflow-y: auto;
}
.menu[data-open="true"] { opacity: 1; visibility: visible; }
.menu__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.menu__col { display: flex; flex-direction: column; gap: 10px; }
.menu__platform { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: var(--hair-faint); }
.menu__platform:hover .menu__code { color: var(--volt); }
.menu__code { font-size: clamp(32px, 4vw, 56px); font-weight: 500; letter-spacing: -.03em; line-height: 1; transition: color .3s; }
.menu__platform .mono { color: var(--w-48); }
.menu__link { font-size: 18px; color: var(--w-72); } .menu__link:hover { color: var(--white); }

@media (max-width: 1180px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .menu__grid { grid-template-columns: 1fr 1fr; }
  .menu__col--platforms { grid-column: 1 / -1; }
}

/* --- 3d stage --- */
.stage { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.stage__canvas { width: 100%; height: 100%; }
.stage__scrim { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(0,0,0,.55) 100%); }
.stage__grain {
  position: absolute; inset: -50%; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-4%)} 60%{transform:translate(-4%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

.callouts { position: absolute; inset: 0; }
.callout {
  position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 10px;
  opacity: 0; transition: opacity .35s; will-change: transform;
}
.callout i { width: 9px; height: 9px; border: 1px solid var(--volt); border-radius: 50%; box-shadow: 0 0 0 4px rgba(198,253,91,.12), 0 0 12px var(--volt); flex: none; position: relative; }
.callout i::after { content: ""; position: absolute; left: 100%; top: 50%; width: 36px; height: 1px; background: linear-gradient(90deg, var(--volt), transparent); }
.callout span { margin-left: 34px; padding: 6px 10px; background: rgba(0,0,0,.6); border: 1px solid var(--volt-24); color: var(--white); white-space: nowrap; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.callout.is-on { opacity: 1; }
.callout.is-flip { flex-direction: row-reverse; translate: calc(-100% + 10px) 0; }
.callout.is-flip i::after { left: auto; right: 100%; background: linear-gradient(270deg, var(--volt), transparent); }
.callout.is-flip span { margin-left: 0; margin-right: 34px; }

.hud {
  position: absolute; right: var(--gutter); top: calc(var(--nav-h) + 24px); width: 220px;
  border: var(--hair-faint); background: rgba(0,0,0,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 12px 14px; opacity: 0; transform: translateY(-8px); transition: opacity .5s, transform .5s var(--ease-out);
}
.hud.is-on { opacity: 1; transform: none; }
.hud__row { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px dashed var(--w-08); }
.hud__row:last-child { border: 0; }
.hud__k { color: var(--w-48); font-size: 10px; }
.hud__v { font-size: 10px; color: var(--white); }
.hud__v b { font-weight: 500; color: var(--volt); }
.hud__v.is-warn { color: #ff8a5b; }
.hud__v.is-ok { color: var(--volt); }

.progress { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); opacity: 0; transition: opacity .6s; }
.progress.is-on { opacity: 1; }
.progress ol { display: flex; gap: 6px; align-items: center; }
.progress li { display: flex; align-items: center; gap: 8px; color: var(--w-24); transition: color .4s; }
.progress li .mono { display: none; }
.progress li::before { content: ""; width: 22px; height: 2px; background: currentColor; transition: width .5s var(--ease-out); }
.progress li em { font-style: normal; font-size: 10px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em; max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width .5s var(--ease-out), opacity .4s; }
.progress li.is-active { color: var(--volt); }
.progress li.is-active::before { width: 36px; }
.progress li.is-active em { max-width: 120px; opacity: 1; color: var(--white); margin-right: 6px; }

/* --- loader --- */
.loader { position: fixed; inset: 0; z-index: 80; background: #000; display: grid; place-items: center; transition: opacity 1s var(--ease-io), visibility 1s; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__inner { width: min(360px, 80vw); display: flex; flex-direction: column; gap: 28px; }
.loader__bar { height: 1px; background: var(--w-08); overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: 100%; background: var(--volt); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
.loader__meta { display: flex; justify-content: space-between; color: var(--w-48); }
.loader__meta b { color: var(--white); font-weight: 400; }

/* --- story --- */
.story { position: relative; z-index: 2; }
.chapter { position: relative; height: calc(var(--len) * 1svh); }
.panel {
  position: fixed; inset: 0; height: 100svh; display: flex; align-items: center;
  opacity: var(--vis, 0); visibility: hidden; pointer-events: none;
}
.panel.is-visible { visibility: visible; }
.panel.is-live { pointer-events: auto; }
.panel .wrap { position: relative; }
.panel--left::before, .panel--right::before, .panel--bottom::before, .panel--center::before { content: ""; position: absolute; inset: 0; pointer-events: none; }
.panel--left::before { background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.45) 32%, transparent 58%); }
.panel--right::before { background: linear-gradient(270deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.45) 32%, transparent 58%); }
.panel--right .copy { margin-left: auto; }
.panel--bottom { align-items: flex-end; padding-bottom: 7svh; }
.panel--bottom::before { background: linear-gradient(0deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.5) 38%, transparent 62%); }
.panel--center { text-align: center; }
.panel--center::before { background: radial-gradient(70% 60% at 50% 50%, rgba(0,0,0,.7), rgba(0,0,0,.2)); }

.copy { max-width: 540px; transform: translateY(calc((1 - var(--vis, 0)) * 28px)); }
.copy--wide { max-width: 760px; }
.copy--full { max-width: none; }
.copy__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 36px; }
.copy__head .headline { margin: 0; }
.panel--left .copy { padding-left: clamp(0px, 7vw, 120px); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--volt); margin-bottom: 24px; }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 10px var(--volt); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }

.display { font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 6.6vw, 118px); line-height: .94; letter-spacing: -.045em; }
.display .line { display: block; overflow: hidden; padding-bottom: .04em; white-space: nowrap; }
.display .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.3s var(--ease-out); }
body.is-ready .display .line > span { transform: none; }
.display .line:nth-child(2) > span { transition-delay: .08s; }
.display .line:nth-child(3) > span { transition-delay: .16s; }
.display--cta { font-size: clamp(48px, 8vw, 132px); margin-bottom: 28px; }
.display--page { font-size: clamp(48px, 9vw, 150px); margin-bottom: 28px; }
.headline { font-weight: 500; font-size: clamp(34px, 4.2vw, 64px); line-height: 1; letter-spacing: -.035em; margin-bottom: 24px; text-wrap: balance; }
.lede { font-size: clamp(17px, 1.35vw, 21px); line-height: 1.5; color: var(--w-72); max-width: 560px; margin-top: 28px; text-wrap: pretty; }
.panel--center .lede { margin-left: auto; margin-right: auto; }
.body { font-size: 17px; line-height: 1.6; color: var(--w-72); text-wrap: pretty; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.cta-row--center { justify-content: center; }
.fineprint { margin-top: 40px; color: var(--w-48); font-size: 10px; max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.7; }

.panel .hero__foot { position: absolute; left: 0; right: 0; bottom: 72px; display: flex; justify-content: space-between; align-items: flex-end; margin: 0 auto; }
.hero__coords { color: var(--w-48); line-height: 1.8; }
.hero__coords span { color: var(--white); }
.scroll-cue { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--w-48); }
.scroll-cue i { width: 1px; height: 48px; background: linear-gradient(var(--volt), transparent); animation: cue 2s var(--ease-io) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.ticker { position: absolute; left: 0; right: 0; bottom: 0; border-top: var(--hair-faint); border-bottom: var(--hair-faint); overflow: hidden; height: 40px; display: flex; align-items: center; background: rgba(0,0,0,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ticker__track { display: flex; align-items: center; gap: 22px; white-space: nowrap; animation: ticker 60s linear infinite; padding-left: 22px; }
.ticker__track .mono { color: var(--w-48); }
.ticker__track b { color: var(--volt); font-size: 7px; font-weight: 400; }
@keyframes ticker { to { transform: translateX(-50%); } }

.stats { display: grid; grid-template-columns: 1fr 1fr; margin: 36px 0 32px; border-top: var(--hair-faint); }
.stat { padding: 18px 0 16px; border-bottom: var(--hair-faint); }
.stat:nth-child(odd) { padding-right: 16px; border-right: var(--hair-faint); }
.stat:nth-child(even) { padding-left: 20px; }
.stat dt { color: var(--w-48); font-size: 10px; margin-bottom: 8px; }
.stat dd { display: flex; align-items: baseline; gap: 6px; }
.stat b { font-size: clamp(36px, 3.4vw, 52px); font-weight: 500; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { font-family: var(--font-mono); font-size: 12px; color: var(--w-48); text-transform: uppercase; }

.inputs { margin-top: 32px; border-top: var(--hair-faint); }
.inputs li { display: flex; gap: 18px; padding: 14px 0; border-bottom: var(--hair-faint); color: var(--w-72); font-size: 15px; }
.inputs li .mono { color: var(--volt); padding-top: 3px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.chips span { border: 1px solid var(--volt-24); color: var(--volt); padding: 8px 12px; font-size: 10px; background: rgba(0,0,0,.35); }

.arch { display: grid; grid-template-columns: repeat(3, 1fr); margin: 36px 0 32px; border-top: var(--hair-faint); }
.arch li { padding: 20px 20px 20px 0; border-right: var(--hair-faint); }
.arch li + li { padding-left: 20px; }
.arch li:last-child { border-right: 0; }
.arch .mono { color: var(--volt); }
.arch h3 { font-size: 22px; font-weight: 500; letter-spacing: -.02em; margin: 14px 0 10px; }
.arch p { font-size: 14px; color: var(--w-72); line-height: 1.55; }

.sectors { display: grid; grid-template-columns: repeat(6, 1fr); border-top: var(--hair); }
.sectors li { padding: 22px 20px 8px 0; border-right: var(--hair-faint); }
.sectors li + li { padding-left: 20px; }
.sectors li:last-child { border-right: 0; }
.sectors .mono { color: var(--volt); }
.sectors h3 { font-size: 19px; font-weight: 500; letter-spacing: -.02em; margin: 16px 0 10px; line-height: 1.15; }
.sectors p { font-size: 14px; color: var(--w-72); line-height: 1.5; }

/* no webgl? then the chapters are just a normal page */
.no-webgl .stage { background: radial-gradient(120% 80% at 70% 30%, #1a2130, #000 70%); }
.no-webgl .stage__canvas, .no-webgl .hud, .no-webgl .progress, .no-webgl .callouts { display: none; }
.no-webgl .chapter { height: auto; min-height: 100svh; display: flex; }
.no-webgl .panel { position: relative; inset: auto; height: auto; min-height: 100svh; width: 100%; padding: calc(var(--nav-h) + 40px) 0 60px; }

/* --- fade in on scroll (site.js), delayed by --i --- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* --- city background (pages without their own 3d) --- */
.city-backdrop { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; display: block; opacity: 0; pointer-events: none; transition: opacity 1.4s var(--ease-io); }
.city-backdrop.is-ready.is-active { opacity: 1; }
body:has(.city-backdrop) main { position: relative; z-index: 1; }
body:has(.city-backdrop) .footer {
  background: rgba(0, 0, 0, .7);
  backdrop-filter: blur(16px) saturate(1.1); -webkit-backdrop-filter: blur(16px) saturate(1.1);
}

/* --- home opening: logo + first line --- */
.panel--hero { opacity: 1; align-items: stretch; }
.panel--hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: var(--vi, 1);
  background: linear-gradient(180deg, rgba(0,0,0,.92) 0, rgba(0,0,0,.55) 9%, transparent 22%),
              radial-gradient(70% 62% at 50% 46%, transparent 45%, rgba(0,0,0,.6) 100%); }
.landing { position: absolute; inset: 0; opacity: var(--vi, 1); pointer-events: none; }
.landing__frame { position: absolute; left: 50%; top: 46%; width: min(52vmin, 500px); height: min(60vmin, 560px); translate: -50% -50%; }
.landing__frame i { position: absolute; width: 28px; height: 28px; border: 1px solid var(--volt); opacity: 0; transition: opacity .8s .9s, transform 1.4s .9s var(--ease-out); }
.landing__frame i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; transform: translate(-40px, -40px); }
.landing__frame i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; transform: translate(40px, -40px); }
.landing__frame i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; transform: translate(-40px, 40px); }
.landing__frame i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; transform: translate(40px, 40px); }
body.is-ready .landing__frame i { opacity: .75; transform: none; }
.landing__tag { position: absolute; font-size: 10px; color: var(--w-48); opacity: 0; transition: opacity .8s 1.6s; white-space: nowrap; }
.landing__tag b { color: var(--volt); font-weight: 400; font-variant-numeric: tabular-nums; }
.landing__tag--tl { left: 40px; top: 8px; }
.landing__tag--br { right: 40px; bottom: 8px; }
body.is-ready .landing__tag { opacity: 1; }
.landing__base { position: absolute; left: 50%; bottom: 150px; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.landing__wordmark { width: 176px; height: 22px; color: var(--white); opacity: 0; transform: translateY(10px); transition: opacity 1.2s 1.2s, transform 1.4s 1.2s var(--ease-out); }
.landing__line { font-size: 10.5px; letter-spacing: .24em; color: var(--w-48); opacity: 0; transition: opacity 1.2s 1.5s; }
.landing__line b { color: var(--volt); font-weight: 400; margin: 0 .5em; }
body.is-ready .landing__wordmark { opacity: 1; transform: none; }
body.is-ready .landing__line { opacity: 1; }
.landing__cue { position: absolute; left: 50%; bottom: 66px; translate: -50% 0; display: flex; align-items: center; gap: 12px; font-size: 10px; color: var(--w-48); opacity: 0; transition: opacity 1s 2s; }
body.is-ready .landing__cue { opacity: 1; }
.landing__cue i { position: relative; width: 18px; height: 28px; border: 1px solid var(--w-48); border-radius: 10px; }
.landing__cue em { position: absolute; left: 50%; top: 6px; width: 2px; height: 6px; margin-left: -1px; border-radius: 1px; background: var(--volt); animation: wheel 1.8s var(--ease-io) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(9px); opacity: 0; } 100% { opacity: 0; } }
.landing__coords { position: absolute; left: var(--gutter); bottom: 64px; opacity: 0; transition: opacity 1s 1.8s; }
body.is-ready .landing__coords { opacity: 1; }

.statement { position: absolute; left: 0; right: 0; top: 50%; translate: 0 -50%; opacity: var(--vs, 0); pointer-events: none; }
.panel--hero.is-statement .statement { pointer-events: auto; }
.statement::before { content: ""; position: absolute; inset: -40vh -10vw -40vh -20vw; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.55) 38%, transparent 62%); }
.statement__title { font-size: clamp(34px, 4.2vw, 70px); font-weight: 500; letter-spacing: -.04em; line-height: 1.04; }
.statement__line { display: block; overflow: hidden; padding-bottom: .06em; }
.statement__line > span { display: inline-block; transform: translateY(calc(clamp(0, 1.25 - var(--vs, 0) * 1.6 + var(--n, 0) * .18, 1) * 108%)); }
.statement__line:nth-child(2) { --n: 1; } .statement__line:nth-child(3) { --n: 2; }
.statement__lede { max-width: 460px; margin-top: 24px; color: var(--w-72); font-size: 17px; line-height: 1.55; }
.statement .cta-row { margin-top: 28px; }
.no-webgl .landing { display: none; }
.no-webgl .statement { opacity: 1; }
.no-webgl .statement__line > span { transform: none; }
@media (max-width: 760px), (orientation: portrait) {
  .landing__frame { width: 70vw; height: 44vh; }
  .landing__base { bottom: 130px; }
  .landing__coords { display: none; }
  .statement { top: auto; bottom: 70px; translate: none; }
  .statement::before { inset: -45vh -10vw -12vh -10vw; background: linear-gradient(0deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.7) 45%, transparent 80%); }
  .landing__line { display: flex; flex-direction: column; align-items: center; gap: 6px; letter-spacing: .2em; }
  .landing__line b { display: none; }
  .statement__lede { font-size: 15px; }
}

/* --- footer --- */
.footer { position: relative; z-index: 3; background: #000; border-top: var(--hair-faint); padding: 96px 0 40px; }
.footer__top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 64px; padding-bottom: 72px; border-bottom: var(--hair-faint); }
.footer__tag { font-size: 28px; letter-spacing: -.03em; line-height: 1.1; margin: 28px 0 32px; font-weight: 500; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer__cols li { margin-bottom: 10px; }
.footer__cols a { color: var(--w-72); font-size: 15px; transition: color .25s; }
.footer__cols a:hover { color: var(--volt); }
.footer__office { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 48px 0; border-bottom: var(--hair-faint); color: var(--w-72); font-size: 15px; }
.footer__office a:hover { color: var(--volt); }
.footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 28px; color: var(--w-48); font-size: 10px; }

/* --- inner pages --- */
.page-hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 80px) 0 96px; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.55) 38%, rgba(0,0,0,.1) 70%, transparent 100%),
              linear-gradient(0deg, rgba(0,0,0,.7) 0%, transparent 30%);
}
.page-hero__grid {
  position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(var(--w-04) 1px, transparent 1px), linear-gradient(90deg, var(--w-04) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(70% 70% at 70% 40%, #000, transparent);
  -webkit-mask-image: radial-gradient(70% 70% at 70% 40%, #000, transparent);
}
.page-hero .wrap { position: relative; }
.page-hero__status { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 40px; color: var(--w-48); }
.badge { border: 1px solid var(--volt); color: var(--volt); padding: 6px 10px; }

/* --- responsive --- */
@media (max-width: 1100px) {
  .sectors { grid-template-columns: repeat(3, 1fr); }
  .sectors li:nth-child(3) { border-right: 0; }
  .sectors li:nth-child(4) { padding-left: 0; }
  .footer__top { grid-template-columns: 1fr; }
  .progress { display: none; }
}
@media (max-width: 760px) {
  .panel { align-items: flex-end; padding-bottom: calc(5svh + 16px); }
  .panel--left::before, .panel--right::before, .panel--hero::before { background: linear-gradient(0deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.7) 30%, transparent 52%); }
  .panel--left .copy { padding-left: 0; }
    .copy { max-width: none; }
  .eyebrow { margin-bottom: 14px; }
  .headline { font-size: 30px; margin-bottom: 12px; }
  .body { font-size: 15px; line-height: 1.5; }
  .stats { margin: 16px 0 14px; }
  .stat { padding: 10px 0 8px; }
  .stat:nth-child(even) { padding-left: 14px; }
  .stat dt { font-size: 9px; margin-bottom: 4px; }
  .stat b { font-size: 26px; }
  .inputs, .arch, .chips { display: none; }
  .copy--wide .body { margin-bottom: 16px; }
  .sectors { grid-template-columns: 1fr 1fr; }
  .sectors li, .sectors li + li { padding: 10px 10px 8px 0; border-right: 0; border-bottom: var(--hair-faint); }
  .sectors p { display: none; }
  .sectors h3 { font-size: 14px; margin: 4px 0 0; }
  .copy__head { margin-bottom: 18px; }
  .hud { display: none; }
  .panel .hero__foot { bottom: 56px; }
  .callout span { font-size: 9px; }
  .progress { bottom: 12px; }
  .progress li::before { width: 14px; }
  .progress li.is-active::before { width: 22px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__office { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* --- footer note --- */
.fnote {
  position: fixed; right: 40px; bottom: calc(34px + var(--fnote-lift, 0px)); z-index: 120;
  display: none; align-items: center; gap: 10px; max-width: calc(100vw - 32px);
  font-family: "Caveat", "Segoe Script", cursive; font-weight: 500; font-size: 26px; line-height: 1; white-space: nowrap;
  color: var(--white); opacity: 0; visibility: hidden; pointer-events: none; user-select: none;
}
.fnote.is-on { display: flex; visibility: visible; animation: fnote-in 8s linear both; }
.fnote.is-still { display: flex; visibility: visible; opacity: .82; }
.fnote__h { display: inline-block; font-size: .72em; color: var(--volt); transform-origin: 50% 60%; }
.fnote__t {
  position: relative; padding: 2px 4px 6px 0;
  -webkit-mask-image: linear-gradient(90deg, #000 46%, transparent 54%); mask-image: linear-gradient(90deg, #000 46%, transparent 54%);
  -webkit-mask-size: 220% 100%; mask-size: 220% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 100% 0; mask-position: 100% 0;
}
.fnote::after {
  content: ""; position: absolute; left: 22px; right: 0; bottom: -3px; height: 1px;
  background: linear-gradient(90deg, var(--volt), rgba(255, 255, 255, .5) 40%, transparent);
  transform: scaleX(0); transform-origin: left center; opacity: 0;
}
.is-on .fnote__h { animation: fnote-pop 1.5s var(--ease-out) both; }
.is-on .fnote__t { animation: fnote-wipe 2s cubic-bezier(.45, .05, .35, 1) 1.5s both; }
.fnote.is-on::after { animation: fnote-line 1s var(--ease-out) 1s both; }
.is-still .fnote__t { -webkit-mask-image: none; mask-image: none; }
.fnote.is-still::after { transform: none; opacity: .55; }

@keyframes fnote-in {
  0% { opacity: .82; transform: translateY(0); }
  45% { transform: translateY(-1px); }
  75% { opacity: .82; transform: translateY(-2px); }
  100% { opacity: 0; transform: translateY(-3px); }
}
@keyframes fnote-pop {
  0% { opacity: 0; transform: scale(.7); }
  47% { opacity: 1; transform: scale(1); }
  70% { transform: scale(1.22); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes fnote-line {
  from { opacity: .9; transform: scaleX(0); }
  to { opacity: .55; transform: scaleX(1); }
}
@keyframes fnote-wipe {
  from { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
  to { -webkit-mask-position: 0 0; mask-position: 0 0; }
}
@media (max-width: 640px) {
  .fnote { right: 16px; bottom: calc(18px + max(env(safe-area-inset-bottom, 0px), var(--fnote-lift, 0px))); font-size: 21px; gap: 8px; }
  .fnote::after { left: 18px; }
}
