:root {
  --hue: 174;
  --void: #05070d;
  --void-2: #0b111c;
  --paper: #edf3ff;
  --muted: #93a0b8;
  --cyan: hsl(var(--hue), 92%, 62%);
  --cyan-2: hsl(var(--hue), 100%, 76%);
  --gold: #e8b84a;
  --gold-2: #ffd37a;
  --mag: #ff4d80;
  --ok: #5ef0a5;
  --line: color-mix(in oklab, var(--cyan) 28%, transparent);
  --line-2: color-mix(in oklab, var(--gold) 35%, transparent);
  --display: "Syne", "Segoe UI", sans-serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --max: 1180px;
  --dock-h: calc(52px + env(safe-area-inset-bottom));
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}
html, body { margin: 0; padding: 0; background: var(--void); color: var(--paper); }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  min-height: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  background:
    radial-gradient(900px 560px at 85% -12%, color-mix(in oklab, var(--cyan) 16%, transparent), transparent 55%),
    radial-gradient(700px 420px at -12% 18%, color-mix(in oklab, var(--gold) 10%, transparent), transparent 50%),
    var(--void);
}
img, svg { max-width: 100%; height: auto; display: block; }
canvas { display: block; max-width: none; }
a { color: var(--cyan-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-2); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
::selection { background: var(--cyan); color: #041016; }
[hidden] { display: none !important; }

.skip {
  position: absolute; left: 12px; top: -44px; background: var(--cyan); color: #041016;
  padding: 8px 12px; z-index: 30; font-weight: 600;
}
.skip:focus { top: 12px; }

.noise, .vignette {
  pointer-events: none; position: fixed; top: 0; left: 0;
  width: 100%; height: 100%; max-width: 100%; z-index: 8;
}
.noise {
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.55'/></svg>");
}
.vignette {
  z-index: 7;
  background: radial-gradient(ellipse at center, transparent 52%, rgba(0,0,0,.5) 100%);
}

.wrap { width: min(var(--max), calc(100% - 28px)); margin-inline: auto; min-width: 0; }

.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 0 8px; font-family: var(--mono); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line);
}
.topbar b { color: var(--cyan); font-weight: 500; }
.brand {
  display: flex; align-items: center; gap: 10px; color: var(--paper); text-decoration: none; letter-spacing: .26em;
}
.brand-mark {
  width: 18px; height: 18px; flex: 0 0 18px; border: 1px solid var(--cyan);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  box-shadow: 0 0 16px color-mix(in oklab, var(--cyan) 50%, transparent);
  background: color-mix(in oklab, var(--cyan) 25%, transparent);
}
.nav { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding: 8px 0 2px; }
.nav a {
  color: var(--paper); text-decoration: none; font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; font-family: var(--mono);
}
.nav a:hover { color: var(--cyan); }

.btn {
  --bg: var(--cyan);
  --fg: #041016;
  appearance: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 18px;
  font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .04em;
  text-decoration: none; color: var(--fg); background: var(--bg);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--bg) 50%, white), 0 10px 40px color-mix(in oklab, var(--bg) 28%, transparent);
  transition: transform .2s ease, filter .2s ease;
  max-width: 100%;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); color: var(--fg); }
.btn-gold { --bg: var(--gold); --fg: #1a1204; }
.btn-ghost {
  --bg: transparent; --fg: var(--paper);
  background: color-mix(in oklab, var(--void-2) 70%, transparent);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--paper);
}
.btn-ghost:hover { color: var(--cyan); }
.btn-wa { --bg: #25d366; --fg: #06210f; }
.btn.is-loading { pointer-events: none; filter: saturate(.7); }
.btn.is-loading::after {
  content: ""; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid currentColor; border-top-color: transparent;
  animation: whirl .7s linear infinite;
}
@keyframes whirl { to { transform: rotate(360deg); } }

.hud {
  position: relative;
  background:
    linear-gradient(180deg, color-mix(in oklab, var(--cyan) 6%, transparent), transparent 40%),
    linear-gradient(180deg, color-mix(in oklab, var(--void-2) 88%, var(--cyan)), color-mix(in oklab, var(--void) 92%, black));
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03), 0 20px 70px rgba(0,0,0,.35);
}
.hud::before, .hud::after {
  content: ""; position: absolute; width: 14px; height: 14px; border: 1.5px solid var(--cyan); pointer-events: none;
}
.hud::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.hud::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
.hud-pad { padding: 18px; }

