/* ─────────────────────────────────────────────
   Pit Lane Print Co. — styles
   Colors: asphalt dark + signal red, with the four
   "filament" colors as an accent band (a nod to the
   multi-color printer).
   ───────────────────────────────────────────── */

:root {
  --bg: #0e0f11;
  --bg-2: #15171b;
  --panel: #1a1d22;
  --line: #2a2e35;
  --text: #ece9e2;
  --muted: #9a9ea6;
  --soft: #c9c6bf;      /* secondary body text */
  --overlay: #141518;   /* solid surface for story overlays */
  --overlay-line: #2c2f36;

  --red: #e8361c;
  --amber: #ffb020;
  --cyan: #3fc1d9;
  --bone: #ede6d6;

  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Barlow", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --radius: 10px;
  --maxw: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 0.95; margin: 0; letter-spacing: 0.01em; text-wrap: balance; }
h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; text-transform: uppercase; }
h3 { font-size: 1.6rem; font-weight: 800; text-transform: uppercase; }
p { margin: 0 0 1em; }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
section[id] { scroll-margin-top: 4.5rem; }

/* skip link: hidden until keyboard focus */
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 60;
  padding: .7rem 1rem; border-radius: 6px; background: var(--amber); color: #111; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ───────── buttons ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  background: var(--red); color: #fff;
  font-family: var(--display); font-weight: 800; font-size: 1.15rem;
  text-transform: uppercase; letter-spacing: .04em;
  padding: .85em 1.5em; border: 2px solid var(--red); border-radius: 6px;
  text-decoration: none; cursor: pointer;
  transition: background .2s cubic-bezier(.22,1,.36,1), border-color .2s cubic-bezier(.22,1,.36,1), color .2s;
}
.btn:hover { background: #c92b14; border-color: #c92b14; }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: transparent; border-color: var(--text); }
.btn-sm { font-size: .95rem; padding: .6em 1.1em; gap: .3em; }
.btn-block { width: 100%; }

/* ───────── filament band (signature motif) ───────── */
.filament-band { display: grid; grid-template-columns: repeat(4, 1fr); height: 8px; border-radius: 4px; overflow: hidden; }
.filament-band.thin { height: 4px; border-radius: 0; }
.filament-band i:nth-child(1), .brand-mark i:nth-child(1), .plate-stripes i:nth-child(1) { background: var(--red); }
.filament-band i:nth-child(2), .brand-mark i:nth-child(2), .plate-stripes i:nth-child(2) { background: var(--amber); }
.filament-band i:nth-child(3), .brand-mark i:nth-child(3), .plate-stripes i:nth-child(3) { background: var(--cyan); }
.filament-band i:nth-child(4), .brand-mark i:nth-child(4), .plate-stripes i:nth-child(4) { background: var(--bone); }

/* ───────── nav ───────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: .9rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(14,15,17,.97);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-mark { display: grid; gap: 3px; width: 22px; }
.brand-mark i { display: block; height: 4px; border-radius: 2px; }
.brand-mark i:nth-child(2) { width: 85%; }
.brand-mark i:nth-child(3) { width: 70%; }
.brand-mark i:nth-child(4) { width: 55%; }
.brand-name { font-family: var(--display); font-weight: 900; font-size: 1.45rem; text-transform: uppercase; letter-spacing: .03em; }
.nav { transition: background .3s, box-shadow .3s; }
.nav.scrolled { background: var(--bg); }
.nav-links { display: flex; gap: 1.8rem; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .15s; }
.nav-links a:hover, .nav-links a[aria-current="true"] { color: var(--text); }
.nav-links a[aria-current="true"] { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: .45em; }
.btn-sm { min-height: 44px; }
.nav-toggle {
  display: none; align-items: center; gap: .55rem; min-height: 44px; padding: 0 .9rem;
  background: transparent; color: var(--text); border: 1px solid var(--line); border-radius: 6px; cursor: pointer;
  font: 600 .95rem/1 var(--body);
}
.nav-toggle-bars { display: grid; gap: 4px; width: 16px; }
.nav-toggle-bars i { display: block; height: 2px; background: currentColor; border-radius: 1px; transition: transform .2s cubic-bezier(.22,1,.36,1); }
.nav.open .nav-toggle-bars i:first-child { transform: translateY(3px) rotate(45deg); }
.nav.open .nav-toggle-bars i:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ───────── hero ───────── */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  padding: clamp(3rem, 8vw, 6.5rem) clamp(1rem, 4vw, 2.5rem) clamp(2.5rem, 6vw, 4.5rem);
}
.eyebrow { font-size: 1.05rem; font-weight: 500; color: var(--soft); margin-bottom: 1.4rem; }
.eyebrow span { color: var(--text); font-weight: 600; }

