/* Let's Learn Pre School — site styles. Brand palette unchanged: white base, blue details, pink headlines, pastel cards + orange accent. Light mode only. */
:root {
    color-scheme: light;
    --blue: #4098B6;
    /* Learning Blue — primary */
    --pink: #F00665;
    /* Playful Pink — headlines & emphasis */
    --orange: #FFA53D;
    /* Sunshine Orange — playful accent */
    --sky: #D8EBF2;
    /* Soft Sky — pastel background */
    --blush: #FCE2ED;
    /* Blush Pink — pastel background */
    --cream: #F7F0DF;
    /* Warm Cream — pastel background */
    --white: #FFFFFF;
    /* Pure White — negative space */
    --ink: #263238;
    /* Charcoal — body text */
    --ink-soft: #4a5a62;
    --blue-deep: #2f7d98;
    /* blue for small text on white (contrast) */
    --orange-deep: #b86a0c;
    --line: #e6eef2;
    --shadow: 0 12px 32px rgba(38, 50, 56, .07);
    --f-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
    --f-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    background: var(--white)
}

@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    * {
        transition: none !important;
        animation: none !important
    }
}

body {
    background: var(--white);
    color: var(--ink);
    font-family: var(--f-body);
    font-size: 17px;
    line-height: 1.7
}

body::before {
    content: "";
    position: fixed;
    inset: 0 0 auto;
    height: env(safe-area-inset-top, 0px);
    z-index: 60;
    background: var(--white)
}

h1,
h2,
h3 {
    font-family: var(--f-head);
    line-height: 1.18;
    text-wrap: balance;
    margin: 0
}

p {
    margin: 0
}

a {
    color: inherit
}

.wrap {
    max-width: 1160px;
    margin: 0 auto;
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px))
}

section {
    padding-block: 92px
}

.label {
    font-family: var(--f-body);
    font-weight: 700;
    font-size: .95rem;
    color: var(--blue-deep);
    display: inline-flex;
    align-items: center;
    gap: 8px
}

.label::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--orange)
}

.h2 {
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    font-weight: 700;
    color: var(--pink);
    margin-top: 10px
}

.h3 {
    font-weight: 600
}

.lead {
    font-size: 1.1rem;
    color: var(--ink-soft);
    max-width: 60ch
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    padding: .85em 1.6em;
    border-radius: 999px;
    font: 700 1rem var(--f-body);
    text-decoration: none;
    transition: transform .15s, box-shadow .15s;
    border: 0;
    cursor: pointer
}

.btn:hover {
    transform: translateY(-2px)
}

:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px
}

.btn-pink {
    background: var(--pink);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(240, 6, 101, .22)
}

.btn-line {
    background: var(--white);
    color: var(--blue-deep);
    box-shadow: inset 0 0 0 2px var(--blue)
}

/* nav */
header {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 50;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line)
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 84px
}

.brand img {
    height: 66px;
    width: auto;
    display: block
}

.links {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0
}

.links a {
    text-decoration: none;
    font-weight: 700;
    font-size: .98rem;
    color: var(--ink)
}

.links a:hover {
    color: var(--pink)
}

.menu-btn {
    display: none;
    background: var(--white);
    border: 2px solid var(--sky);
    border-radius: 14px;
    width: 46px;
    height: 46px;
    color: var(--blue-deep);
    font-size: 1.3rem;
    cursor: pointer
}

@media (max-width:920px) {
    .links {
        display: none;
        position: absolute;
        top: 84px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        padding: 8px max(20px, env(safe-area-inset-right, 0px)) 16px max(20px, env(safe-area-inset-left, 0px))
    }

    .links.open {
        display: flex
    }

    .links a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid var(--line)
    }

    .menu-btn {
        display: block
    }

    .nav .btn-pink {
        display: none
    }
}

/* hero */
.hero {
    padding-block: 64px 80px;
    position: relative;
    overflow: hidden
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: center
}

.hero-grid>* {
    min-width: 0
}

.pill {
    display: inline-block;
    background: var(--blush);
    color: #b8044d;
    font-weight: 700;
    font-size: .92rem;
    padding: .4em 1.1em;
    border-radius: 999px
}

