/* Peakline Automotive — one stylesheet, no framework.
   Dark by default: the logo is black-on-white artwork, so the site inverts it
   and lets the job photos carry the colour. */

:root {
  --ink: #0b0d0f;
  --ink-1: #101315;
  --ink-2: #171b1e;
  --ink-3: #1f2429;
  --paper: #f4f3f0;
  --paper-2: #ffffff;

  --text: #f2f4f5;
  --text-dim: #a7b0b7;
  --text-ink: #14181b;
  --text-ink-dim: #5a646c;

  --accent: #ff7a18;
  --accent-soft: #ffa257;
  --accent-ink: #b34d00;

  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.2);
  --line-ink: rgba(12, 14, 16, 0.12);

  /* Two tokens that exist so a light surface can rebind them. Both were
     hard-coded to a dark-theme value and both failed on .section--paper, which
     is where the estimate form and the postal-code checker actually live:

       focus ring   --accent  #ff7a18 on --paper   2.35:1  (needs 3:1)
       placeholder  #78838b   on a white input     3.88:1  (needs 4.5:1)

     The replacements below are measured, not guessed:

       --accent-ink #b34d00 on --paper   4.76:1     on white  5.28:1
       #67727c              on white     4.91:1 */
  --focus: var(--accent);
  --placeholder: #78838b;

  /* 6 / 12 / 14 / 22 / 999. The middle step is new: inputs, the hamburger, the
     card icon and the footer admin link were each carrying their own one-off
     radius (12, 13, 10), which is not a scale, just three numbers. */
  --radius-sm: 12px;
  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1180px;
  --wrap-wide: 1320px;

  --shadow: 0 18px 50px -22px rgba(0, 0, 0, 0.75);
  --header-h: 72px;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Anton", "Arial Narrow", system-ui, sans-serif;
}

*, *::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(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 { margin: 0; }
h1, h2 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 1.04;
  /* Anton headings are short and wrap often. Balancing them stops the one-word
     last line that made several h2s look like a mistake. */
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4.6vw, 3.2rem); }
/* h3 is Inter, not Anton, and it wraps to two lines on a phone in most of the
   cards. It was inheriting the 1.04 display leading, which at 19px left less
   than a pixel between descender and cap. */
h3 { font-size: 1.12rem; font-weight: 650; letter-spacing: -0.01em; line-height: 1.35; }

/* An h2 that has to look like an h3.
 *
 * A page cannot jump from h1 straight to h3 — a screen reader user navigating
 * by heading hears a level that isn't there, and it is the commonest real
 * accessibility fault on a site that otherwise reads fine. The service cards
 * and the contact page both did it.
 *
 * The right heading LEVEL is h2. The right SIZE is the h3 size. This is how
 * you get both without redesigning the page around a screen reader. */
h2.as-h3 {
  font-family: var(--font);
  font-size: 1.12rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.35;
  text-transform: none;
}
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap--wide { max-width: var(--wrap-wide); }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

.section { padding: clamp(56px, 8vw, 108px) 0; position: relative; }
.section--tight { padding: clamp(38px, 5vw, 64px) 0; }
/* A light section rebinds the colour tokens rather than overriding component
   by component.

   This matters more than it looks. The site is dark, so --text and --text-dim
   are near-white. Any component built for the footer and then reused inside a
   light section — the hours list, a form's optional-field hint — came out
   white on cream and vanished. Rebinding here means a component reused in a
   light section is correct without anyone remembering to think about it.

   --accent is deliberately NOT rebound: it is the button fill, and the darker
   ink variant behind dark button text would be its own contrast problem. The
   eyebrow overrides it explicitly instead.

   --focus and --placeholder ARE rebound, for exactly the reason above: both
   are accent-or-near-white values that a light surface makes unreadable, and
   both land on the estimate form, which is rendered inside a paper section on
   /contact and in every CTA band. Ratios are in the :root comment. */
.section--paper {
  background: var(--paper);
  color: var(--text-ink);
  --text: var(--text-ink);
  --text-dim: var(--text-ink-dim);
  --line: var(--line-ink);
  --line-strong: rgba(12, 14, 16, 0.22);
  --focus: var(--accent-ink);
  --placeholder: #67727c;
}
.section--paper h3 { color: var(--text-ink); }
.section--panel { background: var(--ink-1); }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.section--paper .eyebrow { color: var(--accent-ink); }

