/* ============================================================
   INTERSTATE
   ------------------------------------------------------------
   The site reads like the road a buyer drives to reach the car.
   Wayfinding is drawn from US guide signage: green panels with
   the white inset border for where to go, blue panels for the
   services on offer, a white regulatory plate for the figure.

   Colours are the FHWA screen values for sign sheeting, not a
   picked-to-look-like-it palette. Everything around the signs
   stays quiet — concrete, asphalt, white — so the signs are the
   only loud thing on a page.

   Overpass is the open interpretation of Highway Gothic and
   carries every sign, heading and figure. Atkinson Hyperlegible
   carries the reading: it was drawn to be told apart at a glance.
   ============================================================ */

:root {
  --green:    #005F47;   /* guide sign                        */
  --green-2:  #004A37;   /* pressed                           */
  --green-t:  #E3EFEA;   /* a green wash for a selected state */
  --blue:     #004372;   /* motorist services                 */
  --blue-2:   #00355A;
  --yellow:   #FFB500;   /* warning — attention only          */
  --red:      #C40027;   /* sold                              */

  --asphalt:   #25282A;
  --asphalt-2: #3B4043;
  --asphalt-3: #5F666A;
  --steel:     #8C9296;
  --concrete:  #ECEEEC;
  --concrete-2:#E1E4E2;
  --white:     #FFFFFF;
  --line:      #D3D7D5;

  --ff-sign: "Overpass", "Arial Narrow", system-ui, sans-serif;
  --ff-read: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);

  /* radius follows hierarchy: signs are the roundest thing on the page */
  --r-sign: 12px;
  --r-btn: 8px;
  --r-ph: 6px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::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(--concrete);
  color: var(--asphalt);
  font: 400 1.0625rem/1.6 var(--ff-read);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--yellow); color: #000; padding: 10px 16px; border-radius: var(--r-btn);
  font: 700 .95rem var(--ff-sign); text-decoration: none;
}
.skip:focus { top: 12px; }

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

/* ── type ───────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--ff-sign); color: inherit; margin: 0; letter-spacing: -.01em; }
.t1 { font-weight: 800; font-size: clamp(2.3rem, 6.2vw, 4.6rem); line-height: 1.02; letter-spacing: -.025em; }
.t2 { font-weight: 800; font-size: clamp(1.75rem, 3.6vw, 2.7rem); line-height: 1.08; letter-spacing: -.02em; }
.t3 { font-weight: 700; font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.2; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.55; color: var(--asphalt-3); max-width: 58ch; margin: 14px 0 0; }
.muted { color: var(--asphalt-3); }
.prose { max-width: 68ch; }
.prose p { margin: 0 0 1em; }
.prose h2 { font: 800 1.45rem/1.2 var(--ff-sign); margin: 1.8em 0 .5em; }
.prose a { color: var(--green); }

/* ── the sign panel ─────────────────────────────────────────── */
/* A guide sign is a rounded panel with a white border set just
   inside its edge. The border is the whole look; without it this
   is a green rectangle. */
.sign {
  position: relative;
  background: var(--green);
  color: var(--white);
  border-radius: var(--r-sign);
  padding: 18px 22px;
}
.sign::before {
  content: "";
  position: absolute; inset: 5px;
  border: 2.5px solid rgba(255,255,255,.95);
  border-radius: calc(var(--r-sign) - 4px);
  pointer-events: none;
}
.sign--blue { background: var(--blue); }

