/* =====================================================================
   New Wave Jiu Jitsu — Design System
   Cinematic, committed-dark academy brand. Red is the live wire.
   Shared across adult.html, kids.html, book-adult.html, book-kids.html
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Tokens
   --------------------------------------------------------------------- */
:root {
  /* Brand — red carries the energy */
  --red:        oklch(0.585 0.215 26);
  --red-bright: oklch(0.66 0.21 28);
  --red-deep:   oklch(0.46 0.16 26);
  --on-red:     #fcfcfc;

  /* Secondary accent — used on kids pages */
  --blue:       oklch(0.62 0.16 250);
  --blue-deep:  oklch(0.50 0.15 252);   /* white-on-blue / small blue text on light */
  --blue-bright:oklch(0.74 0.13 250);

  /* Neutrals — near-black with a whisper of warmth (cinematic, not cream) */
  --ink:        oklch(0.155 0.006 25);  /* page background */
  --ink-2:      oklch(0.185 0.007 25);
  --surface-1:  oklch(0.215 0.009 25);
  --surface-2:  oklch(0.255 0.011 25);
  --surface-3:  oklch(0.305 0.013 25);
  --line:        color-mix(in oklch, var(--text) 12%, transparent);
  --line-strong: color-mix(in oklch, var(--text) 22%, transparent);

  /* Text on dark — all verified ≥4.5:1 on every surface it lands on */
  --text:       oklch(0.965 0.004 70);
  --text-soft:  oklch(0.84 0.012 75);
  --text-mute:  oklch(0.70 0.012 75);

  /* Light-section palette (scoped swap, kids) — clean cool off-white, never cream */
  --light-bg:   oklch(0.975 0.004 240);
  --light-bg-2: #ffffff;
  --light-ink:  oklch(0.235 0.012 255);
  --light-soft: oklch(0.42 0.02 255);
  --light-mute: oklch(0.50 0.02 255);
  --light-line: oklch(0.90 0.008 250);

  /* Typography — Big Shoulders Display carries the brand (industrial, athletic,
     more character than the old Oswald). Saira Condensed is the clean condensed
     workhorse for small uppercase UI (buttons, labels, tags). */
  --font-display: "Big Shoulders Display", "Oswald Fallback", "Arial Narrow", system-ui, sans-serif;
  --font-ui:      "Saira Condensed", "Oswald Fallback", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Fluid display scale — bound so large viewports never shout (cap ~5.25rem) */
  --fs-hero: clamp(2.6rem, 1.4rem + 5.4vw, 5.25rem);
  --fs-h2:   clamp(2rem, 1.3rem + 2.9vw, 3.25rem);
  --fs-h3:   clamp(1.4rem, 1.1rem + 1.2vw, 1.95rem);
  --fs-lede: clamp(1.1rem, 1.02rem + 0.45vw, 1.35rem);
  --fs-body: 1.0625rem;
  --fs-sm:   0.9rem;
  --fs-xs:   0.8rem;

  /* Spacing scale (4pt base, semantic) */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs:  0.75rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2rem;
  --space-xl:  3rem;
  --space-2xl: 4rem;

  /* Radii */
  --r-sm: 8px;
  --r-md: 13px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-pill: 999px;

  /* Shadows + glows — tinted with the warm ink hue, never flat black */
  --shadow-color: 18 14 13;
  --shadow-sm: 0 1px 2px rgb(var(--shadow-color) / .5);
  --shadow-md: 0 18px 38px -16px rgb(var(--shadow-color) / .72);
  --shadow-lg: 0 38px 80px -26px rgb(var(--shadow-color) / .82);
  --glow-red:  0 14px 38px -12px color-mix(in oklch, var(--red) 58%, transparent);
  --glow-blue: 0 14px 38px -12px color-mix(in oklch, var(--blue) 55%, transparent);
  /* accent var resolves per-theme so shared components can self-tint */
  --accent: var(--red);
  --accent-bright: var(--red-bright);

  /* Layout */
  --container: 1200px;
  --container-wide: 1320px;
  --container-narrow: 760px;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --section-y: clamp(4rem, 8vw, 8rem);

  /* Motion */
  --ease-out-quint: cubic-bezier(.22, 1, .36, 1);
  --ease-out-expo:  cubic-bezier(.16, 1, .3, 1);
  --dur: .6s;

  /* Z-index scale */
  --z-base: 1;
  --z-header: 100;
  --z-stickycta: 90;
  --z-backdrop: 1000;
  --z-modal: 1010;
  --z-toast: 1100;
  --z-tooltip: 1200;

  color-scheme: dark;
}

/* Per-page accent: red is the adult brand, blue carries the kids program.
   Shared components reference --accent so a page commits to ONE accent. */
.theme-adult { --accent: var(--red); --accent-bright: var(--red-bright); }
.theme-kids  { --accent: var(--blue); --accent-bright: var(--blue-bright); }

/* Metric-matched fallbacks to reduce layout shift while web fonts load */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Oswald Fallback";
  src: local("Arial Narrow"), local("Arial");
  size-adjust: 87%;
  ascent-override: 105%;
  descent-override: 24%;
  line-gap-override: 0%;
}

/* ---------------------------------------------------------------------
   2. Reset & base
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

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

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.62;
  font-size: var(--fs-body);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100dvh;
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
:where(ul, ol)[class] { list-style: none; padding: 0; }

:focus-visible {
  outline: 3px solid var(--red-bright);
  outline-offset: 2px;
  border-radius: 4px;
}
.theme-kids :focus-visible { outline-color: var(--blue-bright); }
::selection { background: var(--red); color: #fff; }

/* ---------------------------------------------------------------------
   3. Typography
   --------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0.002em;
  text-transform: uppercase;
  text-wrap: balance;
}

.h-hero {
  font-weight: 800;
  font-size: var(--fs-hero);
  line-height: 0.9;
  letter-spacing: -0.005em;
}
.h-sec {
  font-weight: 700;
  font-size: var(--fs-h2);
  line-height: 0.96;
  letter-spacing: 0;
}
.h-sub {
  font-weight: 700;
  font-size: var(--fs-h3);
  letter-spacing: 0.004em;
}

p { text-wrap: pretty; }

.lede {
  font-family: var(--font-body);
  font-size: var(--fs-lede);
  color: var(--text-soft);
  line-height: 1.55;
  letter-spacing: 0.005em;
  max-width: 56ch;
  text-transform: none;
}

.measure { max-width: 65ch; }
.prose { color: var(--text-soft); max-width: 64ch; }
.prose p + p { margin-top: 1rem; }
.prose strong { color: var(--text); font-weight: 600; }

/* Eyebrow — used sparingly (hero + final CTA only), never section grammar */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--red);
  border-radius: 2px;
}
.eyebrow--center { justify-content: center; }
.theme-kids .eyebrow::before { background: var(--blue); }