.lede { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--text-dim); max-width: 62ch; }
.section--paper .lede { color: var(--text-ink-dim); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: #180a00; padding: 12px 18px; font-weight: 650;
}
.skip:focus { left: 12px; top: 12px; }

:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 650; font-size: 0.97rem; text-decoration: none; letter-spacing: -0.005em;
  cursor: pointer; transition: transform .16s ease, background-color .16s ease, border-color .16s ease, color .16s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 19px; height: 19px; flex: none; }
.btn--primary { background: var(--accent); color: #170800; }
.btn--primary:hover { background: var(--accent-soft); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255, 255, 255, 0.04); }
.btn--ghost:hover { border-color: var(--text); background: rgba(255, 255, 255, 0.09); }
.btn--dark { background: var(--ink); color: var(--text); }
.btn--dark:hover { background: var(--ink-3); }
/* 44px, not 42. This is not only a desktop style: the rental flow uses it for
   "Read and sign", "Take a photo" and "Upload", which a customer presses on a
   phone standing next to a trailer. Two pixels under the minimum touch target
   is the sort of thing that gets reported as "it didn't work". */
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 0.9rem; }
.section--paper .btn--ghost { border-color: var(--line-ink); color: var(--text-ink); background: transparent; }
.section--paper .btn--ghost:hover { border-color: var(--text-ink); background: rgba(12, 14, 16, 0.05); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.banner {
  display: block; text-align: center; text-decoration: none;
  background: var(--accent); color: #170800;
  font-size: 0.9rem; font-weight: 600; padding: 9px 16px;
}
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 13, 15, 0.86);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { flex: none; display: flex; align-items: center; min-height: 44px; }
.brand img { width: auto; height: 40px; }
@media (min-width: 900px) { .brand img { height: 46px; } }

.nav { display: none; gap: 24px; margin-left: auto; }
.nav a {
  text-decoration: none; font-size: 0.94rem; font-weight: 550; color: var(--text-dim);
  /* 44px tall even up here: plenty of laptops have a touchscreen. */
  padding: 11px 0; position: relative;
}
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--accent);
}
.header-cta { display: none; gap: 10px; margin-left: 8px; }
@media (min-width: 1000px) { .nav, .header-cta { display: flex; } }

.hamburger {
  margin-left: auto; width: 46px; height: 46px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.04);
  display: grid; place-content: center; gap: 5px; cursor: pointer;
}
.hamburger span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1000px) { .hamburger { display: none; } }

.mobile-nav { border-top: 1px solid var(--line); background: var(--ink-1); padding: 8px 20px 22px; }
.mobile-nav nav { display: grid; }
.mobile-nav a {
  text-decoration: none; padding: 15px 2px; border-bottom: 1px solid var(--line);
  font-size: 1.05rem; font-weight: 600;
}
.mobile-nav__cta { display: grid; gap: 10px; margin-top: 18px; }
.mobile-nav__cta .btn { width: 100%; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: clamp(560px, 88vh, 820px); display: flex; align-items: flex-end; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(11,13,15,.97) 4%, rgba(11,13,15,.72) 38%, rgba(11,13,15,.30) 70%, rgba(11,13,15,.55) 100%),
    linear-gradient(to right, rgba(11,13,15,.85), rgba(11,13,15,.15) 65%);
}
.hero__inner { position: relative; width: 100%; padding-top: 90px; padding-bottom: clamp(38px, 6vw, 76px); }
.hero h1 { max-width: 15ch; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__sub { margin-top: 18px; font-size: clamp(1.03rem, 1.9vw, 1.25rem); color: #dfe4e7; max-width: 46ch; }
.hero .actions { margin-top: 28px; }

.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.06);
  border-radius: 999px; padding: 7px 14px; font-size: 0.85rem; font-weight: 550; color: #e6eaec;
  backdrop-filter: blur(4px);
}
.chip .icon { width: 15px; height: 15px; color: var(--accent); }

