/* ALEXANDRIA CAR CLINIC — darkroom editorial (Loco Exotics engine, midnight-navy palette)
   Two surfaces, one accent, no shadows. Depth comes from the films. */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

html.js.momentum { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--color-midnight);
  color: var(--color-ivory);
  font-family: var(--font-display);
  font-weight: var(--font-weight-medium);
  font-feature-settings: "ss01" on;
  -webkit-font-smoothing: antialiased;
  text-transform: uppercase;
  letter-spacing: normal;
  overflow-x: clip;
}

img, video { display: block; max-width: 100%; }

[hidden] { display: none !important; }

a { color: var(--color-ivory); }

::selection {
  background: var(--color-uniform-navy);
  color: var(--color-ivory);
}

:root {
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Type modes ---------- */
.voice {
  text-transform: none;
  font-weight: var(--font-weight-regular);
  font-size: clamp(20px, 2.1vw, var(--text-body));
  line-height: var(--leading-body);
  margin: 0;
}

.voice a { color: var(--color-ivory); text-underline-offset: 3px; }

.display {
  font-size: clamp(72px, 15vw, 224px);
  line-height: 0.86;
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.02em;
  margin: 0 0 0 -0.05em; /* optical left alignment with smaller text */
  will-change: transform, opacity;
}

.heading {
  font-size: clamp(31px, 3.6vw, 46px);
  line-height: var(--leading-heading);
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.01em;
  margin: 0;
}

.label {
  font-size: 12px;
  line-height: 1.2;
  font-weight: var(--font-weight-medium);
  color: var(--color-slate);
}

/* ---------- Hairline dashed divider ---------- */
.divider {
  border: 0;
  border-top: 1px dashed var(--color-steel-line);
  margin: 0;
}

/* ---------- Buttons & links ---------- */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-12);
  background: var(--color-ivory);
  color: var(--color-midnight);
  border: 0;
  border-radius: var(--radius-buttons-pill);
  padding: 15px 22px 15px 26px;
  font: inherit;
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out-expo);
}

.btn-pill:hover { transform: translateY(-2px); }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--color-ivory);
  border: 1px solid var(--color-ivory);
  border-radius: var(--radius-buttons-outlined);
  padding: 7.5px var(--spacing-18);
  font: inherit;
  font-size: 12px;
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.link-underline {
  color: var(--color-ivory);
  font-size: 12px;
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Hero CTAs ---------- */
.cta {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-12);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.03em;
}

.cta--book {
  background: var(--color-ivory);
  color: var(--color-midnight);
  border-radius: var(--radius-buttons-pill);
  padding: 15px 22px 15px 26px;
  font-size: 14px;
  transition: transform 0.35s var(--ease-out-expo);
}

.cta--book:hover { transform: translateY(-2px); }

.cta--book .cta__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full-round);
  background: var(--color-midnight);
  color: var(--color-ivory);
  transition: transform 0.35s var(--ease-out-expo);
}

.cta--book:hover .cta__icon { transform: translateX(4px); }

.cta--call {
  border: 1px solid rgba(241, 234, 219, 0.35);
  border-radius: var(--radius-buttons-pill);
  padding: 10px 22px 10px 12px;
  color: var(--color-ivory);
  transition: border-color 0.3s, background 0.3s;
}

.cta--call:hover {
  border-color: var(--color-ivory);
  background: rgba(241, 234, 219, 0.06);
}

.cta--call .cta__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full-round);
  background: rgba(241, 234, 219, 0.12);
}

.cta__call {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}

.cta__call-label {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--color-slate);
}

.cta__call-num { font-size: 14px; }

/* ---------- Fixed top navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: var(--spacing-24);
  background: transparent;
  pointer-events: none;
}

.nav a { pointer-events: auto; }

.nav__wordmark {
  font-size: 15px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.01em;
  text-decoration: none;
}

/* hidden while the giant hero wordmark is on stage; fades in as the
   hero text shrinks up into this corner */
html.js:not(.reduced) .nav__wordmark {
  opacity: 0;
  transition: opacity 0.2s ease-out;
}

html.js:not(.reduced) .nav__wordmark.is-on { opacity: 1; }

.nav__items { display: flex; gap: var(--spacing-24); }

.nav__item {
  position: relative;
  white-space: nowrap;
  font-size: 13px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.02em;
  text-decoration: none;
  padding-bottom: var(--spacing-6);
  perspective: 320px;
}

.nav__item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-bottom: 1px dashed var(--color-ivory);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out-expo);
}

.nav__item:hover::after,
.nav__item.is-active::after { transform: scaleX(1); }

