/* site.css: layout and components for wmdradio.com (Room Tone). Reads only tokens.css values. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-serif); font-size: var(--t-body);
  line-height: var(--lh-body); font-optical-sizing: auto; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; line-height: var(--lh-tight); letter-spacing: -0.012em; margin: 0; text-wrap: balance; }
p { margin: 0 0 var(--s-4); text-wrap: pretty; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: var(--s-3) var(--s-4); z-index: 9; }
.skip:focus { left: var(--s-3); top: var(--s-3); }
.kicker { font-family: var(--font-sans); font-size: var(--t-label); font-weight: 500; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--walnut); margin-bottom: var(--s-4); }
.kicker a { color: inherit; }
.lead { font-size: var(--t-lead); line-height: 1.5; color: var(--ink-2); max-width: 36em; }
.sub, .meta { font-family: var(--font-sans); font-size: var(--t-small); color: var(--ink-3); }
.disclosure { font-family: var(--font-sans); font-size: var(--t-small); color: var(--ink-3); margin: var(--s-4) 0; }
.text-link { font-family: var(--font-sans); font-weight: 500; font-size: 1rem; }

/* facts: quoted phrases, linked to their source line */
a.fact { color: inherit; text-decoration: underline dotted var(--fact-line); text-decoration-thickness: 1.5px; text-underline-offset: 0.22em; }
a.fact:hover { text-decoration-style: solid; color: var(--accent); }

/* ---------- masthead */
.masthead { border-bottom: 1px solid var(--line); background: var(--paper); }
.mast-inner { max-width: var(--wide); margin: 0 auto; padding: var(--s-4) var(--s-5); display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; }
.brand { display: grid; grid-template-columns: auto 1fr; column-gap: var(--s-3); align-items: center; color: var(--ink); text-decoration: none; }
.brand .mark { grid-row: span 2; width: 34px; height: 34px; color: var(--accent); }
.brand-name { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1; }
.brand-line { font-family: var(--font-sans); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); line-height: 1.4; }
.topnav { display: flex; align-items: center; gap: var(--s-1); font-family: var(--font-sans); font-size: 0.97rem; flex-wrap: wrap; }
.topnav > a, .guides-nav summary { color: var(--ink); text-decoration: none; padding: 0 var(--s-3); min-height: 44px; display: inline-flex; align-items: center; border-radius: var(--r-btn); cursor: pointer; }
.topnav > a:hover, .guides-nav summary:hover { background: var(--paper-2); }
.topnav a[aria-current] { color: var(--accent); }
.guides-nav { position: relative; }
.guides-nav summary { list-style: none; }
.guides-nav summary::-webkit-details-marker { display: none; }
.guides-nav summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: var(--s-2); }
.guides-nav ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; list-style: none; margin: 0; padding: var(--s-2); width: min(22rem, 88vw);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); }
.guides-nav li a { display: flex; align-items: center; min-height: 44px; padding: var(--s-1) var(--s-3); color: var(--ink); text-decoration: none; border-radius: var(--r-btn); line-height: 1.3; }
.guides-nav li a:hover { background: var(--paper-2); }

/* ---------- sections */
main > section, .guide, .gear, .about, .lost { max-width: var(--wide); margin: 0 auto; padding: var(--s-8) var(--s-5); }
.sec-head { max-width: 46rem; margin-bottom: var(--s-6); }
.sec-head h2, .sc-intro h2, .pl-intro h2 { font-size: var(--t-h2); margin-bottom: var(--s-4); }

.hero { padding-top: var(--s-8); padding-bottom: var(--s-7); }
.hero h1 { font-size: var(--t-h1); font-weight: 400; letter-spacing: -0.025em; max-width: 11em; margin-bottom: var(--s-5); }
.hero .lead { margin-bottom: var(--s-6); }
.hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-5); }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--s-5); background: var(--accent); color: var(--on-accent); font-family: var(--font-sans); font-weight: 500;
  text-decoration: none; border-radius: var(--r-btn); transition: background var(--t-fast) var(--ease); }
