/* REGAL Auto Spa — main stylesheet
   Always use custom properties from tokens.css. Never hard-code hex values.
   Inter weights: 300, 400, 500 only. Cormorant Garamond: 300, 400 only.
   Cormorant minimum: 22px (brand rule). Radius default: var(--radius-2). Nothing pill-shaped.
   Body: 18px desktop / 17px mobile. Eyebrows: 13px 0.32em. Buttons: 14px 0.18em.
   Nav: 84px desktop / 68px mobile. Mark: 44px desktop / 36px mobile. Wordmark: 24px 0.35em.
   Section vertical padding: var(--space-32) = 128px.
   Internal padding: var(--space-16) = 64px.
   Max content width: var(--content-max) = 1240px. */

/* ─── Reset ─────────────────────────────────────────────────────────────── */

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

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

body {
  background-color: var(--surface-page);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

/* ─── Focus ──────────────────────────────────────────────────────────────── */

:focus-visible {
  outline: 1px solid var(--brass);
  outline-offset: 3px;
}

/* ─── Layout ─────────────────────────────────────────────────────────────── */

.container {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--space-8);
}

/* ─── Reveal animation ───────────────────────────────────────────────────── */
/* Opacity-only fade; no slide-up (that reads as AI-generated) */

[data-reveal] {
  opacity: 0;
  transition: opacity var(--dur-reveal) var(--ease-out-slow);
}

[data-reveal].is-revealed {
  opacity: 1;
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border: 1px solid var(--brass);
  border-radius: var(--radius-2);
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    color var(--dur-color) var(--ease-out-slow),
    border-color var(--dur-surface) var(--ease-out-slow),
    box-shadow var(--dur-glow) var(--ease-out-slow);
}

.btn:hover {
  color: var(--champagne);
  box-shadow: var(--glow-brass);
}

.btn:active {
  transform: translateY(1px);
}

/* ─── Text-link "Discover more" style ───────────────────────────────────── */

.link-discover {
  display: inline-block;
  align-self: flex-start; /* prevent stretching to full card width in flex columns */
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-color: var(--border-hairline);
  text-underline-offset: 4px;
  transition:
    color var(--dur-color) var(--ease-out-slow),
    text-decoration-color var(--dur-color) var(--ease-out-slow);
}

.link-discover:hover {
  color: var(--brass);
  text-decoration-color: var(--brass);
}

/* ─── Eyebrow helper ─────────────────────────────────────────────────────── */

.eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.eyebrow--brass { color: var(--brass); }

/* Eyebrow with pine hairlines on each side */
.eyebrow--ruled {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.eyebrow--ruled::before,
.eyebrow--ruled::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--border-hairline);
}

/* ─── Brass rule ─────────────────────────────────────────────────────────── */

.rule-brass {
  display: block;
  width: 40px;
  height: 1px;
  background-color: var(--brass);
}

/* ─── Nav ────────────────────────────────────────────────────────────────── */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--space-8);
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background-color var(--dur-surface) var(--ease-out-slow),
    border-color var(--dur-surface) var(--ease-out-slow);
}

.site-nav.is-scrolled {
  background-color: var(--surface-page);
  border-bottom-color: var(--border-hairline);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  text-decoration: none;
}

.nav-brand__mark {
  height: 44px;
  width: auto;
}

.nav-brand__name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1;
}

/* Navigation links (desktop only — hidden ≤767px via mobile override) */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--dur-color) var(--ease-out-slow);
}

.nav-link:hover,
.nav-link[aria-current="page"] { color: var(--text-primary); }

/* ─── Hero ───────────────────────────────────────────────────────────────── */

/* SVG filter definitions: no layout impact */
.hero-svg-defs { display: none; }

.hero-track {
  position: relative;
  height: 400vh;
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background-color: var(--surface-page);
}

