/* ARES FRONTIER — web design system v4.2
   Layout: full-bleed cinematic bands on deep-space black; content rides a 1320px grid;
   every figure is telemetry, set in mono. One accent: oxidized Mars rust. Gold is reserved for Promethea. */

:root {
  color-scheme: dark;
  --void: #06080b;
  --hull: #0c1015;
  --hull-2: #121821;
  --line: rgba(238, 232, 223, 0.12);
  --line-2: rgba(238, 232, 223, 0.24);
  --bone: #eee8df;
  --dust: #a69e93;
  --dim: #6f6a63;
  --rust: #e2602f;
  --rust-2: #ff7d45;
  --rust-ink: #1a0b05;
  --gold: #d4ab62;
  --haze: #e9c6ab;
  --ok: #62d39c;
  --warn: #f0b54a;

  --f-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --f-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --header-h: 104px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--void);
  color: var(--bone);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: rgba(226, 96, 47, 0.6); text-underline-offset: 3px; }
a:hover { color: var(--rust-2); }
:focus-visible { outline: 2px solid var(--rust-2); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--rust); color: var(--rust-ink); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; text-wrap: balance; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--bone); color: var(--void); padding: 8px 14px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dust);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--rust); }
.eyebrow--plain::before { display: none; }
.mono { font-family: var(--f-mono); font-feature-settings: "zero" 1; }

.display {
  font-family: var(--f-display);
  font-stretch: 125%;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.015em;
  overflow-wrap: break-word;
}
.d-xxl { font-size: clamp(40px, 8.6vw, 136px); }
.d-xl { font-size: clamp(36px, 6.2vw, 96px); }
.d-l { font-size: clamp(30px, 4.4vw, 64px); line-height: 0.95; }
.d-m { font-size: clamp(24px, 2.8vw, 40px); line-height: 1; }
.h3 { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: 22px; line-height: 1.2; letter-spacing: -0.005em; }
.h4 { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: 17px; line-height: 1.25; }
.lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--bone); max-width: 62ch; font-weight: 400; }
.muted { color: var(--dust); }
.small { font-size: 14px; line-height: 1.55; }
.accent { color: var(--rust-2); }
.gold { color: var(--gold); }
.statement { font-family: var(--f-display); font-stretch: 108%; font-weight: 500; font-size: clamp(24px, 3vw, 42px); line-height: 1.18; letter-spacing: -0.012em; max-width: 30ch; text-wrap: balance; }
.statement em { font-style: normal; color: var(--rust-2); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 136px); position: relative; }
.section--tight { padding-block: clamp(44px, 6vw, 80px); }
.section--rule { border-top: 1px solid var(--line); }
.section--hull { background: var(--hull); }
.stack { display: grid; gap: 20px; }
.stack-l { display: grid; gap: 36px; }
.row-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.row-head > * { min-width: 0; }
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); align-items: center; }
.split > .col-5 { grid-column: span 5; }
.split > .col-6 { grid-column: span 6; }
.split > .col-7 { grid-column: span 7; }
.split > .col-4 { grid-column: span 4; }
.split > .col-8 { grid-column: span 8; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split > [class*="col-"] { grid-column: 1 / -1; } }

/* ---------- buttons ---------- */
.btn {
  --b: var(--line-2);
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 48px; padding: 0 22px;
  font-family: var(--f-mono); font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--bone); text-decoration: none; border: 1px solid var(--b); background: transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  cursor: pointer;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.btn:hover { color: var(--void); background: var(--bone); border-color: var(--bone); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--rust); border-color: var(--rust); color: var(--rust-ink); }
