/* ==========================================================
   Fun Foundations redesign (2026). Loaded after styles.css on
   pages with <body class="rd">, so the rest of the site is
   untouched until each page is moved over.
   ========================================================== */

.rd {
    --rd-green: #2F6B1F;
    --rd-green-dark: #1F4A12;
    --rd-green-soft: #E6EEDB;
    --rd-cream: #FBF6EA;
    --rd-cream-2: #F3EAD3;
    --rd-yellow: #F6C324;
    --rd-ink: #2A2A22;
    --rd-muted: #55554A;
    --rd-radius: 22px;
    --rd-shadow: 0 10px 30px rgba(47, 74, 18, 0.12);

    font-family: 'Nunito', system-ui, sans-serif;
    color: var(--rd-ink);
    background: var(--rd-cream);
    line-height: 1.55;
}

.rd-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.rd-sr {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.rd-flip { transform: scaleX(-1); }

.rd a:focus-visible,
.rd button:focus-visible,
.rd input:focus-visible,
.rd select:focus-visible,
.rd textarea:focus-visible {
    outline: 3px solid var(--rd-yellow);
    outline-offset: 2px;
}

/* Preview-only banner */
.rd-preview-flag {
    background: var(--rd-yellow);
    color: var(--rd-ink);
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    padding: 6px 12px;
}

/* ---------- Top bar ---------- */
.rd-topbar {
    background: var(--rd-green);
    color: #fff;
    padding: 8px 0;
}

.rd-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
}

