:root {
  --obsidian: #0B0B0D;
  /* Silver palette — premium grey-silver (Mercedes brushed-nickel / Porsche silver-metallic vibe).
     Variable names kept as --gold* for back-compat across ~70 usages; only the values changed. */
  --gold: #B8BCC0;        /* primary silver — replaces warm gold #C9A961 */
  --gold-light: #D4D7DB;  /* light silver — replaces lighter gold #E2CB8E */
  --gold-muted: #7A7F85;  /* muted silver — replaces muted gold #8A7240 */
  --gold-deep:  #5A5F65;  /* deep silver — WCAG-safe (~7.5:1) on cream paper #F5F2EC */
  --offwhite: #F5F2EC;
  --offwhite-dim: #E8E2D2;
  --offwhite-muted: #B8B1A1;
  --surface: #111114;
  --surface-2: #1A1A1E;
  --rule: rgba(184, 188, 192, 0.2);          /* silver tint, replaces gold rgba */
  --rule-strong: rgba(184, 188, 192, 0.4);
  --text-dark: #1C1A17;
  --text-dark-soft: #3a3733;
  --text-dark-mute: #6a6258;
  --page-light: #F2EEE6;
  --page-light-warm: #EDE7DA;
  --rule-light: rgba(28, 26, 23, 0.12);
  --rule-light-strong: rgba(28, 26, 23, 0.22);

  --serif: 'Cormorant Garamond', 'Cormorant', Georgia, serif;
  --sans: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7rem;
  --space-2xl: 10rem;

  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 180ms;
  --dur-mid: 320ms;
  --dur-slow: 600ms;

  --header-h: 116px;   /* was 96px — taller bar so the brand lockup can read large */
}

@media (max-width: 767px) {
  :root { --header-h: 92px; }   /* was 80px */
}
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  line-height: 1.7;
  color: var(--offwhite-dim);
  background: var(--obsidian);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--gold); text-decoration: none; transition: color var(--dur-fast); }
a:hover { color: var(--gold-light); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 300;
  margin: 0 0 var(--space-sm);
  color: var(--offwhite);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

html, body {
  overflow-x: clip;
  max-width: 100vw;
}

h1 {
  font-size: clamp(2.1rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.6rem, 4.5vw, 3.5rem);
  font-weight: 300;
}

h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 400;
  line-height: 1.2;
}

p { margin: 0 0 1rem; }

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 5vw, 5rem);
}

.container--narrow { max-width: 900px; }

.label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.italic {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
}

.muted { color: var(--offwhite-dim); }
.dim { color: var(--gold-muted); }

.section {
  padding-block: var(--space-xl);
}

@media (max-width: 767px) {
  .section { padding-block: var(--space-lg); }
}

.section--light {
  background: var(--page-light);
  color: var(--text-dark);
}

.section--light h1,
.section--light h2,
.section--light h3 { color: var(--text-dark); }

.section--light .label,
.section--light .eyebrow { color: var(--gold-deep); }

.section--light p { color: var(--text-dark-soft); }

.section--light .section-head h2 { color: var(--text-dark); }

/* Inventory cards stay dark even on a light section — they read as showroom
   tiles on cream paper. Just lift the border so the contrast doesn't look
   pinched against the warm background. */
.section--light .inventory-card {
  border-color: rgba(28, 26, 23, 0.14);
  box-shadow: 0 14px 40px -22px rgba(28, 26, 23, 0.55);
}
.section--light .inventory-card:hover {
  border-color: var(--gold-muted);
  box-shadow: 0 22px 50px -22px rgba(28, 26, 23, 0.7);
}
/* Cards stay dark even inside section--light — undo the generic dark-text
   cascade from .section--light h3 / .section--light p so the title and specs
   remain legible on the dark card surface. */
.section--light .inventory-card .card__title { color: var(--offwhite); }
.section--light .inventory-card .card__specs { color: var(--offwhite-dim); }
.section--light .inventory-card .card__variant { color: var(--offwhite-dim); }
.section--light .inventory-card .card__price { color: var(--offwhite); }
.section--light .inventory-card .card__price-note { color: var(--offwhite-dim); }
.section--light .inventory-card .card__cta { color: var(--offwhite-dim); }
.section--light .inventory-card .card__chip { color: var(--offwhite-dim); }
.section--light .inventory-card .card__chip--used { color: var(--gold); }

.section--light .section-head .label,
.section--light .section-head .eyebrow { color: var(--gold-deep); }

.eyebrow {
  display: inline-block;
  margin-bottom: var(--space-sm);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.hr-rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: var(--space-md) 0;
}

::selection { background: var(--gold); color: var(--obsidian); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--obsidian);
  color: var(--gold);
  padding: 0.5rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }
/* ============================================================
   Header
============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 50;
  /* Solid obsidian — was rgba(11,11,13,0.92) which bled cream through when sitting
     over .section--light page-heros (inventory/about/contact/recently-sold).
     Homepage hero is dark, so the transparency went unnoticed there. Killing
     the transparency normalises the banner shade across every page. */
  background: var(--obsidian);
  border-bottom: 1px solid var(--rule);
  transition: background var(--dur-mid) var(--ease-smooth),
              border-color var(--dur-mid) var(--ease-smooth);
}
.header.scrolled { background: var(--obsidian); }

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;        /* was 0.6rem */
  text-decoration: none;
  color: var(--offwhite);
}
/* Full lockup as the header brand — sits within --header-h (96px) with
   breathing room. Knockout PNG blends on the obsidian banner. */
.header__logo {
  height: 100px;
  width: auto;
  display: block;
}
.header__brand .heritage {
  width: 64px; height: 64px;   /* was 52px — quite a bit larger */
  object-fit: contain;
}
.header__brand .wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;        /* was 1.1rem */
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--offwhite);
  white-space: nowrap;
}
.header__brand .wordmark span { color: var(--gold); }
.header__brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.05;
}
.header__brand .wordmark-sub {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.3rem;
  margin-left: 0.08em;        /* optical align under wordmark's left edge */
  white-space: nowrap;
}

.header__nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-link {
  position: relative;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--offwhite-dim);
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color var(--dur-fast);
}
.nav-link:hover { color: var(--offwhite); }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--dur-mid) var(--ease-smooth);
}
.nav-link:hover::after,
.nav-link.is-active::after { width: 100%; }

.header__phone {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--offwhite-dim);
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}
.header__phone strong { color: var(--gold); font-weight: 500; letter-spacing: 0.02em; }

/* Mobile hamburger + overlay */
.header__burger {
  display: none;
  background: transparent;
  border: 0;
  color: var(--offwhite);
  padding: 0.5rem;
  cursor: pointer;
  margin-left: auto;
}
.header__burger svg { width: 24px; height: 24px; }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--obsidian);
  z-index: 100;
  display: none;
  flex-direction: column;
  padding: var(--space-lg) var(--space-md);
  opacity: 0;
  transition: opacity var(--dur-mid);
}
.mobile-nav.is-open { display: flex; opacity: 1; }

.mobile-nav__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: 0;
  color: var(--offwhite);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.mobile-nav__links {
  list-style: none;
  padding: 0;
  margin: var(--space-lg) 0 0;
}
.mobile-nav__links li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}
.mobile-nav__links a {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--offwhite);
  text-decoration: none;
}

/* Header collapses to hamburger at the same 900px breakpoint used elsewhere
   on the page (service-trio swap, hero sublinks). Without this the nav +
   phone tried to fit alongside the wordmark between 768px and 900px and
   the phone "By appointment · 0431 173 781" wrapped to a second line. */
@media (max-width: 900px) {
  .header__nav, .header__phone-desktop { display: none; }
  .header__burger { display: inline-flex; }
  .header__logo { height: 74px; }
  .header__brand .heritage { width: 56px; height: 56px; }   /* was 44px */
  .header__brand .wordmark { font-size: 1.1rem; letter-spacing: 0.18em; }   /* was 0.9rem */
  .header__brand .wordmark-sub { font-size: 0.52rem; letter-spacing: 0.36em; margin-top: 0.22rem; }
}