/* ---------- trust strip ---------- */
.strip { background: var(--ink-2); border-block: 1px solid var(--line); }
.strip__grid { display: grid; gap: 22px; padding: 26px 0; grid-template-columns: 1fr; }
@media (min-width: 700px) { .strip__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .strip__grid { grid-template-columns: repeat(4, 1fr); gap: 30px; } }
.strip__item { display: flex; gap: 13px; align-items: flex-start; }
.strip__item .icon { width: 24px; height: 24px; color: var(--accent); flex: none; margin-top: 2px; }
.strip__item strong { display: block; font-size: 0.99rem; }
.strip__item span { color: var(--text-dim); font-size: 0.9rem; line-height: 1.5; }

/* ---------- section headers ---------- */
.head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.head--split { max-width: none; display: grid; gap: 20px; align-items: end; }
@media (min-width: 900px) { .head--split { grid-template-columns: 1fr auto; } }
.head p { margin-top: 16px; }

/* ---------- service cards ---------- */
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  padding: 26px 24px 28px;
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.card__icon {
  width: 46px; height: 46px; border-radius: var(--radius-sm); display: grid; place-content: center;
  background: rgba(255, 122, 24, 0.14); color: var(--accent); margin-bottom: 16px;
}
.card__icon .icon { width: 23px; height: 23px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-dim); font-size: 0.95rem; }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.card li { font-size: 0.9rem; color: var(--text-dim); padding-left: 22px; position: relative; }
.card li::before {
  content: ""; position: absolute; left: 4px; top: 0.62em; width: 7px; height: 7px;
  border-radius: 50%; background: var(--accent); opacity: .75;
}
.section--paper .card {
  background: var(--paper-2); border-color: var(--line-ink);
  box-shadow: 0 1px 2px rgba(12, 14, 16, .05);
}
.section--paper .card p, .section--paper .card li { color: var(--text-ink-dim); }
.section--paper .card__icon { background: rgba(255, 122, 24, 0.12); color: var(--accent-ink); }

/* ---------- steps ---------- */
.steps { display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 26px; } }
.step { border-top: 2px solid var(--line-strong); padding-top: 20px; }
.step__n { font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--accent); }
.step h3 { margin: 10px 0 8px; font-size: 1.2rem; }
.step p { color: var(--text-dim); font-size: 0.96rem; }
.section--paper .step { border-color: var(--line-ink); }
.section--paper .step p { color: var(--text-ink-dim); }

/* ---------- split media ---------- */
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 920px) { .split { grid-template-columns: 1.05fr 1fr; gap: 56px; } .split--flip > :first-child { order: 2; } }
.split__media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.split__media img { width: 100%; }
.section--paper .split__media { border-color: var(--line-ink); }

/* Inside a .split column the measure is set by the column. Several pages use a
   tick list at full wrap width, though, where a line ran to about 110
   characters — roughly twice a comfortable measure. */
.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; max-width: 78ch; }
.ticks li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.99rem; }
/* A link in a tick list is still something a thumb has to hit. */
.ticks a { display: inline-flex; align-items: center; min-height: 44px; }
.ticks .icon { width: 21px; height: 21px; color: var(--accent); flex: none; margin-top: 2px; }
.ticks--no .icon { color: var(--text-dim); }
.section--paper .ticks--no .icon { color: var(--text-ink-dim); }

/* ---------- gallery ---------- */
/* The photos are the best thing on this site, so they get air as the viewport
   allows it instead of a fixed 14px hairline at every size. */
.gallery { display: grid; gap: clamp(14px, 1.6vw, 24px); grid-template-columns: 1fr; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.shot {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  background: var(--ink-2);
}
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.shot:hover img { transform: scale(1.035); }
.shot figcaption {
  padding: 14px 16px 16px; font-size: 0.9rem; color: var(--text-dim); line-height: 1.5;
  border-top: 1px solid var(--line);
}
.shot--tall img { aspect-ratio: 3 / 4; }
/* A square source forced into the 4/3 default loses a sixth of its height off
   the top and bottom. On the before-and-after that is the comparison itself,
   so it gets its own ratio and is not cropped at all. */
.shot--square img { aspect-ratio: 1 / 1; }
.section--paper .shot { border-color: var(--line-ink); background: var(--paper-2); }
.section--paper .shot figcaption { color: var(--text-ink-dim); border-color: var(--line-ink); }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: clamp(14px, 1.6vw, 24px); overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.rail > * { scroll-snap-align: start; }
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 99px; }
@media (min-width: 700px) { .rail { grid-auto-columns: 42%; } }
@media (min-width: 1100px) { .rail { grid-auto-columns: 30%; } }

