/* ============================================================
   Omega Life Clinical — prototype stylesheet
   Brand system locked to the Omega Life Clinical Brand Sheet.
   Purple + pink + cream, Poppins throughout, smile-arc signature.
   ============================================================ */

:root {
  --purple: #794F76;        /* primary: headers, footers */
  --purple-dark: #5C3B5A;   /* contact strip */
  --purple-accent: #8E4A82; /* featured names only */
  --pink-soft: #F3D9E2;     /* pills, eyebrows */
  --pink-deep: #BE4F82;     /* CTAs, tags */
  --cream: #FBF4F0;         /* background */
  --ink: #3A2A38;           /* body text */
  --ink-soft: #6b5868;      /* muted body */
  --white: #ffffff;
  --line: rgba(121, 79, 118, 0.14);

  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --maxw: 1140px;

  /* layered, colour-tinted shadows (base -> elevated -> floating) */
  --shadow-1: 0 1px 2px rgba(92, 59, 90, 0.05);
  --shadow-2: 0 2px 6px rgba(92, 59, 90, 0.06), 0 10px 24px rgba(92, 59, 90, 0.07);
  --shadow-3: 0 4px 10px rgba(92, 59, 90, 0.08), 0 20px 44px rgba(92, 59, 90, 0.12);

  /* ---------- Motion tokens ----------
     --ease is the house curve (a decelerating "settle"), used for anything that
     moves into place. --ease-soft is gentler and is paired with opacity, because
     a hard decelerate on a fade reads as a flicker. --ease-inout is for things
     that move and stop under their own steam (menus, scrubbed scroll). */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 0.18s;
  --dur: 0.32s;
  --dur-slow: 0.6s;
  --dur-reveal: 0.9s;
  --stagger: 80ms;

  --nav-h: 74px;
  --space-section: clamp(64px, 8vw, 108px);
}

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

/* Native smooth scroll is the fallback for anything Lenis is not driving —
   in-page anchors when scripting is off, and browsers where Lenis declines to
   start. app.js sets .smooth-scroll once it is actually running, and that
   switches the native behaviour off: two smoothing systems on the same scroll
   fight each other and the result stutters.

   (Lenis's own `.lenis-smooth` class is not usable for this. In v1.1 it is
   present only while a smooth scroll is in flight, not for the whole session.)

   The rest is the working part of Lenis's stylesheet, inlined so the page does
   not pay for a second request. */
html { scroll-behavior: smooth; }
html.smooth-scroll { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }

body {
  font-family: "Poppins", system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Type ---------- */
h1, h2, h3 { letter-spacing: -0.01em; line-height: 1.12; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--pink-soft); color: var(--purple);
  font-weight: 500; font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 6px 14px; border-radius: var(--radius-pill);
  margin-bottom: 20px;
}
.eyebrow.on-dark { background: rgba(255, 255, 255, 0.14); color: #fff; }
.eyebrow .smile-mini {
  width: 12px; height: 7px; border: 0 solid currentColor;
  border-bottom-width: 2px; border-bottom-left-radius: 8px; border-bottom-right-radius: 8px;
}
.ol-mark { height: 13px; width: auto; display: block; }
.eyebrow .ol-mark { position: relative; top: 0.5px; }
.pill.pill-brand { display: inline-flex; align-items: center; gap: 7px; vertical-align: middle; }
.pill.pill-brand .ol-mark { height: 11px; }

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 {
  font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.15rem);
  color: var(--purple); letter-spacing: -0.02em;
}
.section-head p { margin-top: 14px; color: var(--ink-soft); font-size: 1.02rem; max-width: 560px; }
.name-hl { color: var(--purple-accent); font-weight: 500; }
/* linked variant: needs an affordance beyond colour, since plain .name-hl is already purple */
a.name-hl { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; text-decoration-color: rgba(142, 74, 130, 0.4); transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease); }
a.name-hl:hover { color: var(--pink-deep); text-decoration-color: var(--pink-deep); }
a.name-hl:active { color: var(--purple); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: inherit; font-weight: 500; font-size: 0.95rem;
  border: none; cursor: pointer; border-radius: var(--radius-pill);
  padding: 14px 26px; line-height: 1;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn-primary { background: var(--pink-deep); color: #fff; box-shadow: 0 8px 20px rgba(190, 79, 130, 0.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(190, 79, 130, 0.36); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--purple); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-outline:hover { background: #fff; transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--purple), var(--shadow-2); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

:focus-visible { outline: 3px solid var(--pink-deep); outline-offset: 3px; border-radius: 6px; }

/* text link with smile underline */
.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; color: var(--pink-deep); font-size: 0.95rem;
  transition: gap 0.25s var(--ease), color 0.25s var(--ease);
}
.link .arrow { transition: transform 0.25s var(--ease); }
.link:hover { color: var(--purple-accent); }
.link:hover .arrow { transform: translateX(4px); }

/* ---------- Pills ---------- */
.pill {
  display: inline-block; background: var(--pink-soft); color: var(--purple);
  font-weight: 500; font-size: 0.82rem; padding: 6px 14px;
  border-radius: var(--radius-pill); margin: 0 6px 8px 0;
}

/* ============================================================
   Logo: the real brand asset (assets/logo-clinical-white.png),
   cropped from the supplied artwork with the purple keyed to alpha.
   Used white on the purple header and footer bands.
   ============================================================ */
.brand { display: inline-flex; align-items: center; line-height: 1; }
.brand img { display: block; height: 24px; width: auto; }
@media (max-width: 420px) { .brand img { height: 20px; } }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--purple);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
/* Condensed state, set by app.js past the first 24px. The bar tightens and picks
   up a real shadow, so the page reads as sliding underneath it rather than the
   header sitting on a flat plane. */
.site-header.is-stuck {
  --nav-h: 62px;
  background: rgba(107, 69, 104, 0.94);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 30px rgba(58, 42, 56, 0.18);
}
@supports (backdrop-filter: blur(1px)) {
  .site-header.is-stuck { background: rgba(107, 69, 104, 0.86); backdrop-filter: blur(12px) saturate(1.3); }
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); gap: 24px;
  transition: height var(--dur) var(--ease);
}
.site-header .brand img { transition: height var(--dur) var(--ease); }
.site-header.is-stuck .brand img { height: 21px; }

/* Reading progress: a hairline on the header's own bottom edge. Scaled from the
   left on a transform, so it never triggers layout while scrolling. */
