/* ===== Design Tokens ===== */
:root {
  --red: #ff5a5f;
  --orange: #ff922b;
  --yellow: #ffd43b;
  --green: #51cf66;
  --teal: #22c3b8;
  --blue: #4dabf7;
  --indigo: #5c7cfa;
  --purple: #9c5cf7;
  --pink: #ff6fb5;

  --ink: #2d2a45;
  --ink-soft: #5b5776;
  --cream: #fff9f0;
  --paper: #ffffff;

  --shadow-sm: 0 6px 16px rgba(45, 42, 69, 0.08);
  --shadow-md: 0 16px 36px rgba(45, 42, 69, 0.12);
  --shadow-lg: 0 26px 60px rgba(45, 42, 69, 0.16);

  --r-lg: 30px;
  --r-md: 20px;
  --r-sm: 14px;

  --font-head: "Baloo 2", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

/* ===== Reset ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.1; color: var(--ink); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; }

.container { width: min(1160px, 92%); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1.02rem;
  padding: .85rem 1.6rem; border-radius: 999px; border: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .2s ease;
  will-change: transform;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--pink), var(--orange) 55%, var(--yellow));
  box-shadow: 0 12px 26px rgba(255, 111, 181, .38);
}
.btn-primary:hover { transform: translateY(-3px) rotate(-1deg); box-shadow: 0 18px 34px rgba(255, 111, 181, .5); }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-nav {
  color: #fff; padding: .6rem 1.25rem; font-size: .95rem;
  background: linear-gradient(120deg, var(--purple), var(--indigo));
  box-shadow: 0 10px 20px rgba(92, 124, 250, .35);
}
.btn-nav:hover { transform: translateY(-2px); }
.btn-block { width: 100%; margin-top: .4rem; }

/* ===== Logo ===== */
.logo { display: flex; align-items: center; gap: .7rem; }
.logo-img { height: 64px; width: auto; display: block; transition: transform .2s ease; }
.logo:hover .logo-img { transform: scale(1.04) rotate(-1deg); }
.footer-logo-img { height: 88px; width: auto; display: block; margin-bottom: .3rem; }
.logo-mark { position: relative; width: 42px; height: 42px; flex: none; }
.logo-mark .blob { position: absolute; border-radius: 50%; }
.blob.b1 { width: 20px; height: 20px; background: var(--red); top: 0; left: 4px; }
.blob.b2 { width: 16px; height: 16px; background: var(--yellow); top: 2px; right: 0; }
.blob.b3 { width: 18px; height: 18px; background: var(--green); bottom: 0; left: 0; }
.blob.b4 { width: 15px; height: 15px; background: var(--blue); bottom: 2px; right: 3px; }
.blob.b5 { width: 16px; height: 16px; background: var(--purple); top: 12px; left: 13px; }

.logo-text { display: flex; flex-direction: column; font-family: var(--font-head); font-weight: 800; line-height: .92; }
.logo-line-1 { font-size: 1.35rem; color: var(--red); letter-spacing: .5px; }
.logo-line-1 .eight { color: var(--green); }
.logo-line-2 { font-size: 1.35rem; color: var(--blue); letter-spacing: .5px; }
.logo-text.small .logo-line-1, .logo-text.small .logo-line-2 { font-size: 1.6rem; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 249, 240, .82);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(45, 42, 69, .06);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: .7rem 0; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a { font-weight: 700; font-family: var(--font-head); color: var(--ink-soft); transition: color .2s ease; }
.nav-links a:not(.btn):hover { color: var(--pink); }
.nav-links .btn-nav { color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; border-radius: 3px; background: var(--ink); transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; padding: clamp(3rem, 7vw, 6rem) 0 8rem; overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 212, 59, .28), transparent 40%),
    radial-gradient(circle at 88% 12%, rgba(77, 171, 247, .26), transparent 42%),
    radial-gradient(circle at 70% 90%, rgba(255, 111, 181, .22), transparent 45%),
    var(--cream);
}
.hero-blobs .hb { position: absolute; border-radius: 45% 55% 60% 40%; filter: blur(4px); opacity: .5; animation: floatBlob 9s ease-in-out infinite; }
.hb1 { width: 160px; height: 160px; background: var(--green); top: 8%; left: -40px; }
.hb2 { width: 120px; height: 120px; background: var(--purple); bottom: 22%; right: -30px; animation-delay: -3s; }
.hb3 { width: 90px; height: 90px; background: var(--orange); top: 40%; left: 45%; animation-delay: -6s; }
@keyframes floatBlob { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-26px) rotate(12deg); } }