/* split-flap ticker: each letter does one fast front flip in place */
.nav__item .nav__ch {
  display: inline-block;
  backface-visibility: hidden;
}

.nav__item:hover .nav__ch {
  animation: nav-flip 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
  animation-delay: calc(var(--ch) * 18ms);
}

@keyframes nav-flip {
  from { transform: rotateX(0deg); }
  to   { transform: rotateX(-360deg); }
}

/* ---------- Pinned scrub sections ---------- */
.pin { position: relative; }

.pin--hero    { height: 260vh; }
.pin--lift    { height: 420vh; }

.pin__stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}

.pin__film {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.pin__caption {
  position: absolute;
  left: var(--spacing-24);
  bottom: var(--spacing-41);
  right: var(--spacing-24);
  z-index: 1;
}

.pin__caption .label {
  display: block;
  margin: 0 0 var(--spacing-14);
  color: var(--color-ivory);
}

.pin__caption .heading { max-width: 13em; }

.pin__caption--top {
  bottom: auto;
  top: clamp(64px, 10vh, 110px);
}

.heading--sm { font-size: clamp(24px, 2.4vw, 34px); }

/* caption hidden until its scrub moment */
html.js:not(.reduced) .pin__caption {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--ease-out-expo),
    transform 0.9s var(--ease-out-expo);
}

html.js:not(.reduced) .pin__caption.is-on {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Reviews over the lift film — hazy glass cards ---------- */
.lift-reviews {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.review-card {
  position: absolute;
  width: min(420px, 78vw);
  padding: var(--card-padding);
  border-radius: var(--radius-cards);
  border: 1px solid rgba(241, 234, 219, 0.14);
  background: rgba(5, 11, 22, 0.34);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
}

/* staggered placements so cards don't stack in one spot */
.review-card--1 { top: 26%; left: 6vw; }
.review-card--2 { top: 22%; right: 6vw; }
.review-card--3 { top: 49%; left: 12vw; }
.review-card--4 { top: 45%; right: 10vw; }
.review-card--5 { top: 72%; left: 7vw; }
.review-card--6 { top: 68%; right: 7vw; }

.review-card__stars {
  display: block;
  font-size: 13px;
  letter-spacing: 5px;
  margin-bottom: var(--spacing-14);
}

.review-card__quote {
  text-transform: none;
  font-weight: var(--font-weight-regular);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.3;
  margin: 0 0 var(--spacing-14);
}

.review-card__meta {
  font-size: 11px;
  color: var(--color-slate);
  margin: 0;
}

.lift__hint {
  position: absolute;
  left: 50%;
  bottom: var(--spacing-24);
  transform: translateX(-50%);
  z-index: 1;
  margin: 0;
  color: var(--color-ivory);
  opacity: 0;
}

html.js:not(.reduced) .review-card {
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  transition:
    opacity 0.8s var(--ease-out-expo),
    transform 0.8s var(--ease-out-expo);
}

html.js:not(.reduced) .review-card.is-on {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 900px) {
  .review-card { width: 86vw; left: 7vw !important; right: auto !important; }
  .review-card--1 { top: 16%; }
  .review-card--2 { top: 30%; }
  .review-card--3 { top: 44%; }
  .review-card--4 { top: 58%; }
  .review-card--5 { top: 72%; }
  .review-card--6 { top: 86%; }
}

/* ---------- Hero ---------- */
.hero { background: var(--color-midnight); }

.hero__film {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* warm canvas wash for legibility — never a shadow */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5, 11, 22, 0.5) 0%,
    rgba(5, 11, 22, 0.06) 55%,
    rgba(5, 11, 22, 0.45) 100%
  );
  pointer-events: none;
}

.hero > :not(.hero__film) { z-index: 1; }

.hero__lockup {
  position: absolute;
  top: clamp(96px, 16vh, 170px);
  left: var(--spacing-24);
  right: var(--spacing-24);
  will-change: transform, opacity;
}

.hero__tagline {
  font-size: 12px;
  margin: 0 0 var(--spacing-14);
}

.hero__sub {
  font-size: var(--text-subheading);
  line-height: var(--leading-subheading);
  margin: var(--spacing-18) 0 0;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-24);
  margin-top: var(--spacing-31);
}

.hero__serial {
  position: absolute;
  top: 50%;
  right: var(--spacing-10);
  transform: rotate(90deg) translateX(-50%);
  transform-origin: right center;
  font-size: 10px;
  white-space: nowrap;
  margin: 0;
}

/* Scroll cue — bottom center: dashed dot ring + chevron + label */
.hero__cue {
  position: absolute;
  left: 50%;
  bottom: var(--spacing-24);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: var(--spacing-14);
}

