/* ============================================================================
   A&M Premium Detailing — styles.css  (design-v2)
   ----------------------------------------------------------------------------
   System: automotive-theater blend of Lamborghini.com and Ferrari.com.
     - Lamborghini: Giallo Vivo #ffc000 as the SINGLE signal color (one hit
       per screen, primary CTA only), 0.023em tracking on display type,
       aggressive uppercase scale, 8px spacing grid, alternating dark
       (#202020 / #181818 / #000000) and light (#ffffff / #f5f5f5) sections.
     - Ferrari: dark-void editorial voice, ghost nav, inverted tracking on
       small type (wider as type shrinks), full-bleed photography, hairline
       1px dividers (#303030 on dark, #969696 on light).
   Hard rules: 0px radius everywhere, no box-shadows, no decorative gradients.
   Font: self-hosted Noto Serif (assets/fonts), no external CDNs.
   Mobile-first. Reduced-motion collapses all animation.
   ============================================================================ */

@font-face {
  font-family: "Noto Serif";
  src: url("../assets/fonts/noto-serif-latin-400-900.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens (single source of truth) ---------- */
:root {
  /* Colors — Lamborghini */
  --giallo: #ffc000;          /* Giallo Vivo — the ONE signal color        */
  --giallo-ombra: #917300;    /* hover state of the yellow CTA             */
  --carbony: #202020;         /* dark workhorse surface / text on light    */
  --pure-black: #000000;      /* hero void, body ink                       */
  --carbon-deep: #181818;     /* footer / secondary dark                   */
  --pearl: #ffffff;           /* light canvas / text on dark               */
  --marble: #f5f5f5;          /* alternate light band                      */
  --graphite: #494949;        /* mid dividers, link ink on light           */
  --steel: #7d7d7d;           /* secondary text / muted chrome             */
  --ash: #969696;             /* hairlines on light                        */
  /* Colors — Ferrari */
  --grafite: #303030;         /* hairlines on dark                         */

  /* Typography */
  --font: "Noto Serif", Georgia, "Times New Roman", serif;
  --track-display: 0.023em;   /* Lamborghini engineered tracking            */
  --track-label: 0.083em;     /* Ferrari inverted tracking on small type    */
  --track-label-wide: 0.09em; /* smallest labels get the widest tracking    */

  /* Spacing — 8px grid */
  --s-1: 8px;  --s-2: 16px; --s-3: 24px; --s-4: 32px; --s-5: 40px;
  --s-6: 48px; --s-7: 56px; --s-8: 64px; --s-9: 72px; --s-10: 80px;
  --s-12: 96px; --s-16: 128px;

  /* Layout */
  --page-max: 1440px;
  --nav-h: 64px;

  /* Interaction */
  --focus-ring: #ffffff;      /* overridden to dark ink on light sections  */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  background: var(--pure-black);
  color: var(--pearl);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
ul { margin: 0; padding: 0; }

::selection { background: var(--giallo); color: var(--pure-black); }

:focus-visible {
  outline: 2px solid var(--focus-ring, #ffffff);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding-left: clamp(var(--s-2), 4vw, var(--s-4));
  padding-right: clamp(var(--s-2), 4vw, var(--s-4));
}

section[id] { scroll-margin-top: calc(var(--nav-h) + var(--s-2)); }

/* ---------- Type system ---------- */
/* Display: uppercase, 0.023em tracking (Lamborghini). */
h1, h2, h3 { text-transform: uppercase; letter-spacing: var(--track-display); }
h1, h2 { line-height: 1.02; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: var(--track-label-wide);
  font-size: 0.6875rem;                 /* 11px */
  line-height: 1.6;
  color: var(--steel);
  margin-bottom: var(--s-2);
}

.section-head { margin-bottom: clamp(var(--s-6), 6vw, var(--s-8)); }
.section-head h2 { font-size: clamp(1.75rem, 4.5vw, 3.375rem); } /* 28-54px */
.section-head .section-sub { margin-top: var(--s-2); }
.section-sub {
  color: var(--steel);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 58ch;
}

/* ---------- Buttons — flat, 0px radius, no shadows ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-1);
  padding: var(--s-2) var(--s-3);
  border: 0;
  border-radius: 0;
  background: transparent;
  font-family: inherit;
  font-weight: 500;
  font-size: 0.8125rem;                 /* 13px */
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:active { transform: translateY(1px); }

/* Giallo action button — the single yellow hit per screen. */
.btn--gold {
  background: var(--giallo);
  color: var(--pearl);
}
.btn--gold::after { content: "\2192"; margin-left: var(--s-2); font-size: 1em; }
.btn--gold:hover { background: var(--giallo-ombra); }

/* Ghost link button — arrow is the only anchor (Lamborghini). */
.btn--ghost { color: currentColor; }
.btn--ghost::after { content: "\2192"; margin-left: var(--s-2); font-size: 1em; }
.btn--ghost:hover { color: var(--steel); }

.btn--sm { padding: var(--s-1) var(--s-2); font-size: 0.6875rem; } /* 11px */
.btn--block { width: 100%; }

/* ---------- Nav — ghost over hero, solid once scrolled ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  color: var(--pearl);
  background: transparent;
  transition: background-color 0.3s var(--ease);
}
.nav.is-scrolled { background: var(--carbony); }

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
}
/* Nav content above the progress bar (z-index 2 vs 1). */
.nav-inner { position: relative; z-index: 2; }

/* Slim scroll-progress bar: rides the BOTTOM edge of the fixed nav.
   Giallo is the single accent; pointer-events none + absolute position
   keep it non-interactive and layout-neutral (no clipping of nav content). */
.scroll-progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  z-index: 1;
  pointer-events: none;
}
.scroll-progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: var(--giallo);
}
.nav-brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.nav-brand-logo { height: 32px; width: auto; }

/* .nav-actions must stay above the fixed mobile menu (.nav-links z-index 99),
   so the toggle (X) stays clickable to close the menu. */
.nav-actions { display: flex; align-items: center; gap: var(--s-2); position: relative; z-index: 100; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s-4);
}
.nav-links a:not(.btn) {
  position: relative;
  padding: var(--s-1) 0;
  font-size: 0.6875rem;                 /* 11px */
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  color: var(--pearl);
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.nav-links a:not(.btn):hover { color: var(--steel); border-bottom-color: var(--steel); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  padding: 10px;
  background: transparent;
  border: 0;
  border-radius: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--pearl);
  margin-bottom: 6px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle span:last-child { margin-bottom: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile menu — full-bleed night panel below the bar */
@media (max-width: 1023.98px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 99;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: calc(var(--nav-h) + var(--s-4)) clamp(var(--s-3), 6vw, var(--s-5)) var(--s-10);
    background: rgba(24, 24, 24, 0.985);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), visibility 0s linear 0.25s;
    overflow-y: auto;
  }
  .nav-links.open { opacity: 1; visibility: visible; transition: opacity 0.25s var(--ease); }
  .nav-links a:not(.btn) {
    width: 100%;
    font-size: 1.5rem;                  /* 24px */
    letter-spacing: var(--track-display);
    padding: var(--s-3) 0;
    border-bottom: 1px solid var(--grafite);
  }
  .nav-links .nav-cta {
    width: 100%;
    margin-top: 0;
    padding: var(--s-3) 0;
    font-size: 1.5rem;                  /* same size as menu links */
    letter-spacing: var(--track-display);
    justify-content: flex-start;        /* same left alignment as links */
    background: transparent;            /* V2: text link, no box */
    color: var(--giallo);               /* yellow/gold text, like ghost CTA */
    border-radius: 0;
    border-bottom: 1px solid var(--grafite);  /* menu-link separator */
  }
  .nav-links .nav-cta:hover { background: transparent; color: var(--giallo-ombra); }
  .nav-links .nav-cta::after { content: "\2192"; margin-left: var(--s-2); font-size: 1em; }
}

/* ---------- 1. Hero — full-bleed dark stage ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: var(--pure-black);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media video,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media video { z-index: 2; }
.hero-media video.is-hidden { display: none; }
.hero-media img { z-index: 1; }
/* Functional legibility scrim — not decoration: keeps uppercase type
   readable over full-bleed video on every viewport width. */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.34) 55%, rgba(0, 0, 0, 0.12) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 45%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: calc(var(--nav-h) + var(--s-6));
  padding-bottom: clamp(var(--s-8), 10vh, var(--s-16));
}
.hero-copy { max-width: 100%; }
.hero-title {
  font-size: clamp(2.25rem, 6.5vw, 4.75rem);   /* 36-76px */
  line-height: 0.98;
  color: var(--pearl);
}
.hero-sub {
  margin-top: var(--s-3);
  color: var(--steel);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.6;
  max-width: 46ch;
}
.hero-when {
  margin-top: var(--s-2);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: var(--track-label-wide);
  color: var(--steel);
}
.hero-ctas {
  margin-top: var(--s-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}
.hero-ctas .btn--ghost { color: var(--pearl); }
.hero-ctas .btn--ghost:hover { color: var(--steel); }

@media (min-width: 768px) {
  .hero-copy { max-width: min(50vw, 700px); }
}
/* Mobile: fill the first screen exactly. svh is the stable small-viewport
   height (toolbar visible); 100vh fallback covers engines without svh. */
@media (max-width: 767px) {
  .hero { min-height: 115vh; min-height: 115svh; }
}

/* ---------- 2. USP strip — light editorial band ---------- */
.usp {
  background: var(--pearl);
  color: var(--carbony);
  padding-block: clamp(var(--s-7), 8vw, var(--s-12));
}
.usp-grid {
  display: grid;
  gap: clamp(var(--s-5), 6vw, var(--s-8));
}
.usp-icon {
  display: block;
  width: 40px; height: 40px;
  color: var(--carbony);
  margin-bottom: var(--s-3);
}
.usp-icon svg { width: 100%; height: 100%; }
.usp-item h3 {
  font-size: 1rem;
  letter-spacing: var(--track-label);
  color: var(--carbony);
  margin-bottom: var(--s-1);
}
.usp-item p {
  color: var(--graphite);
  font-size: 0.9375rem;
  line-height: 1.6;
}
@media (min-width: 768px) {
  .usp-grid { grid-template-columns: repeat(3, 1fr); gap: 0; }
  /* Desktop: 1px hairline separators between the three columns — no boxes,
     same no-card treatment as the mobile stacked rows. Icon sits centered
     above its heading; heading + text centered under it. */
  .usp-item { text-align: center; padding: 0 var(--s-4); }
  .usp-item + .usp-item { border-left: 1px solid var(--ash); }
  .usp-icon { margin-inline: auto; }
}
/* Mobile (≤767px): stacked rows separated by hairline dividers — no boxes.
   The container's side padding keeps text off the edges. Desktop above
   is untouched. */
@media (max-width: 767.98px) {
  .usp-grid { gap: 0; }
  .usp-item {
    padding: var(--s-4) 0;
    border-bottom: 1px solid var(--ash);
  }
  .usp-item:last-child { border-bottom: 0; }
}

/* ---------- Who we are — dark editorial void ---------- */
.about {
  background: var(--carbon-deep);
  padding-top: clamp(var(--s-12), 14vw, var(--s-16));
}
.about-copy {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  padding-bottom: clamp(var(--s-7), 9vw, var(--s-12));
}
.about-heading {
  font-size: 0.6875rem;
  letter-spacing: var(--track-label-wide);
  color: var(--steel);
  margin-bottom: var(--s-3);
}
.about-quote {
  margin: 0;
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);  /* 20-28px */
  line-height: 1.4;
  color: var(--pearl);
  max-width: 60ch;
  margin-inline: auto;
}
.about-sub {
  margin-top: var(--s-3);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: var(--track-label-wide);
  color: var(--steel);
}
.about-media { margin: 0; }
.about-media img {
  width: 100%;
  height: clamp(320px, 55vw, 640px);
  object-fit: cover;
}

