/* ==========================================================
   The Learning Garden Day Care Centers
   Garden-storybook theme pulled straight from the logo:
   plum outlines, leaf greens, sunflower yellow, tulip pink, sky blue.
   ========================================================== */

:root {
  --plum: #4b1660;
  --plum-deep: #2f0e3b;
  --plum-soft: #f3e8f7;
  --ink: #2a1932;
  --ink-soft: #5d4a66;
  --leaf: #3f9a3a;
  --leaf-dark: #23662b;
  --leaf-soft: #e6f3dc;
  --sun: #ffc93c;
  --sun-soft: #fff4d1;
  --petal: #ec5f82;
  --petal-soft: #fde6ec;
  --sky: #4fa9dd;
  --sky-soft: #e3f2fb;
  --cream: #fffaf1;
  --paper: #ffffff;

  --font-display: "Baloo 2", "Trebuchet MS", sans-serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
  --font-hand: "Caveat", cursive;

  --radius: 22px;
  --radius-lg: 36px;
  --shadow: 0 2px 0 rgba(47, 14, 59, .06), 0 18px 40px -18px rgba(47, 14, 59, .35);
  --outline: 3px solid var(--plum);
  --wrap: 1200px;
  --header-h: 84px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.075rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* soft paper grain, fixed so it never repaints on scroll */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .35;
  background-image: radial-gradient(rgba(75, 22, 96, .07) 1px, transparent 1px);
  background-size: 22px 22px;
}

main, header, footer { position: relative; z-index: 1; }

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

a { color: var(--plum); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--leaf-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--plum);
  line-height: 1.05;
  margin: 0 0 .5em;
  font-weight: 800;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -60px; z-index: 100;
  background: var(--plum); color: #fff; padding: .6rem 1rem; border-radius: 12px;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 3px dashed var(--sky); outline-offset: 3px; border-radius: 8px; }

/* ---------- small helpers ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 700;
  font-size: .95rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--leaf-dark);
  margin-bottom: .9rem;
}
.kicker::before {
  content: ""; width: 26px; height: 14px;
  background: url("../images/svg/daisy.svg") left center / 14px no-repeat,
              linear-gradient(var(--leaf), var(--leaf)) 14px 50% / 12px 3px no-repeat;
}
.hand { font-family: var(--font-hand); font-weight: 700; color: var(--petal); font-size: 1.6em; line-height: 1; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 38ch; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--sun);
  --fg: var(--plum-deep);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
  padding: .8rem 1.5rem .7rem;
  background: var(--bg); color: var(--fg);
  border: var(--outline); border-radius: 999px;
  box-shadow: 0 5px 0 var(--plum);
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--plum); color: var(--fg); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--plum); }
.btn--leaf { --bg: var(--leaf); --fg: #fff; }
.btn--ghost { --bg: var(--paper); }
.btn--small { font-size: .98rem; padding: .55rem 1.1rem .5rem; box-shadow: 0 4px 0 var(--plum); }
.btn svg { width: 1.1em; height: 1.1em; }

/* ==========================================================
   Header
   ========================================================== */
.topbar {
  background: var(--plum);
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .45rem 0; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--sun); }
.topbar__phones { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.topbar__phones span { opacity: .75; font-weight: 600; margin-right: .3rem; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 250, 241, .92);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-color: var(--plum); box-shadow: 0 10px 30px -22px rgba(47, 14, 59, .6); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 66px; width: auto; transition: transform .3s; }
.brand:hover img { transform: rotate(-3deg) scale(1.04); }

.nav { display: flex; align-items: center; gap: .3rem; }
.nav a:not(.btn) {
  font-family: var(--font-display); font-weight: 700; font-size: 1.08rem;
  color: var(--ink); text-decoration: none;
  padding: .4rem .8rem; border-radius: 999px;
  position: relative;
  transition: background .2s, color .2s;
}
.nav a:not(.btn):hover { background: var(--leaf-soft); color: var(--leaf-dark); }
.nav a[aria-current="page"] { color: var(--plum); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: -6px; translate: -50% 0;
  width: 18px; height: 18px; background: url("../images/svg/daisy.svg") center / contain no-repeat;
}
.nav .btn { margin-left: .6rem; }

