/* ==========================================================================
   Amaze Special Early Education Centre
   1. Tokens  2. Base  3. Utilities  4. Buttons  5. Header  6. Sections
   7. Motion  8. Responsive
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* Brand palette (sampled from the supplied design) */
  --navy: #37237a;
  --pink: #ff6685;
  --pink-soft: #fcc5d1;
  --cream: #ffedbd;
  --teal: #00cdb8;
  --purple: #6d64ff;
  --yellow: #ffc211;
  --mint: #86efe3;
  --lilac: #d4d0ff;

  /* Darker "ink" variants of the accents, used for text so it meets WCAG AA */
  --pink-ink: #c8234f;
  --pink-display: #e8436a; /* large display text only (3.3:1 on cream) */
  --teal-ink: #00756a;
  --purple-ink: #4a40d4;
  --yellow-ink: #8a5800;
  --btn-pink: #c8234f;
  --btn-pink-hover: #ad1b42;

  --text: #2a2440;
  --text-muted: #4b4566;
  --white: #fff;

  /* Type */
  --font-display: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.3125rem);
  --fs-h1: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem);
  --fs-h2: clamp(2rem, 1.55rem + 1.9vw, 3.1rem);
  --fs-h3: clamp(1.2rem, 1.12rem + 0.35vw, 1.4rem);

  /* Space & shape */
  --gutter: clamp(16px, 4vw, 40px);
  --container: 1240px;
  --section-y: clamp(56px, 6.5vw, 96px);
  --radius-sm: 16px;
  --radius: 28px;
  --radius-lg: clamp(32px, 4vw, 52px);
  --header-h: 80px;

  /* Elevation */
  --shadow-soft: 0 10px 30px -12px rgba(55, 35, 122, 0.22);
  --shadow-lift: 0 18px 40px -14px rgba(55, 35, 122, 0.32);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.45, 0.64, 1);
  --dur-fast: 180ms;
  --dur: 320ms;
  --dur-reveal: 800ms;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--navy);
  letter-spacing: -0.005em;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
[role="list"] { list-style: none; }

a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 6px;
}

address { font-style: normal; }

/* 3. Utilities ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: calc(1080px + var(--gutter) * 2); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform var(--dur) var(--ease-out);
}
.skip-link:focus { transform: none; }

.section { position: relative; padding-block: var(--section-y); }

.section-title {
  font-size: var(--fs-h2);
  font-weight: 700;
  text-align: center;
}
.section-title--left { text-align: left; }

.section-head { max-width: 980px; margin-inline: auto; text-align: center; }

.section-intro {
  margin-top: clamp(16px, 2vw, 24px);
  font-size: var(--fs-lead);
  color: var(--text-muted);
}

.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* Decorative background elements */
.deco {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  height: auto;
}

/* 4. Buttons --------------------------------------------------------------- */
.btn {
  --btn-bg: var(--btn-pink);
  --btn-fg: var(--white);
  --btn-bg-hover: var(--btn-pink-hover);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0.7em 1.6em;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 16px -8px rgba(55, 35, 122, 0.35);
  transition:
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur) var(--ease-out),
    background-color var(--dur) var(--ease-out),
    color var(--dur) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}

.btn:hover {
  background: var(--btn-bg-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(55, 35, 122, 0.45);
}
.btn:active { transform: translateY(0) scale(0.97); transition-duration: 80ms; }

.btn--pink { /* default */ }
.btn--white { --btn-bg: var(--white); --btn-fg: var(--pink-ink); --btn-bg-hover: #fff6f8; }
.btn--cream { --btn-bg: var(--cream); --btn-fg: var(--pink-ink); --btn-bg-hover: #ffe39b; box-shadow: none; }
.btn--navy { --btn-bg: var(--navy); --btn-bg-hover: #2a1a62; }
.btn--sm { min-height: 44px; padding: 0.55em 1.15em; font-size: 0.9375rem; }
.btn--lg { min-height: 56px; padding: 0.8em 1.8em; font-size: 1.125rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

/* 5. Header ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white); /* solid: the supplied logo has a white background */
  transition: box-shadow var(--dur) var(--ease-out);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(55, 35, 122, 0.35); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
}

.brand { flex: none; margin-right: auto; border-radius: 10px; }
.brand img { width: clamp(132px, 14vw, 196px); }

/* Desktop-only "Home" link beside the logo (the logo also links home) */
.home-link { display: none; }
@media (min-width: 1024px) {
  .brand { margin-right: 0; }
  .home-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin: 0 auto 0 clamp(20px, 3vw, 44px);
    padding-inline: 4px;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    border-radius: 8px;
  }
  .home-link::after {
    content: "";
    position: absolute;
    left: 4px; right: 4px; bottom: 6px;
    height: 3px;
    border-radius: 3px;
    background: var(--pink);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur) var(--ease-out);
  }
  .home-link:hover::after,
  .home-link[aria-current="page"]::after { transform: scaleX(1); }
}

.primary-nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); }

.nav-list { display: flex; gap: clamp(4px, 1vw, 12px); list-style: none; }

.nav-list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 10px;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--navy);
  text-decoration: none;
  border-radius: 999px;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px; bottom: 6px;
  height: 3px;
  border-radius: 3px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.nav-list a:hover::after,
.nav-list a[aria-current="location"]::after { transform: scaleX(1); }

.nav-actions { display: flex; gap: 12px; }
.nav-contact { display: none; }

.header-cta { display: none; }

.nav-toggle {
  display: none;
  place-items: center;
  width: 48px; height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  color: var(--navy);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease-out);
}
.nav-toggle:hover { background: #ffe39b; }
.nav-toggle__bars { position: relative; display: block; width: 22px; height: 16px; }
.nav-toggle__bars span {
  position: absolute; left: 0;
  width: 100%; height: 2.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 50%; margin-top: -1.25px; }
.nav-toggle__bars span:nth-child(3) { bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6.75px) rotate(-45deg); }

/* 6. Sections -------------------------------------------------------------- */

