/* 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, v1; v2 = stepping profile cards, Erik).
   v3 (Erik): calmer. Real car-wash footage, one cool photo grade, a 3-step story.
   v4 (Erik): no more grey. A water palette (deep, sea, mist) on clean white; light and dark sections alternate.
   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 (v4, "clean water"): one blue family on clean white. The neon "go" is the main action and nothing else.
     Brand colours (swap these for a colour swap, TEMPLATE.md "Colours"): */
  --deep: #0b2a3f;      /* night water: dark sections, the top wash, footer, map card */
  --deep-2: #12384f;    /* a step lighter: surfaces on deep */
  --deep-3: #1b4660;    /* fields and quiet buttons on deep */
  --deep-ink: #071f2f;  /* strips under deep tiles */
  --sea: #0e5c78;       /* the club colour: club section, middle wash, step 2, the "come by" row */
  --sea-2: #0a4a62;     /* strips under sea */
  --mist: #e4f1f4;      /* light tint: reviews band, the first wash, step 3, address rows */
  --mist-2: #cfe5ea;    /* strips under mist */
  --white: #ffffff;
  /* section tokens: dark by default; .light flips them */
  --bg: var(--deep);
  --surface: var(--deep-2);
  --surface-2: var(--deep-3);
  --ink: #ffffff;
  --ink-2: #d5e6ec;
  --muted: #9fbcc8;
  --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; }
/* light sections: the same tokens, flipped (dark text on white or mist) */
.light { --bg: var(--white); --surface: var(--mist); --surface-2: var(--mist-2); --ink: var(--deep); --ink-2: #3a5866; --muted: #4d6a77; background: var(--bg); color: var(--ink); }
.light.tint { --bg: var(--mist); --surface: var(--white); background: var(--bg); }
.dark { background: var(--bg); color: var(--ink); }
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: var(--sea); }
.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: var(--deep);
}
.hero-film {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.82) contrast(1.04);
}
.hero--nf { background: var(--bg); }
.hero-shade { position: absolute; inset: 0; z-index: -1; /* taste-skill-ignore: neutral scrim over the film so the title and lede read on bright sky and foam */ background: linear-gradient(90deg, rgba(8, 10, 12, 0.5) 0%, rgba(8, 10, 12, 0) 52%), linear-gradient(180deg, rgba(8, 10, 12, 0.6) 0%, rgba(8, 10, 12, 0.3) 30%, rgba(8, 10, 12, 0.3) 62%, rgba(8, 10, 12, 0.66) 100%); }
/* the shine: one soft band of light crosses the last shot as the loop ends */
.hero-sweep {
  position: absolute; top: -20%; bottom: -20%; left: 0; z-index: -1; width: 26vw;
  background: rgba(255, 255, 255, 0.34); filter: blur(28px); opacity: 0;
  transform: translateX(-40vw) skewX(-16deg); pointer-events: none;
}

