/* ==========================================================================
   Eagle Wings Lighthouse Academy — Stylesheet
   Brand palette: Deep Navy #062043 · Royal Gold #C68F34 · Light Gold #E4C07C
                  Cool Gray #8E9AA9 · Soft Gray #D9D5CB · White #FFFFFF
   Mobile-first. No gradients. Solid colours only.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
    --navy: #062043;
    --navy-700: #0a2a55;
    --navy-800: #041a38;
    --gold: #C68F34;
    --gold-600: #b07f2a;
    --gold-light: #E4C07C;
    --gray-cool: #8E9AA9;
    --gray-soft: #D9D5CB;
    --gray-50: #f4f3ef;
    --white: #FFFFFF;
    --ink: #0f1c2e;
    --ink-muted: #54627a;

    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    --container: 1180px;
    --gutter: 1.25rem;
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 2px rgba(6, 32, 67, 0.06), 0 1px 3px rgba(6, 32, 67, 0.08);
    --shadow: 0 6px 18px rgba(6, 32, 67, 0.08), 0 2px 6px rgba(6, 32, 67, 0.06);
    --shadow-lg: 0 18px 40px rgba(6, 32, 67, 0.14), 0 6px 14px rgba(6, 32, 67, 0.08);
    --transition: 200ms cubic-bezier(0.2, 0.7, 0.2, 1);
    --header-h: 60px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--gold-600); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.18; color: var(--navy); margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 2px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.text-gold { color: var(--gold); }
.text-muted { color: var(--ink-muted); }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--soft { background: var(--gray-50); }
.section--center { text-align: center; padding-block: clamp(4rem, 10vw, 7rem); }
.section__head { max-width: 720px; margin: 0 auto clamp(2rem, 5vw, 3rem); text-align: center; }
.section__title { margin-bottom: 0.6rem; }
.section__sub { color: var(--ink-muted); font-size: 1.05rem; }
.section__two { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.section__cta { text-align: center; margin-top: clamp(2rem, 5vw, 3rem); }
.section__two--admissions,
.section__two--contact { grid-template-columns: 1fr; }

.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-600);
    margin: 0 0 0.75rem;
}
.eyebrow--light { color: var(--gold-light); }
.prose { max-width: 60ch; }
.prose p { font-size: 1.05rem; }

/* ---------- Skip link ---------- */
.skip-link {
    position: absolute;
    left: 0; top: -100px;
    background: var(--navy);
    color: var(--white);
    padding: 0.7rem 1rem;
    z-index: 1000;
    transition: top var(--transition);
    text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ==========================================================================
   SITE HEADER — unified sticky header with nav + mobile menu
   ========================================================================== */
.site-header {
    position: sticky; top: 0; z-index: 200;
    background: var(--white);
    box-shadow: 0 1px 0 rgba(6,32,67,0.04);
    transition: box-shadow var(--transition);
}
.site-header.is-scrolled { box-shadow: 0 2px 12px rgba(6,32,67,0.08); }
.site-header__bar { border-bottom: 3px solid var(--gold); }
.site-header__row {
    display: flex; align-items: center; justify-content: space-between;
    gap: 0.75rem; height: 56px;
}

/* Logo */
.site-logo {
    display: inline-flex; align-items: center;
    text-decoration: none; height: 100%; flex: 0 1 auto; min-width: 0;
}
.site-logo img {
    height: 40px; width: auto; max-width: 100%;
    object-fit: contain; display: block;
}

/* Desktop nav — hidden on mobile, shown at 840px */
.site-nav {
    display: none;
    align-items: center; gap: 0.15rem;
}
.site-nav__link {
    display: inline-block;
    padding: 0.5rem 0.75rem;
    color: var(--navy); text-decoration: none;
    font-weight: 500; font-size: 0.92rem;
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
}
.site-nav__link:hover { color: var(--gold-600); background: rgba(198,143,52,0.06); }
.site-nav__link.is-active { color: var(--gold-600); font-weight: 600; }
.site-nav__cta {
    display: inline-flex; align-items: center;
    margin-left: 0.5rem; padding: 0.5rem 1.1rem;
    background: var(--gold); color: var(--white);
    text-decoration: none; font-weight: 600; font-size: 0.9rem;
    border-radius: var(--radius-sm);
    transition: background var(--transition), transform var(--transition);
}
.site-nav__cta:hover { background: var(--gold-600); color: var(--white); transform: translateY(-1px); }

/* Mobile menu button (hamburger) — shown on mobile, hidden at 840px */
.menu-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; padding: 0;
    background: transparent; border: none; cursor: pointer;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}
