/* ==========================================================================
   Fujswimm swimming academy — Option A "Palmwater Calm"
   Quiet editorial, ivory deck, palm-shade blue. Rings, not rhythm.
   ========================================================================== */

:root {
  /* Palette (brief A) — contrast checked on --bg #F5F1E8 */
  --bg: #EFF8FC;          /* pale sky */
  --bg-2: #D9EEF9;        /* light blue water */
  --surface: #FFFFFF;
  --ink: #173E50;         /* 10.9:1 on bg */
  --muted: #466574;       /* 5.5:1 on bg (brief #65766F darkened for body text) */
  --accent: #167EBA;      /* pool blue — display sizes only (3.9:1) */
  --accent-strong: #136DA3; /* buttons / small accent text (5.6:1 with white) */
  --deep: #153F75;        /* dark mosaic */
  --sand: #BDDFF1;        /* deck paving */
  --palm: #78B5D3;        /* palms */
  --palm-ink: #24586E;    /* palm for small text */
  --line: rgba(23, 62, 80, .16);
  --line-soft: rgba(23, 62, 80, .09);

  /* Type */
  --font-display: "DM Serif Display", "Iowan Old Style", Georgia, serif;
  --font-text: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ar: "Noto Naskh Arabic", "Geeza Pro", serif;

  --fs-hero: clamp(2.6rem, 1.35rem + 5.3vw, 6.6rem);
  --fs-d1: clamp(2.35rem, 1.3rem + 4.2vw, 5.6rem);
  --fs-d2: clamp(2rem, 1.25rem + 3vw, 4.25rem);
  --fs-d3: clamp(1.6rem, 1.15rem + 1.8vw, 2.75rem);
  --fs-lead: clamp(1.2rem, 1.02rem + .7vw, 1.6rem);
  --fs-body: 1.125rem;
  --fs-small: 1.0625rem;
  --fs-micro: .75rem;

  /* Space */
  --gutter: clamp(1.25rem, .6rem + 3.2vw, 4.5rem);
  --s-1: .5rem; --s-2: 1rem; --s-3: 1.5rem; --s-4: 2.5rem; --s-5: 4rem;
  --section: clamp(5rem, 3rem + 9vw, 11rem);
  --maxw: 1440px;

  /* Shape & motion */
  --r-sm: 10px; --r-md: 18px; --r-lg: 28px;
  --arch: 46% 46% var(--r-md) var(--r-md) / 32% 32% var(--r-md) var(--r-md);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  /* Layers */
  --z-bg: 0; --z-mid: 1; --z-fg: 2; --z-header: 50; --z-menu: 80;
  --header-h: 76px;
}

html { background: var(--bg); color: var(--ink); scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  background: var(--bg);
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  overflow-x: clip;
}
/* paper grain */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .4 0 0 0 0 .3 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 4px; border-radius: 4px; }
.mk-skip { background: var(--ink); color: var(--bg); }

[lang="ar"] { font-family: var(--font-ar); letter-spacing: 0 !important; line-height: 1.8; }

/* iPhone status bar */
.mk-statusbar {
  position: fixed; top: 0; left: 0; right: 0; height: env(safe-area-inset-top, 0px);
  background: var(--bg); z-index: 2147483000; pointer-events: none; transition: opacity .3s;
}
.mk-menu-open .mk-statusbar { opacity: 0; }

/* ---------- Typography helpers ---------- */
.display, h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: -.01em; line-height: 1.02; }
h1 { font-size: var(--fs-d1); }
h2 { font-size: var(--fs-d2); }
h3 { font-size: var(--fs-d3); line-height: 1.1; }
.eyebrow {
  font-family: var(--font-text); font-size: var(--fs-micro); font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); display: inline-flex; align-items: center; gap: .75rem;
}
.eyebrow::before { content: ""; width: 2.25rem; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--plain::before { display: none; }
.lead { font-size: var(--fs-lead); line-height: 1.45; color: var(--ink); max-width: 38ch; }
.prose { max-width: 62ch; color: var(--muted); }
.prose p + p { margin-top: 1em; }
.italic { font-style: italic; }
.blue { color: var(--accent); }
.num { font-family: var(--font-display); font-variant-numeric: lining-nums tabular-nums; }

/* links with sweep underline */
.link {
  color: var(--ink); text-decoration: none; font-weight: 500;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px; transition: background-size .5s var(--ease-out), color .3s;
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--accent-strong); }
.link--arrow::after { content: " →"; display: inline-block; transition: transform .4s var(--ease-out); }
.link--arrow:hover::after { transform: translateX(4px); }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: #A8DAF3; --b-fg: var(--ink);
  display: inline-flex; align-items: center; gap: .65rem; justify-content: center;
  min-height: 52px; padding: .85rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  background: var(--b-bg); color: var(--b-fg); font-weight: 500; font-size: 1rem; text-decoration: none; line-height: 1.1;
  position: relative; overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .4s var(--ease-out), border-color .4s, background-color .4s;
}
.btn::before { /* ripple fill */
  content: ""; position: absolute; left: 50%; top: 50%; width: 260%; aspect-ratio: 1; border-radius: 50%;
  background: var(--ink); transform: translate(-50%, -50%) scale(0); transition: transform .7s var(--ease-out); z-index: -1;
}
.btn:hover, .btn:focus-visible { color: #fff; }
.btn:hover::before, .btn:focus-visible::before { transform: translate(-50%, -50%) scale(1); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { --b-bg: transparent; --b-fg: var(--ink); border-color: var(--line); }
.btn--ghost:hover { --b-fg: var(--bg); border-color: var(--ink); }
.btn--light { --b-bg: var(--bg); --b-fg: var(--ink); }
.btn--light::before { background: var(--accent-strong); }
.btn--light:hover { --b-fg: #fff; }
.btn--line-light { --b-bg: transparent; --b-fg: var(--bg); border-color: rgba(245,241,232,.35); }
.btn--line-light::before { background: var(--bg); }
.btn--line-light:hover { --b-fg: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-header);
  display: flex; align-items: center; gap: 1.5rem;
  padding: calc(1.1rem + env(safe-area-inset-top, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)) 1.1rem max(var(--gutter), env(safe-area-inset-left, 0px));
  transition: transform .6s var(--ease-out), padding .5s var(--ease-out);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(239, 248, 252, .94);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line-soft); opacity: 0; transition: opacity .4s;
}
.site-header.is-scrolled { padding-top: calc(.65rem + env(safe-area-inset-top, 0px)); padding-bottom: .65rem; }
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-110%); }
.mk-menu-open .site-header { transform: none; z-index: calc(var(--z-menu) + 2); }
.mk-menu-open .site-header::before { opacity: 0; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }

.brand { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1; margin-right: auto; }
.brand__name { font-family: var(--font-text); font-weight: 500; font-size: 1.6rem; letter-spacing: .045em; }
.brand__sub { font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-top: .3rem; font-weight: 500; }
.brand__dot { color: var(--accent); }

.nav { display: flex; gap: clamp(1rem, 2vw, 2.25rem); list-style: none; padding: 0; }
.nav a {
  text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--ink); position: relative; padding: .35rem 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: var(--accent-strong); }
.header-cta { min-height: 46px; padding: .7rem 1.25rem; font-size: .95rem; }
.header-call { display: none; }

