/* ==========================================================================
   Concentric Playroom — design system
   tokens → base → layout → components → pages → motion
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy: #1A2660;
  --navy-2: #24317a;
  --royal: #3060A8;
  --peri: #6090C0;
  --sky: #3CC0F0;
  --leaf: #48B46C;
  --tang: #F05424;
  --pink: #E43078;
  --pink-deep: #C81E63;
  --cream: #FEF7DD;
  --cream-2: #FFFBEE;
  --sand: #E8D6C1;
  --ink: #121A3F;
  --slate: #4A5478;
  --white: #FFFFFF;
  --wa: #25D366;

  --font-display: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --font-accent: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-h1: clamp(2.6rem, 6vw, 5.2rem);
  --fs-h2: clamp(2rem, 4vw, 3.4rem);
  --fs-h3: clamp(1.3rem, 2vw, 1.6rem);
  --fs-body: 1.0625rem;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --r-pill: 999px;

  --shadow-1: 0 1px 2px rgb(26 38 96 / .06), 0 4px 8px rgb(26 38 96 / .06), 0 12px 24px rgb(26 38 96 / .08);
  --shadow-2: 0 1px 2px rgb(26 38 96 / .06), 0 4px 8px rgb(26 38 96 / .06), 0 12px 24px rgb(26 38 96 / .08), 0 32px 64px rgb(26 38 96 / .14);
  --shadow-pink: 0 6px 14px rgb(200 30 99 / .28), 0 18px 36px rgb(200 30 99 / .18);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --t-micro: 180ms;
  --t-hover: 320ms;
  --t-enter: 700ms;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --topbar-h: 40px;
  --nav-h: 88px;
  --nav-h-small: 64px;

  --z-float: 1;
  --z-content: 2;
  --z-header: 50;
  --z-mbar: 60;
  --z-overlay: 80;
  --z-modal: 100;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  padding-top: calc(var(--topbar-h) + var(--nav-h));
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--royal); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--pink-deep); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); line-height: 1.08; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.02em; }
h1 { font-size: var(--fs-h1); font-weight: 700; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
em.accent, .accent { font-family: var(--font-accent); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--pink-deep); }
.section--navy em.accent, .section--navy .accent, .cta-band .accent, .page-hero .accent { color: #FF8CBE; }
:focus-visible { outline: 3px solid var(--pink-deep); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 18px; border-radius: var(--r-pill); transition: top var(--t-micro); }
.skip-link:focus { top: 12px; color: #fff; }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(72px, 10vw, 140px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--sand { background: var(--sand); }
.section--white { background: var(--cream-2); }
.section--navy { background: var(--navy); color: #E6E9F7; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy a:not(.btn) { color: #9FD9F5; }
.grain::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--royal); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: radial-gradient(circle, var(--sky) 0 22%, transparent 23% 38%, var(--peri) 39% 52%, transparent 53% 68%, var(--royal) 69%); }
.section--navy .eyebrow { color: #9FD9F5; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--slate); line-height: 1.65; }
.section--navy .lead { color: #C9CFEA; }
.measure { max-width: 68ch; }
.grid-2 { display: grid; gap: clamp(32px, 5vw, 72px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-2--wide-left { grid-template-columns: 1.15fr .85fr; } }

/* Arc + scallop dividers */
.divider { position: absolute; left: 0; right: 0; height: clamp(40px, 6vw, 90px); pointer-events: none; z-index: var(--z-content); }
.divider--top { top: -1px; }
.divider--bottom { bottom: -1px; transform: rotate(180deg); }
.divider svg { width: 100%; height: 100%; }

/* ---------- Buttons ---------- */
.btn { --bg: var(--pink-deep); --fg: #fff; position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px; border-radius: var(--r-pill); border: 0; background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 1rem; text-decoration: none; line-height: 1.1; cursor: pointer;
  box-shadow: var(--shadow-pink); transition: transform var(--t-hover) var(--ease-spring), box-shadow var(--t-hover) var(--ease-out), background var(--t-hover); }
.btn::before { content: ""; position: absolute; z-index: -1; left: var(--mx, 50%); top: var(--my, 50%); width: 0; height: 0; border-radius: 50%;
  background: radial-gradient(circle, rgb(255 255 255 / .28) 0 30%, rgb(255 255 255 / .12) 31% 60%, transparent 61%);
  transform: translate(-50%, -50%); transition: width 520ms var(--ease-out), height 520ms var(--ease-out); }