.btn--primary:hover { background: var(--rust-2); border-color: var(--rust-2); color: var(--rust-ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; display: inline-flex; gap: 10px; align-items: center; color: var(--bone); border-bottom: 1px solid var(--rust); padding-bottom: 4px; }
.link-arrow:hover { color: var(--rust-2); }
.link-arrow svg { width: 14px; height: 14px; flex: none; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg, .pillar:hover .link-arrow svg { transform: translateX(3px); }

/* ---------- ticker + header ---------- */
.site-top { position: fixed; inset: 0 0 auto 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: background 0.35s var(--ease), border-color 0.35s var(--ease); border-bottom: 1px solid transparent; }
.site-top.is-solid { background: rgba(6, 8, 11, 0.86); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: var(--line); }
.ticker { height: 32px; border-bottom: 1px solid var(--line); overflow: hidden; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dust); background: rgba(6, 8, 11, 0.55); }
.ticker-track { display: flex; gap: 48px; white-space: nowrap; height: 100%; align-items: center; width: max-content; animation: tick 70s linear infinite; padding-left: 24px; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker b { color: var(--bone); font-weight: 500; }
.ticker .live { color: var(--rust-2); display: inline-flex; gap: 8px; align-items: center; }
@keyframes tick { to { transform: translateX(-50%); } }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--rust-2); box-shadow: 0 0 0 0 rgba(255, 125, 69, 0.6); animation: pulse 2s infinite; display: inline-block; }
.dot--ok { background: var(--ok); box-shadow: 0 0 0 0 rgba(98, 211, 156, 0.5); }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(255, 125, 69, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 125, 69, 0); } }

.masthead { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--bone); flex: none; }
.brand-mark { width: 34px; height: 34px; }
.brand-word { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: 17px; letter-spacing: 0.08em; line-height: 1; }
.brand-word small { display: block; font-family: var(--f-mono); font-stretch: 100%; font-size: 9px; letter-spacing: 0.32em; font-weight: 500; color: var(--dust); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav a { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--dust); padding: 8px 0; position: relative; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--bone); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--rust); }
.nav .btn { min-height: 40px; padding: 0 16px; font-size: 12px; color: var(--rust-ink); }
.nav .btn:hover { color: var(--rust-ink); }
.menu-btn { display: none; background: none; border: 1px solid var(--line-2); color: var(--bone); width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }
@media (max-width: 1000px) {
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: rgba(6, 8, 11, 0.97); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: 0.25s var(--ease); }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { color: var(--rust-2); }
  .nav .btn { margin-top: 16px; justify-content: center; min-height: 48px; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(920px, 100svh); display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--header-h) + 48px); overflow: hidden; isolation: isolate; }
