/* Winchester Automotive And Transmission's — "Industrial editorial", final.
   A technical-drawing system: the shop's own mark under a work light on the drafting board,
   then the building as an annotated elevation, then catalog, diagnostic sheet, field reports
   and location on warm paper. Safety orange (the building's trim, #f29a1f) is the system
   color: rules, callouts, the call action. Never orange text on paper (fails contrast);
   orange text on paper uses --orange-ink. No inline styles: the page CSP is style-src 'self'. */

:root {
  --paper: #f2ede3;
  --paper-2: #e9e2d4;
  --paper-3: #ddd4c1;
  --ink: #15130f;
  --ink-2: #47423a;
  --ink-3: #5f584c;
  --rule: #c7bca8;
  --grid: rgba(21, 19, 15, 0.045);
  --grid-n: rgba(239, 233, 221, 0.035);
  --orange: #f29a1f;
  --orange-hi: #ffb04a;
  --orange-ink: #9a5200;
  --red: #c8202c;
  --red-ink: #a3141f;
  --red-hi: #ff5d66;
  --open: #1f7a3a;
  --open-hi: #5bd982;
  --amber: #e39a12;
  --night: #15130f;
  --night-2: #1f1c17;
  --night-3: #2a261f;
  --night-rule: #3a352d;
  --on-night: #efe9dd;
  --on-night-2: #bdb4a4;
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Barlow", "Segoe UI", Arial, sans-serif;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --bar-h: 68px;
  --gut: clamp(16px, 3.4vw, 40px);
  --max: 1440px;
  --ease: cubic-bezier(0.6, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 12px); }
@media (max-width: 899px) { html { scroll-padding-bottom: calc(86px + env(safe-area-inset-bottom)); } }
body {
  margin: 0; color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.6;
  background-color: var(--paper);
  background-image:
    url(img/grain.svg),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 220px 220px, 24px 24px, 24px 24px;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: 0.9; letter-spacing: 0.005em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote, dl, dd { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 2px var(--orange); }
.bar :focus-visible, .hero :focus-visible, .reviews :focus-visible, .foot :focus-visible, .dock :focus-visible, .makes :focus-visible,
.guide__pick button[aria-checked="true"]:focus-visible { outline-color: var(--orange); box-shadow: none; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; }
.skip:focus { left: 8px; top: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }

.tag {
  display: inline-block; white-space: nowrap; flex: none; font-family: var(--cond); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.08em;
  line-height: 1; padding: 5px 7px 4px; background: var(--ink); color: var(--paper); text-transform: uppercase;
}
.label {
  font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.86rem;
  color: var(--ink-3); margin: 0 0 10px;
}
.ico { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em; min-height: 48px;
  font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em;
  font-size: 1.05rem; line-height: 1; text-decoration: none; white-space: nowrap;
  padding: 14px 22px; border: 2px solid transparent; border-radius: 0;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn--lg { font-size: 1.16rem; padding: 18px 26px; min-height: 58px; }
.btn--orange { background: var(--orange); color: var(--ink); border-color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn--orange:hover { background: var(--orange-hi); transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn--orange:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn--flat, .hero .btn--orange, .bar .btn--orange { border-color: var(--orange); box-shadow: none; }
.btn--flat:hover, .hero .btn--orange:hover, .bar .btn--orange:hover { box-shadow: none; transform: none; border-color: var(--orange-hi); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--ghost { border-color: #6b6457; color: var(--on-night); background: rgba(255, 255, 255, 0.02); }
.btn--ghost:hover { border-color: var(--on-night); background: var(--on-night); color: var(--ink); }

/* ------------------------------------------------------------------ top bar (dark: it belongs to the hero) */
.bar {
  position: sticky; top: 0; z-index: 40; min-height: var(--bar-h);
  display: flex; align-items: center; gap: 24px; padding: 4px var(--gut);
  background: rgba(21, 19, 15, 0.94); color: var(--on-night); border-bottom: 1px solid var(--night-rule);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; background: var(--orange); }
.bar__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; min-height: 44px; }
.bar__mark { width: 50px; height: auto; flex: none; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.7)); }
.bar__name { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.3rem; line-height: 0.92; letter-spacing: 0.01em; }
.bar__name span { display: block; font-family: var(--cond); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.14em; color: var(--orange); }
.bar__nav { display: none; margin-left: auto; gap: 28px; }
.bar__nav a {
  text-decoration: none; font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em;
  font-size: 0.98rem; padding: 10px 0; border-bottom: 2px solid transparent; display: inline-flex; gap: 6px; align-items: baseline; color: var(--on-night);
}
.bar__nav a span { font-size: 0.74rem; color: var(--orange); }
.bar__nav a:hover { border-bottom-color: var(--orange); }
.bar__call { margin-left: auto; padding: 11px 16px; min-height: 44px; }
.bar__nav + .bar__call { margin-left: 0; }
@media (min-width: 1100px) { .bar__nav { display: flex; } }
@media (max-width: 599px) {
  :root { --bar-h: 60px; }
  .bar { gap: 10px; }
  .bar__mark { width: 42px; }
  .bar__name { font-size: 1.12rem; }
  .bar__call { display: none; }
}

/* ------------------------------------------------------------------ 01 hero: the mark under a work light */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: var(--on-night);
  background: var(--night); padding: 26px 0 clamp(40px, 6vw, 72px);
}
.hero__stage { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    url(img/grain-light.svg),
    linear-gradient(var(--grid-n) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-n) 1px, transparent 1px);
  background-size: 220px 220px, 24px 24px, 24px 24px;
}
/* the work light: one soft pool of warm light on the board, centred on the mark */
.hero__pool {
  position: absolute; left: var(--lx, 50%); top: var(--ly, 32%); width: min(1100px, 190vw); height: min(900px, 170vw); transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at 50% 42%, rgba(255, 240, 215, 0.16), rgba(255, 240, 215, 0.05) 38%, transparent 62%);
}
@media (min-width: 1000px) { .hero__stage { --lx: 26%; --ly: 50%; } }

