/* =========================================================================
   Tyneline Automotive
   Style: Aerra (GetLayers), re-dressed from the Porcelain Cobalt palette.

   Aerra's contract, honoured here:
     · The ground is light and never flips. Every dark area is a photograph.
     · Hierarchy is SIZE, never weight. Baskervville is a single weight, so it
       has no choice; Manrope stays at 300/400/500 and nothing else.
     · Surfaces are glass, not panels: one material used three ways.
     · Rules are one hairline at 10% ink. Shadows do not exist.
     · One solid action pill. Here it is petrol blue, and the footer slab is
       the same colour, so the page has exactly one solid.
     · Blur is part of the reveal, not decoration.
     · NEVER put opacity or a filter on an ancestor of a glass surface — it
       establishes a backdrop root and the material silently disappears.
   ========================================================================= */

/* ---------- tokens ---------- */

:root {
  /* ground + surfaces */
  --bg: #f6f3ec;
  --bg-alt: #efebe2;
  --surface: #f1eee6;
  --surface-raised: #faf8f3;
  --tile: #eeeae1;

  /* glass — the one material, three strengths */
  --glass: rgba(241, 238, 230, 0.8);
  --glass-blur: 10px;
  --glass-panel: rgba(250, 248, 243, 0.85);
  --glass-panel-blur: 37.5px;

  /* ink — petrol blue */
  --ink: #12313e;
  --ink-muted: #4a626d;
  --ink-subtle: #56666e; /* 5.4:1 on ivory, 4.9:1 on the flat #eeeae1 surface */
  --ink-invert: #f6f3ec;
  --ink-invert-muted: rgba(246, 243, 236, 0.66);

  /* brushed aluminium */
  --metal: #b9bdbd;
  --metal-dark: #9aa2a4;

  /* the one rationed accent */
  --accent: #b5551e;
  --accent-ink: #ffffff;
  --accent-wash: rgba(181, 85, 30, 0.08);

  /* hairline */
  --line: rgba(18, 49, 62, 0.1);
  --line-strong: rgba(18, 49, 62, 0.18);
  --line-invert: rgba(246, 243, 236, 0.16);

  /* type */
  --display: 'Baskervville', ui-serif, Georgia, 'Times New Roman', serif;
  --body: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* shape */
  --r-sm: 6px;
  --r: 8px;
  --r-lg: 10px;

  /* motion — Aerra's springs, expressed as curves */
  --t-fast: 150ms;
  --t: 300ms;
  --t-slow: 700ms;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --ease-block: cubic-bezier(0.16, 1, 0.3, 1);   /* 120 / 26 */
  --ease-label: cubic-bezier(0.22, 1, 0.36, 1);  /* 170 / 24 */

  /* rhythm */
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --measure: 68ch;
  --max: 1440px;
  --band: clamp(4.5rem, 10vw, 9rem);
}

/* ---------- reset ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video, svg, iframe { display: block; max-width: 100%; }
img, video { height: auto; }

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

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

a { color: inherit; text-decoration-color: var(--line-strong); text-underline-offset: 0.22em; }
a:hover { text-decoration-color: currentColor; }

ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

/* Several components set `display`, which outranks the UA's [hidden] rule.
   The filter chrome and the form states rely on `hidden` meaning hidden. */
[hidden] { display: none !important; }

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

::selection { background: var(--ink); color: var(--bg); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: fixed; top: 0; left: 0; z-index: 200;
  transform: translateY(-120%);
  background: var(--ink); color: var(--ink-invert);
  padding: 0.75rem 1.25rem; border-radius: 0 0 var(--r) 0;
  text-decoration: none; font-size: 0.875rem; font-weight: 500;
  transition: transform var(--t-fast) var(--ease-label);
}
.skip-link:focus { transform: translateY(0); }

/* =========================================================================
   Layout primitives
   ========================================================================= */

.main { display: block; }

.section-pad { padding: var(--band) var(--gutter); }

.crumbs {
  padding: 1.75rem var(--gutter) 0;
  font-size: 0.8125rem;
  color: var(--ink-subtle);
}
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.crumbs li + li::before { content: '/'; margin-right: 0.5rem; color: var(--metal); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.pic { display: block; position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--tile); }
.pic > img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: var(--pic-ratio, 16 / 11); }

/* =========================================================================
   The one solid: the action pill
   48px tall · 8px radius · 40px arrow tile
   Hover is three things at once — a 1px lift, two arrows crossing, and a
   skewed sheen sweeping the width over 700ms.
   ========================================================================= */

.pill-action {
  --pa-bg: var(--ink);
  --pa-fg: var(--ink-invert);
  position: relative;
  display: inline-flex; align-items: center; gap: 0.75rem;
  height: 48px; padding: 0 6px 0 1.25rem;
  background: var(--pa-bg); color: var(--pa-fg);
  border: 0; border-radius: var(--r);
  font-size: 0.9375rem; font-weight: 500; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer;
  overflow: hidden; isolation: isolate;
  transition: transform var(--t) var(--ease-label), background var(--t) var(--ease);
}
.pill-action::after {
  content: ''; position: absolute; inset: 0 auto 0 -60%;
  width: 45%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.16), transparent);
  transform: skewX(-18deg); translate: 0 0;
  transition: translate var(--t-slow) var(--ease);
}
.pill-action:hover { transform: translateY(-1px); }
.pill-action:hover::after { translate: 380% 0; }
.pill-action:active { transform: translateY(0); }

.pill-action__label { white-space: nowrap; }

.pill-action__tile {
  position: relative;
  display: grid; place-items: center;
  width: 40px; height: 36px; flex: none;
  border-radius: var(--r-sm);
  background: var(--pa-fg); color: var(--pa-bg);
  overflow: hidden;
}
.pill-action__tile svg { width: 16px; height: 16px; grid-area: 1 / 1; transition: translate var(--t) var(--ease-label); }
.pill-action__tile svg:first-child { translate: 0 0; }
.pill-action__tile svg:last-child { translate: -140% 0; }
.pill-action:hover .pill-action__tile svg:first-child { translate: 140% 0; }
.pill-action:hover .pill-action__tile svg:last-child { translate: 0 0; }

.pill-action--ghost {
  --pa-bg: transparent; --pa-fg: var(--ink);
  border: 1px solid var(--line-strong);
}
.pill-action--ghost .pill-action__tile { background: var(--ink); color: var(--bg); }
.pill-action--ghost:hover { background: var(--tile); }

.pill-action--invert { --pa-bg: var(--ink-invert); --pa-fg: var(--ink); }

.pill-action--sm { height: 42px; font-size: 0.875rem; padding-left: 1rem; }
.pill-action--sm .pill-action__tile { width: 34px; height: 32px; }

.link-button {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: none; border: 0; padding: 0;
  font-size: 0.9375rem; font-weight: 500; color: var(--ink);
  cursor: pointer; text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.link-button:hover { border-color: currentColor; }

/* pills / chips */
.pill {
  display: inline-flex; align-items: center;
  height: 26px; padding: 0 0.7rem;
  border-radius: 999px;
  font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.pill--accent { background: var(--accent); color: var(--accent-ink); }
.pill--quiet { background: var(--glass); backdrop-filter: blur(var(--glass-blur)); color: var(--ink); border: 1px solid var(--line); }

/* UK number plate */
.plate {
  display: inline-flex; align-items: stretch;
  border-radius: 4px; overflow: hidden;
  border: 1px solid rgba(0,0,0,0.25);
  font-family: var(--body);
  background: #f5d000;
  line-height: 1;
}
.plate__band {
  display: grid; place-items: center;
  width: 1.55em; background: #063298; color: #fff; padding: 0.15em;
}
.plate__band svg { width: 100%; height: auto; }
.plate__reg {
  padding: 0.3em 0.5em; color: #111;
  font-weight: 700; font-size: 1.05em; letter-spacing: 0.06em;
}
.plate--sm { font-size: 0.8125rem; }
.plate--md { font-size: 0.9375rem; }

.tick { color: var(--ink); font-weight: 500; }
.tick::before { content: '✓ '; color: var(--accent); }

/* =========================================================================
   Masthead — altitude-hero puts the mark between two link groups
   ========================================================================= */

.masthead {
  position: sticky; top: 0; z-index: 90;
  background: var(--glass);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--line);
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease);
}
.masthead--overlay {
  position: fixed; inset: 0 0 auto;
  background: transparent; border-color: var(--line-invert);
  color: var(--ink-invert);
}
.masthead--overlay.is-stuck {
  background: var(--glass);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-color: var(--line);
  color: var(--ink);
}

.masthead__inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.nav {
  display: none;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  min-height: 72px;
}
.nav__group { display: flex; gap: 1.75rem; }
.nav__group--right { justify-content: flex-end; }
.nav__link {
  font-size: 0.875rem; font-weight: 400;
  text-decoration: none; white-space: nowrap;
  position: relative; padding-block: 0.4rem;
  opacity: 0.82;
  transition: opacity var(--t-fast) var(--ease);
}
.nav__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  scale: 0 1; transform-origin: left;
  transition: scale var(--t) var(--ease-label);
}
.nav__link:hover { opacity: 1; }
.nav__link:hover::after, .nav__link.is-current::after { scale: 1 1; }
.nav__link.is-current { opacity: 1; font-weight: 500; }

.nav__mark { text-decoration: none; }

.mark { display: inline-flex; align-items: center; gap: 0.5rem; color: inherit; }
.mark__glyph { width: 26px; height: 26px; flex: none; }
.mark__word {
  font-family: var(--display); font-size: 1.3rem;
  letter-spacing: 0.02em; line-height: 1;
}

.masthead__mobile {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px;
}
.nav-toggle {
  display: grid; place-items: center;
  width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; cursor: pointer;
}
.nav-toggle__bars { display: grid; gap: 6px; width: 20px; }
.nav-toggle__bars span { height: 1.5px; background: currentColor; transition: transform var(--t) var(--ease-label), opacity var(--t) var(--ease); }
.nav-toggle[aria-expanded='true'] .nav-toggle__bars span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle__bars span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-nav {
  border-top: 1px solid var(--line);
  padding: 1rem var(--gutter) 1.75rem;
  background: var(--surface-raised);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav nav { display: grid; }
.mobile-nav__link {
  padding: 0.9rem 0; border-bottom: 1px solid var(--line);
  text-decoration: none; font-size: 1.0625rem;
}
.mobile-nav__link[aria-current='page'] { font-weight: 500; }
.mobile-nav__foot { display: grid; gap: 1rem; padding-top: 1.5rem; justify-items: start; }
.mobile-nav__tel { font-family: var(--display); font-size: 1.5rem; text-decoration: none; }

@media (min-width: 1000px) {
  .nav { display: grid; }
  .masthead__mobile, .mobile-nav { display: none; }
}

/* =========================================================================
   Hero — composition: altitude-hero
   One full-bleed media frame is the whole screen. Two full-height hairlines
   rule it into thirds and carry on across the glass rail rather than stopping
   at it. Everything else is pushed hard to the top or bottom edge.
   ========================================================================= */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  isolation: isolate;
  color: var(--ink-invert);
  overflow: hidden;
}