.hero--page { min-height: clamp(520px, 72svh, 760px); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media canvas { width: 100%; height: 100%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 8, 11, 0.55) 0%, rgba(6, 8, 11, 0) 30%, rgba(6, 8, 11, 0) 55%, rgba(6, 8, 11, 0.92) 100%); pointer-events: none; }
.hero--page::after { background: linear-gradient(180deg, rgba(6, 8, 11, 0.7) 0%, rgba(6, 8, 11, 0.1) 35%, rgba(6, 8, 11, 0.35) 65%, var(--void) 100%); }
.hero-content { padding-bottom: clamp(40px, 6vw, 72px); display: grid; gap: 26px; }
.hero-content .display { max-width: 14ch; }
.hero-content .lede { max-width: 54ch; }
.hero-telemetry { border-top: 1px solid var(--line-2); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: rgba(6, 8, 11, 0.4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero-telemetry > div { padding: 18px 20px 22px; border-right: 1px solid var(--line); min-width: 0; }
.hero-telemetry > div:last-child { border-right: 0; }
@media (max-width: 760px) { .hero-telemetry { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hero-telemetry > div:nth-child(2) { border-right: 0; } .hero-telemetry > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* fallback for canvases that never render */
canvas.gl-fallback, canvas[data-scene]:not(.is-ready), canvas[data-launch]:not(.is-ready), canvas[data-live]:not(.is-ready) {
  background: radial-gradient(120% 90% at 70% 110%, #7a2e14 0%, #2a120b 40%, #0b0a0b 75%);
}
canvas[data-scene], canvas[data-launch] { transition: opacity 0.8s var(--ease); }

/* ---------- telemetry figures ---------- */
.t-num { font-family: var(--f-display); font-stretch: 125%; font-weight: 700; font-size: clamp(26px, 3vw, 44px); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.t-num sup, .t-num small { font-size: 0.42em; letter-spacing: 0.02em; font-stretch: 100%; font-weight: 600; color: var(--dust); margin-left: 4px; vertical-align: baseline; }
.t-label { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dust); margin-top: 10px; display: block; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.stats > div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 22px 24px; min-width: 0; }
.stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .stats, .stats--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- media frames ---------- */
.frame { position: relative; margin: 0; background: var(--hull); overflow: hidden; }
.frame canvas, .frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--wide { aspect-ratio: 16 / 9; }
.frame--cine { aspect-ratio: 21 / 9; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--sq { aspect-ratio: 1 / 1; }
.frame-tag { position: absolute; left: 14px; top: 14px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone); background: rgba(6, 8, 11, 0.62); padding: 6px 9px; display: inline-flex; gap: 8px; align-items: center; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.frame-hud { position: absolute; inset: 14px; pointer-events: none; border: 1px solid rgba(238, 232, 223, 0.0); }
.frame-hud::before, .frame-hud::after { content: ""; position: absolute; width: 16px; height: 16px; border: 1px solid rgba(238, 232, 223, 0.55); }
.frame-hud::before { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.frame-hud::after { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.caption { font-family: var(--f-mono); font-size: 11.5px; line-height: 1.5; letter-spacing: 0.04em; color: var(--dim); margin-top: 12px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: space-between; }
.caption span:first-child { color: var(--dust); }

/* ---------- pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.pillar { background: var(--void); display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: var(--bone); min-width: 0; }
.pillar .frame { aspect-ratio: 4 / 3; }
.pillar .frame canvas { transition: transform 1.2s var(--ease); }
.pillar:hover .frame canvas { transform: scale(1.04); }
.pillar-body { padding: 26px 26px 30px; display: grid; gap: 12px; align-content: start; }
.pillar-body .eyebrow { font-size: 11px; }
.pillar-body p { color: var(--dust); margin: 0; font-size: 15.5px; }
.pillar-body .link-arrow { justify-self: start; margin-top: 8px; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- quote ---------- */
.quote { margin: 0; display: grid; gap: 28px; }
.quote blockquote { margin: 0; font-family: var(--f-display); font-stretch: 112%; font-weight: 600; font-size: clamp(26px, 3.6vw, 52px); line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.quote blockquote::before { content: "\201C"; color: var(--rust); margin-right: 0.04em; }
.quote blockquote::after { content: "\201D"; color: var(--rust); }
.quote figcaption { display: flex; align-items: center; gap: 16px; }
.quote figcaption img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; }
.quote cite { font-style: normal; display: grid; }
.quote cite b { font-weight: 600; }
.quote cite span { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dust); }

/* ---------- voices (Ares Link messages) ---------- */
.voices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.voice { border: 1px solid var(--line); background: linear-gradient(180deg, var(--hull-2), var(--hull)); padding: 22px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.voice-head { display: flex; align-items: center; gap: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-mono); font-size: 13px; font-weight: 600; color: var(--rust-ink); background: var(--haze); flex: none; }
.voice-head b { display: block; font-weight: 600; font-size: 15px; line-height: 1.2; }
.voice-head span { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dust); }
.voice p { margin: 0; font-size: 15.5px; color: var(--bone); }
.voice-meta { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.08em; color: var(--dim); text-transform: uppercase; border-top: 1px dashed var(--line); padding-top: 12px; }
.voice-meta .ok { color: var(--ok); }
.voice .clip { position: relative; aspect-ratio: 16 / 10; background: var(--void); overflow: hidden; display: grid; place-items: center; }
.voice .clip canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.play { position: relative; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(238, 232, 223, 0.6); display: grid; place-items: center; background: rgba(6, 8, 11, 0.45); }
.play::before { content: ""; border-left: 14px solid var(--bone); border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
@media (max-width: 960px) { .voices { grid-template-columns: 1fr; } }

/* ---------- banner ---------- */
.banner { position: relative; border: 1px solid var(--line-2); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); isolation: isolate; }
.banner-copy { padding: clamp(28px, 4vw, 56px); display: grid; gap: 20px; align-content: center; }
.banner .frame { min-height: 320px; }
.seal { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--haze); }
.seal svg { width: 40px; height: 40px; }
@media (max-width: 860px) { .banner { grid-template-columns: 1fr; } .banner .frame { min-height: 240px; } }

/* ---------- news ---------- */
.news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.news-item { padding: 26px 26px 30px 0; border-bottom: 1px solid var(--line); display: grid; gap: 12px; align-content: start; text-decoration: none; color: var(--bone); min-width: 0; }
.news-item + .news-item { padding-left: 26px; border-left: 1px solid var(--line); }
.news-item time, .news-kicker { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dust); }
.news-item p { color: var(--dust); font-size: 15px; margin: 0; }
.news-item:hover .h3 { color: var(--rust-2); }
@media (max-width: 900px) { .news { grid-template-columns: 1fr; } .news-item + .news-item { padding-left: 0; border-left: 0; } }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.cta .frame { position: absolute; inset: 0; z-index: -2; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 8, 11, 0.94) 0%, rgba(6, 8, 11, 0.6) 55%, rgba(6, 8, 11, 0.15) 100%); }
.cta-inner { padding-block: clamp(80px, 11vw, 160px); display: grid; gap: 26px; max-width: 780px; }

/* ---------- spec tables ---------- */
.spec { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.spec caption { text-align: left; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rust-2); padding-bottom: 14px; }
.spec th, .spec td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { font-family: var(--f-mono); font-weight: 400; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dust); width: 46%; padding-right: 16px; }
.spec td { font-family: var(--f-mono); font-size: 14px; color: var(--bone); }
.spec td small { color: var(--dim); font-size: 12px; }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(28px, 4vw, 56px); }