.btn:hover { background: var(--accent-hover); color: var(--on-accent); }

/* ---------- the Sound Check */
.sound-check { max-width: none !important; background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sound-check > * { max-width: calc(var(--wide) - 2 * var(--s-5)); margin-left: auto; margin-right: auto; }
.sc-intro { margin-bottom: var(--s-6); }
.sc-intro .lead { max-width: 40em; }
.sc-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7); align-items: start; }
.field { border: 0; margin: 0 0 var(--s-5); padding: 0; min-width: 0; }
.field legend { font-family: var(--font-sans); font-weight: 500; font-size: 1rem; margin-bottom: var(--s-3); padding: 0; display: flex; align-items: center; gap: var(--s-2); }
.step { display: inline-grid; place-items: center; width: 22px; height: 22px; border: 1px solid var(--line-strong); border-radius: 50%; font-size: 0.75rem; color: var(--ink-2); }
.legend-note { font-weight: 400; color: var(--ink-3); font-size: var(--t-small); }
.opts { display: grid; gap: var(--s-2); }
.opts-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opts-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt-face { display: flex; flex-direction: column; justify-content: center; min-height: 52px; height: 100%; padding: var(--s-2) var(--s-3); background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r-ctl); font-family: var(--font-sans); line-height: 1.25; transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease); }
.opt-name { font-weight: 500; font-size: 0.98rem; }
.opt-sub { font-size: 0.8rem; color: var(--ink-3); margin-top: 2px; }
.opt:hover .opt-face { border-color: var(--line-strong); }
.opt input:checked + .opt-face { border-color: var(--accent); background: var(--accent-wash); box-shadow: inset 0 0 0 1px var(--accent); }
.opt input:focus-visible + .opt-face { outline: 2px solid var(--accent); outline-offset: 2px; }
.opt input[type="checkbox"] + .opt-face .opt-name::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 7px; border: 1.5px solid var(--line-strong); border-radius: 2px; vertical-align: -1px; }
.opt input[type="checkbox"]:checked + .opt-face .opt-name::before { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent-wash); }
.hint { font-family: var(--font-sans); font-size: var(--t-small); color: var(--ink-2); background: var(--paper); border-left: 2px solid var(--walnut); padding: var(--s-3) var(--s-4); }

.sc-readout { display: grid; gap: var(--s-5); }
.instrument { background: var(--meter-bezel); border-radius: 14px; padding: var(--s-3); box-shadow: var(--shadow); }
.instrument-art { display: block; width: 100%; height: auto; }
.meter .face { fill: var(--meter-face); }
.meter .scale { fill: none; stroke: var(--meter-ink); stroke-width: 1.1; }
.meter .hot { fill: none; stroke: var(--hot); stroke-width: 3.5; }
.meter .zone-words { font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; fill: var(--meter-ink); }
.meter-name { font-family: var(--font-serif); font-style: italic; font-size: 15px; fill: var(--meter-ink); }
.needle { stroke: var(--meter-ink); stroke-width: 1.6; stroke-linecap: round; transform-box: view-box; transition: transform var(--t-needle) var(--needle-ease); }
.m-room .needle { transform-origin: 120px 150px; transform: rotate(var(--room, -45deg)); }
.m-noise .needle { transform-origin: 360px 150px; transform: rotate(var(--noise, -45deg)); }
.pivot { fill: var(--meter-bezel); }
.lamp rect { fill: var(--lamp-off); transition: fill var(--t-mid) var(--ease); }
.lamp text { font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: 0.22em; fill: var(--lamp-off-ink); transition: fill var(--t-mid) var(--ease); }
.instrument[data-lamp="1"] .lamp rect { fill: var(--lamp-on); filter: drop-shadow(0 0 6px oklch(0.63 0.2 30 / 0.7)); }
.instrument[data-lamp="1"] .lamp text { fill: var(--lamp-on-ink); }
.strip-bg { fill: oklch(0.2 0.015 170); }
.voice { fill: none; stroke: var(--meter-face); stroke-width: 1.2; stroke-linejoin: round; }
.echo { fill: none; stroke: var(--meter-face); stroke-width: 1; transition: opacity var(--t-mid) var(--ease); }
.axis { stroke: oklch(0.5 0.02 170); stroke-width: 0.6; stroke-dasharray: 2 4; }
.floor { fill: oklch(0.63 0.2 30 / 0.28); opacity: 0; transition: opacity var(--t-mid) var(--ease); }
.instrument[data-noise="0"] .f0, .instrument[data-noise="1"] .f1, .instrument[data-noise="2"] .f2 { opacity: 1; }
.instrument[data-room="0"] .echo { opacity: 0 !important; }
.instrument[data-room="1"] .e2, .instrument[data-room="1"] .e3 { opacity: 0 !important; }
.strip-label { font-family: var(--font-sans); font-size: 10.5px; letter-spacing: 0.05em; fill: oklch(0.8 0.02 90); }