.hero__kicker {
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.9rem; color: var(--on-night-2);
  padding-bottom: 12px; border-bottom: 1px solid var(--night-rule);
}
.hero__kicker p { margin: 0; display: flex; align-items: center; gap: 10px; }
.hero__kicker .tag { background: var(--orange); color: var(--ink); }
.hero__kicker-r { display: none !important; }
@media (min-width: 900px) { .hero__kicker-r { display: flex !important; } }

.hero__grid { display: grid; gap: 22px; padding-top: 18px; }
@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: 11fr 13fr; gap: clamp(32px, 4vw, 64px); align-items: center; padding-top: 22px; }
}

.badge { position: relative; width: min(82vw, 330px); margin: 0 auto; }
@media (min-width: 600px) { .badge { width: min(66vw, 460px); } }
@media (min-width: 1000px) { .badge { width: min(100%, 600px, 66svh); } }
.badge__logo {
  position: relative; z-index: 1; width: 100%;
  filter: brightness(1.12) contrast(1.08) drop-shadow(0 0 1px rgba(255, 255, 255, 0.35)) drop-shadow(0 24px 34px rgba(0, 0, 0, 0.8));
}

.hero__copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.hero__h { margin: 0 0 22px; }
.hero__name {
  display: block; font-family: var(--cond); font-weight: 600; letter-spacing: 0.14em; font-size: clamp(0.88rem, 1.15vw, 1.08rem);
  line-height: 1.3; color: var(--orange); margin-bottom: 12px;
}
.hero__what { display: block; font-size: clamp(2.75rem, 6.1vw, 6.3rem); line-height: 0.84; letter-spacing: -0.003em; color: var(--on-night); }
.hero__amp { color: var(--orange); }
.hero__dot { color: var(--orange); }
.hero__lede { font-size: clamp(1.08rem, 1.35vw, 1.3rem); line-height: 1.5; max-width: 36ch; margin: 0 0 26px; color: var(--on-night-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px 16px; }

/* the live sign: the only "is it open?" answer on the page, at the top where a driver needs it */
.sign {
  position: relative; display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 4px 16px;
  width: fit-content; max-width: 100%; margin: 0 0 14px; padding: 14px 24px 14px 20px;
  background: linear-gradient(180deg, #221f19, #15130f); border: 1px solid #4a443a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 22px 40px -22px rgba(0, 0, 0, 0.9);
}
.sign::before, .sign::after {
  content: ""; position: absolute; top: 7px; width: 6px; height: 6px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #8b8478, #3d382f);
}
.sign::before { left: 7px; }
.sign::after { right: 7px; }
.sign__lamp { width: 16px; height: 16px; border-radius: 50%; background: #3d382f; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.8), 0 0 0 2px #2a261f; position: relative; }
.sign__word {
  font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.5rem, 3.6vw, 3.5rem); line-height: 0.8;
  letter-spacing: 0.01em; color: var(--on-night-2); padding-top: 3px;
}
.sign__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sign__detail { font-family: var(--cond); font-weight: 600; font-size: 1.18rem; line-height: 1.2; color: var(--on-night); letter-spacing: 0.02em; }
.sign__detail a { display: inline-flex; align-items: center; min-height: 44px; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--orange); }
.sign__note { font-family: var(--body); font-size: 0.9rem; line-height: 1.35; color: var(--on-night-2); }
.sign[data-state="open"] .sign__lamp { background: var(--open-hi); box-shadow: 0 0 0 2px #1d3b26, 0 0 18px rgba(91, 217, 130, 0.65); }
.sign[data-state="open"] .sign__lamp::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--open-hi); opacity: 0;
  animation: ping 2.4s ease-out infinite;
}
.sign[data-state="open"] .sign__word { color: var(--open-hi); text-shadow: 0 0 22px rgba(91, 217, 130, 0.3); }
.sign[data-state="closed"] .sign__lamp { background: var(--red-hi); box-shadow: 0 0 0 2px #4a1418, 0 0 16px rgba(255, 93, 102, 0.55); }
.sign[data-state="closed"] .sign__word { color: var(--red-hi); }
.sign[data-state="unknown"] .sign__lamp, .sign[data-state="nosignal"] .sign__lamp { width: 20px; height: 20px; background: transparent; box-shadow: inset 0 0 0 2px var(--on-night-2); }
.sign[data-state="unknown"] .sign__lamp::before, .sign[data-state="nosignal"] .sign__lamp::before {
  content: ""; position: absolute; left: 9px; top: 4px; width: 2px; height: 7px; background: var(--orange);
}
.sign[data-state="unknown"] .sign__lamp::after, .sign[data-state="nosignal"] .sign__lamp::after {
  content: ""; position: absolute; left: 9px; top: 9px; width: 6px; height: 2px; background: var(--orange);
}
@keyframes ping { 0% { transform: scale(0.6); opacity: 0.8; } 80%, 100% { transform: scale(1.5); opacity: 0; } }

.hero__rating { margin: 0 0 22px; font-family: var(--cond); font-weight: 600; font-size: 1.1rem; letter-spacing: 0.02em; }
.hero__rating a { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-height: 44px; color: var(--on-night); text-underline-offset: 4px; text-decoration-color: #6b6457; }
.hero__rating .stars { color: var(--orange); letter-spacing: 0.1em; font-size: 1.15rem; }
.hero__rating .g { font-family: var(--cond); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; color: var(--on-night-2); border: 1px solid var(--night-rule); padding: 3px 6px 2px; }

/* phones: the dock carries Call and Directions, so the hero spends its space on status + rating */
@media (max-width: 899px) {
  .hero__actions { display: none; }
}
@media (max-width: 599px) {
  .hero { padding-top: 12px; }
  .hero__kicker { font-size: 0.78rem; padding-bottom: 10px; }
  .hero__kicker-place { display: none; }
  .hero__grid { gap: 14px; padding-top: 14px; }
  .hero__h { margin-bottom: 16px; }
  .hero__name { font-size: 0.8rem; letter-spacing: 0.1em; margin-bottom: 8px; }
  .hero__what { font-size: min(2.85rem, 12.4vw); }
  .btn { white-space: normal; text-align: center; }
  .hours td.hours__time { white-space: normal; }
  .sign { padding: 12px 16px 12px 14px; gap: 2px 12px; margin-bottom: 6px; }
  .sign__word { font-size: 2.3rem; }
  .sign__detail { font-size: 1.05rem; }
  .hero__rating { margin-bottom: 14px; }
  .hero__lede { font-size: 1.05rem; margin-bottom: 0; }
}

/* ---------------------------------------------- the signature: annotated elevation, straddling the hero edge */
.figband { position: relative; }
.figband::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 38%; z-index: -1; background-color: var(--night);
  background-image:
    url(img/grain-light.svg),
    linear-gradient(var(--grid-n) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-n) 1px, transparent 1px);
  background-size: 220px 220px, 24px 24px, 24px 24px;
}
.figband { isolation: isolate; }
.fig { margin: 0; }
.fig__frame {
  position: relative; padding: 14px; border: 2px solid var(--ink); background: var(--paper);
  box-shadow: 0 46px 70px -40px rgba(0, 0, 0, 0.55);
}
.fig__frame::before, .fig__frame::after { content: ""; position: absolute; width: 22px; height: 22px; border: 0 solid var(--orange); }
.fig__frame::before { top: -12px; left: -12px; border-top-width: 3px; border-left-width: 3px; }
.fig__frame::after { bottom: -12px; right: -12px; border-bottom-width: 3px; border-right-width: 3px; }