/* Hero */
.hero {
  position: relative;
  padding-block: clamp(40px, 6vw, 72px) clamp(110px, 12vw, 170px);
  background: var(--cream);
  border-radius: 0 0 50% 50% / 0 0 clamp(36px, 6vw, 90px) clamp(36px, 6vw, 90px);
  overflow: hidden;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero-title { font-size: var(--fs-h1); font-weight: 700; line-height: 1.08; }
.hero-title__accent {
  display: block;
  margin-top: 0.08em;
  font-size: 1.32em;
  color: var(--pink-display);
  letter-spacing: 0.01em;
}

.hero-lead {
  margin-top: clamp(18px, 2.4vw, 28px);
  font-size: var(--fs-lead);
  font-weight: 600;
  color: var(--navy);
}
.hero-text {
  margin-top: 12px;
  max-width: 34em;
  font-size: var(--fs-lead);
  color: var(--text-muted);
}
.hero .btn-row { margin-top: clamp(24px, 3vw, 34px); }

.call-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border-radius: 999px;
}
.call-link .icon { color: var(--pink-ink); font-size: 1.1em; transition: transform var(--dur) var(--ease-spring); }
.call-link__num { color: var(--pink-ink); }
.call-link:hover .icon { transform: rotate(-14deg) scale(1.12); }
.call-link:hover .call-link__num { text-decoration: underline; }

.hero-media {
  position: relative;
  margin-inline: auto;
  width: min(100%, 600px);
  padding: 6% 4% 8%;
}
.hero-media__frame {
  position: relative;
  z-index: 1;
  aspect-ratio: 1 / 0.92;
  overflow: hidden;
  border-radius: 52% 48% 46% 54% / 46% 52% 48% 54%;
  box-shadow: var(--shadow-lift);
  background: var(--pink-soft);
}
.hero-media__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}
.hero-media__ring {
  position: absolute;
  inset: 3% 1% 5% 7%;
  z-index: 2;
  border: 2.5px dashed rgba(255, 255, 255, 0.95);
  border-radius: 50% 50% 46% 54% / 48% 52% 48% 52%;
  pointer-events: none;
}
.hero-media__wave {
  position: absolute;
  top: 0; left: 14%;
  width: 54%; aspect-ratio: 2.4;
  background: var(--purple);
  border-radius: 60% 40% 70% 30% / 70% 60% 40% 30%;
  transform: rotate(-8deg);
}
.hero-media__swoosh {
  position: absolute;
  right: 6%; bottom: 3%;
  width: 46%; aspect-ratio: 3.2;
  background: var(--teal);
  border-radius: 20% 80% 60% 40% / 40% 70% 30% 60%;
  transform: rotate(-12deg);
}
.hero-badge {
  position: absolute;
  z-index: 3;
  top: 14%; left: -3%;
  width: clamp(92px, 21%, 132px);
  filter: drop-shadow(0 8px 16px rgba(55, 35, 122, 0.18));
}
.character { position: absolute; z-index: 3; pointer-events: auto; }
.character--pink { left: -1%; bottom: 0; width: clamp(96px, 23%, 148px); }
.character--yellow { right: -2%; bottom: 1%; width: clamp(86px, 20%, 128px); }
.deco--hero-1 { top: 8%; left: 41%; width: 70px; opacity: 0.85; }
.deco--hero-2 { top: 46%; left: 1.5%; width: 46px; }
.deco--hero-3 { top: 58%; left: 43%; width: 46px; }
.deco--hero-4 { bottom: 16%; left: 38%; width: 100px; }
.deco--hero-5 { top: 9%; right: 3%; width: 76px; }
.deco--hero-6 { top: 52%; right: 2%; width: 70px; }

/* What Makes Amaze Special */
.special { padding-top: 0; margin-top: calc(-1 * clamp(64px, 8vw, 110px)); z-index: 2; }

.special-panel {
  position: relative;
  padding: clamp(36px, 5vw, 60px) clamp(16px, 2.4vw, 32px) clamp(28px, 3vw, 40px);
  background: var(--pink-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.special-panel > * { position: relative; z-index: 1; }
.special-panel > .deco { position: absolute; z-index: 0; }
.deco--special-1 { top: 18px; left: 26px; width: 64px; }
.deco--special-2 { top: 10px; right: 26%; width: 70px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
  margin-top: clamp(64px, 7vw, 92px);
}

.feature-card {
  --accent: var(--pink);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 72px clamp(18px, 1.8vw, 26px) 30px;
  text-align: center;
  background: var(--cream);
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }

.feature-card__icon {
  position: absolute;
  top: -50px; left: 50%;
  display: grid;
  place-items: center;
  width: 104px; height: 104px;
  margin-left: -52px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 7px var(--pink-soft);
  transition: transform var(--dur) var(--ease-spring);
}
.feature-card__icon img { width: 62%; }
.feature-card:hover .feature-card__icon { transform: translateY(-4px) rotate(-6deg); }

.feature-card h3 { font-size: var(--fs-h3); }
.feature-card p { margin-top: 12px; color: var(--text-muted); }

/* Every Child is Welcome Here */
.welcome { padding-bottom: clamp(32px, 4vw, 56px); }
.deco--welcome-1 { top: 6%; right: 9%; width: 100px; }

.need-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(36px, 4.5vw, 56px);
}

.need-card {
  --accent: var(--pink);
  --ink: var(--pink-ink);
  flex: 1 1 200px;
  max-width: 236px;
  padding: 26px 22px 30px;
  background: var(--cream);
  border-radius: 26px;
  box-shadow: 7px 7px 0 var(--accent);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.need-card:hover { transform: translate(-3px, -3px); box-shadow: 10px 10px 0 var(--accent); }
.need-card h3 { font-size: var(--fs-h3); color: var(--ink); }
.need-card p { margin-top: 12px; line-height: 1.55; }

/* We Also Support */
.support { padding-top: clamp(40px, 5vw, 64px); }
.deco--support-1 { top: 8%; left: 10%; width: 90px; }
.deco--support-2 { top: 6%; right: 12%; width: 100px; }

.chip-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 16px;
  margin-top: clamp(28px, 3.5vw, 44px);
}
.chip-list li {
  padding: 0.8em 1.5em;
  background: var(--cream);
  border-radius: 999px;
  font-weight: 700;
  font-size: clamp(0.98rem, 0.93rem + 0.25vw, 1.15rem);
  line-height: 1.3;
  color: var(--navy);
  text-align: center;
}

.support-note {
  max-width: 54em;
  margin: clamp(32px, 4vw, 48px) auto 0;
  font-size: var(--fs-lead);
  text-align: center;
  color: var(--text-muted);
}

/* How to Enrol */
.deco--enrol-1 { top: 2%; left: 11%; width: 74px; }
.deco--enrol-2 { top: 0; right: 13%; width: 96px; }

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 32px);
  margin-top: clamp(36px, 5vw, 64px);
  counter-reset: step;
}