.nav-toggle {
  display: none;
  width: 52px; height: 52px; border-radius: 16px;
  border: var(--outline); background: var(--sun);
  box-shadow: 0 4px 0 var(--plum);
  cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 22px; height: 3px; background: var(--plum); border-radius: 3px; position: relative;
  transition: transform .25s, background .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  :root { --header-h: 74px; }
  .brand img { height: 56px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: calc(100% + 8px); left: 1rem; right: 1rem;
    flex-direction: column; align-items: stretch; gap: .2rem;
    background: var(--paper); border: var(--outline); border-radius: var(--radius);
    padding: 1rem; box-shadow: var(--shadow);
    opacity: 0; transform: translateY(-12px) scale(.98); pointer-events: none;
    transition: opacity .2s, transform .2s;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a:not(.btn) { padding: .75rem 1rem; font-size: 1.2rem; }
  .nav a[aria-current="page"] { background: var(--plum-soft); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .btn { margin: .5rem 0 0; }
  .topbar__social { display: none; }
}

/* ==========================================================
   Grass edges & decorative bits
   ========================================================== */
.grass-edge {
  height: 38px;
  background: url("../images/svg/grass.svg") repeat-x bottom / 240px 38px;
  position: relative; z-index: 2;
  margin-bottom: -1px;
}
.grass-edge--dark { background-image: url("../images/svg/grass-dark.svg"); }

.deco { position: absolute; pointer-events: none; z-index: 0; }
.deco--spin { animation: sway 7s ease-in-out infinite; }
@keyframes sway { 0%,100% { transform: rotate(-8deg); } 50% { transform: rotate(10deg); } }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-10px) rotate(4deg); } }

/* ==========================================================
   Hero
   ========================================================== */
.hero { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 0; overflow: hidden; }
.hero::after { /* hill */
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -140px; height: 260px;
  background: var(--leaf-soft); border-radius: 50% 50% 0 0 / 100% 100% 0 0; z-index: 0;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; position: relative; z-index: 1; }
.hero h1 { margin-bottom: .35em; }
.hero h1 .bloom { color: var(--leaf); position: relative; white-space: nowrap; }
.hero h1 .bloom::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .22em;
  background: var(--sun); border-radius: 99px; z-index: -1; transform: scaleX(0); transform-origin: left;
  animation: underline .8s .9s cubic-bezier(.6,.1,.2,1) forwards;
}
@keyframes underline { to { transform: scaleX(1); } }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.8rem 0 1.6rem; }
.hero__ages { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.hero__ages li {
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  padding: .3rem .85rem; border-radius: 999px; border: 2px solid var(--plum);
  background: var(--paper);
}
.hero__ages li:nth-child(1) { background: var(--sky-soft); }
.hero__ages li:nth-child(2) { background: var(--leaf-soft); }
.hero__ages li:nth-child(3) { background: var(--petal-soft); }
.hero__ages li:nth-child(4) { background: var(--sun-soft); }

.hero__art { position: relative; aspect-ratio: 1 / 1; max-width: 600px; justify-self: end; width: 100%; }
.hero__photo {
  position: absolute; inset: 6% 4% 10% 8%;
  border: 5px solid var(--plum);
  border-radius: 58% 42% 46% 54% / 48% 56% 44% 52%;
  overflow: hidden; box-shadow: var(--shadow);
  animation: blob 14s ease-in-out infinite;
  background: var(--leaf-soft);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
@keyframes blob {
  0%,100% { border-radius: 58% 42% 46% 54% / 48% 56% 44% 52%; }
  50% { border-radius: 46% 54% 58% 42% / 56% 44% 56% 44%; }
}
.hero__polaroid {
  position: absolute; left: -6%; bottom: 0; width: 38%;
  background: #fff; padding: 10px 10px 34px; border-radius: 6px;
  border: 3px solid var(--plum); transform: rotate(-7deg); box-shadow: var(--shadow);
}
.hero__polaroid img { aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: 3px; }
.hero__polaroid figcaption { position: absolute; bottom: 4px; left: 0; right: 0; text-align: center; font-family: var(--font-hand); font-size: 1.35rem; font-weight: 700; color: var(--plum); }
.hero__badge {
  position: absolute; right: 0; bottom: 14%;
  width: 132px; height: 132px; border-radius: 50%;
  background: var(--sun); border: 4px solid var(--plum);
  display: grid; place-items: center; text-align: center;
  font-family: var(--font-display); font-weight: 800; color: var(--plum); line-height: 1.05;
  box-shadow: 0 6px 0 var(--plum);
  transform: rotate(10deg);
  font-size: .98rem;
}
.hero__badge strong { display: block; font-size: 1.65rem; }

.flight { position: absolute; top: -4%; left: -12%; width: 70%; height: 46%; overflow: visible; z-index: 3; pointer-events: none; }
.flight path { fill: none; stroke: var(--sky); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 10 12; animation: dash 30s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -600; } }
.hero__bee {
  position: absolute; width: 92px; z-index: 4; top: -2%; right: 8%;
  animation: bob 3.4s ease-in-out infinite;
  filter: drop-shadow(0 8px 6px rgba(47,14,59,.2));
}

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero__art { justify-self: center; max-width: 520px; margin-top: 1rem; }
  .hero__badge { width: 112px; height: 112px; font-size: .85rem; }
  .hero__badge strong { font-size: 1.4rem; }
}