/* Obsidian scrim on the sides where text beats appear (z below beats) */
.hero-sticky::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 5;
  background: linear-gradient(
    to right,
    rgba(8, 10, 9, 0.62) 0%,
    rgba(8, 10, 9, 0.18) 28%,
    transparent 44%,
    transparent 56%,
    rgba(8, 10, 9, 0.18) 72%,
    rgba(8, 10, 9, 0.62) 100%
  );
  pointer-events: none;
}

/* Car image stage — side feathering (9%) intersected with top/bottom feathering (12% each) */
.hero-car-stage {
  position: absolute;
  inset: 0;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, black 9%, black 91%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image:
    linear-gradient(to right, transparent 0%, black 9%, black 91%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

/* 106vw container — car bounding box x 31.8%–81.0%, y 25%–78%. Spans viewport + sides. */
.hero-car-container {
  position: absolute;
  width: 106vw;
  height: calc(106vw / 3);
  top: calc(50vh - 18.2vw);
  left: 0;
  will-change: transform;
}

/* Individual image layers fill the entire container */
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  display: block;
}

/* Dirty starts visible; clean starts hidden */
.hero-img--dirty { opacity: 1; }
.hero-img--clean { opacity: 0; }

/* Foam wrapper: no filter — shape comes from PNG mask on the inner image */
.hero-foam-wrap {
  position: absolute;
  inset: 0;
  opacity: 0;
  will-change: opacity;
}

/* Foam image: top-down drippy wipe via PNG mask (--foam-mask-y driven by hero.js).
   Mask y=0–300 transparent, y=330–900 opaque. mask-size 300% tall lets us slide
   the opaque band through the element as --foam-mask-y goes 100%→0%. */
.hero-img--foam {
  --foam-mask-y: 100%;
  -webkit-mask-image: url('/assets/img/hero/foam-mask.png');
  mask-image: url('/assets/img/hero/foam-mask.png');
  -webkit-mask-size: 100% 200%;
  mask-size: 100% 200%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: 0% var(--foam-mask-y);
  mask-position: 0% var(--foam-mask-y);
}

/* ─── Hero beats ─────────────────────────────────────────────────────────── */

/* Radial gradient scrim: dark at text center, fades to transparent — no box edge visible */
.hero-beat {
  position: absolute;
  z-index: 10;
  max-width: 34vw;
  opacity: 0;
  will-change: opacity;
  pointer-events: none;
  background: radial-gradient(ellipse at center,
    rgba(8,10,9,0.92) 0%,
    rgba(8,10,9,0.80) 38%,
    rgba(8,10,9,0.30) 68%,
    transparent 90%);
  padding: var(--space-10) var(--space-12);
}

.hero-beat--right {
  right: clamp(24px, 6vw, 96px);
  top: 50%;
  transform: translateY(-50%);
  text-align: right;
}

.hero-beat--left {
  left: clamp(24px, 6vw, 96px);
  top: 50%;
  transform: translateY(-50%);
}

/* Beat 1 slightly above center */
#beat-1 { top: 42%; }

/* Beat 3 pointer-events managed by hero.js */
#beat-3 { pointer-events: none; }

.hero-beat .eyebrow {
  margin-bottom: var(--space-4);
  color: var(--brass);
}

.hero-beat__line {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: var(--space-4);
}

.hero-beat__body {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  max-width: 30ch;
}

.hero-beat--right .hero-beat__body { margin-left: auto; }

.hero-beat__cta { display: inline-flex; }

/* ─── Section base ───────────────────────────────────────────────────────── */

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

/* ─── Intro (Rolls-Royce centered block) ────────────────────────────────── */

.section-intro {
  text-align: center;
}

.section-intro .container {
  max-width: 680px;
}

.intro-eyebrow {
  margin-bottom: var(--space-6);
}

.intro-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: var(--space-6);
}

.intro-rule {
  margin-inline: auto;
  margin-bottom: var(--space-6);
}

.intro-body {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 54ch;
  margin-inline: auto;
}

/* ─── Packages section ───────────────────────────────────────────────────── */

.section-packages {
  background-color: var(--surface-page);
}

.packages-header {
  margin-bottom: var(--space-16);
  text-align: center;
}