.hero h1 {
    font-size: clamp(2.4rem, 5.6vw, 4rem);
    font-weight: 700;
    color: var(--pink);
    margin: 22px 0 18px;
    letter-spacing: -.015em
}

.hero h1 span {
    display: block;
    color: var(--blue)
}

.hero p.lead {
    font-size: 1.18rem
}

.ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px
}

.hero-photo {
    position: relative;
    max-width: 100%
}

.hero-photo .blob {
    position: absolute;
    border-radius: 50%;
    z-index: 0
}

.b1 {
    width: 56%;
    aspect-ratio: 1;
    background: var(--sky);
    top: -8%;
    right: -6%
}

.b2 {
    width: 34%;
    aspect-ratio: 1;
    background: var(--blush);
    bottom: -8%;
    left: -6%
}

.b3 {
    width: 14%;
    aspect-ratio: 1;
    background: var(--orange);
    top: 6%;
    left: 4%;
    opacity: .9
}

.hero-photo .frame {
    position: relative;
    z-index: 1;
    border-radius: 40px 40px 40px 120px;
    overflow: hidden;
    aspect-ratio: 5/4;
    box-shadow: var(--shadow);
    border: 8px solid var(--white)
}

.frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.note {
    position: absolute;
    z-index: 2;
    right: -4px;
    bottom: 22px;
    background: var(--white);
    border-radius: 20px;
    padding: 14px 18px;
    box-shadow: var(--shadow);
    font-family: var(--f-head);
    font-weight: 600;
    color: var(--blue-deep);
    font-size: .98rem;
    line-height: 1.35
}

.note small {
    display: block;
    font-family: var(--f-body);
    font-weight: 400;
    color: var(--ink-soft);
    font-size: .85rem
}

@media (max-width:880px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px
    }

    .note {
        right: 10px
    }
}

.strip {
    background: var(--sky);
    text-align: center;
    padding-block: 18px
}

.strip p {
    font-family: var(--f-head);
    font-weight: 600;
    color: var(--blue-deep);
    font-size: 1.08rem
}

/* highlights */
.hl {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px
}

.hl div {
    border-radius: 24px;
    padding: 26px 24px
}

.hl b {
    display: block;
    font-family: var(--f-head);
    font-weight: 600;
    font-size: 1.06rem;
    margin-bottom: 4px
}

.hl span {
    font-size: .95rem;
    color: var(--ink-soft)
}

.c-blush {
    background: var(--blush)
}

.c-sky {
    background: var(--sky)
}

.c-cream {
    background: var(--cream)
}

.hl .c-blush b {
    color: #c80556
}

.hl .c-sky b {
    color: var(--blue-deep)
}

.hl .c-cream b {
    color: var(--orange-deep)
}

