/* ============================================================
   Record Mobile Detailing
   Design tokens + base system

   Palette rationale: Carter asked for "gold + black". A flat
   near-black void with one bright accent is exactly the look he
   said he dislikes, so the ground is a warm charcoal that sits
   like a driveway at dusk, and gold is treated as a metallic
   RANGE (champagne -> gold -> bronze) rather than one hex.
   ============================================================ */

:root {
  --ink:        #100F0D;
  --surface:    #1A1815;
  --surface-2:  #24211C;
  --line:       #332E26;
  --line-soft:  #262219;

  --gold:       #C9A24B;
  --gold-lite:  #E8C67A;
  --bronze:     #7C5F26;

  --paper:      #EFEAE1;
  --muted:      #968D80;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1180px;
  --gut: clamp(20px, 5vw, 56px);
  --head-h: 86px;

  --step: clamp(64px, 9vw, 132px);   /* vertical section rhythm */
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 2px solid var(--gold-lite);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: var(--ink);
  padding: 12px 20px; z-index: 999;
  font-family: var(--font-mono); font-size: 13px;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.section { padding-block: var(--step); }
.section--tight { padding-block: calc(var(--step) * 0.62); }
.section--raised { background: var(--surface); }

/* ---------- type helpers ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--bronze);
  flex: none;
}

.h-xl  { font-size: clamp(2.7rem, 7.4vw, 5.1rem); }
.h-lg  { font-size: clamp(2.1rem, 4.6vw, 3.35rem); }
.h-md  { font-size: clamp(1.45rem, 2.5vw, 1.95rem); letter-spacing: -0.018em; }
.h-sm  { font-size: 1.13rem; font-weight: 700; letter-spacing: -0.01em; }

.lede {
  font-size: clamp(1.06rem, 1.7vw, 1.24rem);
  color: #C9C1B5;
  max-width: 60ch;
  line-height: 1.6;
}

.muted { color: var(--muted); }

.gold-word { color: var(--gold-lite); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.005em;
  padding: 15px 28px;
  border-radius: 2px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.btn--primary {
  background: linear-gradient(101deg, var(--gold-lite), var(--gold) 46%, #B08832);
  color: #17140E;
  position: relative;
  overflow: hidden;
}
.btn--primary::after {
  /* single specular sweep on hover - the one flourish on the page */
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 35%, rgba(255,255,255,.5) 50%, transparent 65%);
  transform: translateX(-110%);
  transition: transform .55s ease;
}
.btn--primary:hover::after { transform: translateX(110%); }
.btn--primary:hover { transform: translateY(-1px); }

.btn--ghost {
  border-color: var(--line);
  color: var(--paper);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-lite); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

@media (prefers-reduced-motion: reduce) {
  .btn, .btn--primary::after { transition: none; }
  .btn--primary:hover { transform: none; }
}

/* ---------- header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(16,15,13,.86);
  backdrop-filter: blur(11px);
  border-bottom: 1px solid var(--line-soft);
}
.site-head__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--head-h);
}

/* Logo lockup: Carter's real emblem + the text wordmark.
   The emblem is fine line art (a boat, a car and a cart inside a ring) and
   turns to mush under ~56px, so the crisp text carries the name at small
   sizes and the emblem is dropped entirely on mobile rather than shown
   illegibly. Sizes here are the measured legibility floor, not taste. */
.wordmark {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 13px;
  line-height: 1;
}
.wordmark__mark { width: auto; height: 60px; flex: none; }
.wordmark__text { display: block; }
.wordmark__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--paper);
}
.wordmark__sub {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 5px;
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 14.5px;
  text-decoration: none;
  color: #BFB7AB;
  transition: color .16s ease;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-lite); }
.nav .btn { padding: 11px 20px; font-size: 14px; }
/* .nav a is (0,1,1) and would otherwise beat .btn--primary (0,1,0) and grey
   out the button label. Restate the button colours at matching specificity. */
