/* holohacker.svrn.money — black cyberpunk base, violet and blue accents, and the game's
   own Shard UI (build 081): arrow-pointed buttons, cut-corner plates, hairline accents
   and boot-up flicker, drawn by /js/shard.js. One stylesheet for the landing page,
   the tokenomics document and the small pages. Phone first; every page reads
   complete with JavaScript off. Hidden starting states for animation live only
   under html.motion (set by /js/boot.js, removed if the motion script fails). */

:root {
  --night: #040307;
  --deep: #08060f;
  --plum: #120c22;
  --violet: #8b5cff;
  --lavender: #b394ff;
  --lilac: #ddd0ff;
  --ice: #4fb6ff;
  --peach: #ff5cd2;
  --gold: #ffd59a;
  --ink: #f2f0fa;
  --ink-2: rgba(226, 222, 240, 0.74);
  --ink-3: rgba(200, 194, 224, 0.5);
  --line: rgba(160, 130, 255, 0.14);
  --line-2: rgba(170, 140, 255, 0.28);
  --glass: rgba(14, 10, 26, 0.6);
  --glass-2: rgba(22, 16, 40, 0.7);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9);
  --grad-text: linear-gradient(100deg, #ffffff 0%, #c4a8ff 30%, #8b5cff 60%, #4fb6ff 100%);
  --mono: "Share Tech Mono", ui-monospace, "SFMono-Regular", monospace;
  --display: "Audiowide", "Rajdhani", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hud: "Rajdhani", "Share Tech Mono", system-ui, sans-serif;
  /* Shard tokens, from game/scripts/ui/shard/shard_style.gd. */
  --cyan: #57e9ff;
  --amber: #ffb14d;
  --sh-line: rgba(232, 241, 245, .8);
  --sh-dim: rgba(232, 241, 245, .42);
  --sh-faint: rgba(232, 241, 245, .16);
  --sh-glow: rgba(139, 92, 255, .3);
  --sh-glass: linear-gradient(155deg, rgba(34, 24, 72, .5) 0%, rgba(6, 8, 16, .74) 50%, rgba(8, 20, 38, .62) 100%);
  --sh-glass-btn: rgba(5, 11, 17, .66);
  --sh-glass-hot: rgba(9, 30, 42, .74);
  --shard-clip: polygon(15px 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 15px 100%, 0 50%);
  --plate-clip: polygon(0 0, calc(100% - 32px) 0, 100% 19px, 100% calc(100% - 13px), calc(100% - 13px) 100%, 13px 100%, 0 calc(100% - 13px));
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --z-world: 0;
  --z-content: 2;
  --z-bar: 40;
  --z-grain: 60;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--night); overflow-x: clip; }
html:not(.motion) { scroll-behavior: smooth; }

/* ── Loading screen ──────────────────────────────────────────────────────────────
   The logo glitches (the game's cyan/magenta split, scan lines, flicker) while the opening clip
   downloads. Only shown when motion runs, so with JavaScript off or reduced motion the page is
   never covered. All CSS, so it animates from the first paint; site.js adds .is-done to lift it,
   and it fades itself out at 12.5 s if no script ever does. */
.loader { display: none; }
html.motion .loader { position: fixed; inset: 0; z-index: 10000; display: grid; place-content: center; justify-items: center; gap: 26px;
  background: radial-gradient(60% 45% at 50% 48%, rgba(87, 233, 255, .07), transparent 70%), var(--night);
  animation: loader-safety .5s ease 12.5s forwards; }
html.is-loading { overflow: hidden; scrollbar-gutter: stable; }
.loader::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(180deg, rgba(87, 233, 255, .05) 0 1px, transparent 1px 3px); }
.loader::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 18vh; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(87, 233, 255, .09) 70%, rgba(87, 233, 255, .22) 98%, transparent);
  animation: loader-sweep 2.6s linear infinite; }
.loader-logo { position: relative; width: min(48vw, 220px); aspect-ratio: 1; animation: loader-flicker 2.2s steps(1) infinite; }
.loader-logo img { display: block; width: 100%; height: 100%; filter: drop-shadow(0 0 26px rgba(87, 233, 255, .4)); }
/* Two tinted copies of the logo that slip sideways in bands for a frame or two: the Jammer glitch. */
.loader-logo::before, .loader-logo::after { content: ""; position: absolute; inset: 0; opacity: 0; pointer-events: none; mix-blend-mode: screen;
  background: url(/img/logo-loader.webp) center / contain no-repeat; }
.loader-logo::before { filter: sepia(1) hue-rotate(150deg) saturate(6) brightness(1.2); animation: loader-split-c 2.2s steps(1) infinite; }
.loader-logo::after { filter: sepia(1) hue-rotate(265deg) saturate(6) brightness(1.1); animation: loader-split-m 2.2s steps(1) infinite; }
.loader-bar { position: relative; width: min(62vw, 260px); height: 3px; background: rgba(87, 233, 255, .14);
  clip-path: polygon(0 0, 100% 0, calc(100% - 3px) 100%, 0 100%); }
.loader-bar i { position: absolute; inset: 0 auto 0 0; width: calc(var(--p, 0) * 100%); background: var(--cyan); box-shadow: 0 0 12px var(--cyan); transition: width .3s ease; }
.loader-label { margin: -12px 0 0; font: 400 12px/1 var(--mono); letter-spacing: .32em; text-transform: uppercase; color: var(--cyan); text-shadow: 0 0 8px rgba(87, 233, 255, .6); }
.loader-label b { font-weight: 400; }
/* Lifting: one last hard glitch, then it falls away and the page is there. */
html.motion .loader.is-done { animation: loader-out .6s ease forwards; pointer-events: none; }
.loader.is-done .loader-logo { animation: loader-logo-out .6s ease forwards; }
.loader.is-done .loader-logo::before { animation: loader-burst-c .6s steps(1) forwards; }
.loader.is-done .loader-logo::after { animation: loader-burst-m .6s steps(1) forwards; }
@keyframes loader-sweep { from { transform: translateY(-20vh); } to { transform: translateY(105vh); } }
@keyframes loader-flicker { 0%, 100% { opacity: 1; } 31% { opacity: .55; } 32% { opacity: 1; } 63% { opacity: .35; } 64% { opacity: .9; } 66% { opacity: 1; } 88% { opacity: .7; } 89% { opacity: 1; } }
@keyframes loader-split-c {
  0%, 100% { opacity: 0; transform: none; clip-path: none; }
  62% { opacity: .95; transform: translateX(-7px); clip-path: inset(18% 0 58% 0); }
  64% { opacity: .9; transform: translateX(5px); clip-path: inset(61% 0 14% 0); }
  67% { opacity: 0; }
  86% { opacity: .8; transform: translateX(-3px); clip-path: inset(4% 0 78% 0); }
  88% { opacity: 0; } }
@keyframes loader-split-m {
  0%, 100% { opacity: 0; transform: none; clip-path: none; }
  62% { opacity: .9; transform: translateX(7px); clip-path: inset(40% 0 35% 0); }
  64% { opacity: .85; transform: translateX(-6px); clip-path: inset(8% 0 70% 0); }
  67% { opacity: 0; }
  87% { opacity: .75; transform: translateX(4px); clip-path: inset(70% 0 6% 0); }
  89% { opacity: 0; } }
@keyframes loader-burst-c { 0% { opacity: .95; transform: translateX(-10px); clip-path: inset(10% 0 50% 0); } 20% { transform: translateX(8px); clip-path: inset(55% 0 10% 0); } 40% { opacity: 0; } 100% { opacity: 0; } }
@keyframes loader-burst-m { 0% { opacity: .9; transform: translateX(10px); clip-path: inset(30% 0 40% 0); } 20% { transform: translateX(-9px); clip-path: inset(0 0 72% 0); } 40% { opacity: 0; } 100% { opacity: 0; } }
@keyframes loader-logo-out { 0% { transform: none; filter: none; } 100% { transform: scale(1.12); filter: blur(6px) brightness(1.6); } }
@keyframes loader-out { 0%, 30% { opacity: 1; visibility: visible; } 100% { opacity: 0; visibility: hidden; } }
@keyframes loader-safety { to { opacity: 0; visibility: hidden; pointer-events: none; } }
body {
  margin: 0; color: var(--ink); background: var(--night);
  font: 400 17px/1.65 var(--body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lavender); text-underline-offset: 3px; }
a:hover { color: var(--lilac); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.sh-host:focus-visible { outline: none; }
::selection { background: rgba(138, 92, 255, .45); color: #fff; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: var(--night); padding: 8px 14px; }
.skip:focus { left: 8px; }

.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; }
.small { color: var(--ink-3); font-size: 14px; }

/* Audiowide has one weight; never let the browser fake a bold. */
h1, h2, h3 { font-family: var(--display); font-weight: 400; font-synthesis: none; margin: 0 0 16px; text-wrap: balance; }
h3 { font: 700 22px/1.2 var(--hud); letter-spacing: .1em; text-transform: uppercase; }
p { margin: 0 0 16px; color: var(--ink-2); text-wrap: pretty; }
.display { font-size: clamp(22px, 4.45vw, 60px); font-weight: 400; line-height: 1.04; letter-spacing: 0; }
.display .line { display: block; }
.h2 { font-size: clamp(28px, 5vw, 60px); font-weight: 400; line-height: 1.08; letter-spacing: 0; }
.grad {
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 18px rgba(139, 92, 255, .55));
}
.eyebrow {
  font: 600 14px/1 var(--hud); letter-spacing: .24em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 16px; text-shadow: 0 0 12px rgba(87, 233, 255, .5);
}
.eyebrow::before { content: "// "; color: var(--violet); }