.step-card {
  --accent: var(--pink);
  --ink: var(--pink-ink);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px 22px 30px;
  background: var(--cream);
  border-radius: 36px;
  box-shadow: 7px 7px 0 var(--accent);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.step-card:hover { transform: translate(-3px, -3px); box-shadow: 10px 10px 0 var(--accent); }

.step-card__num {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
}
.step-card__img {
  width: 86%;
  aspect-ratio: 480 / 400;
  object-fit: contain;
  margin: 6px auto 0;
  transition: transform var(--dur) var(--ease-out);
}
.step-card:hover .step-card__img { transform: scale(1.04); }
.step-card h3 { margin-top: 16px; font-size: var(--fs-h3); color: var(--ink); }
.step-card p { margin-top: 10px; line-height: 1.55; }

/* Key Numbers */
.numbers { padding-top: clamp(16px, 2vw, 32px); padding-bottom: clamp(24px, 3vw, 48px); }
.deco--numbers-1 { bottom: 4%; left: 4%; width: 100px; }
.deco--faq-1 { top: 4%; right: 8%; width: 96px; }
.footer__body { position: relative; }
.deco--footer-1 { top: -20px; right: 7%; width: 90px; }
.deco--numbers-2 { top: 0; left: 6%; width: 90px; transform: rotate(-30deg); }

.number-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 2vw, 28px);
  max-width: 1120px;
  margin: clamp(32px, 4vw, 52px) auto 0;
}

.number-cloud {
  --bg: var(--pink-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 260 / 220;
  padding: 10% 14% 6%;
  text-align: center;
  background: var(--bg);
  border-radius: 46%; /* fallback when masks are unsupported */
  /* Inline cloud shape: an external SVG mask is blocked when the page is opened via file:// */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 220'%3E%3Cg fill='%23000'%3E%3Ccircle cx='72' cy='118' r='62'/%3E%3Ccircle cx='132' cy='72' r='66'/%3E%3Ccircle cx='192' cy='116' r='62'/%3E%3Ccircle cx='128' cy='150' r='66'/%3E%3Ccircle cx='84' cy='164' r='44'/%3E%3Ccircle cx='180' cy='164' r='44'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 220'%3E%3Cg fill='%23000'%3E%3Ccircle cx='72' cy='118' r='62'/%3E%3Ccircle cx='132' cy='72' r='66'/%3E%3Ccircle cx='192' cy='116' r='62'/%3E%3Ccircle cx='128' cy='150' r='66'/%3E%3Ccircle cx='84' cy='164' r='44'/%3E%3Ccircle cx='180' cy='164' r='44'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
@supports (mask-image: url("x.svg")) or (-webkit-mask-image: url("x.svg")) {
  .number-cloud { border-radius: 0; }
}
.number-cloud--low { margin-top: clamp(24px, 4vw, 56px); }

.number-cloud dd {
  order: -1;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem);
  line-height: 1;
  color: var(--navy);
}
.number-cloud dd small { font-size: 0.48em; font-weight: 600; }
.number-cloud dt {
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(0.92rem, 0.82rem + 0.45vw, 1.25rem);
  line-height: 1.2;
  color: var(--text);
}

/* Have a Peek Inside */
.peek {
  position: relative;
  padding-bottom: clamp(24px, 3vw, 48px);
}
.peek__edge { width: 100%; height: clamp(44px, 7vw, 110px); margin-bottom: -1px; fill: var(--pink-soft); }
.peek__body {
  position: relative;
  padding-top: clamp(20px, 3vw, 40px);
  background:
    linear-gradient(var(--pink-soft), var(--pink-soft)) top / 100% calc(100% - clamp(150px, 16vw, 220px)) no-repeat;
}
.peek__body::after { /* soft curved lower edge of the pink band */
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: calc(clamp(150px, 16vw, 220px) - clamp(30px, 5vw, 70px));
  height: clamp(60px, 10vw, 140px);
  background: var(--pink-soft);
  border-radius: 0 0 50% 50%;
  z-index: 0;
}
.deco--peek-1 { top: -30px; left: 44%; width: 90px; z-index: 1; }

.peek-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.peek-lead { margin-top: 18px; font-size: var(--fs-lead); font-weight: 700; color: var(--navy); }
.peek-copy p + p { margin-top: 10px; font-size: var(--fs-lead); color: var(--text); }

.peek-media { position: relative; padding: 2% 6% 6% 2%; }
.peek-media__frame {
  position: relative;
  z-index: 1;
  aspect-ratio: 1400 / 900;
  overflow: hidden;
  border-radius: 46% 54% 50% 50% / 58% 50% 50% 42%;
  box-shadow: var(--shadow-lift);
  outline: 2.5px dashed rgba(255, 255, 255, 0.95);
  outline-offset: -14px;
}
.peek-media__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.peek-media:hover .peek-media__frame img { transform: scale(1.04); }
.peek-media__swoosh {
  position: absolute;
  top: 8%; right: 0;
  width: 26%; aspect-ratio: 0.8;
  background: var(--teal);
  border-radius: 30% 70% 60% 40% / 50% 40% 60% 50%;
}
.deco--peek-star { left: -4%; bottom: 8%; width: 76px; z-index: 2; }
.character--green { right: -1%; bottom: -4%; width: clamp(92px, 22%, 150px); }

.space-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(18px, 2.4vw, 30px) clamp(18px, 2.4vw, 30px) clamp(26px, 3vw, 40px);
  background: var(--cream);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.space-card { text-align: center; }
.space-card__img {
  overflow: hidden;
  aspect-ratio: 5 / 4;
  border-radius: 24px;
  background: var(--pink-soft);
}
.space-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}
.space-card:hover .space-card__img img { transform: scale(1.06); }
.space-card h3 { margin-top: 18px; font-size: var(--fs-h3); }
.space-card p { margin-top: 8px; line-height: 1.55; color: var(--text-muted); }

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  align-items: start;
  gap: clamp(32px, 5vw, 80px);
}
.faq-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-aside p { margin-block: 14px 26px; font-size: var(--fs-lead); color: var(--text-muted); max-width: 22em; }
.faq-marks { display: flex; align-items: flex-end; gap: 4px; margin-bottom: 14px; }
.faq-marks img:first-child { width: 96px; }
.faq-marks img:last-child { width: 72px; }