.rd-topbar-icon { flex: none; color: #fff; width: 28px; height: 28px; }

.rd-topbar-main {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.rd-topbar-main strong { color: var(--rd-yellow); }

.rd-topbar-sub {
    font-size: 13px;
    opacity: 0.92;
}

.rd-topbar-leaf {
    color: rgba(255, 255, 255, 0.85);
    width: 64px;
    height: 32px;
    flex: none;
    margin: 0 16px;
}

/* ---------- Nav (shared include, re-skinned) ---------- */
.rd header {
    background: var(--rd-cream);
    box-shadow: 0 1px 0 rgba(47, 74, 18, 0.1);
}

.rd .nav-links a { color: var(--rd-ink); }
.rd .nav-links a:hover,
.rd .dropdown:hover .dropbtn,
.rd .dropdown-content a:hover { color: var(--rd-green); }
.rd .dropdown-content { border-top-color: var(--rd-green); background: #fff; }
.rd .nav-links .btn-nav { background: var(--rd-green); color: #fff; }

@media (max-width: 768px) {
    .rd .nav-links { background: var(--rd-cream); }
}

/* ---------- Hero ---------- */
.rd-hero {
    padding: 40px 0 48px;
    background:
        radial-gradient(1200px 500px at 85% 0%, #FFF3D1 0%, transparent 60%),
        var(--rd-cream);
}

.rd-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 48px;
    align-items: center;
}

.rd-eyebrow {
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rd-green);
    margin-bottom: 14px;
}

.rd-big .rd-hero-text { text-align: center; }

.rd-hero-brand {
    position: relative;
    width: min(100%, 370px);
    margin: 0 auto;
}

.rd-hero-logo {
    display: block;
    width: 100%;
    height: auto;
}

/* Sprigs hug the FUN blocks, as in the mockup */
.rd-brand-leaf {
    position: absolute;
    top: 9%;
    left: -4%;
    width: 22%;
    height: auto;
    color: var(--rd-green);
}

.rd-brand-leaf.rd-flip { left: auto; right: -4%; transform: none; }
.rd-brand-leaf:not(.rd-flip) { transform: scaleX(-1); }

.rd-est {
    font-size: 19px;
    font-weight: 600;
    color: var(--rd-ink);
    margin: 6px 0 18px;
}

.rd-mission { position: relative; }

.rd-heart {
    position: absolute;
    right: 0;
    top: -58px;
    color: var(--rd-yellow);
    transform: rotate(12deg);
}

/* Nav bar never shows the small logo: the homepage/nursery hero or the
   .rd-brandrow under the bar carries the big one */
.rd header .logo { visibility: hidden; }

.rd-hero h1 {
    font-size: clamp(34px, 4.2vw, 52px);
    font-weight: 800;
    font-style: italic;
    line-height: 1.12;
    color: var(--rd-green);
    letter-spacing: -0.01em;
}

.rd-underline {
    display: block;
    color: var(--rd-yellow);
    margin: 10px 0 22px;
    max-width: 60%;
    height: auto;
}

.rd-lede {
    font-size: 19px;
    color: var(--rd-ink);
    max-width: 34ch;
}

/* Home hero: mission statement smaller, logo leads (per Amy's mockup) */
.rd-big .rd-hero h1 { font-size: clamp(27px, 2.75vw, 34px); line-height: 1.18; }
.rd-big .rd-underline { margin: 10px auto 20px; color: var(--rd-green); width: 150px; }
.rd-big .rd-lede { font-size: 18px; text-align: left; max-width: none; margin: 0; }

/* Desktop: photo/reel runs full-bleed to the right and fades into the cream */
@media (min-width: 1001px) {
    .rd-big .rd-hero {
        position: relative;
        overflow: hidden;
        padding: 36px 0 48px;
        min-height: 600px;
    }

    /* Slim cream nav bar under the green top bar: links on the right, no logo
       (the hero carries the big one). Book Tour sits top right of the reel. */
    .rd header { padding: 0; }
    .rd header nav {
        max-width: 1180px;
        padding: 6px 24px;
        justify-content: flex-end;
    }
    .rd header .logo,
    .rd header .nav-links .btn-nav { display: none; }

    .rd-big .rd-hero-text .rd-book { display: none; }
    .rd-big .rd-hero > .rd-book-top {
        display: inline-flex;
        position: absolute;
        z-index: 3;
        top: 20px;
        right: max(24px, calc((100% - 1180px) / 2 + 24px));
        margin: 0;
        font-size: 26px;
        gap: 10px;
        padding: 6px 22px 6px 16px;
    }

    .rd-big .rd-hero-grid { grid-template-columns: minmax(0, 420px) 1fr; }
    .rd-big .rd-hero-text { position: relative; z-index: 2; }

    .rd-big .rd-hero-media {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 62%;
        -webkit-mask-image: linear-gradient(to right, transparent 0, #000 26%);
        mask-image: linear-gradient(to right, transparent 0, #000 26%);
    }

    .rd-big .rd-hero-media .rd-hero-video,
    .rd-big .rd-hero-media .rd-ph-hero {
        height: 100%;
        aspect-ratio: auto;
        border-radius: 0;
        box-shadow: none;
    }
}

/* Narrower desktops: slightly smaller Book Tour */
@media (min-width: 1001px) and (max-width: 1240px) {
    .rd-big .rd-hero > .rd-book-top { font-size: 22px; padding: 5px 18px 5px 14px; }
}

/* Nursery pages share the homepage hero; keep their buttons and contact list tidy */
.rd-big .rd-loc-hero .rd-actions { justify-content: center; }
.rd-big .rd-loc-hero .rd-contact-list { display: inline-grid; text-align: left; margin-top: 22px; }
.rd-big .rd-loc-hero .rd-lede { max-width: none; }
@media (min-width: 1001px) {
    .rd-big .rd-hide-desk { display: none; }
}

/* Big decorative leaves, only where there's room for them */
.rd-leaves { display: none; position: absolute; z-index: 1; pointer-events: none; height: auto; }

@media (min-width: 1300px) {
    .rd-leaves-hero { display: block; left: -46px; top: 38%; width: 150px; transform: rotate(-20deg); }
}

@media (min-width: 1001px) {
    .rd-band-wrap { position: relative; }
    .rd-leaves-band { display: block; left: 0; bottom: 30px; width: 170px; }
    .rd-leaves-band.rd-flip { left: auto; right: 0; }
}

.rd-places {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 26px;
}

.rd-places a {
    font-weight: 700;
    font-size: 15px;
    color: var(--rd-green);
    background: var(--rd-green-soft);
    padding: 6px 14px;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.2s;
}

.rd-places a:hover { background: #d6e3c4; }

.rd-hero-media {
    position: relative;
}

.rd-hero-video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    border-radius: 32px;
    box-shadow: var(--rd-shadow);
    background: var(--rd-cream-2);
}

/* Any video shape fills the box; crop high so portrait clips keep children's faces */
video.rd-hero-video { object-position: 50% 30%; }

/* Placeholders until Amy's media arrives */
.rd-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    color: var(--rd-green);
    font-weight: 700;
    background:
        repeating-linear-gradient(135deg, transparent 0 18px, rgba(47, 107, 31, 0.06) 18px 36px),
        var(--rd-cream-2);
}

.rd-ph span {
    background: rgba(255, 255, 255, 0.8);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 15px;
}

.rd-ph-hero {
    aspect-ratio: 16 / 11;
    border-radius: 32px;
    box-shadow: var(--rd-shadow);
}

.rd-ph-card { aspect-ratio: 10 / 7; }

/* Book Tour button */
.rd-big .rd-book-top { display: none; }

.rd-book {
    position: relative;
    margin-top: 28px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--rd-green);
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    text-decoration: none;
    padding: 12px 28px 12px 22px;
    border-radius: 999px;
    border: 4px solid var(--rd-yellow);
    box-shadow: 0 8px 22px rgba(31, 74, 18, 0.35);
    transition: transform 0.2s, background 0.2s;
}

.rd-book:hover {
    background: var(--rd-green-dark);
    transform: translateY(-2px);
}

.rd-spark {
    position: absolute;
    left: -34px;
    top: -22px;
    color: var(--rd-yellow);
}

.rd-arrow { transition: transform 0.2s; }
.rd-book:hover .rd-arrow,
.rd-btn:hover .rd-arrow { transform: translateX(4px); }

/* ---------- Values strip ---------- */
.rd-values {
    background: #fff;
    border-block: 1px solid rgba(47, 74, 18, 0.08);
}

.rd-values-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding-top: 22px;
    padding-bottom: 22px;
}

.rd-values-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 6px 16px;
    font-weight: 600;
    font-size: 15.5px;
    line-height: 1.3;
}

.rd-values-list li + li { border-left: 2px solid var(--rd-green-soft); }

.rd-values-list svg {
    width: 48px;
    height: 48px;
    flex: none;
    color: var(--rd-green);
}

.rd-values-list span { max-width: 13ch; }

/* ---------- Our Nurseries ---------- */
.rd-nurseries { padding: 56px 0 80px; }

.rd-welcome {
    max-width: 62ch;
    margin: 0 auto 44px;
    text-align: center;
    font-size: 20px;
    line-height: 1.6;
}

.rd-welcome p + p { margin-top: 12px; }

.rd-home .rd-section-head { gap: 18px; }
.rd-home .rd-section-head h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 0; }

