/* Template car-wash-1 — TASTE "Loud and flat" (seed 1120115516), hero from "Title from the top edge to the
   bottom edge". Board: HB Body (hero loop), 363 Car & Social Club (one neon button), Tripletta (review band).
   Every business fact comes from src/_data/content.json; trade words from src/_data/trade.json. */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* palette: charcoal + tunnel foam primaries; the neon "go" is the main action and nothing else */
  --bg: #161616;
  --surface: #202020;
  --surface-2: #2b2b2b;
  --ink: #ffffff;
  --ink-2: #dcdcdc;
  --muted: #a3a3a3;
  --paper: #f1f0ec;
  --paper-ink: #161616;
  --red: #d71e1e;
  --red-deep: #a51212;
  --blue: #1e4bd7;
  --blue-deep: #1537a6;
  --go: #c8ff1e;
  --go-press: #b3e612;
  --go-ink: #101010;

  --font: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(3rem, 1.4rem + 6vw, 7rem);
  --step-hero: clamp(5.4rem, 0.5rem + 17vw, 19rem);
  --step-sub: 1.75rem;
  --step-mid: clamp(2.75rem, 1.8rem + 2vw, 3.75rem);
  --step-big: clamp(4rem, 1rem + 9vw, 10.5rem);

  --margin: clamp(16px, 2.2vw, 32px);
  --gap: 8px;
  --section: clamp(96px, 11vw, 200px);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --btn-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: var(--step-body); line-height: 1.5; font-stretch: 100%;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
picture { display: contents; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--go); color: var(--go-ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--margin); top: -80px; z-index: 50; padding: 12px 18px; background: var(--ink); color: var(--bg); font-weight: 600; }
.skip:focus { top: 12px; }

.display {
  font-family: var(--font); font-weight: 800; font-stretch: 62%; text-transform: uppercase;
  font-size: var(--step-head); line-height: 0.86; letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

/* ===================== Buttons (square, one shape everywhere) ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: var(--btn-h); padding: 0 28px; border: 0; border-radius: 0;
  font-weight: 700; font-size: var(--step-body); text-decoration: none; line-height: 1.1; text-align: center;
  cursor: pointer; transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-go { background: var(--go); color: var(--go-ink); font-size: var(--step-lead); font-stretch: 85%; text-transform: uppercase; letter-spacing: 0.01em; }
.btn-go:hover { background: var(--go-press); }
.btn-quiet { background: var(--surface-2); color: var(--ink); }
.btn-quiet:hover { background: #383838; }
.btn-sub { font-weight: 500; color: var(--ink-2); }
.btn-wide { width: 100%; }

.call-line { margin-top: 40px; }
.call-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: var(--step-lead); text-decoration: none; }
.call-link svg { width: 22px; height: 22px; fill: currentColor; }
.call-link span { font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.call-link:hover span { text-decoration-thickness: 3px; }
.text-link { font-weight: 600; text-underline-offset: 4px; }

/* ===================== Hero: the film, the title from edge to edge ===================== */
.hero {
  position: relative; min-height: 100svh; overflow: hidden; isolation: isolate;
  display: grid; grid-template-rows: auto 1fr auto; padding: 0 var(--margin);
  background: #0b0b0b;
}
.hero-film {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.56) contrast(1.12) saturate(0.9);
}
.hero--nf { background: var(--bg); }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: rgba(10, 10, 10, 0.18); }

.nav {
  position: absolute; top: 0; right: var(--margin); z-index: 3;
  display: flex; align-items: center; gap: 28px; height: 88px; font-size: var(--step-small); font-weight: 600;
}
.wordmark { font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: var(--step-body); letter-spacing: 0.01em; text-decoration: none; margin-right: 12px; }
.nav-link { text-decoration: none; }
.nav-link:hover, .nav-call:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.nav-call { text-decoration: none; padding: 10px 16px; background: rgba(255, 255, 255, 0.14); }