.packages-header-eyebrow {
  margin-bottom: var(--space-6);
  justify-content: center;
}

.packages-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.15;
}

.packages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 700px) {
  .packages-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Individual package card */
.package-card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-2);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  transition: border-color var(--dur-surface) var(--ease-out-slow);
}

.package-card:hover {
  border-color: var(--brass);
}

.package-card__rule {
  width: 32px;
  height: 1px;
  background-color: var(--brass);
  margin-bottom: var(--space-6);
}

.package-card__eyebrow {
  margin-bottom: var(--space-2);
}

.package-card__name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: var(--space-4);
}

.package-card__summary {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.75;
  flex: 1;
  margin-bottom: var(--space-8);
}

/* ─── How it works ───────────────────────────────────────────────────────── */

.section-how .how-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-16);
}

@media (min-width: 768px) {
  .section-how .how-layout {
    grid-template-columns: 2fr 3fr;
    align-items: start;
    gap: var(--space-8);
  }
}

.how-intro-eyebrow { margin-bottom: var(--space-6); }

.how-intro-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: var(--space-6);
}

.how-intro-body {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 38ch;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step-item {
  border-top: 1px solid var(--border-hairline);
  padding: var(--space-6) 0;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--space-4);
  align-items: start;
}

.step-number {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  color: var(--brass);
  font-variant-numeric: lining-nums;
  line-height: 1.2;
}

.step-title {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: var(--space-2);
}

.step-body {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ─── FAQ ────────────────────────────────────────────────────────────────── */

.section-faq {
  background-color: var(--surface-card);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.faq-header {
  margin-bottom: var(--space-16);
}

.faq-header-eyebrow {
  justify-content: center;
  margin-bottom: var(--space-6);
  text-align: center;
}

.faq-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.15;
  text-align: center;
}

.faq-list {
  max-width: 720px;
  margin-inline: auto;
  border-top: 1px solid var(--border-hairline);
}

.faq-item {
  border-bottom: 1px solid var(--border-hairline);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding: var(--space-6) 0;
  text-align: left;
  cursor: pointer;
}

.faq-question__text {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.5;
  transition: color var(--dur-color) var(--ease-out-slow);
}

.faq-question:hover .faq-question__text {
  color: var(--brass);
}

/* Plus / minus indicator */
.faq-question__icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  position: relative;
}

.faq-question__icon::before,
.faq-question__icon::after {
  content: '';
  position: absolute;
  background-color: var(--brass);
  border-radius: 1px;
  transition: transform var(--dur-surface) var(--ease-out-slow),
              opacity var(--dur-color) var(--ease-out-slow);
}

/* Horizontal bar (always visible) */
.faq-question__icon::before {
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  transform: translateY(-50%);
}

/* Vertical bar (hidden when open) */
.faq-question__icon::after {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  transform: translateX(-50%);
}

.faq-item.is-open .faq-question__icon::after {
  opacity: 0;
  transform: translateX(-50%) rotate(90deg);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--dur-surface) var(--ease-out-slow);
}

.faq-answer__inner {
  padding-bottom: var(--space-6);
}

.faq-answer p {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 62ch;
}

.faq-answer p + p {
  margin-top: var(--space-4);
}

/* ─── Footer / Contact ───────────────────────────────────────────────────── */

.site-footer {
  padding-block: var(--space-32);
  border-top: 1px solid var(--border-hairline);
}

.footer-layout {
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
}

.footer-eyebrow {
  margin-bottom: var(--space-6);
}

.footer-headline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(52px, 7vw, 96px);
  line-height: 1.0;
  color: var(--text-primary);
  margin-bottom: var(--space-8);
}

.footer-note {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
  max-width: 42ch;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-contact-item {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--text-primary);
  transition: color var(--dur-color) var(--ease-out-slow);
}

.footer-contact-item a:hover {
  color: var(--brass);
}

.footer-contact-item .placeholder {
  color: var(--text-secondary);
}

