/* =========================================================================
   Saikou theme. Mobile-first. All values come from tokens.css.
   Effects live on chrome (backgrounds, frames, badges, headers) only.
   Vehicle photos and the lightbox stay clean.
   ========================================================================= */

/* ---- Base ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: 1.5;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.05; }
p { margin: 0 0 var(--space-3); }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { max-width: var(--max-w); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--acid); color: var(--ink); padding: var(--space-2) var(--space-3); font-family: var(--font-mono); }
.skip-link:focus { left: var(--space-3); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Surfaces --------------------------------------------------------- */
.surface-paper, .surface-ink { position: relative; }
.surface-paper > *, .surface-ink > * { position: relative; z-index: 1; }

/* Halftone dots + paper grain on paper sections */
.surface-paper::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(var(--halftone-dot) 0.7px, transparent 0.8px);
  background-size: var(--halftone-size) var(--halftone-size);
  opacity: var(--halftone-opacity);
}
.surface-paper::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: var(--grain-tile);
  background-size: 160px 160px;
  opacity: var(--grain-opacity);
  mix-blend-mode: multiply;
}
body.surface-paper::before, body.surface-paper::after { position: fixed; }

/* Scanlines + vignette on ink sections */
.surface-ink { background: var(--ink); color: var(--paper); }
.surface-ink::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: repeating-linear-gradient(to bottom, var(--scan-color) 0 1px, transparent 1px var(--scanline-size));
  opacity: var(--scanline-opacity);
}
.surface-ink::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: var(--vignette);
}

/* ---- Type ------------------------------------------------------------- */
.headline {
  font-family: var(--font-headline);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.95;
}
.headline--skew { display: inline-block; transform: skewX(var(--skew)); }
.headline--outline {
  paint-order: stroke fill;
  -webkit-text-stroke: var(--outline-width) var(--ink);
}
.surface-ink .headline--outline { -webkit-text-stroke-color: var(--paper); }
.misreg { text-shadow: calc(-1 * var(--misreg-offset)) 0 var(--red), var(--misreg-offset) 0 var(--cyan); }
.jp { font-family: var(--font-jp); font-weight: 900; }
.mono { font-family: var(--font-mono); font-size: var(--fs-sm); letter-spacing: 0.02em; }
.osd {
  font-family: var(--font-osd);
  font-size: 1.25rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-shadow: 0 0 6px var(--cyan-glow);
}
.kicker { font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.18em; color: var(--red-text); font-weight: 700; }
.surface-ink .kicker { color: var(--acid); }
.deck { font-size: var(--fs-lg); line-height: 1.35; max-width: 60ch; }
.prose { max-width: 68ch; }
.prose p { margin-bottom: 1em; }
.prose h2, .prose h3 { margin: 1.5em 0 0.5em; font-family: var(--font-headline); text-transform: uppercase; }

/* ---- Banner bars, stickers, rules ------------------------------------ */
.banner {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-headline);
  font-weight: 400;
  text-transform: uppercase;
  font-size: var(--fs-xl);
  line-height: 1;
  padding: 0.15em 0.55em 0.18em;
  transform: skewX(var(--skew));
  margin-left: 0.25em;
}
.banner > span { display: inline-block; transform: skewX(calc(-1 * var(--skew))); }
.banner--red { background: var(--red); color: var(--on-red); }
.banner--magenta { background: var(--magenta); color: var(--ink); }
.banner--paper { background: var(--paper); color: var(--ink); }
.banner--sm { font-size: var(--fs-lg); }
.banner--jp { font-family: var(--font-jp); font-weight: 900; }

.sticker {
  display: inline-block;
  background: var(--acid);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-hard-sm);
  transform: rotate(var(--sticker-rotate));
  padding: 0.3em 0.6em;
  font-family: var(--font-headline);
  text-transform: uppercase;
  line-height: 1;
  text-decoration: none;
}
.sticker--red { background: var(--red); color: var(--on-red); }
.sticker--magenta { background: var(--magenta); color: var(--ink); }
.sticker--cyan { background: var(--cyan); color: var(--ink); }
.sticker--paper { background: var(--paper); color: var(--ink); }
.sticker--ink { background: var(--ink); color: var(--paper); border-color: var(--paper); box-shadow: 2px 2px 0 var(--paper); }

.rule { border: 0; border-top: var(--rule); margin: var(--space-4) 0; }
.rule--thin { border-top: var(--rule-thin); }
.box { border: var(--rule); padding: var(--space-3); box-shadow: var(--shadow-hard); background: var(--paper); }
.surface-ink .box { background: var(--ink-soft); border-color: var(--paper); box-shadow: 4px 4px 0 var(--paper); }

/* Numbered callout circle ① */
.callout {
  display: inline-grid; place-items: center;
  width: 2.2em; height: 2.2em;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
  font-family: var(--font-headline);
  font-size: 1rem;
  line-height: 1;
  box-shadow: var(--shadow-hard-sm);
  flex: none;
}
.surface-ink .callout { border-color: var(--paper); box-shadow: 2px 2px 0 var(--paper); }