/* Discipline badge — makes the martial art unmistakable at a glance.
   "Brazilian Jiu-Jitsu" carries the accent; location/age drops to quiet text. */
.eyebrow--badge { flex-wrap: wrap; gap: 0.5rem 0.8rem; letter-spacing: 0; }
.eyebrow--badge::before { display: none; }
.discbadge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-ui); font-weight: 600;
  font-size: clamp(0.85rem, 0.78rem + 0.4vw, 1.02rem);
  letter-spacing: 0.06em; text-transform: uppercase; line-height: 1;
  color: var(--text-soft);
  padding: 0.46rem 0.9rem 0.46rem 0.72rem;
  border-radius: var(--r-pill);
  background: color-mix(in oklch, var(--accent) 18%, color-mix(in oklch, var(--ink) 55%, transparent));
  border: 1px solid color-mix(in oklch, var(--accent) 48%, transparent);
  box-shadow: inset 0 1px 0 color-mix(in oklch, #fff 10%, transparent);
  backdrop-filter: blur(7px);
}
.discbadge b { color: var(--accent-bright); font-weight: 700; }
.discbadge__mark {
  flex: none; width: 0.95rem; height: 0.34rem; border-radius: 2px;
  background: var(--accent-bright);
  box-shadow: 0 0 0 2px color-mix(in oklch, var(--accent) 30%, transparent);
}
.eyebrow__loc {
  font-family: var(--font-ui); font-weight: 600;
  font-size: clamp(0.76rem, 0.72rem + 0.2vw, 0.9rem);
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mute);
}

.accent { color: var(--red); }
.theme-kids .accent-2 { color: var(--blue); }
.section--light .accent-2 { color: var(--blue-deep); }

/* ---------------------------------------------------------------------
   4. Layout helpers
   --------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: var(--container-wide); }
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.section--surface { background: var(--ink-2); }
.section--panel {
  background:
    radial-gradient(120% 130% at 50% -20%, color-mix(in oklch, var(--red) 14%, transparent), transparent 58%),
    var(--ink-2);
}
.theme-kids .section--panel {
  background:
    radial-gradient(120% 130% at 50% -20%, color-mix(in oklch, var(--blue) 16%, transparent), transparent 58%),
    var(--ink-2);
}

/* Light section (scoped palette swap) — kids */
.section--light {
  background: var(--light-bg);
  color: var(--light-ink);
  --text: var(--light-ink);
  --text-soft: var(--light-soft);
  --text-mute: var(--light-mute);
  --line: var(--light-line);
  --line-strong: oklch(0.84 0.01 250);
}
.section--light .eyebrow { color: var(--light-mute); }

.section-head { max-width: 60ch; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .h-sec { margin-top: 0.6rem; }
.section-head > p { margin-top: 1.1rem; color: var(--text-soft); font-size: var(--fs-lede); line-height: 1.55; }
.section-head.center > p { margin-inline: auto; }

.stack > * + * { margin-top: 1rem; }
.divider { height: 1px; background: var(--line); border: 0; }

/* "Live wire" — signature thin red rule that draws in on load */
.wire {
  height: 2px;
  width: clamp(48px, 12vw, 96px);
  background: linear-gradient(90deg, var(--red), color-mix(in oklch, var(--red) 0%, transparent));
  border-radius: 2px;
  transform-origin: left center;
}
.theme-kids .wire { background: linear-gradient(90deg, var(--blue), color-mix(in oklch, var(--blue) 0%, transparent)); }

/* ---------------------------------------------------------------------
   5. Buttons
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  min-height: 52px;
  padding: 0 1.6rem;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  transition: transform .2s var(--ease-out-quint), background-color .2s ease,
              border-color .2s ease, box-shadow .28s ease, color .2s ease;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }

.btn--primary {
  background: linear-gradient(180deg, var(--accent-bright), var(--accent) 72%);
  color: var(--on-red);
  border-color: color-mix(in oklch, var(--accent-bright) 82%, #fff);
  box-shadow:
    inset 0 1px 0 color-mix(in oklch, #fff 26%, transparent),
    0 14px 38px -12px color-mix(in oklch, var(--accent) 58%, transparent);
}
.btn--primary:hover {
  background: linear-gradient(180deg, color-mix(in oklch, var(--accent-bright) 78%, #fff), var(--accent-bright) 74%);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 color-mix(in oklch, #fff 30%, transparent),
    0 20px 50px -12px color-mix(in oklch, var(--accent) 80%, transparent);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: color-mix(in oklch, var(--text) 5%, transparent);
  border-color: var(--line-strong);
  color: var(--text);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--text); background: color-mix(in oklch, var(--text) 10%, transparent); transform: translateY(-2px); }
.section--light .btn--ghost { background: #fff; border-color: var(--light-line); color: var(--light-ink); }
.section--light .btn--ghost:hover { border-color: var(--light-ink); background: #fff; }

.btn--lg { min-height: 60px; padding: 0 2rem; font-size: 1.12rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }
.btn-row--center { justify-content: center; }

.cta-note {
  font-size: var(--fs-sm);
  color: var(--text-mute);
  margin-top: 0.9rem;
}

/* ---------------------------------------------------------------------
   6. Header
   --------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  transition: background-color .35s ease, border-color .35s ease, backdrop-filter .35s ease, height .35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: color-mix(in oklch, var(--ink) 82%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 72px;
}
.brand-logo img { height: 30px; width: auto; }
@media (min-width: 600px){ .brand-logo img { height: 34px; } }
.header-actions { display: none; align-items: center; gap: 1.1rem; }
.header-phone {
  font-family: var(--font-ui); font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; font-size: 1rem; color: var(--text-soft);
  display: inline-flex; align-items: center; gap: 0.45rem;
}
.header-phone svg { width: 1.05em; height: 1.05em; color: var(--accent); }
.header-phone:hover { color: var(--text); }
@media (min-width: 760px){
  .header-actions { display: inline-flex; }
  .header-cta { min-height: 46px; padding: 0 1.3rem; font-size: 0.95rem; }
}

/* ---------------------------------------------------------------------
   7. Hero — photo-free, crafted background, oversized type
   No photo dependency: a graded base, an off-center brand glow (kept away
   from the CTA so the button never sits on red), a barely-there mat weave,
   and film grain to kill banding and feel hand-made.
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;            /* mobile: text sits over the darkened lower frame */
  min-height: clamp(620px, 94svh, 900px);
  padding-top: clamp(108px, 14vh, 168px);
  padding-bottom: clamp(2.25rem, 6vw, 4rem);
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);           /* fallback under the photo */
}
@media (min-width: 880px){ .hero { align-items: center; } }