.fig__view { --cx: 0; --cy: 0; --cw: 1488; --ch: 700; }
.fig__crop { position: relative; overflow: hidden; background: #2a2a2a; aspect-ratio: var(--cw) / var(--ch); }
.fig__pan {
  position: absolute; aspect-ratio: 1488 / 700;
  width: calc(1488 / var(--cw) * 100%);
  left: calc(var(--cx) / var(--cw) * -100%);
  top: calc(var(--cy) / var(--ch) * -100%);
}
.fig__pan img { width: 100%; height: 100%; }
.fig__view--b, .fig__vlabel { display: none; }
.fig__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.fig__lines path { fill: none; stroke: var(--orange); stroke-width: 3; vector-effect: non-scaling-stroke; }
.fig__lines .lead { stroke-dasharray: 100; stroke-dashoffset: 0; transition: stroke-dashoffset 0.7s var(--ease); }
.fig__lines .pin { fill: var(--orange); stroke: var(--ink); stroke-width: 3; vector-effect: non-scaling-stroke; transition: transform 0.4s, opacity 0.4s; transform-box: fill-box; transform-origin: center; }
.co {
  position: absolute; display: inline-flex; align-items: stretch; white-space: nowrap;
  font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: clamp(0.66rem, 1.05vw, 0.95rem); line-height: 1;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.45); transition: opacity 0.4s, transform 0.4s;
}
.co b { background: var(--orange); color: var(--ink); padding: 0.55em 0.6em; }
.co i { font-style: normal; background: var(--paper); color: var(--ink); padding: 0.55em 0.75em; }
.co--1 { left: 21.9%; top: 32.9%; transform: translate(-50%, -100%); }
.co--2 { left: 46.4%; top: 21.4%; transform: translate(0, -50%); }
.co--3 { left: 51.1%; top: 85.7%; transform: translate(-50%, 0); }
.co--4 { left: 36.2%; top: 85.7%; transform: translate(-50%, 0); }

/* orchestrated reveal: leaders draw in sequence once the figure is on screen */
.anim .fig:not(.is-drawn) .lead { stroke-dashoffset: 100; }
.anim .fig:not(.is-drawn) .pin { transform: scale(0); opacity: 0; }
.anim .fig:not(.is-drawn) .co { opacity: 0; }
.fig .l2 { transition-delay: 0.15s; }
.fig .l3 { transition-delay: 0.35s; }
.fig .l4 { transition-delay: 0.45s; }
.fig .l5 { transition-delay: 0.6s; }
.fig .l6 { transition-delay: 0.7s; }
.fig .co--1 { transition-delay: 0.45s; }
.fig .co--2 { transition-delay: 0.8s; }
.fig .co--3 { transition-delay: 1s; }
.fig .co--4 { transition-delay: 1.1s; }

.fig__key { display: grid; gap: 18px; padding: 24px 0 0; }
.fig__title { margin: 0; font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 1rem; display: flex; gap: 10px; align-items: center; }
.key { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.key li { display: grid; grid-template-columns: 40px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 0.98rem; line-height: 1.45; color: var(--ink-2); }
.key b { font-family: var(--cond); font-weight: 600; color: var(--ink); background: var(--orange); height: 26px; display: grid; place-items: center; font-size: 0.9rem; }
.key strong { color: var(--ink); font-weight: 600; }
@media (min-width: 900px) {
  .fig__key { grid-template-columns: 3fr 9fr; gap: 40px; padding-top: 28px; }
  .key { grid-template-columns: repeat(4, 1fr); border-top: 0; }
  .key li { grid-template-columns: 1fr; border-bottom: 0; border-left: 1px solid var(--rule); padding: 0 18px; }
  .key li:first-child { border-left: 0; padding-left: 0; }
  .key b { width: 36px; }
}

/* phones: two detail views, cropped deliberately, edge to edge, so the callouts have room */
@media (max-width: 699px) {
  .figband::before { height: 120px; }
  .fig__frame { margin: 0 calc(-1 * var(--gut)); padding: 0; border-width: 2px 0; box-shadow: none; }
  .fig__frame::before, .fig__frame::after { display: none; }
  .fig__vlabel {
    display: flex; align-items: center; gap: 10px; margin: 0; padding: 9px var(--gut) 8px; background: var(--ink); color: var(--paper);
    font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem;
  }
  .fig__vlabel b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--orange); color: var(--ink); letter-spacing: 0; }
  .fig__view--a, .fig__view--b { display: block; }
  .fig__view--b { border-top: 2px solid var(--ink); }
  .fig__view--a { --cx: 170; --cy: 150; --cw: 530; --ch: 510; }
  .fig__view--b { --cx: 520; --cy: 100; --cw: 770; --ch: 560; }
  .fig__view--a .co--2, .fig__view--a .co--3, .fig__view--a .ln-makes, .fig__view--a .ln-window { display: none; }
  .fig__view--b .co--2 { left: 50.7%; transform: translate(-50%, -50%); }
  .co { font-size: 0.78rem; }
  .fig__key { padding-top: 16px; }
  .key { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .key li { grid-template-columns: 1fr; gap: 6px; font-size: 0.92rem; padding: 12px 0; }
  .key b { width: 34px; }
}
@media (max-width: 599px) { .key { display: none; } }