.btn:hover::before { width: 320px; height: 320px; }
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 8px 18px rgb(200 30 99 / .32), 0 24px 48px rgb(200 30 99 / .22); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .icon { transition: transform var(--t-hover) var(--ease-spring); }
.btn:hover .icon--arrow { transform: translateX(4px); }
.btn--navy { --bg: var(--navy); box-shadow: var(--shadow-1); }
.btn--navy:hover { box-shadow: var(--shadow-2); }
.btn--ghost { --bg: transparent; --fg: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn--ghost:hover { --fg: #fff; background: var(--navy); box-shadow: inset 0 0 0 2px var(--navy), var(--shadow-1); }
.btn--ghost::before { background: radial-gradient(circle, rgb(26 38 96 / .12) 0 60%, transparent 61%); }
.btn--light { --bg: #fff; --fg: var(--navy); box-shadow: var(--shadow-1); }
.btn--light:hover { --fg: var(--navy); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--navy); }
.link-arrow .icon { transition: transform var(--t-hover) var(--ease-spring); }
.link-arrow:hover .icon { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: var(--z-header); transition: transform 420ms var(--ease-out); }
.topbar { height: var(--topbar-h); background: var(--navy); color: #DCE1F5; font-size: .84rem; }
.topbar .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; min-height: 40px; }
.topbar a:hover { color: #9FD9F5; }
.topbar__group { display: flex; align-items: center; gap: 22px; white-space: nowrap; }
.topbar__hours { display: inline-flex; align-items: center; gap: 7px; }
.topbar .icon { width: 15px; height: 15px; }
.socials { display: flex; gap: 6px; }
.socials a { display: inline-flex; align-items: center; justify-content: center; }
.socials a { width: 32px; height: 32px; min-height: 0; justify-content: center; border-radius: 50%; background: rgb(255 255 255 / .1); transition: background var(--t-micro), transform var(--t-micro) var(--ease-spring); }
.socials a:hover { background: var(--pink-deep); color: #fff; transform: translateY(-2px); }
.navbar { height: var(--nav-h); background: rgb(254 247 221 / .92); transition: height 420ms var(--ease-out), background var(--t-hover), box-shadow var(--t-hover); }
.navbar .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: block; flex: none; line-height: 0; }
.logo img { height: 72px; width: auto; transition: height 420ms var(--ease-out), transform var(--t-hover) var(--ease-spring); }
.logo:hover img { transform: rotate(-3deg) scale(1.03); }
.site-header.is-scrolled { transform: translateY(calc(var(--topbar-h) * -1)); }
.site-header.is-scrolled .navbar { height: var(--nav-h-small); background: rgb(254 247 221 / .72); box-shadow: var(--shadow-1);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); }
.site-header.is-scrolled .logo img { height: 48px; }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: var(--r-pill); min-height: 44px;
  font-weight: 600; font-size: .98rem; color: var(--navy); text-decoration: none; background: none; border: 0; position: relative; }
.nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--pink-deep);
  transform: scaleX(0); transform-origin: left; transition: transform var(--t-hover) var(--ease-out); }
.nav__link:hover, .nav__link[aria-current="page"], .nav__item.is-active > .nav__link { color: var(--pink-deep); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__item.is-active > .nav__link::after { transform: scaleX(1); }
.nav__link .icon { width: 16px; height: 16px; transition: transform var(--t-hover) var(--ease-out); }
.nav__item:hover > .nav__link .icon, .nav__item.is-open > .nav__link .icon { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 10px); left: 50%; min-width: 240px; padding: 10px; list-style: none; margin: 0;
  background: rgb(255 255 255 / .9); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgb(255 255 255 / .7); border-radius: var(--r-md); box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity var(--t-hover) var(--ease-out), transform var(--t-hover) var(--ease-out), visibility var(--t-hover); }
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__item:hover > .dropdown, .nav__item.is-open > .dropdown, .nav__item:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: var(--r-sm); color: var(--navy); text-decoration: none; font-weight: 600; font-size: .95rem; }
.dropdown a:hover { background: var(--cream); color: var(--pink-deep); }
.dropdown--mega { display: grid; grid-template-columns: repeat(2, minmax(220px, 1fr)); gap: 6px; min-width: 520px; padding: 14px; }
.mega-card { flex-direction: column; align-items: flex-start !important; gap: 2px !important; border-left: 4px solid var(--c, var(--royal)); padding-left: 16px !important; }
.mega-card small { color: var(--slate); font-weight: 500; font-size: .82rem; }
.nav__cta { margin-left: 10px; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; box-shadow: var(--shadow-1); }
.menu-toggle .icon { width: 22px; height: 22px; }
@media (min-width: 1100px) { .nav { display: block; } .menu-toggle { display: none; } }
@media (max-width: 1099px) { .nav-cta-desktop { display: none; } }

/* Mobile topbar */
@media (max-width: 900px) {
  .topbar .topbar__email, .topbar .topbar__phone--2, .topbar .socials { display: none; }
  .hero .floater, .cta-band .floater, .page-hero .floater { display: none; }
  .hero .floater:nth-child(4), .hero .floater:nth-child(7) { display: block; }
  .topbar__group { gap: 14px; }
}
@media (max-width: 768px) {
  :root { --nav-h: 72px; }
  .logo img { height: 56px; }
  .topbar__hours span { display: none; }
}
@media (max-width: 420px) { .topbar__hours { display: none; } .topbar .container { justify-content: center; } }

/* Mobile nav overlay */
.mnav { position: fixed; inset: 0; z-index: var(--z-overlay); background: var(--navy); color: #fff; overflow-y: auto; padding: 96px var(--gutter) 120px;
  clip-path: circle(0 at calc(100% - 44px) 60px); visibility: hidden; transition: clip-path 640ms var(--ease-out), visibility 640ms; }
.mnav.is-open { clip-path: circle(150% at calc(100% - 44px) 60px); visibility: visible; }
.mnav__rings { position: absolute; right: -30vw; top: -30vw; width: 90vw; height: 90vw; border-radius: 50%; pointer-events: none; opacity: .5;
  background: radial-gradient(circle, transparent 0 34%, rgb(96 144 192 / .25) 35% 46%, transparent 47% 58%, rgb(48 96 168 / .3) 59% 72%, transparent 73%); }