.kicker {
  font-family: var(--mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--cyan);
  margin: 0 0 8px;
}
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0; letter-spacing: -.03em; }
h1 {
  font-size: clamp(1.85rem, 7.2vw, 5rem); font-weight: 800;
  overflow-wrap: anywhere; word-break: break-word; text-wrap: balance;
}
h2 { font-size: clamp(1.28rem, 3.1vw, 2.2rem); font-weight: 750; overflow-wrap: anywhere; }
h3 { font-size: 1.08rem; font-weight: 700; }
.lede { font-size: clamp(.98rem, 1.9vw, 1.16rem); color: #c9d4e8; max-width: 42rem; margin: 14px 0 0; }
h1 + .lede, h2 + .lede { margin-top: 16px; }
.section-head h2 { margin-bottom: 0; }
.section-head .lede { margin-top: 12px; }
.section-head > div h2 + .lede { margin-top: 14px; }

.hero { position: relative; padding: 10px 0 4px; display: grid; gap: 12px; min-width: 0; }
.hero-grid { display: grid; gap: 16px; align-items: center; min-width: 0; }
.hero-copy { min-width: 0; }
.hero h1 { margin: 0 0 4px; }
.hero h1 .outline {
  display: block; margin: 12px 0 6px;
  font-family: var(--mono); font-size: clamp(.68rem, 2.3vw, .95rem); font-weight: 500;
  letter-spacing: .16em; color: var(--cyan-2); text-transform: uppercase; line-height: 1.35;
}
.hero-copy > .lede { margin-top: 16px; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.12fr .88fr; gap: 36px; min-height: 58vh; }
}