/* ---------- 3. Services — dark product showcase ---------- */
.services {
  background: var(--carbony);
  color: var(--pearl);
  padding-top: clamp(var(--s-10), 12vw, var(--s-16));
}
.services .section-head h2 { color: var(--pearl); }

.tiers {
  display: grid;
  gap: clamp(var(--s-8), 8vw, var(--s-12));
}
/* V1 card structure, restyled with V2 tokens: flat #181818 card one tone
   deeper than the #202020 section, 1px #303030 hairline frame, 0px radius,
   no shadows. Photo bleeds to the card top (clipped by overflow:hidden). */
.tier {
  position: relative;
  min-width: 0;
  --tier-pad: clamp(var(--s-2), 2vw, var(--s-3));   /* 16-24px — compact */
  padding: var(--tier-pad);
  background: var(--carbon-deep);
  border: 1px solid var(--grafite);
  overflow: hidden;
}
.tier-badge {
  position: absolute;
  top: var(--s-2);
  right: var(--s-2);
  z-index: 2;
  padding: var(--s-1) var(--s-2);
  background: rgba(0, 0, 0, 0.62);
  font-size: 0.625rem;                    /* 10px */
  text-transform: uppercase;
  letter-spacing: var(--track-label-wide);
  color: var(--pearl);
  pointer-events: none;
}
.tier-media {
  position: relative;
  display: block;
  overflow: hidden;
  margin: calc(var(--tier-pad) * -1) calc(var(--tier-pad) * -1) var(--s-2);
}
/* Shorter photo band: 16/7 (~2.3:1) instead of the old 8/5 full-bleed crop. */
.tier-media img {
  width: 100%;
  height: auto;               /* keeps width/height attributes from overriding aspect-ratio */
  aspect-ratio: 16 / 7;
  object-fit: cover;
}
.tier-media-cta {
  position: absolute;
  left: var(--s-2);
  bottom: var(--s-2);
  background: rgba(0, 0, 0, 0.62);
  color: var(--pearl);
}
.tier-media-cta:hover { background: rgba(0, 0, 0, 0.82); color: var(--pearl); }
/* The ONE yellow hit in the pricing grid: the featured tier's Book CTA only.
   The other two keep the ghost/scrim treatment. */