.scroll-progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  /* Gradient runs light-to-deep so the leading edge is the saturated end: the
     bar is scaled, not clipped, so the whole ramp is always in view. */
  background: linear-gradient(90deg, var(--purple-accent), var(--pink-deep));
  transform: scaleX(var(--progress, 0)); transform-origin: 0 50%;
  opacity: 0; transition: opacity var(--dur) var(--ease);
  pointer-events: none;
}
.site-header.is-stuck .scroll-progress { opacity: 1; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links a {
  display: inline-flex; align-items: center; gap: 5px;
  color: rgba(255, 255, 255, 0.88); font-weight: 400; font-size: 0.94rem;
  padding: 10px 14px; border-radius: var(--radius-pill);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-links a:hover, .nav-links a:focus-visible, .nav-links .has-menu:hover > a { color: #fff; background: rgba(255, 255, 255, 0.12); }
.nav-links a.is-active { color: #fff; background: rgba(255, 255, 255, 0.16); }
.caret { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 0.2s var(--ease); }
.has-menu:hover .caret { transform: rotate(225deg) translateY(-2px); }

/* dropdown */
.submenu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 268px;
  background: #fff; border-radius: var(--radius-sm); padding: 8px;
  box-shadow: var(--shadow-3); list-style: none;
  opacity: 0; visibility: hidden;
  transform: translateY(-6px) scale(0.97); transform-origin: 24px 0;
  transition: opacity 0.22s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
}
/* An invisible bridge across the 8px gap, so the panel does not close while the
   pointer is travelling from the trigger down to the first item. */
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.has-menu:hover .submenu, .has-menu:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.submenu a {
  color: var(--ink); font-size: 0.92rem; padding: 11px 14px; border-radius: 8px; display: block;
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), padding-left var(--dur-fast) var(--ease);
}
.submenu a:hover { background: var(--pink-soft); color: var(--purple); padding-left: 19px; }
/* Items settle in behind the panel, top-down. */
.has-menu:hover .submenu li, .has-menu:focus-within .submenu li { animation: riseSm 0.4s var(--ease) both; }
.submenu li:nth-child(1) { animation-delay: 0.04s; }
.submenu li:nth-child(2) { animation-delay: 0.07s; }
.submenu li:nth-child(3) { animation-delay: 0.1s; }
.submenu li:nth-child(4) { animation-delay: 0.13s; }
.submenu li:nth-child(n + 5) { animation-delay: 0.16s; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(120% 120% at 85% -10%, rgba(190, 79, 130, 0.42) 0%, rgba(190, 79, 130, 0) 55%),
    radial-gradient(90% 90% at 10% 110%, rgba(142, 74, 130, 0.45) 0%, rgba(142, 74, 130, 0) 60%),
    var(--purple);
  padding: clamp(64px, 9vw, 120px) 0 clamp(72px, 9vw, 128px);
}
.hero::before { /* grain for depth */
  content: ""; position: absolute; inset: 0; opacity: 0.05; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero .smile-watermark {
  position: absolute; right: -140px; bottom: -200px; width: 460px; height: 460px;
  border: 30px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%; border-top-color: transparent; border-left-color: transparent;
  transform: rotate(35deg); pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-inner { max-width: 760px; }
.hero h1 {
  font-weight: 700; font-size: clamp(2.3rem, 5.2vw, 3.5rem);
  letter-spacing: -0.025em; line-height: 1.06;
}
.hero h1 em { font-style: normal; color: var(--pink-soft); }
.hero .sub { margin-top: 22px; font-size: clamp(1.02rem, 1.6vw, 1.18rem); font-weight: 300; color: rgba(255, 255, 255, 0.9); max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 36px; }
.hero-actions .quiet { color: rgba(255, 255, 255, 0.82); font-size: 0.95rem; display: inline-flex; align-items: center; gap: 8px; }
.hero-actions .quiet a { color: #fff; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.4); transition: text-decoration-color .2s var(--ease); }
.hero-actions .quiet a:hover { text-decoration-color: #fff; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.hero-trust .pill { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* ============================================================
   Reveal-on-scroll
   ------------------------------------------------------------
   The transition lives on the base class, not on .in, so the browser has the
   timing resolved before the class flips — that is what stops the first
   revealed element on a page from snapping instead of animating.

   --reveal-delay is written by app.js: siblings inside the same container are
   indexed in DOM order and stepped apart, so a four-card grid cascades without
   any of the cards needing a modifier class in the markup.

   Distance and scale are variables so a variant only overrides the number.
   ============================================================ */
.reveal {
  transition:
    opacity var(--dur-reveal) var(--ease-soft) var(--reveal-delay, 0ms),
    transform var(--dur-reveal) var(--ease) var(--reveal-delay, 0ms);
}
/* Scoped to html.js — see the note on the gate in build.mjs. Without scripting
   the from-state is never applied and the page renders fully visible. */
.js .reveal {
  opacity: 0;
  transform: translate3d(var(--reveal-x, 0), var(--reveal-y, 24px), 0) scale(var(--reveal-s, 1));
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
/* Dropped once the element has landed: a permanent will-change keeps a
   compositor layer alive for every revealed block on the page. */
.reveal.is-settled { will-change: auto; }

.reveal-sm { --reveal-y: 12px; }
.reveal-fade { --reveal-y: 0px; }
/* For imagery: a whisper of scale reads as the photo settling rather than sliding. */
.reveal-scale { --reveal-y: 16px; --reveal-s: 0.972; }
.reveal-left { --reveal-x: -22px; --reveal-y: 0px; }
.reveal-right { --reveal-x: 22px; --reveal-y: 0px; }
/* Imagery gets the scale treatment automatically, so photo-led pages do not have
   to remember a modifier on every figure. */
figure.reveal, .reveal.hero-figure, .reveal.img-rounded { --reveal-y: 18px; --reveal-s: 0.975; }

/* ---------- Hero entrance ----------
   A CSS animation rather than a JS-gated class: the hero is above the fold, so
   if a script ever fails to run the copy must still be on screen. `both` fill
   holds the from-state during the delay only. */
@keyframes rise {
  from { opacity: 0; transform: translate3d(0, 22px, 0); }
  to   { opacity: 1; transform: none; }
}
@keyframes riseSm {
  from { opacity: 0; transform: translate3d(0, 8px, 0); }
  to   { opacity: 1; transform: none; }
}
@keyframes riseScale {
  from { opacity: 0; transform: translate3d(0, 26px, 0) scale(0.965); }
  to   { opacity: 1; transform: none; }
}
.js .hero .hero-inner > *:not(.hero-trust),
.js .page-hero .wrap > *:not(.hero-trust) {
  animation: rise 0.85s var(--ease) both;
}
.hero .hero-inner > *:nth-child(1), .page-hero .wrap > *:nth-child(1) { animation-delay: 0.05s; }
.hero .hero-inner > *:nth-child(2), .page-hero .wrap > *:nth-child(2) { animation-delay: 0.13s; }
.hero .hero-inner > *:nth-child(3), .page-hero .wrap > *:nth-child(3) { animation-delay: 0.21s; }
.hero .hero-inner > *:nth-child(4), .page-hero .wrap > *:nth-child(4) { animation-delay: 0.29s; }
.hero .hero-inner > *:nth-child(5), .page-hero .wrap > *:nth-child(5) { animation-delay: 0.37s; }
.hero .hero-inner > *:nth-child(n + 6), .page-hero .wrap > *:nth-child(n + 6) { animation-delay: 0.45s; }
.js .hero .hero-figure { animation: riseScale 1.05s var(--ease) 0.24s both; }

/* The pill row carries its own cascade rather than fading in as a block, so the
   parent is deliberately left un-animated — nesting one opacity animation inside
   another multiplies them and the pills arrive looking washed out. */
.js .hero-trust .pill { animation: rise 0.7s var(--ease) both; }
.hero-trust .pill:nth-child(1) { animation-delay: 0.42s; }
.hero-trust .pill:nth-child(2) { animation-delay: 0.5s; }
.hero-trust .pill:nth-child(3) { animation-delay: 0.58s; }
.hero-trust .pill:nth-child(n + 4) { animation-delay: 0.66s; }

/* The watermark arc drifts in last and slowest, so it registers as depth rather
   than as an element arriving. */
@keyframes driftIn {
  from { opacity: 0; transform: rotate(28deg) translate3d(40px, 40px, 0) scale(0.94); }
  to   { opacity: 1; transform: rotate(35deg); }
}
.js .hero .smile-watermark { animation: driftIn 1.6s var(--ease) 0.15s both; }

/* ============================================================
   Generic section
   ============================================================ */
.section { padding: var(--space-section) 0; }
.section.tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.section-row .section-head { margin-bottom: 0; }

/* ---------- Events ---------- */
.events { background: var(--cream); }
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
/* two-up variant; needs its own mobile rule to beat .events-grid specificity */
.events-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .events-grid.cols-2 { grid-template-columns: 1fr; } }
.event-card {
  background: #fff; border-radius: var(--radius); padding: 26px 24px 24px;
  box-shadow: var(--shadow-2); display: flex; flex-direction: column;
  border: 1px solid rgba(255,255,255,0.6);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
.tag {
  align-self: flex-start; background: var(--pink-deep); color: #fff;
  font-weight: 500; font-size: 0.74rem; letter-spacing: 0.04em;
  padding: 6px 13px; border-radius: var(--radius-pill); margin-bottom: 16px;
}
.event-card h3 { font-size: 1.16rem; font-weight: 600; color: var(--purple); }
.event-meta { margin-top: 10px; font-size: 0.86rem; color: var(--ink-soft); font-weight: 400; display: flex; flex-direction: column; gap: 3px; }
.event-card p { margin-top: 14px; font-size: 0.94rem; color: var(--ink); flex-grow: 1; }
.event-card .link { margin-top: 18px; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  background: #fff; border-radius: var(--radius); padding: 28px 24px 26px;
  box-shadow: var(--shadow-1); border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); border-color: transparent; }
.service-ico {
  width: 48px; height: 48px; border-radius: 14px; background: var(--pink-soft);
  display: grid; place-items: center; color: var(--purple); margin-bottom: 18px;
}
.service-ico svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 1.08rem; font-weight: 600; color: var(--purple); }
.service-card p { margin-top: 10px; font-size: 0.92rem; color: var(--ink-soft); flex-grow: 1; }
.service-card .link { margin-top: 18px; font-size: 0.9rem; }

/* ---------- Feature split (Vantage) ---------- */
.feature {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
  background: #fff; border-radius: 26px; padding: clamp(32px, 5vw, 60px);
  box-shadow: var(--shadow-2); border: 1px solid var(--line);
}
.feature .feature-visual {
  background: linear-gradient(150deg, var(--purple) 0%, var(--purple-accent) 100%);
  border-radius: var(--radius); min-height: 260px; position: relative; overflow: hidden;
  display: grid; place-items: center; color: #fff; text-align: center; padding: 32px;
}
.feature .feature-visual .vlogo { font-weight: 700; font-size: 1.6rem; letter-spacing: 0.02em; }
.feature .feature-visual .vsub { font-weight: 300; font-size: 0.86rem; opacity: 0.85; margin-top: 6px; }
.feature .feature-visual .placeholder-note { position: absolute; bottom: 12px; left: 0; right: 0; font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.6; }
.feature h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 600; color: var(--purple); }
.feature p { margin-top: 16px; color: var(--ink-soft); }
.feature .btn { margin-top: 26px; }

/* ---------- Two-up snapshot (fundraising + shop) ---------- */
.snap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.snap-card {
  border-radius: var(--radius); padding: clamp(28px, 4vw, 44px);
  display: flex; flex-direction: column; min-height: 240px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.snap-card:hover { transform: translateY(-4px); }
.snap-card.pink { background: linear-gradient(160deg, #fff 0%, var(--pink-soft) 130%); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.snap-card.pink:hover { box-shadow: var(--shadow-3); }
.snap-card.purple { background: var(--purple); color: #fff; box-shadow: var(--shadow-2); }
.snap-card.purple:hover { box-shadow: var(--shadow-3); }
.snap-card h3 { font-size: 1.35rem; font-weight: 600; }
.snap-card.pink h3 { color: var(--purple); }
.snap-card p { margin-top: 12px; flex-grow: 1; }
.snap-card.pink p { color: var(--ink-soft); }
.snap-card.purple p { color: rgba(255, 255, 255, 0.86); }
.snap-card .link { margin-top: 18px; }
.snap-card.purple .link { color: #fff; }
.snap-card.purple .link:hover { color: var(--pink-soft); }

/* ---------- Omega Life family ---------- */
.family { background: var(--cream); }
.family-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.family-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-1);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.family-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.family-card .k { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pink-deep); font-weight: 500; }
.family-card h3 { margin-top: 8px; font-size: 1.15rem; font-weight: 600; color: var(--purple); }
.family-card p { margin-top: 8px; font-size: 0.9rem; color: var(--ink-soft); }
.family-card .link { margin-top: 14px; font-size: 0.88rem; }

/* ---------- Contact strip ---------- */
.contact-strip { background: var(--purple-dark); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.contact-strip h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 600; }
.contact-strip .sub { margin-top: 14px; color: rgba(255, 255, 255, 0.85); max-width: 460px; }
.contact-strip .hero-actions { margin-top: 28px; }
.booking-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 28px 28px 26px; box-shadow: var(--shadow-3); }
.booking-card .bk-title { font-weight: 600; color: var(--purple); font-size: 1.05rem; margin-bottom: 6px; }
.booking-card .label { font-weight: 500; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pink-deep); margin-top: 16px; }
.booking-card .val { font-weight: 500; font-size: 1rem; color: var(--purple); margin-top: 3px; }
.booking-card .val a:hover { color: var(--pink-deep); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--purple); color: rgba(255, 255, 255, 0.78); padding: clamp(56px, 7vw, 80px) 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { font-size: 0.92rem; max-width: 280px; }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.footer-socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); display: grid; place-items: center; color: #fff; transition: background-color 0.2s var(--ease), transform 0.2s var(--ease); }
.footer-socials a:hover { background: var(--pink-deep); transform: translateY(-2px); }
.footer-col h4 { color: #fff; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.92rem; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.14); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   Interior page header (service page)
   ============================================================ */
.page-hero { background: var(--purple); color: #fff; padding: clamp(48px, 6vw, 84px) 0 clamp(56px, 7vw, 92px); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -160px; width: 380px; height: 380px; border: 26px solid rgba(255,255,255,.07); border-radius: 50%; border-top-color: transparent; border-left-color: transparent; transform: rotate(35deg); }
.page-hero .wrap { position: relative; z-index: 2; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 0.84rem; color: rgba(255, 255, 255, 0.7); margin-bottom: 22px; }
.crumbs a:hover { color: #fff; }
.crumbs span { opacity: 0.5; }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3rem); font-weight: 700; letter-spacing: -0.025em; max-width: 720px; }
.page-hero .lead { margin-top: 18px; font-size: 1.1rem; font-weight: 300; color: rgba(255, 255, 255, 0.9); max-width: 620px; }
.page-hero .hero-trust { margin-top: 28px; }

/* prose + side layout */
.split { display: grid; grid-template-columns: 1.7fr 1fr; gap: 56px; align-items: start; }
.prose h2 { color: var(--purple); font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 0 0 14px; clear: both; }
.prose h2:not(:first-child) { margin-top: 44px; }
.prose p { color: var(--ink); margin-bottom: 16px; }
.prose .lead-p { font-size: 1.12rem; color: var(--ink); font-weight: 400; }
.steps { list-style: none; counter-reset: step; margin-top: 12px; display: grid; gap: 16px; }
.steps li { position: relative; padding-left: 56px; }
.steps li .n { position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--pink-soft); color: var(--purple); font-weight: 600; display: grid; place-items: center; font-size: 0.95rem; }
.steps li h3 { font-size: 1.02rem; font-weight: 600; color: var(--purple); }
.steps li p { font-size: 0.94rem; color: var(--ink-soft); margin: 4px 0 0; }
.check-list { list-style: none; display: grid; gap: 12px; margin-top: 8px; }
.check-list li { position: relative; padding-left: 32px; color: var(--ink); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 9px; border-left: 2.5px solid var(--pink-deep); border-bottom: 2.5px solid var(--pink-deep); transform: rotate(-45deg); }
/* two-column variant for longer lists; collapses to one column on small screens */
.check-list.cols-2 { grid-template-columns: 1fr 1fr; gap: 12px 28px; }
@media (max-width: 620px) { .check-list.cols-2 { grid-template-columns: 1fr; } }

/* ---------- Cited statistic band (sits directly under a page hero) ---------- */
.stat-quote { background: var(--white); border-bottom: 1px solid var(--line); padding: clamp(34px, 4.4vw, 54px) 0; }
.stat-quote .sq-inner { max-width: 880px; position: relative; padding-left: clamp(24px, 3.4vw, 44px); }
.stat-quote .sq-inner::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; border-radius: var(--radius-pill); background: linear-gradient(180deg, var(--pink-deep), var(--pink-soft)); }
.stat-quote blockquote { font-size: clamp(1.06rem, 1.9vw, 1.38rem); font-weight: 300; line-height: 1.5; letter-spacing: -0.01em; color: var(--purple); margin: 0; }
.stat-quote blockquote strong { font-weight: 600; color: var(--purple-accent); }
.stat-quote cite { display: block; margin-top: 16px; font-style: normal; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.02em; color: var(--ink-soft); }

.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-2); position: sticky; top: 98px; }
.aside-card h3 { color: var(--purple); font-weight: 600; font-size: 1.1rem; }
.aside-card p { font-size: 0.92rem; color: var(--ink-soft); margin-top: 8px; }
.aside-card .btn { margin-top: 18px; width: 100%; justify-content: center; }
.aside-card .divider { height: 1px; background: var(--line); margin: 22px 0; }
.aside-card .mini-label { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pink-deep); font-weight: 500; }
.aside-card .mini-val { font-weight: 500; color: var(--purple); margin-top: 2px; }
.aside-card .mini-val + .mini-label { margin-top: 14px; }

