/* ==========================================================================
   Evolve Therapies Group — design system
   Calm bone and ink, with the aqua of the lotus logo and the teal glow of the
   studio's LED-lit reformer room. An editorial serif (Instrument Serif) for
   display, a warm grotesk (Hanken Grotesk) for everything else. Text always
   sits on solid surfaces, never over photos.
   ========================================================================== */

@font-face {
  font-family: "Hanken Grotesk";
  src: url("/assets/fonts/hanken.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #f4f1ea;
  --paper: #fbfaf6;
  --sand: #ebe5d9;
  --tint: #e6ebe7;
  --ink: #102021;
  --ink-2: #2a3b3c;
  --ink-3: #18292a;
  --muted: #5a6866;
  --faint: #7f8a88;
  --line: #e0dbd0;
  --line-2: #cdc6b7;

  --aqua: #48c0c0;
  --aqua-mid: #80c8d0;
  --aqua-pale: #a8d8e0;
  --glow: #3fe0d2;
  --teal: #17777b;
  --teal-deep: #0e5659;
  --teal-soft: #dcefed;
  --clay: #b5835a;

  /* the lotus mark */
  --petal-1: var(--aqua-pale);
  --petal-2: var(--aqua-mid);
  --dot-1: var(--aqua);
  --dot-2: var(--aqua-mid);
  --dot-3: var(--aqua-pale);

  /* class tones */
  --t-aqua: #3db3b4;
  --t-teal: #17777b;
  --t-ink: #4c6c6d;
  --t-sand: #c0915f;
  --tone: var(--t-aqua);

  --radius: 22px;
  --radius-sm: 14px;
  --radius-lg: 34px;
  --shadow-sm: 0 1px 2px rgba(16, 32, 33, .05), 0 2px 8px rgba(16, 32, 33, .04);
  --shadow: 0 2px 6px rgba(16, 32, 33, .05), 0 16px 40px -14px rgba(16, 32, 33, .18);
  --shadow-lg: 0 4px 10px rgba(16, 32, 33, .05), 0 34px 80px -24px rgba(16, 32, 33, .34);

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --header-h: 80px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --font: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--aqua-pale); color: var(--ink); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.lotus { width: 1.6em; height: auto; flex: none; display: inline-block; }
.lotus-xl { width: 96px; }

/* --- Type ----------------------------------------------------------------- */
.display-hero, .display-xl, .display-lg, .display-md, .display-sm {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: .98;
  text-wrap: balance;
}
.display-hero { font-size: clamp(3.6rem, 8.6vw, 8.4rem); line-height: .9; letter-spacing: -0.025em; }
.display-xl { font-size: clamp(3rem, 6.4vw, 6.2rem); line-height: .94; }
.display-lg { font-size: clamp(2.5rem, 4.8vw, 4.6rem); }
.display-md { font-size: clamp(2.1rem, 3.7vw, 3.5rem); line-height: 1; }
.display-sm { font-size: clamp(1.6rem, 2.3vw, 2.1rem); line-height: 1.05; }
:is(.display-hero, .display-xl, .display-lg, .display-md, .display-sm) em { font-style: italic; color: var(--teal); }
.h3 { font-size: 1.3rem; font-weight: 650; line-height: 1.25; letter-spacing: -0.01em; }
.h4 { font-size: 1.06rem; font-weight: 650; line-height: 1.3; }
.lede { font-size: clamp(1.06rem, 1.3vw, 1.22rem); line-height: 1.62; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.fine { font-size: .84rem; color: var(--faint); line-height: 1.5; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .76rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal);
}
.eyebrow .lotus { width: 26px; }
.section-head .eyebrow, .story-copy .eyebrow, .space-copy .eyebrow, .upnext-copy .eyebrow, .therapy-body .eyebrow, .faq-wrap .eyebrow, .book-copy .eyebrow { margin-bottom: 18px; }
.prose p + p { margin-top: 1em; }
.prose p { color: var(--muted); }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--teal); }
.link .ic { transition: transform .3s var(--ease); }
.link:hover .ic { transform: translateX(4px); }
.u { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }

/* --- Buttons --------------------------------------------------------------- */
.btn {
  --b: var(--ink); --c: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--b); color: var(--c);
  font-weight: 600; font-size: .98rem; letter-spacing: -.005em; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, box-shadow .25s, color .25s;
}
.btn .ic { transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .ic:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn-ink { --b: var(--ink); --c: #fff; }
.btn-ink:hover { --b: var(--teal-deep); box-shadow: 0 12px 26px -12px rgba(14, 86, 89, .7); }
.btn-primary { --b: var(--teal); --c: #fff; }
.btn-primary:hover { --b: var(--teal-deep); box-shadow: 0 14px 30px -12px rgba(23, 119, 123, .75); }
.btn-line { --b: transparent; --c: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--ink); --b: var(--paper); }
.btn-glass { --b: rgba(255, 255, 255, .08); --c: #fff; border-color: rgba(255, 255, 255, .28); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-glass:hover { --b: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .6); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .9rem; }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-row.center { justify-content: center; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--paper);
  transition: border-color .2s, background .2s;
}
.icon-btn:hover { border-color: var(--ink); }

/* --- Header ------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s, color .3s;
}
.site-header.is-scrolled, .site-header.mega-open { border-bottom-color: var(--line); background: color-mix(in srgb, var(--bg) 95%, transparent); }
.header-in { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { position: relative; display: block; width: 176px; }
.brand img { width: 176px; height: auto; transition: opacity .3s; }
.brand .brand-white { position: absolute; inset: 0; opacity: 0; }
.nav { margin-inline: auto; }
.nav ul { display: flex; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 14px; border-radius: 999px; border: 0; background: none;
  font-size: .95rem; font-weight: 550; color: var(--ink-2);
  transition: background .2s, color .2s;
}
.nav-link .ic { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.nav-link:hover, .nav-link[aria-expanded="true"] { background: var(--paper); color: var(--ink); }
.nav-link[aria-expanded="true"] .ic { transform: rotate(180deg); }
.nav-link[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--aqua); border-radius: 0; }
.header-cta { display: flex; gap: 10px; }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--paper); place-items: center; }
.burger { display: grid; gap: 6px; width: 20px; }
.burger i { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease); }
.menu-btn[aria-expanded="true"] .burger i:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .burger i:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Home: the header floats over the dark hero until the page scrolls. */
.home .site-header { position: fixed; left: 0; right: 0; }
.home .site-header:not(.is-scrolled):not(.mega-open) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.home .site-header:not(.is-scrolled):not(.mega-open) .brand-ink { opacity: 0; }
.home .site-header:not(.is-scrolled):not(.mega-open) .brand-white { opacity: 1; }
.home .site-header:not(.is-scrolled):not(.mega-open) .nav-link { color: rgba(255, 255, 255, .86); }
.home .site-header:not(.is-scrolled):not(.mega-open) .nav-link:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.home .site-header:not(.is-scrolled):not(.mega-open) .btn-line { --c: #fff; border-color: rgba(255, 255, 255, .32); }
.home .site-header:not(.is-scrolled):not(.mega-open) .btn-line:hover { --b: rgba(255, 255, 255, .1); border-color: #fff; }
.home .site-header:not(.is-scrolled):not(.mega-open) .menu-btn { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); }
.home .site-header:not(.is-scrolled):not(.mega-open) .burger i { background: #fff; }

.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(16, 32, 33, .3);
  animation: drop .35s var(--ease);
}
.mega-in { padding-block: 26px 22px; }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mega-tile { display: grid; gap: 8px; padding: 10px; border-radius: var(--radius); transition: background .2s; }
.mega-tile:hover { background: var(--bg); }
.mega-img { display: block; aspect-ratio: 16 / 10; border-radius: var(--radius-sm); overflow: hidden; background: var(--tint); }
.mega-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mega-tile:hover .mega-img img { transform: scale(1.05); }
.mega-name { display: flex; align-items: center; gap: 6px; font-weight: 650; margin-top: 4px; }
.mega-name .ic { width: 16px; color: var(--teal); transition: transform .3s var(--ease); }
.mega-tile:hover .mega-name .ic { transform: translateX(3px); }
.mega-desc { font-size: .86rem; color: var(--muted); line-height: 1.45; }
.mega-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.mega-foot > span { display: inline-flex; align-items: center; gap: 12px; }
.mega-foot .lotus { width: 24px; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

.drawer {
  position: fixed; inset: var(--header-h) 0 0; z-index: 55;
  background: var(--bg); overflow-y: auto;
  animation: fade .3s var(--ease);
}
.drawer-in { padding: 18px var(--gutter) 40px; display: grid; gap: 26px; }
.drawer-nav { display: grid; }
.drawer-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 2rem; line-height: 1.1; letter-spacing: -.01em; }
.drawer-cta { display: grid; gap: 10px; }
.drawer-contact { display: grid; gap: 12px; color: var(--muted); }
.drawer-contact a { display: flex; gap: 10px; align-items: center; }
.home .drawer-open .site-header { background: var(--bg); }
@keyframes fade { from { opacity: 0; } }

/* --- Sections ------------------------------------------------------------------ */
.section { position: relative; padding-block: clamp(76px, 10vw, 144px); }
.section-tight { padding-block: clamp(48px, 7vw, 90px); }
.section-sand { background: var(--sand); }
.section-ink { background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.section-ink .lede, .section-ink .muted, .section-ink p { color: #b7c6c4; }
.section-ink :is(.display-lg, .display-md, .display-sm) em { color: var(--aqua); }
.eyebrow.on-dark { color: var(--aqua); }
.section-head { display: grid; gap: 0; margin-bottom: clamp(38px, 5vw, 68px); }
.section-head.split { grid-template-columns: 1.1fr .9fr; align-items: end; gap: 40px; }
.section-head.split .lede { padding-bottom: 6px; }
.section-head.center { text-align: center; justify-items: center; }
.section-head.center .lede { margin-inline: auto; }

/* The studio's teal LED glow, used behind dark sections. */
.glow {
  position: absolute; z-index: -1; pointer-events: none;
  width: 70vw; height: 70vw; max-width: 980px; max-height: 980px; right: -18vw; top: -24vw;
  background: radial-gradient(closest-side, rgba(63, 224, 210, .22), rgba(63, 224, 210, .06) 55%, transparent);
  filter: blur(10px);
}
.glow-2 { right: auto; left: -22vw; top: auto; bottom: -34vw; }

/* --- Hero (home) ---------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: #fff;
  padding-block: calc(var(--header-h) + clamp(28px, 5vw, 72px)) clamp(48px, 6vw, 84px);
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(63, 224, 210, .6), transparent); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.hero-copy { display: grid; gap: 28px; }
.hero .lede { color: #c2d0ce; }
.hero h1 em { color: var(--aqua); }
.pill {
  display: inline-flex; align-items: center; gap: 10px; justify-self: start;
  padding: 7px 16px 7px 8px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  font-size: .85rem; font-weight: 550; color: #d6e2e0;
}
.pill .dot { width: 22px; height: 22px; border-radius: 50%; background: rgba(72, 192, 192, .22); display: grid; place-items: center; }
.pill .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 12px var(--glow); }
.hero-trust { display: flex; align-items: center; gap: 14px; color: #a9b9b7; font-size: .92rem; line-height: 1.45; }
.faces { display: flex; }
.faces img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 14%; border: 3px solid var(--ink); margin-left: -12px; background: var(--ink-2); }
.faces img:first-child { margin-left: 0; }
.hero-trust b { color: #fff; font-weight: 600; }

.hero-media { position: relative; }
.hero-frame {
  position: relative; aspect-ratio: 4 / 4.6; border-radius: 220px 220px var(--radius-lg) var(--radius-lg); overflow: hidden;
  background: var(--ink-2); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06);
  isolation: isolate;
}
.hero-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(16, 32, 33, .35)); }
.float-card {
  position: absolute; z-index: 3; background: var(--paper); color: var(--ink); border-radius: 22px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.next-card { left: clamp(-60px, -4vw, -12px); bottom: 34px; width: min(340px, 82%); padding: 16px 16px 16px 18px; }
.next-card .nc-k { display: flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #22b38a; box-shadow: 0 0 0 0 rgba(34, 179, 138, .5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(34, 179, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 179, 138, 0); } }
.nc-row { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.nc-time { display: grid; place-items: center; min-width: 66px; height: 66px; border-radius: 18px; background: var(--tone, var(--teal)); color: #fff; line-height: 1; text-align: center; padding: 6px; }
.nc-time b { font-family: var(--serif); font-size: 1.45rem; font-weight: 400; }
.nc-time small { font-size: .64rem; font-weight: 650; text-transform: uppercase; letter-spacing: .1em; opacity: .9; margin-top: 4px; }
.nc-body { flex: 1; min-width: 0; }
.nc-name { font-weight: 650; font-size: 1.02rem; line-height: 1.2; }
.nc-sub { font-size: .84rem; color: var(--muted); }
.nc-go { width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; border: 0; flex: none; transition: background .2s, transform .25s var(--ease); }
.nc-go:hover { background: var(--teal-deep); transform: translateX(2px); }
.stat-card { right: clamp(-28px, -2vw, -10px); top: 34%; padding: 14px 18px; display: grid; gap: 4px; }
.stat-card b { font-family: var(--serif); font-weight: 400; font-size: 2.6rem; line-height: .9; color: var(--teal); }
.stat-card span { font-size: .78rem; color: var(--muted); font-weight: 550; line-height: 1.3; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 6vw, 84px); border-top: 1px solid rgba(255, 255, 255, .12); }
.stat { padding: 24px 22px 4px 0; display: grid; gap: 6px; }
.stat + .stat { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, .12); }
.stat b { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.2vw, 2.9rem); line-height: 1; color: #fff; }
.stat span { font-size: .9rem; color: #a9b9b7; }

/* --- Page hero (inner pages) ------------------------------------------------------ */
.page-hero { padding-block: clamp(36px, 5vw, 72px) clamp(44px, 6vw, 84px); }
.page-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 72px); align-items: end; }
.page-hero-copy { display: grid; gap: 24px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--faint); }
.crumbs a:hover { color: var(--ink); }
.page-hero-media { border-radius: 200px 200px var(--radius-lg) var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 4.4; box-shadow: var(--shadow); background: var(--tint); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-h1 { font-size: clamp(2.9rem, 5.6vw, 5.6rem); }

/* --- Cards ------------------------------------------------------------------------ */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 34px); }

/* Paths (home) */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.path {
  display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.path:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.path-img { display: block; aspect-ratio: 4 / 3.2; overflow: hidden; background: var(--tint); margin: 10px 10px 0; border-radius: calc(var(--radius-lg) - 10px) calc(var(--radius-lg) - 10px) 14px 14px; }
.path-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.path:hover .path-img img { transform: scale(1.05); }
.path-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 26px 26px; flex: 1; }
.path-k { font-size: .74rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.path-name { font-family: var(--serif); font-size: 2rem; line-height: 1.05; }
.path-desc { color: var(--muted); font-size: .97rem; }
.path-go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; font-weight: 600; }
.path-go .ic { transition: transform .3s var(--ease); color: var(--teal); }
.path:hover .path-go .ic { transform: translateX(4px); }

/* Up next (home) */
.upnext-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.upnext-copy { display: grid; gap: 0; }
.upnext-copy .lede { margin: 22px 0 28px; }
.upnext { display: grid; gap: 10px; }

/* Space (home) */
.space { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.space-media { position: relative; border-radius: var(--radius-lg); overflow: visible; }
.space-media > img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.quote-chip { position: absolute; right: clamp(-12px, -2vw, -30px); bottom: -32px; max-width: 300px; padding: 20px 22px; background: var(--ink); color: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); }
.quote-chip blockquote { font-family: var(--serif); font-size: 1.35rem; line-height: 1.15; }
.quote-chip figcaption { margin-top: 10px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--aqua); }
.space-copy p { color: var(--muted); margin-top: 22px; }
.ticks { display: grid; gap: 0; margin-top: 26px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); font-weight: 520; color: var(--ink-2); }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks .ic { color: var(--teal); width: 20px; height: 20px; margin-top: 3px; }