/* ============================================================
   Buttons
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--dur-mid) var(--ease-smooth),
              color var(--dur-mid) var(--ease-smooth),
              transform var(--dur-fast) var(--ease-smooth),
              border-color var(--dur-mid) var(--ease-smooth);
  min-height: 44px;
}
.btn--gold {
  background: var(--gold);
  color: var(--obsidian);
  border-color: var(--gold);
}
.btn--gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--obsidian);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn--ghost:hover {
  background: var(--gold);
  color: var(--obsidian);
  transform: translateY(-1px);
}
.btn--ghost-light {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--text-dark);
}
.btn--ghost-light:hover {
  background: var(--text-dark);
  color: var(--offwhite);
}
.btn--block { width: 100%; }

/* ============================================================
   Hero
============================================================ */
.hero {
  position: relative;
  /* Clamp prevents two desktop-resize failure modes:
     - very tall window (>900px) → hero balloons, photo zoom looks wrong
     - very short window (<560px) → hero squashes, headline crowds CTAs
     780px is the sweet spot for the BMW X4 showroom shot composition. */
  min-height: clamp(560px, 82vh, 900px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg img,
.hero__bg video,
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
/* Video hero: the source is a low-res (640x360) phone clip stretched
   full-bleed, so it reads softer than a sharp still. A slightly heavier
   dark overlay both protects the "Beyond Expectations." headline contrast
   over moving footage AND masks that softness. */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 30% 75%, rgba(11,11,13,0.30) 0%, transparent 60%),
    linear-gradient(to top, rgba(11,11,13,0.86) 0%, rgba(11,11,13,0.48) 32%, rgba(11,11,13,0.16) 58%, rgba(11,11,13,0.04) 75%, transparent 88%);
  z-index: -1;
}

.hero__content {
  width: 100%;
  padding-bottom: clamp(2.5rem, 6vh, 4.5rem);
  padding-top: calc(var(--header-h) + 2rem);
}

/* Photo-forward hero (Nick T rhythm) — no panel chrome anywhere. ONE bold
   headline bottom-left + two CTA pills inline. Photo dominates. The
   gradient on .hero__bg::after handles all legibility. */
.hero__panel {
  display: block;
  max-width: 560px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.hero__headline {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(3.25rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--offwhite);
  margin: 0 0 1.75rem;
  text-shadow: 0 2px 24px rgba(0,0,0,0.55);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero ghost CTA sits over the video — give it a dark glass backdrop so the
   "View Current Collection" pill stays legible against any frame. Scoped to
   .hero__cta so ghost buttons on light sections elsewhere are untouched. */
.hero__cta .btn--ghost {
  background: rgba(11, 11, 13, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero__cta .btn--ghost:hover {
  background: var(--gold);
  color: var(--obsidian);
}

@media (max-width: 767px) {
  /* Mobile hero: STACKED LAYOUT — img dictates its own height.
     No container aspect-ratio, no object-fit:cover, no object-position.
     Image renders at width:100%; height:auto; so the browser CANNOT
     crop any portion of the composition. Full frame guaranteed visible:
     brand roundels at top, neon "THE EURO GALLERY" sign on the left
     wall, BMW X4 centre-right, floor at bottom. */
  .hero {
    min-height: auto;
    display: block;
    background: var(--obsidian);
    /* CLEAR THE FIXED HEADER. Without this, the top ~60px of the photo
       hides behind the opaque .header bar — looked like a CSS crop on the
       img, but the photo was rendering fully. Three previous fixes patched
       the wrong layer. The header is the cropper. */
    padding-top: var(--header-h);
  }
  .hero__bg {
    position: relative;
    inset: auto;
    z-index: 0;
    width: 100%;
    /* Phone hero size lock — slightly shorter than 4:3 to nudge the
       hero down a touch (Daniel 2026-05-19: "slightest bit smaller").
       7:5 container height on a 360-wide phone = ~257px (vs 270px at
       4:3, vs 202px at native 16:9). ~10% horizontal crop each side
       absorbed via object-position to keep BOTH the neon "THE EURO
       GALLERY" sign on the left AND the BMW front-right corner near
       the right edge. */
    aspect-ratio: 7 / 5;
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: hidden;
  }
  .hero__bg img,
  .hero__bg video,
  .hero__video {
    display: block;
    width: 100%;
    height: 100%;
    /* Cover crop with object-position 45% 50%: shifts the visible
       window slightly left of centre so the neon sign on the back
       wall stays fully readable. Right edge still hugs the BMW
       front-right corner (the car occupies the right 60% of source). */
    object-fit: cover;
    object-position: 45% 50%;
    max-width: none;
  }
  .hero__bg::after {
    display: none;
  }
  .hero__content {
    position: relative;
    z-index: 1;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    background: var(--obsidian);
  }
  .hero__panel {
    width: 100%;
    max-width: none;
  }
  .hero__headline {
    font-size: clamp(2.2rem, 9vw, 3rem);
    margin-bottom: 1.25rem;
    text-shadow: none;           /* no longer over photo */
  }
  .hero__cta {
    gap: 0.55rem;
    flex-direction: column;
    align-items: stretch;
  }
  .hero__cta .btn {
    width: 100%;
    padding: 0.95rem 1rem;
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    text-align: center;
  }
}

/* ============================================================
   Trust strip
============================================================ */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--obsidian);
}
.trust-item {
  padding: 1.75rem 1.5rem;
  border-right: 1px solid var(--rule);
  text-align: center;
}
.trust-item:last-child { border-right: none; }
.trust-item .label { color: var(--gold); display: block; margin-bottom: 0.4rem; }
.trust-item p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--offwhite-dim);
  line-height: 1.45;
}
.trust-item strong { color: var(--offwhite); font-weight: 500; }

/* Light variant — sits between dark editorial and dark reviews to give the
   page breath. Nik T uses similar light-band breaks. */
.trust-strip--light {
  background: var(--page-light-warm);
  border-top: 1px solid var(--rule-light);
  border-bottom: 1px solid var(--rule-light);
}
.trust-strip--light .trust-item { border-right: 1px solid var(--rule-light); }
.trust-strip--light .trust-item:last-child { border-right: none; }
.trust-strip--light .trust-item .label { color: var(--gold-deep); }
.trust-strip--light .trust-item p { color: var(--text-dark-soft); }
.trust-strip--light .trust-item strong { color: var(--text-dark); font-weight: 500; }

@media (max-width: 767px) {
  .trust-strip--light .trust-item:nth-child(2n) { border-right: none; }
  .trust-strip--light .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--rule-light); }
}

@media (max-width: 767px) {
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2n) { border-right: none; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .trust-item { padding: 1.25rem 0.75rem; }
}

/* ============================================================
   Inventory card + grid
============================================================ */
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}
.section-head h2 { margin: 0; max-width: 18ch; }
.section-head .label { color: var(--gold); }

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}
@media (max-width: 900px) {
  .inventory-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

.inventory-card {
  background: var(--surface);
  border: 1px solid rgba(184, 188, 192, 0.12);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: border-color var(--dur-mid), transform var(--dur-mid);
}
.inventory-card:hover {
  border-color: var(--rule-strong);
  transform: translateY(-3px);
}

.car-photo-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface);
}
.car-photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 40%, rgba(11,11,13,0.55) 100%),
    linear-gradient(to bottom, transparent 55%, rgba(11,11,13,0.8) 100%);
  pointer-events: none;
}
/* Base editorial grade — deliberately LIGHT. This is the grade buyers see on the
   VDP gallery, where the car must read true. The inventory/home tiles override
   it with the stronger "showroom" grade below. */
.car-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: contrast(1.07) saturate(0.88) brightness(0.96);
  transition: transform 0.6s var(--ease-smooth);
}
.inventory-card:hover .car-photo { transform: scale(1.04); }

