/* Hallmark · shape: the price ladder, a page that climbs block by block from a $1 hammer to a $4.1M magnet · genre: atmospheric · theme: custom · job: try · idea: "The page climbs the way the game does: each block is a step up the price ladder, and prices are set at sizes that grow with their log, as the skill tree spaces its tiles" · vibe: "dusk junkyard, gold on near-black, heavy condensed figures"
 * paper: oklch(12% 0.006 66) · accent: oklch(80.3% 0.15 76) · display: Barlow Condensed 800 and 700 (the game's own HUD face, supplied by the user) · body: Barlow 500 · hero: the game's logo, a six-word head, one sentence and the wishlist label on the ground at left, the dusk title capture full height at right, fading into the ground · nav: the hammer mark and the name at left, four plain links at right, not sticky · footer: one block on the ground, the byline, two links, the privacy line, the facts date and the credits · imagery: screenshots 19 (the game's own r7i capture, crops in shots.json) · signature: the arsenal ladder, six weapon prices set at log size that count up once and each show their own capture
 * axes: dark/display-condensed/warm · posture: Restrained, gold is the signal for prices and actions, navy only behind the skill tree, orange once for a hit · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: H, the arsenal holds a ladder and a picture; the log-sized prices carry the order and the picture sits in one fixed stage */
/* Hallmark · dismissed 58 · the press kit is the game's reference document: the page total runs past 450 words, but no screen holds more than about 80 and the long description sits closed in a details element */
/* Hallmark · dismissed 59 · the press kit keeps its nine named parts (fact sheet, descriptions, features, screenshots, logo, trailer, credits, contact) apart, because press look for each one by name */
/* Hallmark · answered F20 · the platform note sits alone on the row under the two hero actions on purpose: it says where the game comes out, it is not a third action */
:root {
  /* Spacing: the Hallmark scale, unchanged. */
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;

  /* Type: Barlow 500 for running text at 17px, Barlow Condensed 700 and 800 for heads and figures (the game's HUD faces). */
  --text-xs: 0.875rem; --text-sm: 0.9375rem; --text-md: 1.0625rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 2rem; --text-3xl: 2.5rem;
  --text-display: clamp(2.6rem, 6.1vw, 6rem);
  --text-section: clamp(2.25rem, 2.6vw + 1rem, 4rem);
  --text-title: clamp(1.375rem, 0.6vw + 1.1rem, 1.75rem);
  --text-lead: clamp(1.125rem, 0.4vw + 1rem, 1.375rem);
  --text-figure: clamp(2.75rem, 3vw + 1.5rem, 5rem);
  --leading-display: 0.94;

  /* Prices grow with the log of the price, as tile distance does on the game's tree: base + decades x step. */
  --price-base: clamp(1.5rem, 0.6vw + 1.2rem, 1.875rem);
  --price-step: clamp(0.42rem, 0.5vw + 0.2rem, 0.72rem);
  /* Yard sizes grow with the yard's width in metres. */
  --yard-step: clamp(0.03rem, 0.03vw + 0.018rem, 0.052rem);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms; --dur-rise: 460ms; --dur-count: 900ms; --dur-drift: 24s;

  --container: 1440px; --gutter: 64px; --gap-columns: 40px; --section-gap-s: 120px; --section-gap: 152px; --section-gap-l: 184px;
  --nav-h: 72px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;

  /* Colour, from the game's own UI: near-black ground #060504, warm panels #18130F, hairlines #4A3D31,
     ink #F3E9DC, gold #F5B03A for actions and prices, orange #FF7A1A for the one heat accent,
     navy #10161F only behind the skill tree, as in the game. */
  --color-paper: oklch(12% 0.006 66);
  --color-paper-2: oklch(19.1% 0.011 61);
  --color-paper-3: oklch(24% 0.016 63);
  --color-ink: oklch(93.8% 0.02 75);
  --color-ink-2: oklch(80% 0.03 74);
  --color-muted: oklch(68% 0.034 73);
  --color-rule: oklch(37% 0.027 65);
  --color-rule-2: oklch(28% 0.02 64);
  --color-accent: oklch(80.3% 0.15 76);
  --color-accent-2: oklch(86% 0.13 80);
  --color-accent-ink: oklch(12% 0.006 66);
  --color-focus: oklch(84% 0.17 78);
  --color-heat: oklch(72.4% 0.187 49);
  --color-navy: oklch(19.9% 0.02 258);
  --color-navy-rule: oklch(34% 0.035 256);
  --color-error: oklch(66% 0.19 27); --color-success: oklch(72% 0.14 150);

  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Barlow", ui-sans-serif, system-ui, sans-serif;
  --font-outlier: var(--font-display);

  --radius-card: 3px; --radius-input: 3px; --radius-pill: 999px; --rule-hair: 1px; --shadow-card: none;
  --tracking-display: -0.005em;
}