.menu-btn:hover { background: var(--gray-50); }
.menu-btn__lines, .menu-btn__lines::before, .menu-btn__lines::after {
    display: block; width: 22px; height: 2px;
    background: var(--navy); border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}
.menu-btn__lines { position: relative; }
.menu-btn__lines::before, .menu-btn__lines::after {
    content: ""; position: absolute; left: 0;
}
.menu-btn__lines::before { top: -6px; }
.menu-btn__lines::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-btn__lines { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__lines::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__lines::after { top: 0; transform: rotate(-45deg); }

/* Mobile contact strip — below header bar, only on mobile */
.mobile-contact {
    display: flex; justify-content: center; gap: 0;
    background: var(--navy-800);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-contact__item {
    flex: 1; display: inline-flex; align-items: center; justify-content: center;
    gap: 0.4rem; padding: 0.55rem 0.5rem;
    color: var(--gray-soft); text-decoration: none;
    font-size: 0.78rem; font-weight: 500;
    transition: color var(--transition), background var(--transition);
    border-right: 1px solid rgba(255,255,255,0.06);
}
.mobile-contact__item:last-child { border-right: none; }
.mobile-contact__item:hover { color: var(--gold-light); background: rgba(255,255,255,0.04); }
.mobile-contact__item svg { flex: none; }

/* Mobile menu panel — slides down from header when open */
@media (max-width: 839px) {
    .site-nav {
        display: flex; flex-direction: column; align-items: stretch;
        position: fixed; top: 56px; left: 0; right: 0;
        background: var(--white);
        max-height: 0; overflow: hidden;
        transition: max-height 320ms cubic-bezier(0.2,0.7,0.2,1);
        z-index: 199;
        box-shadow: 0 8px 24px rgba(6,32,67,0.12);
    }
    .site-nav.is-open { max-height: 90vh; overflow-y: auto; -webkit-overflow-scrolling: touch; }
    .site-nav__link {
        display: block; padding: 0.9rem 1.25rem;
        font-size: 1rem; border-radius: 0;
        border-bottom: 1px solid var(--gray-50);
    }
    .site-nav__link:hover { background: var(--gray-50); }
    .site-nav__link.is-active { background: rgba(198,143,52,0.06); border-left: 3px solid var(--gold); padding-left: calc(1.25rem - 3px); }
    .site-nav__cta {
        margin: 0.75rem 1.25rem 1.25rem; padding: 0.85rem;
        text-align: center; justify-content: center;
        border-radius: var(--radius); font-size: 1rem;
    }
}

/* Menu overlay (dimmed background when mobile menu is open) */
.menu-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(6,32,67,0.4); z-index: 198;
    opacity: 0; transition: opacity var(--transition);
}
.menu-overlay.is-active { display: block; opacity: 1; }

/* Desktop header height */
@media (min-width: 840px) {
    .site-header__row { height: 72px; }
    .site-logo img { height: 48px; }
    .site-nav { display: flex; }
    .menu-btn { display: none; }
    .mobile-contact { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.7rem 1.25rem; border-radius: var(--radius-sm);
    font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
    text-decoration: none; border: 2px solid transparent;
    transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
    line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 0.5rem 0.9rem; font-size: 0.85rem; }
.btn--lg { padding: 0.9rem 1.6rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--gold { background: var(--gold); color: var(--white); }
.btn--gold:hover { background: var(--gold-600); color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-700); color: var(--white); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); color: var(--white); border-color: var(--white); }
.btn--outline-gold { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn--outline-gold:hover { background: var(--gold); color: var(--white); }
.btn--outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline-navy:hover { background: var(--navy); color: var(--white); }

.link-arrow { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--gold-600); font-weight: 600; text-decoration: none; }
.link-arrow:hover { color: var(--navy); }
.link-arrow svg { transition: transform var(--transition); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; }
.hero__bg {
    position: absolute; inset: 0;
    background-image: url("/static/images/07-eaglewings-students-walking-with-books-modern-campus.jpg");
    background-size: cover;
    background-position: center;
    opacity: 0.18;
    pointer-events: none;
}
.hero__overlay {
    position: absolute; inset: 0;
    background: var(--navy);
    opacity: 0.82;
    pointer-events: none;
}
.hero__pattern {
    position: absolute; inset: 0;
    background-color: transparent;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'><circle cx='1' cy='1' r='1' fill='%23E4C07C' fill-opacity='0.18'/></svg>");
    background-size: 22px 22px;
    opacity: 0.7;
    pointer-events: none;
}
.hero__inner {
    position: relative;
    display: grid; gap: clamp(2.5rem, 6vw, 4rem);
    padding-block: clamp(2.75rem, 8vw, 5.5rem);
    align-items: center;
}
.hero__eyebrow { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-light); margin: 0 0 1.1rem; font-weight: 600; }
.hero__eyebrow-dot { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; }
.hero__title { color: var(--white); margin-bottom: 1.1rem; }
.hero__lead { font-size: clamp(1.05rem, 2.4vw, 1.25rem); color: rgba(255,255,255,0.88); max-width: 56ch; margin-bottom: 1.8rem; }
.hero__lead strong { color: var(--gold-light); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 2.2rem; }
.hero__stats { list-style: none; margin: 0; padding: 1.5rem 0 0; border-top: 1px solid rgba(255,255,255,0.18); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stat-num { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: var(--gold-light); }
.hero__stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.7); }