@media (max-width:920px) {
    .hl {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width:460px) {
    .hl {
        grid-template-columns: 1fr
    }
}

/* story */
.story {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 64px;
    align-items: center
}

.story>* {
    min-width: 0
}

.belief {
    font-family: var(--f-head);
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 1.5;
    color: var(--ink);
    margin: 22px 0;
    padding: 20px 24px;
    background: var(--cream);
    border-radius: 22px
}

.story p.body {
    color: var(--ink-soft)
}

.story p.body+p.body {
    margin-top: 14px
}

.photo {
    border-radius: 36px;
    overflow: hidden;
    aspect-ratio: 4/3;
    max-width: 100%;
    box-shadow: var(--shadow)
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

@media (max-width:860px) {
    .story {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .story .photo {
        order: -1
    }
}

/* purpose */
.purpose {
    background: var(--sky);
    border-radius: 48px;
    margin-inline: max(12px, env(safe-area-inset-left, 0px))
}

.mv {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 34px
}

.mv div {
    background: var(--white);
    border-radius: 28px;
    padding: 34px
}

.mv h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px
}

.mv div:first-child h3 {
    color: var(--pink)
}

.mv div:last-child h3 {
    color: var(--blue-deep)
}

.mv p {
    color: var(--ink-soft)
}

@media (max-width:720px) {
    .mv {
        grid-template-columns: 1fr
    }
}

.guides-title {
    margin-top: 64px
}

.guides {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 26px
}

.guides div {
    background: var(--white);
    border-radius: 24px;
    padding: 26px 22px
}

.guides i {
    display: block;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    margin-bottom: 14px
}

.guides h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px
}

.guides p {
    font-size: .95rem;
    color: var(--ink-soft)
}

@media (max-width:960px) {
    .guides {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width:520px) {
    .guides {
        grid-template-columns: 1fr
    }
}

.quote {
    padding-block: 72px;
    text-align: center
}

.quote p {
    font-family: var(--f-head);
    font-weight: 600;
    font-size: clamp(1.35rem, 3vw, 1.9rem);
    line-height: 1.4;
    color: var(--blue);
    max-width: 32ch;
    margin: 0 auto
}

.quote p em {
    font-style: normal;
    color: var(--pink)
}

/* approach */
.approach-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 40px
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.step {
    border-radius: 28px;
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.step .n {
    font-family: var(--f-head);
    font-weight: 700;
    font-size: 1rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--white)
}

.step h3 {
    font-size: 1.12rem;
    font-weight: 600;
    color: var(--ink)
}

.step p {
    font-size: .97rem;
    color: var(--ink-soft)
}

.step.c-blush .n {
    color: var(--pink)
}

.step.c-sky .n {
    color: var(--blue-deep)
}

.step.c-cream .n {
    color: var(--orange-deep)
}

@media (max-width:900px) {
    .steps {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width:560px) {
    .steps {
        grid-template-columns: 1fr
    }
}

/* commitment */
.commit-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 56px;
    align-items: start
}

.commit-grid>* {
    min-width: 0
}

.promises {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.promise {
    border-radius: 24px;
    padding: 24px
}

.promise h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px
}

.promise p {
    font-size: .96rem;
    color: var(--ink-soft)
}

.promise.c-blush h3 {
    color: #c80556
}

.promise.c-sky h3 {
    color: var(--blue-deep)
}

.promise.c-cream h3 {
    color: var(--orange-deep)
}

.promise.c-white {
    background: var(--white);
    box-shadow: inset 0 0 0 2px var(--sky)
}

.promise.c-white h3 {
    color: var(--blue-deep)
}

.sub {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--pink);
    margin-bottom: 16px
}

.partner {
    margin-top: 34px;
    background: var(--sky);
    border-radius: 28px;
    padding: 30px
}

.partner .sub {
    color: var(--blue-deep)
}

.partner p {
    color: var(--ink)
}

@media (max-width:900px) {
    .commit-grid {
        grid-template-columns: 1fr
    }
}

@media (max-width:480px) {
    .promises {
        grid-template-columns: 1fr
    }
}

/* believe */
.believe {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center
}

.believe>* {
    min-width: 0
}

.believe p.body {
    font-size: 1.08rem;
    color: var(--ink-soft);
    margin-top: 16px
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px
}

.tags span {
    font-weight: 700;
    font-size: .92rem;
    padding: .45em 1em;
    border-radius: 999px
}

@media (max-width:860px) {
    .believe {
        grid-template-columns: 1fr
    }
}

/* cta */
.cta {
    background: var(--blush);
    border-radius: 40px;
    padding: 56px;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    overflow: hidden
}

.cta>* {
    min-width: 0;
    position: relative;
    z-index: 1
}

.cta::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: var(--orange);
    opacity: .18;
    right: -60px;
    top: -60px
}

.cta h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--pink)
}

.cta p {
    color: var(--ink);
    margin-top: 14px;
    max-width: 46ch
}

.contact-card {
    background: var(--white);
    border-radius: 28px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-shadow: var(--shadow)
}

.contact-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--blue-deep)
}

.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap
}

.row>div {
    min-width: 0
}

.row span {
    font-size: .88rem;
    color: var(--ink-soft);
    display: block
}

.row b {
    font-weight: 700;
    word-break: break-all;
    user-select: all
}

.copy {
    background: var(--sky);
    color: var(--blue-deep);
    border: 0;
    border-radius: 999px;
    padding: .45em 1.1em;
    font: 700 .88rem var(--f-body);
    cursor: pointer
}