/* Real, full-bleed academy photography — the room sells the room */
.hero__media { position: absolute; inset: 0; z-index: -3; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 26%;
  filter: saturate(0.94) contrast(1.03) brightness(0.88);
}
@media (min-width: 880px){ .hero__media img { object-position: 70% 28%; } }

/* Directional cinematic scrim — keeps faces visible, copy legible.
   Heavy at the bottom (mobile text zone) + a left bias for desktop,
   with a single accent glow and a hard fade into the next section. */
.hero__scrim {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(80% 55% at 88% 10%, color-mix(in oklch, var(--accent) 24%, transparent), transparent 56%),
    linear-gradient(180deg,
      color-mix(in oklch, var(--ink) 38%, transparent) 0%,
      color-mix(in oklch, var(--ink) 18%, transparent) 18%,
      color-mix(in oklch, var(--ink) 56%, transparent) 44%,
      color-mix(in oklch, var(--ink) 84%, transparent) 66%,
      var(--ink) 92%);
}
@media (min-width: 880px){
  .hero__scrim {
    background:
      radial-gradient(70% 80% at 92% 14%, color-mix(in oklch, var(--accent) 24%, transparent), transparent 56%),
      linear-gradient(100deg,
        color-mix(in oklch, var(--ink) 88%, transparent) 0%,
        color-mix(in oklch, var(--ink) 70%, transparent) 38%,
        color-mix(in oklch, var(--ink) 24%, transparent) 66%,
        transparent 100%),
      linear-gradient(180deg, transparent 60%, var(--ink) 100%);
  }
}
/* tatami / mat weave — structure you feel more than see, faint over the photo */
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    repeating-linear-gradient(45deg, color-mix(in oklch, var(--text) 4%, transparent) 0 1px, transparent 1px 27px),
    repeating-linear-gradient(-45deg, color-mix(in oklch, var(--text) 3%, transparent) 0 1px, transparent 1px 27px);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 100%, #000, transparent 70%);
          mask-image: radial-gradient(120% 90% at 50% 100%, #000, transparent 70%);
  opacity: .4;
}
/* film grain */
.hero__fx {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__inner { width: 100%; }
.hero__content { max-width: 46rem; }
.hero .eyebrow { color: var(--text); }
.hero .eyebrow--badge { margin-bottom: clamp(1.4rem, 3vw, 2rem); }
.hero .wire { margin-bottom: 1.25rem; }
.hero .h-hero { max-width: 22ch; overflow-wrap: break-word; text-shadow: 0 2px 30px rgb(var(--shadow-color) / .5); }
@media (max-width: 560px){ .hero .h-hero { font-size: clamp(2.3rem, 9.2vw, 3.3rem); } }
.hero .h-hero .accent { color: var(--accent-bright); }
.hero .lede { margin-top: 1.3rem; color: oklch(0.95 0.006 75); max-width: 52ch; text-shadow: 0 1px 16px rgb(var(--shadow-color) / .6); }
.hero .btn-row { margin-top: 1.85rem; }

/* In-hero proof — puts the 5.0 rating in the first screen, where it converts */
.hero__proof {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin-top: 1.4rem;
  font-size: var(--fs-sm); color: var(--text);
}
.hero__proof .hero__stars { display: inline-flex; gap: 1px; color: #fbb01b; }
.hero__proof .hero__stars svg { width: 1rem; height: 1rem; fill: currentColor; stroke: none; }
.hero__proof b { font-family: var(--font-ui); font-weight: 700; letter-spacing: 0.02em; }
.hero__proof span { color: var(--text-soft); }

/* reassurance chips */
.reassure {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.55rem 0.7rem;
  margin-top: 1.7rem;
}
.reassure span {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: var(--fs-sm); color: var(--text-soft);
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: color-mix(in oklch, var(--ink) 45%, transparent);
  backdrop-filter: blur(4px);
}
.reassure span::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex: none;
}

/* ---------------------------------------------------------------------
   8. Credibility strip — true facts only, anchors trust under the hero
   --------------------------------------------------------------------- */
.cred {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-2);
}
.cred__row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0.6rem clamp(1rem, 3vw, 2.4rem);
  padding-block: clamp(1rem, 2.4vw, 1.5rem);
}
.cred__item {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-ui); font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; font-size: clamp(0.85rem, 0.72rem + 0.5vw, 1.05rem);
  color: var(--text-soft);
}
.cred__item svg { width: 1.1em; height: 1.1em; color: var(--accent); flex: none; }

/* ---------------------------------------------------------------------
   9. Split (image + text) — asymmetric, editorial
   --------------------------------------------------------------------- */
.split {
  display: grid;
  gap: clamp(1.75rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 880px){
  .split { grid-template-columns: 1.05fr 0.95fr; }
  .split--text-lead { grid-template-columns: 0.95fr 1.05fr; }
  .split--media-right .split__media { order: 2; }
}
.split__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
@media (min-width: 880px){ .split__media img { aspect-ratio: 3 / 4; max-height: 600px; } }
.split__media--wide img { aspect-ratio: 4 / 3; }
.split__media::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--text) 9%, transparent);
  pointer-events: none;
}
/* small red corner tab — signature detail */
.split__media::before {
  content: ""; position: absolute; left: 0; top: 0; z-index: 1;
  width: 56px; height: 4px; background: var(--red);
}
.theme-kids .split__media::before { background: var(--blue); }
.split__body .wire { margin-bottom: 1.1rem; }
.split__body .h-sec { margin-bottom: 1rem; }

