@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Azeret Mono";
  src: url("assets/fonts/azeret-mono-var.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

/* The Wall Test: a gallery wall under a raking light. Plaster ground, graphite
   frames, brass measures, one red sale tag. The product is the object under
   measurement, so the wall carries the rules and dimensions. */
:root {
  --ground: #e7e1d5;
  --ground-2: #efe9dd;
  --panel: #f6f2e8;
  --panel-2: #ece6d9;
  --ink: #22201c;
  --muted: #655e52;
  --faint: #6a6255;
  --line: rgba(34, 32, 28, 0.16);
  --line-2: rgba(34, 32, 28, 0.34);
  --brass: #7d5718;
  --brass-soft: #c9a46a;
  --glass: #9dbfb8;
  --sale: #a93429;
  --sale-soft: rgba(169, 52, 41, 0.1);
  --sans: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --mono: "Azeret Mono", ui-monospace, "SFMono-Regular", monospace;
  --max: 1360px;
  --gutter: clamp(18px, 4.2vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
main section[id] { scroll-margin-top: 78px; }

body {
  margin: 0;
  background-color: var(--ground);
  background-image:
    radial-gradient(ellipse at 50% -10%, rgba(255, 252, 244, 0.9), transparent 55%),
    linear-gradient(90deg, rgba(95, 84, 66, 0.04) 1px, transparent 1px);
  background-size: auto, 96px 100%;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--brass); color: var(--ground-2); }
* { scrollbar-width: thin; scrollbar-color: var(--line-2) var(--ground); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ground); }
::-webkit-scrollbar-thumb { background: var(--line-2); }

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.wrap { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }
.mono {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 50;
  background: var(--brass); color: var(--ground-2);
  padding: 10px 16px; font-weight: 700; text-decoration: none;
}
.skip:focus { left: 8px; top: 8px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- top bar ---------- */
.bar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(246, 242, 232, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.bar-in {
  display: flex; align-items: center; gap: clamp(12px, 3vw, 32px);
  min-height: 62px;
}
.brand {
  display: inline-flex; align-items: baseline; gap: 0.5rem;
  text-decoration: none; font-weight: 800;
  letter-spacing: -0.03em; font-size: 1.1rem; white-space: nowrap;
}
.brand-a { color: var(--ink); }
.brand-b { color: var(--brass); }
.bar-tool { margin: 0; white-space: nowrap; }
.bar-live { margin: 0 0 0 auto; font-size: 0.9rem; color: var(--muted); white-space: nowrap; }
.bar-live b { color: var(--ink); font-family: var(--mono); font-size: 0.95rem; }
.reset {
  background: none; border: 1px solid var(--line-2);
  padding: 8px 14px; cursor: pointer; font-size: 0.78rem;
  letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600;
}
.reset:hover { border-color: var(--brass); color: var(--brass); }

/* ---------- intro ---------- */
.intro { padding: clamp(40px, 7vw, 92px) 0 clamp(28px, 4vw, 48px); }
.intro-grid {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, 360px);
  gap: clamp(28px, 5vw, 72px); align-items: end;
}
h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  font-weight: 800; line-height: 0.95; letter-spacing: -0.04em;
  font-variation-settings: "wdth" 106;
  margin: 0 0 1rem; max-width: 14ch; text-wrap: balance;
}
.intro-copy > p:first-of-type {
  max-width: 58ch; margin: 0 0 1.4rem; color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
}
.intro-specs {
  list-style: none; margin: 0; padding: 1rem 0 0;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.8rem;
}
.intro-specs li { display: flex; flex-direction: column; gap: 2px; }
.intro-specs b { font-size: 1.05rem; font-weight: 700; }

/* the wall tag */
.tag {
  margin: 0; background: var(--panel); border: 1px solid var(--line);
  padding: 1.1rem 1.2rem 1.2rem; align-self: end;
}
.tag > .mono { display: block; margin-bottom: 0.7rem; }
.tag dl { margin: 0; display: grid; gap: 0.45rem; }
.tag dl > div {
  display: flex; justify-content: space-between; gap: 1rem;
  border-top: 1px solid var(--line); padding-top: 0.45rem;
}
.tag dt { margin: 0; }
.tag dd { margin: 0; font-weight: 600; text-align: right; }
.tag dd.is-over { color: var(--sale); }
.tag-note {
  margin: 0.9rem 0 0; padding-top: 0.7rem; border-top: 1px solid var(--line);
  font-size: 0.82rem; color: var(--muted);
}

/* ---------- find ---------- */
.find { padding: 0 0 clamp(24px, 3vw, 40px); }
.find-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.find-head h2 { margin: 0 0 0.8rem; font-size: clamp(1.3rem, 2.2vw, 1.8rem); letter-spacing: -0.02em; }
.find-box {
  display: flex; gap: 0.6rem; align-items: stretch;
  border: 1px solid var(--line-2); background: var(--panel);
  padding: 0.4rem;
}
.find-box input {
  flex: 1; min-width: 0; border: 0; background: transparent;
  font: inherit; font-size: 1.05rem; padding: 0.55rem 0.7rem; color: var(--ink);
}
.find-box input::placeholder { color: var(--faint); }
.find-box input:focus { outline: none; }
.find-box:focus-within { outline: 2px solid var(--brass); outline-offset: 2px; }
.find-box .go {
  border: 1px solid var(--line-2); background: var(--ink); color: var(--panel);
  padding: 0.5rem 1rem; cursor: pointer; font-weight: 600; letter-spacing: 0.04em;
}
.find-box .go:hover { background: var(--brass); border-color: var(--brass); }
.find-hint { margin: 0.6rem 0 0; font-size: 0.85rem; color: var(--muted); }
.find-results { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.8rem; }
.find-results button {
  border: 1px solid var(--line); background: transparent; text-align: left;
  padding: 0.5rem 0.7rem; cursor: pointer; font-size: 0.86rem; max-width: 100%;
}
.find-results button:hover { border-color: var(--brass); background: var(--panel); }
.find-results .r-price { color: var(--muted); font-family: var(--mono); font-size: 0.72rem; margin-left: 0.4rem; }

/* ---------- bench ---------- */
.bench {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ground-2);
}
.bench-grid {
  display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(330px, 0.88fr);
}
.stage-col { padding: clamp(18px, 2.4vw, 30px) clamp(18px, 2.4vw, 34px) clamp(20px, 2.4vw, 30px) 0; border-right: 1px solid var(--line); min-width: 0; }
.inspect { padding: clamp(18px, 2.4vw, 30px) 0 clamp(20px, 2.4vw, 30px) clamp(18px, 2.4vw, 34px); min-width: 0; }
.sec-label { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.8rem; }
.sec-label h2 { margin: 0; font-size: clamp(1.2rem, 1.8vw, 1.55rem); letter-spacing: -0.02em; }