.hero__card {
    background: var(--navy-700);
    border: 1px solid rgba(198,143,52,0.35);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.hero__card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.hero__card-badge { background: var(--gold); color: var(--white); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.35rem 0.7rem; border-radius: 999px; }
.hero__card-year { color: var(--gold-light); font-weight: 600; }
.hero__card-crest { display: flex; justify-content: center; margin-bottom: 1rem; }
.hero__card-crest .brand__plate {
    display: inline-block;
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.85rem;
    line-height: 0;
}
.hero__card-crest .brand__logo {
    display: block; height: auto; max-height: 56px; width: auto; max-width: 100%;
}
.hero__card-name { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--white); margin: 0 0 0.4rem; line-height: 1.25; }
.hero__card-motto { color: var(--gold-light); font-style: italic; margin: 0 0 1.4rem; }
.hero__card-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 0.6rem; font-size: 0.78rem; color: rgba(255,255,255,0.75); }

/* ---------- Quick info strip ---------- */
.strip { background: var(--white); border-bottom: 1px solid var(--gray-soft); }
.strip__inner { display: grid; gap: 1.25rem; padding-block: 1.5rem; grid-template-columns: 1fr; }
.strip__item { display: flex; align-items: flex-start; gap: 0.75rem; }
.strip__item .icon--gold { width: 24px; height: 24px; margin-top: 2px; }
.strip__title { font-weight: 700; color: var(--navy); margin: 0; font-size: 0.95rem; }
.strip__text { margin: 0; color: var(--ink-muted); font-size: 0.88rem; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 1.25rem; }
.cards--3 { grid-template-columns: 1fr; }
.cards--4 { grid-template-columns: 1fr; }
.card {
    background: var(--white);
    border: 1px solid var(--gray-soft);
    border-radius: var(--radius);
    padding: 1.6rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-light); }
