/* ─────────────────────────────────────────────────────────────
   DEAD HARVEST — website. Same comic-ink kit as the game:
   ink, paper, pumpkin and tape; Anton for display, Special Elite
   (typewriter) for reading, Courier Prime for readouts.
   ───────────────────────────────────────────────────────────── */
:root {
  color-scheme: dark;
  --ink: #0d0b09;
  --ink2: #1c1814;
  --asphalt: #17130f;
  --paper: #ece2cc;
  --paper2: #d9cdb2;
  --tape: #e8b923;
  --blood: #c2321e;
  --dried: #7a0d08;
  --pumpkin: #ff7a1a;
  --toxic: #9aff40;
  --head: 'Anton', 'Impact', 'Arial Narrow Bold', sans-serif;
  --type: 'Special Elite', 'Courier Prime', 'Courier New', monospace;
  --mono: 'Courier Prime', 'Courier New', monospace;
  --wear: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.22' numOctaves='3' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -9 6.4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.9 0 0 0 0 0.8 0 0 0 0 0.6 0 0 0 0.09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  --wear-lite: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.5' numOctaves='2' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -14 10.6'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: clip; }
body {
  margin: 0; color: var(--paper); font-family: var(--type); font-size: 17px; line-height: 1.55;
  background: var(--ink);
  background-image:
    radial-gradient(ellipse 70% 40% at 70% 0%, rgba(255, 122, 26, .16), transparent 70%),
    radial-gradient(ellipse 50% 30% at 10% 30%, rgba(122, 13, 8, .18), transparent 70%);
  overflow-x: clip;
}
body::before { /* film grain over everything */
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 50; background-image: var(--grain); opacity: .7; mix-blend-mode: overlay;
}
img { max-width: 100%; display: block; }
a { color: var(--tape); }
:focus-visible { outline: 3px solid var(--tape); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--tape); color: var(--ink); padding: 8px 14px; font-family: var(--head); }

/* ── shared pieces (ported from the game) ─────────────────── */
.btn {
  display: inline-block; white-space: nowrap; font-family: var(--head); font-size: 26px; letter-spacing: 2px; text-transform: uppercase; text-decoration: none;
  color: var(--ink); background: var(--paper); border: 3px solid var(--ink);
  padding: 10px 26px; cursor: pointer; position: relative; line-height: 1.15;
  box-shadow: 5px 5px 0 var(--ink); transform: rotate(-.6deg);
  transition: transform .08s, box-shadow .08s, background .15s;
}
@media (hover: hover) { .btn:hover { background: var(--tape); transform: rotate(0) translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); } }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.btn.primary { background: var(--pumpkin); }
.btn.small { font-size: 18px; padding: 6px 16px; box-shadow: 3px 3px 0 var(--ink); }
.btn[disabled] { opacity: .45; cursor: not-allowed; pointer-events: none; }
.paper {
  background: var(--paper); color: var(--ink); border: 3px solid var(--ink); box-shadow: 8px 8px 0 rgba(0, 0, 0, .6);
  background-image: radial-gradient(rgba(0, 0, 0, .07) 1px, transparent 1.3px); background-size: 6px 6px;
}
.sec-title {
  margin: 0; font-family: var(--head); font-weight: 400; text-transform: uppercase; letter-spacing: 1px; line-height: .95;
  font-size: clamp(44px, 6.5vw, 88px); color: var(--paper); transform: rotate(-1.5deg); transform-origin: left;
  text-shadow: -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink), 2px 2px 0 var(--ink), 6px 6px 0 var(--ink);
}
.sec-lede { max-width: 60ch; margin: 18px 0 0; color: var(--paper2); font-size: 19px; }
section { position: relative; max-width: 1220px; margin: 0 auto; padding: clamp(64px, 9vw, 120px) var(--gutter) 0; }

