* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Rum Raisin", sans-serif;
  color: #111;
  background: #c1deff;
}

.banner {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* justify-content: center; */
  padding: 3rem 1.5rem 5rem;
  text-align: center;
  background: #afd7fe;
}

.banner-title {
  margin: 0 0 1.25rem;
  font-family: "Rum Raisin", sans-serif;
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #111;
  font-family: "Rum Raisin", sans-serif;
  /* font-family: "Bagel Fat One", system-ui; */
  /* font-family: "Cherry Bomb One", system-ui; */
  /* font-family: "Sekuya", system-ui; */
  /* width: 550px; */
  /* text-align: center; */
  /* font-family: "Henny Penny", system-ui; */
  /* font-family: "Mystery Quest", system-ui; */
  /* font-family: "Love Ya Like A Sister", cursive; */
  /* font-family: "Ranchers", sans-serif; */
  /* font-family: "Peralta", serif; */
  font-size: 5em;
  width: auto;
  white-space: nowrap;
  letter-spacing: -2px;
  margin-bottom: -50px;
  z-index: 9;
  margin-top: 60px;
  line-height: 1;
  font-family: "Rum Raisin", sans-serif;
}

.banner-art {
  border: 0;
  background: transparent;
  object-fit: contain;
  pointer-events: none;
  display: block;
  width: min(720px, 92vw);
  height: auto;
  margin: 0 auto 1.5rem;
}

.banner-cta {
  margin: 0 0 0.35rem;
  font-family: "Rum Raisin", sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.banner-sub {
  margin: 0;
  font-family: "Rum Raisin", sans-serif;
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  font-style: italic;
  color: #222;
}

.banner-about,
.banner-lang {
  position: absolute;
  bottom: 1.5rem;
  margin: 0;
  font-family: "Rum Raisin", sans-serif;
  font-size: 0.95rem;
  color: #111;
  text-decoration: none;
}

.banner-about {
  left: 1.75rem;
}

.banner-about:hover {
  text-decoration: underline;
}

.banner-lang {
  right: 1.75rem;
}

.banner-lang .is-active {
  font-weight: 700;
}

.font-bagel-fat-one { font-family: "Bagel Fat One", system-ui, sans-serif; }
.font-cherry-bomb-one { font-family: "Cherry Bomb One", system-ui, sans-serif; }
.font-fascinate { font-family: "Fascinate", system-ui, sans-serif; }
.font-limelight { font-family: "Limelight", system-ui, sans-serif; }
.font-luckiest-guy { font-family: "Luckiest Guy", system-ui, sans-serif; }
.font-ribeye { font-family: "Ribeye", system-ui, sans-serif; }
.font-sekuya { font-family: "Sekuya", system-ui, sans-serif; }
.font-spicy-rice { font-family: "Spicy Rice", system-ui, sans-serif; }

/* Floating title letters, each slightly out of sync */
.banner-title span {
  display: inline-block;
  animation: letter-float 4.5s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * -0.3s);
  will-change: transform;
}

.banner-title .space {
  width: 0.3em;
  animation: none;
}

@keyframes letter-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-3px) rotate(-0.8deg); }
  50% { transform: translateY(0) rotate(0deg); }
  75% { transform: translateY(2px) rotate(0.8deg); }
}

@media (prefers-reduced-motion: reduce) {
  .banner-title span { animation: none; }
}

/* Cartoon wind lines */
.banner { overflow: hidden; }
.banner > *:not(.wind-layer) { position: relative; z-index: 1; }
.banner > .banner-about,
.banner > .banner-lang { position: absolute; }
.banner-title {
  margin-top: 20px;
  margin-bottom: -50px;
  font-size: 6.5em;
  color: #7c741f;
  z-index: 9 !important;
}

.wind-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
}

.wind-line {
  position: absolute;
  height: auto;
  overflow: visible;
}