.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__video, .hero__still {
  width: 100%; height: 100%; object-fit: cover;
}
.hero__still { position: absolute; inset: 0; }
.hero__video { position: relative; }
.hero__video[data-ready] + .hero__still { opacity: 0; transition: opacity 600ms var(--ease); }

/* A light wash, not a flat plate — the picture must stay a picture. */
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, rgba(10,28,36,0.42) 0%, rgba(10,28,36,0.16) 30%, rgba(10,28,36,0.28) 62%, rgba(10,28,36,0.62) 100%);
}

.hero__rules {
  position: absolute; inset: 72px 0 0; z-index: 1;
  display: flex; justify-content: space-between;
  padding: 0 max(var(--gutter), 18%);
  pointer-events: none;
}
.hero__rules span { width: 1px; background: var(--line-invert); }

.hero__band {
  position: relative; z-index: 2;
  width: min(100% - (var(--gutter) * 2), 54rem);
  margin: 0 auto;
  padding: 7rem 0 3rem;
  text-align: center;
}

.hero__headline {
  font-size: clamp(2.6rem, 6.4vw, 4.5rem);
  line-height: 1;
  margin-bottom: 1.5rem;
}
.hero__line { display: block; }
/* Aerra: a headline dims its own opening so the second half lands. */
.hero__line--dim { color: var(--ink-invert-muted); }

.hero__sub {
  max-width: 44ch; margin: 0 auto 2.25rem;
  font-size: clamp(0.9375rem, 0.9rem + 0.3vw, 1.0625rem);
  font-weight: 300;
  color: rgba(246, 243, 236, 0.88);
}

/* altitude-cta — the enquiry capsule */
.capsule {
  display: flex; align-items: center; gap: 0;
  width: min(100%, 34rem); margin: 0 auto;
  padding: 6px 6px 6px 1.25rem;
  background: rgba(246, 243, 236, 0.14);
  backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  border: 1px solid var(--line-invert);
  border-radius: 999px;
  text-align: left;
}
.capsule__field { flex: 1; min-width: 0; }
.capsule__label {
  display: block; font-size: 0.625rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(246,243,236,0.6); margin-bottom: 1px;
}
.capsule__control { position: relative; display: flex; align-items: center; }
.capsule__control select {
  appearance: none; -webkit-appearance: none;
  width: 100%; padding: 0 1.25rem 0 0;
  background: none; border: 0; color: var(--ink-invert);
  font: inherit; font-size: 0.9375rem; font-weight: 500;
  cursor: pointer; text-overflow: ellipsis;
}
.capsule__control select option { color: var(--ink); background: var(--bg); }
.capsule__control svg { position: absolute; right: 0.35rem; width: 14px; height: 14px; pointer-events: none; opacity: 0.7; }
.capsule__divider { width: 1px; align-self: stretch; margin: 0 1rem; background: var(--line-invert); }
.capsule__go {
  display: inline-flex; align-items: center; gap: 0.6rem;
  height: 46px; padding: 0 1.25rem; flex: none;
  background: var(--ink-invert); color: var(--ink);
  border: 0; border-radius: 999px;
  font-size: 0.9375rem; font-weight: 500; cursor: pointer;
  transition: background var(--t) var(--ease);
}
.capsule__go svg { width: 15px; height: 15px; transition: translate var(--t) var(--ease-label); }
.capsule__go:hover svg { translate: 3px 0; }

/* altitude-stats — the base rail */
.hero__rail {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: clamp(1rem, 4vw, 3rem);
  padding: 1.5rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom));
  background: rgba(10, 28, 36, 0.28);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-top: 1px solid var(--line-invert);
}
.hero__rail-flank { display: grid; gap: 0.15rem; }
.hero__rail-flank--right { text-align: right; }
.hero__figure {
  font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem); line-height: 0.9;
}
.hero__figure-label {
  font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(246,243,236,0.62);
}
.hero__rail-centre { text-align: center; max-width: 40rem; margin: 0 auto; }
.hero__rail-title { font-size: 0.875rem; font-weight: 500; margin-bottom: 0.4rem; }
.hero__rail-dot { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--accent); margin-bottom: 0.5rem; }
.hero__rail-pitch {
  font-size: 0.8125rem; font-weight: 300; line-height: 1.5;
  color: rgba(246,243,236,0.74); margin: 0;
}

@media (max-width: 860px) {
  .hero__rules { display: none; }
  .hero__band { padding-top: 6rem; }
  .capsule { flex-wrap: wrap; border-radius: var(--r-lg); padding: 1rem; gap: 0.75rem; }
  .capsule__field { flex: 1 1 42%; }
  .capsule__divider { display: none; }
  .capsule__go { width: 100%; justify-content: center; }
  .hero__rail { grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; }
  .hero__rail-centre { grid-column: 1 / -1; order: -1; text-align: left; }
  .hero__rail-flank--right { text-align: left; }
  .hero__rail-pitch { display: none; }
}

/* =========================================================================
   Featured / catalogue grid — composition: marcus-vane-ventures
   Two equal columns, the second dropped by roughly half a card, so the eye
   zig-zags. The offset IS the composition; an even grid flattens it.
   ========================================================================= */

.featured, .catalogue, .similar { padding: var(--band) var(--gutter); max-width: var(--max); margin: 0 auto; }

.featured__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 2rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.featured__eyebrow, .catalogue__eyebrow, .split__eyebrow, .duo__eyebrow, .findus__eyebrow,
.phead__eyebrow, .statement__eyebrow, .gallery__eyebrow {
  font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-subtle); margin-bottom: 0.9rem;
}
.featured__heading, .catalogue__heading {
  font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 0.98;
}
.featured__count {
  font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.14em; color: var(--ink-subtle);
  margin: 0; white-space: nowrap;
}

.featured__grid, .catalogue__grid, .similar__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 3rem);
}
/* the dropped column */
.featured__grid > *:nth-child(even),
.catalogue__grid > *:nth-child(even) { margin-top: clamp(2.5rem, 6vw, 6rem); }

.featured__foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem;
  margin-top: clamp(3rem, 7vw, 5rem);
  padding-top: 2rem; border-top: 1px solid var(--line);
}
.featured__foot-note { font-size: 0.875rem; color: var(--ink-muted); margin: 0; }

/* ---------- vehicle card ---------- */

.vcard { position: relative; }
.vcard__link { display: block; text-decoration: none; color: inherit; }

.vcard__media { position: relative; overflow: hidden; border-radius: var(--r-lg); }
.vcard__media .pic { border-radius: var(--r-lg); }
.vcard__media img {
  transition: scale var(--t-slow) var(--ease-block), filter var(--t-slow) var(--ease-block);
}
.vcard__link:hover .vcard__media img { scale: 1.025; }
.vcard--flagged .vcard__media img { filter: saturate(0.82); }

.vcard__flag { position: absolute; top: 0.9rem; left: 0.9rem; }

.vcard__rule { height: 1px; background: var(--line); margin: 1.25rem 0 1rem; }

.vcard__caption {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1.5rem;
}
.vcard__lede { min-width: 0; }
.vcard__title { display: grid; gap: 0.15rem; }
.vcard__make { font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.12; }
.vcard__variant {
  font-family: var(--body); font-size: 0.8125rem; font-weight: 400;
  color: var(--ink-muted); letter-spacing: 0;
}
.vcard__blurb {
  margin: 0.6rem 0 0; font-size: 0.875rem; font-weight: 300;
  color: var(--ink-muted); max-width: 42ch;
}

.vcard__meta { text-align: right; flex: none; display: grid; gap: 0.1rem; }
.vcard__meta-label {
  font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-subtle);
}
.vcard__price { font-family: var(--display); font-size: clamp(1.25rem, 1.9vw, 1.65rem); line-height: 1.1; }
.vcard__price-was, .vcard__finance { font-size: 0.75rem; color: var(--ink-subtle); }

.vcard__line {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem;
  margin: 1rem 0 0; padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-subtle);
}

@media (max-width: 760px) {
  .featured__grid, .catalogue__grid, .similar__grid { grid-template-columns: 1fr; }
  .featured__grid > *:nth-child(even), .catalogue__grid > *:nth-child(even) { margin-top: 0; }
  .vcard__caption { flex-direction: column; gap: 0.85rem; }
  .vcard__meta { text-align: left; }
}

/* =========================================================================
   Catalogue head + filters — composition: creative-director-portfolio
   ========================================================================= */

.catalogue__head {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
  align-items: end;
}
.catalogue__intro { max-width: 46ch; display: grid; gap: 1.5rem; justify-items: start; }
.catalogue__intro p { font-weight: 300; color: var(--ink-muted); margin: 0; }
.catalogue__divider { height: 1px; background: var(--line); margin: clamp(2rem, 5vw, 3.5rem) 0 0; }