/* ── backdrop: dusk sky + live glass world + grain ─────────────────────────── */
.sky {
  position: fixed; inset: 0; z-index: var(--z-world); pointer-events: none;
  background:
    radial-gradient(60% 40% at 80% 15%, rgba(120, 70, 255, .16), transparent 70%),
    radial-gradient(50% 40% at 10% 60%, rgba(40, 120, 255, .1), transparent 70%),
    linear-gradient(180deg, #030207 0%, #05040c 60%, #0a0618 100%);
}
.sky-sun {
  position: absolute; width: 60vmax; height: 60vmax; left: 52%; top: 58%; border-radius: 50%;
  background: radial-gradient(circle, rgba(140, 90, 255, .12) 0%, transparent 60%);
  filter: blur(10px); transform: translate(-50%, -50%);
}
.sky-haze {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 30% at 15% 72%, rgba(80, 60, 200, .08), transparent 70%),
    radial-gradient(50% 24% at 85% 40%, rgba(60, 140, 255, .06), transparent 70%);
}
.sky-stars {
  position: absolute; inset: 0 0 45% 0; opacity: .7;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 28% 8%, #fff 50%, transparent 52%),
    radial-gradient(1.4px 1.4px at 44% 22%, #e9ddff 50%, transparent 52%),
    radial-gradient(1px 1px at 61% 12%, #fff 50%, transparent 52%),
    radial-gradient(1.3px 1.3px at 77% 26%, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 90% 9%, #d9cbff 50%, transparent 52%),
    radial-gradient(1px 1px at 6% 36%, #fff 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 35% 40%, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 69% 38%, #fff 50%, transparent 52%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
}
/* Further down the page the world dims, so long text sits on a calm ground. */
.veil { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(120% 90% at 50% 40%, rgba(2, 1, 5, .35), rgba(2, 1, 5, .7)); opacity: 0; }
#world { position: fixed; inset: 0; width: 100%; height: 100%; z-index: var(--z-world); pointer-events: none; }
/* Faint CRT scanlines over everything. */
.scanlines { position: fixed; inset: 0; z-index: var(--z-grain); pointer-events: none; opacity: .35;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px); }
.grain {
  position: fixed; inset: -50%; z-index: var(--z-grain); pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
main, .footer { position: relative; z-index: var(--z-content); }

/* ── Shard shapes ──────────────────────────────────────────────────────────────
   .glass and .plate are cut-corner plates; .pill and .shard are arrow-pointed buttons.
   Without JavaScript the shape is clipped here; with it, /js/shard.js draws the glass
   (.sh-bg), the hairline outline and accents (.sh-svg) as layers behind the content. */
.glass, .plate, .pill, .shard { position: relative; isolation: isolate; }
html:not(.shard-on) :is(.glass, .plate) {
  background: var(--sh-glass); clip-path: var(--plate-clip);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
}
html:not(.shard-on) :is(.pill, .shard) { background: var(--sh-glass-btn); clip-path: var(--shard-clip); }
html:not(.shard-on) .pill-light { background: var(--sh-glass-hot); box-shadow: inset 0 0 0 1px var(--cyan); }
.sh-layer { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sh-bg { background: var(--sh-glass); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); }
.sh-shard > .sh-bg { background: var(--sh-glass-btn); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.sh-svg { overflow: visible; }
.sh-content { display: block; }
.sh-shard > .sh-content { display: inline-flex; align-items: center; justify-content: center; gap: inherit; }
.sh-line { fill: none; stroke: var(--sh-line); stroke-width: 1.1; stroke-linejoin: round; transition: stroke .2s, stroke-width .2s; }
.sh-glow { fill: none; stroke: var(--sh-glow); stroke-width: 6; opacity: .55; transition: stroke .2s, opacity .2s; }
.sh-plate[data-accents="off"] > .sh-svg .sh-glow { opacity: 0; }
.sh-flash { fill: #fff; opacity: 0; }
.sh-mark { fill: var(--cyan); opacity: 0; transition: opacity .2s; }
.sh-svg .a-dim { fill: none; stroke: var(--sh-dim); stroke-width: 1; }
.sh-svg .a-dot, .hud .a-dot { fill: var(--sh-line); }
.sh-svg .a-tab { fill: var(--sh-line); transition: fill .2s; }
.sh-svg .a-cyan { fill: var(--cyan); }
.sh-svg .a-text { fill: var(--sh-dim); font: 600 10px/1 var(--hud); letter-spacing: .16em; }
/* Hot: hovered, focused or selected. White hairlines turn cyan, as in the game. */
.sh-shard:is(:hover, :focus-visible), .play-link:is(:hover, :focus-visible) .sh-shard,
.sh-host.is-hot, .sh-host.is-on, .spot.sh-host:hover {
  --sh-line: var(--cyan); --sh-glow: rgba(87, 233, 255, .25);
}
:is(.sh-shard:is(:hover, :focus-visible), .play-link:is(:hover, :focus-visible) .sh-shard, .sh-host.is-hot, .sh-host.is-on, .spot.sh-host:hover) > .sh-svg .sh-line { stroke-width: 1.5; }
:is(.sh-shard:is(:hover, :focus-visible), .sh-host.is-hot, .sh-host.is-on, .spot.sh-host:hover) > .sh-svg .sh-glow { stroke-width: 4; opacity: 1; }
.sh-shard:is(:hover, :focus-visible) > .sh-svg .sh-mark, .sh-shard.pill-light > .sh-svg .sh-mark { opacity: 1; }
.sh-shard:is(:hover, :focus-visible) > .sh-bg, .sh-shard.is-hot > .sh-bg, .sh-shard.pill-light > .sh-bg { background: var(--sh-glass-hot); }
/* Cursor spotlight on plates (pointer devices only, set by site.js). */
.spot.sh-host:hover > .sh-bg { background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(139, 92, 255, .24), transparent 60%), var(--sh-glass); }
/* Waiting to boot: hidden until it scrolls into view (only while shard.js runs). */
.sh-wait > .sh-bg, .sh-wait > .sh-svg :is(.sh-acc, .sh-mark), .sh-wait > :not(.sh-layer), .fl-wait { opacity: 0 !important; }
.sh-wait > .sh-svg :is(.sh-line, .sh-glow) { stroke-dasharray: 1 1; stroke-dashoffset: 1; }

/* ── buttons ───────────────────────────────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 12px 36px 12px 32px; max-width: 100%;
  font: 700 15.5px/1.2 var(--hud); letter-spacing: .16em; text-transform: uppercase;
  color: #fff; text-decoration: none; text-align: center;
  transition: transform .35s var(--ease), color .2s;
}
.pill .arrow { display: none; }
.pill:hover, .pill:focus-visible { color: #fff; }
.pill:active { transform: scale(.98); }
/* The main action: the game's selected button, lit cyan with the marker beside it. */
.pill-light { --sh-line: var(--cyan); --sh-glow: rgba(87, 233, 255, .3); text-shadow: 0 0 14px rgba(87, 233, 255, .55); }
.pill-light > .sh-svg { filter: drop-shadow(0 0 10px rgba(87, 233, 255, .45)) drop-shadow(0 0 26px rgba(139, 92, 255, .35)); }
.pill-light > .sh-svg .sh-line { stroke-width: 1.5; }
.pill-light > .sh-svg .sh-glow { stroke-width: 4; opacity: 1; }
.pill-small { min-height: 44px; padding: 8px 28px 8px 26px; font-size: 13.5px; letter-spacing: .14em; white-space: nowrap; }
@media (min-width: 600px) { .pill { white-space: nowrap; } }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 30px 0 0; }
.play-link { display: inline-flex; align-items: center; gap: 14px; color: var(--ink); font: 600 14.5px/1 var(--hud); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.play-link:hover { color: #fff; }
.play-dot { width: 60px; height: 46px; display: grid; place-items: center; transition: transform .35s var(--ease); }
.play-dot svg { width: 16px; height: 16px; fill: #fff; transform: translateX(1px); display: block; }
.play-link:hover .play-dot { transform: scale(1.06); }
.play-link:hover .play-dot svg { fill: var(--cyan); }
.play-link.is-off { color: var(--ink-3); }
.play-link.is-off .play-dot { opacity: .6; }
.text-link { font: 700 14px/1.3 var(--hud); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); text-decoration: none; display: inline-flex; gap: 6px; }
.text-link:hover { color: #fff; }

/* ── top bar & rail ────────────────────────────────────────────────────────── */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-bar);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: max(14px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) 14px max(18px, env(safe-area-inset-left));
  transition: background .4s var(--ease), backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.topbar.is-scrolled { background: rgba(4, 3, 7, .72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-bottom-color: var(--line); }
.brand { position: relative; display: flex; align-items: center; text-decoration: none; }
.brand img { width: 46px; height: auto; filter: drop-shadow(0 0 10px rgba(87, 233, 255, .35)); }
.brand-full img { width: 150px; margin: -18px 0 -10px -16px; }
.topnav { display: none; gap: 30px; }
.topnav a { color: var(--ink-2); text-decoration: none; font: 600 14px/1 var(--hud); letter-spacing: .18em; text-transform: uppercase; position: relative; padding: 6px 0; }
.topnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); transform: scaleX(0); transition: transform .35s var(--ease); }
.topnav a:hover, .topnav a.is-active { color: #fff; }
.topnav a:hover::after, .topnav a.is-active::after { transform: scaleX(1); }
@media (min-width: 900px) { .topnav { display: flex; } }

.rail { display: none; }
@media (min-width: 1100px) {
  .rail { position: fixed; right: 44px; top: 50%; transform: translateY(-50%); z-index: var(--z-bar); display: grid; gap: 14px; justify-items: end; }
  .rail a { color: var(--ink-3); text-decoration: none; font: 700 13px/1 var(--hud); letter-spacing: .14em; transition: color .3s; }
  .rail a.is-active { color: var(--cyan); text-shadow: 0 0 10px rgba(87, 233, 255, .7); }
  .rail-track { position: absolute; right: -12px; top: 0; bottom: 0; width: 1px; background: var(--sh-faint); }
  .rail-fill { display: block; width: 100%; height: 100%; background: linear-gradient(var(--lavender), var(--cyan)); box-shadow: 0 0 8px var(--cyan); transform-origin: top; transform: scaleY(0); }
}

/* ── hero ──────────────────────────────────────────────────────────────────── */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 120px 0 170px; }
/* The Korv Jammer clip fills the hero; it fades into the page's black at the bottom
   and darkens on the left, where the copy sits. While the clip plays its opening,
   the darkening is held back so the shot reads clean; it returns with the copy. */
.hero-art { position: absolute; inset: 0; z-index: -1; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 52%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 52%, transparent 100%); }
.hero-art video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-art::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; transition: opacity 1.4s ease;
  background:
    linear-gradient(180deg, rgba(4, 3, 7, .75) 0%, transparent 16%),
    linear-gradient(0deg, rgba(4, 3, 7, .7) 0%, rgba(4, 3, 7, .45) 30%, transparent 60%),
    linear-gradient(90deg, rgba(4, 3, 7, .7) 0%, rgba(4, 3, 7, .3) 34%, transparent 58%);
}
@media (max-width: 759px) {
  .hero { padding-top: calc(64px + 56.25vw); min-height: 0; }
  .hero-art { top: 64px; bottom: auto; height: auto; aspect-ratio: 16 / 9;
    -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%); }
  .hero-art::after { background: linear-gradient(0deg, rgba(4, 3, 7, .5) 0%, transparent 35%); }
}
.hero.is-intro .hero-art::after { opacity: 0; }
.hero-loop, .hero-loop iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: -1; opacity: .5; mix-blend-mode: screen; }
.hero-loop iframe { pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 24px; }
.hero-copy { max-width: 820px; }
.chip {
  display: inline-flex; padding: 9px 30px 9px 16px; margin: 0 0 26px;
  font: 700 13px/1 var(--hud); letter-spacing: .24em; text-transform: uppercase; color: var(--cyan);
  --sh-line: rgba(87, 233, 255, .7);
}
/* The game's logo, as on its title screen. */
.hero-logo { position: relative; width: 116px; margin: 0 0 4px -12px; }
.hero-logo img { width: 100%; height: auto; filter: drop-shadow(0 0 24px rgba(87, 233, 255, .25)); }
@media (prefers-reduced-motion: no-preference) { .hero-logo > img { animation: holo-hz .17s ease-in-out infinite alternate; } }
/* On wide screens the copy sits over the key art, where the logo would cover the Hacker's
   face; the top bar carries the mark there. Phones show the art above the copy, logo and all. */
@media (min-width: 760px) {
  .hero-copy { max-width: min(640px, 50%); }
  .hero-logo { display: none; }
}
.lede { font-size: clamp(17px, 1.6vw, 20px); max-width: 540px; color: var(--ink-2); margin-top: 24px; }
.dock {
  /* translate (not transform): the motion script animates transform on this bar. */
  position: absolute; left: 50%; bottom: 46px; translate: -50% 0;
  display: flex; align-items: center; gap: 14px; width: min(620px, calc(100% - 32px));
  padding: 8px 8px 8px 24px;
}
.dock-icon svg { width: 18px; height: 18px; fill: var(--cyan); display: block; filter: drop-shadow(0 0 6px rgba(87, 233, 255, .8)); }
.dock-text { flex: 1; font: 600 15px/1.3 var(--hud); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.dock-text a { color: var(--ink); text-decoration: none; }
.dock-pill { display: inline-flex; gap: 8px; align-items: center; padding: 12px 30px 12px 26px; color: #fff; text-decoration: none; font: 700 13.5px/1 var(--hud); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.dock-pill:hover { color: #fff; }
.hero-socials { position: absolute; left: max(16px, calc((100% - 1240px) / 2)); bottom: 54px; display: none; gap: 10px; }
.hero-socials a { width: 54px; height: 42px; display: grid; place-items: center; }
.hero-socials svg { width: 18px; height: 18px; fill: var(--ink-2); display: block; }
.hero-socials a:hover svg { fill: var(--cyan); }
@media (min-width: 1000px) { .hero-socials { display: flex; } }
/* Scroll cue: a hairline with a node running down it. */
.scroll-cue { position: absolute; left: 50%; bottom: 8px; width: 1px; height: 36px; background: var(--sh-dim); transform: translateX(-50%); display: none; }
.scroll-cue span { position: absolute; left: 50%; top: 0; width: 5px; height: 5px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); transform: translate(-50%, 0) rotate(45deg); }
@media (prefers-reduced-motion: no-preference) { .scroll-cue span { animation: cue 1.8s var(--ease) infinite; } }
@keyframes cue { 0% { opacity: 0; transform: translate(-50%, 0) rotate(45deg); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 30px) rotate(45deg); } }
@media (min-height: 760px) { .scroll-cue { display: block; } }

/* ── sections ──────────────────────────────────────────────────────────────── */
.section { position: relative; padding: 110px 0; }
@media (min-width: 900px) { .section { padding: 150px 0; } }
.section-head { display: grid; gap: 18px 60px; margin-bottom: 46px; align-items: end; }
@media (min-width: 900px) { .section-head { grid-template-columns: 1.3fr 1fr; } }
.section-head .h2 { margin: 0; }
.section-note { max-width: 440px; margin: 0; }

/* numbers */
.stats { list-style: none; margin: 0; padding: 10px; display: grid; gap: 4px; }
.stats li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; column-gap: 16px; padding: 18px; }
.stat-icon { grid-row: 1 / 4; width: 54px; height: 50px; display: grid; place-items: center; --sh-glass: rgba(8, 8, 20, .82); --sh-line: rgba(87, 233, 255, .55); }
.stat-icon svg { width: 24px; height: 24px; display: block; fill: none; stroke: var(--cyan); filter: drop-shadow(0 0 4px rgba(87, 233, 255, .9)); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.stat { font: 400 clamp(26px, 3.4vw, 34px)/1.1 var(--display); font-synthesis: none; letter-spacing: .02em; color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 0 22px rgba(139, 92, 255, .55); }
.stat-label { color: var(--ink-2); font-size: 15px; line-height: 1.4; }
.source { color: var(--ink-3); font: 600 12.5px/1.4 var(--hud); letter-spacing: .06em; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .stats { grid-template-columns: repeat(5, 1fr); padding: 14px; }
  .stats li { grid-template-columns: 1fr; padding: 20px 18px; }
  .stat-icon { grid-row: auto; margin-bottom: 14px; }
  .stats li + li { border-left: 1px solid var(--sh-faint); }
}

/* glass cards with 3D glass icons */
.cards { display: grid; gap: 18px; }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
@media (min-width: 700px) and (max-width: 1099px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cards > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
.card { padding: 32px 30px 34px; display: flex; flex-direction: column; transition: transform .5s var(--ease); }
.card:hover { transform: translateY(-6px); }
.card p { margin-bottom: 18px; }
.card .text-link { margin-top: auto; }
.glass-icon { position: relative; width: 108px; height: 96px; margin: 0 0 26px; perspective: 400px; }
.glass-icon i { position: absolute; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .45); backdrop-filter: blur(6px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -8px 20px rgba(120, 80, 255, .35), 0 18px 40px -12px rgba(120, 80, 255, .9); }
.gi-cards i { width: 58px; height: 78px; top: 8px; }
.gi-cards i:nth-child(1) { left: 0; background: linear-gradient(150deg, rgba(143, 194, 255, .55), rgba(110, 80, 240, .35)); transform: rotate(-14deg); }
.gi-cards i:nth-child(2) { left: 24px; background: linear-gradient(150deg, rgba(220, 180, 255, .6), rgba(140, 90, 255, .35)); transform: rotate(-2deg); }
.gi-cards i:nth-child(3) { left: 48px; background: linear-gradient(150deg, rgba(255, 200, 220, .55), rgba(160, 100, 255, .35)); transform: rotate(11deg); }
.gi-chat i:nth-child(1) { width: 78px; height: 56px; left: 0; top: 6px; border-radius: 22px 22px 22px 6px; background: linear-gradient(150deg, rgba(200, 170, 255, .6), rgba(120, 80, 255, .3)); }
.gi-chat i:nth-child(2) { width: 62px; height: 46px; left: 42px; top: 44px; border-radius: 20px 20px 6px 20px; background: linear-gradient(150deg, rgba(143, 194, 255, .6), rgba(100, 120, 255, .3)); }
.gi-prism i:nth-child(1) { left: 14px; top: 0; width: 80px; height: 84px; border-radius: 6px; clip-path: polygon(50% 0, 100% 100%, 0 100%); background: linear-gradient(160deg, rgba(240, 220, 255, .75), rgba(140, 100, 255, .4) 55%, rgba(110, 170, 255, .45)); }
.gi-prism i:nth-child(2) { left: 46px; top: 18px; width: 16px; height: 50px; border: 0; border-radius: 8px; background: linear-gradient(rgba(255, 255, 255, .9), rgba(200, 170, 255, 0)); box-shadow: 0 0 22px 6px rgba(220, 190, 255, .7); }
@media (prefers-reduced-motion: no-preference) {
  .glass-icon { animation: bob 6s ease-in-out infinite; }
  :is(.card, .kid-col):nth-child(2) .glass-icon { animation-delay: -2s; }
  :is(.card, .kid-col):nth-child(3) .glass-icon { animation-delay: -4s; }
}
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(-2deg); } }

