:root {
    --ink: #40364d;
    --ink-soft: #6f6877;
    --cream: #fffaf0;
    --paper: #ffffff;
    --yellow: #f2b318;
    --yellow-dark: #d99a00;
    --purple: #78569a;
    --purple-dark: #563670;
    --teal: #43b8ba;
    --orange: #ef9342;
    --pink: #e85f88;
    --green: #91bd45;
    --blue: #557fc1;
    --border: #eadfce;
    --shadow: 0 18px 50px rgba(65, 44, 77, .14);
    --radius-sm: 12px;
    --radius: 24px;
    --radius-lg: 38px;
    --container: 1180px;
    --font-heading: "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
    --font-body: Lato, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--paper);
    font: 400 16px/1.7 var(--font-body);
    -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
body.lightbox-open { overflow: hidden; }
img { display: block; max-width: 100%; }
.icon {
    display: inline-block; flex: 0 0 auto; width: 1.15em; height: 1.15em;
    overflow: visible; color: inherit; vertical-align: -.16em;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 .75rem;
    color: var(--purple-dark);
    font-family: var(--font-heading);
    line-height: 1.15;
}
h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
p { margin: 0 0 1.15rem; }
ul, ol { padding-left: 1.2rem; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { position: relative; padding: 105px 0; }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading > p:last-child { color: var(--ink-soft); font-size: 1.06rem; }
.eyebrow {
    margin-bottom: .65rem;
    color: var(--pink);
    font-family: var(--font-heading);
    font-size: .84rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.heading-squiggle {
    display: block;
    width: 72px;
    height: 9px;
    margin: 8px 0 24px;
    background: radial-gradient(circle at 5px 4px, var(--yellow) 0 4px, transparent 4.5px) 0 0 / 18px 9px repeat-x;
}
.centered .heading-squiggle { margin-inline: auto; }
.sr-only {
    position: absolute !important;
    width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: fixed; z-index: 1000; top: 10px; left: 10px;
    padding: 10px 16px; background: var(--paper); color: var(--purple-dark);
    border-radius: 8px; transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.button {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 50px; padding: 12px 24px;
    border: 2px solid transparent; border-radius: 999px;
    font-family: var(--font-heading); font-weight: 800; line-height: 1.1;
    cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(52, 35, 63, .18); }
.button-primary { color: #fff; background: var(--pink); }
.button-primary:hover { background: #d94a77; }
.button-light { color: var(--purple-dark); background: #fff; }
.button-outline { color: var(--purple-dark); border-color: var(--purple); background: transparent; }
.button-row, .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-flex; gap: 9px; color: var(--purple); font-family: var(--font-heading); font-weight: 800; }
.text-link:hover span { transform: translateX(4px); }
.text-link span { transition: transform .2s ease; }

/* Header */
.site-header {
    position: relative; z-index: 50;
    background: var(--yellow);
    box-shadow: 0 4px 0 rgba(94, 59, 20, .08);
}
.site-header.is-sticky { position: sticky; top: 0; animation: slide-down .3s ease; }
@keyframes slide-down { from { transform: translateY(-100%); } }
.header-inner {
    width: min(100%, 1440px); min-height: 78px; margin: 0 auto;
    display: flex; align-items: stretch;
}
.brand { display: flex; align-items: stretch; flex: 0 0 auto; }
.brand-copy {
    display: flex; flex-direction: column; justify-content: center;
    min-width: 150px; padding: 8px 16px 8px 22px;
    color: #251b2d; font-family: var(--font-heading); line-height: 1.12;
    text-transform: uppercase;
}
.brand-copy strong { font-size: 1rem; }
.brand-copy span { font-size: .92rem; }
.brand img { width: 150px; height: 78px; object-fit: contain; padding: 8px 12px; background: rgba(255,255,255,.9); }
.primary-nav { flex: 1; display: flex; align-items: stretch; }
.primary-nav ul {
    display: flex; align-items: stretch; justify-content: flex-end;
    flex-wrap: nowrap; width: 100%; margin: 0; padding: 0; list-style: none;
}
.primary-nav li { display: flex; flex: 0 0 auto; }
.primary-nav a {
    position: relative; display: flex; align-items: center;
    padding: 12px 18px;
    color: #4d3a25; font-family: var(--font-heading); font-size: .9rem; font-weight: 800;
    text-align: center; white-space: nowrap; transition: background .2s ease, color .2s ease;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: #fff; background: var(--purple); }
.primary-nav a.school-switch-link {
    margin: 12px 10px 12px 6px; padding: 10px 16px;
    border: 2px solid var(--purple); border-radius: 999px;
    color: #fff; background: var(--purple);
    box-shadow: 0 6px 16px rgba(61, 41, 75, .18);
}
.primary-nav a.school-switch-link:hover { color: #fff; background: var(--purple-dark); }
.school-switch-link span { margin-left: 6px; font-size: 1rem; }
.primary-nav a[aria-current="page"]::after {
    content: ""; position: absolute; left: 50%; bottom: 8px; width: 6px; height: 6px;
    border-radius: 50%; background: var(--yellow); transform: translateX(-50%);
}
.nav-toggle { display: none; width: 52px; padding: 12px; border: 0; background: transparent; cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; width: 27px; height: 3px; margin: 5px auto; border-radius: 5px; background: var(--purple-dark); }

/* Hero */
.home-hero { position: relative; min-height: 650px; overflow: hidden; background: var(--purple-dark); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .8s ease, transform 6s ease; }
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30,20,38,.78) 0%, rgba(34,22,43,.45) 46%, rgba(32,25,36,.18) 75%); }
.hero-content {
    position: relative; z-index: 2; min-height: 650px;
    display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
    padding-top: 55px; padding-bottom: 90px; color: #fff;
}
@media (min-width: 901px) {
    .hero-content { padding-left: 82px; }
}
.hero-content h1 { max-width: 780px; color: #fff; text-shadow: 0 4px 24px rgba(0,0,0,.3); }
.hero-content > p:not(.eyebrow) { max-width: 620px; font-size: 1.15rem; }
.hero-content .eyebrow { color: #ffd35b; }
.slider-control {
    position: absolute; z-index: 3; top: 50%; width: 54px; height: 54px;
    border: 0; border-radius: 50%; color: #fff; background: rgba(37,23,45,.55);
    font-size: 2.3rem; line-height: 1; cursor: pointer; transform: translateY(-50%);
}
.slider-control:hover { background: var(--pink); }
.slider-control .icon { width: 28px; height: 28px; }
.slider-prev { left: 28px; }
.slider-next { right: 28px; }
.slider-dots { position: absolute; z-index: 3; left: 50%; bottom: 28px; display: flex; gap: 8px; transform: translateX(-50%); }
.slider-dots button { width: 14px; height: 14px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: transparent; cursor: pointer; }
.slider-dots button.is-active { background: #fff; }

.page-hero { position: relative; min-height: 305px; overflow: hidden; color: #fff; background: linear-gradient(125deg, var(--purple-dark), var(--purple) 52%, #9876b1); }
.page-hero::after {
    content: ""; position: absolute; right: -3%; bottom: -80px; width: 420px; height: 230px;
    border-radius: 50% 50% 0 0; background: rgba(255,255,255,.07); transform: rotate(-8deg);
}
.page-hero .container { position: relative; z-index: 2; display: flex; min-height: 305px; flex-direction: column; justify-content: center; padding-block: 55px; }
.page-hero h1 { color: #fff; font-size: clamp(2.8rem, 6vw, 5rem); text-transform: capitalize; }
.page-hero p:not(.eyebrow) { max-width: 700px; margin: 0; font-size: 1.1rem; }
.page-hero .eyebrow { color: #ffd75f; }
.page-hero-art span { position: absolute; display: block; }
.sun { top: 52px; right: 10%; width: 70px; height: 70px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 17px rgba(242,179,24,.15); }
.cloud { width: 110px; height: 34px; border-radius: 50px; background: rgba(255,255,255,.18); }
.cloud::before, .cloud::after { content: ""; position: absolute; bottom: 0; border-radius: 50%; background: inherit; }
.cloud::before { left: 18px; width: 50px; height: 50px; }
.cloud::after { right: 18px; width: 62px; height: 62px; }
.cloud-one { top: 78px; left: 7%; }
.cloud-two { right: 28%; bottom: 42px; transform: scale(.72); }

/* Shared content */
.split-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); align-items: center; gap: clamp(45px, 7vw, 90px); }
.split-reverse > :first-child { order: 2; }
.split-reverse > :last-child { order: 1; }
.section-copy > p:not(.eyebrow) { color: var(--ink-soft); }
.section-copy h3 { margin-top: 1.6rem; }
.image-frame { position: relative; padding: 14px; border-radius: var(--radius-lg); background: var(--teal); box-shadow: var(--shadow); transform: rotate(-1.5deg); }
.image-frame::before, .image-frame::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; }
.image-frame::before { width: 95px; height: 95px; right: -24px; top: -24px; background: var(--yellow); }
.image-frame::after { width: 62px; height: 62px; left: -22px; bottom: 10%; background: var(--pink); }
.image-frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: calc(var(--radius-lg) - 10px); }
.image-frame-purple { background: var(--purple); }
.image-frame-orange { background: var(--orange); }
.image-sticker {
    position: absolute; right: -18px; bottom: 25px; padding: 10px 18px;
    border-radius: 999px; color: var(--purple-dark); background: var(--yellow);
    font-family: var(--font-heading); font-weight: 800; transform: rotate(-4deg);
}
.tick-list { display: grid; gap: 10px; margin: 24px 0 30px; padding: 0; list-style: none; }
.tick-list li { position: relative; padding-left: 31px; }
.tick-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; color: #fff; background: var(--teal); font-size: .75rem; font-weight: 900; }

/* Home sections */
.welcome-section { background: var(--cream); }
.programs-section { background: #fff; }
.program-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.program-card { overflow: hidden; border-radius: var(--radius); color: #fff; background: var(--pink); box-shadow: var(--shadow); transition: transform .25s ease; }
.program-card:hover { transform: translateY(-8px) rotate(-.4deg); }
.program-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.program-card > div { position: relative; padding: 27px 24px 30px; }
.program-card h3 { color: #fff; }
.program-card p { margin: 0; font-size: .94rem; line-height: 1.65; }
.card-number { position: absolute; right: 18px; top: -30px; display: grid; place-items: center; width: 56px; height: 56px; border: 5px solid #fff; border-radius: 50%; color: var(--purple-dark); background: var(--yellow); font-family: var(--font-heading); font-weight: 900; }
.card-teal { background: var(--teal); }
.card-purple { background: var(--purple); }
.card-orange { background: var(--orange); }
.daycare-banner { position: relative; overflow: hidden; padding: 70px 0; color: #fff; background: var(--teal); }
.daycare-banner::before { content: ""; position: absolute; inset: 0; opacity: .15; background: url('../images/sunbg.png') center/720px auto repeat; }
.daycare-grid { position: relative; display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 60px; }
.daycare-photo img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border: 12px solid rgba(255,255,255,.85); border-radius: 50%; box-shadow: var(--shadow); }
.daycare-copy h2 { color: #fff; }
.daycare-copy .eyebrow { color: #fff2a8; }
/* Vision & Mission — cloned from reference theme: sky backdrop + speech-bubble cards */
.vision-section {
    position: relative;
    padding: 20px 0 0;
    background: linear-gradient(180deg, #3fc6f0 0%, #79d5f5 40%, #a9e4f8 100%);
    overflow: hidden;
}
.vision-section__scallop {
    position: relative;
    height: 22px;
    background-repeat: repeat-x;
    background-size: 44px 22px;
}
.vision-section__scallop--top {
    background-image: radial-gradient(circle at 22px 22px, #3fc6f0 22px, transparent 22.5px);
}
.vision-section__scallop--bottom {
    position: absolute; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(circle at 22px 22px, #ffffff 22px, transparent 22.5px);
}
.vision-section__sun { position: absolute; top: 22px; left: 4%; width: clamp(80px, 11vw, 130px); height: auto; opacity: .95; animation: vision-float 5s ease-in-out infinite; }
.vision-section__sparkle {
    position: absolute;
    color: #fff;
    opacity: .8;
    filter: drop-shadow(0 2px 4px rgba(20, 60, 90, .18));
    animation: vision-twinkle 3.4s ease-in-out infinite;
}
.vision-section__sparkle svg { width: 100%; height: 100%; display: block; }
.vision-section__sparkle--1 { top: 16%; left: 44%; width: 20px; height: 20px; animation-delay: .2s; }
.vision-section__sparkle--2 { top: 34%; left: 92%; width: 14px; height: 14px; animation-delay: 1.1s; }
.vision-section__sparkle--3 { top: 8%; left: 68%; width: 12px; height: 12px; animation-delay: 1.9s; }
@keyframes vision-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes vision-twinkle { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: .9; transform: scale(1); } }
.vision-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 56px 40px;
    padding: 56px 0 78px;
}
.vision-col { display: flex; flex-direction: column; --vision-accent: var(--pink); --vision-accent-soft: rgba(232, 95, 136, .28); }
.vision-col:nth-child(2) { --vision-accent: var(--purple-dark); --vision-accent-soft: rgba(86, 54, 112, .26); }
.vision-bubble {
    position: relative;
    background: #fff;
    color: var(--ink);
    border-radius: 26px;
    box-shadow: 0 18px 30px rgba(20, 60, 90, .16);
    padding: 40px 30px 26px;
    text-align: center;
    border-bottom: 4px solid var(--vision-accent);
    transition: transform .35s ease, box-shadow .35s ease;
}
.vision-col:hover .vision-bubble { transform: translateY(-8px); box-shadow: 0 26px 40px rgba(20, 60, 90, .24); }
.vision-bubble__quote {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 10px 18px rgba(20, 60, 90, .18);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.4rem;
    line-height: 1;
    color: var(--vision-accent);
    font-weight: 700;
    transition: transform .35s ease;
}
.vision-col:hover .vision-bubble__quote { transform: translateX(-50%) rotate(-8deg) scale(1.08); }
.vision-bubble p { margin: 0; font-size: 1rem; line-height: 1.8; color: var(--ink-soft); }
.vision-bubble__tail {
    position: absolute;
    left: 40px;
    bottom: -18px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 18px 18px 0 0;
    border-color: #fff transparent transparent transparent;
    filter: drop-shadow(2px 4px 2px rgba(20, 60, 90, .08));
}
.vision-attrib { position: relative; display: flex; align-items: center; gap: 16px; margin-top: 30px; padding-left: 24px; }
.vision-attrib__ring {
    position: absolute;
    left: 24px;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--vision-accent-soft);
    filter: blur(6px);
    z-index: 0;
}
.vision-attrib img.img-circle {
    position: relative;
    z-index: 1;
    max-width: 84px;
    border: 5px solid var(--vision-accent);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 8px 16px rgba(20, 60, 90, .16);
    transition: transform .35s ease;
}
.vision-col:hover .vision-attrib img.img-circle { transform: scale(1.08) rotate(-4deg); }
.vision-attrib h3 { position: relative; z-index: 1; margin: 0; font-size: 1.15rem; font-weight: 700; color: var(--ink); letter-spacing: .2px; }
.vision-attrib h3::after { content: ""; display: block; width: 34px; height: 3px; margin-top: 7px; border-radius: 3px; background: var(--vision-accent); }
@media (prefers-reduced-motion: reduce) {
    .vision-section__sun, .vision-section__sparkle { animation: none; }
}
.about-preview { background: var(--cream); }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
.feature-grid span { position: relative; padding: 13px 14px 13px 40px; border-radius: 12px; background: #fff; box-shadow: 0 7px 22px rgba(72,50,82,.08); font-family: var(--font-heading); font-size: .9rem; }
.feature-grid span::before { content: "★"; position: absolute; left: 14px; color: var(--yellow-dark); }
.image-collage { position: relative; min-height: 530px; }
.collage-main { width: 82%; height: 450px; object-fit: cover; border: 12px solid #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); transform: rotate(2deg); }
.collage-small { position: absolute; right: 0; bottom: 0; width: 52%; height: 230px; object-fit: cover; border: 10px solid #fff; border-radius: var(--radius); box-shadow: var(--shadow); transform: rotate(-5deg); }
.visit-banner { padding: 62px 0; color: #fff; background: linear-gradient(110deg, var(--pink), #d84875); }
.visit-banner .container { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.visit-banner h2 { color: #fff; }
.visit-banner p:not(.eyebrow) { max-width: 760px; margin-bottom: 0; }
.visit-banner .eyebrow { color: #fff0a0; }
.gallery-preview { background: #fff; }
.polaroid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.polaroid { display: block; padding: 11px 11px 18px; background: #fff; box-shadow: 0 8px 30px rgba(43,30,50,.18); transition: transform .25s ease; }
.polaroid:nth-child(odd) { transform: rotate(-2deg); }
.polaroid:nth-child(even) { transform: rotate(2deg); }
.polaroid:hover { position: relative; z-index: 2; transform: rotate(0) scale(1.04); }
.polaroid img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.polaroid span { display: block; padding-top: 13px; color: var(--purple-dark); font-family: var(--font-heading); text-align: center; }
.centered-actions { margin: 42px 0 0; text-align: center; }
.home-contact { padding: 70px 0; background: var(--purple); }
.contact-callout { display: grid; grid-template-columns: 1.25fr 1fr auto; align-items: center; gap: 38px; color: #fff; }
.contact-callout h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.contact-callout .eyebrow { color: #ffd75f; }
.contact-quick-links { display: grid; gap: 12px; }
.contact-quick-links a { display: flex; flex-direction: column; padding-left: 16px; border-left: 3px solid var(--yellow); }
.contact-quick-links strong { font-family: var(--font-heading); }

/* About and classes */
.mission-band { background: #f5f0f8; }
blockquote { margin: 28px 0; padding: 24px 28px; border-left: 5px solid var(--pink); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--purple-dark); background: #fff; font: 700 1.15rem/1.7 var(--font-heading); }
.service-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; transform: rotate(1deg); }
.service-mosaic img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border: 6px solid #fff; border-radius: 18px; box-shadow: 0 7px 20px rgba(54,39,64,.12); }
.spice-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 26px 0; }
.spice-list span { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 13px; background: var(--cream); font-family: var(--font-heading); }
.spice-list span:last-child { grid-column: 1/-1; }
.spice-list b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; background: var(--pink); }
.concept-section { background: var(--cream); }
.concept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.concept-card { overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.concept-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.concept-card div { padding: 27px; }
.concept-card p { margin: 0; color: var(--ink-soft); }
.facility-galleries { padding-top: 40px; }
.facility-galleries .container { display: grid; gap: 34px; }
.mini-gallery { display: grid; grid-template-columns: 1.1fr repeat(2, 1fr); gap: 15px; padding: 22px; border-radius: var(--radius); background: #f5f0f8; }
.mini-gallery:nth-child(2) { grid-template-columns: 1.1fr repeat(3, 1fr); background: #edf8f7; }
.mini-gallery.spice-gallery { grid-template-columns: 1.1fr repeat(3, 1fr); background: #fff3e7; }
.mini-gallery img { width: 100%; height: 190px; object-fit: cover; border-radius: 16px; }
.gallery-copy { display: flex; flex-direction: column; justify-content: center; padding: 16px; }
.gallery-copy p:last-child { color: var(--ink-soft); }
.activities-section { background: var(--cream); }
.accordion { display: grid; gap: 10px; margin-top: 28px; }
.accordion details { overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: #fff; }
.accordion summary { padding: 16px 18px; color: var(--purple-dark); font-family: var(--font-heading); font-weight: 800; cursor: pointer; }
.accordion details p { padding: 0 18px 18px; margin: 0; color: var(--ink-soft); }
.stacked-images { position: relative; min-height: 520px; }
.stacked-images img { position: absolute; width: 78%; height: 360px; object-fit: cover; border: 10px solid #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.stacked-images img:first-child { top: 0; left: 0; transform: rotate(-3deg); }
.stacked-images img:last-child { right: 0; bottom: 0; transform: rotate(4deg); }

/* Parent resources */
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.resource-card { min-height: 330px; padding: 32px; border-radius: var(--radius); color: #fff; box-shadow: var(--shadow); }
.resource-card h3 { color: #fff; }
.resource-card a { display: inline-flex; gap: 8px; margin-top: 14px; font-family: var(--font-heading); font-weight: 800; }
.resource-card .resource-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 28px; border-radius: 18px; color: var(--purple-dark); background: rgba(255,255,255,.9); font: 900 1.5rem var(--font-heading); }
.resource-icon .icon { width: 29px; height: 29px; }
.parent-guide { background: var(--cream); }
.numbered-list { display: grid; gap: 15px; margin: 25px 0 0; padding: 0; list-style: none; }
.numbered-list li { display: grid; grid-template-columns: 46px 1fr; gap: 15px; }
.numbered-list > li > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; background: var(--teal); font-family: var(--font-heading); font-weight: 900; }
.numbered-list h3 { margin: 0 0 3px; font-size: 1.1rem; }
.numbered-list p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* Gallery */
.gallery-page { background: var(--cream); }
.gallery-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 38px; }
.gallery-filter button { padding: 10px 20px; border: 2px solid var(--purple); border-radius: 999px; color: var(--purple); background: transparent; font-family: var(--font-heading); font-weight: 800; cursor: pointer; }
.gallery-filter button:hover, .gallery-filter button.is-active { color: #fff; background: var(--purple); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gallery-event-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.gallery-event-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border-radius: 22px; color: var(--ink); background: #fff; box-shadow: 0 10px 32px rgba(54,37,63,.13); transition: transform .22s ease, box-shadow .22s ease; }
.gallery-event-card[hidden] { display: none; }
.gallery-event-card:hover { color: var(--ink); transform: translateY(-6px); box-shadow: 0 18px 42px rgba(54,37,63,.2); }
.gallery-event-card:focus-visible { outline: 4px solid var(--teal); outline-offset: 5px; }
.gallery-event-card__media { overflow: hidden; aspect-ratio: 16/10; background: #e9e0ee; }
.gallery-event-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-event-card:hover .gallery-event-card__media img { transform: scale(1.06); }
.gallery-event-card__body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.gallery-event-card__body .eyebrow { margin-bottom: 10px; color: var(--pink); }
.gallery-event-card__body h2 { margin-bottom: 12px; font-size: clamp(1.35rem, 2vw, 1.9rem); }
.gallery-event-card__body p:not(.eyebrow) { margin-bottom: 20px; color: var(--ink-soft); }
.gallery-event-card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--purple); font-family: var(--font-heading); font-weight: 800; }
.gallery-event-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.gallery-item { position: relative; overflow: hidden; min-height: 270px; padding: 0; border: 0; border-radius: 18px; background: #ddd; cursor: zoom-in; box-shadow: 0 10px 32px rgba(54,37,63,.13); }
.gallery-item[hidden] { display: none; }
.gallery-item img { width: 100%; height: 100%; min-height: 270px; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.lightbox-enabled { cursor: zoom-in; }
.lightbox-trigger:focus-visible { outline: 4px solid var(--teal); outline-offset: 5px; }
.lightbox {
    width: min(1280px, calc(100% - 32px)); max-width: none; height: min(900px, calc(100dvh - 32px)); max-height: none;
    margin: auto; padding: 0; border: 0; overflow: visible; color: #fff; background: transparent;
}
.lightbox::backdrop { background: rgba(20, 13, 25, .92); backdrop-filter: blur(10px); }
.lightbox[open] { animation: lightbox-in .22s ease both; }
.lightbox-fallback { position: fixed; z-index: 1000; inset: 16px; display: block; background: rgba(20, 13, 25, .96); }
.lightbox-shell { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr) 58px; align-items: center; gap: 15px; width: 100%; height: 100%; }
.lightbox-figure { display: grid; grid-template-rows: minmax(0, 1fr) auto; width: 100%; height: 100%; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 22px; background: #17121b; box-shadow: 0 30px 100px rgba(0,0,0,.6); }
.lightbox-stage { position: relative; display: grid; place-items: center; min-height: 0; overflow: hidden; background: #0d0a0f; }
.lightbox-stage img { width: 100%; height: 100%; min-height: 0; object-fit: contain; opacity: 1; transition: opacity .18s ease; }
.lightbox-stage.is-loading img { opacity: 0; }
.lightbox-loader { position: absolute; width: 44px; height: 44px; border: 4px solid rgba(255,255,255,.2); border-top-color: var(--yellow); border-radius: 50%; opacity: 0; animation: lightbox-spin .8s linear infinite; pointer-events: none; }
.lightbox-stage.is-loading .lightbox-loader { opacity: 1; }
.lightbox-meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 60px; padding: 14px 20px; color: #fff; font-family: var(--font-heading); }
.lightbox-counter { flex: 0 0 auto; color: rgba(255,255,255,.68); font-size: .88rem; letter-spacing: .08em; }
.lightbox-close, .lightbox-control { display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); color: #fff; background: rgba(23,18,27,.78); cursor: pointer; transition: transform .18s ease, background .18s ease; }
.lightbox-close:hover, .lightbox-control:hover { background: var(--purple); transform: scale(1.06); }
.lightbox-close { position: absolute; z-index: 3; top: 12px; right: 88px; width: 46px; height: 46px; border-radius: 50%; font-size: 2rem; line-height: 1; }
.lightbox-control { width: 54px; height: 70px; border-radius: 18px; font-size: 3rem; line-height: 1; }
.lightbox-control[hidden] { display: none; }
@keyframes lightbox-in { from { opacity: 0; transform: scale(.975); } to { opacity: 1; transform: scale(1); } }
@keyframes lightbox-spin { to { transform: rotate(360deg); } }

/* Contact */
.contact-page { background: var(--cream); }
.contact-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 32px; align-items: start; }
.contact-form-card, .contact-info-card { padding: clamp(28px, 5vw, 50px); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.contact-form { display: grid; gap: 18px; margin-top: 28px; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.contact-form label { display: grid; gap: 7px; color: var(--purple-dark); font-family: var(--font-heading); font-weight: 800; }
.contact-form label b { color: var(--pink); }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid #dccfe2; border-radius: 13px; padding: 13px 15px; color: var(--ink); background: #fdfbff; font-family: var(--font-body); resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(120,86,154,.12); outline: none; }
.honeypot { position: absolute; left: -9999px; }
.alert { margin: 20px 0; padding: 15px 18px; border-radius: 13px; }
.alert ul { margin: 7px 0 0; }
.alert-success { color: #175d43; background: #dff5eb; }
.alert-error { color: #7d2942; background: #ffe3ea; }
.contact-info-card { color: #fff; background: var(--purple); }
.contact-info-card h2 { color: #fff; }
.contact-info-card .eyebrow { color: #ffd761; }
.contact-info-card ul { display: grid; gap: 18px; margin: 28px 0 0; padding: 0; list-style: none; }
.contact-info-card li { display: grid; grid-template-columns: 40px 1fr; gap: 13px; }
.contact-info-card li > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: var(--purple-dark); background: var(--yellow); }
.contact-info-card li > span .icon { width: 19px; height: 19px; }
.contact-info-card small { display: block; color: #e8d9f3; text-transform: uppercase; letter-spacing: .09em; }
.contact-info-card p { margin: 0; }
.map-section iframe { display: block; width: 100%; height: 440px; border: 0; }

/* App */
.app-download-page { background: var(--cream); }
.app-visual { display: grid; place-items: center; min-height: 600px; border-radius: 50% 45% 48% 42%; background: radial-gradient(circle at 25% 20%, #ffe47d, var(--yellow)); }
.phone-mockup { width: 290px; padding: 15px; border: 8px solid #2c2132; border-radius: 42px; background: #2c2132; box-shadow: 0 35px 70px rgba(54,32,57,.32); transform: rotate(-4deg); }
.phone-speaker { width: 75px; height: 6px; margin: 0 auto 12px; border-radius: 5px; background: #675c6a; }
.phone-screen { min-height: 480px; padding: 50px 22px 24px; border-radius: 27px; color: #fff; background: linear-gradient(155deg, var(--purple), var(--purple-dark)); text-align: center; }
.phone-screen img { width: 130px; margin: 0 auto 25px; border-radius: 10px; }
.phone-screen h2 { color: #fff; font-size: 1.8rem; }
.mock-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin-top: 35px; }
.mock-list span { padding: 12px 5px; border-radius: 12px; color: var(--purple-dark); background: var(--yellow); font: 800 .8rem var(--font-heading); }
.download-buttons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
.download-button { display: flex; align-items: center; gap: 13px; padding: 14px 18px; border-radius: 15px; color: #fff; background: #2d2333; transition: transform .2s ease; }
.download-button:hover { transform: translateY(-3px); }
.download-button > span { font-size: 1.5rem; }
.download-button > span { display: grid; place-items: center; }
.download-button > span .icon { width: 27px; height: 27px; }
.download-button small, .download-button strong { display: block; line-height: 1.2; }
.download-button small { opacity: .7; font-size: .7rem; text-transform: uppercase; }
.download-web { grid-column: 1/-1; background: var(--purple); }
.install-section { background: #fff; }
.install-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.install-steps li { position: relative; padding: 28px 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--cream); }
.install-steps li > span { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 20px; border-radius: 18px; color: #fff; background: var(--pink); font: 900 1.3rem var(--font-heading); }
.install-steps p { margin: 0; color: var(--ink-soft); }

/* Errors */
.error-section { min-height: 68vh; display: grid; place-items: center; padding: 100px 0; background: var(--cream); text-align: center; }
.error-section .container { max-width: 760px; }
.error-section h1 { font-size: clamp(2rem, 5vw, 4rem); }
.error-code { display: block; color: var(--yellow); font: 900 clamp(6rem, 18vw, 13rem)/.8 var(--font-heading); text-shadow: 7px 7px 0 var(--purple); }

/* Footer */
.site-footer { position: relative; padding-top: 86px; color: #eee6f2; background: #3d294b; }
.footer-decoration { position: absolute; top: 0; width: 100%; height: 22px; background: radial-gradient(circle at 14px -3px, transparent 0 17px, #fff 18px 20px, transparent 21px) 0 0/40px 22px repeat-x; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, 1fr) minmax(170px, .62fr); align-items: start; gap: clamp(38px, 6vw, 76px); padding-bottom: 62px; }
.footer-grid > section { min-width: 0; }
.site-footer h2 { position: relative; margin-bottom: 22px; padding-bottom: 12px; color: #fff; font-size: 1.25rem; }
.site-footer h2::after { content: ""; position: absolute; bottom: 0; left: 0; width: 42px; height: 3px; border-radius: 999px; background: var(--yellow); }
.footer-about p { max-width: 470px; margin: 0; color: rgba(255,255,255,.78); line-height: 1.75; }
.footer-brand { display: inline-flex; align-items: center; gap: 15px; margin-bottom: 22px; color: #fff; font-family: var(--font-heading); font-size: 1.08rem; line-height: 1.3; }
.footer-brand img { flex: 0 0 auto; width: 112px; height: 52px; object-fit: contain; border-radius: 8px; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.16); }
.footer-contact, .footer-links { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.footer-contact li { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: start; gap: 10px; line-height: 1.55; }
.footer-contact li > .icon { width: 18px; height: 18px; margin-top: .24rem; color: var(--yellow); }
.footer-contact a, .footer-links a { transition: color .18s ease; }
.footer-contact a { overflow-wrap: anywhere; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; line-height: 1.45; }
.footer-links a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); transition: transform .18s ease; }
.footer-contact a:hover, .footer-links a:hover { color: var(--yellow); }
.footer-links a:hover::before { transform: translateX(3px); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 88px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.7); font-size: .92rem; }
.footer-bottom p { margin: 0; }
.social-links { display: flex; align-items: center; gap: 10px; }
.social-links a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; color: var(--purple-dark); background: var(--yellow); box-shadow: 0 7px 18px rgba(0,0,0,.16); font-family: var(--font-heading); font-weight: 900; transition: transform .18s ease, background .18s ease; }
.social-links a:hover { color: #fff; background: var(--pink); transform: translateY(-3px); }
.social-links .icon { width: 18px; height: 18px; }
.back-to-top { position: fixed; z-index: 20; right: 22px; bottom: 22px; width: 48px; height: 48px; border: 0; border-radius: 50%; color: #fff; background: var(--pink); box-shadow: var(--shadow); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(15px); transition: .2s ease; }
.back-to-top .icon { width: 22px; height: 22px; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* Motion */
.reveal { opacity: 0; transform: translateY(25px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1180px) {
    .brand-copy { min-width: 130px; padding-left: 14px; }
    .brand img { width: 125px; }
    .primary-nav a { padding-inline: 11px; font-size: .8rem; }
    .program-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-event-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .install-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .section { padding: 78px 0; }
    .header-inner { min-height: 72px; align-items: center; padding-right: 10px; }
    .brand img { height: 72px; }
    .nav-toggle { display: block; margin-left: auto; }
    .primary-nav { position: fixed; z-index: 45; inset: 72px 0 0; display: block; padding: 18px; background: rgba(61,41,75,.98); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .2s ease; overflow-y: auto; }
    .primary-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
    .primary-nav ul { display: grid; align-content: start; justify-content: stretch; }
    .primary-nav li, .primary-nav a { display: block; width: 100%; }
    .primary-nav a { padding: 15px 18px; border-bottom: 1px solid rgba(255,255,255,.1); color: #fff; text-align: left; }
    .primary-nav a.school-switch-link {
        margin: 14px 0 0; padding: 15px 18px; border: 1px solid rgba(255,255,255,.35);
        border-radius: 10px; color: var(--purple-dark); background: var(--yellow);
    }
    .primary-nav a[aria-current="page"]::after { display: none; }
    .home-hero, .hero-content { min-height: 600px; }
    .hero-content { padding-inline: 35px; }
    .slider-control { width: 44px; height: 44px; }
    .slider-prev { left: 10px; }
    .slider-next { right: 10px; }
    .split-layout { grid-template-columns: 1fr; }
    .split-reverse > :first-child, .split-reverse > :last-child { order: initial; }
    .resource-grid { grid-template-columns: 1fr; }
    .vision-grid { gap: 64px 24px; }
    .daycare-grid { grid-template-columns: 280px 1fr; gap: 35px; }
    .polaroid-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-callout { grid-template-columns: 1fr 1fr; }
    .contact-callout > .button { justify-self: start; }
    .concept-grid { grid-template-columns: 1fr; }
    .concept-card { display: grid; grid-template-columns: .9fr 1.1fr; }
    .concept-card img { height: 100%; aspect-ratio: auto; }
    .mini-gallery, .mini-gallery:nth-child(2), .mini-gallery.spice-gallery { grid-template-columns: repeat(3, 1fr); }
    .gallery-copy { grid-column: 1/-1; }
    .gallery-grid, .gallery-event-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-event-card__body { padding: 20px; }
    .contact-layout { grid-template-columns: 1fr; }
    .app-visual { max-width: 650px; width: 100%; margin: auto; }
    .site-footer { padding-top: 72px; }
    .footer-grid { grid-template-columns: minmax(0, 1.15fr) minmax(200px, .85fr); gap: 42px 54px; padding-bottom: 48px; }
    .footer-about { grid-column: 1/-1; }
    .footer-about p { max-width: 680px; }
}

@media (max-width: 640px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .section { padding: 62px 0; }
    .brand-copy { min-width: 112px; padding-inline: 10px; }
    .brand-copy strong { font-size: .85rem; }
    .brand-copy span { font-size: .78rem; }
    .brand img { width: 100px; padding-inline: 7px; }
    .hero-content { padding-inline: 24px; }
    .hero-content h1 { font-size: 2.65rem; }
    .hero-actions { width: 100%; }
    .hero-actions .button { width: 100%; }
    .slider-control { top: auto; bottom: 66px; transform: none; }
    .program-grid, .feature-grid, .resource-grid, .gallery-grid, .gallery-event-grid, .download-buttons, .install-steps { grid-template-columns: 1fr; }
    .gallery-event-toolbar { align-items: flex-start; flex-direction: column; }
    .daycare-grid { grid-template-columns: 1fr; text-align: center; }
    .daycare-photo { width: 230px; margin: auto; }
    .daycare-copy .button-row { justify-content: center; }
    .vision-grid { grid-template-columns: 1fr; gap: 56px; }
    .vision-bubble { padding: 38px 22px 24px; }
    .vision-section__sun { width: 90px; top: 14px; }
    .polaroid-grid { gap: 14px; }
    .visit-banner .container { align-items: flex-start; flex-direction: column; }
    .contact-callout { grid-template-columns: 1fr; }
    .image-collage { min-height: 420px; }
    .collage-main { height: 350px; }
    .collage-small { height: 175px; }
    .service-mosaic { grid-template-columns: repeat(2, 1fr); }
    .spice-list { grid-template-columns: 1fr; }
    .spice-list span:last-child { grid-column: auto; }
    .concept-card { display: block; }
    .mini-gallery, .mini-gallery:nth-child(2), .mini-gallery.spice-gallery { grid-template-columns: repeat(2, 1fr); }
    .mini-gallery img { height: 150px; }
    .stacked-images { min-height: 430px; }
    .stacked-images img { height: 300px; }
    .gallery-item, .gallery-item img { min-height: 320px; }
    .form-row { grid-template-columns: 1fr; }
    .download-web { grid-column: auto; }
    .app-visual { min-height: 520px; }
    .phone-mockup { width: 250px; }
    .phone-screen { min-height: 410px; padding-top: 35px; }
    .site-footer { padding-top: 62px; text-align: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 38px; padding-bottom: 38px; }
    .footer-about { grid-column: auto; }
    .footer-brand { justify-content: center; margin-bottom: 18px; }
    .footer-about p { max-width: 500px; margin-inline: auto; }
    .site-footer h2 { margin-bottom: 18px; }
    .site-footer h2::after { left: 50%; transform: translateX(-50%); }
    .footer-contact { width: min(100%, 390px); margin-inline: auto; text-align: left; }
    .footer-links { grid-template-columns: 1fr; justify-items: center; width: min(100%, 390px); margin-inline: auto; gap: 13px; text-align: center; }
    .footer-links a { justify-content: center; }
    .footer-bottom { min-height: 0; align-items: center; flex-direction: column; gap: 18px; padding-block: 24px 30px; text-align: center; }
    .social-links { justify-content: center; }
    .lightbox { width: calc(100% - 16px); height: calc(100dvh - 16px); }
    .lightbox-shell { display: block; }
    .lightbox-figure { height: 100%; border-radius: 16px; }
    .lightbox-meta { min-height: 70px; padding: 12px 16px; font-size: .9rem; }
    .lightbox-close { top: 10px; right: 10px; width: 44px; height: 44px; background: rgba(18,12,21,.84); }
    .lightbox-control { position: absolute; z-index: 2; top: 50%; width: 44px; height: 58px; border: 0; border-radius: 0 14px 14px 0; background: rgba(18,12,21,.7); transform: translateY(-50%); }
    .lightbox-control:hover { transform: translateY(-50%) scale(1.04); }
    .lightbox-prev { left: 0; }
    .lightbox-next { right: 0; border-radius: 14px 0 0 14px; }
}

@media (max-width: 390px) {
    .footer-brand { flex-direction: column; gap: 12px; }
    .footer-brand img { width: 124px; height: 57px; }
    .footer-contact { font-size: .94rem; }
}

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