.rd-section-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    text-align: center;
    margin-bottom: 40px;
}

.rd-section-head h2,
.rd-contact h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.1;
    color: var(--rd-green);
    margin-bottom: 10px;
}

.rd-section-head p {
    font-size: 18px;
    max-width: 60ch;
    margin: 0 auto;
}

.rd-head-leaf {
    color: var(--rd-green);
    width: 110px;
    height: 55px;
    flex: none;
}

.rd-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.rd-card {
    background: #F7EEDB;
    border-radius: var(--rd-radius);
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(47, 74, 18, 0.08);
    display: flex;
    flex-direction: column;
}

.rd-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 10 / 7;
    object-fit: cover;
}

.rd-card-body {
    padding: 22px 24px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.rd-card h3 {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 27px;
    font-weight: 800;
    color: var(--rd-ink);
    margin-bottom: 6px;
}

.rd-card h3 svg { color: var(--rd-green); }

.rd-card p {
    font-size: 16px;
    margin-bottom: 20px;
    max-width: 36ch;
    flex: 1;
}

.rd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--rd-green);
    color: #fff;
    font: inherit;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    padding: 11px 30px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.rd-btn:hover { background: var(--rd-green-dark); }
.rd-btn:disabled { opacity: 0.6; cursor: wait; }

/* ---------- Contact ---------- */
.rd-contact {
    padding: 72px 0;
    background: #fff;
}

.rd-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 56px;
    align-items: start;
}

.rd-contact-info p { font-size: 17px; margin-bottom: 22px; }

.rd-phones { list-style: none; }

.rd-phones li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--rd-green-soft);
    font-weight: 700;
}

.rd-phones a {
    color: var(--rd-green);
    text-decoration: none;
    white-space: nowrap;
}

.rd-phones a:hover { text-decoration: underline; }

.rd-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    background: var(--rd-cream);
    padding: 28px;
    border-radius: var(--rd-radius);
}

.rd-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 700;
    font-size: 15px;
}

.rd-form input,
.rd-form select,
.rd-form textarea {
    font: inherit;
    font-weight: 400;
    font-size: 16px;
    padding: 12px 14px;
    border: 1.5px solid #D9D2BE;
    border-radius: 12px;
    background: #fff;
    color: var(--rd-ink);
}

.rd-form input:focus,
.rd-form select:focus,
.rd-form textarea:focus { border-color: var(--rd-green); }

.rd-span { grid-column: 1 / -1; }

/* Quote request form (Fees page) */
.rd-quote-form { margin: 8px 0 40px; }

.rd-optional { font-weight: 400; color: var(--rd-muted); font-size: 14px; }

.rd-checks {
    border: 0;
    padding: 0;
    margin: 4px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rd-checks legend {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 8px;
    padding: 0;
}

.rd-form .rd-checks label {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    background: #fff;
    border: 1.5px solid #D9D2BE;
    border-radius: 999px;
    padding: 8px 16px 8px 12px;
    cursor: pointer;
}

.rd-form .rd-checks input {
    width: 18px;
    height: 18px;
    padding: 0;
    accent-color: var(--rd-green);
}

.rd-form .rd-checks label:has(input:checked) {
    border-color: var(--rd-green);
    background: var(--rd-green-soft);
}

.rd-quote-link { margin-top: 10px; font-weight: 700; }
.rd-quote-link a { color: var(--rd-green); }

.rd-msg {
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 700;
}

.rd-msg.is-ok { background: #DDEFD3; color: #1F4A12; }
.rd-msg.is-err { background: #F8DAD7; color: #7A1E16; }

/* ---------- Play Learn Grow band + footer ---------- */
.rd-band {
    position: relative;
    background: var(--rd-green);
    color: #fff;
    text-align: center;
    padding: 18px 16px 30px;
    margin-top: 40px;
}

.rd-band-wave {
    position: absolute;
    left: 0;
    bottom: 100%;
    width: 100%;
    height: 40px;
    color: var(--rd-green);
}

.rd-band p {
    font-family: 'Caveat', cursive;
    font-size: clamp(36px, 5vw, 54px);
    line-height: 1.1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.rd-band p::before,
.rd-band p::after {
    content: "";
    width: 80px;
    height: 2px;
    background: rgba(255, 255, 255, 0.7);
}

.rd-band span { font-family: 'Nunito', sans-serif; font-size: 0.5em; }

.rd footer {
    background: var(--rd-green-dark);
    font-size: 15px;
}

.rd .footer-credit { border-top-color: rgba(255, 255, 255, 0.15); }
.rd .footer-credit a { color: var(--rd-yellow); }
.rd .footer-credit span { color: rgba(255, 255, 255, 0.65); }

.rd .mobile-phone-bar { background: var(--rd-green); }

/* ---------- Book Tour picker ---------- */
.rd-tour {
    border: none;
    border-radius: var(--rd-radius);
    padding: 32px 28px 28px;
    margin: auto;
    width: min(440px, calc(100vw - 32px));
    background: var(--rd-cream);
    color: var(--rd-ink);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    font-family: 'Nunito', system-ui, sans-serif;
}

.rd-tour::backdrop { background: rgba(31, 74, 18, 0.55); }

.rd-tour h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: 26px;
    line-height: 1.2;
    color: var(--rd-green);
    margin-bottom: 6px;
}

.rd-tour p { margin-bottom: 20px; }

.rd-tour-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 30px;
    line-height: 1;
    color: var(--rd-muted);
    cursor: pointer;
    padding: 4px 8px;
}

.rd-tour-options {
    display: grid;
    gap: 10px;
}

.rd-tour-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    color: var(--rd-green);
    font-size: 19px;
    font-weight: 800;
    text-decoration: none;
    padding: 14px;
    border-radius: 999px;
    border: 2px solid var(--rd-green);
    transition: background 0.2s, color 0.2s;
}

.rd-tour-option:hover {
    background: var(--rd-green);
    color: #fff;
}

/* ---------- Book Tour: Calendly modal ---------- */
.rd-booking {
    border: none;
    border-radius: var(--rd-radius);
    padding: 0;
    margin: auto;
    /* Calendly switches to its two-column layout from about 1150px wide */
    width: min(1200px, calc(100vw - 48px));
    height: min(820px, calc(100vh - 48px));
    max-width: none;
    max-height: none;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    font-family: 'Nunito', system-ui, sans-serif;
}

.rd-booking[open] {
    display: flex;
    flex-direction: column;
}

.rd-booking::backdrop { background: rgba(31, 74, 18, 0.55); }

.rd-booking-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px 14px 28px;
    background: var(--rd-green);
    color: #fff;
}

