/* ==========================================================================
   Sunnydale Kindergarten — main stylesheet
   Sections: 1 Tokens  2 Base  3 Layout  4 Buttons  5 Header  6 Hero
             7 Components  8 Sections  9 Inner pages  10 Footer  11 Responsive
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --pink: #e6194b;
  --pink-soft: #fde2e8;
  --blue: #5b7cfa;
  --blue-soft: #e7edff;
  --yellow: #f0902c;
  --yellow-soft: #fdeddc;
  --green: #37c99a;
  --green-soft: #e2f7f0;
  --purple: #7a5cf0;
  --purple-soft: #eee9ff;
  --coral: #ff7a66;

  --ink: #2a2140;
  --body: #605a75;
  --muted: #8d87a3;
  --line: #ece8f5;
  --bg: #fffdf8;
  --white: #ffffff;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;

  --shadow-sm: 0 6px 18px rgba(42, 33, 64, .06);
  --shadow-md: 0 14px 40px rgba(42, 33, 64, .09);
  --shadow-lg: 0 26px 60px rgba(42, 33, 64, .12);

  --head: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --text: "Nunito", "Segoe UI", system-ui, sans-serif;

  --container: 1200px;
  --gutter: 20px;
  --header-h: 84px;
  --section-y: 96px;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--text);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--body);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
/* Sprite icons carry no viewBox attribute of their own — give them a safe
   default size so they can never fall back to the 300x150 SVG default. */
svg:where(:not([viewBox])) { width: 18px; height: 18px; flex: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--head);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.25rem, 1.4rem + 3.4vw, 3.9rem); }
h2 { font-size: clamp(1.85rem, 1.2rem + 2.3vw, 2.85rem); }
h3 { font-size: clamp(1.3rem, 1.05rem + .9vw, 1.6rem); }
h4 { font-size: 1.18rem; }
h5 { font-size: 1.02rem; }
p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--pink); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--blue); }

ul, ol { margin: 0 0 1.1rem; padding-left: 1.15rem; }
li { margin-bottom: .4rem; }

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

::selection { background: var(--pink); color: #fff; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* 3. Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: 68px; }
.section--soft { background: var(--pink-soft); }
.section--mint { background: var(--green-soft); }
.section--cream { background: var(--yellow-soft); }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 2rem; }

/* Section heading */
.sec-head { max-width: 660px; margin-bottom: 54px; }
.sec-head.text-center { margin-inline: auto; }
.sec-head p { color: var(--body); margin-bottom: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--head); font-weight: 700; font-size: .95rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--pink);
  background: var(--white); border: 2px dashed var(--pink);
  padding: 5px 16px; border-radius: 999px; margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.sec-title { margin-bottom: .45em; }
.sec-title span { color: var(--pink); }

/* Decorative blobs */
.blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .5; pointer-events: none; z-index: 0; }
.blob--a { width: 190px; height: 190px; background: var(--yellow-soft); top: 6%; left: -70px; }
.blob--b { width: 150px; height: 150px; background: var(--blue-soft); bottom: 8%; right: -60px; }
.section > .container { position: relative; z-index: 1; }

/* 4. Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--head); font-weight: 700; font-size: 1.02rem;
  padding: 14px 30px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-align: center; line-height: 1.3;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--pink); color: #fff; box-shadow: 0 10px 24px rgba(230, 25, 75, .30); }
.btn--primary:hover { background: #c9143f; color: #fff; box-shadow: 0 16px 30px rgba(230, 25, 75, .36); }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(91, 124, 250, .3); }
.btn--blue:hover { background: #4869f0; color: #fff; }
.btn--ghost { background: var(--white); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { color: var(--pink); border-color: var(--pink); }
.btn--light { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.5); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--sm { padding: 10px 22px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.link-arrow { font-family: var(--head); font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* 5. Header ---------------------------------------------------------------- */
:root {
  --bar: #e6194b;        /* crimson utility bar   */
  --bar-deep: #c4143f;
  --pill: #7a5cf0;
  --nav-ink: #22314f;    /* menu label colour     */
  --nav-active: #f5a623; /* current page label    */
}