@media (max-width:860px) {
    .cta {
        grid-template-columns: 1fr;
        padding: 36px 24px
    }
}

footer {
    border-top: 1px solid var(--line);
    padding-block: 48px;
    margin-top: 92px;
    background: var(--white)
}

.foot {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px
}

.foot>* {
    min-width: 0
}

.foot img {
    height: 84px;
    width: auto
}

.foot h4 {
    margin: 0 0 12px;
    font-family: var(--f-head);
    font-weight: 600;
    font-size: 1rem;
    color: var(--blue-deep)
}

.foot ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px
}

.foot a,
.foot li {
    text-decoration: none;
    color: var(--ink-soft)
}

.foot a:hover {
    color: var(--pink)
}

.foot p {
    color: var(--ink-soft);
    font-size: .96rem;
    max-width: 36ch;
    margin-top: 12px
}

.copyr {
    margin-top: 36px;
    font-size: .88rem;
    color: var(--ink-soft)
}

@media (max-width:760px) {
    .foot {
        grid-template-columns: 1fr
    }
}

.wa {
    position: fixed;
    right: calc(18px + env(safe-area-inset-right, 0px));
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    z-index: 40;
    background: #25d366;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 24px rgba(38, 50, 56, .22)
}
/* ===== Multi-page additions (same tokens, no new colours) ===== */
body { margin: 0 }
img { max-width: 100% }
.skip {
    position: absolute; left: -9999px; top: 8px; z-index: 100;
    background: var(--white); color: var(--blue-deep); padding: 10px 16px; border-radius: 12px; font-weight: 700
}
.skip:focus { left: 12px }
.links a[aria-current="page"] { color: var(--pink) }
@media (min-width:921px) {
    .links a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--orange) }
}
.nav-cta { display: flex; gap: 10px; align-items: center }

/* page hero (inner pages) */
.page-hero {
    padding-block: 64px 72px;
    position: relative;
    overflow: hidden;
    background: var(--white)
}
.page-hero::before, .page-hero::after {
    content: ""; position: absolute; border-radius: 50%; z-index: 0; pointer-events: none
}
.page-hero::before { width: 340px; height: 340px; background: var(--sky); right: -110px; top: -120px }
.page-hero::after { width: 120px; height: 120px; background: var(--blush); right: 200px; bottom: -50px }
.page-hero .wrap { position: relative; z-index: 1 }
.page-hero h1 {
    font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; color: var(--pink);
    margin: 20px 0 16px; letter-spacing: -.015em; max-width: 20ch
}
.page-hero h1 span { color: var(--blue); display: block }
.page-hero .lead { font-size: 1.15rem }
.dot-o { display: inline-block; width: 18px; height: 18px; border-radius: 50%; background: var(--orange); position: absolute; right: 26%; top: 70px; z-index: 0 }
.crumb { font-size: .9rem; color: var(--ink-soft) }
.crumb a { color: var(--blue-deep); text-decoration: none; font-weight: 700 }
.crumb a:hover { color: var(--pink) }
.cta-hint { margin-top: 12px; font-size: .95rem; color: var(--ink-soft) }

.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 36px }
.sec-head .lead { margin-top: 0 }
.tight { padding-block: 64px }
.no-top { padding-top: 0 }