.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 2.5rem; position: relative; z-index: 2; }
.eyebrow {
  display: inline-block; background: #fff; color: var(--ink);
  font-family: var(--font-head); font-weight: 700; font-size: .92rem;
  padding: .5rem 1rem; border-radius: 999px; box-shadow: var(--shadow-sm); margin-bottom: 1.2rem;
}
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); font-weight: 800; letter-spacing: -.5px; }
.rainbow-text {
  background: linear-gradient(100deg, var(--red), var(--orange), var(--yellow), var(--green), var(--blue), var(--purple));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% auto; animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 34rem; margin: 1.2rem 0 1.8rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.8rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 1.2rem; font-weight: 700; color: var(--ink-soft); font-size: .95rem; }

/* Hero art */
.hero-art { display: flex; justify-content: center; }
.art-card {
  position: relative; width: min(430px, 92%); aspect-ratio: 1; border-radius: 40px;
  background: linear-gradient(150deg, #fff, #fff7fb); padding: 16px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-3deg); animation: sway 7s ease-in-out infinite;
}
@keyframes sway { 0%,100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(2deg) translateY(-10px); } }
.art-photo { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; display: block; }
.art-emoji { font-size: clamp(5rem, 14vw, 9rem); filter: drop-shadow(0 10px 14px rgba(0,0,0,.12)); }
.crayon { position: absolute; width: 20px; height: 92px; border-radius: 8px; box-shadow: var(--shadow-sm); z-index: 2; }
.crayon::after { content: ""; position: absolute; top: -14px; left: 0; border-left: 10px solid transparent; border-right: 10px solid transparent; border-bottom: 14px solid inherit; }
.crayon-red { background: var(--red); top: 24px; left: 30px; transform: rotate(-18deg); }
.crayon-blue { background: var(--blue); bottom: 26px; left: 44px; transform: rotate(14deg); }
.crayon-green { background: var(--green); top: 30px; right: 34px; transform: rotate(20deg); }
.crayon-yellow { background: var(--yellow); bottom: 30px; right: 40px; transform: rotate(-12deg); }

.floaty { position: absolute; font-size: 2rem; animation: bob 4s ease-in-out infinite; }
.f1 { top: -24px; left: 10%; }
.f2 { top: 8%; right: -18px; animation-delay: -1s; }
.f3 { bottom: -18px; left: 22%; animation-delay: -2s; }
.f4 { bottom: 6%; right: -14px; animation-delay: -1.5s; }
.f5 { top: 46%; left: -26px; animation-delay: -2.5s; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-14px) rotate(6deg); } }

.wave-divider { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; }
.wave-divider svg { width: 100%; height: 90px; }
.wave-divider path { fill: var(--paper); }

/* ===== Marquee ===== */
.marquee { background: var(--paper); overflow: hidden; padding: 1rem 0; border-bottom: 3px dashed rgba(45,42,69,.08); }
.marquee-track { display: flex; gap: 2.5rem; width: max-content; animation: scrollX 26s linear infinite; }
.marquee-track span { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--ink); white-space: nowrap; }
@keyframes scrollX { to { transform: translateX(-50%); } }