.footer-legal {
  padding-top: var(--space-8);
  border-top: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-legal p,
.footer-legal a {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

.footer-legal a:hover {
  color: var(--text-primary);
}

/* ─── Package detail pages ───────────────────────────────────────────────── */

.pkg-header {
  padding-top: calc(84px + var(--space-16)); /* clear fixed nav */
  padding-bottom: var(--space-16);
  border-bottom: 1px solid var(--border-hairline);
}

.pkg-header .eyebrow {
  margin-bottom: var(--space-4);
}

.pkg-name {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 300;
  line-height: 1.0;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.pkg-duration {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-secondary);
}

.pkg-body {
  padding-block: var(--space-32);
}

.pkg-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-16);
}

@media (min-width: 768px) {
  .pkg-layout {
    grid-template-columns: 3fr 2fr;
    gap: var(--space-8);
    align-items: start;
  }
}

.pkg-inclusions-title {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
}

.pkg-inclusions-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.pkg-inclusions-list li {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.5;
}

/* Brass dash bullet */
.pkg-inclusions-list li::before {
  content: '—';
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  color: var(--brass);
  flex-shrink: 0;
  line-height: inherit;
}

/* Pricing panel */
.pkg-pricing {
  background-color: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-2);
  padding: var(--space-8);
}

.pkg-pricing-title {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
}

.pkg-price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-6);
}

.pkg-price-table tr {
  border-bottom: 1px solid var(--border-hairline);
}

.pkg-price-table tr:last-child {
  border-bottom: none;
}

.pkg-price-table td {
  padding: var(--space-4) 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.4;
}

.pkg-price-table td:last-child {
  text-align: right;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 400;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums lining-nums;
}

.pkg-tax-note {
  display: block;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
  letter-spacing: 0.04em;
}

.pkg-cta-area {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.pkg-deposit-note {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-secondary);
  text-align: center;
  letter-spacing: 0.04em;
}

.pkg-back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-16);
  transition: color var(--dur-color) var(--ease-out-slow);
}

.pkg-back:hover { color: var(--text-primary); }

/* ─── Mobile overrides ───────────────────────────────────────────────────── */

@media (max-width: 767px) {
  /* Body text slightly smaller on mobile */
  body { font-size: 17px; }

  /* Nav: shorter on mobile */
  .site-nav { height: 68px; }
  .nav-brand__mark { height: 36px; }
  .nav-brand__name { font-size: 20px; }

  /* Hero: shorter section, full-width car, no pan */
  .hero-track { height: 250vh; }

  /* 187vw container — car covers ~92% viewport width, fixed center, top half */
  .hero-car-container {
    width: 187vw;
    height: calc(187vw / 3);
    top: calc(68px + 4vh);
    left: 0;
    transform: translateX(-55.5vw) !important;
  }

  /* Feather top (12%) and bottom edges; bottom clears space for beat text */
  .hero-car-stage {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 52%, transparent 78%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 52%, transparent 78%);
    -webkit-mask-composite: initial;
    mask-composite: initial;
  }

  /* Beats: anchored to bottom of sticky stage, full width */
  .hero-beat {
    left: var(--space-6) !important;
    right: var(--space-6) !important;
    top: auto !important;
    bottom: var(--space-8);
    transform: none !important;
    max-width: 100%;
    text-align: left;
  }

  .hero-beat--right .hero-beat__body { margin-left: 0; }

  #beat-3 { bottom: var(--space-8); }

  /* Side scrim not needed on mobile */
  .hero-sticky::before { display: none; }

  /* Nav links hide on mobile */
  .nav-links { display: none; }
}

@media (max-width: 639px) {
  .container  { padding-inline: var(--space-4); }
  .site-nav   { padding-inline: var(--space-4); }
  .pkg-header { padding-top: calc(68px + var(--space-8)); }

  /* Compact nav button on small screens */
  .site-nav .btn {
    padding: 10px 14px;
    font-size: 12px;
    letter-spacing: 0.14em;
  }

  /* Single-column packages already handled above, but reduce card padding */
  .package-card { padding: var(--space-6); }

  /* Footer headline smaller on very narrow screens */
  .footer-headline { font-size: clamp(40px, 12vw, 72px); }

  /* Reduce vertical gap in package body on mobile */
  .pkg-body { padding-top: var(--space-8); padding-bottom: var(--space-16); }
}