/* ---------- reviews ---------- */
.rating { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.rating__score { font-family: var(--display); font-size: 3rem; line-height: 1; }
.stars { display: flex; gap: 3px; color: var(--accent); }
.stars .icon { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.quotes { display: grid; gap: 16px; }
@media (min-width: 860px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote {
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px;
  background: rgba(255, 255, 255, 0.03);
}
/* The strip carries the three newest reviews IN FULL in the markup — a search
   engine and a screen reader get every word — but shows the first few lines,
   because three 200-word reviews across one band is a wall nobody reads. The
   old version truncated the TEXT ITSELF with an ellipsis, which meant the full
   review existed nowhere on the site. Clamping is the display; /reviews is the
   whole thing. */
.quote blockquote {
  margin: 0 0 14px; font-size: 1.02rem; line-height: 1.55;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7;
  overflow: hidden;
}
.quote cite { font-style: normal; font-size: 0.88rem; color: var(--text-dim); }
.section--paper .quote { background: var(--paper-2); border-color: var(--line-ink); }
.section--paper .quote cite { color: var(--text-ink-dim); }

/* ---------- fee table / zones ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 420px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 0.96rem; }
th { font-weight: 650; font-size: 0.82rem; letter-spacing: .09em; text-transform: uppercase; color: var(--text-dim); }
tr:last-child td { border-bottom: 0; }
.section--paper .table-wrap { border-color: var(--line-ink); }
.section--paper th, .section--paper td { border-color: var(--line-ink); }
.section--paper th { color: var(--text-ink-dim); }

.zone-check { display: grid; gap: 10px; max-width: 440px; margin-top: 26px; }
.zone-check__row { display: flex; gap: 10px; flex-wrap: wrap; }
/* min-width:0 is the whole fix: a flex item's default min-width is its
   intrinsic size, so the input refused to shrink and pushed the button off a
   320px screen. */
.zone-check input { flex: 1 1 8rem; min-width: 0; }
.zone-check__row .btn { flex: 0 0 auto; }
.zone-result {
  border-radius: var(--radius); padding: 14px 16px; font-size: 0.95rem;
  border: 1px solid var(--line); background: rgba(255,255,255,.04);
}
.zone-result[data-state="free"] { border-color: rgba(61, 214, 140, .5); background: rgba(61, 214, 140, .08); }
.zone-result[data-state="fee"] { border-color: rgba(255, 122, 24, .5); background: rgba(255, 122, 24, .09); }
.section--paper .zone-result { border-color: var(--line-ink); background: var(--paper-2); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 19px 54px 19px 20px; position: relative;
  font-weight: 600; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 11px; height: 11px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 20px 20px; margin: 0; color: var(--text-dim); font-size: 0.97rem; }
.section--paper .faq details { background: var(--paper-2); border-color: var(--line-ink); }
.section--paper .faq details p { color: var(--text-ink-dim); }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; }
@media (min-width: 620px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
label { display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 7px; letter-spacing: .01em; }
label .opt { font-weight: 450; color: var(--text-dim); }
input, textarea, select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); padding: 13px 15px; min-height: 50px;
}
textarea { min-height: 132px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--placeholder); }
input:focus, textarea:focus { border-color: var(--accent); background: rgba(255, 255, 255, 0.07); }
.section--paper input, .section--paper textarea {
  background: var(--paper-2); border-color: var(--line-ink); color: var(--text-ink);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.vehicle { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 14px; margin: 0; }
.vehicle legend { padding: 0 8px; font-size: 0.86rem; font-weight: 600; }
.vehicle__grid { display: grid; gap: 12px; }
@media (min-width: 560px) { .vehicle__grid { grid-template-columns: 0.75fr 1fr 1.25fr; } }
.vehicle__grid > * { min-width: 0; }
select {
  appearance: none;
  /* The dropdown list itself is drawn by the operating system, not by this
     stylesheet. Without color-scheme it comes up white, and the options
     inherit the select's near-white text: white on white, unreadable. The
     option rule is the belt to that pair of braces. */
  color-scheme: dark;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: right 19px center, right 13px center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 38px;
}
.vehicle__note { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin: 14px 0 0; font-size: 0.86rem; }
.vehicle__status { color: var(--accent); }
.linkish {
  background: none; border: 0; padding: 0; font: inherit; color: var(--text-dim);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px;
}
.linkish:hover { color: var(--text); }
.section--paper .vehicle { border-color: var(--line-ink); }
.section--paper .linkish { color: var(--text-ink-dim); }
.section--paper .linkish:hover { color: var(--text-ink); }
select option { background-color: var(--ink-2); color: var(--text); }
.section--paper select {
  background-color: var(--paper-2); border-color: var(--line-ink); color: var(--text-ink);
  color-scheme: light;
}
.section--paper select option { background-color: #ffffff; color: var(--text-ink); }
select:disabled { opacity: .55; cursor: not-allowed; }
.form__note { font-size: 0.86rem; color: var(--text-dim); }
.form__status { border-radius: var(--radius); padding: 14px 16px; font-size: 0.95rem; display: none; }
.form__status[data-state="ok"] { display: block; background: rgba(61, 214, 140, .12); border: 1px solid rgba(61, 214, 140, .45); }
.form__status[data-state="err"] { display: block; background: rgba(255, 90, 60, .12); border: 1px solid rgba(255, 90, 60, .45); }
button.btn { font-family: inherit; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--ink-2); }
.cta-band__inner { position: relative; display: grid; gap: 30px; align-items: center; }
@media (min-width: 940px) { .cta-band__inner { grid-template-columns: 1.1fr 1fr; gap: 60px; } }
.cta-band h2 { margin-bottom: 16px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-1); border-top: 1px solid var(--line); padding: clamp(46px, 6vw, 72px) 0 0; }
.footer-grid { display: grid; gap: 34px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px; } }
.footer-brand img { height: 56px; width: auto; margin-bottom: 16px; }
.footer-brand p { color: var(--text-dim); font-size: 0.95rem; max-width: 34ch; }
.site-footer h3 { font-size: 0.82rem; letter-spacing: .13em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 14px; }
.plain { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plain a { text-decoration: none; font-size: 0.96rem; }
.plain a:hover { color: var(--accent); }
.hours { display: grid; gap: 7px; font-size: 0.92rem; }
.hours__row { display: flex; justify-content: space-between; gap: 14px; color: var(--text-dim); }
.hours__row span:first-child { color: var(--text); font-weight: 600; min-width: 34px; }
.social { display: flex; gap: 16px; margin-top: 16px; font-size: 0.92rem; }
.social a { text-decoration: none; color: var(--text-dim); }
.social a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 44px; border-top: 1px solid var(--line); padding: 22px 0 calc(22px + env(safe-area-inset-bottom));
  display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: space-between;
  font-size: 0.85rem; color: var(--text-dim);
}
.footer-bottom p { margin: 0; }
.footer-areas { max-width: 62ch; }