/* generic card grid */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px }
.cards.three { grid-template-columns: repeat(3, 1fr) }
.card { border-radius: 26px; padding: 28px 26px }
.card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px }
.card p { font-size: .97rem; color: var(--ink-soft) }
.card.c-blush h3 { color: #c80556 }
.card.c-sky h3 { color: var(--blue-deep) }
.card.c-cream h3 { color: var(--orange-deep) }
.card.c-white { background: var(--white); box-shadow: inset 0 0 0 2px var(--sky) }
.card.c-white h3 { color: var(--blue-deep) }
.card .ic {
    width: 46px; height: 46px; border-radius: 50%; background: var(--white);
    display: grid; place-items: center; margin-bottom: 14px
}
.card .ic svg { width: 24px; height: 24px }
@media (max-width:900px) { .cards.three { grid-template-columns: 1fr 1fr } }
@media (max-width:560px) { .cards.three { grid-template-columns: 1fr } }

/* programmes */
.programmes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch }
.prog {
    background: var(--white); border-radius: 30px; padding: 30px 28px; display: flex; flex-direction: column; gap: 6px;
    box-shadow: inset 0 0 0 2px var(--sky); position: relative
}
.prog.feat { box-shadow: inset 0 0 0 3px var(--pink) }
.prog .tag {
    position: absolute; top: -13px; left: 26px; background: var(--pink); color: var(--white);
    font-size: .8rem; font-weight: 700; padding: .3em .9em; border-radius: 999px
}
.prog h3 { font-size: 1.35rem; font-weight: 700; color: var(--blue-deep) }
.prog .hours { font-weight: 700; color: var(--ink) }
.prog .fee { font-family: var(--f-head); font-weight: 700; font-size: 2rem; color: var(--pink); line-height: 1.1; margin-top: 10px }
.prog .fee small { font-family: var(--f-body); font-size: .95rem; color: var(--ink-soft); font-weight: 400 }
.prog p.desc { color: var(--ink-soft); font-size: .97rem; margin-top: 6px }
.prog .more { margin-top: auto; padding-top: 18px }
.prog .more a { color: var(--blue-deep); font-weight: 700; text-decoration: none }
.prog .more a:hover { color: var(--pink) }
@media (max-width:900px) { .programmes { grid-template-columns: 1fr; max-width: 520px } }

.notice {
    margin-top: 26px; background: var(--cream); border-radius: 22px; padding: 18px 22px 18px 54px; position: relative;
    color: var(--ink); max-width: 820px
}
.notice::before {
    content: ""; position: absolute; left: 22px; top: 24px; width: 16px; height: 16px; border-radius: 50%; background: var(--orange)
}
.notice b { font-family: var(--f-head); font-weight: 600 }

/* tables */
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border-radius: 24px; overflow: hidden; box-shadow: inset 0 0 0 2px var(--sky) }
.tbl th, .tbl td { text-align: left; padding: 16px 20px; vertical-align: top }
.tbl thead th { background: var(--sky); color: var(--blue-deep); font-family: var(--f-head); font-weight: 600; font-size: .95rem }
.tbl tbody tr + tr td { border-top: 1px solid var(--line) }
.tbl td:first-child { font-weight: 700; color: var(--ink) }
.tbl td { color: var(--ink-soft) }
.tbl .num { font-family: var(--f-head); font-weight: 700; color: var(--pink); white-space: nowrap }
@media (max-width:680px) {
    .tbl thead { position: absolute; left: -9999px }
    .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100% }
    .tbl tr { padding: 14px 18px }
    .tbl tbody tr + tr { border-top: 1px solid var(--line) }
    .tbl tbody tr + tr td { border-top: 0 }
    .tbl td { padding: 4px 0 }
    .tbl td[data-label]::before { content: attr(data-label); display: block; font-size: .8rem; font-weight: 700; color: var(--blue-deep); text-transform: uppercase; letter-spacing: .04em }
    .tbl td:first-child::before { display: none }
    .tbl td:first-child { font-family: var(--f-head); font-size: 1.1rem; font-weight: 600 }
}

/* two-column split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center }
.split > * { min-width: 0 }
.split.top { align-items: start }
.split p.body { color: var(--ink-soft) }
.split p.body + p.body { margin-top: 14px }
@media (max-width:860px) { .split { grid-template-columns: 1fr; gap: 36px } }

/* panel (sky rounded band, like .purpose) */
.panel { background: var(--sky); border-radius: 48px; margin-inline: max(12px, env(safe-area-inset-left, 0px)) }
.panel.blush { background: var(--blush) }
.panel.cream { background: var(--cream) }
.panel .card { background: var(--white) }

/* daily rhythm */
.rhythm { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: r }
.rhythm li {
    counter-increment: r; background: var(--white); border-radius: 22px; padding: 18px 22px 18px 76px; position: relative; color: var(--ink)
}
.rhythm li::before {
    content: counter(r); position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
    font-family: var(--f-head); font-weight: 700; color: var(--white); background: var(--blue)
}
.rhythm li:nth-child(3n+2)::before { background: var(--pink) }
.rhythm li:nth-child(3n)::before { background: var(--orange) }
.rhythm li b { font-family: var(--f-head); font-weight: 600; display: block; color: var(--blue-deep) }
.rhythm li span { color: var(--ink-soft); font-size: .97rem }