/* ---- Buttons ----------------------------------------------------------
   Each variant swaps fill and text color on hover/focus, plus the small lift.
   Hover colors are tokens too; tune them in tokens.css. */
.button {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  border: var(--rule);
  padding: 0.8em 1.4em;
  font-family: var(--font-headline);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: var(--fs-md);
  line-height: 1;
  text-decoration: none;
  box-shadow: var(--shadow-hard);
  transition: transform 80ms ease, box-shadow 80ms ease, background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}
.button:hover, .button:focus-visible {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--ink);
  background: var(--red);
  color: var(--on-red);
}
.button:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

.button--red { background: var(--red); color: var(--on-red); }
.button--red:hover, .button--red:focus-visible { background: var(--ink); color: var(--acid); }

.button--paper { background: var(--paper); color: var(--ink); }
.button--paper:hover, .button--paper:focus-visible { background: var(--ink); color: var(--paper); }

.button--acid { background: var(--acid); color: var(--ink); }
.button--acid:hover, .button--acid:focus-visible { background: var(--ink); color: var(--acid); }

.button--ghost { background: transparent; color: inherit; box-shadow: none; border-color: currentColor; }
.button--ghost:hover, .button--ghost:focus-visible { background: var(--ink); color: var(--paper); box-shadow: none; border-color: var(--ink); }

/* On ink surfaces (and the cover) the shadow and the "dark" hover state flip to paper/acid */
.surface-ink .button, .cover .button { border-color: var(--paper); box-shadow: 4px 4px 0 var(--paper); }
.surface-ink .button:hover, .surface-ink .button:focus-visible,
.cover .button:hover, .cover .button:focus-visible { box-shadow: 5px 5px 0 var(--paper); }
.surface-ink .button--paper, .cover .button--paper { color: var(--ink); }
.surface-ink .button--paper:hover, .surface-ink .button--paper:focus-visible,
.cover .button--paper:hover, .cover .button--paper:focus-visible { background: var(--acid); color: var(--ink); }
.surface-ink .button--red:hover, .surface-ink .button--red:focus-visible,
.cover .button--red:hover, .cover .button--red:focus-visible { background: var(--paper); color: var(--ink); }
.surface-ink .button--acid:hover, .surface-ink .button--acid:focus-visible,
.cover .button--acid:hover, .cover .button--acid:focus-visible { background: var(--paper); color: var(--ink); }
.surface-ink .button--ghost:hover, .surface-ink .button--ghost:focus-visible,
.cover .button--ghost:hover, .cover .button--ghost:focus-visible { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ---- Rubber stamps ---------------------------------------------------- */
.stamp {
  display: inline-grid;
  justify-items: center;
  gap: 0;
  padding: 0.2em 0.55em 0.25em;
  border: var(--stamp-border) solid currentColor;
  border-radius: 3px;
  font-family: var(--font-headline);
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.06em;
  opacity: var(--stamp-opacity);
  transform: rotate(var(--stamp-rotate));
  filter: url(#saikou-stamp);
  mix-blend-mode: multiply;
  background: var(--paper-veil);
  text-decoration: none;
  white-space: nowrap;
}
.stamp__jp { font-family: var(--font-jp); font-weight: 900; font-size: 0.72em; letter-spacing: 0.1em; }
.stamp__en { font-size: 1em; }
.stamp--green { color: var(--green-dark); }
.stamp--amber { color: var(--amber-dark); }
.stamp--blue  { color: var(--tape); }
.stamp--grey  { color: var(--grey); }
.stamp--red   { color: var(--red-text); }
.stamp--tab { font-size: var(--fs-sm); transform: rotate(-3deg); }
.stamp--inline { font-size: var(--fs-lg); }
.stamp--big { font-size: var(--fs-xl); }
.surface-ink .stamp { mix-blend-mode: screen; background: var(--ink-veil); }
.surface-ink .stamp--green { color: var(--green); }
.surface-ink .stamp--amber { color: var(--acid); }
.surface-ink .stamp--blue  { color: var(--cyan); }
.surface-ink .stamp--grey  { color: var(--paper-dark); }
.surface-ink .stamp--red   { color: var(--magenta); }

/* ---- Masthead --------------------------------------------------------- */
.masthead {
  background: var(--paper);
  border-bottom: var(--rule);
  position: sticky; top: 0; z-index: 50;
}
.masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: var(--masthead-h); }
.masthead__brand { display: flex; align-items: center; gap: var(--space-2); text-decoration: none; min-width: 0; }
.masthead__mark { width: 44px; height: 44px; flex: none; }
.masthead__word { font-size: 1.5rem; white-space: nowrap; }
.masthead__issue { display: none; }
.nav-toggle {
  background: var(--ink); color: var(--paper); border: 0;
  padding: 0.5em 0.8em; font-family: var(--font-mono); text-transform: uppercase; font-size: var(--fs-xs); letter-spacing: 0.1em;
  display: inline-flex; align-items: center; gap: 0.6em;
}
.nav-toggle__bar { width: 18px; height: 2px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }
.nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--ink); color: var(--paper);
  border-bottom: var(--rule-width) solid var(--red);
  padding: var(--space-3) var(--gutter);
}
.nav.is-open { display: block; }
.nav__list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.nav__list a {
  display: block; padding: 0.7em 0;
  font-family: var(--font-headline); text-transform: uppercase; font-size: var(--fs-lg); text-decoration: none;
  border-bottom: 1px solid var(--grey);
}
.nav__list .current-menu-item > a, .nav__list a[aria-current="page"] { color: var(--acid); }
/* Inventory: the primary action, styled as a red banner */
.nav__list .nav__item--primary > a { background: var(--red); color: var(--on-red); padding-left: var(--space-3); border-bottom: 0; margin-bottom: var(--space-2); font-size: var(--fs-xl); }
.nav__list .nav__item--primary > a::after { content: " →"; }
.nav__ig { display: inline-block; margin-top: var(--space-3); color: var(--cyan); text-decoration: none; }
.nav__ig:hover, .nav__ig:focus-visible { color: var(--red); }