/* page-load stagger */
.rise { opacity: 0; transform: translateY(24px); animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
.rise:nth-child(2) { animation-delay: .1s; }
.rise:nth-child(3) { animation-delay: .2s; }
.rise:nth-child(4) { animation-delay: .3s; }
.rise:nth-child(5) { animation-delay: .4s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ==========================================================
   Quick facts bar
   ========================================================== */
.facts { background: var(--leaf-soft); padding: 2.2rem 0 3rem; position: relative; }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.fact {
  background: var(--paper); border: var(--outline); border-radius: var(--radius);
  padding: 1.2rem 1.3rem; display: flex; gap: .9rem; align-items: flex-start;
  box-shadow: 0 5px 0 var(--plum);
}
.fact:nth-child(even) { margin-top: 14px; }
.fact__icon {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center;
  border: 2px solid var(--plum);
}
.fact__icon svg { width: 26px; height: 26px; }
.fact:nth-child(1) .fact__icon { background: var(--sun-soft); }
.fact:nth-child(2) .fact__icon { background: var(--petal-soft); }
.fact:nth-child(3) .fact__icon { background: var(--sky-soft); }
.fact:nth-child(4) .fact__icon { background: var(--leaf-soft); }
.fact h3 { font-size: 1.15rem; margin: 0 0 .15rem; }
.fact p { margin: 0; font-size: .95rem; color: var(--ink-soft); line-height: 1.45; }
@media (max-width: 960px) { .facts__grid { grid-template-columns: 1fr 1fr; } .fact:nth-child(even) { margin-top: 0; } }
@media (max-width: 560px) { .facts__grid { grid-template-columns: 1fr; } }

/* ==========================================================
   Generic sections
   ========================================================== */
.section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.section--paper { background: var(--paper); }
.section--sun { background: var(--sun-soft); }
.section--plum { background: var(--plum); color: #f6eefa; }
.section--plum h2, .section--plum h3 { color: #fff; }
.section--plum .kicker { color: var(--sun); }
.section--plum .lede { color: #e4d3ec; }
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head.center { margin-inline: auto; }

/* ---------- growth path (programs) ---------- */
.growth { position: relative; }
.growth__stem {
  position: absolute; left: 0; right: 0; top: 64px; height: 6px;
  background: repeating-linear-gradient(90deg, var(--leaf) 0 22px, transparent 22px 34px);
  border-radius: 6px; z-index: 0;
}
.growth__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.1rem; position: relative; z-index: 1; }
.stage { display: flex; flex-direction: column; align-items: center; text-align: center; }
.stage__bud {
  width: 128px; height: 128px; border-radius: 50%;
  background: var(--paper); border: 4px solid var(--plum);
  display: grid; place-items: center; margin-bottom: 1.1rem;
  box-shadow: 0 6px 0 var(--plum);
  transition: transform .35s cubic-bezier(.3,1.6,.5,1);
}
.stage:hover .stage__bud { transform: translateY(-8px) rotate(-6deg); }
.stage__bud svg { width: 74px; height: 74px; }
.stage:nth-child(1) .stage__bud { background: var(--sky-soft); }
.stage:nth-child(2) .stage__bud { background: var(--leaf-soft); }
.stage:nth-child(3) .stage__bud { background: var(--petal-soft); }
.stage:nth-child(4) .stage__bud { background: var(--sun-soft); }
.stage:nth-child(5) .stage__bud { background: #ffe9c7; }
.stage__tag { font-family: var(--font-hand); color: var(--petal); font-size: 1.45rem; font-weight: 700; line-height: 1; }
.stage h3 { margin: .2rem 0 .45rem; }
.stage p { font-size: .97rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 1000px) {
  .growth__stem { left: 62px; right: auto; top: 0; bottom: 0; width: 6px; height: auto;
    background: repeating-linear-gradient(180deg, var(--leaf) 0 22px, transparent 22px 34px); }
  .growth__list { grid-template-columns: 1fr; gap: 1.6rem; }
  .stage { flex-direction: row; text-align: left; gap: 1.3rem; align-items: center; }
  .stage__bud { margin: 0; flex-shrink: 0; }
}

/* ---------- split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.split--flip .split__media { order: 2; }
.split__media { position: relative; }
.frame {
  border: 5px solid var(--plum); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 12px 12px 0 var(--leaf);
  background: var(--leaf-soft);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--sun { box-shadow: -12px 12px 0 var(--sun); }
.frame--petal { box-shadow: 12px 12px 0 var(--petal); }
.frame--sky { box-shadow: -12px 12px 0 var(--sky); }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 16 / 10; }
.split__note {
  position: absolute; bottom: -26px; right: -14px; background: var(--paper);
  border: 3px solid var(--plum); border-radius: 18px; padding: .7rem 1.1rem;
  font-family: var(--font-hand); font-size: 1.5rem; font-weight: 700; color: var(--plum);
  transform: rotate(4deg); box-shadow: 0 5px 0 var(--plum); max-width: 260px; line-height: 1.1;
}
.split--flip .split__note { right: auto; left: -14px; transform: rotate(-4deg); }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
  .split__note { right: 10px; }
  .split--flip .split__note { left: 10px; }
}

/* checklist with leaf bullets */
.leaf-list { list-style: none; padding: 0; margin: 1.4rem 0 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.5rem; }
.leaf-list li { position: relative; padding-left: 2rem; font-weight: 700; }
.leaf-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.3rem; height: 1.3rem;
  background: var(--leaf); border-radius: 0 70% 0 70%; border: 2px solid var(--leaf-dark);
}
.leaf-list--single { grid-template-columns: 1fr; }
@media (max-width: 520px) { .leaf-list { grid-template-columns: 1fr; } }

/* ---------- pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2rem; }
.pillar {
  background: rgba(255,255,255,.07); border: 2px dashed rgba(255,255,255,.35);
  border-radius: var(--radius); padding: 1.6rem;
}
.pillar__num { font-family: var(--font-hand); font-size: 2.6rem; color: var(--sun); line-height: 1; font-weight: 700; }
.pillar h3 { margin: .3rem 0 .4rem; }
.pillar p { margin: 0; color: #e4d3ec; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- procare / app features ---------- */
.app-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.6rem 0 2rem; }
.app-feat { background: var(--paper); border: 2px solid var(--plum); border-radius: 18px; padding: 1rem 1.1rem; display: flex; gap: .8rem; align-items: flex-start; }
.app-feat svg { width: 28px; height: 28px; flex-shrink: 0; color: var(--leaf-dark); margin-top: 2px; }
.app-feat strong { display: block; font-family: var(--font-display); color: var(--plum); font-size: 1.1rem; line-height: 1.2; }
.app-feat span { font-size: .93rem; color: var(--ink-soft); }
@media (max-width: 520px) { .app-feats { grid-template-columns: 1fr; } }

/* ---------- gallery mosaic ---------- */
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 120px; gap: 1rem; }
.mosaic figure { margin: 0; border: 4px solid var(--plum); border-radius: 26px; overflow: hidden; position: relative; background: var(--leaf-soft); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.mosaic figure:hover img { transform: scale(1.06); }
.mosaic figcaption {
  position: absolute; left: .7rem; bottom: .7rem; background: var(--paper); border: 2px solid var(--plum);
  padding: .1rem .7rem; border-radius: 999px; font-family: var(--font-hand); font-size: 1.25rem; font-weight: 700; color: var(--plum);
}
.m1 { grid-column: span 3; grid-row: span 3; }
.m2 { grid-column: span 2; grid-row: span 2; }
.m3 { grid-column: span 1; grid-row: span 2; }
.m4 { grid-column: span 3; grid-row: span 2; }
.m5 { grid-column: span 2; grid-row: span 3; }
.m6 { grid-column: span 2; grid-row: span 3; }
.m7 { grid-column: span 2; grid-row: span 3; }
@media (max-width: 860px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .mosaic figure { grid-column: span 1 !important; grid-row: span 2 !important; }
  .mosaic .m1 { grid-column: span 2 !important; }
}

/* ---------- locations ---------- */
.locations { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.loc {
  background: var(--paper); border: var(--outline); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.3rem); position: relative; overflow: hidden;
  box-shadow: 0 7px 0 var(--plum);
}
.loc::before {
  content: ""; position: absolute; right: -30px; top: -30px; width: 130px; height: 130px;
  background: url("../images/svg/flower-purple.svg") center / contain no-repeat; opacity: .9;
  animation: sway 9s ease-in-out infinite;
}
.loc:nth-child(2)::before { background-image: url("../images/svg/daisy.svg"); }
.loc__label { font-family: var(--font-hand); font-size: 1.6rem; color: var(--petal); font-weight: 700; line-height: 1; }
.loc h3 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: .2rem 0 1rem; padding-right: 80px; }
.loc dl { margin: 0 0 1.5rem; display: grid; grid-template-columns: auto 1fr; gap: .6rem 1rem; }
.loc dt { font-family: var(--font-display); font-weight: 700; color: var(--leaf-dark); }
.loc dd { margin: 0; }
.loc dd a { font-weight: 700; }
.loc__actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.loc__map { margin: 0 0 1.4rem; border: 3px solid var(--plum); border-radius: 20px; overflow: hidden; aspect-ratio: 16/9; background: var(--leaf-soft); }
.loc__map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 860px) { .locations { grid-template-columns: 1fr; } }

/* ---------- CTA banner ---------- */
.cta {
  background: var(--sun); border: 4px solid var(--plum); border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center;
  box-shadow: 0 9px 0 var(--plum); position: relative; overflow: hidden;
}
.cta h2 { margin-bottom: .2em; }
.cta p { margin: 0; font-size: 1.15rem; color: var(--plum-deep); }
.cta__actions { display: flex; flex-direction: column; gap: .9rem; position: relative; z-index: 1; }
.cta .deco { right: 32%; bottom: -26px; width: 90px; opacity: .9; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } .cta .deco { display: none; } }

