﻿/* ============================================================
   Kiddies Paradise â€” AMI Montessori House of Children
   Design system: plum + lilac + marigold on warm cream
   ============================================================ */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/jakarta-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("../fonts/caveat-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --plum-950: #20092f;
  --plum-900: #2b0f42;
  --plum-800: #3a1656;
  --plum-700: #4c1f6f;
  --violet-600: #7a3fa8;
  --violet-500: #8f57b8;
  --violet-300: #c5a4de;
  --lilac-50: #faf6fe;
  --lilac-100: #f4ecfb;
  --lilac-200: #eadcf7;
  --lilac-300: #dcc7f0;
  --cream: #fdf9f4;
  --cream-2: #f8f0e6;
  --gold: #f0b53f;
  --gold-soft: #f8dfa8;
  --gold-deep: #c98a12;
  --leaf: #5b8f6a;
  --ink: #2a1438;
  --body: #5b4a65;
  --muted: #7a6a83;
  --white: #ffffff;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Caveat", "Segoe Script", cursive;

  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 32px;
  --arch: 999px 999px 28px 28px;

  --shadow-sm: 0 2px 10px rgba(58, 22, 86, 0.06);
  --shadow: 0 18px 44px -20px rgba(58, 22, 86, 0.35);
  --shadow-lg: 0 40px 90px -40px rgba(43, 15, 66, 0.55);

  --container: 1480px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(64px, 8vw, 118px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.075rem);
  line-height: 1.7;
  color: var(--body);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg,
iframe { display: block; max-width: 100%; }

img { height: auto; }

a { color: inherit; text-decoration: none; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

button { cursor: pointer; border: 0; background: none; }

ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 30, "WONK" 0;
  text-wrap: balance;
}

p { text-wrap: pretty; }

::selection { background: var(--gold-soft); color: var(--plum-900); }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ic {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  vertical-align: -0.15em;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--plum-900);
  font-weight: 700;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--violet-600);
  margin-bottom: 18px;
}
.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(240, 181, 63, 0.18);
}
.eyebrow--light { color: var(--lilac-300); }

.accent {
  color: var(--violet-600);
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.accent-light {
  color: var(--gold-soft);
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}

.hand {
  font-family: var(--font-hand);
  font-size: 1.55rem;
  line-height: 1.15;
  color: var(--plum-700);
  transform: rotate(-4deg);
}
.hand--lg { font-size: 2.1rem; display: inline-block; }

.section { padding-block: var(--section-y); position: relative; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem); }
.section-head__note {
  font-size: 1rem;
  color: var(--muted);
  max-width: 42ch;
  padding-bottom: 6px;
}
.section-head--center {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}
.section-head--center .section-head__note { max-width: 56ch; }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--plum-700);
  --btn-fg: var(--cream);
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1.5px solid var(--btn-border);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.005em;
  line-height: 1;
  transition: transform 0.35s var(--ease), background 0.25s ease,
    color 0.25s ease, box-shadow 0.35s var(--ease), border-color 0.25s ease;
  box-shadow: 0 10px 24px -14px rgba(43, 15, 66, 0.7);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(150deg, var(--plum-700), var(--plum-900));
  color: var(--cream);
}
.btn--primary:hover {
  background: linear-gradient(150deg, var(--violet-600), var(--plum-800));
  box-shadow: 0 18px 34px -16px rgba(76, 31, 111, 0.8);
}
.btn--primary .ic { transition: transform 0.3s var(--ease); }
.btn--primary:hover .ic { transform: translateX(3px); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.55);
  color: var(--plum-800);
  border-color: rgba(76, 31, 111, 0.22);
  backdrop-filter: blur(6px);
  box-shadow: none;
}
.btn--ghost:hover {
  background: var(--white);
  border-color: rgba(76, 31, 111, 0.45);
}

.btn--gold {
  background: var(--gold);
  color: var(--plum-900);
  box-shadow: 0 16px 30px -18px rgba(240, 181, 63, 0.9);
}
.btn--gold:hover { background: #f7c356; }

.btn--outline-light {
  background: transparent;
  color: var(--lilac-100);
  border-color: rgba(244, 236, 251, 0.4);
  box-shadow: none;
}
.btn--outline-light:hover {
  background: rgba(244, 236, 251, 0.1);
  border-color: rgba(244, 236, 251, 0.75);
}

.btn--sm { padding: 13px 22px; font-size: 0.88rem; }
.btn--block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--plum-700);
  position: relative;
  padding-bottom: 3px;
}
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.text-link .ic { transition: transform 0.3s var(--ease); }
.text-link:hover::after { transform: scaleX(1); }
.text-link:hover .ic { transform: translateX(4px); }

