/* A quieter, more cinematic layer over the Kiddoverse brand palette. */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Nunito", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body:not(.admission-page) :is(.hero h1,.manifesto h2,.learning-head .title,.program-intro .title,#life>.shell>.title,.reviews-heading .title,.school-info-grid .title,.contact-box h2),
.admission-hero h1 {
  font-family: var(--play, "Fredoka", sans-serif);
  font-weight: 600;
  letter-spacing: -.052em;
}
.eyebrow, .hero-overline, .learning-kicker, .footer-kicker {
  letter-spacing: .16em;
}
.nav { border-radius: 999px; box-shadow: 0 12px 35px #2a195014; }
.nav a { transition: background .25s ease, color .25s ease; }
.reg-chip { box-shadow: inset 0 1px 0 #fff; }
.btn { border-radius: 999px; box-shadow: 0 11px 25px #21134b1e; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px #21134b26; }
.btn:active { transform: translateY(0); }

.hero { min-height: 730px; padding: 78px 0 86px; }
.hero-grid {
  grid-template-columns: minmax(0,1.03fr) minmax(0,.97fr);
  gap: clamp(38px,5vw,80px);
}
.hero-copy { max-width: 665px; }
.hero-overline {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 9px 14px;
  border: 1px solid #ffffff46;
  border-radius: 999px;
  background: #ffffff0c;
  font-size: 10px;
}
.hero-overline::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a9d974;
  box-shadow: 0 0 0 4px #a9d97429;
}
.hero-mantra { margin-top: 32px; }
.hero h1 {
  max-width: 700px;
  margin: 17px 0 24px;
  font-size: clamp(4.1rem,6.25vw,6.55rem);
  line-height: 1.01;
  text-wrap: balance;
}
.hero h1 em { display: block; }
.hero p { max-width: 540px; font-size: clamp(17px,1.45vw,19px); line-height: 1.65; }
.hero .actions { gap: 12px; margin-top: 35px; }
.hero .btn, .hero .btn.light {
  min-height: 56px;
  padding: 14px 24px;
  border-radius: 999px;
  box-shadow: none;
  font-weight: 800;
}
.hero .btn { background: #f8d477; color: #241352; }
.hero .btn:hover { background: #ffe39a; }
.hero .btn.light { border: 1px solid #cdbdeb; background: #ffffff0b; }
.hero .btn.light:hover { background: #ffffff25; }
.hero-signature { margin-top: 29px; opacity: .9; }

.hero-visual {
  position: relative;
  width: min(100%,570px);
  min-height: 580px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.hero-orbit {
  position: absolute;
  width: min(108%,570px);
  aspect-ratio: 1;
  border: 1.5px solid #f9d6806b;
  border-radius: 50%;
  box-shadow: 0 0 0 34px #ffffff07, 0 0 0 35px #ffffff17, inset 0 0 0 25px #ffffff05;
  transform: rotate(-18deg) scaleY(.88);
  z-index: -1;
}
.hero-orbit::before, .hero-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.hero-orbit::before {
  width: 17px;
  height: 17px;
  top: 12%;
  left: 10%;
  background: #ffc759;
  box-shadow: 0 0 0 7px #ffc75928, 0 0 28px #ffc75988;
}
.hero-orbit::after {
  width: 9px;
  height: 9px;
  right: 9%;
  bottom: 17%;
  background: #99d27f;
  box-shadow: 0 0 0 5px #99d27f2a;
}
.hero-visual .hero-photo {
  position: relative;
  width: min(77%,430px);
  max-width: none;
  margin: 15px 0 0;
  transform: rotate(-2deg);
  animation: none;
  z-index: 1;
}
.hero-visual .hero-photo::before {
  inset: 10px -12px -10px 12px;
  transform: rotate(3deg);
  border-radius: 35px;
  background: linear-gradient(155deg,#ffe7a2,#f0b74b);
}
.hero-visual .hero-photo img {
  aspect-ratio: 3/4;
  object-fit: cover;
  border: 8px solid #fff;
  border-radius: 33px;
  box-shadow: 0 35px 85px #0a063675;
}
.hero-visual .hero-photo figcaption {
  margin-top: -10px;
  padding: 10px 17px;
  transform: rotate(2deg);
  box-shadow: 0 12px 32px #0d083446;
}
.hero-spark {
  position: absolute;
  color: #ffdb80;
  line-height: 1;
  z-index: 2;
  pointer-events: none;
}
.hero-spark-one { top: 4%; right: 13%; font-size: 40px; }
.hero-spark-two { bottom: 19%; left: 4%; font-size: 52px; }
.hero-note {
  position: absolute;
  top: 15%;
  left: 1%;
  z-index: 3;
  width: 150px;
  padding: 17px 18px 19px;
  transform: rotate(-7deg);
  border: 1px solid #fff;
  border-radius: 19px;
  background: #fffdf6;
  box-shadow: 0 20px 45px #100b3855;
  color: #2e1c67;
}
.hero-note span { display: block; color: #4b9238; font-size: 30px; line-height: 1; }
.hero-note strong {
  display: block;
  margin-top: 9px;
  font: 600 20px/1.12 var(--play, "Fredoka", sans-serif);
}

.belief-ribbon .shell { min-height: 64px; gap: clamp(18px,4vw,55px); }
.manifesto { padding: 112px 0; }
.manifesto h2 { max-width: 580px; }
.manifesto-copy p { line-height: 1.78; }
.press-section { padding: 85px 0; }
.press a {
  border-radius: 26px;
  box-shadow: 0 14px 35px #4b31500f;
  transition: transform .25s ease, box-shadow .25s ease;
}
.press a:hover { transform: translateY(-4px); box-shadow: 0 20px 42px #4b31501b; }
.learning { padding: 115px 0 125px; }
.learning-grid { gap: 22px; }
.learning-card {
  border: 1px solid #e8e2ec;
  border-radius: 29px;
  box-shadow: 0 16px 46px #2919490d;
}
.learning-card.wonder, .learning-card.maths, .learning-card.language, .learning-card.character, .learning-card.roots {
  box-shadow: 0 17px 43px #29194919;
}
.learning-card h3 { max-width: 640px; }

/* Real school moments are edited as one quiet, full-bleed photo essay. */
.moments-section {
  padding: 112px 0 120px;
  background: #fffdfa;
}
.moments-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 35px;
}
.moments-heading h2 {
  margin: 15px 0 0;
  color: #271654;
  font: 600 clamp(3rem,5.2vw,5.5rem)/1.04 var(--play, "Fredoka", sans-serif);
  letter-spacing: -.055em;
}
.moments-heading h2 em { color: #438739; font-style: normal; }
.moments-heading p {
  max-width: 350px;
  margin: 0 0 5px;
  color: #625b6c;
  font-size: 17px;
  line-height: 1.65;
}
.moments-grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr 1fr;
  gap: 16px;
}
.moment-card {
  position: relative;
  min-width: 0;
  height: clamp(410px,43vw,540px);
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  border-radius: 28px;
  background: #e8e1ed;
}
.moment-card::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent,#130f32c2);
  pointer-events: none;
}
.moment-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.8,.2,1);
}
.moment-card:hover img { transform: scale(1.045); }
.moment-robot img { object-position: 54% 40%; }
.moment-solar img { object-position: center 35%; }
.moment-fire img { object-position: center 32%; }
.moment-card figcaption {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 65px 27px 28px;
  color: #fff;
}
.moment-card figcaption span {
  display: block;
  margin-bottom: 9px;
  color: #f8d680;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .17em;
}
.moment-card figcaption strong {
  display: block;
  font: 600 clamp(1.45rem,2vw,2rem)/1.18 var(--play, "Fredoka", sans-serif);
}
.family-moment { padding: 94px 0; }
.family-moment blockquote { max-width: 540px; }

.program-section { padding: 115px 0 125px; }
.programs { gap: 23px; }
.program, .program:first-child, .program:last-child {
  border: 1px solid #e7dfed;
  border-radius: 30px;
  box-shadow: 0 17px 44px #2b195118;
}
.program.senior, .program.balvatika { box-shadow: 0 17px 44px #2b195118; }
.program:hover { box-shadow: 0 25px 56px #2b195126; }
.program-art { aspect-ratio: 1.12; }
.program-content { padding: 30px; }
.program-cta { border-radius: 999px; box-shadow: none; }
.program-cta:hover { box-shadow: 0 8px 18px #29155122; }
.journey-badge { border-color: #ffffffdc; }

#life { padding: 115px 0 120px; }
.media-gallery { border: 1px solid #e7e0ee; border-radius: 28px; box-shadow: 0 20px 55px #29194914; }
.gallery-top { padding: 34px 38px 28px; }
.gallery-top h3 { font-family: var(--play, "Fredoka", sans-serif); font-weight: 600; }
.gallery-slide figcaption { padding: 25px 38px 31px; }
.gallery-bottom { padding: 0 38px 28px; }
.gallery-controls button { box-shadow: none; }
.gallery-media { height: clamp(390px,49vw,590px); }
.family-reviews, .soft, .inquiry-section { padding-top: 112px; padding-bottom: 112px; }
.review-feature, .review-card, .inquiry-form, .credentials article {
  box-shadow: 0 15px 45px #29194913;
}
.reviews-score { box-shadow: 0 22px 55px #25134e29; }
.contact-box { box-shadow: 0 24px 60px #24114730; }
.footer { border-radius: 36px 36px 0 0; }

.admission-hero { padding: 88px 0 82px; }
.admission-hero::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  top: -240px;
  right: -90px;
  border: 1px solid #ffdd8952;
  border-radius: 50%;
  box-shadow: 0 0 0 38px #ffffff08, 0 0 0 39px #ffffff20;
  pointer-events: none;
}
.admission-hero .shell { position: relative; z-index: 1; }
.admission-stage { padding-top: 87px; }
.admission-aside, .form-panel { border-radius: 27px; box-shadow: 0 16px 48px #28174715; }
.form-panel { border: 1px solid #e7dfea; }
.panel-number { border-radius: 15px; transform: none; box-shadow: none; }
.upload-tile { border-radius: 18px; }
.form-actions .btn { border-radius: 999px; box-shadow: none; }
.form-actions .btn:hover { box-shadow: 0 9px 22px #28174722; }

@media (max-width: 1000px) {
  .hero { min-height: 0; }
  .hero-grid { gap: 35px; }
  .hero h1 { font-size: clamp(3.5rem,6.2vw,5.3rem); }
  .hero-visual { min-height: 520px; }
}
@media (max-width: 900px) {
  .hero { padding: 65px 0 58px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 740px; }
  .hero h1 { max-width: 750px; font-size: clamp(3.7rem,8vw,5.8rem); }
  .hero-visual { width: min(100%,540px); min-height: 560px; }
  .moments-heading { align-items: start; }
}
@media (max-width: 700px) {
  .hero { padding: 46px 0 50px; }
  .hero-overline { font-size: 9px; padding: 8px 11px; }
  .hero h1 { font-size: clamp(3.05rem,11.4vw,4.4rem); }
  .hero p { font-size: 17px; }
  .hero-visual { min-height: 460px; margin-top: 0; }
  .hero-visual .hero-photo { width: min(79%,345px); }
  .hero-visual .hero-photo img { border-width: 6px; border-radius: 27px; }
  .hero-visual .hero-photo figcaption { font-size: 10px; }
  .hero-note { display: none; }
  .hero-spark-one { top: 3%; right: 4%; }
  .hero-spark-two { left: 1%; bottom: 10%; }
  .belief-ribbon .shell { gap: 7px 13px; font-size: 10px; }
  .manifesto, .learning, .program-section, #life, .family-reviews, .soft, .inquiry-section { padding-top: 77px; padding-bottom: 83px; }
  .press-section { padding: 70px 0; }
  .moments-section { padding: 80px 0 90px; }
  .moments-heading { display: block; margin-bottom: 27px; }
  .moments-heading h2 { font-size: clamp(2.8rem,10.4vw,4.1rem); }
  .moments-heading p { margin: 20px 0 0; font-size: 16px; }
  .moments-grid { grid-template-columns: 1fr; gap: 15px; }
  .moment-card { height: 340px; border-radius: 23px; }
  .moment-robot img, .moment-solar img, .moment-fire img { object-position: center 37%; }
  .moment-card figcaption { padding: 50px 24px 23px; }
  .family-moment { padding: 73px 0; }
  .programs { gap: 23px; }
  .program-content { padding: 26px; }
  .gallery-top { padding: 25px 21px 20px; }
  .gallery-slide figcaption { padding: 20px 21px 25px; }
  .gallery-bottom { padding: 0 21px 22px; }
  .admission-hero { padding: 64px 0; }
  .admission-stage { padding: 48px 0 80px; }
}
@media (max-width: 390px) {
  .hero h1 { font-size: 2.9rem; }
  .hero-visual { min-height: 410px; }
  .hero-visual .hero-photo { width: 82%; }
  .hero-spark-one { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  .moment-card img, .btn, .nav a { transition: none; }
  .moment-card:hover img, .btn:hover { transform: none; }
}