@media (min-width: 900px) {
  .masthead__issue { display: inline-block; margin-left: var(--space-3); padding: 0.2em 0.5em; border: 1px solid var(--ink); font-size: var(--fs-xs); }
  .nav-toggle { display: none; }
  .nav { display: flex; position: static; background: transparent; color: inherit; border: 0; padding: 0; align-items: center; gap: var(--space-4); }
  .nav__list { flex-direction: row; gap: var(--space-3); }
  .nav__list a { border: 0; padding: 0.2em 0; font-size: var(--fs-md); position: relative; }
  .nav__list a:hover, .nav__list a:focus-visible { color: var(--red-text); }
  .nav__list .current-menu-item > a { color: var(--red-text); box-shadow: 0 3px 0 var(--red); }
  .nav__list .nav__item--primary { margin-right: var(--space-2); }
  .nav__list .nav__item--primary > a {
    display: inline-block; background: var(--red); color: var(--on-red);
    padding: 0.35em 0.9em; margin: 0; font-size: 1.15rem; letter-spacing: 0.04em;
    transform: skewX(var(--skew)); box-shadow: var(--shadow-hard-sm);
    transition: background-color 120ms ease, color 120ms ease, transform 80ms ease;
  }
  .nav__list .nav__item--primary > a::after { content: none; }
  .nav__list .nav__item--primary > a:hover, .nav__list .nav__item--primary > a:focus-visible { background: var(--ink); color: var(--acid); transform: skewX(var(--skew)) translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
  .nav__list .nav__item--primary.current-menu-item > a { background: var(--ink); color: var(--paper); box-shadow: var(--shadow-hard-sm); }
  .nav__ig { margin: 0; color: var(--ink); padding: 0.25em 0.6em; border: 2px solid var(--ink); box-shadow: var(--shadow-hard-sm); transform: rotate(var(--sticker-rotate)); transition: background-color 120ms ease, color 120ms ease; }
  .nav__ig:hover, .nav__ig:focus-visible { background: var(--red); color: var(--on-red); }
}

/* ---- Tracking sweep (once on load) ------------------------------------ */
.tracking {
  position: fixed; left: 0; right: 0; top: -12vh; height: 10vh; z-index: 90; pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.10) 40%, rgba(36,214,232,0.12) 50%, rgba(255,255,255,0.10) 60%, transparent);
  mix-blend-mode: screen;
  animation: saikou-tracking var(--tracking-duration) linear 1 forwards;
}
@keyframes saikou-tracking {
  from { transform: translateY(0); }
  to   { transform: translateY(130vh); }
}

/* ---- Section scaffolding --------------------------------------------- */
.section { padding-block: var(--space-5); }
.section__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2) var(--space-3); margin-bottom: var(--space-4); }
.section__head .kicker { flex-basis: 100%; }
.section__more { margin-left: auto; }

/* ---- Vehicle card ----------------------------------------------------- */
.grid { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
.grid--rules { gap: var(--rule-width); padding: var(--rule-width); }
.grid--rules .card { border: 0; box-shadow: 0 0 0 var(--rule-width) var(--ink); }
@media (min-width: 640px)  { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(3, 1fr); } .grid--2 { grid-template-columns: repeat(2, 1fr); } }