.menu-btn {
  display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg);
  position: relative; z-index: calc(var(--z-menu) + 1);
}
.menu-btn span.bar { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--ink); transition: transform .5s var(--ease-out), opacity .3s; }
.menu-btn span.bar:nth-last-child(2) { top: 19px; }
.menu-btn span.bar:last-child { top: 27px; }
.menu-btn[aria-expanded="true"] span.bar:nth-last-child(2) { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span.bar:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Mobile menu panel (lives outside the header) */
.menu-panel {
  position: fixed; inset: 0; z-index: var(--z-menu); background: var(--bg);
  display: flex; flex-direction: column; justify-content: flex-start; overflow-y: auto;
  padding: calc(6rem + env(safe-area-inset-top, 0px)) var(--gutter) calc(2rem + env(safe-area-inset-bottom, 0px));
  visibility: hidden; opacity: 0; clip-path: circle(0% at calc(100% - 3rem) 3rem);
  transition: clip-path .8s var(--ease-io), opacity .4s, visibility 0s .8s;
}
.menu-panel.is-open { visibility: visible; opacity: 1; clip-path: circle(150% at calc(100% - 3rem) 3rem); transition: clip-path .9s var(--ease-io), opacity .2s, visibility 0s; }
.menu-panel__list { list-style: none; padding: 0; margin-top: auto; }
.menu-panel__list li { border-top: 1px solid var(--line); }
.menu-panel__list a {
  display: flex; justify-content: space-between; align-items: baseline; padding: .9rem 0; text-decoration: none;
  font-family: var(--font-display); font-size: clamp(2rem, 9vw, 3rem); line-height: 1.1; color: var(--ink);
}
.menu-panel__list a small { font-family: var(--font-text); font-size: .75rem; letter-spacing: .14em; color: var(--muted); }
.menu-panel__list a[aria-current="page"] { color: var(--accent); }
.menu-panel__foot { margin-top: 2rem; display: grid; gap: .75rem; }
.menu-panel__foot p { font-size: var(--fs-small); color: var(--muted); }
.menu-rings { position: absolute; right: -30%; top: -10%; width: 120%; max-width: 640px; opacity: .5; pointer-events: none; z-index: -1; }
.menu-rings circle { fill: none; stroke: var(--accent); stroke-width: .6; }

/* ---------- Generic layout ---------- */
main { display: block; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem); }
.section { padding-block: var(--section); position: relative; }
.rule { height: 1px; background: var(--line); border: 0; }

/* ---------- Ring + mosaic motif ---------- */
.rings circle, .rings ellipse { fill: none; stroke: var(--accent); stroke-width: 1; vector-effect: non-scaling-stroke; }
.rings .r-soft { stroke: var(--deep); opacity: .35; }
.rings .r-palm { stroke: var(--palm); }
.mosaic-field {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 70% 45%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 70% 45%, #000 0%, transparent 75%);
}
.tiles rect { shape-rendering: crispEdges; }

/* =====================================================================
   HOME — hero
   ===================================================================== */
.hero {
  position: relative; overflow: hidden;
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(1.5rem, 4vw, 3.5rem));
  padding-bottom: clamp(3rem, 6vw, 6rem);
  min-height: 100svh;
}
.hero__bg { position: absolute; inset: -10% 0 0 0; z-index: var(--z-bg); }
.hero__tiles { position: absolute; right: 2%; top: 22%; width: min(40vw, 560px); opacity: .9; }
.hero__inner { position: relative; z-index: var(--z-fg); align-items: center; min-height: calc(100svh - var(--header-h) - 9rem); }
.hero__copy { grid-column: 1 / span 7; padding-right: clamp(0px, 2vw, 2rem); }
.hero__loc { margin-bottom: clamp(1.25rem, 2.5vw, 2rem); }
.hero__title { font-size: var(--fs-hero); color: var(--accent); line-height: .98; letter-spacing: -.02em; max-width: 11ch; }
.hero__title em { font-style: italic; color: var(--ink); }
.hero__lead { margin-top: clamp(1.25rem, 2.5vw, 2rem); color: var(--muted); max-width: 40ch; font-size: clamp(1.05rem, .98rem + .35vw, 1.3rem); }
.hero__lead strong { color: var(--ink); font-weight: 500; }
.hero__ctas { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.hero__media-col { grid-column: 8 / span 5; position: relative; }
.hero__rings { position: absolute; left: 50%; top: 50%; width: 175%; aspect-ratio: 1; transform: translate(-50%, -50%); z-index: var(--z-mid); pointer-events: none; }
.hero__rings svg { width: 100%; height: 100%; overflow: visible; }
.hero__figure { position: relative; z-index: var(--z-fg); }
.hero__frame {
  position: relative; border-radius: var(--arch); overflow: hidden; aspect-ratio: 3 / 4; background: var(--sand);
  box-shadow: 0 40px 80px -40px rgba(21, 63, 117, .45);
  max-height: calc(100svh - var(--header-h) - 7rem); margin-inline: auto;
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__caption {
  display: flex; justify-content: space-between; gap: 1rem; margin-top: .9rem; font-size: var(--fs-micro); letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.hero__coords {
  position: absolute; right: max(1rem, env(safe-area-inset-right, 0px)); bottom: 2.5rem; writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: var(--fs-micro); letter-spacing: .2em; color: var(--muted); z-index: var(--z-fg);
}
.hero__foot {
  position: relative; z-index: var(--z-fg); margin-top: clamp(2rem, 4vw, 3rem); display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.5rem;
  font-size: var(--fs-small); color: var(--muted); border-top: 1px solid var(--line); padding-top: 1.25rem;
}
.hero__foot b { color: var(--ink); font-weight: 500; }
.stars { color: var(--accent-strong); letter-spacing: .12em; }
.scroll-cue { margin-left: auto; display: inline-flex; align-items: center; gap: .6rem; }
.scroll-cue i { display: block; width: 1px; height: 34px; background: var(--line); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ink); animation: cue 2.4s var(--ease-io) infinite; }
@keyframes cue { to { top: 100%; } }

/* =====================================================================
   HOME — location statement
   ===================================================================== */
.statement { padding-top: clamp(3rem, 6vw, 6rem); }
.statement__meta { grid-column: 1 / span 3; align-self: start; display: grid; gap: 1.5rem; padding-top: .8rem; }
.statement__meta dl { display: grid; gap: .9rem; font-size: var(--fs-small); }
.statement__meta dt { font-size: var(--fs-micro); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.statement__meta dd { color: var(--ink); }
.statement__text { grid-column: 4 / span 9; font-family: var(--font-display); font-size: clamp(1.85rem, 1.1rem + 2.9vw, 4rem); line-height: 1.12; letter-spacing: -.01em; }
.statement__text .blue { font-style: italic; }
.statement__tiles { grid-column: 4 / span 9; margin-top: clamp(2rem, 4vw, 3.5rem); height: 34px; width: 100%; }
.statement__tiles rect { fill: none; stroke: var(--accent); stroke-width: 1; }
.statement__tiles rect.f { fill: var(--accent); stroke: none; opacity: .85; }
.statement__tiles rect.d { fill: var(--deep); stroke: none; }

/* =====================================================================
   HOME — pinned chapters
   ===================================================================== */
.chapters { background: var(--bg-2); position: relative; overflow: hidden; }
.chapters__head { padding-top: var(--section); padding-bottom: clamp(2rem, 4vw, 4rem); }
.chapters__head h2 { max-width: 16ch; }
.chapters__body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem); padding-bottom: var(--section); }
.chapters [data-steps-media] { grid-column: 1 / span 6; display: grid; gap: 2rem; }
.chapters [data-steps] { grid-column: 8 / span 5; display: grid; gap: 4rem; align-content: center; }
.chap-visual { aspect-ratio: 1; width: 100%; max-width: 560px; position: relative; }
.chap-visual svg { width: 100%; height: 100%; overflow: visible; }
.chap { max-width: 34rem; }
.chap__no { font-family: var(--font-display); font-size: 1.1rem; color: var(--accent-strong); display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.chap__no::after { content: ""; width: 3rem; height: 1px; background: currentColor; }
.chap h3 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.5rem); margin-bottom: 1.1rem; }
.chap p { color: var(--muted); max-width: 46ch; }
.chap .review { margin-top: 1.5rem; }
.chap .btn-row { margin-top: 1.5rem; }
.chap-hours { margin-top: 1.25rem; display: grid; grid-template-columns: auto 1fr; gap: .35rem 1.5rem; font-size: var(--fs-small); max-width: 22rem; }
.chap-hours dt { color: var(--muted); }
.chap-hours dd { color: var(--ink); font-weight: 500; }