@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/BarlowCondensed-800.7d15b843.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/BarlowCondensed-700.b6126724.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/Barlow-500.933e6a2b.woff2") format("woff2"); }
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 22%, transparent); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-synthesis: none; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.num, .figure, td.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[data-slot] { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--color-paper-2, var(--color-paper)), var(--color-paper-3, var(--color-paper))); }
[data-slot] > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
[data-slot]:has(> img) > :not(img):not([data-keep]) { display: none !important; }
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) { *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }
/* ---------- Frame ---------- */
html { scroll-behavior: smooth; }
body { font-weight: 500; font-synthesis: none; text-rendering: optimizeLegibility; }
main { display: block; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
dl, dd { margin: 0; }

.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); font-weight: 500; }
.skip:focus-visible { top: var(--space-md); }

.figure { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- Controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: 1px solid var(--color-accent); border-radius: var(--radius-input); background: var(--color-accent); color: var(--color-accent-ink); font: 700 var(--text-lg)/1 var(--font-display); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-accent-2); border-color: var(--color-accent-2); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--quiet { background: transparent; color: var(--color-accent); }
.btn--quiet:hover { background: color-mix(in oklab, var(--color-accent) 14%, transparent); border-color: var(--color-accent); }

/* The wishlist action while the Steam page has no address: a label, not a link. */
.soon { display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--space-lg); border: 1px dashed var(--color-accent); border-radius: var(--radius-input); color: var(--color-accent); font: 700 var(--text-lg)/1 var(--font-display); white-space: nowrap; }

.link { color: var(--color-ink); font: 700 var(--text-lg)/1.2 var(--font-display); text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 0.22em; transition: color var(--dur-short) var(--ease-out); }
.link:hover { color: var(--color-accent); }
.link:active { color: var(--color-accent-2); }
.link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }

a:not([class]) { color: var(--color-ink); text-decoration-color: var(--color-muted); transition: color var(--dur-short) var(--ease-out), text-decoration-color var(--dur-short) var(--ease-out); }
a:not([class]):hover { color: var(--color-accent); text-decoration-color: var(--color-accent); }
a:not([class]):active { color: var(--color-accent-2); }
a:not([class]):focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* ---------- Nav ---------- */
.nav { border-bottom: var(--rule-hair) solid var(--color-rule-2); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: var(--nav-h); }
.nav__home { display: inline-flex; align-items: center; gap: var(--space-sm); min-height: 44px; color: var(--color-ink); font: 700 var(--text-xl)/1 var(--font-display); text-decoration: none; white-space: nowrap; transition: color var(--dur-short) var(--ease-out); }
.nav__home:hover { color: var(--color-accent); }
.nav__home:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.mark { display: inline-block; flex-shrink: 0; inline-size: 30px; block-size: 30px; background: var(--color-accent); -webkit-mask: url("/assets/img/icon-root.e364cc9b.png") center / contain no-repeat; mask: url("/assets/img/icon-root.e364cc9b.png") center / contain no-repeat; }
.nav__links { display: flex; align-items: center; gap: var(--space-lg); list-style: none; }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink-2); font: 500 var(--text-sm)/1 var(--font-body); text-decoration: none; white-space: nowrap; transition: color var(--dur-short) var(--ease-out); }
.nav__links a:hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 0.3em; }
.nav__links a:active { color: var(--color-accent); }
.nav__links a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.nav__links a[aria-current="page"] { color: var(--color-accent); }
.nav__right { display: flex; align-items: center; gap: var(--space-lg); }