@media (min-width: 900px) {
  .catalogue__head { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.filters { padding: 1.75rem 0 0; }
.filters__form { display: grid; gap: 1rem; }
.filters__row {
  display: grid; gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.filters__row--sub { grid-template-columns: 1fr; }
@media (min-width: 700px) {
  .filters__row--sub { grid-template-columns: 2fr 1fr; }
}

.filter { display: grid; gap: 0.35rem; min-width: 0; }
.filter--grow { min-width: 0; }
.filter__label {
  font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-subtle);
}
.filter__control { position: relative; display: flex; align-items: center; }
.filter__control select, .filter__control input {
  appearance: none; -webkit-appearance: none;
  width: 100%; height: 44px; padding: 0 2.25rem 0 0.9rem;
  background: var(--surface-raised); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  font: inherit; font-size: 0.9375rem;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.filter__control select:hover, .filter__control input:hover { border-color: var(--line-strong); }
.filter__control > svg {
  position: absolute; right: 0.8rem; width: 15px; height: 15px;
  pointer-events: none; color: var(--ink-subtle);
}
.filter__control--search > svg { left: 0.8rem; right: auto; }
.filter__control--search input { padding-left: 2.35rem; padding-right: 0.9rem; }
.filter__control input[type='search']::-webkit-search-cancel-button { filter: grayscale(1); }

.filters__status {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.85rem 1.25rem;
  padding: 1.5rem 0; margin-top: 0.5rem;
  border-top: 1px solid var(--line);
}
.filters__count { margin: 0; font-size: 0.875rem; color: var(--ink-muted); }
.filters__count strong { font-weight: 600; color: var(--ink); }
.filters__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.45rem;
  height: 30px; padding: 0 0.5rem 0 0.75rem;
  background: var(--tile); border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.75rem; font-weight: 500; cursor: pointer;
}
.chip button, .chip__x {
  display: grid; place-items: center; width: 16px; height: 16px;
  background: none; border: 0; cursor: pointer; color: var(--ink-subtle);
}
.chip:hover .chip__x { color: var(--ink); }

/* loading + empty states */
.loading { display: none; grid-template-columns: repeat(2, 1fr); gap: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 3rem); padding-top: 1rem; }
.loading[data-active] { display: grid; }
.loading__media { aspect-ratio: 16 / 11; border-radius: var(--r-lg); }
.loading__rule { height: 1px; background: var(--line); margin: 1.25rem 0 1rem; }
.loading__line { height: 0.75rem; border-radius: 3px; margin-bottom: 0.6rem; }
.shimmer {
  background: linear-gradient(100deg, var(--tile) 28%, var(--surface-raised) 42%, var(--tile) 56%);
  background-size: 300% 100%;
  animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -150% 0; } }
@media (max-width: 760px) { .loading { grid-template-columns: 1fr; } }

.empty { padding: clamp(3rem, 8vw, 6rem) 0; }
.empty[hidden] { display: none; }
.empty__inner {
  max-width: 44ch; margin: 0 auto; text-align: center;
  display: grid; gap: 1rem; justify-items: center;
}
.empty__glyph { width: 56px; height: 56px; color: var(--metal); }
.empty__title { font-size: clamp(1.5rem, 3vw, 2rem); }
.empty__body { color: var(--ink-muted); font-weight: 300; margin: 0; }
.empty__actions { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; justify-content: center; margin-top: 0.5rem; }

/* =========================================================================
   Statement band — composition: artist-statement
   Three left-aligned things and a great deal of air.
   ========================================================================= */

.statement {
  padding: var(--band) var(--gutter);
  border-block: 1px solid var(--line);
  background: var(--bg-alt);
}
.statement__inner { max-width: var(--max); margin: 0 auto; }
.statement__passage {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.3vw, 2.6rem);
  line-height: 1.2; letter-spacing: -0.012em;
  max-width: 26ch; margin: 0 0 1.75rem;
}
@media (min-width: 900px) { .statement__passage { max-width: 34ch; } }
.statement__signature {
  font-family: var(--display); font-style: italic;
  font-size: 1rem; color: var(--ink-muted); margin: 0;
}

/* =========================================================================
   Process rail — composition: helion-timeline
   A pinned heading over a horizontal rail of evenly-pitched stations on one
   shared baseline.
   ========================================================================= */

.rail { padding: var(--band) 0; }
.rail__head { max-width: var(--max); margin: 0 auto 2.75rem; padding: 0 var(--gutter); }
.rail__heading { font-size: clamp(1.9rem, 4vw, 3rem); max-width: 18ch; }
.rail__lede { margin: 1.25rem 0 0; max-width: 52ch; color: var(--ink-muted); font-weight: 300; }

.rail__scroller {
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  padding-bottom: 1rem;
}
.rail__track {
  display: flex; gap: clamp(1.5rem, 3vw, 2.75rem);
  padding: 0 var(--gutter);
  min-width: min-content;
}
.rail__station {
  flex: 0 0 min(78vw, 20rem);
  scroll-snap-align: start;
  display: grid; align-content: start; gap: 0.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  position: relative;
}
.rail__tick {
  position: absolute; top: -1px; left: 0;
  width: 2rem; height: 2px; background: var(--ink);
}
.rail__index {
  font-family: var(--display); font-size: 1rem; color: var(--ink-subtle);
}
.rail__title { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
.rail__body { font-size: 0.9375rem; font-weight: 300; color: var(--ink-muted); margin: 0.25rem 0 0; }
.rail__hint {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-subtle);
}
@media (min-width: 1100px) { .rail__hint { display: none; } }

/* =========================================================================
   Reviews — composition: marcus-vane-voices
   ========================================================================= */

.voices { padding: var(--band) var(--gutter); max-width: var(--max); margin: 0 auto; }
.voices__head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.voices__heading { font-size: clamp(1.9rem, 4vw, 3rem); }
.voices__lede { margin: 1rem 0 0; color: var(--ink-muted); font-weight: 300; }

.voices__body { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .voices__body { grid-template-columns: 17rem 1fr; gap: clamp(2.5rem, 5vw, 5rem); } }

.voices__index { border-top: 1px solid var(--line); }
.voices__pick {
  display: grid; grid-template-columns: auto 1fr; gap: 0 0.85rem;
  width: 100%; padding: 1rem 0; text-align: left;
  background: none; border: 0; border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: opacity var(--t-fast) var(--ease);
  opacity: 0.55;
}
.voices__pick:hover { opacity: 0.85; }
.voices__pick.is-active { opacity: 1; }
.voices__num {
  grid-row: 1 / 3; font-family: var(--display);
  font-size: 0.8125rem; color: var(--ink-subtle); padding-top: 0.2rem;
}
.voices__name { font-size: 1rem; font-weight: 500; }
.voices__town { font-size: 0.8125rem; color: var(--ink-subtle); }
.voices__pick.is-active .voices__num { color: var(--accent); }

.voices__panels { min-height: 16rem; }
.voices__panel[hidden] { display: none; }
.voices__quote { margin: 0 0 2rem; }
.voices__quote p {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.6vw, 1.95rem);
  line-height: 1.28; max-width: 30ch; margin: 0;
}
.voices__quote p::before { content: '\201C'; }
.voices__quote p::after { content: '\201D'; }
.voices__attrib { display: grid; gap: 0.4rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.voices__who { margin: 0; font-size: 0.9375rem; }
.voices__what { margin: 0; font-size: 0.8125rem; color: var(--ink-subtle); }

.stars { display: inline-flex; gap: 2px; margin-bottom: 0.35rem; }
.stars svg { width: 14px; height: 14px; fill: var(--metal); }
.stars svg.is-on { fill: var(--accent); }

/* =========================================================================
   FAQ — composition: artist-faq (4 | 8)
   ========================================================================= */

.faq { padding: var(--band) var(--gutter); max-width: var(--max); margin: 0 auto; display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .faq { grid-template-columns: 1fr 2fr; gap: clamp(2.5rem, 5vw, 5rem); } }
.faq__heading { font-size: clamp(1.75rem, 3.4vw, 2.5rem); max-width: 14ch; }
.faq__lede { margin: 1rem 0 0; color: var(--ink-muted); font-weight: 300; font-size: 0.9375rem; }

.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem;
  width: 100%; padding: 1.4rem 0; cursor: pointer;
  font-family: var(--display); font-size: clamp(1.0625rem, 1.7vw, 1.35rem);
  line-height: 1.25; list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__glyph { position: relative; flex: none; width: 14px; height: 14px; margin-top: 0.35rem; }
.faq__glyph::before, .faq__glyph::after {
  content: ''; position: absolute; inset: 50% 0 auto; height: 1.5px; background: currentColor;
  transition: rotate var(--t) var(--ease-label), opacity var(--t) var(--ease);
}
.faq__glyph::after { rotate: 90deg; }
.faq__item[open] .faq__glyph::after { rotate: 0deg; opacity: 0; }
.faq__a { padding-bottom: 1.5rem; max-width: 62ch; color: var(--ink-muted); font-weight: 300; }

/* =========================================================================
   Vehicle page
   ========================================================================= */

.vhero {
  display: grid; gap: 2rem;
  padding: 2rem var(--gutter) var(--band);
  max-width: var(--max); margin: 0 auto;
}
@media (min-width: 1000px) {
  .vhero { grid-template-columns: 1.35fr 1fr; gap: clamp(2.5rem, 4vw, 4rem); align-items: start; }
}

.vhero__media { position: relative; }
.vhero__flag { position: absolute; top: 1rem; left: 1rem; }
.vhero__expand {
  position: absolute; right: 1rem; bottom: 1rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
  height: 38px; padding: 0 0.9rem;
  background: var(--glass-panel);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.8125rem; font-weight: 500; cursor: pointer;
}
.vhero__expand svg { width: 14px; height: 14px; }

.vhero__panel { display: grid; gap: 1.25rem; align-content: start; }
.vhero__eyebrow {
  font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-subtle); margin: 0;
}
.vhero__title { display: grid; gap: 0.3rem; }
.vhero__make { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.02; }
.vhero__variant {
  font-family: var(--body); font-size: 0.9375rem; font-weight: 400;
  color: var(--ink-muted); letter-spacing: 0;
}
.vhero__headline { font-weight: 300; color: var(--ink-muted); margin: 0; max-width: 40ch; }

.vhero__price {
  display: grid; gap: 0.3rem;
  padding: 1.25rem 0; border-block: 1px solid var(--line);
}
.vhero__price-value { font-family: var(--display); font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1; }
.vhero__price-was { font-size: 0.8125rem; color: var(--ink-subtle); }
.vhero__price-finance { font-size: 0.8125rem; color: var(--ink-muted); }

.vhero__facts {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.5rem; margin: 0;
}
@media (min-width: 560px) { .vhero__facts { grid-template-columns: repeat(3, 1fr); } }
.kf { display: grid; gap: 0.15rem; }
.kf__label {
  font-size: 0.625rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-subtle);
}
.kf__value { margin: 0; font-size: 0.9375rem; font-weight: 500; }

.vhero__plate { margin: 0; }

.vhero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.vhero__call { font-size: 0.875rem; color: var(--ink-muted); margin: 0; }

.vhero__assurances {
  display: grid; gap: 0.6rem; padding-top: 1.25rem; border-top: 1px solid var(--line);
  font-size: 0.875rem; color: var(--ink-muted);
}
.vhero__assurances li { display: flex; gap: 0.6rem; }
.vhero__assurances li::before { content: '—'; color: var(--metal); flex: none; }