.hero__cue-badge {
  position: relative;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--color-ivory);
}

.hero__cue-ring {
  position: absolute;
  inset: 0;
}

html.js:not(.reduced) .hero__cue-ring {
  animation: cue-spin 18s linear infinite;
}

.hero__cue-ring i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.6px;
  height: 1.6px;
  border-radius: var(--radius-full-round);
  background: var(--color-ivory);
  transform: translate(-50%, -50%) rotate(var(--dot-angle)) translateY(-22px);
}

.hero__cue-chevron {
  position: relative;
  z-index: 1;
}

html.js:not(.reduced) .hero__cue-chevron {
  animation: cue-nudge 2.2s ease-in-out infinite;
}

.hero__cue-text {
  font-size: 11px;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.04em;
}

@keyframes cue-nudge {
  0%, 100% { transform: translateY(-1px); }
  50%      { transform: translateY(2px); }
}

@keyframes cue-spin {
  to { transform: rotate(360deg); }
}

/* Section hand-off veil — the outgoing stage fades to a color and
   the incoming stage starts under the SAME color, so the boundary
   is always one continuous shade no matter what the films contain.
   JS sets the color per phase; canvas brown is the default. */
.pin__fade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--color-midnight);
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}

/* ---------- Statement ---------- */
.statement {
  padding: clamp(120px, 15vw, 220px) var(--spacing-24) clamp(120px, 15vw, 220px) var(--spacing-18);
}

.statement__kicker {
  margin: 0 0 var(--spacing-41);
  letter-spacing: 0.12em;
}

.statement__heading {
  max-width: 9em;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.92;
}

.statement__cols {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(48px, 8vw, 120px) clamp(60px, 10vw, 160px);
  margin-top: clamp(48px, 6vw, 88px);
  align-items: start;
}

/* lead paragraph carries more weight than the follow-up */
.statement__lead {
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.2;
}

.statement__second {
  margin-top: 0.35em; /* optically align with the larger lead's first line */
  color: var(--color-slate);
}

.statement__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--spacing-24) clamp(40px, 8vw, 120px);
  margin-top: clamp(80px, 10vw, 150px);
}

.stat__rule {
  margin-bottom: var(--spacing-24);
  border-top-color: var(--color-slate);
}

.stat__value {
  display: flex;
  align-items: baseline;
  gap: 0.08em;
  font-size: clamp(56px, 8vw, 108px);
  line-height: 0.82;
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.stat__suffix {
  font-size: 0.34em;
  font-weight: var(--font-weight-medium);
  color: var(--color-brass);
}

.stat__label {
  display: block;
  margin-top: var(--spacing-18);
  font-size: 13px;
  font-weight: var(--font-weight-medium);
  color: var(--color-slate);
  max-width: 16em;
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; }

.marquee__track {
  display: flex;
  white-space: nowrap;
  padding: var(--spacing-18) 0;
  font-size: var(--text-subheading);
  color: var(--color-slate);
  will-change: transform;
}

.marquee__track span { flex: none; }

html.js:not(.reduced) .marquee__track {
  animation: marquee 40s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ---------- Visit ---------- */
.visit {
  padding: clamp(96px, 12vw, 180px) var(--spacing-24);
}

.visit__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--spacing-41) var(--element-gap);
  margin-top: var(--spacing-68);
}

.visit__label { margin: 0 0 var(--spacing-14); }

.visit__value {
  font-style: normal;
  font-size: var(--text-subheading);
  line-height: 1.4;
  margin: 0 0 var(--spacing-18);
}

.visit__phone {
  font-size: clamp(31px, 3.4vw, var(--text-heading));
  line-height: var(--leading-heading);
  text-decoration: none;
  border-bottom: 1px dashed var(--color-steel-line);
}

.visit__fax {
  font-size: 12px;
  color: var(--color-slate);
}

.visit__serving {
  margin: var(--spacing-68) 0 0;
  font-size: 12px;
  color: var(--color-slate);
}

/* ---------- Book ---------- */
.book {
  padding: clamp(96px, 12vw, 180px) var(--spacing-24);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--spacing-68) var(--spacing-68);
  align-items: start;
}

.book__note { margin-top: var(--spacing-31); max-width: 22em; }

.book__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-31) var(--spacing-24);
  max-width: 720px;
}

.book__form .field:nth-last-child(2),
.book__form .book__actions { grid-column: 1 / -1; }

.field__label {
  display: block;
  margin-bottom: var(--spacing-8);
  color: var(--color-ivory);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--color-ivory);
  border-radius: var(--radius-inputs);
  color: var(--color-ivory);
  font: inherit;
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  padding: var(--spacing-8) 36px var(--spacing-8) 2px;
  outline: none;
  appearance: none;
}