.rd-booking-head h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 1.2;
    margin: 0;
}

.rd-booking-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    padding: 2px 10px;
    border-radius: 999px;
}

.rd-booking-close:hover { background: rgba(255, 255, 255, 0.15); }

.rd-booking-body {
    flex: 1;
    min-height: 0;
    position: relative;
}

.rd-booking-body iframe { display: block; position: relative; z-index: 1; }

/* Sits behind the (transparent until painted) Calendly frame */
.rd-booking-loading {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    margin: 0;
    font-weight: 700;
    color: var(--rd-green);
}
.rd-booking-body:not(.is-loading) .rd-booking-loading { display: none; }

/* Preloading: open but invisible, behind the page, not clickable */
.rd-booking.is-warming {
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0;
    pointer-events: none;
}

html.rd-modal-open { overflow: hidden; }

@media (max-width: 640px) {
    .rd-booking {
        width: 100vw;
        height: 100dvh;
        border-radius: 0;
    }
    .rd-booking-head { padding-left: 18px; }
    .rd-booking-head h2 { font-size: 20px; }
}

/* ==========================================================
   Location pages
   ========================================================== */
.rd-section { padding: 72px 0; }
.rd-section-white { background: #fff; }

.rd-btn-lg { font-size: 19px; padding: 13px 28px; }

.rd-btn-ghost {
    background: transparent;
    color: var(--rd-green);
    box-shadow: inset 0 0 0 2px var(--rd-green);
}

.rd-btn-ghost:hover { background: var(--rd-green); color: #fff; }

.rd-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.rd-contact-list {
    list-style: none;
    display: grid;
    gap: 10px;
    margin-top: 22px;
    font-weight: 700;
}

.rd-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.rd-contact-list .rd-icon {
    flex: none;
    color: var(--rd-green);
    margin-top: 1px;
}

.rd-contact-list a {
    color: var(--rd-ink);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.rd-contact-list a:hover { color: var(--rd-green); text-decoration: underline; }

.rd-loc-hero h1 { font-size: clamp(34px, 4vw, 50px); }
.rd-loc-hero .rd-lede { max-width: 44ch; font-size: 18px; }

/* Facts strip reuses the values strip */
.rd-facts .rd-icon { width: 44px; height: 44px; flex: none; color: var(--rd-green); }
.rd-facts span { max-width: none; font-weight: 600; font-size: 14px; color: var(--rd-muted); }
.rd-facts strong { display: block; font-size: 17px; font-weight: 800; color: var(--rd-ink); }

/* Sessions */
.rd-sessions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.rd-sessions-2 { grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; }

.rd-session {
    background: #fff;
    border-radius: var(--rd-radius);
    box-shadow: var(--rd-shadow);
    padding: 30px 24px;
    text-align: center;
}

.rd-session-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--rd-green-soft);
    color: var(--rd-green);
    margin-bottom: 14px;
}

.rd-session h3 {
    font-size: 21px;
    font-weight: 800;
    color: var(--rd-green);
    margin-bottom: 6px;
}

.rd-session-time { font-size: 26px; font-weight: 800; }
.rd-session-ask { font-size: 19px; }
.rd-session-ask a { color: var(--rd-ink); }
.rd-session-when { color: var(--rd-muted); font-weight: 600; }

.rd-session-ages {
    display: inline-block;
    margin-top: 14px;
    background: var(--rd-cream-2);
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
}

.rd-note {
    text-align: center;
    color: var(--rd-muted);
    margin-top: 26px;
    font-size: 15px;
}

/* Gallery */
.rd-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.rd-gallery img,
.rd-gallery .rd-ph {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--rd-radius);
}

