/* ==========================================================================
   Overengineered Sim Racing Co.
   Design system: "the readout"

   The products are 16-LED rev bars that sweep green -> amber -> red.
   That strip is the site's structural device: it's the scroll indicator,
   it's the card hover state, it's the loading state. Nothing decorative
   is invented that the product doesn't already do.

   Type: Archivo (display + text) / IBM Plex Mono (all data)
   Rule: every number on this site is monospaced with tabular figures.
   ========================================================================== */

/* --- tokens --------------------------------------------------------------- */

:root {
  --paper:      #faf9f7;
  --paper-2:    #f2f1ed;
  --card:       #ffffff;
  --ink:        #101112;
  --ink-2:      #3a3d41;
  --muted:      #6b6f74;
  --line:       rgba(16, 17, 18, 0.13);
  --line-2:     rgba(16, 17, 18, 0.28);
  --red:        #d8391b;
  --red-ink:    #b62c12;

  /* rev-bar LEDs */
  --led-green:  #24b357;
  --led-amber:  #e8a317;
  --led-red:    #e0301a;
  --led-off:    rgba(16, 17, 18, 0.11);

  --sans: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --max:   1280px;
  --gut:   24px;
  --head:  68px;

  --ease:  cubic-bezier(0.22, 0.61, 0.36, 1);
  --snap:  cubic-bezier(0.3, 0.9, 0.3, 1);
}

@media (min-width: 860px) {
  :root { --gut: 40px; --head: 76px; }
}

/* --- reset ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head) + 24px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

::selection { background: var(--red); color: #fff; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 1px;
}

.sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px;
  font: 600 13px/1 var(--mono); text-decoration: none;
  transition: top 0.18s var(--ease);
}
.skip:focus { top: 8px; }

/* --- typography ----------------------------------------------------------- */

h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 0.98;
  margin: 0;
  text-wrap: balance;
}

.display {
  font-size: clamp(2.6rem, 8.4vw, 6.2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.035em;
  line-height: 0.92;
}

h2 { font-size: clamp(1.85rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.2rem, 2.1vw, 1.55rem); letter-spacing: -0.02em; line-height: 1.15; }
h4 { font-size: 1.02rem; letter-spacing: -0.012em; line-height: 1.3; }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.06rem, 1.7vw, 1.28rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 34em;
}

.prose { max-width: 40em; color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--red-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--ink); }
.prose h3 { color: var(--ink); margin: 2.2em 0 0.6em; }
.prose ul { padding-left: 1.1em; margin: 0 0 1.1em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--red); }

.muted { color: var(--muted); }

/* Every number, code, price and spec value is mono with tabular figures. */
.num, .price, .spec-v, .stat-n, code, kbd {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* Section eyebrow: numbered, never preceded by a rule or dash. The number
   IS the marker — a spec-sheet device, not a decorative flourish. */
.eyebrow {
  font: 600 11.5px/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 22px;
}
.eyebrow b {
  color: var(--red);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* --- layout --------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gut);
}

section { position: relative; }

.band { padding-block: clamp(56px, 8vw, 104px); }
.band--tight { padding-block: clamp(40px, 5vw, 64px); }
.band--line { border-top: 1px solid var(--line); }
.band--fill { background: var(--paper-2); }

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(24px, 3.2vw, 44px);
}
.grid > * { min-width: 0; }

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(6, 1fr); }
}

/* --- the rev strip -------------------------------------------------------- */
/* 16 segments. Green 1-8, amber 9-12, red 13-16 — a real F1 rev bar order. */

.rev {
  display: flex;
  gap: 3px;
  width: 100%;
}
.rev i {
  flex: 1 1 0;
  height: 3px;
  background: var(--led-off);
  transition: background 0.14s linear;
}
.rev i.on:nth-child(-n+8)  { background: var(--led-green); }
.rev i.on:nth-child(n+9)   { background: var(--led-amber); }
.rev i.on:nth-child(n+13)  { background: var(--led-red); }

/* page scroll progress — pinned under the header, reads as an instrument */
.rev--scroll {
  position: fixed;
  top: var(--head);
  left: 0; right: 0;
  z-index: 90;
  gap: 2px;
  padding: 0;
  pointer-events: none;
}
.rev--scroll i { height: 3px; }

/* --- header --------------------------------------------------------------- */

.hdr {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--head);
  background: rgba(250, 249, 247, 0.92);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
}
@supports (backdrop-filter: blur(6px)) {
  .hdr { backdrop-filter: saturate(1.4) blur(8px); }
}