/* ---------- Hero ---------- */
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: var(--space-xl); }
.hero__copy { display: grid; justify-items: start; gap: var(--space-lg); padding-block: var(--space-xl); }
.hero__title { display: grid; justify-items: start; gap: var(--space-lg); margin: 0; }
.hero__logo { display: block; inline-size: min(100%, 440px); }
.hero__logo img { inline-size: 100%; block-size: auto; }
.hero__line { display: block; max-inline-size: 12ch; color: var(--color-ink); font: 800 var(--text-display)/var(--leading-display) var(--font-display); letter-spacing: var(--tracking-display); text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
.hero__lede { max-inline-size: 31ch; color: var(--color-ink-2); font-size: var(--text-lead); line-height: 1.45; }
.hero__act { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-lg); }
.hero__note { flex-basis: 100%; color: var(--color-ink-2); font-size: var(--text-sm); }
.hero__more { display: inline-flex; align-items: center; min-height: 48px; }
.hero__shot { position: relative; overflow: hidden; color: var(--color-ink); margin-right: calc(-1 * var(--gutter)); block-size: clamp(560px, calc(100svh - var(--nav-h)), 840px); aspect-ratio: 972 / 1080; max-inline-size: 50vw; background: var(--color-paper-2); }
.hero__shot picture { display: block; block-size: 100%; }
.hero__shot img { inline-size: 100%; block-size: 100%; object-fit: cover; object-position: 50% 40%; transform-origin: 62% 45%; }
.hero__shot::after { content: ""; position: absolute; inset: 0; z-index: var(--z-raised); pointer-events: none; background: linear-gradient(90deg, var(--color-paper) 0%, transparent 26%); }

@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.06); } }
.hero__line { animation: rise var(--dur-rise) var(--ease-out) both; }
.hero__lede { animation: rise var(--dur-rise) var(--ease-out) 70ms both; }
.hero__act { animation: rise var(--dur-rise) var(--ease-out) 140ms both; }
.hero__shot img { animation: drift var(--dur-drift) var(--ease-out) both; }

/* ---------- Sections ---------- */
.section-title { max-inline-size: 20ch; color: var(--color-ink); font: 800 var(--text-section)/0.98 var(--font-display); letter-spacing: var(--tracking-display); text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
.section-lede { max-inline-size: 52ch; color: var(--color-ink-2); font-size: var(--text-lead); line-height: 1.5; }
.head { display: grid; gap: var(--space-md); }
figcaption { max-inline-size: 56ch; color: var(--color-ink-2); font-size: var(--text-sm); line-height: 1.5; }

.shot { display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--radius-card); background: var(--color-paper-2); outline: 1px solid color-mix(in oklab, var(--color-ink) 9%, transparent); outline-offset: -1px; }
.shot picture { display: block; block-size: 100%; }
.shot img { inline-size: 100%; block-size: 100%; object-fit: cover; }

/* Block 2: the first shift and a late one, the late one set higher. */
.shifts { padding-top: var(--section-gap); }
.shifts__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: var(--gap-columns); margin-top: var(--space-2xl); }
.shift { display: grid; gap: var(--space-md); }
.shift:first-child { margin-top: var(--space-3xl); }
.shift__figure { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-xs) var(--space-md); }
.shift__figure .figure { color: var(--color-ink); font: 800 var(--text-figure)/0.9 var(--font-display); }
.shift__label { color: var(--color-ink-2); font-size: var(--text-md); }