/* bullets */
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px }
.ticks li { padding-left: 32px; position: relative; color: var(--ink-soft) }
.ticks li::before {
    content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 18px; border-radius: 50%;
    background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%232f7d98' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat
}

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px }
.faq details { background: var(--white); border-radius: 22px; box-shadow: inset 0 0 0 2px var(--sky); padding: 0 22px }
.faq details[open] { box-shadow: inset 0 0 0 2px var(--blue) }
.faq summary {
    cursor: pointer; list-style: none; padding: 18px 34px 18px 0; position: relative;
    font-family: var(--f-head); font-weight: 600; color: var(--ink)
}
.faq summary::-webkit-details-marker { display: none }
.faq summary::after {
    content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    width: 28px; height: 28px; border-radius: 50%; background: var(--sky); color: var(--blue-deep);
    display: grid; place-items: center; font-size: 1.2rem; line-height: 1
}
.faq details[open] summary::after { content: "–"; background: var(--blush); color: var(--pink) }
.faq details p { padding-bottom: 18px; color: var(--ink-soft) }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start }
.contact-grid > * { min-width: 0 }
@media (max-width:900px) { .contact-grid { grid-template-columns: 1fr } }
.info { display: grid; gap: 14px }
.info .item { background: var(--white); border-radius: 22px; padding: 18px 20px; box-shadow: inset 0 0 0 2px var(--sky); display: flex; gap: 16px; align-items: flex-start }
.info .item .ic { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--sky) }
.info .item .ic svg { width: 22px; height: 22px }
.info .item span { display: block; font-size: .85rem; color: var(--ink-soft) }
.info .item b, .info .item a { font-weight: 700; color: var(--ink); text-decoration: none; word-break: break-word }
.info .item a:hover { color: var(--pink) }
.quick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px }
.btn-sky { background: var(--sky); color: var(--blue-deep) }
.btn-sm { padding: .6em 1.2em; font-size: .95rem }

.form-card { background: var(--white); border-radius: 32px; padding: 34px; box-shadow: var(--shadow), inset 0 0 0 2px var(--sky) }
.form-card h2 { font-size: 1.6rem; font-weight: 700; color: var(--pink) }
.form-card > p { color: var(--ink-soft); margin-top: 8px }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px }
.form .full { grid-column: 1 / -1 }
.field label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 6px; color: var(--ink) }
.field label small { font-weight: 400; color: var(--ink-soft) }
.field input, .field select, .field textarea {
    width: 100%; font: 400 1rem var(--f-body); color: var(--ink); background: var(--white);
    border: 2px solid var(--line); border-radius: 16px; padding: 12px 14px; appearance: none; -webkit-appearance: none
}
.field select {
    background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%232f7d98' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center/18px no-repeat;
    padding-right: 42px
}
.field textarea { min-height: 110px; resize: vertical }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--sky) }
.field.err input, .field.err select { border-color: var(--pink) }
.field .hint { font-size: .85rem; color: #c80556; margin-top: 4px; display: none }
.field.err .hint { display: block }
.form .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px }
.form .legal { font-size: .88rem; color: var(--ink-soft) }
.form .legal a { color: var(--blue-deep); font-weight: 700 }
.form-msg { display: none; border-radius: 18px; padding: 14px 18px; font-weight: 700 }
.form-msg.ok { display: block; background: var(--sky); color: var(--blue-deep) }
.form-msg.bad { display: block; background: var(--blush); color: #c80556 }
@media (max-width:560px) {
    .form { grid-template-columns: 1fr }
    .form-card { padding: 26px 20px }
}

.steps-next { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px }
.steps-next li { background: var(--white); border-radius: 24px; padding: 24px }
.steps-next li b { display: block; font-family: var(--f-head); font-weight: 600; color: var(--blue-deep); margin: 10px 0 4px }
.steps-next li span.k { font-family: var(--f-head); font-weight: 700; color: var(--pink); font-size: .9rem }
.steps-next li p { color: var(--ink-soft); font-size: .97rem }
@media (max-width:820px) { .steps-next { grid-template-columns: 1fr } }

/* prose (privacy) */
.prose { max-width: 760px }
.prose h2 { font-size: 1.4rem; font-weight: 600; color: var(--blue-deep); margin: 40px 0 10px }
.prose h2:first-child { margin-top: 0 }
.prose p { color: var(--ink-soft) }
.prose p + p { margin-top: 12px }
.prose a { color: var(--blue-deep); font-weight: 700 }
.updated { display: inline-block; margin-top: 8px; font-size: .9rem; color: var(--ink-soft); background: var(--cream); padding: .3em .9em; border-radius: 999px }

.foot address { font-style: normal; color: var(--ink-soft) }
.foot .legal-links { display: flex; gap: 16px; flex-wrap: wrap }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 36px }
.foot-bottom .copyr { margin-top: 0 }
.foot-bottom a { color: var(--ink-soft); font-size: .88rem }
.foot-bottom a:hover { color: var(--pink) }
.foot .foot-tag { font-family: var(--f-head); font-weight: 600; color: var(--blue-deep); font-size: .95rem }