/* ─── Service card "Book this service" button ────────────────────────────── */

.service-card__book {
  margin-top: var(--space-6);
  width: 100%;
}

/* ─── Service process <details>/<summary> ───────────────────────────────── */

.service-process {
  margin-top: var(--space-6);
  border-top: 1px solid var(--border-hairline);
}

.service-process__summary {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: var(--space-4) 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color var(--dur-color) var(--ease-out-slow);
}

/* Hide the default disclosure triangle */
.service-process__summary::-webkit-details-marker { display: none; }
.service-process__summary::marker { display: none; }

.service-process__summary::after {
  content: '+';
  color: var(--brass);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform var(--dur-surface) var(--ease-out-slow),
              opacity var(--dur-color) var(--ease-out-slow);
}

.service-process[open] > .service-process__summary::after {
  transform: rotate(45deg);
}

.service-process__summary:hover { color: var(--text-primary); }

.service-process__body {
  padding-bottom: var(--space-8);
}

.sp-section {
  margin-top: var(--space-6);
}

.sp-section + .sp-section {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-hairline);
}

.sp-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: var(--space-3);
}

.sp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: 0;
}

.sp-list li {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Numbered step list */
.sp-list--steps {
  counter-reset: sp-step;
}

.sp-list--steps li {
  counter-increment: sp-step;
  display: flex;
  gap: var(--space-3);
  align-items: baseline;
}

.sp-list--steps li::before {
  content: counter(sp-step);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  font-variant-numeric: lining-nums;
  color: var(--brass);
  flex-shrink: 0;
  min-width: 24px;
  line-height: 1.4;
}

.sp-list li strong {
  color: var(--text-primary);
  font-weight: 400;
}

.sp-note {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 58ch;
}

/* ─── FAQ duration list ──────────────────────────────────────────────────── */

.faq-duration-list {
  list-style: none;
  padding: 0;
  margin-top: var(--space-4);
  border-top: 1px solid var(--border-hairline);
}

.faq-duration-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-6);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border-hairline);
}

.faq-duration-name {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.5;
}

.faq-duration-time {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-secondary);
  white-space: nowrap;
}

/* ─── Footer social icon row ─────────────────────────────────────────────── */

.footer-social {
  padding-bottom: var(--space-6);
  /* Counteract the footer-layout flex gap so the icons sit close to the copyright line */
  margin-bottom: calc(var(--space-6) - var(--space-32));
}

.footer-social-list {
  display: flex;
  flex-direction: row;
  gap: var(--space-4);
  list-style: none;
  padding: 0;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  transition: filter var(--dur-surface) var(--ease-out-slow);
}

.footer-social-link:hover {
  filter: brightness(1.12);
}

.footer-social-link:active {
  transform: translateY(1px);
}

/* ─── Reduced motion ─────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .hero-track  { height: 100vh; }
  .hero-sticky { position: relative; }

  /* Show clean car only, in right-third position (car center at ~60vw) */
  .hero-car-container { transform: translateX(4.2vw) !important; }
  .hero-img--dirty    { opacity: 0 !important; }
  .hero-foam-wrap     { opacity: 0 !important; }
  .hero-img--clean    { opacity: 1 !important; }

  #beat-1, #beat-2    { display: none; }
  #beat-3             { opacity: 1 !important; pointer-events: auto !important; }

  [data-reveal] { opacity: 1; transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ─── Packages section — footer link ────────────────────────────────────── */

.packages-footer {
  margin-top: var(--space-10);
  text-align: center;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-secondary);
}