.card__icon { width: 52px; height: 52px; border-radius: 12px; background: var(--navy); color: var(--gold-light); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.card__title { margin-bottom: 0.25rem; }
.card__sub { color: var(--gold-600); font-size: 0.85rem; font-weight: 600; margin: 0 0 0.6rem; letter-spacing: 0.02em; }
.card__text { color: var(--ink-muted); margin: 0; font-size: 0.96rem; }
.card--plain { background: var(--white); }
.card--plain .card__num { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; color: var(--gold); margin-bottom: 0.5rem; }
.card--quote .card__icon { background: var(--gold); color: var(--white); }

/* ---------- Feature card (quote / glance) ---------- */
.feature-card {
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(198,143,52,0.3);
}
.feature-card__head { margin-bottom: 1rem; }
.feature-card__tag { display: inline-block; background: rgba(198,143,52,0.18); color: var(--gold-light); border: 1px solid rgba(198,143,52,0.4); padding: 0.3rem 0.75rem; border-radius: 999px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.feature-card__quote { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.4; color: var(--white); margin: 0 0 1.5rem; font-style: italic; }
.feature-card__author { margin: 0; color: var(--gold-light); font-size: 0.95rem; }
.feature-card__author strong { color: var(--white); }

/* ---------- Glance list (about) ---------- */
.glance { margin: 0; display: grid; gap: 0.6rem; }
.glance__row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 0.75rem; padding-bottom: 0.6rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.glance__row:last-child { border-bottom: none; }
.glance__row dt { color: var(--gold-light); font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; }
.glance__row dd { margin: 0; color: var(--white); font-size: 0.95rem; }

/* ---------- Levels (programs) ---------- */
.levels { display: grid; gap: 1.5rem; }
.level {
    background: var(--white);
    border: 1px solid var(--gray-soft);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
    min-width: 0; /* allow grid item to shrink within its 1fr track */
}
.level:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.level__head { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.level__icon { width: 56px; height: 56px; border-radius: 12px; background: var(--navy); color: var(--gold-light); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.level__title { margin: 0; font-size: 1.3rem; } /* override global h2 clamp — sized for a card */
.level__tagline { margin: 0; color: var(--gold-600); font-weight: 600; font-size: 0.9rem; }
.level__head > div:not(.level__icon) { min-width: 0; } /* let the title block shrink/wrap */
.level__age { margin-left: auto; background: var(--gray-50); color: var(--ink-muted); font-size: 0.78rem; padding: 0.35rem 0.7rem; border-radius: 999px; border: 1px solid var(--gray-soft); flex: none; }
.level__desc { color: var(--ink-muted); margin-bottom: 1.1rem; }
.level__stages { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }

.chip { background: var(--gray-50); border: 1px solid var(--gray-soft); color: var(--navy); padding: 0.35rem 0.8rem; border-radius: 999px; font-size: 0.85rem; font-weight: 500; }

/* ---------- Steps (admissions) ---------- */
.steps { list-style: none; counter-reset: step; margin: 0 0 2rem; padding: 0; display: grid; gap: 1.25rem; }
.steps__item { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.steps__num { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--gold-light); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; flex: none; }
.steps__title { margin: 0.1rem 0 0.25rem; font-size: 1.1rem; }
.steps__text { margin: 0; color: var(--ink-muted); }

.callout { background: var(--gray-50); border: 1px solid var(--gray-soft); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 1.5rem; }
.callout__title { margin: 0 0 0.75rem; font-size: 1.1rem; }
.callout__list { margin: 0 0 0.75rem; padding-left: 1.1rem; }
.callout__list li { margin-bottom: 0.3rem; }
.callout__note { margin: 0; color: var(--ink-muted); font-size: 0.9rem; font-style: italic; }

/* ---------- Forms ---------- */
.form-card {
    background: var(--white);
    border: 1px solid var(--gray-soft);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 4vw, 2.25rem);
    box-shadow: var(--shadow);
}
.form-card__title { margin: 0 0 0.25rem; }
.form-card__sub { margin: 0 0 1.5rem; color: var(--ink-muted); font-size: 0.9rem; }
.req { color: var(--gold-600); font-weight: 700; }
.form__row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.form__field { display: flex; flex-direction: column; margin-bottom: 1rem; }
.form__field label { font-weight: 600; font-size: 0.9rem; color: var(--navy); margin-bottom: 0.4rem; }
.form__field input,
.form__field select,
.form__field textarea {
    font: inherit; color: var(--ink);
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--gray-soft);
    border-radius: var(--radius-sm);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    width: 100%;
}
.form__field textarea { resize: vertical; min-height: 110px; }
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(198,143,52,0.18); outline: none; }
.form__field input.invalid,
.form__field select.invalid,
.form__field textarea.invalid { border-color: #b3261e; box-shadow: 0 0 0 3px rgba(179,38,30,0.15); }
.form__error { color: #b3261e; font-size: 0.82rem; min-height: 1em; margin-top: 0.3rem; }
.form__foot { margin: 1rem 0 0; font-size: 0.9rem; color: var(--ink-muted); text-align: center; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 1.25rem; }
.contact-list__item { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.contact-list__icon { width: 44px; height: 44px; border-radius: 10px; background: var(--navy); color: var(--gold-light); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.contact-list__label { margin: 0; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-600); font-weight: 700; }
.contact-list__value { margin: 0.15rem 0; color: var(--navy); font-weight: 500; }
.contact-list__note { margin: 0.25rem 0 0; font-size: 0.85rem; color: var(--ink-muted); }
.directions { background: var(--gray-50); border: 1px solid var(--gray-soft); border-radius: var(--radius); padding: 1.5rem; }
.directions__title { margin: 0 0 0.75rem; font-size: 1.1rem; }
.directions__steps { margin: 0 0 1.25rem; padding-left: 1.1rem; }
.directions__steps li { margin-bottom: 0.4rem; }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: var(--navy); color: var(--white); padding-block: clamp(2.5rem, 7vw, 4.5rem); border-bottom: 3px solid var(--gold); }
.page-hero__title { color: var(--white); margin-bottom: 0.75rem; max-width: 18ch; }
.page-hero__lead { color: rgba(255,255,255,0.86); font-size: clamp(1rem, 2.2vw, 1.15rem); max-width: 60ch; margin: 0; }

/* ---------- CTA banner ---------- */
.cta-banner { background: var(--gold); color: var(--white); }
.cta-banner__inner { display: grid; gap: 1.5rem; padding-block: clamp(2.5rem, 6vw, 4rem); align-items: center; }
.cta-banner__title { color: var(--white); margin: 0 0 0.5rem; }
.cta-banner__text { margin: 0; color: rgba(255,255,255,0.92); font-size: 1.05rem; max-width: 52ch; }
.cta-banner__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.cta-banner .btn--outline-gold { color: var(--white); border-color: rgba(255,255,255,0.7); }
.cta-banner .btn--outline-gold:hover { background: var(--white); color: var(--gold-600); border-color: var(--white); }

/* ---------- Thank you / 404 ---------- */
.thanks { max-width: 620px; margin-inline: auto; }
.thanks__check { width: 76px; height: 76px; border-radius: 50%; background: var(--gold); color: var(--white); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; box-shadow: var(--shadow); }
.thanks__404 { font-family: var(--font-display); font-weight: 700; font-size: clamp(4rem, 18vw, 8rem); color: var(--gold); line-height: 1; margin-bottom: 0.5rem; }
.thanks__title { margin-bottom: 1rem; }
.thanks__text { font-size: 1.1rem; color: var(--ink-muted); margin-bottom: 1rem; }
.thanks__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; margin-top: 1.5rem; }

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */
.site-footer {
    background: var(--navy-800);
    color: var(--gray-soft);
    padding-top: clamp(2.5rem, 5vw, 3.5rem);
}
.site-footer__top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
}
/* Brand block */
.site-footer__brand { max-width: 50ch; }
.site-footer__logo {
    display: inline-block;
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.85rem;
    line-height: 0;
    margin-bottom: 1rem;
}
.site-footer__logo img { height: auto; max-height: 56px; width: auto; max-width: 100%; }
.site-footer__tagline {
    color: var(--gold-light); font-style: italic;
    font-size: 0.95rem; margin: 0 0 0.6rem;
}
.site-footer__verse {
    font-size: 0.82rem; color: rgba(217,213,203,0.6);
    margin: 0; line-height: 1.5; font-style: italic;
}
/* Link columns wrapper */
.site-footer__links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
}
.site-footer__col { min-width: 0; }
.site-footer__heading {
    color: var(--white); font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    margin: 0 0 0.85rem; font-family: var(--font-body);
}
.site-footer__col ul {
    list-style: none; margin: 0; padding: 0;
    display: grid; gap: 0.5rem;
}
.site-footer__col a {
    color: var(--gray-soft); text-decoration: none;
    font-size: 0.9rem; transition: color var(--transition);
}
.site-footer__col a:hover { color: var(--gold-light); }
/* Contact column with icons */
.site-footer__contact li {
    display: grid; grid-template-columns: 18px 1fr; gap: 0.6rem;
    align-items: start; font-size: 0.88rem; color: var(--gray-soft);
    line-height: 1.45;
}
.site-footer__contact svg { color: var(--gold); flex: none; margin-top: 2px; }
.site-footer__contact a { font-size: 0.88rem; }
/* Bottom bar */
.site-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-block: 1.25rem;
    display: flex; flex-wrap: wrap; gap: 0.3rem 1.5rem;
    justify-content: center; text-align: center;
}
.site-footer__bottom p {
    margin: 0; font-size: 0.8rem;
    color: rgba(217,213,203,0.6);
}
.site-footer__director { color: var(--gold-light); }