/* ==========================================================
   Page hero (inner pages)
   ========================================================== */
.page-hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem); position: relative; overflow: hidden; background: var(--leaf-soft); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 16ch; }
.page-hero .lede { max-width: 52ch; }
.page-hero .deco--a { right: 6%; top: 18%; width: 110px; }
.page-hero .deco--b { right: 18%; bottom: 8%; width: 70px; animation-delay: -3s; }
.page-hero .deco--bee { right: 30%; top: 14%; width: 80px; animation: bob 3.4s ease-in-out infinite; }
@media (max-width: 760px) { .page-hero .deco { opacity: .35; } .page-hero .deco--bee { display: none; } }

/* ---------- program detail cards ---------- */
.program {
  display: grid; grid-template-columns: 340px 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
  background: var(--paper); border: var(--outline); border-radius: var(--radius-lg);
  padding: clamp(1.2rem, 3vw, 2rem); box-shadow: 0 7px 0 var(--plum);
  margin-bottom: 2.2rem;
}
.program:nth-child(even) { grid-template-columns: 1fr 340px; }
.program:nth-child(even) .program__media { order: 2; }
.program__media { border-radius: 26px; overflow: hidden; aspect-ratio: 1 / 1; border: 3px solid var(--plum); display: grid; place-items: center; }
.program__media img { width: 100%; height: 100%; object-fit: cover; }
.program__media svg { width: 55%; height: 55%; }
.program__media--sky { background: var(--sky-soft); }
.program__media--sun { background: var(--sun-soft); }
.program__media--leaf { background: var(--leaf-soft); }
.program__tag {
  display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: .9rem;
  text-transform: uppercase; letter-spacing: .06em; padding: .2rem .8rem; border-radius: 999px;
  background: var(--leaf-soft); color: var(--leaf-dark); border: 2px solid var(--leaf); margin-bottom: .6rem;
}
.program h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.program .leaf-list { margin-bottom: 1.4rem; }
@media (max-width: 860px) {
  .program, .program:nth-child(even) { grid-template-columns: 1fr; }
  .program:nth-child(even) .program__media { order: 0; }
  .program__media { aspect-ratio: 16 / 10; }
}