/* home hero photo of the real premises */
.hero-photo .frame.wide { aspect-ratio: 10/7 }

/* 404 */
.nf { text-align: center; padding-block: 120px }
.nf .big { font-family: var(--f-head); font-weight: 700; font-size: clamp(4rem, 14vw, 8rem); color: var(--sky); line-height: 1 }
.nf h1 { color: var(--pink); font-size: clamp(1.8rem, 4vw, 2.6rem); margin-top: 8px }
.nf p { color: var(--ink-soft); margin: 12px auto 0; max-width: 46ch }
.nf .ctas { justify-content: center }

@media print {
    header, .wa, .ctas, .form-card, footer .legal-links { display: none !important }
    section { padding-block: 24px }
}
.cards.five { grid-template-columns: repeat(5, 1fr) }
@media (max-width:1100px) { .cards.five { grid-template-columns: repeat(3, 1fr) } }
@media (max-width:760px) { .cards.five { grid-template-columns: 1fr 1fr } }
@media (max-width:480px) { .cards.five { grid-template-columns: 1fr } }
.split .steps-next { grid-template-columns: 1fr }

/* ===== Tighter vertical rhythm ===== */
section { padding-block: 60px }
.hero { padding-block: 44px 56px }
.page-hero { padding-block: 44px 48px }
.tight { padding-block: 44px }
.quote { padding-block: 48px }
.gap { height: 60px }
.guides-title { margin-top: 44px }
.sec-head, .approach-head { margin-bottom: 28px }
footer { margin-top: 60px; padding-block: 40px }
@media (max-width:760px) {
    section { padding-block: 44px }
    .hero { padding-block: 28px 44px }
    .page-hero { padding-block: 32px 36px }
    .tight { padding-block: 36px }
    .quote { padding-block: 36px }
    .gap { height: 44px }
    .guides-title { margin-top: 36px }
    .hero-grid { gap: 36px }
    footer { margin-top: 44px }
}

/* Space between last section and footer */
footer { margin-top: 0 }
main > section:last-child { padding-bottom: 48px }
@media (max-width:760px) { main > section:last-child { padding-bottom: 36px } }

/* ===== v5 layout fixes ===== */
/* inner page hero with image */
.page-hero::before, .page-hero::after { display: none }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center }
.page-hero-grid > * { min-width: 0 }
.page-hero-photo .frame { aspect-ratio: 5/4 }
@media (max-width:880px) { .page-hero-grid { grid-template-columns: 1fr; gap: 40px } }

/* wider quotes */
.quote p { max-width: 46ch }

/* text column stretches to match its neighbour */
.split.stretch { align-items: stretch }
.split.stretch .belief { display: flex; align-items: center; height: 100% }

/* tag pills fill each row evenly */
.tags.fill span { flex: 1 1 auto; text-align: center }