.verdict { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s-5); }
.readings { display: flex; gap: var(--s-5); font-family: var(--font-sans); font-size: var(--t-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink-3); margin-bottom: var(--s-2); }
.readings b { color: var(--ink); font-weight: 600; margin-left: 6px; }
.verdict-head { font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem); margin-bottom: var(--s-3); }
.verdict-line { color: var(--ink-2); }
.fix-head { font-family: var(--font-sans); font-weight: 600; font-size: var(--t-small); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--walnut); margin: var(--s-5) 0 var(--s-2); }
.fixes { list-style: none; margin: 0; padding: 0; }
.fix { display: grid; grid-template-columns: 2.25rem 1fr; gap: var(--s-3); padding: var(--s-4) 0; border-top: 1px solid var(--line); }
.fix-n { font-family: var(--font-serif); font-size: 1.75rem; line-height: 1; color: var(--accent); font-variant-numeric: lining-nums; }
.fix-title { font-family: var(--font-sans); font-weight: 600; font-size: 1.05rem; margin-bottom: var(--s-2); }
.fix-tag { display: inline-block; margin-left: var(--s-2); padding: 1px 6px; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2);
  border: 1px solid var(--line-strong); border-radius: 3px; vertical-align: 2px; }
.fix-free, .fix-gear, .src-fixes { font-size: 1.02rem; margin-bottom: var(--s-2); }
.src-fixes { padding-left: 1.1em; }
.src-fixes li { margin-bottom: var(--s-2); }
.fix-gear { color: var(--ink-2); }
.amz { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-4); margin-top: var(--s-1); font-family: var(--font-sans); font-size: 0.95rem; font-weight: 500;
  color: var(--accent); border: 1px solid var(--accent); border-radius: var(--r-btn); text-decoration: none; transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.amz:hover { background: var(--accent); color: var(--on-accent); }
.rules { margin-top: var(--s-6); border-top: 1px solid var(--line); padding-top: var(--s-4); }
.rules summary { font-family: var(--font-sans); font-weight: 500; cursor: pointer; min-height: 44px; display: flex; align-items: center; }

/* ---------- guides index */
.guide-index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-7); border-top: 1px solid var(--ink); }
.guide-index li { border-bottom: 1px solid var(--line); }
.guide-index a { display: grid; grid-template-columns: 2.75rem 1fr; column-gap: var(--s-3); padding: var(--s-5) 0; color: var(--ink); text-decoration: none; }
.gi-n { grid-row: span 2; font-style: italic; font-size: 1.25rem; color: var(--walnut); line-height: 1.3; }
.gi-q { font-size: 1.375rem; line-height: 1.25; font-weight: 500; margin-bottom: var(--s-2); }
.gi-a { font-family: var(--font-sans); font-size: 0.95rem; line-height: 1.5; color: var(--ink-3); }
.guide-index a:hover .gi-q { color: var(--accent); }