.field select { cursor: pointer; }

.field select:invalid { color: var(--color-slate); }

.field option {
  background: var(--color-midnight);
  color: var(--color-ivory);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--color-slate);
  text-transform: uppercase;
}

.field input[type="date"] { min-height: 34px; }

.field textarea { resize: vertical; min-height: 68px; }

.book__done { grid-column: 2; }

.book__done .voice { margin-top: var(--spacing-24); }

/* ---------- Footer ---------- */
.footer {
  padding: var(--spacing-31) var(--spacing-24) var(--spacing-45);
}

.footer .divider { margin-bottom: var(--spacing-24); }

.footer__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--spacing-24);
  flex-wrap: wrap;
}

.footer__legal {
  font-family: var(--font-legal);
  font-size: 8px;
  line-height: 1.4;
  font-weight: var(--font-weight-medium);
  color: var(--color-slate);
  margin: 0;
  max-width: 560px;
  text-transform: uppercase;
}

.footer__credit {
  font-size: 10px;
  color: var(--color-slate);
  margin: 0;
}

.footer__credit a {
  color: var(--color-slate);
  text-underline-offset: 3px;
}

/* ---------- Mobile quick-book pill ---------- */
.book-pill {
  position: fixed;
  right: var(--spacing-18);
  bottom: var(--spacing-18);
  z-index: 50;
  display: none;
  background: var(--color-ivory);
  color: var(--color-midnight);
  border-radius: var(--radius-buttons-pill);
  padding: var(--spacing-12) var(--spacing-24);
  font-size: 12px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: opacity 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo);
}

.book-pill.is-hidden {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}


/* =====================================================
   MOTION STATES — applied only when JS runs, and
   neutralized entirely under prefers-reduced-motion.
   ===================================================== */

/* the split-word headline is hidden from FIRST paint — without this,
   cold loads flash the plain headline before JS wraps its words,
   which read as the hero reloading itself */
html.js:not(.reduced) [data-intro-words] { opacity: 0; }
html.js:not(.reduced) .is-in [data-intro-words],
html.js:not(.reduced) [data-intro-words].is-in { opacity: 1; }

html.js:not(.reduced) [data-intro-fade] {
  opacity: 0;
  transition: opacity 1.4s var(--ease-out-expo) 0.3s;
}

html.js:not(.reduced) [data-intro-fade].is-in { opacity: 1; }

html.js:not(.reduced) .word {
  display: inline-block;
  overflow: clip;
  vertical-align: bottom;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

html.js:not(.reduced) .word > span {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 1.1s var(--ease-out-expo);
  transition-delay: var(--word-delay, 0s);
}

html.js:not(.reduced) .is-in .word > span { transform: translateY(0); }

/* soft word reveal for body copy — fades rather than masks */
html.js:not(.reduced) [data-split-soft] .softword {
  opacity: 0.08;
  transition: opacity 0.7s var(--ease-out-expo);
  transition-delay: var(--word-delay, 0s);
}

html.js:not(.reduced) [data-split-soft].is-in .softword { opacity: 1; }

html.js:not(.reduced) [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 1s var(--ease-out-expo),
    transform 1s var(--ease-out-expo);
}

html.js:not(.reduced) [data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

html.js:not(.reduced) [data-draw] {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--ease-out-expo);
}

html.js:not(.reduced) [data-draw].is-in { transform: scaleX(1); }



/* =====================================================
   ALEXANDRIA CAR CLINIC — page-specific sections
   ===================================================== */

/* ---------- Hero overrides: long name, car low + right ---------- */
.pin--lift { height: 420vh; }

.hero__film {
  object-position: 62% 50%;
  will-change: transform;
}

.hero__lockup { top: clamp(84px, 12vh, 132px); }

/* Loco-style lockup: left aligned, huge, CTAs underneath on the left */
.hero__lockup { top: clamp(120px, 21vh, 230px); }
.display {
  font-size: clamp(56px, 12.2vw, 200px);
  line-height: 0.86;
  margin: 0 0 0 -0.05em;
}
.hero__sub { max-width: none; }

/* hero pins for one screen of scroll, then scrolls away while the film finishes */
.pin--hero { height: 200svh; }

.label--accent { color: var(--color-brass); }

/* ---------- Statement (trust facts) ---------- */
.stat__suffix { color: var(--color-brass); }

.statement__cols { margin-top: clamp(40px, 5vw, 72px); }

/* ---------- Lift reviews: cards ride the empty sides of the frame ---------- */

/* ---------- Photo slots (until real photos land) ---------- */
.photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-cards);
  background: var(--color-uniform-navy);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-18);
  border: 1px dashed var(--color-steel-line);
  border-radius: var(--radius-cards);
  color: var(--color-slate);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-align: center;
}