/* ---------- utility bar ---------- */
.utility-bar {
  background: var(--plum-950);
  color: var(--lilac-200);
  font-size: 0.76rem;
  letter-spacing: 0.02em;
}
.utility-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: none;
  padding-inline: clamp(20px, 3vw, 56px);
  min-height: 40px;
  padding-block: 6px;
}
.utility-bar__left { display: flex; gap: 22px; flex-wrap: wrap; }
.utility-bar a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.utility-bar a:hover { opacity: 1; color: var(--gold-soft); }
.utility-bar .ic { width: 14px; height: 14px; }
.utility-bar__right {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold-soft);
  font-weight: 500;
}
.dot-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(240, 181, 63, 0.55);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(240, 181, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(240, 181, 63, 0); }
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(253, 249, 244, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(76, 31, 111, 0.08);
  transition: box-shadow 0.35s ease, background 0.35s ease;
}
.site-header.is-scrolled {
  background: rgba(253, 249, 244, 0.96);
  box-shadow: 0 12px 30px -24px rgba(43, 15, 66, 0.55);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
  padding-inline: clamp(20px, 3vw, 56px);
  min-height: 82px;
  transition: min-height 0.35s var(--ease);
}
.site-header.is-scrolled .site-header__inner { min-height: 70px; }

.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand__seal {
  width: 56px;
  height: 56px;
  transition: transform 0.5s var(--ease), width 0.35s ease, height 0.35s ease;
}
.brand:hover .brand__seal { transform: rotate(-8deg) scale(1.04); }
.site-header.is-scrolled .brand__seal { width: 48px; height: 48px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
  color: var(--plum-900);
}
.brand__sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--violet-600);
  margin-top: 4px;
}

.nav { flex: 1; display: flex; justify-content: center; }
.nav__list { display: flex; align-items: center; gap: clamp(22px, 2.9vw, 48px); }
.nav__list a {
  position: relative;
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--plum-800);
  padding: 8px 2px;
  transition: color 0.2s ease;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease);
}
.nav__list a:hover { color: var(--violet-600); }
.nav__list a:hover::after,
.nav__list a.is-active::after { transform: scaleX(1); }
.nav__list a.is-active { color: var(--plum-900); font-weight: 600; }

.nav__footer { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  position: relative;
  z-index: 95;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(76, 31, 111, 0.18);
  color: var(--plum-800);
  align-items: center;
  justify-content: center;
  background: var(--cream);
}
.nav-toggle .ic { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(32, 9, 47, 0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav-scrim.is-visible { opacity: 1; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(40px, 5vw, 74px);
  padding-bottom: clamp(70px, 8vw, 110px);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(220, 199, 240, 0.55), transparent 65%),
    radial-gradient(900px 500px at 5% 20%, rgba(248, 223, 168, 0.32), transparent 60%),
    var(--cream);
  overflow: hidden;
}
.hero__aura {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}
.hero__aura--one {
  width: 520px;
  height: 520px;
  right: -160px;
  top: -120px;
  background: radial-gradient(circle, rgba(197, 164, 222, 0.35), transparent 68%);
}
.hero__aura--two {
  width: 380px;
  height: 380px;
  left: -180px;
  bottom: 40px;
  background: radial-gradient(circle, rgba(240, 181, 63, 0.16), transparent 70%);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(0, 0.93fr);
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
}

.hero__copy { max-width: 620px; }

.hero h1 {
  font-size: clamp(2.5rem, 1.5rem + 3.3vw, 3.7rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.hero h1 .accent { white-space: nowrap; }

.lede {
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.14rem);
  line-height: 1.72;
  color: var(--body);
  max-width: 46ch;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 38px;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  padding-top: 26px;
  border-top: 1px solid rgba(76, 31, 111, 0.12);
  max-width: 560px;
}
.hero__facts li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  line-height: 1.35;
  color: var(--muted);
}
.hero__facts .ic { width: 19px; height: 19px; color: var(--violet-600); }
.hero__facts strong { color: var(--plum-800); font-weight: 600; }

.hero__art {
  position: relative;
  padding-bottom: 34px;
}
.hero__dots {
  position: absolute;
  inset: auto 4% -18px auto;
  width: 62%;
  height: 55%;
  background-image: radial-gradient(rgba(122, 63, 168, 0.3) 1.4px, transparent 1.4px);
  background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 70%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse at 70% 70%, #000 10%, transparent 72%);
  z-index: 0;
}
.hero__arc {
  position: absolute;
  width: 240px;
  height: 240px;
  left: -70px;
  bottom: 60px;
  color: rgba(122, 63, 168, 0.35);
  z-index: 0;
  animation: spin 60s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__main {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
  border-radius: var(--arch);
  box-shadow: var(--shadow-lg);
  background: var(--lilac-200);
  border: 7px solid var(--white);
}
.hero__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
  transition: transform 1.2s var(--ease);
}
.hero__main:hover img { transform: scale(1.035); }
.hero__caption {
  position: absolute;
  left: 18px;
  top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(253, 249, 244, 0.92);
  backdrop-filter: blur(6px);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--plum-800);
  font-weight: 600;
}
.hero__caption span { color: var(--violet-600); }