.topbar { background: var(--bar); color: #fff; font-size: .95rem; }
.topbar__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 6px 24px; min-height: 48px; padding-block: 6px;
}
.topbar__info { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 44px; list-style: none; margin: 0; padding: 0; }
.topbar__info li { position: relative; display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 0; }
.topbar__info li + li::before { content: none; }
.topbar .topbar__hide { display: none; }   /* address lives in the footer */
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: var(--yellow-soft); }
.topbar svg { width: 17px; height: 17px; color: #fff; }
.topbar__follow { display: flex; align-items: center; gap: 12px; }
.topbar__follow > span { font-family: var(--head); font-weight: 700; color: #fff; white-space: nowrap; }

.socials { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.socials li { margin: 0; }
.socials a {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm);
  transition: background-color .2s, color .2s, transform .2s;
}
.socials a:hover { background: var(--pill); color: #fff; transform: translateY(-2px); }
.socials svg { width: 15px; height: 15px; color: currentColor; }
.topbar .socials { gap: 7px; }
.topbar .socials a { width: 31px; height: 31px; background: #fff; color: var(--bar); box-shadow: none; }
.topbar .socials a:hover { background: var(--ink); color: #fff; }
.topbar .socials svg { width: 14px; height: 14px; }
.site-footer .socials a { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: none; }
.site-footer .socials a:hover { background: var(--yellow); color: var(--ink); }

/* Full-width white navigation bar */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--white); }
.site-header.is-stuck { box-shadow: 0 8px 26px rgba(42, 33, 64, .10); }
.nav {
  display: flex; align-items: center; gap: 18px; min-height: 104px;
  background: none; border-radius: 0; padding: 8px 0; box-shadow: none;
}

.brand { order: -1; display: inline-flex; align-items: center; gap: 12px; font-family: var(--head); font-weight: 800; font-size: 1.6rem; color: var(--ink); flex: none; }
.brand:hover { color: var(--pink); }
.brand__mark { width: 58px; height: 58px; flex: none; }
.brand__text { line-height: 1.05; }
.brand small { display: block; font-family: var(--text); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); line-height: 1; }

.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0 auto; padding: 0; }
.menu > li { position: relative; margin: 0; display: flex; align-items: center; flex-wrap: wrap; }
.menu > li > a {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--head); font-weight: 600; font-size: 1.08rem; color: var(--nav-ink);
  padding: 10px 18px; border-radius: 999px; white-space: nowrap;
  transition: color .2s ease, background-color .2s ease;
}
.menu > li:hover > a, .menu > li.is-open > a { background: none; color: var(--bar); }
.menu > li.current > a { color: var(--nav-active); }
.has-sub > a { padding-right: 6px; }
.sub-toggle {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  background: none; border: 0; padding: 8px 12px 8px 2px; color: var(--nav-ink); cursor: pointer;
}
.sub-toggle:hover { color: var(--bar); }
/* The reference nav carries no carets — hover (or keyboard focus) opens submenus */
@media (min-width: 992px) {
  .sub-toggle { display: none; }
  .has-sub > a { padding-right: 18px; }
  .has-sub:focus-within > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
}
.caret { width: 12px; height: 12px; transition: transform .25s ease; }
.has-sub.is-open > .sub-toggle .caret { transform: rotate(180deg); }