.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: 84px; 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: 84px; background: rgba(11, 42, 63, 0.84); }
.hero-actions .btn-quiet:hover { background: rgba(14, 92, 120, 0.94); }
.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);
}
.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: 760px; }
.tile { flex: 1 1 0; display: flex; flex-direction: column; justify-content: space-between; min-height: 360px; }
.tile-2 { min-height: 580px; }
.tile-3 { min-height: 760px; }
.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-quote { margin-top: 14px; font-weight: 700; font-size: var(--step-lead); line-height: 1.2; }
.tile-text { margin-top: 18px; max-width: 30ch; font-size: var(--step-body); }
.tile-1 { background: var(--mist); }
.tile-2 { background: var(--sea); }
.tile-3 { background: var(--deep); }
.tile-2, .tile-3 { --ink: #ffffff; --ink-2: #d5e6ec; color: var(--ink); }
.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: var(--mist-2); }
.tile-2 .tile-strip { background: var(--sea-2); }
.tile-3 .tile-strip { background: var(--deep-ink); }
a.tile-strip:hover { background: var(--deep-ink); color: #ffffff; }
.tile-3 a.tile-strip:hover { background: #000d16; }
.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: three steps (problem → drop it with us → the result) ===================== */
.steps { padding: var(--section) var(--margin); }
.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: var(--deep-2); } .stage-2 { background: var(--sea); }
.stage-3 { --ink: var(--deep); --ink-2: #3a5866; background: var(--mist); color: var(--ink); }
.stage-3 .stage-next { background: rgba(11, 42, 63, 0.08); }
.stage-3 .stage-next:hover { background: rgba(11, 42, 63, 0.16); }
.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-words { display: grid; gap: 20px; justify-items: start; }
.stage-copy h3:focus { outline: none; } /* focus moves here from the Next button / tab; the heading itself isn't a control */
.stage-copy h3 { margin: 0; font-weight: 800; font-stretch: 62%; text-transform: uppercase; font-size: var(--step-mid); line-height: 0.9; }
.stage-copy p { margin: 0; max-width: 30ch; font-size: var(--step-lead); line-height: 1.35; color: var(--ink-2); }
.stage-next {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin-top: 8px; padding: 0 20px;
  border: 0; background: rgba(255, 255, 255, 0.1); color: inherit; font: inherit; font-weight: 700;
  font-size: var(--step-body); text-decoration: none; cursor: pointer;
  transition: background-color 200ms var(--ease-out);
}
.stage-next:hover { background: rgba(255, 255, 255, 0.2); }
.stage-panel picture { display: block; grid-column: 2; grid-row: 1; min-height: 0; }
.stage-img { width: 100%; height: 100%; object-fit: cover; }

/* ===================== Reviews: profile cards that step along by themselves (v2) ===================== */
.reviews { padding: var(--section) 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; }


.cards-wrap { position: relative; margin-top: 40px; }
.cards {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * var(--gap)) / 4); gap: var(--gap);
  margin: 0 var(--margin); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.cards::-webkit-scrollbar { display: none; }
.card { scroll-snap-align: start; display: flex; flex-direction: column; gap: 18px; padding: 24px; background: var(--surface); }
.card-head { display: flex; align-items: center; gap: 14px; }
.avatar {
  flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; display: grid; place-items: center;
  font-weight: 800; font-stretch: 75%; font-size: var(--step-body); letter-spacing: 0.02em;
}
.avatar-0 { background: var(--sea); color: #ffffff; } .avatar-1 { background: var(--deep); color: #ffffff; }
.avatar-2 { background: var(--mist-2); color: var(--deep); } .avatar-3 { background: var(--mist); color: var(--deep); }
.card-who { display: grid; gap: 4px; min-width: 0; }
.card-name { font-weight: 700; overflow-wrap: anywhere; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: var(--ink-2); font-size: var(--step-small); }
.card-meta .stars svg { width: 15px; height: 15px; }
.card-text { font-size: var(--step-body); line-height: 1.45; }
.cards-nav { display: flex; 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(--deep); color: #ffffff; cursor: pointer;
  transition: background-color 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.round-btn:hover { background: var(--sea); }
.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); }
.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(--sea); }

/* ===================== Club: the sea section (its own colour), a deep form card with the neon ===================== */
.club { padding: var(--section) var(--margin); background: var(--sea); color: var(--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: var(--gap); }
.club-plans li { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 18px 20px; background: rgba(11, 42, 63, 0.28); }
.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: var(--ink-2); 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(--deep); 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: var(--muted); }
.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: photos only, one big + two stacked, then a row of three (v4) ===================== */
.gallery { padding: var(--section) var(--margin); }
.gallery-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 48px; margin-bottom: 40px; }
.gallery-cap { color: var(--ink-2); font-size: var(--step-body); }
.shots { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(180px, 19vw, 330px); grid-auto-flow: dense; gap: var(--gap); }
.shot { position: relative; overflow: hidden; grid-column: span 4; background: var(--surface); }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot:nth-child(6n+1) { grid-column: span 7; grid-row: span 2; }
.shot:nth-child(6n+2), .shot:nth-child(6n+3) { grid-column: span 5; }
.shot:nth-child(6n+1):last-child { grid-column: 1 / -1; }
.shot:nth-child(6n+2):last-child { grid-row: span 2; }
.shot:nth-child(6n+4):last-child { grid-column: 1 / -1; }
.shot:nth-child(6n+4):nth-last-child(2), .shot:nth-child(6n+5):last-child { grid-column: span 6; }