/* ---------- Team grid ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.team-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-1); display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
.team-card.lead { border-color: transparent; box-shadow: var(--shadow-2); background: linear-gradient(180deg, #fff 0%, #fff 70%, var(--pink-soft) 220%); }
.avatar {
  width: 76px; height: 76px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 1.3rem;
  letter-spacing: 0.02em; margin-bottom: 18px;
  background: linear-gradient(150deg, var(--purple) 0%, var(--purple-accent) 100%);
  box-shadow: 0 6px 16px rgba(121, 79, 118, 0.28);
}
.team-card.lead .avatar { background: linear-gradient(150deg, var(--purple-accent) 0%, var(--pink-deep) 130%); }
img.avatar { object-fit: cover; overflow: hidden; }
.team-card .t-link { margin-top: 16px; font-size: 0.88rem; }
.team-card .t-name { font-size: 1.12rem; font-weight: 600; color: var(--purple); }
.team-card.lead .t-name { color: var(--purple-accent); }
.team-card .t-role { font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pink-deep); font-weight: 500; margin-top: 5px; }
.team-card .t-bio { font-size: 0.92rem; color: var(--ink-soft); margin-top: 14px; flex-grow: 1; }
.team-card .t-flag { margin-top: 14px; align-self: flex-start; background: var(--pink-soft); color: var(--purple); font-size: 0.72rem; font-weight: 500; padding: 5px 12px; border-radius: var(--radius-pill); }

/* ---------- Team hierarchy (tiered) ---------- */
.team-tiers { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.tier { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; width: 100%; position: relative; }
.tier .team-card { flex: 0 1 320px; max-width: 340px; }
.tier-cap { display: flex; justify-content: center; margin-bottom: 2px; }
.tier-cap span { background: var(--pink-soft); color: var(--purple); font-weight: 500; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 14px; border-radius: var(--radius-pill); }

/* A standing note under the team grid. Deliberately not a card: trainees rotate every
   placement, so this has to read as a statement about the service rather than as a person
   with a missing photo and a dead profile link. */
.team-note {
  max-width: 640px; margin: 34px auto 0; padding-top: 26px;
  border-top: 1px solid var(--line);
  text-align: center; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.7;
  text-wrap: balance;
}
.team-note strong { color: var(--purple); font-weight: 600; }
@media (max-width: 640px) { .team-note { margin-top: 26px; padding-top: 22px; text-align: left; } }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-1); display: flex; flex-direction: column; }
.review-card .quote-mark { font-family: Georgia, serif; font-size: 3rem; line-height: 0.6; color: var(--pink-soft); height: 26px; }
.review-card blockquote { font-size: 1rem; color: var(--ink); font-weight: 400; margin: 0; flex-grow: 1; }
.review-card .who { margin-top: 18px; font-size: 0.84rem; color: var(--ink-soft); font-weight: 500; }
.review-card .stars { color: var(--pink-deep); letter-spacing: 2px; font-size: 0.9rem; margin-bottom: 14px; }
/* two-up variant for a 4-card set; needs its own mobile rule to beat .reviews-grid specificity */
.reviews-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .reviews-grid.cols-2 { grid-template-columns: 1fr; } }

