/* Rahmah Childhood Center
   Design language: warm, editorial, trust-first. One brand family (Rahmah plum + lilac tint),
   navy ink from the logo, one accent (logo orange) used sparingly for emphasis.
   Shape rule: photos and panels 20px, buttons full pill, inputs 12px. */

:root {
  --ink: #1d376b;          /* navy from the logo: headings, primary buttons */
  --ink-deep: #142a55;
  --text: #36414f;
  --muted: #5f6b7a;
  --plum: #5b3a91;         /* Rahmah brand purple, deepened for contrast */
  --plum-deep: #482c76;
  --lilac: #f3eefa;        /* brand tint for alternate sections */
  --lilac-line: #e4dbf2;
  --accent: #d4542b;       /* logo orange, emphasis only */
  --star: #f2a900;
  --line: #e7e3ec;
  --bg: #fefdfb;
  --white: #ffffff;

  --font-head: "Baloo 2", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r: 20px;
  --r-input: 12px;
  --shadow: 0 18px 40px -18px rgba(45, 30, 80, .28);
  --wrap: 1180px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; margin: 0 0 .45em; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.4vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }
::selection { background: var(--lilac-line); color: var(--ink); }
.em { color: var(--accent); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(64px, 8vw, 104px) 0; }
.tint { background: var(--lilac); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.small { font-size: .92rem; color: var(--muted); }
.kicker { display: block; font-weight: 800; font-size: .95rem; color: var(--plum); margin-bottom: 14px; }
.head { max-width: 680px; margin-bottom: 44px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head.center .lead { margin-left: auto; margin-right: auto; }
.stars { color: var(--star); letter-spacing: 1px; }
.text-link { font-family: var(--font-head); font-weight: 700; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.text-link:hover { color: var(--plum); }
.text-link svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid #3b82c4; outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 2px solid transparent; font-family: var(--font-head); font-weight: 700; font-size: 1.06rem; line-height: 1; white-space: nowrap; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn svg { width: 19px; height: 19px; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 10px 22px -10px rgba(20, 42, 85, .55); }
.btn-primary:hover { background: var(--ink-deep); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: #c9c2d6; }
.btn-outline:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--lilac); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: wait; transform: none; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Announcement + header */
.announce { background: var(--plum-deep); color: #efe9f8; font-size: .9rem; }
.announce .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.announce a { color: #fff; font-weight: 800; text-decoration: none; white-space: nowrap; }
.announce a:hover { text-decoration: underline; }
.announce strong { color: #fff; }
.announce-phone { display: inline-flex; align-items: center; gap: 8px; }
.announce-phone svg { width: 15px; height: 15px; }

.header { position: sticky; top: 0; z-index: 60; background: rgba(254, 253, 251, .94); backdrop-filter: saturate(1.3) blur(12px); -webkit-backdrop-filter: saturate(1.3) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.header.scrolled { border-color: var(--line); box-shadow: 0 8px 24px -16px rgba(45, 30, 80, .25); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { width: 66px; height: auto; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.55rem; color: var(--ink); line-height: .95; }
.brand-name small { display: block; font-size: .72rem; font-weight: 700; color: var(--accent); letter-spacing: .14em; text-transform: uppercase; margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--ink); text-decoration: none; padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--plum); }
.nav a[aria-current="page"] { color: var(--plum); background: var(--lilac); }
.nav .btn { margin-left: 12px; min-height: 46px; padding: 0 22px; color: #fff; }
.nav .btn:hover { color: #fff; }
.menu-toggle { display: none; background: var(--lilac); border: 0; width: 48px; height: 48px; border-radius: 14px; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 26px; height: 26px; }
@media (max-width: 1000px) {
  .menu-toggle { display: grid; place-items: center; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 22px; box-shadow: var(--shadow); display: none; max-height: calc(100vh - 120px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 16px; font-size: 1.15rem; }
  .nav .btn { margin: 10px 0 0; }
}
@media (max-width: 700px) {
  .announce-text-long { display: none; }
  .brand-logo { width: 54px; }
  .brand-name { font-size: 1.35rem; }
  .header .wrap { min-height: 68px; }
}

/* Hero */
.hero { background: var(--lilac); padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 84px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 20ch; font-size: clamp(2.3rem, 4vw, 3.2rem); }
.hero .lead { font-size: 1.2rem; max-width: 46ch; margin-bottom: 30px; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow); }
.hero-photo .inset { position: absolute; width: 36%; left: -8%; bottom: -10%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); border: 6px solid var(--lilac); box-shadow: var(--shadow); }
@media (max-width: 940px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-photo { max-width: 560px; margin: 0 0 28px 6%; }
}
@media (max-width: 520px) { .hero .btn { flex: 1 1 100%; } }

/* Proof bar (directly under hero) */
.proof { border-bottom: 1px solid var(--line); background: var(--white); }
.proof ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.proof li { padding: 22px 18px; display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--ink); line-height: 1.3; border-left: 1px solid var(--line); }
.proof li:first-child { border-left: 0; padding-left: 0; }
.proof li span { display: block; font-weight: 600; color: var(--muted); font-size: .9rem; }
.proof svg { width: 26px; height: 26px; color: var(--plum); flex-shrink: 0; }
.proof a { color: inherit; text-decoration: none; }
.proof a:hover strong { text-decoration: underline; }
@media (max-width: 900px) {
  .proof ul { grid-template-columns: 1fr 1fr; }
  .proof li:nth-child(3) { border-left: 0; padding-left: 0; }
  .proof li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) { .proof li { padding: 16px 10px; font-size: .95rem; } }

/* Programs (photo tiles, no boxes) */
.programs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 22px; }
.ptile { text-decoration: none; color: inherit; display: block; }
.ptile-img { display: block; overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 3; margin-bottom: 16px; background: var(--lilac); }
.ptile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ptile:hover .ptile-img img { transform: scale(1.05); }
.ptile .age { display: block; font-weight: 800; color: var(--plum); font-size: .92rem; margin-bottom: 2px; }
.ptile h3 { margin-bottom: 6px; }
.ptile p { color: var(--muted); font-size: 1rem; margin-bottom: 10px; }
.ptile:hover h3 { color: var(--plum); }
@media (max-width: 1040px) { .programs-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .programs-grid { grid-template-columns: 1fr; } }

/* Split (text + collage) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.split.flip > :first-child { order: 2; }
.collage { position: relative; padding: 0 0 12% 0; }
.collage img:first-child { width: 82%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow); }
.collage img:last-child { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); border: 6px solid var(--bg); box-shadow: var(--shadow); }
.tint .collage img:last-child { border-color: var(--lilac); }
.photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow); }
.checks { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 16px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; color: var(--muted); }
.checks svg { width: 22px; height: 22px; color: var(--accent); margin-top: 3px; }
.checks strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1.15rem; line-height: 1.35; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

/* Reviews */
.reviews-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: stretch; }
figure { margin: 0; }
.quote-feature { background: var(--plum); color: #f4effb; border-radius: var(--r); padding: clamp(30px, 4vw, 48px); display: flex; flex-direction: column; justify-content: space-between; }
.quote-feature .stars { font-size: 1.15rem; }
.quote-feature blockquote { margin: 18px 0 28px; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.35; color: #fff; }
.quote-side { display: grid; gap: 20px; }
.quote { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 28px; }
.quote blockquote { margin: 10px 0 16px; color: var(--text); font-size: 1.04rem; }
.who { display: flex; align-items: center; gap: 12px; }
.who strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1.08rem; line-height: 1.2; }
.who span { color: var(--muted); font-size: .88rem; font-weight: 600; }
.quote-feature .who strong { color: #fff; }
.quote-feature .who span { color: #d9cdee; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--lilac); color: var(--plum); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; flex-shrink: 0; }
.quote-feature .avatar { background: rgba(255, 255, 255, .15); color: #fff; }
.rating-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 24px; }
.rating-row .g { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--ink); }
.rating-row .g svg { width: 30px; height: 30px; }
.rating-row .g b { font-family: var(--font-head); font-size: 1.9rem; line-height: 1; }
@media (max-width: 900px) { .reviews-layout { grid-template-columns: 1fr; } }

/* Learning through play (plain two-column list) */
.play { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.play-list { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 36px; }
.play-list h3 { font-size: 1.2rem; margin-bottom: 4px; padding-top: 14px; border-top: 2px solid var(--lilac-line); }
.play-list p { color: var(--muted); font-size: 1rem; margin: 0; }
.play-list .skill { display: block; margin-top: 8px; font-size: .9rem; font-weight: 700; color: var(--plum); }
@media (max-width: 900px) { .play { grid-template-columns: 1fr; } }
.play-list.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .play-list.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .play-list, .play-list.three { grid-template-columns: 1fr; } }

/* Gallery bento */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; }
.gallery-grid a { border-radius: var(--r); overflow: hidden; display: block; background: var(--lilac); }
.gallery-grid a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid a:nth-child(6), .gallery-grid a:nth-child(7) { grid-column: span 2; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-grid a:hover img { transform: scale(1.04); }
@media (max-width: 820px) { .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(18, 16, 34, .92); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: 1100px; width: 100%; text-align: center; }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 14px; }
.lightbox figcaption { color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; margin-top: 14px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox { padding: 70px 12px; } .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; } }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 700; font-size: 1.16rem; color: var(--ink); padding: 20px 44px 20px 0; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--font-body); font-size: 1.6rem; font-weight: 400; color: var(--plum); transition: transform .25s var(--ease); }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { color: var(--muted); margin: -4px 0 22px; max-width: 62ch; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } }

/* Visit */
.visit { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: stretch; }
.visit-card { background: var(--ink); color: #d6deee; border-radius: var(--r); padding: clamp(30px, 4vw, 46px); }
.visit-card h2 { color: #fff; }
.info-list { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 18px; }
.info-list li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; }
.info-list svg { width: 22px; height: 22px; color: #c9b6ec; margin-top: 3px; }
.info-list strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.12rem; }
.info-list a { color: #fff; }
.map { border-radius: var(--r); overflow: hidden; min-height: 400px; background: var(--lilac); }
.map iframe { width: 100%; height: 100%; min-height: 400px; border: 0; display: block; }
@media (max-width: 900px) { .visit { grid-template-columns: 1fr; } .map, .map iframe { min-height: 320px; } }

/* Final CTA band */
.cta-band { background: var(--plum); color: #efe8f8; padding: clamp(56px, 7vw, 88px) 0; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 2.8rem); }
.cta-band p { max-width: 52ch; margin: 0 auto 28px; font-size: 1.12rem; }
.cta-band .btn-row { justify-content: center; }

/* Footer */
.footer { background: var(--ink-deep); color: #b3bfd6; padding: 68px 0 0; font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr 1fr 1.3fr; gap: 40px; }
.footer .brand { margin-bottom: 16px; }
.footer-logo { width: 60px; height: 60px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex-shrink: 0; }
.footer-logo img { width: 46px; }
.footer .brand-name { color: #fff; }
.footer .brand-name small { color: #f0a483; }
.footer h4 { color: #fff; font-size: 1.15rem; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: #dfe6f3; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-hours strong { display: block; color: #fff; font-weight: 700; }
.footer-contact li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.footer-contact svg { width: 18px; height: 18px; color: #c9b6ec; margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 52px; padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .9rem; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }

/* Sticky action bar on phones: call + book in one tap */
.action-bar { display: none; }
@media (max-width: 700px) {
  .action-bar { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(254, 253, 251, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .action-bar .btn { min-height: 48px; padding: 0 12px; font-size: 1rem; }
  body { padding-bottom: 72px; }
}

/* Inner page header */
.page-head { background: var(--lilac); padding: clamp(40px, 5vw, 64px) 0 clamp(40px, 5vw, 60px); }
.page-head h1 { max-width: 20ch; }
.page-head .lead { margin: 0; }
.crumbs { display: flex; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--plum); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.jump a { color: var(--ink); background: #fff; border: 1px solid var(--lilac-line); text-decoration: none; font-family: var(--font-head); font-weight: 700; padding: 8px 18px; border-radius: 999px; }
.jump a:hover { border-color: var(--plum); color: var(--plum); }

/* Programs page: 2x2 comparable panels */
.program-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: 110px; }
.panel > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.panel-body { padding: 28px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.panel .age { font-weight: 800; color: var(--plum); font-size: .95rem; }
.panel h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); margin: 4px 0 10px; }
.panel p { color: var(--muted); }
.panel .checks { margin: 6px 0 26px; gap: 10px; }
.panel .checks li { color: var(--text); font-weight: 600; }
.panel .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 860px) { .program-panels { grid-template-columns: 1fr; } }
.help { background: var(--ink); color: #d6deee; border-radius: var(--r); padding: clamp(30px, 4vw, 48px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.help h2 { color: #fff; margin-bottom: 6px; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.help p { margin: 0; }

/* Enrollment steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--lilac-line); padding-top: 18px; }
.steps li::before { content: counter(s); font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: var(--plum); display: block; margin-bottom: 4px; }
.steps h3 { font-size: 1.2rem; margin-bottom: 4px; }
.steps p { color: var(--muted); font-size: .98rem; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* Forms */
.form-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px; align-items: start; }
.form-wrap.flip { grid-template-columns: 1.2fr .8fr; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 6px; }
.form-intro { color: var(--muted); margin-bottom: 22px; }
.req { color: var(--accent); }
.form-card label { display: block; font-weight: 700; color: var(--ink); font-size: .98rem; margin-bottom: 18px; }
.form-card input:not([type="radio"]):not([type="checkbox"]), .form-card select, .form-card textarea { display: block; width: 100%; margin-top: 7px; font: inherit; font-weight: 500; color: var(--text); background: var(--bg); border: 1.5px solid #d8d2e2; border-radius: var(--r-input); padding: 12px 15px; min-height: 50px; transition: border-color .2s, box-shadow .2s; }
.form-card input::placeholder, .form-card textarea::placeholder { color: #7c8594; }
.form-card textarea { resize: vertical; min-height: 116px; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 4px rgba(91, 58, 145, .14); background: #fff; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.choice { border: 0; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.choice legend { font-weight: 700; color: var(--ink); margin-bottom: 10px; padding: 0; width: 100%; }
.choice label { margin: 0; display: inline-flex; align-items: center; gap: 10px; background: var(--lilac); padding: 11px 18px; border-radius: 999px; cursor: pointer; border: 1.5px solid transparent; }
.choice label:has(input:checked) { border-color: var(--plum); background: #fff; }
.choice input { accent-color: var(--plum); width: 18px; height: 18px; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form-status { margin: 16px 0 0; font-weight: 700; min-height: 1.5em; }
.form-status.success { color: #1c6b4f; background: #e3f4ec; padding: 14px 18px; border-radius: var(--r-input); }
.form-status.error { color: #9b3417; background: #fbe9e3; padding: 14px 18px; border-radius: var(--r-input); }
.aside { background: var(--ink); color: #d6deee; border-radius: var(--r); overflow: hidden; position: sticky; top: 100px; }
.aside img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.aside-body { padding: 28px; }
.aside h3 { color: #fff; font-size: 1.5rem; }
.aside .small { color: #a9b6cf; margin: 14px 0 0; }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.contact-list li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-list h3 { font-size: 1.1rem; margin-bottom: 2px; }
.contact-list a { font-weight: 700; word-break: break-word; }
.hours { width: 100%; border-collapse: collapse; font-size: .97rem; }
.hours th, .hours td { text-align: left; padding: 3px 0; vertical-align: top; }
.hours th { color: var(--ink); font-weight: 700; padding-right: 14px; white-space: nowrap; }
.hours td { color: var(--muted); }
@media (max-width: 920px) { .form-wrap, .form-wrap.flip { grid-template-columns: 1fr; } .aside { position: static; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } .hours th { white-space: normal; } }

/* State form download */
.doc { display: grid; grid-template-columns: auto 1fr; gap: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(26px, 4vw, 44px); }
.doc-ico { width: 72px; height: 72px; border-radius: 18px; background: var(--lilac); color: var(--plum); display: grid; place-items: center; }
.doc-ico svg { width: 36px; height: 36px; }
.doc ol { margin: 6px 0 24px; padding-left: 22px; color: var(--muted); display: grid; gap: 6px; }
.doc ol li::marker { color: var(--plum); font-weight: 800; }
.doc .small { margin: 18px 0 0; }
@media (max-width: 640px) { .doc { grid-template-columns: 1fr; gap: 16px; } }

.notfound { padding: clamp(80px, 12vw, 140px) 0; }

/* Motion: one gentle fade-up for sections entering the viewport */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
a[href^="tel:"] { white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Graduation strip: text + three offset portraits */
.grad { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.grad-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start; }
.grad-photos a { border-radius: var(--r); overflow: hidden; display: block; aspect-ratio: 3 / 4; }
.grad-photos a:nth-child(2) { margin-top: 48px; }
.grad-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.grad-photos a:hover img { transform: scale(1.04); }
@media (max-width: 900px) { .grad { grid-template-columns: 1fr; } .grad-photos a:nth-child(2) { margin-top: 24px; } }

.entrance { margin-top: 24px; }
.entrance img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
.entrance figcaption { font-size: .92rem; color: var(--muted); margin-top: 8px; }

/* Teardown fixes */
.collage img:first-child { object-position: center; }
.faq .btn { margin-top: 8px; }
.mini-quote { margin-top: 24px; padding: 20px 22px; background: var(--lilac); border-radius: var(--r); }
.mini-quote blockquote { margin: 6px 0 8px; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1.1rem; line-height: 1.4; }
.mini-quote figcaption { font-size: .9rem; color: var(--muted); font-weight: 600; }

/* Balanced reviews */
.reviews-layout { grid-template-columns: 1.2fr 1fr; align-items: stretch; }
.reviews-layout .quote-side { display: contents; }
.reviews-layout .quote-feature { grid-row: 1 / span 2; justify-content: space-between; }
.reviews-layout .quote { grid-column: 2; }
.reviews-layout .rating-row { grid-column: 1 / -1; }
@media (max-width: 900px) {
  .reviews-layout { grid-template-columns: 1fr; }
  .reviews-layout .quote-feature { grid-row: auto; }
  .reviews-layout .quote, .reviews-layout .rating-row { grid-column: 1; }
}

.grad-photos img[src*="x-playground"] { object-position: 12% center; }

/* Round 3: organic hero shape */
.hero-photo { max-width: 540px; margin-left: auto; padding: 0 0 6% 0; }
.hero-photo > img:first-child { aspect-ratio: 1 / 1; border-radius: 46% 54% 44% 56% / 54% 46% 54% 46%; border: 8px solid #fff; box-shadow: var(--shadow); }
.hero-photo .inset { left: auto; right: -2%; bottom: 0; width: 36%; border-radius: 50%; border: 6px solid #fff; }
@media (max-width: 940px) { .hero-photo { margin: 0 auto 8px; max-width: 440px; } .hero-photo .inset { right: 0; } }

/* Activity illustration badges */
.ill { width: 92px; height: 92px; border-radius: 50%; background: var(--lilac); display: grid; place-items: center; margin-bottom: 16px; }
.ill svg { width: 62px; height: 62px; }
.play-list > div:nth-child(6n+1) .ill { background: #fdece6; }
.play-list > div:nth-child(6n+2) .ill { background: #e6f3fb; }
.play-list > div:nth-child(6n+3) .ill { background: #f3eefa; }
.play-list > div:nth-child(6n+4) .ill { background: #edf6e4; }
.play-list > div:nth-child(6n+5) .ill { background: #fff6dc; }
.play-list > div:nth-child(6n+6) .ill { background: #e9f5ea; }
.play-list h3 { border-top: 0; padding-top: 0; }
.play-list > div { border-top: 2px solid var(--lilac-line); padding-top: 18px; }

/* Hero, restored from the first design */
.hero1 { position: relative; overflow: hidden; color: #fff; padding: clamp(56px, 7vw, 92px) 0 clamp(110px, 12vw, 150px);
  background: radial-gradient(1200px 600px at 15% 0%, #c9aef0 0%, transparent 60%), linear-gradient(155deg, #b996e6 0%, #a07ad8 50%, #8e63c9 100%); }
.hero1::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: rgba(255,255,255,.08); top: -220px; left: -160px; }
.hero1::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; border: 50px solid rgba(255,255,255,.06); bottom: -60px; left: 38%; }
.hero1 .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero1 h1 { color: #fff; font-size: clamp(2.4rem, 4.6vw, 3.6rem); text-shadow: 0 2px 20px rgba(60,20,110,.18); }
.hero1 h1 .sun { color: #ffed0c; }
.hero1 .lead { color: #f7f1ff; font-size: 1.2rem; max-width: 520px; margin-bottom: 30px; }
.hero1-kicker { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.95); color: var(--ink); font-weight: 800; font-size: .95rem; padding: 7px 16px 7px 12px; border-radius: 999px; margin-bottom: 22px; }
.btn-sun { background: #ffed0c; color: var(--ink); box-shadow: 0 10px 24px rgba(230,190,0,.35); }
.btn-sun:hover { background: #fff36a; color: var(--ink); }
.hero1-art { position: relative; padding: 10px 10px 40px 0; }
.hero1-photo { border-radius: 44% 56% 46% 54% / 52% 44% 56% 48%; overflow: hidden; aspect-ratio: 1 / 1; border: 10px solid rgba(255,255,255,.9); box-shadow: 0 26px 64px rgba(29,55,107,.17); background: #f4eefc; }
.hero1-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero1-photo-sm { position: absolute; width: 38%; aspect-ratio: 1; right: -8px; bottom: 0; border-radius: 50%; overflow: hidden; border: 8px solid #fff; box-shadow: 0 26px 64px rgba(29,55,107,.17); }
.hero1-photo-sm img { width: 100%; height: 100%; object-fit: cover; }
.hero1-badge { position: absolute; background: #fff; color: var(--ink); border-radius: 20px; padding: 13px 18px 13px 13px; box-shadow: 0 26px 64px rgba(29,55,107,.17); display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; line-height: 1.15; animation: float 6s ease-in-out infinite; }
.hero1-badge .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; background: #e0f6ee; color: #2fb386; }
.hero1-badge .ico svg { width: 24px; height: 24px; }
.hero1-badge .ico-heart { background: #e2f6fc; color: #00a3d1; }
.hero1-badge small { display: block; font-family: var(--font-body); font-weight: 600; color: var(--muted); font-size: .84rem; margin-top: 2px; }
.hero1 .badge-a { left: -30px; bottom: 90px; }
.hero1 .badge-b { right: -10px; top: 26px; animation-delay: -3s; }
.hero1 .doodle { position: absolute; pointer-events: none; }
.hero1 .d-star { color: #ffed0c; font-size: 2.6rem; right: 6%; top: -4%; animation: spin 14s linear infinite; }
.hero1 .d-dot { width: 22px; height: 22px; border-radius: 50%; background: #f0754f; left: 4%; top: 26%; box-shadow: 0 0 0 8px rgba(240,117,79,.25); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }
.hero1 .wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; z-index: 1; }
.hero1 .wave svg { width: 100%; height: 72px; display: block; }
@media (max-width: 980px) {
  .hero1 .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero1-art { max-width: 480px; margin: 0 auto; width: 100%; }
  .hero1 .badge-a { left: 0; }
  .hero1 .badge-b { right: 0; }
}
@media (max-width: 520px) {
  .hero1-badge { font-size: .95rem; padding: 10px 14px 10px 10px; }
  .hero1-badge .ico { width: 38px; height: 38px; }
  .hero1 .badge-a { bottom: 70px; }
  .hero1 .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .hero1-badge, .hero1 .d-star { animation: none; } }

/* Hero photos as arches (school-window shape) */
.arches { position: relative; padding: 24px 0 0; max-width: 520px; margin-left: auto; width: 100%; }
.arches .arch-main { position: relative; z-index: 1; width: 80%; margin-left: auto; aspect-ratio: 4 / 5; border-radius: 50% 50% 24px 24px / 40% 40% 24px 24px; overflow: hidden; border: 8px solid #fff; box-shadow: 0 30px 60px -20px rgba(40, 20, 90, .45); }
.arches .arch-main img, .arches .arch-sm img { width: 100%; height: 100%; object-fit: cover; display: block; }
.arches .arch-sm { position: absolute; z-index: 2; left: 0; bottom: -28px; width: 42%; aspect-ratio: 3 / 4; border-radius: 50% 50% 20px 20px / 37.5% 37.5% 20px 20px; overflow: hidden; border: 8px solid #fff; box-shadow: 0 24px 50px -18px rgba(40, 20, 90, .5); }
.arches .arch-line { position: absolute; z-index: 0; top: 0; right: -22px; width: 80%; aspect-ratio: 4 / 5; border-radius: 50% 50% 24px 24px / 40% 40% 24px 24px; border: 3px solid #ffed0c; opacity: .9; }
.arches .d-star { top: 6px; left: 14%; right: auto; font-size: 2.4rem; }
.hero1 { padding-bottom: clamp(130px, 13vw, 170px); }
@media (max-width: 980px) { .arches { margin: 0 auto 30px; max-width: 420px; } .arches .arch-line { right: -10px; } }

/* Home activities: full-width 3 x 2 grid */
.home-play { gap: 40px 48px; }
.home-play > div { text-align: left; }
.home-play h3 { font-size: 1.3rem; }
.home-play p { font-size: 1.02rem; }
.play-more { margin-top: 44px; }

.center { text-align: center; }

/* Review rows */
.review-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 20px; align-items: stretch; }
.review-row.three { grid-template-columns: repeat(3, 1fr); margin-top: 0; }
.review-row .quote { display: flex; flex-direction: column; }
.review-row .quote .who { margin-top: auto; }
.tint .rating-row { margin-top: 20px; }
@media (max-width: 1040px) { .review-row { grid-template-columns: 1fr 1fr; } .review-row.three { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .review-row { grid-template-columns: 1fr; } }

/* Logo: icon + real wordmark in the header, full logo in the footer */
.brand { gap: 10px; }
.brand-wordmark { height: 46px; width: auto; }
.footer-brand { display: inline-block; background: #fff; border-radius: var(--r); padding: 16px 22px; margin-bottom: 18px; }
.footer-brand img { width: 150px; height: auto; display: block; }
@media (max-width: 700px) { .brand-wordmark { height: 38px; } }
@media (max-width: 360px) { .brand-wordmark { height: 32px; } .brand-logo { width: 46px; } }

/* Review slider: swipe on phones, arrows on all sizes, no autoplay */
.reviews-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.reviews-top h2 { margin-bottom: 6px; }
.reviews-top .lead { margin: 0; }
.slider-nav { display: flex; gap: 10px; flex-shrink: 0; }
.slider-btn { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid #c9c2d6; background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s, opacity .2s; }
.slider-btn svg { width: 20px; height: 20px; }
.slider-btn[data-dir="-1"] svg { transform: scaleX(-1); }
.slider-btn:hover:not([disabled]) { border-color: var(--ink); background: var(--lilac); }
.slider-btn[disabled] { opacity: .35; cursor: default; }
.slider { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 18px; scrollbar-width: thin; scrollbar-color: #cbbde6 transparent; }
.slider::-webkit-scrollbar { height: 6px; }
.slider::-webkit-scrollbar-thumb { background: #cbbde6; border-radius: 6px; }
.slider .slide { flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start; margin: 0; display: flex; flex-direction: column; }
.slider .slide blockquote { flex: 1; }
.slider .slide:first-child { background: var(--plum); border-color: var(--plum); }
.slider .slide:first-child blockquote { color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; line-height: 1.45; }
.slider .slide:first-child .who strong { color: #fff; }
.slider .slide:first-child .who span { color: #d9cdee; }
.slider .slide:first-child .avatar { background: rgba(255,255,255,.15); color: #fff; }
.slider:focus-visible { outline: 3px solid #3b82c4; outline-offset: 4px; border-radius: 12px; }
@media (max-width: 1000px) { .slider .slide { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 640px) {
  .reviews-top { flex-direction: column; align-items: flex-start; }
  .slider .slide { flex-basis: 86%; }
}

@media (prefers-reduced-motion: reduce) { .slider { scroll-behavior: auto; } }

/* Phone compaction: same content, less scrolling (desktop unchanged) */
@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .head { margin-bottom: 28px; }
  /* Programs: compact 2 x 2 tappable cards */
  .programs-grid { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .ptile-img { margin-bottom: 10px; border-radius: 16px; aspect-ratio: 1 / 1; }
  .ptile .age { font-size: .78rem; }
  .ptile h3 { font-size: 1.02rem; margin: 0; }
  .ptile p, .ptile .text-link { display: none; }
  /* Activities: illustration left, text right */
  .play-list, .play-list.three { gap: 0; }
  .play-list > div { display: grid; grid-template-columns: 60px 1fr; column-gap: 14px; align-items: start; padding: 16px 0; border-top: 1px solid var(--lilac-line); }
  .play-list .ill { width: 60px; height: 60px; margin: 0; grid-row: span 3; }
  .play-list .ill svg { width: 40px; height: 40px; }
  .play-list h3 { font-size: 1.08rem; margin: 2px 0 2px; }
  .play-list p { font-size: .95rem; }
  .play-list .skill { margin-top: 4px; font-size: .84rem; }
  .play-more { margin-top: 24px; }
  /* Gallery, map, footer */
  .gallery-grid { grid-auto-rows: 120px; gap: 10px; }
  .map, .map iframe { min-height: 240px; }
  .visit-card { padding: 26px 22px; }
  .info-list { margin: 18px 0 22px; gap: 14px; }
  .footer { padding-top: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-brand img { width: 120px; }
  .footer-bottom { margin-top: 32px; }
  .cta-band { padding: 48px 0; }
}
@media (max-width: 640px) {
  .arches { max-width: 300px; padding-top: 16px; }
  .hero1 { padding-top: 40px; padding-bottom: 110px; }
  .collage { padding-bottom: 8%; }
  .collage img:first-child { width: 86%; aspect-ratio: 4 / 3; }
  .collage img:last-child { width: 40%; }
}

/* Footer polish on phones */
@media (max-width: 640px) {
  .footer-grid > div:first-child { text-align: center; }
  .footer-grid > div:first-child p { max-width: 32ch; margin-left: auto; margin-right: auto; }
  .footer-brand { padding: 12px 18px; margin-bottom: 14px; }
  .footer-brand img { width: 108px; }
  .footer h4 { margin-bottom: 12px; }
  .footer-bottom { justify-content: center; text-align: center; padding-bottom: 28px; }
  .footer-bottom a { display: none; }
}

/* Hero sized so the headline and buttons fit on common laptop screens */
@media (min-width: 641px) {
  .hero1 { padding-top: clamp(36px, 4.5vw, 56px); padding-bottom: clamp(96px, 9vw, 124px); }
  .hero1 h1 { font-size: clamp(2.2rem, 3.4vw, 2.9rem); }
  .hero1 .lead { font-size: 1.1rem; margin-bottom: 24px; }
  .hero1-kicker { margin-bottom: 16px; }
  .arches { max-width: min(420px, 60vh); padding-top: 18px; }
}