.accordion { display: grid; gap: 14px; }

.accordion__item {
  --accent: var(--pink);
  position: relative;
  background: var(--white);
  border: 2px solid color-mix(in srgb, var(--accent) 40%, white);
  border-radius: 24px;
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.accordion__item:hover { box-shadow: var(--shadow-soft); }
.accordion__item.is-open {
  background: color-mix(in srgb, var(--accent) 12%, white);
  border-color: var(--accent);
}

.accordion__trigger {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 68px;
  padding: 16px 22px 16px 26px;
  border: 0;
  background: none;
  border-radius: 22px;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.04rem + 0.3vw, 1.3rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
}
.accordion__trigger::before {
  content: "";
  flex: none;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
}
.accordion__icon {
  position: relative;
  flex: none;
  width: 36px; height: 36px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--cream);
  transition: transform var(--dur) var(--ease-out), background-color var(--dur);
}
.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 2.5px;
  margin: -1.25px 0 0 -7px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform var(--dur) var(--ease-out);
}
.accordion__icon::after { transform: rotate(90deg); }
.accordion__trigger[aria-expanded="true"] .accordion__icon { transform: rotate(180deg); background: var(--white); }
.accordion__trigger[aria-expanded="true"] .accordion__icon::after { transform: rotate(0deg); }

.accordion__inner { padding-inline: 54px 26px; }
.accordion__inner p { padding-bottom: 24px; color: var(--text); }

/* Panels are only collapsed once JS is running, so answers stay readable without it */
.js .accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows var(--dur) var(--ease-out), visibility 0s linear var(--dur);
}
.js .accordion__panel > .accordion__inner { overflow: hidden; min-height: 0; }
.js .accordion__item.is-open .accordion__panel {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows var(--dur) var(--ease-out), visibility 0s;
}

/* Enrolments CTA */
.cta { padding-top: clamp(16px, 2vw, 32px); padding-bottom: 0; }
.cta-panel {
  position: relative;
  padding: clamp(40px, 5vw, 64px) clamp(20px, 12vw, 190px);
  text-align: center;
  background: var(--cream);
  border-radius: var(--radius-lg);
}
.cta-text { max-width: 30em; margin: 16px auto 28px; font-size: var(--fs-lead); }
.character--cta-left { left: clamp(10px, 3vw, 56px); bottom: 28px; width: clamp(84px, 9vw, 130px); }
.character--cta-right { right: clamp(10px, 3vw, 56px); bottom: 28px; width: clamp(78px, 8.5vw, 124px); }

.contact-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px clamp(24px, 4vw, 48px);
  margin-top: clamp(22px, 3vw, 34px);
}
.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 0.95rem + 1.4vw, 2.1rem);
  color: var(--text);
  text-decoration: none;
  overflow-wrap: anywhere;
  border-radius: 12px;
}
.contact-list a:hover > span:last-child { text-decoration: underline; text-decoration-color: var(--pink); }
.contact-list__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 1.4em; height: 1.4em;
  border: 2px solid var(--pink);
  border-radius: 50%;
  color: var(--pink-ink);
  transition: background-color var(--dur), color var(--dur);
}
.contact-list__icon svg { width: 55%; fill: currentColor; }
.contact-list a:hover .contact-list__icon { background: var(--pink-ink); border-color: var(--pink-ink); color: var(--white); }

/* Footer */
.site-footer { margin-top: clamp(32px, 4vw, 56px); }
.footer__edge { width: 100%; height: clamp(40px, 6vw, 100px); margin-bottom: -1px; fill: var(--pink-soft); }
.footer__body { padding-block: clamp(24px, 4vw, 48px) 28px; background: var(--pink-soft); }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}
.footer-logo { justify-self: center; border-radius: 24px; transition: transform var(--dur) var(--ease-out); }
.footer-logo:hover { transform: rotate(-2deg) scale(1.03); }
.footer-logo img { width: clamp(220px, 26vw, 360px); }

.footer-info address { font-size: var(--fs-lead); line-height: 1.5; }
.footer-info address a { display: inline-block; padding-block: 10px; }
.footer-info a { text-decoration-color: transparent; transition: text-decoration-color var(--dur); }
.footer-info a:hover { text-decoration-color: currentColor; }

.social { display: flex; gap: 12px; margin-top: 18px; }
.social[hidden] { display: none; }
.social a { display: block; width: 48px; height: 48px; border-radius: 50%; transition: transform var(--dur) var(--ease-spring); }
.social a:hover { transform: translateY(-3px) scale(1.06); }

.copyright {
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: 22px;
  border-top: 1px solid rgba(42, 36, 64, 0.55);
  text-align: center;
  font-size: 0.98rem;
}

/* 7. Motion ---------------------------------------------------------------- */
/* Hidden states only apply once main.js confirms IntersectionObserver works and
   motion is allowed, so content is never trapped invisible. */
.has-motion [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity var(--dur-reveal) var(--ease-out),
    transform var(--dur-reveal) var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.has-motion [data-reveal="zoom"] { transform: scale(0.94); }
.has-motion [data-reveal="pop"] {
  transform: scale(0.82);
  transition-timing-function: var(--ease-out), var(--ease-spring);
}
.has-motion [data-reveal].is-visible { opacity: 1; transform: none; }

@keyframes wiggle {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-7deg); }
  60% { transform: rotate(5deg); }
}
.character { transform-origin: 50% 90%; }

/* Ambient element animation (CSS only).
   Uses the individual `translate` / `rotate` / `scale` properties so it layers on top of
   any `transform` already set by layout, hover or scroll-reveal styles without clobbering it.
   Only runs when the visitor allows motion. */