.hero-title { grid-row: 1 / 4; grid-column: 1; display: grid; grid-template-rows: subgrid; margin: 0; font-size: var(--step-hero); line-height: 0.86; }
.ht {
  display: block; overflow: hidden; font-family: var(--font); font-weight: 800; font-stretch: 62%;
  text-transform: uppercase; font-size: 1em; line-height: 0.86; letter-spacing: -0.015em;
  white-space: nowrap; padding-bottom: 0.02em;
}
.ht-in { display: block; }
.ht-1 { grid-row: 1; padding-top: 72px; }
.ht-2 { grid-row: 3; justify-self: end; padding-bottom: 24px; }

.hero-mid { grid-row: 2; grid-column: 1; position: relative; z-index: 2; align-self: center; justify-self: start; width: min(660px, 48vw); padding: 32px 0; }
.hero-lede { font-size: var(--step-lead); line-height: 1.35; max-width: 34ch; }
.hero-lede strong { font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--gap); margin-top: 28px; }
.hero-actions .btn-go { min-height: 92px; padding: 0 48px; font-size: clamp(1.25rem, 0.9rem + 0.9vw, 1.75rem); }
.hero-actions .btn-quiet { flex-direction: column; gap: 2px; padding: 0 28px; min-height: 92px; background: rgba(32, 32, 32, 0.86); }
.hero-actions .btn-quiet:hover { background: rgba(56, 56, 56, 0.92); }
.hero-dir { margin-top: 18px; font-size: var(--step-body); }

/* ===================== Washes: plans that step up ===================== */
.plans {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  padding: var(--section) var(--margin) 0;
}
.plans-head { grid-column: 1 / 9; grid-row: 1; align-self: start; }
.plans-note { margin-top: 20px; max-width: 34ch; color: var(--ink-2); }
.tiles { grid-column: 1 / -1; grid-row: 1; display: flex; align-items: flex-end; gap: var(--gap); min-height: 680px; }
.tile { flex: 1 1 0; display: flex; flex-direction: column; justify-content: space-between; min-height: 360px; }
.tile-2 { min-height: 520px; }
.tile-3 { min-height: 680px; }
.tile-body { padding: 28px; }
.tile-name { font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: var(--step-sub); line-height: 1; }
.tile-price { margin-top: 10px; font-weight: 800; font-stretch: 62%; font-size: var(--step-head); line-height: 0.9; font-variant-numeric: tabular-nums; }
.tile-text { margin-top: 18px; max-width: 30ch; font-size: var(--step-body); }
.tile-1 { background: var(--surface-2); }
.tile-2 { background: var(--blue); }
.tile-3 { background: var(--red); }
.tile-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 0 28px; font-weight: 700; text-decoration: none;
  transition: background-color 160ms var(--ease-out);
}
.tile-strip-price { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tile-strip small { font-size: 0.8em; font-weight: 500; }
.tile-1 .tile-strip { background: #1d1d1d; }
.tile-2 .tile-strip { background: var(--blue-deep); }
.tile-3 .tile-strip { background: var(--red-deep); }
a.tile-strip:hover { background: #111; }
.tile-strip--plain { font-weight: 500; color: var(--ink-2); }

.calc {
  grid-column: 1 / -1; margin-top: var(--gap); display: grid; grid-template-columns: 5fr 7fr; gap: 32px 48px;
  align-items: center; padding: 36px 28px; background: var(--surface);
}
.calc[hidden] { display: none; }
.calc-title { grid-column: 1 / -1; font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: var(--step-sub); line-height: 1; }
.calc-label { display: block; font-weight: 700; font-size: var(--step-lead); }
.calc-label output { font-variant-numeric: tabular-nums; }
.calc-range { width: 100%; margin: 18px 0 20px; accent-color: var(--ink); height: 32px; cursor: pointer; }
.calc-tiers { display: flex; flex-wrap: wrap; gap: var(--gap); }
.calc-tier { position: relative; cursor: pointer; }
.calc-tier input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.calc-tier span { display: block; padding: 12px 18px; background: var(--surface-2); font-weight: 600; transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out); }
.calc-tier input:checked + span { background: var(--ink); color: var(--bg); }
.calc-tier input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
.calc-result { display: grid; gap: 10px; order: 2; }
.calc-controls { order: 1; }
.calc-big { font-weight: 800; font-stretch: 62%; text-transform: uppercase; font-size: var(--step-head); line-height: 0.9; font-variant-numeric: tabular-nums; }
.calc-small { font-size: var(--step-body); color: var(--ink-2); max-width: 52ch; }

.extras { grid-column: 1 / -1; display: grid; grid-template-columns: 4fr 8fr; gap: 32px; margin-top: 96px; }
.extras-title { font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: var(--step-sub); line-height: 1; }
.extras-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 64px; }
.extras-list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; }
.x-name { font-weight: 700; font-size: var(--step-body); }
.x-price { font-weight: 700; font-size: var(--step-body); text-align: right; }
.x-text { grid-column: 1 / -1; color: var(--ink-2); font-size: var(--step-body); }
.plans .call-line { grid-column: 1 / -1; }