.submenu {
  position: absolute; top: 100%; left: 0; margin-top: 18px; min-width: 232px;
  background: var(--white); border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  list-style: none; padding: 10px; z-index: 20;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.has-sub:hover > .submenu, .has-sub.is-open > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu li { margin: 0; }
.submenu a { display: block; padding: 9px 14px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .98rem; transition: background-color .2s, color .2s, padding-left .2s; }
.submenu a:hover { background: var(--pink-soft); color: var(--pink); padding-left: 20px; }

.nav__actions { order: 1; display: flex; align-items: center; gap: 20px; flex: none; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: none; color: var(--nav-ink); border: 0; cursor: pointer; padding: 0;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.icon-btn:hover { background: none; color: var(--bar); transform: translateY(-2px); }
.icon-btn svg { width: 23px; height: 23px; }

/* Header call-to-action pill */
.nav-cta {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  background: var(--bar); color: #fff; border-radius: 999px; padding: 14px 32px;
  font-family: var(--head); font-weight: 700; font-size: 1.05rem; white-space: nowrap;
  box-shadow: 0 10px 24px rgba(230, 25, 75, .28);
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.nav-cta:hover { background: var(--bar-deep); color: #fff; transform: translateY(-3px); box-shadow: 0 16px 30px rgba(230, 25, 75, .34); }

/* Close button inside the mobile drawer — only rendered while it is open */
.nav-close {
  display: none; position: fixed; top: 18px; right: 18px; z-index: 59;
  width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: var(--pink-soft); color: var(--pink);
  place-items: center; transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.nav-close svg { width: 20px; height: 20px; }
.nav-close:hover { background: var(--pink); color: #fff; transform: rotate(90deg); }
body.nav-open .nav-close { display: grid; }
/* the burger sits at almost the same spot, so swap one for the other */
body.nav-open .nav-toggle { display: none; }
@media (min-width: 992px) { body.nav-open .nav-close { display: none; } }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--pink-soft); cursor: pointer; padding: 0; place-items: center; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: background-color .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, top .25s ease; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* Search drop-panel */
.search-panel { padding-block: 2px 22px; }
.search-panel[hidden] { display: none; }
.search-panel .container { animation: dropIn .26s ease; }
.search-panel .search-form { max-width: 620px; margin-inline: auto; background: var(--white); padding: 12px; border-radius: 999px; box-shadow: var(--shadow-md); }
.search-panel input { border-color: transparent; background: transparent; }
.search-panel input:focus { box-shadow: none; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

.nav-backdrop { position: fixed; inset: 0; background: rgba(42, 33, 64, .5); z-index: 55; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s; }
body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
body.nav-open { overflow: hidden; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 6. Hero ------------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--pink-soft) 0%, #fff8ee 55%, var(--blue-soft) 100%);
  padding-block: 84px 108px;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero__title { margin-bottom: .35em; }
.hero__title em { font-style: normal; color: var(--pink); position: relative; z-index: 0; white-space: nowrap; }
.hero__title em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .18em;
  background: var(--yellow); border-radius: 999px; z-index: -1; opacity: .85;
}
.hero__lead { font-size: 1.12rem; max-width: 32rem; margin-bottom: 30px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 36px; padding-top: 26px; border-top: 2px dashed rgba(42,33,64,.12); }
.hero__badge { display: flex; align-items: center; gap: 12px; }
.hero__badge strong { font-family: var(--head); font-size: 1.6rem; color: var(--ink); display: block; line-height: 1.1; }
.hero__badge span { font-size: .92rem; color: var(--muted); }
.hero__badge i { width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; flex: none; background: var(--white); box-shadow: var(--shadow-sm); }
.hero__badge svg { width: 22px; height: 22px; }
.hero__art { position: relative; }
.hero__art img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 42% 58% 46% 54% / 46% 44% 56% 54%;
  box-shadow: 0 26px 60px rgba(42, 33, 64, .16);
}
.hero__pill {
  position: absolute; background: var(--white); border-radius: var(--r-md); box-shadow: var(--shadow-md);
  padding: 12px 18px; display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--ink);
  font-family: var(--head); font-size: .98rem;
}
.hero__pill svg { width: 20px; height: 20px; flex: none; }
.hero__pill--1 { top: 14%; left: -8px; animation: floaty 5s ease-in-out infinite; }
.hero__pill--2 { bottom: 12%; right: -6px; animation: floaty 6s ease-in-out infinite .6s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.wave { display: block; width: 100%; height: auto; margin-bottom: -6px; }

/* 7. Components ------------------------------------------------------------ */
.card {
  background: var(--white); border-radius: var(--r-lg); padding: 32px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  height: 100%; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card p:last-of-type { margin-bottom: 18px; }
.card .link-arrow { margin-top: auto; }

.icon-box { width: 68px; height: 68px; border-radius: 22px; display: grid; place-items: center; margin-bottom: 22px; }
.icon-box svg { width: 32px; height: 32px; }
.bg-pink { background: var(--pink-soft); color: var(--pink); }
.bg-blue { background: var(--blue-soft); color: var(--blue); }
.bg-yellow { background: var(--yellow-soft); color: #e0a300; }
.bg-green { background: var(--green-soft); color: var(--green); }
.bg-purple { background: var(--purple-soft); color: var(--purple); }

/* Program / course card */
.program {
  background: var(--white); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  display: flex; flex-direction: column; height: 100%;
  transition: transform .28s ease, box-shadow .28s ease;
}
.program:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.program__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--pink-soft); }
.program__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.program:hover .program__media img { transform: scale(1.06); }
.tag {
  position: absolute; top: 14px; left: 14px; background: var(--white); color: var(--ink);
  font-family: var(--head); font-weight: 700; font-size: .84rem; padding: 5px 14px; border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.tag--pink { background: var(--pink); color: #fff; }
.program__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.program__body h3 { margin-bottom: .4em; }
.program__body h3 a { color: inherit; }
.program__body h3 a:hover { color: var(--pink); }
.meta { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin: 0 0 14px; padding: 0; font-size: .9rem; color: var(--muted); }
.meta li { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.meta svg { width: 15px; height: 15px; color: var(--pink); flex: none; }
.program__foot {
  margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.price { font-family: var(--head); font-weight: 700; color: var(--blue); font-size: 1.15rem; }
.price small { font-weight: 600; color: var(--muted); font-size: .8rem; }

/* Feature list */
.ticks { list-style: none; padding: 0; margin: 0 0 26px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.ticks svg { width: 22px; height: 22px; flex: none; color: var(--green); margin-top: 3px; }

/* Progress bars */
.progress + .progress { margin-top: 20px; }
.progress__top { display: flex; justify-content: space-between; font-family: var(--head); font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.progress__track { height: 12px; border-radius: 999px; background: var(--line); overflow: hidden; }
.progress__bar { height: 100%; border-radius: 999px; width: 0; transition: width 1.4s cubic-bezier(.2, .8, .3, 1); background: var(--pink); }
.progress:nth-child(even) .progress__bar { background: var(--blue); }

/* Stats */
/* Full-bleed torn-ribbon stat band */
.statband { --band: #e6194b; position: relative; isolation: isolate; padding-block: 104px; }
.statband__body { position: absolute; z-index: -1; left: 0; right: 0; top: 40px; bottom: 40px; background: var(--band); }
.statband__edge { position: absolute; z-index: -1; left: 0; right: 0; height: 46px; }
.statband__edge svg { display: block; width: 100%; height: 100%; fill: var(--band); }
.statband__edge--top { top: 0; }
.statband__edge--bot { bottom: 0; }

.statband__plane { display: none; position: absolute; left: 3.5%; top: 24%; width: min(78px, 5.5vw); height: auto; }
.statband__plane-a { fill: #fff; }
.statband__plane-b { fill: #ffd3dd; }
.statband__trail { fill: none; stroke: rgba(255, 255, 255, .8); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 5 9; }
.statband__ring { position: absolute; left: 33%; top: 54%; width: 34px; height: 34px; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 50%; }
@media (min-width: 1400px) { .statband__plane { display: block; } }

.stats { background: none; border-radius: 0; padding: 0; color: #fff; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px; }
.stat { text-align: center; }
.stat__icon { width: 54px; height: 54px; margin: 0 auto 18px; color: #fff; }
.stat strong { font-family: var(--head); font-weight: 800; font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.2rem); display: block; line-height: 1.05; }
.stat span { font-size: 1.02rem; opacity: .92; }

/* Teacher card */
.teacher { text-align: center; }
.teacher__media {
  border-radius: var(--r-lg); overflow: hidden; background: var(--pink-soft);
  aspect-ratio: 1; position: relative; margin-bottom: 18px;
}
.teacher__media img { width: 100%; height: 100%; object-fit: cover; }
.teacher__socials {
  position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 16px);
  display: flex; gap: 8px; background: var(--white); padding: 8px 12px; border-radius: 999px;
  box-shadow: var(--shadow-md); opacity: 0; transition: opacity .28s ease, transform .28s ease;
}
.teacher:hover .teacher__socials, .teacher:focus-within .teacher__socials { opacity: 1; transform: translate(-50%, 0); }
.teacher__socials a { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--pink-soft); color: var(--pink); }
.teacher__socials a:hover { background: var(--pink); color: #fff; }
.teacher__socials svg { width: 14px; height: 14px; }
.teacher h3 { margin-bottom: .1em; }
.teacher span { color: var(--pink); font-weight: 700; font-size: .95rem; }

/* Blob portraits with a yellow lasso ring */
.team { position: relative; background: var(--white); }
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; }
.tcard { text-align: center; transition: transform .3s ease; }
.tcard:hover { transform: translateY(-6px); }
.tcard__art { display: block; width: 100%; height: auto; margin-bottom: 20px; }
.tcard__fill { fill: #5b46e0; }
.tcard__ring { fill: none; stroke: var(--pink); stroke-width: 9; stroke-linecap: round; }
.tcard__name { font-size: 1.24rem; color: var(--nav-ink); margin: 0 0 .18em; }
.tcard__role { color: var(--muted); font-weight: 600; font-size: .98rem; }
.team__dot {
  position: absolute; left: 21%; top: 63%; width: 30px; height: 30px;
  border: 2px solid #7a5cf0; border-radius: 50%; opacity: .7;
}

@media (max-width: 991px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 30px; }
  .team__dot { display: none; }
}
@media (max-width: 520px) {
  .team-grid { grid-template-columns: minmax(0, 1fr); }
  .tcard__art { max-width: 300px; margin-inline: auto; }
}

/* Testimonials carousel */
.carousel { position: relative; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 56px) / 3);
  gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px 4px 26px; margin: -10px -4px 0;
  scrollbar-width: none; -ms-overflow-style: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
/* Borderless, centred testimonial */
.quote {
  --quote-pink: #f39aa8;   /* soft pink disc behind each portrait */
  --quote-gold: #ffc93c;   /* rating stars                        */
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: none; border: 0; border-radius: 0; box-shadow: none;
  padding: 0 16px; height: 100%;
}
.quote__avatar { width: 104px; height: auto; margin-bottom: 18px; }
.quote__avatar-fill { fill: var(--quote-pink); }
.quote__stars { display: flex; gap: 4px; color: var(--quote-gold); margin-bottom: 16px; }
.quote__stars svg { width: 19px; height: 19px; }
.quote p { font-size: 1.02rem; color: var(--body); max-width: 34ch; }
.quote__by { margin: 18px 0 0; font-size: .98rem; color: var(--muted); }
.quote__by strong { font-family: var(--head); color: var(--nav-ink); font-size: 1.05rem; }
.quote__by span { color: var(--muted); }
.carousel__nav { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 18px; }
.carousel__btn {
  width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--line); background: var(--white);
  color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: all .2s ease;
}
.carousel__btn:hover:not(:disabled) { background: var(--pink); border-color: var(--pink); color: #fff; }
.carousel__btn:disabled { opacity: .4; cursor: not-allowed; }
.carousel__btn svg { width: 18px; height: 18px; }
.carousel__dots { display: flex; gap: 8px; }
.carousel__dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; transition: all .2s ease; }
.carousel__dots button.is-active { background: var(--pink); width: 28px; border-radius: 999px; }

/* Blog card */
.post { background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); height: 100%; display: flex; flex-direction: column; transition: transform .28s ease, box-shadow .28s ease; }
.post:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.post__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--blue-soft); }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post:hover .post__media img { transform: scale(1.06); }
.post__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.post__body h3 { font-size: 1.24rem; }
.post__body h3 a { color: inherit; }
.post__body h3 a:hover { color: var(--pink); }

/* Session times */
.slot { background: var(--white); border-radius: var(--r-lg); padding: 30px; border: 1px solid var(--line); text-align: center; box-shadow: var(--shadow-sm); height: 100%; }
.slot strong { display: block; font-family: var(--head); font-size: 1.28rem; color: var(--ink); }
.slot .slot__time { display: inline-block; margin: 10px 0 12px; background: var(--yellow-soft); color: #b07f00; font-weight: 700; border-radius: 999px; padding: 4px 16px; font-size: .92rem; }

/* CTA / newsletter */
.cta {
  background: linear-gradient(120deg, var(--pink) 0%, var(--purple) 100%);
  border-radius: var(--r-xl); padding: 62px 48px; color: #fff; text-align: center;
  position: relative; overflow: hidden;
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.9); max-width: 620px; margin: 0 auto 28px; }
.cta::before, .cta::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.12); }
.cta::before { width: 220px; height: 220px; top: -90px; right: -50px; }
.cta::after { width: 160px; height: 160px; bottom: -70px; left: -30px; }
.cta > * { position: relative; z-index: 1; }

.subscribe { display: flex; gap: 12px; max-width: 520px; margin-inline: auto; flex-wrap: wrap; }
.subscribe input { flex: 1 1 240px; }

/* Forms */
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--head); font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: var(--pink); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="number"], select, textarea {
  width: 100%; font-family: var(--text); font-size: 1rem; color: var(--ink);
  background: var(--white); border: 2px solid var(--line); border-radius: 14px;
  padding: 13px 16px; transition: border-color .2s ease, box-shadow .2s ease;
}
textarea { min-height: 150px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #b3aec4; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px rgba(230,25,75,.14); }
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--coral); }
.error-msg { display: block; color: var(--coral); font-size: .86rem; font-weight: 700; margin-top: 6px; min-height: 1px; }
.form-note { font-size: .9rem; color: var(--muted); }
.form-alert {
  display: none; align-items: center; gap: 10px; background: var(--green-soft); color: #0f7a5c;
  border-radius: 14px; padding: 14px 18px; font-weight: 700; margin-bottom: 20px;
}
.form-alert.is-visible { display: flex; }
.form-alert svg { width: 20px; height: 20px; flex: none; }

/* Accordion */
.accordion { border-radius: var(--r-md); overflow: hidden; }
.acc { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 14px; overflow: hidden; }
.acc__btn {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--head); font-weight: 700; font-size: 1.08rem; color: var(--ink);
  padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.acc__btn i { width: 30px; height: 30px; border-radius: 50%; background: var(--pink-soft); color: var(--pink); display: grid; place-items: center; flex: none; transition: transform .3s ease, background-color .2s; }
.acc__btn i svg { width: 14px; height: 14px; }
.acc.is-open .acc__btn i { transform: rotate(45deg); background: var(--pink); color: #fff; }
.acc__panel { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc__panel > div { padding: 0 24px 22px; }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.filters button {
  font-family: var(--head); font-weight: 700; font-size: .98rem; padding: 9px 22px; border-radius: 999px;
  border: 2px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; transition: all .2s ease;
}
.filters button:hover { border-color: var(--pink); color: var(--pink); }
.filters button.is-active { background: var(--pink); border-color: var(--pink); color: #fff; }
.gallery-item { border-radius: var(--r-lg); overflow: hidden; position: relative; aspect-ratio: 4 / 3; background: var(--pink-soft); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 20px 18px; color: #fff;
  font-family: var(--head); font-weight: 700;
  background: linear-gradient(to top, rgba(42,33,64,.82), transparent);
  transform: translateY(6px); opacity: 0; transition: opacity .3s ease, transform .3s ease;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item:hover figcaption { opacity: 1; transform: translateY(0); }
.is-hidden { display: none !important; }

/* 9. Inner pages ----------------------------------------------------------- */
.page-hero {
  background: linear-gradient(140deg, var(--pink-soft), #fff7ec 60%, var(--blue-soft));
  padding-block: 74px 84px; text-align: center; position: relative; overflow: hidden;
}
.page-hero h1 { margin-bottom: .25em; }
.page-hero::before, .page-hero::after { content: ""; position: absolute; border-radius: 50%; opacity: .5; }
.page-hero::before { width: 180px; height: 180px; background: var(--yellow-soft); top: -60px; left: 6%; }
.page-hero::after { width: 130px; height: 130px; background: var(--green-soft); bottom: -50px; right: 8%; }
.page-hero .container { position: relative; z-index: 1; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; list-style: none; margin: 0; padding: 0; font-weight: 700; font-size: .96rem; }
.crumbs li { margin: 0; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--muted); }

.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.widget { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; margin-bottom: 26px; }
.widget:last-child { margin-bottom: 0; }
.widget h4 { margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px dashed var(--line); }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { margin-bottom: 10px; }
.widget ul li:last-child { margin-bottom: 0; }
.widget ul a { display: flex; justify-content: space-between; gap: 10px; color: var(--body); font-weight: 600; }
.widget ul a:hover { color: var(--pink); }
.sidebar { position: sticky; top: 100px; }
.spec-list li { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.spec-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.spec-list strong { font-family: var(--head); color: var(--ink); text-align: right; }
.mini-post { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.mini-post:last-child { margin-bottom: 0; }
.mini-post img { width: 74px; height: 68px; border-radius: 14px; object-fit: cover; flex: none; }
.mini-post strong { font-family: var(--head); font-size: 1rem; line-height: 1.35; display: block; }
.mini-post a { color: var(--ink); }
.mini-post a:hover { color: var(--pink); }
.mini-post span { font-size: .84rem; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { background: var(--pink-soft); color: var(--pink); font-weight: 700; font-size: .86rem; padding: 6px 14px; border-radius: 999px; }
.tags a:hover { background: var(--pink); color: #fff; }
.search-form { display: flex; gap: 8px; }
.search-form button { flex: none; width: 50px; border-radius: 14px; border: 0; background: var(--pink); color: #fff; cursor: pointer; display: grid; place-items: center; }
.search-form button svg { width: 18px; height: 18px; }

.article-body h2 { margin-top: 1.8rem; }
.article-body h3 { margin-top: 1.5rem; }
.article-body img { border-radius: var(--r-lg); margin-block: 1.6rem; }
.pull-quote {
  background: var(--pink-soft); border-left: 6px solid var(--pink); border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 26px 30px; margin: 28px 0; font-family: var(--head); font-size: 1.16rem; color: var(--ink);
}
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 50px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 46px; height: 46px; display: grid; place-items: center; padding-inline: 12px;
  border-radius: 14px; border: 2px solid var(--line); background: var(--white);
  font-family: var(--head); font-weight: 700; color: var(--ink);
}
.pagination a:hover { border-color: var(--pink); color: var(--pink); }
.pagination .is-current { background: var(--pink); border-color: var(--pink); color: #fff; }

.info-card { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; height: 100%; }
.info-card i { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; flex: none; }
.info-card svg { width: 24px; height: 24px; }
.info-card strong { display: block; font-family: var(--head); font-size: 1.12rem; color: var(--ink); margin-bottom: 4px; }
.info-card a { color: var(--body); }
.info-card a:hover { color: var(--pink); }

.map-embed { border-radius: var(--r-xl); overflow: hidden; border: 6px solid var(--white); box-shadow: var(--shadow-md); line-height: 0; }
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }

.event-row {
  display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 26px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px;
  margin-bottom: 20px; transition: transform .25s ease, box-shadow .25s ease;
}
.event-row:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.event-date { background: var(--pink-soft); border-radius: var(--r-md); text-align: center; padding: 14px 6px; }
.event-date strong { display: block; font-family: var(--head); font-size: 2rem; line-height: 1; color: var(--pink); }
.event-date span { font-size: .88rem; font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: .06em; }
.event-row h3 { margin-bottom: .3em; }

.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--white); }
table { width: 100%; border-collapse: collapse; min-width: 520px; }
th, td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); }
th { font-family: var(--head); color: var(--ink); background: var(--pink-soft); }
tr:last-child td { border-bottom: 0; }

/* Back to top */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 48px; height: 48px;
  border-radius: 50%; border: 0; background: var(--pink); color: #fff; cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s, background-color .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--ink); }
.to-top svg { width: 20px; height: 20px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* 10. Footer --------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #b9b2d0; padding-top: 78px; position: relative; }
.site-footer h4 { color: #fff; margin-bottom: 22px; }
.site-footer a { color: #b9b2d0; }
.site-footer a:hover { color: var(--yellow); }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: #8d87a3; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 11px; }
.footer-list a { display: inline-flex; align-items: center; gap: 9px; }
.footer-list a svg { width: 14px; height: 14px; color: var(--yellow); flex: none; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 16px; }
.footer-contact svg { width: 18px; height: 18px; color: var(--yellow); flex: none; margin-top: 5px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px;
  display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; font-size: .93rem;
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; }
.footer-bottom li { margin: 0; }

/* 11. Responsive ----------------------------------------------------------- */
@media (max-width: 1100px) {
  :root { --section-y: 78px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Brand and contact take a full row so Explore + Families stay paired */
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
  .footer-grid > div:first-child,
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .carousel__track { grid-auto-columns: calc((100% - 28px) / 2); }
  .layout-sidebar { grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; }
  .stat + .stat { border-left: 0; }
}

@media (max-width: 991px) {
  .nav-toggle { display: grid; }
  .nav { justify-content: space-between; }
  .nav__cta .btn { display: none; }

  .menu {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 86vw);
    background: var(--white); box-shadow: -10px 0 40px rgba(42,33,64,.2);
    display: block; margin: 0; padding: 90px 18px 40px; overflow-y: auto; z-index: 58;
    transform: translateX(105%); transition: transform .32s cubic-bezier(.4, 0, .2, 1);
  }
  body.nav-open .menu { transform: translateX(0); }
  .menu > li { border-bottom: 1px solid var(--line); }
  .menu > li:last-child { border-bottom: 0; }
  .menu > li > a { flex: 1; padding: 14px 12px; border-radius: 10px; font-size: 1.08rem; }
  .sub-toggle { width: 46px; height: 46px; padding: 0; }
  .submenu { flex-basis: 100%; }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    background: var(--pink-soft); border-radius: 12px; padding: 6px; margin: 0;
    max-height: 0; overflow: hidden; transition: max-height .3s ease, margin .3s ease, padding .3s ease;
    padding-block: 0; margin-bottom: 0;
  }
  .has-sub:hover > .submenu { max-height: 0; }
  .has-sub.is-open > .submenu { max-height: 460px; padding-block: 6px; margin-bottom: 12px; }
  .submenu a:hover { padding-left: 14px; background: var(--white); }

  .hero { padding-block: 56px 84px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__art { max-width: 560px; margin-inline: auto; order: -1; }
  .hero__lead { margin-inline: auto; }
  .hero__grid > div:first-child { text-align: center; }
  .hero__grid .btn-row, .hero__badges { justify-content: center; }
  .hero__pill--1 { left: 0; }
  .hero__pill--2 { right: 0; }

  .layout-sidebar { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .statband { padding-block: 76px; }
  .event-row { grid-template-columns: 100px minmax(0, 1fr); }
  .event-row .btn { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  :root { --section-y: 64px; --gutter: 18px; }
  .topbar__inner { justify-content: center; text-align: center; }
  .topbar ul { justify-content: center; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .grid { gap: 22px; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 26px !important; }
  .carousel__track { grid-auto-columns: 88%; }
  .cta { padding: 44px 24px; border-radius: var(--r-lg); }
  .statband { padding-block: 64px; }
  .statband__ring { display: none; }
  .stat__icon { width: 44px; height: 44px; margin-bottom: 12px; }
  .sec-head { margin-bottom: 36px; }
  .card { padding: 26px; }
  .quote__avatar { width: 88px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .map-embed iframe { height: 320px; }
  .page-hero { padding-block: 54px 60px; }
}

@media (max-width: 480px) {
  .topbar .topbar__hide { display: none; }
  .brand { font-size: 1.28rem; }
  .brand__mark { width: 40px; height: 40px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .hero__badges { flex-direction: column; gap: 16px; align-items: flex-start; }
  .hero__grid > div:first-child { text-align: left; }
  .hero__badges, .hero__grid .btn-row { justify-content: flex-start; }
  .hero__pill { display: none; }
  .hero__art img { border-radius: var(--r-xl); }
  .subscribe input { flex-basis: 100%; }
  .event-row { grid-template-columns: minmax(0, 1fr); }
  .event-date { max-width: 110px; }
}

/* Print */
@media print {
  .site-header, .topbar, .site-footer, .to-top, .nav-backdrop { display: none !important; }
  body { color: #000; background: #fff; }
}

/* 12. Header — responsive overrides ---------------------------------------- */
@media (max-width: 1200px) {
  .nav { gap: 12px; min-height: 92px; }
  .menu > li > a { padding: 10px 12px; font-size: 1rem; }
  .has-sub > a { padding-right: 12px; }
  .nav__actions { gap: 14px; }
  .nav-cta { padding: 12px 24px; font-size: 1rem; }
  .brand__mark { width: 50px; height: 50px; }
}
@media (max-width: 991px) {
  .nav { min-height: 78px; padding: 8px 0; gap: 12px; }
  .brand { margin-right: auto; font-size: 1.3rem; }
  .menu { margin: 0; }
  .menu > li > a { color: var(--ink); }
  .menu > li:hover > a, .menu > li.is-open > a { background: var(--pink-soft); color: var(--pink); }
  .menu > li.current > a { color: var(--pink); background: var(--pink-soft); }
  .sub-toggle { color: var(--ink); }
  .sub-toggle:hover { color: var(--pink); }
  .submenu { margin-top: 0; }
  .submenu::before { display: none; }
  .brand__mark { width: 46px; height: 46px; }
  .search-panel { padding-block: 0 16px; }
}
@media (max-width: 767px) {
  .topbar__inner { justify-content: center; }
  .topbar__info { justify-content: center; gap: 4px 26px; }
  .search-panel .search-form { border-radius: var(--r-lg); }
}
@media (max-width: 700px) {
  .nav-cta { display: none; }
}
@media (max-width: 560px) {
  .topbar__follow > span { display: none; }
  .nav { gap: 8px; }
  .nav__actions { gap: 8px; }
  .brand small { display: none; }
  .brand { font-size: 1.2rem; }
}

/* Mobile sub-menu: whole row is the tap target ------------------------------ */
@media (max-width: 991px) {
  .menu > li.has-sub { cursor: pointer; }
  .has-sub > a { padding-right: 4px; }
  .sub-toggle { width: 52px; height: 52px; margin-left: auto; border-radius: 12px; }
  .has-sub.is-open > a,
  .has-sub.is-open > .sub-toggle { color: var(--pink); background: var(--pink-soft); }
  .has-sub.is-open > .submenu { max-height: 60vh; }
}

/* 13. About section --------------------------------------------------------- */
.about {
  position: relative; overflow: hidden;
  background: linear-gradient(168deg, #ffffff 0%, #fff8f2 38%, #fdece1 100%);
  padding-block: 92px 104px;
}
.about__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center; justify-items: center; gap: 56px;
  max-width: 1120px; margin-inline: auto;
}

/* Organic photo blob */
.about__art { position: relative; width: 100%; max-width: 540px; }
.about-blob { display: block; width: 100%; height: auto; overflow: hidden; }
.about-blob__ring { fill: #f0902c; }
.about-blob__dot { fill: #f0902c; }
.about-blob__star .about-blob__body { fill: #cdd8e4; stroke: #b9c6d6; stroke-width: 2; stroke-linejoin: round; }
.about-blob__star .about-blob__face { fill: none; stroke: #6d7d90; stroke-width: 2.6; stroke-linecap: round; }
.about-blob__star .about-blob__blush { fill: #f4b8ae; }
.about-blob__streak { fill: none; stroke: #e08a72; stroke-width: 2.4; stroke-linecap: round; }

/* Copy column */
.about__copy { width: 100%; max-width: 520px; }
.about__cap { width: 46px; height: 46px; color: #b9b2ab; margin-bottom: 6px; }
.about__eyebrow {
  display: block; font-family: var(--head); font-weight: 800; font-size: 1.12rem;
  color: var(--bar); letter-spacing: .01em; margin-bottom: 14px;
}
.about__title { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.9rem); margin-bottom: .55em; }
.about__title span { color: inherit; }   /* reference heading is a single solid colour */
.about__lead { color: var(--body); max-width: 52ch; margin-bottom: 34px; }
.btn--crimson { background: var(--bar); color: #fff; box-shadow: 0 10px 24px rgba(230, 25, 75, .28); padding-inline: 38px; }
.btn--crimson:hover { background: var(--bar-deep); color: #fff; box-shadow: 0 16px 30px rgba(230, 25, 75, .34); }

/* Edge art — only where the layout leaves room beside the container */
.about__side { display: none; position: absolute; top: 0; right: 0; bottom: 0; width: clamp(230px, 20vw, 320px); pointer-events: none; }
.about__rocket { position: absolute; top: 6%; left: 14%; width: 46%; height: auto; transform: rotate(38deg); }
.about__spark { position: absolute; top: 52%; left: -12%; width: 34px; height: 34px; fill: #9a4f2c; }
.about__kid { position: absolute; right: 4%; bottom: 4%; width: 78%; margin: 0; }
.about__kid img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  border: 8px solid #fff; box-shadow: var(--shadow-md);
}
@media (min-width: 1500px) { .about__side { display: block; } }

/* 14. Programs section ------------------------------------------------------ */
.programs { position: relative; overflow: hidden; background: var(--white); }

.programs__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px; }
.pcard {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 46px 28px 42px; color: var(--ink);
  border-radius: 28% 24% 28% 24% / 26% 30% 26% 30%;
  transition: transform .3s ease, box-shadow .3s ease;
}
.pcard::before {
  content: ""; position: absolute; inset: -13px; border-radius: inherit;
  border: 2px dashed #dcdcdc; pointer-events: none;
}
.pcard:hover { color: var(--ink); transform: translateY(-8px); }
.pcard__icon { width: 62px; height: 62px; color: #5b4bd8; margin-bottom: 22px; }
.pcard__title { font-size: 1.3rem; margin: 0 0 10px; }
.pcard__age { display: block; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.pcard__text { margin: 0; color: var(--body); font-size: .98rem; }

.pcard--lilac { background: #ece4fb; }
.pcard--mint  { background: #ddf6e1; }
.pcard--aqua  { background: #d4f5ef; }
.pcard--pink  { background: #fcdfe7; }

/* Rainbow doodle at the left edge */
.programs__rainbow { display: none; position: absolute; left: 0; top: 12%; width: min(220px, 15vw); height: auto; }
.programs__arc { fill: none; stroke-width: 26; stroke-linecap: round; }
.programs__arc--mint { stroke: #86dcb4; }
.programs__arc--pink { stroke: #f79cb2; }
.programs__star-body { fill: #ffd23f; stroke: #ffd23f; stroke-width: 6; stroke-linejoin: round; }
.programs__eye { fill: #3b2f1e; }
.programs__smile { fill: none; stroke: #3b2f1e; stroke-width: 1.8; stroke-linecap: round; }
.programs__blush { fill: #f7a8b8; }
@media (min-width: 1500px) { .programs__rainbow { display: block; } }

@media (max-width: 1100px) {
  .programs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px 34px; }
}
@media (max-width: 560px) {
  .programs__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .pcard { padding: 40px 26px 36px; }
}

@media (max-width: 991px) {
  .about { padding-block: 64px 72px; }
  .about__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .about__art, .about__copy { max-width: 560px; margin-inline: auto; }
  .about__lead { max-width: none; }
}