/* Facilities */
.rd-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.rd-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    border: 1px solid rgba(47, 74, 18, 0.08);
}

.rd-feature-icon {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--rd-green-soft);
    color: var(--rd-green);
}

.rd-feature h3 { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.rd-feature p { font-size: 15px; color: var(--rd-muted); }

/* Book a tour */
.rd-tour-section {
    background:
        radial-gradient(800px 400px at 0% 100%, #FFF3D1 0%, transparent 60%),
        var(--rd-cream);
}

.rd-tour-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 48px;
    align-items: start;
}

.rd-tour-info h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: clamp(32px, 4vw, 46px);
    color: var(--rd-green);
    line-height: 1.1;
    margin-bottom: 12px;
}

.rd-tour-info p { font-size: 17px; }

.rd-tour-embed {
    background: #fff;
    border-radius: var(--rd-radius);
    box-shadow: var(--rd-shadow);
    overflow: hidden;
}

.rd-tour-fallback {
    text-align: center;
    padding: 48px 28px;
    color: var(--rd-ink);
}

.rd-tour-fallback > .rd-icon { color: var(--rd-green); margin-bottom: 10px; }
.rd-tour-fallback h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.rd-tour-fallback p { color: var(--rd-muted); max-width: 40ch; margin: 0 auto; }
.rd-tour-fallback .rd-actions { justify-content: center; }

/* Map */
.rd-map {
    border-radius: var(--rd-radius);
    overflow: hidden;
    box-shadow: var(--rd-shadow);
    background: #fff;
}

.rd-map iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
}

.rd-map-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 18px 24px;
}

.rd-map-bar p {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.rd-map-bar .rd-icon { color: var(--rd-green); flex: none; }

/* ---------- Location page sections (Cowbridge mockup) ---------- */
.rd { --rd-coral: #E2725B; }

.rd-section-green { background: var(--rd-green-soft); }

.rd-h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: clamp(30px, 3.6vw, 42px);
    line-height: 1.15;
    color: var(--rd-green);
    margin-bottom: 18px;
}

/* Eyebrow sitting inside the h1, so the h1 still names the nursery */
h1 > .rd-eyebrow { display: block; }

/* Centred intro blocks */
.rd-intro {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    font-size: 18px;
}

.rd-intro p + p { margin-top: 14px; }
.rd-intro-head { margin-bottom: 48px; }

/* Room / outdoor rows: photo one side, words the other */
.rd-unit {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: start; /* photo stays put when "Read more" opens */
}

/* Desktop: the photo stays in view while the longer text scrolls past */
@media (min-width: 1001px) {
    .rd-unit-media { position: sticky; top: 90px; }
}

.rd-unit + .rd-unit { margin-top: 64px; }
.rd-unit-flip .rd-unit-media { order: 2; }

.rd-unit-media img,
.rd-unit-media video,
.rd-unit-media .rd-ph {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--rd-radius);
    box-shadow: var(--rd-shadow);
    background: #e9e4d6;
}

/* Portrait reel (e.g. Bridgend outdoor): keep it upright, not too tall */
.rd-unit-media-tall video {
    aspect-ratio: 3 / 4;
    max-width: 420px;
    margin: 0 auto;
}

.rd-wrap-note { margin-top: 14px; }
.rd-reviews-cta { justify-content: center; margin-top: 22px; }
.rd-reviews-share { text-align: center; margin-top: 28px; font-size: 17px; }
.rd-reviews-share a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.rd-unit-body { font-size: 17px; }
.rd-unit-body p + p { margin-top: 12px; }

.rd-unit-body h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: clamp(28px, 3vw, 36px);
    color: var(--rd-ink);
    margin: 10px 0 14px;
}

.rd-pill {
    display: inline-block;
    background: var(--rd-green-soft);
    color: var(--rd-green);
    font-weight: 800;
    font-size: 14px;
    padding: 5px 14px;
    border-radius: 999px;
}

.rd-section-green .rd-pill { background: #fff; }

.rd-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.rd-tags li {
    background: #fff;
    border: 1px solid rgba(47, 74, 18, 0.15);
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 15px;
    font-weight: 600;
}

/* Session times */
.rd-times {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 920px;
    margin: 0 auto;
}

.rd-time {
    background: var(--rd-cream);
    border-radius: 18px;
    padding: 26px 28px 24px;
    border-top: 8px solid var(--rd-green);
}

.rd-time:nth-child(even) { border-top-color: var(--rd-coral); }

.rd-time h3 {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--rd-green);
    margin-bottom: 6px;
}

.rd-time p { font-size: 26px; font-weight: 800; }

.rd-sub {
    max-width: 920px;
    margin: 48px auto 16px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--rd-green);
}

.rd-rows {
    list-style: none;
    display: grid;
    gap: 12px;
    max-width: 920px;
    margin: 0 auto;
}

.rd-rows li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--rd-cream);
    border-radius: 16px;
    padding: 18px 24px;
    font-size: 17px;
}

.rd-rows li span { color: var(--rd-green); font-weight: 800; white-space: nowrap; }

/* Schools we serve */
.rd-schools-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 48px;
    align-items: start;
}

.rd-schools-intro { font-size: 17px; margin-bottom: 24px; color: var(--rd-muted); }

