/* Retro Spud. Palette = the one used for every Pixel Arsenal cover and screenshot. */
:root {
  --slate: #11141a;      /* page */
  --panel: #1c2129;      /* raised bands, same grey as the product renders' backdrop */
  --ink: #e2e7ee;
  --muted: #9aa5b5;
  --line: #3a4350;
  --spud: #ffb23e;       /* wordmark orange */
  --rust: #965214;
  --go: #8fd18a;
  --display: 'Silkscreen', 'Courier New', monospace;
  --body: 'IBM Plex Sans', system-ui, sans-serif;
  --px: 4px;             /* one "texel": borders and offsets step in whole texels */
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--slate); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--spud); text-underline-offset: 3px; }
a:hover { color: #ffd08a; }
:focus-visible { outline: 3px solid var(--spud); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0; }
p { margin: 0 0 1em; }
ul { list-style: none; margin: 0; padding: 0; }
.wrap { width: min(1320px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--spud); color: #111; padding: 8px 12px; z-index: 30; }
.skip:focus { left: 8px; top: 8px; }

/* ---- header ---- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(17, 20, 26, 0.94); border-bottom: var(--px) solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 8px 28px; flex-wrap: wrap; padding-block: 10px; }
.brand img { width: 206px; }
.top nav { display: flex; align-items: center; gap: 4px 24px; flex-wrap: wrap; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; }
.top nav a:hover { color: var(--spud); }
.top nav .shop { color: #17120a; background: var(--spud); padding: 7px 14px; font-weight: 600; }
.top nav .shop:hover { background: #ffc266; color: #17120a; }

/* ---- hero: a short pitch, then the showroom takes the full width (the one loud thing on the page) ---- */
.hero { padding-block: 54px 0; }
.intro { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 5fr); gap: 28px 56px; align-items: end; margin-bottom: 40px; }
.hero h1 { font-size: clamp(30px, 4.5vw, 66px); color: var(--spud); text-shadow: var(--px) var(--px) 0 var(--rust); letter-spacing: -0.08em; }
.lead { font-size: 20px; line-height: 1.5; max-width: 44ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin: 22px 0 0; }
.btn { display: inline-block; background: var(--spud); color: #17120a; font-weight: 600; text-decoration: none; padding: 13px 20px; box-shadow: var(--px) var(--px) 0 var(--rust); }
.btn:hover { color: #17120a; background: #ffc266; }
.btn:active { transform: translate(var(--px), var(--px)); box-shadow: none; }
.quiet { font-weight: 500; }

.showroom { margin: 0; border: var(--px) solid var(--line); background: var(--panel); }
.stage { position: relative; height: clamp(300px, 56vh, 640px);
  background: radial-gradient(ellipse 70% 60% at 50% 62%, #2a3340 0%, #1c2129 60%, #161a21 100%); }
.stage canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.stage canvas:active { cursor: grabbing; }
.stage p { position: absolute; margin: 0; pointer-events: none; }
.status { inset: 50% 0 auto 0; text-align: center; color: var(--muted); }
.plate { left: 18px; top: 14px; font: 400 clamp(15px, 1.6vw, 22px) var(--display); color: var(--ink); }
.plate small { display: block; font: 400 14px var(--body); color: var(--muted); margin-top: 4px; }
.hint { right: 18px; bottom: 12px; color: var(--muted); font-size: 14px; }
.desk { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto; gap: 14px 30px; padding: 16px 18px; border-top: var(--px) solid var(--line); background: var(--slate); }
.ctl-name { display: block; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { font: 500 14px var(--body); color: var(--ink); background: var(--panel); border: 2px solid var(--line); padding: 6px 11px; cursor: pointer; }
.chips button:hover { border-color: var(--muted); }
.chips button[aria-pressed="true"] { background: var(--spud); border-color: var(--spud); color: #17120a; font-weight: 600; }
.swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.swatches button { width: 30px; height: 30px; padding: 0; border: 2px solid var(--line); background: var(--c); cursor: pointer; }
.swatches button:hover { border-color: var(--ink); }
.swatches button[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 2px var(--slate), 0 0 0 4px var(--spud); }

/* ---- the range, one line each ---- */
.range { padding-block: 44px 20px; }
.range ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 40px; }
.range li { color: var(--muted); font-size: 18px; line-height: 1.45; border-left: var(--px) solid var(--rust); padding-left: 16px; }
.range b { font: 400 30px var(--display); color: var(--spud); margin-right: 4px; }

/* ---- bands ---- */
.band { padding-block: 72px; }
.band.alt { background: var(--panel); border-block: var(--px) solid var(--line); }
.head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 26px; }
.band h2 { letter-spacing: -0.06em; font-size: clamp(30px, 4.4vw, 58px); color: var(--spud); text-shadow: var(--px) var(--px) 0 var(--rust); }
.band h3 { font-size: 22px; color: var(--ink); margin: 56px 0 20px; }
.state { font-size: 15px; font-weight: 600; margin: 0; display: flex; align-items: center; gap: 10px; }
.state::before { content: ''; width: 10px; height: 10px; background: currentColor; }
.state.live { color: var(--go); }
.state.soon { color: var(--muted); }
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 56px; margin-bottom: 40px; }
.cols p { max-width: 60ch; font-size: 18px; }

/* all 100 vehicles */
.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.wall li { background: var(--panel); border: 2px solid transparent; }
.wall li:hover { border-color: var(--line); }
.wall img { width: 100%; aspect-ratio: 3 / 2; }
.wall span { display: block; padding: 2px 8px 8px; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* weapons */
.feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 44px; align-items: center; }
.feature video { width: 100%; border: var(--px) solid var(--line); background: #000; }
.feature .about p { font-size: 18px; max-width: 52ch; }
.wide { margin: 44px 0 0; }
.wide img { width: 100%; border: var(--px) solid var(--line); }
.wide figcaption { color: var(--muted); font-size: 15px; margin-top: 10px; }
.packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.packs a { display: block; text-decoration: none; color: var(--ink); background: var(--slate); border: var(--px) solid var(--line); }
.packs a:hover { border-color: var(--spud); color: var(--spud); }
.packs img { width: 100%; }
.packs span { display: block; padding: 10px 12px 12px; font-weight: 500; }

/* what you get */
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 34px 56px; }
.facts dt { font-weight: 600; color: var(--spud); margin-bottom: 6px; }
.facts dd { margin: 0; max-width: 46ch; }

.contact { text-align: left; }
.contact h2 { margin-bottom: 22px; }
.contact p { font-size: 19px; max-width: 60ch; }
.contact .mail { font: 600 clamp(20px, 3vw, 34px) var(--body); margin: 18px 0 22px; overflow-wrap: anywhere; }

footer { border-top: var(--px) solid var(--line); color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; align-items: center; gap: 16px; padding-block: 24px 36px; }
footer p { margin: 0; }

@media (max-width: 900px) {
  .intro, .feature, .cols { grid-template-columns: minmax(0, 1fr); }
  .range ul { grid-template-columns: minmax(0, 1fr); }
  .desk { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 30px; }
  .band { padding-block: 52px; }
  .top { position: static; }
  .top nav { gap: 4px 16px; }
  .brand img { width: 170px; }
  .hint { display: none; }
  .wall { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
  .wall span { font-size: 12px; padding: 2px 6px 6px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