.hero h1 { font-size: clamp(3.2rem, 8vw, 6rem); font-weight: 900; text-transform: uppercase; }
.hero h1 .accent { color: var(--red); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1 .line > span { display: inline-block; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: #cfccc5; max-width: 34ch; margin: 1.5rem 0 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-note { margin: 1.8rem 0 0; max-width: 46ch; font-size: .98rem; color: var(--muted); }

.hero-visual { display: grid; gap: 14px; }
.bed {
  position: relative; background: var(--bg-2);
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.04);
}
.track { width: 100%; height: auto; display: block; }
.layer { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.l1 { stroke: var(--bone); stroke-width: 16; opacity: .12; transform: translate(0, 6px); }
.l2 { stroke: var(--cyan); stroke-width: 14; opacity: .55; transform: translate(0, 4px); }
.l3 { stroke: var(--amber); stroke-width: 12; opacity: .8; transform: translate(0, 2px); }
.l4 { stroke: var(--red); stroke-width: 10; }
.readout {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .8rem 1.1rem; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: .72rem; color: var(--muted);
}
.readout span { display: block; font-size: .7rem; letter-spacing: .12em; }
.readout b { color: var(--text); font-weight: 600; font-size: .9rem; }
.readout .ok { color: #3ddc84; }

/* ───────── sections ───────── */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(3.5rem, 8vw, 6rem) clamp(1rem, 4vw, 2.5rem); }
.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 720px; }
.section-sub { color: var(--soft); font-size: 1.1rem; margin-top: 1.1rem; max-width: 56ch; }
.section-head.split { max-width: none; display: grid; grid-template-columns: auto minmax(0, 46ch); justify-content: space-between; align-items: end; gap: 1rem 3rem; }
.section-head.split .section-sub { margin: 0; }

/* ───────── services: a menu board, not a card grid ───────── */
.menu { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.menu-lead { border-top: 3px solid var(--red); padding-top: 1.6rem; }
.menu-lead h3 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); margin-bottom: 1.1rem; }
.menu-lead p { color: var(--soft); font-size: 1.08rem; max-width: 52ch; margin-bottom: 1.4rem; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li {
  --draw: 1;
  position: relative; display: grid; grid-template-columns: minmax(9rem, .8fr) 1.2fr; gap: .4rem 2rem;
  padding: 1.5rem 0 1.6rem;
}
.menu-list li::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line);
  transform: scaleX(var(--draw)); transform-origin: left;
}
.menu-list li:first-child::before { height: 3px; background: var(--text); }
.menu-list h3 { font-size: 1.55rem; line-height: 1; }
.menu-list p { color: var(--soft); font-size: .98rem; margin: 0; }
.menu-list em { color: var(--text); font-style: normal; font-weight: 600; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { padding: .7rem 0; border-bottom: 1px dashed var(--line); font-weight: 500; display: flex; gap: .7rem; }
.ticks li::before { content: "→"; color: var(--red); font-weight: 700; }

/* ───────── "sound familiar?" fixes: a parts-counter list ───────── */
.fixes { margin-top: clamp(4rem, 8vw, 6.5rem); }
.fixes-head { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: end; margin-bottom: 2.2rem; }
.fixes-head h3 { font-size: clamp(2.2rem, 4vw, 3rem); }
.fixes-head p { color: var(--soft); margin: 0; max-width: 52ch; }
.fix-grid { columns: 4 13.5rem; column-gap: 2.5rem; }
.fix { break-inside: avoid; margin-bottom: 2.2rem; }
.fix h4 { margin: 0 0 .5rem; font-family: var(--display); font-size: 1.3rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; color: var(--text); padding-bottom: .5rem; border-bottom: 2px solid var(--text); }
.fix ul { list-style: none; margin: 0; padding: 0; }
.fix li { position: relative; padding: .45rem 0 .45rem 1.1rem; font-size: .95rem; color: var(--soft); line-height: 1.4; border-top: 1px dashed var(--line); }
.fix li:first-child { border-top: 0; }
.fix li::before { content: "×"; position: absolute; left: 0; top: .42rem; color: var(--red); font-weight: 700; }
.fix-cta {
  margin-top: 1rem; padding-top: 2rem; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap;
}
.fix-cta p { margin: 0; max-width: 40ch; font-size: 1.08rem; color: var(--soft); }
.fix-cta b { display: block; margin-bottom: .3rem; font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.05; text-transform: uppercase; color: var(--text); }

/* ───────── process ───────── */
.laps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: lap; }
.laps li { position: relative; padding: 1.8rem 1.6rem 0 0; border-top: 2px solid var(--line); }
.laps li::before {
  content: ""; position: absolute; top: -7px; left: 0;
  width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--red);
}
.laps li:last-child::before { background: var(--red); }
.laps li:last-child { border-image: repeating-linear-gradient(90deg, var(--text) 0 8px, var(--bg) 8px 16px) 1; }
.lap-num { font-family: var(--mono); font-size: .8rem; color: var(--red); letter-spacing: .1em; }
.laps h3 { margin: .5rem 0 .7rem; font-size: 1.5rem; }
.laps p { color: var(--soft); font-size: .98rem; }