.rd-schools li {
    justify-content: flex-start;
    background: #fff;
}

.rd-schools .rd-icon { color: var(--rd-green); flex: none; }

.rd-callout {
    background: var(--rd-green-soft);
    border-radius: var(--rd-radius);
    padding: 32px 30px;
    font-size: 17px;
}

.rd-callout h3 {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--rd-green);
    margin-bottom: 10px;
}

.rd-callout .rd-actions { margin-top: 20px; }
.rd-callout-note { margin-top: 20px; font-size: 14px; color: var(--rd-muted); }

/* One-line summary under a room heading */
.rd-tagline {
    font-style: italic;
    font-weight: 700;
    font-size: 18px;
    color: var(--rd-green);
    margin-bottom: 12px;
}

/* "Read more" for Amy's longer descriptions */
.rd-more { margin-top: 12px; }
.rd-more p { margin-top: 12px; }

.rd-more summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    list-style: none;
    font-weight: 800;
    color: var(--rd-green);
    padding: 4px 0;
}

.rd-more summary::-webkit-details-marker { display: none; }
.rd-more summary::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2.5px solid currentColor;
    border-bottom: 2.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.2s;
}
.rd-more[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.rd-more summary:hover { text-decoration: underline; }
.rd-more-close,
.rd-more[open] > summary .rd-more-open { display: none; }
.rd-more[open] > summary .rd-more-close { display: inline; }

/* Bridgend: register interest for another school */
.rd-schools-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 20px;
    padding: 18px 24px;
    border: 2px dashed rgba(47, 74, 18, 0.25);
    border-radius: 16px;
    font-weight: 700;
}

.rd-schools-note p { flex: 1 1 260px; }

/* What our parents say */
.rd-quotes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.rd-quote {
    position: relative;
    background: #fff;
    border-radius: var(--rd-radius);
    padding: 44px 28px 26px;
    box-shadow: 0 6px 18px rgba(47, 74, 18, 0.08);
    display: flex;
    flex-direction: column;
}

.rd-quote::before {
    content: "\201C";
    position: absolute;
    top: 4px;
    left: 22px;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 72px;
    line-height: 1;
    color: var(--rd-yellow);
}

.rd-quote blockquote {
    flex: 1;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 19px;
    line-height: 1.5;
}

.rd-quote figcaption {
    margin-top: 16px;
    font-size: 14px;
    font-weight: 800;
    color: var(--rd-green);
}

.rd-more-reviews { text-align: center; margin-top: 28px; }

.rd-review-list {
    columns: 2;
    column-gap: 20px;
    margin-top: 20px;
    text-align: left;
}

.rd-review-list blockquote {
    break-inside: avoid;
    background: #fff;
    border-radius: 18px;
    padding: 20px 22px;
    margin-bottom: 20px;
    font-size: 16px;
}

.rd-review-list blockquote p { margin: 0; }

/* Funded childcare */
.rd-funded {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    max-width: 920px;
    margin: 0 auto;
    background: var(--rd-cream);
    border-radius: var(--rd-radius);
    padding: 36px 40px;
    font-size: 17px;
}

.rd-funded-icon {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--rd-yellow);
    color: var(--rd-green-dark);
}

.rd-funded h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: clamp(24px, 2.6vw, 30px);
    color: var(--rd-green);
    line-height: 1.2;
    margin-bottom: 14px;
}

.rd-funded p + p { margin-top: 10px; }

/* Other nurseries */
.rd-others { padding-bottom: 96px; }
.rd-others .rd-other { background: #fff; }
.rd-others .rd-section-head { margin-bottom: 28px; }

.rd-other-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 420px));
    justify-content: center;
    gap: 20px;
}

.rd-other {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    background: var(--rd-cream);
    border-radius: 18px;
    color: var(--rd-ink);
    text-decoration: none;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.rd-other:hover { border-color: var(--rd-green); }
.rd-other > .rd-icon { color: var(--rd-green); flex: none; }
.rd-other strong { display: block; font-size: 20px; font-weight: 800; color: var(--rd-green); }
.rd-other span:not(.rd-arrow) { flex: 1; font-size: 15px; }
.rd-other .rd-arrow { font-size: 22px; color: var(--rd-green); }
.rd-other:hover .rd-arrow { transform: translateX(4px); }

/* ==========================================================
   Content pages (About, Fees, Policies, Our Care, 404).
   These still use the original markup from styles.css; mapping
   its colour variables to the new palette re-themes most of it.
   ========================================================== */
.rd {
    --primary: var(--rd-green);
    --secondary: var(--rd-yellow);
    --accent: var(--rd-yellow);
    --dark: var(--rd-ink);
    --light: #fff;
}

.rd .page-hero {
    background:
        radial-gradient(900px 300px at 50% 0%, #FFF3D1 0%, transparent 70%),
        var(--rd-cream);
    color: var(--rd-green);
    padding: 56px 0 40px;
}

.rd .page-hero h1 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.1;
}

.rd .page-hero h1::after {
    content: "";
    display: block;
    width: 180px;
    height: 12px;
    margin: 14px auto 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 12'%3E%3Cpath d='M3 8c60-6 150-7 214-2' fill='none' stroke='%23F6C324' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.rd .page-content {
    max-width: 1000px;
    padding: 24px 24px 80px;
    font-size: 17px;
}

.rd .page-content h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.15;
    margin: 48px 0 18px;
}