.packages-footer a {
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-color: var(--border-hairline);
  text-underline-offset: 4px;
  transition: color var(--dur-color) var(--ease-out-slow),
              text-decoration-color var(--dur-color) var(--ease-out-slow);
}

.packages-footer a:hover {
  color: var(--brass);
  text-decoration-color: var(--brass);
}

/* Package card price — small "From $X" beneath the name */
.package-card__price {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  margin-bottom: var(--space-4);
}

/* ─── Booking form section ───────────────────────────────────────────────── */

.section-book {
  background-color: var(--surface-card);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.book-header {
  margin-bottom: var(--space-16);
}

.book-header-eyebrow {
  justify-content: center;
  margin-bottom: var(--space-6);
  text-align: center;
}

.book-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.15;
  text-align: center;
}

.book-subtitle {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-secondary);
  text-align: center;
  margin-top: var(--space-4);
  max-width: 52ch;
  margin-inline: auto;
  line-height: 1.7;
}

.book-form {
  max-width: 720px;
  margin-inline: auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

@media (min-width: 600px) {
  .form-row--2 { grid-template-columns: 1fr 1fr; }
  .form-row--3 { grid-template-columns: 1fr 1fr 1fr; }
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.field-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.field-label .required-mark {
  color: var(--brass);
  margin-left: 2px;
}

.field-input,
.field-select,
.field-textarea {
  background-color: var(--surface-page);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-2);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  padding: 12px 14px;
  transition:
    border-color var(--dur-color) var(--ease-out-slow),
    box-shadow var(--dur-color) var(--ease-out-slow);
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
}

.field-input:focus,
.field-select:focus,
.field-textarea:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 1px var(--brass);
}

.field-input.is-invalid,
.field-select.is-invalid,
.field-textarea.is-invalid {
  border-color: #b25050;
}

.field-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23848C87'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

.field-textarea {
  resize: vertical;
  min-height: 96px;
  line-height: 1.6;
}

.field-error {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  color: #b25050;
  display: none;
}

.field-error.is-visible { display: block; }

/* Checkboxes */
.form-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  cursor: pointer;
}

.form-check input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 2px;
  width: 16px;
  height: 16px;
  border: 1px solid var(--border-hairline);
  border-radius: 1px;
  background-color: var(--surface-page);
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: border-color var(--dur-color) var(--ease-out-slow),
              background-color var(--dur-color) var(--ease-out-slow);
}

.form-check input[type="checkbox"]:checked {
  background-color: var(--brass);
  border-color: var(--brass);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' stroke='%23080A09' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 8px;
}

.form-check input[type="checkbox"]:focus-visible {
  outline: 1px solid var(--brass);
  outline-offset: 2px;
}

.form-check__label {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.5;
}

.form-check__label a {
  color: var(--brass);
  text-underline-offset: 3px;
  text-decoration: underline;
}

.form-divider {
  border: none;
  border-top: 1px solid var(--border-hairline);
  margin-block: var(--space-10);
}

.form-section-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
}

.form-submit-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  margin-top: var(--space-10);
}

.form-success {
  display: none;
  padding: var(--space-8);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-2);
  background-color: var(--surface-page);
}

.form-success.is-visible { display: block; }

.form-success p {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.7;
}

/* ─── Services page ──────────────────────────────────────────────────────── */

.services-header {
  margin-bottom: var(--space-16);
}

.services-intro {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 54ch;
  line-height: 1.8;
  margin-top: var(--space-4);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-16);
}

@media (min-width: 700px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-2);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
}

.service-card__rule {
  width: 32px;
  height: 1px;
  background-color: var(--brass);
  margin-bottom: var(--space-6);
}

.service-card__name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: var(--space-2);
}

.service-card__duration {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
}

.service-card__desc {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.75;
  flex: 1;
  margin-bottom: var(--space-6);
}

.service-price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-2);
}

.service-price-table tr { border-bottom: 1px solid var(--border-hairline); }
.service-price-table tr:last-child { border-bottom: none; }

.service-price-table td {
  padding: var(--space-3) 0;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.4;
}

