:root {
  --ink: #1f3b2d;
  --navy: #174d35;
  --coral: #f47b20;
  --coral-dark: #d95e0b;
  --gold: #f7bd38;
  --mist: #f2f8f0;
  --line: #dcebdd;
  --muted: #65786c;
  --white: #fff;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: "Nunito", sans-serif; background: var(--white); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.site-shell { overflow: hidden; }
.blob { display: none; }
.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }

header { position: relative; z-index: 10; background: #fff; border-bottom: 1px solid rgba(13, 32, 72, .08); }
.nav { height: 92px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: "Baloo 2", sans-serif; color: var(--navy); font-size: 18px; line-height: .95; min-width: 250px; }
.brand-logo { width: 248px; max-height: 68px; object-fit: contain; object-position: left center; }
.brand-mark { width: 52px; height: 52px; display: grid; place-items: center; color: #fff; font-size: 21px; border-radius: 50% 50% 45% 50%; background: var(--coral); box-shadow: inset -7px -7px 0 rgba(23,77,53,.14); transition: transform .25s ease, rotate .25s ease, background .25s ease; }
.brand:hover .brand-mark { background: #48a84d; rotate: -8deg; transform: scale(1.08); }
.nav-links { display: flex; align-items: center; justify-content: center; flex: 1; gap: 30px; font-size: 14px; font-weight: 800; color: #3a4968; }
.nav-links a { position: relative; padding: 36px 0 32px; border-bottom: 3px solid transparent; transition: color .22s ease, transform .22s ease; }
.nav-links a::after { content: ""; position: absolute; right: 0; bottom: -3px; left: 0; height: 3px; background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform .24s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--coral); border-color: transparent; transform: translateY(-2px); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta, .button, .button-alt { display: inline-flex; align-items: center; justify-content: center; min-height: 47px; padding: 0 23px; font-size: 13px; font-weight: 900; letter-spacing: .02em; text-transform: uppercase; transition: transform .22s ease, background .22s ease, color .22s ease, box-shadow .22s ease; }
.nav-cta, .button { color: #fff; background: var(--coral); }
.nav-cta:hover, .button:hover { background: var(--coral-dark); transform: translateY(-4px); box-shadow: 0 12px 22px rgba(217, 94, 11, .24); }
.button-alt { color: var(--navy); border: 1px solid var(--navy); background: #fff; }
.button-alt:hover { color: #fff; background: var(--navy); transform: translateY(-4px); box-shadow: 0 12px 22px rgba(23, 77, 53, .2); }
.mobile-menu-toggle { display: none; }

.hero { padding: 0; }
.hero-card { position: relative; min-height: 650px; display: flex; align-items: center; padding: 82px max(20px, calc((100vw - var(--container)) / 2)); background: linear-gradient(90deg, rgba(10, 61, 37, .79) 0%, rgba(14,73,39,.48) 42%, rgba(14,73,39,.08) 72%), url("assets/hero-preschool.png") center/cover; }
.hero-card > div:first-child { position: relative; z-index: 1; width: min(650px, 58%); }
.eyebrow, .page-badge { display: inline-block; color: var(--gold); font-family: "Baloo 2", sans-serif; font-weight: 700; letter-spacing: .1em; font-size: 14px; text-transform: uppercase; }
.hero h1, .page-hero h1 { margin: 12px 0 19px; font-family: "Baloo 2", sans-serif; font-size: clamp(46px, 5.2vw, 76px); line-height: .98; letter-spacing: -.035em; }
.hero h1 { color: #fff; }
.hero p { max-width: 590px; color: rgba(255,255,255,.88); font-size: 18px; line-height: 1.75; }
.hero-actions, .page-actions, .inline-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .button-alt { color: #fff; border-color: rgba(255,255,255,.8); background: transparent; }
.hero .button-alt:hover { background: #fff; color: var(--navy); }
.hero-notes, .hero-visual { display: none; }

section { padding: 96px 0; }
.highlights { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: -64px; counter-reset: card-number; }
.highlight-card { position: relative; isolation: isolate; min-height: 205px; padding: 32px 25px 26px; overflow: hidden; background: #fff; border: 1px solid rgba(25,94,53,.1); border-radius: 18px; box-shadow: 0 15px 35px rgba(20,77,50,.1); transition: transform .32s cubic-bezier(.2,.75,.25,1), background .32s ease, box-shadow .32s ease; }
.highlight-card::before { content: "0" counter(card-number); counter-increment: card-number; position: absolute; z-index: -1; top: -24px; right: 13px; color: rgba(23,77,53,.055); font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 112px; line-height: 1; transition: color .32s ease, transform .32s ease; }
.highlight-card::after { content: ""; position: absolute; bottom: 0; left: 25px; width: 42px; height: 4px; border-radius: 999px; background: var(--coral); transition: width .32s ease, background .32s ease; }
.highlight-card:nth-child(2n) { background: var(--navy); }
.highlight-card:nth-child(2n) strong, .highlight-card:nth-child(2n) p { color: #fff; }
.highlight-card:nth-child(2n)::before { color: rgba(255,255,255,.09); }
.highlight-card:nth-child(2n)::after { background: #f7bd38; }
.highlight-card:hover { z-index: 2; background: linear-gradient(145deg, #fff, #f5fff3); transform: translateY(-13px); box-shadow: 0 24px 44px rgba(23,77,53,.19); }
.highlight-card:hover::before { color: rgba(244,123,32,.12); transform: translateY(7px); }
.highlight-card:hover::after { width: calc(100% - 50px); background: #53a94d; }
.highlight-card:nth-child(2n):hover { background: linear-gradient(145deg, #2f7e48, #195c39); }
.highlight-card strong { display: block; margin-bottom: 11px; font-family: "Baloo 2", sans-serif; font-size: 25px; line-height: 1; }
.highlight-card p, .program-card p, .feature-card p, .gallery-card p, .schedule-card p, .story-card p, .stats-card p, .timeline-card p, .contact-panel p, .form-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }

.section-head { max-width: 700px; margin: 0 auto 42px; text-align: center; }
.section-head h2, .story-card h2, .timeline-card h2, .contact-panel h2, .form-card h2 { margin: 8px 0 15px; font-family: "Baloo 2", sans-serif; color: var(--navy); font-size: clamp(34px, 4vw, 53px); line-height: 1; letter-spacing: -.025em; }
.section-head p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.split, .contact-wrap, .grid-2, .story-grid, .timeline-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px; align-items: center; }
.glass-card, .story-card, .stats-card, .timeline-card, .contact-panel, .form-card, .faq-item { background: #fff; }
.glass-card, .story-card, .stats-card, .timeline-card, .contact-panel, .form-card { padding: 38px; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 10px 28px rgba(20,77,50,.06); }
.story-card, .stats-card, .timeline-card { transition: transform .3s ease, box-shadow .3s ease; }
.story-card:hover, .stats-card:hover, .timeline-card:hover { transform: translateY(-8px); box-shadow: 0 20px 38px rgba(20,77,50,.13); }
.check-list { list-style: none; margin: 25px 0 0; padding: 0; display: grid; gap: 15px; }
.check-list li { display: flex; gap: 12px; color: var(--muted); line-height: 1.6; }
.check { flex: 0 0 auto; color: var(--coral); font-weight: 900; }
.art-panel { min-height: 400px; padding: 50px; color: #fff; background: linear-gradient(120deg, rgba(18,91,49,.84), rgba(18,91,49,.26)), url("assets/activity-painting.png") center/cover; transition: transform .35s ease, box-shadow .35s ease, background-position .5s ease; }
.art-panel:hover { transform: translateY(-8px); box-shadow: 0 21px 36px rgba(23,77,53,.23); background-position: 58% center; }
.art-panel h3, .contact-map h3 { margin: 10px 0 15px; color: #fff; font-family: "Baloo 2", sans-serif; font-size: 42px; line-height: 1; }
.art-panel .card-text, .contact-map .card-text { color: rgba(255,255,255,.9); line-height: 1.8; }
.rainbow, .art-cloud { display: none; }

.program-grid, .feature-grid, .gallery-grid, .schedule-grid, .stats-grid, .grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.program-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.program-card, .feature-card, .gallery-card, .schedule-card { position: relative; min-height: 330px; padding: 30px 28px; overflow: hidden; border: 1px solid rgba(25,94,53,.1); border-radius: 20px; background: #fff; box-shadow: 0 10px 28px rgba(20,77,50,.08); transition: transform .34s cubic-bezier(.2,.75,.25,1), box-shadow .34s ease, border-color .34s ease, background-position .55s ease; }
.program-card::after, .feature-card::after, .gallery-card::after { content: ""; position: absolute; right: -38px; bottom: -38px; width: 102px; height: 102px; border: 18px solid rgba(244,123,32,.12); border-radius: 50%; transition: transform .4s ease, border-color .35s ease; }
.program-card:hover, .feature-card:hover, .gallery-card:hover, .schedule-card:hover { transform: translateY(-12px); border-color: #9bd59a; box-shadow: 0 25px 46px rgba(23,77,53,.16); background-position: center 42%; }
.program-card:hover::after, .feature-card:hover::after, .gallery-card:hover::after { border-color: rgba(83,169,77,.2); transform: scale(1.3); }
.program-card h3, .feature-card h3, .gallery-card h3, .schedule-card h3 { transition: color .22s ease, transform .22s ease; }
.program-card:hover h3, .feature-card:hover h3, .gallery-card:hover h3, .schedule-card:hover h3 { color: #e56a14; transform: translateX(4px); }
.program-card:nth-child(1), .feature-card:nth-child(1), .gallery-card:nth-child(1) { background: linear-gradient(180deg, transparent 43%, #fff 43%), url("assets/activity-painting.png") center top/100% auto no-repeat; padding-top: 180px; }
.program-card:nth-child(2), .feature-card:nth-child(2), .gallery-card:nth-child(2) { background: linear-gradient(180deg, transparent 43%, #fff 43%), url("assets/story-time.png") center top/100% auto no-repeat; padding-top: 180px; }
.program-card:nth-child(3), .feature-card:nth-child(3), .gallery-card:nth-child(3) { background: linear-gradient(180deg, transparent 43%, #fff 43%), url("assets/hero-preschool.png") center top/100% auto no-repeat; padding-top: 180px; }
.program-card:nth-child(4) { background: linear-gradient(140deg, #fef5df 0%, #fff 57%); }
.program-card:nth-child(4)::before { content: "04"; position: absolute; right: 20px; top: 15px; color: rgba(23,77,53,.08); font-family: "Baloo 2", sans-serif; font-size: 88px; font-weight: 800; line-height: 1; }
.tag { position: relative; z-index: 1; display: inline-flex; align-items: center; min-height: 25px; padding: 0 10px; color: #d75d0a; background: #fff2dd; border-radius: 999px; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.program-card h3, .feature-card h3, .gallery-card h3, .schedule-card h3, .story-card h3, .stats-card h3, .timeline-card h3, .contact-panel h3, .form-card h3 { margin: 9px 0 11px; font-family: "Baloo 2", sans-serif; color: var(--navy); font-size: 27px; line-height: 1; }
.schedule-card { min-height: 245px; background: linear-gradient(145deg, #f3faef, #fff); }
.schedule-card:nth-child(2) { background: linear-gradient(145deg, #fff5e4, #fff); }
.schedule-card:nth-child(3) { background: linear-gradient(145deg, #edf8ee, #fff); }
.stat-value { display: block; margin-top: 22px; color: var(--coral); font-family: "Baloo 2", sans-serif; font-size: 31px; line-height: 1; }

.contact-wrap { align-items: stretch; }
.contact-panel { background: var(--navy); border: 0; }
.contact-panel h3, .contact-panel p, .contact-panel strong, .contact-panel a { color: #fff; }
.contact-item, .contact-point { margin-top: 16px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.84); }
.contact-map { min-height: 100%; padding: 48px; background: linear-gradient(110deg, rgba(33,137,55,.88), rgba(244,123,32,.52)), url("assets/story-time.png") center/cover; transition: background-position .5s ease; }
.contact-map:hover { background-position: 58% center; }
.map-panel { position: relative; padding: 0; overflow: hidden; background: #e8f2e7; }
.map-panel:hover { background-position: center; }
.map-frame { display: block; width: 100%; height: 100%; min-height: 430px; border: 0; filter: saturate(.88) contrast(1.03); }
.map-caption { position: absolute; z-index: 1; right: 22px; bottom: 22px; left: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 18px 20px; background: rgba(20,77,50,.93); color: #fff; box-shadow: 0 10px 25px rgba(18,61,37,.24); }
.map-caption span { color: #ffbe43; font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.map-caption strong { font-family: "Baloo 2", sans-serif; font-size: 22px; line-height: 1; }
.map-caption a { margin-left: auto; color: #fff; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.map-caption a:hover { color: #ffbe43; }
.route-card { margin-top: 25px; padding: 18px; background: rgba(255,255,255,.92); color: var(--navy); }
.route-card p { color: var(--muted); line-height: 1.6; }
.route-line { height: 4px; margin: 16px 0; background: var(--gold); }

.page-hero { padding: 0; background: var(--mist); }
.page-hero-card { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 390px; align-items: stretch; }
.page-hero-card > div:first-child { padding: 78px 60px 66px 0; }
.page-hero h1 { font-size: clamp(40px, 4.6vw, 64px); color: var(--navy); }
.page-hero p { max-width: 620px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.page-visual { min-height: 390px; background: url("assets/story-time.png") center/cover; transition: transform .35s ease, background-position .5s ease; }
.page-visual:hover { transform: scale(1.025); background-position: 58% center; }
.page-visual > * { display: none; }
.page-hero .art-panel, .page-hero .glass-card, .page-hero .contact-map { min-height: auto; margin: 0; border: 0; }

.faq-list { width: min(900px, 100%); margin: 0 auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); }
.faq-question { width: 100%; padding: 22px 26px; border: 0; background: #fff; color: var(--navy); font-weight: 900; text-align: left; display: flex; align-items: center; justify-content: space-between; cursor: pointer; transition: color .2s ease, background .2s ease, padding-left .2s ease; }
.faq-question:hover { padding-left: 32px; color: #db650d; background: #f8fff6; }
.faq-question span:last-child { color: var(--coral); font-size: 24px; }
.faq-answer { display: none; padding: 0 26px 23px; color: var(--muted); line-height: 1.75; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-question span:last-child { transform: rotate(45deg); }
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.contact-form { display: grid; gap: 15px; margin-top: 22px; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 800; }
.field input, .field textarea { width: 100%; padding: 13px; border: 1px solid var(--line); border-radius: 0; }
.field textarea { min-height: 120px; resize: vertical; }

footer { padding: 0; background: #164d32; color: rgba(255,255,255,.78); }
.footer-box { min-height: 170px; display: flex; align-items: center; justify-content: space-between; gap: 25px; font-size: 15px; }
.footer-box div:first-child { color: #fff; font-family: "Baloo 2", sans-serif; font-size: 24px; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-card > div:first-child, .section-head, .page-hero-card > div:first-child { animation: fade-up .7s ease both; }
.highlights .highlight-card { animation: fade-up .55s ease both; }
.highlights .highlight-card:nth-child(2) { animation-delay: .08s; }
.highlights .highlight-card:nth-child(3) { animation-delay: .16s; }
.highlights .highlight-card:nth-child(4) { animation-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

@media (max-width: 1000px) {
  .nav { height: auto; min-height: 76px; flex-wrap: wrap; padding: 12px 0; }
  .mobile-menu-toggle { display: block; margin-left: auto; width: 42px; height: 42px; border: 0; color: var(--navy); background: var(--mist); font-size: 0; }
  .mobile-menu-toggle::before { content: "☰"; font-size: 23px; }
  .mobile-menu-toggle span { display: none; }
  .nav-links { display: none; flex: 0 0 100%; order: 4; flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { display: none; }
  .hero-card { min-height: 600px; }
  .hero-card > div:first-child { width: min(680px, 84%); }
  .highlights, .program-grid { grid-template-columns: repeat(2, 1fr); }
  .program-grid, .feature-grid, .gallery-grid, .schedule-grid, .stats-grid, .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 30px), var(--container)); }
  .brand { min-width: 0; font-size: 15px; }
  .brand-logo { width: 194px; max-height: 53px; }
  .brand-mark { width: 44px; height: 44px; }
  .hero-card { min-height: 620px; padding: 65px 25px; background-position: 67% center; }
  .hero-card > div:first-child { width: 100%; }
  .hero h1 { font-size: 47px; }
  .hero p { font-size: 16px; }
  section { padding: 64px 0; }
  .highlights { grid-template-columns: 1fr; margin-top: 0; }
  .highlight-card { min-height: 130px; }
  .split, .contact-wrap, .grid-2, .story-grid, .timeline-grid, .page-hero-card { grid-template-columns: 1fr; gap: 22px; }
  .page-hero-card > div:first-child { padding: 56px 0 35px; }
  .page-visual { min-height: 270px; }
  .program-grid, .feature-grid, .gallery-grid, .schedule-grid, .stats-grid, .grid-3 { grid-template-columns: 1fr; }
  .art-panel, .contact-map:not(.map-panel) { padding: 34px 26px; }
  .art-panel h3, .contact-map h3 { font-size: 34px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-box { min-height: 160px; padding: 25px 0; align-items: flex-start; flex-direction: column; justify-content: center; }
}

.inner-page .page-hero { background: #f5f8f4; border-bottom: 1px solid #e0ebdf; }
.inner-page .page-hero-card { min-height: 430px; }
.inner-page .page-hero-card > div:first-child { padding: 82px 65px 76px 0; }
.inner-page .page-hero .page-badge { color: #e66a12; background: transparent; padding: 0; font-size: 12px; letter-spacing: .13em; }
.inner-page .page-hero h1 { max-width: 720px; color: #173f2b; }
.inner-page .page-hero .art-panel, .inner-page .page-hero .contact-map { min-height: 430px; }
.inner-page main > section:nth-child(odd):not(.page-hero) { background: #f6f9f5; }
.inner-page .section-head { text-align: left; margin-left: 0; }
.inner-page .section-head .eyebrow { padding: 0; color: #e66a12; background: transparent; font-size: 12px; letter-spacing: .13em; }
.inner-page .glass-card, .inner-page .story-card, .inner-page .stats-card, .inner-page .timeline-card, .inner-page .contact-panel, .inner-page .form-card { border-radius: 0; }
@media (max-width: 680px) {
  .inner-page .page-hero-card > div:first-child { padding: 58px 0 40px; }
}

/* Reference-inspired home page structure. */
.reference-layout { background: #fff; }
.reference-layout header { box-shadow: none; }
.reference-layout .nav { height: 96px; }
.reference-layout .nav-links { gap: 34px; }
.ref-hero { position: relative; min-height: 680px; color: #fff; overflow: hidden; }
.ref-slides { position: absolute; inset: 0; }
.ref-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; pointer-events: none; background: linear-gradient(90deg, rgba(8,48,28,.75), rgba(8,48,28,.3) 54%, rgba(8,48,28,.03)), var(--slide-image) center/cover; transition: opacity .7s ease, visibility .7s ease; }
.ref-slide.active { opacity: 1; visibility: visible; pointer-events: auto; }
.ref-hero-inner { position: relative; min-height: 680px; display: flex; align-items: center; }
.ref-hero-copy { max-width: 700px; padding-bottom: 28px; }
.ref-hero-copy > span, .ref-cta > div > span { color: #ffbf43; font-size: 13px; font-weight: 900; letter-spacing: .13em; }
.ref-hero-copy h1 { margin: 14px 0 20px; font-family: "Baloo 2", sans-serif; font-size: clamp(52px, 6vw, 82px); line-height: .92; letter-spacing: -.04em; }
.ref-hero-copy h1 em { color: #ffbd35; font-style: normal; }
.ref-hero-copy p { font-size: 18px; line-height: 1.8; color: rgba(255,255,255,.9); }
.ref-round-button, .ref-orange-button { display: inline-flex; align-items: center; gap: 24px; margin-top: 24px; padding: 15px 18px 15px 23px; color: #fff; background: #ee761a; font-size: 13px; font-weight: 900; text-transform: uppercase; transition: transform .25s ease, background .25s ease, box-shadow .25s ease; }
.ref-round-button b { display: grid; place-items: center; width: 30px; height: 30px; background: #fff; color: #e56b10; border-radius: 50%; font-size: 18px; }
.ref-round-button:hover, .ref-orange-button:hover { background: #d45d0a; transform: translateY(-4px); box-shadow: 0 12px 26px rgba(207,91,9,.28); }
.ref-slider-dots { position: relative; z-index: 2; top: -56px; display: flex; gap: 9px; }
.ref-slider-dots button { width: 10px; height: 10px; padding: 0; border: 1px solid #fff; border-radius: 50%; background: transparent; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.ref-slider-dots button:hover, .ref-slider-dots button.active { background: #fff; transform: scale(1.25); }
.section-pad { padding: 110px 0; }
.ref-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.ref-about-gallery { position: relative; min-height: 490px; }
.ref-about-gallery img { position: absolute; object-fit: cover; box-shadow: 0 25px 45px rgba(21,77,46,.16); }
.ref-about-gallery img:first-child { width: 72%; height: 370px; left: 0; top: 0; }
.ref-about-gallery img:nth-child(2) { width: 49%; height: 255px; right: 0; bottom: 0; border: 10px solid #fff; }
.ref-gallery-shape { position: absolute; z-index: -1; width: 64%; height: 55%; left: -35px; top: 80px; background: #f9b831; }
.ref-kicker, .ref-section-title > span { display: block; margin-bottom: 12px; color: #e66a12; font-size: 12px; font-weight: 900; letter-spacing: .13em; }
.ref-copy h2, .ref-section-title h2, .ref-classes-head h2 { margin: 0 0 18px; color: #183f2b; font-family: "Baloo 2", sans-serif; font-size: clamp(39px, 4.2vw, 57px); line-height: .98; letter-spacing: -.035em; }
.ref-copy h2 strong { color: #e66a12; }
.ref-copy > p { margin: 0; color: #63796a; font-size: 16px; line-height: 1.85; }
.ref-mini-stats { display: flex; gap: 36px; margin: 27px 0; }
.ref-mini-stats div { display: flex; align-items: center; gap: 10px; }
.ref-mini-stats b { color: #ee761a; font-family: "Baloo 2", sans-serif; font-size: 39px; line-height: 1; }
.ref-mini-stats span { color: #294d39; font-size: 13px; font-weight: 800; line-height: 1.25; }
.ref-text-link { display: inline-flex; gap: 14px; align-items: center; margin-top: 22px; color: #1e5638; font-size: 13px; font-weight: 900; text-transform: uppercase; }
.ref-text-link b { color: #e66a12; font-size: 21px; transition: transform .2s ease; }
.ref-text-link:hover b { transform: translateX(6px); }
.ref-services { background: #f5f8f4; }
.ref-local-answer { padding: 82px 0; background: #1b5838; color: #fff; }
.ref-local-heading { max-width: 680px; margin: 0 auto 38px; text-align: center; }
.ref-local-heading span { color: #ffc047; font-size: 12px; font-weight: 900; letter-spacing: .13em; }
.ref-local-heading h2 { margin: 8px 0 12px; font-family: "Baloo 2", sans-serif; font-size: clamp(36px,4vw,52px); line-height: 1; }
.ref-local-heading p { margin: 0; color: rgba(255,255,255,.82); line-height: 1.7; }
.ref-local-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.ref-local-grid article { position: relative; min-height: 188px; padding: 25px 26px; border: 1px solid rgba(255,255,255,.19); background: rgba(255,255,255,.06); }
.ref-local-grid article:hover { background: rgba(255,255,255,.12); }
.ref-local-grid span { color: #ffc047; font-size: 12px; font-weight: 900; letter-spacing: .1em; }
.ref-local-grid h3 { margin: 13px 0 8px; font-family: "Baloo 2", sans-serif; font-size: 25px; line-height: 1; }
.ref-local-grid p { margin: 0; color: rgba(255,255,255,.8); font-size: 14px; line-height: 1.7; }
.ref-section-title { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.ref-section-title p { margin: 0; color: #63796a; line-height: 1.75; }
.ref-service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ref-service-grid article { overflow: hidden; background: #fff; box-shadow: 0 15px 34px rgba(23,77,53,.08); transition: transform .32s ease, box-shadow .32s ease; }
.ref-service-grid article:hover { transform: translateY(-10px); box-shadow: 0 25px 42px rgba(23,77,53,.17); }
.ref-service-photo { height: 205px; background-size: cover; background-position: center; transition: transform .45s ease; }
.ref-service-grid article:hover .ref-service-photo { transform: scale(1.08); }
.service-one { background-image: url("assets/activity-painting.png"); }
.service-two { background-image: url("assets/story-time.png"); }
.service-three { background-image: url("assets/hero-preschool.png"); }
.service-four { background-image: linear-gradient(135deg, rgba(22,103,53,.35), rgba(249,184,49,.2)), url("assets/activity-painting.png"); }
.ref-service-content { position: relative; min-height: 205px; padding: 23px; }
.ref-service-content small { color: #e66a12; font-weight: 900; }
.ref-service-content h3 { margin: 8px 0; font-family: "Baloo 2", sans-serif; color: #183f2b; font-size: 26px; line-height: 1; }
.ref-service-content p { margin: 0; color: #6c7c71; font-size: 14px; line-height: 1.6; }
.ref-service-content a { position: absolute; right: 20px; bottom: 19px; display: grid; place-items: center; width: 34px; height: 34px; background: #f6b730; color: #163e29; border-radius: 50%; font-size: 20px; transition: background .2s ease, color .2s ease; }
.ref-service-grid article:hover .ref-service-content a { color: #fff; background: #e66a12; }
.ref-start { background: #fff; }
.ref-list { display: grid; gap: 13px; margin: 27px 0 3px; padding: 0; list-style: none; }
.ref-list li { color: #355642; font-weight: 800; }
.ref-list li::before { content: "✓"; display: inline-grid; place-items: center; width: 21px; height: 21px; margin-right: 10px; color: #fff; background: #4ba34d; border-radius: 50%; font-size: 12px; }
.ref-start-image { position: relative; }
.ref-start-image img { width: 100%; height: 450px; object-fit: cover; }
.ref-floating-note { position: absolute; bottom: -22px; left: -24px; display: flex; flex-direction: column; padding: 21px 28px; background: #1d633e; color: #fff; box-shadow: 0 15px 30px rgba(23,77,53,.2); }
.ref-floating-note b { font-family: "Baloo 2", sans-serif; font-size: 22px; }
.ref-floating-note span { color: #f9bf45; font-size: 13px; }
.ref-classes { background: #f5f8f4; }
.ref-classes-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 37px; }
.ref-classes-head h2 { margin-bottom: 0; }
.ref-classes-head .ref-text-link { margin: 0 0 6px; }
.ref-class-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ref-class-grid article { min-height: 220px; padding: 30px 24px; color: #fff; background: linear-gradient(145deg, #185738, #123f2a); transition: transform .3s ease, background .3s ease; }
.ref-class-grid article:nth-child(2) { background: linear-gradient(145deg, #f08a2d, #dd6411); }
.ref-class-grid article:nth-child(3) { background: linear-gradient(145deg, #4a9b4c, #287a38); }
.ref-class-grid article:nth-child(4) { background: linear-gradient(145deg, #e8af2d, #d98a15); }
.ref-class-grid article:hover { transform: translateY(-10px) rotate(-1deg); }
.ref-class-grid span { color: rgba(255,255,255,.74); font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.ref-class-grid h3 { margin: 45px 0 5px; font-family: "Baloo 2", sans-serif; font-size: 32px; line-height: 1; }
.ref-class-grid p { margin: 0; color: rgba(255,255,255,.9); font-size: 14px; }
.ref-cta { padding: 105px 0; color: #fff; text-align: center; background: linear-gradient(90deg, rgba(11,74,42,.86), rgba(11,74,42,.55)), url("assets/hero-preschool.png") center/cover fixed; }
.ref-cta h2 { margin: 10px 0 15px; color: #fff; font-family: "Baloo 2", sans-serif; font-size: clamp(45px, 5vw, 65px); line-height: .95; }
.ref-cta p { max-width: 580px; margin: 0 auto; color: rgba(255,255,255,.9); line-height: 1.75; }
.ref-cta a { display: inline-flex; gap: 25px; align-items: center; margin-top: 26px; padding: 15px 20px 15px 24px; background: #fff; color: #205839; font-size: 16px; font-weight: 900; }
.ref-cta a b { color: #eb7418; font-size: 23px; }
.ref-hours-image img { width: 100%; height: 460px; object-fit: cover; }
.ref-hour-row { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid #dbe9db; color: #355642; font-size: 16px; }
.ref-hour-row b { color: #e66a12; }
.ref-faq { background: #f5f8f4; }
.ref-faq-visual { min-height: 420px; display: flex; flex-direction: column; justify-content: center; padding: 50px; color: #fff; background: linear-gradient(135deg, rgba(20,92,51,.88), rgba(20,92,51,.33)), url("assets/activity-painting.png") center/cover; }
.ref-faq-visual span { color: #ffc147; font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.ref-faq-visual h2 { margin: 12px 0 0; font-family: "Baloo 2", sans-serif; font-size: 48px; line-height: .98; }
.ref-faq .faq-list { width: auto; margin: 0; }
.ref-faq .faq-item { border: 0; border-bottom: 1px solid #d9e5da; }
.ref-faq .faq-question { padding: 20px 3px; background: transparent; }
.ref-faq .faq-answer { padding: 0 3px 20px; }
.ref-testimonials { background: #fff; }
.ref-quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ref-quote-grid article { padding: 30px; border-top: 4px solid #f2a730; background: #f7faf6; }
.ref-quote-grid article > b { display: block; color: #e66a12; font-family: Georgia, serif; font-size: 62px; line-height: .5; }
.ref-quote-grid p { color: #516a59; line-height: 1.75; }
.ref-quote-grid h4 { margin: 19px 0 0; color: #1c5938; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.ref-footer { padding-top: 72px; background: #163e2a; }
.ref-footer-grid { display: grid; grid-template-columns: 1.55fr 1fr 1fr; gap: 70px; padding-bottom: 55px; }
.ref-footer .brand { color: #fff; }
.ref-footer .brand-mark { background: #ec761b; }
.ref-footer .brand-logo { width: 255px; max-height: 75px; filter: brightness(0) invert(1); }
.ref-footer p, .ref-footer a { color: rgba(255,255,255,.73); line-height: 1.7; }
.ref-footer h3 { margin: 0 0 18px; color: #ffbf43; font-size: 13px; letter-spacing: .12em; }
.ref-footer-grid > div:last-child { display: grid; align-content: start; gap: 8px; }
.ref-footer .ref-orange-button { width: fit-content; margin-top: 13px; }
.ref-copyright { padding: 20px 0; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.5); font-size: 12px; }

@media (max-width: 980px) {
  .ref-two-col { grid-template-columns: 1fr; gap: 45px; }
  .ref-service-grid, .ref-class-grid { grid-template-columns: repeat(2, 1fr); }
  .ref-local-grid { grid-template-columns: 1fr; }
  .ref-footer-grid { grid-template-columns: 1fr 1fr; gap: 38px; }
}
@media (max-width: 680px) {
  .reference-layout .nav { height: auto; }
  .ref-hero, .ref-hero-inner { min-height: 610px; }
  .ref-slide { background-position: 62% center; }
  .ref-hero-copy h1 { font-size: 50px; }
  .section-pad { padding: 72px 0; }
  .ref-about-gallery { min-height: 380px; }
  .ref-about-gallery img:first-child { height: 290px; }
  .ref-about-gallery img:nth-child(2) { height: 190px; }
  .ref-service-grid, .ref-class-grid, .ref-quote-grid, .ref-footer-grid { grid-template-columns: 1fr; }
  .ref-classes-head { align-items: start; flex-direction: column; gap: 18px; }
  .ref-start-image img, .ref-hours-image img { height: 340px; }
  .ref-floating-note { left: 12px; }
  .ref-faq-visual { min-height: 310px; padding: 34px; }
  .ref-faq-visual h2 { font-size: 39px; }
  .ref-cta { background-attachment: scroll; }
}