.tier--featured .tier-media-cta {
  background: var(--giallo);
  color: var(--pure-black);
}
.tier--featured .tier-media-cta::after { content: "\2192"; margin-left: var(--s-2); font-size: 1em; }
.tier--featured .tier-media-cta:hover { background: var(--giallo-ombra); color: var(--pure-black); }
/* Featured (Full Detail) card: yellow outline frame, matching the accent. */
.tier--featured { border-color: var(--giallo); }
.tier-head { margin-top: var(--s-2); }
.tier-name {
  font-size: 1.5rem;                      /* 24px — compact */
  color: var(--pearl);
}
.tier-price {
  margin-top: var(--s-1);
  display: flex;
  align-items: baseline;
  gap: var(--s-1);
}
.tier-price-from {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: var(--track-label-wide);
  color: var(--steel);
}
.tier-price-num {
  font-size: 1.75rem;                     /* 28px — compact */
  line-height: 1;
  color: var(--pearl);
}
.tier-time {
  margin-top: var(--s-1);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: var(--track-label-wide);
  color: var(--steel);
}
.tier-selling {
  margin-top: var(--s-2);
  color: var(--pearl);
  line-height: 1.55;
}
.tier-list {
  margin-top: var(--s-2);
  list-style: none;
}
.tier-list li {
  padding: 10px 0;
  border-top: 1px solid var(--grafite);
  color: var(--pearl);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.tier-list li:last-child { border-bottom: 1px solid var(--grafite); }
.tier-blurb {
  margin-top: var(--s-2);
  color: var(--steel);
  font-size: 0.875rem;
  line-height: 1.6;
}
@media (min-width: 768px) {
  .tiers { grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
}

/* ---------- Add-ons — light band, hairline table ---------- */
.addons {
  background: var(--marble);
  color: var(--pure-black);
  padding-block: clamp(var(--s-4), 5vw, var(--s-6));
  margin-top: clamp(var(--s-4), 5vw, var(--s-6));
}
.addons-title {
  font-size: clamp(1.5rem, 3vw, 2rem);    /* 24-32px */
  color: var(--pure-black);
  margin-bottom: var(--s-5);
}
.table-wrap { overflow-x: auto; }
.addons-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.9375rem;
  text-align: left;
}
.addons-table th {
  padding: var(--s-2) var(--s-1);
  border-bottom: 1px solid var(--ash);
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--track-label-wide);
  color: var(--steel);
  white-space: nowrap;
}
.addons-table td {
  padding: var(--s-2) var(--s-1);
  border-bottom: 1px solid var(--ash);
  color: var(--carbony);
  line-height: 1.5;
  vertical-align: top;
}
.addons-table th:first-child,
.addons-table td:first-child { padding-left: 0; }
.addons-table th:last-child,
.addons-table td:last-child { padding-right: 0; }
.addons-table td:nth-child(2) { white-space: nowrap; color: var(--pure-black); }
.addons-table tr.cluster-row td {
  padding-top: var(--s-4);
  padding-bottom: var(--s-2);
  border-bottom: 1px solid var(--carbony);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  color: var(--pure-black);
}