/* ---------- planner */
.planner { border-top: 1px solid var(--line); }
.pl-intro { max-width: 46rem; margin-bottom: var(--s-6); }
.pl-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7); align-items: start; }
.pl-out { display: grid; grid-template-columns: minmax(0, 220px) 1fr; gap: var(--s-6); align-items: start; }
.clock { width: 100%; height: auto; display: block; }
.clock .rim { fill: var(--paper-2); stroke: var(--line-strong); }
.clock .ticks { stroke: var(--ink-3); stroke-width: 1; }
.clock .hub { fill: var(--paper); stroke: var(--line); }
.clock .arc { fill: none; stroke-width: 22; }
.clock-total { font-family: var(--font-serif); font-size: 17px; fill: var(--ink); }
.arc.a0, .rd .a0::before { stroke: var(--seg-0); background: var(--seg-0); }
.arc.a1, .rd .a1::before { stroke: var(--seg-1); background: var(--seg-1); }
.arc.a2, .rd .a2::before { stroke: var(--seg-2); background: var(--seg-2); }
.arc.a3, .rd .a3::before { stroke: var(--seg-3); background: var(--seg-3); }
.arc.a4, .rd .a4::before { stroke: var(--seg-4); background: var(--seg-4); }
.rd { list-style: none; margin: 0 0 var(--s-4); padding: 0; border-top: 1px solid var(--ink); }
.rd li { display: grid; grid-template-columns: 10px 3.5rem 1fr auto; gap: var(--s-3); align-items: baseline; padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.rd li::before { content: ""; width: 10px; height: 10px; border-radius: 2px; align-self: center; }
.rd-time { font-family: var(--font-sans); font-variant-numeric: tabular-nums; font-size: 0.9rem; color: var(--ink-3); }
.rd-min { font-family: var(--font-sans); font-size: 0.9rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pl-note { color: var(--ink-2); font-size: 1.02rem; }

/* ---------- product cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: var(--s-5); }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper); overflow: hidden; }
.card-art { background: var(--paper-2); color: var(--ink); padding: var(--s-4) var(--s-5) var(--s-2); border-bottom: 1px solid var(--line); }
.card-art svg.line { display: block; width: 100%; height: auto; max-height: 150px; }
.card-body { padding: var(--s-5); display: flex; flex-direction: column; flex: 1; }
.card-role { font-family: var(--font-sans); font-size: var(--t-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--walnut); margin-bottom: var(--s-2); }
.card-name { font-size: 1.5rem; margin-bottom: var(--s-3); }
.card-why { font-size: 1rem; line-height: 1.55; }
.card-not { font-family: var(--font-sans); font-size: 0.9rem; color: var(--ink-3); line-height: 1.5; }
.card-acts { margin: auto 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); padding-top: var(--s-3); }
.src { font-family: var(--font-sans); font-size: 0.92rem; min-height: 44px; display: inline-flex; align-items: center; }
.shelf .disclosure { margin-top: calc(-1 * var(--s-3)); margin-bottom: var(--s-5); }

/* ---------- guide pages */
.guide-head { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: var(--s-6); align-items: end; padding-bottom: var(--s-6); border-bottom: 1px solid var(--ink); margin-bottom: var(--s-7); }
.guide-head h1, .page-head h1 { font-size: var(--t-guide-h1); font-weight: 400; letter-spacing: -0.02em; }
.gh-art { color: var(--ink-2); }
.page-head { max-width: 52rem; margin-bottom: var(--s-6); }
.page-head h1 { margin-bottom: var(--s-4); }
.guide-grid { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: var(--s-7); }
.rail { position: sticky; top: var(--s-5); align-self: start; font-family: var(--font-sans); font-size: 0.92rem; }
.rail-h { font-size: var(--t-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--walnut); }
.rail ol { margin: 0 0 var(--s-5); padding-left: 1.2em; color: var(--ink-3); }
.rail li { margin-bottom: var(--s-2); }
.rail a { color: var(--ink-2); text-decoration: none; }
.rail a:hover { color: var(--accent); }
.rail-try a { color: var(--accent); font-weight: 500; text-decoration: underline; }
.guide-main { max-width: var(--measure); }
.short { border-left: 3px solid var(--accent); padding: var(--s-1) 0 var(--s-1) var(--s-5); margin-bottom: var(--s-5); }
.short-label, .pick-label { font-family: var(--font-sans); font-size: var(--t-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--accent); margin-bottom: var(--s-2); }
.quotable { font-size: 1.32rem; line-height: 1.5; }
.verdict-box { background: var(--paper-2); border-radius: var(--r-card); padding: var(--s-5); margin-bottom: var(--s-4); }
.verdict-box p:last-child { margin-bottom: 0; }
.verdict-box b { font-family: var(--font-sans); font-weight: 600; font-size: 0.98rem; }
.notfor { color: var(--ink-2); }
.pick { margin: var(--s-5) 0 var(--s-6); }
.pick .card { flex-direction: row; }
.pick .card-art { flex: 0 0 34%; border-bottom: 0; border-right: 1px solid var(--line); display: grid; place-items: center; }
.prose { margin-bottom: var(--s-6); }
.prose h2 { font-size: 1.75rem; margin: var(--s-7) 0 var(--s-4); }
.prose ul, .prose ol { padding-left: 1.2em; }
.faq h2 { font-size: 1.75rem; margin: var(--s-7) 0 var(--s-4); }
.qa { border-top: 1px solid var(--line); padding: var(--s-4) 0; }
.qa h3 { font-size: var(--t-h3); margin-bottom: var(--s-2); }
.partner { border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s-4) var(--s-5); margin: var(--s-4) 0; background: var(--paper-2); }
.partner p { margin-bottom: var(--s-2); }
.paid, .tm { font-family: var(--font-sans); font-size: var(--t-small); color: var(--ink-3); }
.partner-link { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-sans); font-weight: 500; }
.more { border-top: 1px solid var(--ink); margin-top: var(--s-8); padding-top: var(--s-5); }
.more h2 { font-size: 1.5rem; margin-bottom: var(--s-4); }
.more ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 0 var(--s-6); }
.more li a { display: flex; align-items: center; min-height: 48px; padding: var(--s-2) 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; line-height: 1.35; }
.more li a:hover { color: var(--accent); }