.rd .page-content > :first-child h2:first-child,
.rd .page-content > h2:first-child { margin-top: 16px; }

.rd .page-content h3 { color: var(--rd-green); }

.rd .page-content p a,
.rd .page-content li a,
.rd .page-content td a { color: var(--rd-green); font-weight: 700; }

/* Cards: white on the cream page, soft border */
.rd .intro-box,
.rd .info-card,
.rd .faq-item,
.rd .discount-card,
.rd .voucher-card,
.rd .meal-item,
.rd .cta-box,
.rd .info-list li,
.rd .activity-list li {
    background: #fff;
    box-shadow: 0 2px 12px rgba(47, 74, 18, 0.06);
}

.rd .intro-box,
.rd .info-card,
.rd .discount-card,
.rd .voucher-card,
.rd .meal-item,
.rd .cta-box { border-radius: var(--rd-radius); }

.rd .value-card {
    background: #fff;
    border-radius: var(--rd-radius);
    box-shadow: var(--rd-shadow);
}

.rd .value-card h3 { color: var(--rd-green); margin-bottom: 8px; }
.rd .value-card:hover { transform: translateY(-4px); }

.rd .values-list > h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: 26px;
}

.rd .rd-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--rd-green-soft);
    color: var(--rd-green);
    margin: 0 auto 14px;
}

.rd .value-card h3 { font-size: 20px; }
.rd .policy-link .icon { display: inline-flex; color: var(--rd-green); }

.rd .founder-img { border-radius: var(--rd-radius); box-shadow: var(--rd-shadow); }

.rd .vouchers-box { background: var(--rd-green); }

.rd .ratio-item { border-radius: var(--rd-radius); }

/* About page */
.rd .rd-page-tagline {
    font-family: 'Caveat', cursive;
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.2;
    color: var(--rd-ink);
    margin-top: 14px;
}

.rd-about { max-width: 900px; }

.rd-about-intro {
    font-size: 19px;
    text-align: center;
    max-width: 62ch;
    margin: 8px auto 0;
}

.rd-about-intro p + p,
.rd-story-text p + p,
.rd-story-more p + p { margin-top: 14px; }

.rd .rd-about h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
}

.rd-story {
    display: grid;
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.rd-story-photo { margin: 0; position: sticky; top: 120px; }

.rd-story-photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--rd-radius);
    box-shadow: var(--rd-shadow);
}

.rd-story-photo figcaption {
    text-align: center;
    font-weight: 700;
    color: var(--rd-green);
    margin-top: 10px;
}

.rd-story-more { margin-top: 36px; }

.rd-story-close {
    font-weight: 700;
    color: var(--rd-green);
}

.rd-about-cta {
    margin-top: 56px;
    background: #fff;
    border-radius: var(--rd-radius);
    box-shadow: var(--rd-shadow);
    padding: 40px 32px;
    text-align: center;
}

.rd .rd-about-cta h2 { margin-top: 0; }
.rd-about-cta p { max-width: 56ch; margin: 0 auto 24px; }
.rd-about-cta .rd-btn { display: inline-flex; align-items: center; gap: 10px; }

@media (max-width: 760px) {
    .rd-story { grid-template-columns: 1fr; gap: 24px; }
    .rd-story-photo { position: static; max-width: 260px; margin: 0 auto; }
    .rd-about-intro { font-size: 17px; }
    .rd-about-cta { padding: 32px 20px; }
}

/* Footer links (pages that aren't in the main nav) */
.rd .footer-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
    margin-bottom: 18px;
}