.photo.is-missing img { visibility: hidden; }
.photo.is-missing::after { display: flex; }

/* ---------- Services index ---------- */
.services {
  padding: clamp(96px, 12vw, 180px) var(--spacing-24);
}

.services__head { max-width: 46em; }

.services__kicker { margin: 0 0 var(--spacing-31); letter-spacing: 0.12em; }

.services__intro { margin-top: var(--spacing-24); max-width: 30em; color: var(--color-slate); }

.svc {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  margin-top: clamp(56px, 7vw, 104px);
  align-items: start;
}

.svc-group + .svc-group { margin-top: var(--spacing-45); }

.svc-group__label {
  margin: 0 0 var(--spacing-14);
  letter-spacing: 0.12em;
}

.svc-list { list-style: none; margin: 0; padding: 0; }

.svc-item { border-top: 1px dashed var(--color-steel-line); }
.svc-item:last-child { border-bottom: 1px dashed var(--color-steel-line); }

.svc-row {
  display: flex;
  align-items: baseline;
  gap: var(--spacing-18);
  width: 100%;
  padding: var(--spacing-18) 0;
  background: none;
  border: 0;
  color: var(--color-slate);
  font: inherit;
  font-size: clamp(17px, 1.7vw, 24px);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.01em;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.35s var(--ease-out-expo), padding-left 0.5s var(--ease-out-expo);
}

.svc-row__index {
  flex: none;
  width: 2.2em;
  font-size: 0.55em;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.08em;
}

.svc-row__name { flex: 1; }

.svc-row__arrow {
  flex: none;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.35s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
}

.svc-row:hover,
.svc-row:focus-visible,
.svc-item.is-active .svc-row {
  color: var(--color-ivory);
  padding-left: var(--spacing-10);
}

.svc-item.is-active .svc-row__arrow,
.svc-row:hover .svc-row__arrow {
  opacity: 1;
  transform: translateX(0);
}

.svc-row:focus-visible { outline: 1px dashed var(--color-ivory); outline-offset: 2px; }

/* the sticky image stage (desktop) */
.svc-stage {
  position: sticky;
  top: clamp(72px, 10vh, 120px);
}

.svc-stage__frame {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-cards);
}

.svc-stage__frame img {
  transition: opacity 0.35s ease-out;
}

.svc-stage__frame.is-swap img { opacity: 0; }

.svc-stage__meta { margin-top: var(--spacing-18); }

.svc-stage__name {
  margin: 0 0 var(--spacing-8);
  font-size: var(--text-heading-sm);
  line-height: var(--leading-heading-sm);
  font-weight: var(--font-weight-bold);
}

.svc-stage__desc {
  margin: 0 0 var(--spacing-18);
  max-width: 26em;
  font-size: 15px;
  line-height: 1.4;
  text-transform: none;
  font-weight: var(--font-weight-regular);
  color: var(--color-ivory);
}

.svc-actions { display: flex; flex-wrap: wrap; gap: var(--spacing-12); }

/* per-row accordion panel: phones only */
.svc-panel { display: none; }

/* ---------- Cars for sale ---------- */
.cars {
  padding: clamp(96px, 12vw, 180px) var(--spacing-24);
  border-top: 1px dashed var(--color-steel-line);
}

.cars__kicker { margin: 0 0 var(--spacing-31); letter-spacing: 0.12em; }

.cars__heading {
  max-width: 9em;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.92;
}

.cars__cols {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 8vw, 120px);
  margin-top: clamp(40px, 5vw, 72px);
  align-items: start;
}

.cars__lead {
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.2;
}

.cars__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-18);
}

.cars__phone {
  font-size: clamp(31px, 3.4vw, var(--text-heading));
  line-height: var(--leading-heading);
  text-decoration: none;
  border-bottom: 1px dashed var(--color-brass);
  color: var(--color-brass);
}

.cars__url {
  text-transform: none;
  font-weight: var(--font-weight-regular);
  font-size: var(--text-subheading);
  color: var(--color-slate);
}

/* ---------- About ---------- */
.about {
  padding: clamp(96px, 12vw, 180px) var(--spacing-24);
  border-top: 1px dashed var(--color-steel-line);
}

.about__kicker { margin: 0 0 var(--spacing-31); letter-spacing: 0.12em; }

.about__heading {
  max-width: 10em;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.92;
}

.about__cols {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 8vw, 120px);
  margin-top: clamp(40px, 5vw, 72px);
  align-items: start;
}