.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  border: var(--rule);
  min-width: 0;
}
.card__link { position: absolute; inset: 0; z-index: 3; text-indent: -999px; overflow: hidden; }
.card__media { position: relative; aspect-ratio: var(--card-ratio); overflow: hidden; background: var(--ink); border-bottom: var(--rule); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__tab { position: absolute; top: 6px; left: 6px; z-index: 2; }
.card__osd { position: absolute; right: 8px; bottom: 6px; z-index: 2; font-size: 1rem; }
.card__body { padding: var(--space-3); display: grid; gap: var(--space-2); }
.card__title { font-size: 1.5rem; hyphens: manual; }
.card__title .nb { white-space: nowrap; }
.card__meta { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3); font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.06em; }
.card__meta strong { color: var(--red-text); }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); border-top: var(--rule-thin); padding-top: var(--space-2); }
.card__price { font-family: var(--font-headline); font-size: 1.35rem; }
.card__cta { font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.1em; }
.card__ribbon {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden;
  display: grid; place-items: center;
}
.card__ribbon span {
  display: block; width: 140%; text-align: center;
  background: var(--red-veil); color: var(--on-red);
  font-family: var(--font-headline); font-size: 2rem; text-transform: uppercase; letter-spacing: 0.2em;
  padding: 0.15em 0; transform: rotate(var(--stamp-rotate-sold));
  border-top: 3px solid var(--paper); border-bottom: 3px solid var(--paper);
}
.card__ribbon .jp { font-size: 0.8em; margin-right: 0.4em; }
.card--sold .card__price { display: none; }

/* VHS tracking band + static on card hover. Owner-requested (brief says chrome only):
   kept low-opacity and pointer-events: none so the photo stays readable. */
.card__media::before, .card__media::after {
  content: ""; position: absolute; left: 0; right: 0; pointer-events: none; z-index: 1; opacity: 0;
  transition: opacity 200ms ease;
}
.card__media::before {
  top: 0; bottom: 0;
  background-image: var(--static-tile);
  background-size: 200px 200px;
  mix-blend-mode: screen;
}
.card__media::after {
  height: 16%; top: -16%;
  background:
    var(--static-tile),
    linear-gradient(to bottom, transparent, rgba(255,255,255,0.7) 35%, rgba(36,214,232,0.5) 50%, rgba(255,255,255,0.7) 65%, transparent);
  background-size: 140px 140px, 100% 100%;
  mix-blend-mode: screen;
  transform: skewX(-3deg) scaleX(1.05);
}
@media (hover: hover) {
  .card:hover .card__media::before, .card:focus-within .card__media::before { opacity: var(--card-static-opacity); }
  .card:hover .card__media::after, .card:focus-within .card__media::after {
    opacity: var(--card-tracking-opacity);
    animation: saikou-card-tracking var(--card-tracking-duration) linear infinite;
  }
}
@keyframes saikou-card-tracking {
  0%   { transform: translateY(0) skewX(-3deg) scaleX(1.05); }
  100% { transform: translateY(740%) skewX(-3deg) scaleX(1.05); }
}

/* RGB split on hover: frame + title only, never the photo */
@media (hover: hover) {
  .card:hover, .card:focus-within { box-shadow: calc(-1 * var(--rgb-split)) 0 0 var(--red), var(--rgb-split) 0 0 var(--cyan), var(--shadow-hard); }
  .grid--rules .card:hover, .grid--rules .card:focus-within {
    box-shadow:
      calc(-1 * (var(--rule-width) + var(--rgb-split))) 0 0 var(--red),
      calc(var(--rule-width) + var(--rgb-split)) 0 0 var(--cyan),
      0 0 0 var(--rule-width) var(--ink),
      var(--shadow-hard);
  }
  .card:hover .card__title, .card:focus-within .card__title { text-shadow: calc(-1 * var(--rgb-split)) 0 var(--red), var(--rgb-split) 0 var(--cyan); }
  /* VHS distortion: row-wise horizontal tearing (SVG displacement, animated seed) plus a tiny jitter */
  .card:hover .card__media img, .card:focus-within .card__media img {
    filter: url(#saikou-vhs);
    animation: saikou-card-jitter var(--card-jitter-duration) steps(1) infinite;
  }
}
@keyframes saikou-card-jitter {
  0%   { transform: translateX(0); }
  18%  { transform: translateX(calc(-1 * var(--card-jitter))); }
  22%  { transform: translateX(var(--card-jitter)); }
  40%  { transform: translateX(0); }
  63%  { transform: translateX(calc(0.6 * var(--card-jitter))); }
  70%  { transform: translateX(0); }
  86%  { transform: translateX(calc(-0.8 * var(--card-jitter))); }
  100% { transform: translateX(0); }
}

/* ---- Front page = magazine cover -------------------------------------- */
.cover {
  position: relative;
  background: var(--ink); color: var(--paper);
  min-height: 78vh;
  display: grid; grid-template-rows: auto 1fr auto;
  overflow: hidden;
}
.cover__media { position: absolute; inset: 0; z-index: 0; }
.cover__media img { width: 100%; height: 100%; object-fit: cover; }
.cover__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,11,12,0.92) 0%, rgba(11,11,12,0.35) 45%, rgba(11,11,12,0.15) 100%);
}
.cover__scan {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(to bottom, var(--scan-color) 0 1px, transparent 1px var(--scanline-size));
  opacity: var(--scanline-opacity);
}
.cover__osd { position: relative; z-index: 2; display: flex; justify-content: space-between; padding: var(--space-3) var(--gutter); }
.cover__rec { display: inline-flex; align-items: center; gap: 0.4em; }
.cover__rec::before { content: ""; width: 0.6em; height: 0.6em; border-radius: 50%; background: var(--red); animation: saikou-blink var(--rec-blink) steps(1) infinite; }
@keyframes saikou-blink { 50% { opacity: 0; } }
.cover__lines { position: relative; z-index: 2; padding: 0 var(--gutter); display: flex; flex-wrap: wrap; gap: var(--space-2); align-content: flex-start; }
.cover__line { font-size: var(--fs-md); }
.cover__line:nth-child(2) { --sticker-rotate: 1.5deg; }
.cover__line:nth-child(3) { --sticker-rotate: -1deg; }
.cover__line:nth-child(4) { --sticker-rotate: 2deg; }
.cover__body { position: relative; z-index: 2; padding: var(--space-4) var(--gutter) var(--space-3); display: grid; gap: var(--space-3); align-content: end; }
.cover__kicker { color: var(--acid); }
.cover__title { font-size: var(--fs-2xl); text-shadow: calc(-1 * var(--misreg-offset)) 0 var(--red), var(--misreg-offset) 0 var(--cyan); max-width: 14ch; }
.cover__title a { text-decoration: none; }
.cover__sub { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); }
.cover__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-2); }
.cover__strip {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-4);
  background: var(--paper); color: var(--ink);
  border-top: var(--rule-width) solid var(--red);
  padding: var(--space-2) var(--gutter);
  font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.1em;
}
.cover__strip .jp { text-transform: none; letter-spacing: 0; }
@media (min-width: 900px) {
  .cover { min-height: 88vh; }
  .cover__lines { position: absolute; right: var(--gutter); top: 18%; z-index: 2; flex-direction: column; align-items: flex-end; width: auto; padding: 0; gap: var(--space-3); }
  .cover__line { font-size: var(--fs-lg); }
  .cover__title { font-size: var(--fs-3xl); }
}