/* ---------- sticky mobile bar ---------- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 1px;
  background: var(--line); border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.sticky-bar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 58px; background: var(--ink-1); text-decoration: none;
  font-size: 0.92rem; font-weight: 650;
}
.sticky-bar .icon { width: 19px; height: 19px; }
.sticky-bar__primary { background: var(--accent) !important; color: #170800; }
@media (min-width: 1000px) { .sticky-bar { display: none; } }
@media (max-width: 999px) { body { padding-bottom: 58px; } .site-footer { padding-bottom: 0; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(30px, 4vw, 46px); border-bottom: 1px solid var(--line); background: var(--ink-1); }
.page-hero h1 { max-width: 18ch; }
.page-hero p { margin-top: 18px; }

/* ---------- misc ---------- */
.grid-2 { display: grid; gap: 26px; }
@media (min-width: 860px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: 44px; } }
/* A grid item's default min-width is its content's intrinsic width, so one
   wide child — the fee table, which is min-width:420px so it stays readable —
   stretches the whole column and takes the page sideways with it. The table
   still scrolls inside its own wrapper; the page does not. */
.grid-2 > *, .split > *, .cards > *, .steps > * { min-width: 0; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px;
  font-size: 0.88rem; color: var(--text-dim); background: rgba(255,255,255,.03);
}
.section--paper .pill { border-color: var(--line-ink); color: var(--text-ink-dim); background: transparent; }
.note { font-size: 0.9rem; color: var(--text-dim); }
.section--paper .note { color: var(--text-ink-dim); }
.center { text-align: center; }
.mt-32 { margin-top: 32px; }