.service-price-table td:last-child {
  text-align: right;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  font-variant-numeric: tabular-nums lining-nums;
}

.service-card__tax {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

.service-card__note {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-secondary);
  font-style: italic;
  margin-top: var(--space-2);
  line-height: 1.5;
}

/* Add-ons table */
.addons-section { margin-top: var(--space-16); }

.addons-title {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
}

.addons-list {
  max-width: 480px;
  border-top: 1px solid var(--border-hairline);
}

.addon-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border-hairline);
  gap: var(--space-8);
}

.addon-item__name {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--text-primary);
}

.addon-item__note {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-secondary);
  margin-top: var(--space-1);
}

.addon-item__price {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  color: var(--text-primary);
  white-space: nowrap;
  font-variant-numeric: tabular-nums lining-nums;
}

/* ─── Membership page ────────────────────────────────────────────────────── */

.membership-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-16);
}

@media (min-width: 700px) {
  .membership-grid { grid-template-columns: 1fr 1fr; }
}

.membership-card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-2);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
}

.membership-card__rule {
  width: 32px;
  height: 1px;
  background-color: var(--brass);
  margin-bottom: var(--space-6);
}

.membership-card__name {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: var(--space-2);
}

.membership-card__tagline {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-8);
}

.membership-perks {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  flex: 1;
}

.membership-perk {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.5;
}

.membership-perk::before {
  content: '—';
  font-size: 12px;
  color: var(--brass);
  flex-shrink: 0;
}

.membership-price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-2);
}

.membership-price-table tr { border-bottom: 1px solid var(--border-hairline); }
.membership-price-table tr:last-child { border-bottom: none; }

.membership-price-table td {
  padding: var(--space-3) 0;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-primary);
}

.membership-price-table td:last-child {
  text-align: right;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 400;
  font-variant-numeric: tabular-nums lining-nums;
}

.membership-price-table td:last-child span {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  display: block;
  text-align: right;
  margin-top: 1px;
  white-space: nowrap;
}

.membership-card__cta-area {
  margin-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.membership-terms {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
  padding: var(--space-6);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-2);
}

/* ─── 404 page ───────────────────────────────────────────────────────────── */

.page-404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: var(--space-32) var(--space-8);
  max-width: var(--content-max);
  margin-inline: auto;
}

.page-404__code {
  font-family: var(--font-display);
  font-size: clamp(80px, 12vw, 160px);
  font-weight: 300;
  color: var(--surface-card);
  line-height: 1;
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.page-404__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: var(--space-6);
}

.page-404__body {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 44ch;
  margin-bottom: var(--space-10);
}

/* ─── Shared page-header used by services / membership pages ─────────────── */

.page-header {
  padding-top: calc(84px + var(--space-16));
  padding-bottom: var(--space-12);
}

/* Standard top gap when a section immediately follows the page-header */
.page-header + .section {
  padding-top: var(--space-16);
}

.page-header__eyebrow { margin-bottom: var(--space-4); }

.page-header__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 300;
  line-height: 1.0;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.page-header__subtitle {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 52ch;
  line-height: 1.75;
}

/* ─── Form radio group ───────────────────────────────────────────────────── */

.field-helper {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: var(--space-2);
  letter-spacing: 0.02em;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

@media (min-width: 480px) {
  .radio-group { flex-direction: row; gap: var(--space-6); }
}

.form-radio {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
}

.form-radio input[type="radio"] {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border: 1px solid var(--border-hairline);
  border-radius: 50%;
  background-color: var(--surface-page);
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: border-color var(--dur-color) var(--ease-out-slow),
              background-color var(--dur-color) var(--ease-out-slow);
}

.form-radio input[type="radio"]:checked {
  border-color: var(--brass);
  background-color: var(--surface-page);
  background-image: radial-gradient(circle, var(--brass) 44%, transparent 44%);
}

.form-radio input[type="radio"]:focus-visible {
  outline: 1px solid var(--brass);
  outline-offset: 2px;
}

.form-radio__label {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.4;
}