.chapters.is-pinned .chapters__body { height: 100svh; align-items: center; padding-bottom: 0; padding-top: calc(var(--header-h)); }
.chapters.is-pinned .chapters__head { position: absolute; top: calc(var(--header-h) + 1.5rem); left: 0; right: 0; padding-top: 0; z-index: 2; pointer-events: none; }
.chapters.is-pinned .chapters__head h2 { display: none; }
.chapters.is-pinned [data-steps-media] { align-self: center; justify-items: center; }
.chapters.is-pinned .chap-visual { width: min(100%, 68svh); }
.chap-progress { display: none; }
.chapters.is-pinned .chap-progress {
  display: flex; gap: .5rem; position: absolute; left: var(--gutter); bottom: 2.5rem; z-index: 3;
}
.chap-progress span { width: 2.5rem; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.chap-progress span i { position: absolute; inset: 0; background: var(--accent-strong); transform: scaleX(0); transform-origin: left; }

/* chapter visual internals */
.v-pool .waves path { fill: none; stroke: var(--bg); stroke-width: 2; opacity: .75; }
.v-week .day { fill: none; stroke-width: 18; stroke-linecap: butt; }
.v-week .day.open { stroke: var(--accent); }
.v-week .day.closed { stroke: var(--sand); }
.v-week text { font-family: var(--font-text); font-size: 15px; fill: var(--ink); letter-spacing: .1em; font-weight: 500; }
.v-week text.closed-l { fill: var(--muted); }
.v-week .big { font-family: var(--font-display); font-size: 120px; fill: var(--accent); letter-spacing: 0; font-weight: 400; }
.v-week .cap { font-size: 13px; letter-spacing: .2em; fill: var(--muted); }

/* =====================================================================
   Reviews (shared)
   ===================================================================== */
.review { margin: 0; }
.review blockquote { margin: 0; }
.review blockquote p { font-family: var(--font-display); font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem); line-height: 1.22; color: var(--ink); }
.review blockquote::before {
  content: "\201C"; display: block; font-family: var(--font-display); color: var(--accent); font-size: 3.2em; line-height: .5; height: .42em; margin-bottom: .1em;
}
.review figcaption {
  margin-top: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; font-size: var(--fs-small); color: var(--muted);
}
.review figcaption .who { color: var(--ink); font-weight: 500; display: inline-flex; align-items: center; gap: .6rem; }
.review figcaption a { color: var(--accent-strong); }

/* =====================================================================
   HOME — signature ripple → rating
   ===================================================================== */
.sig { position: relative; overflow: hidden; background: var(--bg); }
.sig__stage { position: relative; display: grid; gap: clamp(3rem, 8vw, 6rem); justify-items: center; text-align: center; padding-block: var(--section); }
.sig__rings { position: absolute; left: 50%; top: 32%; width: min(150vw, 1100px); aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; z-index: 0; }
.sig__rings svg { width: 100%; height: 100%; overflow: visible; }
.sig__rings circle { fill: none; stroke: var(--accent); stroke-width: 1; vector-effect: non-scaling-stroke; }
.sig__quote { position: relative; z-index: 1; width: min(100%, 62rem); }
.sig__quote blockquote { display: grid; justify-items: center; }
.sig__quote blockquote p { max-width: 17ch; }
.sig__quote .eyebrow { justify-content: center; margin-bottom: 1.75rem; }
.sig__quote blockquote p { font-size: clamp(2rem, 1.2rem + 3.4vw, 4.4rem); line-height: 1.08; letter-spacing: -.015em; }
.sig__quote figcaption { justify-content: center; margin-top: 1.75rem; }
.sig__rating { position: relative; z-index: 1; display: grid; justify-items: center; gap: .5rem; padding: 3.5rem; }
.sig__frame { position: absolute; inset: -1rem; pointer-events: none; }
.sig__frame circle { fill: none; stroke: var(--accent); stroke-width: 1; vector-effect: non-scaling-stroke; }
.sig__rating .sig__score { max-width: none; font-family: var(--font-display); font-size: clamp(5rem, 3rem + 9vw, 10rem); line-height: .9; color: var(--accent); }
.sig__rating .stars { font-size: 1.25rem; }
.sig__rating p { font-size: var(--fs-small); color: var(--muted); max-width: 22ch; }
.sig__rating a { font-size: var(--fs-small); }

.sig.is-live { height: 100svh; }
.sig.is-live .sig__stage { height: 100svh; padding: 0; grid-template-areas: "c"; place-items: center; }
.sig.is-live .sig__quote, .sig.is-live .sig__rating { grid-area: c; }
.sig.is-live .sig__rings { top: 50%; width: min(100vw, 1100px); }
.sig.is-live .sig__frame { display: none; }

/* =====================================================================
   HOME — parents' words
   ===================================================================== */
.words__head { grid-column: 1 / span 5; align-self: start; }
.words__head h2 { margin-top: 1rem; }
.words__head p { margin-top: 1.25rem; color: var(--muted); max-width: 36ch; }
.words__main { grid-column: 7 / span 6; }
.words__main .review { padding-top: 2rem; border-top: 1px solid var(--line); }
.words__main .review + .review { margin-top: 3rem; }

.topics { margin-top: clamp(4rem, 8vw, 7rem); }
.topics__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.5rem; }
.topics__head p { color: var(--muted); font-size: var(--fs-small); max-width: 46ch; }
.topics__list { list-style: none; padding: 0; display: grid; grid-template-columns: 2fr repeat(5, 1fr); border-top: 1px solid var(--ink); }
.topics__list li { padding: 1.25rem 1rem 1.25rem 0; border-bottom: 1px solid var(--line); display: grid; gap: .25rem; align-content: start; }
.topics__list li + li { padding-left: 1rem; border-left: 1px solid var(--line); }
.topics__list .num { font-size: clamp(2.25rem, 1.5rem + 2vw, 3.5rem); line-height: 1; color: var(--ink); }
.topics__list li:first-child .num { font-size: clamp(4rem, 2.5rem + 5vw, 7.5rem); color: var(--accent); }
.topics__list span.t { font-size: var(--fs-small); color: var(--muted); }

/* =====================================================================
   Enquiry band (home + subpages)
   ===================================================================== */
.enquire { position: relative; overflow: hidden; background: var(--bg-2); }
.enquire__rings { position: absolute; right: -12%; top: 50%; width: min(80vw, 900px); aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; opacity: .7; }
.enquire__rings svg { width: 100%; height: 100%; }
.enquire .grid { position: relative; z-index: 1; align-items: end; row-gap: 2.5rem; }
.enquire__copy { grid-column: 1 / span 7; }
.enquire__copy h2 { max-width: 13ch; }
.enquire__copy p { margin-top: 1.25rem; color: var(--muted); max-width: 44ch; }
.enquire__copy .btn-row { margin-top: 2rem; }
.enquire__hours { grid-column: 8 / span 5; background: var(--bg); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: 0 30px 60px -40px rgba(23,62,80,.35); }
.words { padding-top: clamp(4rem, 6vw, 6rem); }
.hours { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.hours caption { text-align: left; font-size: var(--fs-micro); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-bottom: .75rem; }
.hours th, .hours td { padding: .6rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; color: var(--ink); font-weight: 500; }
.hours tr.closed td { color: var(--muted); font-weight: 400; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--accent-strong); }
.hours tr.is-today th::after { content: " · today"; font-size: .8em; }

/* =====================================================================
   Sub-page hero
   ===================================================================== */