/* Footer responsive: 3-col link area at 600px, full 4-col at 840px */
@media (min-width: 600px) {
    .site-footer__top { grid-template-columns: 1.4fr 2fr; gap: 2.5rem; }
    .site-footer__links { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 840px) {
    .site-footer__top { grid-template-columns: 1.3fr 2.5fr; gap: 3rem; }
    .site-footer__logo img { max-height: 64px; }
    .site-footer__bottom { justify-content: space-between; text-align: left; }
}

/* ---------- Floating buttons ---------- */
.fab-group { position: fixed; right: 1rem; bottom: 1rem; z-index: 90; display: flex; flex-direction: column; gap: 0.7rem; }
.fab { width: 54px; height: 54px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); transition: transform var(--transition); text-decoration: none; }
.fab:hover { transform: scale(1.07); }
.fab--whatsapp { background: #25D366; color: var(--white); }
.fab--call { background: var(--gold); color: var(--white); }
.fab--whatsapp:hover { color: var(--white); }
.fab--call:hover { color: var(--white); background: var(--gold-600); }

.back-to-top {
    position: fixed; right: 1rem; bottom: calc(1rem + 130px); z-index: 89;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--navy); color: var(--white); border: none;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--navy-700); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms cubic-bezier(0.2,0.7,0.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    * { scroll-behavior: auto !important; }
}