/* ---------------------------------------------------------------------
   10. Feature lists
   --------------------------------------------------------------------- */
.checklist { display: grid; gap: 0.8rem; }
.checklist li {
  position: relative; padding-left: 2.2rem;
  color: var(--text-soft); line-height: 1.45;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.02rem;
  width: 1.5rem; height: 1.5rem; border-radius: 50%;
  background-color: color-mix(in oklch, var(--red) 16%, transparent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23df292e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 0.85rem; background-repeat: no-repeat; background-position: center;
}
.theme-kids .checklist li::before {
  background-color: color-mix(in oklch, var(--blue) 18%, transparent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a83db' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.checklist--two { gap: 0.8rem 1.8rem; }
@media (min-width: 680px){ .checklist--two { grid-template-columns: 1fr 1fr; } }

/* Beginner "fears" — quiet, italic, answered right after */
.fears { display: grid; gap: 0.5rem; }
.fears li {
  color: var(--text-mute); font-style: italic;
  padding-left: 1.3rem; position: relative;
}
.fears li::before { content: "\201C"; position: absolute; left: 0; top: 0.1em; color: var(--red); font-style: normal; font-weight: 700; font-size: 1.2em; }
.theme-kids .fears li::before { color: var(--blue); }

/* ---------------------------------------------------------------------
   11. Numbered sequence — the free-trial flow (a real, ordered sequence)
   --------------------------------------------------------------------- */
/* A connected timeline, not a row of four identical cards.
   Vertical rail on mobile; one continuous connector across the top on desktop. */
.steps { display: grid; gap: 0; counter-reset: step; position: relative; }
.step { position: relative; padding: 0 0 2rem 3.7rem; }
.step:last-child { padding-bottom: 0; }
/* vertical rail (mobile) */
.step::before {
  content: ""; position: absolute; left: 1.275rem; top: 2.65rem; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--accent), color-mix(in oklch, var(--accent) 6%, transparent));
}
.step:last-child::before { display: none; }
.step__num {
  position: absolute; left: 0; top: 0; margin: 0;
  width: 2.65rem; height: 2.65rem; display: grid; place-items: center;
  border-radius: 50%;
  font-family: var(--font-display); font-weight: 800; font-size: 1.25rem;
  color: var(--on-red);
  background: linear-gradient(180deg, var(--accent-bright), var(--accent) 78%);
  box-shadow: 0 0 0 5px color-mix(in oklch, var(--accent) 13%, transparent), var(--shadow-sm);
}
.step h3 { font-size: 1.24rem; margin-bottom: 0.35rem; padding-top: 0.3rem; text-transform: none; letter-spacing: 0; }
.step p { color: var(--text-soft); font-size: 0.98rem; max-width: 36ch; }

@media (min-width: 820px){
  .steps { grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
  .step { padding: 4.4rem 0 0 0; }
  .step::before { display: none; }
  .step p { max-width: none; }
  .steps::before {
    content: ""; position: absolute; top: 1.325rem; left: 1.325rem; right: 1.325rem; height: 2px;
    background: linear-gradient(90deg, var(--accent), color-mix(in oklch, var(--accent) 35%, transparent) 60%, color-mix(in oklch, var(--accent) 12%, transparent));
  }
}

/* ---------------------------------------------------------------------
   12. Outcome list — "what changes"
   --------------------------------------------------------------------- */
.feel-list { display: grid; gap: 0.9rem; }
@media (min-width: 720px){ .feel-list { grid-template-columns: 1fr 1fr; } }
.feel-list li {
  display: flex; gap: 0.9rem; align-items: flex-start;
  padding: 1.1rem 1.2rem;
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--text-soft);
}
.feel-list li b { color: var(--text); font-weight: 600; }
.feel-list svg { width: 1.35rem; height: 1.35rem; color: var(--red); flex: none; margin-top: 0.15rem; }
.theme-kids .feel-list svg { color: var(--blue); }
.section--light .feel-list li { background: #fff; border-color: var(--light-line); box-shadow: var(--shadow-sm); }

/* ---------------------------------------------------------------------
   13. Photo gallery — cinematic, varied (breaks the uniform grid)
   --------------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}
@media (min-width: 720px){ .gallery { grid-template-columns: repeat(3, 1fr); gap: 0.8rem; } }
.gallery figure {
  position: relative; overflow: hidden;
  border-radius: var(--r-md);
  aspect-ratio: 4/5; background: var(--surface-2);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out-quint), filter .5s ease; filter: saturate(0.94); }
.gallery figure:hover img { transform: scale(1.07); filter: saturate(1.05); }
/* feature mosaic: first tile anchors a clean 3-col block (6 tiles, no gaps) */
@media (min-width: 720px){
  .gallery--feature figure:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
}

/* ---------------------------------------------------------------------
   14. Proof band — honest. Real photography + true credibility, no fake quotes.
   --------------------------------------------------------------------- */
.proof {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--r-xl);
  min-height: clamp(360px, 52vw, 520px);
  display: flex; align-items: flex-end;
  padding: clamp(1.8rem, 5vw, 3.4rem);
}
.proof__bg { position: absolute; inset: 0; z-index: -2; }
.proof__bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9) brightness(0.78); }
.proof__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(90% 120% at 12% 100%, color-mix(in oklch, var(--red) 24%, transparent), transparent 55%),
    linear-gradient(180deg, color-mix(in oklch, var(--ink) 20%, transparent), color-mix(in oklch, var(--ink) 82%, transparent));
}
.theme-kids .proof__scrim {
  background:
    radial-gradient(90% 120% at 12% 100%, color-mix(in oklch, var(--blue) 24%, transparent), transparent 55%),
    linear-gradient(180deg, color-mix(in oklch, var(--ink) 18%, transparent), color-mix(in oklch, var(--ink) 80%, transparent));
}
.proof__body { max-width: 40ch; }
.proof__body .h-sec { color: #fff; }
.proof__body p { color: oklch(0.92 0.006 75); margin-top: 1rem; }
.proof__badges {
  display: flex; flex-wrap: wrap; gap: 0.5rem 0.7rem; margin-top: 1.4rem;
}
.proof__badges span {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: var(--fs-sm); font-weight: 500; color: #fff;
  padding: 0.45rem 0.85rem; border-radius: var(--r-pill);
  background: color-mix(in oklch, var(--ink) 50%, transparent);
  border: 1px solid color-mix(in oklch, #fff 18%, transparent);
  backdrop-filter: blur(6px);
}
.proof__badges svg { width: 1.05em; height: 1.05em; color: var(--red); }
.theme-kids .proof__badges svg { color: var(--blue-bright); }

/* ---------------------------------------------------------------------
   14b. Reviews — real Google testimonials
   --------------------------------------------------------------------- */
.reviews__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.reviews__head .wire { margin-bottom: 1rem; }
.reviews__head .h-sec { max-width: 24ch; }

/* Google rating pill */
.grating {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.05rem;
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: border-color .25s ease, transform .25s var(--ease-out-quint);
}
.grating:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.section--light .grating { background: #fff; box-shadow: var(--shadow-sm); }
.grating > svg { width: 1.35rem; height: 1.35rem; flex: none; }
.grating__stars { display: inline-flex; gap: 1px; color: #fbb01b; }
.grating__stars svg { width: 0.98rem; height: 0.98rem; fill: currentColor; stroke: none; }
.grating__text { font-size: 0.92rem; color: var(--text-soft); }
.grating__text b { color: var(--text); font-weight: 700; }

/* Quote grid */
.quotes {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.35rem);
  grid-template-columns: 1fr;
}
@media (min-width: 720px){ .quotes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 880px){ .quotes--tri { grid-template-columns: repeat(3, 1fr); } }

.quote {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  padding: clamp(1.4rem, 3vw, 1.85rem);
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
}
.section--light .quote { background: #fff; border-color: var(--light-line); box-shadow: var(--shadow-md); }
.quote > * { position: relative; z-index: 1; }
.quote::after {
  content: "\201D";
  position: absolute;
  top: 0.04em;
  right: 0.32em;
  z-index: 0;
  font-family: var(--font-display);
  font-size: 5.5rem;
  line-height: 1;
  color: var(--red);
  opacity: 0.13;
  pointer-events: none;
}
.theme-kids .quote::after { color: var(--blue); }
.quote__stars { display: inline-flex; gap: 2px; color: #fbb01b; }
.quote__stars svg { width: 1.05rem; height: 1.05rem; fill: currentColor; stroke: none; }
.quote__text {
  font-size: 1.02rem;
  line-height: 1.62;
  color: var(--text-soft);
}
.quote__by {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}
.quote__avatar {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text);
  background: color-mix(in oklch, var(--red) 26%, var(--surface-2));
}
.theme-kids .quote__avatar { background: color-mix(in oklch, var(--blue) 30%, var(--surface-2)); }
.section--light .quote__avatar { color: #fff; background: var(--red); }
.theme-kids .section--light .quote__avatar { background: var(--blue-deep); }
.quote__name { font-weight: 600; color: var(--text); font-size: 0.98rem; line-height: 1.2; }
.quote__meta { display: block; color: var(--text-mute); font-size: 0.83rem; margin-top: 2px; }

/* ---------------------------------------------------------------------
   15. FAQ (native <details>)
   --------------------------------------------------------------------- */
.faq { display: grid; gap: 0.7rem; }
.faq details {
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .25s ease, background-color .25s ease;
}
.faq details[open] { border-color: var(--line-strong); }
.section--light .faq details { background: #fff; border-color: var(--light-line); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 1.2rem 1.3rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.12rem;
  text-transform: none; letter-spacing: -0.01em; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev {
  flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%;
  display: grid; place-items: center;
  background: color-mix(in oklch, var(--red) 16%, transparent); color: var(--red);
  transition: transform .3s var(--ease-out-quint);
}
.theme-kids .faq summary .chev { background: color-mix(in oklch, var(--blue) 18%, transparent); color: var(--blue); }
.section--light .theme-kids .faq summary .chev,
.theme-kids .section--light .faq summary .chev { color: var(--blue-deep); }
.faq details[open] summary .chev { transform: rotate(45deg); }
.faq .faq__a { padding: 0 1.3rem 1.3rem; color: var(--text-soft); max-width: 70ch; }

/* ---------------------------------------------------------------------
   16. Instructors — real faces, belts; trust, moved up
   --------------------------------------------------------------------- */
.instructors { display: grid; gap: clamp(1rem, 3vw, 1.6rem); }
@media (min-width: 720px){ .instructors { grid-template-columns: 1fr 1fr; } }
.instructor {
  display: grid; grid-template-columns: 1fr; align-items: stretch;
  background: var(--surface-1); border: 1px solid var(--line);
  border-radius: var(--r-xl); overflow: hidden;
}
@media (min-width: 480px){ .instructor { grid-template-columns: 42% 1fr; } }
.section--light .instructor { background: #fff; border-color: var(--light-line); box-shadow: var(--shadow-md); }
.instructor__photo { position: relative; background: var(--surface-2); aspect-ratio: 4/5; }
@media (min-width: 480px){ .instructor__photo { aspect-ratio: auto; } }
.instructor__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 16%; filter: saturate(0.95); }
.instructor__body { padding: clamp(1.3rem, 3vw, 1.8rem); display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; }
.instructor__name { font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1; }
.instructor__body .prose { margin-top: 0.1rem; color: var(--text-soft); }

/* belt-rank tags */
.tag {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-ui); font-weight: 600; letter-spacing: 0.06em;
  font-size: 0.9rem; text-transform: uppercase;
  padding: 0.42rem 0.9rem; border-radius: var(--r-pill);
}
.tag--red { background: color-mix(in oklch, var(--red) 16%, transparent); color: var(--red); }
.tag--blue { background: color-mix(in oklch, var(--blue) 18%, transparent); color: var(--blue); }
.section--light .tag--blue { color: var(--blue-deep); }
.tag--brown { background: #6f4a2e; color: #fff; }
.tag--black { background: #17181a; color: #fff; border: 1px solid color-mix(in oklch, #fff 16%, transparent); }
.tag::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 2px; background: currentColor; opacity: 0.85; }
.tag--brown::before, .tag--black::before { background: #fff; }

/* program cards (kids age paths) */
.program {
  background: var(--surface-1); border: 1px solid var(--line);
  border-radius: var(--r-xl); overflow: hidden; display: flex; flex-direction: column;
}
.section--light .program { background: #fff; border-color: var(--light-line); box-shadow: var(--shadow-md); }
.program__media { aspect-ratio: 16/10; overflow: hidden; }
.program__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out-quint); }
.program:hover .program__media img { transform: scale(1.05); }
.program__body { padding: clamp(1.4rem, 3vw, 1.9rem); display: flex; flex-direction: column; gap: 0.9rem; flex: 1; }
.program__body .h-sub { text-transform: none; }

/* ---------------------------------------------------------------------
   16b. Card interactions — lift on hover + a cursor-following accent
   "spotlight" on the 1px border. The expensive-feeling detail.
   --------------------------------------------------------------------- */
.instructor, .program, .quote, .card {
  position: relative;
  transition: transform .35s var(--ease-out-quint), border-color .35s ease, box-shadow .35s ease;
}
@media (hover: hover) and (pointer: fine) {
  .instructor:hover, .program:hover, .quote:hover {
    transform: translateY(-5px);
    border-color: color-mix(in oklch, var(--accent) 32%, var(--line-strong));
    box-shadow: var(--shadow-lg);
  }
  .instructor::before, .program::before, .quote::before, .card::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
    pointer-events: none; z-index: 2;
    background: radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%),
      color-mix(in oklch, var(--accent-bright) 85%, transparent), transparent 68%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    opacity: 0; transition: opacity .4s ease;
  }
  .instructor:hover::before, .program:hover::before, .quote:hover::before, .card:hover::before { opacity: 1; }
}

/* ---------------------------------------------------------------------
   17. Schedule
   --------------------------------------------------------------------- */
.sched { display: grid; }
.sched li {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
  gap: 0.2rem 1rem; padding: 0.95rem 0; border-bottom: 1px solid var(--line);
}
.sched li:first-child { padding-top: 0; }
.sched li:last-child { border-bottom: 0; padding-bottom: 0; }
.sched__time { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--text); letter-spacing: 0.01em; }
.sched__days { color: var(--text-soft); font-size: 0.95rem; font-variant-numeric: tabular-nums; }

.sched-grid { display: grid; gap: 1rem; }
@media (min-width: 680px){ .sched-grid { grid-template-columns: 1fr 1fr; } }

.notice {
  display: flex; gap: 0.7rem; align-items: flex-start;
  padding: 0.95rem 1.1rem;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--r-md); color: var(--text-soft); font-size: 0.92rem; line-height: 1.45;
}
.notice svg { width: 1.2rem; height: 1.2rem; color: var(--red); flex: none; margin-top: 0.12rem; }
.theme-kids .notice svg { color: var(--blue); }
.notice b { color: var(--text); font-weight: 600; }
.section--light .notice { background: #fff; }

/* generic card (used on booking pages + schedule) */
.card {
  background: var(--surface-1); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2rem);
}
.section--light .card { background: #fff; border-color: var(--light-line); box-shadow: var(--shadow-md); }
.card__title { font-size: 1.22rem; margin-bottom: 0.5rem; text-transform: none; letter-spacing: -0.01em; }

/* ---------------------------------------------------------------------
   18. Final CTA band
   --------------------------------------------------------------------- */
.cta-band {
  position: relative; border-radius: var(--r-xl); overflow: hidden; isolation: isolate;
  padding: clamp(2.4rem, 6vw, 4.5rem); text-align: center;
}
.cta-band__bg { position: absolute; inset: 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9) brightness(0.7); }
.cta-band__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, color-mix(in oklch, var(--ink) 80%, transparent), color-mix(in oklch, var(--ink) 72%, transparent)),
    radial-gradient(80% 130% at 50% 0%, color-mix(in oklch, var(--red) 34%, transparent), transparent 60%);
}
.theme-kids .cta-band__scrim {
  background:
    linear-gradient(180deg, color-mix(in oklch, var(--ink) 78%, transparent), color-mix(in oklch, var(--ink) 70%, transparent)),
    radial-gradient(80% 130% at 50% 0%, color-mix(in oklch, var(--blue) 34%, transparent), transparent 60%);
}
.cta-band .wire { margin: 0 auto 1.2rem; }
.cta-band .h-sec { color: #fff; max-width: 18ch; margin-inline: auto; }
.cta-band p { color: oklch(0.92 0.006 75); margin-inline: auto; max-width: 52ch; margin-top: 1.1rem; }
.cta-band .btn-row { margin-top: 1.7rem; }

/* ---------------------------------------------------------------------
   19. Footer
   --------------------------------------------------------------------- */
.site-footer {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  padding-block: clamp(2.75rem, 6vw, 3.75rem);
}
.site-footer__grid { display: grid; gap: 2.2rem; }
@media (min-width: 760px){ .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.site-footer img.flogo { height: 34px; margin-bottom: 1.1rem; }
.site-footer__about { color: var(--text-soft); max-width: 38ch; }
.site-footer h4 {
  font-family: var(--font-body); font-weight: 600; font-size: var(--fs-xs);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 1rem;
}
.site-footer ul { display: grid; gap: 0.6rem; }
.site-footer a, .site-footer p { color: var(--text-soft); font-size: 0.95rem; }
.site-footer li a { display: inline-flex; align-items: center; gap: 0.5rem; }
.site-footer li svg { width: 1em; height: 1em; color: var(--text-mute); flex: none; }
.site-footer a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; justify-content: space-between;
  color: var(--text-mute); font-size: var(--fs-sm);
}

/* ---------------------------------------------------------------------
   20. Sticky mobile CTA bar
   --------------------------------------------------------------------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-stickycta);
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
  background: color-mix(in oklch, var(--ink) 92%, transparent);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(125%);
  transition: transform .4s var(--ease-out-quint);
}
.mobile-cta.is-visible { transform: translateY(0); }
.mobile-cta .btn { width: 100%; }
.mobile-cta__note {
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-size: 0.76rem; color: var(--text-soft); margin-bottom: 0.45rem;
}
.mobile-cta__note b { color: var(--text); font-family: var(--font-ui); font-weight: 700; letter-spacing: 0.02em; }
.mobile-cta__stars { display: inline-flex; gap: 1px; color: #fbb01b; }
.mobile-cta__stars svg { width: 0.82rem; height: 0.82rem; fill: currentColor; stroke: none; }
@media (min-width: 760px){ .mobile-cta { display: none; } }

/* ---------------------------------------------------------------------
   21. Modal (trial form)
   --------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: var(--z-backdrop);
  background: color-mix(in oklch, oklch(0.1 0.006 25) 66%, transparent);
  backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity .32s ease, visibility .32s ease;
}
.modal-backdrop.is-open { opacity: 1; visibility: visible; }
.modal {
  position: fixed; z-index: var(--z-modal);
  left: 50%; bottom: 0; width: 100%; max-width: 520px;
  transform: translateX(-50%) translateY(100%);
  background: var(--surface-1);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  box-shadow: var(--shadow-lg);
  transition: transform .44s var(--ease-out-quint);
  max-height: 94dvh; overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.modal-backdrop.is-open .modal { transform: translateX(-50%) translateY(0); }
@media (min-width: 600px){
  .modal { bottom: auto; top: 50%; transform: translate(-50%, calc(-50% + 24px)); border-radius: var(--r-xl); max-height: 92dvh; }
  .modal-backdrop.is-open .modal { transform: translate(-50%, -50%); }
}
.modal__head { position: relative; padding: 1.7rem 1.6rem 1.3rem; border-bottom: 1px solid var(--line); }
.modal__grip { display: none; }
@media (max-width: 599px){
  .modal__grip { display: block; width: 42px; height: 4px; border-radius: 999px; background: var(--line-strong); margin: 0.8rem auto -0.3rem; }
}
.modal__eyebrow {
  font-family: var(--font-body); font-weight: 600; font-size: var(--fs-xs);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--red);
}
.theme-kids .modal__eyebrow { color: var(--blue-bright); }
.modal__title { font-size: clamp(1.5rem, 4.5vw, 1.95rem); margin-top: 0.5rem; text-transform: none; letter-spacing: -0.015em; }
.modal__sub { color: var(--text-soft); font-size: 0.95rem; margin-top: 0.5rem; }
.modal__close {
  position: absolute; top: 1rem; right: 1rem; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface-3); color: var(--text-soft);
  transition: background .2s, color .2s, transform .25s var(--ease-out-quint);
}
.modal__close:hover { background: var(--surface-2); color: #fff; transform: rotate(90deg); }
.modal__close svg { width: 1.3rem; height: 1.3rem; }
.modal__body { padding: 1.5rem 1.6rem 1.8rem; }

/* Form fields */
.field { margin-bottom: 1.1rem; }
.field > label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--text); margin-bottom: 0.45rem; }
.field .req { color: var(--red); }
.theme-kids .field .req { color: var(--blue-bright); }
.input {
  width: 100%; min-height: 54px; padding: 0 1rem;
  background: var(--ink-2); border: 1.5px solid var(--line-strong);
  border-radius: var(--r-md); color: var(--text);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.input::placeholder { color: var(--text-mute); }
.input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px color-mix(in oklch, var(--red) 28%, transparent); }
.theme-kids .input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in oklch, var(--blue) 30%, transparent); }
.input[aria-invalid="true"] { border-color: oklch(0.68 0.2 25); }
.field__row { display: grid; gap: 1.1rem; }
@media (min-width: 460px){ .field__row { grid-template-columns: 1fr 1fr; } }
.field__error { display: none; color: oklch(0.74 0.17 25); font-size: 0.82rem; margin-top: 0.35rem; }
.field__error.show { display: block; }
.modal__submit { margin-top: 0.4rem; }
.modal__submit .btn { width: 100%; }
.modal__trust { margin-top: 1.1rem; text-align: center; color: var(--text-mute); font-size: 0.82rem; display: flex; align-items: center; justify-content: center; gap: 0.4rem; }
.modal__trust svg { width: 1rem; height: 1rem; }