/* ───────── scroll story (#process) ─────────
   Without JS/WebGL (or with reduced motion) this is a plain
   list of 8 steps. story.js adds .story-on to <html> and the
   section becomes a full-screen, scroll-scrubbed 3D scene. */
.story-intro { padding-bottom: 0; }
.story-pin { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem) clamp(3.5rem, 8vw, 6rem); }
.story-stage { display: none; }
.story-steps { grid-template-columns: repeat(4, 1fr); row-gap: 2.5rem; }
.story-steps .lap-num { text-transform: uppercase; }

.story-on .story-pin { padding: 0; max-width: none; }
.story-on .story-inner { position: relative; height: 100vh; height: 100svh; overflow: hidden; --pad: max(clamp(1rem, 4vw, 2.5rem), calc((100vw - var(--maxw)) / 2 + 2.5rem)); }
.story-on .story-stage {
  display: block; position: absolute; inset: 0;
  background:
    radial-gradient(50% 50% at 66% 50%, rgba(255,244,232,.075), transparent 72%),
    radial-gradient(120% 100% at 50% 110%, #0c0d10 0%, #060607 70%);
}
.story-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* HUD + progress */
.stage-hud {
  position: absolute; top: 5.4rem; left: var(--pad); right: var(--pad); z-index: 3;
  display: flex; justify-content: space-between; gap: 1rem;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(236,233,226,.68);
}
.stage-hud b { color: var(--text); font-weight: 600; }
.stage-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.05); z-index: 3; }
.stage-progress i {
  display: block; height: 100%; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--red) 0 25%, var(--amber) 25% 50%, var(--cyan) 50% 75%, var(--bone) 75%);
}