/* commitment: families card spans full width */
.commit-grid { align-items: start }
.partner-wide { grid-column: 1 / -1; margin-top: 0; display: grid; grid-template-columns: minmax(200px, 1fr) 2.2fr; gap: 12px 40px; align-items: center }
.partner-wide .sub { margin-bottom: 0 }
@media (max-width:760px) { .partner-wide { grid-template-columns: 1fr } }

/* purpose section cards get white backgrounds like other panels */
.purpose .card { background: var(--white) }

/* notice bar matches content width */
.notice { max-width: none }

/* photo fills the empty side of routine sections */
.split.fill-col { align-items: stretch }
.split.fill-col > div:first-child { display: flex; flex-direction: column }
.side-photo { margin-top: 28px; flex: 1 1 auto; min-height: 240px; aspect-ratio: auto }
@media (max-width:860px) { .side-photo { aspect-ratio: 4/3; flex: none; min-height: 0 } }

/* contact: map fills the left column; columns balanced */
.contact-grid { align-items: stretch }
.contact-left { display: flex; flex-direction: column }
.map { margin-top: 24px; flex: 1 1 auto; min-height: 260px; border-radius: 28px; overflow: hidden; box-shadow: inset 0 0 0 2px var(--sky); background: var(--sky) }
.map iframe { display: block; width: 100%; height: 100%; min-height: 260px; border: 0 }
.form-msg { grid-column: 1 / -1 }
.side-photo { position: relative }
.side-photo picture, .side-photo img { position: absolute; inset: 0; width: 100%; height: 100% }
.side-photo img { object-fit: cover }

/* ===== 4-column footer ===== */
footer { background: var(--white) }
.foot.foot4 { grid-template-columns: 1.5fr 1fr 1.15fr 1.35fr; gap: 40px }
.foot-brand img { height: 84px; width: auto; display: block }
.foot-brand p { margin: 14px 0 18px }
.foot h4 { padding-bottom: 10px; margin-bottom: 14px; border-bottom: 2px solid var(--sky); position: relative }
.foot h4::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 28px; height: 2px; background: var(--orange) }
.foot ul { gap: 10px }
.foot .btn-pink { color: var(--white) }
.foot .btn-pink:hover { color: var(--white) }
.foot-progs a { display: block }
.foot-progs b { display: block; font-family: var(--f-head); font-weight: 600; color: var(--ink); font-size: .96rem }
.foot-progs span { font-size: .9rem; color: var(--ink-soft) }
.foot-progs a:hover b { color: var(--pink) }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; min-width: 0 }
.foot-contact svg { flex: none; width: 18px; height: 18px; margin-top: 4px; fill: none; stroke: var(--blue-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round }
.foot-contact a, .foot-contact address { word-break: break-word }
.foot-bottom { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 36px; align-items: center }
@media (max-width:980px) { .foot.foot4 { grid-template-columns: 1fr 1fr; gap: 36px 32px } }
@media (max-width:560px) {
    .foot.foot4 { grid-template-columns: 1fr 1fr; gap: 32px 20px }
    .foot-brand, .foot.foot4 > div:last-child { grid-column: 1 / -1 }
}
@media (max-width:560px) { footer { padding-bottom: 96px } }

.foot-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px }
.dev-credit { font-size: .88rem; color: var(--ink-soft) }
.dev-credit a { color: var(--blue-deep); font-weight: 700; text-decoration: none }
.dev-credit a:hover { color: var(--pink) }
@media (min-width:561px) {
    .foot-meta .dev-credit { padding-left: 20px; border-left: 1px solid var(--line) }
}

.offer {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
    background: var(--blush); border-radius: 22px; padding: 16px 22px; margin-bottom: 28px
}
.offer p { color: var(--ink) }
.offer-tag {
    background: var(--pink); color: var(--white); font-weight: 700; font-size: .85rem;
    padding: .35em 1em; border-radius: 999px; white-space: nowrap
}
.prog .fee .was {
    display: block; font-family: var(--f-body); font-size: 1rem; font-weight: 700;
    color: var(--ink-soft); text-decoration-thickness: 2px; text-decoration-color: var(--pink); margin-bottom: 2px
}
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0
}