.notice {
  padding: 1.1rem 1.25rem; border-radius: var(--r);
  border: 1px solid var(--line); background: var(--surface-raised);
  display: grid; gap: 1rem; justify-items: start;
  font-size: 0.9375rem;
}
.notice p { margin: 0; }
.notice--accent { border-color: rgba(181,85,30,0.28); background: var(--accent-wash); }

/* ---------- gallery — artist-works ---------- */

.gallery { padding: var(--band) var(--gutter); max-width: var(--max); margin: 0 auto; }
.gallery__head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.gallery__heading { font-size: clamp(1.9rem, 4.2vw, 3.25rem); }
.gallery__heading em { font-style: italic; }

.gallery__field { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0; }
.gallery__plate { margin: 0; grid-column: 1 / span 7; }
.gallery__plate:nth-child(even) { grid-column: 6 / span 7; margin-top: clamp(-6rem, -8vw, -3rem); }
.gallery__plate:nth-child(n + 2) { margin-top: clamp(2rem, 5vw, 4rem); }
.gallery__plate:nth-child(even) { margin-top: clamp(3rem, 8vw, 7rem); }

.gallery__btn { display: block; width: 100%; padding: 0; background: none; border: 0; cursor: zoom-in; }
.gallery__btn .pic img { transition: scale var(--t-slow) var(--ease-block); }
.gallery__btn:hover .pic img { scale: 1.02; }

.gallery__cap {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding-top: 0.85rem; margin-top: 0.85rem; border-top: 1px solid var(--line);
  font-size: 0.8125rem; color: var(--ink-muted);
}
.gallery__cap-index { font-family: var(--display); color: var(--ink-subtle); }

@media (max-width: 760px) {
  .gallery__field { grid-template-columns: 1fr; }
  .gallery__plate, .gallery__plate:nth-child(even) { grid-column: 1; margin-top: 2rem; }
  .gallery__plate:first-child { margin-top: 0; }
}

/* ---------- lightbox ---------- */

.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; }
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(9, 24, 31, 0.94); border: 0; }
.lightbox__frame {
  position: relative; display: grid;
  grid-template-columns: auto 1fr auto; align-items: center;
  gap: 1rem; padding: clamp(1rem, 4vw, 3rem);
  width: 100%; height: 100%;
}
.lightbox__stage { display: grid; place-items: center; min-width: 0; min-height: 0; }
.lightbox__stage img {
  max-width: 100%; max-height: calc(100svh - 9rem);
  width: auto; height: auto; object-fit: contain; border-radius: var(--r);
}
.lightbox__close, .lightbox__nav {
  display: grid; place-items: center;
  width: 46px; height: 46px; flex: none;
  background: rgba(246,243,236,0.1); color: var(--ink-invert);
  border: 1px solid var(--line-invert); border-radius: 50%;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(246,243,236,0.2); }
.lightbox__close { position: absolute; top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); z-index: 2; }
.lightbox__close svg, .lightbox__nav svg { width: 18px; height: 18px; }
.lightbox__count {
  position: absolute; left: 50%; bottom: clamp(1rem, 3vw, 2rem); translate: -50% 0;
  margin: 0; font-size: 0.8125rem; color: rgba(246,243,236,0.7);
}

/* ---------- description / spec / features ---------- */

.vdesc, .spec, .features, .vfinance { padding: var(--band) var(--gutter); max-width: var(--max); margin: 0 auto; }
.vdesc { border-top: 1px solid var(--line); }
.vdesc__heading, .spec__heading, .features__heading, .vfinance__heading {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}
.vdesc__divider, .spec__divider { height: 1px; background: var(--line); margin: 1.5rem 0 clamp(2rem, 4vw, 3rem); }
.vdesc__body { max-width: 62ch; font-weight: 300; font-size: 1.0625rem; }
.vdesc__body p { margin-bottom: 1.35em; }
.vdesc__sign { font-family: var(--display); font-style: italic; color: var(--ink-muted); }

.spec__body { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 1000px) { .spec__body { grid-template-columns: 1fr 2fr; } }
.spec__lead { display: grid; gap: 1.25rem; align-content: start; justify-items: start; }
.spec__lead-text { font-family: var(--display); font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.3; margin: 0; }
.spec__lead-note { font-size: 0.875rem; color: var(--ink-muted); margin: 0; }

.spec__lists { display: grid; gap: clamp(2rem, 4vw, 3rem); }
@media (min-width: 680px) { .spec__lists { grid-template-columns: repeat(2, 1fr); } }
.spec__list-heading {
  font-family: var(--body); font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-subtle);
  padding-bottom: 0.85rem; border-bottom: 1px solid var(--line-strong); margin-bottom: 0.25rem;
}
.spec__dl { margin: 0; }
.spec-row {
  display: grid; grid-template-columns: 1fr; gap: 0.1rem;
  padding: 0.8rem 0; border-bottom: 1px solid var(--line);
}
@media (min-width: 480px) { .spec-row { grid-template-columns: 11rem 1fr; gap: 1rem; } }
.spec-row__term { font-size: 0.8125rem; color: var(--ink-subtle); }
.spec-row__value { margin: 0; font-size: 0.9375rem; }
.spec-note { display: block; margin-top: 0.3rem; font-size: 0.8125rem; color: var(--ink-muted); font-weight: 300; }

.features { border-top: 1px solid var(--line); }
.features__grid { display: grid; gap: clamp(2rem, 4vw, 3rem); }
@media (min-width: 680px) { .features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .features__grid { grid-template-columns: repeat(4, 1fr); } }
.features__group-heading {
  font-family: var(--body); font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-subtle);
  padding-bottom: 0.85rem; border-bottom: 1px solid var(--line-strong); margin-bottom: 1rem;
}
.features__list { display: grid; gap: 0.7rem; font-size: 0.9375rem; font-weight: 300; }
.features__list li { display: flex; gap: 0.6rem; }
.features__list li::before { content: '—'; color: var(--metal); flex: none; }

/* ---------- finance ---------- */

.vfinance { border-top: 1px solid var(--line); display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 900px) { .vfinance { grid-template-columns: 1fr 1fr; align-items: start; } }
.vfinance__lede { font-weight: 300; color: var(--ink-muted); margin: 1.5rem 0; }
.vfinance__points { display: grid; gap: 0.7rem; margin-bottom: 1.75rem; font-size: 0.9375rem; color: var(--ink-muted); }
.vfinance__points li { display: flex; gap: 0.6rem; }
.vfinance__points li::before { content: '—'; color: var(--metal); flex: none; }

.finance {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--glass-panel);
  backdrop-filter: blur(var(--glass-panel-blur));
  -webkit-backdrop-filter: blur(var(--glass-panel-blur));
}
.finance__heading {
  font-family: var(--body); font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-subtle);
  margin-bottom: 1.25rem;
}
.finance__grid { margin: 0 0 1.5rem; }
.finance__grid > div {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: 0.7rem 0; border-bottom: 1px solid var(--line);
}
.finance__grid dt { font-size: 0.875rem; color: var(--ink-muted); }
.finance__grid dd { margin: 0; font-size: 0.9375rem; font-weight: 500; text-align: right; }
.finance__figure { font-family: var(--display); font-size: 1.35rem !important; font-weight: 400 !important; }
.finance__disclaimer { font-size: 0.75rem; line-height: 1.55; color: var(--ink-subtle); margin: 0; }

.finance-page { padding: var(--band) var(--gutter); max-width: var(--max); margin: 0 auto; display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 900px) { .finance-page { grid-template-columns: 1fr 1fr; align-items: start; } }
.finance-page__note-heading { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 1.25rem; }
.finance-page__note p { font-weight: 300; color: var(--ink-muted); }

/* ---------- similar ---------- */

.similar { border-top: 1px solid var(--line); }
.similar__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.5rem; }
.similar__heading { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }

/* =========================================================================
   Inner-page furniture
   ========================================================================= */

.phead {
  padding: clamp(3rem, 7vw, 6rem) var(--gutter) clamp(2rem, 5vw, 3.5rem);
  max-width: var(--max); margin: 0 auto;
}
.phead__heading { font-size: clamp(2.25rem, 5.5vw, 4.25rem); line-height: 0.98; max-width: 16ch; }
.phead__heading em { font-style: italic; color: var(--ink-muted); }
.phead__lede {
  margin: 1.75rem 0 0; max-width: 54ch;
  font-size: clamp(1rem, 0.96rem + 0.35vw, 1.1875rem); font-weight: 300; color: var(--ink-muted);
}

.split {
  display: grid; gap: clamp(2rem, 4vw, 4rem);
  padding: var(--band) var(--gutter); max-width: var(--max); margin: 0 auto;
  align-items: center;
}
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split--reverse .split__media { order: -1; }
@media (max-width: 899px) { .split--reverse .split__media { order: 0; } }
.split__heading { font-size: clamp(1.75rem, 3.4vw, 2.6rem); max-width: 18ch; margin-bottom: 1.5rem; }
.split__body { font-weight: 300; color: var(--ink-muted); max-width: 52ch; }
.split__list { display: grid; gap: 0.7rem; margin: 1.5rem 0; font-size: 0.9375rem; color: var(--ink-muted); }
.split__list li { display: flex; gap: 0.6rem; }
.split__list li::before { content: '—'; color: var(--metal); flex: none; }

.duo {
  display: grid; gap: clamp(2.5rem, 5vw, 4rem);
  padding: var(--band) var(--gutter); max-width: var(--max); margin: 0 auto;
  border-top: 1px solid var(--line);
}
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1px 1fr; gap: clamp(2.5rem, 5vw, 4.5rem); } }
.duo__divider { background: var(--line); }
@media (max-width: 899px) { .duo__divider { height: 1px; } }
.duo__heading { font-size: clamp(1.5rem, 2.8vw, 2.1rem); max-width: 16ch; margin-bottom: 1.25rem; }
.duo__body { font-weight: 300; color: var(--ink-muted); max-width: 46ch; }
.duo__list { display: grid; gap: 0.6rem; margin: 1.5rem 0; font-size: 0.875rem; color: var(--ink-muted); }
.duo__list li { display: flex; gap: 0.6rem; }
.duo__list li::before { content: '—'; color: var(--metal); flex: none; }