.hdr__in {
  width: 100%; max-width: var(--max);
  margin-inline: auto; padding-inline: var(--gut);
  display: flex; align-items: center; gap: 28px;
}

.brand { display: flex; align-items: center; gap: 20px; text-decoration: none; margin-right: auto; }
/* logo and expo marks were supplied as opaque PNGs on #fbfbfb; both have had
   their backgrounds keyed out so they sit on the paper ground */
.brand img { width: 178px; }
@media (max-width: 560px) { .brand img { width: 138px; } }

.expo { height: 34px; width: auto; opacity: 0.9; }
@media (max-width: 1000px) { .expo { display: none; } }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font: 600 14.5px/1 var(--sans);
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
  padding: 6px 0;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.22s var(--snap);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.burger {
  display: none;
  width: 42px; height: 42px;
  margin-right: -8px;
  background: none; border: 0; cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute; left: 10px; right: 10px; height: 2px;
  background: var(--ink);
  transition: transform 0.26s var(--snap), opacity 0.14s linear;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 800px) {
  .burger { display: block; }
  .nav {
    position: fixed;
    top: var(--head); left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gut) 22px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
    max-height: calc(100vh - var(--head));
    overflow-y: auto;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .nav a::after { display: none; }
}

/* --- trust bar (static — no marquee) -------------------------------------- */

.trust {
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: #fff;
}
.trust ul {
  list-style: none; margin: 0;
  padding: 0 var(--gut);
  max-width: var(--max); margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
.trust li {
  font: 500 10.5px/1 var(--mono);
  letter-spacing: 0.055em;
  text-transform: uppercase;
  padding: 14px 10px;
  text-align: center;
  color: rgba(255, 255, 255, 0.82);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  display: flex; align-items: center; justify-content: center;
  white-space: nowrap;
}
@media (max-width: 1320px) and (min-width: 1081px) {
  .trust li { font-size: 9.5px; letter-spacing: 0.03em; padding-inline: 6px; }
}
.trust li:first-child { border-left: 0; }

@media (max-width: 1080px) {
  .trust ul { grid-template-columns: repeat(3, 1fr); }
  .trust li:nth-child(3n+1) { border-left: 0; }
  .trust li:nth-child(n+4) { border-top: 1px solid rgba(255, 255, 255, 0.14); }
}
@media (max-width: 520px) {
  .trust ul { grid-template-columns: repeat(2, 1fr); }
  .trust li { font-size: 10px; padding: 11px 8px; letter-spacing: 0.05em; }
  .trust li:nth-child(3n+1) { border-left: 1px solid rgba(255, 255, 255, 0.14); }
  .trust li:nth-child(odd) { border-left: 0; }
  .trust li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.14); }
}

/* --- buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font: 700 13px/1 var(--mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.btn > span { padding: 15px 22px; }
.btn > b {
  align-self: stretch;
  display: grid; place-items: center;
  width: 46px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  font-weight: 400;
  transition: border-color 0.18s var(--ease);
}
.btn:hover { background: var(--red); border-color: var(--red); }

.btn--red { background: var(--red); border-color: var(--red); }
.btn--red:hover { background: var(--ink); border-color: var(--ink); }

.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost > b { border-left-color: var(--line-2); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--ghost:hover > b { border-left-color: rgba(255, 255, 255, 0.28); }

.btns { display: flex; flex-wrap: wrap; gap: 12px; }

.tlink {
  font: 600 13.5px/1 var(--mono);
  letter-spacing: 0.02em;
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 3px;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.tlink:hover { color: var(--red-ink); border-color: var(--red); }

/* --- hero ----------------------------------------------------------------- */

/* The headline runs full width — it is the best thing they own. The product is
   a long, thin bar, so it gets a wide cinematic crop underneath rather than a
   stranded square beside the type. */

.hero { padding-block: clamp(38px, 4.5vw, 64px) 0; }

.hero__copy { grid-column: 1 / -1; }

.hero h1 span { display: block; }
.hero h1 .hl { color: var(--red); }