/* ------------------------------------------------------------------ section heads */
.work, .symptoms, .visit { padding: clamp(64px, 9vw, 128px) 0; }
.shead { display: grid; gap: 14px; border-top: 3px solid var(--ink); padding-top: 18px; margin-bottom: clamp(32px, 5vw, 64px); }
.shead__no { margin: 0; flex-wrap: wrap; font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.9rem; display: flex; gap: 10px; align-items: center; color: var(--ink-2); }
.shead h2 { font-size: clamp(2.8rem, 7.4vw, 6.6rem); }
.shead__intro { margin: 0; font-size: 1.12rem; line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.shead--compact h2 { font-size: clamp(2.8rem, 5.2vw, 4.8rem); white-space: normal; }
@media (min-width: 900px) {
  .shead { grid-template-columns: 2fr 6fr 4fr; gap: 40px; align-items: end; }
  .shead__no { align-self: start; padding-top: 6px; }
  .shead--compact { grid-template-columns: 2fr 7fr 3fr; align-items: center; }
}

/* ------------------------------------------------------------------ 02 catalog */
.work { padding-top: clamp(56px, 7vw, 104px); }
.legend {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: -14px 0 18px;
  font-family: var(--cond); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.04em; color: var(--ink-2);
}
.legend__i { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; margin-right: 18px; }
.lamp { display: inline-block; width: 11px; height: 11px; border-radius: 50%; flex: none; vertical-align: 0; }
.lamp--ok { background: #2fa257; box-shadow: 0 0 0 2px rgba(31, 122, 58, 0.25), 0 0 8px rgba(47, 162, 87, 0.55); }
.lamp--ask { background: var(--amber); box-shadow: 0 0 0 2px rgba(227, 154, 18, 0.25), 0 0 8px rgba(227, 154, 18, 0.55); }

.cat { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.part { padding: 20px 12px 18px; display: flex; flex-direction: column; border-left: 1px solid var(--rule); min-width: 0; }
.part:nth-child(odd) { border-left: 0; padding-left: 0; }
.part:nth-child(even) { padding-right: 0; }
.part:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
.part__no { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.78rem; color: var(--ink-3); }
.part__no span { display: grid; place-items: center; width: 22px; height: 22px; border: 1.5px solid var(--ink); border-radius: 50%; color: var(--ink); font-size: 0.78rem; letter-spacing: 0; flex: none; }
.part__art { width: 100%; height: clamp(150px, 14vw, 196px); aspect-ratio: auto; color: var(--ink); stroke-width: 2; margin: 4px 0 14px; background: var(--paper-2); border: 1px solid var(--rule); padding: 4px; }
.part h3 { font-size: clamp(1.7rem, 2.8vw, 2.6rem); margin-bottom: 8px; }
.part p { color: var(--ink-2); font-size: 0.95rem; line-height: 1.5; margin-bottom: 14px; }
.part__src {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: auto 0 0 !important; padding-top: 12px; border-top: 1px dashed var(--rule);
  font-family: var(--cond); font-weight: 600; font-size: 0.92rem !important; color: var(--ink) !important; letter-spacing: 0.02em; line-height: 1.3 !important;
}
.part__srck { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.74rem; color: var(--ink-3); }
.part__link {
  display: inline-block; min-height: 44px; margin-top: 8px; align-self: flex-start; justify-self: start;
  font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.9rem; line-height: 1.25;
  text-decoration: none; border-bottom: 2px solid var(--orange); padding: 13px 0 6px;
}
/* the arrow is glued to the last word by a no-break space, so it never wraps onto a line of its own */
.part__link::after { content: "\00a0\2192"; font-family: var(--body); }
.part__link:hover { border-bottom-color: var(--ink); }
.part--lead .part__art { background: var(--orange); border-color: var(--ink); }
.part--lead .part__art .a, .part--lead .part__art .af { stroke: var(--ink); }
.part--lead .part__art .af { fill: var(--paper); }
@media (min-width: 640px) {
  .part { padding: 26px 22px 24px; }
  .part p { font-size: 1rem; }
}
@supports (grid-template-rows: subgrid) {
  @media (min-width: 480px) {
    .part { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; }
  }
}
@media (min-width: 1100px) {
  .cat { grid-template-columns: repeat(4, 1fr); }
  .part, .part:nth-child(odd), .part:nth-child(even) { padding: 26px 22px 24px; border-bottom: 0; border-left: 1px solid var(--rule); }
  .part:first-child { border-left: 0; padding-left: 0; }
  .part:last-child { padding-right: 0; }
  .part__art { padding: 8px; margin-bottom: 18px; }
}
/* small phones: one card per row, the drawing beside the words */
@media (max-width: 479px) {
  .cat { grid-template-columns: 1fr; }
  .part, .part:nth-child(odd), .part:nth-child(even) {
    display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 16px; align-items: start;
    grid-template-areas: "no no" "art h" "art p" "src src" "link link";
    padding: 20px 0 14px; border-left: 0; border-bottom: 1px solid var(--rule);
  }
  .part:last-child { border-bottom: 0; }
  .part__no { grid-area: no; }
  .part__art { grid-area: art; height: auto; aspect-ratio: 320 / 200; margin: 4px 0 0; padding: 2px; }
  .part h3 { grid-area: h; font-size: min(1.6rem, 7.6vw); margin-bottom: 6px; overflow-wrap: anywhere; }
  .part > p:not([class]) { grid-area: p; margin-bottom: 12px; }
  .part__src { grid-area: src; }
  .part__link { grid-area: link; justify-self: start; }
}

/* drawing strokes (apply inside <use> instances too) */
.t { stroke-width: 1; opacity: 0.7; }
.k { stroke-width: 4; }
.h { stroke-dasharray: 5 5; stroke-width: 1; }
.d { stroke-width: 1; opacity: 0.8; }
.a { stroke: var(--orange); stroke-width: 3; }
.af { fill: var(--orange); stroke: currentColor; stroke-width: 2; }
.teeth { stroke-width: 7; stroke-dasharray: 4 3; }
.teeth-s { stroke-width: 5; stroke-dasharray: 3 3; }
.slots { stroke-width: 4; stroke-dasharray: 3 13; }
.coil { stroke-width: 4; }
.sf { fill: currentColor; }
.pipe { stroke: currentColor; stroke-width: 14; }
.pipe-in { stroke: var(--paper-2); stroke-width: 9; }
.part--lead .pipe-in { stroke: var(--orange); }
.body { fill: var(--paper-2); }
.lbl { fill: currentColor; stroke: none; font-family: var(--cond); font-weight: 600; font-size: 12px; }

.makes {
  margin-top: 30px; display: grid; gap: 12px; align-items: center;
  padding: 18px 20px; background: var(--ink); color: var(--on-night);
  background-image: url(img/grain-light.svg);
}
.makes__label { margin: 0; font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.82rem; color: var(--orange); }
.makes__list { display: flex; flex-wrap: wrap; gap: 6px 0; }
.makes__list li { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1.5rem; line-height: 1; letter-spacing: 0.03em; padding: 0 14px; border-left: 1px solid var(--night-rule); }
.makes__list li:first-child { padding-left: 0; border-left: 0; }
.makes__note { margin: 0; color: var(--on-night-2); font-size: 0.98rem; }
.makes__note a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; color: var(--on-night); text-underline-offset: 4px; text-decoration-color: var(--orange); font-weight: 600; }
@media (min-width: 1100px) { .makes { grid-template-columns: auto 1fr auto; gap: 30px; } }

/* ------------------------------------------------------------------ 03 symptom guide */
.work { padding-bottom: clamp(48px, 4.5vw, 64px); }
.symptoms { position: relative; padding-top: clamp(40px, 4vw, 56px); }
.guide { display: grid; gap: 24px; }
@media (min-width: 1000px) { .guide { grid-template-columns: 5fr 7fr; gap: 40px; align-items: start; } }
.guide__pick { display: grid; border-top: 2px solid var(--ink); }
.guide__pick button {
  all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center;
  min-height: 52px; padding: 12px 12px 12px 4px; border-bottom: 1px solid var(--rule); font-family: var(--body); font-size: 1.04rem; line-height: 1.3;
  transition: background-color 0.15s, padding 0.2s;
  position: relative;
}
.guide__pick button:hover { background: var(--paper-3); }
.guide__pick button:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; box-shadow: none; }
.gi__no { font-family: var(--cond); font-weight: 600; font-size: 0.92rem; color: var(--ink-3); letter-spacing: 0.04em; }
.gi__s { font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.76rem; color: var(--ink-2); border: 1px solid var(--rule); padding: 4px 6px 3px; }
.gi__s--warn { border-color: var(--red-ink); color: var(--red-ink); }
.guide__pick button[aria-checked="true"] { background: var(--ink); color: var(--paper); padding-left: 14px; }
.guide__pick button[aria-checked="true"] .gi__no { color: var(--orange); }
.guide__pick button[aria-checked="true"] .gi__s { color: var(--paper); border-color: #6b6457; }
.guide__pick button[aria-checked="true"] .gi__s--warn { color: #ffb3b8; border-color: #ff8a92; }
.guide__pick button[aria-checked="true"]::after {
  content: ""; position: absolute; right: -10px; top: 50%; width: 0; height: 0; transform: translateY(-50%);
  border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-left: 10px solid var(--ink);
}
@media (max-width: 999px) { .guide__pick button[aria-checked="true"]::after { display: none; } }

.sheet {
  position: relative; background: var(--paper); border: 2px solid var(--ink); padding: 0 clamp(18px, 3vw, 36px) clamp(20px, 3vw, 34px);
  box-shadow: 10px 10px 0 var(--ink); overflow: hidden;
}
/* a tear-off sheet: punched holes along the top, then the perforation */
.sheet__perf {
  height: 30px; margin: 0 calc(-1 * clamp(18px, 3vw, 36px)) 0; border-bottom: 2px dashed var(--rule);
  background: radial-gradient(circle at 50% 50%, var(--paper-2) 0 5px, var(--ink) 5px 6px, transparent 6.5px) 0 50% / 30px 30px repeat-x;
}
.sheet__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; border-bottom: 6px solid var(--orange); padding: 18px 0 12px; margin-bottom: 20px; position: relative; }
.sheet__head p { margin: 0; }
.sheet__id { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.sheet__lbl { font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; color: var(--ink-3); }
.sheet__no { font-family: var(--display); font-weight: 900; font-size: 3.4rem; line-height: 0.8; }
.sheet__of { font-family: var(--cond); font-weight: 600; color: var(--ink-3); letter-spacing: 0.06em; }
.sheet__sys { font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.9rem; background: var(--ink); color: var(--paper); padding: 5px 8px 4px; }
.sheet__art { position: absolute; right: -24px; top: 110px; width: 300px; color: var(--ink); opacity: 0.12; stroke-width: 2; pointer-events: none; }
.sheet h3 { font-size: clamp(2rem, 3.6vw, 3.3rem); max-width: 14ch; margin-bottom: 22px; position: relative; }
.sheet__cols { display: grid; gap: 24px; position: relative; }
@media (min-width: 700px) { .sheet__cols { grid-template-columns: 1fr 1fr; gap: 32px; } }
.sheet__causes { counter-reset: c; border-top: 1px solid var(--ink); }
.sheet__causes li { counter-increment: c; display: grid; grid-template-columns: 30px 1fr; padding: 10px 0; border-bottom: 1px solid var(--rule); line-height: 1.4; }
.sheet__causes li::before { content: counter(c, decimal-leading-zero); font-family: var(--cond); font-weight: 600; color: var(--orange-ink); }
.sheet__say { border-left: 6px solid var(--orange); padding: 4px 0 4px 16px; }
.sheet__say p { margin: 0; font-size: 1.1rem; line-height: 1.6; font-style: italic; }
.blank { font-style: normal; font-family: var(--cond); font-weight: 600; border-bottom: 2px solid var(--ink); padding: 0 3px; background: var(--paper-2); white-space: nowrap; }
.sheet__hint { font-size: 0.9rem; color: var(--ink-3); margin: 10px 0 0 22px; }
.sheet__warn {
  position: relative; margin: 0 0 22px; padding: 14px 16px 14px 58px; background: #fff6f4; border: 2px solid var(--red); color: #7d0f17; font-weight: 600; line-height: 1.45;
}
.sheet__warn::before {
  content: "!"; content: "!" / ""; position: absolute; left: 0; top: 0; bottom: 0; width: 42px; display: grid; place-items: center;
  font-family: var(--display); font-weight: 900; font-size: 1.6rem; color: #fff;
  background: repeating-linear-gradient(-45deg, var(--red) 0 8px, #a3141f 8px 16px);
}
.sheet__foot { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; margin-top: 28px; padding-top: 22px; border-top: 1px dashed var(--rule); position: relative; }
.sheet__fine { margin: 0; font-size: 0.9rem; color: var(--ink-3); max-width: 34ch; }

/* ------------------------------------------------------------------ 04 reviews (dark spread, lit from above) */
.reviews {
  position: relative; color: var(--on-night); padding: clamp(80px, 9vw, 128px) 0 clamp(72px, 9vw, 120px);
  background-color: var(--night);
  background-image:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(242, 154, 31, 0.11), transparent 70%),
    url(img/grain-light.svg),
    linear-gradient(var(--grid-n) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-n) 1px, transparent 1px);
  background-size: auto, 220px 220px, 24px 24px, 24px 24px;
}
/* the symptom sheet's paper tears off into the dark section, instead of a hard cut */
.reviews::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 16px;
  background: radial-gradient(circle at 12px 0, var(--paper) 0 9px, transparent 9.5px) 0 0 / 24px 16px repeat-x;
}
.reviews::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--orange);
}
.shead--dark { border-top-color: var(--on-night); }
.shead--dark .shead__no, .shead--dark .shead__intro { color: var(--on-night-2); }
.shead--dark .tag { background: var(--orange); color: var(--ink); }
.reviews__grid { display: grid; gap: 32px; }
@media (min-width: 1000px) { .reviews__grid[data-quotes="true"] { grid-template-columns: 4fr 8fr; gap: 48px; align-items: stretch; } }
.score__cta { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.2rem, 4.4vw, 4rem); line-height: 0.9; margin: 0 0 14px; color: var(--on-night); max-width: 22ch; }
.reviews__grid:not([data-quotes="true"]) .score { border-top: 4px solid var(--orange); padding: clamp(26px, 3.4vw, 44px); }
.reviews__grid:not([data-quotes="true"]) .score__lbl { font-family: var(--body); font-weight: 400; color: var(--on-night-2); max-width: 46ch; }
@media (min-width: 900px) {
  .reviews__grid:not([data-quotes="true"]) .score { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 44px; align-items: center; }
  .reviews__grid:not([data-quotes="true"]) .score > * { margin-bottom: 0; }
  .reviews__grid:not([data-quotes="true"]) .score__num { grid-row: 1 / span 3; grid-column: 1; }
  .reviews__grid:not([data-quotes="true"]) .score__stars, .reviews__grid:not([data-quotes="true"]) .score__cta, .reviews__grid:not([data-quotes="true"]) .score__lbl { grid-column: 2; }
  .reviews__grid:not([data-quotes="true"]) .score__cta { margin-bottom: 12px; }
  .reviews__grid:not([data-quotes="true"]) .score__actions { grid-column: 3; grid-row: 1 / span 3; flex-direction: column; align-items: stretch; }
  /* no rating either: the headline takes the first column */
  .reviews__grid:not([data-quotes="true"]) .score:has(> .score__num[hidden]) { grid-template-columns: minmax(0, 1fr) auto; }
  .reviews__grid:not([data-quotes="true"]) .score:has(> .score__num[hidden]) .score__cta,
  .reviews__grid:not([data-quotes="true"]) .score:has(> .score__num[hidden]) .score__lbl { grid-column: 1; }
  .reviews__grid:not([data-quotes="true"]) .score:has(> .score__num[hidden]) .score__actions { grid-column: 2; }
}
.score { position: relative; padding: 26px 26px 28px; border: 1px solid var(--night-rule); background: linear-gradient(180deg, var(--night-3), var(--night-2)); }
.score__num { font-family: var(--display); font-weight: 900; font-size: clamp(7rem, 12vw, 11rem); line-height: 0.78; margin: 0 0 14px; color: var(--orange); letter-spacing: -0.01em; }
.score__stars { font-size: 1.7rem; letter-spacing: 0.12em; color: var(--orange); margin: 0 0 6px; line-height: 1.2; }
.score__lbl { font-family: var(--cond); font-weight: 600; font-size: 1.15rem; letter-spacing: 0.03em; color: var(--on-night); margin-bottom: 24px; max-width: 26ch; }
.score__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.quotes { display: grid; gap: 16px; }
@media (min-width: 760px) { .quotes { grid-template-columns: 1fr 1fr; } }
.quote {
  display: flex; flex-direction: column; gap: 16px; padding: 26px 26px 24px; position: relative;
  background: var(--night-2); border: 1px solid var(--night-rule); border-top: 4px solid var(--orange);
}
.quote__mark { font-family: var(--display); font-weight: 900; font-size: 5rem; line-height: 0.6; color: var(--orange); height: 30px; margin: 0; }
.quote blockquote { flex: 1; }
.quote blockquote p { margin: 0; font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.45; color: var(--on-night); }
.quote__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin: 0; padding-top: 14px; border-top: 1px solid var(--night-rule); font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.86rem; color: var(--on-night-2); }
.quote__stars { color: var(--orange); letter-spacing: 0.1em; font-size: 1rem; }