/* ── nav ──────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 22px;
  padding: 10px var(--gutter); background: rgba(13, 11, 9, .88); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 0 rgba(0, 0, 0, .35);
}
.nav-logo { display: flex; gap: 7px; white-space: nowrap; font-family: var(--head); font-size: 28px; letter-spacing: 1px; text-decoration: none; transform: rotate(-2deg); }
.nav-logo span:first-child, .foot-logo span:first-child { color: var(--paper); }
.nav-logo span:last-child, .foot-logo span:last-child { color: var(--pumpkin); }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--paper2); text-decoration: none; font-family: var(--head); font-size: 18px; letter-spacing: 1.5px; text-transform: uppercase; }
.nav-links a:hover { color: var(--tape); }
.x-link { position: relative; display: grid; place-items: center; width: 40px; height: 40px; color: var(--paper); border: 2px solid rgba(236, 226, 204, .4); border-radius: 50%; }
.x-link svg { width: 18px; height: 18px; fill: currentColor; }
.x-link[aria-disabled="true"] { opacity: .6; cursor: default; }
.soon-dot { position: absolute; right: -14px; top: -8px; font-family: var(--head); font-size: 11px; letter-spacing: 1px; background: var(--blood); color: var(--paper); padding: 0 5px; border: 2px solid var(--ink); transform: rotate(8deg); }
.x-link:not([aria-disabled="true"]) .soon-dot { display: none; }
@media (max-width: 860px) { .nav-links { display: none; } .x-link { margin-left: auto; } }

/* ── hero ─────────────────────────────────────────────────── */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: center; max-width: 1400px; padding-top: clamp(36px, 6vw, 80px); }
.logo { margin: 0; width: max-content; max-width: none; padding-right: 14px; line-height: .86; transform: rotate(-3deg); -webkit-mask-image: var(--wear-lite); mask-image: var(--wear-lite); font-weight: 400; }
.logo span { display: block; font-family: var(--head); font-size: clamp(64px, 15vw, 150px); letter-spacing: 3px; white-space: nowrap; }
/* side-by-side layout: size the logo to its own column so HARVEST never runs under the dashcam */
@media (min-width: 981px) {
  .hero-copy { container-type: inline-size; position: relative; z-index: 2; }
  .logo span { font-size: min(25cqi, 168px); }
}
.logo .l1 { color: var(--paper); text-shadow: -3px -3px 0 var(--ink), 3px -3px 0 var(--ink), -3px 3px 0 var(--ink), 3px 3px 0 var(--ink), 9px 9px 0 var(--ink); }
.logo .l2 { color: var(--pumpkin); margin-left: 8px; text-shadow: -3px -3px 0 var(--ink), 3px -3px 0 var(--ink), -3px 3px 0 var(--ink), 3px 3px 0 var(--ink), 9px 9px 0 var(--ink), 0 0 60px rgba(255, 122, 26, .45); }
.tagline { margin: 22px 0 0; font-family: var(--head); font-size: clamp(22px, 2.4vw, 32px); letter-spacing: 1px; color: var(--paper); }
.pitch { margin: 14px 0 0; max-width: 46ch; color: var(--paper2); font-size: 18px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }
.hero-cta .btn { font-size: 30px; padding: 12px 34px; }
.cta-note { font-family: var(--mono); font-size: 14px; color: var(--paper2); max-width: 28ch; line-height: 1.35; }

/* the one loud moment: the logo slams in, the REC light starts */
@media (prefers-reduced-motion: no-preference) {
  .logo { animation: slam .55s cubic-bezier(.2, 1.4, .4, 1) both .15s; }
  .hero-copy > :not(.logo) { animation: rise .5s ease-out both .55s; }
  @keyframes slam { 0% { transform: rotate(-9deg) scale(1.7); opacity: 0; } 60% { opacity: 1; } 100% { transform: rotate(-3deg) scale(1); } }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } }
}