.hero__meta {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3.2vw, 44px);
  align-items: end;
  margin-top: clamp(24px, 3vw, 40px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
@media (max-width: 720px) {
  .hero__meta { grid-template-columns: 1fr; gap: 18px; }
}

.hero__sub {
  font: 600 clamp(1.05rem, 1.7vw, 1.35rem)/1.35 var(--sans);
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.018em;
}

.hero__note {
  margin: 0;
  font-size: 0.93rem;
  color: var(--muted);
  max-width: 32em;
}
.hero__note b { color: var(--ink); font-weight: 700; }

.hero__art {
  margin-top: clamp(30px, 4vw, 52px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.hero__art img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: center 46%;
}
@media (max-width: 720px) {
  .hero__art img { aspect-ratio: 16 / 10; }
}

/* review strip — anchored beneath the hero, with the real rating figure */
.revw {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--card);
}
.revw__in {
  max-width: var(--max); margin-inline: auto;
  padding-inline: var(--gut);
  display: grid;
  grid-template-columns: auto repeat(3, 1fr);
  align-items: stretch;
}
.revw__score {
  padding: 20px 30px 20px 0;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: center;
}
.revw__score .stat-n {
  font-size: 1.9rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1;
}
.revw__score small {
  font: 500 10.5px/1.4 var(--mono);
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--muted); margin-top: 7px;
}
.revw__q { padding: 20px 26px; border-right: 1px solid var(--line); }
.revw__q:last-child { border-right: 0; }
.revw__q p { font-weight: 700; font-size: 0.97rem; letter-spacing: -0.012em; margin: 0 0 5px; }
.revw__q cite {
  font: 400 11.5px/1 var(--mono);
  color: var(--muted); font-style: normal;
}

.stars { color: var(--red); font-size: 11px; letter-spacing: 2px; display: block; margin-bottom: 8px; }