.phero { position: relative; overflow: hidden; padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(3rem, 8vw, 7rem)); padding-bottom: clamp(3rem, 7vw, 6rem); }
.phero__bg { position: absolute; inset: 0; z-index: 0; }
.phero__rings { position: absolute; right: -8%; top: 52%; width: min(70vw, 820px); aspect-ratio: 1; transform: translateY(-50%); z-index: 1; pointer-events: none; }
.phero__rings svg { width: 100%; height: 100%; overflow: visible; }
.phero .grid { position: relative; z-index: 2; }
.phero__copy { grid-column: 1 / span 9; }
.phero__copy .eyebrow { margin-bottom: 1.5rem; }
.phero h1 { color: var(--accent); max-width: 13ch; letter-spacing: -.02em; }
.phero h1 em { color: var(--ink); }
.phero__lead { margin-top: 1.75rem; max-width: 36ch; color: var(--muted); font-size: var(--fs-lead); line-height: 1.45; }
.phero__aside { grid-column: 10 / span 3; align-self: end; font-size: var(--fs-small); color: var(--muted); border-left: 1px solid var(--line); padding-left: 1.25rem; }
.phero__aside b { display: block; color: var(--ink); font-weight: 500; }

/* =====================================================================
   LESSONS
   ===================================================================== */