/* ============================================================
   Luxury showroom grade — inventory grid + homepage "Latest arrivals" tiles.
   Nik's phone shots vary in white balance, exposure and busy storefront
   backgrounds. Pushing contrast up, saturation down toward a refined near-mono
   palette, and shadows slightly deeper evens them into one cohesive, premium
   set and lets the car (not the reflections behind it) carry the frame. A faint
   cool-charcoal vignette/scrim does the rest. Kept restrained — editorial
   prestige (think AMG/Porsche brochure), not an over-filtered Instagram look.
============================================================ */
.inventory-card .car-photo {
  filter: contrast(1.16) saturate(0.68) brightness(0.93);
}
.inventory-card .car-photo-wrap::after {
  background:
    radial-gradient(ellipse at center, transparent 34%, rgba(9,10,14,0.72) 100%),
    linear-gradient(to bottom, transparent 48%, rgba(9,10,14,0.9) 100%);
}

.car-photo-wrap.vdp { aspect-ratio: 3 / 2; }
/* VDP gallery scrim — lighter than the grid so the buyer sees the whole car,
   including the lower body the grid scrim intentionally dims. */
.car-photo-wrap.vdp::after {
  background:
    radial-gradient(ellipse at center, transparent 55%, rgba(11,11,13,0.32) 100%),
    linear-gradient(to bottom, transparent 70%, rgba(11,11,13,0.45) 100%);
}

/* ============================================================
   Showcase "Hall of Fame" — /gallery.html
   A prestige brag-wall of the best cars Nik has had. Reuses the inventory
   luxury image grade + charcoal vignette so the showcase reads as one cohesive
   editorial set with the rest of the site. No prices, no CTA — just the metal.
============================================================ */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 3.25rem);
  margin-top: clamp(1.5rem, 4vw, 3rem);
}
@media (max-width: 900px) {
  .showcase-grid { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 1.25rem; }
}

/* Pure image wall — NO tile chrome. No border, no surface fill, no body. Just the
   metal, set in generous dark negative space so it reads as a curated gallery,
   not the inventory product grid. */
.showcase-card {
  margin: 0;
  overflow: hidden;
  transition: transform 0.7s var(--ease-smooth);
}
/* Restrained lift on hover — no border to recolour now. */
.showcase-card:hover {
  transform: translateY(-4px);
}

/* Featured car spans full width with a cinematic wide crop. */
.showcase-card--featured { grid-column: 1 / -1; }
.showcase-card--featured .car-photo-wrap { aspect-ratio: 16 / 7; }
@media (max-width: 900px) {
  .showcase-card--featured .car-photo-wrap { aspect-ratio: 4 / 3; }
}

/* The wall's own frame — taller, gallery-portrait crop on the 2-up tiles so it
   reads distinct from inventory's 4:3 product cards. */
.showcase-card .car-photo-wrap {
  aspect-ratio: 5 / 4;
  background: #06070a;
}

/* Keep the agreed luxury showroom grade + charcoal vignette. */
.showcase-card .car-photo {
  filter: contrast(1.16) saturate(0.68) brightness(0.93);
}
.showcase-card .car-photo-wrap::after {
  background:
    radial-gradient(ellipse at center, transparent 34%, rgba(9,10,14,0.72) 100%),
    linear-gradient(to bottom, transparent 48%, rgba(9,10,14,0.9) 100%);
}
/* No hover scale on the showcase image. The warm photo and the dark vignette
   overlay (::after) live on separate layers; animating the image's transform
   makes them repaint async and desync ~1px at top/bottom, flashing a warm
   hairline while the cursor crosses cards (the reported flicker). The card-level
   translateY lift below carries the hover motion instead — no second animating
   layer, so the seam can't open. */

/* Showcase header uses the site-wide .page-hero--feature masthead (italic
   display + gold flourish) for consistency with inventory/about. On the dark
   showcase page the heading inherits offwhite — no section--light. */

/* Quiet outro — keeps the page from dead-ending without becoming a CTA block. */
.showcase-outro {
  margin-top: clamp(3rem, 7vw, 5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.showcase-outro__link {
  color: var(--offwhite-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color var(--dur-mid), border-color var(--dur-mid);
}
.showcase-outro__link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold-muted);
}
.showcase-outro__sep { color: var(--rule-strong); }

.preview-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: rgba(11, 11, 13, 0.7);
  border: 1px solid var(--rule-strong);
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
}

/* Photos-coming-soon tile — stands in for a missing hero on preview listings.
   Sits inside .car-photo-wrap so it inherits the card's aspect ratio. */
.car-photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background:
    radial-gradient(ellipse at center, var(--surface-2) 0%, var(--surface) 78%);
  text-align: center;
  padding: 1rem;
}
.car-photo-placeholder__icon {
  width: 40px;
  height: 40px;
  color: var(--gold);
  opacity: 0.85;
}
.car-photo-placeholder__text {
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--offwhite-muted);
}

.card__body-link {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.card__body {
  padding: 1.4rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.card__title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--offwhite);
  margin: 0 0 0.25rem;
  line-height: 1.2;
}
@media (max-width: 900px) {
  .card__title { font-size: 1.25rem; }
}
.card__variant {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--offwhite-dim);
  margin: 0 0 1.1rem;
  font-weight: 400;
}
.card__specs {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--offwhite-dim);
  margin: 0 0 1rem;
}
.card__price-block {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin: 0 0 1.2rem;
  flex-wrap: wrap;
}
.card__price {
  font-family: var(--sans);
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--offwhite);
  line-height: 1;
}
@media (max-width: 900px) {
  .card__price { font-size: 1.45rem; }
}
.card__price-note {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--offwhite-dim);
  font-weight: 400;
}
.card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  margin-top: auto;
}
.card__chip {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--offwhite-dim);
  background: rgba(11, 11, 13, 0.55);
  border: 1px solid var(--rule);
  padding: 0.42rem 0.7rem;
  white-space: nowrap;
}
.card__chip--used {
  background: rgba(11, 11, 13, 0.7);
  border-color: rgba(184, 188, 192, 0.32);
  color: var(--gold-light);
}
.card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  flex-wrap: wrap;
}
.card__cta {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--offwhite-dim);
  white-space: nowrap;
}
.inventory-card:hover .card__cta { color: var(--gold-light); }

/* ============================================================
   Sold card variant (Recently Sold archive)
============================================================ */
.inventory-card--sold {
  cursor: default;
  opacity: 0.78;
}
.inventory-card--sold:hover {
  transform: none;
  border-color: var(--rule);
}
.inventory-card--sold .car-photo {
  filter: grayscale(0.55) brightness(0.82);
}
.inventory-card--sold:hover .car-photo {
  transform: none;
}
.sold-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: rgba(11, 11, 13, 0.82);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
}
.card__price--sold {
  color: var(--offwhite-dim);
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
}

/* Corner SOLD ribbon — sits over the hero (or the photos-pending placeholder)
   on both the inventory card and the VDP. Clipped by .car-photo-wrap's
   overflow:hidden into a clean diagonal band. Charcoal-edged deep red so it
   reads as decisive without going clip-art. The solid background-color (not
   just the gradient) keeps the QA contrast gate able to measure the band. */
.sold-ribbon {
  position: absolute;
  top: 20px;
  right: -46px;
  z-index: 4;
  width: 170px;
  padding: 0.4rem 0;
  transform: rotate(45deg);
  text-align: center;
  background-color: #8e0e22;
  background-image: linear-gradient(135deg, #b3122b 0%, #7d0c1c 100%);
  border-top: 1px solid rgba(245, 242, 236, 0.28);
  border-bottom: 1px solid rgba(11, 11, 13, 0.45);
  color: #ffffff;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  text-indent: 0.32em;
  box-shadow: 0 2px 8px rgba(11, 11, 13, 0.4);
}
.car-photo-wrap.vdp .sold-ribbon {
  top: 26px;
  right: -42px;
  width: 200px;
  font-size: 0.7rem;
  padding: 0.5rem 0;
}
.empty-state {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--offwhite-dim);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  grid-column: 1 / -1;
}

/* ============================================================
   Footer
============================================================ */
.footer {
  background: var(--obsidian);
  border-top: 1px solid var(--rule);
  padding-block: var(--space-lg) var(--space-md);
  color: var(--offwhite-dim);
  font-size: 0.85rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: var(--space-md);
}
.footer__brand img { width: 200px; height: auto; margin-bottom: 1.2rem; }
.footer__brand h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--offwhite);
  margin: 0 0 0.4rem;
}
.footer__brand p { font-size: 0.85rem; color: var(--offwhite-dim); max-width: 30ch; }
.footer h4 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
  font-weight: 500;
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}
.footer ul a {
  color: var(--offwhite-dim);
  text-decoration: none;
}
.footer ul a:hover { color: var(--gold); }