/* Scroll-in animation, built so it can never eat the page.
   Content starts hidden only where scripting is actually available, and even
   then a failsafe animation brings it back after two seconds. So: no
   JavaScript, JavaScript disabled, app.js blocked by a corporate proxy, app.js
   404 after a bad deploy — in every one of those the page is simply visible.
   A decorative fade is not worth the risk of shipping a blank-looking page to
   a customer or to Googlebot. When the script does run, `.in` lands first and
   cancels the failsafe. */
.reveal { opacity: 1; transform: none; }

@media (scripting: enabled) {
  .reveal {
    opacity: 0;
    transform: translateY(14px);
    animation: reveal-failsafe 0.4s ease 2s forwards;
  }
  .reveal.in {
    opacity: 1;
    transform: none;
    animation: none;
    transition: opacity .6s ease, transform .6s ease;
  }
}
@keyframes reveal-failsafe { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in { opacity: 1; transform: none; transition: none; animation: none; }
  .btn:hover, .card:hover, .shot:hover img { transform: none; }
}

/* The fee table: codes read as codes, and the whole thing stays scannable. */
td.codes code {
  display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85rem; letter-spacing: .02em;
  background: rgba(255,255,255,.07); border-radius: 5px; padding: 3px 7px; margin: 2px 1px;
}
.section--paper td.codes code { background: rgba(12,14,16,.06); }
.zone-check { max-width: 520px; }

/* VIN + engine inside the vehicle fieldset */
.vin { margin-bottom: 16px; }
.vin__row { display: flex; gap: 10px; flex-wrap: wrap; }
.vin__row input { flex: 1 1 12rem; min-width: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; }
.vin__row .btn { flex: 0 0 auto; }
.vin__help { margin: 10px 0 0; font-size: 0.84rem; color: var(--text-dim); max-width: 60ch; }
.section--paper .vin__help { color: var(--text-ink-dim); }
.vin__status { margin: 8px 0 0; font-size: 0.88rem; min-height: 1.2em; }
.vin__status[data-state="ok"] { color: #3dd68c; }
.vin__status[data-state="warn"] { color: var(--accent); }
.vehicle__engine { margin-top: 14px; }

/* Long-form legal and policy text. Narrow measure, generous leading: these are
   pages somebody actually has to read, not skim. */
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin: 38px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { line-height: 1.75; margin-bottom: 1.1em; }
.prose ul { margin: 0 0 1.2em; padding-left: 22px; }
.prose li { margin-bottom: 8px; line-height: 1.7; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { color: var(--accent); }

/* The staff way in. Deliberately quiet — a customer has no use for it — but a
   real 44px target so it can be hit with a thumb, and labelled for a screen
   reader rather than being a mystery icon. */
.footer-admin {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-left: 6px; vertical-align: middle;
  border-radius: var(--radius-sm); color: var(--text-dim);
}
.footer-admin:hover { color: var(--accent); background: rgba(255, 255, 255, 0.06); }
.footer-admin .icon { width: 17px; height: 17px; }

/* A card whose whole surface is the link.
   The town cards had the town name as a bare <a> inside an <h3>, which is a
   21px tap target — too small to hit on a phone, on exactly the links meant to
   send people to the town pages. Stretching the link over the card keeps the
   markup semantic (the heading is still a heading) while making the target the
   whole card. */
.card--link { position: relative; }
.card--link a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card--link:hover { border-color: var(--line-strong); }
.card--link a { text-decoration: none; }
.card--link a:focus-visible { outline: none; }
/* --focus, not --accent: these cards are rendered inside .section--paper on
   every town page, where the orange ring measures 2.61:1 against the white
   card. See the token note at the top of this file. */
.card--link:has(a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