/* ---------- tables */
.table-wrap { margin: var(--s-5) 0 var(--s-6); }
table.grid { width: 100%; border-collapse: collapse; font-size: 1rem; }
.grid caption { text-align: left; font-family: var(--font-sans); font-weight: 600; font-size: var(--t-small); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--walnut); padding-bottom: var(--s-3); }
.grid th, .grid td { text-align: left; vertical-align: top; padding: var(--s-3) var(--s-3) var(--s-3) 0; border-bottom: 1px solid var(--line); line-height: 1.45; }
.grid thead th { font-family: var(--font-sans); font-weight: 500; font-size: var(--t-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--ink); }
.grid tbody th { font-weight: 600; }
.grid td .amz { margin-top: 0; white-space: nowrap; }

/* ---------- gear + about */
.gear-group { margin-bottom: var(--s-7); }
.gear-group h2 { font-size: 1.75rem; margin-bottom: var(--s-4); padding-bottom: var(--s-3); border-bottom: 1px solid var(--ink); }
.about .prose { max-width: var(--measure); }
.about .prose h2 { font-size: 1.6rem; margin: var(--s-6) 0 var(--s-3); }
.sources { max-width: 52rem; margin-top: var(--s-7); }
.sources h2 { font-size: var(--t-h2); margin-bottom: var(--s-2); }
.src-block { border-top: 1px solid var(--line); }
.src-block summary { cursor: pointer; padding: var(--s-4) 0; display: grid; gap: 2px; min-height: 44px; }
.src-url { font-family: var(--font-sans); font-weight: 600; }
.src-grade { font-size: 0.95rem; color: var(--ink-3); }
.src-block p { font-family: var(--font-sans); font-size: var(--t-small); overflow-wrap: anywhere; }
.quotes { list-style: none; padding: 0; margin: 0 0 var(--s-5); }
.quotes li { padding: var(--s-3) 0 var(--s-3) var(--s-4); border-left: 2px solid var(--line); margin-bottom: var(--s-2); }
.quotes li:target { border-left-color: var(--accent); background: var(--accent-wash); }
.quotes .q { display: block; }
.quotes .v { display: block; font-family: var(--font-sans); font-size: 0.85rem; color: var(--ink-3); }
.lost h1 { font-size: var(--t-h1); font-weight: 400; margin-bottom: var(--s-4); }