@keyframes float-y   { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes float-xy  { 0%, 100% { translate: 0 0; } 33% { translate: 6px -10px; } 66% { translate: -5px -4px; } }
@keyframes sway      { 0%, 100% { rotate: -6deg; } 50% { rotate: 6deg; } }
@keyframes spin-slow { to { rotate: 360deg; } }
@keyframes twinkle   { 0%, 100% { scale: 1; opacity: 0.9; } 50% { scale: 1.18; opacity: 0.55; } }
@keyframes char-pop  { from { scale: 0.4; opacity: 0; } 60% { scale: 1.08; opacity: 1; } to { scale: 1; opacity: 1; } }
@keyframes heartbeat { 0%, 70%, 100% { scale: 1; } 76% { scale: 1.07; } 82% { scale: 0.98; } 88% { scale: 1.05; } }
@keyframes ring-sway { 0%, 100% { rotate: -3deg; } 50% { rotate: 3deg; } }
@keyframes rainbow-rock {
  0%, 100% { rotate: -14deg; translate: 0 0; }
  25%      { translate: 10px -10px; }
  50%      { rotate: 14deg; translate: 0 -16px; }
  75%      { translate: -10px -6px; }
}
@keyframes photo-zoom {
  0%   { scale: 1;    animation-timing-function: cubic-bezier(0.2, 0.6, 0.35, 1); } /* starts moving immediately */
  45%  { scale: 1.14; animation-timing-function: ease-in-out; }
  100% { scale: 1; }
}
@keyframes bob       { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -8px; rotate: -2deg; } }
@keyframes cloud-drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes blob-morph {
  0%, 100% { border-radius: 60% 40% 70% 30% / 70% 60% 40% 30%; }
  50%      { border-radius: 40% 60% 35% 65% / 55% 40% 60% 45%; }
}

@media (prefers-reduced-motion: no-preference) {
  /* Decorative background shapes – each gets its own rhythm so nothing moves in lockstep */
  .deco { animation: float-xy 9s ease-in-out infinite; }
  .deco--hero-1, .deco--special-2, .deco--enrol-2, .deco--numbers-1, .deco--peek-1 { animation: float-y 7s ease-in-out infinite; }
  .deco--hero-2, .deco--hero-5, .deco--enrol-1 { animation: twinkle 4.5s ease-in-out infinite; }
  .deco--hero-3, .deco--special-1, .deco--support-2, .deco--peek-star { animation: spin-slow 24s linear infinite; }
  .deco--hero-4, .deco--welcome-1, .deco--support-1, .deco--numbers-2 { animation: sway 8s ease-in-out infinite; }
  .deco--hero-6 { animation: float-xy 11s ease-in-out infinite; }
  .deco:nth-of-type(2n) { animation-delay: -2s; }
  .deco:nth-of-type(3n) { animation-delay: -4.5s; }

  /* Rainbows: rock on their base and drift, each one out of phase */
  .deco--rainbow { transform-origin: 50% 85%; animation: rainbow-rock 6s ease-in-out infinite; }
  .deco--welcome-1 { animation-delay: -1s; }
  .deco--support-1 { animation-delay: -2s; animation-duration: 6.8s; }
  .deco--numbers-2 { animation-delay: -3s; }
  .deco--faq-1 { animation-delay: -4s; animation-duration: 7.2s; }
  .deco--footer-1 { animation-delay: -5s; }

  /* Characters gently bob; hover still triggers the wiggle */
  .character { animation: bob 5s ease-in-out infinite; }
  .character--yellow, .character--cta-right { animation-delay: -2.5s; animation-duration: 5.6s; }
  /* Hero characters pop in once on load, then the pink one bobs and the yellow one's heart beats */
  .hero .character--pink { animation: char-pop 900ms var(--ease-spring) 400ms both, bob 5s ease-in-out 1.3s infinite; }
  .hero .character--yellow { animation: char-pop 900ms var(--ease-spring) 650ms both, bob 5.6s ease-in-out 1.55s infinite, heartbeat 3.2s ease-in-out 2s infinite; }
  .character--green { animation-duration: 6.2s; animation-delay: -1.2s; }
  .character:hover { animation: wiggle 700ms var(--ease-out); }

  /* Hero photo: slow zoom-in that eases back and forth, stays clipped inside the frame */
  .hero-media__frame img {
    transform-origin: 45% 45%;
    animation: photo-zoom 12s infinite;
    transition: transform 900ms var(--ease-out);
  }
  .hero-media:hover .hero-media__frame img { transform: scale(1.05); }

  /* Hero & peek shapes */
  .hero-badge { animation: sway 6s ease-in-out infinite; }
  .hero-media__wave { animation: blob-morph 12s ease-in-out infinite; }
  .hero-media__swoosh, .peek-media__swoosh { animation: blob-morph 14s ease-in-out infinite reverse; }
  .hero-media__ring { animation: ring-sway 10s ease-in-out infinite; }

  /* Key Numbers clouds drift out of phase */
  .number-cloud { animation: cloud-drift 6s ease-in-out infinite; }
  .number-cloud:nth-child(2) { animation-delay: -1.5s; }
  .number-cloud:nth-child(3) { animation-delay: -3s; }
  .number-cloud:nth-child(4) { animation-delay: -4.5s; }

  /* FAQ question marks */
  .faq-marks img { animation: float-y 5s ease-in-out infinite; }
  .faq-marks img:last-child { animation-delay: -2.5s; }

  /* Feature icons: a small hop on card hover (in addition to the lift) */
  .feature-card:hover .feature-card__icon img { animation: float-y 1.2s ease-in-out infinite; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .feature-card:hover, .need-card:hover, .step-card:hover, .btn:hover { transform: none; }
}

/* 8. Responsive ------------------------------------------------------------ */

/* Collapse the header buttons into a menu panel on phones */
@media (max-width: 599px) {
  .nav-toggle { display: grid; }
  .header-cta { display: inline-flex; }

  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: 18px var(--gutter) 32px;
    background: var(--white);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 24px 40px -20px rgba(55, 35, 122, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition:
      opacity var(--dur) var(--ease-out),
      transform var(--dur) var(--ease-out),
      visibility 0s linear var(--dur);
  }
  .primary-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s;
  }

  .nav-list { flex-direction: column; gap: 2px; }
  .nav-list a {
    display: flex;
    min-height: 54px;
    padding-inline: 14px;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 16px;
  }
  .nav-list a::after { display: none; }
  .nav-list a:hover, .nav-list a[aria-current="location"] { background: var(--cream); }

  .nav-actions { flex-direction: column; }
  .nav-actions .btn { min-height: 54px; }
  .nav-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 20px;
    font-weight: 700;
    color: var(--navy);
  }
  .nav-contact a { display: inline-flex; align-items: center; min-height: 44px; }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 98;
    background: rgba(42, 30, 90, 0.32);
    opacity: 0;
    transition: opacity var(--dur) var(--ease-out);
  }
  .nav-backdrop.is-visible { opacity: 1; }
}