/* Block 3: the arsenal ladder (the signature). */
.arsenal { margin-top: var(--section-gap); padding-block: var(--section-gap-s); background: var(--color-paper-2); }
.arsenal__body { margin-top: var(--space-2xl); }
.ladder { display: grid; list-style: none; border-bottom: var(--rule-hair) solid var(--color-rule); }
.rung { border-top: var(--rule-hair) solid var(--color-rule); }
.rung__head { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: baseline; gap: var(--space-xs) var(--space-sm); padding: var(--space-md) var(--space-lg); border-radius: var(--radius-card); }
.rung__head .icon { align-self: center; }
.rung__name { color: var(--color-ink); font: 700 var(--text-xl)/1.05 var(--font-display); }
.rung__tier { color: var(--color-muted); font: 500 var(--text-sm)/1 var(--font-body); }
.rung__price > span { display: inline-block; }
.rung__price { grid-column: 1 / -1; color: var(--color-accent); font: 800 calc(var(--price-base) + var(--decade, 0) * var(--price-step))/0.92 var(--font-display); font-variant-numeric: tabular-nums lining-nums; letter-spacing: var(--tracking-display); }
.rung--hands .rung__price { color: var(--color-ink-2); }
.icon { display: inline-block; flex-shrink: 0; inline-size: 26px; block-size: 26px; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.rung .icon { color: var(--color-ink-2); }
.rung__panel { display: grid; gap: var(--space-sm); padding: 0 var(--space-lg) var(--space-lg); }
.rung__panel figcaption { color: var(--color-ink); font-size: var(--text-lead); }
.arsenal__stage { display: grid; }

/* With the script, the ladder becomes a tab list and one stage shows the chosen weapon. */
.is-tabs .rung__panel { padding: 0; }
.is-tabs .rung__head { cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.is-tabs .rung__head:hover { background: var(--color-paper-3); }
.is-tabs .rung__head:active { background: var(--color-paper); }
.is-tabs .rung__head:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.is-tabs .rung__head[aria-selected="true"] { background: var(--color-paper); }
.is-tabs .rung__head[aria-selected="true"] .icon { color: var(--color-accent); }
.is-tabs .arsenal__stage > .rung__panel { grid-area: 1 / 1; opacity: 0; transition: opacity var(--dur-long) var(--ease-out); }
.is-tabs .arsenal__stage > .rung__panel.is-on { opacity: 1; }
.is-tabs .rung__panel:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }

@media (min-width: 60.0625rem) {
  .arsenal__body.is-tabs { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; gap: var(--space-2xl); }
  .is-tabs .ladder { grid-column: 1; grid-row: 1; }
  .is-tabs .arsenal__stage { grid-column: 2; grid-row: 1; position: sticky; top: var(--space-xl); }
}

/* Block 4: the trailer slot. */
.trailer { padding-top: var(--section-gap); }
.trailer__frame { position: relative; }
.trailer__frame .shot { aspect-ratio: 16 / 9; }
.trailer__plate { position: absolute; left: var(--space-lg); bottom: var(--space-lg); z-index: var(--z-raised); max-inline-size: none; padding: var(--space-md) var(--space-lg); border-radius: var(--radius-card); background: var(--color-paper); }
.trailer__plate h2 { color: var(--color-ink); font: 800 var(--text-section)/1 var(--font-display); letter-spacing: var(--tracking-display); }
.trailer__head { margin-bottom: var(--space-xl); }
.trailer video { display: block; inline-size: 100%; block-size: auto; aspect-ratio: 16 / 9; border-radius: var(--radius-card); background: var(--color-paper-2); }

/* Block 5: the four maps, a type-led ladder of yards. */
.maps { padding-top: var(--section-gap-l); }
.maplist { display: grid; margin-top: var(--space-2xl); list-style: none; border-bottom: var(--rule-hair) solid var(--color-rule); }
.map { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr) minmax(0, 3fr) minmax(0, 4fr); grid-template-areas: "name price size shot" "name price roads shot"; grid-template-rows: auto 1fr; align-items: start; gap: var(--space-xs) var(--gap-columns); padding-block: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.map__name { grid-area: name; color: var(--color-ink); font: 800 var(--text-3xl)/1 var(--font-display); letter-spacing: var(--tracking-display); }
.map__price { grid-area: price; color: var(--color-accent); font: 800 var(--text-2xl)/1 var(--font-display); font-variant-numeric: tabular-nums lining-nums; }
.map--backlot .map__price { color: var(--color-ink-2); }
.map__size { grid-area: size; color: var(--color-ink); font: 800 calc(var(--yard) * var(--yard-step))/1 var(--font-display); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.map__roads { grid-area: roads; color: var(--color-ink-2); }
.map__shot { grid-area: shot; }
.map__note { display: block; margin-top: var(--space-xs); color: var(--color-ink-2); font: 500 var(--text-sm)/1.4 var(--font-body); white-space: normal; }
/* --yard (each map's width in metres), --decade (each weapon's log10 price) and --icon are written by build.ts from site.json. */

/* Block 6: the machines that work alongside you. */
.machines { padding-top: var(--section-gap); }
.moments { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-xl) var(--gap-columns); margin-top: var(--space-2xl); }
.moment { display: grid; align-content: start; gap: var(--space-md); }
.moment--lead { grid-row: span 2; }
.moment figcaption { display: grid; gap: var(--space-xs); max-inline-size: 46ch; }
.moment h3 { color: var(--color-ink); font: 700 var(--text-title)/1.1 var(--font-display); }
.moment p { color: var(--color-ink-2); font-size: var(--text-md); }
.heat { color: var(--color-heat); }

/* Block 7: the skill tree on the game's navy, and the close. */
.tree { margin-top: var(--section-gap); padding-block: var(--section-gap-s); background: var(--color-navy); }
.tree__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: var(--space-2xl); }
.tree__copy { display: grid; gap: var(--space-lg); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: var(--space-md); }
.stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: var(--space-xs); padding-inline: var(--space-lg); border-left: var(--rule-hair) solid var(--color-navy-rule); }
.stats > div:first-child { padding-left: 0; border-left: 0; }
.stats > div:last-child { padding-right: 0; }
.stats dd { color: var(--color-ink); font: 800 var(--text-3xl)/1 var(--font-display); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.stats dt { color: var(--color-ink-2); font-size: var(--text-sm); }
.tree__note { color: var(--color-ink-2); font-size: var(--text-sm); }
.close { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-xl); margin-top: var(--space-lg); }
.tree .shot { outline-color: color-mix(in oklab, var(--color-ink) 12%, transparent); }