/* ===================== How it works: the tunnel, stage by stage ===================== */
.steps { padding: var(--section) var(--margin) 0; }
.steps-intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.steps-intro .display { grid-column: 1 / 8; }
.steps-side { grid-column: 8 / 13; }
.steps-side p { font-size: var(--step-lead); line-height: 1.4; }
.steps-side .call-line { margin-top: 24px; }
.stage-row { display: flex; height: 540px; margin-top: 64px; }
.stage { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; transition: flex-grow 640ms var(--ease-in-out); }
.stage.is-open { flex-grow: 6; }
.stage-1 { background: #0c1a52; } .stage-2 { background: #12298a; } .stage-3 { background: var(--blue); }
.stage-4 { background: #4d70e2; } .stage-5 { background: #a8bcf6; color: var(--paper-ink); }
.stage-tab {
  position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; padding: 20px;
  border: 0; background: none; cursor: pointer; text-align: left;
}
.stage-tab span { writing-mode: vertical-rl; transform: rotate(180deg); font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: var(--step-lead); line-height: 1; white-space: nowrap; }
.stage-tab:hover span { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.stage.is-open .stage-tab { pointer-events: none; }
.stage.is-open .stage-tab span { visibility: hidden; }
.stage-panel {
  position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  opacity: 0; visibility: hidden; transition: opacity 360ms var(--ease-out), visibility 0s linear 360ms;
  min-width: 720px;
}
.stage.is-open .stage-panel { opacity: 1; visibility: visible; transition-delay: 220ms, 0s; }
.stage-copy { display: flex; flex-direction: column; justify-content: space-between; padding: 32px; }
.stage-copy h3 { font-weight: 800; font-stretch: 62%; text-transform: uppercase; font-size: var(--step-mid); line-height: 0.9; }
.stage-copy p { max-width: 34ch; font-size: var(--step-body); }
.stage-panel picture { display: block; grid-column: 2; grid-row: 1; min-height: 0; }
.stage-img { width: 100%; height: 100%; object-fit: cover; }

/* ===================== Reviews: the band that never stops ===================== */
.reviews { padding: var(--section) 0 0; }
.reviews-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; padding: 0 var(--margin); }
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: var(--step-body); }
.rating-num { font-weight: 800; font-stretch: 62%; font-size: var(--step-mid); line-height: 0.9; }
.rating-count { color: var(--ink-2); }
.stars { display: inline-flex; gap: 3px; }
.stars svg { width: 20px; height: 20px; fill: currentColor; }
.stars svg.off { opacity: 0.3; }

.band { margin-top: 56px; background: var(--red); overflow: hidden; padding: 28px 0 22px; }
.band-track { display: flex; width: max-content; }
.band-run { display: flex; align-items: center; flex-shrink: 0; }
.band-quote {
  font-weight: 800; font-stretch: 62%; text-transform: uppercase; white-space: nowrap;
  font-size: var(--step-big); line-height: 0.95; padding: 0 0.28em;
}
.band-token {
  flex: none; display: grid; place-content: center; text-align: center; width: 1.9em; height: 1.9em; border-radius: 50%;
  background: var(--paper); color: var(--paper-ink); font-weight: 800; font-stretch: 75%; font-size: clamp(1.75rem, 1rem + 2.4vw, 3.25rem); line-height: 0.95;
}
.band-token svg { width: 0.62em; height: 0.62em; fill: currentColor; justify-self: center; }

.cards-wrap { position: relative; margin-top: var(--gap); }
.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--gap); padding: 0 var(--margin);
}
.cards::-webkit-scrollbar { display: none; }
.card { scroll-snap-align: start; display: flex; flex-direction: column; gap: 18px; padding: 8px 24px 0 0; }
.card-text { font-size: var(--step-lead); line-height: 1.35; flex: 1; }
.card-by { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; color: var(--ink-2); font-size: var(--step-small); }
.card-by .stars svg { width: 16px; height: 16px; }
.card-by span { color: var(--ink); font-weight: 700; }
.cards-nav { display: none; gap: var(--gap); justify-content: flex-end; padding: 16px var(--margin) 0; }
.round-btn {
  width: 56px; height: 56px; display: grid; place-items: center; border: 0; background: var(--surface-2); cursor: pointer;
  transition: background-color 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.round-btn:hover { background: #3a3a3a; }
.round-btn:active { transform: scale(0.94); }
.round-btn svg { width: 22px; height: 22px; }
.reviews .call-line { padding: 0 var(--margin); }

/* ===================== About ===================== */
.about { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; padding: var(--section) var(--margin) 0; }
.about-photo { grid-column: 1 / 8; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-copy { grid-column: 8 / 13; padding-left: 24px; }
.about-text { margin-top: 28px; font-size: var(--step-lead); line-height: 1.4; }
.facts { margin-top: 28px; display: grid; gap: 10px; }
.facts li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.facts li::before { content: ""; width: 10px; height: 10px; flex: none; background: var(--red); }

/* ===================== Club: the idea again, inverted ===================== */
.club { margin-top: var(--section); padding: var(--section) var(--margin); background: var(--paper); color: var(--paper-ink); }
.club :focus-visible { outline-color: var(--paper-ink); }
.club-title { font-size: var(--step-big); }
.club-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: 72px; align-items: start; }
.club-side { grid-column: 1 / 7; padding-right: 32px; }
.club-text { font-size: var(--step-lead); line-height: 1.4; max-width: 34ch; }
.club-plans { margin-top: 36px; display: grid; gap: 22px; }
.club-plans li { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding-bottom: 22px; }
.cp-name { font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: var(--step-sub); line-height: 1.05; }
.cp-price { font-weight: 800; font-stretch: 62%; font-size: var(--step-mid); line-height: 0.9; font-variant-numeric: tabular-nums; }
.cp-price small { font-size: 0.42em; font-stretch: 100%; font-weight: 600; }
.cp-text { color: #4b4b4b; font-size: var(--step-body); }
.club-photo { margin-top: 24px; aspect-ratio: 16 / 10; overflow: hidden; }
.club-photo img { width: 100%; height: 100%; object-fit: cover; }
.club-form-wrap { grid-column: 7 / 13; }
.club-form { display: grid; gap: 18px; padding: 40px; background: var(--bg); color: var(--ink); }
.club-form :focus-visible { outline-color: var(--ink); }
.form-title { font-weight: 800; font-stretch: 62%; text-transform: uppercase; font-size: var(--step-mid); line-height: 0.9; }
.form-intro { color: var(--ink-2); }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: var(--step-body); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select {
  width: 100%; min-height: 54px; padding: 0 16px; border: 0; border-radius: 0; background: var(--surface-2); color: var(--ink);
  font-size: var(--step-body);
}
.field input::placeholder { color: #8d8d8d; }
.field select { appearance: none; background-image: none; cursor: pointer; }
.botcheck { display: none; }
.h-captcha { min-height: 78px; }
.form-privacy { color: var(--muted); font-size: var(--step-small); }
.form-status { font-weight: 600; }
.form-status:empty { display: none; }
.form-status a { text-decoration: underline; }
.club-form .call-line { margin-top: 4px; }
.club-form .call-link { font-size: var(--step-body); }

/* ===================== Gallery: wall of tiles ===================== */
.gallery { padding: var(--section) var(--gap) 0; }
.wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.cell { aspect-ratio: 1; position: relative; overflow: hidden; display: grid; place-items: center; }
.cell-head { grid-column: span 2; aspect-ratio: auto; background: var(--blue); padding: 24px; place-items: end start; }
.cell-head .display { font-size: var(--step-head); }
.cell-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cell-word { text-align: center; }
.cw-word { font-weight: 800; font-stretch: 62%; text-transform: uppercase; font-size: var(--step-head); line-height: 0.88; }
.cw-cap { position: absolute; left: 0; right: 0; bottom: 18px; font-size: var(--step-small); font-weight: 600; }
.cell-w0 { background: var(--red); }
.cell-w1 { background: var(--surface-2); }
.cell-w2 { background: var(--paper); color: var(--paper-ink); }
.cell-w3 { background: var(--blue-deep); }
.gallery .call-line { padding: 0 var(--margin); }

/* ===================== Visit: the address in display rows ===================== */
.visit { margin-top: var(--section); }
.rows { display: grid; }
.row {
  min-height: clamp(84px, 9vw, 150px); display: flex; align-items: flex-end; gap: 0.4em; padding: 0 var(--margin) 0.22em;
  font-weight: 500; font-stretch: 75%; text-transform: uppercase; font-size: var(--step-head); line-height: 1;
  overflow-wrap: anywhere;
}
.row:nth-child(odd) { background: var(--surface); }
.row a { text-decoration: none; }
.row a:hover { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 8px; }
.row-email { text-transform: none; font-size: var(--step-mid); }
.row-hours span:first-child { min-width: 4.2em; }
.row-go { padding: 0; background: var(--paper) !important; color: var(--paper-ink); }
.go-row { display: flex; width: 100%; height: 100%; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 0 var(--margin) 0.22em; }
.go-dot { display: grid; place-items: center; width: 0.9em; height: 0.9em; border-radius: 50%; background: var(--paper-ink); color: var(--paper); align-self: center; transition: transform 200ms var(--ease-out); }
.go-dot svg { width: 45%; height: 45%; }
.go-row:hover .go-dot { transform: translateX(6px); }
.row-go a:hover { text-decoration: none; }
.map { position: relative; height: min(62svh, 560px); background: var(--surface); display: grid; place-items: center; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
.map-fallback { font-weight: 700; text-underline-offset: 4px; }
.visit .call-line { padding: 0 var(--margin); }

/* ===================== Footer: invitation over the cropped name ===================== */
.foot { position: relative; overflow: hidden; margin-top: var(--section); background: var(--red); padding: 80px var(--margin) 0; }
.foot-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.foot-invite { grid-column: 1 / 9; }
.foot-line { font-size: var(--step-big); margin-bottom: 32px; }
.foot-invite .btn-go { min-height: 92px; padding: 0 48px; font-size: clamp(1.25rem, 0.9rem + 0.9vw, 1.75rem); }
.foot-links { grid-column: 10 / 13; display: grid; gap: 12px; align-content: start; font-weight: 600; }
.foot-links a { text-underline-offset: 4px; }
.foot-legal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px; margin-top: 96px; font-size: var(--step-body); }
.foot-legal p { max-width: 62ch; }
.credits a { text-underline-offset: 3px; }
.foot-name {
  margin: 24px calc(var(--margin) * -1) 0; font-weight: 800; font-stretch: 62%; text-transform: uppercase;
  font-size: clamp(6rem, 1rem + 25vw, 30rem); line-height: 0.8; white-space: nowrap; transform: translateY(18%);
  letter-spacing: -0.02em; padding-left: var(--margin);
}

/* ===================== Phone dock (the neon follows the thumb) ===================== */
.dock { display: none; }

/* ===================== Motion ===================== */
@media (prefers-reduced-motion: no-preference) {
  .hero-film { animation: film-in 1700ms var(--ease-out) both; }
  .ht-in { animation: line-up 820ms var(--ease-out) both; }
  .ht-1 .ht-in { animation-delay: 120ms; }
  .ht-2 .ht-in { animation-delay: 240ms; }
  .hero-lede { animation: lift 600ms var(--ease-out) 520ms both; }
  .hero-actions .btn { animation: pop 520ms var(--ease-out) both; }
  .hero-actions .btn:nth-child(1) { animation-delay: 640ms; }
  .hero-actions .btn:nth-child(2) { animation-delay: 700ms; }
  .hero-actions .btn:nth-child(3) { animation-delay: 760ms; }
  .nav { animation: lift 600ms var(--ease-out) 400ms both; }

  .band-track { animation: band 46s linear infinite; }
  .band:hover .band-track, .band.is-held .band-track { animation-play-state: paused; }

  .js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .tile-2[data-reveal] { transition-delay: 80ms; } .js .tile-3[data-reveal] { transition-delay: 160ms; }
  .js .cell[data-reveal]:nth-child(4n+2) { transition-delay: 60ms; } .js .cell[data-reveal]:nth-child(4n+3) { transition-delay: 120ms; } .js .cell[data-reveal]:nth-child(4n) { transition-delay: 180ms; }

  .stage-img { transform: scale(1.08); transition: transform 1400ms var(--ease-out); }
  .stage.is-open .stage-img { transform: none; }
  .cell-photo img { transition: transform 700ms var(--ease-out); }
  .cell-photo:hover img { transform: scale(1.04); }
  .calc-big.is-tick { animation: tick 360ms var(--ease-out); }
}
@media (prefers-reduced-motion: reduce) {
  .stage, .stage-panel { transition: none; }
}
@keyframes film-in { from { transform: scale(1.22); } }
@keyframes line-up { from { transform: translateY(104%); } }
@keyframes lift { from { opacity: 0; transform: translateY(16px); } }
@keyframes pop { from { opacity: 0; transform: scale(0.94) translateY(10px); } }
@keyframes band { to { transform: translateX(-50%); } }
@keyframes tick { from { transform: translateY(8px); opacity: 0.4; } }

/* ===================== Tablet ===================== */
@media (max-width: 1100px) {
  .nav-link { display: none; }
  .hero-mid { width: min(640px, 80vw); }
  .tiles { min-height: 0; }
  .plans-head { grid-row: 1; margin-bottom: 40px; }
  .tiles { grid-row: 2; }
  .tile { min-height: 300px; } .tile-2 { min-height: 380px; } .tile-3 { min-height: 460px; }
  .calc { grid-template-columns: 1fr; }
  .calc-result { order: 0; }
  .extras { grid-template-columns: 1fr; }
  .steps-intro .display, .steps-side { grid-column: 1 / -1; }
  .steps-side { margin-top: 28px; }
  .stage-panel { min-width: 560px; grid-template-columns: 1fr 1fr; }
  .about-photo, .about-copy { grid-column: 1 / -1; }
  .about-copy { padding: 40px 0 0; }
  .club-side, .club-form-wrap { grid-column: 1 / -1; padding-right: 0; }
  .club-form-wrap { margin-top: 48px; }
  .foot-invite { grid-column: 1 / -1; }
  .foot-links { grid-column: 1 / -1; margin-top: 40px; grid-auto-flow: column; justify-content: start; gap: 28px; }
  .foot-legal { grid-template-columns: 1fr 1fr; }
  .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ===================== Phones ===================== */
@media (max-width: 767px) {
  :root { --btn-h: 56px; --step-hero: 19vw; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .nav { left: var(--margin); justify-content: space-between; height: 64px; gap: 12px; }
  .wordmark { font-size: 1rem; margin: 0; max-width: 55vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .nav-call { padding: 8px 12px; }
  .ht-1 { padding-top: 92px; }
  .ht-2 { padding-bottom: 20px; }
  .hero-mid { width: 100%; align-self: center; padding: 24px 0; }
  .hero-lede { font-size: 1.1875rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn-go { grid-column: 1 / -1; min-height: 72px; font-size: 1.375rem; padding: 0 16px; }
  .hero-actions .btn-quiet { min-height: 56px; flex-direction: row; gap: 10px; padding: 0 12px; }
  .hero-actions .btn-sub { font-size: 0.875rem; }

  .plans { display: block; }
  .tiles { flex-direction: column; align-items: stretch; }
  .tile, .tile-2, .tile-3 { min-height: 0; flex: none; }
  .tile-body { padding: 24px 20px 32px; }
  .tile-strip { padding: 0 20px; }
  .calc { padding: 28px 20px; margin-top: var(--gap); }
  .extras { margin-top: 64px; }
  .extras-list { grid-template-columns: 1fr; gap: 22px; }

  .stage-row { flex-direction: column; height: auto; margin-top: 40px; }
  .stage { flex: none; transition: none; }
  .stage-tab { position: relative; inset: auto; width: 100%; height: 64px; align-items: center; padding: 0 20px; }
  .stage-tab span { writing-mode: horizontal-tb; transform: none; font-size: 1.25rem; }
  .stage.is-open .stage-tab { display: none; }
  .stage-panel { position: relative; inset: auto; min-width: 0; grid-template-columns: 1fr; display: none; opacity: 1; visibility: visible; }
  .stage.is-open .stage-panel { display: grid; }
  .stage-copy { padding: 24px 20px; gap: 16px; }
  .stage-panel picture { grid-column: auto; grid-row: auto; }
  .stage-img { aspect-ratio: 16 / 10; height: auto; }

  .band { padding: 20px 0 16px; margin-top: 40px; }
  .cards {
    display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 100%; gap: calc(var(--margin) * 2);
    overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--margin); scroll-padding: 0 var(--margin);
    scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .cards-nav { display: flex; gap: var(--gap); justify-content: flex-end; padding: 16px var(--margin) 0; }
  .card { padding: 4px 0 0; }

  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .cw-word { font-size: 18vw; }
  .cw-cap { bottom: 12px; font-size: 0.8125rem; }
  .cell-head { grid-column: 1 / -1; aspect-ratio: auto; min-height: 44vw; }

  .club-form { padding: 28px 20px; }
  .form-title { font-size: 2.75rem; }
  .club-plans li { grid-template-columns: 1fr; }
  .club-title { font-size: 13.5vw; }
  .hero { min-height: calc(100svh - 64px - env(safe-area-inset-bottom)); }
  .cp-price { font-size: 2.5rem; }

  .row { font-size: 9.6vw; padding-left: 16px; padding-right: 16px; min-height: 84px; }
  .row-hours { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 0; padding-top: 14px; }
  .row-email { font-size: 6.4vw; }
  .row-go { background: var(--paper) !important; }
  .go-row { padding: 0 16px 0.22em; }

  .foot { padding-top: 56px; }
  .foot-line { font-size: 15vw; }
  .foot .btn-go { width: 100%; }
  .foot-links { grid-auto-flow: row; gap: 10px; }
  .foot-legal { grid-template-columns: 1fr; margin-top: 56px; }
  .foot-name { font-size: 34vw; }

  .dock {
    display: grid; grid-template-columns: 2fr 3fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding-bottom: env(safe-area-inset-bottom); background: var(--bg);
  }
  .dock a { display: grid; place-items: center; height: 64px; font-weight: 700; text-decoration: none; }
  .dock-call { background: var(--surface-2); color: var(--ink); }
  .dock-go { background: var(--go); color: var(--go-ink); font-stretch: 85%; text-transform: uppercase; font-size: 1.0625rem; }
  .dock :focus-visible { outline-offset: -4px; }
  .dock a:only-child { grid-column: 1 / -1; }
}
