/* ==========================================================================
   Throttle Closet — bench chassis
   Dark workshop chassis + editorial serif voice + instrument-readout data.
   Colour carries meaning: rust = brand, amber = action, hi-viz = protection.
   NOTE: never use CSS aspect-ratio on a flex/grid child (WebKit mis-sizes it).
   ========================================================================== */

:root {
  --ink: #0b0c0e;
  --slab: #131519;
  --steel: #1a1d23;
  --edge: #262a33;
  --edge-soft: #1e222a;

  --rust: #c4551f;
  --rust-lift: #e2691f;
  --amber: #f5a524;
  --hiviz: #cbe83f;

  --paper: #efede7;
  --mute: #979dab;
  --faint: #6b7280;

  --band-tint: #101216;
  --band-paper: #e8e5dd;
  --band-paper-ink: #16181d;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  --rail-w: 248px;
  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1180px;
  --radius: 3px;
  --radius-lg: 6px;

  --z-tray: 60;
  --z-scrim: 70;
  --z-drawer: 80;
  --z-topbar: 90;
  --z-modal: 100;

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* --------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.04; }
p { margin: 0 0 1em; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ------------------------------------------------------ type utilities -- */
.u-mono { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.u-eyebrow {
  display: block; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--amber); margin-bottom: 14px;
}
.u-eyebrow::before {
  content: ""; display: inline-block; width: 22px; height: 1px;
  background: var(--rust); vertical-align: middle; margin-right: 10px;
}
.u-h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); letter-spacing: -0.025em; text-transform: uppercase; font-stretch: 112%; }
.u-lede { font-size: 1.06rem; color: var(--mute); max-width: 62ch; }
.u-skip {
  position: absolute; left: -9999px; top: 0; z-index: var(--z-modal);
  background: var(--amber); color: #101010; padding: 12px 18px;
  font-family: var(--mono); font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.12em; text-decoration: none;
}
.u-skip:focus { left: 12px; top: 12px; }
.u-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* --------------------------------------------------------------- shell -- */
.shell__main { margin-left: var(--rail-w); min-width: 0; }
.band { padding: clamp(64px, 8vw, 116px) var(--gutter); position: relative; }
.band--tint { background: var(--band-tint); }
.band--paper { background: var(--band-paper); color: var(--band-paper-ink); }
.band--paper .u-lede { color: #52565f; }
.band--paper .u-eyebrow { color: var(--rust); }
.band__inner { max-width: var(--maxw); margin: 0 auto; }
.band + .band:not(.band--paper)::before {
  content: ""; position: absolute; inset: 0 var(--gutter) auto; height: 1px; background: var(--edge);
}

/* ---------------------------------------------------------------- rail -- */
.rail {
  position: fixed; inset: 0 auto 0 0; width: var(--rail-w);
  background: var(--slab); border-right: 1px solid var(--edge);
  display: flex; flex-direction: column; z-index: var(--z-drawer);
  overflow-y: auto; overscroll-behavior: contain;
}
.rail__brand {
  display: flex; align-items: center; gap: 12px; padding: 20px 20px 18px;
  text-decoration: none; border-bottom: 1px solid var(--edge);
}
/* logo art ships on a white plate — frame it as a workshop sticker */
.rail__mark { width: 42px; height: 42px; flex: none; background: var(--paper); border-radius: var(--radius); padding: 3px; object-fit: contain; }
.rail__word { display: block; font-family: var(--display); font-weight: 800; font-size: 0.95rem; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1.1; }
.rail__tag { display: block; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin-top: 3px; }
.rail__scroll { padding: 18px 0 24px; flex: 1 1 auto; }
.rail__label { display: block; padding: 0 20px; margin: 22px 0 8px; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); }
.rail__link {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 44px; padding: 8px 20px; text-decoration: none;
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em; color: var(--mute);
  border-left: 2px solid transparent;
  transition: color 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease);
}
.rail__link:hover, .rail__link:focus-visible { color: var(--paper); background: #191c22; border-left-color: var(--rust); }
.rail__link[aria-current="page"] { color: var(--amber); border-left-color: var(--amber); }
.rail__count { font-size: 0.68rem; color: var(--faint); font-variant-numeric: tabular-nums; }
.rail__foot { padding: 16px 20px 22px; border-top: 1px solid var(--edge); }
.rail__cta {
  display: flex; align-items: center; justify-content: center; min-height: 44px; width: 100%;
  border: 1px solid var(--rust); background: transparent; color: var(--amber);
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; border-radius: var(--radius); cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.rail__cta:hover { background: var(--rust); color: #fff; }
.rail__legal { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.rail__legal a {
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; color: var(--faint);
  text-decoration: none; min-height: 34px; display: inline-flex; align-items: center;
}
.rail__legal a:hover { color: var(--paper); }

/* mobile top bar + drawer -------------------------------------------------- */
.topbar {
  display: none; position: fixed; inset: 0 0 auto 0; height: 60px;
  align-items: center; justify-content: space-between; gap: 12px; padding: 0 16px;
  background: rgba(11, 12, 14, 0.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--edge); z-index: var(--z-topbar);
}
.topbar__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.topbar__mark { width: 34px; height: 34px; flex: none; background: var(--paper); border-radius: var(--radius); padding: 2px; object-fit: contain; }
.topbar__word { display: block; font-family: var(--display); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.02em; text-transform: uppercase; }
.burger {
  width: 44px; height: 44px; flex: none; display: inline-flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
  background: none; border: 1px solid var(--edge); border-radius: var(--radius); cursor: pointer;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--paper); }
.scrim {
  position: fixed; inset: 0; background: rgba(4, 5, 6, 0.72);
  opacity: 0; pointer-events: none; transition: opacity 0.25s var(--ease); z-index: var(--z-scrim);
}
body.nav-open .scrim { opacity: 1; pointer-events: auto; }
body.nav-open { overflow: hidden; }

/* ---------------------------------------------------------------- hero -- */
.hero {
  position: relative; padding: clamp(72px, 7vw, 104px) var(--gutter) clamp(52px, 5vw, 76px);
  border-bottom: 1px solid var(--edge);
  /* no overflow:hidden — it would clip the search dropdown. The background is
     absolutely positioned at inset:0, so it cannot escape on its own. */
  z-index: 66;   /* the search dropdown lives in here and must clear the tray */
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; opacity: 0.5; }
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, var(--ink) 6%, rgba(11, 12, 14, 0.86) 42%, rgba(11, 12, 14, 0.2) 78%),
    linear-gradient(to top, var(--ink), transparent 45%);
}
.hero__inner { position: relative; max-width: var(--maxw); margin: 0 auto; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: end; }
.hero__plate {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px;
  border: 1px solid var(--edge); border-radius: 999px; background: rgba(19, 21, 25, 0.7);
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mute); margin-bottom: 22px;
}
.hero__pulse {
  width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--hiviz);
  box-shadow: 0 0 0 0 rgba(203, 232, 63, 0.6); animation: pulse 2.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(203, 232, 63, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(203, 232, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(203, 232, 63, 0); }
}
.hero__title { font-size: clamp(2.4rem, 5.6vw, 4.5rem); letter-spacing: -0.035em; text-transform: uppercase; font-stretch: 118%; margin-bottom: 20px; }
.hero__title em { font-style: normal; color: var(--amber); }
.hero__sub { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: #c3c7cf; max-width: 46ch; margin-bottom: 28px; }

/* search ------------------------------------------------------------------ */
.search { position: relative; max-width: 520px; z-index: 66; }  /* above the compare tray */
.search__field {
  display: flex; align-items: center; gap: 10px;
  background: rgba(19, 21, 25, 0.92); border: 1px solid var(--edge);
  border-radius: var(--radius-lg); padding: 4px 4px 4px 14px;
  transition: border-color 0.18s var(--ease);
}
.search__field:focus-within { border-color: var(--amber); }
.search__icon { width: 16px; height: 16px; flex: none; fill: none; stroke: #979dab; stroke-width: 2; }
.search__input {
  flex: 1 1 auto; min-width: 0; background: none; border: 0; outline: none;
  color: var(--paper); font-family: var(--mono); font-size: 0.85rem; padding: 13px 0;
}
.search__input::placeholder { color: var(--faint); }
.search__go {
  flex: none; min-height: 40px; padding: 0 16px; border: 0; border-radius: var(--radius);
  background: var(--rust); color: #fff; font-family: var(--mono); font-size: 0.68rem;
  letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; transition: background 0.18s var(--ease);
}
.search__go:hover { background: var(--rust-lift); }
.search__results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: var(--slab); border: 1px solid var(--edge); border-radius: var(--radius-lg);
  max-height: 320px; overflow-y: auto; z-index: 66; display: none;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}
.search__results[data-open="1"] { display: block; }
.search__results--up { top: auto; bottom: calc(100% + 8px); box-shadow: 0 -24px 48px rgba(0, 0, 0, 0.5); }
.search__hit {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px; min-height: 44px;
  text-decoration: none; border-bottom: 1px solid var(--edge-soft);
}
.search__hit:last-child { border-bottom: 0; }
.search__hit:hover, .search__hit:focus-visible { background: #191c22; }
.search__hit img { width: 40px; height: 40px; flex: none; object-fit: cover; border-radius: var(--radius); background: #0d0e11; }
.search__hitname { display: block; font-family: var(--display); font-size: 0.92rem; font-weight: 600; }
.search__hitmeta { display: block; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-top: 2px; }
.search__empty { padding: 16px; font-family: var(--mono); font-size: 0.74rem; color: var(--faint); }

/* hero stat cluster — big numerals in a divided grid ---------------------- */
.hero__stats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--edge); border-radius: var(--radius-lg);
  background: rgba(13, 14, 18, 0.82); overflow: hidden;
}
.hero__stat {
  padding: clamp(18px, 2.4vw, 26px); border-right: 1px solid var(--edge); border-bottom: 1px solid var(--edge);
  display: flex; flex-direction: column; justify-content: center; min-height: 108px;
}
.hero__stat:nth-child(2n) { border-right: 0; }
.hero__stat:nth-last-child(-n + 2) { border-bottom: 0; }
.hero__num {
  display: block; font-family: var(--display); font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.hero__num--hiviz { color: var(--hiviz); }
.hero__num--amber { color: var(--amber); }
.hero__statlabel { display: block; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin-top: 9px; }

/* -------------------------------------------------------------- section -- */
.sechead { margin-bottom: clamp(32px, 4vw, 52px); max-width: var(--maxw); }
.sechead--right { text-align: right; margin-left: auto; }
.sechead--right .u-eyebrow::before { display: none; }
.sechead--right .u-eyebrow::after {
  content: ""; display: inline-block; width: 22px; height: 1px; background: var(--rust);
  vertical-align: middle; margin-left: 10px;
}
.sechead--center { text-align: center; margin-left: auto; margin-right: auto; }
.sechead--center .u-lede { margin-left: auto; margin-right: auto; }
.sechead__title { margin-bottom: 14px; }

/* ------------------------------------------------------ editorial picks -- */
.picks { display: flex; flex-direction: column; gap: clamp(36px, 5vw, 72px); }
.pick { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3.5vw, 52px); align-items: center; }
.pick:nth-child(even) .pick__media { order: 2; }
.pick__media {
  position: relative; border: 1px solid var(--edge); border-radius: var(--radius-lg);
  overflow: hidden; background: #0e0f13; height: clamp(240px, 32vw, 400px);
}
.pick__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.pick:hover .pick__media img { transform: scale(1.035); }
.pick__rank {
  position: absolute; top: 0; left: 0; display: block; padding: 10px 16px;
  background: var(--amber); color: #14150f; font-family: var(--display); font-weight: 800;
  font-size: 1.05rem; letter-spacing: 0.04em; font-variant-numeric: tabular-nums;
}
.pick__cat { display: block; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; }
.pick__name { display: block; font-size: clamp(1.5rem, 2.7vw, 2.3rem); letter-spacing: -0.028em; text-transform: uppercase; margin-bottom: 14px; }
.pick__name a { text-decoration: none; }
.pick__name a:hover { color: var(--amber); }
.pick__say { color: var(--mute); margin-bottom: 20px; }
.pick__meters { display: flex; flex-direction: column; gap: 9px; margin-bottom: 22px; }
.pick__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* metric bar (shared) ----------------------------------------------------- */
.meter { display: grid; grid-template-columns: 84px minmax(0, 1fr) 34px; gap: 10px; align-items: center; }
.meter__k { display: block; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.meter__track { height: 5px; border-radius: 999px; background: #23262d; overflow: hidden; }
.meter__fill {
  display: block; height: 100%; width: 100%; background: var(--hiviz);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 0.9s var(--ease);   /* transform, not width — no layout thrash */
}
.meter__fill--amber { background: var(--amber); }
.meter__fill--rust { background: var(--rust-lift); }
.meter__v { display: block; text-align: right; font-family: var(--mono); font-size: 0.66rem; color: var(--paper); font-variant-numeric: tabular-nums; }
.band--paper .meter__track { background: #d2cec4; }
.band--paper .meter__k { color: #6c7079; }
.band--paper .meter__v { color: var(--band-paper-ink); }

/* buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: var(--radius); border: 1px solid transparent;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.btn--fill { background: var(--rust); color: #fff; }
.btn--fill:hover { background: var(--rust-lift); }
.btn--amber { background: var(--amber); color: #16150e; }
.btn--amber:hover { background: #ffb843; }
.btn--ghost { border-color: var(--edge); color: var(--paper); background: transparent; }
.btn--ghost:hover { border-color: var(--amber); color: var(--amber); }
.band--paper .btn--ghost { border-color: #c6c1b5; color: var(--band-paper-ink); }
.band--paper .btn--ghost:hover { border-color: var(--rust); color: var(--rust); }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: 0.64rem; }
.btn[aria-pressed="true"] { background: var(--hiviz); color: #14170a; border-color: var(--hiviz); }

/* ------------------------------------------------------- bench ranking -- */
.bench { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: start; }
.bench__aside { position: sticky; top: 96px; }
.bench__legend { border: 1px solid var(--edge); border-radius: var(--radius-lg); padding: 22px; background: var(--slab); }
.bench__legendtitle { display: block; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.bench__legenditem { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--edge-soft); }
.bench__legenditem:last-child { border-bottom: 0; }
.bench__dot { width: 8px; height: 8px; flex: none; border-radius: 2px; margin-top: 7px; background: var(--hiviz); }
.bench__legendk { display: block; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; }
.bench__legendd { display: block; font-size: 0.86rem; color: var(--faint); line-height: 1.45; }

.bench__rows { border-top: 1px solid var(--edge); }
.benchrow {
  display: grid; grid-template-columns: 54px 92px minmax(0, 1.15fr) minmax(0, 1fr) 74px;
  gap: 18px; align-items: center; padding: 16px 12px;
  border-bottom: 1px solid var(--edge); text-decoration: none; transition: background 0.2s var(--ease);
}
.benchrow:hover { background: #15181d; }
.benchrow__rank { display: block; font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.03em; color: var(--faint); font-variant-numeric: tabular-nums; }
.benchrow:nth-child(-n + 3) .benchrow__rank { color: var(--amber); }
.benchrow__thumb { width: 92px; height: 68px; flex: none; object-fit: cover; border-radius: var(--radius); background: #0e0f13; }
.benchrow__name { display: block; font-family: var(--display); font-weight: 700; font-size: 1.02rem; letter-spacing: -0.01em; margin-bottom: 5px; }
.benchrow__meta { display: block; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.benchrow__meters { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.benchrow__score { display: block; text-align: right; }
.benchrow__scoren { display: block; font-family: var(--display); font-weight: 800; font-size: 1.35rem; color: var(--hiviz); font-variant-numeric: tabular-nums; line-height: 1; }
.benchrow__scorel { display: block; font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-top: 5px; }

/* -------------------------------------------------- Gear-Up Builder ----- */
.builder { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.rig { border: 1px solid #d3cec2; border-radius: var(--radius-lg); background: #f4f2ec; padding: 24px; position: sticky; top: 96px; }
.rig__head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.rig__mascot { width: 62px; height: 62px; flex: none; object-fit: contain; }
.rig__title { display: block; font-size: 1.2rem; text-transform: uppercase; letter-spacing: -0.015em; }
.rig__note { display: block; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: #7a7e86; margin-top: 5px; }
.rig__figure { display: flex; justify-content: center; padding: 6px 0 14px; }
.rig__svg { width: 190px; height: 300px; flex: none; }
.rig__zone { fill: #d8d3c7; stroke: #b9b3a4; stroke-width: 1.2; transition: fill 0.4s var(--ease); }
.rig__zone.is-on { fill: #cbe83f; stroke: #9db41d; }
.rig__label { font-family: var(--mono); font-size: 7.2px; letter-spacing: 0.12em; fill: #7e8189; }
.rig__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid #d3cec2; border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; }
.rig__stat { padding: 12px 10px; border-right: 1px solid #d3cec2; text-align: center; }
.rig__stat:last-child { border-right: 0; }
.rig__statn { display: block; font-family: var(--display); font-weight: 800; font-size: 1.28rem; line-height: 1; font-variant-numeric: tabular-nums; }
.rig__statl { display: block; font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.12em; text-transform: uppercase; color: #7a7e86; margin-top: 6px; }
.rig__gap {
  position: relative; font-family: var(--mono); font-size: 0.68rem; line-height: 1.5;
  color: #6a4a1c; background: #f7e6c6; padding: 10px 12px 10px 28px;
  border-radius: var(--radius); margin-bottom: 14px;
}
.rig__gap::before {
  content: ""; position: absolute; left: 12px; top: 16px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--rust);
}
.rig__gap--ok { color: #3c5116; background: #e9f3c8; }
.rig__gap--ok::before { background: #7f9c1a; }
.rig__actions { display: flex; gap: 8px; flex-wrap: wrap; }

.slots { display: flex; flex-direction: column; gap: 14px; }
.slot { border: 1px solid #d3cec2; border-radius: var(--radius-lg); background: #f4f2ec; overflow: hidden; }
.slot__bar { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; padding: 12px 16px; }
.slot__name { display: flex; align-items: center; gap: 10px; flex: none; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; }
.slot__pin { width: 9px; height: 9px; flex: none; border-radius: 2px; background: #c9c3b5; }
.slot__pin.is-on { background: #cbe83f; }
.slot__hint { flex: none; font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.14em; text-transform: uppercase; color: #8b8f97; }
.slot__field { display: block; min-width: 0; flex: 1 1 240px; margin-left: auto; }
.slot__fieldlabel { display: block; font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.14em; text-transform: uppercase; color: #7a7e86; }
.slot__chosen { display: flex; align-items: center; gap: 12px; padding: 0 16px 14px; border-top: 1px solid #e0dbcf; padding-top: 12px; margin-top: 2px; }
.slot__chosen:empty { display: none; }
.slot__chosen img { width: 52px; height: 52px; flex: none; object-fit: cover; border-radius: var(--radius); background: #e6e2d8; }
.slot__chosenb { min-width: 0; flex: 1 1 auto; }
.slot__chosenname { display: block; font-family: var(--display); font-weight: 700; font-size: 0.98rem; }
.slot__chosenmeta { display: block; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: #7a7e86; margin-top: 3px; }
.slot__chosen a { color: var(--rust); text-decoration: none; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; min-height: 34px; display: inline-flex; align-items: center; }

.sel {
  min-height: 44px; padding: 0 34px 0 12px;
  border: 1px solid #cdc7ba; border-radius: var(--radius);
  background: #fffdf8 url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237a7e86' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center;
  -webkit-appearance: none; appearance: none;
  font-family: var(--mono); font-size: 0.76rem; color: var(--band-paper-ink); width: 100%; cursor: pointer;
}

/* ------------------------------------------------------------- catalog -- */
.filters {
  display: flex; flex-wrap: wrap;
  align-items: flex-end;      /* keeps the reset button level with the inputs */
  gap: 12px; padding: 18px; border: 1px solid var(--edge);
  border-radius: var(--radius-lg); background: var(--slab); margin-bottom: 26px;
}
.filters__field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 190px; min-width: 0; }
.filters__label { display: block; font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.filters__sel {
  min-height: 44px; padding: 0 34px 0 12px;
  border: 1px solid var(--edge); border-radius: var(--radius);
  background: #0f1115 url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23979dab' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center;
  -webkit-appearance: none; appearance: none;
  color: var(--paper); font-family: var(--mono); font-size: 0.76rem; width: 100%; cursor: pointer;
}
.filters__reset { flex: none; }
.filters__tally { flex: 1 1 100%; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; color: var(--faint); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip {
  min-height: 40px; padding: 0 15px; display: inline-flex; align-items: center;
  border: 1px solid var(--edge); border-radius: 999px; background: transparent;
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mute); cursor: pointer;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease), background 0.18s var(--ease);
}
.chip:hover { border-color: var(--amber); color: var(--amber); }
.chip[aria-pressed="true"] { background: var(--paper); color: #14161a; border-color: var(--paper); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(238px, 1fr)); gap: 18px; }
.card-wrap { position: relative; display: flex; min-width: 0; }
.card-wrap > .card { flex: 1 1 auto; }
.card {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--edge); border-radius: var(--radius-lg); background: var(--slab);
  overflow: hidden; text-decoration: none;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.card:hover { border-color: #3a3f4a; transform: translateY(-2px); }
.card__media { position: relative; height: 186px; flex: none; background: #0e0f13; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__rate {
  position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 8px; border-radius: var(--radius); background: rgba(9, 10, 12, 0.86);
  font-family: var(--mono); font-size: 0.64rem; color: var(--amber); font-variant-numeric: tabular-nums;
}
.card__body { padding: 15px 16px 16px; display: flex; flex-direction: column; flex: 1 1 auto; }
.card__cat { display: block; font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.card__name { display: block; font-family: var(--display); font-weight: 700; font-size: 1.02rem; letter-spacing: -0.012em; line-height: 1.18; margin-bottom: 12px; }
.card__feats { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.card__feat { display: flex; gap: 7px; font-size: 0.84rem; color: var(--mute); line-height: 1.35; }
.card__feat::before { content: ""; width: 5px; height: 5px; flex: none; margin-top: 7px; border-radius: 1px; background: var(--rust); }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--edge-soft); }
.card__bench { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.card__bench b { color: var(--hiviz); font-weight: 600; }

.pinbtn {
  position: absolute; top: 10px; left: 10px; width: 40px; height: 40px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--edge); border-radius: var(--radius); background: rgba(9, 10, 12, 0.86);
  color: var(--paper); cursor: pointer; font-family: var(--mono); font-size: 0.9rem; line-height: 1;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
  z-index: 3;
}
.pinbtn:hover { border-color: var(--amber); color: var(--amber); }
.pinbtn[aria-pressed="true"] { background: var(--hiviz); color: #14170a; border-color: var(--hiviz); }

/* pager ------------------------------------------------------------------- */
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: 30px; }
.pager__btn {
  min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 10px; border: 1px solid var(--edge); border-radius: var(--radius);
  background: transparent; color: var(--mute); font-family: var(--mono); font-size: 0.7rem;
  cursor: pointer; font-variant-numeric: tabular-nums;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.pager__btn:hover:not(:disabled) { border-color: var(--amber); color: var(--amber); }
.pager__btn[aria-current="true"] { background: var(--paper); color: #14161a; border-color: var(--paper); }
.pager__btn:disabled { opacity: 0.34; cursor: default; }
.pager__gap { min-width: 24px; text-align: center; color: var(--faint); font-family: var(--mono); font-size: 0.7rem; }
.empty { padding: 40px 0; text-align: center; color: var(--faint); font-family: var(--mono); font-size: 0.78rem; }

/* ----------------------------------------------------------- how we run -- */
.method { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--edge); border: 1px solid var(--edge); }
.method__cell { background: var(--ink); padding: clamp(22px, 2.6vw, 32px); }
.method__k { display: block; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.method__t { display: block; font-family: var(--display); font-weight: 700; font-size: 1.14rem; text-transform: uppercase; letter-spacing: -0.015em; margin-bottom: 10px; }
.method__d { font-size: 0.94rem; color: var(--mute); margin: 0; }
.method__ring {
  width: 46px; height: 46px; flex: none; border-radius: 50%; margin-bottom: 16px;
  /* conic ring instead of an SVG gradient — WebKit ignores var() in SVG attrs */
  background: conic-gradient(var(--hiviz) calc(var(--pct, 70) * 1%), #23262d 0);
  -webkit-mask: radial-gradient(circle, transparent 56%, #000 57%);
  mask: radial-gradient(circle, transparent 56%, #000 57%);
}

/* ------------------------------------------------------------- product -- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 26px; }
.crumbs a { text-decoration: none; color: var(--mute); min-height: 34px; display: inline-flex; align-items: center; }
.crumbs a:hover { color: var(--amber); }
.crumbs__sep { color: var(--edge); }

.phero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(24px, 3vw, 44px); align-items: stretch; }
.pcol { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.pcol--top { align-self: start; }
.pcol--stick { align-self: start; position: sticky; top: 92px; }

.gallery__stage {
  position: relative; border: 1px solid var(--edge); border-radius: var(--radius-lg);
  overflow: hidden; background: #0e0f13;
  height: clamp(300px, 38vw, 460px);   /* explicit height — never aspect-ratio */
  flex: none;
}
.gallery__stage img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; flex: none; }
.thumb {
  height: 84px; border: 1px solid var(--edge); border-radius: var(--radius);
  overflow: hidden; background: #0e0f13; padding: 0; cursor: pointer;
  transition: border-color 0.18s var(--ease);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-current="true"] { border-color: var(--amber); }

.specs { border: 1px solid var(--edge); border-radius: var(--radius-lg); background: var(--slab); display: flex; flex-direction: column; flex: 1 1 auto; overflow: hidden; }
.specs__head { padding: 14px 18px; border-bottom: 1px solid var(--edge); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.specs__title { display: block; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); }
.specs__list { display: flex; flex-direction: column; flex: 1 1 auto; }
.specs__row {
  display: grid; grid-template-columns: minmax(96px, 34%) minmax(0, 1fr); gap: 14px;
  padding: 13px 18px; border-bottom: 1px solid var(--edge-soft);
  flex: 1 1 auto;         /* rows flex to fill the exact column height */
  align-items: center;
}
.specs__row:last-child { border-bottom: 0; }
.specs__k { display: block; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.specs__v { display: block; font-size: 0.92rem; line-height: 1.4; }

.buybox { border: 1px solid var(--edge); border-radius: var(--radius-lg); background: var(--slab); overflow: hidden; }
.buybox__top { padding: 22px 22px 18px; border-bottom: 1px solid var(--edge); }
.buybox__cat { display: block; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; }
.buybox__name { font-size: clamp(1.5rem, 2.6vw, 2.15rem); letter-spacing: -0.028em; text-transform: uppercase; margin-bottom: 10px; }
.buybox__brand { display: block; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); margin-bottom: 16px; }
.buybox__tag { color: var(--mute); font-size: 0.96rem; margin: 0; }
.buybox__scoreline { display: flex; align-items: center; gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--edge); }
.dialwrap { width: 74px; height: 74px; flex: none; position: relative; display: grid; place-items: center; }
.dial {
  position: absolute; inset: 0; width: 74px; height: 74px; border-radius: 50%;
  background: conic-gradient(var(--amber) calc(var(--pct, 0) * 1%), #23262d 0);
  -webkit-mask: radial-gradient(circle, transparent 62%, #000 63%);
  mask: radial-gradient(circle, transparent 62%, #000 63%);
}
.dial__v { position: relative; display: block; font-family: var(--display); font-weight: 800; font-size: 1.16rem; font-variant-numeric: tabular-nums; }
.buybox__ratemeta { min-width: 0; }
.buybox__ratek { display: block; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.buybox__ratev { display: block; font-family: var(--display); font-weight: 700; font-size: 1.02rem; margin-top: 4px; }
.buybox__hl { padding: 16px 22px; display: flex; flex-direction: column; gap: 9px; border-bottom: 1px solid var(--edge); }
.buybox__hli { display: flex; gap: 9px; font-size: 0.9rem; color: var(--mute); line-height: 1.4; }
.buybox__hli::before { content: ""; width: 5px; height: 5px; flex: none; margin-top: 7px; border-radius: 1px; background: var(--hiviz); }
.buybox__act { padding: 18px 22px 20px; }
.buybox__cta { width: 100%; }
.buybox__disc { margin: 12px 0 0; font-family: var(--mono); font-size: 0.62rem; line-height: 1.55; letter-spacing: 0.04em; color: var(--faint); }
.buybox__cues { display: flex; flex-direction: column; gap: 7px; padding: 0 22px 20px; }
.buybox__cue { display: flex; gap: 8px; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }

.panel { border: 1px solid var(--edge); border-radius: var(--radius-lg); background: var(--slab); padding: 20px 22px; }
.panel__t { display: block; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.panel__list { display: flex; flex-direction: column; gap: 10px; }
.panel__li { display: flex; gap: 9px; font-size: 0.9rem; color: var(--mute); line-height: 1.45; }
.panel__li::before { content: ""; width: 5px; height: 5px; flex: none; margin-top: 7px; border-radius: 1px; background: var(--rust); }
.peer { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--edge-soft); }
.peer:last-child { border-bottom: 0; }
.peer img { width: 46px; height: 46px; flex: none; object-fit: cover; border-radius: var(--radius); background: #0e0f13; }
.peer__b { min-width: 0; flex: 1 1 auto; }
.peer__n { display: inline-flex; align-items: center; min-height: 34px; font-family: var(--display); font-weight: 700; font-size: 0.92rem; line-height: 1.2; text-decoration: none; }
.peer__n:hover { color: var(--amber); }
.peer__m { display: block; font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-top: 4px; }

.verdict { background: #14161b; border: 1px solid var(--edge); border-radius: var(--radius-lg); padding: 22px 24px; }
.verdict__k { position: relative; padding-bottom: 12px; }
.verdict__k::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: repeating-linear-gradient(90deg, var(--amber) 0 6px, transparent 6px 11px);
}
.verdict__k { display: block; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber); margin-bottom: 16px; }
.verdict__t { margin: 0; font-size: 1.06rem; line-height: 1.6; }

.prose { font-size: 1.02rem; line-height: 1.75; }
.prose p { margin: 0 0 1.15em; color: #d3d6dc; }
.prose p:last-child { margin-bottom: 0; }
.prose__drop::first-letter {
  float: left; font-family: var(--display); font-weight: 800; font-size: 3.4rem;
  line-height: 0.82; padding: 6px 12px 0 0; color: var(--amber);
}

.pcons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pcons__col { border: 1px solid var(--edge); border-radius: var(--radius-lg); background: var(--slab); padding: 20px 22px; }
.pcons__k { display: block; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 14px; }
.pcons__k--up { color: var(--hiviz); }
.pcons__k--down { color: var(--rust-lift); }
.pcons__li { display: flex; gap: 10px; font-size: 0.92rem; line-height: 1.45; color: var(--mute); margin-bottom: 10px; }
.pcons__li:last-child { margin-bottom: 0; }
.pcons__li::before { content: "+"; flex: none; font-family: var(--mono); font-size: 0.8rem; color: var(--hiviz); }
.pcons__col--down .pcons__li::before { content: "\2212"; color: var(--rust-lift); }

.scorecard { border: 1px solid var(--edge); border-radius: var(--radius-lg); background: var(--slab); padding: 22px; }
.scorecard__rows { display: flex; flex-direction: column; gap: 14px; }
.zonechips { display: flex; flex-wrap: wrap; gap: 6px; }
.zonechip {
  display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px;
  border: 1px solid var(--edge); border-radius: 999px;
  font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--faint);
}
.zonechip.is-on { border-color: var(--hiviz); color: var(--hiviz); }
.scorecard__note a { color: var(--amber); }
.scorecard__note { margin: 16px 0 0; font-family: var(--mono); font-size: 0.6rem; line-height: 1.6; letter-spacing: 0.04em; color: var(--faint); }

.related { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ------------------------------------------------------------ compare --- */
.tray {
  position: fixed; left: var(--rail-w); right: 0; bottom: 0;
  background: rgba(13, 15, 19, 0.97); border-top: 1px solid var(--edge);
  padding: 10px 16px; display: none; align-items: center; gap: 12px;
  z-index: var(--z-tray); backdrop-filter: blur(8px);
}
.tray[data-open="1"] { display: flex; }
.tray__items { display: flex; gap: 8px; overflow-x: auto; flex: 1 1 auto; min-width: 0; padding: 4px 0 2px; }
.trayitem { position: relative; flex: none; }
.trayitem img { width: 46px; height: 46px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--edge); background: #0e0f13; }
.trayitem__x {
  position: absolute; top: -7px; right: -7px; width: 24px; height: 24px; flex: none;
  border-radius: 50%; border: 1px solid var(--edge); background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-size: 0.66rem; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
/* the visible badge stays small; the tap target does not */
.trayitem__x::after { content: ""; position: absolute; inset: -7px; }
.tray__act { display: flex; gap: 8px; flex: none; }

.modal { position: fixed; inset: 0; z-index: var(--z-modal); display: none; }
.modal[data-open="1"] { display: block; }
.modal__scrim { position: absolute; inset: 0; background: rgba(4, 5, 6, 0.8); }
.modal__panel {
  position: absolute; top: 4vh; left: 50%; transform: translateX(-50%);
  width: min(1040px, 94vw); max-height: 92vh; display: flex; flex-direction: column;
  background: var(--slab); border: 1px solid var(--edge); border-radius: var(--radius-lg); overflow: hidden;
}
.modal__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 18px;                 /* tight — no tall empty band */
  border-bottom: 1px solid var(--edge);
}
.modal__t { display: block; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); }
.modal__x { width: 40px; height: 40px; flex: none; border: 1px solid var(--edge); border-radius: var(--radius); background: none; cursor: pointer; }
.modal__body { overflow: auto; padding: 0; }
.ctable { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.ctable th, .ctable td { padding: 11px 14px; border-bottom: 1px solid var(--edge-soft); text-align: left; vertical-align: top; }
.ctable thead th { padding-top: 12px; padding-bottom: 12px; background: var(--slab); position: sticky; top: 0; z-index: 2; }
.ctable tbody th {
  position: sticky; left: 0; z-index: 1;      /* pinned label column */
  background: var(--slab); font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--faint); font-weight: 400; min-width: 132px;
}
.ctable__prod { display: block; font-family: var(--display); font-weight: 700; font-size: 0.94rem; }
.ctable__meta { display: block; font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-top: 4px; }
.ctable img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--radius); margin-bottom: 8px; background: #0e0f13; }

/* ------------------------------------------------------------- footer --- */
.foot { background: var(--slab); border-top: 1px solid var(--edge); padding: clamp(44px, 5vw, 64px) var(--gutter) 28px; }
.foot__inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); }
.foot__brand { display: flex; gap: 14px; align-items: flex-start; }
.foot__mark { width: 52px; height: 52px; flex: none; background: var(--paper); border-radius: var(--radius); padding: 4px; object-fit: contain; }
.foot__name { display: block; font-size: 1.16rem; text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 8px; }
.foot__desc { color: var(--faint); font-size: 0.92rem; margin: 0; max-width: 44ch; }
.foot__k { display: block; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.foot__link { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; color: var(--mute); font-size: 0.92rem; }
.foot__link:hover { color: var(--paper); }
.foot__bottom { max-width: var(--maxw); margin: 34px auto 0; padding-top: 20px; border-top: 1px solid var(--edge); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
.foot__small { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; color: var(--faint); margin: 0; }

/* ------------------------------------------------------ cookie banner --- */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: var(--z-topbar);
  display: none; gap: 14px; align-items: center; flex-wrap: wrap; padding: 16px 18px;
  background: var(--slab); border: 1px solid var(--edge); border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}
html.cookie-ask .cookie { display: flex; }
.cookie__t { margin: 0; flex: 1 1 340px; font-size: 0.9rem; color: var(--mute); }
.cookie__t a { color: var(--amber); }
.cookie__act { display: flex; gap: 8px; flex: none; }

/* --------------------------------------------------------------- legal -- */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.34rem; text-transform: uppercase; letter-spacing: -0.015em; margin: 34px 0 12px; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--mute); }
.legal ul { margin: 0 0 1.1em; }
.legal li { display: flex; gap: 10px; margin-bottom: 8px; }
.legal li::before { content: ""; width: 5px; height: 5px; flex: none; margin-top: 9px; border-radius: 1px; background: var(--rust); }
.legal a { color: var(--amber); }

/* --------------------------------------------------------- reveal anim -- */
.rv { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }

/* ========================================================== breakpoints == */
@media (max-width: 1180px) {
  .bench { grid-template-columns: 1fr; }
  .bench__aside { position: static; }
  .bench__legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0 18px; }
  .bench__legendtitle { grid-column: 1 / -1; }
  .related { grid-template-columns: repeat(2, minmax(0, 1fr)); }  /* 4 items -> 2x2, no orphan */
}

@media (max-width: 1080px) {
  .builder { grid-template-columns: 1fr; }
  .rig { position: static; }
  .phero { grid-template-columns: 1fr; }
  .pcol--stick { position: static; }
}

@media (max-width: 900px) {
  :root { --rail-w: 0px; }
  .rail { width: min(320px, 84vw); transform: translateX(-102%); transition: transform 0.28s var(--ease); }
  body.nav-open .rail { transform: none; }
  .topbar { display: flex; }
  .shell__main { margin-left: 0; padding-top: 60px; }
  .tray { left: 0; }
  .hero__grid { grid-template-columns: 1fr; }
  .pick { grid-template-columns: 1fr; }
  .pick:nth-child(even) .pick__media { order: 0; }
  .benchrow {
    grid-template-columns: 40px 68px minmax(0, 1fr);
    grid-template-areas: "rank thumb name" "meters meters meters" "score score score";
    gap: 12px 14px;
  }
  .benchrow__rank { grid-area: rank; }
  .benchrow__thumb { grid-area: thumb; width: 68px; height: 54px; }
  .benchrow__info { grid-area: name; }
  .benchrow__meters { grid-area: meters; }
  .benchrow__score { grid-area: score; text-align: left; display: flex; align-items: baseline; gap: 8px; }
  .benchrow__scorel { margin-top: 0; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .foot__inner { grid-template-columns: 1fr; }
  .foot__brand { grid-column: 1 / -1; }   /* wordmark never wraps mid-name */
  .pcons { grid-template-columns: 1fr; }
  .related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method__cell { padding: 22px; }
  .modal__panel { top: 0; left: 0; transform: none; width: 100%; max-height: 100%; border-radius: 0; border: 0; }
  .tray { padding: 8px 12px; }
  .trayitem img { width: 38px; height: 38px; }
  .tray__act .btn { min-height: 38px; padding: 0 12px; font-size: 0.6rem; }
}

@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .card__media { height: 210px; }
  .hero__stat { min-height: 0; }         /* dead space once the grid stacks */
  .slot__field { margin-left: 0; flex: 1 1 100%; }
  .sechead--right { text-align: left; }
}

/* --- critical block, identical to the inline copy in every <head> --- */

.shell__main{margin-left:var(--rail-w)}
.rail{position:fixed;inset:0 auto 0 0;width:var(--rail-w);z-index:80}
.scrim{z-index:70}.topbar{z-index:90}.tray{z-index:60}.modal{z-index:100}
.gallery__stage{height:clamp(300px,38vw,460px)}
.card__media{height:186px}
.pick__media{height:clamp(240px,32vw,400px)}
.dialwrap,.dial{width:74px;height:74px;flex:none}
.method__ring{width:46px;height:46px;flex:none}
.hero__pulse{width:7px;height:7px;flex:none}
@media(max-width:900px){
 .rail{width:min(320px,84vw);transform:translateX(-102%)}
 body.nav-open .rail{transform:none}
 .shell__main{margin-left:0;padding-top:60px}
 .topbar{display:flex}.tray{left:0}
}