.cards { padding: var(--band) var(--gutter); max-width: var(--max); margin: 0 auto; border-top: 1px solid var(--line); }
.cards__head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.cards__heading { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.cards__lede { margin: 1rem 0 0; color: var(--ink-muted); font-weight: 300; max-width: 52ch; }
.cards__grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 680px) { .cards__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards__grid { grid-template-columns: repeat(4, 1fr); } }
.card { padding-top: 1.5rem; border-top: 1px solid var(--line-strong); }
.card__index { font-family: var(--display); font-size: 0.875rem; color: var(--ink-subtle); }
.card__title { font-size: 1.2rem; margin: 0.5rem 0 0.75rem; }
.card__body { font-size: 0.9375rem; font-weight: 300; color: var(--ink-muted); margin: 0; }

.prep-media { padding: 0 var(--gutter); max-width: var(--max); margin: 0 auto; }

.team { padding: var(--band) var(--gutter); max-width: var(--max); margin: 0 auto; border-top: 1px solid var(--line); }
.team__head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.team__heading { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.team__lede { margin: 1rem 0 0; color: var(--ink-muted); font-weight: 300; }
.team__grid { display: grid; gap: clamp(1.75rem, 3vw, 3rem); }
@media (min-width: 760px) { .team__grid { grid-template-columns: repeat(3, 1fr); } }
.member__media { margin-bottom: 1.25rem; }
.member__name { font-size: 1.3rem; }
.member__role { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-subtle); margin: 0.35rem 0 0.75rem; }
.member__body { font-size: 0.9375rem; font-weight: 300; color: var(--ink-muted); margin: 0; }

.findus {
  display: grid; gap: clamp(2rem, 4vw, 4rem);
  padding: var(--band) var(--gutter); max-width: var(--max); margin: 0 auto;
  border-top: 1px solid var(--line); align-items: center;
}
@media (min-width: 900px) { .findus { grid-template-columns: 1fr 1fr; } }
.findus__heading { font-size: clamp(1.75rem, 3.4vw, 2.6rem); margin-bottom: 1.25rem; }
.findus__body { font-weight: 300; color: var(--ink-muted); max-width: 46ch; }
.findus__address { font-style: normal; margin: 1.5rem 0 0.75rem; font-size: 0.9375rem; }
.findus__tel { margin-bottom: 1.75rem; }
.findus__tel a { font-family: var(--display); font-size: 1.5rem; text-decoration: none; }

.cta-band {
  padding: var(--band) var(--gutter); max-width: var(--max); margin: 0 auto;
  border-top: 1px solid var(--line);
  display: grid; gap: 1.25rem; justify-items: start;
}
.cta-band__heading { font-size: clamp(1.75rem, 3.6vw, 2.75rem); max-width: 18ch; }
.cta-band__body { font-weight: 300; color: var(--ink-muted); max-width: 48ch; margin: 0; }

.prose { padding: 0 var(--gutter) var(--band); max-width: 72ch; margin: 0 auto; }
.prose h2 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); margin: 2.5rem 0 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-weight: 300; color: var(--ink-muted); }
.prose ul { display: grid; gap: 0.5rem; margin: 1rem 0; color: var(--ink-muted); font-weight: 300; }
.prose ul li { display: flex; gap: 0.6rem; }
.prose ul li::before { content: '—'; color: var(--metal); flex: none; }
.prose__updated { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--ink-subtle); }

.notfound {
  min-height: 62svh; display: grid; align-content: center; justify-items: start;
  gap: 1.25rem; padding: var(--band) var(--gutter); max-width: var(--max); margin: 0 auto;
}
.notfound__code { font-family: var(--display); font-size: clamp(4rem, 14vw, 9rem); line-height: 0.85; color: var(--metal); margin: 0; }
.notfound__heading { font-size: clamp(1.75rem, 4vw, 3rem); }
.notfound__body { font-weight: 300; color: var(--ink-muted); max-width: 44ch; margin: 0; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; margin-top: 0.5rem; }

/* =========================================================================
   Forms — Aerra's third surface: white at 85% over a 37.5px blur
   ========================================================================= */

.form-layout {
  display: grid; gap: clamp(2rem, 4vw, 3.5rem);
  padding: 0 var(--gutter) var(--band); max-width: var(--max); margin: 0 auto;
  align-items: start;
}
@media (min-width: 1000px) { .form-layout { grid-template-columns: 1.5fr 1fr; } }
.form-layout--single { max-width: 56rem; }
.form-layout--single .form { grid-column: 1 / -1; }

.form__panel {
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--glass-panel);
  backdrop-filter: blur(var(--glass-panel-blur));
  -webkit-backdrop-filter: blur(var(--glass-panel-blur));
}
.form__title { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.form__lede { margin: 1rem 0 2rem; font-weight: 300; color: var(--ink-muted); max-width: 52ch; }

.form__summary {
  padding: 1rem 1.25rem; margin-bottom: 1.75rem;
  border: 1px solid rgba(181,85,30,0.35); border-left-width: 3px;
  border-radius: var(--r-sm); background: var(--accent-wash);
}
.form__summary[hidden] { display: none; }
.form__summary-title { font-family: var(--body); font-size: 0.9375rem; font-weight: 600; margin-bottom: 0.5rem; }
.form__summary-list { display: grid; gap: 0.35rem; font-size: 0.875rem; }
.form__summary-list a { color: var(--accent); }

.form__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.field--full, .fieldset { grid-column: 1 / -1; }
.field--half { grid-column: span 1; }
@media (max-width: 620px) { .form__grid { grid-template-columns: 1fr; } .field--half { grid-column: 1 / -1; } }

.field { display: grid; gap: 0.4rem; min-width: 0; }
.fieldset { border: 0; padding: 0; margin: 0; }
.field__label { font-size: 0.8125rem; font-weight: 500; }
.field__optional { color: var(--ink-subtle); font-weight: 400; }
.field__hint { font-size: 0.8125rem; color: var(--ink-subtle); margin: 0; font-weight: 300; }

.field__input {
  width: 100%; min-height: 48px; padding: 0.7rem 0.9rem;
  background: var(--bg); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  font: inherit; font-size: 1rem;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.field__input--area { min-height: auto; resize: vertical; line-height: 1.5; }
.field__input:hover { border-color: var(--metal-dark); }
.field__input:focus { background: var(--surface-raised); }

.field__select { position: relative; display: flex; align-items: center; }
.field__select select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; cursor: pointer; }
.field__chevron { position: absolute; right: 0.9rem; width: 15px; height: 15px; pointer-events: none; color: var(--ink-subtle); }

.field__error { margin: 0; font-size: 0.8125rem; color: var(--accent); font-weight: 500; }
.field__error[hidden] { display: none; }
.field.is-invalid .field__input { border-color: var(--accent); background: var(--accent-wash); }

.radio-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.25rem; }
.radio { position: relative; display: inline-flex; align-items: center; gap: 0.55rem; cursor: pointer; }
.radio input { position: absolute; opacity: 0; width: 0; height: 0; }
/* The label sizes the control; the box is an absolute plate behind it. */
.radio__box {
  position: absolute; inset: 0; z-index: 0;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--bg);
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.radio__label {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center;
  height: 42px; padding: 0 1.1rem;
  font-size: 0.9375rem; white-space: nowrap;
  transition: color var(--t-fast) var(--ease);
}
.radio:hover .radio__box { border-color: var(--metal-dark); }
.radio input:checked + .radio__box { background: var(--ink); border-color: var(--ink); }
.radio input:checked ~ .radio__label { color: var(--ink-invert); }
.radio input:focus-visible + .radio__box { outline: 2px solid var(--accent); outline-offset: 3px; }

.check { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check__box {
  display: grid; place-items: center;
  width: 22px; height: 22px; margin-top: 1px;
  border: 1px solid var(--line-strong); border-radius: 4px;
  background: var(--bg); color: transparent;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.check__box svg { width: 14px; height: 14px; }
.check input:checked + .check__box { background: var(--ink); border-color: var(--ink); color: var(--ink-invert); }
.check input:focus-visible + .check__box { outline: 2px solid var(--accent); outline-offset: 3px; }
.check__label { font-size: 0.875rem; color: var(--ink-muted); font-weight: 300; }

.form__note { margin: 1.5rem 0 0; font-size: 0.8125rem; color: var(--ink-subtle); }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 2rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.form__reassure { margin: 0; font-size: 0.8125rem; color: var(--ink-subtle); max-width: 34ch; }

.form__done {
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 3.5vw, 2.75rem);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--glass-panel);
  backdrop-filter: blur(var(--glass-panel-blur));
  -webkit-backdrop-filter: blur(var(--glass-panel-blur));
  display: grid; gap: 1.25rem; justify-items: start;
}
.form__done[hidden] { display: none; }
/* VOLT feedback pattern: the accent signals errors and scarcity only, so a
   successful submission resolves in ink rather than borrowing the error hue. */
.form__done-glyph { width: 48px; height: 48px; color: var(--ink); }
.form__done-title { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.form__done-body { font-weight: 300; color: var(--ink-muted); max-width: 46ch; margin: 0; }

.form.is-sending .pill-action { opacity: 0.6; pointer-events: none; }
.form.is-sending .pill-action__tile svg { animation: nudge 900ms var(--ease) infinite; }
@keyframes nudge { 0%, 100% { translate: 0 0; } 50% { translate: 4px 0; } }

/* aside */
.aside { display: grid; gap: 1.25rem; align-content: start; }
.aside__block { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.aside__block--quiet { background: transparent; }
.aside__heading {
  font-family: var(--body); font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-subtle); margin-bottom: 1rem;
}
.aside__list { display: grid; gap: 0.7rem; font-size: 0.875rem; color: var(--ink-muted); font-weight: 300; }
.aside__list li { display: flex; gap: 0.6rem; }
.aside__list li::before { content: '—'; color: var(--metal); flex: none; }
.aside__body { font-size: 0.875rem; color: var(--ink-muted); font-weight: 300; }
.aside__note { margin-top: 1rem; font-size: 0.8125rem; color: var(--ink-subtle); }
.aside__tel { margin: 1rem 0 0; }
.aside__tel a { font-family: var(--display); font-size: 1.25rem; text-decoration: none; }

.hours { margin: 0; font-size: 0.875rem; }
.hours__row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; border-bottom: 1px solid var(--line); }
.hours__row:last-child { border-bottom: 0; }
.hours dt { color: var(--ink-muted); }
.hours dd { margin: 0; font-weight: 500; }
.hours__note { font-weight: 400; color: var(--ink-subtle); font-size: 0.75rem; }

/* contact */
.contact-grid {
  display: grid; gap: 1.25rem;
  padding: 0 var(--gutter) clamp(2rem, 4vw, 3rem); max-width: var(--max); margin: 0 auto;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card { padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); display: grid; gap: 1rem; align-content: start; }