/* the stage */
.stage {
  position: relative; height: clamp(400px, 50vw, 620px);
  background:
    linear-gradient(180deg, rgba(120, 104, 80, 0.12), transparent 18%),
    var(--panel-2);
  border: 1px solid var(--line);
  overflow: hidden;
}
.stage::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26%;
  background: linear-gradient(0deg, rgba(114, 97, 72, 0.1), transparent);
  pointer-events: none;
}
.wall {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 42%),
    linear-gradient(180deg, #f2ecdf, #e6ddcc);
  box-shadow: 0 0 0 1px rgba(34, 32, 28, 0.2), 0 18px 34px -22px rgba(34, 32, 28, 0.5);
}
.props { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.prop { position: absolute; color: rgba(58, 52, 42, 0.34); }
.prop svg { display: block; width: 100%; height: 100%; }
.prop span {
  position: absolute; font-family: var(--mono); font-size: 0.5rem; letter-spacing: 0.04em;
  color: rgba(58, 52, 42, 0.6); white-space: nowrap;
}
.prop-person span { left: 100%; top: 50%; transform: translate(3px, -50%) rotate(90deg); transform-origin: left center; }
.prop-desk span { left: 4px; top: 6px; }
.wall.no-cues .prop { display: none; }
.cue {
  display: inline-flex; align-items: center; gap: 0.35rem; margin-left: 0.9rem;
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); cursor: pointer;
}
.cue input { accent-color: var(--brass); margin: 0; }
.wall::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(0deg, rgba(120, 104, 80, 0.05) 0 1px, transparent 1px 6px);
  opacity: 0.35; pointer-events: none;
}
.eye {
  position: absolute; left: 0; right: 0; border-top: 1px dashed rgba(138, 98, 32, 0.5);
  pointer-events: none; z-index: 2;
}
.eye span {
  position: absolute; left: 6px; top: -1.15rem;
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.08em;
  color: var(--brass); background: rgba(246, 242, 232, 0.85); padding: 0 3px;
}
.shelf {
  position: absolute; left: 0; right: 0; height: 5px;
  background: linear-gradient(180deg, #8a7051, #6d563c);
  box-shadow: 0 3px 5px -3px rgba(34, 32, 28, 0.7);
  display: none;
}
.stage.is-shelf .shelf { display: block; }

.case {
  position: absolute; z-index: 3; cursor: grab; touch-action: pan-y;
  border: 2px solid #2c2a25;
  background: #2c2a25;
  box-shadow: 0 12px 18px -12px rgba(34, 32, 28, 0.75);
  overflow: hidden;
}
.case[data-format="frame"] { border-width: 4px; }
.case[data-format="case"], .case[data-format="minifig"] { border-width: 1px; }
.case:active { cursor: grabbing; }
.case img { width: 100%; height: 100%; object-fit: cover; }
.case .fallback {
  position: absolute; inset: 0; display: none;
  background: repeating-linear-gradient(45deg, #dcd3c1 0 8px, #e8e1d2 8px 16px);
}
.case.no-img .fallback { display: block; }
.case.no-img img { display: none; }
.case .glass {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.42) 0 18%, rgba(255, 255, 255, 0) 38%);
  mix-blend-mode: screen;
}
.case .dust { position: absolute; inset: 0; pointer-events: none; background: #b7a98c; opacity: 0; }
.case .film { position: absolute; inset: 0; pointer-events: none; background: #d8cfbc; opacity: 0; }
.case .led {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  box-shadow: inset 0 0 24px 6px rgba(255, 183, 77, 0.65);
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 183, 77, 0.3), transparent 60%);
}
.case .led.on { opacity: 1; }
.case:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.case .dim-w, .case .dim-h {
  position: absolute; font-family: var(--mono); font-size: 0.58rem;
  letter-spacing: 0.06em; color: var(--ink); background: rgba(246, 242, 232, 0.9);
  padding: 1px 4px; white-space: nowrap; pointer-events: none;
}
.case .dim-w { left: 50%; bottom: 3px; transform: translateX(-50%); }
.case .dim-h { top: 50%; right: 3px; transform: translateY(-50%); }
.stage-note {
  position: absolute; left: 10px; bottom: 8px; z-index: 4;
  font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
}
.fitline { margin: 0.85rem 0 0; font-size: 0.9rem; min-height: 1.4em; }
.fitline b { font-weight: 700; }
.nudge { display: flex; gap: 0.35rem; margin-top: 0.5rem; }
.nudge button {
  width: 2.1rem; height: 2.1rem; border: 1px solid var(--line-2); background: transparent;
  cursor: pointer; font-size: 0.95rem; line-height: 1;
}
.nudge button:hover { background: var(--ink); color: var(--panel); border-color: var(--ink); }
.fitline .warn { color: var(--sale); }