.hero__inset {
  position: absolute;
  z-index: 3;
  left: -30px;
  bottom: 18px;
  width: clamp(112px, 22%, 158px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: var(--shadow);
}
.hero__inset img { width: 100%; height: 100%; object-fit: cover; }

.sticker {
  position: absolute;
  z-index: 4;
  top: -26px;
  right: -16px;
  display: grid;
  place-items: center;
  gap: 2px;
  width: 156px;
  height: 156px;
  padding: 14px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--plum-900);
  text-align: center;
  transform: rotate(8deg);
  box-shadow: 0 16px 30px -18px rgba(201, 138, 18, 0.9);
  border: 2px dashed rgba(43, 15, 66, 0.35);
  transition: transform 0.4s var(--ease);
}
.sticker:hover { transform: rotate(3deg) scale(1.04); }
.sticker__small {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.sticker__big {
  display: block;
  font-family: var(--font-display);
  font-size: 1.62rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero__badge {
  position: absolute;
  z-index: 4;
  right: 2px;
  bottom: -6px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 18px 12px 12px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid rgba(76, 31, 111, 0.08);
}
.hero__badge img { width: 44px; height: 44px; }
.hero__badge p {
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--muted);
}
.hero__badge strong { color: var(--plum-800); font-weight: 700; }

.hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  color: var(--cream);
  line-height: 0;
  pointer-events: none;
}
.hero__wave svg { width: 100%; height: clamp(40px, 6vw, 84px); }

/* ---------- marquee ---------- */
.marquee {
  background: var(--cream);
  border-block: 1px solid rgba(76, 31, 111, 0.1);
  overflow: hidden;
  padding-block: 16px;
  position: relative;
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--cream), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--cream), transparent); }

.marquee__track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marquee 46s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  font-style: italic;
  color: var(--plum-700);
  font-weight: 400;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__star { color: var(--gold-deep); font-size: 0.75em; font-style: normal; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- about ---------- */
.about { background: var(--cream); }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.about__media { position: relative; padding-bottom: 30px; }
.about__photo {
  aspect-ratio: 4 / 4.3;
  overflow: hidden;
  border-radius: var(--arch);
  border: 7px solid var(--white);
  box-shadow: var(--shadow);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }

.about__photo-small {
  position: absolute;
  right: -18px;
  bottom: 0;
  width: 47%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 18px;
  border: 6px solid var(--white);
  box-shadow: var(--shadow);
  transform: rotate(2.5deg);
}
.about__photo-small img { width: 100%; height: 100%; object-fit: cover; }

.about__stamp {
  position: absolute;
  left: -14px;
  top: 30px;
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--lilac-100);
  border: 2px dashed rgba(122, 63, 168, 0.45);
  text-align: center;
  transform: rotate(-9deg);
  box-shadow: var(--shadow-sm);
}
.about__stamp .hand { font-size: 1.18rem; color: var(--violet-600); transform: none; }

.about__copy h2 {
  font-size: clamp(1.9rem, 1.25rem + 2.2vw, 3rem);
  margin-bottom: 22px;
}
.about__copy p { margin-bottom: 16px; max-width: 46ch; }
.about__copy p em { color: var(--plum-800); font-style: italic; }

.checklist {
  display: grid;
  gap: 10px;
  margin-block: 26px 30px;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.94rem;
  color: var(--plum-800);
}
.checklist .ic {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  color: var(--leaf);
  background: rgba(91, 143, 106, 0.1);
  border-radius: 50%;
  padding: 2px;
}

.about__sign {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px dashed rgba(76, 31, 111, 0.2);
}
.about__sign img { width: 46px; height: 46px; }
.about__sign p { font-size: 0.84rem; line-height: 1.45; color: var(--plum-800); font-weight: 600; }
.about__sign span { color: var(--muted); font-weight: 400; }

/* ---------- stats ---------- */
.stats {
  background: linear-gradient(180deg, var(--cream), var(--lilac-100) 60%, var(--cream));
  padding-block: 10px;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding-block: clamp(28px, 4vw, 46px);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-inline: clamp(10px, 2.4vw, 34px);
  border-left: 1px solid rgba(76, 31, 111, 0.14);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 1.4rem + 2vw, 3.1rem);
  font-weight: 600;
  line-height: 1;
  color: var(--plum-700);
  letter-spacing: -0.03em;
}
.stat__num .suffix { color: var(--gold-deep); }
.stat__label {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--muted);
  max-width: 20ch;
}