/* ---------- resources ---------- */
.res-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.4rem; }
.res {
  display: flex; flex-direction: column; background: var(--paper); border: var(--outline); border-radius: var(--radius);
  padding: 1.6rem; text-decoration: none; color: var(--ink); box-shadow: 0 6px 0 var(--plum);
  transition: transform .2s, box-shadow .2s;
}
.res:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: 0 10px 0 var(--plum); color: var(--ink); }
.res__src { font-family: var(--font-display); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .07em; color: var(--leaf-dark); }
.res h3 { margin: .4rem 0 .5rem; font-size: 1.4rem; }
.res p { color: var(--ink-soft); font-size: .98rem; flex: 1; }
.res__go { font-family: var(--font-display); font-weight: 800; color: var(--plum); display: inline-flex; gap: .4rem; align-items: center; }
.res:hover .res__go svg { transform: translateX(4px); }
.res__go svg { width: 1.1em; transition: transform .2s; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq details {
  background: var(--paper); border: 3px solid var(--plum); border-radius: 20px; margin-bottom: 1rem;
  box-shadow: 0 4px 0 var(--plum); overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 1.1rem 3.6rem 1.1rem 1.4rem; position: relative;
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--plum);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1rem; top: 50%; translate: 0 -50%;
  width: 34px; height: 34px; border-radius: 50%; background: var(--sun); border: 2px solid var(--plum);
  display: grid; place-items: center; font-size: 1.4rem; line-height: 1; transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 1.4rem 1.2rem; color: var(--ink-soft); }