/* Story */
.story { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.story.long { align-items: start; }
.story-media { position: relative; }
.story-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; border-radius: 200px 200px var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow); }
.story-media.sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.story-copy { display: grid; gap: 0; }
.story-copy .lede { margin: 22px 0 16px; }
.story-copy > p:not(.lede):not(.eyebrow) { color: var(--muted); }
.story-copy .btn-row { margin-top: 26px; }
.story-copy.prose > p + p { margin-top: 1em; }
.caption { margin-top: 12px; font-size: .84rem; color: var(--faint); text-align: center; }
.pull { margin: 28px 0 !important; padding: 6px 0 6px 24px; border-left: 3px solid var(--aqua); font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.15; color: var(--ink); }
.sign { font-family: var(--serif); font-style: italic; font-size: 2rem; color: var(--teal) !important; margin-top: 18px !important; }

/* Session rows (shared by home + timetable) */
.session {
  display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 18px;
  padding: 14px 14px 14px 0; background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  position: relative; overflow: hidden;
  transition: border-color .25s, box-shadow .3s var(--ease), transform .3s var(--ease);
}
.session::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--tone); }
.session:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-2px); }
.s-time { padding-left: 22px; display: grid; line-height: 1.1; }
.s-time b { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; letter-spacing: -.01em; }
.s-time span { font-size: .78rem; color: var(--faint); margin-top: 3px; }
.s-main { min-width: 0; display: grid; gap: 4px; }
.s-name { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 1.04rem; line-height: 1.2; }
.s-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .84rem; color: var(--muted); align-items: center; }
.s-meta .ic { width: 15px; height: 15px; }
.s-meta > span { display: inline-flex; align-items: center; gap: 5px; }
.s-act { display: flex; align-items: center; gap: 10px; }
.spots { font-size: .78rem; font-weight: 650; padding: 5px 10px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-deep); white-space: nowrap; }
.spots.low { background: #fbeee2; color: #a2531a; }
.spots.full { background: #f8e4e2; color: #a3261c; }
.spots.past { background: transparent; color: var(--faint); }
.session.is-past { opacity: .55; }
.session.is-past:hover, .session.is-full:hover { transform: none; box-shadow: none; border-color: var(--line); }
.book-btn { min-height: 42px; padding: 0 18px; font-size: .9rem; }

.tone-aqua { --tone: var(--t-aqua); }
.tone-teal { --tone: var(--t-teal); }
.tone-ink  { --tone: var(--t-ink); }
.tone-sand { --tone: var(--t-sand); }
.tone-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--tone); flex: none; }