/* Tablet */
@media (max-width: 1023px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 76px; }
  .step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .space-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .need-card { flex-basis: 30%; max-width: 300px; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-aside { position: static; text-align: center; }
  .faq-aside .section-title--left { text-align: center; }
  .faq-aside p { margin-inline: auto; }
  .faq-marks { justify-content: center; }
  .cta-panel { padding-bottom: clamp(150px, 20vw, 190px); }
  .character--cta-left, .character--cta-right { bottom: 24px; }
  .deco--special-2 { display: none; }
}

@media (max-width: 699px) {
  .number-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 560px; }
  .number-cloud--low { margin-top: 0; }
  .number-cloud:nth-child(even) { margin-top: clamp(24px, 6vw, 48px); }
  .number-cloud:nth-child(3) { margin-top: calc(-1 * clamp(0px, 3vw, 24px)); }
}

/* Stack hero & peek */
@media (max-width: 899px) {
  .hero { padding-bottom: clamp(100px, 18vw, 140px); }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-text { margin-inline: auto; }
  .hero .btn-row { justify-content: center; }
  .hero-media { width: min(100%, 520px); }
  .deco--hero-1, .deco--hero-3, .deco--hero-4 { display: none; }
  .deco--hero-2 { top: 3%; }
  .deco--hero-6 { top: 38%; }

  .peek-grid { grid-template-columns: 1fr; }
  .peek-copy { text-align: center; max-width: 620px; margin-inline: auto; }
  .peek-copy .section-title--left { text-align: center; }
  .peek-media { width: min(100%, 560px); margin-inline: auto; }

  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .social { justify-content: center; }
}

/* Phone */
@media (max-width: 599px) {
  :root { --header-h: 68px; }

  .btn--lg { width: 100%; }
  .hero .btn-row, .cta .btn-row { flex-direction: column; }
  .call-link { justify-content: center; }
  .deco--hero-5 { width: 48px; top: 2%; }
  .deco--hero-2 { display: none; }
  .deco--hero-6 { display: none; }

  /* Feature cards become a swipe carousel; the next card peeks in from the right */
  .feature-grid {
    display: flex;
    gap: 14px;
    margin: 8px -16px 0;
    padding: 56px 16px 18px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
  }
  .feature-grid::-webkit-scrollbar { display: none; }
  .feature-grid:focus-visible { outline-offset: -3px; border-radius: 24px; }
  .feature-card {
    flex: 0 0 80%;
    scroll-snap-align: start;
    padding: 60px 20px 26px;
    transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out);
  }
  .feature-card:hover { transform: none; box-shadow: none; }
  .feature-card__icon { width: 88px; height: 88px; top: -44px; margin-left: -44px; }
  /* Cards away from the snap position recede slightly */
  .feature-grid.is-ready .feature-card:not(.is-active) { opacity: 0.6; transform: scale(0.95); }
  /* Scroll reveal cannot see horizontally off-screen cards, so show them straight away */
  .has-motion [data-carousel] [data-reveal] { opacity: 1; transform: none; }

  /* Enrol steps use the same carousel pattern */
  .step-grid {
    display: flex;
    gap: 16px;
    margin: 28px -16px 0;
    padding: 4px 16px 20px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
  }
  .step-grid::-webkit-scrollbar { display: none; }
  .step-grid:focus-visible { outline-offset: -3px; border-radius: 24px; }
  .step-grid .step-card {
    flex: 0 0 82%;
    scroll-snap-align: start;
    transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out);
  }
  .step-grid .step-card:hover { transform: none; box-shadow: 6px 6px 0 var(--accent); }
  .step-grid.is-ready .step-card:not(.is-active) { opacity: 0.6; transform: scale(0.95); }
  .enrol .carousel-nav { margin-top: 0; }

  .carousel-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px;
  }
  .carousel-nav[hidden] { display: none; }
  .carousel-dots { display: flex; align-items: center; }
  .carousel-dot {
    --accent: var(--pink);
    display: grid;
    place-items: center;
    width: 30px; height: 44px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    transition: width var(--dur) var(--ease-out);
    -webkit-tap-highlight-color: transparent;
  }
  .carousel-dot span {
    position: relative;
    display: block;
    width: 12px; height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent) 45%, white);
    box-shadow: 0 0 0 2px var(--white), inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 70%, white);
    transition: width var(--dur) var(--ease-spring), height var(--dur) var(--ease-spring), transform var(--dur-fast);
  }
  .carousel-dot span::after { /* colour fill that sweeps across the active pill */
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 500ms var(--ease-out);
  }
  .carousel-dot[aria-current="true"] { width: 54px; }
  .carousel-dot[aria-current="true"] span { width: 40px; height: 14px; box-shadow: 0 0 0 2px var(--white), 0 4px 10px -3px var(--accent); }
  .carousel-dot[aria-current="true"] span::after { transform: scaleX(1); }
  .carousel-dot:active span { transform: scale(0.85); }

  .carousel-count {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    color: var(--navy);
  }
  .carousel-count [data-carousel-current] { font-size: 1.35rem; color: var(--pink-ink); }
  .deco--special-1 { width: 44px; top: 10px; left: 12px; }

  /* 2-2-1 layout: two per row, the fifth card centred on its own row */
  .need-grid { gap: 18px 14px; }
  .need-card {
    flex: 0 0 calc(50% - 7px);
    max-width: none;
    padding: 18px 14px 20px;
    text-align: center;
    border-radius: 22px;
    box-shadow: 5px 5px 0 var(--accent);
  }
  .need-card h3 { font-size: 1.05rem; }
  .need-card p { margin-top: 8px; font-size: 0.92rem; line-height: 1.5; }

  /* Two-column tiles with a coloured tick: half the height of a single column of pills */
  .chip-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .chip-list li {
    --tick: var(--pink);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 12px 12px 10px;
    border-radius: 18px;
    font-size: 0.88rem;
    line-height: 1.3;
    text-align: left;
  }
  .chip-list li::before {
    content: "";
    flex: none;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--tick) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
  }
  .chip-list li:nth-child(5n+2) { --tick: var(--teal-ink); }
  .chip-list li:nth-child(5n+3) { --tick: var(--purple); }
  .chip-list li:nth-child(5n+4) { --tick: var(--yellow-ink); }
  .chip-list li:nth-child(5n+5) { --tick: var(--navy); }

  .step-grid { grid-template-columns: 1fr; gap: 22px; }
  .step-card { padding: 18px 20px 24px; }
  .step-card__img { width: 62%; }

  .number-grid { gap: 6px; }
  .number-cloud { padding: 12% 12% 6%; }

  .peek-media { padding: 4% 8% 10% 2%; }
  .space-panel { grid-template-columns: 1fr; gap: 18px; padding: 16px; }
  .space-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    column-gap: 16px;
    align-items: center;
    text-align: left;
  }
  .space-card__img { grid-row: span 2; aspect-ratio: 1; border-radius: 18px; }
  .space-card h3 { margin-top: 0; align-self: end; }
  .space-card p { margin-top: 4px; align-self: start; font-size: 0.97rem; }

  .accordion__trigger { padding: 14px 16px 14px 18px; gap: 12px; }
  .accordion__inner { padding-inline: 42px 18px; }
  .accordion__inner p { padding-bottom: 20px; }

  .cta-panel { padding: 40px 18px 150px; }
  .contact-list { flex-direction: column; align-items: center; }

  .deco--enrol-1, .deco--enrol-2, .deco--support-2, .deco--numbers-1, .deco--peek-1 { display: none; }
  .deco--rainbow { width: 54px; opacity: 0.8; }
  .deco--welcome-1 { top: 2%; right: 4%; }
  .deco--support-1 { top: 1%; left: 5%; }
  .deco--numbers-2 { top: 4px; left: 6%; }
  .deco--faq-1 { top: 1%; right: 4%; }
  .deco--footer-1 { top: -10px; right: 5%; }
}