.contact-card--quiet { background: transparent; }
.contact-card__heading { font-size: 1.3rem; }
.contact-card__address { font-style: normal; font-size: 0.9375rem; line-height: 1.7; }
.contact-card__body, .contact-card__note { font-size: 0.875rem; color: var(--ink-muted); font-weight: 300; margin: 0; }
.contact-card__dl { margin: 0; display: grid; gap: 0.85rem; }
.contact-card__dl > div { display: grid; gap: 0.15rem; }
.contact-card__dl dt { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-subtle); }
.contact-card__dl dd { margin: 0; font-size: 1rem; }

.map { padding: 0 var(--gutter) var(--band); max-width: var(--max); margin: 0 auto; }
.map__frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--tile); }
.map__frame iframe { width: 100%; height: clamp(300px, 46vw, 480px); border: 0; }
.map__caption { margin: 1rem 0 0; font-size: 0.8125rem; color: var(--ink-subtle); }

/* =========================================================================
   Footer — composition: lumora-footer
   A tonally inverted slab with rounded top corners, three rule-separated
   tiers, over an enormous wordmark bleeding off the bottom edge.
   ========================================================================= */

.footer { padding: 0; }
.footer__slab {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--ink-invert);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
/* When the page already ends on a petrol-blue band, rounded corners would
   show two slivers of ivory between the band and the footer. */
.main:has(> .dband:last-child) + .footer .footer__slab {
  border-radius: 0; border-top: 1px solid var(--line-invert);
}
.footer__inner { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.footer__cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.5rem 2rem; padding: clamp(2.5rem, 5.5vw, 4.25rem) 0;
  border-bottom: 1px solid var(--line-invert);
}
.footer__cta-heading { font-size: clamp(2rem, 4.6vw, 3.25rem); line-height: 1.04; display: grid; }
.footer__cta-dim { color: var(--ink-invert-muted); }

/* Brand and contact on the left, three link columns on the right. The link
   columns share one grid so their headings sit on a single line. */
.footer__bank {
  display: grid; gap: 2.25rem;
  padding: clamp(2.25rem, 4.5vw, 3.5rem) 0;
  border-bottom: 1px solid var(--line-invert);
}
@media (min-width: 900px) {
  .footer__bank { grid-template-columns: minmax(0, 1.25fr) minmax(0, 2.75fr); gap: clamp(2.5rem, 5vw, 5rem); }
}
.footer__mark { text-decoration: none; display: inline-block; margin-bottom: 0.9rem; }
.footer__tagline {
  font-family: var(--display); font-style: italic; font-size: 1.0625rem;
  color: var(--ink-invert-muted); margin: 0 0 1.25rem;
}
.footer__address {
  font-style: normal; font-size: 0.875rem; line-height: 1.7;
  color: var(--ink-invert-muted); margin: 0 0 1.25rem;
}
.footer__contact { display: grid; gap: 0.55rem; margin: 0; padding: 0; list-style: none; }
.footer__contact li { display: grid; grid-template-columns: 5.25rem minmax(0, 1fr); align-items: baseline; gap: 0.75rem; }
.footer__contact-label {
  font-size: 0.625rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-invert-muted);
}
.footer__contact a {
  font-size: 0.9375rem; text-decoration: none; color: var(--ink-invert);
  overflow-wrap: anywhere; padding-block: 0.2rem;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size var(--t-fast) var(--ease);
}
.footer__contact a:hover, .footer__contact a:focus-visible { background-size: 100% 1px; }

.footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; }
@media (min-width: 600px) { .footer__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.footer__col-heading {
  font-family: var(--body); font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-invert-muted);
  margin: 0 0 0.9rem; line-height: 1.3;
}
.footer__list { display: grid; gap: 0.15rem; margin: 0; padding: 0; list-style: none; font-size: 0.875rem; }
.footer__list a {
  display: inline-block; padding-block: 0.35rem;
  text-decoration: none; color: var(--ink-invert-muted);
  transition: color var(--t-fast) var(--ease);
}
.footer__list a:hover, .footer__list a:focus-visible { color: var(--ink-invert); }

/* The lowest row. Legal links first, so they are the easiest thing to find;
   the concept disclosure beside them, small and muted but at a contrast that
   still passes AA (about 5.7:1 on the petrol blue). */
.footer__legal {
  display: grid; gap: 1rem 3rem; align-items: baseline;
  padding: 1.5rem 0 0;
  font-size: 0.8125rem; color: var(--ink-invert-muted);
}
@media (min-width: 900px) { .footer__legal { grid-template-columns: auto minmax(0, 1fr); } }
.footer__legal-main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1.75rem; }
.footer__copy { margin: 0; }
.footer__legal-links { display: flex; flex-wrap: wrap; gap: 0 1.25rem; margin: 0; padding: 0; list-style: none; }
.footer__legal-links a { display: inline-block; padding-block: 0.3rem; color: var(--ink-invert); text-decoration: none; }
.footer__legal-links a:hover, .footer__legal-links a:focus-visible { text-decoration: underline; text-underline-offset: 0.2em; }

.footer__disclosure {
  margin: 0; max-width: 64ch;
  font-size: 0.75rem; line-height: 1.6; color: rgba(246, 243, 236, 0.62);
}
@media (min-width: 900px) { .footer__disclosure { justify-self: end; text-align: right; } }
.footer__disclosure a {
  color: var(--ink-invert); text-decoration: underline;
  text-decoration-color: rgba(246, 243, 236, 0.4); text-underline-offset: 0.2em;
}
.footer__disclosure a:hover, .footer__disclosure a:focus-visible { text-decoration-color: currentColor; }

/* The wordmark closes the slab in normal flow, under the legal row, so it can
   never collide with it. On wide screens the tail of the y bleeds off the
   bottom edge and the rest of the word reads whole; on phones the complete
   word is shown at a size that fits. */
.footer__wordmark {
  position: relative; z-index: 0;
  max-width: var(--max); margin: clamp(1.75rem, 4vw, 3rem) auto 0; padding: 0 var(--gutter);
  font-family: var(--display); font-size: clamp(3.5rem, 21.5vw, 5.75rem);
  line-height: 1.12; letter-spacing: -0.02em; white-space: nowrap; text-align: center;
  padding-bottom: 0.14em; /* room for the tail of the y: the whole word shows */
  color: rgba(246, 243, 236, 0.07);
  pointer-events: none; user-select: none;
}
.footer__wordmark span { display: block; }
/* Drawn as generated content: it is decoration, deliberately low contrast, and
   not text anyone should read or a checker should score. */
.footer__wordmark span::before { content: attr(data-word); }
/* Baskervville's baseline sits 0.85em down a 1em line box, so -0.05em lets the
   slab end just below the baseline: every letter whole, the y's tail cut. */
@media (min-width: 760px) {
  .footer__wordmark {
    font-size: clamp(8rem, 16vw, 16rem);
    line-height: 1; padding-bottom: 0; margin-bottom: -0.05em;
  }
}

/* =========================================================================
   Mobile sticky enquiry controls
   ========================================================================= */

.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-strong);
  border-top: 1px solid var(--line-strong);
  padding-bottom: env(safe-area-inset-bottom);
  translate: 0 0;
  transition: translate var(--t) var(--ease-block);
}
.sticky-bar.is-hidden { translate: 0 110%; }
.sticky-bar__btn {
  display: grid; place-items: center; gap: 0.2rem;
  padding: 0.6rem 0.5rem 0.7rem;
  background: var(--glass);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  text-decoration: none; font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.02em; text-align: center;
}
.sticky-bar__btn svg { width: 20px; height: 20px; }
.sticky-bar__btn--primary { background: var(--ink); color: var(--ink-invert); }

.sticky-bar--vehicle {
  grid-template-columns: 1fr auto;
  align-items: center; gap: 0.75rem;
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
  background: var(--glass);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
}
.sticky-bar__price { display: grid; gap: 0.05rem; }
.sticky-bar__price-label { font-size: 0.625rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-subtle); }
.sticky-bar__price-value { font-family: var(--display); font-size: 1.35rem; line-height: 1; }
.sticky-bar__actions { display: flex; align-items: center; gap: 0.5rem; }
.sticky-bar__icon {
  display: grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  color: var(--ink);
}
.sticky-bar__icon svg { width: 18px; height: 18px; }

@media (min-width: 1000px) { .sticky-bar { display: none; } }
@media (max-width: 999px) { body { padding-bottom: 4.75rem; } }

/* =========================================================================
   Curtain + reveal choreography
   The gate flips at the START of the exit, so content animates in THROUGH
   the departing curtain. Everything is mounted and merely hidden.
   ========================================================================= */

.curtain {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  background: var(--bg);
  transition: translate 900ms var(--ease-block);
}
.curtain__inner { display: grid; gap: 1.25rem; justify-items: center; }
.curtain__rule { display: block; width: 120px; height: 1px; background: var(--line-strong); position: relative; overflow: hidden; }
.curtain__rule::after {
  content: ''; position: absolute; inset: 0;
  background: var(--ink); transform-origin: left;
  scale: 0 1; animation: curtain-fill 1500ms var(--ease) forwards;
}
@keyframes curtain-fill { to { scale: 1 1; } }
.curtain.is-leaving { translate: 0 -100%; }

/* everything revealable is mounted, just held at its `from` value */
[data-reveal], [data-reveal-lines] .hero__line {
  opacity: 0;
  translate: 0 18px;
  filter: blur(0.75rem);
  transition:
    opacity 900ms var(--ease-block),
    translate 900ms var(--ease-block),
    filter 900ms var(--ease-block);
}
/* Never clip a blurred reveal — overflow shears the halo at the line box. */
[data-reveal-lines] { overflow: visible; }
[data-reveal].is-in, [data-reveal-lines].is-in .hero__line { opacity: 1; translate: 0 0; filter: blur(0); }
/* opacity lands early in the curve, so type is solid while still travelling */
[data-reveal].is-in { transition-timing-function: var(--ease-block); }
[data-reveal-lines].is-in .hero__line:nth-child(2) { transition-delay: 120ms; }

.no-js [data-reveal], .no-js [data-reveal-lines] .hero__line { opacity: 1; translate: 0; filter: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  /* Reduce, don't delete: keep opacity so the page still resolves. */
  [data-reveal], [data-reveal-lines] .hero__line { translate: 0; filter: none; }
  .curtain { display: none; }
  .hero__video { display: none; }
}