/* Featured strip label */
.cover-note { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; }

/* How importing works */
.steps { display: grid; gap: var(--space-4); counter-reset: step; }
.step { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); align-items: start; border: var(--rule); padding: var(--space-3); background: var(--paper); box-shadow: var(--shadow-hard); }
.step__n { font-size: 1.4rem; }
.step__title { font-family: var(--font-headline); text-transform: uppercase; font-size: var(--fs-lg); margin-bottom: var(--space-1); }
.step__title .jp { font-size: 0.8em; color: var(--magenta); margin-left: 0.4em; }
.step p { margin: 0; font-size: var(--fs-sm); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } .step { grid-template-columns: 1fr; } }

/* About + IG + inquiry blocks */
.split { display: grid; gap: var(--space-4); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; align-items: start; } }
.ig-cta { display: grid; gap: var(--space-3); border: 3px solid var(--paper); padding: var(--space-4); position: relative; }
.ig-cta__handle { font-size: var(--fs-xl); }
.ig-cta .sticker { position: absolute; top: -1em; right: var(--space-3); }

/* ---- Inventory archive = feature spread --------------------------------- */
.archive-head { padding-block: var(--space-4) var(--space-3); border-bottom: var(--rule); display: grid; gap: var(--space-2); }
.archive-head__count { font-family: var(--font-mono); font-size: var(--fs-sm); }
.inventory { display: grid; gap: var(--space-4); padding-block: var(--space-4); }
@media (min-width: 1024px) { .inventory { grid-template-columns: var(--sidebar-w) 1fr; align-items: start; } }

.filters { border: var(--rule); background: var(--paper); box-shadow: var(--shadow-hard); }
.filters__head { display: flex; align-items: center; justify-content: space-between; padding: var(--space-2) var(--space-3); background: var(--ink); color: var(--paper); }
.filters__head .jp { color: var(--acid); font-size: var(--fs-sm); }
.filters__toggle { background: none; border: 1px solid var(--paper); color: inherit; font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase; padding: 0.3em 0.6em; }
.filters__body { padding: var(--space-3); display: grid; gap: var(--space-3); }
.filters__body[hidden] { display: none; }
.field { display: grid; gap: var(--space-1); }
.field label { font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.12em; }
.field select, .field input, .field textarea {
  width: 100%; font: inherit; font-family: var(--font-mono); font-size: var(--fs-sm);
  padding: 0.55em 0.6em; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); border-radius: 0;
}
.field textarea { min-height: 8em; resize: vertical; }
.field--row { grid-template-columns: 1fr 1fr; }
.field--row label { grid-column: 1 / -1; }
.filters__actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.filters__actions .button { padding: 0.6em 1em; font-size: var(--fs-sm); }
@media (min-width: 1024px) { .filters__toggle { display: none; } .filters__body[hidden] { display: grid; } .filters { position: sticky; top: calc(var(--masthead-h) + var(--space-3)); } }