.meter { display: inline-flex; align-items: center; gap: 8px; }
.meter-bars { display: inline-flex; gap: 3px; align-items: flex-end; }
.meter-bars i { width: 5px; border-radius: 2px; background: var(--line-2); }
.meter-bars i:nth-child(1) { height: 7px; }
.meter-bars i:nth-child(2) { height: 11px; }
.meter-bars i:nth-child(3) { height: 15px; }
.meter-bars i.on { background: var(--tone, var(--ink)); }
.meter-l { font-size: .82rem; color: var(--muted); }

/* Class cards (dark section) */
.class-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.class-card { display: grid; grid-template-rows: auto 1fr; background: var(--paper); color: var(--ink); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.section-ink .class-card { background: var(--ink-3); color: #fff; border: 1px solid rgba(255, 255, 255, .08); }
.class-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cc-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tint); position: relative; }
.cc-img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--tone); }
.cc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.class-card:hover .cc-img img { transform: scale(1.05); }
.cc-body { display: grid; gap: 6px; padding: 18px 20px 20px; align-content: start; }
.cc-top { display: flex; align-items: center; gap: 10px; font-size: .82rem; color: var(--muted); font-weight: 550; }
.section-ink .cc-top, .section-ink .cc-tag { color: #9fb2b0 !important; }
.cc-top .meter { margin-left: auto; }
.cc-top .meter-l { display: none; }
.section-ink .meter-bars i { background: rgba(255, 255, 255, .18); }
.section-ink .meter-bars i.on { background: var(--aqua); }
.cc-name { font-family: var(--serif); font-size: 1.7rem; line-height: 1.05; }
.cc-tag { font-size: .9rem; color: var(--muted); }
.cc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .84rem; font-weight: 600; color: var(--aqua); }