.addons-note {
  margin-top: var(--s-4);
  color: var(--graphite);
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 64ch;
}
.addons-note strong { color: var(--pure-black); }

/* ---------- 4. Gallery — dark void, full-bleed frames ---------- */
.gallery {
  background: var(--pure-black);
  color: var(--pearl);
  padding-block: clamp(var(--s-6), 6vw, var(--s-8));
}
.gallery .section-head h2 { color: var(--pearl); }
.gallery-grid {
  display: grid;
  gap: clamp(var(--s-5), 6vw, var(--s-6));
}
.gallery-card { margin: 0; }
.gallery-card img {
  width: 100%;
  height: auto;               /* keeps width/height attributes from overriding aspect-ratio */
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.gallery-card figcaption {
  margin-top: var(--s-2);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: var(--track-label-wide);
  color: var(--steel);
  line-height: 1.6;
}
@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-3);
  }
  /* First frame spans a 2x2 block; the 5 remaining fill a perfect 3x3 grid */
  .gallery-card--large {
    grid-column: span 2;
    grid-row: span 2;
  }
  .gallery-card--large img { aspect-ratio: 1 / 1; }
}
/* Mobile (≤767px): V1-style mixed-size bento — big square lead frame, then
   square pairs, then a big square dusk frame. Large frames span 2×2 cells so
   they read as BIG SQUARES (2x2 grid of smaller squares between them).
   0px radius, no new borders. Desktop layout above is untouched. */