/* ---------- programmes ---------- */
.programmes { background: var(--cream); }
.programme-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.programme {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px 26px 26px;
  background: var(--white);
  border: 1px solid rgba(76, 31, 111, 0.09);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
    border-color 0.3s ease;
  overflow: hidden;
}
.programme::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--violet-300), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.programme:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(122, 63, 168, 0.25);
}
.programme:hover::before { transform: scaleX(1); }

.programme__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--lilac-100);
  color: var(--plum-700);
  margin-bottom: 4px;
}
.programme__icon .ic { width: 26px; height: 26px; }
.programme h3 {
  font-size: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.programme h3 span {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet-600);
  font-weight: 700;
}
.programme__tag {
  font-family: var(--font-hand);
  font-size: 1.3rem;
  line-height: 1;
  color: var(--gold-deep);
}
.programme p:not(.programme__tag) {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
  flex: 1;
}
.programme .text-link { margin-top: 6px; }

.programme--feature {
  background: linear-gradient(165deg, var(--plum-800), var(--plum-950));
  border-color: transparent;
}
.programme--feature h3 { color: var(--cream); }
.programme--feature h3 span { color: var(--lilac-300); }
.programme--feature p:not(.programme__tag) { color: rgba(244, 236, 251, 0.78); }
.programme--feature .programme__icon {
  background: rgba(244, 236, 251, 0.12);
  color: var(--gold-soft);
}
.programme--feature .text-link { color: var(--gold-soft); }
.programme--feature .programme__tag { color: var(--gold); }

.programmes__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}
.programmes__note .ic { color: var(--violet-600); width: 20px; height: 20px; }

/* ---------- montessori ---------- */
.montessori {
  background:
    radial-gradient(900px 500px at 90% 0%, rgba(122, 63, 168, 0.35), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(76, 31, 111, 0.55), transparent 65%),
    var(--plum-900);
  color: rgba(244, 236, 251, 0.8);
  overflow: hidden;
}
.montessori__grain {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
.montessori__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.montessori__copy h2 {
  color: var(--cream);
  font-size: clamp(1.95rem, 1.3rem + 2.3vw, 3.1rem);
  margin-bottom: 20px;
}
.montessori__copy > p { max-width: 46ch; color: rgba(244, 236, 251, 0.75); }

.quote {
  position: relative;
  margin-top: 38px;
  padding: 26px 28px 24px 34px;
  border-left: 2px solid rgba(240, 181, 63, 0.55);
  background: rgba(244, 236, 251, 0.05);
  border-radius: 0 18px 18px 0;
}
.quote__mark {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 40px;
  height: 40px;
  color: rgba(240, 181, 63, 0.32);
}
.quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  line-height: 1.45;
  color: var(--cream);
  margin-bottom: 10px;
  padding-right: 64px;
}
.quote cite {
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 600;
}

.areas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.area {
  position: relative;
  padding: 22px 22px 24px;
  border-radius: 18px;
  border: 1px solid rgba(244, 236, 251, 0.13);
  background: rgba(244, 236, 251, 0.045);
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.4s var(--ease);
}
.area:hover {
  background: rgba(244, 236, 251, 0.09);
  border-color: rgba(240, 181, 63, 0.35);
  transform: translateY(-3px);
}
.area__num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 10px;
}
.area h3 {
  color: var(--cream);
  font-size: 1.15rem;
  margin-bottom: 7px;
}
.area p { font-size: 0.85rem; line-height: 1.6; color: rgba(244, 236, 251, 0.7); }
.area--seal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 26px 20px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 30%, rgba(240, 181, 63, 0.16), transparent 62%),
    rgba(244, 236, 251, 0.06);
}
.area--seal .area__seal {
  width: min(62%, 130px);
  height: auto;
  opacity: 0.92;
}
.area--seal .area__seal-text {
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(244, 236, 251, 0.72);
  max-width: 22ch;
}

/* ---------- day rhythm ---------- */
.day { background: var(--lilac-50); }
.rhythm {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}
.rhythm::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 4%;
  right: 4%;
  height: 1px;
  background-image: linear-gradient(90deg, rgba(122, 63, 168, 0.4) 50%, transparent 0);
  background-size: 10px 1px;
  z-index: 0;
}
.rhythm__step { position: relative; z-index: 1; padding-right: 6px; }
.rhythm__num {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid rgba(122, 63, 168, 0.28);
  color: var(--violet-600);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 18px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.4s var(--ease), border-color 0.3s ease;
}
.rhythm__step:hover .rhythm__num {
  background: var(--plum-800);
  border-color: var(--plum-800);
  color: var(--gold-soft);
  transform: translateY(-4px);
}
.rhythm__step h3 { font-size: 1.05rem; margin-bottom: 7px; }
.rhythm__step p { font-size: 0.85rem; line-height: 1.6; color: var(--muted); }