.nav a.btn--primary,
.nav a.btn--primary:hover,
.nav a.btn--primary[aria-current="page"] { color: #17140E; }
.nav a.btn--ghost { color: var(--paper); }
.nav a.btn--ghost:hover { color: var(--gold-lite); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--paper);
  padding: 9px 13px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 900px) {
  :root { --head-h: 72px; }
  .nav-toggle { display: block; }
  /* Emblem is illegible at the height a mobile bar allows - text only. */
  .wordmark__mark { display: none; }
  .nav {
    position: fixed;
    inset: var(--head-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gut) 26px;
    transform: translateY(-140%);
    transition: transform .3s ease;
    max-height: calc(100dvh - var(--head-h));
    overflow-y: auto;
  }
  .nav[data-open="true"] { transform: translateY(0); }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line-soft); font-size: 16px; }
  .nav .btn { margin-top: 20px; border-bottom: 0; justify-content: center; padding: 15px 20px; }
}
@media (prefers-reduced-motion: reduce) { .nav { transition: none; } }

/* ---------- hero ----------
   Deliberately built to work with NO photograph. Carter supplied
   no images and dislikes AI imagery, so the hero carries on type,
   rule-work and the load-out panel instead of a stock car shot. */
.hero {
  position: relative;
  padding-block: clamp(72px, 12vw, 148px) var(--step);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.hero::before {
  /* soft pooled light, top-right - reads as a shop lamp, not a gradient blob */
  content: "";
  position: absolute;
  top: -32%; right: -14%;
  width: 780px; height: 780px;
  background: radial-gradient(circle, rgba(201,162,75,.15), transparent 62%);
  pointer-events: none;
}
.hero__in { position: relative; }
/* 20ch, not 15ch: the H1's first line must not wrap before the <span> that
   starts the gold second line, or the headline breaks into three. */
.hero h1 { max-width: 20ch; }
.hero h1 .line2 { display: block; color: var(--gold-lite); }
.hero .lede { margin-top: 26px; }

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 52px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  row-gap: 20px;
}
/* Five stats now, so the gutters flex rather than wrapping one onto its own row. */
.trust__item {
  padding-right: clamp(14px, 2.2vw, 30px);
  margin-right: clamp(14px, 2.2vw, 30px);
  border-right: 1px solid var(--line);
}
.trust__item:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.trust__n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--gold-lite);
  line-height: 1;
}
.trust__l {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}
@media (max-width: 620px) {
  .trust__item { padding-right: 20px; margin-right: 20px; margin-bottom: 18px; }
}

/* ---------- THE LOAD-OUT (signature element) ----------
   The one memorable component. It answers the real friction in
   booking mobile detailing - "what do I need to have ready?" -
   as a spec manifest off the side of a work truck. */
.loadout {
  border: 1px solid var(--line);
  background: linear-gradient(176deg, var(--surface-2), var(--surface));
  border-radius: 3px;
}
.loadout__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 20px clamp(20px, 3vw, 34px);
  border-bottom: 1px solid var(--line);
}
.loadout__title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
}
.loadout__note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .06em;
}
.loadout__row {
  display: grid;
  grid-template-columns: 152px 1fr;
  gap: 8px 24px;
  padding: 19px clamp(20px, 3vw, 34px);
  border-bottom: 1px solid var(--line-soft);
}
.loadout__row:last-child { border-bottom: 0; }
.loadout__k {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--bronze);
  padding-top: 4px;
}
.loadout__v { font-size: 16px; color: var(--paper); }
.loadout__v small { display: block; color: var(--muted); font-size: 14px; margin-top: 3px; }
@media (max-width: 620px) {
  .loadout__row { grid-template-columns: 1fr; gap: 6px; }
  .loadout__k { padding-top: 0; }
}

/* ---------- split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 82px);
  align-items: center;
}
.split--top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- surface grid (what he details) ----------
   Grouped by VEHICLE, not by package tier, because that is how
   customers actually ask: "do you do boats?" */