.footer__legal {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--offwhite-dim);
}
.footer__legal a { color: var(--offwhite-dim); margin-left: 1rem; }
.footer__legal a:first-child { margin-left: 0; }

@media (max-width: 767px) {
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-md); }
  .footer__legal { flex-direction: column; }
  .footer__legal a { margin-left: 0; }
}

/* ============================================================
   Forms
============================================================ */
.form-grid {
  display: grid;
  gap: 1.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.form-input, .form-select, .form-textarea {
  background: transparent;
  border: 1px solid rgba(184, 188, 192, 0.25);
  color: var(--offwhite);
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  border-radius: 0;
  min-height: 44px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: block;
}
.form-field, .form-grid, .form-row { min-width: 0; }
.form-textarea { min-height: 140px; resize: vertical; width: 100%; max-width: 100%; }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(184, 188, 192, 0.1);
}
.form-select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%),
                    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 22px) center, calc(100% - 16px) center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(217, 212, 201, 0.4); }

/* Forms on cream sections (contact page) — dark text + dark borders */
.section--light .form-field label { color: var(--gold-deep); }
.section--light .form-input,
.section--light .form-select,
.section--light .form-textarea {
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--rule-light-strong);
  color: var(--text-dark);
}
.section--light .form-input:focus,
.section--light .form-select:focus,
.section--light .form-textarea:focus {
  border-color: var(--gold-muted);
  box-shadow: 0 0 0 3px rgba(122, 127, 133, 0.12);
}
.section--light .form-input::placeholder,
.section--light .form-textarea::placeholder { color: rgba(28, 26, 23, 0.4); }
.section--light .form-select {
  background-image: linear-gradient(45deg, transparent 50%, var(--gold-muted) 50%),
                    linear-gradient(135deg, var(--gold-muted) 50%, transparent 50%);
  background-position: calc(100% - 22px) center, calc(100% - 16px) center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  background-color: rgba(255, 255, 255, 0.55);
}
.section--light .muted { color: var(--text-dark-mute); }
.section--light .btn--ghost {
  border-color: var(--text-dark);
  color: var(--text-dark);
}
.section--light .btn--ghost:hover {
  background: var(--text-dark);
  color: var(--page-light);
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   VDP layout
============================================================ */
.vdp-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 999px) {
  .vdp-grid { grid-template-columns: 1fr; }
}

.vdp-gallery {
  display: grid;
  gap: 0.75rem;
}
.vdp-gallery .car-photo-wrap.vdp { aspect-ratio: 3 / 2; }
.vdp-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
.vdp-thumbs .car-photo-wrap {
  aspect-ratio: 4 / 3;
}

.vdp-section {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--rule);
}
.vdp-section h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 1rem; }
.vdp-narrative p {
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.7;
  font-weight: 300;
  color: var(--offwhite-dim);
}
.vdp-narrative p + p { margin-top: 1.1rem; }
.vdp-narrative em {
  color: var(--offwhite);
  font-style: italic;
}
.section--light .vdp-narrative p { color: var(--text-dark-soft); }
.section--light .vdp-narrative em { color: var(--text-dark); }
.section--light .vdp-narrative strong { color: var(--text-dark); }

.spec-table {
  width: 100%;
  border-collapse: collapse;
}
.spec-table th, .spec-table td {
  text-align: left;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.92rem;
}
.spec-table th {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--offwhite-dim);
  width: 40%;
}
.spec-table td { color: var(--offwhite); }

.vdp-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 1.75rem;
}
.vdp-sidebar .label { display: block; color: var(--gold); margin-bottom: 0.3rem; }
.vdp-sidebar h1,
.vdp-sidebar .vdp-sidebar__name {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--offwhite);
  letter-spacing: 0;
}
.vdp-backlink {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--offwhite-dim);
}
.vdp-backlink:hover { color: var(--gold); }
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.vdp-sidebar .price {
  font-family: var(--sans);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--gold);
  margin-bottom: 1.4rem;
  letter-spacing: 0.02em;
}
.vdp-sidebar .trust-list {
  list-style: none;
  margin: 1.4rem 0;
  padding: 1.4rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: grid;
  gap: 0.55rem;
  font-size: 0.85rem;
}
.vdp-sidebar .trust-list li::before {
  content: '✓ ';
  color: var(--gold);
  margin-right: 0.5rem;
}
.vdp-sidebar .signature {
  margin-top: 1.2rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--offwhite-dim);
}
.vdp-sidebar .signature strong {
  display: block;
  font-style: normal;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.6rem;
}

.vdp-cta-mobile {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.8rem 1rem env(safe-area-inset-bottom, 0.8rem);
  background: rgba(11, 11, 13, 0.96);
  border-top: 1px solid var(--rule);
  display: flex;
  gap: 0.6rem;
  z-index: 80;
}
.vdp-cta-mobile .btn { flex: 1; font-size: 0.66rem; padding: 0.85rem 0.6rem; }
@media (min-width: 1000px) {
  .vdp-cta-mobile { display: none; }
}

/* ============================================================
   About snippet + reviews
============================================================ */
.about-island {
  background: var(--offwhite);
  color: var(--text-dark);
  padding-block: var(--space-xl);
}
.about-island h2 { color: var(--text-dark); }
.about-island p { color: #3a3733; }
.about-island .eyebrow { color: #6e5c30; }
.about-island .about-stat__num { color: #6e5c30; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}
@media (max-width: 767px) {
  .about-grid { grid-template-columns: 1fr; gap: var(--space-md); }
  .about-island { padding-block: var(--space-lg); }
}
.about-stat {
  display: flex;
  gap: 1.2rem;
  align-items: baseline;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(28, 26, 23, 0.15);
}
.about-stat__num {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 400;
  color: var(--gold-muted);
  line-height: 1;
}
.about-stat__label {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6a6258;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1023px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .reviews-grid { grid-template-columns: 1fr; gap: 1.1rem; }
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.review-card .stars { color: var(--gold); letter-spacing: 0.15em; font-size: 0.9rem; }
.review-card blockquote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--offwhite);
}
.review-card .byline {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--offwhite-dim);
}

/* ============================================================
   Contact / map
============================================================ */
/* 2×2 layout: row 1 = form | car photo, row 2 = signage | details tile.
   align-items: stretch makes each row's two cells share a height, so the car
   photo matches the form and the signage matches the tile beside it. */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: stretch;
}
@media (max-width: 999px) {
  .contact-grid { grid-template-columns: 1fr; }
}
/* Euro Gallery portrait signage — bottom-left, sized to match the Visit-by-
   appointment tile beside it (it stretches to the row height). */
.contact-sign {
  margin: 0;
  border: 1px solid var(--rule);
  overflow: hidden;
  background: var(--obsidian);
  border-radius: 4px;
}
.contact-sign img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  object-position: center 28%;
  filter: brightness(0.97) saturate(1.03);
}
.section--light .contact-sign { border-color: var(--rule-light-strong); }
/* Map pulled full-width below the grid, centred and larger */
.contact-map-wrap { margin-top: var(--space-lg); }
.map-frame.contact-map {
  aspect-ratio: auto;
  height: clamp(420px, 42vw, 480px);
}
@media (max-width: 999px) {
  .contact-sign img { min-height: 300px; }
  .map-frame.contact-map { height: 380px; }
}
.contact-meta {
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 1.75rem;
}
.contact-meta dl { display: grid; gap: 1.1rem; margin: 0; }
.contact-meta dt {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.contact-meta__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--gold);
}
.contact-meta dd {
  margin: 0;
  padding-left: calc(18px + 0.55rem);
  color: var(--offwhite);
}
.contact-meta a { color: var(--offwhite); text-decoration: none; }
.contact-meta a:hover { color: var(--gold); }