@media (max-width: 767.98px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-2); }
  .gallery-card--large,
  .gallery-card--dusk { grid-column: span 2; grid-row: span 2; }
}

/* ---------- 5. FAQ — light canvas, hairline accordion ---------- */
.faq {
  background: var(--pearl);
  color: var(--carbony);
  padding-block: clamp(var(--s-6), 6vw, var(--s-8));
}
.faq .section-head h2 { color: var(--carbony); }
.faq-list { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--ash); }
.faq-item:first-of-type { border-top: 1px solid var(--ash); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: var(--s-3) 0;
  background: none;
  border: 0;
  border-radius: 0;
  font-family: inherit;
  font-weight: 500;
  font-size: clamp(1.0625rem, 2.2vw, 1.25rem);   /* 17-20px */
  text-align: left;
  text-transform: uppercase;
  letter-spacing: var(--track-display);
  color: var(--carbony);
  cursor: pointer;
  transition: color 0.25s var(--ease);
}
.faq-question:hover { color: var(--graphite); }
.faq-question::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--carbony);
}
.faq-item.open .faq-question::after { content: "\2212"; }
.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}
.faq-item.open .faq-panel { grid-template-rows: 1fr; }
.faq-panel-inner { overflow: hidden; }
.faq-panel-inner p {
  padding-bottom: var(--s-3);
  color: var(--graphite);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 68ch;
}