/* ---------- technical drawings ---------- */
.drawing { border: 1px solid var(--line); background:
  linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
  linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
  var(--hull); padding: clamp(14px, 2vw, 28px); overflow-x: auto; }
.drawing svg { min-width: 760px; width: 100%; height: auto; }
.drawing svg text { font-family: var(--f-mono); fill: var(--dust); font-size: 11px; letter-spacing: 0.06em; }
.drawing svg .t-b { fill: var(--bone); }
.drawing svg .t-r { fill: var(--rust-2); }
.drawing svg .t-g { fill: var(--gold); }
.drawing svg .t-l { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; }
.drawing svg .ln { stroke: var(--bone); stroke-width: 1.3; fill: none; }
.drawing svg .ln-d { stroke: var(--dust); stroke-width: 1; fill: none; stroke-dasharray: 3 4; }
.drawing svg .ln-r { stroke: var(--rust); stroke-width: 1.3; fill: none; }
.drawing svg .ln-g { stroke: var(--gold); stroke-width: 1.3; fill: none; }
.drawing svg .fill-h { fill: var(--hull-2); }
.drawing svg .fill-v { fill: var(--void); }
.drawing svg .fill-r { fill: var(--rust); }
.drawing svg .fill-g { fill: var(--gold); fill-opacity: 0.18; }
.drawing svg .fill-b { fill: var(--bone); fill-opacity: 0.08; }
.drawing--plan svg { min-width: 520px; }
.drawing--robot svg { min-width: 520px; max-width: 760px; margin-inline: auto; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 16px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--dust); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 12px; height: 12px; border: 1px solid var(--bone); display: inline-block; }