/* wall controls */
.wall-controls { margin-top: 1.1rem; display: grid; gap: 0.75rem 1.4rem; grid-template-columns: 1fr 1fr; }
.ctl { display: block; }
.ctl-top { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; }
.ctl output { font-family: var(--mono); font-size: 0.72rem; color: var(--ink); }
.ctl input[type="range"] { width: 100%; accent-color: var(--brass); margin: 0.3rem 0 0; }
.mode-row { grid-column: 1 / -1; display: flex; gap: 0; align-items: center; flex-wrap: wrap; }
.mode-row > .mono { margin-right: 0.8rem; }
.mode {
  border: 1px solid var(--line-2); background: transparent; padding: 0.4rem 0.8rem;
  cursor: pointer; font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase;
}
.mode + .mode { border-left: 0; }
.mode[aria-pressed="true"] { background: var(--ink); color: var(--panel); border-color: var(--ink); }

/* inspector */
.pick h2 { margin: 0.2rem 0 0.35rem; font-size: clamp(1.15rem, 1.7vw, 1.42rem); line-height: 1.2; letter-spacing: -0.015em; }
.pick-meta { margin: 0; font-size: 0.86rem; color: var(--muted); }
.pick-meta .sep { padding: 0 0.4rem; color: var(--line-2); }
.pick-link {
  display: inline-block; margin-top: 0.5rem; font-size: 0.82rem;
  color: var(--brass); text-underline-offset: 3px;
}
.pick-note { margin: 0.35rem 0 0; font-size: 0.75rem; color: var(--muted); }
.chip.is-off span { opacity: 0.4; border-style: dashed; cursor: not-allowed; text-decoration: line-through; }
.price-row { display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; margin: 0.9rem 0 0.2rem; }
.price { font-size: clamp(1.7rem, 2.6vw, 2.15rem); font-weight: 800; letter-spacing: -0.03em; }
.price-was { color: var(--muted); font-size: 0.95rem; }
.off {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em;
  background: var(--sale); color: #fff; padding: 2px 6px; text-transform: uppercase;
}
.budget-line { margin: 0 0 0.4rem; font-size: 0.82rem; color: var(--muted); }
.fx-box { border-top: 1px solid var(--line); margin-top: 0.9rem; padding-top: 0.8rem; }
.fx-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.fx-row { display: flex; align-items: end; gap: 0.5rem; margin-top: 0.4rem; }
.fx-row label { flex: 1; min-width: 0; display: block; }
.fx-row input, .fx-rate input {
  width: 100%; font: inherit; font-family: var(--mono); font-size: 0.82rem;
  border: 1px solid var(--line-2); background: var(--panel); color: var(--ink);
  padding: 0.35rem 0.4rem; min-width: 0;
}
.fx-eq { padding-bottom: 0.35rem; color: var(--muted); }
.fx-rate { display: flex; align-items: center; gap: 0.35rem; margin-top: 0.5rem; font-size: 0.82rem; color: var(--muted); flex-wrap: wrap; }
.fx-rate input { width: 6rem; }
.fx-note { margin: 0.4rem 0 0; font-size: 0.72rem; color: var(--faint); }
.usd { color: var(--muted); font-family: var(--mono); font-size: 0.72em; margin-left: 0.35em; white-space: nowrap; }
.price .usd { display: block; margin: 0.1rem 0 0; font-size: 0.42em; font-weight: 500; }
.tag dd .usd { display: block; margin: 0.05rem 0 0; font-size: 0.74em; font-weight: 500; }
.row-price .usd { display: block; font-size: 0.78em; color: var(--faint); margin: 0.05rem 0 0; }
.budget-line.over { color: var(--sale); }

