@font-face {
  font-family: "Newsreader Variable";
  src: url("../assets/fonts/newsreader-latin-standard-normal.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Recursive Variable";
  src: url("../assets/fonts/recursive-latin-full-normal.woff2") format("woff2-variations");
  font-weight: 300 1000;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --night: #07110f;
  --deep: #0c1c19;
  --panel: #102622;
  --panel-2: #15332d;
  --bone: #f2eddf;
  --muted: #9baea6;
  --rule: #36534d;
  --field: #d1f04b;
  --aqua: #70d6c2;
  --signal: #d5664d;
  --warning: #e8b665;
  --font-display: "Newsreader Variable", Georgia, serif;
  --font-ui: "Recursive Variable", ui-sans-serif, system-ui, sans-serif;
}
* { box-sizing: border-box; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html { scroll-behavior: smooth; background: var(--night); }
body {
  margin: 0;
  color: var(--bone);
  background:
    radial-gradient(circle at 72% -12%, rgba(112, 214, 194, .11), transparent 37%),
    linear-gradient(rgba(112, 214, 194, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 214, 194, .028) 1px, transparent 1px),
    var(--night);
  background-size: auto, 48px 48px, 48px 48px, auto;
  font: 430 15px/1.55 var(--font-ui);
  font-variation-settings: "CASL" .08, "MONO" 0;
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 50; top: 12px; left: 12px; padding: 10px 14px; color: var(--night); background: var(--field); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.masthead {
  width: min(1480px, calc(100% - 48px));
  min-height: 78px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
  font-size: 10px;
  font-variation-settings: "MONO" 1, "CASL" 0, "wght" 620;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.brand, .source-link { text-decoration: none; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--bone); justify-self: start; }
.brand-mark { width: 34px; height: 34px; display: block; }
.masthead-meta { display: flex; gap: 30px; }
.masthead-meta span + span::before { content: "/"; margin-right: 30px; color: var(--rule); }
.source-link { justify-self: end; }
.brand:hover, .source-link:hover { color: var(--field); }
main { width: min(1480px, calc(100% - 48px)); margin: 0 auto; padding: 74px 0 128px; }
.mission-head { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; align-items: end; margin-bottom: 42px; }
.eyebrow { margin: 0 0 12px; color: var(--signal); font-size: 10px; font-variation-settings: "MONO" 1, "CASL" 0, "wght" 720; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 480; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(68px, 9vw, 132px); line-height: .78; }
h2 { font-size: clamp(42px, 5vw, 72px); line-height: .94; }
h3 { font-size: 30px; line-height: 1; }
.mission-head > p { max-width: 700px; margin: 0 0 3px; color: var(--muted); font-size: clamp(16px, 1.5vw, 20px); }
.game-frame { position: relative; overflow: hidden; border: 1px solid #45625a; background: #050b0a; box-shadow: 18px 18px 0 rgba(112, 214, 194, .06); }
.stage-rail { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 9px 14px; border-bottom: 1px solid var(--rule); color: var(--muted); background: var(--deep); font-size: 9px; font-variation-settings: "MONO" 1, "CASL" 0, "wght" 650; letter-spacing: .08em; text-transform: uppercase; }
#status-line { color: var(--aqua); text-align: right; }
#game { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #07110f; outline: 0; touch-action: none; }
#game:focus-visible { box-shadow: inset 0 0 0 3px var(--field); }
.game-frame:fullscreen { width: 100vw; height: 100vh; display: grid; grid-template-rows: auto 1fr; border: 0; }
.game-frame:fullscreen #game { height: 100%; aspect-ratio: auto; }
.hud { position: absolute; z-index: 5; inset: 58px 16px auto; display: grid; grid-template-columns: minmax(240px, 1fr) auto minmax(210px, .7fr); gap: 10px; pointer-events: none; }
.hud > div { min-height: 64px; padding: 11px 13px; border: 1px solid rgba(155, 174, 166, .36); background: rgba(7, 17, 15, .78); backdrop-filter: blur(9px); }
.hud-label { display: block; color: var(--muted); font-size: 8px; font-variation-settings: "MONO" 1, "CASL" 0, "wght" 650; letter-spacing: .1em; text-transform: uppercase; }
.hud strong { display: block; margin-top: 5px; color: var(--bone); font-size: 13px; font-variation-settings: "MONO" 1, "CASL" 0, "wght" 650; font-variant-numeric: tabular-nums; }
.hud-objective { position: relative; }
.hud-objective .route { position: absolute; top: 12px; right: 13px; color: var(--field); font-size: 11px; font-variation-settings: "MONO" 1, "CASL" 0, "wght" 650; }
.hud-clock { min-width: 126px; text-align: right; }
.hud-clock strong { color: var(--field); font-size: 17px; }
.hud-integrity > div:first-child { display: flex; justify-content: space-between; align-items: baseline; }
.meter { height: 5px; margin-top: 10px; overflow: hidden; background: rgba(242, 237, 223, .13); }
.meter i { display: block; width: 100%; height: 100%; background: var(--aqua); transform-origin: left; transition: transform .18s ease, background-color .18s ease; }
.field-strip { position: absolute; z-index: 5; right: 16px; bottom: 16px; left: 16px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid rgba(155, 174, 166, .36); background: rgba(7, 17, 15, .82); backdrop-filter: blur(9px); pointer-events: none; }
.field-strip > div { min-width: 0; padding: 9px 10px; }
.field-strip > div + div { border-left: 1px solid rgba(155, 174, 166, .24); }
.field-strip span { display: block; color: var(--muted); font-size: 7px; font-variation-settings: "MONO" 1, "CASL" 0, "wght" 650; letter-spacing: .08em; text-transform: uppercase; }
.field-strip strong { display: block; margin-top: 4px; overflow: hidden; color: var(--aqua); font-size: 9px; font-variation-settings: "MONO" 1, "CASL" 0, "wght" 620; text-overflow: ellipsis; white-space: nowrap; }
.touch-controls { position: absolute; z-index: 7; left: 18px; bottom: 80px; display: none; grid-template-columns: repeat(4, 48px); gap: 6px; }
button { min-height: 42px; padding: 10px 14px; border: 1px solid var(--rule); color: var(--bone); background: transparent; font-size: 10px; font-variation-settings: "MONO" 1, "CASL" 0, "wght" 650; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
button:hover { color: var(--night); border-color: var(--field); background: var(--field); }
button:active, button.is-held { transform: translateY(1px); }
button.primary { color: var(--night); border-color: var(--field); background: var(--field); }
button.primary:hover { border-color: var(--bone); background: var(--bone); }
.overlay { position: absolute; z-index: 12; inset: 42px 0 0; display: grid; place-items: center; padding: clamp(18px, 4vw, 56px); background: radial-gradient(circle at 78% 28%, rgba(112, 214, 194, .13), transparent 42%), rgba(5, 11, 10, .91); backdrop-filter: blur(12px); }
.overlay[hidden] { display: none; }
.briefing-card { width: min(1040px, 100%); display: grid; grid-template-columns: minmax(260px, .76fr) minmax(0, 1.24fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.briefing-card img { width: 100%; height: auto; border: 1px solid var(--rule); filter: saturate(.92) contrast(1.04); }
.briefing-copy h2 { max-width: 650px; }
.briefing-copy > p:not(.eyebrow) { max-width: 650px; color: var(--muted); }
.briefing-copy ol { margin: 23px 0; padding: 0; display: grid; gap: 7px; color: var(--muted); list-style: none; }
.briefing-copy li::before { content: "—"; display: inline-block; width: 34px; color: var(--signal); font-variation-settings: "MONO" 1, "CASL" 0, "wght" 650; }
.briefing-copy b { color: var(--bone); }
.briefing-actions { display: flex; align-items: center; gap: 22px; }
.briefing-actions a { color: var(--aqua); font-size: 11px; text-underline-offset: 4px; }
.result-card { width: min(620px, 100%); padding: 42px; border: 1px solid var(--rule); background: var(--deep); text-align: center; }
.result-card p:not(.eyebrow) { color: var(--muted); }
.result-card button { margin-top: 14px; }
.command-deck { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: 22px 50px; padding: 25px 0 0; }
.command-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.lane-switcher { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 7px 9px; color: var(--muted); font-size: 10px; font-variation-settings: "MONO" 1, "CASL" 0, "wght" 620; letter-spacing: .04em; text-transform: uppercase; }
.lane-switcher span { color: var(--signal); }
.lane-switcher a { display: inline-flex; min-height: 36px; align-items: center; padding: 6px 8px; color: var(--aqua); border: 1px solid rgba(112, 214, 194, .35); text-decoration: none; }
.lane-switcher a:hover { color: var(--bone); border-color: var(--bone); }
.lane-switcher a[aria-current="page"] { color: var(--bone); border-color: var(--signal); }
.control-note { margin: 6px 0 0; color: var(--muted); font-size: 11px; font-variation-settings: "MONO" 1, "CASL" 0, "wght" 520; }
.recorder { grid-column: 1 / -1; display: grid; grid-template-columns: .7fr 1.3fr; gap: 34px; padding: 20px 22px; border: 1px solid var(--rule); background: var(--deep); }
.recorder[hidden] { display: none; }
.recorder span { display: block; color: var(--signal); font-size: 8px; font-variation-settings: "MONO" 1, "CASL" 0, "wght" 650; text-transform: uppercase; }
.recorder strong { display: block; margin-top: 8px; color: var(--bone); font-size: 12px; }
.recorder p { margin: 0; color: var(--muted); }
.architecture { margin-top: 132px; padding-top: 96px; border-top: 1px solid var(--rule); }
.architecture > header { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; align-items: end; }
.architecture > header .eyebrow { grid-column: 1 / -1; margin-bottom: -2vw; }
.architecture > header > p:last-child { margin: 0; color: var(--muted); font-size: 18px; }
.field-cards { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 58px; border: 1px solid var(--rule); }
.field-cards article { min-height: 260px; padding: 26px; }
.field-cards article + article { border-left: 1px solid var(--rule); }
.field-cards span { color: var(--signal); font-size: 8px; font-variation-settings: "MONO" 1, "CASL" 0, "wght" 650; letter-spacing: .09em; text-transform: uppercase; }
.field-cards h3 { margin-top: 54px; }
.field-cards p { color: var(--muted); }
.truth-note { display: grid; grid-template-columns: .7fr 1.3fr; gap: 34px; margin-top: 24px; padding: 26px; color: var(--night); background: var(--bone); }
.truth-note strong { font-family: var(--font-display); font-size: 26px; font-weight: 520; }
.truth-note p { margin: 0; color: #42514c; }
.truth-note code { color: #174e52; font-variation-settings: "MONO" 1, "CASL" 0; }
footer { width: min(1480px, calc(100% - 48px)); min-height: 88px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 9px; font-variation-settings: "MONO" 1, "CASL" 0, "wght" 600; letter-spacing: .06em; text-transform: uppercase; }
@media (pointer: coarse) {
  .touch-controls { display: grid; }
  .lane-switcher a { min-height: 44px; }
}
@media (max-width: 980px) {
  .masthead { grid-template-columns: 1fr 1fr; }
  .masthead-meta { display: none; }
  .mission-head, .architecture > header { grid-template-columns: 1fr; }
  .architecture > header .eyebrow { grid-column: auto; margin-bottom: 0; }
  .field-cards { grid-template-columns: 1fr 1fr; }
  .field-cards article:nth-child(3) { border-left: 0; border-top: 1px solid var(--rule); }
  .field-cards article:nth-child(4) { border-top: 1px solid var(--rule); }
  .field-strip { grid-template-columns: repeat(3, 1fr); }
  .field-strip > div:nth-child(4) { border-left: 0; border-top: 1px solid rgba(155, 174, 166, .24); }
  .field-strip > div:nth-child(5), .field-strip > div:nth-child(6) { border-top: 1px solid rgba(155, 174, 166, .24); }
}
@media (max-width: 760px) {
  .masthead, main, footer { width: min(100% - 24px, 1480px); }
  .masthead { min-height: 64px; }
  main { padding-top: 48px; }
  .mission-head { gap: 22px; }
  .mission-head > p { font-size: 16px; }
  .game-frame { margin-inline: -12px; box-shadow: none; }
  .command-deck { grid-template-columns: 1fr; }
  .lane-switcher { justify-content: flex-start; }
  .stage-rail { min-height: 38px; }
  .hud { inset: 50px 8px auto; grid-template-columns: 1fr auto; }
  .hud > div { min-height: 56px; padding: 8px 9px; }
  .hud-integrity { grid-column: 1 / -1; min-height: 45px !important; }
  .field-strip { right: 8px; bottom: 8px; left: 8px; }
  .field-strip > div { padding: 6px 7px; }
  .field-strip > div:nth-child(3), .field-strip > div:nth-child(6) { display: none; }
  .field-strip { grid-template-columns: repeat(2, 1fr); }
  .field-strip > div:nth-child(4) { border-top: 0; }
  .field-strip > div:nth-child(5) { border-left: 0; }
  .touch-controls { left: 10px; bottom: 75px; grid-template-columns: repeat(4, 44px); }
  .touch-controls button { min-height: 44px; padding: 0; }
  .overlay { top: 38px; padding: 14px; overflow-y: auto; place-items: start center; }
  .briefing-card { grid-template-columns: 92px 1fr; gap: 18px; align-items: start; padding-top: 6px; }
  .briefing-copy h2 { font-size: 36px; }
  .briefing-copy > p:not(.eyebrow) { font-size: 12px; }
  .briefing-copy ol { display: none; }
  .briefing-actions { align-items: flex-start; flex-direction: column; gap: 9px; }
  .briefing-actions button { width: 100%; }
  .command-deck { grid-template-columns: 1fr; }
  .control-note { margin: 0; }
  .recorder, .truth-note { grid-template-columns: 1fr; }
  .architecture { margin-top: 90px; padding-top: 72px; }
  .field-cards { grid-template-columns: 1fr; }
  .field-cards article { min-height: 210px; }
  .field-cards article + article { border-left: 0; border-top: 1px solid var(--rule); }
  .field-cards h3 { margin-top: 32px; }
}
@media (max-width: 480px) {
  h1 { font-size: 64px; }
  .brand span:last-child, .source-link { font-size: 9px; }
  #game { min-height: 520px; aspect-ratio: 3 / 4; }
  .briefing-card { grid-template-columns: 70px 1fr; }
  .briefing-copy h2 { font-size: 31px; }
  .hud-objective strong { max-width: 23ch; font-size: 11px; }
  .hud-clock { min-width: 92px; }
  .field-strip > div:nth-child(2), .field-strip > div:nth-child(4) { display: none; }
  .field-strip { grid-template-columns: 1fr 1fr; }
  .field-strip > div:nth-child(5) { border-top: 0; }
  .command-buttons { display: grid; grid-template-columns: 1fr 1fr; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