@media print {
  .masthead, .sticky-bar, .footer__wordmark, .curtain, .lightbox { display: none !important; }
  body { padding: 0; background: #fff; }
  [data-reveal] { opacity: 1 !important; translate: 0 !important; filter: none !important; }
}


/* =========================================================================
   DEPTH PASS
   The hero set the register; these carry it through the rest of the site.

   Three ideas only: a dark/light cadence built from the one solid colour,
   photography used as structure rather than illustration, and ruled editorial
   furniture (index · hairline · caption). No shadows, no decorative gradients,
   no glass on a dark ground — Aerra's glass assumes a light backdrop and turns
   to mud over one.
   ========================================================================= */

/* ---------- ruled caption: index · rule · title ---------- */

.rcap {
  display: flex; align-items: baseline; gap: 0.85rem;
  padding-top: 0.85rem; margin-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
}
.rcap__index {
  font-family: var(--display); font-size: 0.875rem;
  color: var(--ink-subtle); flex: none;
}
.rcap__rule { flex: 0 0 2.5rem; height: 1px; background: var(--metal); translate: 0 -0.3em; }
.rcap__title { color: var(--ink-muted); }
.rcap__meta { margin-left: auto; color: var(--ink-subtle); white-space: nowrap; }
.rcap--invert { border-color: var(--line-invert); }
.rcap--invert .rcap__index, .rcap--invert .rcap__meta { color: var(--ink-invert-muted); }
.rcap--invert .rcap__title { color: rgba(246,243,236,0.8); }
.rcap--invert .rcap__rule { background: var(--ink-invert-muted); }

/* ---------- specification rail (VOLT specs strip, re-skinned) ---------- */

.srail {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; margin: 0;
  background: var(--line-invert);
  border-block: 1px solid var(--line-invert);
}
@media (min-width: 700px) { .srail { grid-template-columns: repeat(4, 1fr); } }
.srail__cell { padding: 1.25rem 1.25rem 1.35rem; background: var(--ink); }
.srail__label {
  font-size: 0.625rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-invert-muted); margin-bottom: 0.4rem;
}
.srail__value { margin: 0; font-family: var(--display); font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1; }
.srail--ink { background: var(--line); border-color: var(--line); }
.srail--ink .srail__cell { background: var(--bg); }
.srail--ink .srail__label { color: var(--ink-subtle); }

/* ---------- the dark band ---------- */

.dband {
  background: var(--ink); color: var(--ink-invert);
  padding: var(--band) 0;
}
.dband__inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.dband--bleed { padding-top: clamp(5rem, 12vw, 10rem); }
.dband--closing { padding-block: clamp(3.5rem, 9vw, 7rem); }

/* Inside a dark band the light-ground tokens have to flip. */
.dband .statement__eyebrow,
.dband .cards__lede,
.dband .faq__lede { color: var(--ink-invert-muted); }
.dband .card { border-top-color: var(--line-invert); }
.dband .card__index { color: var(--ink-invert-muted); }
.dband .card__body { color: rgba(246,243,236,0.72); }
.dband .voices__index,
.dband .voices__pick { border-color: var(--line-invert); }
.dband .voices__town,
.dband .voices__num,
.dband .voices__what,
.dband .voices__lede { color: var(--ink-invert-muted); }
.dband .voices__attrib { border-top-color: var(--line-invert); }
.dband .stars svg { fill: rgba(246,243,236,0.35); }
.dband .stars svg.is-on { fill: var(--accent); }
.dband .link-button { border-bottom-color: var(--line-invert); }
.dband .cards { border-top: 0; padding: 0; }
.dband .voices { padding: 0; }
/* A rail sets the top edge of a band; whatever follows it needs room. */
.dband .srail + * { margin-top: clamp(2.5rem, 5vw, 4rem); }
/* The rail aligns with the band's own measure — bleeding it to the screen
   edge put its labels out of step with every heading underneath. */
/* When the rail opens a band it carries the top edge itself, so the band does
   not also need a full measure of padding above it. */
.dband:has(> .dband__inner > .srail:first-child) { padding-top: clamp(2.5rem, 5vw, 4rem); }
/* A band that is nothing but a rail is a measured beat, not a section. */
.dband:has(> .dband__inner > .srail:only-child) { padding-block: clamp(2.5rem, 5vw, 4rem); }

/* ---------- closing conversion band ---------- */

.cband { display: grid; gap: 1.25rem; justify-items: start; max-width: 52rem; }
.cband__eyebrow {
  font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-invert-muted); margin: 0;
}
.cband__heading { font-size: clamp(2rem, 4.6vw, 3.25rem); line-height: 1.02; }
.cband__heading em { font-style: italic; color: var(--ink-invert-muted); }
.cband__body { color: rgba(246,243,236,0.74); font-weight: 300; max-width: 46ch; margin: 0; }
.cband__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 0.5rem; }
.cband__secondary { font-size: 0.9375rem; color: var(--ink-invert-muted); }
.cband__secondary:hover { color: var(--ink-invert); }

/* ---------- full-width photographic band ---------- */

.pband { position: relative; isolation: isolate; display: grid; align-items: end; }
.pband--tall { min-height: clamp(26rem, 62vh, 40rem); }
.pband--short { min-height: clamp(18rem, 42vh, 26rem); }

.pband__media { position: absolute; inset: 0; z-index: -2; }
.pband__media .pic { width: 100%; height: 100%; border-radius: 0; }
.pband__media .pic > img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
/* Dense enough on the copy flank to hold ivory type over any photograph,
   falling away fast so the picture is still a picture. */
.pband__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right,
    rgba(11,29,37,0.93) 0%, rgba(11,29,37,0.86) 26%,
    rgba(11,29,37,0.56) 48%, rgba(11,29,37,0.2) 76%, rgba(11,29,37,0.08) 100%);
}
.pband--right .pband__scrim {
  background: linear-gradient(to left,
    rgba(11,29,37,0.93) 0%, rgba(11,29,37,0.86) 26%,
    rgba(11,29,37,0.56) 48%, rgba(11,29,37,0.2) 76%, rgba(11,29,37,0.08) 100%);
}

.pband__copy {
  position: relative; color: var(--ink-invert);
  max-width: var(--max); width: 100%; margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) var(--gutter);
  display: grid; gap: 1rem; justify-items: start;
}
.pband--right .pband__copy { justify-items: end; text-align: right; }
.pband__copy > * { max-width: 34rem; }
.pband__index { font-family: var(--display); font-size: 0.875rem; color: var(--ink-invert-muted); }
.pband__eyebrow {
  font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-invert-muted); margin: 0;
}
.pband__heading { font-size: clamp(1.9rem, 4.4vw, 3.25rem); line-height: 1.04; }
.pband__heading em { font-style: italic; color: rgba(246,243,236,0.7); }
.pband__body { color: rgba(246,243,236,0.82); font-weight: 300; margin: 0; }
.pband__caption {
  position: absolute; right: var(--gutter); bottom: 1.25rem; z-index: 1;
  display: flex; align-items: center; gap: 0.7rem;
  margin: 0; font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(246,243,236,0.5);
}
.pband__caption span { width: 2rem; height: 1px; background: rgba(246,243,236,0.35); }

/* Narrow screens: a 21:9 plate cropped to a phone column is no longer a
   photograph, and a scrim dense enough to carry copy over it hides what is
   left. The band unstacks instead — the picture keeps a 4:3 crop of its own
   and the copy sits below it on solid ink, which is legible without a wash. */
@media (max-width: 760px) {
  .pband, .pband--tall, .pband--short { display: block; min-height: 0; background: var(--ink); }
  .pband__media { position: relative; inset: auto; z-index: 0; }
  .pband__media .pic { height: auto; }
  .pband__media .pic > img { height: auto; aspect-ratio: 4 / 3; }
  .pband__scrim,
  .pband--right .pband__scrim {
    background: linear-gradient(to bottom, transparent 58%, rgba(11,29,37,0.45) 84%, var(--ink) 100%);
  }
  .pband__copy { padding-top: clamp(1.75rem, 6vw, 2.75rem); }
  /* Unstacked, the band's copy is solid ink and so is whatever follows it —
     a hairline keeps the two from reading as one long dark slab. */
  .pband + .dband { border-top: 1px solid var(--line-invert); }
  .pband--right .pband__copy { justify-items: start; text-align: left; }
  .pband__caption { display: none; }
}

/* ---------- preparation band: process integrated into the photograph ---------- */

.prepband {
  position: relative; isolation: isolate;
  color: var(--ink-invert);
  padding: 0 0 clamp(2.5rem, 5vw, 4rem);
  background: var(--ink);
}
/* The photograph owns the top band and ends on a clean horizontal edge; the
   stations below are always on solid ink, whatever the picture is doing. */
.prepband__top {
  position: relative; isolation: isolate;
  display: grid; align-items: end;
  min-height: clamp(19rem, 44vh, 30rem);
  padding-top: clamp(3rem, 7vw, 5.5rem);
}
.prepband__media { position: absolute; inset: 0; z-index: -2; }
.prepband__media .pic { width: 100%; height: 100%; border-radius: 0; }
.prepband__media .pic > img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.prepband__scrim {
  position: absolute; inset: 0; z-index: 1;
  /* Two washes: one down the frame to seat the rail, one across the top-left
     where the heading sits, so copy holds contrast over a bright subject. */
  background:
    linear-gradient(100deg,
      rgba(11,29,37,0.94) 0%,
      rgba(11,29,37,0.9) 30%,
      rgba(11,29,37,0.62) 48%,
      rgba(11,29,37,0.26) 68%,
      rgba(11,29,37,0.08) 88%),
    linear-gradient(to bottom, rgba(11,29,37,0.22) 0%, rgba(11,29,37,0.42) 64%, var(--ink) 100%);
}

.prepband__head {
  position: relative; max-width: var(--max); width: 100%; margin: 0 auto;
  padding: 0 var(--gutter) clamp(2.25rem, 5vw, 3.5rem);
}
.prepband__eyebrow {
  font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-invert-muted); margin: 0 0 0.9rem;
}
.prepband__heading { font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.04; max-width: 18ch; }
.prepband__heading em { font-style: italic; color: rgba(246,243,236,0.7); }
.prepband__lede { margin: 1.25rem 0 0; max-width: 52ch; color: rgba(246,243,236,0.8); font-weight: 300; }

