/* =========================================================
   Straightaway Detailing — v21 "motorsport luxury" layout.
   Loads after style.css. style.css still styles the working parts
   (booking form, price gauge, sliders, lights-out intro, admin);
   this file owns the page layout, header, footer and type.
   ========================================================= */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff") format("woff");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #050506;
  --panel: #0d0e10;
  --panel-2: #141519;
  --rule: #222328;
  --rule-2: #34353c;
  --plat: #ecebe6;
  --pew: #a6a49e;
  --dim: #75736e;
  --gold: #c9a46a;
  --gold-hi: #e3c690;
  --gold-lo: rgba(201, 164, 106, 0.18);

  /* old names, so the booking/admin parts pick up the new look */
  --black: var(--ink);
  --graphite: var(--panel);
  --graphite-2: var(--panel-2);
  --line: var(--rule);
  --platinum: var(--plat);
  --pewter: var(--pew);
  --pewter-dim: var(--dim);
  --champagne: var(--gold);

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --rw: 1320px;
  --pad: clamp(18px, 4vw, 48px);
  --header-h: 64px;
  --chamfer: 28px;
}

html, body { background: var(--ink); }
body { color: var(--plat); font-family: var(--font-body); font-stretch: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 1rem + 5.2vw, 5.6rem); }
h2 { font-size: clamp(1.9rem, 1rem + 3vw, 3.6rem); }
h3 { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.35rem); letter-spacing: -0.01em; line-height: 1.15; }
p { text-wrap: pretty; }

/* data labels: condensed, spaced caps, like a timing screen */
.dl {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  font-family: var(--font-body);
  font-stretch: 72%;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pew);
  line-height: 1.2;
}
.dl b { color: var(--gold); font-weight: 700; font-variant-numeric: tabular-nums; }
.dl b::after { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--gold); vertical-align: middle; margin-left: 10px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--gold-lo); flex: none; }

.rw { width: 100%; max-width: var(--rw); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- Buttons ---------- */
.rb-row { display: flex; flex-wrap: wrap; gap: 12px; }
.rb {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 24px;
  font-family: var(--font-body); font-stretch: 110%; font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.005em; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; border-radius: 0;
  transition: background-color .2s, color .2s, border-color .2s;
}
.rb svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .25s var(--ease-out); }
.rb:hover svg { transform: translateX(4px); }
.rb-gold { background: var(--gold); color: #0a0a0a; }
.rb-gold:hover { background: var(--gold-hi); }
.rb-line { border-color: var(--rule-2); color: var(--plat); }
.rb-line:hover { border-color: var(--gold); color: var(--gold-hi); }

/* old buttons inside the booking/admin parts */
.btn { border-radius: 0; font-stretch: 110%; letter-spacing: 0.005em; }
.btn-primary { background: var(--gold); color: #0a0a0a; border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-hi); border-color: var(--gold-hi); color: #0a0a0a; }
.btn-ghost { border: 1px solid var(--rule-2); background: transparent; color: var(--plat); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hi); background: transparent; }

/* ---------- Header ---------- */
.rh {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: stretch;
  height: var(--header-h);
  background: rgba(5, 5, 6, 0.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.rh > * { display: flex; align-items: center; }
.rh-brand { gap: 12px; padding: 0 28px 0 var(--pad); text-decoration: none; border-right: 1px solid var(--rule); margin-right: auto; }
.rh-brand img { width: 52px; height: auto; }
.rh-brand span { display: flex; flex-direction: column; font-stretch: 112%; font-weight: 700; font-size: 1rem; letter-spacing: 0.02em; line-height: 1.05; }
.rh-brand small { font-stretch: 80%; font-weight: 500; font-size: 0.62rem; letter-spacing: 0.42em; text-transform: uppercase; color: var(--pew); margin-top: 3px; }
.rh-nav { display: flex; align-items: stretch; }
.rh-nav > a {
  display: flex; align-items: center; gap: 9px;
  padding: 0 22px; border-left: 1px solid var(--rule);
  text-decoration: none; font-size: 0.92rem; font-weight: 500; color: var(--pew);
  position: relative; transition: color .2s, background-color .2s;
}
.rh-nav > a i { font-style: normal; font-stretch: 72%; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; color: var(--dim); }
.rh-nav > a:hover { color: var(--plat); background: var(--panel); }
.rh-nav > a[aria-current="page"] { color: var(--plat); }
.rh-nav > a[aria-current="page"] i { color: var(--gold); }
.rh-nav > a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); }
.rh-menu-foot { display: none; }
.rh-call { padding: 0 22px; border-left: 1px solid var(--rule); text-decoration: none; font-size: 0.9rem; color: var(--pew); font-variant-numeric: tabular-nums; }
.rh-call:hover { color: var(--plat); }
.rh-book {
  gap: 10px; padding: 0 28px 0 28px;
  background: var(--gold); color: #0a0a0a; text-decoration: none;
  font-stretch: 110%; font-weight: 700; font-size: 0.95rem;
  transition: background-color .2s;
}
.rh-book svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.rh-book:hover { background: var(--gold-hi); }
.rh-toggle { display: none; }

@media (max-width: 1080px) { .rh-call { display: none; } }
@media (max-width: 900px) {
  .rh-brand { padding-right: 16px; border-right: 0; }
  .rh-book { padding: 0 18px; font-size: 0.9rem; }
  .rh-book svg { display: none; }
  .rh-toggle {
    display: flex; align-items: center; justify-content: center;
    width: var(--header-h); border: 0; border-left: 1px solid var(--rule);
    background: transparent; color: var(--plat); cursor: pointer; padding: 0;
  }
  .rh-toggle span, .rh-toggle span::before, .rh-toggle span::after {
    display: block; width: 22px; height: 1.5px; background: currentColor; position: relative; transition: transform .25s, background-color .25s;
  }
  .rh-toggle span::before, .rh-toggle span::after { content: ""; position: absolute; left: 0; }
  .rh-toggle span::before { top: -7px; }
  .rh-toggle span::after { top: 7px; }
  body.nav-open .rh-toggle span { background: transparent; }
  body.nav-open .rh-toggle span::before { transform: translateY(7px) rotate(45deg); }
  body.nav-open .rh-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

  .rh-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
    flex-direction: column; align-items: stretch;
    background: var(--ink); padding: 12px var(--pad) 28px;
    overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility 0s linear .25s;
  }
  body.nav-open .rh-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s; }
  body.nav-open { overflow: hidden; }
  .rh-nav > a {
    border-left: 0; border-bottom: 1px solid var(--rule);
    padding: 22px 0; gap: 16px;
    font-stretch: 125%; font-weight: 800; font-size: clamp(1.6rem, 7vw, 2.4rem); letter-spacing: -0.02em; color: var(--plat);
  }
  .rh-nav > a i { font-size: 0.8rem; color: var(--gold); }
  .rh-nav > a:hover { background: transparent; color: var(--gold-hi); }
  .rh-nav > a[aria-current="page"]::after { display: none; }
  .rh-menu-foot { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding-top: 28px; color: var(--pew); font-size: 0.95rem; }
  .rh-menu-foot a { color: var(--gold-hi); text-decoration: none; font-size: 1.15rem; font-weight: 600; }
}
@media (max-width: 380px) {
  .rh-brand span { font-size: 0.9rem; }
  .rh-brand img { width: 44px; }
  .rh-book { padding: 0 14px; }
}

/* ---------- Sections ---------- */
.rs { padding: clamp(72px, 9vw, 128px) 0; }
.rs-panel { background: var(--panel); border-block: 1px solid var(--rule); }
.rs + .rs:not(.rs-panel) { border-top: 1px solid var(--rule); }

/* Section head: number + label on the left, big heading on the right */
.sh {
  display: grid; grid-template-columns: minmax(180px, 3fr) 9fr; gap: 24px clamp(24px, 4vw, 64px);
  align-items: start; margin-bottom: clamp(40px, 5vw, 64px);
}
.sh .dl { margin-top: 0.9em; }
.sh h2 { margin: 0 0 18px; }
.sh p:not(.dl) { color: var(--pew); max-width: 56ch; margin: 0; font-size: 1.05rem; }
@media (max-width: 760px) { .sh { grid-template-columns: 1fr; gap: 0; } .sh .dl { margin-top: 0; } }