/* ------------------------------------------------------------------ 05 visit */
.visit__grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .visit__grid { grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; } }
.visit__addr { font-style: normal; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.3rem, 4.4vw, 3.6rem); line-height: 0.92; margin-bottom: 10px; }
.visit__phone { font-family: var(--cond); font-weight: 600; font-size: 1.7rem; letter-spacing: 0.02em; margin-bottom: 22px; }
.visit__phone a { display: inline-flex; align-items: center; min-height: 48px; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--orange); }

.hours { width: 100%; border-collapse: collapse; margin-bottom: 26px; font-family: var(--cond); font-weight: 600; font-size: 1.08rem; }
.hours caption { text-align: left; caption-side: top; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.hours caption .stamp { float: right; margin-left: 12px; }
.hours caption > span:first-child { font-family: var(--cond); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.9rem; }
.stamp { font-family: var(--body); font-weight: 400; font-size: 0.86rem; color: var(--ink-3); }
.stamp[data-stale="true"] { color: #7d0f17; font-weight: 600; background: #fff6f4; border: 2px solid var(--red); padding: 6px 10px; display: inline-block; line-height: 1.35; }
@media (max-width: 599px) { .hours caption .stamp { float: none; display: block; margin: 6px 0 0; } }
/* the strip chart drops out when the text is scaled up (em here = the container's own text size) */
.visit__info { container: visit / inline-size; }
@container visit (max-width: 19em) { .hours td.hours__strip { display: none; } }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px solid var(--rule); text-align: left; font-weight: 600; vertical-align: middle; }
.hours th { letter-spacing: 0.04em; width: 34%; white-space: nowrap; }
.hours td.hours__time { text-align: right; white-space: nowrap; padding-left: 12px; width: 1%; }
.hours td.hours__strip { padding: 10px 6px 10px 12px; }
.hours tr[data-closed="true"] td { color: var(--ink-3); }
.hours tr[data-today="true"] th, .hours tr[data-today="true"] td { background: var(--orange); color: var(--ink); }
.hours tr[data-today="true"] th { padding-left: 12px; }
.hours tr[data-today="true"] td.hours__time { padding-right: 12px; }
.hours__today { margin-left: 8px; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; background: var(--ink); color: var(--paper); padding: 3px 6px 2px; vertical-align: 2px; }
/* the strip chart: one shared day-span for the week, a bar for each open interval */
.strip { position: relative; display: block; height: 12px; }
.strip::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px dashed var(--rule); }
tr[data-today="true"] .strip::before { border-top-color: rgba(21, 19, 15, 0.35); }
.strip__bar { position: absolute; top: 0; bottom: 0; left: var(--l); width: var(--w); background: var(--ink); }
.strip__now { position: absolute; top: -7px; bottom: -7px; left: var(--l); width: 3px; margin-left: -1px; background: var(--paper); box-shadow: 0 0 0 1.5px var(--ink); }
.strip__now::before { content: ""; position: absolute; left: 50%; top: -4px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 1.5px var(--ink); }