/* the small tab an exit number rides on */
.sign__tab {
  position: absolute; top: -27px; right: 16px;
  background: inherit; color: #fff;
  font: 700 .82rem/1 var(--ff-sign);
  padding: 7px 12px 6px;
  border-radius: 8px 8px 0 0;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.95);
  white-space: nowrap;
}
.sign__arrow { width: 38px; height: 38px; flex: none; color: #fff; }
.sign__arrow svg { width: 100%; height: 100%; display: block; }

/* ── the price plate (regulatory white) ─────────────────────── */
.plate {
  position: relative;
  display: inline-flex; flex-direction: column; align-items: center;
  background: var(--white); color: #000;
  border-radius: 7px;
  padding: 9px 13px 7px;
  box-shadow: 0 1px 3px rgba(0,0,0,.22);
  font-family: var(--ff-sign);
  line-height: 1;
}
.plate::before {
  content: ""; position: absolute; inset: 3px;
  border: 2px solid #000; border-radius: 5px; pointer-events: none;
}
.plate small { font-weight: 700; font-size: .72rem; letter-spacing: .02em; }
.plate b { font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em; margin-top: 3px; }
.plate--ask b { font-size: 1.02rem; }
.plate--lg { padding: 13px 20px 11px; }
.plate--lg small { font-size: .88rem; }
.plate--lg b { font-size: clamp(2rem, 3.4vw, 2.7rem); margin-top: 5px; }

/* ── buttons ────────────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 20px;
  border-radius: var(--r-btn);
  border: 2px solid var(--asphalt);
  background: var(--white); color: var(--asphalt);
  font: 700 1rem/1 var(--ff-sign);
  text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:hover { background: var(--asphalt); color: var(--white); }
.btn:active { transform: translateY(1px); }
/* the primary action is a small guide sign in its own right */
.btn--go { background: var(--green); color: #fff; border-color: var(--green); }
.btn--go::before {
  content: ""; position: absolute; inset: 3px;
  border: 1.5px solid rgba(255,255,255,.9); border-radius: 5px; pointer-events: none;
}
.btn--go:hover { background: var(--green-2); border-color: var(--green-2); color: #fff; }
.btn--light { border-color: rgba(255,255,255,.8); background: transparent; color: #fff; }
.btn--light:hover { background: #fff; color: var(--asphalt); border-color: #fff; }
.btn--wide { width: 100%; }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: .92rem; }
.btn[disabled] { opacity: .6; cursor: default; }

.link { color: var(--green); font-weight: 700; font-family: var(--ff-sign); text-decoration: none; border-bottom: 2px solid rgba(0,95,71,.25); }
.link:hover { border-bottom-color: var(--green); }
/* a text action that is a button underneath */
.textbtn { justify-self: start; background: none; border: 0; padding: 6px 0; cursor: pointer; color: var(--green); font: 700 1rem var(--ff-sign); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: rgba(0,95,71,.3); }
.textbtn:hover { text-decoration-color: var(--green); }

/* ── header ─────────────────────────────────────────────────── */
.head {
  position: sticky; top: 0; z-index: 60;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.head__in { display: flex; align-items: center; gap: 14px; min-height: 68px; }
.head__mark { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-width: 0; }
.head__mark img { max-height: 44px; width: auto; }
.head__shield { width: 38px; height: 42px; flex: none; }
.head__name { font: 800 1.12rem/1.1 var(--ff-sign); letter-spacing: -.01em; }
.head__nav { display: flex; gap: 2px; }
.head__nav a {
  position: relative;
  font: 600 .98rem/1 var(--ff-sign); text-decoration: none; color: var(--asphalt-2);
  padding: 12px 11px;
  border-radius: 6px;
}
.head__nav a:hover { background: var(--concrete); color: var(--asphalt); }
.head__nav a.on { color: var(--green); }
.head__nav a.on::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 3px; height: 3px;
  background: var(--green); border-radius: 3px;
}
.head__tel { white-space: nowrap; }
.head__menu, .head__call { display: none; }

@media (max-width: 1100px) {
  .head__nav, .head__tel { display: none; }
  .head__menu {
    display: inline-flex; align-items: center; gap: 9px;
    min-height: 44px; padding: 0 14px;
    border: 2px solid var(--asphalt); border-radius: var(--r-btn); background: var(--white);
    font: 700 .95rem var(--ff-sign); cursor: pointer;
  }
  .head__menu i { width: 18px; height: 12px; position: relative; border-top: 2px solid; border-bottom: 2px solid; }
  .head__menu i::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid; }
  .head__call {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: var(--r-btn);
    background: var(--green); color: #fff;
  }
  .head__call svg { width: 20px; height: 20px; }
}

/* ── the destination menu (phones) ──────────────────────────── */
/* opens as one big guide sign: destinations down the left and the
   arrow for each on the right, the way an overhead sign lists what
   lies ahead */
.route {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(37,40,42,.55);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 12px;
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.route.is-open { opacity: 1; visibility: visible; }
.route__sign {
  width: 100%; max-width: 520px; max-height: calc(100dvh - 24px); overflow: auto;
  padding: 20px 22px 18px;
  transform: translateY(-14px); transition: transform .28s var(--ease);
}
.route.is-open .route__sign { transform: none; }
.route__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; position: relative; }
.route__top b { font: 800 1.1rem var(--ff-sign); }
.route__x {
  position: relative; z-index: 1;
  background: transparent; border: 2px solid #fff; color: #fff; border-radius: 6px;
  font: 700 .9rem var(--ff-sign); padding: 8px 12px; cursor: pointer;
}
.route ul { list-style: none; margin: 0; padding: 0; position: relative; }
.route li + li { border-top: 1.5px solid rgba(255,255,255,.28); }
.route li a {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 13px 4px; text-decoration: none;
  font: 700 1.3rem/1.15 var(--ff-sign);
}
.route li a .sign__arrow { width: 26px; height: 26px; }
.route li a.on { color: var(--yellow); }
.route__foot { position: relative; margin-top: 14px; display: grid; gap: 10px; }

/* ── hero: the gantry ───────────────────────────────────────── */
.hero {
  position: relative;
  color: var(--white);
  background: var(--asphalt);
  overflow: hidden;
  isolation: isolate;
}
.hero__photo { position: absolute; inset: 0; z-index: -2; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(37,40,42,.78) 0%, rgba(37,40,42,.18) 36%, rgba(37,40,42,.26) 55%, rgba(37,40,42,.92) 100%);
}
.hero__in { padding-block: 0 clamp(34px, 5vw, 64px); min-height: clamp(580px, 84vh, 800px); display: flex; flex-direction: column; }

/* the truss the signs hang from */
.truss {
  height: 16px; margin-inline: calc(var(--gut) * -1);
  background:
    linear-gradient(var(--steel), var(--steel)) top / 100% 2px no-repeat,
    linear-gradient(var(--steel), var(--steel)) bottom / 100% 2px no-repeat,
    repeating-linear-gradient(58deg, transparent 0 10px, var(--steel) 10px 12px),
    repeating-linear-gradient(-58deg, transparent 0 10px, var(--steel) 10px 12px);
}
.gantry {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
  padding-top: 40px;
}
.gantry .sign {
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px; min-height: 128px;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(0,0,0,.3);
  transform-origin: 50% -40px;
  transition: background .15s;
}
.gantry .sign:hover { background: var(--green-2); }
.gantry .sign--blue:hover { background: var(--blue-2); }
.gantry .hang { position: absolute; top: -40px; width: 4px; height: 35px; background: var(--steel); }
.gantry .hang.l { left: 22%; }
.gantry .hang.r { right: 22%; }
.gantry__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; position: relative; }
.gantry__dest { font: 800 clamp(1.3rem, 2.1vw, 1.65rem)/1.08 var(--ff-sign); }
.gantry__sub { font: 600 1rem/1.3 var(--ff-sign); color: rgba(255,255,255,.92); position: relative; }

/* the signs settle onto their hangers once, on arrival */
@media (prefers-reduced-motion: no-preference) {
  .gantry .sign { animation: swing .95s var(--ease) both; }
  .gantry .sign:nth-child(2) { animation-delay: .09s; }
  .gantry .sign:nth-child(3) { animation-delay: .18s; }
  @keyframes swing {
    0%   { transform: translateY(-20px) rotate(-2.4deg); opacity: 0; }
    55%  { transform: translateY(2px) rotate(.8deg); opacity: 1; }
    100% { transform: none; opacity: 1; }
  }
}

.hero__copy { margin-top: auto; padding-top: 56px; max-width: 920px; }
.hero__copy .lede { color: rgba(255,255,255,.9); }

/* search strip */
.find {
  margin-top: 28px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 10px;
  background: var(--white); color: var(--asphalt);
  padding: 10px; border-radius: 12px;
  max-width: 1000px;
  box-shadow: 0 16px 40px rgba(0,0,0,.32);
}
.find label { display: grid; gap: 2px; padding: 7px 12px 5px; border-radius: 8px; background: var(--concrete); cursor: text; }
.find label span { font: 700 .8rem/1 var(--ff-sign); color: var(--asphalt-3); }
.find input, .find select {
  border: 0; background: transparent; padding: 3px 0; font: 600 1.02rem var(--ff-read); outline: none; min-width: 0; width: 100%;
}
.find label:focus-within { box-shadow: 0 0 0 2px var(--green); }
.find .btn { min-height: 56px; padding-inline: 26px; }

@media (max-width: 900px) {
  .gantry {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%;
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px;
    margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut);
    scroll-padding-inline: var(--gut);
    scrollbar-width: none;
  }
  .gantry::-webkit-scrollbar { display: none; }
  .gantry .sign { scroll-snap-align: start; min-height: 112px; }
  .find { grid-template-columns: 1fr 1fr; }
  .find label:first-child, .find .btn { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .hero__in { min-height: 640px; }
  .hero__copy { padding-top: 40px; }
}

/* ── sections ───────────────────────────────────────────────── */
.band { padding-block: clamp(56px, 7vw, 100px); }
.band--white { background: var(--white); }
.band--tight { padding-block: clamp(36px, 4.5vw, 64px); }

.head2 { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 28px; }
.head2 p { margin: 10px 0 0; color: var(--asphalt-3); max-width: 56ch; }

/* ── car card ───────────────────────────────────────────────── */
.lot { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.car {
  position: relative;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: border-color .15s, box-shadow .15s;
}
.car:hover { border-color: var(--asphalt-3); box-shadow: 0 10px 24px rgba(37,40,42,.12); }
.car__shot { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 9px 9px 0 0; background: var(--concrete-2); }
.car__shot img { width: 100%; height: 100%; object-fit: cover; }
.car__count {
  position: absolute; right: 10px; top: 10px;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(37,40,42,.84); color: #fff; border-radius: 6px; padding: 6px 8px 5px;
  font: 700 .82rem/1 var(--ff-sign);
}
.car__count svg { width: 14px; height: 14px; }
.car__flag {
  position: absolute; left: 10px; top: 10px;
  background: var(--yellow); color: #000; border-radius: 6px; padding: 6px 9px 5px;
  font: 800 .84rem/1 var(--ff-sign);
}
.car__flag--sold { background: var(--red); color: #fff; }
.car__body { padding: 0 16px 16px; display: flex; flex-direction: column; flex: 1; }
/* the plate hangs half over the photograph */
.car__plate { margin-top: -30px; margin-bottom: 12px; align-self: flex-start; position: relative; z-index: 1; }
.car__name { font: 700 1.15rem/1.25 var(--ff-sign); margin: 0; }
.car__name a { text-decoration: none; }
.car__name a::after { content: ""; position: absolute; inset: 0; border-radius: 10px; }
.car__name a:focus-visible { outline: none; }
.car:focus-within { outline: 3px solid var(--yellow); outline-offset: 2px; }
.car__facts { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 0 0; padding: 0; list-style: none; color: var(--asphalt-3); font-size: .94rem; }
.car__facts li { display: inline-flex; align-items: center; gap: 6px; }
.car__facts svg { width: 16px; height: 16px; opacity: .75; }

/* the same card laid along a horizontal rail */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4);
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-block: 32px 16px;
  scrollbar-width: thin;
}
.rail > * { scroll-snap-align: start; }
@media (max-width: 1100px) { .rail { grid-auto-columns: calc((100% - 40px) / 3); } }
@media (max-width: 820px) { .rail { grid-auto-columns: 78%; } }

/* ── services: the blue signs ───────────────────────────────── */
.services { display: grid; gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.services .sign { padding: 24px 22px 26px; display: flex; flex-direction: column; gap: 12px; }
.services__tile {
  position: relative;
  width: 58px; height: 58px; border-radius: 6px;
  background: #fff; color: var(--blue);
  display: grid; place-items: center;
}
.services__tile svg { width: 32px; height: 32px; }
.services h3 { font: 800 1.3rem/1.15 var(--ff-sign); position: relative; }
.services p { margin: 0; color: rgba(255,255,255,.92); font-size: .98rem; position: relative; }
@media (max-width: 980px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

/* ── the distance sign (delivery estimate) ──────────────────── */
.miles { padding: 26px 28px 24px; }
.miles__head { position: relative; margin-bottom: 8px; }
.miles__head b { display: block; font: 800 1.4rem/1.15 var(--ff-sign); }
.miles__rows { position: relative; margin: 0; padding: 0; list-style: none; perspective: 600px; }
.miles__rows li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 11px 0; font: 700 1.28rem/1.15 var(--ff-sign);
}
.miles__rows li + li { border-top: 1.5px solid rgba(255,255,255,.3); }
.miles__rows li span:last-child { font-weight: 800; white-space: nowrap; }
.miles__form { position: relative; display: flex; gap: 10px; margin-top: 16px; }
.miles__form label { flex: 1; min-width: 0; }
.miles__form input {
  width: 100%; height: 54px; border-radius: 8px; border: 0; padding: 0 14px;
  background: #fff; color: var(--asphalt); font: 800 1.25rem var(--ff-sign); letter-spacing: .08em;
}
.miles__form input::placeholder { color: #8e9598; letter-spacing: 0; font-weight: 600; font-size: 1.02rem; }
.miles__form .btn { border-color: #fff; background: transparent; color: #fff; min-height: 54px; }
.miles__form .btn:hover { background: #fff; color: var(--green); }
.miles__note { position: relative; margin: 12px 0 0; font-size: .92rem; color: rgba(255,255,255,.9); }
.miles__err { position: relative; margin: 12px 0 0; background: var(--yellow); color: #000; border-radius: 6px; padding: 9px 12px; font-weight: 700; }
.miles [hidden] { display: none !important; }
@media (prefers-reduced-motion: no-preference) {
  .miles__rows.is-new li { animation: flipIn .5s var(--ease) both; transform-origin: 50% 0; }
  .miles__rows.is-new li:nth-child(2) { animation-delay: .08s; }
  .miles__rows.is-new li:nth-child(3) { animation-delay: .16s; }
  @keyframes flipIn { from { transform: rotateX(-80deg); opacity: 0; } to { transform: none; opacity: 1; } }
}

.split { display: grid; gap: clamp(28px, 5vw, 70px); grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

/* ── owners ─────────────────────────────────────────────────── */
.owners { display: grid; gap: 14px; grid-template-columns: repeat(12, 1fr); }
.owner { margin: 0; background: var(--white); border-radius: var(--r-ph); overflow: hidden; border: 1px solid var(--line); grid-column: span 6; display: flex; flex-direction: column; }
.owner img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; flex: 1; }
.owner figcaption { padding: 10px 12px; font-size: .94rem; color: var(--asphalt-3); }
.owners--3 .owner { grid-column: span 4; }
.owners--many .owner { grid-column: span 4; }
@media (max-width: 760px) {
  .owners { grid-template-columns: 1fr 1fr; gap: 10px; }
  .owner, .owners--3 .owner, .owners--many .owner { grid-column: span 1; }
}

/* ── quotes ─────────────────────────────────────────────────── */
.quotes { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.quote { background: var(--white); border-radius: 10px; border: 1px solid var(--line); padding: 24px; margin: 0; }
.quote p { margin: 0; font-size: 1.08rem; line-height: 1.62; }
.quote footer { margin-top: 16px; font: 700 1rem var(--ff-sign); }
.quote footer span { display: block; font: 400 .92rem var(--ff-read); color: var(--asphalt-3); margin-top: 2px; }
.stars { display: inline-flex; gap: 2px; color: var(--yellow); margin-bottom: 10px; }
.stars svg { width: 18px; height: 18px; }

/* ── questions ──────────────────────────────────────────────── */
.qa { border-top: 1px solid var(--line); }
.qa__row { border-bottom: 1px solid var(--line); }
.qa__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: none; border: 0; text-align: left; cursor: pointer;
  padding: 20px 2px; font: 700 1.15rem/1.3 var(--ff-sign); color: var(--asphalt);
}
.qa__q i { position: relative; width: 30px; height: 30px; flex: none; border-radius: 6px; background: var(--green); }
.qa__q i::before, .qa__q i::after { content: ""; position: absolute; left: 8px; right: 8px; top: 14px; height: 2px; background: #fff; }
.qa__q i::after { transform: rotate(90deg); transition: transform .2s; }
.qa__row.open .qa__q i::after { transform: rotate(0); }
.qa__a { display: none; padding: 0 2px 22px; max-width: 70ch; color: var(--asphalt-2); }
.qa__row.open .qa__a { display: block; }

/* ── forms ──────────────────────────────────────────────────── */
.fld { display: grid; gap: 6px; margin: 0 0 14px; }
.fld > span { font: 700 .92rem/1.2 var(--ff-sign); color: var(--asphalt-2); }
.fld input, .fld select, .fld textarea {
  width: 100%; min-height: 48px; padding: 10px 12px;
  border: 1.5px solid var(--line); border-radius: 8px; background: var(--white);
  font: 400 1rem var(--ff-read);
}
.fld textarea { min-height: 110px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-t); }
.field-err { border-color: var(--red) !important; box-shadow: 0 0 0 3px rgba(196,0,39,.14) !important; }
.fld-2 { display: grid; gap: 0 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .fld-2 { grid-template-columns: 1fr; } }

/* ── stock page ─────────────────────────────────────────────── */
.stock { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 30px; align-items: start; }
.filters { position: sticky; top: 88px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 18px; }
.filters__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.filters__top h2 { font: 800 1.2rem var(--ff-sign); }
.filters__group { margin-bottom: 18px; }
.filters__group > b { display: block; font: 700 .92rem var(--ff-sign); color: var(--asphalt-2); margin-bottom: 8px; }
.bodies { display: flex; flex-wrap: wrap; gap: 8px; }
.bodies a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 12px 8px; border-radius: 7px; background: var(--concrete); text-decoration: none;
  font: 600 .95rem/1 var(--ff-sign);
}
.bodies a:hover { background: var(--concrete-2); }
.bodies a span { color: var(--asphalt-3); font-weight: 400; }
.bodies a.on { background: var(--green); color: #fff; }
.bodies a.on span { color: rgba(255,255,255,.82); }

.stock__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.stock__bar p { margin: 0; font: 700 1.05rem var(--ff-sign); }
.stock__bar form { display: flex; gap: 10px; align-items: center; }
.stock__bar select { min-height: 44px; border-radius: 8px; border: 1.5px solid var(--line); padding: 0 12px; background: var(--white); font-weight: 600; }
.filters__open, .filters__close { display: none; }
/* the scrim only exists for the phone sheet; on a desktop it must not take a grid cell */
.filters__scrim { display: none; }

@media (max-width: 960px) {
  .stock { grid-template-columns: 1fr; }
  .filters {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 110;
    max-height: 88dvh; overflow: auto; border-radius: 16px 16px 0 0;
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
    transform: translateY(105%); transition: transform .28s var(--ease);
    box-shadow: 0 -12px 40px rgba(0,0,0,.2);
  }
  .filters.is-open { transform: none; }
  .filters__open, .filters__close { display: inline-flex; }
  .filters__scrim { position: fixed; inset: 0; z-index: 105; background: rgba(37,40,42,.5); display: none; }
  .filters__scrim.is-open { display: block; }
}

/* pagination as mile markers: pages are a sequence, so is a road */
.markers { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; justify-content: center; }
.markers a, .markers span {
  position: relative;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  width: 48px; height: 64px; border-radius: 6px;
  background: var(--green); color: #fff; text-decoration: none;
  font: 800 1.25rem/1 var(--ff-sign);
}
.markers a::before, .markers span::before { content: ""; position: absolute; inset: 3px; border: 1.5px solid rgba(255,255,255,.9); border-radius: 4px; }
.markers small { font: 700 .66rem/1 var(--ff-sign); margin-bottom: 5px; }
.markers a:hover { background: var(--green-2); }
.markers .on { background: var(--asphalt); }

.empty { text-align: center; padding: 60px 20px; background: var(--white); border-radius: 10px; border: 1px solid var(--line); }
.empty h2 { font: 800 1.6rem var(--ff-sign); }
.empty p { color: var(--asphalt-3); margin: 10px auto 22px; max-width: 46ch; }

/* ── lot page ───────────────────────────────────────────────── */
.crumb { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font: 600 .95rem var(--ff-sign); color: var(--asphalt-3); margin-bottom: 16px; }
.crumb a { text-decoration: none; color: var(--asphalt-2); }
.crumb a:hover { color: var(--green); }
.crumb i { width: 5px; height: 5px; border-right: 1.5px solid; border-top: 1.5px solid; transform: rotate(45deg); opacity: .6; }

.lotpage { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); gap: clamp(22px, 3vw, 40px); align-items: start; }
@media (max-width: 980px) { .lotpage { grid-template-columns: 1fr; } }

.gallery__main {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; background: var(--concrete-2);
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__stage { position: relative; }
.gallery__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 8px; border: 0; cursor: pointer;
  background: rgba(255,255,255,.95); color: var(--asphalt); display: grid; place-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.gallery__nav svg { width: 22px; height: 22px; }
.gallery__nav.prev { left: 12px; }
.gallery__nav.prev svg { transform: rotate(180deg); }
.gallery__nav.next { right: 12px; }
.gallery__at {
  position: absolute; right: 12px; bottom: 12px; background: rgba(37,40,42,.86); color: #fff;
  border-radius: 6px; padding: 7px 10px 6px; font: 700 .92rem/1 var(--ff-sign); pointer-events: none;
}
.gallery__thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 4px; scrollbar-width: thin; }
.gallery__thumbs button {
  flex: none; width: 96px; aspect-ratio: 4 / 3; padding: 0; border: 3px solid transparent; border-radius: 7px; overflow: hidden; cursor: pointer; background: var(--concrete-2);
}
.gallery__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs button.on { border-color: var(--green); }

.deal { position: sticky; top: 88px; display: grid; gap: 14px; }
.deal__card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 22px; }
.deal h1 { font: 800 clamp(1.6rem, 2.6vw, 2.15rem)/1.1 var(--ff-sign); letter-spacing: -.02em; }
.deal__facts { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.deal__facts li { display: inline-flex; align-items: center; gap: 7px; background: var(--concrete); border-radius: 7px; padding: 8px 10px 7px; font: 600 .95rem/1 var(--ff-sign); }
.deal__facts svg { width: 16px; height: 16px; }
.deal__price { display: flex; align-items: center; gap: 16px; margin: 22px 0 4px; flex-wrap: wrap; }
.deal__price p { margin: 0; color: var(--asphalt-3); font-size: .95rem; max-width: 22ch; }
.deal__acts { display: grid; gap: 10px; margin-top: 18px; }
.deal__acts .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.deal .miles { padding: 22px 22px 20px; }
.deal .miles__head b { font-size: 1.2rem; }
.deal .miles__rows li { font-size: 1.1rem; }

.sheet { margin-top: clamp(32px, 4vw, 54px); display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); gap: clamp(22px, 3vw, 40px); align-items: start; }
@media (max-width: 980px) { .sheet { grid-template-columns: 1fr; } }
.sheet h2 { font: 800 1.45rem var(--ff-sign); margin-bottom: 14px; }
.spec { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.spec div { display: grid; grid-template-columns: 40% 1fr; gap: 12px; padding: 13px 18px; align-items: baseline; }
.spec div + div { border-top: 1px solid var(--line); }
.spec dt { font: 700 .98rem var(--ff-sign); color: var(--asphalt-3); }
.spec dd { margin: 0; font-weight: 700; word-break: break-word; }

.report { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; }
.report:hover { border-color: var(--green); }
.report__icon { width: 46px; height: 46px; border-radius: 8px; background: var(--blue); color: #fff; display: grid; place-items: center; flex: none; }
.report__icon svg { width: 22px; height: 22px; }
.report b { display: block; font: 800 1.05rem var(--ff-sign); }
.report span { color: var(--asphalt-3); font-size: .92rem; }

/* sticky action bar on phones */
.lotbar { display: none; }
@media (max-width: 980px) {
  .lotbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    display: flex; align-items: center; gap: 10px;
    padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom));
    background: var(--white); border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(0,0,0,.08);
  }
  .lotbar b { font: 800 1.25rem var(--ff-sign); margin-right: auto; }
  .lotbar .btn { min-height: 46px; padding-inline: 14px; }
  body[data-page="lot"] { padding-bottom: 76px; }
  .deal { position: static; }
}

/* ── the photograph viewer ──────────────────────────────────── */
.viewer {
  position: fixed; inset: 0; z-index: 150; background: rgba(20,22,23,.97); color: #fff;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.viewer.is-open { opacity: 1; visibility: visible; }
.viewer__top { display: flex; justify-content: space-between; align-items: center; padding: 12px var(--gut); font: 700 1rem var(--ff-sign); }
.viewer button {
  background: transparent; border: 2px solid rgba(255,255,255,.8); color: #fff; border-radius: 8px;
  min-height: 44px; padding: 0 16px; font: 700 .95rem var(--ff-sign); cursor: pointer;
}
.viewer button:hover { background: #fff; color: var(--asphalt); }
.viewer__img { display: grid; place-items: center; padding: 0 var(--gut); min-height: 0; touch-action: pan-y; }
.viewer__img img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.viewer__nav { display: flex; justify-content: center; gap: 12px; padding: 12px var(--gut) calc(14px + env(safe-area-inset-bottom)); }

/* ── dialogs ────────────────────────────────────────────────── */
.dialog { position: fixed; inset: 0; z-index: 140; display: grid; place-items: center; padding: 16px; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.dialog.is-open { opacity: 1; visibility: visible; }
.dialog__veil { position: absolute; inset: 0; background: rgba(37,40,42,.62); }
.dialog__card {
  position: relative; width: 100%; max-width: 560px; max-height: calc(100dvh - 32px); overflow: auto;
  background: var(--white); border-radius: 14px;
  transform: translateY(16px); transition: transform .28s var(--ease);
}
.dialog.is-open .dialog__card { transform: none; }
.dialog__top { margin: 10px 10px 0; padding: 18px 20px; display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.dialog__top > div { position: relative; min-width: 0; }
.dialog__top small { display: block; font: 700 .95rem var(--ff-sign); color: rgba(255,255,255,.9); }
.dialog__top h3 { font: 800 1.3rem/1.15 var(--ff-sign); margin-top: 4px; }
.dialog__x { position: relative; background: transparent; border: 2px solid #fff; color: #fff; border-radius: 6px; padding: 7px 11px; font: 700 .88rem var(--ff-sign); cursor: pointer; flex: none; }
.dialog__body { padding: 20px 22px 24px; }
.fine { font-size: .9rem; color: var(--asphalt-3); margin: 10px 0 0; }
.notice { background: #FFF3D6; border: 1.5px solid var(--yellow); color: #000; border-radius: 8px; padding: 10px 12px; margin-bottom: 14px; font-weight: 700; }
.done { display: none; text-align: center; padding: 20px 0 8px; }
.done.on { display: block; }
.done[hidden] { display: none !important; }
.done__tick { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 10px; background: var(--green); color: #fff; display: grid; place-items: center; }
.done__tick svg { width: 32px; height: 32px; }
.done h3 { font: 800 1.5rem var(--ff-sign); }
.done p { color: var(--asphalt-3); margin: 8px 0 0; }
@media (max-width: 560px) {
  .dialog { place-items: end center; padding: 0; }
  .dialog__card { border-radius: 16px 16px 0 0; max-height: 92dvh; transform: translateY(40px); }
}

/* ── delivery: the run to your door is a real sequence ──────── */
.route-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: mile; position: relative; }
.route-steps::before {
  content: ""; position: absolute; left: 0; right: 0; top: 29px; height: 6px; border-radius: 3px;
  background: repeating-linear-gradient(90deg, var(--yellow) 0 26px, transparent 26px 44px);
}
.route-steps li { position: relative; padding-top: 84px; }
.route-steps li::before {
  counter-increment: mile; content: "Mile\A" counter(mile);
  white-space: pre; text-align: center;
  position: absolute; top: 0; left: 0; width: 58px; height: 64px; border-radius: 6px;
  background: var(--green); color: #fff; font: 800 1.02rem/1.12 var(--ff-sign);
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 3px var(--green), inset 0 0 0 4.5px #fff;
}
.route-steps h3 { font: 800 1.2rem/1.2 var(--ff-sign); }
.route-steps p { margin: 8px 0 0; color: var(--asphalt-3); }
@media (max-width: 880px) {
  .route-steps { grid-template-columns: 1fr; gap: 0; }
  .route-steps::before { left: 22px; right: auto; top: 0; bottom: 0; width: 6px; height: auto; background: repeating-linear-gradient(180deg, var(--yellow) 0 26px, transparent 26px 44px); }
  .route-steps li { padding: 4px 0 32px 76px; min-height: 96px; }
}

/* the same road run downwards, for a narrow column at any width */
.route-steps--down { grid-template-columns: 1fr; gap: 0; }
.route-steps--down::before { left: 22px; right: auto; top: 0; bottom: 0; width: 6px; height: auto; background: repeating-linear-gradient(180deg, var(--yellow) 0 26px, transparent 26px 44px); }
.route-steps--down li { padding: 4px 0 32px 76px; min-height: 96px; }

.shots { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; margin-top: 44px; }
.shots--one { grid-template-columns: 1fr; max-width: 900px; margin-inline: auto; }
.shots figure { margin: 0; border-radius: 10px; overflow: hidden; background: var(--concrete-2); }
.shots img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 700px) { .shots { grid-template-columns: 1fr; } }

/* ── plain pages ────────────────────────────────────────────── */
.pagehead { padding-block: clamp(40px, 6vw, 80px) clamp(28px, 4vw, 48px); background: var(--white); border-bottom: 1px solid var(--line); }
.facts { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.fact { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; }
.fact b { display: block; font: 800 2.1rem/1 var(--ff-sign); letter-spacing: -.02em; }
.fact span { display: block; margin-top: 8px; color: var(--asphalt-3); }
.cols2 { display: grid; gap: clamp(24px, 4vw, 56px); grid-template-columns: 1fr 1fr; align-items: start; }
@media (max-width: 880px) { .cols2 { grid-template-columns: 1fr; } }
.photo { border-radius: 10px; overflow: hidden; background: var(--concrete-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

.rules { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.rule { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 20px 22px; }
.rule h3 { font: 800 1.2rem var(--ff-sign); }
.rule p { margin: 8px 0 0; color: var(--asphalt-2); }

/* contact: the location sign */
.here { padding: 26px 28px; }
.here > * { position: relative; }
.here h2 { font: 800 1.55rem/1.15 var(--ff-sign); }
.here dl { margin: 16px 0 0; display: grid; gap: 12px; }
.here dl div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding-top: 12px; border-top: 1.5px solid rgba(255,255,255,.3); }
.here dt { font: 700 .95rem var(--ff-sign); color: rgba(255,255,255,.85); }
.here dd { margin: 0; font: 700 1.1rem/1.35 var(--ff-sign); word-break: break-word; }
.here a { color: #fff; }
.map { margin-top: 18px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: 320px; border: 0; }
.okbox { background: var(--green-t); border: 2px solid var(--green); border-radius: 10px; padding: 18px 20px; margin-bottom: 18px; }
.okbox b { font: 800 1.2rem var(--ff-sign); color: var(--green); }

/* ── the photograph of the place (skin_photo_slots) ─────────── */
.lotphoto { position: relative; background: var(--asphalt); color: #fff; }
.lotphoto img { width: 100%; height: clamp(240px, 36vw, 480px); object-fit: cover; }
.lotphoto__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 0 22px; background: linear-gradient(to top, rgba(37,40,42,.92), rgba(37,40,42,.6) 50%, rgba(37,40,42,0)); }
.lotphoto__cap .sign { display: inline-flex; flex-direction: column; gap: 4px; padding: 16px 22px; }
.lotphoto__cap .sign b { position: relative; font: 800 1.2rem var(--ff-sign); }
.lotphoto__cap .sign span { position: relative; font: 600 1rem var(--ff-sign); }

/* ── footer ─────────────────────────────────────────────────── */
.foot { background: var(--asphalt); color: rgba(255,255,255,.86); padding-top: clamp(48px, 6vw, 80px); }
.foot__sign { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px 28px; padding: 28px 30px; }
.foot__sign > * { position: relative; }
.foot__sign h2 { font: 800 clamp(1.6rem, 3vw, 2.3rem)/1.08 var(--ff-sign); color: #fff; }
.foot__sign p { margin: 10px 0 0; color: rgba(255,255,255,.92); }
.foot__sign ul { list-style: none; margin: 0; padding: 0; align-self: center; }
.foot__sign li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; font: 700 1.1rem/1.2 var(--ff-sign); color: #fff; }
.foot__sign li + li { border-top: 1.5px solid rgba(255,255,255,.3); }
.foot__sign li span:first-child { color: rgba(255,255,255,.82); font-weight: 600; }
.foot__sign li a { color: #fff; text-decoration: none; text-align: right; }
.foot__sign li a:hover { text-decoration: underline; }
@media (max-width: 820px) { .foot__sign { grid-template-columns: 1fr; padding: 24px 22px; } }
.foot__grid { display: grid; gap: 30px; grid-template-columns: 1.4fr 1fr 1fr 1fr; padding-block: 44px 34px; }
.foot__grid h3 { font: 800 1.02rem var(--ff-sign); color: #fff; margin-bottom: 12px; }
.foot__grid a { display: block; text-decoration: none; padding: 5px 0; color: rgba(255,255,255,.8); }
.foot__grid a:hover { color: #fff; text-decoration: underline; }
.foot__grid p { margin: 0 0 8px; }
.foot__logo img { max-height: 46px; width: auto; }
.foot__logo b { font: 800 1.3rem var(--ff-sign); color: #fff; }
.foot__soc { display: flex; gap: 8px; margin-top: 14px; }
.foot__soc a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: var(--asphalt-2); padding: 0; }
.foot__soc svg { width: 18px; height: 18px; }
.foot__end { border-top: 1px solid rgba(255,255,255,.14); padding-block: 18px calc(18px + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .92rem; color: rgba(255,255,255,.6); }
.foot__end a { color: rgba(255,255,255,.78); text-decoration: none; }
.foot__end a:hover { color: #fff; }
@media (max-width: 880px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot__grid { grid-template-columns: 1fr; } }

@media print {
  .head, .foot, .lotbar, .dialog, .viewer, .route { display: none !important; }
}


/* ── the gallery column has to be allowed to shrink ─────────── */
/* Its thumbnail strip is wider than a phone, and a grid item whose minimum
   size is "auto" refuses to squeeze below its content — which stretched the
   whole page sideways. */
.gallery { min-width: 0; }
.gallery__stage, .gallery__main, .gallery__thumbs { max-width: 100%; }
@media (max-width: 980px) { .lotpage { grid-template-columns: minmax(0, 1fr); } }

/* ── room for the round badge ───────────────────────────────── */
/* The logo is a circular badge with the dealer name inside it, so at the
   wordmark height the lower half of the lettering was unreadable. */
.head__in { min-height: 78px; }
.head__mark img { max-height: 64px; }
.foot__logo img { max-height: 92px; }
@media (max-width: 560px) { .head__mark img { max-height: 56px; } }