.offer { align-items: start; row-gap: 3rem; }
.offer__label { grid-column: 1 / span 3; }
.offer__items { grid-column: 4 / span 9; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 2.5vw, 2rem); }
.offer-card {
  background: var(--surface); border-radius: var(--r-lg); padding: clamp(1.75rem, 3vw, 2.75rem); position: relative; overflow: hidden;
  border: 1px solid var(--line-soft); min-height: 22rem; display: flex; flex-direction: column;
}
.offer-card__ring { position: absolute; right: -25%; top: -30%; width: 80%; aspect-ratio: 1; pointer-events: none; }
.offer-card__ring circle { fill: none; stroke: var(--accent); stroke-width: 1; opacity: .4; }
.offer-card .kicker { font-size: var(--fs-micro); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.offer-card h3 { margin-top: auto; padding-top: 4rem; font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.9rem); }
.offer-card p { margin-top: .9rem; color: var(--muted); max-width: 36ch; }
.offer-card--blue { background: #C4E6F7; color: var(--ink); border-color: transparent; }
.offer-card--blue .kicker, .offer-card--blue p { color: var(--muted); }
.offer-card--blue .offer-card__ring circle { stroke: var(--accent); opacity: .25; }

.quote-band { background: var(--bg-2); }
.quote-band .review { grid-column: 3 / span 8; text-align: center; }
.quote-band .review blockquote p { font-size: clamp(2rem, 1.2rem + 3vw, 4rem); line-height: 1.1; }
.quote-band .review figcaption { justify-content: center; }

.asks { counter-reset: ask; }
.asks__head { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
.asks__head p { margin-top: 1.25rem; color: var(--muted); max-width: 38ch; }
.asks__head .btn-row { margin-top: 2rem; }
.asks__list { grid-column: 7 / span 6; list-style: none; padding: 0; display: grid; gap: 1rem; }
.ask {
  background: var(--surface); border-radius: var(--r-md); padding: 1.75rem 1.75rem 1.75rem 5rem; position: relative; border: 1px solid var(--line-soft);
}
.ask::before {
  counter-increment: ask; content: counter(ask, decimal-leading-zero); position: absolute; left: 1.75rem; top: 1.75rem;
  font-family: var(--font-display); color: var(--accent-strong); font-size: 1.25rem;
}
.ask h3 { font-size: clamp(1.4rem, 1.15rem + .8vw, 1.9rem); }
.ask p { margin-top: .5rem; color: var(--muted); font-size: 1rem; }
.ask a { font-size: .95rem; margin-top: .9rem; display: inline-block; }

/* =====================================================================
   POOL
   ===================================================================== */
.plate { padding-top: 0; }
.plate__grid { align-items: start; }
.plate__fig { grid-column: 2 / span 6; position: relative; }
.plate__frame { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 4; background: var(--sand); }
.plate__frame img { width: 100%; height: 100%; object-fit: cover; }
.plate__pin {
  position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: var(--bg); color: var(--ink);
  display: grid; place-items: center; font-family: var(--font-display); font-size: 1rem; box-shadow: 0 0 0 6px rgba(245,241,232,.35);
}
.plate__pin::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--bg); animation: pin 3s var(--ease-out) infinite; }
@keyframes pin { from { transform: scale(1); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }
.plate__pin--1 { left: 30%; top: 8%; }
.plate__pin--2 { left: 58%; top: 18%; }
.plate__pin--3 { left: 25%; top: 70%; }
.plate__pin--4 { left: 70%; top: 76%; }
.plate__fig figcaption { margin-top: .9rem; font-size: var(--fs-micro); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.plate__notes { grid-column: 9 / span 4; list-style: none; padding: 0; display: grid; gap: 0; position: sticky; top: calc(var(--header-h) + 2rem); }
.plate__notes li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.plate__notes li:last-child { border-bottom: 1px solid var(--line); }
.plate__notes .n { font-family: var(--font-display); color: var(--accent-strong); font-size: 1.25rem; line-height: 1.3; }
.plate__notes h3 { font-size: 1.5rem; }
.plate__notes p { color: var(--muted); font-size: 1rem; margin-top: .3rem; }

.ripple-field { position: relative; height: clamp(26rem, 60vw, 44rem); overflow: hidden; background: var(--deep); color: var(--bg); }
.ripple-field svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ripple-field .rf-ring { fill: none; stroke: var(--bg); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: 0; }
.ripple-field .rf-grid path { stroke: rgba(245,241,232,.08); stroke-width: 1; fill: none; }
.ripple-field__text { position: absolute; left: 0; right: 0; bottom: clamp(2rem, 5vw, 4rem); z-index: 1; }
.ripple-field__text .rf-cta { margin-top: 1.75rem; }
.ripple-field__text .rf-line { font-family: var(--font-display); font-size: clamp(1.8rem, 1.1rem + 2.8vw, 3.75rem); line-height: 1.08; max-width: 18ch; }
.ripple-field__text .eyebrow { color: rgba(245,241,232,.75); margin-bottom: 1rem; }

/* =====================================================================
   REVIEWS page
   ===================================================================== */
.score { align-items: end; row-gap: 2.5rem; }
.score__big { grid-column: 1 / span 5; position: relative; display: grid; justify-items: start; }
.rv-sec { padding-top: 0; }
.score__big .score__num { font-family: var(--font-display); font-size: clamp(7rem, 4rem + 14vw, 16rem); line-height: .8; color: var(--accent); letter-spacing: -.03em; }
.score__big .stars { font-size: 1.4rem; margin-top: 1rem; }
.score__big p { margin-top: .5rem; color: var(--muted); }
.score__topics { grid-column: 7 / span 6; }
.score__topics .topics__list { grid-template-columns: repeat(3, 1fr); }
.score__topics .topics__list li:first-child .num { font-size: clamp(2.25rem, 1.5rem + 2vw, 3.5rem); }
.score__topics .topics__list li:nth-child(4) { border-left: 0; padding-left: 0; }

.rv-list { display: grid; gap: 0; }
.rv {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem);
  padding-block: clamp(3rem, 6vw, 5.5rem); border-top: 1px solid var(--line); position: relative;
}
.rv__no { grid-column: 1 / span 2; font-family: var(--font-display); font-size: 1.25rem; color: var(--accent-strong); }
.rv .review { grid-column: 3 / span 8; position: relative; z-index: 1; }
.rv:nth-child(2) .review { grid-column: 4 / span 8; }
.rv .review blockquote p { font-size: clamp(1.9rem, 1.15rem + 2.8vw, 3.9rem); line-height: 1.1; letter-spacing: -.012em; }
.rv__ring { position: absolute; right: 0; top: 50%; width: clamp(8rem, 18vw, 16rem); aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; opacity: .5; }
.rv__ring circle { fill: none; stroke: var(--accent); stroke-width: 1; vector-effect: non-scaling-stroke; }
.rv-more { border-top: 1px solid var(--line); padding-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: center; }
.rv-more p { color: var(--muted); max-width: 48ch; }

/* =====================================================================
   CONTACT
   ===================================================================== */
.reach { row-gap: 3rem; align-items: start; }
.reach__cards { grid-column: 1 / span 7; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.reach-card {
  display: flex; flex-direction: column; gap: .5rem; padding: 1.75rem; border-radius: var(--r-md); background: var(--surface);
  border: 1px solid var(--line-soft); text-decoration: none; color: var(--ink); min-height: 12rem; position: relative; overflow: hidden;
  transition: border-color .4s;
}
.reach-card::after {
  content: ""; position: absolute; right: -30%; bottom: -60%; width: 80%; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--accent);
  opacity: .25; transition: transform .8s var(--ease-out), opacity .4s;
}
.reach-card:hover { border-color: var(--accent); }
.reach-card:hover::after { transform: scale(1.35); opacity: .5; }
.reach-card .k { font-size: var(--fs-micro); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.reach-card .v { font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); line-height: 1.1; margin-top: auto; }
.reach-card .d { font-size: var(--fs-small); color: var(--muted); }
.reach-card--blue { background: var(--accent-strong); color: #fff; border-color: transparent; }
.reach-card--blue .k, .reach-card--blue .d { color: rgba(255,255,255,.85); }
.reach-card--blue::after { border-color: #fff; }
.reach__hours { grid-column: 9 / span 4; }
.reach__note { margin-top: 1.25rem; font-size: var(--fs-small); color: var(--muted); }

.visit { row-gap: 2.5rem; align-items: stretch; }
.visit__location {
  grid-column: 1 / span 7; border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 3.5rem);
  background: var(--bg-2); display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem;
}
.visit__location h3 { font-size: clamp(2rem, 1.4rem + 2vw, 3.25rem); max-width: 16ch; }
.visit__location address { font-style: normal; font-size: 1.1rem; line-height: 1.65; max-width: 38ch; }
.visit__location .coords { font-size: var(--fs-micro); color: var(--muted); letter-spacing: .08em; }
.visit__location .btn { margin-top: .5rem; white-space: normal; text-align: left; line-height: 1.4; }
.phero + .section { padding-top: clamp(1.5rem, 3vw, 3rem); }
.section[data-tight] { padding-top: 0; }
.enquire .grid.form-wrap { align-items: start; }
.visit__addr { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 1.25rem; }
.visit__addr address { font-style: normal; font-size: 1.15rem; line-height: 1.6; }
.visit__addr .coords { font-size: var(--fs-micro); letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }

.form-wrap { align-items: start; row-gap: 2.5rem; }
.form-wrap__head { grid-column: 1 / span 4; }
.form-wrap__head p { margin-top: 1.25rem; color: var(--muted); max-width: 34ch; }
.form { grid-column: 6 / span 7; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; background: var(--surface); border-radius: var(--r-lg); padding: clamp(1.5rem, 3.5vw, 3rem); border: 1px solid var(--line-soft); }
.form label { display: grid; gap: .45rem; font-size: var(--fs-small); font-weight: 500; color: var(--ink); }
.form label.full, .form .full { grid-column: 1 / -1; }
.form input, .form textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: .7rem 0; font-size: 1.05rem; color: var(--ink);
  border-radius: 0; transition: border-color .3s;
}
.form textarea { min-height: 8rem; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-bottom-color: var(--accent-strong); box-shadow: 0 1px 0 0 var(--accent-strong); }
.form .hint { font-weight: 400; color: var(--muted); font-size: .8rem; }
.form button { justify-self: start; }
.form [data-mk-status] { grid-column: 1 / -1; font-size: var(--fs-small); min-height: 1.5em; color: var(--muted); }
.form [data-mk-status][data-state="error"] { color: #9B2C1F; }
.form [data-mk-status][data-state="success"] { color: var(--palm-ink); }
.form [data-mk-status][data-state="sending"] { color: var(--accent-strong); }
.form.is-sent { border-color: var(--palm); }
.form.is-sent button { opacity: .5; }

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer {
  background-color: var(--ink); color: var(--bg); position: relative; overflow: hidden;
  padding: clamp(4rem, 8vw, 7rem) 0 calc(2rem + env(safe-area-inset-bottom, 0px));
}
.site-footer a:not(.btn) { color: var(--bg); }
.footer__rings { position: absolute; left: -15%; top: -40%; width: min(90vw, 900px); aspect-ratio: 1; pointer-events: none; opacity: .18; }
.footer__rings svg { width: 100%; height: 100%; }
.footer__rings circle { fill: none; stroke: var(--bg); stroke-width: 1; vector-effect: non-scaling-stroke; }
.site-footer .grid { position: relative; z-index: 1; row-gap: 2.5rem; }
.footer__lede { grid-column: 1 / span 6; }
.footer__lede .brand { color: var(--bg); }
.footer__lede .brand__name { font-size: clamp(2.4rem, 1.5rem + 3vw, 4.5rem); }
.footer__lede .brand__sub { color: rgba(245,241,232,.7); font-size: .75rem; margin-top: 1rem; }
.footer__lede p { margin-top: 1.5rem; color: rgba(245,241,232,.78); max-width: 34ch; }
.footer__lede .btn-row { margin-top: 1.75rem; }
.footer__col { grid-column: span 3; font-size: var(--fs-small); }
.footer__col h2 { font-family: var(--font-text); font-size: var(--fs-micro); letter-spacing: .16em; text-transform: uppercase; color: rgba(245,241,232,.65); margin-bottom: 1rem; font-weight: 500; }
.footer__col address { font-style: normal; line-height: 1.7; color: rgba(245,241,232,.88); }
.footer__col ul { list-style: none; padding: 0; display: grid; gap: .35rem; }
.footer__col li { display: flex; justify-content: space-between; gap: 1rem; color: rgba(245,241,232,.88); }
.footer__col li span:last-child { color: var(--bg); }
.footer__col p + p { margin-top: .6rem; }
.footer__base {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(245,241,232,.18); font-size: var(--fs-micro); letter-spacing: .08em; color: rgba(245,241,232,.7);
}
.footer__base nav ul { display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; padding: 0; }
.footer__base a { text-decoration: none; }
.footer__base a:hover { text-decoration: underline; }

/* =====================================================================
   Motion pre-states (only when JS + motion allowed)
   ===================================================================== */
.mk-js:not(.mk-reduced) .hero__frame { clip-path: inset(100% 0 0 0 round 40% 40% 0 0); }
.mk-js:not(.mk-reduced) .hero__rings circle { opacity: 0; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1100px) {
  .nav { gap: 1.1rem; }
  .nav a { font-size: .9rem; }
  .hero__copy { grid-column: 1 / span 7; }
  .hero__media-col { grid-column: 8 / span 5; }
  .topics__list { grid-template-columns: repeat(3, 1fr); }
  .topics__list li:nth-child(4) { border-left: 0; padding-left: 0; }
  .topics__list li:first-child .num { font-size: clamp(2.25rem, 1.5rem + 2vw, 3.5rem); }
}

@media (max-width: 899px) {
  :root { --header-h: 68px; }
  .nav, .header-cta { display: none; }
  .menu-btn { display: inline-block; }
  .header-call {
    display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #A8DAF3; color: var(--ink);
  }
  .header-call svg { width: 18px; height: 18px; }
  .site-header { gap: .6rem; padding-top: calc(.7rem + env(safe-area-inset-top, 0px)); padding-bottom: .7rem; }
  .site-header.is-scrolled { padding-top: calc(.5rem + env(safe-area-inset-top, 0px)); padding-bottom: .5rem; }
  .brand__name { font-size: 1.35rem; }
  .brand__sub { font-size: .6rem; letter-spacing: .22em; }

  .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .hero { min-height: 0; padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 1.75rem); }
  .hero__inner { min-height: 0; row-gap: 2.5rem; }
  .hero__copy, .hero__media-col { grid-column: 1 / -1; padding-right: 0; }
  .hero__title { max-width: 12ch; }
  .hero__media-col { width: min(100%, 520px); justify-self: center; }
  .hero__frame { max-height: none; }
  .hero__rings { width: 150%; }
  .hero__tiles { width: 70vw; top: auto; bottom: 8%; right: -10%; opacity: .6; }
  .hero__coords { display: none; }
  .scroll-cue { display: none; }

  .statement__meta, .statement__text, .statement__tiles { grid-column: 1 / -1; }
  .statement__meta { order: 2; margin-top: 2rem; }
  .statement__meta dl { grid-template-columns: 1fr 1fr; }

  .chapters [data-steps-media], .chapters [data-steps] { grid-column: 1 / -1; }
  .chapters__body { grid-template-columns: 1fr; }
  .chapters [data-steps-media] { display: none; }
  .chap { padding-top: 2.5rem; border-top: 1px solid var(--line); max-width: none; }
  .chap__visual-m { display: block; width: min(78%, 340px); margin: 0 0 2rem; aspect-ratio: 1; }
  .chap__visual-m svg { width: 100%; height: 100%; overflow: visible; }

  .sig__quote { max-width: 18ch; }

  .words__head, .words__main { grid-column: 1 / -1; }
  .words__main { margin-top: 2.5rem; }
  .topics__list { grid-template-columns: repeat(2, 1fr); }
  .topics__list li:first-child { grid-column: 1 / -1; padding-left: 0; }
  .topics__list li:first-child .num { font-size: 5rem; }
  .topics__list li:nth-child(2), .topics__list li:nth-child(4), .topics__list li:nth-child(6) { border-left: 0; padding-left: 0; }
  .topics__list li:nth-child(3), .topics__list li:nth-child(5) { border-left: 1px solid var(--line); padding-left: 1rem; }
  .score__topics .topics__list { grid-template-columns: repeat(2, 1fr); }
  .score__topics .topics__list li:nth-child(2), .score__topics .topics__list li:nth-child(4), .score__topics .topics__list li:nth-child(6) { border-left: 0; padding-left: 0; }

  .enquire__copy, .enquire__hours { grid-column: 1 / -1; }
  .enquire__rings { width: 140vw; right: -70%; top: 20%; }

  .phero__copy, .phero__aside { grid-column: 1 / -1; }
  .phero__aside { margin-top: 2rem; }
  .phero__rings { width: 120vw; right: -55%; top: 30%; opacity: .7; }

  .offer__label, .offer__items { grid-column: 1 / -1; }
  .offer__items { grid-template-columns: 1fr; }
  .offer-card { min-height: 18rem; }
  .quote-band .review { grid-column: 1 / -1; }
  .asks__head, .asks__list { grid-column: 1 / -1; position: static; }
  .asks__list { margin-top: 2.5rem; }
  .enquire__copy h2 { max-width: 16ch; }

  .plate__fig, .plate__notes { grid-column: 1 / -1; position: static; }
  .plate__notes { margin-top: 2.5rem; }

  .score__big, .score__topics { grid-column: 1 / -1; }
  .rv__no { grid-column: 1 / -1; margin-bottom: 1.25rem; }
  .rv .review, .rv:nth-child(2) .review { grid-column: 1 / -1; }
  .rv__ring { top: 3rem; transform: none; width: 7rem; }

  .reach__cards, .reach__hours, .visit__location, .visit__addr, .form-wrap__head, .form { grid-column: 1 / -1; }

  .footer__lede { grid-column: 1 / -1; }
  .footer__col { grid-column: span 3; }
  .site-footer { padding-bottom: calc(2.5rem + env(safe-area-inset-bottom, 0px)); }
}
@media (min-width: 900px) { .chap__visual-m { display: none; } }

@media (max-width: 560px) {
  :root { --fs-body: 1.0625rem; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .reach__cards { grid-template-columns: 1fr; }
  .reach-card { min-height: 9.5rem; }
  .form { grid-template-columns: 1fr; }
  .footer__col { grid-column: 1 / -1; }
  .ask { padding: 1.5rem 1.25rem 1.5rem 4rem; }
  .ask::before { left: 1.25rem; top: 1.5rem; }
  .sig__rating { padding: 2.5rem 1.5rem; }
  .hero__caption { flex-direction: column; gap: .25rem; }
}
@media (max-width: 380px) {
  .brand__sub { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue i::after, .plate__pin::after { animation: none; }
}

/* Revision 1: sky-blue program and contact details */
.programs { background: var(--bg-2); }
.programs__head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.programs__head h2 { max-width: 15ch; margin-top: 1rem; }
.program-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.5rem; }
.program-card { padding: clamp(1.5rem, 3vw, 3rem); background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); }
.program-card:first-child { background: #BDE3F7; }
.program-card .eyebrow { margin-bottom: 2rem; }
.program-card h3 { margin-bottom: 1rem; }
.program-card > p { max-width: 40ch; color: var(--muted); }
.prices { margin-top: 2rem; }
.prices > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.prices dt { font-size: 1rem; }
.prices dd { font-size: clamp(1.5rem, 2.6vw, 2rem); font-family: var(--font-display); white-space: nowrap; }
.program-card .btn-row { margin-top: 1.5rem; }
.program-extra { margin-top: 1.5rem; padding: clamp(1.5rem, 3vw, 3rem); border: 1px solid var(--line); border-radius: var(--r-lg); display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.program-extra h3 { font-size: var(--fs-d3); margin: .75rem 0; }
.program-extra p { color: var(--muted); }
.form-email { overflow-wrap: anywhere; }
.visit__location .btn { white-space: nowrap; }
@media (max-width: 899px) {
  .programs__head { display: block; }
  .programs__head > a { margin-top: 1.5rem; }
  .program-grid { grid-template-columns: 1fr; }
  .program-extra { display: block; }
  .program-extra .btn { margin-top: 1.5rem; }
}

@media (min-width: 900px) { .program-card > p:not(.eyebrow) { min-height: 3.2em; } }
.form-wrap__head > .btn-row { margin-top: 1.5rem; }
.footer__lede .footer__phone { margin-top: .8rem; }

.btn--line-light:hover, .btn--line-light:focus-visible { color: var(--ink); }

/* Owner revision — retain Palmwater Calm, make every scene readable. */
.brand__logo { display: block; width: auto; height: 68px; max-width: none; object-fit: contain; }
.site-header .brand, .header-call, .menu-btn { flex-shrink: 0; }
.footer__lede .brand__logo { height: 120px; }
@media (max-width: 899px) {
  .site-header .brand__logo { height: 56px; }
}
.site-header .brand { color: var(--deep); }
.hero__title { max-width: 13ch; font-size: clamp(2.75rem, 1.3rem + 4.8vw, 6rem); }
.hero__lead { font-size: clamp(1.125rem, 1rem + .35vw, 1.3rem); }
.chapters__head h2 { max-width: 24ch; margin-top: 1rem; }
.chapters__body { display: block; }
.chapters [data-steps] { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1.5rem,3vw,3rem); }
.chap { max-width: none; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.chap__visual-m { display: block; width: 150px; aspect-ratio: 1; margin-bottom: 2rem; }
.chap__visual-m svg { width: 100%; height: 100%; overflow: visible; }
.chap h3 { font-size: clamp(1.9rem,2.7vw,2.8rem); }
.chap p, .chap-hours { font-size: 1.125rem; }
.chap .review blockquote p { font-size: 1.5rem; }
.sig__stage { grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); align-items: center; text-align: left; gap: 5rem; }
.sig__quote { width: 100%; max-width: none; }
.sig__quote blockquote { display: block; }
.sig__quote blockquote p { max-width: 38ch; font-size: clamp(1.6rem,2.5vw,2.35rem); line-height: 1.22; }
.sig__quote .eyebrow, .sig__quote figcaption { justify-content: flex-start; }
.sig__rings { left: 25%; top: 50%; opacity: .35; width: min(85vw,950px); }
.sig__rating { text-align: center; width: min(100%,380px); aspect-ratio: 1; padding: 3rem 1.25rem; align-content: center; }
.sig__rating .sig__score { font-size: clamp(6rem,8vw,9rem); }
.sig__frame { inset: 0; width: 100%; height: 100%; }
.instagram-band { border-top: 1px solid var(--line); background: var(--bg); }
.instagram-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.instagram-band h2 { margin: 1.2rem 0; }
.instagram-band p:not(.eyebrow) { color: var(--muted); }
.coach-story__grid { align-items: center; }
.coach-story__photo { grid-column: 2 / span 5; }
.coach-story__frame { border-radius: var(--arch); overflow: hidden; }
.coach-story__photo img { width: 100%; height: auto; }
.coach-story__photo figcaption, .pool-gallery figcaption { font-size: var(--fs-small); color: var(--muted); padding-top: .8rem; }
.coach-story__copy { grid-column: 8 / span 5; }
.coach-story__copy h2 { margin-block: 1.2rem 1.5rem; }
.coach-story__copy p:not(.eyebrow) { color: var(--muted); max-width: 40ch; margin-bottom: 1rem; }
.coach-story__copy .btn { margin-top: 1rem; }
.pool-gallery { padding-top: 0; }
.pool-gallery__grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1.5rem; align-items: start; }
.pool-gallery__grid figure:first-child { grid-column: span 2; grid-row: span 2; }
.pool-gallery__grid figure:last-child { grid-column: 3 / span 2; max-width: 50%; }
.pool-gallery__grid img { width: 100%; height: auto; border-radius: var(--r-md); }
.pool-gallery__grid figure:first-child img { border-radius: var(--arch); }
.score { align-items: center; }
.score__photo { grid-column: 7 / span 6; }
.score__photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center 58%; border-radius: var(--r-lg); }
.rv .review blockquote p { font-size: clamp(1.55rem,1.1rem + 1.5vw,2.6rem); line-height: 1.25; max-width: 50ch; white-space: pre-wrap; }
.visit__photo { grid-column: 1 / span 7; }
.visit__photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center 42%; border-radius: var(--r-lg); }
.visit__addr { align-self: center; }
.ask p, .plate__notes p, .prices dt { font-size: 1.0625rem; }
.footer__col .link { display: inline; line-height: 1.8; }
@view-transition { navigation: auto; }
@media (max-width: 1100px) and (min-width: 900px) {
 .nav { gap: .9rem; } .nav a { font-size: .85rem; }
 .site-header { gap: 1rem; }
}
@media (max-width: 899px) {
 .hero__title { max-width: 13ch; }
 .chapters [data-steps] { grid-template-columns: 1fr; gap: 3rem; }
 .chap__visual-m { width: 120px; margin-bottom: 1.5rem; }
 .chap h3 { font-size: clamp(2rem,6vw,2.8rem); }
 .sig__stage { grid-template-columns: 1fr; gap: 3rem; text-align: left; }
 .sig__quote blockquote p { font-size: clamp(1.55rem,5.5vw,2rem); }
 .sig__rings { left: 50%; top: 30%; width: 150vw; }
 .sig__rating { width: 290px; padding: 2.5rem 1rem; }
 .instagram-band__inner { display: block; }
 .instagram-band .btn { margin-top: 2rem; }
 .coach-story__photo, .coach-story__copy, .score__photo, .visit__photo { grid-column: 1 / -1; }
 .coach-story__grid { row-gap: 2.5rem; }
 .coach-story__photo { width: min(100%,480px); justify-self: center; }
 .pool-gallery__grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
 .pool-gallery__grid figure:first-child { grid-column: 1 / -1; grid-row: auto; }
 .pool-gallery__grid figure:last-child { grid-column: auto; max-width: none; }
 .pool-gallery__grid figure:first-child img { aspect-ratio: 4/3; object-fit: cover; object-position: center 65%; }
 .pool-gallery__grid figure:not(:first-child) img { aspect-ratio: 3/4; object-fit: cover; }
 .pool-gallery__grid figure:last-child { margin-top: -1rem; }
 .score__photo img { aspect-ratio: 4/3; }
}
@media (prefers-reduced-motion: reduce) {
 ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* Final spacing pass: one continuous blue chapter, without an empty pause. */
.programs { padding-bottom: clamp(3rem,5vw,5rem); }
.programs + .chapters .chapters__head { padding-top: clamp(2rem,4vw,4rem); }
.chapters__head { padding-bottom: clamp(2rem,3vw,3rem); }
.chapters__body { padding-bottom: clamp(4rem,6vw,6rem); }
.words { padding-bottom: clamp(4rem,6vw,6rem); }
@media (max-width: 560px) {
 .hero__ctas .btn { flex: 0 1 auto; padding-inline: 1.2rem; }
}


/* Revision 2 — page-specific openings and a shorter home journey. */
.phero { padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 3rem); padding-bottom: 3.5rem; }
.phero h1 { font-size: clamp(2.65rem, 5.2vw, 5rem); line-height: 1.02; }
.phero .eyebrow { margin-bottom: 1.25rem; }
.phero__lead { font-size: clamp(1.0625rem, 1.3vw, 1.25rem); max-width: 43ch; margin-top: 1.5rem; }
.lesson-opening__grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap: clamp(3rem,8vw,8rem); align-items: center; }
.lesson-opening__copy .btn-row { margin-top: 2rem; }
.lesson-opening__photo { max-width: 430px; width: 100%; justify-self: end; }
.lesson-opening__frame { border-radius: var(--arch); overflow: hidden; }
.lesson-opening__photo img { width: 100%; height: min(37vw,520px); object-fit: cover; object-position: center; }
.lesson-opening__photo figcaption { font-size: 1rem; color: var(--muted); margin-top: .6rem; }
.pool-opening__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: end; margin-bottom: 2rem; }
.pool-opening .phero__lead { margin-top: 0; margin-bottom: 1.25rem; }
.pool-opening .pool-gallery__grid { grid-template-columns: 1.65fr 1fr 1fr 1fr; gap: 1rem; align-items: stretch; }
.pool-opening .pool-gallery__grid figure, .pool-opening .pool-gallery__grid figure:first-child, .pool-opening .pool-gallery__grid figure:last-child { grid-column: auto; grid-row: auto; max-width: none; margin: 0; }
.pool-opening .pool-gallery__grid img { height: clamp(260px,29vw,410px); width: 100%; object-fit: cover; }
.pool-opening .pool-gallery__grid figure:first-child img { object-position: center 68%; }
.reviews-opening { padding-bottom: 3rem; }
.reviews-opening__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: clamp(3rem,7vw,7rem); align-items: center; }
.opening-rating { display: flex; gap: 1.25rem; align-items: center; margin-top: 2rem; }
.opening-rating__number { font-family: var(--font-display); font-size: 5rem; line-height: 1; color: var(--accent); }
.opening-rating p { font-size: 1.0625rem; color: var(--muted); }
.opening-review { padding: 2rem 0 2rem 2.5rem; border-left: 1px solid var(--line); }
.opening-review blockquote p { font-size: clamp(1.5rem,2.3vw,2.2rem); line-height: 1.28; }
.review-context { display: flex; gap: 2rem; align-items: end; padding-bottom: 2.5rem; }
.review-context .score__photo { width: 36%; }
.review-context .score__photo img { max-height: 260px; }
.contact-opening { padding-bottom: 2rem; }
.contact-opening__head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: end; }
.contact-opening__head .phero__lead { margin: 0; }
.page-contact [data-first] { padding-top: 0; padding-bottom: 4rem; }
.page-contact .reach__cards { grid-column: 1 / span 8; }
.page-contact .reach__hours { grid-column: 10 / span 3; }
.page-contact .reach-card { min-height: 152px; padding: 1.5rem; }
.page-contact .reach-card--email { grid-column: 1 / -1; min-height: 130px; }
.page-contact .reach-card--email .v { margin-top: 0; }
.page-index .section, .page-index .sig__stage { padding-block: clamp(3.5rem,6vw,6rem); }
.page-index .programs__head > .prose { max-width: 34ch; }
.page-index .enquire__copy h2 { max-width: 18ch; }
.page-index .enquire__hours { padding: 0; background: transparent; box-shadow: none; border-radius: 0; }
.page-index .instagram-band__inner h2 { font-size: clamp(2rem,3.7vw,3.5rem); }
.page-index .instagram-band__inner h2 br { display: none; }
.page-index .instagram-band__inner .eyebrow { margin-bottom: 0; }
.page-index .instagram-band__inner h2 { margin: .8rem 0; }
.page-index .sig__quote blockquote p { max-width: 40ch; }
h1, h2, h3 { overflow-wrap: normal; word-break: normal; }
@media (max-width: 899px) {
 .phero { padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 1.75rem); padding-bottom: 2.5rem; }
 .phero h1 { font-size: clamp(2.5rem,8.5vw,3.75rem); }
 .phero .eyebrow { margin-bottom: 1rem; }
 .phero__lead { margin-top: 1.25rem; }
 .lesson-opening__grid, .reviews-opening__grid, .contact-opening__head, .pool-opening__head { grid-template-columns: minmax(0,1fr); gap: 1.5rem; }
 .lesson-opening__photo { width: min(80%,350px); justify-self: center; }
 .lesson-opening__photo img { height: 330px; object-position: center 40%; }
 .lesson-opening__copy .btn-row { margin-top: 1.25rem; }
 .pool-opening__head { gap: 1rem; margin-bottom: 1.5rem; }
 .pool-opening .pool-gallery__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
 .pool-opening .pool-gallery__grid img { height: 180px; border-radius: var(--r-md); }
 .pool-opening .pool-gallery__grid figure:first-child img { border-radius: 45% 45% var(--r-md) var(--r-md); }
 .pool-opening .pool-gallery__grid figcaption { font-size: .875rem; padding-top: .35rem; }
 .opening-rating { margin-top: 1.25rem; }
 .opening-rating__number { font-size: 4rem; }
 .opening-review { border-left: 0; border-top: 1px solid var(--line); padding: 1.5rem 0 0; }
 .opening-review blockquote p { font-size: 1.35rem; line-height: 1.35; }
 .opening-review figcaption { margin-top: 1rem; }
 .review-context { padding-bottom: 1.5rem; gap: 1rem; align-items: center; }
 .review-context .score__photo { width: 48%; flex: none; }
 .review-context .score__photo img { aspect-ratio: 1; }
 .review-context .eyebrow { font-size: .7rem; }
 .page-reviews .rv { padding-block: 2.5rem; }
 .page-reviews .rv .review blockquote p { font-size: 1.4rem; line-height: 1.35; }
 .contact-opening { padding-bottom: 1.5rem; }
 .contact-opening__head { gap: 1.25rem; }
 .page-contact .reach__cards, .page-contact .reach__hours { grid-column: 1 / -1; }
 .page-contact .reach__cards { grid-template-columns: 1fr; gap: .75rem; }
 .page-contact .reach-card, .page-contact .reach-card--email { padding: 1rem 1.25rem; min-height: 115px; gap: .2rem; }
 .page-contact .reach-card .v { margin-top: 0; font-size: 1.5rem; }
 .page-contact .reach-card--email .d { font-size: 1rem; }
 .page-contact .reach { row-gap: 2.5rem; }
 .page-index .section, .page-index .sig__stage { padding-block: 3rem; }
 .page-index .hero { padding-bottom: 2.5rem; }
 .page-index .hero__frame { max-height: 420px; aspect-ratio: 4/5; }
 .page-index .hero__foot { margin-top: 1.5rem; gap: .5rem; }
 .page-index .hero__foot > span { width: 100%; }
 .page-index .programs__head { margin-bottom: 1.75rem; }
 .page-index .programs__head > .prose { margin-top: 1rem; }
 .page-index .program-card { padding: 1.5rem; }
 .page-index .program-card .eyebrow { margin-bottom: 1rem; }
 .page-index .prices { margin-top: 1.25rem; }
 .page-index .prices > div { padding: .75rem 0; }
 .page-index .sig__stage { gap: 2rem; }
 .page-index .sig__quote blockquote p { font-size: 1.45rem; line-height: 1.3; }
 /* The rating's words fit inside the circle on a phone (owner, 15 Nov: "Read parents' words" sat outside it). */
 .page-index .sig__rating { width: min(310px, 100%); padding: 0 1rem; }
 .page-index .sig__rating .sig__score { font-size: 4.5rem; }
 .page-index .instagram-band .btn { margin-top: 1rem; }
 .page-index .enquire .grid { row-gap: 2rem; }
 .page-index .enquire__copy .btn-row { margin-top: 1.5rem; }
}