.rd .footer-links a { color: #fff; text-decoration: none; font-weight: 700; }
.rd .footer-links a:hover { color: var(--rd-yellow); text-decoration: underline; }

/* Tables */
.rd .fees-table,
.rd .routine-table {
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(47, 74, 18, 0.08);
}

.rd .fees-table th,
.rd .routine-table th { background: var(--rd-green); }

.rd .fees-table td,
.rd .routine-table td { border-bottom-color: var(--rd-green-soft); }

.rd .fees-table tr:last-child td,
.rd .routine-table tr:last-child td { border-bottom: none; }

.rd .fees-table tr:nth-child(even),
.rd .routine-table tr:nth-child(even) { background: #FCFAF3; }

.rd .fees-table tr:hover,
.rd .routine-table tr:hover { background: var(--rd-green-soft); }

/* Buttons from the old stylesheet */
.rd .btn-primary { background: var(--rd-green); color: #fff; }
.rd .btn-primary:hover { background: var(--rd-green-dark); opacity: 1; transform: none; }
.rd .btn-outline { border-color: var(--rd-green); color: var(--rd-green); }
.rd .btn-outline:hover { background: var(--rd-green); color: #fff; }
.rd .text-link { color: var(--rd-green); font-weight: 700; }

/* Policies */
.rd .policy-link { border-radius: 14px; }
.rd .policies-search input { border-color: #D9D2BE; background: #fff; }

@media (max-width: 768px) {
    .rd .fees-table,
    .rd .routine-table { display: block; overflow-x: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
    .rd-topbar-leaf,
    .rd-head-leaf { display: none; }

    .rd-hero-grid { grid-template-columns: 1fr; gap: 28px; }
    .rd-lede { max-width: none; }

    .rd-values-list { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
    .rd-values-list li { justify-content: flex-start; }
    .rd-values-list li + li { border-left: none; }

    .rd-cards { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
    .rd-contact-grid { grid-template-columns: 1fr; gap: 32px; }

    .rd-sessions, .rd-sessions-2 { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .rd-features { grid-template-columns: repeat(2, 1fr); }
    .rd-unit { grid-template-columns: 1fr; gap: 28px; max-width: 640px; margin-left: auto; margin-right: auto; }
    .rd-unit-flip .rd-unit-media { order: 0; }
    .rd-unit + .rd-unit { margin-top: 56px; }
    .rd-schools-grid { grid-template-columns: 1fr; gap: 32px; }
    .rd-quotes { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
    .rd-review-list { columns: 1; }
    .rd-tour-grid { grid-template-columns: 1fr; gap: 28px; }
    .rd-other-cards { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .rd-wrap { padding: 0 16px; }

    .rd-topbar-icon { display: none; }
    .rd-topbar-main { font-size: 16px; }
    .rd-topbar-sub { font-size: 12px; }

    .rd-hero { padding: 28px 0 32px; }
    .rd-hero-brand { width: min(100%, 300px); }
    .rd-heart { width: 40px; height: 37px; top: -44px; }
    .rd-spark { display: none; }
    .rd-welcome { font-size: 18px; margin-bottom: 32px; }
    .rd-lede { font-size: 17px; }

    .rd-hero-video,
    .rd-ph-hero { border-radius: 22px; aspect-ratio: 4 / 3; }

    .rd-book {
        display: flex;
        justify-content: center;
        margin-top: 20px;
        font-size: 20px;
    }

    .rd-values-list li { padding: 4px; gap: 10px; font-size: 14.5px; }
    .rd-values-list svg { width: 38px; height: 38px; }

    .rd-nurseries { padding: 48px 0 56px; }
    .rd-form { grid-template-columns: 1fr; padding: 20px; }

    .rd-section { padding: 52px 0; }
    .rd-actions .rd-btn { flex: 1 1 auto; }
    .rd-facts li { align-items: flex-start; }
    .rd-facts .rd-icon { width: 34px; height: 34px; }
    .rd-facts strong { font-size: 15px; }
    .rd-facts span { font-size: 13px; }
    .rd-features { grid-template-columns: 1fr; }
    .rd-intro, .rd-unit-body, .rd-funded { font-size: 16px; }
    .rd-intro-head { margin-bottom: 32px; }
    .rd-times { grid-template-columns: 1fr; gap: 14px; }
    .rd-time { padding: 20px 22px; }
    .rd-time p { font-size: 22px; }
    .rd-rows li { padding: 14px 18px; font-size: 16px; }
    .rd-rows li span { font-size: 15px; }
    .rd-callout { padding: 24px 20px; }
    .rd-funded { flex-direction: column; padding: 26px 20px; gap: 14px; }
    .rd-tagline { font-size: 17px; }
    .rd-quote blockquote { font-size: 17px; }
    .rd-schools-note { padding: 16px; }
    .rd-schools-note .rd-btn { width: 100%; }
    .rd-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
    .rd-gallery > :first-child { grid-column: 1 / -1; }
    .rd-map iframe { height: 300px; }
    .rd-map-bar { padding: 16px; }
    .rd-map-bar .rd-btn { width: 100%; }

    .rd-band p::before,
    .rd-band p::after { width: 28px; }
    .rd-band p { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    .rd *, .rd *::before, .rd *::after { transition: none !important; }
}


/* ---------- Slim menu bar + mockup Book Tour button, site-wide ---------- */
.rd header { padding: 0; }
.rd header nav { padding: 6px 0; }
.rd header .logo img { height: 50px; }
.rd .nav-links .btn-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 16px 5px 12px;
    border: 3px solid var(--rd-yellow);
    box-shadow: 0 4px 12px rgba(31, 74, 18, 0.25);
    font-size: 16px;
    font-weight: 800;
}
.rd .nav-links .btn-nav:hover { background: var(--rd-green-dark); opacity: 1; }

/* ---------- Quote form on the nursery pages ---------- */
.rd-quote-wrap { max-width: 880px; }
.rd-quote-head { text-align: center; margin-bottom: 28px; }
.rd-quote-head p:last-child { max-width: 62ch; margin: 0 auto; }


/* ---------- Big logo + Book Tour row under the nav (non-hero pages) ---------- */
.rd-big .rd-brandrow { display: none; }
.rd-brandrow { padding: 18px 0 6px; }
.rd-brandrow-in {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.rd-brandrow-logo { width: min(100%, 260px); margin: 0; }
.rd-brandrow .rd-book { margin-top: 10px; }

@media (min-width: 1001px) {
    .rd-brandrow { padding: 20px 0 0; }
    .rd-brandrow-in {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
    .rd-brandrow-logo { width: 300px; margin-left: 36px; }
    .rd-brandrow .rd-book {
        margin: 0;
        font-size: 26px;
        gap: 10px;
        padding: 6px 22px 6px 16px;
    }
}

@media (min-width: 1001px) and (max-width: 1240px) {
    .rd-brandrow .rd-book { font-size: 22px; padding: 5px 18px 5px 14px; }
}