/* ---------- Footer ---------- */
.footer { padding-block: var(--space-2xl) var(--space-3xl); border-top: var(--rule-hair) solid var(--color-rule-2); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-lg) var(--gap-columns); align-items: start; }
.footer__by { display: inline-flex; align-items: center; gap: var(--space-sm); color: var(--color-ink); font: 700 var(--text-xl)/1.1 var(--font-display); }
.footer__links { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); list-style: none; }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--text-sm); }
.footer__note, .footer__credits { grid-column: 1 / -1; max-inline-size: 90ch; color: var(--color-ink-2); font-size: var(--text-sm); line-height: 1.55; }
.footer__credits a { color: var(--color-ink-2); }

/* ---------- Press kit ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: var(--space-xs); list-style: none; padding-top: var(--space-xl); color: var(--color-ink-2); font-size: var(--text-sm); }
.crumbs li + li::before { content: "/"; margin-right: var(--space-xs); color: var(--color-muted); }
.doc-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: var(--space-xl) var(--gap-columns); padding-block: var(--space-xl) var(--space-2xl); }
.doc-head__copy { display: grid; gap: var(--space-lg); }
.doc-head__toc .toc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: var(--rule-hair) solid var(--color-rule); }
.doc-head__toc .toc li { border-bottom: var(--rule-hair) solid var(--color-rule); }
.doc-head h1 { max-inline-size: 18ch; color: var(--color-ink); font: 800 var(--text-display)/var(--leading-display) var(--font-display); letter-spacing: var(--tracking-display); }
.toc { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-lg); list-style: none; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--text-md); }
.doc-section { padding-block: var(--section-gap-s) 0; }
.doc-section > .container > h2, .doc-section .head { margin-bottom: var(--space-xl); }
.doc-cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: start; }
.facts { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); border-top: var(--rule-hair) solid var(--color-rule); }
.facts dt, .facts dd { padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); }
.facts dt { color: var(--color-ink-2); font: 700 var(--text-md)/1.4 var(--font-display); }
.facts dd { color: var(--color-ink); }
.tba { color: var(--color-muted); }
.copytext { display: grid; gap: var(--space-md); max-inline-size: 68ch; line-height: 1.65; }
.copytext__short { font-size: var(--text-lead); line-height: 1.6; }
.copytext h3, .features h3 { color: var(--color-ink); font: 700 var(--text-title)/1.1 var(--font-display); }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); }
.features > div { display: grid; gap: var(--space-2xs); padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
.features dt { color: var(--color-ink); font: 800 var(--text-2xl)/1.05 var(--font-display); }
.features dd { color: var(--color-ink-2); }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2xl) var(--gap-columns); list-style: none; }
.gallery figure { display: grid; gap: var(--space-sm); }
.gallery figcaption { display: grid; gap: var(--space-2xs); }
.dl { justify-self: start; display: inline-flex; white-space: nowrap; align-items: center; min-height: 44px; color: var(--color-ink); font-size: var(--text-sm); text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 0.25em; transition: color var(--dur-short) var(--ease-out); }
.dl:hover { color: var(--color-accent); }
.dl:active { color: var(--color-accent-2); }
.dl:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.zipline { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-xl); margin-top: var(--space-2xl); }
.brand { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--gap-columns); }
.brand figure { display: grid; gap: var(--space-sm); }
.brand__tile { display: grid; place-items: center; padding: var(--space-xl); border-radius: var(--radius-card); background: var(--color-paper-2); }
.brand__tile img { inline-size: min(100%, 520px); block-size: auto; }
.brand__tile--icon img { inline-size: min(100%, 180px); }
.credits { display: grid; grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); border-top: var(--rule-hair) solid var(--color-rule); }
.credits dt, .credits dd { padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); }
.credits dt { color: var(--color-ink-2); font: 700 var(--text-md)/1.4 var(--font-display); }
.contact { padding-bottom: var(--section-gap-s); }
.contact__body { display: grid; justify-items: start; gap: var(--space-xl); }
.contact__body .facts { inline-size: 100%; }
.longtext { border-top: var(--rule-hair) solid var(--color-rule); border-bottom: var(--rule-hair) solid var(--color-rule); }
.longtext summary { display: flex; align-items: center; min-height: 48px; cursor: pointer; color: var(--color-ink); font: 700 var(--text-title)/1.1 var(--font-display); transition: color var(--dur-short) var(--ease-out); }
.longtext summary:hover { color: var(--color-accent); }
.longtext summary:active { color: var(--color-accent-2); }
.longtext summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.longtext summary::marker { color: var(--color-accent); }
.longtext:not([open]) .longtext__body { display: none; }
.longtext__body { display: grid; gap: var(--space-md); padding-block: var(--space-sm) var(--space-lg); }

/* ---------- 404 ---------- */
.lost { display: grid; justify-items: start; align-content: start; gap: var(--space-xl); padding-block: var(--space-3xl) var(--section-gap-s); }
.lost picture { display: block; inline-size: min(100%, 420px); aspect-ratio: 5 / 2; }
.lost img { inline-size: 100%; block-size: auto; }
.lost h1 { color: var(--color-ink); font: 800 var(--text-display)/var(--leading-display) var(--font-display); }
.lost__links { display: flex; flex-wrap: wrap; gap: var(--space-md) var(--space-xl); }