/* ===== Section head ===== */
.section-head { text-align: center; max-width: 44rem; margin: 0 auto 3rem; }
.kicker {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  color: var(--pink); text-transform: uppercase; letter-spacing: 2px; font-size: .85rem; margin-bottom: .6rem;
}
.kicker.light { color: #fff; opacity: .9; }
.section-sub { color: var(--ink-soft); font-size: 1.1rem; margin-top: .7rem; }

/* ===== About ===== */
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
.photo-stack { position: relative; height: 380px; }
.photo {
  position: absolute; width: 210px; height: 210px; border-radius: 28px;
  object-fit: cover; border: 6px solid #fff;
}
.p-yellow { top: 0; left: 2%; transform: rotate(-6deg); z-index: 2; box-shadow: 0 0 0 5px var(--yellow), var(--shadow-md); }
.p-pink { top: 80px; right: 0; transform: rotate(5deg); z-index: 3; box-shadow: 0 0 0 5px var(--pink), var(--shadow-md); }
.p-blue { bottom: 0; left: 24%; transform: rotate(-3deg); z-index: 1; box-shadow: 0 0 0 5px var(--blue), var(--shadow-md); }
.sticker-star { position: absolute; top: -18px; right: 18%; width: 54px; height: 54px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 1.6rem; box-shadow: var(--shadow-sm); z-index: 4; animation: bob 5s ease-in-out infinite; }

.kicker { display: inline-block; }
.about-copy p { color: var(--ink-soft); font-size: 1.08rem; margin: .8rem 0 1.4rem; }
.about-copy h2 { margin-top: .2rem; }
.check-list { display: grid; gap: .7rem; margin-bottom: 1.8rem; }
.check-list li { position: relative; padding-left: 2.1rem; font-weight: 600; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 1.5rem; height: 1.5rem;
  background: var(--green); color: #fff; border-radius: 50%; display: grid; place-items: center; font-size: .85rem; font-weight: 800;
}

/* ===== Programs ===== */
.program-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.p-card {
  background: var(--paper); border-radius: var(--r-lg); padding: 0 1.5rem 2rem;
  box-shadow: var(--shadow-sm); text-align: center; position: relative; overflow: hidden;
  border: 3px solid transparent; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.p-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.p-photo { margin: 0 -1.5rem; height: 168px; overflow: hidden; }
.p-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.p-card:hover .p-photo img { transform: scale(1.06); }
.p-icon {
  display: grid; place-items: center; width: 62px; height: 62px; margin: -31px auto .5rem;
  position: relative; z-index: 2; background: #fff; border-radius: 50%;
  font-size: 1.9rem; box-shadow: var(--shadow-sm);
}
.p-card h3 { font-size: 1.5rem; }
.p-age { display: inline-block; font-weight: 700; font-size: .82rem; padding: .25rem .8rem; border-radius: 999px; margin: .5rem 0 .8rem; color: #fff; }
.p-card p { color: var(--ink-soft); font-size: .98rem; }
.tint-red::before { background: var(--red); } .tint-red:hover { border-color: var(--red); } .tint-red .p-age { background: var(--red); }
.tint-orange::before { background: var(--orange); } .tint-orange:hover { border-color: var(--orange); } .tint-orange .p-age { background: var(--orange); }
.tint-green::before { background: var(--green); } .tint-green:hover { border-color: var(--green); } .tint-green .p-age { background: var(--green); }
.tint-blue::before { background: var(--blue); } .tint-blue:hover { border-color: var(--blue); } .tint-blue .p-age { background: var(--blue); }

/* ===== Why ===== */
.why { background: var(--paper); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature {
  background: var(--cream); border-radius: var(--r-md); padding: 1.8rem;
  box-shadow: var(--shadow-sm); transition: transform .2s ease;
}
.feature:hover { transform: translateY(-6px); }
.f-emoji { font-size: 2.4rem; margin-bottom: .5rem; }
.feature h4 { font-size: 1.25rem; margin-bottom: .3rem; }
.feature p { color: var(--ink-soft); font-size: .98rem; }

/* ===== Timeline ===== */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.timeline li {
  display: flex; gap: 1rem; align-items: flex-start; background: var(--paper);
  border-radius: var(--r-md); padding: 1.4rem; box-shadow: var(--shadow-sm);
}
.t-time {
  font-family: var(--font-head); font-weight: 800; color: #fff; font-size: 1rem;
  background: linear-gradient(120deg, var(--indigo), var(--purple));
  min-width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; flex: none;
}
.t-emoji { font-size: 1.6rem; }
.t-body h4 { font-size: 1.15rem; margin: .2rem 0; }
.t-body p { color: var(--ink-soft); font-size: .95rem; }

/* ===== Team ===== */
.team { background: var(--paper); }
.team-subhead {
  text-align: center; font-family: var(--font-head); font-weight: 700;
  font-size: 1.5rem; color: var(--ink); margin: 2.6rem 0 1.5rem;
}
.team-subhead:first-of-type { margin-top: 0; }
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.team-card {
  width: 230px; background: var(--cream); border-radius: var(--r-lg);
  padding: 2rem 1.5rem; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-avatar {
  width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center;
  margin: 0 auto 1rem; font-family: var(--font-head); font-weight: 800;
  font-size: 2.1rem; color: #fff; box-shadow: var(--shadow-sm);
}
.team-card h4 { font-size: 1.3rem; }
.team-role { display: inline-block; margin-top: .35rem; font-weight: 700; font-size: .92rem; color: var(--ink-soft); }
.a-purple { background: linear-gradient(140deg, var(--purple), var(--indigo)); }
.a-pink { background: linear-gradient(140deg, var(--pink), var(--orange)); }
.a-blue { background: linear-gradient(140deg, var(--blue), var(--teal)); }
.team-tbd { background: var(--paper); border: 2px dashed rgba(45, 42, 69, .16); }
.team-tbd .team-avatar { background: linear-gradient(140deg, #efeaf7, #e4ddf1); }
.team-note { text-align: center; color: var(--ink-soft); font-weight: 600; margin-top: 1.8rem; }

/* visually-hidden anti-spam honeypot */
.hp-field { position: absolute !important; left: -9999px !important; top: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ===== Testimonials ===== */
.testimonials {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 146, 43, .12), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(77, 171, 247, .12), transparent 40%),
    var(--cream);
}
.quote-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.quote { background: var(--paper); border-radius: var(--r-lg); padding: 2rem; box-shadow: var(--shadow-md); }
.stars { color: var(--yellow); font-size: 1.2rem; letter-spacing: 2px; margin-bottom: .8rem; }
.quote blockquote { font-size: 1.05rem; color: var(--ink); margin-bottom: 1.2rem; font-weight: 600; }
.quote figcaption { display: flex; align-items: center; gap: .7rem; font-weight: 700; color: var(--ink-soft); font-family: var(--font-head); }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.2rem; font-weight: 800; }
.a1 { background: var(--pink); } .a2 { background: var(--teal); } .a3 { background: var(--purple); }

/* ===== Contact ===== */
.contact { background: linear-gradient(135deg, var(--indigo), var(--purple) 55%, var(--pink)); color: #fff; }
.contact h2 { color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.contact-copy p { opacity: .92; font-size: 1.1rem; margin: .6rem 0 1.5rem; max-width: 30rem; }
.contact-list { display: grid; gap: .9rem; font-weight: 600; }
.contact-list li { display: flex; align-items: center; gap: .8rem; }
.contact-list span { font-size: 1.3rem; }
.contact-list a:hover { text-decoration: underline; }
.ig-btn {
  margin-top: 1.6rem; gap: .6rem;
  background: linear-gradient(120deg, #f9ce34, #ee2a7b 45%, #6228d7);
  color: #fff; box-shadow: 0 12px 26px rgba(238, 42, 123, .4);
}
.ig-btn:hover { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(238, 42, 123, .5); }
.ig-glyph { flex: none; }

.contact-form { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 2rem; box-shadow: var(--shadow-lg); display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-weight: 700; font-size: .9rem; font-family: var(--font-head); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; padding: .8rem 1rem;
  border: 2px solid #eae6f2; border-radius: var(--r-sm); background: #faf9fd; transition: border-color .2s ease, box-shadow .2s ease; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(156, 92, 247, .15); background: #fff;
}
.field textarea { resize: vertical; }
.form-note { text-align: center; font-weight: 700; color: var(--green); min-height: 1.2rem; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #fff; padding: 3rem 0 1.6rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; align-items: center; }
.footer-brand p { opacity: .8; margin-top: .4rem; max-width: 24rem; }
.footer-brand .logo-line-1 { color: var(--yellow); } .footer-brand .logo-line-1 .eight { color: var(--green); }
.footer-brand .logo-line-2 { color: var(--blue); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-links a { font-family: var(--font-head); font-weight: 700; opacity: .85; transition: opacity .2s, color .2s; }
.footer-links a:hover { opacity: 1; color: var(--yellow); }
.footer-ig { display: inline-flex; align-items: center; gap: .45rem; }
.footer-ig svg { transition: transform .2s ease; }
.footer-ig:hover svg { transform: scale(1.12) rotate(-6deg); color: var(--pink); }
.copyright { text-align: center; opacity: .6; font-size: .9rem; margin-top: 2rem; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.4rem; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 1rem;
    background: var(--cream); padding: 1.5rem; box-shadow: var(--shadow-md);
    clip-path: inset(0 0 100% 0); transition: clip-path .3s ease; align-items: flex-start;
  }
  .nav-links.open { clip-path: inset(0 0 0 0); }
  .hero-inner, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; margin-bottom: 1rem; }
  .program-cards { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .timeline, .quote-cards { grid-template-columns: 1fr 1fr; }
  .photo-stack { height: 340px; max-width: 380px; margin-inline: auto; }
}
@media (max-width: 560px) {
  .program-cards, .feature-grid, .timeline, .quote-cards, .field-row { grid-template-columns: 1fr; }
  .hero-badges { gap: .6rem; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* ===== Motion preference ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto; }
}