/* anchor offset for sticky header */
.anchor { scroll-margin-top: 92px; }

@media (max-width: 1000px) {
  .team-grid, .reviews-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .team-grid, .reviews-grid { grid-template-columns: 1fr; }
}

/* note banner for placeholders / open questions */
.note-banner { background: #fff6df; border: 1px dashed #e0b94a; color: #7a5d12; border-radius: var(--radius-sm); padding: 12px 18px; font-size: 0.85rem; margin-top: 16px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
  .events-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .feature { grid-template-columns: 1fr; }
  .feature .feature-visual { order: -1; min-height: 200px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .aside-card { position: static; }
}
@media (max-width: 760px) {
  .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  /* Kept in flow and collapsed rather than display:none, so opening and closing
     can be animated. max-height is the only honest way to transition to an
     unknown content height; it is set generously and the panel scrolls if the
     menu ever outgrows the viewport. */
  .nav-links {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--purple-dark); gap: 2px; box-shadow: var(--shadow-3);
    max-height: 0; padding: 0 12px; opacity: 0; visibility: hidden;
    overflow: hidden; transform: translateY(-8px);
    transition:
      max-height 0.45s var(--ease), padding 0.45s var(--ease),
      transform 0.45s var(--ease), opacity 0.28s var(--ease-soft), visibility 0.45s;
  }
  /* The panel takes the whole viewport below the bar and scrolls inside it.
     Both submenus render expanded on mobile, so the list is taller than any
     phone: a shorter cap would hide News and Contact behind a scroll with
     nothing on screen to suggest one. dvh tracks the browser chrome as it
     collapses; vh is the fallback for browsers without it. */
  .nav-links.open {
    max-height: calc(100vh - var(--nav-h));
    max-height: calc(100dvh - var(--nav-h));
    padding: 12px 12px 28px; opacity: 1; visibility: visible;
    transform: translateY(0); overflow-y: auto; overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  /* Rows arrive one after another; --i is stamped on by app.js in DOM order. */
  .nav-links.open > li { animation: riseSm 0.4s var(--ease) both; animation-delay: calc(60ms + var(--i, 0) * 45ms); }
  .nav-links.open .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(255,255,255,0.06); margin: 4px 0 4px 12px; }
  .nav-links.open .submenu li { animation: none; }
  /* The hover bridge is a desktop-only affordance; a static submenu would anchor
     it to the header and leave an invisible strip over the nav. */
  .submenu::before { display: none; }
  .nav-links.open .submenu a { color: rgba(255,255,255,0.85); }
  .nav-links.open .submenu a:hover { background: rgba(255,255,255,0.1); color: #fff; }
  .events-grid, .services-grid, .snap-grid, .contact-grid, .family-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-actions { gap: 14px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ---------- Mobile nav toggle button ---------- */
.nav-toggle { background: rgba(255,255,255,0.12); border: none; color: #fff; width: 44px; height: 44px; border-radius: 12px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 20px; height: 2px; background: #fff; position: relative; transition: transform 0.25s var(--ease), opacity 0.25s var(--ease); }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span::after { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   Imagery: hero split, photo bands, figures
   ============================================================ */
.hero-grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-figure { position: relative; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-3); aspect-ratio: 4 / 3.05; border: 1px solid rgba(255, 255, 255, 0.18); }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(155deg, rgba(121, 79, 118, 0) 45%, rgba(92, 59, 90, 0.5)); mix-blend-mode: multiply; }
.hero-figure .fig-cap { position: absolute; left: 16px; bottom: 16px; z-index: 2; background: rgba(92, 59, 90, 0.66); color: #fff; backdrop-filter: blur(4px); font-size: 0.78rem; font-weight: 500; padding: 7px 14px; border-radius: var(--radius-pill); }

.img-rounded { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-2); position: relative; }
.img-rounded img { width: 100%; height: 100%; display: block; object-fit: cover; }
.img-rounded.treat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(58, 42, 56, 0.22), transparent 55%); }