.wind-line path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* ===== Below the banner (layout modelled on pebblespreschool.com) ===== */
.cc { font-family: "Rum Raisin", sans-serif; color: #444; }
.cc h2, .cc h3, .cc h4, .cc summary, .cc-kicker, .cc button { font-family: "Rum Raisin", sans-serif; font-weight: 400; }
.cc-container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.cc-center { text-align: center; }
.cc section { position: relative; padding: 5rem 0; overflow: hidden; }
.cc-bg-cream { background: #fffaf3; }
.cc-bg-cyan { background: #afd7fe; }
.cc-kicker { color: #5d7a57; font-size: 1.6rem; letter-spacing: 0.05em; margin: 0 0 0.5rem; }
.cc-title { color: #7c741f; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; margin: 0 0 1rem; }
.cc-big { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1; margin: 0 0 1.5rem; }
.cc-accent { color: #773a28; }
.cc-text { max-width: 760px; margin: 0 auto; font-size: 1.1rem; line-height: 1.7; }
.cc-lead { font-size: 1.15rem; color: #555; }

/* Hero: stats + admissions form */
.cc-hero-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 2rem; align-items: center; }
.cc-hero-title { font-size: clamp(3rem, 6vw, 5rem); color: #7c741f; margin: 0; line-height: 1; }
.cc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; color: #7c741f; }
.cc-stats h3 { font-size: 2.5rem; margin: 0; }
.cc-stats p { margin: 0.25rem 0 0; color: #555; }
.cc-hero-art { font-size: 7rem; text-align: center; position: relative; }
.cc-hero-art span { position: absolute; font-size: 3.5rem; right: 10%; top: 0; animation: cc-bob 4s ease-in-out infinite; }
.cc-form-box { background: #fff; border-radius: 24px; padding: 2rem; box-shadow: 0 12px 30px rgba(88, 64, 51, 0.12); text-align: center; }
.cc-form-box h3 { color: #7c741f; font-size: 2rem; margin: 0 0 1.25rem; }
.cc-form-box form { display: grid; gap: 0.75rem; }
.cc-form-box input, .cc-form-box select { font: inherit; padding: 0.7rem 0.9rem; border: 1px solid #cae1f6; border-radius: 10px; background: #fff; color: #333; }
.cc button { font-size: 1.2rem; padding: 0.75rem; border: 0; border-radius: 999px; background: #c4553f; color: #fff; cursor: pointer; }
.cc button:hover { background: #a8432f; }
.cc-form-note { color: #5d7a57; margin: 0; }

/* About */
.cc-deco { position: absolute; font-size: 5rem; bottom: 1.5rem; opacity: 0.9; }
.cc-deco-left { left: 3%; }
.cc-deco-right { right: 3%; animation: cc-bob 5s ease-in-out infinite; }

/* Programs */
.cc-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin: 1.5rem 0 2.5rem; }
.cc-pills a { font-family: "Rum Raisin", sans-serif; padding: 0.6rem 1.2rem; border-radius: 999px; background: #fff; color: #7c741f; text-decoration: none; }
.cc-pills a:hover { background: #5d7a57; color: #fff; }
.cc-dual { display: grid; grid-template-columns: 2fr 1fr; gap: 1.5rem; text-align: left; margin-bottom: 2rem; }
.cc-dual-main, .cc-dual-side { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-radius: 24px; padding: 2rem; }
.cc-dual-main { background: #cae1f6; }
.cc-dual-side { background: #f1cdb0; }
.cc-dual h3 { color: #7c741f; font-size: 2rem; margin: 0 0 0.5rem; line-height: 1.1; }
.cc-dual p { margin: 0; }
.cc-dual-art { font-size: 4.5rem; }
.cc-dashed { border-radius: 10px; padding: 2.5rem 2rem; box-shadow: 0 20px 30px #44444459; }
.cc-heroes { font-size: 3rem; margin-top: 1.5rem; letter-spacing: 0.5rem; }

/* Testimonials */
.cc-sun { font-size: 4rem; display: block; animation: cc-spin 30s linear infinite; }
.cc-carousel { overflow: hidden; margin-top: 2.5rem; }
.cc-track { display: flex; gap: 1.5rem; width: max-content; animation: cc-scroll 40s linear infinite; }
.cc-carousel:hover .cc-track { animation-play-state: paused; }
.cc-track figure { margin: 0; width: 320px; border-radius: 24px; padding: 1.75rem; color: #333; }
.cc-track blockquote { margin: 0 0 1rem; line-height: 1.6; }
.cc-track figcaption { font-family: "Rum Raisin", sans-serif; color: #7c741f; }
.cc-kite { position: absolute; right: 4%; top: 3rem; font-size: 4.5rem; animation: cc-bob 6s ease-in-out infinite; }

/* FAQ */
.cc-accordion { max-width: 900px; margin: 2rem auto 0; display: grid; gap: 0.75rem; }
.cc-accordion details { background: #fffaf3; border-radius: 16px; padding: 1rem 1.5rem; }
.cc-accordion summary { cursor: pointer; color: #7c741f; font-size: 1.25rem; list-style: none; position: relative; padding-right: 2rem; }
.cc-accordion summary::-webkit-details-marker { display: none; }
.cc-accordion summary::after { content: "+"; position: absolute; right: 0; top: 0; color: #c4553f; }
.cc-accordion details[open] summary::after { content: "–"; }
.cc-accordion p { margin: 0.75rem 0 0; line-height: 1.7; }

/* Footer */
.cc-giraffe { text-align: center; font-size: 6rem; line-height: 1; margin-bottom: -0.6rem; }
.cc-footer { background: #5c561a; color: #fffaf3; text-align: center; padding: 1.5rem; }
.cc-footer p { margin: 0.35rem 0; }
.cc-footer a { color: #fff; }

@keyframes cc-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes cc-spin { to { transform: rotate(360deg); } }
@keyframes cc-scroll { to { transform: translateX(-50%); } }

@media (max-width: 991px) {
  .cc-hero-grid, .cc-dual { grid-template-columns: 1fr; }
  .cc-hero-art { display: none; }
  .cc-deco { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cc-track, .cc-sun, .cc-kite, .cc-deco-right, .cc-hero-art span { animation: none; }
}


/* Light sky sections */
.cc-about, .cc-faq { background: #e6f2ff; }
.cc-pills a { background: #cae1f6; }
.cc-pills a:hover { background: #7c741f; color: #fff; }

/* Stats under the tagline in the banner */
.banner-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 60px;
  color: #7c741f;
  text-align: center;
}
.banner-stats h3 { font-size: 2.5rem; margin: 0; font-weight: 400; }
.banner-stats p {
  margin: 0.25rem 0 0;
  color: #444;
  font-size: 1.2em;
  font-family: "Google Sans Flex", sans-serif;
  font-weight: 500;
  letter-spacing: -1px;
}
@media (max-width: 600px) { .banner-stats { gap: 1.25rem; } .banner-stats h3 { font-size: 1.8rem; } }
/* Two-column banner: content left, admissions form right */
.banner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
  gap: 3rem;
  align-items: center;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}
.banner-left { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.banner-right { display: flex; justify-content: center; }
.banner-form { width: 100%; max-width: 380px; font-family: "Google Sans Flex", sans-serif; }
.banner-form h3 { font-family: "Rum Raisin", sans-serif; font-weight: 400; color: #7c741f; }
.banner-form input, .banner-form select { border-color: #cae1f6; }
.banner-form button {
  font-family: "Rum Raisin", sans-serif; font-size: 1.2rem; padding: 0.75rem;
  border: 0; border-radius: 999px; background: #c4553f; color: #fff; cursor: pointer;
}
.banner-form button:hover { background: #a8432f; }
.banner-form .cc-form-note { color: #5d7a57; margin: 0; }
@media (max-width: 1100px) {
  .banner-grid { grid-template-columns: 1fr; }
  .banner-title { white-space: normal; }
}
/* Seats-left counter */
.seats-note { margin: -0.25rem 0 1rem; text-align: center; font-family: "Google Sans Flex", sans-serif; font-weight: 600; color: #773a28; font-size: 1rem; }
.seats-count { display: inline-block; min-width: 1.6ch; margin: 0 0.2em; text-align: center; font-family: "Rum Raisin", sans-serif; font-size: 1.5em; color: #c4553f; }
.seats-count.bump { animation: seatBump .35s ease-out; }
@keyframes seatBump { 0% { transform: scale(1.35); } 100% { transform: scale(1); } }
/* About video */
.cc-about-video { display: block; width: min(820px, 100%); margin: 2rem auto 0; border-radius: 24px; box-shadow: 0 12px 30px rgba(0,0,0,0.12); }

/* About section ground strip */
.cc-about { position: relative; background: #f0fbef !important; padding-bottom: 0 !important; }
.cc-about .cc-about-video { border-radius: 0; position: relative; z-index: 1; }
.cc-about-ground { position: absolute; left: 0; right: 0; bottom: 0; height: 270px; background: #bbe4cf; z-index: 0; }

.cc-about .cc-about-video { padding: 50px; padding-bottom: 31px; }

.cc-title {
  color: #7c741f;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  max-width: 650px;
  margin: 0 auto;
}

h4, h4.cc-accent { font-size: 2em; }

.cc-text {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.31rem;
  line-height: 1.7;
  font-family: "Google Sans Flex", sans-serif;
}

.cc-dual-img { display: block; width: 100%; max-width: 260px; height: auto; margin: 0 auto 1rem; }

.cc-dual-main {
  background: #c5e6cf;
}

.banner-stats p {
  margin: 0.25rem 0 0;
  color: #2c4966;
  font-size: 1.1em;
  font-family: "Google Sans Flex", sans-serif;
  font-weight: 500;
  letter-spacing: normal; /* was -1px */
  padding: 0 30px;
}

.cc-accordion p {
  margin: 0.75rem 0 0;
  line-height: 1.3;
  font-family: "Google Sans Flex", sans-serif;
  font-size: 1.2em;
}

.cc-accordion summary {
  cursor: pointer;
  color: #7c741f;
  font-size: 1.55rem;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}

img.cc-kite { width: 120px; height: auto; }

img.cc-kite { width: 320px; height: auto; position: static; display: block; margin: 0 auto; }

/* Branches: three video columns */
.cc-branches { background: #f0fbef; padding: 5rem 0; }
.cc-branch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.cc-branch { text-align: center; }
.cc-branch h3 { margin: 0 0 1rem; color: #7c741f; font-size: 2rem; }
.cc-branch video { display: block; width: 100%; aspect-ratio: 688 / 464; object-fit: cover; border-radius: 16px; box-shadow: 0 12px 24px rgba(0,0,0,0.12); background: #bbe4cf; }
@media (max-width: 800px) { .cc-branch-grid { grid-template-columns: 1fr; } }
/* Testimonial photos */
.cc-track { align-items: stretch; }
.cc-track figure { width: 340px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cc-testi-photo { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; border: 5px solid #fff; box-shadow: 0 8px 18px rgba(0,0,0,0.12); margin-bottom: 1.25rem; flex-shrink: 0; }
.cc-track blockquote { font-family: "Google Sans Flex", sans-serif; font-size: 1.05rem; flex: 1; }
/* Branches: full width, no gaps */
.cc section.cc-branches { padding-bottom: 0; }
.cc-branches .cc-branch-grid { max-width: none; width: 100%; padding: 0; margin: 0; gap: 0; }
.cc-branch video { border-radius: 0; box-shadow: none; }
.cc-branch video { aspect-ratio: 542 / 450; }

.cc section.cc-testimonials, .cc-testimonials.cc-bg-cyan { background: #c4e6d1; }

.cc-giraffe { background: #e6f2ff; }

.cc-branch-addr { margin: -0.5rem auto 1.25rem; max-width: 320px; padding: 0 1rem; font-family: "Google Sans Flex", sans-serif; font-size: 1rem; line-height: 1.5; color: #444; }
.cc-branch-addr strong { color: #773a28; }

.cc-branch { display: flex; flex-direction: column; }
.cc-branch video { margin-top: auto; }
.cc-branch-addr { max-width: 340px; }

/* Branch video crop: change --crop-left / --crop-right (percent of the video's width) to adjust.
   Override per video with style="--crop-left: 12; --crop-right: 9" on its .cc-branch-media div. */
.cc-branch-media { --crop-left: 10.6; --crop-right: 9.4; margin-top: auto; overflow: hidden; }
.cc-branch-media video {
  margin-top: 0;
  max-width: none;
  aspect-ratio: 688 / 450;
  width: calc(100% * 100 / (100 - var(--crop-left) - var(--crop-right)));
  margin-left: calc(-100% * var(--crop-left) / (100 - var(--crop-left) - var(--crop-right)));
}

/* Contact us */
.cc section.cc-contact { background: #c4e6d1; }
.cc-contact-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.5rem; margin-top: 2rem; }
.cc-contact-card { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; min-width: 280px; padding: 1.75rem 2rem; background: #fffaf3; border-radius: 20px; text-decoration: none; box-shadow: 0 12px 24px rgba(0,0,0,0.08); transition: transform .2s ease; }
.cc-contact-card:hover { transform: translateY(-4px); }
.cc-contact-icon { font-size: 2.25rem; }
.cc-contact-label { font-family: "Rum Raisin", sans-serif; color: #7c741f; font-size: 1.4rem; }
.cc-contact-value { font-family: "Google Sans Flex", sans-serif; color: #773a28; font-size: 1.2rem; font-weight: 600; }
/* Mobile fixes */
@media (max-width: 600px) {
  .banner-stats { gap: 0.75rem; flex-wrap: nowrap; }
  .banner-stats > div { flex: 1 1 0; min-width: 0; }
  .banner-stats p { padding: 0 4px; font-size: 0.95em; }
  .cc-about .cc-about-video { padding: 16px; padding-bottom: 12px; }
  .cc-about-ground { height: 140px; }
  .cc-dual-main, .cc-dual-side { flex-direction: column; text-align: center; padding: 1.5rem; }
  .cc-dual-img { max-width: 200px; margin: 0 auto; }
  .cc-dual h3 { font-size: 1.7rem; }
  .cc-track figure { width: 280px; padding: 1.5rem; }
  .cc-contact-grid { flex-direction: column; align-items: stretch; }
  .cc-contact-card { min-width: 0; width: 100%; box-sizing: border-box; }
  .cc-contact-value { font-size: 1rem; word-break: break-word; }
  img.cc-kite { width: 240px; }
  .cc-dashed { padding: 2rem 1.25rem; }
}