.surfaces {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 54px;
}
.surface {
  background: var(--ink);
  padding: 30px 26px 32px;
  transition: background-color .2s ease;
}
.surface:hover { background: var(--surface); }
/* Label says WHEN this vehicle usually gets booked - real information.
   It replaced a 01/02/03 sequence, which was decorative: these are
   parallel vehicle types, not ordered steps. */
.surface__n {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--bronze);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.surface--ask { background: var(--surface-2); }
.surface--ask:hover { background: #2C2822; }
.surface--ask p { color: #C2BAAE; }
.surface h3 { font-size: 1.22rem; margin: 14px 0 10px; }
.surface p { font-size: 15px; color: var(--muted); line-height: 1.55; }

/* ---------- service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 52px;
}
.card {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 30px 28px 32px;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
}
.card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.card p { font-size: 15.5px; color: var(--muted); }
.card__price {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: .06em;
  margin-top: auto;
  padding-top: 20px;
}

/* The gap before this text is a "&nbsp;&middot;&nbsp;" in the HTML, NOT a
   margin here. That is deliberate: /assets/* is served with a one-year
   `immutable` cache on an unhashed filename, so a CSS-only fix never
   reaches anyone who has already loaded the site. HTML pages are not
   cached that way, so the separator ships immediately.
   This rule previously carried `margin-top: 6px`, which did nothing at
   all - the element is a <span>, and vertical margins are ignored on
   inline boxes. That is why the text read "Call to quoteAbout 7 hours". */
.card__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .05em;
}

/* price placeholders - deliberately loud so they cannot ship by accident */
.tbd {
  background: #4A2222;
  color: #FFD9D9;
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 2px 7px;
  border-radius: 2px;
  letter-spacing: .04em;
}

/* ---------- price table ----------
   Carter prices by vehicle size, so the page does too. This answers
   "how much?" - the question he says he gets more than any other -
   without making anyone read a paragraph. */
.ptable-wrap { overflow-x: auto; margin-top: 50px; }
.ptable {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  border: 1px solid var(--line);
  text-align: left;
}
.ptable th, .ptable td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.ptable thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.ptable tbody tr:last-child td { border-bottom: 0; }
.ptable tbody th {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: -0.01em;
  background: var(--surface);
}
.ptable .p {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.22rem;
  color: var(--gold-lite);
  line-height: 1.1;
  display: block;
}
.ptable .t {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: .06em;
  display: block;
  margin-top: 6px;
}

/* ---------- feature band (ceramic coating) ---------- */
.band {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

/* ---------- before & after ----------
   Side-by-side rather than a drag-slider: a slider only tells the truth when
   both frames share a camera position, and these are handheld shots taken
   hours apart. Two labelled frames can't imply an alignment that isn't there.
   Each pair gets the aspect that suits it - the interior crop is biased to the
   floor because the mud is the evidence. */
.ba-list { display: grid; gap: 22px; margin-top: 52px; }

.ba {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 3px;
  overflow: hidden;
}
.ba__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); }
.ba__fig { position: relative; margin: 0; }
.ba__fig img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ba--wide   .ba__fig img { aspect-ratio: 4 / 3; }
.ba--pano   .ba__fig img { aspect-ratio: 2 / 1; }
.ba--square .ba__fig img { aspect-ratio: 1 / 1; }
.ba--tall   .ba__fig img { aspect-ratio: 3 / 4; }

.ba__tag {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 2px;
  background: rgba(16,15,13,.82);
  color: #CFC7BA;
  border: 1px solid var(--line);
  backdrop-filter: blur(4px);
}
.ba__tag--after { color: var(--ink); background: var(--gold); border-color: var(--gold); }

.ba__meta { padding: 22px clamp(18px,3vw,28px) 24px; }
.ba__meta h3 { font-size: 1.12rem; margin-bottom: 8px; }
.ba__meta p { font-size: 15px; color: var(--muted); line-height: 1.55; }