.results__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-2); margin-bottom: var(--space-3); }
.results__sort { display: flex; align-items: center; gap: var(--space-2); font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.1em; }
.results__sort select { font-family: var(--font-mono); border: 2px solid var(--ink); background: var(--paper); padding: 0.35em 0.5em; border-radius: 0; }
.pagination { display: flex; flex-wrap: wrap; gap: var(--space-1); margin-top: var(--space-4); font-family: var(--font-mono); }
.pagination .page-numbers { display: inline-block; padding: 0.4em 0.7em; border: 2px solid var(--ink); text-decoration: none; }
.pagination .current { background: var(--ink); color: var(--paper); }
.empty { padding: var(--space-5) 0; text-align: center; }

/* ---- Single vehicle = feature article ---------------------------------- */
.article__head { padding-block: var(--space-4) var(--space-3); display: grid; gap: var(--space-2); }
.article__title { font-size: var(--fs-2xl); }
.article__row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); }
.article__chassis { font-family: var(--font-mono); font-weight: 700; font-size: var(--fs-lg); padding: 0.1em 0.5em; border: 2px solid var(--ink); }
.article__price { font-family: var(--font-headline); font-size: var(--fs-xl); }
.article__price small { display: block; font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.2em; }
.article__legal { font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.1em; padding: 0.3em 0.6em; background: var(--ink); color: var(--paper); }

/* Gallery: the one place with zero effects */
.gallery { background: var(--ink); color: var(--paper); padding-block: var(--space-3) var(--space-4); }
.gallery__lead { position: relative; border: var(--rule-width) solid var(--paper); background: var(--ink); }
.gallery__lead img { width: 100%; height: auto; aspect-ratio: var(--card-ratio); object-fit: cover; cursor: zoom-in; }
.gallery__counter { position: absolute; left: 10px; bottom: 10px; z-index: 2; padding: 0.1em 0.4em; background: var(--ink-veil); }
.gallery__caption {
  display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3);
  background: var(--red); color: var(--on-red);
  font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.1em;
  padding: var(--space-2) var(--space-3);
}
.gallery__thumbs { display: flex; gap: var(--space-2); overflow-x: auto; padding: var(--space-3) 0 var(--space-1); scroll-snap-type: x mandatory; scrollbar-width: thin; list-style: none; }
.gallery__thumb { flex: 0 0 auto; width: 110px; padding: 0; border: 2px solid var(--paper-dark); background: var(--ink); scroll-snap-align: start; }
.gallery__thumb img { width: 100%; aspect-ratio: var(--card-ratio); object-fit: cover; }
.gallery__thumb[aria-current="true"] { border-color: var(--cyan); box-shadow: 0 0 0 2px var(--cyan); }

/* Article layout: content + sidebar */
.article { display: grid; gap: var(--space-4); padding-block: var(--space-4); }
@media (min-width: 1024px) { .article { grid-template-columns: 1fr var(--sidebar-w); align-items: start; } .article__side { position: sticky; top: calc(var(--masthead-h) + var(--space-3)); } }
.article__main { display: grid; gap: var(--space-5); min-width: 0; }

.highlights { display: grid; gap: var(--space-2); list-style: none; }
.highlights li { display: flex; align-items: center; gap: var(--space-3); font-family: var(--font-mono); font-size: var(--fs-sm); font-weight: 700; position: relative; }
@media (min-width: 1024px) {
  .highlights li::before { content: ""; position: absolute; left: -40px; width: 30px; border-top: 2px dashed var(--ink); top: 50%; }
  .highlights { padding-left: 40px; }
}

.stat-box { display: grid; gap: var(--space-2); }
.stat { display: grid; gap: 0.1em; border-bottom: var(--rule-thin); padding-block: var(--space-2); }
.stat__label { font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.15em; color: var(--red-text); }
.stat__value { font-family: var(--font-headline); font-size: var(--fs-xl); line-height: 1; }
.stat__value small { font-family: var(--font-mono); font-size: var(--fs-xs); }

.spec { display: grid; gap: 0; }
@media (min-width: 640px) { .spec { grid-template-columns: 1fr 1fr; } }
.spec table { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: var(--fs-sm); }
.spec th, .spec td { text-align: left; padding: 0.5em 0.7em; border: 1px solid var(--ink); vertical-align: top; }
.spec th { width: 38%; font-weight: 700; background: var(--paper-dim); text-transform: uppercase; font-size: var(--fs-xs); letter-spacing: 0.08em; }
.spec tr:nth-child(even) td { background: rgba(0,0,0,0.03); }