/* ---------- gallery ---------- */
.gallery { background: var(--cream); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(150px, 13.5vw, 210px);
  gap: 14px;
}
.g-item { position: relative; min-height: 0; }
.g-item:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
.g-item:nth-child(2) { grid-column: 2 / 4; grid-row: 1; }
.g-item:nth-child(3) { grid-column: 4; grid-row: 1; }
.g-item:nth-child(4) { grid-column: 2; grid-row: 2; }
.g-item:nth-child(5) { grid-column: 3; grid-row: 2; }
.g-item:nth-child(6) { grid-column: 4; grid-row: 2; }

.g-btn {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: var(--lilac-200);
}
.g-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), filter 0.5s ease;
}
.g-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(32, 9, 47, 0.72));
  opacity: 0.72;
  transition: opacity 0.4s ease;
}
.g-btn:hover img { transform: scale(1.06); }
.g-btn:hover::after { opacity: 0.95; }
.g-cap {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--cream);
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: left;
}
.g-cap .ic { transform: rotate(-45deg); opacity: 0; transition: opacity 0.3s ease, transform 0.4s var(--ease); }
.g-btn:hover .g-cap .ic { opacity: 1; transform: rotate(0deg); }
.g-item:nth-child(1) .g-cap { font-size: 0.95rem; }

/* ---------- milestones ---------- */
.milestones {
  background: linear-gradient(180deg, var(--cream), var(--lilac-100));
}
.milestones__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}
.milestones__photo {
  aspect-ratio: 4 / 4.6;
  overflow: hidden;
  border-radius: var(--arch);
  border: 7px solid var(--white);
  box-shadow: var(--shadow);
}
.milestones__photo img { width: 100%; height: 100%; object-fit: cover; }
.milestones__copy h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.95rem); margin-bottom: 18px; }
.milestones__copy > p { max-width: 48ch; }

.milestone-list { display: grid; gap: 4px; margin-top: 26px; }
.milestone-list li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 13px 0;
  border-bottom: 1px dashed rgba(76, 31, 111, 0.16);
  font-size: 0.92rem;
}
.milestone-list li:last-child { border-bottom: 0; }
.milestone-list .ic {
  width: 20px;
  height: 20px;
  margin-top: 4px;
  color: var(--violet-600);
}
.milestone-list strong { color: var(--plum-800); font-weight: 600; }

/* ---------- admissions ---------- */
.admissions {
  background:
    radial-gradient(800px 500px at 15% 10%, rgba(122, 63, 168, 0.4), transparent 60%),
    radial-gradient(700px 500px at 100% 90%, rgba(240, 181, 63, 0.18), transparent 55%),
    var(--plum-900);
  color: rgba(244, 236, 251, 0.78);
  overflow: hidden;
}
.admissions__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}
.admissions__copy h2 {
  color: var(--cream);
  font-size: clamp(2rem, 1.35rem + 2.4vw, 3.2rem);
  margin-bottom: 18px;
}
.admissions__copy > p { max-width: 46ch; color: rgba(244, 236, 251, 0.75); }

.steps { display: grid; gap: 18px; margin-block: 32px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps__num {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(240, 181, 63, 0.55);
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 2px;
}
.steps h3 { color: var(--cream); font-size: 1.05rem; margin-bottom: 3px; }
.steps p { font-size: 0.88rem; line-height: 1.55; color: rgba(244, 236, 251, 0.68); }

.admissions__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.admissions__media { position: relative; justify-self: center; max-width: 400px; }
.admissions__frame {
  padding: 12px 12px 12px;
  background: var(--cream);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.6deg);
  transition: transform 0.5s var(--ease);
}
.admissions__frame:hover { transform: rotate(0deg) scale(1.01); }
.admissions__frame img { border-radius: 6px; width: 100%; }
.admissions__badge {
  position: absolute;
  right: -22px;
  top: -22px;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--plum-900);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
  transform: rotate(9deg);
  box-shadow: 0 14px 26px -16px rgba(0, 0, 0, 0.6);
}
.admissions__fine {
  margin-top: 16px;
  font-size: 0.78rem;
  text-align: center;
  color: rgba(244, 236, 251, 0.6);
}