/* ---------- 6. Areas — dark stage, outlined chips ---------- */
.areas {
  background: var(--carbony);
  color: var(--pearl);
  text-align: center;
  padding-block: clamp(var(--s-6), 6vw, var(--s-8));
}
.areas .section-head h2 { color: var(--pearl); }
.areas .section-head { margin-bottom: 0; }
.areas-text {
  margin: var(--s-3) auto 0;
  color: var(--steel);
  line-height: 1.65;
  max-width: 52ch;
}
.areas-chips {
  margin-top: var(--s-6);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-2);
}
.areas-chips span {
  padding: var(--s-2) var(--s-3);
  border: 1px solid var(--steel);
  font-size: 0.75rem;                     /* 12px */
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  color: var(--pearl);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.areas-chips span:hover { border-color: var(--pearl); color: var(--pearl); }

/* ---------- 7. Footer — night surface, Ferrari footer block ---------- */
.footer {
  background: var(--carbon-deep);
  color: var(--pearl);
  border-top: 1px solid var(--grafite);
  padding-block: var(--s-8) var(--s-5);
}
.footer-inner {
  display: grid;
  gap: var(--s-6);
}
.footer-logo { height: 32px; width: auto; margin-bottom: var(--s-3); }
.footer-name {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  color: var(--pearl);
  margin-bottom: var(--s-1);
}
.footer-tag {
  color: var(--steel);
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 40ch;
  margin-bottom: var(--s-3);
}
.footer-contact p { margin-bottom: var(--s-2); }
.footer-contact p:last-child { margin-bottom: 0; }
.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  color: var(--steel);
  font-size: 0.8125rem;
  line-height: 1.5;
  transition: color 0.25s var(--ease);
}
.footer-contact a:hover { color: var(--pearl); }
.footer-contact svg { width: 16px; height: 16px; flex-shrink: 0; }
.footer-soon {
  margin-left: var(--s-1);
  padding: 2px var(--s-1);
  border: 1px solid var(--steel);
  font-size: 0.5625rem;                   /* 9px */
  text-transform: uppercase;
  letter-spacing: var(--track-label-wide);
  color: var(--steel);
}
.footer-pay p {
  color: var(--steel);
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 52ch;
}
.footer-pay strong { color: var(--pearl); }
.footer-bottom {
  margin-top: var(--s-6);
  padding-top: var(--s-3);
  border-top: 1px solid var(--grafite);
}
.footer-bottom p {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  color: var(--steel);
  line-height: 1.7;
}
@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 1.25fr 1fr; gap: var(--s-8) var(--s-10); }
  .footer-pay, .footer-bottom { grid-column: 1 / -1; }
}