.status-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.chip {
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 8px; border: 1px solid var(--line); color: var(--cyan-2);
  background: color-mix(in oklab, var(--cyan) 8%, transparent);
}
.chip-gold { color: var(--gold-2); border-color: var(--line-2); background: color-mix(in oklab, var(--gold) 10%, transparent); }
.pulse {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--ok) 70%, transparent);
  animation: ping 1.8s ease-out infinite; margin-right: 6px; vertical-align: 1px;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--ok) 55%, transparent); }
  80%, 100% { box-shadow: 0 0 0 10px transparent; }
}
.not-job {
  display: inline-flex; align-items: center;
  font-family: var(--display); font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: #041016; background: var(--gold); padding: 5px 8px;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  font-size: 11px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.price-bay { margin-top: 16px; display: grid; gap: 4px; padding: 14px 16px; }
.price-bay .label { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.price-bay strong { font-family: var(--display); font-size: clamp(1.5rem, 3.8vw, 2.3rem); color: var(--gold-2); }
.price-bay span { color: var(--muted); font-size: 13px; }

.stage {
  position: relative;
  width: min(100%, 480px);
  max-width: 480px;
  aspect-ratio: 1 / 1;
  height: auto;
  margin-inline: auto;
  overflow: hidden;
  flex: none;
}
.stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  filter: drop-shadow(0 0 28px color-mix(in oklab, var(--cyan) 32%, transparent));
}
.stage.is-claim canvas,
.stage.is-geo canvas { filter: drop-shadow(0 0 36px color-mix(in oklab, var(--gold) 50%, transparent)); }
.orbit-ring {
  position: absolute; inset: 10%; border: 1px dashed color-mix(in oklab, var(--gold) 40%, transparent);
  border-radius: 50%; animation: orbit 32s linear infinite; pointer-events: none; z-index: 2;
}
.orbit-ring b {
  position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: var(--gold);
  background: var(--void); padding: 0 6px; max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
@keyframes orbit { to { transform: rotate(360deg); } }
.reticle {
  position: absolute; inset: 14%; border-radius: 50%;
  border: 1px solid color-mix(in oklab, var(--gold) 38%, transparent);
  pointer-events: none; z-index: 2;
}
.reticle i { position: absolute; background: color-mix(in oklab, var(--gold) 70%, transparent); }
.reticle i:nth-child(1) { left: 50%; top: 6%; width: 1px; height: 18%; }
.reticle i:nth-child(2) { left: 50%; bottom: 6%; width: 1px; height: 18%; }
.reticle i:nth-child(3) { top: 50%; left: 6%; height: 1px; width: 18%; }
.reticle i:nth-child(4) { top: 50%; right: 6%; height: 1px; width: 18%; }
.lock-tag {
  position: absolute; top: 8px; left: 8px; z-index: 4;
  font-family: var(--mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-2); border: 1px solid var(--line-2); padding: 4px 7px;
  background: color-mix(in oklab, var(--void) 70%, transparent);
}
.lock-tag b { color: var(--ok); font-weight: 500; }
.hud-readouts {
  position: absolute; left: 0; right: 0; bottom: 8px; z-index: 3;
  display: flex; justify-content: space-between; gap: 6px; flex-wrap: wrap;
  list-style: none; margin: 0; padding: 0 8px;
  font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan);
}

@media (max-width: 959px) {
  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hero-copy { display: contents; }
  .status-row { order: 1; margin: 0; }
  .stage { order: 2; }
  .hero-copy > .kicker { order: 3; margin: 4px 0 0; }
  .hero h1 { order: 4; font-size: clamp(1.7rem, 9vw, 2.2rem); }
  .price-bay { order: 5; margin-top: 4px; }
  .hero-actions { order: 6; margin-top: 8px; }
  .hero-copy > .lede { order: 7; margin-top: 8px; }
  .hero-copy > .kicker:last-child { order: 8; }
  .hero-actions .btn-ghost { display: none; }
  .stage {
    width: min(100%, 280px);
    max-width: 280px;
    aspect-ratio: 1 / 1;
    height: auto;
    margin-inline: auto;
  }
  .orbit-ring { display: none; }
  .hud-readouts { display: none; }
  .reticle { inset: 8%; }
  .lock-tag { top: 10px; left: 12px; }
  .chip, .not-job { padding: 4px 7px; }
}

.floor-clip {
  overflow: hidden; width: 100%; max-width: 100%; height: 48px; pointer-events: none; margin-top: -4px;
}
.floor {
  height: 80px; width: 100%; max-width: 100%; opacity: .34;
  background:
    linear-gradient(transparent, var(--void)),
    repeating-linear-gradient(90deg, transparent 0 31px, color-mix(in oklab, var(--cyan) 18%, transparent) 32px),
    repeating-linear-gradient(0deg, transparent 0 31px, color-mix(in oklab, var(--cyan) 18%, transparent) 32px);
  transform: perspective(280px) rotateX(62deg);
  transform-origin: center top;
  mask-image: linear-gradient(to bottom, #000, transparent);
}

.ticker {
  overflow: hidden; border-block: 1px solid var(--line); padding: 8px 0; margin: 6px 0 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  width: 100%; max-width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track { display: flex; gap: 40px; width: max-content; animation: marquee 36s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

section { padding: 16px 0 4px; min-width: 0; }
@media (min-width: 800px) { section { padding: 28px 0 10px; } }
.section-head { display: flex; justify-content: space-between; gap: 14px; align-items: end; margin-bottom: 14px; flex-wrap: wrap; }

.bleed {
  width: 100%; max-width: 100%;
  margin: 12px 0; padding: 22px 0 18px;
  border-block: 1px solid var(--line);
  background:
    linear-gradient(90deg, color-mix(in oklab, var(--cyan) 9%, transparent), transparent 46%),
    #070b14;
}
.bleed-gold {
  background:
    linear-gradient(180deg, color-mix(in oklab, var(--gold) 8%, transparent), #080c16 55%);
}
.bleed-mesh {
  background-image:
    linear-gradient(color-mix(in oklab, var(--cyan) 10%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in oklab, var(--cyan) 10%, transparent) 1px, transparent 1px),
    linear-gradient(180deg, #080d16, #05070d);
  background-size: 42px 42px, 42px 42px, auto;
}

.filter {
  width: min(100%, 420px);
  max-width: 100%;
  background: var(--void-2); color: var(--paper); border: 1px solid var(--line);
  font-family: var(--mono); font-size: 14px; padding: 14px 16px; border-radius: 0;
}
.filter:focus { border-color: var(--cyan); }

.grid-cards { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .grid-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid-cards { grid-template-columns: 1fr 1fr 1fr; } }

.territory {
  display: grid; gap: 10px; padding: 16px 14px 14px; text-decoration: none; color: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent);
  border: 1px solid var(--line); min-height: 136px; position: relative; overflow: hidden;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.territory:hover {
  border-color: var(--cyan); transform: translateY(-3px); color: inherit;
  background: color-mix(in oklab, var(--cyan) 8%, var(--void-2));
}
.territory h3 { font-size: 1.35rem; overflow-wrap: anywhere; }
.territory .meta {
  display: flex; justify-content: space-between; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.territory .open { color: var(--ok); }
.territory::after {
  content: ""; position: absolute; right: -20px; bottom: -30px; width: 90px; height: 90px;
  border: 1px solid var(--line); border-radius: 50%;
}

.stats { display: grid; gap: 10px; }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(3, 1fr); gap: 8px 24px; } }
.stat {
  padding: 8px 2px 14px;
  border-bottom: 1px solid color-mix(in oklab, var(--cyan) 22%, transparent);
  min-width: 0;
}
.stat .n {
  margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -.04em; line-height: .95;
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.45rem, 3.2vw, 2.35rem);
  background: linear-gradient(180deg, #fff 10%, var(--cyan-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.stat .n-unit {
  margin: 8px 0 0;
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2);
}
.stat .n-cap { margin: 8px 0 0; color: var(--paper); font-size: 14px; }
.stat .src { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .04em; margin: 6px 0 0; }

.rail { display: grid; gap: 0; border-left: 1px solid var(--line-2); margin-left: 6px; counter-reset: step; }
.rail article {
  position: relative; padding: 8px 0 14px 18px; background: none; border: 0; box-shadow: none;
}
.rail article::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--mono); color: var(--gold); letter-spacing: .18em; font-size: 11px;
}
.rail article::after {
  content: ""; position: absolute; left: -5px; top: 12px; width: 9px; height: 9px;
  background: var(--gold); border-radius: 50%; box-shadow: 0 0 10px var(--gold);
}
.rail p { margin: 6px 0 0; color: #c5d0e4; }
@media (min-width: 900px) {
  .rail {
    grid-template-columns: repeat(4, 1fr); border-left: 0; border-top: 1px solid var(--line-2); margin-left: 0; gap: 8px;
  }
  .rail article { padding: 18px 12px 6px; }
  .rail article::after { left: 12px; top: -5px; }
}

.modules {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-padding-inline: 2px; padding: 2px 2px 10px; -webkit-overflow-scrolling: touch;
  width: 100%; max-width: 100%;
}
.mod {
  flex: 0 0 86%; scroll-snap-align: start; padding: 16px; display: grid; gap: 8px; min-width: 0;
}
.mod .mod-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.mod code { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--gold); }
.mod .online { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: var(--ok); text-transform: uppercase; }
.mod p { margin: 0; color: #c5d0e4; }
.mod-ticker {
  overflow: hidden;
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.mod-ticker-track {
  display: flex; width: max-content; animation: marquee 22s linear infinite;
}
.mod-ticker-track span { white-space: nowrap; padding-right: 2.8em; }
@media (min-width: 900px) {
  .modules { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; padding: 0; }
  .mod { flex: none; }
}

.flow { position: relative; display: grid; gap: 14px; width: 100%; }
.flow-spine {
  display: none; position: absolute; left: 16%; right: 16%; top: 27px; height: 2px;
  background: color-mix(in oklab, var(--cyan) 35%, transparent);
  overflow: hidden; pointer-events: none;
}
.flow-spine i {
  position: absolute; top: -3px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold-2); box-shadow: 0 0 12px var(--gold);
  animation: packet 2.4s linear infinite;
}
.flow-spine i:nth-child(2) { animation-delay: .8s; }
.flow-spine i:nth-child(3) { animation-delay: 1.6s; }
@keyframes packet {
  0% { left: -8px; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
.node {
  position: relative; z-index: 1; padding: 16px 16px 16px 18px;
  background: color-mix(in oklab, var(--void-2) 80%, var(--cyan));
  border: 1px solid var(--line);
}
.node .idx {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--mono); font-size: 11px; color: #041016; background: var(--gold);
  margin-bottom: 10px; box-shadow: 0 0 0 6px var(--void);
}
.node strong { display: block; font-family: var(--display); font-size: 1.12rem; margin-bottom: 6px; }
.node p { margin: 0; color: #c5d0e4; }
.node-link {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
}
@media (min-width: 900px) {
  .flow { grid-template-columns: 1fr auto 1fr auto 1fr; gap: 0; align-items: stretch; }
  .flow-spine { display: block; }
  .node-link { width: 28px; }
}
.split {
  margin-top: 16px; padding: 16px 16px 14px;
  border: 1px solid var(--line-2);
  background: color-mix(in oklab, var(--gold) 7%, var(--void-2));
}
.split .note { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); margin: 0 0 12px; }
.split-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: end; margin-top: 10px; }
.split-row span { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.split-row strong { font-family: var(--display); font-size: 1.15rem; }
.bar {
  grid-column: 1 / -1; height: 10px; background: #101623; overflow: hidden;
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--cyan) 18%, transparent);
}
.bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
.bar i.you { width: 8%; background: linear-gradient(90deg, var(--cyan), var(--cyan-2)); box-shadow: 0 0 12px color-mix(in oklab, var(--cyan) 50%, transparent); }
.bar i.full { width: 100%; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  border: 1px solid var(--line); padding: 9px 11px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
}

.team { display: grid; gap: 12px; width: 100%; }
@media (min-width: 800px) { .team { grid-template-columns: repeat(3, 1fr); } }
.dossier { overflow: hidden; }
.dossier img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top;
  filter: contrast(1.06) saturate(.92);
}
.dossier:hover img { filter: none; }
.dossier .who { padding: 12px 14px 14px; }
.dossier .role { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin: 6px 0 0; }
.dossier .stamp {
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
  margin: 0 0 6px;
}

.terminal-bar {
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid var(--line); padding: 10px 12px; margin: -18px -18px 16px;
}
.terminal-bar b { color: var(--ok); font-weight: 500; }

form { display: grid; gap: 12px; }
form[hidden] { display: none !important; }
label { display: grid; gap: 6px; font-size: 14px; color: #d5def0; }
label span { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
input, select, textarea {
  width: 100%; min-height: 48px; padding: 12px;
  background: #070b14; color: var(--paper); border: 1px solid var(--line);
  font: 16px/1.4 var(--sans); transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { min-height: 88px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--cyan);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--cyan) 28%, transparent), 0 0 24px color-mix(in oklab, var(--cyan) 18%, transparent);
}
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] {
  border-color: var(--mag);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--mag) 25%, transparent);
}
.hint { font-size: 12px; color: var(--mag); min-height: 1.1em; font-style: normal; }
.consent { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; font-size: 14px; }
.consent input { width: 18px; height: 18px; min-height: 0; margin-top: 3px; flex: 0 0 18px; }
.consent .hint { flex: 1 1 100%; margin-left: 28px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.err { color: var(--mag); font-size: 13px; min-height: 1.1em; }
.form-grid { display: grid; gap: 12px; }
@media (min-width: 720px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.span-2 { grid-column: 1 / -1; }

.thanks:not([hidden]) { padding: 6px 0 8px; display: grid; gap: 12px; justify-items: start; }
.thanks h2 { font-size: clamp(1.5rem, 3.6vw, 2.4rem); }
.thanks .confirm {
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ok); margin: 0;
}

.site-footer {
  margin-top: 28px; padding: 20px 0 28px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 13px; display: grid; gap: 10px;
}
.site-footer nav { display: flex; gap: 16px; }
.site-footer a { color: var(--paper); }

.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 12;
  display: flex; gap: 8px; width: 100%; max-width: 100%;
  padding: 6px 10px calc(6px + env(safe-area-inset-bottom));
  background: color-mix(in oklab, var(--void) 90%, transparent);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  transition: transform .25s ease, opacity .25s ease;
}
.dock .btn { flex: 1 1 0; min-width: 0; min-height: 38px; padding: 8px 8px; font-size: 12px; }
.dock.is-away { transform: translateY(110%); opacity: 0; pointer-events: none; }
@media (min-width: 900px) { .dock { display: none; } }
@media (max-width: 899px) {
  body { padding-bottom: 0; }
  body.dock-on { padding-bottom: var(--dock-h); }
}

.lost { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: 40px 8px; }
.lost h1 { margin: 10px 0 16px; }
.lost .ghost-code {
  font-family: var(--mono); font-size: clamp(3rem, 16vw, 7rem); color: transparent;
  -webkit-text-stroke: 1px color-mix(in oklab, var(--cyan) 28%, transparent);
  line-height: .85; margin: 0;
}
.lost .stage {
  width: min(100%, 280px);
  max-width: 280px;
  aspect-ratio: 1 / 1;
  height: auto;
  margin: 0 auto 8px;
}

.roster-hero { display: grid; gap: 18px; align-items: center; padding-top: 18px; min-width: 0; }
@media (min-width: 800px) {
  .roster-hero { grid-template-columns: 1fr 280px; }
}
@media (max-width: 799px) {
  .roster-hero { grid-template-columns: 1fr; }
  .roster-hero .stage {
    width: min(100%, 280px);
    max-width: 280px;
    aspect-ratio: 1 / 1;
    height: auto;
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .floor { transform: none; height: 32px; }
  .floor-clip { height: 32px; }
}