/* ==========================================================
   Form
   ========================================================== */
.form-card {
  background: var(--paper); border: 4px solid var(--plum); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.6rem); box-shadow: 0 9px 0 var(--plum); position: relative;
}
.form-card .deco { right: -28px; top: -40px; width: 96px; animation: bob 3.6s ease-in-out infinite; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-family: var(--font-display); font-weight: 700; color: var(--plum); font-size: 1.02rem; }
.field .opt { font-family: var(--font-body); font-weight: 600; color: var(--ink-soft); font-size: .85rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: .8rem 1rem; border: 2px solid #cdbfd4; border-radius: 14px; background: var(--cream);
  transition: border-color .2s, box-shadow .2s, background .2s;
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--leaf); background: #fff; box-shadow: 0 0 0 4px rgba(63,154,58,.18);
}
.field.has-error input, .field.has-error select { border-color: var(--petal); background: var(--petal-soft); }
.field__error { color: #b3204a; font-size: .88rem; font-weight: 700; min-height: 0; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .25rem; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: .45rem 1rem; border-radius: 999px; border: 2px solid var(--plum);
  font-weight: 700; font-size: .95rem; cursor: pointer; background: var(--paper);
  transition: background .2s, transform .15s;
}
.chip span:hover { background: var(--leaf-soft); }
.chip input:checked + span { background: var(--leaf); color: #fff; border-color: var(--leaf-dark); }
.chip input:focus-visible + span { outline: 3px dashed var(--sky); outline-offset: 2px; }
.hidden-field { position: absolute; left: -9999px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }
.form-foot small { color: var(--ink-soft); max-width: 36ch; }
.btn[disabled] { opacity: .7; cursor: wait; transform: none; }
.btn .spinner { width: 18px; height: 18px; border: 3px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; display: none; }
.btn.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: 14px; font-weight: 700; display: none; }
.form-status.is-error { display: block; background: var(--petal-soft); color: #8d1638; border: 2px solid var(--petal); }
.form-success { text-align: center; padding: 1.5rem 0 .5rem; }
.form-success img { width: 110px; margin: 0 auto 1rem; animation: bob 3s ease-in-out infinite; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

/* contact layout */
.contact-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-aside h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.steps { list-style: none; padding: 0; margin: 1.5rem 0 2rem; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 1.3rem 3.6rem; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -2px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--sun); border: 3px solid var(--plum); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; color: var(--plum); font-size: 1.2rem;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 46px; bottom: 2px; border-left: 3px dashed var(--leaf); }
.steps strong { font-family: var(--font-display); color: var(--plum); font-size: 1.15rem; display: block; }
.mini-contact { background: var(--leaf-soft); border: 3px solid var(--leaf); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.mini-contact p { margin: 0 0 .4rem; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

/* ==========================================================
   Footer
   ========================================================== */
.site-footer { background: var(--leaf-dark); color: #e9f5e2; padding: 3.5rem 0 1.5rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--sun); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand img { width: 210px; background: var(--cream); border-radius: 24px; padding: 10px; border: 3px solid var(--plum); }
.footer-brand p { margin-top: 1rem; font-family: var(--font-hand); font-size: 1.6rem; color: var(--sun); line-height: 1.1; }
.site-footer h4 { color: #fff; font-size: 1.25rem; margin-bottom: .7rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.site-footer ul a { text-decoration: none; }
.site-footer address { font-style: normal; line-height: 1.55; }
.social { display: flex; gap: .7rem; margin-top: 1rem; }
.social a {
  width: 44px; height: 44px; border-radius: 14px; background: rgba(255,255,255,.1); border: 2px solid rgba(255,255,255,.35);
  display: grid; place-items: center; transition: background .2s, transform .2s;
}
.social a:hover { background: var(--sun); color: var(--plum); transform: translateY(-3px); }
.social svg { width: 22px; height: 22px; }
.footer-bottom { margin-top: 2.8rem; padding-top: 1.3rem; border-top: 2px dashed rgba(255,255,255,.25); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .9rem; opacity: .85; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================
   Scroll reveal
   ========================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .4s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: .48s; }
.no-js .reveal, .no-js .reveal-stagger > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal, .reveal-stagger > *, .rise { opacity: 1; transform: none; }
}

/* program jump links */
.jump { justify-content: center; }
.jump a { text-decoration: none; color: var(--ink); display: block; }
.jump li { transition: transform .2s; }
.jump li:hover { transform: translateY(-3px); }