/* full-width photo band with overlay */
.photo-band { position: relative; overflow: hidden; color: #fff; display: grid; place-items: center; text-align: center; min-height: clamp(360px, 46vw, 460px); }
.photo-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(92, 59, 90, 0.82), rgba(121, 79, 118, 0.86)); }
.photo-band .pb-inner { position: relative; z-index: 2; max-width: 780px; padding: 72px 24px; }
.photo-band blockquote { font-size: clamp(1.4rem, 3.2vw, 2.1rem); font-weight: 600; line-height: 1.32; letter-spacing: -0.01em; margin: 14px 0 0; }
.photo-band .pb-who { margin-top: 20px; font-weight: 400; font-size: 0.95rem; color: rgba(255, 255, 255, 0.86); }

/* prose figure */
.prose figure { margin: 26px 0; }
.prose figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-2); display: block; }
.prose figcaption { font-size: 0.82rem; color: var(--ink-soft); margin-top: 10px; }

/* floated portrait figure: text wraps beside it */
.prose figure.fig-portrait { float: left; width: clamp(230px, 40%, 320px); margin: 4px 28px 16px 0; }
.prose figure.fig-portrait img { aspect-ratio: 3 / 4; object-fit: cover; }
@media (max-width: 620px) { .prose figure.fig-portrait { float: none; width: 100%; margin: 22px 0; } }

/* full-width band figure: for prose columns with no text to wrap a float */
.prose figure.fig-band { margin: 0 0 34px; }
.prose figure.fig-band img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 42%; }
@media (max-width: 620px) { .prose figure.fig-band img { aspect-ratio: 4 / 3; } }

/* feature visual that holds a real image */
.feature .feature-visual.has-img { background: none; padding: 0; min-height: 320px; }
.feature .feature-visual.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature .feature-visual.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(150deg, rgba(121, 79, 118, 0.15), rgba(92, 59, 90, 0.45)); mix-blend-mode: multiply; }

/* ============================================================
   Forms
   ============================================================ */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-2); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 500; font-size: 0.84rem; color: var(--purple); margin-bottom: 7px; }
.field label .req { color: var(--pink-deep); }
.field input, .field select, .field textarea { width: 100%; font-family: inherit; font-size: 0.95rem; color: var(--ink); background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(121, 79, 118, 0.15); }
.field textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.86rem; color: var(--ink-soft); margin: 6px 0 20px; }
.form-consent input { width: auto; margin-top: 4px; accent-color: var(--pink-deep); }
.form-card .btn { width: 100%; justify-content: center; }
.form-card .btn[disabled] { opacity: 0.6; pointer-events: none; }

/* honeypot: off-screen rather than display:none, which some bots skip */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* submit feedback */
.form-status { margin-top: 16px; padding: 14px 18px; border-radius: var(--radius-sm); font-size: 0.92rem; }
.form-status.is-ok { background: var(--pink-soft); color: var(--purple); }
.form-status.is-error { background: #fdeaea; color: #8c2f2f; border: 1px solid #f0c4c4; }
.form-status a { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* contact methods list */
.contact-methods { display: grid; gap: 14px; }
.cm-item { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-1); }
.cm-ico { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--pink-soft); color: var(--purple); display: grid; place-items: center; }
.cm-item .k { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--pink-deep); font-weight: 500; }
.cm-item .v { font-weight: 500; color: var(--purple); }
.cm-item .v a:hover { color: var(--pink-deep); }

/* Location cards: photo of the clinic + its address and direct phone line. Same
   white/border/shadow surface as .cm-item, with the image flush to the top edge. */
.loc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); overflow: hidden; transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
@media (hover: hover) { .loc-card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); } }
.loc-card .loc-media { aspect-ratio: 16 / 9; overflow: hidden; }
.loc-card .loc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
@media (hover: hover) { .loc-card:hover .loc-media img { transform: scale(1.03); } }
.loc-card .loc-info { padding: 16px 20px 18px; }
.loc-card .loc-info .k { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--pink-deep); font-weight: 500; }
.loc-card .loc-addr { margin: 5px 0 10px; color: var(--ink-soft); font-size: 0.92rem; line-height: 1.5; }
.loc-card .loc-tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--purple); transition: color var(--dur-fast) var(--ease); }
.loc-card .loc-tel svg { color: var(--pink-deep); flex: none; }
.loc-card .loc-tel:hover { color: var(--pink-deep); }

/* ============================================================
   Fees
   ============================================================ */
.fees-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fee-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-1); display: flex; flex-direction: column; }
.fee-card.feature-fee { border-color: transparent; box-shadow: var(--shadow-2); background: linear-gradient(180deg, #fff 60%, var(--pink-soft) 200%); }
.fee-card h3 { color: var(--purple); font-weight: 600; font-size: 1.12rem; }
.fee-amount { margin: 14px 0 6px; }
.fee-amount .tbc { display: inline-block; font-size: 0.82rem; font-weight: 500; color: var(--pink-deep); background: var(--pink-soft); padding: 6px 14px; border-radius: var(--radius-pill); }
.fee-card p { font-size: 0.92rem; color: var(--ink-soft); flex-grow: 1; }
.fee-card ul { list-style: none; margin-top: 14px; display: grid; gap: 9px; }
.fee-card li { position: relative; padding-left: 26px; font-size: 0.9rem; color: var(--ink); }
.fee-card li::before { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 8px; border-left: 2.5px solid var(--pink-deep); border-bottom: 2.5px solid var(--pink-deep); transform: rotate(-45deg); }

/* ============================================================
   Resources
   ============================================================ */
.res-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.res-item { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-1); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.res-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.res-ico { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--pink-soft); color: var(--purple); display: grid; place-items: center; }
.res-item .res-meta { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--pink-deep); font-weight: 500; }
.res-item h3 { font-size: 1rem; color: var(--purple); font-weight: 600; margin-top: 3px; }
.res-item p { font-size: 0.86rem; color: var(--ink-soft); margin-top: 5px; }