/* contact-meta on cream sections — cream paper card with dark text */
.section--light .contact-meta {
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--rule-light-strong);
}
.section--light .contact-meta dt { color: var(--gold-deep); }
.section--light .contact-meta__icon { color: var(--gold-deep); }
.section--light .contact-meta dd,
.section--light .contact-meta a { color: var(--text-dark); }
.section--light .contact-meta a:hover { color: var(--gold-muted); }
.section--light .map-frame { border-color: var(--rule-light-strong); }

/* Contact aside photo card — adds visual weight + showroom context */
.contact-photo {
  position: relative;
  margin: 0;
  border: 1px solid var(--rule);
  overflow: hidden;
  background: var(--obsidian);
  border-radius: 4px;
}
.contact-photo img {
  width: 100%;
  height: 100%;
  /* Sits beside the enquiry form (row 1) and stretches to its height. */
  min-height: 300px;
  object-fit: cover;
  /* Source is a tall 1200×1600 portrait. The car sits high in the frame, so
     bias the crop toward the top to keep the car (not the floor) in view. */
  object-position: center 18%;
  display: block;
}
.contact-photo figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.1rem 1.25rem 1rem;
  background: linear-gradient(180deg, rgba(11, 11, 13, 0) 0%, rgba(11, 11, 13, 0.85) 100%);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.contact-photo__eyebrow {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-photo__title {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--offwhite);
  letter-spacing: 0.01em;
}
.section--light .contact-photo { border-color: var(--rule-light-strong); }

.map-frame {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--rule);
  filter: grayscale(0.5) contrast(1.05) brightness(0.85);
}

/* ============================================================
   Stub VDP block
============================================================ */
.stub-block {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  border: 1px solid var(--rule);
  margin-block: var(--space-md);
}
.stub-block h2 { margin-bottom: 0.6rem; }
.stub-block p { max-width: 56ch; margin: 0 auto 1.5rem; }
.stub-block .btn-row { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   Page hero (about/contact)
============================================================ */
.page-hero {
  padding-top: calc(var(--header-h) + var(--space-xl));
  padding-bottom: var(--space-lg);
  text-align: center;
}
@media (max-width: 767px) {
  .page-hero {
    padding-top: calc(var(--header-h) + 1.5rem);
    padding-bottom: 2rem;
  }
}
.page-hero .eyebrow { color: var(--gold); }
.page-hero.section--light .eyebrow { color: var(--gold-deep); }
.page-hero h1 {
  max-width: 22ch;
  margin: 0 auto 1rem;
}

/* Inventory hero — refined masthead: italic display + gold diamond flourish */
.page-hero--feature h1 {
  font-style: italic;
  font-size: clamp(2.5rem, 7.5vw, 5.75rem);
  letter-spacing: -0.015em;
  margin-bottom: 0;
}
.hero-flourish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.95rem;
  width: 240px;
  max-width: 62%;
  margin: 1.15rem auto 0;
}
.hero-flourish::before,
.hero-flourish::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
}
.hero-flourish::before { background: linear-gradient(to right, transparent, var(--gold-muted)); }
.hero-flourish::after  { background: linear-gradient(to left,  transparent, var(--gold-muted)); }
.hero-flourish i {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  background: var(--gold-muted);
  transform: rotate(45deg);
}
@media (max-width: 767px) {
  .hero-flourish { width: 180px; margin-top: 0.9rem; }
}
.page-hero .lede {
  max-width: 56ch;
  margin: 0 auto;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--offwhite-dim);
}
/* page-hero on cream pages — text reads dark */
.page-hero.section--light .lede { color: var(--text-dark-soft); }

/* About page — intro beside Where-we-are + map (two columns) */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
  text-align: left;
}
.about-hero-grid h1 { max-width: 16ch; margin: 0 0 1rem; }
.about-hero-grid .lede { max-width: 48ch; margin: 0; }
/* Narrative body now sits under the lede in the left column; map stays right */
.about-hero-body { max-width: 52ch; margin-top: 1.5rem; }
.about-hero-body p + p { margin-top: 1rem; }
.about-hero-where h2 { margin: 0 0 1.25rem; max-width: 18ch; }
.about-hero-where .map-frame { aspect-ratio: 4 / 3; margin-bottom: 1.25rem; }
@media (max-width: 859px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-md);
  }
  .about-hero-grid h1 { max-width: 22ch; margin-inline: auto; }
  .about-hero-grid .lede { max-width: 56ch; margin-inline: auto; }
  .about-hero-body { max-width: 56ch; margin-inline: auto; }
  .about-hero-where h2 { max-width: none; margin-inline: auto; }
  .about-hero-where .map-frame { aspect-ratio: 16 / 10; }
}
/* About hero — same refined masthead as inventory (italic display + gold diamond
   flourish), but column-aware: left-aligned on desktop, centred on mobile. */
.about-hero-intro h1 { font-style: italic; letter-spacing: -0.015em; }
.about-hero-intro .hero-flourish { margin: 0.35rem 0 1.35rem; max-width: 220px; }
@media (max-width: 859px) {
  .about-hero-intro .hero-flourish { margin-inline: auto; }
}
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-slow) var(--ease-smooth),
              transform var(--dur-slow) var(--ease-smooth);
  will-change: opacity, transform;
}
.reveal.revealed {
  opacity: 1;
  transform: none;
}

.inventory-grid .inventory-card.reveal:nth-child(1) { transition-delay: 0ms; }
.inventory-grid .inventory-card.reveal:nth-child(2) { transition-delay: 80ms; }
.inventory-grid .inventory-card.reveal:nth-child(3) { transition-delay: 160ms; }
.inventory-grid .inventory-card.reveal:nth-child(4) { transition-delay: 240ms; }
.inventory-grid .inventory-card.reveal:nth-child(5) { transition-delay: 320ms; }
.inventory-grid .inventory-card.reveal:nth-child(6) { transition-delay: 400ms; }

.trust-strip .trust-item.reveal:nth-child(1) { transition-delay: 0ms; }
.trust-strip .trust-item.reveal:nth-child(2) { transition-delay: 80ms; }
.trust-strip .trust-item.reveal:nth-child(3) { transition-delay: 160ms; }
.trust-strip .trust-item.reveal:nth-child(4) { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Reviews carousel — editorial testimonials on dark
============================================================ */
.section--reviews {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(184, 188, 192, 0.04) 0%, transparent 60%),
    var(--obsidian);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.section-head--centred {
  text-align: center;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--space-md);
}
.section-head--centred h2 { max-width: none; }
.reviews-source {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.6rem 0 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--offwhite-dim);
}
.reviews-source-stars {
  display: inline-flex;
  gap: 1px;
  color: var(--gold);
}

.testimonial-carousel {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 8px;
}
.testimonial-viewport {
  overflow: hidden;
  border-radius: 4px;
}
.testimonial-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  transition: transform 480ms cubic-bezier(.4, .0, .2, 1);
  will-change: transform;
}
.testimonial-slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: 0 4px;
  box-sizing: border-box;
}
.testimonial {
  background: linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(184, 188, 192, 0.18);
  border-radius: 4px;
  padding: 2.4rem 2.2rem 2rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  position: relative;
  min-height: 280px;
  box-sizing: border-box;
}
.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 0.3rem;
  right: 1.5rem;
  font-family: var(--serif);
  font-size: 5.5rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.18;
  font-weight: 400;
}
.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--gold);
}
.testimonial blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.55;
  color: var(--offwhite);
  font-weight: 300;
  letter-spacing: 0;
  font-style: italic;
}
.testimonial blockquote p { margin: 0; }
.testimonial figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  color: var(--offwhite-dim);
  font-family: var(--sans);
  font-size: 0.8rem;
  margin-top: auto;
  padding-top: 0.5rem;
}
.testimonial figcaption strong {
  color: var(--offwhite);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}
.testimonial figcaption span {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.75;
}

/* Carousel nav arrows */
.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(11,11,13,0.85);
  border: 1px solid rgba(184, 188, 192, 0.35);
  color: var(--offwhite);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms ease;
  z-index: 2;
  padding: 0;
}
.testimonial-nav:hover,
.testimonial-nav:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--obsidian);
  transform: translateY(-50%) scale(1.05);
}
.testimonial-nav:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.testimonial-nav-prev { left: -12px; }
.testimonial-nav-next { right: -12px; }