.prepband__rail {
  position: relative; padding-top: clamp(2.25rem, 5vw, 3.5rem); overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 0.5rem;
  /* Without this the snapport starts at the container edge, so the first
     station snaps flush to the screen and swallows the track's own gutter. */
  scroll-padding-inline: var(--gutter);
  -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 4rem), transparent 100%);
          mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 4rem), transparent 100%);
}
.prepband__hint {
  max-width: var(--max); margin: 1.25rem auto 0; padding: 0 var(--gutter);
  font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-invert-muted);
}
.prepband__track {
  display: flex; gap: clamp(1.25rem, 2.5vw, 2.25rem);
  padding-inline: var(--gutter); min-width: min-content; margin: 0;
}
.prepband__station {
  flex: 0 0 min(76vw, 18rem); scroll-snap-align: start;
  display: grid; align-content: start; gap: 0.45rem;
  padding-top: 1.5rem; border-top: 1px solid var(--line-invert);
  position: relative;
}
.prepband__tick { position: absolute; top: -1px; left: 0; width: 2rem; height: 2px; background: var(--accent); }
.prepband__index { font-family: var(--display); font-size: 0.9375rem; color: var(--ink-invert-muted); }
.prepband__title { font-size: 1.125rem; }
.prepband__body { font-size: 0.875rem; font-weight: 300; color: rgba(246,243,236,0.74); margin: 0.2rem 0 0; }
.prepband__foot { max-width: var(--max); margin: 0 auto; padding: clamp(2rem, 4vw, 3rem) var(--gutter) 0; }

@media (min-width: 1000px) {
  /* Wide enough for every station to sit on the page at once. */
  .prepband__rail { overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .prepband__track {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.75rem, 3vw, 2.75rem) clamp(1.75rem, 3vw, 3rem);
    max-width: var(--max); margin-inline: auto; min-width: 0;
  }
  .prepband__station { flex: initial; }
  .prepband__hint { display: none; }
}

/* ---------- page opener: photograph breaks its column ---------- */

.opener {
  display: grid; gap: clamp(2rem, 4vw, 3rem);
  max-width: var(--max); margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter) clamp(3rem, 7vw, 5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .opener { grid-template-columns: 0.85fr 1.15fr; gap: clamp(2.5rem, 5vw, 4.5rem); }
  .opener__figure { margin-right: calc(var(--gutter) * -1); }
}
.opener__eyebrow {
  font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-subtle); margin: 0 0 1rem;
}
.opener__heading { font-size: clamp(2.25rem, 5vw, 3.9rem); line-height: 0.99; }
.opener__heading em { font-style: italic; color: var(--ink-muted); }
.opener__lede {
  margin: 1.5rem 0 0; max-width: 42ch; font-weight: 300; color: var(--ink-muted);
  font-size: clamp(1rem, 0.96rem + 0.3vw, 1.125rem);
}
.opener__cta { margin-top: 1.75rem; }
.opener__meta {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.5rem;
  margin: 2rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line);
}
.opener__meta dt {
  font-size: 0.625rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-subtle); margin-bottom: 0.2rem;
}
.opener__meta dd { margin: 0; font-family: var(--display); font-size: 1.35rem; line-height: 1; }
.opener__figure { margin: 0; }
.opener__figure .pic { border-radius: var(--r-lg); }
@media (min-width: 900px) { .opener__figure .pic { border-radius: var(--r-lg) 0 0 var(--r-lg); } }

/* ---------- opener strip: image under the heading, form stays high ---------- */

.ostrip { max-width: var(--max); margin: 0 auto; padding: clamp(2.5rem, 6vw, 4rem) var(--gutter) 0; }
.ostrip__copy { max-width: 52rem; }
.ostrip__eyebrow {
  font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-subtle); margin: 0 0 1rem;
}
.ostrip__heading { font-size: clamp(2.1rem, 4.8vw, 3.6rem); line-height: 1; max-width: 16ch; }
.ostrip__heading em { font-style: italic; color: var(--ink-muted); }
.ostrip__lede { margin: 1.5rem 0 0; max-width: 50ch; font-weight: 300; color: var(--ink-muted); }
.ostrip__figure { margin: clamp(2rem, 4vw, 3rem) 0 0; }
/* On a page whose real content is the stock grid, the opener is a banner
   rather than a plate, so the cars arrive sooner. */
.ostrip--short .ostrip__copy { max-width: 46rem; }
.ostrip--short .ostrip__figure { margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.ostrip--short .ostrip__heading { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.ostrip__figure .pic { border-radius: var(--r-lg); }
.ostrip__cap {
  margin: 0.85rem 0 0; padding-top: 0.85rem; border-top: 1px solid var(--line);
  font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-subtle);
}

/* ---------- tightened homepage stock opening ---------- */

.featured { padding-top: clamp(2.75rem, 6vw, 4.5rem); }
.featured__head { margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }

/* ---------- stock card: hover brings the specification forward ---------- */

.vcard__hover {
  display: flex; flex-wrap: wrap; gap: 0.4rem 0.9rem;
  margin: 0; font-size: 0.75rem; color: var(--ink-muted);
  max-height: 0; opacity: 0; overflow: hidden;
  padding-top: 0; border-top: 1px solid transparent;
  transition: max-height var(--t-slow) var(--ease-block), opacity var(--t) var(--ease),
              padding-top var(--t-slow) var(--ease-block), border-color var(--t) var(--ease);
}
.vcard__hover b { font-weight: 500; color: var(--ink); }
.vcard__link:hover .vcard__hover,
.vcard__link:focus-visible .vcard__hover {
  max-height: 5rem; opacity: 1; padding-top: 0.85rem; border-top-color: var(--line);
}
@media (hover: none) {
  /* No hover on touch, so the detail is simply always shown. */
  .vcard__hover { max-height: 5rem; opacity: 1; padding-top: 0.85rem; border-top-color: var(--line); }
}

/* ---------- stock catalogue hierarchy ---------- */

.catalogue { padding-top: clamp(1.5rem, 3vw, 2.25rem); }
.catalogue__divider { margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.filters { padding-top: 1.25rem; }
.filters__status { padding: 1.1rem 0; }
.filters__count { font-size: 0.9375rem; }
.filters__count strong { font-family: var(--display); font-size: 1.35rem; line-height: 1; }

@media (min-width: 1100px) {
  .catalogue__grid { gap: clamp(2.5rem, 5vw, 4rem) clamp(1.75rem, 3.5vw, 3rem); }
}

/* ---------- assurance rail on the vehicle page ---------- */

.vassure { background: var(--ink); color: var(--ink-invert); padding: clamp(2.5rem, 5vw, 4rem) 0; }
.vassure__inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.vassure__head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 1rem; margin-bottom: 2rem;
}
.vassure__heading { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.vassure__note { margin: 0; font-size: 0.8125rem; color: var(--ink-invert-muted); }

/* ---------- a plate that breaks into the band below ---------- */

.overlap { position: relative; z-index: 2; margin-bottom: clamp(-7rem, -9vw, -3.5rem); }

/* ---------- card bands sized to what is in them ---------- */

/* Four columns is the default, which leaves a three-card band standing in
   three quarters of the page with a hole beside it. */
@media (min-width: 1000px) {
  .cards__grid:has(> .card:nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- collapsible filter panel (narrow screens only) ---------- */

.filters__toggle {
  display: none;
  width: 100%; align-items: center; gap: 0.75rem;
  margin: 0.25rem 0 0; padding: 1rem 0;
  background: none; border: 0; border-bottom: 1px solid var(--line);
  color: var(--ink); text-align: left; cursor: pointer;
  font: inherit;
}
.filters__toggle-label {
  font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.filters__toggle-state { margin-left: auto; font-size: 0.875rem; color: var(--ink-muted); }
.filters__toggle svg { width: 16px; height: 16px; flex: none; transition: transform var(--t-fast) var(--ease-label); }
.filters__toggle[aria-expanded='false'] svg { transform: rotate(-90deg); }

@media (max-width: 719px) {
  .filters__toggle:not([hidden]) { display: flex; min-height: 52px; }
  .filters[data-collapsed] .filters__form { display: none; }
  .filters[data-collapsed] .filters__status { padding-top: 0.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  .filters__toggle svg { transition: none; }
}

/* ---------- vehicle hero into gallery ---------- */

/* The hero and the gallery each carried a full band of padding, which stacked
   into a screen of empty ivory between the car and its own photographs. */
.vhero { padding-bottom: clamp(2rem, 4vw, 3rem); }

/* ---------- the write-up, set against a detail plate ---------- */

.vdesc {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}
.vdesc__plate { display: none; margin: 0; }

@media (min-width: 1000px) {
  .vdesc { grid-template-columns: minmax(0, 1fr) minmax(0, 0.46fr); }
  .vdesc__plate { display: block; }
  .vdesc__plate .pic { border-radius: 2px; }
  .vdesc__plate .rcap { margin-top: 0.9rem; }
  /* the heading already carries the section; the plate aligns to the prose */
  .vdesc__plate { padding-top: clamp(4rem, 7vw, 6rem); }
}

@media (prefers-reduced-motion: reduce) {
  .vcard__hover { transition: none; }
  .prepband__rail { scroll-behavior: auto; }
}

/* ---------- header and enquiry bar at the foot of the page ---------- */

/* Aerra's glass assumes a light backdrop. Over the footer it becomes the flat
   third material instead of a blurred grey smear. */
.masthead.is-over-footer,
.masthead--overlay.is-stuck.is-over-footer {
  background: #eeeae1;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  border-color: var(--line);
  color: var(--ink);
}

/* The enquiry bar steps aside once the footer arrives, so the body no longer
   needs a bar's height of padding — that padding was showing as an ivory
   strip under the footer on phones. Content above the footer is never under
   the bar because the bar hides on the way down. */
@media (max-width: 999px) { body { padding-bottom: 0; } }

/* ---------- narrow-width fixes found by the overflow sweep ---------- */

/* Long labels may wrap rather than push the page sideways at 320px. */
.radio { max-width: 100%; }
.radio__label { white-space: normal; }
.pill-action { max-width: 100%; }
.pill-action__label { white-space: normal; }

/* A long paint name in a ruled caption wraps under the title instead of
   running past the edge of its column. */
.rcap { flex-wrap: wrap; row-gap: 0.25rem; }
.rcap__title, .rcap__meta { min-width: 0; }
.rcap__meta { white-space: normal; text-align: right; }

/* Vehicle-page enquiry bar: both controls meet the 44px tap-target minimum. */
.sticky-bar--vehicle .sticky-bar__icon { width: 44px; height: 44px; }
.sticky-bar--vehicle .pill-action { min-height: 44px; }