.opt-group { border: 0; padding: 0; margin: 1rem 0 0; }
.opt-group legend { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding: 0; margin-bottom: 0.35rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-block; border: 1px solid var(--line); padding: 0.32rem 0.6rem;
  font-size: 0.8rem; cursor: pointer; background: transparent;
}
.chip input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--panel); }
.chip input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }

.knobs { margin-top: 1.1rem; display: grid; gap: 0.8rem; }
.knob-top { display: flex; justify-content: space-between; align-items: baseline; }
.knob-top output { font-family: var(--mono); font-size: 0.74rem; }
.knobs input[type="range"] { width: 100%; accent-color: var(--brass); margin: 0.25rem 0 0; }
.dust-read { display: flex; gap: 1rem; margin-top: 0.35rem; font-size: 0.8rem; color: var(--muted); }
.dust-read b { color: var(--ink); font-family: var(--mono); font-size: 0.78rem; }

.cap-box { margin-top: 0.9rem; border-top: 1px solid var(--line); padding-top: 0.8rem; }
.cap-box.hidden { display: none; }
.cap-line { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.86rem; margin-top: 0.3rem; }
.cap-line b { font-family: var(--mono); }

/* ---------- rows ---------- */
.section { padding: clamp(34px, 5vw, 64px) 0 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.section-head h2 { margin: 0; font-size: clamp(1.55rem, 2.8vw, 2.2rem); letter-spacing: -0.03em; }
.section-head p { margin: 0; max-width: 46ch; color: var(--muted); font-size: 0.92rem; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.row {
  display: grid; grid-template-columns: minmax(0, 1fr) 8.2rem 7.5rem 5.9rem 5.4rem;
  align-items: center; gap: 0.8rem;
  padding: 0.7rem 0.2rem; border-bottom: 1px solid var(--line);
}
.row.is-current { background: rgba(138, 98, 32, 0.07); }
.row-head { padding: 0.35rem 0.2rem 0.45rem; border-bottom: 1px solid var(--line-2); }
.row-head span { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.row-name { font-weight: 600; font-size: 0.94rem; line-height: 1.25; text-decoration: none; }
.row-name:hover { color: var(--brass); text-decoration: underline; text-underline-offset: 2px; }
.row-name small { display: block; font-weight: 400; color: var(--muted); font-size: 0.78rem; margin-top: 2px; }
.row-cell { font-family: var(--mono); font-size: 0.7rem; color: var(--muted); letter-spacing: 0.04em; }
.row-price { font-family: var(--mono); font-size: 0.8rem; color: var(--ink); white-space: nowrap; }
.row-price s { color: var(--faint); margin-left: 0.25rem; }
.row-test {
  border: 1px solid var(--line-2); background: transparent; padding: 0.38rem 0.5rem;
  font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; cursor: pointer;
  color: var(--ink); text-decoration: none;
}
.row-test:hover { background: var(--ink); color: var(--panel); border-color: var(--ink); }
.row-test[disabled] { opacity: 0.45; cursor: default; }
.badge-set { display: inline-block; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.06em; border: 1px solid var(--line-2); padding: 0 4px; margin-left: 0.35rem; vertical-align: 1px; }
.badge-sale { color: var(--sale); border-color: var(--sale); }

/* Black Friday */
.bf-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
p.bf-banner {
  color: #fff;
  display: inline-flex; align-items: baseline; gap: 0.7rem;
  background: var(--sale); color: #fff; padding: 0.35rem 0.7rem;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.bf-note { margin: 0.6rem 0 1rem; color: var(--muted); font-size: 0.9rem; max-width: 62ch; }
.bf-row .row-price s { color: var(--faint); }

/* method */
.method { padding: clamp(34px, 5vw, 64px) 0 0; }
.method details { border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line); }
.method summary {
  cursor: pointer; padding: 0.9rem 0; display: flex; justify-content: space-between; gap: 1rem;
  list-style: none; font-weight: 600;
}
.method summary::-webkit-details-marker { display: none; }
.method-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); padding: 0.5rem 0 1.6rem; }
.method h3 { font-size: 0.98rem; margin: 0 0 0.4rem; }
.method p, .method li { font-size: 0.88rem; color: var(--muted); }
.method ul { padding-left: 1.1rem; margin: 0.4rem 0 0; }
.method li { margin-bottom: 0.35rem; }
.method a { color: var(--brass); text-underline-offset: 2px; }
.method .fine { font-size: 0.78rem; color: var(--faint); }

/* footer */
.foot { margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line-2); background: var(--panel); }
.trademark { font-size: 0.72rem; color: var(--muted); margin: 0; padding: 1rem 0 0; }
.affiliate-disclaimer { font-size: 0.78rem; color: var(--muted); margin: 0; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.foot-in { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6rem 1.6rem; padding: 1.1rem 0 1.4rem; }
.foot-mark { margin: 0; font-weight: 800; letter-spacing: -0.02em; }
.foot-in p { margin: 0; }
.foot-in a { color: inherit; }

noscript p { padding: 1rem 0; }

@media (max-width: 1000px) {
  .row-head { display: none; }
  .bench-grid { grid-template-columns: 1fr; }
  .stage-col { border-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; }
  .inspect { padding-left: 0; }
  .method-grid { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: minmax(0, 1fr) 5.6rem 6rem 5rem 4.8rem; }
}

@media (max-width: 720px) {
  .bar-tool, .bar-live { display: none; }
  .reset { margin-left: auto; }
  .intro-grid { grid-template-columns: 1fr; }
  .tag { max-width: 420px; }
  .stage { height: 380px; }
  .wall-controls { grid-template-columns: 1fr; }
  .mode-row { grid-column: auto; }
  .row { grid-template-columns: minmax(0, 1fr) 5.4rem; row-gap: 0.25rem; padding: 0.75rem 0.2rem; }
  .row-cell, .row-price { grid-column: 1; }
  .row-test { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .method-grid { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .section-head p { margin-top: 0.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
/* Related decisions, last-checked line and touch targets (added 2026-11-06) */
.related-tools { padding-top: 1.6rem; }
.related-title { margin: 0 0 0.5rem; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.65; }
.related-tools ul { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.related-tools a { color: inherit; opacity: 0.9; }
.related-tools a:hover { opacity: 1; text-decoration: underline; }
.last-checked { margin: 0.55rem 0 0; font-size: 0.72rem; letter-spacing: 0.02em; opacity: 0.7; }

/* Static catalogue: the product list as HTML, so it survives without JavaScript. */
.catalogue { padding-block: clamp(2.5rem, 6vw, 4rem); }
.catalogue h2 { margin: 0 0 0.5rem; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.catalogue > p { margin: 0 0 1.2rem; color: var(--muted); max-width: 64ch; }
.catalogue-static { overflow-x: auto; }
.catalogue-static table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.catalogue-static caption { text-align: left; padding-bottom: 0.7rem; color: var(--muted); }
.catalogue-static th, .catalogue-static td { text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.catalogue-static thead th { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.catalogue-static a { color: inherit; text-underline-offset: 3px; }

/* The quotable answer under the h1. */
.lede-answer { max-width: 62ch; margin: 0 0 0.9rem; font-size: 1.06em; line-height: 1.6; }