/* ---------- Home hero ---------- */
.h-hero {
  position: relative; overflow: hidden;
  padding: clamp(36px, 6vw, 80px) 0 clamp(28px, 4vw, 48px);
  background:
    radial-gradient(ellipse 60% 70% at 78% 40%, rgba(201, 164, 106, 0.09), transparent 70%),
    var(--ink);
}
.h-hero::before {
  /* faint technical grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(236, 235, 230, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(236, 235, 230, 0.045) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, #000 30%, transparent 80%);
}
.h-grid { position: relative; display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.h-copy h1 { margin: 0 0 28px; max-width: 12.5ch; font-size: clamp(2.6rem, 0.9rem + 5vw, 5.9rem); line-height: 0.96; }
.h-lede { font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem); color: var(--pew); max-width: 44ch; margin: 0 0 36px; line-height: 1.55; }

/* signature: photos with a cut corner, like a livery panel */
.h-photo, .driver-photo, .ab-photo {
  position: relative; margin: 0;
  clip-path: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer));
}
.h-photo { aspect-ratio: 4 / 5; max-height: calc(100svh - var(--header-h) - 200px); min-height: 420px; justify-self: end; width: 100%; }
.h-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.h-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.75)); }
.h-photo figcaption {
  position: absolute; left: 22px; bottom: 18px; z-index: 1;
  font-stretch: 112%; font-weight: 700; font-size: 1.05rem;
}
.h-photo figcaption .dl { margin: 0 0 4px; color: var(--gold); }

.specbar {
  position: relative; margin: clamp(36px, 5vw, 64px) 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule-2); border-bottom: 1px solid var(--rule);
}
.specbar > div { padding: 20px 24px 22px; border-left: 1px solid var(--rule); }
.specbar > div:first-child { border-left: 0; padding-left: 0; }
.specbar dt { margin: 0 0 8px; }
.specbar dd {
  margin: 0; font-stretch: 125%; font-weight: 800; font-size: clamp(1.2rem, 0.9rem + 1vw, 1.9rem);
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.1;
}
.specbar dd small { font-size: 0.55em; font-weight: 600; color: var(--pew); margin-left: 4px; letter-spacing: 0; }
.specbar > div:first-child dd { color: var(--gold); }

/* entrance after the lights go out */
html.js .h-hero .h-anim { opacity: 0; transform: translateY(22px); }
html.js .h-hero.go .h-anim { opacity: 1; transform: none; transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); }
html.js .h-hero.go .h-anim:nth-child(2) { transition-delay: .06s; }
html.js .h-hero.go .h-anim:nth-child(3) { transition-delay: .14s; }
html.js .h-hero.go .h-anim:nth-child(4) { transition-delay: .2s; }
html.js .h-hero.go .h-photo { transition-delay: .1s; }
html.js .h-hero.go .specbar { transition-delay: .28s; }

@media (max-width: 900px) {
  .h-hero { padding-top: 0; }
  .h-grid { grid-template-columns: 1fr; gap: 28px; }
  .h-photo { order: -1; aspect-ratio: 5 / 4; min-height: 0; max-height: 52svh; margin-inline: calc(var(--pad) * -1); width: auto; justify-self: stretch; --chamfer: 22px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%); }
  .h-photo img { object-position: 50% 45%; }
  .h-copy h1 { max-width: 14ch; }
  .specbar { grid-template-columns: 1fr 1fr; }
  .specbar > div { padding: 18px 0 18px 18px; }
  .specbar > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .specbar > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
}

/* ---------- Package cards ---------- */
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.pcard {
  position: relative; display: flex; flex-direction: column;
  padding: 28px 26px 0; min-height: 100%;
  background: var(--ink); text-decoration: none; color: var(--plat);
  transition: background-color .25s;
  overflow: hidden;
}
.pcard::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--gold); transition: width .45s var(--ease-out); }
.pcard:hover { background: var(--panel); }
.pcard:hover::before, .pcard:focus-visible::before { width: 100%; }
.pc-num {
  position: absolute; right: 18px; top: 8px;
  font-stretch: 125%; font-weight: 900; font-size: 4.6rem; line-height: 1; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1px var(--rule-2);
  transition: -webkit-text-stroke-color .25s;
}
.pcard:hover .pc-num { -webkit-text-stroke-color: var(--gold); }
.pcard .dl { margin-bottom: 14px; }
.pcard h3 { margin: 0 0 22px; padding-right: 40px; min-height: 2.3em; }
.pc-price { margin: 0; font-stretch: 125%; font-weight: 800; font-size: 2.6rem; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.pc-price small { display: block; font-stretch: 72%; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pew); margin-bottom: 6px; }
.pc-time { margin: 10px 0 22px; color: var(--pew); font-size: 0.9rem; }
.pc-time b { color: var(--plat); font-variant-numeric: tabular-nums; font-weight: 700; }
.pcard ul { list-style: none; margin: 0 0 28px; padding: 18px 0 0; border-top: 1px solid var(--rule); display: grid; gap: 9px; font-size: 0.92rem; color: var(--pew); }
.pcard li { display: flex; gap: 10px; line-height: 1.4; }
.pcard li::before { content: ""; flex: none; width: 10px; height: 1px; background: var(--gold); margin-top: 0.7em; }
.pc-go {
  margin: auto -26px 0; padding: 18px 26px; border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center;
  font-stretch: 110%; font-weight: 700; font-size: 0.92rem; color: var(--gold-hi);
  transition: background-color .25s, color .25s;
}
.pc-go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .25s var(--ease-out); }
.pcard:hover .pc-go { background: var(--gold); color: #0a0a0a; }
.pcard:hover .pc-go svg { transform: translateX(4px); }
.new-tag { font-style: normal; font-stretch: 80%; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.1em; padding: 3px 6px; background: var(--gold); color: #0a0a0a; vertical-align: middle; }
@media (max-width: 1100px) { .cards4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .cards4 { grid-template-columns: 1fr; }
  .pcard h3 { min-height: 0; }
  .pc-num { font-size: 3.6rem; }
}

.combo {
  display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: center;
  margin-top: 24px; padding: 24px 28px;
  background: var(--panel); border: 1px solid var(--rule); border-left: 2px solid var(--gold);
}
.combo-lead { margin: 0; color: var(--pew); }
.combo-lead b { color: var(--plat); }
.combo-stats { display: flex; gap: 0; }
.combo-stats a { display: grid; padding: 0 28px; border-left: 1px solid var(--rule); text-decoration: none; }
.combo-stats .dl { margin: 0 0 6px; }
.combo-stats b { font-stretch: 125%; font-weight: 800; font-size: 1.7rem; letter-spacing: -0.02em; line-height: 1; color: var(--plat); }
.combo-stats small { color: var(--pew); font-size: 0.82rem; margin-top: 6px; }
.combo-stats a:hover b { color: var(--gold-hi); }
@media (max-width: 860px) {
  .combo { grid-template-columns: 1fr; }
  .combo-stats a:first-child { border-left: 0; padding-left: 0; }
}
@media (max-width: 420px) { .combo-stats { flex-direction: column; gap: 16px; } .combo-stats a { border-left: 0; padding: 0; } }

/* ---------- Pit lane (before / after) ---------- */
.pitlane { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.pl-slider .ba { aspect-ratio: 4 / 3; max-height: none; }
.pl-copy h2 { margin: 0 0 20px; }
.pl-copy > p:not(.dl) { color: var(--pew); }
@media (max-width: 900px) { .pitlane { grid-template-columns: 1fr; } .pl-copy { order: -1; } }

.stats { margin: 28px 0 32px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule-2); }
.stats > div { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule); }
.stats > div + div { padding-left: 16px; border-left: 1px solid var(--rule); }
.stats dt { font-stretch: 72%; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.stats dd { margin: 0; font-weight: 600; font-size: 0.98rem; }
.stats-col { grid-template-columns: 1fr; }
.stats-col > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; align-items: baseline; padding: 13px 0; }
.stats-col > div + div { padding-left: 0; border-left: 0; }
.stats-col dt { margin: 0; }
@media (max-width: 460px) {
  .stats { grid-template-columns: 1fr; }
  .stats > div + div { padding-left: 0; border-left: 0; }
  .stats > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: baseline; }
  .stats dt { margin: 0; }
  .stats-col > div { grid-template-columns: 110px 1fr; }
}

/* ---------- Driveway band ---------- */
.drive { position: relative; min-height: clamp(440px, 70vh, 720px); display: flex; align-items: flex-end; overflow: hidden; border-block: 1px solid var(--rule); }
.drive img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.drive::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(5, 5, 6, 0.92) 0%, rgba(5, 5, 6, 0.35) 45%, rgba(5, 5, 6, 0.1) 100%); }
.drive-copy { position: relative; z-index: 2; padding-block: clamp(40px, 6vw, 80px); }
.drive-copy h2 { font-size: clamp(2.2rem, 1rem + 4.6vw, 5.4rem); max-width: 12ch; margin: 0 0 18px; }
.drive-copy p:not(.dl) { color: var(--plat); max-width: 40ch; margin: 0; opacity: 0.85; }
.drive-copy .dl { color: var(--gold); }