/* ---------- Booking overlay — flat, 0px radius, yellow CTA ---------- */
.booking-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0s linear 0.25s;
}
.booking-overlay.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s var(--ease);
}
.booking-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.booking-overlay-panel {
  position: relative;
  z-index: 1;
  width: min(880px, 100%);
  max-height: min(92dvh, 760px);
  overflow-y: auto;
  background: var(--carbon-deep);
  border: 1px solid var(--grafite);
}
.booking-overlay-close {
  position: absolute;
  top: var(--s-2);
  right: var(--s-2);
  z-index: 2;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--pearl);
  cursor: pointer;
  transition: color 0.25s var(--ease);
}
.booking-overlay-close:hover { color: var(--steel); }
.booking-overlay-close svg { width: 18px; height: 18px; }
.booking-overlay-title {
  padding: var(--s-4) var(--s-5) 0;
  padding-right: var(--s-10);
  font-size: 1.6875rem;                   /* 27px */
  color: var(--pearl);
}
.booking-overlay-tabs {
  display: flex;
  margin-top: var(--s-3);
  padding: 0 var(--s-5);
  border-bottom: 1px solid var(--grafite);
}
.booking-overlay-tab {
  padding: var(--s-2) 0;
  margin-right: var(--s-3);
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  font-family: inherit;
  font-weight: 500;
  font-size: 0.6875rem;                   /* 11px */
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  color: var(--steel);
  cursor: pointer;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.booking-overlay-tab:hover { color: var(--pearl); }
.booking-overlay-tab[aria-selected="true"] {
  color: var(--pearl);
  border-bottom-color: var(--pearl);
}
.booking-overlay-panel-item { display: grid; grid-template-columns: 1fr; }
/* Author rule above would override the UA [hidden] { display:none } (both are
   specificity 0,1,0 and author beats UA), which is why all three tiers used to
   stack. Re-state hiding at higher specificity: */
.booking-overlay-panel-item[hidden] { display: none; }
.booking-overlay-media { margin: 0; }
.booking-overlay-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.booking-overlay-body { padding: var(--s-4) var(--s-5) var(--s-3); }
.booking-overlay-name {
  font-size: 1.6875rem;                   /* 27px */
  line-height: 1.1;                       /* h3 doesn't inherit h1/h2's 1.02; stops 1.6 bloat */
  color: var(--pearl);
}
.booking-overlay-price {
  margin-top: var(--s-1);
  display: flex;
  align-items: baseline;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: var(--track-label-wide);
  color: var(--steel);
}
.booking-overlay-price strong {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--pearl);
  margin: 0 var(--s-2) 0 var(--s-1);
}
.booking-overlay-time { margin-left: var(--s-1); }
.booking-overlay-selling {
  margin-top: var(--s-3);
  color: var(--pearl);
  line-height: 1.55;
}
.booking-overlay-list {
  margin-top: var(--s-2);
  list-style: none;
}
.booking-overlay-list li {
  padding: var(--s-1) 0;
  border-top: 1px solid var(--grafite);
  color: var(--pearl);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.booking-overlay-list li:last-child { border-bottom: 1px solid var(--grafite); }
.booking-overlay-blurb {
  margin-top: var(--s-3);
  color: var(--steel);
  font-size: 0.875rem;
  line-height: 1.6;
}
.booking-overlay-cta { margin-top: var(--s-3); }
@media (min-width: 768px) {
  .booking-overlay-panel-item { grid-template-columns: 40% 60%; }
  .booking-overlay-media img { height: 100%; aspect-ratio: auto; }
}

/* Mobile: one tier at a time, compacted so photo + name + price + inclusions +
   CTA all fit the viewport with no internal scrolling (375x667 / 375x812). */
@media (max-width: 767px) {
  .booking-overlay { padding: 0; }
  /* Full-viewport panel on mobile: 100dvh/svh edge-to-edge, content centered
     in the remaining space, internal scroll only as a safety net. */
  .booking-overlay-panel {
    width: 100%;
    height: 100dvh;
    height: 100svh;
    max-height: none;
    border: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;               /* safety net, not expected to engage */
  }
  .booking-overlay-panels {
    flex: 1 1 auto;
    min-height: 0;              /* let the tier (media+body) shrink to fit */
    display: flex;
    flex-direction: column;
  }
  /* The visible tier fills the space under the tabs. The media band flexes to
     absorb ALL leftover height (image object-fit:cover crops to fill), so
     there is no dead space between the tab row and the name/price block. The
     body (name, price, time, inclusions, CTA) keeps its natural height. */
  .booking-overlay-panel-item {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
  .booking-overlay-media {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
  }
  .booking-overlay-title {
    padding: var(--s-2) var(--s-4) 0;
    padding-right: var(--s-10);
    font-size: 1.25rem;             /* 20px */
  }
  .booking-overlay-tabs { margin-top: var(--s-1); padding: 0 var(--s-4); }
  .booking-overlay-tab {
    padding: var(--s-1) 0;
    margin-right: var(--s-2);
    font-size: 0.625rem;            /* 10px */
  }
  .booking-overlay-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .booking-overlay-body { flex: 0 0 auto; padding: var(--s-2) var(--s-4) var(--s-3); }
  .booking-overlay-name { font-size: 1.25rem; }   /* 20px */
  .booking-overlay-price { margin-top: 0; font-size: 0.625rem; }
  .booking-overlay-price strong { font-size: 1.125rem; }  /* 18px */
  .booking-overlay-selling {
    margin-top: var(--s-1);
    font-size: 0.8125rem;           /* 13px */
    line-height: 1.45;
  }
  .booking-overlay-list { margin-top: var(--s-1); }
  .booking-overlay-list li {
    padding: 6px 0;
    font-size: 0.8125rem;           /* 13px */
    line-height: 1.4;
  }
  .booking-overlay-blurb {
    margin-top: var(--s-1);
    font-size: 0.75rem;             /* 12px */
    line-height: 1.5;
  }
  .booking-overlay-cta { margin-top: var(--s-2); }
}

/* ---------- Motion — transform/opacity only, gated by JS ---------- */
/* No .js-anim (reduced motion or no JS): everything visible, no animation. */
.js-anim .hero-inner { opacity: 0; transform: translateY(var(--s-2)); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js-anim .hero-inner.is-in { opacity: 1; transform: none; }

.js-anim .reveal,
.js-anim .reveal-group {
  opacity: 0;
  transform: translateY(var(--s-3));
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.js-anim .reveal.is-revealed,
.js-anim .reveal-group.is-revealed {
  opacity: 1;
  transform: none;
}

/* ---------- Reduced motion ---------- */
@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;
  }
  .js-anim .hero-inner,
  .js-anim .reveal,
  .js-anim .reveal-group {
    opacity: 1 !important;
    transform: none !important;
  }
  .scroll-progress { display: none; }
}