/* ===================== Visit: the address in display rows ===================== */
.visit { padding-bottom: 72px; }
.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(--sea) !important; color: #ffffff; }
.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: #ffffff; color: var(--sea); 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-block { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: min(62svh, 560px); }
.map-card { --ink: #ffffff; --ink-2: #d5e6ec; display: flex; flex-direction: column; justify-content: flex-end; gap: var(--gap); padding: 40px var(--margin); background: var(--deep); color: var(--ink); }
.map-title { margin-bottom: 12px; }
.map-addr { font-size: var(--step-lead); line-height: 1.3; margin-bottom: 24px; max-width: 24ch; }
.map-addr:has(+ .map-note) { margin-bottom: 8px; }
.map-note { margin-bottom: 24px; max-width: 40ch; color: var(--ink-2); }
.btn-light { background: #ffffff; color: var(--deep); font-size: var(--step-lead); min-height: 76px; }
.btn-light:hover { background: var(--mist); }
.map-card .btn-quiet { background: var(--deep-3); color: #ffffff; flex-direction: row; gap: 10px; }
.map-card .btn-quiet .btn-sub { color: #d5e6ec; }
.map-card .btn-quiet:hover { background: var(--sea); }
.map { position: relative; overflow: hidden; background: var(--surface); display: grid; place-items: end start; }
.map-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.85) contrast(1.02); }
.map-fallback { position: relative; margin: 20px; padding: 10px 14px; background: var(--bg); 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; background: var(--deep); padding: 80px var(--margin) 0; }
.foot-name { color: #3d8aa6; } /* the cropped name: a lighter sea, 3.8:1 on deep */
.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: 84px; 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; }

  .hero.is-shining .hero-sweep { animation: sweep 1300ms var(--ease-in-out) both; }

  .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 .shot[data-reveal]:nth-child(3n+2) { transition-delay: 80ms; } .js .shot[data-reveal]:nth-child(3n) { transition-delay: 160ms; }

  .stage-img { transform: scale(1.08); transition: transform 1400ms var(--ease-out); }
  .stage.is-open .stage-img { transform: none; }
  .shot img { transition: transform 900ms var(--ease-out); }
  .shot:hover img { transform: scale(1.03); }
  .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 sweep { 0% { opacity: 0; transform: translateX(-40vw) skewX(-16deg); } 25% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; transform: translateX(130vw) skewX(-16deg); } }
@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; }
    .cards { grid-auto-columns: calc((100% - var(--gap)) / 2); }
}

/* ===================== Phones ===================== */
@media (max-width: 767px) {
  :root { --btn-h: 56px; --step-hero: 20.5vw; }
  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: end; padding: 24px 0 18px; }
  .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; }

  .cards { grid-auto-columns: 100%; }

  .gallery-head { margin-bottom: 28px; }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 46vw; gap: 6px; }
  .shot, .shot:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .shot:nth-child(3n+1) { grid-column: 1 / -1; grid-row: span 1; }
  .shot:nth-child(3n+2):last-child { grid-column: 1 / -1; }

  .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(--sea) !important; }
  .go-row { padding: 0 16px 0.22em; }
  .map-block { grid-template-columns: 1fr; }
  .map-card { padding: 32px 16px; }
  .map { min-height: 60vw; }

  .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(--deep); color: #ffffff; }
  .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; }
}