/* ---------- footer */
.foot { background: var(--foot); color: var(--foot-ink); margin-top: var(--s-8); }
.foot a { color: var(--foot-ink); }
.foot-inner { max-width: var(--wide); margin: 0 auto; padding: var(--s-7) var(--s-5); display: grid; grid-template-columns: 1.2fr 1.6fr; gap: var(--s-6) var(--s-7); }
.foot-name { font-size: 1.5rem; font-weight: 600; margin-bottom: var(--s-2); }
.foot-brand p:not(.foot-name), .foot-legal p { font-family: var(--font-sans); font-size: var(--t-small); color: var(--foot-dim); }
.foot-cols { display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--s-5); }
.foot-list { list-style: none; margin: 0; padding: 0; font-family: var(--font-sans); font-size: 0.92rem; }
.foot-list a { display: flex; align-items: center; min-height: 40px; text-decoration: none; line-height: 1.3; }
.foot-list a:hover { text-decoration: underline; }
.foot-legal { grid-column: 1 / -1; border-top: 1px solid oklch(1 0 0 / 0.12); padding-top: var(--s-4); }
.foot .disclosure { color: var(--foot-dim); margin-top: 0; }

/* ---------- responsive */
@media (max-width: 960px) {
  .sc-body, .pl-body { grid-template-columns: 1fr; gap: var(--s-5); }
  .guide-grid { grid-template-columns: 1fr; }
  .rail { position: static; border-bottom: 1px solid var(--line); padding-bottom: var(--s-3); }
  .rail ol { display: none; }
  .foot-inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  main > section, .guide, .gear, .about, .lost { padding: var(--s-7) var(--s-4); }
  .mast-inner { padding: var(--s-3) var(--s-4); }
  .brand-line { display: none; }
  .topnav { width: 100%; justify-content: space-between; margin: 0 calc(-1 * var(--s-3)); width: calc(100% + 2 * var(--s-3)); gap: 0; }
  .topnav > a, .guides-nav summary { padding: 0 var(--s-2); font-size: 0.92rem; }
  .hero { padding-top: var(--s-6); }
  .opts-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opt-face { padding: var(--s-2); }
  .opt-sub { font-size: 0.74rem; }
  .verdict { padding: var(--s-4); }
  .guide-index { grid-template-columns: 1fr; }
  .pl-out { grid-template-columns: 1fr; }
  .clock-wrap { max-width: 240px; margin: 0 auto; }
  .guide-head { grid-template-columns: 1fr; }
  .gh-art { display: none; }
  .pick .card { flex-direction: column; }
  .pick .card-art { border-right: 0; border-bottom: 1px solid var(--line); }
  .foot-cols { grid-template-columns: 1fr; }
  /* tables become labelled rows */
  .grid thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .grid, .grid tbody, .grid tr, .grid th, .grid td { display: block; width: 100%; }
  .grid tr { border-bottom: 1px solid var(--line); padding: var(--s-3) 0; }
  .grid th, .grid td { border: 0; padding: var(--s-1) 0; }
  .grid td[data-label]::before { content: attr(data-label); display: block; font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink-3); }
  .grid td[data-label="Link"]::before { content: none; }
  .grid tbody th { font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .masthead nav, .sound-check form, .foot, .rail { display: none; }
}