.hours__fallback { margin-bottom: 26px; padding: 18px 20px; border: 2px dashed var(--ink-3); background: var(--paper-2); }
.hours__fallback p { margin: 0 0 6px; color: var(--ink-2); }
.hours__fallback .hours__fbh { font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.9rem; color: var(--ink); }
.hours__fallback a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--cond); font-weight: 600; font-size: 1.15rem; color: var(--ink); text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.visit__actions { display: flex; flex-wrap: wrap; gap: 14px 16px; }

.mapfig { position: relative; }
.mapfig__link { position: relative; display: block; border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--orange); background: #16181c; }
.mapfig__link img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; }
.co--map { left: 50%; top: 50%; transform: translate(30px, -50%); text-decoration: none; }
@media (max-width: 699px) { .co--map { font-size: min(0.72rem, 3.3vw); transform: translate(22px, -50%); } }
.mapfig__link:hover { box-shadow: 10px 10px 0 var(--ink); }
.mapfig figcaption, .spread figcaption { margin-top: 18px; display: flex; gap: 10px; align-items: center; font-family: var(--cond); font-weight: 600; letter-spacing: 0.04em; font-size: 0.98rem; color: var(--ink-2); }

.spread { margin-top: clamp(56px, 7vw, 96px); padding-top: 18px; border-top: 3px solid var(--ink); }
.spread__img { position: relative; overflow: hidden; background: #3a3a3a; }
.spread img { width: 100%; aspect-ratio: 1600 / 620; object-fit: cover; object-position: 50% 35%; }
@media (max-width: 699px) {
  .spread__img { margin: 0 calc(-1 * var(--gut)); }
  .spread img { aspect-ratio: 1600 / 680; }
  .spread figcaption { margin-top: 14px; }
}

/* ------------------------------------------------------------------ footer */
.foot {
  color: var(--on-night); padding: 64px 0 40px; position: relative; border-top: 4px solid var(--orange);
  background-color: var(--night); background-image: url(img/grain-light.svg); background-size: 220px 220px;
}
.foot__grid { display: grid; gap: 34px; }
@media (min-width: 900px) { .foot__grid { grid-template-columns: 4fr 3.4fr 2.6fr 2.4fr; gap: 40px; align-items: start; } }
/* sign-off: the shop's own mark, with the name set under it */
.foot__sign { margin: 0; }
.foot__mark { width: 160px; height: auto; filter: brightness(1.1) drop-shadow(0 10px 18px rgba(0, 0, 0, 0.7)); margin: -8px 0 12px -6px; }
.foot__caps {
  display: inline-block; margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  letter-spacing: 0.03em; line-height: 0.95; color: var(--on-night); padding-bottom: 10px; border-bottom: 4px solid var(--orange);
}
.foot__caps span { display: block; font-family: var(--cond); font-weight: 600; font-size: 0.62em; letter-spacing: 0.14em; color: var(--orange); margin-top: 4px; }
.foot__h { font-family: var(--cond); font-weight: 600; font-size: 0.86rem; letter-spacing: 0.12em; color: var(--orange); margin-bottom: 10px; line-height: 1.3; }
.foot__col p { color: var(--on-night); margin-bottom: 6px; }
.foot__col li { margin: 0; }
.foot__col a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-night); text-underline-offset: 4px; text-decoration-color: #6b6457; }
.foot__col a:hover { color: var(--orange); }
.foot__tel { font-family: var(--cond); font-weight: 600; font-size: 1.5rem; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 30px; border-top: 1px solid var(--night-rule); padding-top: 14px; margin-top: 44px; font-size: 0.9rem; color: var(--on-night-2); }
.foot__base p { margin: 0; max-width: 70ch; }
.foot__base a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-night); text-underline-offset: 4px; }