@media (min-width: 900px) {
  .testimonial-nav { display: inline-flex; }
  .testimonial-nav-prev { left: -60px; }
  .testimonial-nav-next { right: -60px; }
}

/* Carousel dots */
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.5rem;
}
.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(184, 188, 192, 0.25);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
}
.testimonial-dot:hover,
.testimonial-dot:focus-visible {
  background: rgba(184, 188, 192, 0.55);
  transform: scale(1.2);
  outline: none;
}
.testimonial-dot.is-active {
  background: var(--gold);
  transform: scale(1.3);
}

@media (max-width: 767px) {
  .testimonial { padding: 1.8rem 1.5rem 1.5rem; min-height: auto; }
  .testimonial::before { font-size: 4rem; right: 1rem; top: 0.2rem; }
  .testimonial blockquote { font-size: 1rem; line-height: 1.5; }
  .section--reviews { padding-block: 3.5rem; }
}

/* ───────────────────────────────────────────────────────────
   SERVICE TRIO — three offer cards under the hero
   ─────────────────────────────────────────────────────────── */
.service-trio {
  padding: 5rem 0 4.5rem;
  background: var(--bg);
  border-bottom: 1px solid rgba(217, 212, 201, 0.06);
}
/* Light variant — cream paper backdrop, dark obsidian cards (inverted contrast) */
.service-trio.section--light {
  background: var(--page-light);
  border-bottom-color: rgba(28, 26, 23, 0.08);
}
.service-trio.section--light .service-card {
  background: var(--obsidian);
  border-color: rgba(217, 212, 201, 0.10);
  color: var(--offwhite);
  box-shadow: 0 18px 44px -26px rgba(11, 11, 13, 0.5);
}
.service-trio.section--light .service-card:hover {
  background: var(--obsidian);
  border-color: var(--gold);
  box-shadow: 0 26px 56px -22px rgba(11, 11, 13, 0.65);
}
.service-trio.section--light .service-card h3 { color: var(--offwhite); }
.service-trio.section--light .service-card p { color: var(--offwhite-dim); }
.service-trio.section--light .service-card__icon {
  color: var(--gold);
  border-color: rgba(212, 175, 110, 0.35);
}
.service-trio.section--light .service-card__cta { color: var(--gold); }
.service-trio.section--light .service-card:hover .service-card__cta { color: var(--gold-light); }
.service-trio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.service-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 2.2rem 1.8rem 2rem;
  background: rgba(217, 212, 201, 0.025);
  border: 1px solid rgba(217, 212, 201, 0.09);
  border-radius: 4px;
  text-decoration: none;
  color: var(--offwhite);
  transition: border-color 240ms ease, transform 240ms ease, background 240ms ease;
}
.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  background: rgba(217, 212, 201, 0.04);
}
.service-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--gold);
  border: 1px solid rgba(212, 175, 110, 0.35);
  border-radius: 50%;
  margin-bottom: 0.4rem;
}
.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--offwhite);
  margin: 0;
  line-height: 1.2;
}
.service-card p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--offwhite-dim);
  margin: 0;
}
.service-card__cta {
  margin-top: auto;
  padding-top: 0.5rem;
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 200ms ease;
}
.service-card:hover .service-card__cta { color: var(--gold-light); }

@media (max-width: 900px) {
  /* Service trio section absorbed into hero sublinks on mobile — hide the entire slab.
     The two distinct intents (Source / Trade) live as tight text links under the hero CTAs;
     "Browse current stock" is redundant with the View Current Collection hero CTA. */
  .service-trio { display: none; }
}

/* ───────────────────────────────────────────────────────────
   HERO SUBLINKS — quiet text links under the CTAs.
   Visible at ALL viewport widths so the Source / Trade paths
   are always reachable directly from the hero — on bigger
   desktop widths they used to disappear, leaving only the two
   primary CTAs visible above the fold.
   ─────────────────────────────────────────────────────────── */
.hero__sublinks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem 0.9rem;
  margin-top: 1.1rem;
  font-size: 0.95rem;
  line-height: 1.3;
}
.hero__sublinks a {
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.005em;
  /* Glass pill so these read clearly over the video, matching the hero CTA. */
  background: rgba(11, 11, 13, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0.5rem 0.95rem;
  transition: color 200ms ease, background 200ms ease;
}
.hero__sublinks a:hover,
.hero__sublinks a:focus-visible {
  color: var(--obsidian);
  background: var(--gold);
}
/* Separator dot is redundant now the sublinks are pills — gap handles spacing. */
.hero__sublinks-sep { display: none; }

@media (max-width: 900px) {
  .hero__sublinks {
    gap: 0.35rem 0.7rem;
    margin-top: 1rem;
    font-size: 0.92rem;
  }
}

/* ───────────────────────────────────────────────────────────
   CLOSING CTA — cream band at the bottom of the home page,
   right before the footer. Final "ready to enquire" call so
   the page doesn't end on dark reviews into a cold footer.
   ─────────────────────────────────────────────────────────── */
.section--closing-cta {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(184, 188, 192, 0.08) 0%, transparent 60%),
    var(--page-light-warm);
  padding: 5rem 0 5.5rem;
  border-top: 1px solid var(--rule-light);
  text-align: center;
}
.closing-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.closing-cta__eyebrow {
  color: var(--gold-deep);
}
.closing-cta__headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--text-dark);
  max-width: 22ch;
  margin: 0;
}
.closing-cta__lede {
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--text-dark-soft);
  max-width: 56ch;
  margin: 0;
}
.closing-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.8rem;
}

@media (max-width: 600px) {
  .section--closing-cta { padding: 3.5rem 0 4rem; }
  .closing-cta__lede { font-size: 0.97rem; }
  .closing-cta__actions { width: 100%; flex-direction: column; align-items: stretch; }
  .closing-cta__actions .btn { width: 100%; }
}

/* ───────────────────────────────────────────────────────────
   BRAND SHOWCASE — gallery wall: cream surface, premium pucks,
   golden aura halo on each marque (breaks the dark slab and
   gives the specialty section the "luxury showroom" treatment)
   ─────────────────────────────────────────────────────────── */
.brand-showcase {
  padding: 4.5rem 0 4rem;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(184, 188, 192, 0.06) 0%, transparent 55%),
    var(--page-light-warm);
  text-align: center;
  border-top: 1px solid var(--rule-light);
  border-bottom: 1px solid var(--rule-light);
}
.brand-showcase__eyebrow {
  color: var(--gold-deep);
  display: block;
  margin-bottom: 1.6rem;
  letter-spacing: 0.18em;
}
/* Legacy inline marque list (kept for fallback) */
.brand-showcase__marques {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.4rem 2rem;
  margin-bottom: 1.2rem;
}
.brand-marque {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--offwhite);
}
.brand-marque__sep {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  color: var(--gold);
  opacity: 0.65;
}

/* Brand marquee — precise official logos auto-scrolling
   (Apple/Stripe-style trust strip). Replaces the old 4-card
   grid + halo artwork — precise, restrained, premium. */