/* Vexa */
.vexa, .prizm { padding: 0; }
.vexa-pin, .prizm-pin { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 110px 0 60px; }
.vexa-pin > .wrap, .prizm-pin > .wrap { width: min(1240px, 100% - 32px); }
.vexa-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .vexa-grid { grid-template-columns: 1fr 1.05fr; gap: 70px; } }
.lore-punch { font: 700 clamp(20px, 2.1vw, 25px)/1.35 var(--hud); letter-spacing: .04em; color: #fff; }
.vexa-stage { margin: 0; }
.vexa-frame { padding: 0; aspect-ratio: 16 / 9; }
.vexa-clip { position: absolute; inset: 0; z-index: -2; clip-path: var(--plate-clip); }
.vexa-frame[data-mirror] .vexa-clip { clip-path: polygon(32px 0, 100% 0, 100% calc(100% - 13px), calc(100% - 13px) 100%, 13px 100%, 0 calc(100% - 13px), 0 19px); }
.vexa-inner { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; background: radial-gradient(60% 50% at 50% 58%, rgba(139, 92, 255, .32), rgba(20, 12, 50, .5) 55%, #030207 100%); }
.vexa-inner img { position: absolute; inset: 5% 8%; width: 84%; height: 90%; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .6)); }
.vexa-inner video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* The clip has its own menus on both sides, so the lock frames Vexa in the clear middle. */
.vexa-frame .lock { inset: 19% 34% 10% 34%; }
.tag { display: inline-block; margin-top: 18px; padding: 9px 30px 9px 16px; color: var(--cyan); font: 700 13px/1 var(--hud); letter-spacing: .16em; text-transform: uppercase; --sh-line: rgba(87, 233, 255, .6); }

/* starters, horizontal */
.hscroll { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 10px 0 30px; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll-track { list-style: none; margin: 0; display: flex; gap: 20px; padding: 0 max(16px, calc((100vw - 1240px) / 2)); width: max-content; }
.starter { width: min(78vw, 380px); padding: 16px 16px 26px; display: grid; gap: 6px; scroll-snap-align: center; }
/* Cards size to the window's height, so a held row always fits on screen. */
.starter-art { position: relative; height: clamp(140px, 30vh, 250px); background: radial-gradient(70% 70% at 50% 60%, rgba(139, 92, 255, .22), #030207 75%); display: grid; place-items: center; overflow: hidden; margin-bottom: 12px; clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 14px, 100% 100%, 0 100%); }
.starter-art img { position: absolute; inset: 4% 6%; width: 88%; height: 92%; max-width: none; object-fit: contain; transition: transform .7s var(--ease); filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .6)); }
.starter:hover .starter-art img { transform: scale(1.06); }
.starter strong { font: 700 26px/1.2 var(--hud); letter-spacing: .14em; text-transform: uppercase; padding: 0 8px; }
.starter > span { padding: 0 8px; color: var(--ink-2); font-size: 15.5px; }
.starter-wide { width: min(92vw, 760px, calc((30vh + 96px) * 1.78)); align-content: center; }
.line { margin: 0; }
.line img, .line video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #07040f; }
.line figcaption { color: var(--ink-3); font-size: 14px; margin-top: 12px; padding: 0 6px; }
html.motion .hscroll.is-pinned { overflow: visible; scroll-snap-type: none; }

/* PRIZM */
.prizm-grid { display: grid; gap: 30px; align-items: center; }
@media (min-width: 960px) { .prizm-grid { grid-template-columns: 1fr 1fr; } }
.prizm-copy { max-width: 560px; }
.prizm-steps { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.prizm-steps li { padding: 16px 30px 16px 20px; color: var(--ink-2); --sh-line: var(--sh-dim); transition: color .5s, transform .5s var(--ease); }
.prizm-steps li strong { color: var(--ink); font-family: var(--hud); letter-spacing: .1em; text-transform: uppercase; }
.prizm-steps li.is-on { color: #fff; transform: translateX(8px); --sh-glass: rgba(9, 30, 42, .72); }
.prizm-steps li.is-on strong { color: var(--cyan); }
/* --cx, --apex, --base and --span (the PRIZM's centre, tip, base and width on screen) are set
   by js/world.js from the 3D pyramid itself; these defaults hold when WebGL is off. */
.prizm-holo { --cx: 50%; --apex: 29%; --base: 89%; --span: 56%; position: relative; height: min(68vh, 600px); display: grid; place-items: center; }
/* A phone lying screen-down on top of the PRIZM, its light falling into the pyramid. */
/* The phone lying screen-down on the PRIZM's tip, seen slightly from above: its back, metal rim and
   camera bump, with the screen's light spilling out underneath. Its bottom edge sits on the tip. */
.prizm-phone { --lit: 1; position: absolute; top: var(--apex); left: var(--cx); width: calc(var(--span) * .92); aspect-ratio: 2.1;
  translate: -50% -100%; transform: perspective(760px) rotateX(66deg); transform-origin: 50% 100%;
  border-radius: 22px; border: 2px solid rgba(190, 200, 220, .55);
  background:
    radial-gradient(120% 90% at 30% 20%, rgba(255, 255, 255, .12), transparent 55%),
    linear-gradient(160deg, #2a2440, #0d0b18 60%, #07060d);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, .6),
    0 calc(var(--lit) * 10px) calc(var(--lit) * 30px) rgba(87, 233, 255, calc(var(--lit) * .75)),
    0 3px 0 rgba(87, 233, 255, calc(.2 + var(--lit) * .8)); }
/* Camera bump: a rounded block with three lenses, at one end of the back. */
.prizm-phone::before { content: ""; position: absolute; left: 7%; top: 14%; width: 15%; height: 44%; border-radius: 22%;
  background:
    radial-gradient(circle at 30% 30%, #0a0a12 0 16%, #3b3f55 17% 21%, transparent 22%),
    radial-gradient(circle at 30% 72%, #0a0a12 0 16%, #3b3f55 17% 21%, transparent 22%),
    radial-gradient(circle at 72% 50%, #0a0a12 0 14%, #3b3f55 15% 19%, transparent 20%),
    linear-gradient(160deg, #343048, #15121f);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
/* A faint maker's mark on the back. */
.prizm-phone::after { content: ""; position: absolute; left: 50%; top: 50%; width: 7%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .12); }
/* A small label naming the phone, with a hairline down to it. */
/* With WebGL on, js/world.js draws the phone in 3D on the PRIZM's tip. This flat one stays in
   place unseen: site.js measures it and animates its --lit, which the 3D phone follows. */
.world-on .prizm-phone { opacity: 0; top: var(--phone-bottom, var(--apex)); }
/* The light leaves from under the 3D phone, so it never washes over the phone itself. */
.world-on .beam { top: var(--phone-bottom, var(--apex)); height: calc(var(--base) - var(--phone-bottom, var(--apex)) + 6px); }
.prizm-phone-label { position: absolute; left: var(--cx); top: calc(var(--phone-top, calc(var(--apex) - var(--span) * .19)) - 30px); translate: -50% 0; white-space: nowrap;
  font: 700 11.5px/1 var(--hud); letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); text-shadow: 0 0 8px rgba(87, 233, 255, .7); }
.prizm-phone-label::after { content: ""; position: absolute; left: 50%; top: calc(100% + 4px); width: 1px; height: 10px; background: var(--sh-dim); }
.beam { position: absolute; top: calc(var(--apex) - 4px); left: var(--cx); width: var(--span); height: calc(var(--base) - var(--apex) + 6px); translate: -50% 0;
  clip-path: polygon(4% 0, 96% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(87, 233, 255, .42), rgba(139, 92, 255, .14) 60%, transparent); filter: blur(5px); opacity: .7; }
/* Vexa, floating inside the pyramid as a hologram. */
/* --glow and --bright are driven by site.js: he arrives blazing and settles as he lands. */
.holo-figure { --glow: 6; --bright: 1.15; position: absolute; left: var(--cx); top: calc(var(--apex) + (var(--base) - var(--apex)) * .6); width: calc(var(--span) * .24); max-width: 170px; translate: -50% -50%; opacity: .95;
  filter: drop-shadow(0 0 calc(var(--glow) * 1px) rgba(87, 233, 255, .9)) drop-shadow(0 0 calc(var(--glow) * 3.6px) rgba(139, 92, 255, .6)) brightness(var(--bright)); }
/* A ring of light that pulses out where he lands. */
.holo-ring { position: absolute; left: var(--cx); top: calc(var(--base) - (var(--base) - var(--apex)) * .1); width: calc(var(--span) * .5); aspect-ratio: 3.2; translate: -50% -50%; border-radius: 50%;
  border: 1.5px solid rgba(87, 233, 255, .9); box-shadow: 0 0 18px rgba(87, 233, 255, .8), inset 0 0 14px rgba(139, 92, 255, .6); opacity: 0; pointer-events: none; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.holo-figure-wrap { position: absolute; inset: 0; }

/* Sized to the window's height so the whole clip and its caption fit on screen at once. */
.battle-frame { margin: 0 auto; padding: 10px 10px 14px; width: min(100%, max(360px, calc((100vh - 200px) * 16 / 9))); width: min(100%, max(360px, calc((100svh - 200px) * 16 / 9))); }
.battle-frame figcaption, .shot figcaption { margin: 12px 6px 0; font: 600 13px/1.35 var(--hud); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
/* In-game gallery under the main shot. */
.shots { display: grid; gap: 34px 22px; margin-top: 40px; }
@media (min-width: 760px) { .shots { grid-template-columns: repeat(2, 1fr); } }
/* Clips with sound: muted until clicked. The button shows the state and is the keyboard route. */
.sound-clip { position: relative; cursor: pointer; }
.sound-btn { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 11px; border: 1px solid rgba(87, 233, 255, .55); background: rgba(4, 3, 10, .72); backdrop-filter: blur(6px); color: var(--cyan); font: 700 12px/1 var(--hud); letter-spacing: .18em; text-transform: uppercase; cursor: pointer; clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px)); transition: background .2s, color .2s, box-shadow .2s; }
.sound-btn:hover, .sound-btn:focus-visible { background: rgba(87, 233, 255, .16); color: #fff; }
.sound-btn svg { width: 17px; height: 17px; fill: currentColor; display: block; }
.sound-btn .sound-on, .sound-btn[aria-pressed="true"] .sound-off { display: none; }
.sound-btn[aria-pressed="true"] .sound-on { display: block; }
.sound-btn[aria-pressed="true"] { background: rgba(87, 233, 255, .9); color: #04030a; border-color: var(--cyan); box-shadow: 0 0 18px rgba(87, 233, 255, .6); }
@media (max-width: 600px) { .sound-btn { right: 8px; bottom: 8px; gap: 6px; padding: 6px 10px 6px 8px; font-size: 10px; letter-spacing: .14em; } .sound-btn svg { width: 14px; height: 14px; } }
.shot { margin: 0; padding: 8px 8px 14px; }
.shot video { display: block; height: auto; aspect-ratio: 16 / 9; background: #07040f; }
.shot img, .shot video { width: 100%; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 13px, 100% calc(100% - 9px), calc(100% - 9px) 100%, 9px 100%, 0 calc(100% - 9px)); }
/* 90s-kid section: each show's card with its clip underneath. The card grows so the
   clips line up across the row. */
.kid-col { display: flex; flex-direction: column; gap: 18px; }
.kid-col > .card { flex: 1; }
.kid-now { margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--line-2); color: #fff; }
.kid-now b { display: block; margin-bottom: 4px; font: 700 12px/1 var(--hud); letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); }
.kid-punch { margin: 44px 0 0; text-align: center; }
/* A YouTube clip is a link with its thumbnail until pressed; site.js then swaps in the player. */
.yt { position: relative; display: block; aspect-ratio: 16 / 9; background: #07040f; }
.yt img { display: block; height: 100%; object-fit: cover; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 46px; transform: translate(-50%, -50%); background: rgba(4, 3, 10, .72); border: 1px solid rgba(87, 233, 255, .55); clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); transition: background .2s, box-shadow .2s; }
.yt-play::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%); border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent var(--cyan); }
.yt:hover .yt-play, .yt:focus-visible .yt-play { background: rgba(87, 233, 255, .9); box-shadow: 0 0 18px rgba(87, 233, 255, .6); }
.yt:hover .yt-play::after, .yt:focus-visible .yt-play::after { border-left-color: #04030a; }
.shot iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 13px, 100% calc(100% - 9px), calc(100% - 9px) 100%, 9px 100%, 0 calc(100% - 9px)); }
.battle-frame video { display: block; height: auto; aspect-ratio: 16 / 9; background: #07040f; }
.battle-frame img, .battle-frame video { width: 100%; clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 15px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px)); }

/* comm link chat */
.comm-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .comm-grid { grid-template-columns: 1fr 1fr; gap: 70px; } }
.chat { padding: 30px 26px 26px; display: grid; gap: 12px; }
.bubble { margin: 0; padding: 13px 20px 15px; max-width: 82%; font-size: 16px; line-height: 1.45; }
.bubble.me { justify-self: end; padding-left: 34px; color: #fff; --sh-glass: rgba(232, 241, 245, .12); --sh-line: rgba(232, 241, 245, .55); }
.bubble.holo { justify-self: start; padding-right: 34px; color: #fff; --sh-glass: linear-gradient(140deg, rgba(90, 50, 200, .5), rgba(20, 70, 110, .45)); --sh-line: var(--cyan); }
.chat-meta { margin: 6px 0 0; font: 600 12.5px/1.3 var(--hud); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); text-align: center; }

/* play */
.play-card { display: grid; gap: 40px; align-items: center; padding: clamp(28px, 5vw, 64px); }
@media (min-width: 900px) { .play-card { grid-template-columns: 1fr 1fr; } }
.steps { padding-left: 22px; margin: 18px 0; color: var(--ink-2); }
.steps li { margin-bottom: 8px; }
.note { display: inline-block; padding: 11px 30px 11px 16px; margin-top: 18px; color: var(--ink-2); font-size: 15px; --sh-glass: rgba(255, 177, 77, .07); --sh-line: rgba(255, 177, 77, .6); }
/* A phone on its side: the game is played in landscape. */
.device { justify-self: center; width: min(560px, 100%); border-radius: 30px; padding: 10px 26px; background: linear-gradient(160deg, #1c1630, #050409); border: 1px solid var(--line-2); box-shadow: 0 40px 90px -30px rgba(120, 80, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .2); }
/* The screen matches the game's 16:9 frame, so no screenshot is ever cropped. */
.device-screen { width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; }
.device-screen img { display: block; width: 100%; height: 100%; object-fit: contain; }
.phone { transform: rotate(-3deg); }
/* The Comm Link: the voice screen on a phone, with a speaking waveform under it. */
.comm-shot { margin: 0; display: grid; gap: 18px; justify-items: center; }
.comm-shot .device { width: 100%; max-width: 640px; }
.comm-shot figcaption { max-width: 520px; text-align: center; font: 600 13px/1.45 var(--hud); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.voice { display: flex; gap: 5px; align-items: center; height: 34px; }
.voice i { width: 4px; height: 100%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); transform: scaleY(.25); }
@media (prefers-reduced-motion: no-preference) {
  .voice i { animation: talk 1.1s ease-in-out infinite; }
  .voice i:nth-child(2) { animation-delay: -.2s; } .voice i:nth-child(3) { animation-delay: -.5s; }
  .voice i:nth-child(4) { animation-delay: -.1s; } .voice i:nth-child(5) { animation-delay: -.7s; }
  .voice i:nth-child(6) { animation-delay: -.35s; } .voice i:nth-child(7) { animation-delay: -.85s; }
}
@keyframes talk { 0%, 100% { transform: scaleY(.2); } 30% { transform: scaleY(1); } 60% { transform: scaleY(.45); } }

/* build */
.build-steps { position: relative; display: grid; gap: 18px; }
@media (min-width: 900px) { .build-steps { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.build-line { display: none; }
@media (min-width: 900px) { .build-line { display: block; position: absolute; left: 6%; right: 6%; top: 44px; width: 88%; height: 20px; z-index: -1; } }
.build-line path { fill: none; stroke: rgba(87, 233, 255, .4); stroke-width: 1; stroke-dasharray: 3 5; }
.step-num { display: inline-grid; place-items: center; width: 50px; height: 44px; margin-bottom: 18px; font: 700 17px/1 var(--hud); letter-spacing: .08em; color: var(--cyan); text-shadow: 0 0 8px rgba(87, 233, 255, .9); --sh-glass: rgba(8, 10, 24, .85); --sh-line: rgba(87, 233, 255, .6); }

/* built by one person */
.mega { font: 400 clamp(32px, 7vw, 100px)/1.04 var(--display); font-synthesis: none; letter-spacing: 0; margin: 0 0 40px; max-width: 15ch; color: #fff; }
html.motion .mega[data-fill] { color: transparent; -webkit-text-stroke: 1.5px rgba(220, 200, 255, .55); background: linear-gradient(100deg, #fff 0%, var(--lavender) 50%, var(--ice) 100%) 0 0 / 0% 100% no-repeat; -webkit-background-clip: text; background-clip: text; }
.solo-body { max-width: 640px; margin-left: auto; }

/* roadmap */
.road { list-style: none; padding: 0; margin: 0; position: relative; display: grid; gap: 18px; }
@media (min-width: 900px) { .road { grid-template-columns: repeat(3, 1fr); gap: 22px; padding-top: 34px; } }
.road-line { display: none; }
@media (min-width: 900px) {
  .road-line { display: block; position: absolute; top: 9px; left: 30px; right: 30px; height: 1px; background: var(--sh-faint); }
  .road-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--lavender), var(--cyan), var(--peach)); box-shadow: 0 0 8px rgba(87, 233, 255, .7); transform-origin: left; transform: scaleX(1); }
  html.motion .road-fill { transform: scaleX(0); }
}
.road-stop { padding: 30px 28px; }
.road-dot { display: none; }
/* Nodes are diamonds, like the game's map markers. */
@media (min-width: 900px) { .road-dot { display: block; position: absolute; top: -30px; left: 26px; width: 13px; height: 13px; background: var(--night); border: 1.5px solid var(--sh-line); transform: rotate(45deg); }
  .road-stop.now .road-dot { border-color: var(--cyan); background: var(--cyan); box-shadow: 0 0 16px var(--cyan); } }
.road-stop ul { margin: 0; padding-left: 18px; color: var(--ink-2); }
.road-stop li { margin-bottom: 6px; }
.road-stop strong { color: var(--cyan); }
.road-stop h3 { font: 700 22px/1.2 var(--hud); letter-spacing: .14em; text-transform: uppercase; }

/* $HOLO */
.token-card { padding: clamp(30px, 5vw, 64px); }
/* The $HOLO card's outline sweeps through cyan, lavender and pink (gradient in index.html). */
.iridescent > .sh-svg .sh-line { stroke: url(#sh-irid); stroke-width: 1.6; }
.iridescent > .sh-svg .sh-glow { stroke: rgba(179, 148, 255, .3); opacity: 1; }
.token-grid { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 14px; }
@media (min-width: 860px) { .token-grid { grid-template-columns: repeat(2, 1fr); } }
.token-grid li { padding: 20px 32px 22px 22px; color: var(--ink-2); --sh-glass: rgba(8, 6, 18, .6); --sh-line: var(--sh-dim); }
.token-grid strong { display: block; color: #fff; font: 700 18px/1.3 var(--hud); letter-spacing: .06em; margin-bottom: 4px; }
.token-cta-line { color: #fff; }

/* join band */
.join-card {
  padding: clamp(30px, 6vw, 80px); min-height: 560px; display: flex; align-items: center;
  --sh-glass: transparent; --sh-glow: rgba(139, 92, 255, .45);
}
/* The scene sits under the outline; the plate's own glass is switched off here. */
.join-card > .sh-bg, .vexa-frame > .sh-bg { display: none; }
.join-scene {
  position: absolute; inset: 0; overflow: hidden; clip-path: var(--plate-clip); z-index: -2;
  background:
    radial-gradient(70% 60% at 75% 100%, rgba(139, 92, 255, .38) 0%, rgba(79, 182, 255, .12) 35%, transparent 65%),
    linear-gradient(180deg, #05040b 0%, #090617 60%, #120a2a 100%);
}
/* Neon grid floor receding to the horizon. */
.join-scene::before {
  content: ""; position: absolute; left: -30%; right: -30%; top: 62%; bottom: -60%;
  background:
    repeating-linear-gradient(90deg, rgba(139, 92, 255, .55) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(79, 182, 255, .45) 0 1px, transparent 1px 44px);
  transform: perspective(420px) rotateX(62deg); transform-origin: 50% 0;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%); mask-image: linear-gradient(180deg, transparent, #000 40%);
}
.join-sun { position: absolute; width: 420px; height: 420px; right: 8%; bottom: 18%; border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 160, 255, .55) 0%, rgba(139, 92, 255, .25) 35%, transparent 66%); filter: blur(6px); }
.join-arch { position: absolute; right: 6%; bottom: 30%; width: min(42vw, 420px); aspect-ratio: 1.3; }
.join-arch i { position: absolute; inset: 0; border-radius: 50% 50% 0 0 / 100% 100% 0 0; border: 3px solid transparent; border-bottom: 0;
  background: linear-gradient(140deg, #4fb6ff, #8b5cff 55%, #ff5cd2) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  filter: drop-shadow(0 0 8px rgba(139, 92, 255, 1)) drop-shadow(0 0 22px rgba(79, 182, 255, .8)); }
.join-arch i:nth-child(2) { inset: 18% 22% 0 22%; border-width: 2px; opacity: .7; }
.join-orb { position: absolute; right: calc(6% + min(42vw, 420px) * .44); bottom: 31%; width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, rgba(200, 180, 255, .8) 30%, rgba(139, 92, 255, .4) 70%); box-shadow: 0 0 40px 10px rgba(139, 92, 255, .8); }
.join-copy { position: relative; max-width: 560px; }
.three { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 16px; }
.three li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.three .step-num { margin: 0; }
.three h3 { margin: 6px 0 4px; font-size: 20px; }
.three p { margin: 0; color: var(--ink-2); }
.three a { color: #fff; }
@media (max-width: 700px) { .join-arch { opacity: .35; right: -10%; } .join-orb { display: none; } }

/* footer */
.footer { padding: 70px 0 calc(50px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(2, 1, 5, .85); backdrop-filter: blur(10px); }
.footer-grid { display: grid; gap: 24px; margin-bottom: 24px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1fr auto; align-items: center; } }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer-links a { color: var(--ink-2); text-decoration: none; font: 600 14px/1 var(--hud); letter-spacing: .16em; text-transform: uppercase; }
.footer-links a:hover { color: #fff; }
.powered { margin: 12px 0 0; color: var(--ink-3); font-size: 14px; }
.disclaimer { font-size: 13px; color: var(--ink-3); max-width: 820px; }

/* video player */
.player { width: min(1100px, 100vw - 24px); padding: 0; border: 1px solid var(--sh-dim); background: #000; color: var(--ink); overflow: visible; }
.player::backdrop { background: rgba(8, 4, 20, .85); backdrop-filter: blur(6px); }
.player-frame { position: relative; aspect-ratio: 16 / 9; }
.player-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-close { position: absolute; top: 10px; right: 12px; z-index: 2; width: 56px; height: 42px; border: 0; background: none; color: #fff; font: 600 26px/1 var(--hud); cursor: pointer; }

/* ── motion starting states (only when the motion script will run) ─────────── */
html.motion [data-hero-in], html.motion [data-rise] { opacity: 0; transform: translateY(26px); }
html.motion [data-stagger] > :not(.sh-layer) { opacity: 0; transform: translateY(40px); }
html.motion [data-lore] { opacity: .14; }
html.motion .bubble { opacity: 0; transform: translateY(16px) scale(.96); }
html.motion .h2[data-split] { opacity: 0; }
html.motion .display .line { overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
html.motion:not(.motion-ready) .display .line { color: transparent; }
.display .line-inner { display: block; }
.display .line-inner.grad { display: block; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ── small pages and the tokenomics document ───────────────────────────────── */
.page-bar { position: sticky; top: 0; z-index: var(--z-bar); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px max(18px, env(safe-area-inset-left)); background: rgba(4, 3, 7, .75); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.doc { position: relative; z-index: var(--z-content); padding: 60px 0 90px; }
.doc h1 { font-size: clamp(30px, 5.4vw, 50px); font-weight: 400; letter-spacing: 0; line-height: 1.08; }
.doc h2 { font-size: clamp(21px, 3.4vw, 28px); font-weight: 400; letter-spacing: 0; margin-top: 54px; padding-top: 14px; border-top: 1px solid var(--line); }
.doc h3 { margin-top: 28px; }
.doc ul, .doc ol { color: var(--ink-2); padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc strong { color: #fff; }
.doc .glass { padding: 24px 34px 24px 24px; margin: 22px 0 34px; }
.toc ol { margin: 8px 0 0; columns: 2 220px; }
.table-wrap { overflow-x: auto; margin: 16px 0 22px; border: 1px solid var(--sh-faint); background: rgba(8, 6, 18, .7); backdrop-filter: blur(12px); }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 520px; }
table.kv { min-width: 0; }
table.kv th { width: 38%; text-transform: none; letter-spacing: .02em; font-size: 14px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 700 13px/1.3 var(--hud); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); background: rgba(120, 90, 220, .12); }
td { color: var(--ink-2); }
tr:last-child td { border-bottom: 0; }
@media (max-width: 520px) { th, td { padding: 10px 11px; } }
.callout { padding: 22px 34px 22px 22px; margin: 20px 0 28px; --sh-glass: rgba(150, 120, 255, .1); }
.callout.warn { --sh-glass: rgba(255, 177, 77, .07); --sh-line: rgba(255, 177, 77, .6); }
.chart { margin: 22px 0; }
.chart svg { width: 100%; height: auto; max-width: 560px; display: block; }
.legend { list-style: none; padding: 0 !important; display: grid; gap: 6px; margin: 14px 0 0; }
.legend li { display: flex; gap: 10px; align-items: baseline; }
.swatch { width: 12px; height: 12px; flex: none; transform: translateY(1px); }
.swatch.s1 { background: #8fc2ff; } .swatch.s2 { background: #ffb48c; } .swatch.s3 { background: #8a5cff; } .swatch.s4 { background: #e6d8ff; }
.flow { display: grid; gap: 12px; margin: 20px 0; }
@media (min-width: 760px) { .flow { grid-template-columns: repeat(3, 1fr); } }
.flow div { padding: 18px 30px 20px 18px; --sh-glass: rgba(120, 90, 220, .1); --sh-line: var(--sh-dim); }
.flow b { display: block; font: 400 24px/1.1 var(--display); font-synthesis: none; color: #fff; margin-bottom: 4px; }
.meta { color: var(--ink-3); font-size: 14px; }

/* doc pages: a calm, dimmer sky */
.veil-doc { opacity: .78; }

/* Neon glitch: every few seconds the neon headline line splits into cyan and magenta for a beat. */
@media (prefers-reduced-motion: no-preference) {
  .display .line-inner.grad { animation: glitch 7s steps(1) infinite 2.5s; }
  /* Held until the hero copy arrives, or its transform would show the line during the opening clip. */
  .hero.is-intro .display .line-inner.grad { animation: none; }
}
@keyframes glitch {
  0%, 100% { filter: drop-shadow(0 0 18px rgba(139, 92, 255, .55)); transform: none; }
  92% { filter: drop-shadow(-3px 0 0 rgba(79, 182, 255, .9)) drop-shadow(3px 0 0 rgba(255, 92, 210, .8)); transform: translateX(2px) skewX(-4deg); }
  93% { filter: drop-shadow(2px 0 0 rgba(79, 182, 255, .9)) drop-shadow(-2px 0 0 rgba(255, 92, 210, .8)); transform: translateX(-3px); }
  94% { filter: drop-shadow(0 0 18px rgba(139, 92, 255, .55)); transform: none; }
}
.veil-doc { opacity: .5; }

/* ── HOLO art: hologram flicker and Jammer glitch (js/shard.js) ──────────────────
   From the game's holo_call shader (scan lines, a sweep, a fast shimmer) and its
   Jammer glitch (bands of the HOLO slipping sideways for a frame or three). */
:where([data-holo]) { position: relative; }
.holo-scan {
  position: absolute; inset: 0; pointer-events: none; z-index: 2; mix-blend-mode: screen;
  background:
    linear-gradient(180deg, transparent 0%, rgba(87, 233, 255, .16) 50%, transparent 53%) 0 0 / 100% 240% no-repeat,
    repeating-linear-gradient(180deg, rgba(87, 233, 255, .07) 0 1px, transparent 1px 3px);
}
@media (prefers-reduced-motion: no-preference) {
  .holo-scan { animation: holo-sweep 4.5s linear infinite, holo-hz .17s ease-in-out infinite alternate; }
}
@keyframes holo-sweep { from { background-position: 0 -140%, 0 0; } to { background-position: 0 140%, 0 0; } }
@keyframes holo-hz { from { opacity: 1; } to { opacity: .82; } }
.slip { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
/* Vexa's tail packets, drawn live by js/shard.js over his picture. */
.tail-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.slip-img { position: absolute; max-width: none; }
.slip-c { filter: sepia(1) hue-rotate(150deg) saturate(5) brightness(1.25); }
.slip-m { filter: sepia(1) hue-rotate(250deg) saturate(4) brightness(1.15); }

/* Target-lock brackets with readouts, as around the enemy HOLO in a battle. */
.lock { position: absolute; inset: 9%; pointer-events: none; z-index: 4; }
.lock i { position: absolute; width: 22px; height: 22px; border: 0 solid var(--cyan); filter: drop-shadow(0 0 4px rgba(87, 233, 255, .9)); opacity: 0; transition: opacity .15s, translate .3s cubic-bezier(.2, 1.6, .4, 1); }
.lock i:nth-child(1) { left: 0; top: 0; border-width: 1.5px 0 0 1.5px; translate: -14px -14px; }
.lock i:nth-child(2) { right: 0; top: 0; border-width: 1.5px 1.5px 0 0; translate: 14px -14px; }
.lock i:nth-child(3) { right: 0; bottom: 0; border-width: 0 1.5px 1.5px 0; translate: 14px 14px; }
.lock i:nth-child(4) { left: 0; bottom: 0; border-width: 0 0 1.5px 1.5px; translate: -14px 14px; }
.lock b { position: absolute; font: 700 11px/1 var(--hud); letter-spacing: .2em; color: var(--cyan); text-shadow: 0 0 8px rgba(87, 233, 255, .9); opacity: 0; transition: opacity .1s .3s; }
.lock-tag { left: 0; top: -18px; }
.lock-dist { right: 0; bottom: -18px; }
.lock.is-locked i { opacity: 1; translate: 0 0; }
.lock.is-locked b { opacity: 1; }
.starter-art .lock { inset: 10% 14%; }
.starter-art .lock-tag { top: 6px; left: 30px; }
.lock-holo { inset: auto; left: calc(var(--cx) - var(--span) * .62); width: calc(var(--span) * 1.24); top: calc(var(--apex) + 6px); height: calc(var(--base) - var(--apex) + 14px); }

/* Screen-edge HUD: the notched ruler at the top and rulers down both sides. */
.hud { display: none; position: fixed; inset: 0; z-index: 45; pointer-events: none; }
.hud .a-dim { fill: none; stroke: var(--sh-dim); stroke-width: 1; }
.hud-top { position: absolute; top: 0; left: 50%; translate: -50% 0; }
.hud-side { position: absolute; top: 31%; height: 38%; }
.hud-l { left: 4px; }
.hud-r { right: 4px; }
.hud-glyph { position: absolute; }
.hud-gl { left: 30px; top: 62%; }
.hud-gr { right: 24px; top: 52%; }
@media (min-width: 1100px) {
  .hud { display: block; }
  .topbar { padding-top: max(24px, env(safe-area-inset-top)); }
}

/* Scan-line wipe between pages: a dark band led by a bright cyan hairline. */
.wipe-out, html.wipe-in::after {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  background: #04070b; border-right: 2px solid var(--cyan);
  box-shadow: 12px 0 14px -4px rgba(87, 233, 255, .14);
}
.wipe-out { content: ""; }
html.wipe-in::after { content: ""; border-right: 0; border-left: 2px solid var(--cyan); box-shadow: -12px 0 14px -4px rgba(87, 233, 255, .14); animation: wipe-off .2s ease-in-out .02s both; }
@keyframes wipe-off { from { transform: translateX(0); } to { transform: translateX(calc(100% + 16px)); } }

/* Short laptop windows: the PRIZM section is compacted so the whole of it (text and pyramid)
   fits on screen while it is held for Vexa's projection. */
@media (min-width: 960px) and (max-height: 760px) {
  .prizm-pin { padding: 76px 0 14px; }
  .prizm-copy .eyebrow { margin-bottom: 8px; }
  .prizm-copy .h2 { font-size: clamp(26px, 7.2vh, 60px); margin-bottom: 10px; }
  .prizm-copy > p:not(.eyebrow) { font-size: 15px; line-height: 1.5; margin-bottom: 8px; }
  .prizm-steps { margin-top: 10px; gap: 7px; }
  .prizm-steps li { padding: 9px 26px 9px 16px; font-size: 14.5px; line-height: 1.4; }
  .prizm-holo { height: calc(100svh - 100px); }
}

/* ── investor story additions (holohacker-deck) ──────────────────────────────
   New pieces only, built from the same tokens, fonts and Shard panels as the rest. */

/* the Set 01 card row: real card art, shown whole at its own shape */
.starter-card { width: min(72vw, 330px); }
.starter-card .starter-art { height: clamp(250px, 46vh, 440px); clip-path: none; background: radial-gradient(60% 60% at 50% 55%, rgba(87, 233, 255, .16), transparent 75%); }
.starter-card .starter-art img { inset: 3% 4%; width: 92%; height: 94%; object-fit: contain; filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .75)); }

/* stat rows without an icon, and 3- or 4-wide rows */
.stats li:not(:has(.stat-icon)) { grid-template-columns: 1fr; }
@media (min-width: 1100px) {
  .stats.stats-four { grid-template-columns: repeat(4, 1fr); }
  .stats.stats-three { grid-template-columns: repeat(3, 1fr); }
}
.solo .stats, .raise .stats { margin-top: 46px; }

/* four-stop roadmap */
@media (min-width: 900px) { .road.road-four { grid-template-columns: repeat(4, 1fr); } }

/* glass panels that hold tables */
.panel { padding: 30px 30px 24px; }
.solo-body .panel { margin-top: 30px; }
.money-tables { margin-top: 34px; }
.calc { margin-top: 34px; }

.nums { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.nums th { text-align: left; color: var(--ink-3); font: 700 12.5px/1.3 var(--hud); letter-spacing: .14em; text-transform: uppercase; padding: 0 0 12px; }
.nums td { padding: 12px 0; border-top: 1px solid var(--sh-faint); color: var(--ink-2); vertical-align: top; }
.nums th:not(:first-child), .nums td:not(:first-child) { text-align: right; padding-left: 16px; white-space: nowrap; }
.nums td:not(:first-child) { color: #fff; font: 700 17px/1.3 var(--hud); letter-spacing: .04em; }
.nums tr.hl td { color: var(--cyan); }
.nums tr.hl td:first-child { font-weight: 600; }
.nums tr.total td { font: 400 20px/1.3 var(--display); padding-top: 16px; text-shadow: 0 0 18px rgba(87, 233, 255, .45); }
.nums.team td:first-child { color: #fff; }
.nums em { display: block; font-style: normal; color: var(--ink-3); font-size: 14px; margin-top: 2px; }
.card .nums { margin: 4px 0 14px; font-size: 15px; }
.small { color: var(--ink-3); font-size: 14px; margin: 14px 0 0; }

/* the pack calculator */
.calc-label { display: block; color: var(--ink-2); font: 700 14px/1.3 var(--hud); letter-spacing: .12em; text-transform: uppercase; }
.calc input[type=range] { width: 100%; margin: 18px 0 24px; accent-color: var(--cyan); }
.calc-out { display: grid; gap: 18px; }
@media (min-width: 720px) { .calc-out { grid-template-columns: repeat(3, 1fr); } }
.calc-out b { display: block; font: 400 clamp(26px, 3.4vw, 38px)/1.1 var(--display); color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 0 22px rgba(139, 92, 255, .55); }
.calc-out span { display: block; margin-top: 6px; color: var(--ink-3); font: 700 12.5px/1.3 var(--hud); letter-spacing: .14em; text-transform: uppercase; }
html:not(.js) .calc input { display: none; }

/* sources, in the footer */
.sources-list { margin: 10px 0 24px; padding-left: 20px; color: var(--ink-3); font-size: 13.5px; line-height: 1.5; }
@media (min-width: 900px) { .sources-list { columns: 2; column-gap: 48px; } }
.sources-list li { break-inside: avoid; margin-bottom: 6px; }
.sources-list a { color: var(--ink-2); }

/* keep card columns inside the screen on phones, even when a card holds a table */
.cards > * { min-width: 0; }
@media (max-width: 699px) { .cards { grid-template-columns: minmax(0, 1fr); } }
/* the tokenomics page's tables had a 520px floor; these fit the screen instead */
table.nums { min-width: 0; }
@media (max-width: 520px) { .nums td, .nums th { padding-left: 0; padding-right: 0; } .nums th:not(:first-child), .nums td:not(:first-child) { padding-left: 10px; } .panel { padding: 24px 18px 20px; } }

/* ── Round 2 (2026-12-05) ─────────────────────────────────────────────────────────────── */
/* Never one or two words alone on a line (site.js binds the last words of every block). */
.nb { white-space: nowrap; }
p, li, figcaption, td { text-wrap: pretty; }

/* The starters, each beside its card (the card a little smaller than the HOLO). */
.starter-pair { width: min(88vw, 560px); }
.pair { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; align-items: center; margin-bottom: 12px; }
.pair .starter-art { height: clamp(190px, 36vh, 330px); margin-bottom: 0; }
.pair-card { width: 100%; height: auto; aspect-ratio: 520 / 739; max-height: clamp(170px, 31vh, 290px); object-fit: contain; justify-self: center; border-radius: 10px;
  transform: rotate(4deg); filter: drop-shadow(0 16px 26px rgba(0, 0, 0, .7)) drop-shadow(0 0 18px rgba(87, 233, 255, .18)); transition: transform .7s var(--ease); }
.starter-pair:hover .pair-card { transform: rotate(0deg) translateY(-6px) scale(1.03); }

/* The pack rip: held while you scroll through it. */
.rip { padding: 0; }
.rip-pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.rip-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.rip-hud { position: relative; z-index: 2; padding-top: clamp(84px, 11vh, 120px); pointer-events: none; text-align: center; }
.rip-caption { margin: 6px auto 10px; max-width: 18ch; text-shadow: 0 0 30px rgba(87, 233, 255, .35); }
.rip-sub { max-width: 46ch; margin: 0 auto; color: var(--ink-2); }
.rip-dots { list-style: none; display: flex; justify-content: center; gap: 8px; margin: 16px 0 0; padding: 0; }
.rip-dots li { width: 22px; height: 4px; border-radius: 2px; background: rgba(226, 222, 240, .18); transition: background .4s, box-shadow .4s; }
.rip-dots li.is-on { background: var(--tier, var(--cyan)); box-shadow: 0 0 10px var(--tier, var(--cyan)); }
.rip-still { position: absolute; inset: 0; display: grid; place-items: center; gap: 0; padding: 170px 16px 40px; }
.rip-still-pack { width: min(34vw, 190px); height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .7)); }
.rip-still-hand { display: flex; justify-content: center; margin-top: -40px; }
.rip-still-hand img { width: min(16vw, 120px); height: auto; margin: 0 -18px; border-radius: 6px; filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .6)); }
.rip-still-hand img:nth-child(1) { transform: rotate(-15deg) translateY(28px); } .rip-still-hand img:nth-child(2) { transform: rotate(-10deg) translateY(12px); }
.rip-still-hand img:nth-child(3) { transform: rotate(-5deg) translateY(3px); } .rip-still-hand img:nth-child(5) { transform: rotate(5deg) translateY(3px); }
.rip-still-hand img:nth-child(6) { transform: rotate(10deg) translateY(12px); } .rip-still-hand img:nth-child(7) { transform: rotate(15deg) translateY(28px); }
html.rip-on .rip-still { display: none; }
html:not(.rip-on) .rip-pin { height: auto; min-height: 760px; }
html:not(.rip-on) .rip-dots { display: none; }
.digital-money { margin-top: 26px; }
#digital .build-steps { margin-top: 26px; }

/* The gear: the 3D models beside the cards. */
.gear-grid { display: grid; gap: 22px; }
@media (min-width: 1000px) { .gear-grid { grid-template-columns: 1.25fr 1fr; align-items: stretch; } }
.gear-stage { position: relative; margin: 0; min-height: clamp(360px, 52vh, 560px); display: grid; grid-template-rows: 1fr auto; overflow: hidden;
  background: radial-gradient(60% 55% at 50% 45%, rgba(87, 233, 255, .10), transparent 70%), rgba(6, 6, 16, .55); }
.gear-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.gear-still { width: 100%; height: 100%; object-fit: contain; }
html.gear-on .gear-still { visibility: hidden; }
.gear-stage figcaption { position: relative; z-index: 1; padding: 0 22px 18px; color: var(--ink-3); font-size: 14px; }
.gear-cards { display: grid; gap: 18px; }
.ladder { display: grid; gap: 12px; margin-top: 26px; }
@media (min-width: 900px) { .ladder { grid-template-columns: repeat(3, 1fr); } }
.ladder-step { padding: 20px 22px; display: grid; gap: 6px; }
.ladder-step b { font: 700 19px/1.2 var(--hud); letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.ladder-step span { color: var(--ink-2); }
.viral { margin-top: 34px; max-width: 62ch; }
.viral p { font-size: clamp(17px, 1.5vw, 20px); color: #fff; }

/* The viewers line, as big as the moat. */
.mega.mega-quote { font-size: clamp(28px, 4.6vw, 64px); max-width: 24ch; margin: 64px auto 0; text-align: center; line-height: 1.12; }

/* Marketing. */
.engine { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; counter-reset: none; }
@media (min-width: 900px) { .engine { grid-template-columns: repeat(4, 1fr); } }
.engine li { padding: 20px 22px; display: grid; gap: 6px; }
.engine .step-num { margin-bottom: 6px; width: auto; height: auto; justify-content: start; }
.engine b { font: 400 24px/1.1 var(--display); font-synthesis: none; color: #fff; }
.engine li > span:last-child { color: var(--ink-2); }
.content-grid { margin-bottom: 22px; }
@media (min-width: 1100px) { .content-grid { grid-template-columns: repeat(3, 1fr); } }

/* The floating pack beside the printer's numbers. */
#money .wrap { position: relative; }
.money-pack { position: relative; height: clamp(300px, 42vh, 440px); margin: -10px auto 18px; max-width: 520px; }
.money-pack canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.float-still { display: block; height: 100%; width: auto; margin: 0 auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .7)); }
html.float-on .float-still { visibility: hidden; }
@media (min-width: 1100px) {
  #money .section-head { grid-template-columns: 1fr; padding-right: 340px; }
  #money .section-note { max-width: 56ch; }
  .money-pack { position: absolute; top: -50px; right: 0; width: 320px; height: 440px; margin: 0; }
}

/* Forecasts. */
.fc-switch { display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 22px; border-radius: 999px; background: rgba(10, 10, 24, .7); border: 1px solid rgba(179, 148, 255, .25); }
.fc-switch button { font: 700 15px/1 var(--hud); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); background: none; border: 0; padding: 12px 20px; border-radius: 999px; cursor: pointer; transition: background .3s, color .3s; }
.fc-switch button[aria-checked="true"] { background: linear-gradient(100deg, rgba(87, 233, 255, .25), rgba(139, 92, 255, .35)); color: #fff; box-shadow: 0 0 18px rgba(87, 233, 255, .25); }
.fc-switch button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.fc-kpis { margin-bottom: 22px; }
.fc-charts { display: grid; gap: 22px; margin-bottom: 22px; }
@media (min-width: 1000px) { .fc-charts { grid-template-columns: 1.3fr 1fr; } }
.fc-chart { margin: 0; }
.fc-svg { width: 100%; height: auto; display: block; overflow: visible; }
.fc-svg text { font: 500 13px var(--hud); fill: rgba(226, 222, 240, .74); letter-spacing: .06em; }
.fc-svg .fc-val { font: 400 14px var(--display); fill: #fff; }
.fc-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 14px; font: 600 14px/1.2 var(--hud); letter-spacing: .06em; color: var(--ink-2); }
.fc-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }
.fc-table th, .fc-table td { text-align: right; }
.fc-table th:first-child, .fc-table td:first-child { text-align: left; }
.fc-table-wrap { overflow-x: auto; }

#kid-title .grad { display: block; }
.fit-line.nb { white-space: nowrap; }
#build-title .grad { display: block; }
.section-head:has(#kid-title), .section-head:has(#build-title) { grid-template-columns: 1fr; }
.section-head:has(#kid-title) .section-note, .section-head:has(#build-title) .section-note { max-width: 62ch; }
@media (max-width: 1099px) { #money .section-head { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .mega { font-size: 27px; } .mega.mega-quote { font-size: 22px; } }
#join-title { font-size: clamp(28px, 3.3vw, 46px); }
@media (max-width: 400px) { .card h3 { font-size: 19px; } }
#prizm-title { font-size: clamp(30px, 3.2vw, 44px); }

/* Hero headline (12-06): three phrases, each kept whole on its own line. The size follows the
   column width so the longest phrase, "Bring them into your world.", always fits. */
#hero-title { font-size: calc((100vw - 32px) / 15.8); }
#hero-title .line { white-space: nowrap; }
@media (min-width: 760px) {
  .hero-copy { max-width: min(720px, 58%); }
  #hero-title { font-size: min(46px, calc((min(1240px, 100vw - 32px)) * .58 / 15.8)); }
}

/* ===== Round 3 (12-06) ===================================================================== */

/* Hero: the second sentence of the intro stands out, smaller than the headline. */
.lede-punch {
  max-width: 560px; margin: 18px 0 0; padding-left: 18px; border-left: 2px solid var(--cyan);
  font: 600 clamp(19px, 1.75vw, 24px)/1.35 var(--hud); letter-spacing: .02em; color: #fff;
  text-shadow: 0 0 22px rgba(87, 233, 255, .28);
}

/* Statements: a line between a paragraph and a headline in size, filled with light as it scrolls past. */
.statement { font: 400 clamp(24px, 3.2vw, 46px)/1.16 var(--display); font-synthesis: none; letter-spacing: 0; color: #fff; max-width: 26ch; margin: 56px auto 0; text-align: center; }
html.motion .statement[data-fill] { color: transparent; -webkit-text-stroke: 1.2px rgba(220, 200, 255, .5); background: linear-gradient(100deg, #fff 0%, var(--lavender) 50%, var(--ice) 100%) 0 0 / 0% 100% no-repeat; -webkit-background-clip: text; background-clip: text; }
/* One line, whatever the screen: the size follows the width. */
.statement-one { max-width: none; white-space: nowrap; font-size: min(46px, calc((min(1240px, 100vw - 32px)) / 17.5)); }

/* The playbook: Pokémon's three parts, then our four. */
.playbook-grid { display: grid; grid-template-columns: 1fr 70px 1.25fr; align-items: stretch; margin-top: 40px; }
.pb-col { padding: 30px 30px 22px; }
.pb-title { font: 700 14px/1 var(--hud); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 18px; }
.pb-now .pb-title { color: var(--cyan); }
.pb-col ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pb-col li { position: relative; display: grid; gap: 4px; padding: 14px 16px 14px 54px; border: 1px solid var(--sh-faint); background: rgba(10, 8, 24, .35); counter-increment: pb; }
.pb-col ol { counter-reset: pb; }
.pb-col li::before { content: counter(pb, decimal-leading-zero); position: absolute; left: 16px; top: 16px; font: 700 13px/1 var(--hud); letter-spacing: .1em; color: var(--ink-3); }
.pb-col li b { font: 400 clamp(19px, 1.7vw, 24px)/1.1 var(--display); font-synthesis: none; color: #fff; }
.pb-col li span { color: var(--ink-2); font-size: 16px; }
.pb-then li b { color: rgba(242, 240, 250, .82); }
.pb-now li { border-color: rgba(87, 233, 255, .22); }
.pb-now li.is-lit { border-color: rgba(87, 233, 255, .7); background: linear-gradient(90deg, rgba(87, 233, 255, .1), rgba(139, 92, 255, .06)); box-shadow: 0 0 26px rgba(87, 233, 255, .14) inset; }
.pb-now li.is-lit::before { color: var(--cyan); text-shadow: 0 0 10px var(--cyan); }
.pb-link { position: relative; display: grid; place-items: center; }
.pb-link svg { position: absolute; inset: 10% 0; width: 100%; height: 80%; }
.pb-link path { stroke: rgba(87, 233, 255, .5); stroke-width: 1.5; fill: none; stroke-dasharray: 4 6; }
.pb-link span { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(87, 233, 255, .6); background: rgba(6, 5, 16, .9); color: var(--cyan); font: 700 22px/1 var(--hud); box-shadow: 0 0 24px rgba(87, 233, 255, .35); }
@media (max-width: 899px) {
  .playbook-grid { grid-template-columns: 1fr; }
  .pb-link { height: 64px; }
  .pb-link svg { inset: 0 auto; left: 50%; width: 4px; height: 100%; translate: -2px 0; }
  .pb-link span { rotate: 90deg; }
}

/* Korv's recompile line (pinned; js/evo.js draws it). */
.evo { padding: 0; }
.evo-pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.evo-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.evo-hud { position: relative; z-index: 2; height: 100%; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto; column-gap: 40px; padding-top: clamp(84px, 11vh, 116px); padding-bottom: clamp(18px, 3.5vh, 36px); pointer-events: none; }
.evo-head { grid-column: 1; grid-row: 1; }
.evo-head .h2 { margin-bottom: 0; text-shadow: 0 0 30px rgba(0, 0, 0, .8); }
.evo-info { grid-column: 2; grid-row: 1; max-width: 380px; text-align: right; }
.evo-rail { grid-column: 1 / -1; grid-row: 3; }
@media (max-width: 899px), (max-aspect-ratio: 11/10) {
  .evo-hud { grid-template-columns: 1fr; }
  .evo-info { grid-column: 1; grid-row: 3; text-align: left; max-width: none; }
  .evo-rail { grid-row: 4; }
}
.evo-count { margin: 0 0 6px; font: 700 13px/1 var(--hud); letter-spacing: .24em; text-transform: uppercase; color: #ffb35c; text-shadow: 0 0 12px rgba(255, 150, 60, .6); }
.evo-name { margin: 0 0 8px; font: 400 clamp(34px, 4.2vw, 62px)/1 var(--display); font-synthesis: none; color: #fff; text-shadow: 0 0 34px rgba(255, 150, 60, .45), 0 0 2px rgba(0, 0, 0, .9); }
.evo-name.is-swap { animation: evo-swap .7s cubic-bezier(.2, .8, .2, 1); }
@keyframes evo-swap { 0% { opacity: 0; filter: blur(10px); transform: translateY(16px); letter-spacing: .12em; } 100% { opacity: 1; filter: none; transform: none; letter-spacing: 0; } }
.evo-desc { margin: 0; color: var(--ink); font-size: clamp(16px, 1.3vw, 19px); text-shadow: 0 1px 12px rgba(0, 0, 0, .95); }
.evo-rail { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 22px 0 0; padding: 0; position: relative; }
.evo-rail li { position: relative; padding-top: 14px; font: 700 13px/1 var(--hud); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); transition: color .5s; }
.evo-rail li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 2px; background: rgba(226, 222, 240, .16); transition: background .5s, box-shadow .5s; }
.evo-rail li b { color: inherit; margin-right: 8px; opacity: .7; }
.evo-rail li.is-on { color: var(--ink); }
.evo-rail li.is-on::before { background: linear-gradient(90deg, #ff9a3c, #ffd27a); box-shadow: 0 0 12px rgba(255, 160, 60, .75); }
.evo-rail li.is-now { color: #ffd27a; }
/* Without WebGL or with reduced motion: the four forms side by side. */
.evo-still { list-style: none; margin: 0; padding: 0 16px 40px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 1240px; margin-inline: auto; }
.evo-still li { position: relative; }
.evo-still img { width: 100%; height: auto; display: block; border-radius: 6px; }
.evo-still span { position: absolute; left: 14px; bottom: 12px; font: 700 13px/1 var(--hud); letter-spacing: .2em; text-transform: uppercase; color: #ffd27a; }
html.evo-on .evo-still { display: none; }
html:not(.evo-on) .evo-pin { height: auto; }
html:not(.evo-on) .evo-hud { height: auto; grid-template-rows: auto; }
html:not(.evo-on) .evo-info, html:not(.evo-on) .evo-rail { display: none; }
@media (max-width: 699px) { .evo-still { grid-template-columns: 1fr; } .evo-rail li span { display: none; } }

/* ---- Motion polish for the newer blocks (js/motion.js) ---- */
/* Panels open from a bright scan line. */
html.motion [data-scan] { clip-path: inset(0 0 100% 0); }
.scan-line { position: absolute; left: 0; right: 0; height: 2px; top: 0; pointer-events: none; z-index: 3; background: linear-gradient(90deg, transparent, var(--cyan), #fff, var(--cyan), transparent); box-shadow: 0 0 18px var(--cyan); opacity: 0; }
/* Table rows slide in one after another. */
html.motion [data-rows] tr { opacity: 0; transform: translateX(-18px); }
/* Budget rows get a bar showing their share. */
.nums.alloc tr:not(.total) td:first-child { position: relative; }
.share-bar { display: block; height: 3px; margin-top: 8px; border-radius: 2px; background: linear-gradient(90deg, var(--cyan), var(--lavender)); box-shadow: 0 0 10px rgba(87, 233, 255, .5); transform-origin: left; transform: scaleX(0); width: var(--share, 0%); }
/* The marketing engine lights up step by step. */
.engine { position: relative; }
.engine li { transition: border-color .5s, box-shadow .5s, background .5s; }
.engine li.is-lit { box-shadow: 0 0 0 1px rgba(87, 233, 255, .6), 0 0 34px rgba(87, 233, 255, .16); background: linear-gradient(160deg, rgba(87, 233, 255, .09), rgba(139, 92, 255, .05)); }
.engine li .step-num { transition: color .5s, text-shadow .5s; }
.engine li.is-lit .step-num { color: var(--cyan); text-shadow: 0 0 12px var(--cyan); }
.engine-meter { display: flex; align-items: center; gap: 18px; margin: 18px 0 0; font: 700 13px/1 var(--hud); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.engine-meter b { font: 400 clamp(26px, 2.6vw, 36px)/1 var(--display); color: #fff; letter-spacing: 0; text-shadow: 0 0 20px rgba(87, 233, 255, .5); min-width: 3.2ch; text-align: right; font-variant-numeric: tabular-nums; }
.engine-dots { display: grid; grid-template-columns: repeat(50, 1fr); gap: 3px; flex: 1; max-width: 620px; }
.engine-dots i { aspect-ratio: 1; border-radius: 50%; background: rgba(226, 222, 240, .12); transition: background .25s, box-shadow .25s; }
.engine-dots i.on { background: var(--cyan); box-shadow: 0 0 6px var(--cyan); }
@media (max-width: 699px) { .engine-meter { flex-wrap: wrap; } .engine-dots { flex-basis: 100%; max-width: none; } }
/* Cards tilt towards the pointer. */
.tilt { transition: transform .5s cubic-bezier(.2, .8, .2, 1); transform-style: preserve-3d; will-change: transform; }
/* The steps of the ladder climb like stairs. */
@media (min-width: 900px) {
  .ladder .ladder-step:nth-child(2) { margin-top: -18px; } .ladder .ladder-step:nth-child(3) { margin-top: -36px; }
  .ladder { align-items: end; }
}
/* Forecast tiles and charts glow as they land. */
.fc-svg rect { transition: filter .4s; }
.fc-charts.is-in .fc-svg rect { filter: drop-shadow(0 0 6px rgba(87, 233, 255, .35)); }