/* ==========================================================================
   9. Contact page
   ========================================================================== */
:root {
  --mint-panel: #aaf2eb;
  --field-border: #9c7512;   /* 3.9:1 on white – meets the 3:1 non-text contrast rule */
  --field-label: #7a5a08;    /* 5.9:1 on white */
  --error-bg: #fde4ea;
}

.nav-actions .btn[aria-current="page"] { box-shadow: inset 0 0 0 2px var(--pink-ink); }

/* Hero */
.contact-hero .hero-grid { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); }
.contact-hero__title { font-size: clamp(2.4rem, 1.7rem + 2.6vw, 3.75rem); }
.contact-hero__lead {
  margin-top: clamp(14px, 2vw, 22px);
  max-width: 19em;
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.6rem);
  line-height: 1.45;
  color: var(--text);
}
.contact-hero .btn-row { margin-top: clamp(22px, 3vw, 30px); }

.contact-hero__media { position: relative; width: min(100%, 680px); margin-inline: auto; }
.contact-hero__img { width: 100%; }
/* Sits exactly where the character appears in the supplied artwork */
.contact-hero__char { left: 4.23%; top: 15.87%; width: 18.15%; }

@keyframes char-breathe { 0%, 100% { scale: 1; } 50% { scale: 1.04; } }
@media (prefers-reduced-motion: no-preference) {
  /* Grows instead of moving, so it never uncovers the artwork behind it */
  .contact-hero .contact-hero__char,
  .contact-hero .contact-hero__char:hover {
    transform-origin: 50% 60%;
    animation: char-pop 900ms var(--ease-spring) 400ms both, char-breathe 4s ease-in-out 1.3s infinite;
  }
}

/* Centre details + map */
.contact-info { padding-top: 0; margin-top: calc(-1 * clamp(64px, 8vw, 110px)); z-index: 2; }
.info-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(28px, 5vw, 64px) clamp(20px, 6vw, 84px);
  background: var(--mint-panel);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.info-panel > :not(.deco) { position: relative; z-index: 1; }
.deco--info-1 { top: 16px; right: 3%; width: 80px; }
.info-panel__title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.15rem); font-weight: 700; }

.info-list { display: grid; gap: 18px; margin-top: clamp(20px, 3vw, 34px); }
.info-list li { display: flex; align-items: flex-start; gap: 16px; }
.info-list__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--teal-ink);
  box-shadow: 0 6px 14px -8px rgba(0, 117, 106, 0.6);
  transition: transform var(--dur) var(--ease-spring), background-color var(--dur), color var(--dur);
}
.info-list__icon svg { width: 22px; height: 22px; fill: currentColor; }
.info-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--fs-lead);
  color: var(--text);
  text-decoration-color: transparent;
  transition: text-decoration-color var(--dur);
}
.info-list li:hover .info-list__icon { transform: scale(1.08) rotate(-6deg); background: var(--teal-ink); color: var(--white); }
.info-list a:hover { text-decoration-color: currentColor; }

.info-panel__map {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 2px solid rgba(0, 117, 106, 0.35);
  border-radius: 26px;
  background: #e8f7f5;
  box-shadow: 0 16px 34px -18px rgba(0, 80, 72, 0.5);
}
.info-panel__map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* Enquiry form */
.enquiry { overflow: hidden; }
.container--form { max-width: calc(980px + var(--gutter) * 2); position: relative; z-index: 1; }
.deco--enquiry-1 { top: 7%; left: 9%; width: 80px; }
.deco--enquiry-2 { top: 5%; right: 12%; width: 80px; }
.deco--enquiry-3 { bottom: 26%; left: 4%; width: 78px; }
.deco--enquiry-4 { bottom: 18%; right: 6%; width: 80px; }
.deco--enquiry-5 { bottom: 8%; right: 13%; width: 56px; }