/* ==========================================================================
   Responsive breakpoints — built up from mobile
   ========================================================================== */
@media (min-width: 560px) {
    .strip__inner { grid-template-columns: repeat(2, 1fr); }
    .cards--3 { grid-template-columns: repeat(2, 1fr); }
    .cards--4 { grid-template-columns: repeat(2, 1fr); }
    .hero__stats { grid-template-columns: repeat(3, 1fr); }
    .form__row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
    :root { --gutter: 1.75rem; }

    .hero__inner { grid-template-columns: 1.4fr 1fr; }
    .strip__inner { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
    .section__two { grid-template-columns: 1.1fr 0.9fr; }
    .section__two--admissions,
    .section__two--contact { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
    .cards--3 { grid-template-columns: repeat(3, 1fr); }
    .cards--4 { grid-template-columns: repeat(4, 1fr); }
    .levels { grid-template-columns: repeat(2, 1fr); }
    .cta-banner__inner { grid-template-columns: 1.4fr auto; }
}

@media (min-width: 992px) {
    .hero__lead { font-size: 1.25rem; }
}

@media (min-width: 1100px) {
    .levels { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Print ---------- */
@media print {
    .site-header, .mobile-contact, .fab-group, .back-to-top, .menu-btn, .menu-overlay { display: none !important; }
    .site-footer { color: #000; background: #fff; }
    .hero, .page-hero, .cta-banner { color: #000; background: #fff; }
    body { color: #000; }
}

/* ==========================================================================
   Mobile-first refinements — phones and small tablets (max-width: 559px)
   Tighter spacing, full-width buttons, full-bleed images, better tap targets
   ========================================================================== */
@media (max-width: 559px) {
    /* Tighter section padding to reduce scroll debt */
    .section { padding-block: clamp(2.25rem, 8vw, 3.5rem); }
    .section__head { margin-bottom: 1.5rem; }

    /* Hero: tighter padding, smaller stats */
    .hero__inner { padding-block: clamp(2rem, 9vw, 3rem); gap: 2rem; }
    .hero__stats { gap: 0.5rem; padding-top: 1.25rem; }
    .hero__stat-num { font-size: 1.15rem; }
    .hero__stat-label { font-size: 0.72rem; }
    .hero__card { padding: 1.5rem 1rem; }
    .hero__actions { gap: 0.6rem; }
    .hero__actions .btn { flex: 1 1 auto; }

    /* CTA banner: full-width buttons, tighter padding */
    .cta-banner__inner { padding-block: clamp(2rem, 7vw, 2.75rem); gap: 1.25rem; }
    .cta-banner__actions { flex-direction: column; gap: 0.6rem; }
    .cta-banner__actions .btn { width: 100%; }

    /* Cards: tighter padding on mobile */
    .card { padding: 1.25rem; }
    .card__media { margin: -1.25rem -1.25rem 1rem; }
    .card__icon { width: 44px; height: 44px; margin-bottom: 0.75rem; }
    .card__title { font-size: 1.1rem; }

    /* Feature card: less padding on mobile */
    .feature-card { padding: 1.5rem; }
    .feature-card__quote { font-size: 1.15rem; }

    /* Image banners: full-bleed (no border-radius), flush to edges */
    .image-banner { border-radius: 0; box-shadow: none; margin-inline: calc(var(--gutter) * -1); margin-bottom: 0; }
    .image-banner img { border-radius: 0; }

    /* Level cards: tighter padding */
    .level { padding: 1.25rem; }
    .level__image { aspect-ratio: 16 / 9; margin-bottom: 1rem; }
    .level__head { gap: 0.75rem; }
    .level__icon { width: 44px; height: 44px; }
    .level__title { font-size: 1.15rem; }
    .level__age { font-size: 0.72rem; padding: 0.25rem 0.55rem; }

    /* Steps: tighter spacing */
    .steps { gap: 1rem; }
    .steps__num { width: 36px; height: 36px; font-size: 1rem; }
    .steps__item { grid-template-columns: 36px 1fr; gap: 0.75rem; }
    .steps__title { font-size: 1rem; }

    /* Contact list: smaller icons */
    .contact-list { gap: 1rem; }
    .contact-list__icon { width: 38px; height: 38px; }
    .contact-list__item { grid-template-columns: 38px 1fr; gap: 0.75rem; }

    /* Form: full-width buttons, tighter fields */
    .form-card { padding: 1.25rem; }
    .form__field { margin-bottom: 0.85rem; }
    .form__field input, .form__field select, .form__field textarea { padding: 0.65rem 0.75rem; }
    .form__field textarea { min-height: 90px; }

    /* Footer: tighter spacing on mobile */
    .site-footer { padding-top: 2rem; }
    .site-footer__top { gap: 1.75rem; padding-bottom: 1.75rem; }
    .site-footer__brand { text-align: center; }
    .site-footer__logo { display: inline-block; }
    .site-footer__tagline, .site-footer__verse { text-align: center; }
    .site-footer__bottom { padding-block: 1rem; }

    /* Page hero: tighter padding */
    .page-hero { padding-block: clamp(2rem, 8vw, 3rem); }
    .page-hero__title { font-size: clamp(1.75rem, 7vw, 2.25rem); }

    /* Floating buttons: slightly smaller, closer to edge */
    .fab { width: 48px; height: 48px; }
    .fab-group { right: 0.75rem; bottom: 0.75rem; gap: 0.6rem; }
    .back-to-top { right: 0.75rem; bottom: calc(0.75rem + 112px); width: 40px; height: 40px; }

    /* Blog cards: tighter body padding */
    .blog-card__body { padding: 1rem; }
    .blog-card__title { font-size: 1.1rem; }

    /* Article: tighter header */
    .article__header { padding-block: clamp(1.5rem, 6vw, 2.5rem); margin-bottom: 1.5rem; }
    .article__title { font-size: clamp(1.5rem, 6vw, 2rem); }
    .article__hero { margin-bottom: 1.5rem; }
    .article__content { font-size: 1rem; }
    .prose-article { font-size: 1rem; line-height: 1.7; }

    /* Filter pills: scrollable on mobile */
    .filter-pills { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 0.5rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
    .filter-pills .filter-pill { flex: none; white-space: nowrap; }

    /* Thanks/404: tighter */
    .thanks__404 { font-size: clamp(3.5rem, 20vw, 6rem); }
    .thanks__actions { flex-direction: column; gap: 0.6rem; }
    .thanks__actions .btn { width: 100%; }

    /* Strip: tighter padding */
    .strip__inner { padding-block: 1.25rem; gap: 1rem; }
    .strip__item .icon--gold { width: 20px; height: 20px; }
    .strip__title { font-size: 0.88rem; }
    .strip__text { font-size: 0.82rem; }

    /* Callout: tighter padding */
    .callout { padding: 1.25rem; }

    /* Directions: tighter padding */
    .directions { padding: 1.25rem; }
}

/* ==========================================================================
   Site images — real photography integrated into sections
   ========================================================================== */
/* Image in a two-column text section */
.section-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-soft);
}
.section-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.section-image--tall { min-height: 320px; }
.section-image--full { width: 100%; aspect-ratio: 16 / 10; }

/* Image at top of a card (home level cards) */
.card__media { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; margin: -1.6rem -1.6rem 1.2rem; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.card:hover .card__media img { transform: scale(1.04); }
.card--media { padding-top: 0; }

/* Image inside a level article (programs page) */
.level__image { aspect-ratio: 21 / 9; overflow: hidden; border-radius: var(--radius-sm); margin-bottom: 1.2rem; }
.level__image img { width: 100%; height: 100%; object-fit: cover; }

/* Section with background image + navy overlay (CTA banners, etc.) */
.bg-section { position: relative; overflow: hidden; }
.bg-section__img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.bg-section__overlay { position: absolute; inset: 0; }
.bg-section__content { position: relative; }

/* CTA banner with background image */
.cta-banner--bg .bg-section__overlay { background: var(--gold); opacity: 0.92; }
.cta-banner--bg .bg-section__img { opacity: 0.25; }

/* Mission section with background image */
.mission-bg .bg-section__overlay { background: var(--navy); opacity: 0.88; }

/* Image banner (full-width strip) */
.image-banner { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.image-banner img { width: 100%; display: block; }

/* Contact page image */
.contact-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--gray-soft); }
.contact-image img { width: 100%; display: block; }

/* ==========================================================================
   Blog & Article (public)
   ========================================================================== */
.filter-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.filter-pills .filter-pill {
    display: inline-block; padding: 0.4rem 0.95rem; border-radius: 999px;
    background: var(--white); border: 1px solid var(--gray-soft);
    font-size: 0.85rem; font-weight: 600; color: var(--ink-muted);
    text-decoration: none; transition: all var(--transition);
}
.filter-pills .filter-pill:hover { border-color: var(--navy); color: var(--navy); }
.filter-pills .filter-pill.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }

.blog-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.blog-card {
    background: var(--white); border: 1px solid var(--gray-soft); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-light); }
.blog-card__link { color: inherit; text-decoration: none; display: block; }
.blog-card__link:hover { color: inherit; }
.blog-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--gray-50); }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.blog-card:hover .blog-card__media img { transform: scale(1.04); }
.blog-card__media--placeholder { display: flex; align-items: center; justify-content: center; color: var(--gray-soft); background: var(--navy); }
.blog-card__media--placeholder svg { fill: var(--gold); opacity: 0.5; }
.blog-card__body { padding: 1.25rem; }
.blog-card__meta { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.5rem; font-size: 0.8rem; }
.blog-card__cat { background: var(--gray-50); border: 1px solid var(--gray-soft); color: var(--gold-600); padding: 0.15rem 0.6rem; border-radius: 999px; font-weight: 700; text-decoration: none; }
.blog-card__cat:hover { border-color: var(--gold); color: var(--navy); }
.blog-card__date { color: var(--ink-muted); }
.blog-card__title { font-size: 1.25rem; margin: 0 0 0.5rem; color: var(--navy); }
.blog-card__excerpt { color: var(--ink-muted); margin: 0 0 0.85rem; font-size: 0.95rem; }
.blog-card__read { color: var(--gold-600); font-weight: 600; font-size: 0.9rem; }

/* Single article */
.article { padding-bottom: clamp(2rem, 5vw, 4rem); }
.article__header { background: var(--navy); color: var(--white); padding-block: clamp(2rem, 6vw, 3.5rem); margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.article__cat-link { color: var(--gold-light); text-decoration: none; }
.article__cat-link:hover { color: var(--white); }
.article__title { color: var(--white); margin: 0.5rem 0 0.75rem; max-width: 20ch; }
.article__excerpt { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 60ch; margin: 0 0 1rem; }
.article__meta { display: flex; gap: 1rem; font-size: 0.88rem; color: rgba(255,255,255,0.7); }
.article__hero { margin: 0 0 2rem; border-radius: var(--radius); overflow: hidden; }
.article__hero img { width: 100%; }
.article__content { max-width: 72ch; }
.article__back { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--gray-soft); }
.article__related { margin-top: 3rem; }
.blog-grid--related { grid-template-columns: 1fr; }

/* Prose styling for Quill-generated article content */
.prose-article { font-size: 1.08rem; line-height: 1.75; color: var(--ink); }
.prose-article > * + * { margin-top: 1.1rem; }
.prose-article h1, .prose-article h2, .prose-article h3, .prose-article h4 { color: var(--navy); margin-top: 1.8rem; margin-bottom: 0.6rem; line-height: 1.25; }
.prose-article h1 { font-size: 1.8rem; }
.prose-article h2 { font-size: 1.5rem; border-bottom: 2px solid var(--gold); padding-bottom: 0.3rem; }
.prose-article h3 { font-size: 1.25rem; }
.prose-article p { margin: 0; }
.prose-article a { color: var(--gold-600); text-decoration: underline; text-underline-offset: 2px; }
.prose-article a:hover { color: var(--navy); }
.prose-article ul, .prose-article ol { padding-left: 1.5rem; }
.prose-article li { margin-bottom: 0.4rem; }
.prose-article blockquote {
    border-left: 4px solid var(--gold); padding: 0.5rem 1.25rem; margin: 1.5rem 0;
    background: var(--gray-50); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic; color: var(--ink-muted);
}
.prose-article img { border-radius: var(--radius-sm); margin: 1.5rem 0; max-width: 100%; height: auto; }
.prose-article pre { background: var(--navy); color: var(--gray-soft); padding: 1rem 1.25rem; border-radius: var(--radius-sm); overflow-x: auto; font-size: 0.9rem; }
.prose-article code { background: var(--gray-50); padding: 0.15rem 0.4rem; border-radius: 4px; font-size: 0.9em; }
.prose-article pre code { background: none; padding: 0; }
.prose-article table { width: 100%; border-collapse: collapse; }
.prose-article th, .prose-article td { border: 1px solid var(--gray-soft); padding: 0.6rem 0.8rem; text-align: left; }
.prose-article th { background: var(--gray-50); font-weight: 700; }

@media (min-width: 640px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid--related { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
    .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Extra-small phones (320px and below) — even tighter */
@media (max-width: 359px) {
    .hero__stats { grid-template-columns: repeat(3, 1fr); gap: 0.25rem; }
    .hero__stat-num { font-size: 1rem; }
    .hero__stat-label { font-size: 0.68rem; }
    .hero__actions .btn { width: 100%; flex: none; }
    .container { padding-inline: 1rem; }
}