.list-box { display: grid; gap: var(--space-3); }
@media (min-width: 640px) { .list-box { grid-template-columns: 1fr 1fr; } }
.list-box ul { list-style: none; display: grid; gap: var(--space-1); font-size: var(--fs-sm); }
.list-box li { padding-left: 1.2em; position: relative; }
.list-box li::before { content: "▸"; position: absolute; left: 0; color: var(--red-text); }
.list-box--issues li::before { content: "!"; font-family: var(--font-headline); }

.timeline { list-style: none; display: grid; gap: var(--space-2); counter-reset: tl; }
.timeline li { display: grid; grid-template-columns: auto 1fr; gap: var(--space-2); align-items: center; font-family: var(--font-mono); font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.55; }
.timeline li.is-done, .timeline li.is-current { opacity: 1; }
.timeline li.is-current { color: var(--red-text); font-weight: 700; }
.timeline .callout { width: 1.9em; height: 1.9em; font-size: 0.9rem; background: var(--paper); }
.timeline li.is-done .callout { background: var(--ink); color: var(--paper); }
.timeline li.is-current .callout { background: var(--red); color: var(--on-red); border-color: var(--ink); }
.timeline__eta { grid-column: 2; font-size: var(--fs-xs); opacity: 0.8; }
@media (min-width: 640px) { .timeline { grid-template-columns: repeat(4, 1fr); } .timeline li { grid-template-columns: auto 1fr; } }

.sheet { display: grid; gap: var(--space-3); }
@media (min-width: 640px) { .sheet { grid-template-columns: 220px 1fr; align-items: start; } }
.sheet__thumb { display: block; border: var(--rule); box-shadow: var(--shadow-hard); padding: 0; background: var(--paper); transform: rotate(var(--sticker-rotate)); cursor: zoom-in; }
.sheet__thumb img { width: 100%; }
.sheet__pdf { display: grid; place-items: center; aspect-ratio: 1 / 1.4; font-family: var(--font-headline); font-size: var(--fs-lg); text-decoration: none; }

.video { display: grid; gap: var(--space-2); }
.video__frame { position: relative; aspect-ratio: 16 / 9; background: var(--ink); border: var(--rule); overflow: hidden; }
.video__frame iframe, .video__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__frame--ig { aspect-ratio: auto; height: 780px; max-width: 560px; }
.video__frame--ig.is-playing { background: var(--paper); }
.video__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.video__play { position: absolute; inset: 0; display: grid; place-content: center; gap: var(--space-2); background: transparent; border: 0; color: var(--paper); }
.video__play .osd { font-size: 1.6rem; }
.video__play .button { pointer-events: none; }
.video__link { justify-self: start; }

.similar { padding-block: var(--space-5); }

.inquire { padding-block: var(--space-5); }
.inquire__grid { display: grid; gap: var(--space-4); }
@media (min-width: 900px) { .inquire__grid { grid-template-columns: 1fr 1.4fr; } }

/* ---- Forms (boring on purpose) ---------------------------------------- */
.form { display: grid; gap: var(--space-3); max-width: 640px; }
.form .button { justify-self: start; }
.form__row { display: grid; gap: var(--space-3); }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__fine { font-family: var(--font-mono); font-size: var(--fs-xs); opacity: 0.8; }
.form-notice { padding: var(--space-2) var(--space-3); border: 2px solid var(--ink); font-family: var(--font-mono); font-size: var(--fs-sm); }
.form-notice--ok { background: var(--acid); }
.form-notice--error { background: var(--red); color: var(--on-red); }

/* ---- Sticky mobile CTA ------------------------------------------------ */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: var(--space-2) var(--gutter); background: var(--paper-veil); border-top: var(--rule); backdrop-filter: blur(4px); }
.sticky-cta .button { display: block; text-align: center; box-shadow: none; }
.sticky-cta[hidden] { display: none; }
@media (min-width: 900px) { .sticky-cta { display: none; } }
body.is-vehicle { padding-bottom: 72px; }
@media (min-width: 900px) { body.is-vehicle { padding-bottom: 0; } }

/* ---- Lightbox: clean, black, no effects -------------------------------- */
.lightbox { border: 0; padding: 0; background: var(--ink); color: var(--white); max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: var(--ink); }
.lightbox__figure { margin: 0; width: 100%; height: 100%; display: grid; grid-template-rows: 1fr auto; place-items: center; }
.lightbox__img { max-width: 100vw; max-height: calc(100vh - 3rem); width: auto; height: auto; object-fit: contain; }
.lightbox__caption { padding: 0.4em 1em; font-size: 1.2rem; text-shadow: none; }
.lightbox__close, .lightbox__nav { position: absolute; z-index: 2; background: transparent; color: var(--white); border: 2px solid var(--white); width: 44px; height: 44px; font-size: 1.6rem; line-height: 1; }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }
.lightbox__nav[disabled] { opacity: 0.3; }
.lightbox__nav:hover { background: var(--white); color: var(--ink); }
body.has-lightbox { overflow: hidden; }