/* ---------- feature list ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 24px 30px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.features--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.features--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 600px) { .features--2 { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .features--3 { grid-template-columns: 1fr; } }
.feature .idx { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--rust-2); }
.feature p { margin: 0; color: var(--dust); font-size: 15.5px; }
.feature svg { width: 30px; height: 30px; color: var(--bone); }

/* ---------- flight profile ---------- */
.profile { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 36px; }
.profile li { list-style: none; padding: 20px 18px 6px 0; position: relative; min-width: 0; border-top: 1px solid var(--line-2); }
@media (max-width: 860px) { .profile { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.profile li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--void); border: 1px solid var(--rust-2); }
.profile ol { margin: 0; padding: 0; display: contents; }
.profile .t { font-family: var(--f-mono); font-size: 12px; color: var(--rust-2); letter-spacing: 0.06em; }
.profile b { display: block; font-family: var(--f-display); font-stretch: 112%; font-size: 16px; margin: 6px 0 4px; }
.profile p { color: var(--dust); font-size: 14px; margin: 0; }

/* ---------- timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-left: 1px solid var(--line-2); }
.timeline li { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 24px; padding: 0 0 40px 28px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 9px; width: 9px; height: 9px; background: var(--void); border: 1px solid var(--rust-2); transform: rotate(45deg); }
.timeline .yr { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: 28px; line-height: 1; letter-spacing: -0.02em; }
.timeline .yr small { display: block; font-family: var(--f-mono); font-stretch: 100%; font-size: 10.5px; letter-spacing: 0.14em; color: var(--dust); font-weight: 400; margin-top: 8px; text-transform: uppercase; }
.timeline p { color: var(--dust); margin: 6px 0 0; max-width: 64ch; }
.timeline li.is-memorial::before { background: var(--bone); border-color: var(--bone); }
@media (max-width: 640px) { .timeline li { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- people ---------- */
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.person { background: var(--void); display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.person .frame { aspect-ratio: 4 / 5; background: #08090b; }
.person .frame img { transition: transform 1s var(--ease), filter 0.6s var(--ease); filter: saturate(0.92); }
.person:hover .frame img { transform: scale(1.03); filter: saturate(1.05); }
.person-body { padding: 20px 20px 24px; display: grid; gap: 6px; align-content: start; }
.person-body b { font-family: var(--f-display); font-stretch: 112%; font-size: 18px; font-weight: 700; line-height: 1.2; }
.person-body .role { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rust-2); }
.person-body p { color: var(--dust); font-size: 14.5px; margin: 8px 0 0; }
.person--vacant .frame { display: grid; place-items: center; background:
  repeating-linear-gradient(135deg, rgba(238, 232, 223, 0.04) 0 10px, transparent 10px 20px), var(--hull); }
.person--vacant .frame span { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); border: 1px dashed var(--line-2); padding: 8px 12px; }
@media (max-width: 1100px) { .people { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .people { grid-template-columns: 1fr; } }

.profile-feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.profile-feature .frame { aspect-ratio: 4 / 5; position: sticky; top: calc(var(--header-h) + 24px); }
.profile-feature .bio p { color: var(--bone); }
.profile-feature .bio p.muted { color: var(--dust); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); margin-block: 28px; }
.facts div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.facts dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dust); }
.facts dd { margin: 4px 0 0; font-weight: 500; }
@media (max-width: 860px) { .profile-feature { grid-template-columns: 1fr; } .profile-feature .frame { position: relative; top: 0; max-width: 460px; } }

.pull { border-left: 2px solid var(--rust); padding: 4px 0 4px 22px; margin: 28px 0; font-family: var(--f-display); font-stretch: 108%; font-size: clamp(20px, 2vw, 26px); line-height: 1.3; font-weight: 500; }
.pull span { display: block; margin-top: 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dust); font-weight: 400; }

/* ---------- memorial ---------- */
.memorial { border: 1px solid var(--line-2); padding: clamp(28px, 5vw, 64px); display: grid; gap: 24px; text-align: center; justify-items: center; background: radial-gradient(80% 120% at 50% 0%, rgba(238, 232, 223, 0.05), transparent 70%); }
.memorial .num { font-family: var(--f-display); font-stretch: 125%; font-weight: 300; font-size: clamp(80px, 14vw, 180px); line-height: 0.85; letter-spacing: -0.04em; }
.memorial p { max-width: 58ch; color: var(--dust); margin: 0; }
.names { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.08em; color: var(--dim); max-width: 960px; text-transform: uppercase; }