/* ============================================================
   Shop
   ============================================================ */
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); display: flex; flex-direction: column; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
.product .ph { aspect-ratio: 1; background: linear-gradient(150deg, var(--pink-soft) 0%, #fff 100%); display: grid; place-items: center; color: var(--purple); position: relative; }
.product .ph svg { width: 42px; height: 42px; opacity: 0.5; }
.product .ph .cat { position: absolute; top: 12px; left: 12px; background: rgba(255, 255, 255, 0.8); color: var(--purple); font-size: 0.7rem; font-weight: 500; padding: 4px 10px; border-radius: var(--radius-pill); }
.product .pinfo { padding: 18px 18px 20px; display: flex; flex-direction: column; flex-grow: 1; }
.product h3 { font-size: 1rem; color: var(--purple); font-weight: 600; }
.product .pdesc { font-size: 0.84rem; color: var(--ink-soft); margin-top: 5px; flex-grow: 1; }
.product .price { font-weight: 600; color: var(--pink-deep); margin-top: 12px; font-size: 1.05rem; }
.product .btn { margin-top: 12px; width: 100%; justify-content: center; }

/* ============================================================
   Profile (staff) page
   ============================================================ */
.profile-head { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.profile-head .avatar-lg { width: 132px; height: 132px; border-radius: 26px; object-fit: cover; border: 4px solid rgba(255, 255, 255, 0.22); box-shadow: var(--shadow-3); flex: none; }
.profile-head .avatar-lg.mono { display: grid; place-items: center; background: linear-gradient(150deg, var(--purple-accent), var(--pink-deep)); color: #fff; font-weight: 600; font-size: 2.4rem; }
.profile-head .p-role { color: var(--pink-soft); font-weight: 500; margin-top: 8px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.page-hero .pill-reg { background: var(--pink-deep); color: #fff; }
.creds-list { list-style: none; margin-top: 8px; display: grid; gap: 8px; }
.creds-list li { position: relative; padding-left: 24px; font-size: 0.86rem; color: var(--ink); }
.creds-list li::before { content: ""; position: absolute; left: 0; top: 6px; width: 13px; height: 8px; border-left: 2.5px solid var(--pink-deep); border-bottom: 2.5px solid var(--pink-deep); transform: rotate(-45deg); }

/* ============================================================
   Placeholder page (Vantage)
   ============================================================ */
.coming-soon { background: #fff; border: 1.5px dashed var(--line); border-radius: 26px; padding: clamp(40px, 6vw, 72px); text-align: center; box-shadow: var(--shadow-1); }
.coming-soon .cs-logo { width: 120px; height: 120px; margin: 0 auto 24px; border-radius: 24px; background: linear-gradient(150deg, var(--purple), var(--purple-accent)); display: grid; place-items: center; color: #fff; font-weight: 700; box-shadow: var(--shadow-2); }
.coming-soon h2 { color: var(--purple); font-weight: 600; font-size: 1.6rem; }
.coming-soon p { color: var(--ink-soft); max-width: 460px; margin: 12px auto 0; }
/* de-scoped from .coming-soon so the partner link works on the Vantage page too */
.partner { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; background: var(--pink-soft); color: var(--purple); font-weight: 500; font-size: 0.85rem; padding: 8px 16px; border-radius: var(--radius-pill); transition: background-color 0.2s var(--ease), transform 0.2s var(--ease); }
a.partner:hover { background: var(--purple); color: #fff; transform: translateY(-2px); }
.partner .arrow { transition: transform 0.25s var(--ease); }
a.partner:hover .arrow { transform: translateX(3px); }

/* ---------- Clinician byline (programme pages) ---------- */
.byline { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.byline img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 20%; flex: none; box-shadow: 0 6px 16px rgba(121, 79, 118, 0.22); }
.byline .b-name { font-weight: 600; font-size: 1.02rem; color: var(--purple-accent); }
.byline .b-name .cred { font-weight: 400; color: var(--ink-soft); }
.byline .b-role { font-size: 0.88rem; color: var(--ink-soft); margin-top: 2px; }

/* ---------- Fee band ---------- */
.fee-band { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; background: var(--pink-soft); border-radius: var(--radius-sm); padding: 16px 22px; margin: 28px 0; }
.fee-band .amount { font-weight: 600; color: var(--purple); font-size: 1.05rem; }
.fee-band .cond { font-size: 0.9rem; color: var(--ink-soft); }
.fee-band .cond a { color: var(--pink-deep); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
/* Marks a time-limited promotional rate so it does not read as contradicting the
   schedule on /fees. UNUSED as of 24 July 2026: the "Summer 2026 only" tag was
   retired from both programme pages when the standard hourly rate came down to
   £65 and the offer stopped being an offer. Kept for the next one — add a
   <span class="rate-tag"> inside .fee-band, and give it an end date this time. */
.fee-band .rate-tag { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; color: #fff; background: var(--pink-deep); padding: 4px 11px; border-radius: var(--radius-pill); }

/* ---------- Partner logo tile ----------
   The supplied Vantage mark is a small raster on a solid white background, so it is
   set on a white tile rather than keyed out (keying would open the gaps between the
   V's stripes and change the mark). Sized well under its 200px native width. */
.partner-logo { background: #fff; border-radius: var(--radius); padding: 22px 28px; display: inline-grid; place-items: center; box-shadow: var(--shadow-2); border: 1px solid var(--line); }
.partner-logo img { display: block; width: 132px; height: auto; }
.feature-visual .partner-logo { box-shadow: 0 14px 30px rgba(58, 42, 56, 0.22); border-color: transparent; }

/* status pill on a snap-card, for work that is agreed vs still being planned */
.snap-card .status { align-self: flex-start; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; padding: 5px 13px; border-radius: var(--radius-pill); margin-bottom: 14px; }
.snap-card.pink .status { background: var(--pink-soft); color: var(--purple); }
.snap-card.purple .status { background: rgba(255, 255, 255, 0.16); color: #fff; }

/* ---------- Fee schedule table ----------
   A real table, because this is tabular data with a header. Stacks on narrow screens
   rather than scrolling, since there are only two columns. */
.fee-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.fee-table th {
  text-align: left; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--pink-deep); font-weight: 500; padding: 0 0 12px; border-bottom: 1px solid var(--line);
}
.fee-table th:last-child { text-align: right; }
.fee-table td { padding: 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink); }
.fee-table td:first-child { padding-right: 36px; }
.fee-table td:last-child { text-align: right; white-space: nowrap; font-weight: 600; color: var(--purple); }
.fee-table .qual { display: block; font-size: 0.88rem; color: var(--ink-soft); margin-top: 5px; }
.fee-table .free { color: var(--pink-deep); }

@media (max-width: 620px) {
  .fee-table, .fee-table tbody, .fee-table tr, .fee-table td { display: block; width: 100%; }
  .fee-table thead { display: none; }
  .fee-table tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .fee-table td { border: none; padding: 0; }
  .fee-table td:first-child { padding-right: 0; }
  .fee-table td:last-child { text-align: left; margin-top: 8px; white-space: normal; }
}

/* ---------- Legal / policy pages ---------- */
.legal { max-width: 760px; }
.legal .updated { font-size: 0.86rem; color: var(--ink-soft); margin-bottom: 8px; }
.legal h2 { margin-top: 44px; }
.legal h3 { font-size: 1.02rem; font-weight: 600; color: var(--purple-accent); margin: 26px 0 8px; }
.legal ul { list-style: none; display: grid; gap: 10px; margin: 12px 0 18px; }
.legal ul li { position: relative; padding-left: 22px; color: var(--ink); }
.legal ul li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--pink-deep); }
.legal dl { display: grid; gap: 4px 20px; margin: 12px 0 20px; }
.legal dt { font-weight: 600; color: var(--purple); }
.legal dd { margin: 0 0 12px; color: var(--ink-soft); }
/* Placeholder marker: unmistakable on screen so an unfinished notice cannot be
   mistaken for a finished one. Remove the spans once the details are filled in. */
.legal .tbc { background: #fff3cd; color: #7a5d12; border: 1px dashed #e0b94a; border-radius: 4px; padding: 1px 7px; font-weight: 500; font-size: 0.92em; }

/* ---------- Cookie consent banner (only rendered when GA4 is configured) ---------- */
.consent-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  max-width: 640px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-3); padding: 22px 24px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px;
}
/* An author `display` overrides the [hidden] attribute's UA `display:none`, so
   without this the banner ignores hidden=true and never closes on accept/decline
   (and would reappear for visitors who already answered). Restore hidden. */
.consent-banner[hidden] { display: none; }
.consent-banner p { font-size: 0.9rem; color: var(--ink-soft); flex: 1 1 260px; margin: 0; }
.consent-banner .consent-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.consent-banner .btn { padding: 10px 18px; font-size: 0.88rem; }
@media (max-width: 520px) {
  .consent-banner .consent-actions { width: 100%; }
  .consent-banner .btn { flex: 1; justify-content: center; }
}

/* news cards with image */
.news-card .news-img { aspect-ratio: 16 / 10; overflow: hidden; }
.news-card .news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.news-card { padding: 0; overflow: hidden; }
.news-card:hover .news-img img { transform: scale(1.04); }
.news-card .news-body { padding: 22px 24px 24px; display: flex; flex-direction: column; }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { max-width: 560px; }
  .fees-grid { grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: 1fr 1fr; }
  .res-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Motion refinement
   ------------------------------------------------------------
   Everything below tunes motion that already existed. It is kept in one block
   at the end so the timing of the whole site can be read in one place.
   ============================================================ */

/* ---------- Hover is a pointer affordance, not a touch one ----------
   Touch browsers emulate :hover on tap and then leave the state stuck until the
   next tap elsewhere, which on a card grid means cards that stay lifted. */
@media (hover: none) {
  .event-card:hover, .service-card:hover, .family-card:hover, .team-card:hover,
  .snap-card:hover, .res-item:hover, .product:hover, .btn:hover,
  a.partner:hover, .footer-socials a:hover {
    transform: none;
  }
  .news-card:hover .news-img img { transform: none; }
}

/* ---------- Buttons ----------
   Press is deliberately faster than release: the acknowledgement should feel
   instant, the recovery relaxed. */
.btn { transition-duration: var(--dur); will-change: transform; }
.btn:active { transition-duration: 60ms; }
.btn-primary:active, .btn-ghost:active, .btn-outline:active { transform: translateY(0) scale(0.975); }
.btn .arrow, .link .arrow { transition: transform var(--dur) var(--ease); }

/* ---------- Cards ----------
   Slightly longer and on the house curve, so the lift settles instead of
   stopping dead. The shadow trails the movement by a fraction, which is what
   makes the card read as rising off the page. */
.event-card, .service-card, .family-card, .team-card, .snap-card, .res-item, .product {
  transition:
    transform 0.42s var(--ease),
    box-shadow 0.5s var(--ease-soft),
    border-color 0.42s var(--ease);
}
@media (hover: hover) {
  .event-card:hover, .service-card:hover, .team-card:hover, .product:hover { transform: translateY(-6px); }
  .family-card:hover, .res-item:hover { transform: translateY(-4px); }
  .snap-card:hover { transform: translateY(-5px); }
  /* Icon tiles animate with their card rather than sitting still inside it. */
  .service-ico, .res-ico, .cm-ico { transition: transform 0.42s var(--ease), background-color 0.42s var(--ease); }
  .service-card:hover .service-ico { transform: scale(1.07) rotate(-3deg); background: var(--pink-deep); color: #fff; }
  .res-item:hover .res-ico { transform: scale(1.06); }
  .team-card .avatar { transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease-soft); }
  .team-card:hover .avatar { transform: scale(1.05); box-shadow: 0 10px 24px rgba(121, 79, 118, 0.34); }
}

/* ---------- Imagery ----------
   A slow, sub-perceptual zoom. 0.7s is long enough that the eye reads it as the
   image breathing rather than as a state change. */
.news-card .news-img img { transition: transform 0.7s var(--ease-soft); }
.news-card:hover .news-img img { transform: scale(1.06); }
.hero-figure img, .img-rounded img { transition: transform 0.8s var(--ease-soft); }
.hero-figure:hover img { transform: scale(1.035); }
.feature .feature-visual.has-img img { transition: transform 0.8s var(--ease-soft); }
.feature:hover .feature-visual.has-img img { transform: scale(1.04); }
.partner-logo { transition: transform 0.42s var(--ease), box-shadow 0.42s var(--ease-soft); }
.feature:hover .partner-logo { transform: translateY(-4px); }

/* Parallax: app.js writes --py from scroll position. The oversize height is what
   gives the image room to travel without exposing an edge. */
.photo-band img { height: 118%; top: -9%; will-change: transform; transform: translate3d(0, var(--py, 0px), 0); }

/* ---------- Fee table ----------
   Rows cascade behind their container's reveal. Pure CSS, keyed off the
   container's .in class, so the markup stays a plain table. */
.fee-table tbody tr td { transition: opacity 0.55s var(--ease-soft), transform 0.55s var(--ease); }
.js .reveal .fee-table tbody tr td { opacity: 0; transform: translate3d(0, 10px, 0); }
.reveal.in .fee-table tbody tr td { opacity: 1; transform: none; }
.reveal.in .fee-table tbody tr:nth-child(1) td { transition-delay: 0.1s; }
.reveal.in .fee-table tbody tr:nth-child(2) td { transition-delay: 0.16s; }
.reveal.in .fee-table tbody tr:nth-child(3) td { transition-delay: 0.22s; }
.reveal.in .fee-table tbody tr:nth-child(4) td { transition-delay: 0.28s; }
.reveal.in .fee-table tbody tr:nth-child(5) td { transition-delay: 0.34s; }
.reveal.in .fee-table tbody tr:nth-child(6) td { transition-delay: 0.4s; }
.reveal.in .fee-table tbody tr:nth-child(7) td { transition-delay: 0.46s; }
.reveal.in .fee-table tbody tr:nth-child(n + 8) td { transition-delay: 0.52s; }
.fee-table tbody tr { transition: background-color var(--dur) var(--ease); }
@media (hover: hover) {
  .fee-table tbody tr:hover { background: rgba(243, 217, 226, 0.34); }
}

/* ---------- Steps and check-lists ----------
   The counters and ticks tick in one at a time; on a page explaining a process,
   the sequence is doing some of the explaining. */
.steps li, .check-list li, .creds-list li {
  transition: opacity 0.5s var(--ease-soft), transform 0.5s var(--ease);
}
.js .reveal .steps li, .js .reveal .check-list li, .js .reveal .creds-list li {
  opacity: 0; transform: translate3d(-8px, 0, 0);
}
.reveal.in .steps li, .reveal.in .check-list li, .reveal.in .creds-list li { opacity: 1; transform: none; }
.reveal.in .steps li:nth-child(1), .reveal.in .check-list li:nth-child(1), .reveal.in .creds-list li:nth-child(1) { transition-delay: 0.12s; }
.reveal.in .steps li:nth-child(2), .reveal.in .check-list li:nth-child(2), .reveal.in .creds-list li:nth-child(2) { transition-delay: 0.19s; }
.reveal.in .steps li:nth-child(3), .reveal.in .check-list li:nth-child(3), .reveal.in .creds-list li:nth-child(3) { transition-delay: 0.26s; }
.reveal.in .steps li:nth-child(4), .reveal.in .check-list li:nth-child(4), .reveal.in .creds-list li:nth-child(4) { transition-delay: 0.33s; }
.reveal.in .steps li:nth-child(n + 5), .reveal.in .check-list li:nth-child(n + 5), .reveal.in .creds-list li:nth-child(n + 5) { transition-delay: 0.4s; }
.steps li .n { transition: transform 0.42s var(--ease), background-color 0.42s var(--ease), color 0.42s var(--ease); }
@media (hover: hover) {
  .steps li:hover .n { transform: scale(1.08); background: var(--pink-deep); color: #fff; }
}

/* ---------- Nav ---------- */
.nav-links a { transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); }
.nav-links > li > a:active { transform: scale(0.97); }
.nav-toggle { transition: background-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); }
.nav-toggle:active { transform: scale(0.94); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  transition: transform 0.32s var(--ease), opacity 0.2s var(--ease), background-color 0.2s var(--ease);
}

/* ---------- Forms ---------- */
.field input, .field select, .field textarea {
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { background: #fff; }
.form-status { animation: riseSm 0.42s var(--ease) both; }

/* ---------- Footer ---------- */
.footer-col a, .footer-bottom a { transition: color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); display: inline-block; }
@media (hover: hover) {
  .footer-col a:hover, .footer-bottom a:hover { transform: translateX(3px); }
}
.footer-socials a { transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
@media (hover: hover) {
  .footer-socials a:hover { transform: translateY(-3px) scale(1.06); }
}

/* Sticky offsets follow the condensed header rather than a hard-coded 74px. */
.anchor { scroll-margin-top: calc(var(--nav-h) + 24px); }
.aside-card { transition: box-shadow var(--dur) var(--ease); }

/* ============================================================
   Clinics carousel (home)
   ------------------------------------------------------------
   A two-slide location gallery. The track is a flex row moved by
   transform only; captions carry the place name + address. Swipe,
   arrows, dots and arrow-keys all drive the same go(i). Autoplay
   and the slide transition are disabled under reduced motion by the
   global block below and by app.js (staticMode).
   ============================================================ */
.carousel { position: relative; max-width: 960px; margin: 0 auto; }
.carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-3);
  background: var(--purple);
  cursor: grab;
  touch-action: pan-y;
}
.carousel-viewport.is-dragging { cursor: grabbing; }
.carousel-track {
  display: flex;
  will-change: transform;
  transition: transform var(--dur-slow) var(--ease);
}
.carousel-track.is-dragging { transition: none; }
.carousel-slide { position: relative; flex: 0 0 100%; aspect-ratio: 16 / 9; }
.carousel-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  -webkit-user-drag: none; user-select: none;
}
/* Scrim so white captions stay legible over any photo. */
.carousel-slide::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(58, 42, 56, 0.82), rgba(58, 42, 56, 0.12) 44%, transparent 64%);
}
.carousel-cap {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  padding: clamp(18px, 3vw, 30px) clamp(20px, 3.4vw, 36px);
  color: #fff;
}
.carousel-cap .cc-title {
  display: block; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
}
.carousel-cap .cc-sub {
  display: block; margin-top: 5px; font-weight: 300;
  font-size: 0.95rem; color: rgba(255, 255, 255, 0.86);
}

.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border: 0; border-radius: var(--radius-pill);
  display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--purple); font-size: 1.1rem;
  box-shadow: var(--shadow-2);
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.carousel-btn.prev { left: 16px; }
.carousel-btn.next { right: 16px; }
@media (hover: hover) {
  .carousel-btn:hover { background: #fff; transform: translateY(-50%) scale(1.08); box-shadow: var(--shadow-3); }
}
.carousel-btn:active { transform: translateY(-50%) scale(0.94); }
.carousel-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.carousel-dots { display: flex; gap: 12px; justify-content: center; margin-top: 20px; }
.carousel-dots button {
  width: 10px; height: 10px; padding: 0; border: 0; cursor: pointer;
  border-radius: var(--radius-pill); background: var(--line);
  /* transform + colour only: width is left untouched so the row never reflows. */
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
@media (hover: hover) {
  .carousel-dots button:hover { transform: scale(1.3); background: var(--purple-accent); }
}
.carousel-dots button[aria-current="true"] { background: var(--pink-deep); transform: scale(1.4); }
.carousel-dots button:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }

@media (max-width: 560px) {
  .carousel-btn { width: 38px; height: 38px; }
  .carousel-btn.prev { left: 10px; }
  .carousel-btn.next { right: 10px; }
}

/* ---------- Playday flyers (home + news-events) ---------- */
/* Text on the left, the two flyers side by side on the right, so the row is
   balanced and the flyers sit at a legible size rather than floating small. */
.playday-split { display: grid; grid-template-columns: 1fr 1.06fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.playday-split .section-head { max-width: none; margin-bottom: 0; }
.playday-points { margin-top: 24px; max-width: 420px; }
.playday-cta { margin-top: 28px; }
.playday-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 1.8vw, 22px); margin: 0; }
.playday-card { display: block; }
.playday-card .playday-img {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-2);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
@media (hover: hover) { a.playday-card:hover .playday-img { transform: translateY(-4px); box-shadow: var(--shadow-3); } }
.playday-card img { width: 100%; height: auto; display: block; }
.playday-cap { margin-top: 12px; text-align: center; color: var(--ink-soft); font-size: 0.9rem; line-height: 1.5; }
.playday-cap a { color: var(--pink-deep); font-weight: 500; }
.playday-cap a:hover { text-decoration: underline; }
@media (max-width: 860px) {
  .playday-split { grid-template-columns: 1fr; gap: 30px; }
  .playday-grid { max-width: 460px; margin: 0 auto; }
}

/* ---------- Playday photographs (news-events gallery + home strip) ---------- */
/* A four-column mosaic that alternates portrait tiles with a double-width
   landscape one, so the row rhythm changes without the layout needing a
   masonry library. `dense` matters at the narrow breakpoints: once a wide tile
   no longer fits beside the tile before it, dense back-fills the gap instead
   of leaving a hole in the grid.

   The frame carries the aspect ratio rather than the image, so the space is
   reserved before the file arrives and nothing shifts as photos decode. */
.pd-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: clamp(12px, 1.6vw, 20px);
}
/* Stretching the figure and letting the frame take the slack keeps every
   caption in a row on the same baseline, even though a double-width tile is
   a few pixels taller than the portrait beside it. */
.pd-shot { margin: 0; display: flex; flex-direction: column; }
.pd-frame { flex: 1 1 auto; }
.pd-frame {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  background: var(--pink-soft);
}
.pd-shot.wide { grid-column: span 2; }
.pd-shot.wide .pd-frame { aspect-ratio: 3 / 2; }
/* --focal is set per photo where the subject is off centre, so a crop at a
   narrow breakpoint never cuts the child or the activity out of frame. */
.pd-frame img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focal, 50% 50%); }
.pd-cap { margin-top: 10px; color: var(--ink-soft); font-size: 0.86rem; line-height: 1.5; }

/* Three of the same photographs under the flyers on the home page. Square
   tiles, so the strip reads as a taster rather than a second gallery. */
.pd-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 20px); margin-top: clamp(30px, 3.6vw, 48px); }
.pd-strip .pd-frame { aspect-ratio: 4 / 5; }

@media (max-width: 860px) {
  .pd-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .pd-strip { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 520px) {
  .pd-gallery { grid-template-columns: 1fr; }
  .pd-shot.wide { grid-column: span 1; }
}

/* ============================================================
   Reduced motion
   ------------------------------------------------------------
   Everything decorative is switched off outright: no reveals, no cascades, no
   parallax, no smooth scroll (app.js also declines to start Lenis). Content is
   forced visible, since several effects above hold their element at opacity 0
   until a class arrives.
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; will-change: auto; }
  .fee-table tbody tr td,
  .steps li, .check-list li, .creds-list li { opacity: 1; transform: none; }
  .photo-band img { transform: none; height: 100%; top: 0; }
  .scroll-progress { display: none; }
}