/* ---- Generic pages ---------------------------------------------------- */
.page-head { padding-block: var(--space-4) var(--space-3); border-bottom: var(--rule); display: grid; gap: var(--space-2); }
.page-body { padding-block: var(--space-4) var(--space-5); }
.explainer { display: grid; gap: var(--space-4); counter-reset: ex; }
.explainer__item { border: var(--rule); padding: var(--space-3); box-shadow: var(--shadow-hard); background: var(--paper); display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); }
.explainer__item h3 { font-family: var(--font-headline); text-transform: uppercase; font-size: var(--fs-lg); margin-bottom: var(--space-1); }
.explainer__item p { margin: 0 0 var(--space-2); font-size: var(--fs-sm); }
.explainer__item ul { padding-left: 1.2em; font-size: var(--fs-sm); }
.year-calc { display: grid; gap: var(--space-2); border: var(--rule); padding: var(--space-3); background: var(--ink); color: var(--paper); font-family: var(--font-mono); }
.year-calc__out { font-family: var(--font-osd); font-size: 2rem; color: var(--cyan); }
.contact-grid { display: grid; gap: var(--space-4); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.4fr; } }
.contact-list { list-style: none; display: grid; gap: var(--space-2); font-family: var(--font-mono); }
.error-404 { padding-block: var(--space-6); text-align: center; display: grid; gap: var(--space-3); justify-items: center; }
.error-404 .osd { font-size: 2rem; }

/* ---- About page ------------------------------------------------------- */
.about__head { border-bottom: 0; }
.about__stickers { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-2); }
.about__stickers .sticker:nth-child(2) { --sticker-rotate: 1.5deg; }
.about__stickers .sticker:nth-child(4) { --sticker-rotate: 2deg; }
.about__grid { display: grid; gap: var(--space-4); border-top: var(--rule); }
@media (min-width: 900px) { .about__grid { grid-template-columns: 1.4fr 1fr; align-items: start; } .about__side { position: sticky; top: calc(var(--masthead-h) + var(--space-3)); } }
.about__body p:first-of-type { font-size: var(--fs-lg); line-height: 1.4; }
.about__body p:first-of-type::first-letter { font-family: var(--font-headline); font-size: 3.2em; float: left; line-height: 0.8; padding: 0.08em 0.12em 0 0; color: var(--red-text); }
.about__card { display: grid; justify-items: center; text-align: center; gap: var(--space-1); }
.about__mark { width: 120px; height: 120px; }
.about__name { font-size: 2rem; margin: 0; }
.about__meaning { margin: 0; opacity: 0.85; }
.about__facts { margin: var(--space-3) 0 0; border: var(--rule); }
.about__facts > div { display: grid; grid-template-columns: 100px 1fr; gap: var(--space-2); padding: var(--space-2) var(--space-3); border-bottom: var(--rule-thin); }
.about__facts > div:last-child { border-bottom: 0; }
.about__facts > div:nth-child(even) { background: var(--paper-dim); }
.about__facts dt { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.12em; color: var(--red-text); font-weight: 700; margin: 0; }
.about__facts dd { margin: 0; }
.about__cta-box { display: grid; gap: var(--space-2); text-align: center; justify-items: center; }

/* ---- Footer ----------------------------------------------------------- */
.footer { border-top: var(--rule-width) solid var(--red); }
.footer__inner { display: grid; gap: var(--space-4); padding-block: var(--space-5); }
@media (min-width: 900px) { .footer__inner { grid-template-columns: 1.2fr 1fr 1fr; } }
.footer__mark { width: 72px; height: 72px; }
.footer__tag { font-size: 2rem; margin: var(--space-2) 0 0; }
.footer__meaning { opacity: 0.8; }
.footer__h { font-size: var(--fs-lg); margin-bottom: var(--space-3); }
.footer__list { list-style: none; display: grid; gap: var(--space-1); }
.footer__list a { text-decoration: none; }
.footer__list a:hover { color: var(--acid); }
.footer__strip { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2) var(--space-4); padding: var(--space-2) var(--gutter); border-top: 1px solid var(--grey); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; }

/* ---- Styleguide ------------------------------------------------------- */
.sg { display: grid; gap: var(--space-5); padding-block: var(--space-4) var(--space-6); }
.sg__block { display: grid; gap: var(--space-3); }
.sg__row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.sg__swatch { width: 120px; border: var(--rule); box-shadow: var(--shadow-hard-sm); font-family: var(--font-mono); font-size: var(--fs-xs); }
.sg__swatch i { display: block; height: 64px; }
.sg__swatch span { display: block; padding: 0.4em 0.5em; background: var(--paper); }
.sg__ink { background: var(--ink); color: var(--paper); padding: var(--space-3); }
.sg__type > * { margin-bottom: var(--space-2); }

/* ---- Reduced motion: static styling stays, motion goes ----------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tracking { display: none; }
  .cover__rec::before { animation: none; }
  .card__media::after, .card__media::before { display: none; }
  .card:hover .card__media img { filter: none; animation: none; }
  .button, .card { transition: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}