/* ---------- facility cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.card { border: 1px solid var(--line); padding: 26px; display: grid; gap: 12px; align-content: start; background: var(--hull); min-width: 0; }
.card .loc { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rust-2); }
.card p { margin: 0; color: var(--dust); font-size: 15.5px; }
.card ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-family: var(--f-mono); font-size: 12.5px; color: var(--bone); }
.card ul li::before { content: "— "; color: var(--dim); }

/* ---------- districts ---------- */
.districts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0; border-top: 1px solid var(--line); }
.district { padding: 22px 22px 26px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; min-width: 0; }
.district .code { font-family: var(--f-mono); font-size: 11px; color: var(--gold); letter-spacing: 0.14em; }
.district p { margin: 0; color: var(--dust); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: var(--f-display); font-stretch: 108%; font-weight: 600; font-size: 19px; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-family: var(--f-mono); font-weight: 400; font-size: 24px; color: var(--rust-2); transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 0 24px; color: var(--dust); max-width: 70ch; }
.faq .ans p:last-child { margin-bottom: 0; }

/* ---------- steps ---------- */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: s; border-top: 2px solid var(--rust); padding-top: 18px; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: "STEP " counter(s, decimal-leading-zero); font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--rust-2); }
.steps p { color: var(--dust); margin: 0; font-size: 15px; }

/* ---------- jobs ---------- */
.jobs { border-top: 1px solid var(--line); }
.job { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.job b { font-weight: 600; font-size: 17px; display: block; }
.job .team { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dust); }
.job .loc { font-family: var(--f-mono); font-size: 12.5px; color: var(--bone); }
.job p { margin: 6px 0 0; color: var(--dim); font-size: 14px; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 9px; border: 1px solid var(--line-2); color: var(--dust); white-space: nowrap; }
.tag--rust { border-color: rgba(226, 96, 47, 0.6); color: var(--rust-2); }
.tag--gold { border-color: rgba(212, 171, 98, 0.6); color: var(--gold); }
.tag--ok { border-color: rgba(98, 211, 156, 0.5); color: var(--ok); }
@media (max-width: 860px) { .job { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- testimonial ---------- */
.testimonial { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.testimonial .frame { aspect-ratio: 4 / 5; }
@media (max-width: 800px) { .testimonial { grid-template-columns: 1fr; } .testimonial .frame { max-width: 360px; } }

/* ---------- newsroom ---------- */
.press { border-top: 1px solid var(--line); }
.press article { border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 28px; padding: 30px 0; }
.press .meta { display: grid; gap: 10px; align-content: start; }
.press .meta time { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--bone); text-transform: uppercase; }
.press h3 { margin-bottom: 10px; }
.press details summary { cursor: pointer; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rust-2); list-style: none; margin-top: 6px; display: inline-flex; gap: 8px; }
.press details summary::-webkit-details-marker { display: none; }
.press details[open] summary { margin-bottom: 16px; }
.press details[open] summary .more { display: none; }
.press details:not([open]) summary .less { display: none; }
.press .body { color: var(--dust); max-width: 72ch; }
.press .body p { color: var(--dust); }
.press .body p strong { color: var(--bone); font-weight: 600; }
.press .body ul { padding-left: 1.2em; color: var(--dust); }
.press .dateline { color: var(--bone); font-weight: 600; }
.press .boiler { font-size: 14px; border-top: 1px dashed var(--line); padding-top: 14px; margin-top: 18px; color: var(--dim); }
@media (max-width: 760px) { .press article { grid-template-columns: 1fr; gap: 12px; } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; background: none; color: var(--dust); border: 1px solid var(--line-2); padding: 9px 13px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--bone); color: var(--void); border-color: var(--bone); }