/* button loading spinner */
.btn .spinner { display: none; width: 1.2em; height: 1.2em; }
.btn.is-loading .btn__label { opacity: 0.65; }
.btn.is-loading .spinner { display: block; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------------
   22. Booking page
   --------------------------------------------------------------------- */
.booking { padding-top: 88px; min-height: 100dvh; display: flex; flex-direction: column; }
.booking__head { text-align: center; padding-block: clamp(2rem, 6vw, 3.4rem); }
.booking__steps {
  display: inline-flex; gap: 0.55rem; align-items: center; flex-wrap: wrap; justify-content: center;
  margin-bottom: 1.3rem; color: var(--text-mute); font-size: var(--fs-sm);
}
.booking__steps b {
  display: inline-grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%;
  background: color-mix(in oklch, var(--red) 18%, transparent); color: var(--red); font-size: 0.78rem;
}
.theme-kids .booking__steps b { background: color-mix(in oklch, var(--blue) 20%, transparent); color: var(--blue-bright); }
.booking__steps .done b { background: var(--red); color: #fff; }
.theme-kids .booking__steps .done b { background: var(--blue-deep); color: #fff; }
.embed-wrap {
  background: var(--surface-1); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(0.5rem, 2vw, 1rem); min-height: 640px;
}
.embed-placeholder {
  border: 2px dashed var(--line-strong); border-radius: var(--r-md); min-height: 600px;
  display: grid; place-items: center; text-align: center; padding: 2rem; color: var(--text-mute);
}
.embed-placeholder .h-sub { color: var(--text); }
.booking__reassure { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 760px){ .booking__reassure { grid-template-columns: repeat(3, 1fr); } }
.booking__reassure .card__title { display: flex; align-items: center; gap: 0.55rem; }
.booking__reassure .card__title svg { width: 1.2rem; height: 1.2rem; color: var(--red); flex: none; }
.theme-kids .booking__reassure .card__title svg { color: var(--blue); }

/* Select field (kids age-group dropdown) */
.select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 2.7rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a39d96' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 1.15rem;
}
.select:invalid { color: var(--text-mute); }
.select option { color: #14161a; }

/* Age-group toggle (booking page) */
.agetoggle-wrap { text-align: center; margin-bottom: 1.2rem; }
.agetoggle-label {
  font-family: var(--font-body); font-weight: 600; font-size: var(--fs-xs);
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 0.7rem;
}
.agetoggle {
  display: inline-flex; gap: 0.3rem; padding: 0.35rem; max-width: 100%;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-pill);
}
.agetoggle [role="tab"] {
  min-height: 46px; padding: 0.6rem 1.3rem; border-radius: var(--r-pill); white-space: nowrap;
  font-family: var(--font-ui); font-weight: 600; font-size: 1.02rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--text-soft);
  transition: background-color .2s ease, color .2s ease, box-shadow .28s ease;
}
.agetoggle [role="tab"]:hover { color: #fff; }
.agetoggle [role="tab"][aria-selected="true"] { background: var(--blue-deep); color: #fff; box-shadow: var(--glow-blue); }
.cal-showing { text-align: center; color: var(--text-soft); font-size: 0.92rem; margin-bottom: 0.9rem; }
.cal-showing b { color: var(--text); font-family: var(--font-display); font-weight: 600; }
.cal-panel[hidden] { display: none; }
.booking--compact .booking__head { padding-block: clamp(1rem, 3.2vw, 1.7rem); }
.booking--compact .booking__head .h-sub { max-width: 32ch; margin-inline: auto; }

/* ---------------------------------------------------------------------
   22b. Home chooser (index.html) — two-path entry for the domain root
   --------------------------------------------------------------------- */
.chooser {
  min-height: 100dvh; display: flex; flex-direction: column; justify-content: center;
  padding-top: clamp(104px, 13vh, 150px); padding-bottom: clamp(2.5rem, 6vw, 4rem);
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(60% 50% at 50% -10%, color-mix(in oklch, var(--red) 16%, transparent), transparent 60%),
    linear-gradient(180deg, oklch(0.135 0.006 25), var(--ink) 60%);
}
.chooser__head { text-align: center; max-width: 46ch; margin: 0 auto clamp(1.8rem, 4vw, 2.8rem); }
.chooser__logo { height: clamp(44px, 7vw, 60px); width: auto; margin: 0 auto 1.5rem; }
.chooser__head h1 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.1rem); }
.chooser__head .accent { color: var(--red); }
.chooser__head p { color: var(--text-soft); font-size: var(--fs-lede); margin-top: 1rem; }
.chooser__grid { display: grid; gap: clamp(0.9rem, 2.2vw, 1.4rem); }
@media (min-width: 760px){ .chooser__grid { grid-template-columns: 1fr 1fr; } }

.choice {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(300px, 44vw, 440px);
  border-radius: var(--r-xl); overflow: hidden; isolation: isolate;
  padding: clamp(1.4rem, 3vw, 2.1rem);
  border: 1px solid var(--line);
  transition: transform .4s var(--ease-out-quint), box-shadow .4s ease, border-color .4s ease;
}
.choice--adult { --accent: var(--red); --accent-bright: var(--red-bright); }
.choice--kids  { --accent: var(--blue); --accent-bright: var(--blue-bright); }
.choice img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  filter: saturate(0.95) brightness(0.82); transition: transform .6s var(--ease-out-quint);
}
.choice::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(90% 80% at 0% 100%, color-mix(in oklch, var(--accent) 30%, transparent), transparent 55%),
    linear-gradient(180deg, color-mix(in oklch, var(--ink) 10%, transparent) 24%, color-mix(in oklch, var(--ink) 88%, transparent) 90%);
}
.choice::before { content: ""; position: absolute; top: 0; left: 0; z-index: 1; width: 64px; height: 4px; background: var(--accent); }
.choice__tag {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 0.5rem;
  font-family: var(--font-ui); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  font-size: 0.9rem; color: #fff; padding: 0.4rem 0.85rem; margin-bottom: 0.9rem;
  border-radius: var(--r-pill);
  background: color-mix(in oklch, var(--ink) 46%, transparent);
  border: 1px solid color-mix(in oklch, #fff 18%, transparent);
  backdrop-filter: blur(6px);
}
.choice__tag::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 2px; background: var(--accent-bright); }
.choice h2 { color: #fff; font-size: clamp(1.7rem, 1.2rem + 2.4vw, 2.5rem); }
.choice p { color: oklch(0.93 0.006 75); margin-top: 0.45rem; max-width: 32ch; }
.choice__go {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.15rem;
  font-family: var(--font-ui); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  font-size: 1.02rem; color: #fff;
}
.choice__go span {
  display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: linear-gradient(180deg, var(--accent-bright), var(--accent) 78%);
  box-shadow: var(--glow-red);
}
.choice__go svg { width: 1.15rem; height: 1.15rem; transition: transform .3s var(--ease-out-quint); }
@media (hover: hover) and (pointer: fine){
  .choice:hover { transform: translateY(-5px); border-color: color-mix(in oklch, var(--accent) 40%, var(--line)); box-shadow: var(--shadow-lg); }
  .choice:hover img { transform: scale(1.05); }
  .choice:hover .choice__go svg { transform: translateX(4px); }
}
.chooser__foot { text-align: center; margin-top: clamp(1.6rem, 4vw, 2.4rem); color: var(--text-mute); font-size: var(--fs-sm); }
.chooser__foot a { color: var(--text-soft); font-weight: 600; }
.chooser__foot a:hover { color: var(--text); }

/* ---------------------------------------------------------------------
   23. Scroll reveal — progressive enhancement, visible by default
   --------------------------------------------------------------------- */
.js .reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity var(--dur) var(--ease-out-quint), transform var(--dur) var(--ease-out-quint);
  will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }

/* Hero load choreography — plays via CSS animation (not gated on IO).
   Base state is the visible/final state, so reduced-motion + no-JS still show. */
.js .hero [data-load] { animation: heroRise 0.85s var(--ease-out-expo) both; }
.js .hero [data-load="1"] { animation-delay: .08s; }
.js .hero [data-load="2"] { animation-delay: .18s; }
.js .hero [data-load="3"] { animation-delay: .28s; }
.js .hero [data-load="4"] { animation-delay: .4s; }
.js .hero .wire[data-load] { animation: wireDraw 0.7s var(--ease-out-expo) both; }
@keyframes heroRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes wireDraw { from { opacity: 0; transform: scaleX(0); } to { opacity: 1; transform: scaleX(1); } }

/* ---------------------------------------------------------------------
   24. Utilities
   --------------------------------------------------------------------- */
.center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mx-auto { margin-inline: auto; }
.nowrap { white-space: nowrap; }
.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;
}
body.modal-open { overflow: hidden; }

/* ---------------------------------------------------------------------
   25. Reduced motion
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .js .hero [data-load], .js .hero .wire[data-load] { opacity: 1 !important; transform: none !important; }
  .gallery figure:hover img,
  .program:hover .program__media img { transform: none; }
}