@media (max-width: 940px) {
  .revw__in { grid-template-columns: 1fr 1fr; }
  .revw__score { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; }
  .revw__q:nth-child(2) { border-right: 1px solid var(--line); }
  .revw__q:nth-child(3) { border-right: 0; }
  .revw__q:last-child { grid-column: 1 / -1; border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .revw__in { grid-template-columns: 1fr; }
  .revw__q { border-right: 0 !important; border-top: 1px solid var(--line); padding-inline: 0; }
  .revw__q:nth-child(2) { border-top: 0; }
}

/* --- product cards -------------------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(288px, 1fr));
  gap: clamp(18px, 2.2vw, 28px);
}

.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease);
}
.card:hover { border-color: var(--line-2); transform: translateY(-3px); }

.card__img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-2);
}
.card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.card:hover .card__img img { transform: scale(1.035); }

.card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: 7px; }
.card__body p { font-size: 0.92rem; color: var(--muted); line-height: 1.45; margin-bottom: 16px; }

.card__foot {
  margin-top: auto;
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.price { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.02em; }
.card__stock { font: 400 11px/1 var(--mono); color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; }

/* the card's own rev bar lights on hover — full card width, functional */
.card .rev { position: absolute; bottom: 0; left: 0; right: 0; gap: 2px; z-index: 2; }
.card .rev i { transition: background 0.2s var(--ease); transition-delay: calc(var(--i) * 18ms); }
.card:hover .rev i:nth-child(-n+8)  { background: var(--led-green); }
.card:hover .rev i:nth-child(n+9)   { background: var(--led-amber); }
.card:hover .rev i:nth-child(n+13)  { background: var(--led-red); }

.tag {
  position: absolute; top: 0; left: 0; z-index: 3;
  font: 700 10px/1 var(--mono);
  letter-spacing: 0.11em; text-transform: uppercase;
  padding: 8px 11px;
  background: var(--red); color: #fff;
}
.tag--soon { background: var(--ink); }

.card__note {
  position: absolute; bottom: 3px; left: 0; right: 0; z-index: 2;
  background: rgba(16, 17, 18, 0.86);
  color: #fff;
  font: 600 10.5px/1 var(--mono);
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 9px 11px; text-align: center;
}

/* locked / coming-soon product image */
.card__img--locked img { filter: blur(14px) saturate(0.6); transform: scale(1.12); }
.card:hover .card__img--locked img { transform: scale(1.12); }
.card__lock {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: rgba(16, 17, 18, 0.5);
}

/* --- spec / data sheet ---------------------------------------------------- */
/* Hairline rows, mono values, right-aligned. Reads like a datasheet. */

.spec { border-top: 1px solid var(--ink); }
.spec__row {
  display: grid;
  grid-template-columns: minmax(120px, 0.42fr) 1fr;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.spec__k {
  font: 500 11px/1.4 var(--mono);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}
.spec-v { font-size: 0.9rem; line-height: 1.5; color: var(--ink); }

@media (max-width: 560px) {
  .spec__row { grid-template-columns: 1fr; gap: 5px; }
}

/* feature list — number + label + detail, no bullet dashes */
.feats { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.feat {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.feat__n {
  font: 500 11px/1.7 var(--mono);
  color: var(--red);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}
.feat h4 { margin-bottom: 4px; }
.feat p { font-size: 0.9rem; color: var(--muted); line-height: 1.5; margin: 0; }

/* --- stats ---------------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  border-top: 1px solid var(--ink);
}
.stat {
  padding: 20px 22px 20px 0;
  border-bottom: 1px solid var(--line);
}
.stat-n {
  display: block;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat small {
  font: 500 10.5px/1.4 var(--mono);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}

/* --- split sections ------------------------------------------------------- */

.split { align-items: start; }
.split__a { grid-column: 1 / 7; }
.split__b { grid-column: 8 / 13; }
.split--wide .split__a { grid-column: 1 / 6; }
.split--wide .split__b { grid-column: 6 / 13; }

@media (max-width: 900px) {
  .split__a, .split__b,
  .split--wide .split__a, .split--wide .split__b { grid-column: 1 / -1; }
}

.sticky { position: sticky; top: calc(var(--head) + 34px); }
@media (max-width: 900px) { .sticky { position: static; } }

.figure { border: 1px solid var(--line); background: var(--card); }
.figure img { width: 100%; }
.figure figcaption {
  font: 400 11px/1.5 var(--mono);
  color: var(--muted);
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  letter-spacing: 0.03em;
}

/* --- callout panel -------------------------------------------------------- */

.panel {
  background: var(--ink);
  color: #fff;
  padding: clamp(28px, 4vw, 52px);
}
.panel h2 { color: #fff; }
.panel p { color: rgba(255, 255, 255, 0.72); }
.panel .eyebrow { color: rgba(255, 255, 255, 0.5); }
.panel .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.panel .btn--ghost > b { border-left-color: rgba(255, 255, 255, 0.3); }
.panel .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.panel .btn--ghost:hover > b { border-left-color: var(--line-2); }
.panel .feats, .panel .spec { border-top-color: rgba(255, 255, 255, 0.4); }
.panel .feat, .panel .spec__row { border-bottom-color: rgba(255, 255, 255, 0.15); }
.panel .feat p, .panel .spec__k { color: rgba(255, 255, 255, 0.6); }
.panel .spec-v { color: #fff; }

/* --- product page --------------------------------------------------------- */

.crumb {
  font: 400 11.5px/1 var(--mono);
  color: var(--muted);
  letter-spacing: 0.05em;
  padding: 18px 0;
}
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--red-ink); }

/* The buy column is much taller than the gallery, so the gallery tracks it
   rather than leaving half a screen of nothing beside the spec sheet. */
.pdp__media {
  grid-column: 1 / 7;
  position: sticky;
  top: calc(var(--head) + 28px);
  align-self: start;
}
.pdp__buy { grid-column: 7 / 13; }
@media (max-width: 900px) {
  .pdp__media, .pdp__buy { grid-column: 1 / -1; }
  .pdp__media { position: static; }
}

.shot {
  position: relative;
  border: 1px solid var(--line);
  background: var(--card);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot model-viewer { width: 100%; height: 100%; background: var(--card); }

/* Fixed eight-column track so the row never wraps and thumbnails stay the same
   size across products that have different numbers of shots. */
.thumbs {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}
.thumbs button {
  aspect-ratio: 4 / 3;
  padding: 0; border: 1px solid var(--line); background: var(--card);
  cursor: pointer; overflow: hidden;
  transition: border-color 0.16s var(--ease);
}
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button[aria-current="true"] { border-color: var(--ink); }
.thumbs button:hover { border-color: var(--line-2); }
.thumbs button.is3d {
  font: 600 9px/1.25 var(--mono);
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink);
  display: grid; place-items: center;
}

.pdp__buy h1 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  margin-bottom: 14px;
}
.pdp__price {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  padding: 18px 0;
  margin: 22px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}
.pdp__price .price { font-size: 1.9rem; letter-spacing: -0.04em; }
.pdp__price .card__stock { font-size: 11.5px; }

.pdp__links { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 20px; }

/* sticky buy bar — mobile */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  background: var(--ink); color: #fff;
  display: none;
  align-items: center; gap: 12px;
  padding: 10px 16px;
  transform: translateY(110%);
  transition: transform 0.28s var(--ease);
}
.buybar.show { transform: none; }
.buybar__t { font: 600 12px/1.3 var(--mono); flex: 1; min-width: 0; }
.buybar__t b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }
.buybar .btn { border-color: var(--red); background: var(--red); }
.buybar .btn > span { padding: 12px 16px; font-size: 12px; }
@media (max-width: 760px) { .buybar { display: flex; } }

/* --- FAQ ------------------------------------------------------------------ */

.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 17px 40px 17px 0;
  position: relative;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.014em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute; right: 6px; top: 50%;
  width: 11px; height: 2px; background: var(--ink);
  transform: translateY(-50%);
}
.faq summary::before {
  content: "";
  position: absolute; right: 11px; top: 50%;
  width: 2px; height: 11px; background: var(--ink);
  transform: translateY(-50%);
  transition: transform 0.22s var(--snap), opacity 0.16s linear;
}
.faq details[open] summary::before { transform: translateY(-50%) rotate(90deg); opacity: 0; }
.faq details[open] summary { color: var(--red-ink); }
.faq__a { padding: 0 0 20px; color: var(--ink-2); font-size: 0.95rem; max-width: 46em; }
.faq__a a { color: var(--red-ink); }