/* ---------- work gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(216px, 1fr));
  gap: 16px;
  margin-top: 52px;
}
.gallery figure { margin: 0; }
.gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--surface);
}
.gallery figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
}
.gallery .wide img { aspect-ratio: 4 / 3; }

/* ---------- inline photo figure ---------- */
.photo {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  background: var(--surface);
}
.photo img { width: 100%; height: auto; display: block; }
.photo figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--muted);
  padding: 13px 16px;
  border-top: 1px solid var(--line);
  line-height: 1.5;
}
/* Source is only 414px wide - never upscale it into mush. */
.photo--rig { max-width: 414px; margin-top: 30px; }

/* ---------- reviews ---------- */
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: 20px;
  margin-top: 50px;
}
.review {
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  background: var(--surface);
  padding: 28px 26px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
}
.review__stars { color: var(--gold); letter-spacing: 3px; font-size: 14px; margin-bottom: 14px; }
.review p { font-size: 15.5px; line-height: 1.6; color: #D9D2C7; }
.review__by {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: auto;
  padding-top: 20px;
}

/* ---------- area list ---------- */
.areas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
  padding: 0;
  list-style: none;
}
.areas li {
  border: 1px solid var(--line);
  padding: 9px 17px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .07em;
  color: #CDC5B8;
  border-radius: 2px;
}

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 46px 0 0; counter-reset: s; }
.steps li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 22px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.steps li::before {
  content: counter(s, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: .1em;
  padding-top: 4px;
}
.steps h3 { font-size: 1.12rem; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15.5px; }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; margin-top: 34px; max-width: 620px; }
.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}
.field input, .field select, .field textarea {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--paper);
  padding: 14px 15px;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 16px;
  width: 100%;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.form__note { font-size: 13.5px; color: var(--muted); }

/* ---------- booking embed ---------- */
.booking-frame {
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  background: var(--surface);
  margin-top: 34px;
}
.booking-frame iframe { width: 100%; height: 780px; border: 0; display: block; }
.booking-fallback {
  padding: 26px clamp(20px, 3vw, 32px);
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--muted);
}

/* ---------- callout ---------- */
.callout {
  border-left: 2px solid var(--gold);
  background: var(--surface);
  padding: 22px 26px;
  margin-top: 34px;
  font-size: 15.5px;
  color: #D5CEC3;
}

/* ---------- final CTA ---------- */
.cta-final { text-align: center; }
.cta-final .lede { margin-inline: auto; }
.cta-final .btn-row { justify-content: center; }

/* ---------- footer ---------- */
.site-foot {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding-block: 62px 0;
  font-size: 15px;
}
/* Footer is the one place the full stacked logo has room to be read. */
.foot-logo { width: 168px; height: auto; margin-bottom: 20px; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 42px;
}
@media (max-width: 780px) { .foot-grid { grid-template-columns: 1fr; gap: 34px; } }
.foot h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 16px;
}
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot a { color: #BFB7AB; text-decoration: none; }
.foot a:hover { color: var(--gold-lite); }
.foot p { color: var(--muted); font-size: 15px; }
.foot-bottom {
  margin-top: 52px;
  border-top: 1px solid var(--line-soft);
  padding-block: 24px 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}
.foot-bottom a { color: var(--muted); }

/* ---------- mobile sticky action bar ----------
   Needs viewport-fit=cover in the viewport meta on every page or
   env(safe-area-inset-bottom) silently resolves to 0. */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 70;
  background: rgba(16,15,13,.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.mobile-bar .btn { flex: 1; padding: 14px 12px; font-size: 14.5px; }
@media (max-width: 760px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 84px; }
}

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .6s ease, transform .6s ease;
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-in { opacity: 1; transform: none; transition: none; }
}