/* Reviews */
.reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1100px; margin-inline: auto; }
.review { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 40px); display: grid; gap: 18px; align-content: start; }
.review .stars { display: flex; gap: 2px; }
.review .stars .ic { width: 18px; height: 18px; fill: var(--clay); stroke: var(--clay); }
.review blockquote { font-family: var(--serif); font-size: clamp(1.3rem, 1.8vw, 1.6rem); line-height: 1.3; color: var(--ink); }
.review figcaption { display: flex; align-items: baseline; gap: 10px; font-size: .92rem; }
.review figcaption b { font-weight: 650; }
.review figcaption span { color: var(--faint); font-size: .84rem; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-wrap .lede { margin-top: 20px; }
.faq { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 22px 0; font-weight: 600; font-size: 1.06rem; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq-ic { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line-2); transition: background .25s, border-color .25s; }
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .3s var(--ease), background .25s; }
.faq-ic::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .faq-ic { background: var(--ink); border-color: var(--ink); }
.faq details[open] .faq-ic::before, .faq details[open] .faq-ic::after { background: #fff; }
.faq details[open] .faq-ic::after { transform: translate(-50%, -50%) rotate(0); }
.faq details p { padding: 0 48px 24px 0; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-block: 1px solid var(--line-2); }
.step { padding: 28px 24px 28px 0; display: grid; gap: 8px; align-content: start; }
.step + .step { padding-left: 24px; border-left: 1px solid var(--line-2); }
.step-n { font-family: var(--serif); font-size: 3rem; line-height: .9; color: var(--teal); }
.step p { color: var(--muted); font-size: .95rem; }

/* Class rows (pilates page) */
.class-list { display: grid; gap: 22px; }
.class-row { display: grid; grid-template-columns: .9fr 1.1fr; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; scroll-margin-top: calc(var(--header-h) + 20px); }
.cr-media { position: relative; min-height: 340px; background: var(--tint); }
.cr-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cr-media::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 5px; background: var(--tone); }
.cr-body { padding: clamp(24px, 3.4vw, 46px); display: grid; gap: 14px; align-content: center; justify-items: start; }
.cr-body > p { color: var(--muted); }
.cr-tag { color: var(--teal) !important; font-weight: 600; margin-top: -6px; }
.chips-static { display: flex; flex-wrap: wrap; gap: 6px; }
.chips-static span { font-size: .8rem; font-weight: 550; padding: 6px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--ink-2); }
.chips-static.small span { font-size: .74rem; padding: 4px 10px; }
.cr-times { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cr-times-h { font-size: .74rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-right: 6px; }
.when { font-size: .8rem; font-weight: 600; padding: 5px 10px; border-radius: 10px; background: color-mix(in srgb, var(--tone) 12%, var(--paper)); color: var(--ink-2); }

/* Tiles (dark and light) */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { padding: clamp(24px, 2.8vw, 36px); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 12px; align-content: start; }
.tile-k { font-size: .74rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--aqua); }
.tiles.light .tile { background: var(--paper); border-color: var(--line); }
.tiles.light .tile-k { color: var(--teal); }
.tiles.light .tile p { color: var(--muted); }
.ink-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 26px; padding: 26px 30px; border-radius: var(--radius-lg); background: rgba(63, 224, 210, .08); border: 1px solid rgba(63, 224, 210, .22); }
.ink-cta p { color: #e3eceb !important; font-size: 1.05rem; max-width: 520px; }

/* Two-column + rules */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.two-col .lede { margin: 22px 0 6px; }
.rules dl { display: grid; margin-top: 18px; }
.rules dl div { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid var(--line); }
.rules dt { display: flex; align-items: center; gap: 10px; font-weight: 650; }
.rules dt .ic { color: var(--teal); }
.rules dd { color: var(--muted); font-size: .95rem; padding-left: 30px; }

/* Therapies */
.therapy-list { display: grid; gap: clamp(56px, 8vw, 110px); }
.therapy { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; scroll-margin-top: calc(var(--header-h) + 20px); }
.therapy.flip .therapy-media { order: 2; }
.therapy-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.therapy-body { display: grid; gap: 0; }
.therapy-body p:not(.eyebrow) { color: var(--muted); margin: 20px 0 22px; }

.book-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: start; scroll-margin-top: calc(var(--header-h) + 20px); }
.book-copy { display: grid; gap: 0; }
.book-copy .lede { margin: 22px 0 26px; }
.book-copy .fine { margin-top: 16px; }
.practitioners { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.prac { display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.prac img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 14%; }
.prac b { display: block; font-weight: 650; line-height: 1.2; }
.prac small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.3; max-width: 220px; }
.form-card { display: grid; gap: 10px; }
.form-card > .muted { margin-bottom: 8px; }