/* ---------- contact ---------- */
.contact { background: var(--cream); }
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: stretch;
}
.contact__cards { display: grid; gap: 12px; align-content: start; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid rgba(76, 31, 111, 0.09);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), border-color 0.3s ease, box-shadow 0.35s ease;
}
a.contact-card:hover {
  transform: translateX(4px);
  border-color: rgba(122, 63, 168, 0.3);
  box-shadow: var(--shadow);
}
.contact-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  background: var(--lilac-100);
  color: var(--plum-700);
}
.contact-card__icon .ic { width: 21px; height: 21px; }
.contact-card span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact-card small {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet-600);
  font-weight: 700;
}
.contact-card strong {
  font-size: 0.95rem;
  color: var(--plum-900);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.contact-card em {
  font-style: normal;
  font-size: 0.74rem;
  color: var(--gold-deep);
  font-weight: 600;
}
.contact-card__email { letter-spacing: -0.01em; }
@media (max-width: 560px) {
  .contact-card__email { font-size: 0.79rem; }
}
.contact-card__go { margin-left: auto; color: var(--violet-600); opacity: 0.5; transition: opacity 0.3s ease, transform 0.3s var(--ease); }
a.contact-card:hover .contact-card__go { opacity: 1; transform: translateX(3px); }

.contact__map {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(76, 31, 111, 0.1);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  min-height: 340px;
}
.contact__map-canvas {
  position: relative;
  flex: 1;
  min-height: 280px;
  background: var(--lilac-100);
}
.contact__map-canvas iframe {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.85) hue-rotate(-8deg);
}
.map-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.map-fallback svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pin {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--plum-800);
  color: var(--cream);
  box-shadow: 0 14px 24px -12px rgba(43, 15, 66, 0.7), 0 0 0 9px rgba(255, 255, 255, 0.55);
  margin-top: -34px;
}
.map-pin .ic { width: 25px; height: 25px; }
.map-fallback__label {
  position: absolute;
  bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--plum-800);
}
.contact__map-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid rgba(76, 31, 111, 0.08);
}
.contact__map-foot span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--muted);
}
.contact__map-foot .ic { color: var(--violet-600); width: 16px; height: 16px; }

/* ---------- enquiry ---------- */
.enquiry {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(26px, 4vw, 56px);
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(26px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 300px at 110% -20%, rgba(240, 181, 63, 0.15), transparent 60%),
    var(--lilac-100);
  border: 1px solid rgba(122, 63, 168, 0.14);
}
.enquiry__copy h3 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  margin-block: 6px 12px;
}
.enquiry__copy p { font-size: 0.92rem; color: var(--muted); max-width: 34ch; }

.enquiry__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--plum-800);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(76, 31, 111, 0.16);
  background: var(--white);
  font-size: 0.9rem;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1.5 7 7.5l6-6' fill='none' stroke='%237a3fa8' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input::placeholder,
.field textarea::placeholder { color: #a294ab; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--violet-600);
  box-shadow: 0 0 0 3px rgba(122, 63, 168, 0.14);
}
.field.is-invalid input,
.field.is-invalid select { border-color: #c0392b; }

.enquiry__submit {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.enquiry__hint { font-size: 0.74rem; color: var(--muted); max-width: 34ch; line-height: 1.45; }
.form-status {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  color: var(--leaf);
  min-height: 0;
}
.form-status.is-error { color: #b03a2e; }

/* ---------- footer ---------- */
.site-footer { background: var(--plum-950); color: rgba(244, 236, 251, 0.7); }
.site-footer__top { padding-block: clamp(50px, 6vw, 80px); }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr 1fr;
  gap: clamp(28px, 4vw, 56px);
}
.brand--footer { align-items: center; margin-bottom: 18px; }
.brand--footer .brand__seal { width: 62px; height: 62px; }
.brand--footer .brand__name { color: var(--cream); font-size: 1.3rem; }
.brand--footer .brand__sub { color: var(--lilac-300); font-size: 0.6rem; }
.site-footer__brand p { font-size: 0.88rem; max-width: 34ch; line-height: 1.65; }
.site-footer__social { display: flex; gap: 10px; margin-top: 20px; }
.site-footer__social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(244, 236, 251, 0.18);
  color: var(--lilac-200);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s var(--ease), border-color 0.3s ease;
}
.site-footer__social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--plum-900);
  transform: translateY(-3px);
}
.site-footer__social .ic { width: 18px; height: 18px; }

.site-footer__links { display: flex; flex-direction: column; gap: 10px; }
.site-footer__links h3,
.site-footer__contact h3 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 700;
  margin-bottom: 8px;
}
.site-footer__links a {
  font-size: 0.88rem;
  color: rgba(244, 236, 251, 0.68);
  width: fit-content;
  transition: color 0.2s ease, transform 0.25s var(--ease);
}
.site-footer__links a:hover { color: var(--cream); transform: translateX(3px); }