/* ---------- hero load sequence ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
.hero__in > * { animation: rise .7s cubic-bezier(.2,.7,.3,1) both; }
.hero__in > *:nth-child(1) { animation-delay: .04s; }
.hero__in > *:nth-child(2) { animation-delay: .13s; }
.hero__in > *:nth-child(3) { animation-delay: .22s; }
.hero__in > *:nth-child(4) { animation-delay: .31s; }
.hero__in > *:nth-child(5) { animation-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
  .hero__in > * { animation: none; }
}

/* ============================================================
   Legal pages (terms, privacy)

   No new palette, no new type. Long-form prose in the same warm
   charcoal, with clause numbers set in the mono face — the same
   voice as the load-out manifest. The numbers here are NOT
   decoration: a terms document gets cited by section ("see 3.2"),
   so the numbering carries information the reader needs.
   ============================================================ */
.legal { max-width: 780px; }
.legal p { color: #C6BFB4; font-size: 16.5px; }
.legal ul { margin: 0 0 1.1em; padding-left: 0; list-style: none; }
.legal ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
  color: #C6BFB4;
  font-size: 16.5px;
}
.legal ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .68em;
  width: 9px; height: 1px;
  background: var(--bronze);
}
.legal strong { color: var(--paper); font-weight: 600; }
.legal a { color: var(--gold-lite); }

/* clause heading: mono number in the margin, title alongside */
.clause { margin-top: 58px; scroll-margin-top: 96px; }
.clause__n {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--gold);
  margin-bottom: 12px;
}
.clause h2 { font-size: clamp(1.35rem, 2.4vw, 1.72rem); margin-bottom: 20px; }
.clause h3 {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 30px 0 10px;
  color: var(--paper);
}

/* jump list — a 20-clause document needs one */
.legal-toc {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 26px 28px;
  margin-top: 44px;
}
.legal-toc h2 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.legal-toc ol {
  margin: 0; padding: 0;
  list-style: none;
  counter-reset: toc;
  columns: 2;
  column-gap: 34px;
}
@media (max-width: 620px) { .legal-toc ol { columns: 1; } }
.legal-toc li { counter-increment: toc; margin-bottom: 9px; break-inside: avoid; }
.legal-toc a {
  color: #C6BFB4;
  text-decoration: none;
  font-size: 14.5px;
  border-bottom: 1px solid transparent;
}
.legal-toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--bronze);
  margin-right: 10px;
}
.legal-toc a:hover { color: var(--gold-lite); border-bottom-color: var(--bronze); }

/* ---------- condition grades ----------
   The load-out manifest voice, reused. A detailer grading a
   vehicle on arrival is exactly the kind of spec-sheet reading
   the mono face was chosen for — so this is the existing
   signature element doing a second job, not a second signature. */
.grades { margin-top: 38px; display: grid; gap: 2px; }
.grade {
  display: grid;
  grid-template-columns: 132px 1fr auto;
  gap: 24px;
  align-items: start;
  background: var(--surface);
  border-left: 2px solid var(--line);
  padding: 24px 26px;
}
@media (max-width: 760px) {
  .grade { grid-template-columns: 1fr; gap: 10px; padding: 22px; }
}
.grade--std   { border-left-color: var(--bronze); }
.grade--heavy { border-left-color: var(--gold); }
.grade--extr  { border-left-color: var(--gold-lite); }
.grade--no    { border-left-color: #B5484F; }
.grade__k {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 4px;
}
.grade--no .grade__k { color: #C9737A; }
.grade__t { font-weight: 600; color: var(--paper); margin-bottom: 6px; }
.grade__d { color: var(--muted); font-size: 15px; margin: 0; }
.grade__p {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold-lite);
  white-space: nowrap;
  padding-top: 3px;
}
@media (max-width: 760px) { .grade__p { padding-top: 6px; } }

/* ---------- utility ---------- */
.stack-sm > * + * { margin-top: 14px; }
.mt-lg { margin-top: 54px; }
.center { text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