.enquiry-form, .form-success { margin-top: clamp(28px, 4vw, 40px); }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px clamp(16px, 2.6vw, 30px);
}
.field { position: relative; }
.field--full { grid-column: 1 / -1; }

.field__control {
  display: block;
  width: 100%;
  min-height: 62px;
  padding: 24px 26px 8px;
  border: 1.5px solid var(--field-border);
  border-radius: 999px;
  background: var(--white);
  color: var(--text);
  font: 500 1.0625rem/1.4 var(--font-body);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--dur), box-shadow var(--dur) var(--ease-out), background-color var(--dur);
}
textarea.field__control { min-height: 150px; padding-top: 30px; border-radius: 30px; resize: vertical; }
select.field__control { padding-right: 60px; cursor: pointer; }
.field__control:hover { border-color: var(--navy); }
.field__control:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(255, 102, 133, 0.28); }

/* Floating label: sits inside like a placeholder, moves up once there is a value */
.field__label {
  position: absolute;
  top: 31px; left: 27px;
  max-width: calc(100% - 60px);
  overflow: hidden;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--field-label);
  white-space: nowrap;
  text-overflow: ellipsis;
  pointer-events: none;
  transform: translateY(-50%);
  transform-origin: left center;
  transition: top var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), color var(--dur);
}
textarea.field__control + .field__label { top: 32px; }
.field__control:focus + .field__label,
input.field__control:not(:placeholder-shown) + .field__label,
textarea.field__control:not(:placeholder-shown) + .field__label,
select.field__control:valid + .field__label {
  top: 17px;
  transform: translateY(-50%) scale(0.76);
  color: var(--navy);
}
textarea.field__control:focus + .field__label,
textarea.field__control:not(:placeholder-shown) + .field__label { top: 18px; }

.field__chevron {
  position: absolute;
  top: 31px; right: 24px;
  width: 24px; height: 24px;
  color: var(--field-border);
  pointer-events: none;
  transform: translateY(-50%);
  transition: transform var(--dur) var(--ease-out);
}
.field--select:focus-within .field__chevron { transform: translateY(-50%) rotate(180deg); color: var(--navy); }

.field__error { min-height: 1.5em; margin: 6px 0 4px 22px; font-size: 0.9rem; font-weight: 600; line-height: 1.4; color: var(--pink-ink); }
.field__meta { display: flex; justify-content: space-between; gap: 12px; }
.field__meta .field__error { flex: 1; }
.field__count { margin: 6px 22px 0 0; font-size: 0.85rem; color: var(--text-muted); white-space: nowrap; }
.field__count.is-over { color: var(--pink-ink); font-weight: 700; }

.field.is-invalid .field__control { border-color: var(--pink-ink); border-width: 2px; background: #fffafb; }
.field.is-invalid .field__label { color: var(--pink-ink); }
.field.is-valid .field__control { border-color: var(--teal-ink); }
.field.is-valid:not(.field--select):not(.field--full)::after { /* small tick for completed fields */
  content: "";
  position: absolute;
  top: 31px; right: 22px;
  width: 22px; height: 22px;
  margin-top: -11px;
  border-radius: 50%;
  background: var(--teal-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
  animation: char-pop 400ms var(--ease-spring) both;
}
.field.is-valid:not(.field--select):not(.field--full) .field__control { padding-right: 56px; }

/* Honeypot – off-screen for people, still in the DOM for bots */
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-alert {
  margin-bottom: 22px;
  padding: 14px 20px;
  border-left: 5px solid var(--pink-ink);
  border-radius: 16px;
  background: var(--error-bg);
  font-weight: 600;
  color: #8c1536;
}
.form-alert[hidden] { display: none; }

.form-actions { display: grid; justify-items: center; gap: 14px; margin-top: 18px; text-align: center; }
.btn--submit { min-width: 240px; }
.btn--submit:disabled { cursor: progress; opacity: 0.85; transform: none; }
.btn__spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin-slow 0.8s linear infinite;
}
.btn--submit.is-loading .btn__spinner { display: inline-block; }
.form-note { max-width: 34em; font-size: 0.95rem; color: var(--text-muted); }
.form-note a { display: inline-block; padding-block: 10px; font-weight: 700; color: var(--navy); white-space: nowrap; }

.form-success {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: clamp(28px, 5vw, 48px) 20px;
  text-align: center;
  background: var(--cream);
  border-radius: var(--radius-lg);
}
.form-success[hidden], .enquiry-form[hidden] { display: none; }
.form-success img { width: 110px; }
.form-success h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); font-weight: 700; }
.form-success p { max-width: 32em; font-size: var(--fs-lead); }
.form-success .btn { margin-top: 8px; }
@media (prefers-reduced-motion: no-preference) {
  .form-success:not([hidden]) img { animation: char-pop 800ms var(--ease-spring) both, heartbeat 3.2s ease-in-out 1s infinite; }
}

/* Come for a Visit */
@media (min-width: 1024px) {
  .page-contact .cta-panel { padding-block: clamp(36px, 4vw, 52px); }
}
.page-contact .cta-panel .btn-row { margin-top: 4px; }
.character--owl { width: clamp(76px, 8vw, 116px); }

@media (max-width: 1023px) {
  .info-panel { grid-template-columns: 1fr; }
  .info-panel__map { aspect-ratio: 16 / 10; }
}
@media (max-width: 899px) {
  .contact-hero .hero-grid { grid-template-columns: 1fr; }
  .contact-hero__lead { margin-inline: auto; }
  .contact-hero .call-link { justify-content: center; }
}
@media (max-width: 599px) {
  .form-grid { grid-template-columns: 1fr; }
  .field__control { min-height: 58px; padding-inline: 22px; }
  .field__label { left: 23px; }
  .info-panel { padding: 28px 18px 18px; }
  .info-list a { font-size: 1rem; }
  .info-panel__map { aspect-ratio: 4 / 3.4; border-radius: 20px; }
  .btn--submit { width: 100%; }
  .deco--enquiry-1, .deco--enquiry-4, .deco--enquiry-5, .deco--info-1 { display: none; }
  .deco--enquiry-2 { top: 1%; right: 4%; width: 54px; }
  .deco--enquiry-3 { bottom: auto; top: 2%; left: 4%; width: 54px; }
}