.mnav__close { position: absolute; top: 20px; right: var(--gutter); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .12); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.mnav ul { list-style: none; margin: 0; padding: 0; position: relative; }
.mnav > ul > li { border-bottom: 1px solid rgb(255 255 255 / .12); opacity: 0; transform: translateY(16px); transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out); }
.mnav.is-open > ul > li { opacity: 1; transform: none; }
.mnav > ul > li a, .mnav summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: #fff; text-decoration: none; cursor: pointer; list-style: none; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav details[open] summary .icon { transform: rotate(180deg); }
.mnav details ul { padding: 0 0 14px 14px; }
.mnav details ul a { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; min-height: 44px; color: #C9CFEA; }
.mnav .btn { margin-top: 28px; width: 100%; }
.mnav__contact { margin-top: 28px; display: grid; gap: 8px; font-size: .95rem; color: #C9CFEA; }
.mnav__contact a { color: #fff; }

/* ---------- Floating paper shapes ---------- */
.floaters { position: absolute; inset: 0; pointer-events: none; z-index: var(--z-float); overflow: hidden; }
.floater { position: absolute; will-change: transform; }
.floater > * { animation: float var(--dur, 9s) ease-in-out var(--delay, 0s) infinite alternate; }
.block { width: var(--s, 56px); height: var(--s, 56px); border-radius: 14px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff;
  font-size: calc(var(--s, 56px) * .52); background: var(--c, var(--pink)); transform: rotate(var(--rot, -8deg));
  box-shadow: inset 0 -6px 0 rgb(0 0 0 / .12), inset 0 3px 0 rgb(255 255 255 / .25), 0 10px 20px rgb(26 38 96 / .18); }
.star-shape { width: var(--s, 40px); height: var(--s, 40px); color: var(--c, #FFC93C); filter: drop-shadow(0 6px 10px rgb(26 38 96 / .18)); }
.cloud-shape { width: var(--s, 110px); color: #fff; filter: drop-shadow(0 10px 18px rgb(26 38 96 / .12)); }
.dot-shape { width: var(--s, 18px); height: var(--s, 18px); border-radius: 50%; background: var(--c, var(--sky)); box-shadow: 0 6px 12px rgb(26 38 96 / .15); }
@keyframes float { from { translate: 0 -10px; rotate: -3deg; } to { translate: 0 12px; rotate: 4deg; } }

/* ---------- Home hero ---------- */
.hero { position: relative; padding-block: clamp(40px, 6vw, 80px) clamp(90px, 10vw, 150px); overflow: hidden;
  background: radial-gradient(1200px 600px at 85% 20%, #fff6c8 0, transparent 60%), radial-gradient(900px 500px at 0% 100%, #f8e3cf 0, transparent 60%), var(--cream); }
.hero__grid { position: relative; z-index: var(--z-content); display: grid; gap: clamp(40px, 6vw, 64px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: 1.02fr .98fr; } }
.hero h1 { margin-bottom: 20px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); transition: transform 900ms var(--ease-out); }
.is-loaded .hero h1 .line > span { transform: none; }
.hero h1 .line:nth-child(2) > span { transition-delay: 90ms; }
.hero h1 .line:nth-child(3) > span { transition-delay: 180ms; }
.hero .lead { max-width: 56ch; margin-bottom: 30px; }
.facts { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 8px; border-radius: var(--r-md); }
.facts > div { padding: 12px 14px; }
.facts strong { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--navy); line-height: 1.15; }
.facts span { font-size: .82rem; color: var(--slate); font-weight: 600; }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } .facts > div + div { border-top: 1px solid rgb(26 38 96 / .08); } }
@media (min-width: 521px) { .facts > div + div { border-left: 1px solid rgb(26 38 96 / .1); } }

.glass { background: rgb(255 255 255 / .62); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgb(255 255 255 / .75); box-shadow: inset 0 1px 0 rgb(255 255 255 / .8), var(--shadow-1); }
.glass--dark { background: rgb(26 38 96 / .5); border-color: rgb(255 255 255 / .14); box-shadow: inset 0 1px 0 rgb(255 255 255 / .1), 0 20px 40px rgb(0 0 0 / .2); color: #fff; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .glass { background: rgb(255 255 255 / .94); } .glass--dark { background: var(--navy-2); } }

/* Porthole: concentric rings echoing the logo */
.porthole { position: relative; width: min(100%, 580px); aspect-ratio: 1; margin-inline: auto; perspective: 1200px; }
.porthole__stage { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 600ms var(--ease-out); }
.ring { position: absolute; border-radius: 50%; left: 50%; top: 50%; translate: -50% -50%; will-change: transform; }
.ring--1 { width: 100%; height: 100%; background: var(--navy); box-shadow: 0 30px 60px rgb(26 38 96 / .28), 0 60px 120px rgb(26 38 96 / .18); }
.ring--2 { width: 86%; height: 86%; background: var(--royal); box-shadow: 0 12px 30px rgb(10 18 60 / .35); }
.ring--3 { width: 73%; height: 73%; background: var(--peri); box-shadow: 0 12px 30px rgb(10 18 60 / .3); }
.ring--4 { width: 61%; height: 61%; background: #8FB2DA; box-shadow: 0 10px 26px rgb(10 18 60 / .3); }
.ring--photo { width: 58%; height: 58%; overflow: hidden; border: 6px solid #fff; box-shadow: 0 16px 40px rgb(10 18 60 / .4); }
.ring--photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.ring__text { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 40s linear infinite; }
.ring__text text { font-family: var(--font-body); font-size: 14px; font-weight: 700; fill: #fff; text-transform: uppercase; }
@keyframes spin { to { rotate: 360deg; } }
.porthole__badge { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: var(--r-pill); font-weight: 700; color: var(--navy); font-size: .92rem; line-height: 1.25; }
.porthole__badge .bubble { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--c, var(--royal)); color: #fff; flex: none; }
.porthole__badge small { display: block; font-weight: 500; color: var(--slate); font-size: .78rem; }
.porthole__badge--a { left: -4%; bottom: 14%; }
.porthole__badge--b { right: -2%; top: 10%; }
@media (max-width: 520px) { .porthole__badge { font-size: .8rem; padding: 8px 12px 8px 8px; } .porthole__badge .bubble { width: 34px; height: 34px; } .porthole__badge--a { left: 0; } .porthole__badge--b { right: 0; } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 110px) clamp(80px, 10vw, 140px); background: var(--navy); color: #DCE1F5; }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero .lead { color: #C9CFEA; max-width: 60ch; }
.page-hero .eyebrow { display: flex; }
.page-hero .age-pill { display: flex; width: fit-content; }
.page-hero__rings { position: absolute; right: -12vw; top: 50%; width: min(70vw, 760px); aspect-ratio: 1; translate: 0 -50%; pointer-events: none; }
.page-hero__rings span { position: absolute; inset: var(--i); border-radius: 50%; background: var(--c); box-shadow: 0 20px 50px rgb(0 0 0 / .25); will-change: transform; }
.page-hero__img { position: absolute; border-radius: 50%; overflow: hidden; inset: 26%; border: 6px solid rgb(255 255 255 / .9); box-shadow: 0 20px 40px rgb(0 0 0 / .3); }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .container { position: relative; z-index: var(--z-content); }
@media (max-width: 900px) { .page-hero__rings { opacity: .35; right: -40vw; width: 110vw; } .page-hero__img { display: none; } }
.breadcrumb { margin-bottom: 22px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; font-size: .88rem; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; color: #C9CFEA; }
.breadcrumb li + li::before { content: "/"; opacity: .5; }
.breadcrumb a { color: #9FD9F5; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; color: #fff; }
.age-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: var(--r-pill); background: var(--c, var(--sky)); color: #fff; font-weight: 700; font-size: .9rem; margin-bottom: 18px; box-shadow: 0 8px 18px rgb(0 0 0 / .2); }
.age-pill--dark { color: var(--navy); }

/* ---------- Trust strip ---------- */
.trust { position: relative; z-index: 3; margin-top: clamp(-80px, -6vw, -56px); }
.trust__inner { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 900px) { .trust__inner { grid-template-columns: repeat(4, 1fr); } }
.trust__item { padding: clamp(20px, 3vw, 32px); text-align: center; }
.trust__item + .trust__item { border-left: 1px solid rgb(26 38 96 / .08); }
@media (max-width: 899px) { .trust__item:nth-child(3) { border-left: 0; } .trust__item:nth-child(n+3) { border-top: 1px solid rgb(26 38 96 / .08); } }
.trust__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 3.6vw, 2.8rem); color: var(--navy); line-height: 1; display: block; }
.trust__num small { font-size: .5em; }
.trust__label { display: block; margin-top: 8px; font-size: .88rem; color: var(--slate); font-weight: 600; }

/* ---------- Welcome collage ---------- */
.collage { position: relative; aspect-ratio: 1 / .95; max-width: 600px; margin-inline: auto; width: 100%; }
.collage figure { position: absolute; margin: 0; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow-2); border: 6px solid #fff; will-change: transform; }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage__a { left: 0; top: 4%; width: 64%; height: 62%; border-radius: 46% 54% 40% 60% / 50% 42% 58% 50% !important; }
.collage__b { right: 0; top: 0; width: 44%; height: 44%; }
.collage__c { right: 6%; bottom: 0; width: 58%; height: 46%; }
.collage__note { position: absolute; left: 4%; bottom: 6%; z-index: 2; max-width: 230px; padding: 16px 18px; border-radius: var(--r-md); font-size: .92rem; font-weight: 600; color: var(--navy); line-height: 1.4; }

/* ---------- Age orbit cards ---------- */
.ages { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ages { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ages { grid-template-columns: repeat(4, 1fr); } }
.age-card { --c: var(--sky); position: relative; display: flex; flex-direction: column; padding: 28px 24px 26px; border-radius: var(--r-lg); background: #fff;
  color: var(--ink); text-decoration: none; box-shadow: var(--shadow-1); transform-style: preserve-3d; perspective: 900px; cursor: pointer;
  transition: transform 500ms var(--ease-out), box-shadow var(--t-hover) var(--ease-out); isolation: isolate; overflow: hidden; }
.age-card::before { content: ""; position: absolute; z-index: -1; width: 260px; height: 260px; right: -70px; top: -70px; border-radius: 50%;
  background: radial-gradient(circle, var(--c) 0 34%, transparent 35% 46%, color-mix(in srgb, var(--c) 45%, #fff) 47% 60%, transparent 61% 72%, color-mix(in srgb, var(--c) 22%, #fff) 73%);
  transition: transform 700ms var(--ease-out); }
.age-card:hover { box-shadow: var(--shadow-2); color: var(--ink); }
.age-card:hover::before { transform: scale(1.18) rotate(20deg); }
.age-card__art { height: 190px; display: grid; place-items: end center; transform: translateZ(40px); margin-bottom: 18px; }
.age-card__art img { height: 100%; width: auto; filter: drop-shadow(0 14px 16px rgb(26 38 96 / .22)); transition: transform 600ms var(--ease-spring); }
.age-card:hover .age-card__art img { transform: translateY(-8px) rotate(-3deg); }
.age-card h3 { margin-bottom: 4px; transform: translateZ(24px); }
.age-card .range { display: inline-block; font-weight: 700; font-size: .85rem; color: var(--navy); background: color-mix(in srgb, var(--c) 24%, #fff); padding: 4px 12px; border-radius: var(--r-pill); margin-bottom: 12px; align-self: flex-start; }
.age-card .range--dark { color: var(--navy); }
.age-card p { color: var(--slate); font-size: .96rem; margin-bottom: 18px; }
.age-card .link-arrow { margin-top: auto; }

/* ---------- Horizontal room strip ---------- */
.strip { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px var(--gutter) 28px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: thin; scrollbar-color: var(--peri) transparent; }
.strip figure { flex: 0 0 min(78vw, 440px); margin: 0; scroll-snap-align: center; border-radius: var(--r-lg); overflow: hidden; position: relative; aspect-ratio: 4 / 3; box-shadow: var(--shadow-1); }
.strip figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.strip figure:hover img { transform: scale(1.06); }
.strip figcaption { position: absolute; left: 14px; bottom: 14px; padding: 8px 14px; border-radius: var(--r-pill); font-weight: 700; font-size: .88rem; color: var(--navy); }

/* ---------- Bento (curriculum) ---------- */
.bento { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(210px, auto); }
  .bento .tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .bento .tile:nth-child(6) { grid-column: 1 / -1; } }
.tile { --c: var(--royal); position: relative; padding: 28px; border-radius: var(--r-lg); background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .12);
  overflow: hidden; transition: transform var(--t-hover) var(--ease-out), background var(--t-hover), border-color var(--t-hover); isolation: isolate; }
.tile::after { content: ""; position: absolute; z-index: -1; width: 220px; height: 220px; right: -60px; bottom: -80px; border-radius: 50%; background: var(--c); opacity: .22; transition: transform 700ms var(--ease-out), opacity var(--t-hover); }
.tile:hover { transform: translateY(-4px); background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .22); }
.tile:hover::after { transform: scale(1.4); opacity: .32; }
.tile__icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--c); color: var(--ink); margin-bottom: 18px; box-shadow: 0 10px 20px rgb(0 0 0 / .2); transition: transform var(--t-hover) var(--ease-spring); }
.tile:hover .tile__icon { transform: translateY(-4px) rotate(-6deg) scale(1.05); }
.tile__icon .icon { width: 26px; height: 26px; }
.tile h3 { color: #fff; }
.tile p { color: #C9CFEA; font-size: .97rem; margin: 0; }
.tile:nth-child(1) p { font-size: 1.05rem; }

/* ---------- Centre cards ---------- */
.centres { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .centres { grid-template-columns: 1fr 1fr; } }
.centre-card { --c: var(--sky); position: relative; border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-1); display: flex; flex-direction: column; transition: box-shadow var(--t-hover), transform var(--t-hover) var(--ease-out); }
.centre-card:hover { box-shadow: var(--shadow-2); transform: translateY(-4px); }
.centre-card__map { position: relative; aspect-ratio: 16 / 8; background: #DDE6F3; overflow: hidden; }
.centre-card__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-facade { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; display: grid; place-items: center; cursor: pointer;
  background:
    radial-gradient(circle at 50% 55%, rgb(255 255 255 / .9) 0 6%, transparent 6.5%),
    repeating-linear-gradient(0deg, transparent 0 38px, rgb(255 255 255 / .55) 38px 41px),
    repeating-linear-gradient(90deg, transparent 0 52px, rgb(255 255 255 / .55) 52px 55px),
    linear-gradient(135deg, #CFE0F2, #E3EEDB); }
.map-facade__pin { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; color: var(--navy); font-weight: 700; font-size: .92rem; }
.map-facade__pin .pin { width: 54px; height: 54px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--c); display: grid; place-items: center; box-shadow: var(--shadow-2); animation: bob 2.4s var(--ease-out) infinite alternate; }
.map-facade__pin .pin span { rotate: 45deg; width: 18px; height: 18px; border-radius: 50%; background: #fff; }
.map-facade__pin em { font-style: normal; padding: 6px 14px; border-radius: var(--r-pill); background: rgb(255 255 255 / .9); box-shadow: var(--shadow-1); }
@keyframes bob { to { translate: 0 -8px; } }
.centre-card__body { padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; gap: 16px; flex: 1; }
.centre-card__tag { align-self: flex-start; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--navy); padding: 6px 12px; border-radius: var(--r-pill); }
.centre-card h3 { margin: 0; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--slate); }
.info-list .icon { color: var(--royal); margin-top: 4px; }
.info-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.info-list a:hover { color: var(--pink-deep); text-decoration: underline; }
address { font-style: normal; }

/* ---------- Reviews ---------- */
.reviews__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.gbadge { display: inline-flex; align-items: center; gap: 14px; padding: 14px 20px; border-radius: var(--r-md); text-decoration: none; color: var(--navy); }
.gbadge__g { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-1); }
.gbadge__g svg { width: 22px; height: 22px; }
.gbadge strong { display: block; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.2; }
.gbadge span { font-size: .85rem; color: var(--slate); font-weight: 600; }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.tab { min-height: 44px; padding: 10px 18px; border-radius: var(--r-pill); border: 2px solid rgb(26 38 96 / .14); background: #fff; color: var(--navy); font-weight: 700; font-size: .92rem;
  display: inline-flex; align-items: center; gap: 8px; transition: background var(--t-micro), color var(--t-micro), border-color var(--t-micro), transform var(--t-micro) var(--ease-spring); }
.tab::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--navy)); }
.tab:hover { border-color: var(--c, var(--navy)); transform: translateY(-1px); }
.tab[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.tab[aria-selected="true"]::before { background: var(--c, #fff); box-shadow: 0 0 0 2px #fff; }
.review-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(88vw, 400px); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 28px; scrollbar-width: thin; scrollbar-color: var(--peri) transparent; cursor: grab; }
.review-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.review-card { --c: var(--royal); scroll-snap-align: start; position: relative; padding: 28px; border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 14px; user-select: none; }
.review-card__head { display: flex; align-items: center; gap: 12px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--c); color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; display: grid; place-items: center; flex: none; box-shadow: 0 0 0 4px #fff, 0 0 0 6px color-mix(in srgb, var(--c) 35%, transparent); }
.review-card__name { font-weight: 700; color: var(--navy); line-height: 1.2; }
.review-card__meta { font-size: .8rem; color: var(--slate); font-weight: 600; }
.stars { display: flex; gap: 2px; color: #F5A623; }
.stars .icon { width: 18px; height: 18px; }
.stars .is-empty { opacity: .25; }
.review-card__text { color: var(--ink); font-size: .98rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.review-card.is-expanded .review-card__text { -webkit-line-clamp: unset; display: block; }
.review-card__more { align-self: flex-start; background: none; border: 0; padding: 0; color: var(--royal); font-weight: 700; font-size: .9rem; min-height: 32px; text-decoration: underline; text-underline-offset: 3px; }
.review-card__src { position: absolute; right: 22px; top: 24px; display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; color: var(--slate); letter-spacing: .04em; }
.review-card__src svg { width: 16px; height: 16px; }
.quote-mark { position: absolute; right: 18px; bottom: -10px; font-family: var(--font-accent); font-size: 7rem; line-height: 1; color: var(--c); opacity: .14; pointer-events: none; }
.reviews__empty { padding: 28px; border-radius: var(--r-lg); text-align: center; }
.reviews__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

/* ---------- Steps timeline ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; grid-template-columns: 1fr; counter-reset: step; position: relative; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); }
  .steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 36px; height: 3px; border-radius: 3px;
    background: linear-gradient(90deg, var(--sky), var(--leaf), var(--tang), var(--pink)); transform: scaleX(var(--progress, 0)); transform-origin: left; transition: transform 1600ms var(--ease-out); }
  .steps.is-visible::before { --progress: 1; } }
.step { position: relative; counter-increment: step; text-align: left; }
.step__dot { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: #fff;
  background: var(--navy); margin-bottom: 18px; position: relative; box-shadow: 0 0 0 8px var(--cream), 0 0 0 10px color-mix(in srgb, var(--c) 30%, transparent), var(--shadow-1); }
.section--sand .step__dot { box-shadow: 0 0 0 8px var(--sand), 0 0 0 10px color-mix(in srgb, var(--c) 30%, transparent), var(--shadow-1); }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--slate); font-size: .96rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; max-width: 880px; margin-inline: auto; }
.faq details { border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-1); overflow: hidden; transition: box-shadow var(--t-hover); }
.faq details[open] { box-shadow: var(--shadow-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; min-height: 64px; font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 34px; height: 34px; border-radius: 50%; flex: none; background: var(--cream); position: relative; transition: background var(--t-micro), transform var(--t-hover) var(--ease-spring); }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--navy); translate: -50% -50%; border-radius: 2px; transition: transform var(--t-hover) var(--ease-out); }
.faq summary .plus::after { transform: rotate(90deg); }
.faq details[open] .plus { background: var(--pink-deep); transform: rotate(180deg); }
.faq details[open] .plus::before, .faq details[open] .plus::after { background: #fff; }
.faq details[open] .plus::after { transform: rotate(0deg); }
.faq summary:hover { color: var(--pink-deep); }
.faq .faq__a { padding: 0 24px 22px; color: var(--slate); }
.faq .faq__a p:last-child { margin: 0; }

/* ---------- Inquiry form ---------- */
.inquiry { position: relative; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); }
.form { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } .form .full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field legend { font-weight: 700; font-size: .9rem; color: var(--navy); }
.field label .req { color: var(--pink-deep); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 13px 16px; border-radius: var(--r-sm); border: 2px solid rgb(26 38 96 / .14); background: rgb(255 255 255 / .9);
  font-size: 1rem; color: var(--ink); transition: border-color var(--t-micro), box-shadow var(--t-hover) var(--ease-out), transform var(--t-hover) var(--ease-out); }
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231A2660' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 4px rgb(48 96 168 / .16), 0 10px 22px rgb(26 38 96 / .1); transform: translateY(-1px); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B3261E; }
.field__error { font-size: .85rem; color: #B3261E; font-weight: 600; min-height: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--slate); }
.check input { width: 22px; height: 22px; min-height: 0; margin-top: 2px; accent-color: var(--pink-deep); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { font-weight: 600; }
.form__success { display: none; text-align: center; padding: 30px 10px; }
.form__success.is-visible { display: block; animation: pop 600ms var(--ease-spring); }
.form__success .burst { width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--leaf);
  box-shadow: 0 0 0 10px rgb(72 180 108 / .2), 0 0 0 22px rgb(72 180 108 / .1); }
.form__success .burst .icon { width: 44px; height: 44px; stroke-width: 3; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
@keyframes pop { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--navy); color: #DCE1F5; border-radius: clamp(28px, 4vw, 48px); padding: clamp(44px, 7vw, 96px) clamp(24px, 6vw, 80px); isolation: isolate; }
.cta-band h2 { color: #fff; max-width: 16ch; }
.cta-band p { max-width: 52ch; color: #C9CFEA; }
.cta-band__rings { position: absolute; z-index: -1; right: -160px; top: 50%; width: 620px; height: 620px; translate: 0 -50%; border-radius: 50%;
  background: radial-gradient(circle, var(--sky) 0 18%, transparent 18.5% 30%, var(--peri) 30.5% 44%, transparent 44.5% 58%, var(--royal) 58.5% 72%, transparent 72.5%);
  opacity: .55; animation: breathe 9s ease-in-out infinite alternate; }
@keyframes breathe { from { scale: 1; } to { scale: 1.08; } }
@media (max-width: 700px) { .cta-band__rings { right: -320px; opacity: .3; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: #121B4A; color: #C9CFEA; padding-top: clamp(64px, 8vw, 110px); overflow: hidden; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #9FD9F5; text-decoration: underline; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.3fr .8fr 1fr 1fr; } }
.footer-brand img { height: 92px; width: auto; margin-bottom: 18px; background: var(--cream); border-radius: 24px; padding: 10px 14px; }
.footer-brand p { font-size: .95rem; max-width: 34ch; }
.site-footer h3 { color: #fff; font-size: 1.15rem; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.footer-links a { display: inline-flex; min-height: 36px; align-items: center; color: #C9CFEA; }
.site-footer address { display: grid; gap: 6px; font-size: .95rem; margin-bottom: 22px; }
.site-footer address strong { color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.land { margin-top: 56px; padding: 26px 28px; border-radius: var(--r-md); background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .08); font-size: .92rem; display: flex; gap: 18px; align-items: flex-start; }
.land .icon { width: 26px; height: 26px; color: #9FD9F5; margin-top: 2px; }
.land p { margin: 0; }
.footer-bottom { margin-top: 36px; padding-block: 24px; border-top: 1px solid rgb(255 255 255 / .1); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .88rem; }
.footer-bottom a { font-weight: 700; }
.site-footer .socials a { width: 40px; height: 40px; }

/* ---------- Mobile action bar ---------- */
.mbar { display: none; }
@media (max-width: 768px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; z-index: var(--z-mbar); left: 0; right: 0; bottom: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgb(254 247 221 / .85); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    box-shadow: 0 -10px 30px rgb(26 38 96 / .12); transform: translateY(110%); transition: transform 500ms var(--ease-out); }
  .is-loaded .mbar { transform: none; }
  .mbar a { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border-radius: var(--r-pill); font-weight: 700; text-decoration: none; color: #fff; box-shadow: var(--shadow-1); }
  .mbar a:active { transform: scale(.97); }
  .mbar__call { background: var(--navy); }
  .mbar__wa { background: #0E7A41; }
}

/* ---------- Demo popup ---------- */
.demo { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; padding: 16px; }
.demo[hidden] { display: none; }
.demo__backdrop { position: absolute; inset: 0; background: rgb(18 26 63 / .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: fade 400ms var(--ease-out); }
.demo__card { position: relative; width: min(100%, 540px); max-height: calc(100dvh - 32px); overflow-y: auto; padding: clamp(28px, 5vw, 44px); border-radius: var(--r-lg); text-align: center;
  background: rgb(255 255 255 / .86); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); border: 1px solid rgb(255 255 255 / .8);
  box-shadow: inset 0 1px 0 #fff, 0 40px 80px rgb(0 0 0 / .35); animation: modalIn 650ms var(--ease-spring); isolation: isolate; overflow-x: hidden; }
.demo__rings { position: absolute; z-index: -1; left: 50%; top: -120px; width: 360px; height: 360px; translate: -50% 0; border-radius: 50%;
  background: radial-gradient(circle, var(--sky) 0 16%, transparent 16.5% 28%, var(--peri) 28.5% 40%, transparent 40.5% 54%, var(--royal) 54.5% 66%, transparent 66.5%); opacity: .22; animation: spin 30s linear infinite; }
.demo__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgb(26 38 96 / .08); color: var(--navy); display: grid; place-items: center; transition: background var(--t-micro), transform var(--t-hover) var(--ease-spring); }
.demo__close:hover { background: rgb(26 38 96 / .16); transform: rotate(90deg); }
.demo__logo { height: 84px; width: auto; margin: 0 auto 14px; }
.demo__eyebrow { display: inline-block; padding: 6px 14px; border-radius: var(--r-pill); background: var(--pink-deep); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.demo h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: 12px; }
.demo p { color: var(--slate); }
.demo__strong { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--navy) !important; }
.demo__features { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.demo__features li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--cream); font-size: .82rem; font-weight: 700; color: var(--navy); }
.demo__features .icon { width: 15px; height: 15px; color: var(--leaf); stroke-width: 3; }
.demo .btn-row { justify-content: center; }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } }

/* ---------- Content blocks ---------- */
.prose { max-width: 72ch; }
.prose p { color: var(--slate); }
.prose strong { color: var(--ink); }
.pull-quote { position: relative; margin: 0; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); font-family: var(--font-accent); font-style: italic; font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.4; color: var(--navy); }
.pull-quote::before { content: "\201C"; position: absolute; left: 18px; top: -30px; font-size: 7rem; color: var(--pink); opacity: .4; line-height: 1; }
.pull-quote cite { display: block; margin-top: 16px; font-family: var(--font-body); font-style: normal; font-size: .9rem; font-weight: 700; color: var(--slate); }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-1); font-weight: 600; color: var(--navy); }
.feature-list .bubble { width: 36px; height: 36px; border-radius: 50%; background: var(--c, var(--leaf)); color: var(--ink); display: grid; place-items: center; flex: none; }
.feature-list .bubble .icon { width: 18px; height: 18px; stroke-width: 3; }
.media-blob { position: relative; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; overflow: hidden; box-shadow: var(--shadow-2); border: 8px solid #fff; aspect-ratio: 1 / .9; }
.media-blob img { width: 100%; height: 100%; object-fit: cover; }
.media-wrap { position: relative; }
.media-wrap .floaters { overflow: visible; }

.cards-3 { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.value-card { --c: var(--royal); padding: 30px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-1); transition: transform var(--t-hover) var(--ease-out), box-shadow var(--t-hover); }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.value-card .tile__icon { box-shadow: 0 10px 20px color-mix(in srgb, var(--c) 35%, transparent); }
.value-card p { color: var(--slate); margin: 0; }

/* Program cards (hub) */
.program-row { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; grid-template-columns: 1fr; padding-block: clamp(28px, 4vw, 48px); }
.program-row + .program-row { border-top: 1px dashed rgb(26 38 96 / .18); }
@media (min-width: 900px) { .program-row { grid-template-columns: 340px 1fr; } .program-row:nth-child(even) { grid-template-columns: 1fr 340px; } .program-row:nth-child(even) .program-row__art { order: 2; } }
.program-row__art { --c: var(--sky); position: relative; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 30%, #fff) 0 46%, color-mix(in srgb, var(--c) 18%, #fff) 46.5% 62%, color-mix(in srgb, var(--c) 9%, #fff) 62.5%); max-width: 340px; width: 100%; margin-inline: auto; }
.program-row__art { overflow: hidden; }
.program-row__art img { position: absolute; inset: 11% 0; margin: auto; height: 78%; width: auto; filter: drop-shadow(0 18px 18px rgb(26 38 96 / .2)); }

/* Comparison table */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-1); background: #fff; }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid rgb(26 38 96 / .08); }
.compare thead th { background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }
.compare tbody th { color: var(--navy); font-weight: 700; }
.compare tbody th span { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--c); margin-right: 10px; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }

/* Team */
.team { display: grid; gap: 22px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .team { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .team { grid-template-columns: repeat(5, 1fr); } }
.team--lead { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .team--lead { grid-template-columns: repeat(5, 1fr); } }
.member { --c: var(--sky); margin: 0; text-align: center; }
.member__photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: color-mix(in srgb, var(--c) 25%, #fff); box-shadow: var(--shadow-1); margin-bottom: 14px; transition: transform var(--t-hover) var(--ease-out), box-shadow var(--t-hover); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.member__photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: var(--c); }
.member:hover .member__photo { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow-2); }
.member:hover .member__photo img { transform: scale(1.06); }
.member figcaption strong { display: block; font-family: var(--font-display); font-size: 1.12rem; color: var(--navy); font-weight: 600; }
.member figcaption span { font-size: .86rem; color: var(--slate); font-weight: 600; }

/* Gallery masonry + lightbox */
.masonry { columns: 1; column-gap: 20px; }
@media (min-width: 640px) { .masonry { columns: 2; } }
@media (min-width: 1040px) { .masonry { columns: 3; } }
.masonry button { display: block; width: 100%; margin: 0 0 20px; padding: 0; border: 0; border-radius: var(--r-lg); overflow: hidden; break-inside: avoid; box-shadow: var(--shadow-1); background: #fff; position: relative; transition: transform var(--t-hover) var(--ease-out), box-shadow var(--t-hover); }
.masonry button:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.masonry img { width: 100%; height: auto; transition: transform 900ms var(--ease-out); }
.masonry button:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: var(--z-modal); background: rgb(12 17 45 / .94); display: grid; place-items: center; padding: 60px 16px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 82vh; width: auto; max-width: min(100%, 1400px); border-radius: var(--r-md); box-shadow: 0 30px 60px rgb(0 0 0 / .5); animation: pop 400ms var(--ease-out); }
.lightbox__btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .14); color: #fff; display: grid; place-items: center; transition: background var(--t-micro); }
.lightbox__btn:hover { background: var(--pink-deep); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 16px; top: 50%; translate: 0 -50%; }
.lightbox__count { position: absolute; bottom: 20px; left: 50%; translate: -50% 0; color: #C9CFEA; font-weight: 700; font-size: .9rem; }

/* Resource cards */
.docs { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .docs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .docs { grid-template-columns: repeat(3, 1fr); } }
.doc-card { --c: var(--royal); display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-1); text-decoration: none; color: var(--navy); cursor: pointer;
  transition: transform var(--t-hover) var(--ease-out), box-shadow var(--t-hover); }
.doc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); color: var(--navy); }
.doc-card .tile__icon { width: 50px; height: 50px; margin: 0; border-radius: 16px; }
.doc-card strong { display: block; font-weight: 700; line-height: 1.3; }
.doc-card small { color: var(--slate); font-weight: 600; }
.doc-card > .icon { margin-left: auto; color: var(--slate); transition: transform var(--t-hover) var(--ease-spring), color var(--t-micro); }
.doc-card:hover > .icon { transform: translateY(2px); color: var(--pink-deep); }

/* Register columns */
.reg-cols { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .reg-cols { grid-template-columns: 1fr 1fr; } }
.reg-card { --c: var(--sky); padding: clamp(26px, 4vw, 40px); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-1); border-top: 8px solid var(--c); }
.reg-steps { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 14px; counter-reset: rs; }
.reg-steps li { counter-increment: rs; display: flex; gap: 14px; align-items: flex-start; color: var(--ink); font-weight: 600; }
.reg-steps li::before { content: counter(rs); width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; }
.reg-steps--dark li::before { color: var(--navy); }

/* Hours box */
.hours { display: grid; gap: 4px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed rgb(26 38 96 / .14); }
.hours div:last-child { border-bottom: 0; }
.hours dt { font-weight: 700; color: var(--navy); }
.hours dd { margin: 0; color: var(--slate); text-align: right; }

/* 404 */
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.nf__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(6rem, 18vw, 12rem); line-height: 1; color: var(--navy); }
.nf__num span { display: inline-block; color: var(--pink-deep); animation: float 3s ease-in-out infinite alternate; }

/* ---------- Reveal motion ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity var(--t-enter) var(--ease-out), transform var(--t-enter) var(--ease-out); transition-delay: var(--d, 0ms); }
[data-reveal="left"] { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="zoom"] { transform: scale(.92); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero h1 .line > span { transform: none; }
  .floater > * { animation: none; }
  .mnav { transition: none; }
}