.brand-marquee {
  position: relative;
  max-width: 1080px;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  /* Soft fade at left + right edges so logos enter/exit gracefully */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.brand-marquee__track {
  display: flex;
  align-items: center;
  /* NO `gap` — gap places spacing only BETWEEN flex items, which means
     the trailing gap of the first set is missing. That creates a visible
     hop when translateX(-50%) wraps back to 0. We use margin-right on
     each logo instead so total track width = exactly 2× single-set width.
     Seamless infinite scroll. */
  width: max-content;
  animation: brand-marquee-scroll 38s linear infinite;
  will-change: transform;
}
.brand-marquee:hover .brand-marquee__track {
  animation-play-state: paused;
}
.brand-marquee__logo {
  flex-shrink: 0;
  height: 56px;
  width: auto;
  margin-right: 4.5rem;        /* replaces flex gap — see comment above */
  opacity: 0.92;
  /* Real brand marks render in their authentic colours (BMW blue/chrome,
     VW navy, Porsche crest, Mercedes/Audi flat) — no desaturation. */
  transition: opacity 0.3s ease, transform 0.4s var(--ease-smooth);
}
.brand-marquee__logo:hover {
  opacity: 1;
  transform: scale(1.06);
}
/* Per-marque height tuning so each logo reads at consistent
   visual weight despite different aspect ratios. */
.brand-marquee__logo--bmw        { height: 62px; }
.brand-marquee__logo--mercedes   { height: 66px; }
.brand-marquee__logo--audi       { height: 38px; } /* 4 rings — tuned to match BMW visual weight */
.brand-marquee__logo--porsche    { height: 70px; } /* crest is taller, scale accordingly */
.brand-marquee__logo--volkswagen { height: 60px; }
.brand-marquee__logo--volvo      { height: 58px; }
.brand-marquee__logo--alfa       { height: 62px; } /* circular badge — matched to BMW roundel weight */

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

.brand-showcase__sub {
  font-size: 0.95rem;
  color: var(--text-dark-soft);
  font-style: italic;
  margin: 0;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

@media (prefers-reduced-motion: reduce) {
  .brand-marquee__track {
    animation: none;
    justify-content: center;
    flex-wrap: wrap;
  }
  .brand-marquee__logo {
    margin: 1.25rem 2rem;
  }
}

@media (max-width: 720px) {
  .brand-showcase { padding: 2.75rem 0 2.5rem; }
  .brand-showcase__marques { gap: 0.7rem 1.1rem; }
  .brand-marque__sep { display: none; }
  .brand-marquee {
    margin-bottom: 1.25rem;
  }
  .brand-marquee__track {
    animation-duration: 30s;
  }
  .brand-marquee__logo {
    margin-right: 2.75rem;
  }
  .brand-marquee__logo--bmw        { height: 46px; }
  .brand-marquee__logo--mercedes   { height: 50px; }
  .brand-marquee__logo--audi       { height: 28px; }
  .brand-marquee__logo--porsche    { height: 52px; }
  .brand-marquee__logo--volkswagen { height: 44px; }
  .brand-marquee__logo--volvo      { height: 44px; }
  .brand-marquee__logo--alfa       { height: 46px; }
}

/* ───────────────────────────────────────────────────────────
   SHOWCASE BREAK — full-bleed photo divider, parallax on desktop
   Pattern: breaks up stacked sections with a striking real-showroom
   photo + minimal centred text. Editorial spread-style divider.
   ─────────────────────────────────────────────────────────── */
.showcase-break {
  position: relative;
  isolation: isolate;
  min-height: clamp(360px, 52vh, 560px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0a0a0c;
}
.showcase-break__bg {
  position: absolute;
  inset: 0;
  background-image: url('/img/showroom-bmw-entrance.jpg');
  background-size: cover;
  background-position: center 55%;
  background-repeat: no-repeat;
  background-attachment: fixed; /* parallax on desktop */
  z-index: -2;
}
.showcase-break__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 11, 13, 0.55) 0%, rgba(11, 11, 13, 0.35) 50%, rgba(11, 11, 13, 0.7) 100%);
  z-index: -1;
}
.showcase-break__content {
  text-align: center;
  padding: 5rem 1rem;
  color: var(--offwhite);
}
.showcase-break__content .eyebrow { color: var(--gold); }
.showcase-break__headline {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.15;
  color: var(--offwhite);
  margin: 0.6rem 0 0.8rem;
  letter-spacing: -0.01em;
}
.showcase-break__sub {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--offwhite-dim);
  margin: 0 auto;
  max-width: 38ch;
}
@media (max-width: 900px) {
  .showcase-break {
    min-height: clamp(300px, 46vh, 440px);
  }
  .showcase-break__bg {
    /* fixed-attachment is jittery on iOS Safari and steals scroll perf —
       fall back to scroll on mobile, photo still does the visual break job */
    background-attachment: scroll;
    background-position: center center;
  }
  .showcase-break__content {
    padding: 3rem 1rem;
  }
}

/* ───────────────────────────────────────────────────────────
   EDITORIAL BLOCKS — three varied proportional treatments
   Block 1 (--overlay):    full-bleed image + glass card text bottom-left
   Block 2 (--asymmetric): 40/60 narrow-text-left, wide-image-right
   Block 3 (--stacked):    cinematic 21:9 image on top, caption below
   Each block uses a distinct visual relationship to break the
   text-beside-image pattern that's overused in luxury car retail.
   ─────────────────────────────────────────────────────────── */
.editorial {
  padding: 1rem 0 1rem;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 1px;
}

/* Shared image styling across variants */
.editorial__image {
  position: relative;
  overflow: hidden;
  background: #0a0a0c;
}
/* About-page feature image (portrait showroom signage) — centred, never stretched */
.about-feature {
  margin: 0 auto;
  max-width: 520px;
}
.about-feature img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  filter: brightness(0.96) saturate(1.03);
}
/* About — narrative text beside the showroom signage (portrait), integrated not dumped */
.about-story {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: stretch;
}
.about-story__text { margin: 0; align-self: center; }
.about-story__image {
  margin: 0;
  align-self: stretch;
}
.about-story__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 4px;
  filter: brightness(0.96) saturate(1.03);
}
@media (max-width: 760px) {
  .about-story {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  /* Stack: text first, image under it — image is DOM-first on desktop, so reorder */
  .about-story__text { order: 1; }
  .about-story__image { order: 2; }
  .about-story__image img { max-height: 380px; }
}
/* Finance page — intro text beside a feature car image; warranty CTA spacing */
.finance-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.finance-intro__text .btn { margin-top: 1.5rem; }
.finance-intro__image { margin: 0; }
.finance-intro__image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  filter: brightness(0.94) saturate(1.05);
}
.finance-block__cta { margin-top: 1.5rem; }
@media (max-width: 900px) {
  .finance-intro { grid-template-columns: 1fr; }
}
.editorial__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.92) saturate(1.05);
  transition: transform 800ms ease;
}
.editorial__block:hover .editorial__image img { transform: scale(1.03); }
.editorial__image--focus-top img {
  object-position: center 28% !important;
}

/* Shared content typography */
.editorial__content .eyebrow { color: var(--gold); }
.editorial__content h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.18;
  color: var(--offwhite);
  margin: 0;
  max-width: 22ch;
}
.editorial__content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--offwhite-dim);
  margin: 0;
  max-width: 52ch;
}
.editorial__content .btn { align-self: flex-start; margin-top: 0.4rem; }

/* ─── Variant 1: OVERLAY (Magazine cover) ───────────────────
   Full-bleed image, text floats as a glass card anchored
   bottom-left over a gradient. Block 1 (CLA).
   ─────────────────────────────────────────────────────────── */
.editorial__block--overlay {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 640px;
  overflow: hidden;
}
.editorial__block--overlay .editorial__image {
  position: absolute;
  inset: 0;
}
.editorial__block--overlay .editorial__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(11, 11, 13, 0.78) 0%,
    rgba(11, 11, 13, 0.42) 38%,
    rgba(11, 11, 13, 0.18) 65%,
    transparent 100%
  );
  pointer-events: none;
}
.editorial__block--overlay .editorial__content {
  position: absolute;
  left: clamp(1.5rem, 5vw, 4rem);
  bottom: clamp(1.5rem, 5vw, 3rem);
  max-width: 520px;
  padding: 1.8rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  background: rgba(11, 11, 13, 0.55);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border: 1px solid rgba(217, 212, 201, 0.12);
  border-radius: 4px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.55);
}
.editorial__block--overlay .editorial__content h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  max-width: 18ch;
}
.editorial__block--overlay .editorial__content p {
  font-size: 0.95rem;
  max-width: 42ch;
}

/* ─── Variant 2: ASYMMETRIC (narrow text, wide image) ───────
   40/60 split. Text is the smaller column on the left;
   image dominates the right. Different rhythm from a 50/50
   alternating split. Block 2 (X3).
   ─────────────────────────────────────────────────────────── */