.about__lead {
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.2;
}

.about__second { margin-top: 0.35em; color: var(--color-slate); }

.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--element-gap);
  margin-top: clamp(56px, 7vw, 104px);
}

.team .photo { aspect-ratio: 4 / 5; width: 100%; margin: 0; }
.team .photo:nth-child(1) img { object-position: 38% 50%; }
.team .photo:nth-child(2) img { object-position: 42% 50%; }
.team .photo:nth-child(3) img { object-position: 24% 50%; }
.team .photo:nth-child(4) img { object-position: 40% 50%; }
@media (min-width: 641px) and (max-width: 1100px) { .team { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Contact ---------- */
.visit__note {
  margin: var(--spacing-24) 0 0;
  font-size: 12px;
  color: var(--color-slate);
  max-width: 44em;
}

.visit__text { font-size: 12px; color: var(--color-slate); }
.visit__text a { color: var(--color-slate); }

.book { padding-top: 0; }

.contact { border-top: 1px dashed var(--color-steel-line); }

.hero__sub-brand { color: var(--color-slate); }

/* ---------- Responsive additions ---------- */
@media (max-width: 900px) {
  .svc { grid-template-columns: 1fr; }
  .svc-stage { display: none; }
  .svc-panel { display: none; padding: 0 0 var(--spacing-24); }
  .svc-item.is-open .svc-panel { display: block; }
  .svc-item.is-open .svc-row { color: var(--color-ivory); padding-left: var(--spacing-10); }
  .svc-panel .photo { aspect-ratio: 4 / 3; margin-bottom: var(--spacing-14); }
  .svc-panel .svc-stage__desc { max-width: none; }
  .cars__cols, .about__cols { grid-template-columns: 1fr; }
  .about__second { margin-top: 0; }
  .review-card { width: 86vw; left: 7vw !important; right: auto !important; }
  .review-card--1 { top: 16%; }
  .review-card--2 { top: 30%; }
  .review-card--3 { top: 44%; }
  .review-card--4 { top: 58%; }
  .review-card--5 { top: 72%; }
  .review-card--6 { top: 86%; }
}

@media (max-width: 640px) {
  .hero__film { object-position: 58% 50%; }
  .services, .cars, .about { padding-left: var(--spacing-24); padding-right: var(--spacing-24); }
  .cars__heading, .about__heading { font-size: clamp(34px, 11vw, 52px); }
  .cars__lead, .about__lead { font-size: clamp(19px, 5.4vw, 24px); }
  .cars__phone { font-size: clamp(28px, 9vw, 40px); }
  .team { grid-template-columns: 1fr; }
  .nav__wordmark { letter-spacing: 0; }
}

/* ---------- Reduced motion additions ---------- */
@media (prefers-reduced-motion: reduce) {
  .review-card { position: relative !important; width: auto; left: auto !important; right: auto !important; top: auto !important; }
  .svc-row, .svc-row__arrow, .svc-stage__frame img { transition: none; }
}


/* =====================================================
   Loco responsive + reduced-motion blocks (gear/streak rules removed)
   ===================================================== */
/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .hero__cue { display: none; }
  .pin { height: auto !important; margin-top: 0 !important; }
  .pin__stage { position: relative; height: auto; }
  .review-card { opacity: 1 !important; transform: none !important; position: relative; inset: auto; margin: var(--spacing-18) auto; }
  .lift-reviews { position: relative; display: flex; flex-direction: column; padding: var(--spacing-68) var(--spacing-24); }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__serial { display: none; }

  .hero__actions { flex-wrap: wrap; gap: var(--spacing-18); }

  .statement__cols { grid-template-columns: 1fr; }

  .statement__second { margin-top: 0; }

  .statement__stats { grid-template-columns: 1fr; gap: var(--spacing-41); }

  .visit__grid { grid-template-columns: 1fr; }

  .book { grid-template-columns: 1fr; }

  .book__form { grid-template-columns: 1fr; }

  .book__done { grid-column: 1; }

  .nav__items { gap: var(--spacing-14); }

  .book-pill { display: inline-block; }
}

/* ---------- Phones ---------- */
@media (max-width: 640px) {
  /* nav has to shrink so four bold items + wordmark fit one row */
  .nav { padding: var(--spacing-14) var(--spacing-14); align-items: center; }
  .nav__wordmark { font-size: 11px; line-height: 1.05; max-width: 84px; }
  .nav__items { gap: 9px; }
  .nav__item { font-size: 10px; letter-spacing: 0.01em; padding-bottom: 3px; }

  /* hero name must fit the viewport, not overflow it */
  .display { font-size: clamp(40px, 13vw, 72px); line-height: 0.9; }
  .hero__lockup { top: clamp(76px, 13vh, 120px); bottom: 92px; }
  .hero__tagline { font-size: 11px; }
  .hero__sub { font-size: 15px; margin-top: var(--spacing-14); }

  /* CTAs drop to the bottom of the screen so the car stays visible
     between the title and the buttons */
  .hero__actions {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin-top: 0;
    flex-direction: column;
    align-items: stretch;
    gap: var(--spacing-12);
  }
  .hero__actions .cta { justify-content: center; }

  /* scroll cue keeps its "Scroll" label, tucked under the CTAs */
  .hero__cue { bottom: var(--spacing-12); }
  .hero__cue-more { display: none; }
  .hero__cue-badge { width: 38px; height: 38px; }
  .hero__cue-text {
    font-size: 10px;
    letter-spacing: 0.08em;
    text-shadow: 0 1px 8px rgba(3, 7, 14, 0.9);
  }

  /* deeper bottom wash so the CTAs and cue hold contrast over the car */
  .hero::after {
    background: linear-gradient(
      to bottom,
      rgba(5, 11, 22, 0.5) 0%,
      rgba(5, 11, 22, 0.08) 40%,
      rgba(5, 11, 22, 0.3) 62%,
      rgba(5, 11, 22, 0.82) 100%
    );
  }

  /* statement: tighten scale so nothing clips */
  .statement { padding: clamp(80px, 20vw, 120px) var(--spacing-24); }
  .statement__heading { font-size: clamp(34px, 11vw, 52px); max-width: 12em; }
  .statement__lead { font-size: clamp(19px, 5.4vw, 24px); }
  .stat__value { font-size: clamp(48px, 15vw, 72px); }
  .stat__label { font-size: 12px; }

  /* section captions and headings sit clear of the nav — bottom
     captions also keep clear of the quick-book pill's corner */
  .pin__caption { left: var(--spacing-18); right: 104px; bottom: var(--spacing-31); }
  .pin__caption--top { right: var(--spacing-18); }
  .pin__caption--top { top: clamp(72px, 12vh, 110px); }
  .heading { font-size: clamp(28px, 8vw, 40px); }

  /* marques banner reads too slow on a small screen — speed it up */
  html.js:not(.reduced) .marquee__track { animation-duration: 16s; }

  /* reviews: cards take turns in two slots (JS shows one or two at
     a time on phones) so nothing squishes or gets cut off. The 14px
     backdrop blur over a live film is the single most expensive
     effect on a phone GPU — swap it for a deeper tint */
  .review-card {
    width: auto;
    left: var(--spacing-18) !important;
    right: var(--spacing-18) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(5, 11, 22, 0.78);
  }
  .review-card:nth-child(odd) { top: 24%; }
  .review-card:nth-child(even) { top: 57%; }
  .review-card__quote { font-size: 17px; }

  .visit__phone { font-size: clamp(28px, 9vw, 40px); }
  .footer__row { flex-direction: column; gap: var(--spacing-18); }
}

/* ---------- Service chips (booking form) ---------- */
.field--wide { grid-column: 1 / -1; }
.chips { display: flex; flex-wrap: wrap; gap: var(--spacing-8); }
.chip {
  background: transparent; color: var(--color-ivory);
  border: 1px solid var(--color-steel-line); border-radius: var(--radius-buttons-outlined);
  padding: 7.5px var(--spacing-14); font: inherit; font-size: 11px;
  font-weight: var(--font-weight-medium); text-transform: uppercase; cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.chip:hover { border-color: var(--color-ivory); }
.chip[aria-pressed="true"] { background: var(--color-ivory); color: var(--color-midnight); border-color: var(--color-ivory); }

/* =====================================================
   Oct 5 sizing pass: larger hero CTA, smaller hero title,
   bigger service button, review cards and booking form.
   ===================================================== */
.display { font-size: clamp(50px, 10.4vw, 172px); }

.cta--book { padding: 20px 26px 20px 32px; font-size: 16px; gap: var(--spacing-14); }
.cta--book .cta__icon { width: 34px; height: 34px; }
.cta--call { padding: 13px 28px 13px 14px; }
.cta--call .cta__icon { width: 38px; height: 38px; }
.cta__call-label { font-size: 11px; }
.cta__call-num { font-size: 17px; }

.svc-stage__desc { font-size: 17px; }
.svc-actions .btn-pill { padding: 20px 34px; font-size: 16px; }

@media (min-width: 901px) { .review-card { width: clamp(360px, 31vw, 620px); padding: clamp(24px, 2vw, 40px); } }
.review-card__stars { font-size: clamp(14px, 0.95vw, 19px); margin-bottom: var(--spacing-14); }
.review-card__quote { font-size: clamp(17px, 1.3vw, 27px); line-height: 1.32; margin-bottom: var(--spacing-14); }
.review-card__meta { font-size: clamp(11px, 0.75vw, 14px); }
/* reviews: two stacks that meet near the centre (see JS); newest card on top */
.review-card { background: rgba(5, 11, 22, 0.8); }
@media (min-width: 901px) {
  .review-card:nth-child(odd) { top: 30%; left: 9vw; right: auto; }
  .review-card:nth-child(even) { top: 42%; right: 9vw; left: auto; }
}
@media (min-width: 641px) and (max-width: 900px) {
  .review-card:nth-child(odd) { top: 26%; }
  .review-card:nth-child(even) { top: 60%; }
}

.book__form { max-width: 920px; gap: var(--spacing-41) var(--spacing-31); }
.book__note { font-size: clamp(20px, 1.8vw, 26px); }
.field__label { font-size: 14px; margin-bottom: var(--spacing-10); }
.field input,
.field select,
.field textarea { font-size: clamp(17px, 1.4vw, 20px); padding: 12px 36px 12px 2px; }
.field input[type="date"] { min-height: 48px; }
.field textarea { min-height: 96px; }
.book__actions .btn-pill { padding: 20px 34px; font-size: 16px; }

/* services multi-select dropdown */
.msel { position: relative; }
.msel__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--spacing-12);
  background: transparent; border: 0; border-bottom: 1px solid var(--color-ivory); border-radius: 0;
  color: var(--color-slate); font: inherit; font-size: clamp(17px, 1.4vw, 20px);
  font-weight: var(--font-weight-medium); text-transform: uppercase; text-align: left;
  padding: 12px 2px; cursor: pointer;
}
.msel.has-value .msel__btn { color: var(--color-ivory); }
.msel__chev { flex: none; color: var(--color-ivory); transition: transform 0.3s var(--ease-out-expo); }
.msel.is-open .msel__chev { transform: rotate(180deg); }
.msel__panel {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 8px);
  max-height: min(420px, 60vh); overflow-y: auto;
  background: var(--color-uniform-navy); border: 1px solid var(--color-steel-line); border-radius: var(--radius-cards);
  padding: var(--spacing-10) 0;
}
.msel__opt {
  display: flex; align-items: center; gap: var(--spacing-14);
  padding: 12px var(--spacing-18); cursor: pointer;
  font-size: 15px; font-weight: var(--font-weight-medium); text-transform: uppercase; color: var(--color-ivory);
}
.msel__opt:hover { background: rgba(241, 234, 219, 0.06); }
.msel__opt input {
  appearance: none; flex: none; width: 20px; height: 20px; margin: 0;
  border: 1px solid var(--color-ivory); border-radius: 4px; display: grid; place-items: center; cursor: pointer;
}
.msel__opt input:checked { background: var(--color-ivory); }
.msel__opt input:checked::after {
  content: ""; width: 10px; height: 6px; margin-top: -2px;
  border-left: 2px solid var(--color-midnight); border-bottom: 2px solid var(--color-midnight); transform: rotate(-45deg);
}