/* ---------- Sectors (process) ---------- */
.sectors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.sectors li { position: relative; padding: 0 28px 0 0; }
.sectors li + li { padding-left: 28px; border-left: 1px solid var(--rule); }
.sec-bar { display: block; height: 4px; margin: 0 0 26px; background: var(--gold); }
.sectors li + li .sec-bar { margin-left: -28px; }
.sectors li:nth-child(1) .sec-bar { opacity: 0.3; }
.sectors li:nth-child(2) .sec-bar { opacity: 0.55; }
.sectors li:nth-child(3) .sec-bar { opacity: 0.8; }
.sectors li:nth-child(4) .sec-bar {
  background: repeating-conic-gradient(var(--plat) 0 25%, var(--ink) 0 50%) 0 0 / 8px 8px;
  height: 8px; margin-top: -2px; margin-bottom: 24px;
}
.sectors li:nth-child(4) .dl { color: var(--gold); }
.sectors h3 { margin: 0 0 12px; }
.sectors p { color: var(--pew); font-size: 0.95rem; margin: 0; }
@media (max-width: 900px) {
  .sectors { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .sectors li:nth-child(3) { padding-left: 0; border-left: 0; }
  .sectors li:nth-child(3) .sec-bar { margin-left: 0; }
}
@media (max-width: 560px) {
  .sectors { grid-template-columns: 1fr; row-gap: 0; }
  .sectors li, .sectors li + li { padding: 0 0 30px 26px; border-left: 1px solid var(--rule); }
  .sectors li .sec-bar, .sectors li + li .sec-bar { position: absolute; left: -2px; top: 0; bottom: 30px; width: 4px; height: auto; margin: 0; }
  .sectors li:nth-child(4) .sec-bar { width: 8px; left: -4px; margin: 0; }
  .sectors li:last-child { padding-bottom: 0; }
  .sectors li:last-child .sec-bar { bottom: 0; }
}

/* ---------- Driver card ---------- */
.driver { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.driver-photo { aspect-ratio: 4 / 3.4; }
.driver-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 50%; }
.driver-copy h2 { font-size: clamp(2.2rem, 1rem + 3.6vw, 4.4rem); margin: 0 0 8px; }
.driver-copy > p:not(.dl) { color: var(--pew); }
@media (max-width: 900px) { .driver { grid-template-columns: 1fr; } }

/* ---------- Finish (closing call to action) ---------- */
.finish { position: relative; padding: clamp(88px, 11vw, 160px) 0; text-align: center; overflow: hidden; }
.finish::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 60% at 50% 40%, rgba(201, 164, 106, 0.08), transparent 70%);
}
.finish .rw { position: relative; }
.finish h2 { font-size: clamp(2.4rem, 1rem + 5.4vw, 6rem); max-width: 13ch; margin: 0 auto 40px; }
.finish .rb-row { justify-content: center; }
.gantry { display: inline-flex; gap: 10px; padding: 10px 12px; margin-bottom: 40px; background: #0b0b0d; border: 1px solid var(--rule); }
.gantry i { width: 18px; height: 18px; border-radius: 50%; background: #2a0d0c; }
.gantry.on i { animation: gantry 3.2s steps(1) 1 forwards; }
.gantry.on i:nth-child(2) { animation-name: gantry2; }
.gantry.on i:nth-child(3) { animation-name: gantry3; }
.gantry.on i:nth-child(4) { animation-name: gantry4; }
.gantry.on i:nth-child(5) { animation-name: gantry5; }
@keyframes gantry  { 0%, 100% { background: #2a0d0c; } 6% { background: var(--start-red); box-shadow: 0 0 16px rgba(224, 50, 43, .6); } 82% { background: #2a0d0c; box-shadow: none; } }
@keyframes gantry2 { 0%, 100% { background: #2a0d0c; } 20% { background: var(--start-red); box-shadow: 0 0 16px rgba(224, 50, 43, .6); } 82% { background: #2a0d0c; box-shadow: none; } }
@keyframes gantry3 { 0%, 100% { background: #2a0d0c; } 34% { background: var(--start-red); box-shadow: 0 0 16px rgba(224, 50, 43, .6); } 82% { background: #2a0d0c; box-shadow: none; } }
@keyframes gantry4 { 0%, 100% { background: #2a0d0c; } 48% { background: var(--start-red); box-shadow: 0 0 16px rgba(224, 50, 43, .6); } 82% { background: #2a0d0c; box-shadow: none; } }
@keyframes gantry5 { 0%, 100% { background: #2a0d0c; } 62% { background: var(--start-red); box-shadow: 0 0 16px rgba(224, 50, 43, .6); } 82% { background: #2a0d0c; box-shadow: none; } }
@media (prefers-reduced-motion: reduce) { .gantry.on i { animation: none; } }

/* ---------- Footer ---------- */
.rf { position: relative; background: var(--ink); border-top: 1px solid var(--rule); overflow: hidden; }
.rf-check { height: 10px; background: repeating-conic-gradient(var(--plat) 0 25%, var(--ink) 0 50%) 0 0 / 10px 10px; opacity: 0.85; }
.rf-grid { display: grid; grid-template-columns: 5fr 2fr 2fr 3fr; gap: 40px; padding-block: clamp(56px, 7vw, 88px) 40px; }
.rf-tag { font-stretch: 112%; font-weight: 600; font-size: 1.2rem; line-height: 1.35; max-width: 30ch; margin: 0 0 24px; }
.rf .dl { margin-bottom: 16px; }
.rf ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rf ul a { color: var(--pew); text-decoration: none; }
.rf ul a:hover { color: var(--gold-hi); }
.rf-hours { color: var(--pew); margin: 0; }
.rf-mark {
  font-stretch: 125%; font-weight: 900; text-transform: uppercase; letter-spacing: -0.04em; line-height: 0.8;
  font-size: clamp(3rem, 13.4vw, 13.5rem); text-align: center; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px var(--rule-2);
  margin: 8px 0 -0.06em; user-select: none;
}
.rf-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-block: 22px 28px; border-top: 1px solid var(--rule); color: var(--dim); font-size: 0.85rem; position: relative; background: var(--ink); }
@media (max-width: 900px) { .rf-grid { grid-template-columns: 1fr 1fr; } .rf-intro { grid-column: 1 / -1; } }
@media (max-width: 420px) { .rf-grid { grid-template-columns: 1fr; } }

/* ---------- Inner page hero ---------- */
.ph {
  position: relative; overflow: hidden;
  padding: clamp(56px, 8vw, 112px) 0 clamp(44px, 5vw, 72px);
  border-bottom: 1px solid var(--rule);
  background: radial-gradient(ellipse 50% 80% at 85% 0%, rgba(201, 164, 106, 0.08), transparent 70%), var(--ink);
}
.ph::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(236, 235, 230, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(236, 235, 230, 0.04) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%);
  mask-image: linear-gradient(180deg, #000, transparent 90%);
}
.ph .rw { position: relative; display: grid; grid-template-columns: 8fr 4fr; gap: 24px 48px; align-items: end; }
.ph .dl { grid-column: 1 / -1; color: var(--gold); }
.ph h1 { margin: 0; max-width: 14ch; }
.ph-lede { color: var(--pew); font-size: 1.08rem; margin: 0; max-width: 40ch; }
.ph-compact { padding: clamp(40px, 5vw, 64px) 0 clamp(32px, 4vw, 48px); }
.ph-compact h1 { font-size: clamp(2.2rem, 1rem + 3.6vw, 4.2rem); max-width: 18ch; }
@media (max-width: 900px) { .ph .rw { grid-template-columns: 1fr; } }

/* Sticky jump bar (services) */
.jump { position: sticky; top: var(--header-h); z-index: 50; background: rgba(5, 5, 6, 0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.jump .rw { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.jump .rw::-webkit-scrollbar { display: none; }
.jump a { flex: none; padding: 16px 20px; text-decoration: none; color: var(--pew); font-size: 0.88rem; font-weight: 500; border-right: 1px solid var(--rule); white-space: nowrap; }
.jump a:first-child { padding-left: 0; }
.jump a i { font-style: normal; font-stretch: 72%; font-size: 0.7rem; letter-spacing: 0.1em; color: var(--gold); margin-right: 8px; font-weight: 600; }
.jump a:hover { color: var(--plat); }
[id] { scroll-margin-top: calc(var(--header-h) + 64px); }

/* ---------- Services: spec rows ---------- */
.specs { border-top: 1px solid var(--rule-2); }
.spec {
  display: grid; grid-template-columns: 96px minmax(0, 4fr) minmax(0, 4fr) 180px; gap: 24px 40px;
  padding: 40px 0; border-bottom: 1px solid var(--rule); align-items: start;
}
.spec-num { font-stretch: 125%; font-weight: 900; font-size: 3.6rem; line-height: 0.85; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1px var(--gold); }
.spec-name .dl { margin-bottom: 12px; }
.spec-name h3 { font-size: clamp(1.4rem, 1rem + 1vw, 2rem); margin: 0 0 14px; }
.spec-name p { color: var(--pew); font-size: 0.95rem; margin: 0 0 20px; max-width: 40ch; }
.spec-name p strong { color: var(--plat); }
.spec ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--pew); font-size: 0.95rem; }
.spec li { display: flex; gap: 12px; line-height: 1.45; }
.spec li::before { content: ""; flex: none; width: 12px; height: 1px; background: var(--gold); margin-top: 0.72em; }
.spec li strong { color: var(--plat); font-weight: 600; }
.spec-price { text-align: right; }
.spec-price .pc-price { font-size: 2.8rem; }
.spec-price .pc-time { margin: 10px 0 0; }
.spec-special { background: linear-gradient(90deg, var(--gold-lo), transparent 60%); padding-inline: 24px; margin-inline: -24px; border-bottom-color: var(--rule-2); }
@media (max-width: 1000px) {
  .spec { grid-template-columns: 72px 1fr 1fr; }
  .spec-num { font-size: 2.8rem; }
  .spec-price { grid-column: 2 / -1; text-align: left; display: flex; align-items: baseline; gap: 24px; order: -1; grid-row: 1; justify-self: start; }
  .spec-price .pc-price small { display: inline; margin-right: 8px; }
  .spec-num { grid-row: 1 / span 3; }
}
@media (max-width: 700px) {
  .spec { grid-template-columns: 1fr; gap: 18px; padding: 32px 0; }
  .spec-num { grid-row: auto; font-size: 2.4rem; }
  .spec-price { grid-column: auto; grid-row: auto; order: 0; }
  .spec-special { padding-inline: 16px; margin-inline: -16px; }
}

/* timing table (combos, sizes, add-ons) */
.ttable { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ttable th { text-align: left; font-stretch: 72%; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); padding: 0 16px 12px 0; border-bottom: 1px solid var(--rule-2); }
.ttable td { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--rule); vertical-align: baseline; color: var(--pew); }
.ttable td:first-child { color: var(--plat); }
.ttable td strong { display: block; color: var(--plat); font-weight: 600; }
.ttable td small { display: block; color: var(--dim); font-size: 0.85rem; margin-top: 3px; }
.ttable .num { text-align: right; padding-right: 0; font-stretch: 120%; font-weight: 800; font-size: 1.25rem; color: var(--plat); white-space: nowrap; }
.ttable th.num { text-align: right; padding-right: 0; font-size: 0.72rem; font-weight: 600; }
.ttable .gold { color: var(--gold); }
.ttable tr.link-row { cursor: pointer; }
.ttable tr.link-row:hover td { background: var(--panel); }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.cols2 h3 { font-size: clamp(1.4rem, 1rem + 1vw, 2rem); margin: 0 0 8px; }
.cols2 > div > p { color: var(--pew); margin: 0 0 24px; }
@media (max-width: 860px) { .cols2 { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .ttable.combos thead { display: none; }
  .ttable.combos tr { display: grid; grid-template-columns: 1fr auto; padding: 16px 0; border-bottom: 1px solid var(--rule); }
  .ttable.combos td { border: 0; padding: 0; }
  .ttable.combos td:nth-child(2), .ttable.combos td:nth-child(3) { grid-row: 2; font-size: 0.88rem; }
  .ttable.combos td:nth-child(3) { grid-column: 1; grid-row: 3; }
  .ttable.combos td.num { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
}

.callout { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 24px 28px; background: var(--panel); border: 1px solid var(--rule); border-left: 2px solid var(--gold); margin: 0; }
.callout svg { width: 22px; height: 22px; color: var(--gold); margin-top: 2px; }
.callout p { margin: 0; color: var(--pew); }
.callout strong { color: var(--plat); }

.numlist { list-style: none; margin: 0; padding: 0; columns: 3 240px; column-gap: 48px; counter-reset: n; }
.numlist li { break-inside: avoid; counter-increment: n; display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); color: var(--plat); }
.numlist li::before { content: counter(n, decimal-leading-zero); font-stretch: 72%; font-weight: 600; font-size: 0.75rem; letter-spacing: 0.1em; color: var(--gold); margin-top: 0.3em; min-width: 22px; }

.pit-two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pit-two figure { margin: 0; }
.pit-two figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0 0; color: var(--pew); font-size: 0.92rem; }
.pit-two figcaption b { color: var(--plat); font-weight: 600; }
@media (max-width: 760px) { .pit-two { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--rule); border-top: 0; }
.faq { border-top: 1px solid var(--rule-2); counter-reset: q; }
.faq summary { font-stretch: 112%; font-weight: 700; font-size: 1.1rem; padding: 24px 40px 24px 0; counter-increment: q; }
.faq summary::before { content: counter(q, decimal-leading-zero); font-stretch: 72%; font-weight: 600; font-size: 0.75rem; letter-spacing: 0.1em; color: var(--gold); margin-right: 18px; vertical-align: 0.15em; }
.faq-body { padding: 0 0 24px 42px; color: var(--pew); }
.faq-wrap { display: grid; grid-template-columns: minmax(180px, 3fr) 9fr; gap: 24px clamp(24px, 4vw, 64px); }
@media (max-width: 760px) { .faq-wrap { grid-template-columns: 1fr; } .faq-body { padding-left: 0; } }

/* ---------- About ---------- */
.ab-photo { margin-top: clamp(32px, 4vw, 56px); aspect-ratio: 21 / 9; }
.ab-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 55%; }
@media (max-width: 700px) { .ab-photo { aspect-ratio: 4 / 3; --chamfer: 20px; } }
.story { display: grid; grid-template-columns: minmax(180px, 3fr) 9fr; gap: 24px clamp(24px, 4vw, 64px); }
.story-lead { font-stretch: 108%; font-weight: 500; font-size: clamp(1.25rem, 1rem + 1vw, 1.9rem); line-height: 1.35; letter-spacing: -0.01em; margin: 0 0 32px; max-width: 34ch; }
.story-cols { columns: 2 280px; column-gap: 48px; color: var(--pew); }
.story-cols p { break-inside: avoid; }
@media (max-width: 760px) { .story { grid-template-columns: 1fr; gap: 0; } }
.quote-big { font-stretch: 125%; font-weight: 800; font-size: clamp(1.8rem, 1rem + 3.2vw, 3.8rem); line-height: 1.05; letter-spacing: -0.025em; margin: 0 0 40px; max-width: 20ch; text-wrap: balance; }
.quote-big em { font-style: normal; color: var(--gold); }
.why-grid { display: grid; grid-template-columns: minmax(180px, 3fr) 9fr; gap: 24px clamp(24px, 4vw, 64px); }
.why-body { columns: 2 280px; column-gap: 48px; color: var(--pew); }
.why-body p { break-inside: avoid; }
.why-body a { color: var(--gold-hi); }
@media (max-width: 760px) { .why-grid { grid-template-columns: 1fr; gap: 0; } }
.values3 { list-style: none; margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--rule-2); }
.values3 li { padding: 28px 28px 0 0; }
.values3 li + li { padding-left: 28px; border-left: 1px solid var(--rule); }
.values3 h3 { font-size: clamp(1.4rem, 1rem + 1vw, 2rem); margin: 0 0 12px; }
.values3 p { color: var(--pew); margin: 0; }
@media (max-width: 760px) {
  .values3 { grid-template-columns: 1fr; }
  .values3 li, .values3 li + li { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
}
.kit-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .kit-grid { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.rev-card { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: center; padding: clamp(28px, 4vw, 48px); background: var(--panel); border: 1px solid var(--rule); border-left: 2px solid var(--gold); }
.rev-card h2 { font-size: clamp(1.6rem, 1rem + 2vw, 2.6rem); margin: 0 0 12px; }
.rev-card p { color: var(--pew); margin: 0; }
.rev-card .g-icon { width: 20px; height: 20px; }
.rev-empty { margin-top: 32px; color: var(--pew); }
.stars { display: flex; gap: 6px; margin-bottom: 18px; color: var(--gold); }
.stars svg { width: 20px; height: 20px; fill: currentColor; }
@media (max-width: 760px) { .rev-card { grid-template-columns: 1fr; } }

/* ---------- Results / Book / Admin: re-skin the working parts ---------- */
.section { padding: clamp(56px, 7vw, 104px) 0; }
.section-alt { background: var(--panel); border-block: 1px solid var(--rule); }
.wrap { max-width: var(--rw); padding-inline: var(--pad); }
.job-head h2 { font-size: clamp(1.7rem, 1rem + 2.2vw, 2.8rem); }
.job-tags span { border-radius: 0; font-stretch: 85%; letter-spacing: 0.04em; }
.ba, .ba img { border-radius: 0; }
.ba-tag { border-radius: 0; font-stretch: 80%; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.68rem; font-weight: 700; }

.book-step legend { font-stretch: 125%; font-weight: 800; letter-spacing: -0.02em; }
.step-num { border-radius: 0 !important; font-stretch: 100%; }
.sub-legend { font-stretch: 72%; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.75rem !important; color: var(--pew) !important; }
.opt-face { border-radius: 0 !important; background: var(--ink) !important; border-color: var(--rule-2) !important; }
.opt-face b { font-stretch: 108%; }
.opt-face em { font-stretch: 120%; font-weight: 800; font-style: normal; font-variant-numeric: tabular-nums; }
.opt input:checked + .opt-face { border-color: var(--gold) !important; background: linear-gradient(180deg, var(--gold-lo), transparent 75%), var(--ink) !important; box-shadow: inset 0 2px 0 var(--gold) !important; }
.opt:hover .opt-face { border-color: var(--gold) !important; }
.special-cta, .day-chip span, .time-chip span, .field input, .field textarea, .field select, .promo-box, .summary, .book-summary, .up-card, .note-box { border-radius: 0 !important; }
.book-summary, .summary { background: var(--panel) !important; border-color: var(--rule) !important; }
.book-summary h2, .summary h2 { font-size: clamp(1.4rem, 1rem + 1vw, 1.9rem); }
.day-chip input:checked + span, .time-chip input:checked + span { border-color: var(--gold) !important; box-shadow: inset 0 2px 0 var(--gold); }
.field input, .field textarea, .field select { background: var(--ink) !important; border-color: var(--rule-2) !important; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold) !important; }
.up-card { background: var(--panel) !important; border-color: var(--rule) !important; }

/* sticky header height for anchors in old parts */
.site-header { display: none; }

/* fixes after first look */
.pc-num { position: static; display: block; font-size: 3.4rem; margin: 0 0 18px; }
.pcard h3 { padding-right: 0; }
.rf-mark { font-size: min(8.4vw, 118px); padding-inline: var(--pad); max-width: var(--rw); margin-inline: auto; }
@media (max-width: 600px) { .pc-num { font-size: 2.8rem; } }
@media (max-width: 560px) {
  .sectors li:nth-child(n) { padding: 0 0 30px 26px; border-left: 1px solid var(--rule); }
  .sectors li:nth-child(n) .sec-bar { margin: 0; }
  .sectors li:last-child { padding-bottom: 0; }
}
@media (max-width: 420px) { .rf-grid { grid-template-columns: 1fr 1fr; } .rf-grid > div:last-child { grid-column: 1 / -1; } }
@media (max-width: 340px) { .rf-grid { grid-template-columns: 1fr; } }
.faq-wrap h2 { font-size: clamp(1.8rem, 1rem + 1.8vw, 2.6rem); overflow-wrap: normal; }
.story > .dl, .why-grid > .dl { align-self: start; margin-top: 0.6em; }
.ph .rw > * { min-width: 0; }
@media (max-width: 900px) { .ph .rw { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 380px) { h1, .ph h1, .ph-compact h1 { font-size: 2.05rem; } .h-copy h1 { font-size: 2.3rem; } }
@media (max-width: 760px) { .jump .rw { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); } }
@media (max-width: 700px) {
  .spec-num { order: 0; } .spec-name { order: 1; } .spec-price { order: 2; } .spec ul { order: 3; }
  .spec-name .rb { display: none; }
  .spec { position: relative; }
}
.spec-cta { display: none; }
@media (max-width: 700px) { .spec-cta { display: inline-flex; order: 4; justify-self: start; } }

/* Menu fix: a blur on the header itself traps the fixed phone menu inside the 64px bar,
   so the blur lives on a layer behind the header instead. */
.rh { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; isolation: isolate; }
.rh::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(5, 5, 6, 0.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
body.nav-open .rh::before { background: var(--ink); }

/* ---------- Social links ---------- */
.rf-follow { margin: 32px 0 12px; }
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.social a {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 16px 0 12px;
  border: 1px solid var(--rule-2); color: var(--plat); text-decoration: none;
  font-size: 0.9rem; font-weight: 600;
  transition: border-color .2s, color .2s;
}
.social svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.social a:hover { border-color: var(--gold); color: var(--gold-hi); }
.rf ul.social { display: flex; gap: 8px; }
.social-menu { margin: 4px 0 10px; }
.social-menu a { color: var(--plat); font-size: 0.95rem; font-weight: 600; }
@media (max-width: 360px) { .social a span { display: none; } .social a { padding: 0 12px; } }
.rf-tag { margin-bottom: 0; }

/* ---------- SEO pass ---------- */
/* location line now sits inside the home H1 */
.h-copy h1 .h-kicker { display: flex; margin: 0 0 22px; font-size: 0.78rem; line-height: 1.2; letter-spacing: 0.14em; }
/* links inside running text */
main p a:not(.rb):not(.btn) { color: var(--gold-hi); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
main p a:not(.rb):not(.btn):hover { color: var(--plat); }
/* the hero photo is the page's largest paint: slide it in, never hide it, so it can paint under the intro */
html.js .h-hero .h-photo.h-anim { opacity: 1; }

/* ---------- Admin: referrals ---------- */
.ref-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 18px 0 0; border-top: 1px solid var(--rule-2); }
.ref-stats > div { padding: 14px 16px 4px 0; }
.ref-stats > div + div { padding-left: 16px; border-left: 1px solid var(--rule); }
.ref-stats dt { font-stretch: 72%; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.ref-stats dd { margin: 0; font-stretch: 125%; font-weight: 800; font-size: 1.7rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) {
  .ref-stats { grid-template-columns: 1fr 1fr; }
  .ref-stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .ref-stats > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
.promo-item.state-done .pi-badge { color: var(--gold); border-color: var(--gold); }
.promo-item.state-booked .pi-badge { color: var(--plat); border-color: var(--rule-2); }
.promo-item.state-cancelled .pi-badge { color: #f08a84; border-color: #6b2f2c; }
.promo-item.ref-act .pi-code { letter-spacing: 0.01em; }
.promo-item.ref-act .pi-code { color: var(--plat); }
@media (max-width: 600px) {
  .admin-tabs { flex-direction: column-reverse; align-items: stretch; gap: 8px; }
  .admin-tabs #lock-btn { align-self: flex-end; margin-bottom: 0; }
  .admin-tablist { overflow: visible; }
  .admin-tablist [role=tab] { flex: 1 1 0; padding-inline: 4px; font-size: 0.86rem; text-align: center; white-space: nowrap; }
}

/* ---------- Site-wide sale ---------- */
.sale-bar { position: relative; z-index: 101; background: var(--gold); color: #0a0a0a; }
.sale-in { display: flex; align-items: center; gap: 14px; min-height: 44px; padding: 6px 8px 6px var(--pad); max-width: none; }
.sale-pct { flex: none; font-stretch: 120%; font-weight: 900; font-size: 0.95rem; letter-spacing: -0.01em; padding: 3px 8px; background: #0a0a0a; color: var(--gold-hi); }
.sale-txt { margin: 0; flex: 1 1 auto; font-size: 0.92rem; line-height: 1.35; max-width: none; }
.sale-txt b { font-weight: 700; margin-right: 2px; }
.sale-go { flex: none; display: inline-flex; align-items: center; gap: 8px; font-stretch: 110%; font-weight: 700; font-size: 0.9rem; color: #0a0a0a; text-decoration: none; padding: 6px 10px; border: 1px solid rgba(0, 0, 0, 0.35); }
.sale-go:hover { background: #0a0a0a; color: var(--gold-hi); }
.sale-go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.sale-x { flex: none; width: 36px; height: 36px; display: grid; place-items: center; background: none; border: 0; color: #0a0a0a; cursor: pointer; }
.sale-x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.sale-x:hover { background: rgba(0, 0, 0, 0.12); }
@media (max-width: 600px) {
  .sale-in { gap: 10px; padding-left: 14px; }
  .sale-txt { font-size: 0.84rem; }
  .sale-go { padding: 6px 8px; font-size: 0.84rem; }
  .sale-go svg { display: none; }
}
@media (max-width: 380px) { .sale-pct { display: none; } }

.sale-note { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 0 0 28px; padding: 16px 20px; max-width: none;
  background: linear-gradient(90deg, var(--gold-lo), transparent 80%); border: 1px solid var(--rule); border-left: 3px solid var(--gold); color: var(--pew); }
.sale-note b { color: var(--gold-hi); font-stretch: 120%; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }

.sale-card .sale-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sale-card .sale-head h2 { margin: 0; }
.sale-card .pi-badge { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--line); color: var(--pewter); }
.sale-card.live { border-color: var(--gold) !important; }
.sale-card.live .pi-badge { color: #0a0a0a; background: var(--gold); border-color: var(--gold); }
.sale-card .sale-head { margin-bottom: 10px; }
@media (max-width: 600px) { .sale-go { display: none; } }

/* Jotform reviews widget */
.rev-widget { margin-top: 32px; min-height: 120px; max-width: 100%; overflow: hidden; }
.rev-widget iframe { max-width: 100%; }

/* ---------- Terms + Privacy ---------- */
.legal { display: grid; grid-template-columns: minmax(200px, 3fr) 9fr; gap: 32px clamp(32px, 5vw, 80px); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 28px); }
.legal-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: t; border-top: 1px solid var(--rule-2); }
.legal-toc li { counter-increment: t; border-bottom: 1px solid var(--rule); }
.legal-toc a { display: flex; gap: 12px; padding: 9px 0; color: var(--pew); text-decoration: none; font-size: 0.88rem; line-height: 1.35; }
.legal-toc a::before { content: counter(t, decimal-leading-zero); font-stretch: 72%; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.1em; color: var(--gold); padding-top: 0.15em; min-width: 20px; }
.legal-toc a:hover { color: var(--plat); }
.legal-body { max-width: 760px; min-width: 0; }
.legal-body section { padding: 40px 0; border-top: 1px solid var(--rule); }
.legal-body section:first-of-type { border-top: 0; padding-top: 8px; }
.legal-body h2 { display: flex; align-items: baseline; gap: 16px; font-size: clamp(1.35rem, 1rem + 1vw, 1.8rem); margin: 0 0 18px; }
.legal-body h2 span { font-stretch: 72%; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.12em; color: var(--gold); flex: none; }
.legal-body p, .legal-body li { color: var(--pew); line-height: 1.7; }
.legal-body p { margin: 0 0 14px; max-width: none; }
.legal-body strong { color: var(--plat); font-weight: 600; }
.legal-body ul { margin: 0 0 14px; padding: 0; list-style: none; display: grid; gap: 10px; }
.legal-body li { display: flex; gap: 12px; }
.legal-body li::before { content: ""; flex: none; width: 12px; height: 1px; background: var(--gold); margin-top: 0.85em; }
.legal-body a:not(.rb) { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; }
.legal-sum { padding: 26px 28px 12px; margin-bottom: 24px; background: var(--panel); border: 1px solid var(--rule); border-left: 2px solid var(--gold); }
.legal-sum .dl { color: var(--gold); margin-bottom: 14px; }
.legal-sum li { color: var(--plat); }
.legal-table { overflow-x: auto; margin: 0 0 16px; }
.legal-table .ttable td { font-size: 0.92rem; line-height: 1.5; }
.legal-table .ttable td:first-child { min-width: 180px; }
.legal-contact { margin: 8px 0 18px; }
.legal-contact dd a { color: var(--plat) !important; }
@media (max-width: 900px) {
  .legal { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .legal-toc ol { columns: 2 200px; column-gap: 28px; }
  .legal-toc li { break-inside: avoid; }
}
@media (max-width: 600px) {
  .legal-sum { padding: 22px 18px 8px; }
  .legal-table .ttable thead { display: none; }
  .legal-table .ttable tr { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .legal-table .ttable td { border: 0; padding: 0; }
  .legal-table .ttable td:first-child { min-width: 0; }
  .legal-table .ttable td:nth-child(2)::before { content: "When: "; color: var(--dim); }
  .legal-table .ttable td:nth-child(3)::before { content: "Why: "; color: var(--dim); }
}
.rf-legal { display: inline-flex; gap: 18px; }
.rf-legal a { color: var(--dim); text-decoration: none; }
.rf-legal a:hover { color: var(--gold-hi); }
.legal-agree { margin: 12px 0 0; font-size: 0.8rem; color: var(--dim); line-height: 1.5; }
.legal-agree a { color: var(--pew); text-decoration: underline; text-underline-offset: 2px; }
.legal-contact > div > * { min-width: 0; }
.legal-contact dd { overflow-wrap: anywhere; }
@media (max-width: 400px) { .legal-contact > div { grid-template-columns: 1fr !important; gap: 4px !important; } }
.legal-body li { display: block; position: relative; padding-left: 26px; }
.legal-body li::before { position: absolute; left: 0; top: 0.85em; margin-top: 0; }
@media (max-width: 900px) { .legal-toc { display: none; } }

/* =========================================================
   Book page: one question at a time, price on top (v30)
   ========================================================= */
.book-wiz { display: grid; gap: 22px; max-width: 860px; margin: 0 auto; }
.book-wiz[hidden] { display: none; }
.ph-compact + .book-section, .book-section { padding-top: clamp(28px, 4vw, 48px); }

/* price card */
.quote-top.book-summary { position: static; display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 8px 28px; align-items: center; padding: 18px 24px; }
.quote-top .gauge { max-width: 210px; margin: 0; }
.quote-top .gauge-readout strong { font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.3rem); }
.quote-top .qt-info { min-width: 0; }
.quote-top .qt-sum { margin: 0; }
.quote-top .qt-sum dt, .quote-top .qt-sum dd { padding: 10px 0; }
.qt-details { margin-top: 10px; }
.qt-details > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; color: var(--gold-hi); font-size: 0.9rem; font-weight: 600; }
.qt-details > summary::-webkit-details-marker { display: none; }
.qt-details > summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.qt-details[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
.qt-details .q-lines { margin: 8px 0 12px; }
.qt-details .q-disclaimer { font-size: 0.8rem; color: var(--dim); margin: 10px 0 0; }
@media (max-width: 640px) {
  .quote-top.book-summary { grid-template-columns: 132px minmax(0, 1fr); gap: 6px 14px; padding: 12px 14px; }
  .quote-top .gauge { max-width: 132px; }
  .quote-top .gauge-readout small { font-size: 0.68rem; }
  .quote-top .gauge-readout strong { font-size: 1.35rem; }
  .quote-top .qt-sum dt, .quote-top .qt-sum dd { padding: 7px 0; font-size: 0.85rem; }
  .quote-top .qt-details { grid-column: 1 / -1; }
}

/* step card */
.wiz { background: var(--panel); border: 1px solid var(--rule); padding: clamp(18px, 3vw, 32px); }
.wiz-progress { list-style: none; margin: 0 0 26px; padding: 0; display: flex; gap: 4px; }
.wiz-progress li { flex: 1 1 0; min-width: 0; }
.wiz-progress li > button { all: unset; display: block; width: 100%; cursor: pointer; }
.wiz-progress .bar { display: block; height: 4px; background: var(--rule-2); margin-bottom: 8px; }
.wiz-progress .done .bar { background: var(--gold); opacity: 0.55; }
.wiz-progress .now .bar { background: var(--gold); }
.wiz-progress .lbl { display: block; font-stretch: 72%; font-weight: 600; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wiz-progress .done .lbl { color: var(--pew); }
.wiz-progress .now .lbl { color: var(--gold-hi); }
.wiz-progress li > button:hover .lbl { color: var(--plat); }
.wiz-progress li > button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (max-width: 640px) {
  .wiz-progress .lbl { font-size: 0.62rem; letter-spacing: 0.06em; }
  .wiz-progress li:not(.now) .lbl { color: transparent; }
  .wiz-progress li.now { flex-grow: 3; }
}

.wiz-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.wiz-step[hidden] { display: none !important; }
.wiz-step > legend { float: left; width: 100%; padding: 0; margin: 0 0 8px; font-stretch: 125%; font-weight: 800; letter-spacing: -0.02em; font-size: clamp(1.5rem, 1rem + 1.8vw, 2.2rem); line-height: 1.1; }
.wiz-step > legend:focus { outline: none; }
.wiz-step > legend + * { clear: both; }
.wiz-help { color: var(--pew); margin: 0 0 20px; max-width: 60ch; }
.wiz-step .opt-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.wiz-step .opt-face { min-height: 100%; }
.wiz-step .opt-face b { font-size: 1.05rem; }
.wiz-step textarea { min-height: 120px; }

.wiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--rule); }
.wiz-nav .btn { min-height: 52px; padding: 0 26px; display: inline-flex; align-items: center; gap: 10px; font-size: 1rem; }
.wiz-nav .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.wiz-next { margin-left: auto; }
.wiz-nav .btn[hidden] { display: none; }
.wiz-status { color: #f08a84; margin: 12px 0 0; min-height: 0; }
.wiz-status:empty { display: none; }
.wiz-custom { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 18px; color: var(--pew); font-size: 0.92rem; }
.wiz-custom[hidden] { display: none; }
.wiz-custom .link-btn { color: var(--gold-hi); font-weight: 600; }
@media (max-width: 640px) {
  .wiz-nav { position: sticky; bottom: 0; z-index: 5; margin: 22px calc(-1 * clamp(18px, 3vw, 32px)) calc(-1 * clamp(18px, 3vw, 32px)); padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); background: var(--panel); }
  .wiz-nav .btn { flex: 1 1 0; justify-content: center; padding: 0 14px; }
  .wiz-back { flex: 0 0 auto !important; }
}

/* review */
.wiz-review { display: grid; grid-template-columns: max-content minmax(0, 1fr); margin: 6px 0 26px; border-top: 1px solid var(--rule-2); }
.wiz-review dt, .wiz-review dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.wiz-review dt { color: var(--dim); font-stretch: 72%; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; padding-right: 20px; padding-top: 15px; }
.wiz-review dd { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; }
.wiz-review dd span { overflow-wrap: anywhere; }
.wiz-review dd .link-btn { flex: none; color: var(--gold-hi); font-size: 0.85rem; }
@media (max-width: 520px) {
  .wiz-review { grid-template-columns: 1fr; }
  .wiz-review dt { border-bottom: 0; padding: 12px 0 2px; }
  .wiz-review dd { padding-top: 2px; }
}
.wiz-step .book-submit { width: 100%; min-height: 56px; font-size: 1.05rem; margin-top: 8px; }

/* the Book page title is short so the first question is close to the top */
@media (max-width: 640px) {
  .ph-compact { padding: 26px 0 22px; }
  .ph-compact .ph-lede { display: none; }
  .ph-compact h1 { font-size: 1.9rem; }
}
.book-wiz { grid-template-columns: minmax(0, 1fr); }
.book-wiz > * { min-width: 0; }
.quote-top .q-lines li.total { margin-inline: 0; }

/* ---------- v30 clutter cleanup ---------- */
/* Home: package cards are a 2x2 preview on phones; full lists live on Services */
@media (max-width: 700px) {
  .cards4 { grid-template-columns: 1fr 1fr; }
  .cards4 .pcard { padding: 18px 16px 0; }
  .cards4 .pcard ul, .cards4 .pc-num { display: none; }
  .cards4 .pcard .dl { margin-bottom: 8px; font-size: 0.66rem; }
  .cards4 .pcard h3 { font-size: 1rem; padding-right: 0; margin-bottom: 14px; }
  .cards4 .pc-price { font-size: 1.9rem; }
  .cards4 .pc-time { margin: 6px 0 14px; font-size: 0.82rem; }
  .cards4 .pc-go { margin-inline: -16px; padding: 14px 16px; font-size: 0.9rem; }
}
/* Services: "full menu" as compact tags instead of a 12-row list */
.numlist { columns: auto; display: flex; flex-wrap: wrap; gap: 10px; counter-reset: none; }
.numlist li { display: inline-flex; padding: 9px 14px; border: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: 0.95rem; }
.numlist li::before { content: none; }
/* Footer: page links get their own full-width two-column row on phones */
@media (max-width: 560px) {
  .rf-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .rf-grid > div:nth-child(2) { grid-column: 1 / -1; }
  .rf-grid > div:nth-child(2) ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .rf-grid > div:nth-child(3), .rf-grid > div:last-child { grid-column: 1 / -1; }
}

/* ---------- v30 racing details: circuit map, angled cuts, speed lines ---------- */
.trk-base { fill: none; stroke: rgba(236, 235, 230, 0.09); stroke-width: 7; stroke-linejoin: round; }
.trk-draw, .trk-done { fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1000; }
.trk-sf { stroke: var(--plat); stroke-width: 3; }
.trk-sec circle { fill: var(--ink); stroke: var(--gold); stroke-width: 1.5; }
.trk-car { fill: var(--gold-hi); filter: drop-shadow(0 0 6px rgba(201, 164, 106, 0.9)); }

/* home hero: circuit as a broadcast-style track map on the photo */
.h-track {
  position: absolute; z-index: 2; top: 18px; left: 18px; width: min(46%, 230px); pointer-events: none;
  padding: 12px 14px 10px; background: rgba(8, 8, 9, 0.66); border: 1px solid rgba(236, 235, 230, 0.1);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}
.h-track svg { display: block; width: 100%; height: auto; overflow: visible; }
.h-track .trk-base { stroke-width: 9; stroke: rgba(236, 235, 230, 0.14); }
.h-track .trk-draw { stroke-width: 3; stroke-dashoffset: 1000; }
.h-track .trk-sf { stroke-width: 4; }
.h-track .trk-car { r: 7; }
html.js .h-hero.go .h-track .trk-draw { stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s cubic-bezier(.6, .05, .25, 1) .5s; }
html:not(.js) .h-track .trk-draw { stroke-dashoffset: 0; }
.trk-cap { margin: 8px 0 0; display: flex; flex-direction: column; gap: 1px; font-size: 0.66rem; color: var(--pew); letter-spacing: 0.03em; }
.trk-cap b { font-stretch: 72%; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-size: 0.68rem; }
@media (max-width: 600px) { .h-track { width: 150px; padding: 9px 10px 8px; left: auto; right: 14px; top: 14px; } .trk-cap span { display: none; } }
@media (prefers-reduced-motion: reduce) { .h-track .trk-car { display: none; } .h-track .trk-draw { transition: none !important; stroke-dashoffset: 0; } }

/* booking: lap map beside the step counter */
.wiz-lap { display: flex; align-items: center; gap: 16px; margin: 0 0 14px; }
.wiz-lap svg { flex: none; width: 104px; height: auto; overflow: visible; }
.wiz-lap .trk-base { stroke-width: 12; stroke: rgba(236, 235, 230, 0.1); }
.wiz-lap .trk-done { stroke-width: 4; stroke-dashoffset: 1000; transition: stroke-dashoffset .7s var(--ease-out); }
.wiz-lap .trk-sf { stroke-width: 5; }
.lap-txt { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.lap-txt .dl { margin: 0; color: var(--gold); }
.lap-txt b { font-stretch: 112%; font-weight: 800; font-size: 1.15rem; }
@media (prefers-reduced-motion: reduce) { .wiz-lap .trk-done { transition: none; } }

/* angled cuts, like an F1 livery panel */
.rb { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%); }
.rb-line { background: linear-gradient(135deg, transparent calc(50% - 0.75px), var(--rule-2) calc(50% - 0.75px), var(--rule-2) calc(50% + 0.75px), transparent calc(50% + 0.75px)) no-repeat right bottom / 11px 11px; }
.rb-line:hover { background-image: linear-gradient(135deg, transparent calc(50% - 0.75px), var(--gold) calc(50% - 0.75px), var(--gold) calc(50% + 0.75px), transparent calc(50% + 0.75px)); }
/* cards get a cut corner marker instead of a clip, so their borders stay intact */
.pcard::after { content: ""; position: absolute; right: 0; top: 0; width: 18px; height: 18px; background: linear-gradient(225deg, var(--gold) 0 50%, transparent 50%); opacity: 0; transition: opacity .25s; }
.pcard:hover::after, .pcard:focus-visible::after { opacity: 1; }

/* speed lines: the gold button gets a quick light sweep on hover */
.rb-gold { position: relative; overflow: hidden; isolation: isolate; }
.rb-gold::after {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -40%; width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-24deg); transition: left .55s var(--ease-out);
}
.rb-gold:hover::after { left: 120%; }
@media (prefers-reduced-motion: reduce) { .rb-gold::after { display: none; } }

/* speed lines on section kickers: the dash becomes three tapering streaks */
.ph::after {
  content: ""; position: absolute; right: 0; top: 50%; width: min(38vw, 420px); height: 60px; pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(201, 164, 106, 0.5)) 0 0 / 100% 2px no-repeat,
    linear-gradient(90deg, transparent 30%, rgba(201, 164, 106, 0.3)) 0 18px / 100% 1px no-repeat,
    linear-gradient(90deg, transparent 55%, rgba(236, 235, 230, 0.18)) 0 34px / 100% 1px no-repeat;
  transform: skewY(-4deg);
}
@media (max-width: 760px) { .ph::after { width: 46vw; top: 28px; } }

/* carbon-fibre weave behind page headers */
.ph::before {
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.022) 0 2px, transparent 2px 6px),
    repeating-linear-gradient(-45deg, rgba(0,0,0,0.35) 0 2px, transparent 2px 6px) !important;
  background-size: auto !important;
}

/* ---------- v32: bigger gauge; service & when live in the lap row ---------- */
.quote-top.book-summary { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 4px; padding: 20px 24px 14px; }
.quote-top .gauge { max-width: 300px; width: 100%; }
.quote-top .gauge-readout small { font-size: 0.8rem; }
.quote-top .gauge-readout strong { font-size: clamp(2.2rem, 1.6rem + 1.8vw, 3rem); }
.quote-top .qt-info { width: 100%; }
.quote-top .qt-details { border-top: 1px solid var(--rule); padding-top: 10px; }
.quote-top .qt-details > summary { display: flex; justify-content: center; }
.wiz-lap { flex-wrap: wrap; }
.lap-sum { margin: 0 0 0 auto; display: flex; gap: 22px; text-align: right; }
.lap-sum div { min-width: 0; }
.lap-sum dt { font-stretch: 72%; font-weight: 600; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); margin: 0 0 3px; }
.lap-sum dd { margin: 0; font-weight: 600; font-size: 0.92rem; color: var(--plat); }
@media (max-width: 600px) {
  .quote-top.book-summary { padding: 14px 14px 10px; }
  .quote-top .gauge { max-width: 230px; }
  .quote-top .gauge-readout strong { font-size: 2.1rem; }
  .lap-sum { margin: 4px 0 0; width: 100%; text-align: left; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 12px; border-top: 1px solid var(--rule); }
}

/* ======================================================================
   v34 booking page: the price gauge stays on screen the whole time
   - Phones/tablets: a slim sticky "telemetry bar" under the header
   - Desktop: the full gauge rides in a sticky column beside the questions
   ====================================================================== */
.qt-sum { margin: 0; }
.qt-sum dt { font-stretch: 72%; font-weight: 600; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); margin: 0 0 3px; }
.qt-sum dd { margin: 0; font-weight: 600; color: var(--plat); }
.qd-short { display: none; }
.trk-car { filter: none; }

/* tactile press feedback */
.opt-face, .day-chip span, .time-chip span, .wiz-nav .btn, .rb { transition-property: border-color, background-color, color, transform; }
.opt:active .opt-face, .day-chip:active span, .time-chip:active span { transform: scale(0.985); }
.wiz-nav .btn:active, .book-submit:active { transform: translateY(1px) scale(0.99); }

/* desktop: two columns, gauge sticky on the right */
@media (min-width: 1024px) {
  .book-wiz { max-width: 1180px; grid-template-columns: minmax(0, 1fr) 330px; align-items: start; gap: 28px; }
  .book-wiz > .quote-top { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--header-h) + 24px); }
  .book-wiz > .wiz { grid-column: 1; grid-row: 1; }
  .quote-top.book-summary { display: block; padding: 22px 22px 16px; }
  .quote-top .gauge { max-width: 280px; margin: 0 auto; }
  .quote-top .qt-sum { display: grid; gap: 14px; padding: 16px 0 14px; margin-top: 6px; border-top: 1px solid var(--rule); }
  .quote-top .qt-sum dd { font-size: 0.98rem; }
  .quote-top .qt-details > summary { justify-content: flex-start; }
}

/* phones and tablets: the full-size gauge sits above the questions. Once it scrolls
   out of view, a slim pinned "price dock" takes over (see .price-dock below). */
@media (max-width: 1023px) {
  .quote-top.book-summary { padding: 16px 16px 10px; }
  .quote-top .gauge { max-width: 250px; }
  .quote-top .gauge-readout strong { font-size: 2.3rem; }
  .quote-top .qt-sum { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px 0 10px; margin-top: 8px; border-top: 1px solid var(--rule); }
  .quote-top .qt-sum dd { font-size: 0.92rem; }
  .book-wiz { gap: 14px; }
}

/* the price dock: pinned under the header only while the big gauge is off screen */
.price-dock { display: none; }
@media (max-width: 1023px) {
  .price-dock {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0 12px;
    position: fixed; left: 0; right: 0; top: var(--header-h); z-index: 90;
    padding: 8px 14px 8px; background: rgba(13, 14, 16, 0.96);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--rule);
    transform: translateY(-110%); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .3s var(--ease-out), opacity .2s, visibility 0s .3s;
  }
  .price-dock.on { transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition: transform .3s var(--ease-out), opacity .2s; }
  .price-dock svg { display: block; width: 72px; height: auto; overflow: visible; }
  .pd-num { min-width: 0; }
  .pd-num small { display: block; font-stretch: 72%; font-weight: 600; font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pew); }
  .pd-num strong { display: block; font-stretch: 125%; font-weight: 800; font-size: 1.7rem; line-height: 1; font-variant-numeric: tabular-nums; }
  .pd-num span { display: block; margin-top: 3px; font-size: 0.76rem; color: var(--pew); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pd-btn { all: unset; cursor: pointer; padding: 9px 12px; border: 1px solid var(--rule-2); font-size: 0.8rem; font-weight: 600; color: var(--gold-hi); background: var(--ink); }
  .pd-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
}
@media (max-width: 1023px) and (prefers-reduced-motion: reduce) { .price-dock, .price-dock.on { transition: none; } }

/* lighter step header */
.wiz-lap { flex-wrap: nowrap; margin-bottom: 12px; }
@media (max-width: 640px) {
  .wiz-lap { gap: 12px; margin-bottom: 10px; }
  .wiz-lap svg { width: 64px; }
  .lap-txt { flex-direction: row; align-items: baseline; gap: 10px; }
  .lap-txt b { font-size: 1rem; }
  .wiz-progress { margin-bottom: 18px; }
  .wiz-progress .lbl { display: none; }
  .wiz-progress .bar { margin-bottom: 0; height: 3px; }
  .wiz-progress li.now { flex-grow: 1; }
  .wiz-step > legend { font-size: 1.45rem; }
  .wiz-help { font-size: 0.95rem; }
  /* option cards: name and price on one line, description under */
  .wiz-step .opt-grid { gap: 10px; }
  .wiz-step .opt-face { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 3px; padding: 14px 44px 14px 16px; }
  .wiz-step .opt-face b { grid-column: 1; grid-row: 1; padding-right: 0; }
  .wiz-step .opt-face em { grid-column: 2; grid-row: 1; margin: 0; align-self: start; }
  .wiz-step .opt-face span { grid-column: 1 / -1; grid-row: 2; }
  .wiz-step .opt-face::after { top: 15px; }
  /* compact page header */
  .ph-book { padding: 22px 0 18px; }
  .ph-book h1 { font-size: 1.9rem; }
  .ph-book .ph-lede { display: none; }
}

/* day chips: one tidy line under the date */
.day-chip em { white-space: nowrap; font-size: 0.68rem; }

/* two-visit time pickers */
.visit-block { margin-top: 18px; padding: 14px 0 2px 16px; border-left: 2px solid var(--gold); }
.visit-block + .visit-block { margin-top: 14px; }
.visit-tag { margin: 0 0 10px; display: flex; align-items: baseline; gap: 10px; font-weight: 600; color: var(--plat); }
.visit-tag b { font-stretch: 72%; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-hi); }
.visit-block .slot-label { font-size: 0.9rem; color: var(--pew); font-weight: 500; }

/* booked screen: the two visits */
.done-visits { text-align: left; margin: 0 auto 22px; max-width: 520px; padding: 16px 18px; background: var(--panel); border-left: 3px solid var(--gold); }
.done-visits p { margin: 0 0 12px; color: var(--pew); font-size: 0.95rem; }
.done-visits p strong { color: var(--plat); }
.done-visits ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.done-visits li { display: grid; gap: 2px; }
.done-visits li b { font-stretch: 72%; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-hi); }
.done-visits li span { color: var(--plat); font-weight: 600; }
.quote-top .qt-sum dt, .quote-top .qt-sum dd { padding: 0 !important; border: 0 !important; }
@media (min-width: 1024px) { .quote-top .qt-sum div { display: grid; gap: 4px; } }
@media (max-width: 1023px) {
  .quote-top.book-summary.details-open { position: relative; top: auto; }
  .quote-top.details-open .qt-details[open] { max-height: none; overflow: visible; }
}