.editorial__block--asymmetric {
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  align-items: stretch;
  min-height: 460px;
  max-height: 600px;
}
.editorial__block--asymmetric .editorial__image img {
  object-position: center 44%;
}
.editorial__block--asymmetric .editorial__content {
  padding: 2.4rem clamp(1.8rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.9rem;
  background: var(--obsidian);
  border-top: 1px solid rgba(217, 212, 201, 0.06);
  border-bottom: 1px solid rgba(217, 212, 201, 0.06);
  border-right: 1px solid rgba(217, 212, 201, 0.06);
}
.editorial__block--asymmetric .editorial__content h2 {
  max-width: 14ch;
}
.editorial__block--asymmetric .editorial__content p {
  max-width: 38ch;
}

/* ─── Variant 3: STACKED (cinematic image + tight caption) ──
   Full-width 21:9 image on top, centred caption below.
   Editorial spread / museum-plaque coded. Block 3 (Q5).
   ─────────────────────────────────────────────────────────── */
.editorial__block--stacked {
  display: flex;
  flex-direction: column;
  background: var(--obsidian);
}
.editorial__block--stacked .editorial__image {
  aspect-ratio: 16 / 9;
  width: 100%;
  max-height: 660px;
}
.editorial__block--stacked .editorial__image img {
  object-position: center 56%;
}
.editorial__block--stacked .editorial__content {
  padding: 2.6rem 1.5rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.7rem;
  border-top: 1px solid rgba(217, 212, 201, 0.08);
}
.editorial__block--stacked .editorial__content h2 {
  max-width: 22ch;
  text-align: center;
}
.editorial__block--stacked .editorial__content p {
  max-width: 56ch;
  text-align: center;
}
.editorial__block--stacked .editorial__content .btn {
  align-self: center;
}

/* ─── Mobile (≤ 900px) ──────────────────────────────────────
   Block 1 (overlay): keep overlay but lock aspect to 4:3 so
                      the glass card stays readable.
   Block 2 (asymmetric): collapse to image-on-top + text-below.
   Block 3 (stacked):  already vertical, just tighten paddings.
   ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .editorial__block--overlay {
    aspect-ratio: 4 / 3;
    max-height: none;
  }
  .editorial__block--overlay .editorial__image::after {
    /* On phone, gradient comes from the bottom up so the card
       sits on a darker base — diagonal gradient doesn't read
       at narrow widths. */
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(11, 11, 13, 0.35) 45%,
      rgba(11, 11, 13, 0.82) 100%
    );
  }
  .editorial__block--overlay .editorial__content {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: none;
    padding: 1.3rem 1.4rem;
  }
  .editorial__block--overlay .editorial__content h2 {
    font-size: 1.4rem;
  }
  .editorial__block--overlay .editorial__content p {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .editorial__block--asymmetric {
    grid-template-columns: 1fr;
    min-height: 0;
    max-height: none;
  }
  .editorial__block--asymmetric .editorial__image {
    aspect-ratio: 11 / 10;
    order: 1;
  }
  .editorial__block--asymmetric .editorial__image img {
    object-position: center 23%;
  }
  .editorial__block--asymmetric .editorial__content {
    order: 2;
    padding: 2rem 1.4rem 2.4rem;
    border-right: none;
  }
  .editorial__block--asymmetric .editorial__content h2,
  .editorial__block--asymmetric .editorial__content p {
    max-width: none;
  }

  .editorial__block--stacked .editorial__image {
    aspect-ratio: 16 / 10;
    max-height: none;
  }
  .editorial__block--stacked .editorial__content {
    padding: 2rem 1.4rem 2.4rem;
  }
}

/* ============================================================
   Inventory card carousel (multi-photo cars)
   Migrated from components.css 2026-05-19 — main.css is the only
   stylesheet loaded by pages, components.css was a dead duplicate.
============================================================ */
.inv-carousel {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface);
}
.inv-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.55s var(--ease-smooth);
  will-change: transform;
}
.inv-slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
}
.inv-slide .car-photo-wrap {
  aspect-ratio: auto;
  width: 100%;
  height: 100%;
}
.inv-overlay-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  text-decoration: none;
}
.inv-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(184, 188, 192, 0.5);
  background: rgba(11, 11, 13, 0.7);
  backdrop-filter: blur(4px);
  color: var(--offwhite);
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  opacity: 0.85;
  transition: opacity var(--dur-mid), background var(--dur-mid);
  padding: 0;
}
.inv-arrow:hover { background: rgba(11, 11, 13, 0.9); border-color: var(--gold); opacity: 1; }
.inv-arrow--prev { left: 0.85rem; }
.inv-arrow--next { right: 0.85rem; }
.inventory-card:hover .inv-arrow,
.inventory-card:focus-within .inv-arrow { opacity: 1; }
.inv-dots {
  position: absolute;
  bottom: 0.9rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  z-index: 3;
  pointer-events: none;
}
.inv-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(217, 212, 201, 0.4);
  border: 1px solid rgba(11, 11, 13, 0.55);
  transition: background var(--dur-mid), transform var(--dur-mid);
  pointer-events: auto;
  cursor: pointer;
  padding: 0;
}
.inv-dot.is-active {
  background: var(--gold);
  transform: scale(1.25);
}

/* ============================================================
   VDP gallery interactive — clickable hero + thumbs (singular)
============================================================ */
.vdp-hero-btn {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  background: none;
  border: 0;
  cursor: zoom-in;
  position: relative;
}
.vdp-hero-btn::after {
  content: '⤢';
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(11, 11, 13, 0.65);
  border: 1px solid rgba(184, 188, 192, 0.35);
  color: var(--offwhite);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--dur-mid);
  pointer-events: none;
}
.vdp-hero-btn:hover::after,
.vdp-hero-btn:focus-visible::after { opacity: 1; }
.vdp-hero-btn .car-photo {
  transition: transform 0.5s var(--ease-smooth);
}
.vdp-hero-btn:hover .car-photo { transform: scale(1.02); }
.vdp-thumb {
  display: block;
  padding: 0;
  margin: 0;
  background: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--dur-mid), opacity var(--dur-mid);
  opacity: 0.7;
}
.vdp-thumb:hover { opacity: 1; }
.vdp-thumb.is-active {
  border-color: var(--gold);
  opacity: 1;
}
.vdp-thumb .car-photo-wrap {
  aspect-ratio: 4 / 3;
}

/* ============================================================
   VDP lightbox (full-screen zoom view, click-to-zoom)
============================================================ */
.vdp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(11, 11, 13, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  overflow: hidden;
}
.vdp-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.vdp-lightbox__viewport {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  cursor: zoom-in;
  -webkit-overflow-scrolling: touch;
}
.vdp-lightbox__viewport.is-zoomed { cursor: zoom-out; }
.vdp-lightbox__img {
  max-width: 95vw;
  max-height: 92vh;
  object-fit: contain;
  user-select: none;
  transition: transform 0.3s var(--ease-smooth);
  transform-origin: center center;
  pointer-events: none;
}
.vdp-lightbox__viewport.is-zoomed .vdp-lightbox__img {
  max-width: none;
  max-height: none;
  transform: scale(2.2);
}
.vdp-lightbox__close,
.vdp-lightbox__prev,
.vdp-lightbox__next {
  position: absolute;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(184, 188, 192, 0.4);
  background: rgba(11, 11, 13, 0.7);
  color: var(--offwhite);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
  padding: 0;
  transition: background var(--dur-mid), border-color var(--dur-mid);
}
.vdp-lightbox__close:hover,
.vdp-lightbox__prev:hover,
.vdp-lightbox__next:hover {
  background: rgba(11, 11, 13, 0.9);
  border-color: var(--gold);
}
.vdp-lightbox__close { top: 1.25rem; right: 1.25rem; font-size: 1.6rem; }
.vdp-lightbox__prev  { top: 50%; left: 1.25rem;  transform: translateY(-50%); }
.vdp-lightbox__next  { top: 50%; right: 1.25rem; transform: translateY(-50%); }
.vdp-lightbox__counter {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--offwhite-dim);
  background: rgba(11, 11, 13, 0.7);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(184, 188, 192, 0.25);
}
body.lightbox-open { overflow: hidden; }