/* Team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.person { display: grid; grid-template-rows: auto 1fr; background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; }
.person-img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--tint); margin: 8px 8px 0; border-radius: calc(var(--radius-lg) - 8px) calc(var(--radius-lg) - 8px) 14px 14px; }
.person-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; transition: transform .8s var(--ease); }
.person:hover .person-img img { transform: scale(1.04); }
.person-body { padding: 18px 20px 22px; display: grid; gap: 8px; align-content: start; }
.person-role { font-size: .86rem; color: var(--teal); font-weight: 600; margin-top: -2px; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.value p { color: var(--muted); font-size: .95rem; }
.feature { display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.feature p { color: var(--muted); font-size: .96rem; }
.feature-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; margin-bottom: 6px; }
.feature-ic .ic { width: 24px; height: 24px; }

/* --- Timetable app --------------------------------------------------------------------- */
.tt { display: grid; gap: 22px; }
.tt-bar { display: flex; gap: 14px; align-items: center; justify-content: space-between; }
.tt-bar .chips { flex: 1 1 auto; min-width: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.tt-bar .chips::-webkit-scrollbar { display: none; }
.tt-bar .chip { flex: none; }
.tt-bar .seg { flex: none; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.seg button, .seg a { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--muted); transition: background .2s, color .2s; }
.seg button[aria-pressed="true"], .seg a[aria-current="page"] { background: var(--ink); color: #fff; }
.seg .ic { width: 16px; }
.days {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(78px, 1fr); gap: 8px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 10px; margin-inline: -2px;
  scrollbar-width: none;
}
.days::-webkit-scrollbar { display: none; }
.day {
  scroll-snap-align: start; display: grid; justify-items: center; gap: 2px;
  padding: 12px 6px 10px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--paper);
  transition: border-color .2s, background .2s, color .2s, transform .25s var(--ease);
}
.day:hover { border-color: var(--line-2); transform: translateY(-2px); }
.day .d-w { font-size: .7rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.day .d-n { font-family: var(--serif); font-size: 1.9rem; line-height: 1.05; }
.day .d-c { font-size: .72rem; color: var(--muted); }
.day .d-dots { display: flex; gap: 3px; height: 6px; margin-top: 3px; }
.day .d-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--tone); }
.day[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.day[aria-pressed="true"] .d-w, .day[aria-pressed="true"] .d-c { color: #b2c3c1; }
.day.is-closed { opacity: .5; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--paper); font-size: .88rem; font-weight: 580; color: var(--ink-2);
  transition: border-color .2s, background .2s, color .2s;
}
.chip:hover { border-color: var(--line-2); }
.chip[aria-pressed="true"] { border-color: var(--tone, var(--ink)); background: color-mix(in srgb, var(--tone, var(--ink)) 10%, var(--paper)); color: var(--ink); }
.chip.all[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.tt-day-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 6px; }
.tt-list { display: grid; gap: 10px; }
.tt-group { display: grid; gap: 10px; }
.tt-group-h { font-size: .72rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-top: 10px; display: flex; align-items: center; gap: 12px; }
.tt-group-h::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.tt-empty { text-align: center; padding: 56px 20px; background: var(--paper); border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); display: grid; gap: 10px; justify-items: center; }
.tt-empty-dots { display: grid; gap: 4px; justify-items: center; }
.tt-empty-dots i { border-radius: 50%; background: var(--aqua); }
.tt-empty-dots i:nth-child(1) { width: 14px; height: 14px; }
.tt-empty-dots i:nth-child(2) { width: 11px; height: 11px; background: var(--aqua-mid); }
.tt-empty-dots i:nth-child(3) { width: 8px; height: 8px; background: var(--aqua-pale); }

.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.week-col { display: grid; gap: 8px; align-content: start; }
.week-h { padding: 12px 12px 10px; border-radius: 16px; background: var(--ink); color: #fff; display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.week-h b { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; line-height: 1; }
.week-h span { font-size: .74rem; color: #b2c3c1; }
.wk {
  text-align: left; border: 1px solid var(--line); background: var(--paper); border-radius: 14px; padding: 10px 11px 11px;
  display: grid; gap: 3px; position: relative; overflow: hidden; width: 100%;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .2s;
}
.wk::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--tone); }
.wk:not([disabled]):hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: transparent; }
.wk b { font-size: .8rem; font-weight: 650; color: var(--muted); }
.wk span { font-weight: 620; font-size: .88rem; line-height: 1.2; }
.wk small { font-size: .72rem; color: var(--faint); }
.wk[disabled] { opacity: .5; cursor: default; }