.site-footer__contact p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 12px; }
.site-footer__contact p span { color: var(--gold-soft); }
.site-footer__contact a {
  display: block;
  font-size: 0.88rem;
  color: rgba(244, 236, 251, 0.82);
  margin-bottom: 6px;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}
.site-footer__contact a:hover { color: var(--gold-soft); }

.site-footer__bottom {
  border-top: 1px solid rgba(244, 236, 251, 0.1);
  padding-block: 20px;
  font-size: 0.76rem;
  color: rgba(244, 236, 251, 0.5);
}
.site-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

/* ---------- dock / to-top / lightbox ---------- */
.dock {
  position: fixed;
  z-index: 70;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dock__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: var(--cream);
  box-shadow: 0 12px 24px -12px rgba(32, 9, 47, 0.7);
  transition: transform 0.35s var(--ease), background 0.3s ease;
}
.dock__btn span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.dock__btn:hover { transform: translateY(-3px) scale(1.05); }
.dock__btn--call { background: var(--plum-800); }
.dock__btn--call:hover { background: var(--plum-700); }
.dock__btn--wa { background: #3fae5a; }
.dock__btn--wa:hover { background: #47bc63; }
.dock__btn .ic { width: 22px; height: 22px; }

.to-top {
  position: fixed;
  z-index: 69;
  right: 18px;
  bottom: 134px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  color: var(--plum-800);
  border: 1px solid rgba(76, 31, 111, 0.14);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease), visibility 0.3s, background 0.3s ease, color 0.3s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--plum-800); color: var(--cream); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: clamp(16px, 3vw, 40px);
  background: rgba(24, 7, 36, 0.94);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.lightbox__figure img {
  max-width: min(100%, 1100px);
  max-height: 78vh;
  width: auto;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.lightbox__figure figcaption {
  font-size: 0.85rem;
  color: var(--lilac-200);
  text-align: center;
  max-width: 60ch;
}
.lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(244, 236, 251, 0.12);
  color: var(--cream);
  transition: background 0.25s ease, transform 0.3s var(--ease);
}
.lightbox__close:hover { background: rgba(244, 236, 251, 0.22); transform: rotate(90deg); }
.lightbox__close .ic { width: 22px; height: 22px; }
.lightbox__nav {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(244, 236, 251, 0.1);
  color: var(--cream);
  transition: background 0.25s ease, transform 0.3s var(--ease);
}
.lightbox__nav:hover { background: var(--gold); color: var(--plum-900); }
.lightbox__nav .ic { width: 24px; height: 24px; }
.lightbox__nav--prev .ic { transform: rotate(180deg); }

/* ---------- reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--d, 0) * 80ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); }
  .programme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .programme-grid .programme { padding: 26px 24px; }
  .montessori__grid { grid-template-columns: 1fr; }
  .montessori__copy { max-width: 720px; }
  .areas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .area--seal { grid-column: span 3; flex-direction: row; }
  .rhythm { grid-template-columns: repeat(3, 1fr); gap: 26px 20px; }
  .rhythm::before { display: none; }
  .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .site-footer__contact { grid-column: 2 / 4; }
}

@media (max-width: 960px) {
  html { scroll-padding-top: 80px; }
  /* backdrop-filter would become the containing block for the fixed drawer */
  .site-header {
    backdrop-filter: none;
    background: rgba(253, 249, 244, 0.98);
  }
  .utility-bar__right span:last-child { font-size: 0.72rem; }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 86vw);
    z-index: 85;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    padding: 92px 28px 34px;
    background: var(--cream);
    box-shadow: -30px 0 60px -30px rgba(32, 9, 47, 0.6);
    transform: translateX(102%);
    transition: transform 0.45s var(--ease);
    overflow-y: auto;
    visibility: hidden;
  }
  .nav.is-open { transform: translateX(0); visibility: visible; }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 4px; }
  .nav__list a {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 500;
    padding: 10px 0;
    letter-spacing: -0.02em;
  }
  .nav__list a::after { bottom: 6px; height: 1.5px; }
  .nav__footer { display: flex; flex-direction: column; gap: 14px; }
  .nav__phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--plum-800);
    font-weight: 600;
  }
  .nav-toggle { display: inline-flex; }
  .site-header__actions .btn--sm { display: none; }
  .site-header__inner { min-height: 72px; }
  .site-header.is-scrolled .site-header__inner { min-height: 64px; }

  .hero__grid { grid-template-columns: 1fr; gap: 54px; }
  .hero__copy { max-width: 640px; }
  .hero__art { max-width: 560px; width: 100%; margin-inline: auto; }
  .hero__main { aspect-ratio: 4 / 3.4; }
  .hero h1 .accent { white-space: normal; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 26px 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(-n + 2) { padding-bottom: 26px; border-bottom: 1px solid rgba(76, 31, 111, 0.12); }
  .about__grid,
  .milestones__grid { grid-template-columns: 1fr; gap: 46px; }
  .about__media { max-width: 520px; }
  .about__copy h2 { max-width: 20ch; }
  .section-head { grid-template-columns: 1fr; align-items: start; gap: 20px; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__map { min-height: 320px; }
  .enquiry { grid-template-columns: 1fr; }
  .admissions__grid { grid-template-columns: 1fr; }
  .admissions__media { margin-top: 12px; }
  .admissions__copy h2 { max-width: 18ch; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .g-item:nth-child(n) { grid-column: auto; grid-row: auto; }
  .g-item:nth-child(1) { grid-row: span 2; }
  .g-item:nth-child(4) { grid-row: span 2; }
}

@media (max-width: 720px) {
  :root { --section-y: clamp(52px, 11vw, 76px); }
  .utility-bar__left { gap: 14px; }
  .utility-bar__hide-sm { display: none !important; }
  .utility-bar__inner { justify-content: center; }
  .utility-bar__right { display: none; }
  .brand__name { font-size: 1.05rem; }
  .brand__sub { font-size: 0.54rem; letter-spacing: 0.1em; }
  .brand__seal { width: 46px; height: 46px; }
  .site-header.is-scrolled .brand__seal { width: 42px; height: 42px; }
  .hero { padding-top: 30px; }
  .hero__facts { grid-template-columns: 1fr 1fr; gap: 12px 14px; }
  .hero__facts li { font-size: 0.79rem; }
  .hero__inset { width: 104px; left: -6px; bottom: -12px; }
  .sticker { width: 116px; height: 116px; top: -14px; right: -2px; padding: 10px; }
  .sticker__big { font-size: 1.15rem; }
  .sticker__small { font-size: 0.47rem; letter-spacing: 0.07em; }
  .hero__badge { padding: 9px 14px 9px 9px; }
  .hero__badge img { width: 36px; height: 36px; }
  .hero__badge p { font-size: 0.64rem; }
  .hero__arc { width: 160px; height: 160px; left: -40px; bottom: 24px; }
  .programme-grid { grid-template-columns: 1fr; }
  .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area--seal { grid-column: span 2; }
  .rhythm { grid-template-columns: 1fr; gap: 22px; }
  .rhythm__step { display: grid; grid-template-columns: 54px 1fr; column-gap: 16px; }
  .rhythm__num { grid-row: span 2; margin-bottom: 0; }
  .rhythm__step h3 { align-self: end; }
  .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .g-item:nth-child(n) { grid-row: span 1; }
  .g-item:nth-child(1) { grid-row: span 2; }
  .enquiry__form { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__contact { grid-column: 1 / -1; }
  .site-footer__bottom-inner { flex-direction: column; gap: 4px; }
  .about__stamp { width: 104px; height: 104px; left: -8px; top: 14px; }
  .about__stamp .hand { font-size: 1rem; }
  .about__photo-small { width: 52%; right: -6px; }
  .admissions__badge { width: 80px; height: 80px; font-size: 0.78rem; right: -10px; }
  .lightbox { grid-template-columns: 1fr; grid-template-rows: 1fr auto; gap: 8px; }
  .lightbox__figcaption { padding-inline: 8px; }
  .lightbox__nav { position: absolute; bottom: 18px; z-index: 2; }
  .lightbox__nav--prev { left: 18px; }
  .lightbox__nav--next { right: 18px; }
  .lightbox__figure img { max-height: 70vh; }
  .to-top { bottom: auto; top: 96px; right: 14px; }
  .dock { right: 50%; transform: translateX(50%); bottom: 12px; flex-direction: row; }
  .dock__btn { width: 54px; height: 54px; }
  body { padding-bottom: 84px; }
  .lightbox { padding-bottom: 92px; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 2.35rem; }
  .stats__grid { grid-template-columns: 1fr; gap: 0; }
  .stat { border-left: 0; padding: 18px 0; border-bottom: 1px solid rgba(76, 31, 111, 0.12); }
  .stat:first-child { padding-top: 0; }
  .stat:last-child { border-bottom: 0; padding-bottom: 0; }
  .stat:nth-child(-n + 2) { padding-bottom: 18px; }
  .areas { grid-template-columns: 1fr; }
  .area--seal { grid-column: auto; }
}

/* ---------- motion + print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}

@media print {
  .site-header, .utility-bar, .dock, .to-top, .marquee, .lightbox, .nav-scrim { display: none !important; }
  body { background: #fff; }
  .reveal { opacity: 1; transform: none; }
  .montessori, .admissions { background: #fff !important; color: #222 !important; }
  .montessori h2, .area h3, .admissions h2, .steps h3, .quote p { color: #222 !important; }
}