/* ---------- status board ---------- */
.board { border: 1px solid var(--line); }
.board-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); align-items: center; font-family: var(--f-mono); font-size: 13px; }
.board-row:last-child { border-bottom: 0; }
.board-row span:nth-child(2) { color: var(--dust); font-size: 12px; }
.board-head { background: var(--hull); color: var(--dust); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.state { display: inline-flex; align-items: center; gap: 8px; color: var(--ok); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; }
@media (max-width: 640px) { .board-row { grid-template-columns: 1fr auto; } .board-row span:nth-child(2) { display: none; } }

/* ---------- player chrome ---------- */
.player { position: relative; }
.player-bar { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 18px; display: flex; align-items: center; gap: 14px; background: linear-gradient(0deg, rgba(6, 8, 11, 0.85), transparent); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.1em; color: var(--bone); flex-wrap: wrap; }
.player-bar .bar { flex: 1 1 120px; height: 3px; background: rgba(238, 232, 223, 0.25); position: relative; }
.player-bar .bar i { position: absolute; inset: 0 auto 0 0; width: 100%; background: var(--rust-2); }
.live-badge { background: #d8361c; color: #fff; padding: 4px 8px; font-weight: 600; letter-spacing: 0.14em; display: inline-flex; gap: 6px; align-items: center; }
.live-badge .dot { background: #fff; box-shadow: none; animation: none; width: 6px; height: 6px; }
.live-badge--replay { background: var(--bone); color: var(--void); }

/* ---------- live webcast ---------- */
.player { container-type: inline-size; }
.player-btn { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone); background: rgba(6, 8, 11, 0.62); border: 1px solid rgba(238, 232, 223, 0.18); padding: 5px 9px; min-height: 28px; display: inline-flex; gap: 7px; align-items: center; cursor: pointer; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: border-color 0.2s var(--ease), background 0.2s var(--ease); }
.player-btn:hover { border-color: var(--bone); background: rgba(6, 8, 11, 0.8); }
.player-btn svg { width: 13px; height: 13px; flex: none; }
.player-btn[hidden] { display: none; }
.player-btn--icon { width: 30px; padding: 0; justify-content: center; }
.player-btn--icon svg { width: 15px; height: 15px; }
.player-btn .dot { width: 6px; height: 6px; }
.player-bar .player-btn { margin-left: auto; }
.player-ctl { position: absolute; right: 14px; top: 14px; display: flex; gap: 6px; }
.player .frame-tag { max-width: calc(100% - 72px); white-space: nowrap; }
.player .tag-meta { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.player.is-replay .player-bar { opacity: 0; visibility: hidden; }
.player-bar { transition: opacity 0.4s var(--ease), visibility 0.4s; }

.cast { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 12px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: 12px; background: linear-gradient(0deg, rgba(4, 6, 9, 0.8) 0%, rgba(4, 6, 9, 0.45) 55%, rgba(4, 6, 9, 0) 100%); font-family: var(--f-mono); color: var(--bone); opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0.5s; pointer-events: none; }
.player.is-replay .cast { opacity: 1; visibility: visible; }
.cast-stage { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cast-stage--ship { justify-content: flex-end; }
.cast-eng { width: 44px; height: 44px; flex: none; overflow: visible; }
.cast-eng circle { fill: rgba(6, 8, 11, 0.4); stroke: rgba(238, 232, 223, 0.38); stroke-width: 0.14; transition: fill 0.15s, stroke 0.15s; }
.cast-eng circle.on { fill: #fff; stroke: #fff; }
.cast dl { margin: 0; display: grid; gap: 1px; font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.5; min-width: 0; }
.cast dt { color: var(--bone); font-weight: 600; letter-spacing: 0.22em; margin-bottom: 1px; }
.cast dd { margin: 0; display: flex; gap: 6px; align-items: baseline; white-space: nowrap; }
.cast dd span { color: var(--dust); width: 6.4em; }
.cast dd b { font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; min-width: 3.8em; text-align: right; letter-spacing: 0.04em; }
.cast dd small { color: var(--dust); font-size: 9px; }
.cast-clock { display: grid; justify-items: center; gap: 4px; text-align: center; position: relative; }
.cast-clock b { font-family: var(--f-display); font-stretch: 125%; font-size: 21px; font-weight: 700; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; line-height: 1; white-space: nowrap; }
.cast-mission { font-size: 9px; letter-spacing: 0.22em; color: var(--dust); text-transform: uppercase; white-space: nowrap; }
.cast-line { position: relative; width: 200px; height: 2px; background: rgba(238, 232, 223, 0.22); margin: 6px 0 12px; }
.cast-line i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--rust-2); }
.cast-line em { position: absolute; top: -3px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #06080b; border: 1px solid rgba(238, 232, 223, 0.7); }
.cast-line em.past { background: var(--bone); border-color: var(--bone); }
.cast-line em span { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 7.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dust); white-space: nowrap; }
.cast-line em:nth-of-type(3) span { transform: translateX(-90%); }
.cast-line em:nth-of-type(4) span { transform: translateX(-10%); }
.cast-event { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px); font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; white-space: nowrap; padding: 5px 10px; background: rgba(6, 8, 11, 0.7); border-left: 2px solid var(--rust-2); opacity: 0; transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.cast-event.on { opacity: 1; transform: translate(-50%, 0); }
.cast-event:empty { display: none; }
@container (max-width: 600px) {
  .cast { grid-template-columns: minmax(0, 1fr) auto; padding: 32px 12px 10px; }
  .cast-stage--ship { display: none; }
  .cast-eng { width: 34px; height: 34px; }
  .cast-line { width: 130px; }
  .cast-line em span { display: none; }
  .cast-line { margin-bottom: 4px; }
}
@container (max-width: 400px) {
  .player.is-replay .tag-meta, .player-bar .bar, .player-bar > span:nth-child(4) { display: none; }
  .player-bar { gap: 10px; padding: 12px 14px; }
  .cast-eng, .cast dd span { display: none; }
  .cast-clock b { font-size: 17px; }
  .cast-line { width: 96px; }
  .player-bar .player-btn { font-size: 0; gap: 0; padding: 0; width: 30px; justify-content: center; }
}
.countdown { font-family: var(--f-display); font-stretch: 125%; font-weight: 700; font-size: clamp(30px, 4.6vw, 64px); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; line-height: 1; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(56px, 7vw, 96px) 32px; background: var(--void); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot-grid h4 { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dust); font-weight: 500; margin-bottom: 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { text-decoration: none; color: var(--bone); font-size: 15px; }
.foot-grid a:hover { color: var(--rust-2); }
.foot-brand { display: grid; gap: 18px; align-content: start; }
.foot-brand p { color: var(--dust); font-size: 14.5px; max-width: 38ch; margin: 0; }
.foot-status { display: grid; gap: 8px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.08em; color: var(--dust); }
.foot-status span { display: inline-flex; gap: 8px; align-items: center; }
.foot-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--dim); }
.foot-legal p { margin: 0; max-width: 90ch; }
.foot-legal .fiction { color: var(--dust); }
.stock { font-family: var(--f-mono); font-size: 12px; color: var(--bone); display: inline-flex; gap: 10px; align-items: baseline; }
.stock .up { color: var(--ok); }
@media (max-width: 1000px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }

/* ---------- reveal ---------- */
.reveal { opacity: 1; transform: none; }
.js .reveal.pre { opacity: 0.001; transform: translateY(18px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }

/* ---------- easter egg toast ---------- */
.glitch { position: fixed; z-index: 90; left: 50%; bottom: 24px; transform: translateX(-50%); width: min(560px, calc(100% - 32px)); background: #0b0b0d; border: 1px solid var(--rust); padding: 18px 20px; display: grid; gap: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); }
.glitch b { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: 22px; letter-spacing: 0.02em; text-transform: uppercase; }
.glitch span { font-family: var(--f-mono); font-size: 12px; color: var(--dust); }
.glitch button { justify-self: end; background: none; border: 1px solid var(--line-2); color: var(--bone); font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; padding: 6px 10px; cursor: pointer; text-transform: uppercase; }

/* ---------- 404 ---------- */
.lost { min-height: 100svh; display: grid; align-content: center; gap: 24px; padding-top: var(--header-h); }