/* dashcam */
.dashcam { margin: 0; position: relative; transform: rotate(1.2deg); }
.dash-mount { width: 120px; height: 26px; margin: 0 auto -4px; background: linear-gradient(#2b2723, #15120f); clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%); }
.dash-body { background: linear-gradient(160deg, #2a2622, #121010 60%); border-radius: 20px; padding: 14px 14px 0; box-shadow: 0 0 0 3px var(--ink), 12px 14px 0 rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .08); }
.dash-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #050404 url(assets/photos/horde.jpg) center / cover; box-shadow: inset 0 0 0 2px #000; }
.dash-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; opacity: 0; transition: opacity .8s; }
.feed-live .dash-screen iframe { opacity: 1; }
.dash-screen::after { /* scanlines + glass glare + vignette */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, .07) 0 22%, transparent 22.5%),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .16) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, .55));
}
.static { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; opacity: .55; transition: opacity .6s; }
.no-signal { position: absolute; inset: 0; display: grid; place-content: center; gap: 4px; text-align: center; transition: opacity .6s; }
.no-signal b { font-family: var(--head); font-size: clamp(30px, 5vw, 60px); letter-spacing: 4px; color: var(--paper); text-shadow: 4px 4px 0 var(--ink); }
.no-signal span { font-family: var(--mono); font-size: 14px; color: var(--paper2); }
.feed-live .static, .feed-live .no-signal { opacity: 0; }
.dash-hud { position: absolute; inset: 0; z-index: 2; pointer-events: none; font-family: var(--mono); font-weight: 700; font-size: clamp(11px, 1.2vw, 15px); letter-spacing: 1px; color: #f4efe4; text-shadow: 0 0 4px #000, 1px 1px 0 #000; }
.dash-hud > span { position: absolute; }
.rec { left: 14px; top: 12px; display: flex; align-items: center; gap: 7px; }
.rec i { width: 11px; height: 11px; border-radius: 50%; background: #ff2a1a; box-shadow: 0 0 10px #ff2a1a; }
@media (prefers-reduced-motion: no-preference) { .rec i { animation: blink 1.2s steps(1) infinite; } @keyframes blink { 50% { opacity: .15; } } }
.clock { right: 14px; top: 12px; }
.where { left: 14px; bottom: 12px; max-width: 46%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.speed { right: 14px; bottom: 34px; font-size: 1.15em; }
.speed b { font-size: 1.7em; color: var(--tape); }
.tally { right: 14px; bottom: 12px; display: flex; gap: 14px; }
.tally b { color: var(--pumpkin); }
.dash-open { position: absolute; inset: 0; z-index: 1; cursor: pointer; }
.feed-start { position: absolute; z-index: 3; left: 50%; top: 62%; transform: translateX(-50%); }
.dash-lip { display: flex; align-items: center; justify-content: space-between; padding: 10px 6px 12px; }
.lens { width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #6a88a8, #0a0d12 60%); box-shadow: 0 0 0 3px #000; }
.dash-btn { font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: 1px; color: var(--paper2); background: #0a0908; border: 2px solid #3a342e; border-radius: 6px; padding: 5px 12px; cursor: pointer; }
.dash-btn:hover { color: var(--tape); border-color: var(--tape); }
.tape-note {
  position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%) rotate(-2.5deg); white-space: nowrap;
  background: var(--tape); color: var(--ink); font-family: var(--type); font-size: 16px; padding: 6px 22px 5px;
  clip-path: polygon(1% 8%, 99% 0, 100% 88%, 97% 100%, 2% 94%, 0 20%);
}
@media (max-width: 980px) {
  /* phones & tablets: logo, then the live feed, then the pitch */
  .hero { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { display: contents; }
  .logo { order: 1; }
  .dashcam { order: 2; transform: none; margin: 52px 0 54px; }
  .tagline { order: 3; } .pitch { order: 4; } .hero-cta { order: 5; }
}
@media (max-width: 420px) {
  .nav { gap: 14px; }
  .nav-logo { font-size: 22px; }
  .nav .btn.small { font-size: 16px; padding: 5px 12px; }
}
@media (max-width: 560px) {
  .tape-note { white-space: normal; text-align: center; width: 88%; font-size: 14px; }
  .speed { bottom: 30px; }
  .tally { gap: 8px; }
  .where { display: none; }
}

/* hazard tape band */
.hazard {
  margin: clamp(70px, 9vw, 110px) -20px 0; transform: rotate(-2deg); overflow: hidden; white-space: nowrap;
  background: var(--tape); color: var(--ink); font-family: var(--head); font-size: clamp(22px, 2.6vw, 34px); letter-spacing: 2px; padding: 6px 0;
  border-block: 12px solid transparent; border-image: repeating-linear-gradient(-45deg, var(--ink) 0 14px, var(--tape) 14px 28px) 12;
  box-shadow: 0 10px 0 rgba(0, 0, 0, .4);
}
.hazard div { display: inline-block; padding-left: 20px; }

/* ── one night ────────────────────────────────────────────── */
.clock-road { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 18px; position: relative; }
.clock-road::before { /* the road the timeline runs along */
  content: ''; position: absolute; left: -12px; right: -12px; top: 0; height: 58px; background: var(--asphalt);
  background-image: linear-gradient(90deg, var(--tape) 0 34px, transparent 34px 70px); background-size: 70px 4px; background-repeat: repeat-x; background-position: 0 50%;
  border-block: 4px solid #2c2620; box-shadow: 0 8px 0 rgba(0, 0, 0, .35);
}
.clock-road li { position: relative; padding-top: 12px; }
.clock-road time { position: relative; display: inline-block; font-family: var(--head); font-size: 22px; letter-spacing: 1px; color: var(--ink); background: var(--paper); border: 3px solid var(--ink); padding: 0 10px; transform: rotate(-3deg); box-shadow: 3px 3px 0 var(--ink); }
.clock-road li:nth-child(3) time { background: var(--pumpkin); }
.clock-road li:last-child time { background: var(--tape); }
.clock-road h3 { margin: 28px 0 6px; font-family: var(--head); font-weight: 400; font-size: 26px; letter-spacing: .5px; line-height: 1.05; color: var(--paper); }
.clock-road p { margin: 0; font-size: 15px; color: var(--paper2); }
@media (max-width: 900px) {
  .clock-road { grid-template-columns: 1fr; gap: 26px; padding-left: 74px; }
  .clock-road::before { left: 0; right: auto; top: -10px; bottom: -10px; width: 52px; height: auto; background-image: linear-gradient(var(--tape) 0 34px, transparent 34px 70px); background-size: 4px 70px; background-repeat: repeat-y; background-position: 50% 0; border-block: 0; border-inline: 4px solid #2c2620; }
  .clock-road li { padding-top: 0; }
  .clock-road time { position: absolute; left: -84px; top: 2px; font-size: 18px; }
  .clock-road h3 { margin-top: 0; }
}
.loop { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 64px; }
.loop-card { position: relative; padding: 26px 24px 22px; }
.loop-card:nth-child(1) { transform: rotate(-1.2deg); }
.loop-card:nth-child(2) { transform: rotate(.9deg) translateY(14px); }
.loop-card:nth-child(3) { transform: rotate(-.5deg); }
.loop-card::before { content: ''; position: absolute; left: 50%; top: -14px; width: 92px; height: 26px; margin-left: -46px; background: rgba(232, 185, 35, .85); transform: rotate(-4deg); clip-path: polygon(3% 0, 97% 8%, 100% 100%, 0 92%); }
.loop-card h3 { margin: 0 0 8px; font-family: var(--head); font-weight: 400; font-size: 28px; line-height: 1.05; }
.loop-card p { margin: 0; font-size: 16px; }
@media (max-width: 860px) { .loop { grid-template-columns: 1fr; } .loop-card:nth-child(2) { transform: rotate(.9deg); } }

/* ── arsenal ──────────────────────────────────────────────── */
.tabs { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.tabs [aria-selected="true"] { background: var(--pumpkin); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(208px, 1fr)); gap: 28px 22px; margin-top: 30px; }
.card { display: flex; flex-direction: column; background: var(--paper2); color: var(--ink); border: 4px solid var(--ink); box-shadow: 8px 8px 0 rgba(0, 0, 0, .65); transition: transform .15s; }
@media (hover: hover) { .card:hover { transform: translateY(-6px) rotate(-1deg); } }
.card .top { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 10px 4px; border-bottom: 3px solid var(--ink); font-family: var(--head); font-size: 17px; letter-spacing: 1px; }
.card .top small { font-family: var(--mono); font-weight: 700; font-size: 11px; letter-spacing: .5px; }
.card.rare .top { background: #b6d4f2; } .card.epic .top { background: #dcb6f2; }
.card .art { position: relative; height: 140px; margin: 8px; display: grid; place-items: center; background: #f6f1e4; border: 3px solid var(--ink); background-image: radial-gradient(rgba(0, 0, 0, .09) 1px, transparent 1.4px); background-size: 5px 5px; }
.card .art img { position: absolute; inset: 0; margin: auto; width: 86%; height: 86%; object-fit: contain; filter: drop-shadow(2px 0 0 #0d0b09) drop-shadow(-2px 0 0 #0d0b09) drop-shadow(0 2px 0 #0d0b09) drop-shadow(0 -2px 0 #0d0b09) drop-shadow(5px 5px 0 rgba(0, 0, 0, .25)); }
.card .art .glyph { font-size: 64px; line-height: 1; color: var(--gc); text-shadow: 3px 3px 0 var(--ink), -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink); }
.card .kind { position: absolute; right: 6px; top: 4px; font-family: var(--mono); font-weight: 700; font-size: 10px; letter-spacing: 1px; color: #6a6050; text-transform: uppercase; }
.card .info { flex: 1; background: var(--ink2); margin: 0 8px 8px; padding: 10px; border: 3px solid var(--ink); }
.card .name { font-family: var(--head); font-size: 21px; letter-spacing: .5px; color: var(--paper); line-height: 1.05; }
.card .desc { font-family: var(--mono); font-size: 13px; line-height: 1.35; color: var(--paper2); margin-top: 6px; }
.card .starts { margin-top: 8px; font-family: var(--head); font-size: 13px; letter-spacing: 1px; color: var(--tape); }

/* ── bosses ───────────────────────────────────────────────── */
.board { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 56px); margin-top: 46px; }
.pinned { background: var(--paper); color: var(--ink); padding: 14px 14px 22px; box-shadow: 10px 12px 0 rgba(0, 0, 0, .6); position: relative; }
.pinned::before { content: ''; position: absolute; top: -12px; left: 50%; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff8a6a, #a01a10 60%, #4a0805); box-shadow: 2px 3px 0 rgba(0, 0, 0, .5); z-index: 1; }
.pinned img { border: 3px solid var(--ink); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.tilt-l { transform: rotate(-2deg); } .tilt-r { transform: rotate(1.6deg) translateY(30px); }
.pinned-text h3 { margin: 14px 0 4px; font-family: var(--head); font-weight: 400; font-size: 36px; line-height: 1; color: var(--dried); }
.pinned-text p { margin: 0; font-size: 16px; }
.horde { margin: clamp(70px, 9vw, 110px) 0 0; position: relative; }
.horde img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 60%;
  clip-path: polygon(0 3%, 6% 0, 14% 2%, 22% 0, 31% 2.5%, 40% .5%, 52% 2%, 63% 0, 72% 2.4%, 83% .4%, 92% 2%, 100% 0, 100% 97%, 93% 100%, 84% 97.6%, 74% 99.6%, 63% 97.5%, 52% 100%, 41% 97.8%, 30% 99.5%, 19% 97%, 9% 99.6%, 0 97.4%); }
.horde figcaption { position: absolute; left: 4%; bottom: -22px; max-width: min(520px, 88%); background: var(--tape); color: var(--ink); padding: 8px 18px 7px; font-size: 16px; line-height: 1.35; transform: rotate(-1.5deg); clip-path: polygon(1% 6%, 99% 0, 100% 90%, 98% 100%, 1% 95%, 0 18%); }
@media (max-width: 760px) { .board { grid-template-columns: 1fr; } .tilt-r { transform: rotate(1.6deg); } .horde img { aspect-ratio: 4 / 3; } .horde figcaption { position: relative; left: auto; bottom: auto; margin-top: -10px; } }

/* ── motor pool ───────────────────────────────────────────── */
.cars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.car { position: relative; padding: 18px 20px 20px; background: radial-gradient(ellipse 70% 50% at 50% 36%, rgba(255, 210, 140, .16), transparent 70%), #141110; border: 3px solid #2c2620; }
.car img { height: 130px; width: 100%; object-fit: contain; filter: drop-shadow(0 14px 10px rgba(0, 0, 0, .7)); }
.car h3 { margin: 10px 0 0; font-family: var(--head); font-weight: 400; font-size: 28px; line-height: 1; }
.car .cls { margin: 4px 0 8px; font-family: var(--mono); font-size: 13px; color: var(--tape); }
.car p { margin: 0; font-size: 15px; color: var(--paper2); }
.car .price { position: absolute; right: 14px; top: 14px; font-family: var(--head); font-size: 15px; letter-spacing: 1px; color: var(--ink); background: var(--paper); padding: 1px 8px; transform: rotate(4deg); box-shadow: 2px 2px 0 var(--ink); }
.car .price.free { background: var(--pumpkin); }
@media (max-width: 900px) { .cars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cars { grid-template-columns: 1fr; } }

/* ── tournaments ──────────────────────────────────────────── */
.tourney-head { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.stamp {
  font-family: var(--head); font-size: clamp(26px, 3.4vw, 44px); letter-spacing: 3px; text-transform: uppercase; color: #c0180e;
  border: 6px solid #c0180e; border-radius: 8px; padding: 2px 20px; transform: rotate(-8deg); background: rgba(236, 226, 204, .92);
  -webkit-mask-image: var(--wear); mask-image: var(--wear); box-shadow: 4px 4px 0 rgba(0, 0, 0, .5);
}
.flyers { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 50px; }
.flyer { position: relative; flex: 1 1 300px; max-width: 460px; padding: 30px 28px 24px; transform: rotate(-1.6deg); }
.flyer.weekly { transform: rotate(1.3deg) translateY(10px); }
.flyer .pin { position: absolute; top: -11px; left: 50%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff8a6a, #a01a10 60%, #4a0805); box-shadow: 2px 3px 0 rgba(0, 0, 0, .5); }
.flyer h3 { margin: 0; font-family: var(--head); font-weight: 400; font-size: clamp(34px, 3.4vw, 44px); line-height: 1; }
.flyer.daily h3 { color: #b0400a; } .flyer.weekly h3 { color: var(--dried); }
.flyer .when { margin: 6px 0 14px; font-family: var(--head); font-size: 17px; letter-spacing: 1px; opacity: .75; }
.flyer ul { margin: 0; padding-left: 20px; font-size: 17px; line-height: 1.6; }
.tourney-why { max-width: 62ch; margin: 54px 0 0; font-size: 18px; color: var(--paper2); }

/* ── roadmap road ─────────────────────────────────────────── */
.milestones { list-style: none; margin: 50px 0 0; padding: 0 0 0 96px; position: relative; display: grid; gap: 40px; }
.milestones::before { /* the road */
  content: ''; position: absolute; left: 18px; top: -20px; bottom: -20px; width: 56px; background: var(--asphalt);
  background-image: linear-gradient(var(--tape) 0 30px, transparent 30px 62px); background-size: 4px 62px; background-repeat: repeat-y; background-position: 50% 0;
  border-inline: 4px solid #2c2620;
}
.milestones li { position: relative; }
.mile { position: absolute; left: -92px; top: -2px; width: 48px; height: 58px; display: grid; place-items: center; font-family: var(--head); font-size: 30px; color: var(--ink); background: var(--paper); border: 3px solid var(--ink); border-radius: 6px 6px 3px 3px; box-shadow: 3px 3px 0 var(--ink); }
.milestones .done .mile { background: var(--pumpkin); }
.milestones h3 { margin: 0 0 6px; font-family: var(--head); font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.05; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.milestones p { margin: 0; max-width: 60ch; color: var(--paper2); }
.tag { font-style: normal; font-family: var(--head); font-size: 15px; letter-spacing: 1px; padding: 1px 10px; border: 2px solid var(--ink); transform: rotate(-3deg); }
.tag.live { background: var(--toxic); color: var(--ink); }
@media (max-width: 560px) { .milestones { padding-left: 76px; } .milestones::before { left: 8px; width: 46px; } .mile { left: -76px; width: 42px; height: 50px; font-size: 26px; } }

/* ── token ────────────────────────────────────────────────── */
.plate-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 32px; margin-top: 40px; }
.plate {
  width: min(520px, 100%); aspect-ratio: 2 / 1; display: grid; grid-template-rows: auto 1fr auto; place-items: center; padding: 14px 26px 12px;
  background: linear-gradient(170deg, #f4efe2, #d8cfb8); color: var(--ink); border-radius: 18px; position: relative;
  box-shadow: inset 0 0 0 5px var(--ink), inset 0 0 0 9px #f4efe2, inset 0 0 0 12px #2a2420, 10px 12px 0 rgba(0, 0, 0, .55);
  transform: rotate(-2deg);
}
.plate::before, .plate::after { content: ''; position: absolute; top: 22px; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #9a948a, #3a3630); box-shadow: inset 0 0 0 2px #2a2420; }
.plate::before { left: 30%; } .plate::after { right: 30%; }
.plate-state { font-family: var(--head); font-size: 22px; letter-spacing: 6px; color: #2c7a2a; margin-top: 6px; }
.plate-ca { font-family: var(--head); font-size: clamp(36px, 6.4vw, 70px); letter-spacing: 3px; line-height: 1; text-shadow: 2px 2px 0 rgba(255, 255, 255, .6); text-align: center; word-break: break-all; }
.plate-ca.set { font-size: clamp(28px, 4.8vw, 52px); }
.plate-foot { font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; }
.ca-full { flex-basis: 100%; font-family: var(--mono); font-size: 14px; color: var(--paper2); word-break: break-all; }
.fineprint { margin-top: 28px; font-family: var(--mono); font-size: 14px; color: var(--paper2); }

/* ── footer ───────────────────────────────────────────────── */
.foot { margin-top: clamp(80px, 10vw, 140px); padding: 40px var(--gutter) 48px; background: #080706; text-align: center; border-top: 12px solid transparent; border-image: repeating-linear-gradient(-45deg, var(--ink) 0 14px, var(--tape) 14px 28px) 12; }
.foot-logo { font-family: var(--head); font-size: 44px; letter-spacing: 2px; display: flex; justify-content: center; gap: 10px; transform: rotate(-2deg); -webkit-mask-image: var(--wear-lite); mask-image: var(--wear-lite); }
.foot-links { display: flex; justify-content: center; align-items: center; gap: 22px; margin: 18px 0; }
.foot-x { color: var(--paper); font-family: var(--head); font-size: 22px; text-decoration: none; }
.foot-x small { font-family: var(--mono); font-size: 12px; color: var(--paper2); }
.foot-x[aria-disabled="false"] small { display: none; }
.foot p { margin: 0; font-family: var(--mono); font-size: 13px; color: #8a7f6a; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