@media (max-width: 900px) {
  .review-card { padding: 26px; }
  .review-card__quote { font-size: 20px; }
}
/* fields are transformed by the reveal animation (own stacking context):
   lift the services field above its siblings while the list is open */
.field--wide { position: relative; }
.field--wide:has(.msel.is-open), .field--wide.is-raised { z-index: 30; }
.field .msel__opt input { width: 20px; height: 20px; padding: 0; border: 1px solid var(--color-ivory); border-radius: 4px; }
/* phones have no backdrop blur, so stacked cards need a near-solid fill */
@media (max-width: 900px) { .review-card { background: rgb(7, 14, 28); } }
/* equal-height review cards: centre the quote vertically */
.review-card { display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 640px) { .team .photo { aspect-ratio: 3 / 2; } }
/* phones: real review quotes run longer; keep both slots clear of each other */
@media (max-width: 640px) {
  .review-card { padding: 20px 22px; }
  .review-card__quote { font-size: 16.5px; line-height: 1.32; }
  .review-card:nth-child(odd) { top: 26%; }
  .review-card:nth-child(even) { top: 60%; }
}

/* author display rules must not override the hidden attribute (form / confirmation swap) */
[hidden] { display: none !important; }
.book__error { margin: var(--spacing-14) 0 0; color: #F3B4A8; font-size: 16px; text-transform: none; }
.btn-pill:disabled { opacity: 0.6; cursor: progress; transform: none; }