/* ------------------------------------------------------------------ phone dock */
.dock { display: none; }
@media (max-width: 899px) {
  .foot { padding-bottom: calc(40px + 76px + env(safe-area-inset-bottom)); }
  .dock {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: var(--ink); border-top: 4px solid var(--orange);
  }
  .dock a {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; min-width: 0; padding: 0 10px; text-decoration: none; white-space: nowrap;
    font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: min(1.08rem, 4.4vw);
  }
  .dock__call { background: var(--orange); color: var(--ink); }
  .dock__dir { color: var(--paper); border: 2px solid #5a5347; }
}

@media (max-width: 599px) {
  .work, .symptoms, .visit { padding: 56px 0; }
  .work { padding-top: 48px; }
  .shead h2 { font-size: min(2.75rem, 11.5vw); overflow-wrap: anywhere; }
  .shead__intro { font-size: 1.04rem; }
  .legend { margin-top: -10px; font-size: 0.84rem; }
  .part h3 { font-size: min(1.6rem, 7.6vw); }
  .part__src { font-size: 0.84rem !important; }
  .part__link { font-size: 0.82rem; }
  .sheet { box-shadow: 6px 6px 0 var(--ink); }
  .sheet__perf { margin: 0 -18px; }
  .sheet__no { font-size: 2.8rem; }
  .sheet__lbl-l { display: none; }
  .sheet__id { flex-wrap: nowrap; }
  .sheet__art { width: 200px; top: 96px; right: -40px; }
  .guide__pick button { font-size: 1rem; padding: 10px 8px 10px 2px; grid-template-columns: 30px 1fr auto; min-height: 50px; }
  .visit__actions .btn, .score__actions .btn { flex: 1 1 100%; }
  .mapfig__link { box-shadow: 6px 6px 0 var(--orange); }
  .makes { padding: 16px; }
  .makes__list { gap: 6px; }
  .makes__list li, .makes__list li:first-child { border: 1px solid var(--night-rule); padding: 6px 9px 5px; font-size: 1.15rem; }
  .score { padding: 22px 20px 22px; }
  .score__num { font-size: 7rem; }
  .quote { padding: 22px 20px 20px; }
  .hours { font-size: 1rem; }
  .hours th { width: auto; }
  .hours__today { display: table; margin: 4px 0 0; }
  .hours td.hours__strip { padding-left: 8px; min-width: 64px; }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .foot__sign, .foot__col:nth-child(2) { grid-column: 1 / -1; }
}

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

/* Hemi performance builds (added 2026-10-07 at the shop manager's request): a full-width band under the
   four systems, same evidence lamp as the cards, the engine drawing on the shop orange */
.build { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border-bottom: 2px solid var(--ink); }
.build__art { position: relative; background: var(--orange); border-right: 2px solid var(--ink); display: grid; place-items: center; padding: 56px 18px 18px; min-height: 220px; }
.build__art svg { width: 100%; max-width: 420px; height: auto; color: var(--ink); stroke-width: 2.4; }
.build__tag { position: absolute; left: 18px; top: 14px; font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 0.85; letter-spacing: 0.04em; color: var(--paper); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; }
.build__art .a, .build__art .t, .build__art .d { stroke: var(--ink); }
.build__art .d { opacity: 0.5; }
.build__body { padding: 22px 24px 24px; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.build__body h3 { font-size: clamp(1.9rem, 3.4vw, 3rem); margin-bottom: 10px; }
.build__body > p:not(.part__no):not(.part__src) { color: var(--ink-2); font-size: 1.02rem; line-height: 1.55; margin-bottom: 14px; max-width: 46ch; }
.build__cta { margin-top: 4px; }
@media (max-width: 699px) {
  .build { grid-template-columns: 1fr; }
  .build__art { border-right: 0; border-bottom: 2px solid var(--ink); min-height: 180px; }
  .build__body { padding: 20px 12px 22px; }
  .build__cta { width: 100%; justify-content: center; }
}