.tt-hero { padding-bottom: clamp(28px, 4vw, 48px); }
.tt-hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 64px); align-items: end; }
.tt-hero-side { display: grid; gap: 18px; padding-bottom: 8px; }
.tt-hero-facts { display: flex; flex-wrap: wrap; gap: 8px; }
.tt-hero-facts span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: .86rem; font-weight: 550; color: var(--ink-2); }
.tt-hero-facts .ic { color: var(--teal); width: 17px; }
.tt-section { padding-bottom: clamp(48px, 6vw, 80px); }
.tt-section .tt { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(16px, 2.6vw, 34px); box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.tt-section .tt::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--aqua-pale), var(--aqua), var(--teal)); }
.tt-section .day:not([aria-pressed="true"]), .tt-section .chip:not([aria-pressed="true"]), .tt-section .session, .tt-section .wk { background: var(--bg); }
.tt-section .session:hover, .tt-section .wk:not([disabled]):hover { background: var(--paper); }
.tt-section .seg { background: var(--bg); }
.tt-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.notice { padding: 16px 20px; border-radius: 16px; background: var(--teal-soft); border: 1px solid #b9dcd9; font-size: .95rem; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 650; background: var(--teal-soft); color: var(--teal-deep); }

.glance { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.glance-col { display: grid; gap: 6px; align-content: start; }
.glance-h { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; padding-bottom: 8px; margin-bottom: 4px; border-bottom: 1.5px solid var(--ink); }
.glance-row { display: grid; gap: 2px; padding: 9px 10px; border-radius: 10px; font-size: .86rem; border-left: 3px solid var(--tone); background: var(--paper); transition: background .2s; }
.glance-row:hover { background: color-mix(in srgb, var(--tone) 12%, var(--paper)); }
.glance-row b { font-weight: 650; font-size: .8rem; color: var(--muted); }
.glance-row span { font-weight: 580; line-height: 1.25; }

/* --- Booking sheet ---------------------------------------------------------------------- */
.sheet {
  width: min(560px, 100vw); max-width: 100vw; max-height: min(92vh, 860px); margin: auto; padding: 0;
  border: 0; border-radius: 28px; background: var(--paper); color: var(--ink);
  box-shadow: var(--shadow-lg); overflow: auto;
}
.sheet::backdrop { background: rgba(16, 32, 33, .5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.sheet[open] { animation: sheetIn .45s var(--ease); }
.sheet[open]::backdrop { animation: fade .3s; }
@keyframes sheetIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.sheet-close-row { position: sticky; top: 0; display: flex; justify-content: flex-end; padding: 14px 14px 0; z-index: 2; }
.sheet-body, .sheet-done { padding: 0 clamp(20px, 4vw, 36px) clamp(24px, 4vw, 36px); }
.sheet-head { padding: 0 0 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.sheet-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .76rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sheet-kicker::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--tone); }
.sheet-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 5vw, 2.6rem); line-height: 1; letter-spacing: -.01em; }
.sheet-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.sheet-meta span { font-size: .86rem; font-weight: 550; padding: 6px 12px; border-radius: 999px; background: var(--bg); }
.sheet-meta span:empty { display: none; }
.sheet-done { text-align: center; display: grid; gap: 16px; justify-items: center; padding-top: 8px; }
.done-ring { width: 84px; height: 84px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; animation: pop .6s var(--ease); box-shadow: 0 0 0 10px var(--teal-soft); }
.done-ring .ic { width: 40px; height: 40px; stroke-width: 2.4; }
.done-when { font-size: 1.08rem; color: var(--ink-2); font-weight: 550; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.08); } }

/* --- Forms ---------------------------------------------------------------------------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label, .field-label { font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.field .opt { color: var(--faint); font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px;
  border: 1.5px solid var(--line-2); background: var(--paper);
  transition: border-color .2s, box-shadow .2s; font-size: 1rem;
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.field.has-error input, .field.has-error textarea { border-color: #c2382d; box-shadow: 0 0 0 4px #f8e4e2; }
.check { display: flex; gap: 12px; align-items: center; font-size: .94rem; font-weight: 520; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--teal); }
.form-error { padding: 12px 16px; border-radius: 12px; background: #f8e4e2; color: #8e2219; font-weight: 600; font-size: .92rem; }
.form-ok { display: grid; gap: 14px; justify-items: start; padding: 8px 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line-2); font-weight: 580; font-size: .9rem; background: var(--paper); transition: all .2s; }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: start; }
.info-list { display: grid; gap: 0; }
.info-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-list li:first-child { padding-top: 0; }
.info-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.info-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; }
.info-list b { display: block; font-weight: 650; }
.info-list div > a { display: block; color: var(--muted); }
.info-list a:hover { color: var(--ink); }
.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--tint); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.6) contrast(1.02); }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; white-space: nowrap; }
.hours dd { margin: 0; }

/* Final CTA + footer */
.final-cta { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(76px, 9vw, 130px); background: var(--ink); color: #fff; }
.final-cta .lede { color: #b7c6c4; }
.final-cta .display-lg em { color: var(--aqua); }
.final-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 6vw, 96px); align-items: center; }
.final-copy { display: grid; gap: 24px; }
.final-media { border-radius: 200px 200px var(--radius-lg) var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .7); }
.final-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }

.site-footer { background: #0b1718; color: #a9b9b7; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-block: 68px 48px; }
.footer-brand { display: grid; gap: 20px; align-content: start; max-width: 360px; }
.footer-brand img { width: 200px; }
.footer-brand p { font-size: .95rem; line-height: 1.6; }
.footer-h { font-size: .74rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-footer a:hover { color: var(--aqua); }
.site-footer p + p { margin-top: 12px; }
.site-footer .small { margin-top: 10px; color: #7f918f; }
.footer-links { display: grid; gap: 8px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid #26393a; display: grid; place-items: center; color: #fff; transition: border-color .2s, background .2s, color .2s; }
.socials a:hover { background: var(--aqua); color: var(--ink); border-color: var(--aqua); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px 28px; border-top: 1px solid #1c2e2f; font-size: .86rem; color: #7f918f; }
.site-footer .hours div { border-bottom: 1px solid #1c2e2f; }

.action-bar { display: none; }

/* Reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* --- Admin ---------------------------------------------------------------------------------- */
.admin { padding-block: 40px 80px; }
.admin-bar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.admin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 26px; }
.kpi { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.kpi b { display: block; font-family: var(--serif); font-weight: 400; font-size: 2.4rem; line-height: 1; }
.kpi span { font-size: .85rem; color: var(--muted); }
.roster { display: grid; gap: 14px; }
.roster-class { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.roster-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-left: 5px solid var(--tone); background: var(--bg); }
.roster-head b { font-weight: 650; }
.roster table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.roster th, .roster td { text-align: left; padding: 10px 18px; border-top: 1px solid var(--line); vertical-align: top; }
.roster th { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); font-weight: 650; }
.roster td.empty { color: var(--faint); }
.mini-btn { border: 1px solid var(--line-2); background: var(--paper); border-radius: 999px; padding: 5px 12px; font-size: .8rem; font-weight: 600; }
.mini-btn:hover { border-color: var(--ink); }
.mini-btn.on { background: var(--teal-soft); border-color: #9fd2cd; color: var(--teal-deep); }
.table-wrap { overflow-x: auto; }

/* Booking page + legal */
.booking-card { display: grid; gap: 6px; padding: clamp(26px, 4vw, 44px); border-top: 6px solid var(--tone); }
.booking-facts { display: grid; gap: 0; margin-top: 18px; }
.booking-facts div { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.booking-facts dt { color: var(--faint); font-size: .8rem; font-weight: 650; text-transform: uppercase; letter-spacing: .12em; padding-top: 3px; }
.booking-facts dd { margin: 0; font-weight: 550; }
.legal h2 { margin: 34px 0 10px; }
.legal p { color: var(--ink-2); }

/* --- Responsive ----------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .nav-link { padding: 10px 10px; }
  .header-cta .btn-line { display: none; }
  .mega-grid { grid-template-columns: repeat(2, 1fr); }
  .week { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1020px) {
  :root { --header-h: 70px; }
  .nav, .header-cta { display: none; }
  .menu-btn { display: grid; margin-left: auto; }
  .brand, .brand img { width: 156px; }
  .hero-grid, .page-hero-grid, .upnext-grid, .space, .story, .faq-wrap, .two-col, .therapy, .book-grid, .contact-grid, .final-in, .section-head.split, .tt-hero-in { grid-template-columns: 1fr; }
  .therapy.flip .therapy-media { order: 0; }
  .hero-media { margin-inline: 8px; max-width: 560px; }
  .story-media { max-width: 440px; }
  .story-media.sticky { position: static; }
  .paths { grid-template-columns: 1fr; }
  .path { display: grid; grid-template-columns: .9fr 1.1fr; }
  .path-img { margin: 10px 0 10px 10px; aspect-ratio: auto; border-radius: calc(var(--radius-lg) - 10px); }
  .class-cards { grid-template-columns: repeat(2, 1fr); }
  .class-row { grid-template-columns: 1fr; }
  .cr-media { min-height: 0; aspect-ratio: 16 / 9; }
  .cr-media::after { top: auto; left: 0; width: auto; height: 5px; }
  .tiles { grid-template-columns: 1fr; }
  .tt-info { grid-template-columns: 1fr; }
  .glance { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 28px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-grid { grid-template-columns: repeat(2, 1fr); }
  .final-media { max-width: 520px; aspect-ratio: 16 / 12; border-radius: var(--radius-lg); }
  .quote-chip { right: 12px; }
  .action-bar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 50;
    padding: 8px; border-radius: 999px; background: color-mix(in srgb, var(--paper) 88%, transparent);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: var(--shadow-lg); border: 1px solid var(--line);
    transform: translateY(140%); transition: transform .45s var(--ease);
  }
  .action-bar.show { transform: none; }
  .action-bar .btn { min-height: 48px; padding: 0 14px; }
  .site-footer { padding-bottom: 88px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 16px; }
  .field-2 { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr 1fr; gap: 12px; }
  .person-body { padding: 14px; }
  .person-body .chips-static, .person-body .muted { display: none; }
  .values, .reviews { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .mega-grid { grid-template-columns: 1fr 1fr; }
  .path { grid-template-columns: 1fr; }
  .path-img { margin: 10px 10px 0; aspect-ratio: 16 / 10; }
  .class-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cc-body { padding: 14px; }
  .cc-name { font-size: 1.3rem; }
  .cc-tag { display: none; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding-left: 0; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line-2); }
  .session { grid-template-columns: 84px 1fr; gap: 6px 10px; padding: 14px 14px 14px 0; }
  .s-time { padding-left: 18px; }
  .s-act { grid-column: 2; justify-content: space-between; margin-top: 6px; }
  .week { grid-template-columns: 1fr 1fr; }
  .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tt-bar { flex-direction: column; align-items: stretch; }
  .tt-bar .chips { margin-inline: -16px; padding-inline: 16px; }
  .tt-bar .seg { align-self: flex-start; }
  .next-card { left: -6px; bottom: 18px; width: calc(100% - 28px); }
  .stat-card { right: -6px; top: 20px; }
  .hero-frame { aspect-ratio: 4 / 4.6; border-radius: 160px 160px var(--radius-lg) var(--radius-lg); }
  .page-hero-media { border-radius: 140px 140px var(--radius-lg) var(--radius-lg); }
  .quote-chip { position: relative; right: auto; bottom: auto; margin: -40px 16px 0; }
  .faq details p { padding-right: 0; }
  .ink-cta { padding: 22px; }
  .prac small { max-width: 160px; }
  .sheet { width: 100vw; max-width: 100vw; max-height: 94vh; margin: auto 0 0; border-radius: 26px 26px 0 0; }
  .sheet[open] { animation: sheetUp .45s var(--ease); }
}
@keyframes sheetUp { from { transform: translateY(40%); opacity: .4; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