/* Final opening refinement: use the available heading track. */
.phero h1 { max-width: none; }


/* Hand edit, 15 Nov: their four pillars, from their brochure (owner) */
.pillars { background: var(--bg); }
.pillars__head h2 { max-width: 16ch; margin-top: 1rem; }
.pillars__head h2 em { font-style: italic; color: var(--accent); }
.pillars__grid { list-style: none; margin: clamp(2rem, 4vw, 3.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 1.8vw, 1.5rem); }
.pillar { display: flex; flex-direction: column; gap: 1.1rem; padding: clamp(1.5rem, 2.4vw, 2.25rem); background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); }
.pillar__icon { flex: none; width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #0A4482; box-shadow: 0 14px 30px -16px rgba(10, 68, 130, .7); }
.pillar__icon--sky { background: #13A9DF; box-shadow: 0 14px 30px -16px rgba(19, 169, 223, .8); }
.pillar__icon svg { width: 34px; height: 34px; }
.pillar h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.35rem, 1.1rem + .7vw, 1.7rem); line-height: 1.15; margin-bottom: .6rem; }
.pillar p { color: var(--muted); font-size: var(--fs-small); line-height: 1.55; }
.pillar__who { display: block; margin-top: .6rem; font-size: var(--fs-micro); letter-spacing: .12em; text-transform: uppercase; color: var(--palm-ink); }
@media (max-width: 1100px) { .pillars__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) {
  .pillars__grid { grid-template-columns: 1fr; gap: .85rem; }
  .pillar { flex-direction: row; align-items: flex-start; gap: 1rem; padding: 1.25rem; }
  .pillar__icon { width: 56px; height: 56px; }
  .pillar__icon svg { width: 28px; height: 28px; }
}

/* Final review before their first look (15 Nov). */
@media (min-width: 900px) { .hero__rings { width: 150%; } } /* the outer ring crossed the nav on the first screen */
.sig__quote blockquote { justify-items: start; }
.review-context { align-items: center; }
.review-context__title { font-size: var(--fs-d2); }
.review-context__title em { color: var(--accent); }
.page-index .instagram-band__inner { justify-content: flex-start; gap: clamp(2rem, 10vw, 10rem); }
@media (max-width: 899px) { .programs__head > .prose { margin-top: 1rem; } }