/* the step text: big headline over the scene, one at a time */
.story-on .story-steps {
  position: absolute; z-index: 3; left: var(--pad); bottom: clamp(3rem, 11vh, 7rem);
  width: min(460px, 38vw); display: grid; grid-template-columns: 1fr;
}
.story-on .story-steps li {
  grid-area: 1 / 1; border-top: 0; padding: 0;
  opacity: 0; transform: translateY(22px); filter: blur(6px);
  transition: opacity .5s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1), filter .5s cubic-bezier(.22,1,.36,1); pointer-events: none;
}
.story-on .story-steps li::before { display: none; }
.story-on .story-steps li.is-active { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.story-on .story-steps .lap-num { font-size: .74rem; letter-spacing: .16em; }
.story-on .story-steps h3 {
  font-size: clamp(2.5rem, 4.4vw, 4.3rem); line-height: .94; margin: 1rem 0 1.1rem; text-wrap: balance;
}
.story-on .story-steps p { font-size: 1.12rem; line-height: 1.55; color: rgba(236,233,226,.82); max-width: 36ch; margin: 0; }

/* overlays: one set per beat, shown by [data-beat] */
.story-overlays { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.ov {
  position: absolute; right: var(--pad); bottom: clamp(3rem, 11vh, 7rem);
  display: flex; flex-direction: column; align-items: flex-end; gap: .6rem;
  opacity: 0; transform: translateY(12px); transition: opacity .45s cubic-bezier(.22,1,.36,1), transform .5s cubic-bezier(.22,1,.36,1);
}
.story-stage[data-beat="0"] .ov-0, .story-stage[data-beat="2"] .ov-2, .story-stage[data-beat="3"] .ov-3,
.story-stage[data-beat="4"] .ov-4, .story-stage[data-beat="5"] .ov-5, .story-stage[data-beat="7"] .ov-7 { opacity: 1; transform: none; transition-delay: .15s; }

.ov-tag {
  font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em;
  padding: .5em .85em; border-radius: 100px; color: var(--text);
  background: var(--overlay); border: 1px solid var(--overlay-line);
}
.ov-tag.cyan { color: var(--cyan); border-color: rgba(63,193,217,.4); }
.readout-box {
  display: inline-flex; align-items: baseline; gap: .55rem; padding: .7rem 1rem; border-radius: 14px; font-family: var(--mono);
  background: var(--overlay); border: 1px solid var(--overlay-line);
}
.readout-box span { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.readout-box b { font-size: 1.6rem; color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.readout-box em { font-style: normal; font-size: .75rem; color: var(--muted); }

.price-chip {
  display: grid; justify-items: end; gap: .1rem; padding: 1rem 1.2rem; border-radius: 16px;
  background: var(--overlay); border: 1px solid var(--overlay-line);
}
.price-chip span { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.price-chip b { font-family: var(--display); font-size: 3.2rem; font-weight: 800; line-height: 1; }
.price-chip em { font-style: normal; font-size: .85rem; color: var(--muted); }

/* hotspot pinned to the model */
.hotspot { position: absolute; left: 0; top: 0; z-index: 3; opacity: 0; transition: opacity .35s ease; will-change: transform; }
.hotspot.on { opacity: 1; }
.hotspot i {
  position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.18), 0 0 18px rgba(255,255,255,.5);
}
.hotspot i::after {
  content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px solid rgba(255,255,255,.55);
  animation: ping 1.8s ease-out infinite;
}
@keyframes ping { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
.hotspot span {
  position: absolute; left: 22px; top: -15px; white-space: nowrap;
  font-size: .82rem; font-weight: 600; padding: .4rem .8rem; border-radius: 100px;
  background: var(--overlay); border: 1px solid var(--overlay-line);
}

/* beat 3: phone */
.ov-2 { top: 18%; bottom: auto; }
.phone {
  width: 260px; padding: 1rem; border-radius: 26px; display: grid; gap: .6rem;
  background: var(--overlay); border: 1px solid var(--overlay-line);
  box-shadow: 0 30px 60px -25px rgba(0,0,0,.95);
}
.phone-top { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-bottom: .5rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.bubble { font-size: .86rem; line-height: 1.38; padding: .65rem .8rem; border-radius: 16px; max-width: 92%; }
.bubble.in { background: #26282d; color: var(--text); border-bottom-left-radius: 5px; }
.bubble.out { background: var(--red); color: #fff; justify-self: end; border-bottom-right-radius: 5px; }
.bubble .thumb {
  display: block; height: 64px; margin-bottom: .5rem; border-radius: 10px;
  background:
    repeating-conic-gradient(from 0deg at 50% 50%, #e6dfcd 0 6deg, transparent 6deg 10deg) 50% 50% / 56px 56px no-repeat,
    radial-gradient(circle at 50% 50%, #e6dfcd 0 22px, transparent 23px),
    radial-gradient(circle at 50% 50%, transparent 0 28px, #1d1f23 28px),
    #2c2f35;
}
.story-stage[data-beat="2"] .bubble.in { animation: pop .45s .25s both; }
.story-stage[data-beat="2"] .bubble.out { animation: pop .45s 1.1s both; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.94); } }

/* beat 8: route + price comparison */
.ov-7 { flex-direction: row; align-items: flex-end; }
.route-card { width: 260px; padding: 1rem 1.1rem .9rem; border-radius: 18px; background: var(--overlay); border: 1px solid var(--overlay-line); }
.route-card svg { width: 100%; height: auto; display: block; }
.route-bg { fill: none; stroke: #2a2d33; stroke-width: 7; stroke-linecap: round; }
.route { fill: none; stroke: var(--red); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.route-start { fill: var(--bone); }
.route-end { fill: var(--amber); }
.route-meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: .6rem; font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.route-meta b { font-size: 1.1rem; color: var(--text); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.compare { display: grid; grid-template-columns: 1fr 1fr; width: 260px; border-radius: 18px; overflow: hidden; background: var(--overlay); border: 1px solid var(--overlay-line); }
.compare > div { padding: .8rem 1rem; display: grid; gap: .1rem; }
.compare > div + div { border-left: 1px solid rgba(255,255,255,.08); }
.compare span { font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.compare s { font-family: var(--display); font-size: 1.9rem; font-weight: 800; color: rgba(236,233,226,.4); }
.compare b { font-family: var(--display); font-size: 1.9rem; font-weight: 800; color: var(--amber); }

/* ───────── about ───────── */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-plate {
  aspect-ratio: 4 / 5; border-radius: 14px; border: 1px solid var(--line);
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 2px, transparent 2px 6px),
    radial-gradient(120% 80% at 20% 0%, #2a2018, var(--bg-2) 60%);
  display: flex; align-items: flex-end; overflow: hidden;
}
.plate-inner { padding: 1.8rem; width: 100%; }
.plate-label { font-family: var(--mono); font-size: .72rem; letter-spacing: .2em; color: var(--muted); }
.plate-name { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(3rem, 6vw, 4.6rem); text-transform: uppercase; line-height: .9; margin: .4rem 0 .6rem; }
.plate-meta { font-family: var(--mono); font-size: .78rem; color: var(--muted); }
.plate-stripes { display: grid; grid-template-columns: repeat(4, 1fr); height: 6px; margin-top: 1.4rem; border-radius: 3px; overflow: hidden; }
.about-copy h2 { margin-bottom: 1.5rem; }
.about-copy p { color: var(--soft); font-size: 1.08rem; max-width: 60ch; }
.sig { font-family: var(--display); font-weight: 800; font-size: 1.5rem !important; color: var(--text) !important; text-transform: uppercase; }

/* ───────── gallery ───────── */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.shot { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.shot-img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background-color: var(--bg-2); }
.shot figcaption { padding: 1rem 1.1rem 1.15rem; display: grid; gap: .2rem; }
.shot figcaption b { font-family: var(--display); font-weight: 800; font-size: 1.25rem; text-transform: uppercase; }
.shot figcaption span { font-family: var(--mono); font-size: .72rem; color: var(--muted); }

/* ───────── faq ───────── */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.faq .section-head { position: sticky; top: 6rem; margin: 0; }
.faq-list { display: grid; gap: 0; border-top: 3px solid var(--text); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 1.3rem 0; font-weight: 600; font-size: 1.12rem; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--mono); color: var(--red); font-size: 1.3rem; line-height: 1; transition: transform .25s cubic-bezier(.22,1,.36,1); }
summary:hover { color: #fff; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--soft); margin: 0 0 1.4rem; max-width: 65ch; }

/* ───────── quote ───────── */
.quote {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}
.quote-intro p { color: var(--soft); font-size: 1.08rem; margin-top: 1.3rem; }
.contact-lines { list-style: none; padding: 0; margin: 2rem 0 0; }
.contact-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.contact-lines span { color: var(--muted); }
.contact-lines a, .contact-lines b { font-weight: 600; text-decoration: none; text-align: right; }
.contact-lines a { display: inline-flex; align-items: center; min-height: 44px; margin: -.6rem 0; }
.contact-lines a:hover { color: var(--red); }

.quote-form { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; gap: 1.1rem; }
.quote-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.quote-form label { display: grid; gap: .45rem; font-size: .95rem; font-weight: 500; color: var(--soft); }
.quote-form input, .quote-form select, .quote-form textarea {
  font: inherit; font-family: var(--body); font-size: 1rem; text-transform: none; letter-spacing: 0;
  color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 6px;
  padding: .8rem .9rem; width: 100%; transition: border-color .15s;
  color-scheme: dark;
}
.quote-form textarea { resize: vertical; min-height: 120px; }
.quote-form ::placeholder { color: #8b8f97; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: none; border-color: var(--amber); }
.quote-form .invalid { border-color: var(--red); }
.field-error { min-height: 0; font-size: .9rem; color: #ff6a4d; }
.field-error:empty { display: none; }
.field-hint { font-size: .88rem; color: var(--muted); }
.opt { font-weight: 400; color: var(--muted); }
.form-note { margin: 0; font-size: .92rem; color: var(--muted); min-height: 1.4em; }
.form-note.ok { color: #3ddc84; }
.form-note.err { color: var(--red); }

/* ───────── footer ───────── */
.footer { margin-top: 2rem; }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 2.5rem clamp(1rem, 4vw, 2.5rem);
  display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap;
}
.footer-inner p { color: var(--muted); margin: .4rem 0 0; font-size: .92rem; }
.footer-line { font-family: var(--display); font-weight: 800; font-size: 1.15rem !important; text-transform: uppercase; color: var(--text) !important; }


/* ───────── responsive ───────── */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .menu, .faq { grid-template-columns: 1fr; }
  .faq .section-head { position: static; }
  .laps { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .story-steps { grid-template-columns: repeat(2, 1fr); }
  .fixes-head { grid-template-columns: 1fr; gap: .8rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .about, .quote { grid-template-columns: 1fr; }
  .about-plate { aspect-ratio: 16 / 10; max-width: 560px; }
  .section-head.split { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; padding: .4rem clamp(1rem, 4vw, 2.5rem) 1rem;
    background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { display: flex; align-items: center; min-height: 52px; font-size: 1.15rem; color: var(--text); border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
  .brand-name { font-size: 1.2rem; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .gallery, .laps, .story-steps { grid-template-columns: 1fr; }
  .menu-list li { grid-template-columns: 1fr; }
  .quote-form .row { grid-template-columns: 1fr; }
  .nav .btn-sm { padding: .5em .9em; font-size: .9rem; white-space: nowrap; }
  .nav { gap: .6rem; }
  .brand-name { white-space: nowrap; }
  .hide-sm { display: none; }
}

/* story on tall screens (phones, portrait tablets) */
@media (max-aspect-ratio: 11/10) {
  .story-on .story-stage { background: radial-gradient(70% 45% at 50% 34%, rgba(255,244,232,.075), transparent 72%), radial-gradient(120% 100% at 50% 110%, #0c0d10 0%, #060607 70%); }
  .stage-hud { top: 4.6rem; font-size: .68rem; }
  /* the copy sits over the lit floor: darken the bottom of the frame behind it */
  .story-on .story-stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 52%; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(6,6,7,.92) 0%, rgba(6,6,7,.7) 45%, transparent 100%); }
  .story-on .story-steps { width: auto; right: var(--pad); bottom: 1.8rem; }
  .story-on .story-steps h3 { font-size: clamp(1.9rem, 7.4vw, 2.8rem); margin: .6rem 0 .6rem; }
  .story-on .story-steps p { font-size: .98rem; }
  .ov { top: 6.6rem; bottom: auto; right: var(--pad); }
  .ov-2 { top: 6.6rem; }
  .phone { width: 210px; padding: .75rem; gap: .45rem; border-radius: 20px; }
  .bubble { font-size: .76rem; }
  .bubble .thumb { height: 44px; background-size: 40px 40px, auto, auto, auto; }
  .price-chip b { font-size: 2.4rem; }
  .readout-box b { font-size: 1.25rem; }
  .ov-3 { left: var(--pad); right: auto; align-items: flex-start; }
  .ov-3 .readout-box:first-child { display: none; } /* the caliper LCD already shows it */
  .ov-7 { top: auto; bottom: 16.5rem; left: var(--pad); right: var(--pad); flex-direction: row; align-items: stretch; justify-content: center; }
  .route-card, .compare { width: auto; flex: 1; }
  .route-card svg { height: 48px; }
  .compare { grid-template-columns: 1fr; }
  .compare > div { padding: .45rem .8rem; }
  .compare > div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,.08); }
  .route-card { padding: .7rem .8rem; }
  .compare s, .compare b { font-size: 1.35rem; }
  .hotspot span { font-size: .72rem; }
}

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