/* ---------- Narrow screens ---------- */
@media (max-width: 60rem) {
  :root { --nav-h: 64px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__copy { padding-block: var(--space-lg) var(--space-xl); }
  .hero__shot { margin-right: 0; block-size: auto; inline-size: 100%; max-inline-size: none; aspect-ratio: 4 / 4.6; }
  .hero__shot::after { background: linear-gradient(180deg, var(--color-paper) 0%, transparent 18%); }
  .shifts__pair { grid-template-columns: minmax(0, 1fr); }
  .shift:first-child { margin-top: 0; }
  .is-tabs .arsenal__stage { position: sticky; top: 0; z-index: var(--z-raised); padding-block: var(--space-sm); background: var(--color-paper-2); }
  .is-tabs .rung__panel figcaption { font-size: var(--text-md); }
  .map { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name price" "size size" "roads roads" "shot shot"; gap: var(--space-xs) var(--space-md); }
  .map__shot { margin-top: var(--space-sm); }
  .moments { grid-template-columns: minmax(0, 1fr); }
  .moment--lead { grid-row: auto; }
  .tree__grid, .doc-cols, .brand, .doc-head { grid-template-columns: minmax(0, 1fr); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 40rem) {
  :root { --nav-h: 56px; }
  .nav__name { display: none; }
  .nav__links { gap: var(--space-md); }
  .hero__logo { inline-size: min(100%, 300px); }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stats > div { flex-direction: row-reverse; justify-content: space-between; align-items: baseline; padding: var(--space-sm) 0; border-left: 0; border-top: var(--rule-hair) solid var(--color-navy-rule); }
  .stats > div:first-child { border-top: 0; }
  .gallery, .features { grid-template-columns: minmax(0, 1fr); }
  .facts, .credits { grid-template-columns: minmax(0, 1fr); }
  .facts dt, .credits dt { padding-bottom: 0; border-bottom: 0; }
  .trailer__plate { left: var(--space-sm); bottom: var(--space-sm); padding: var(--space-xs) var(--space-md); }
  .trailer__plate h2 { font-size: var(--text-2xl); }
  .soon { white-space: normal; padding-block: var(--space-sm); }
}

/* ---------- Reduced motion: no drift, no rise, no count, no crossfade; the final state at once. ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__line, .hero__lede, .hero__act, .hero__shot img { animation: none; opacity: 1; transform: none; }
  .is-tabs .arsenal__stage > .rung__panel { transition: none; }
  .btn, .link, .dl, .nav__home, .nav__links a, a:not([class]), .is-tabs .rung__head, .longtext summary { transition: none; }
  .btn:active { transform: none; }
}

/* Written by build.ts from site.json: each weapon's price in decades (log10), its icon, and each map's yard width in metres. */
.rung--hands { --decade: 0; --icon: url("/assets/img/icon-hands.2b152013.png"); }
.rung--sledge { --decade: 0; --icon: url("/assets/img/icon-sledge.e364cc9b.png"); }
.rung--steam { --decade: 2.763; --icon: url("/assets/img/icon-steam.58fc828b.png"); }
.rung--claw { --decade: 3.914; --icon: url("/assets/img/icon-claw.9780f6dc.png"); }
.rung--ball { --decade: 5.079; --icon: url("/assets/img/icon-ball.34ebf279.png"); }
.rung--magnet { --decade: 6.613; --icon: url("/assets/img/icon-magnet.5e432e9c.png"); }
.map--backlot { --yard: 36; }
.map--crossroads { --yard: 70; }
.map--ring { --yard: 82; }
.map--highway { --yard: 94; }