/* --- review list ---------------------------------------------------------- */

.rlist { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.rlist article {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.rlist p { font-size: 0.95rem; margin: 0 0 7px; color: var(--ink-2); }
.rlist cite { font: 400 11.5px/1 var(--mono); color: var(--muted); font-style: normal; }

/* --- games / chips -------------------------------------------------------- */

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chips li {
  list-style: none;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.02em;
  padding: 8px 11px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink-2);
}

/* --- steps (setup page) --------------------------------------------------- */

.steps { counter-reset: step; border-top: 1px solid var(--ink); }
.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.step__n {
  font: 500 12px/1.5 var(--mono);
  color: var(--red);
  font-variant-numeric: tabular-nums;
}
.step h4 { margin-bottom: 7px; }
.step p { font-size: 0.94rem; color: var(--ink-2); margin-bottom: 0.7em; }
.step img { border: 1px solid var(--line); margin-top: 12px; }

.note {
  background: var(--paper-2);
  border-left: 2px solid var(--red);
  padding: 14px 18px;
  font-size: 0.9rem;
  color: var(--ink-2);
  margin: 14px 0 0;
}

/* --- table ---------------------------------------------------------------- */

.tblwrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 520px; }
th, td {
  text-align: left;
  padding: 13px 16px 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  vertical-align: top;
}
thead th {
  font: 500 10.5px/1.4 var(--mono);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--ink);
}
td.n, th.n {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  text-align: right;
  padding: 13px 0 13px 22px;
}

/* Costed table: fixed tracks so the four money columns can't collide with the
   spec description, which is much longer than any of them. */
table.costs { table-layout: fixed; min-width: 780px; }
table.costs th:first-child { width: 34%; }
table.costs .n { width: 16.5%; }
table.costs td.n span { display: block; margin-top: 4px; }

/* --- form ----------------------------------------------------------------- */

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input, .field textarea {
  width: 100%;
  font: 400 16px/1.5 var(--sans);
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line-2);
  padding: 13px 14px;
  transition: border-color 0.16s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); }
.field textarea { resize: vertical; min-height: 140px; }

/* --- footer --------------------------------------------------------------- */

.ftr {
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  padding-block: clamp(40px, 5vw, 62px);
}
.ftr__grid { align-items: start; }
.ftr__a { grid-column: 1 / 6; }
.ftr__b { grid-column: 7 / 10; }
.ftr__c { grid-column: 10 / 13; }
@media (max-width: 900px) {
  .ftr__a { grid-column: 1 / -1; }
  .ftr__b { grid-column: 1 / 4; }
  .ftr__c { grid-column: 4 / 7; }
}

.ftr h5 {
  font: 500 10.5px/1 var(--mono);
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}
.ftr ul { list-style: none; margin: 0; padding: 0; }
.ftr li { margin-bottom: 10px; }
.ftr a { font-size: 0.92rem; text-decoration: none; color: var(--ink-2); }
.ftr a:hover { color: var(--red-ink); }

.ftr__legal {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 44em;
  margin-top: 22px;
}
.ftr__mib { width: 172px; margin-top: 26px; }

.ftr__base {
  margin-top: 38px; padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font: 400 11.5px/1.5 var(--mono);
  color: var(--muted);
}
.ftr__base a { font-size: inherit; }

/* site credit — hover-only, per house style */
.credit { color: var(--muted); text-decoration: none; opacity: 0.75; transition: opacity 0.18s, color 0.18s; }
.credit:hover { opacity: 1; color: var(--red-ink); }

/* --- reveal --------------------------------------------------------------- */

.rise { opacity: 0; transform: translateY(14px); }
.rise.in {
  opacity: 1; transform: none;
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

/* --- motion off ----------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .rise { opacity: 1; transform: none; }
  .card:hover { transform: none; }
}

/* --- print ---------------------------------------------------------------- */

@media print {
  .hdr, .trust, .rev--scroll, .buybar, .ftr__base { display: none; }
  body { background: #fff; }
}
