/* Legacy Academy: "The Winding Path"
   Colors are Kate's brand palette only (2026-10-25): sage and dark sage lead (Dark Olive unused since 2026-10-29),
   charcoal text, deep indigo and golden mustard accents, cotton and pale grey backgrounds. */
:root {
    --sage: #93ADA4;
    --gold: #EEC579;
    --indigo: #3A3E79;
    --charcoal: #333333;
    --sage-dark: #657A66;   /* Dark Sage: headings, titles, the line, dark bands, buttons (2026-10-29: Dark Olive bands clashed with the sage below; see BRAND-PALETTE.md) */
    --white: #FFFFFF;
    --pale-grey: #F2F2F2;
    --cotton: #F0EDE2;
    --ink: var(--charcoal);
    --gutter: 30px;
    --rail: 16px;
    --max: 1200px;
    --head-h: 64px;
    --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font: 400 17px/1.65 "Raleway", sans-serif;
    font-variant-numeric: lining-nums;
    overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
.nowrap { white-space: nowrap; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, li, a, span, legend { overflow-wrap: normal; word-break: normal; hyphens: manual; }
.dot { color: var(--gold); }

.wrap { position: relative; z-index: 2; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.h2 {
    font: 700 clamp(30px, 6.4vw, 50px)/1.08 "Poppins", sans-serif;
    letter-spacing: -0.025em;
    color: var(--sage-dark);
    text-wrap: balance;
}
.h3 {
    font: 500 clamp(19px, 3.6vw, 23px)/1.3 "Poppins", sans-serif;
    color: var(--charcoal);
    letter-spacing: -0.01em;
}
.text-link {
    color: var(--sage-dark);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: text-decoration-color .2s;
}
.text-link:hover { text-decoration-color: var(--sage-dark); }

/* ---------- buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 52px; padding: 0 28px;
    border-radius: 999px;
    font: 600 14px/1 "Poppins", sans-serif;
    letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
    max-width: 100%; text-align: center; line-height: 1.25; padding-block: 12px;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s;
}
.btn--gold { background: var(--gold); color: var(--charcoal); border: 2px solid var(--gold); }
.btn--line { background: transparent; color: var(--sage-dark); border: 2px solid var(--sage-dark); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 22px -10px rgba(51, 51, 51, .45); }
.btn--line:hover { background: var(--sage-dark); color: var(--white); }
.btn:focus-visible, .nav a:focus-visible, .nav button:focus-visible, .player__btn:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; }

/* ---------- top banner + header ---------- */
.banner { background: var(--sage); text-align: center; padding: 9px var(--gutter); }
.banner p { font: 600 12px/1.3 "Poppins", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--charcoal); }

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .97); /* no backdrop blur: it would trap the phone menu inside the header strip */
    border-bottom: 1px solid rgba(101, 122, 102, .12);
}
.site-header__in {
    max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
    height: var(--head-h); display: flex; align-items: center; gap: 12px;
}
.logo { margin-right: auto; flex: none; }
.logo img { height: 38px; width: auto; }
.btn--head { min-height: 40px; padding: 0 16px; font-size: 12.5px; letter-spacing: .07em; white-space: nowrap; }
@media (max-width: 380px) { /* smallest phones, or bigger Safari text: header still fits */
    .site-header__in { padding: 0 14px; gap: 8px; }
    .logo img { height: 32px; }
    .btn--head { padding: 0 12px; font-size: 11.5px; }
}
.burger {
    width: 44px; height: 44px; flex: none; border: 0; background: none; padding: 11px 9px; cursor: pointer;
    display: flex; flex-direction: column; justify-content: space-between;
}
.burger span { display: block; height: 2px; border-radius: 2px; background: var(--charcoal); }

/* menu: phone/tablet panel */
.nav {
    position: fixed; inset: 0; z-index: 80;
    background: var(--white);
    padding: 0 var(--gutter) 40px;
    overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
}
.menu-open .nav { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s var(--ease); }

.nav__head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; height: var(--head-h); background: var(--white); } /* close stays in reach on short screens */
.nav__head img { height: 38px; width: auto; }
.nav__close { width: 44px; height: 44px; border: 0; background: none; font-size: 34px; line-height: 1; color: var(--charcoal); cursor: pointer; }
.nav__list { margin-top: 12px; border-top: 1px solid var(--pale-grey); }
.nav__item { border-bottom: 1px solid var(--pale-grey); }
.nav__link {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
    padding: 14px 0; border: 0; background: none; cursor: pointer; text-align: left;
    font: 500 22px/1.25 "Poppins", sans-serif; color: var(--charcoal); text-decoration: none;
}
.nav__split { display: flex; align-items: center; }
.nav__split .nav__link { flex: 1; }
.nav__toggle--icon { width: 48px; height: 48px; border: 0; background: none; cursor: pointer; display: grid; place-items: center end; /* arrow lines up with the others */ }
.nav__toggle--icon .chev { margin-right: 0; }
.chev { width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s; color: var(--sage-dark); flex: none; margin-right: 6px; }
[aria-expanded="true"] .chev { transform: rotate(225deg) translate(-2px, 0); }
.sub { display: none; padding: 0 0 14px 14px; border-left: 2px solid var(--gold); margin: 0 0 14px 2px; }
.has-sub.open .sub { display: block; }
.sub a { display: block; padding: 9px 0; font: 500 17px/1.3 "Poppins", sans-serif; color: var(--sage-dark); text-decoration: none; }

/* ---------- the trail ---------- */
.journey { position: relative; display: block; }
.trail { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible; }
.trail { transition: opacity .2s; }
.trail.is-rebuilding { opacity: 0; transition: none; }
.trail path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.trail__ahead { stroke: var(--sage); stroke-width: 2.5; stroke-dasharray: .1 9; }
.trail__walked { stroke: var(--sage-dark); stroke-width: 3; }
.trail__head, .trail__start { fill: var(--gold); stroke: var(--sage-dark); stroke-width: 3; }
.wp { position: absolute; width: 2px; height: 2px; margin: -1px 0 0 -1px; pointer-events: none; }

section { position: relative; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 640px; height: calc(100svh - var(--head-h) - 35px); max-height: 860px; display: flex; align-items: flex-end; color: var(--white); background: var(--charcoal); overflow: hidden; }
.hero__media, .hero__veil { position: absolute; inset: 0; }
.hero__poster, .hero__film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__film { opacity: 0; transition: opacity 1.2s ease; }
.hero__film.is-live { opacity: 1; }
.hero__veil {
    background:
        linear-gradient(180deg, rgba(51, 51, 51, .35) 0%, rgba(51, 51, 51, 0) 30%),
        linear-gradient(0deg, rgba(0, 0, 0, .8) 6%, rgba(0, 0, 0, .5) 42%, rgba(0, 0, 0, .1) 75%);
}
.hero__in { padding-bottom: clamp(80px, 13vw, 160px); }
.hero__title {
    font: 700 clamp(56px, 15vw, 132px)/.95 "Poppins", sans-serif;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 30px rgba(0, 0, 0, .25);
}
.hero__lede {
    margin-top: 22px; max-width: 34em;
    font: 500 clamp(17px, 2.2vw, 21px)/1.55 "Raleway", sans-serif;
    letter-spacing: .01em;
}
/* banners end in a straight line with a thin gold rule (Kate 2026-10-25: no zig-zag cutting into the photo) */
.hero, .page-hero { border-bottom: 3px solid var(--gold); }
.wp--hero { left: 58%; bottom: 4px; }

@media (prefers-reduced-motion: reduce) {
    .hero__film { display: none; }
}

/* ---------- arches ---------- */
.arch { position: relative; }
.arch__win {
    position: relative; z-index: 1; display: block;
    aspect-ratio: 1000 / 1230;
    border-radius: 999px 999px 0 0; overflow: hidden;
    background: var(--pale-grey);
}
.arch__win img { width: 100%; height: 100%; object-fit: cover; }
/* the photo files carry their own arch with white corners: enlarge slightly from the bottom so only photo shows */
.arch--photo .arch__win img { transform: scale(1.06); transform-origin: 50% 100%; }
.arch::after {
    content: ""; position: absolute; z-index: 0; inset: -14px -14px 26px 26px;
    border: 2px solid var(--gold); border-bottom: 0; border-radius: 999px 999px 0 0; pointer-events: none;
}

/* ---------- the question ---------- */
.ask { padding: 96px 0 76px; }
.ask__in { display: grid; gap: 48px; padding-right: calc(var(--gutter) + 16px); } /* phone: lane for the line on the right */
.ask .h3 { margin-top: 18px; }
.plus { margin-top: 18px; display: grid; gap: 14px; }
.plus li { position: relative; padding-left: 36px; }
.plus li::before {
    content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 6px;
    background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M11 6v10M6 11h10' stroke='%23FFFFFF' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.arch--still .arch__win img { object-position: 44% 50%; }
.ask__arch { width: min(78%, 340px); margin-left: auto; margin-right: 6%; }
/* phone: the path weaves side to side, crossing only in the gaps between blocks */
.wp--ask1 { left: calc(100% - var(--rail)); top: 110px; }
.wp--ask2 { left: calc(100% - 25px); bottom: 70px; }

/* ---------- our name ---------- */
.name { padding: 84px 0 80px; }
.name::before {
    content: ""; position: absolute; inset: 0; z-index: 0; background: var(--pale-grey);
    border-radius: 50% 50% 0 0 / 56px 56px 0 0;
}
.name__in { display: grid; gap: 64px; }
.name__tag { margin-top: 6px; font: 500 clamp(19px, 3.6vw, 23px)/1.35 "Poppins", sans-serif; color: var(--sage-dark); }
.name .h3 { margin-top: 30px; padding-top: 20px; border-top: 2px solid var(--gold); display: inline-block; }
.name__copy p:not(.name__tag) { margin-top: 14px; }
.name__copy .h3 + p { margin-top: 12px; }
.ring-wrap { position: relative; width: min(84%, 380px); margin: 0 auto; }
.ring { display: block; width: 100%; height: auto; overflow: visible; }
.ring__disc { fill: var(--white); }
.ring__band { fill: none; stroke: var(--sage-dark); stroke-width: 7; }
.ring__word { font: 600 21px "Poppins", sans-serif; letter-spacing: 5px; fill: var(--sage-dark); }
.name__copy, .next__copy { position: relative; }
.wp--name1 { left: var(--rail); top: 80px; }
.wp--name2 { left: calc(var(--rail) - var(--gutter)); bottom: -6px; }
.wp--ringtop { left: 50%; top: -34px; }
.wp--ringbot { left: 50%; bottom: -34px; }

/* ---------- key elements ---------- */
.key { padding: 84px 0 70px; }
.wp--key1 { left: var(--rail); top: 40px; }
.wp--key2 { left: calc(var(--rail) - var(--gutter)); top: -18px; }
.key__title { max-width: 14em; }
.key__list { margin-top: 44px; display: grid; gap: 34px; }
.key__item { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; }
.num, .step__n {
    position: relative; z-index: 2;
    display: grid; place-items: center; flex: none;
    width: 56px; height: 56px; border-radius: 50%;
    font: 600 26px/1 "Poppins", sans-serif; letter-spacing: -.02em;
}
.num { background: var(--sage); color: var(--charcoal); box-shadow: 0 0 0 6px var(--white); }
.key__text h3 { font: 600 20px/1.25 "Poppins", sans-serif; color: var(--sage-dark); letter-spacing: -.01em; padding-top: 2px; }
.key__text p { margin-top: 6px; }

/* ---------- enrollment ---------- */
.enroll { padding: 90px 0 84px; }
.enroll::before {
    content: ""; position: absolute; inset: 0; z-index: 0; background: var(--cotton);
    border-radius: 50% 50% 0 0 / 56px 56px 0 0;
}
.enroll__in { display: grid; gap: 54px; padding-right: calc(var(--gutter) + 16px); }
.enroll__ages { margin-top: 14px; font: 600 clamp(20px, 3.8vw, 25px)/1.3 "Poppins", sans-serif; color: var(--charcoal); }
.enroll__note { margin-top: 2px; font: 500 16px/1.4 "Poppins", sans-serif; color: var(--charcoal); }
.enroll__copy > p:not(.enroll__ages):not(.enroll__note):not(.fine) { margin-top: 20px; }
.fine { margin-top: 30px; font-size: 13.5px; line-height: 1.6; font-style: italic; color: var(--charcoal); }
.enroll__arch { width: min(84%, 380px); margin: 0 auto; }
.wp--keyend { left: 40px; bottom: 34px; }
.wp--en1 { left: calc(100% - var(--rail)); top: 70px; }
.wp--en2 { left: calc(100% - 28px); bottom: 60px; }

/* ---------- next steps ---------- */
.next { padding: 84px 0 90px; }
.next__in { display: grid; gap: 60px; }
.next__arch { width: min(84%, 380px); margin: 0 auto; }
.wp--nx1 { left: 28px; top: 53px; }
.wp--nx2 { left: var(--rail); top: 330px; }
.wp--next { left: calc(var(--rail) - var(--gutter)); top: 58px; } /* phone: turn toward step 1 below the heading */
.steps { margin-top: 34px; display: grid; gap: 28px; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; }
.step__n { white-space: nowrap; background: var(--sage-dark); color: var(--white); box-shadow: 0 0 0 6px var(--white); font-size: 24px; }
.step__n .dot { color: var(--gold); }
.step p { padding-top: 2px; }
.step strong { color: var(--indigo); font-weight: 700; }
.next__go { position: relative; padding-left: 74px; }
.wp--end { left: 28px; top: 26px; }
.next__go::before {
    content: ""; position: absolute; left: 19px; top: 17px; width: 18px; height: 18px; border-radius: 50%;
    background: var(--gold); box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--sage-dark); z-index: 2;
}

/* ---------- still have questions ---------- */
.questions { background: var(--sage-dark); color: var(--white); padding: 72px 0; overflow: hidden; }
.questions__in { display: grid; gap: 24px; }
.questions .h2 { color: var(--white); }
.questions p { margin-top: 14px; max-width: 40em; }
.questions__mark { width: 74px; height: auto; filter: brightness(0) invert(1); }

/* ---------- info session ---------- */
.watch { padding: 84px 0 96px; background: var(--white); }
.watch__title { text-align: left; }
.player { position: relative; margin-top: 34px; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--charcoal); box-shadow: 0 0 0 1px rgba(101, 122, 102, .12), 0 30px 60px -30px rgba(51, 51, 51, .45); }
.player__btn { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: none; }
.player__btn img { width: 100%; height: 100%; object-fit: cover; }
/* the play button is just a white arrow, no circle behind it (Kate 2026-10-25: no colored circles) */
.player__play {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 52px; height: 52px; display: grid; place-items: center;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .55));
    transition: transform .25s var(--ease);
}
.player__play svg { width: 100%; height: 100%; fill: var(--white); }
.player__btn:hover .player__play { transform: translate(-50%, -50%) scale(1.1); }
.player iframe, .player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: var(--charcoal); }

/* ---------- footer ---------- */
.footer { background: var(--charcoal); color: var(--white); padding: 64px 0 40px; }
.footer__in { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 20px; }
.footer__logo, .footer__col:last-child { grid-column: 1 / -1; }
.footer__logo img { width: 190px; height: auto; }
.footer h2 { font: 800 24px/1.2 "Poppins", sans-serif; color: var(--sage); letter-spacing: -.01em; }
.footer ul { margin-top: 10px; display: grid; gap: 4px; }
.footer a:not(.footer__logo) { text-decoration: none; font-weight: 500; padding: 4px 0; display: inline-block; }
.footer a:not(.footer__logo):hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.strip { background: var(--sage); color: var(--charcoal); text-align: center; padding: 18px var(--gutter); font-size: 14px; line-height: 1.5; }
.strip p + p { margin-top: 4px; }
.strip a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- pop-up ---------- */
.pop { padding: 0; border: 0; background: transparent; max-width: min(860px, calc(100vw - 24px)); width: 100%; max-height: calc(100dvh - 24px); }
.pop::backdrop { background: rgba(51, 51, 51, .72); backdrop-filter: blur(3px); }
.pop__card { display: grid; background: var(--white); border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); }
.pop__art { display: none; }
.pop__form { position: relative; padding: 34px 26px 24px; display: grid; gap: 12px; }
.pop__x { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--sage); background: var(--white); color: var(--charcoal); font-size: 24px; line-height: 1; cursor: pointer; }
.pop h2 { font: 700 30px/1.1 "Poppins", sans-serif; color: var(--sage-dark); letter-spacing: -.02em; margin-bottom: 4px; }
.field { display: grid; gap: 4px; font: 500 13.5px/1.35 "Poppins", sans-serif; color: var(--charcoal); }
.field input, .optin input[type="checkbox"] { font: inherit; }
.field input { height: 44px; padding: 0 14px; border: 1.5px solid var(--sage); border-radius: 10px; font: 400 15px "Raleway", sans-serif; color: var(--charcoal); background: var(--pale-grey); }
.field input:focus { outline: 2px solid var(--sage-dark); outline-offset: 1px; background: var(--white); }
.optin { border: 0; padding: 0; margin: 4px 0 0; }
.optin legend { font: 600 13.5px "Poppins", sans-serif; color: var(--charcoal); margin-bottom: 4px; }
.optin label { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 12px; line-height: 1.5; color: var(--charcoal); }
.optin input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--sage-dark); }
.pop__submit { height: 50px; border: 0; border-radius: 999px; background: var(--indigo); color: var(--white); font: 600 14px "Poppins", sans-serif; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; margin-top: 6px; }
.pop__submit:hover { background: var(--charcoal); }
.pop__legal { text-align: center; font-size: 13px; color: var(--charcoal); }
.pop__legal a { color: var(--indigo); text-underline-offset: 3px; }

/* =========================================================
   Wider screens (tablet 760+ and desktop)
   ========================================================= */
@media (min-width: 760px) {
    .wp--keyend, .wp--nx1, .wp--nx2 { display: none; }
    :root { --gutter: 40px; --head-h: 76px; }
    .logo img { height: 46px; }
    .btn--head { min-height: 44px; padding: 0 22px; font-size: 13px; }
    .banner p { font-size: 12.5px; }

    .h2 { font-size: clamp(36px, 4.8vw, 54px); }
    .hero { min-height: min(680px, calc(100svh - var(--head-h) - 35px)); }
    .hero__veil {
        background:
            linear-gradient(90deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .32) 42%, rgba(0, 0, 0, 0) 72%),
            linear-gradient(180deg, rgba(51, 51, 51, .35) 0%, rgba(51, 51, 51, 0) 30%),
            linear-gradient(0deg, rgba(0, 0, 0, .8) 6%, rgba(0, 0, 0, .42) 42%, rgba(0, 0, 0, .08) 75%);
    }
    .hero__title { font-size: clamp(84px, 11vw, 140px); }

    .ask { padding: 96px 0 110px; }
    .ask__in { grid-template-columns: 1.4fr 1fr; align-items: center; gap: 56px; padding-right: var(--gutter); }
    .ask__arch { width: 100%; max-width: 400px; margin: 0 0 0 auto; }
    .wp--ask1 { left: 57%; top: 40px; }
    .wp--ask2 { left: 57%; bottom: 30px; }

    .name { padding: 120px 0 110px; }
    .name::before { border-radius: 50% 50% 0 0 / 110px 110px 0 0; }
    .name__in { grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
    .ring-wrap { width: 100%; max-width: 400px; }
    .wp--name1, .wp--name2 { display: none; }

    .key { padding: 110px 0 100px; }
    .key__title { text-align: center; margin: 0 auto; }
    .wp--key1 { left: 80%; top: 30px; }
    .wp--key2 { left: calc(50% + 200px); top: -10px; }
    .key__list { margin: 60px auto 0; max-width: 1040px; gap: 18px; }
    .key__item { grid-template-columns: 1fr 96px 1fr; column-gap: 28px; align-items: center; min-height: 128px; }
    .key__item .num { grid-row: 1; grid-column: 2; justify-self: center; width: 84px; height: 84px; font-size: 36px; box-shadow: 0 0 0 8px var(--white); }
    .key__item:nth-child(odd) .num { transform: translateX(-46px); }
    .key__item:nth-child(even) .num { transform: translateX(46px); }
    .key__item:nth-child(odd) .key__text { grid-row: 1; grid-column: 1; text-align: right; padding-right: 30px; }
    .key__item:nth-child(even) .key__text { grid-row: 1; grid-column: 3; padding-left: 30px; }
    .key__text h3 { font-size: 22px; }

    .enroll { padding: 140px 0 110px; }
    .enroll::before { border-radius: 50% 50% 0 0 / 110px 110px 0 0; }
    .enroll__in { grid-template-columns: 1.25fr 1fr; gap: 60px; align-items: center; padding-right: var(--gutter); }
    .enroll__arch { width: 100%; max-width: 420px; margin: 0 0 0 auto; }
    .wp--en1 { left: 54.5%; top: 4px; }
    .wp--en2 { left: 54.5%; bottom: 40px; }

    .next { padding: 110px 0 120px; }
    .next__in { grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
    .next__arch { width: 100%; max-width: 420px; margin: 0; }
    .wp--next { left: -40px; top: 34px; }
    .step__n { width: 64px; height: 64px; font-size: 27px; }
    .step { grid-template-columns: 64px 1fr; gap: 22px; }
    .next__go { padding-left: 86px; }
    .wp--end { left: 32px; }
    .next__go::before { left: 23px; }

    .questions { padding: 96px 0; }
    .questions__in { grid-template-columns: 110px 1fr; gap: 40px; align-items: start; }
    .questions__mark { width: 110px; }

    .watch { padding: 110px 0 120px; }
    .player__play { width: 76px; height: 76px; }

    .footer__in { grid-template-columns: repeat(3, 1fr); align-items: start; }
    .footer__logo { grid-column: 1 / -1; }
    .footer__col:last-child { grid-column: auto; }
    .footer__logo img { width: 210px; }

    .pop__card { grid-template-columns: 0.9fr 1.1fr; }
    .pop__art { display: block; position: relative; background: var(--sage-dark); }
    .pop__photo { position: absolute; inset: 0; } /* the photo fills the whole panel (Richard 2026-10-29) */
    .pop__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
    .pop__crest { position: absolute; top: 26px; left: 30px; width: 130px; z-index: 1; filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .5)); }
    .pop__form { padding: 40px 38px 28px; }
}

/* desktop: menu goes across the top */
@media (min-width: 1100px) {
    /* the film shows its 16:9 frame, but never runs below the window (Richard 2026-10-26); on short wide windows it trims a little top and bottom */
    .hero { min-height: 0; max-height: none; height: min(56.25vw, calc(100svh - var(--head-h) - 35px)); }
    .burger, .nav__head { display: none; }
    .nav {
        position: static; inset: auto; padding: 0; overflow: visible; background: none;
        visibility: visible; opacity: 1; transform: none; transition: none;
        margin-right: 18px;
    }
    .nav__list { display: flex; gap: 2px; margin: 0; border: 0; }
    .nav__item { position: relative; border: 0; }
    .nav__link {
        padding: 10px 11px; font-size: 13.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
        position: relative; gap: 6px;
    }
    .nav__link::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
    .nav__item:hover > .nav__link::after, .nav__item:hover .nav__split .nav__link::after, .nav__link:focus-visible::after { transform: scaleX(1); }
    .nav__toggle .chev { width: 7px; height: 7px; margin: 0 0 0 4px; }
    .nav__toggle--icon { width: 22px; height: 36px; margin-left: -8px; place-items: center; }
    .sub {
        display: block; position: absolute; top: 100%; left: 0; min-width: 250px; margin: 0; padding: 12px 0;
        background: var(--white); border: 0; border-radius: 14px; border-top: 3px solid var(--gold);
        box-shadow: 0 24px 50px -20px rgba(51, 51, 51, .35);
        opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility 0s .2s;
    }
    .nav__item:hover .sub, .nav__item:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
    .sub a { padding: 9px 20px; font-size: 13.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--charcoal); }
    .sub a:hover { background: var(--pale-grey); color: var(--sage-dark); }
    .btn--head { min-height: 46px; }
    .footer__in { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
    .footer__logo { grid-column: auto; }

    .hero__title { font-size: clamp(96px, 9.4vw, 150px); }
    .ask__in { grid-template-columns: 1.35fr 1fr; gap: 90px; }
    .name__in { gap: 90px; }
    .enroll__in, .next__in { gap: 100px; }
}

@media (min-width: 1300px) {
    .nav__link { padding: 10px 14px; font-size: 14px; }
}

/* =========================================================
   Inner pages (same look as the home page)
   ========================================================= */
.br-narrow { display: none; }
@media (max-width: 759px) { .br-narrow { display: inline; } .br-wide { display: none; } }

/* the line: on inner pages it rides a lane beside each section (data-lane="left|right", set by the build)
   and swings across between sections. Phones to small laptops: keep the lane clear of text. */
@media (max-width: 1299px) {
    .journey--auto > section[data-lane="right"] > .wrap { padding-right: calc(var(--gutter) + 16px); }
    .journey--auto > section[data-lane="left"] > .wrap { padding-left: calc(var(--gutter) + 16px); }
}

/* page banner (Kate 2026-10-25: "a straight line with the full pictures"): the whole photo, never cropped and never tinted,
   edge to edge, ending in the straight gold-ruled edge. Phones: the title on a sage band, the photo, then any other words
   (as on Kate's current pages). Wider: the words sit on the photo over a soft neutral shade (bottom left; page-hero--top: top left). */
.page-hero { position: relative; display: grid; grid-template-columns: var(--gutter) minmax(0, 1fr) var(--gutter); padding-top: 40px; color: var(--charcoal); background: var(--sage); }
.page-hero .wrap { display: contents; }
.page-hero .wrap > * { grid-column: 2; order: 3; }
.page-hero .wrap > .eyebrow, .page-hero .wrap > .page-hero__title { order: 1; }
.page-hero .wrap > :last-child:not(.page-hero__title) { margin-bottom: 40px; }
.page-hero__photo { grid-column: 1 / -1; order: 2; margin: 26px 0 0; }
.page-hero__photo img { width: 100%; height: auto; }
.eyebrow { font: 600 13px/1.3 "Poppins", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--charcoal); }
.page-hero__title { margin-top: 12px; font: 700 clamp(34px, 10vw, 86px)/1 "Poppins", sans-serif; letter-spacing: -.03em; color: var(--indigo); }
.page-hero__lede { margin-top: 18px; max-width: 36em; font: 500 clamp(17px, 2.2vw, 20px)/1.55 "Raleway", sans-serif; }
.page-hero .btns { margin-top: 26px; }
.page-hero .btn--line { color: var(--charcoal); border-color: var(--charcoal); }
.page-hero .btn--line:hover { background: var(--charcoal); color: var(--white); }
.page-hero--plain { padding-bottom: 56px; }

/* sections */
.sec { padding: 72px 0; }
.band-sage, .band-cream { padding: 84px 0 80px; }
.band-sage::before, .band-cream::before { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: 50% 50% 0 0 / 56px 56px 0 0; }
.band-sage::before { background: var(--pale-grey); }
.band-cream::before { background: var(--cotton); }
.band-flat::before { border-radius: 0; }
.sec-head { max-width: 46em; }
.sec-head .h3, .sec-head .lead { margin-top: 14px; }
.lead { font: 500 clamp(18px, 2.6vw, 21px)/1.55 "Raleway", sans-serif; color: var(--charcoal); }
.h4 { font: 600 20px/1.3 "Poppins", sans-serif; color: var(--sage-dark); letter-spacing: -.01em; }
.prose { max-width: 44em; }
.prose > * + * { margin-top: 16px; }
.prose > .h3, .prose > .h4 { margin-top: 30px; }
.prose ul:not(.plus), .prose ol:not(.steps) { display: grid; gap: 8px; }
.prose ul:not(.plus) > li { position: relative; padding-left: 24px; }
.prose ul:not(.plus) > li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.prose ol:not(.steps) { counter-reset: n; }
.prose ol:not(.steps) > li { position: relative; padding-left: 32px; counter-increment: n; }
.prose ol:not(.steps) > li::before { content: counter(n) "."; position: absolute; left: 0; font: 700 16px/1.65 "Poppins", sans-serif; color: var(--sage-dark); }
.prose strong { color: var(--sage-dark); }
.split { display: grid; gap: 44px; align-items: center; }
.media img { width: 100%; height: auto; border-radius: 22px; box-shadow: 0 30px 60px -36px rgba(51, 51, 51, .5); }
.media figcaption { margin-top: 10px; font-size: 14px; color: var(--charcoal); }
.arch-sm { width: min(84%, 380px); margin: 0 auto; }

/* cards */
.cards { display: grid; gap: 18px; margin-top: 36px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.card { position: relative; z-index: 2; background: var(--white); border-radius: 20px; padding: 26px 24px; box-shadow: 0 0 0 1px rgba(101, 122, 102, .1), 0 22px 44px -32px rgba(51, 51, 51, .4); }
.card > * + * { margin-top: 10px; }
.card h3 { font: 600 20px/1.25 "Poppins", sans-serif; color: var(--sage-dark); letter-spacing: -.01em; }
.card img { width: 100%; height: auto; border-radius: 14px; }
.card .arch__win img { height: 100%; border-radius: 0; } /* arch photos inside cards keep their shape */
.card--sage { background: var(--pale-grey); }
.card .num { margin-bottom: 4px; }

/* quotes */
.quotes { display: grid; gap: 18px; margin-top: 36px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); align-items: start; }
.quote { position: relative; z-index: 2; margin: 0; background: var(--white); border-radius: 20px; padding: 46px 26px 26px; box-shadow: 0 0 0 1px rgba(101, 122, 102, .1), 0 22px 44px -32px rgba(51, 51, 51, .4); }
.quote::before { content: "\201C"; position: absolute; left: 22px; top: 2px; font: 700 64px/1 "Poppins", sans-serif; color: var(--gold); }
.quote p { font-style: italic; }
.quote p + p { margin-top: 10px; }
.quote cite { display: block; margin-top: 16px; font: 600 14.5px/1.4 "Poppins", sans-serif; font-style: normal; color: var(--sage-dark); }

/* team */
.team { display: grid; gap: 52px 30px; margin-top: 44px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.person { position: relative; z-index: 2; }
.person .arch { width: min(86%, 300px); margin: 0 auto 0 14px; }
.person h3 { margin-top: 22px; font: 600 22px/1.2 "Poppins", sans-serif; color: var(--sage-dark); letter-spacing: -.01em; }
.person .role { margin-top: 4px; font: 600 14px/1.4 "Poppins", sans-serif; color: var(--indigo); }
.person p:not(.role) { margin-top: 10px; }
.bio summary { margin-top: 12px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font: 600 14px "Poppins", sans-serif; color: var(--sage-dark); list-style: none; }
.bio summary::-webkit-details-marker { display: none; }
.bio summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.bio[open] summary::after { transform: rotate(225deg); }
.bio summary:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 6px; }

/* questions that open and close */
.faq { margin-top: 30px; border-top: 1px solid rgba(101, 122, 102, .18); position: relative; z-index: 2; }
.faq details { border-bottom: 1px solid rgba(101, 122, 102, .18); }
.faq summary { position: relative; cursor: pointer; list-style: none; padding: 18px 46px 18px 0; font: 600 18px/1.4 "Poppins", sans-serif; color: var(--charcoal); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 6px; transition: transform .2s;
    background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M11 6v10M6 11h10' stroke='%23FFFFFF' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 3px solid var(--indigo); outline-offset: 2px; border-radius: 6px; }
.faq .answer { padding: 0 0 22px; }
/* closed answers and bios take no room at all (some browsers still lay out their hidden text) */
details:not([open]) > :not(summary) { display: none; }
.faq .answer > * + * { margin-top: 12px; }

/* tables (tuition) */
.table-wrap { position: relative; z-index: 2; margin-top: 28px; overflow-x: auto; border-radius: 18px; background: var(--white); box-shadow: 0 0 0 1px rgba(101, 122, 102, .12); }
.table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.table th, .table td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--pale-grey); }
.table thead th { background: var(--sage-dark); color: var(--white); font: 600 13.5px/1.3 "Poppins", sans-serif; letter-spacing: .04em; }
.table tbody th { font: 600 15px/1.35 "Poppins", sans-serif; color: var(--sage-dark); }
.table tr:last-child td, .table tr:last-child th { border-bottom: 0; }

/* embedded forms, maps, calendars */
.embed { position: relative; z-index: 2; margin-top: 30px; border-radius: 18px; overflow: hidden; background: var(--white); box-shadow: 0 0 0 1px rgba(101, 122, 102, .12), 0 26px 50px -36px rgba(51, 51, 51, .45); }
.embed iframe { display: block; width: 100%; border: 0; min-height: 640px; }
.embed--map iframe { min-height: 0; aspect-ratio: 4 / 3; height: auto; }
.embed--calendar iframe { min-height: 680px; }

/* photo grids */
.gallery { display: grid; gap: 12px; margin-top: 30px; grid-template-columns: repeat(2, 1fr); position: relative; z-index: 2; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.gallery--tall img { aspect-ratio: 4 / 5; }

/* a full image that carries text (calendar, tuition sheet): shown whole, never cropped */
.doc-img { position: relative; z-index: 2; margin-top: 30px; }
.doc-img img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 0 0 1px rgba(101, 122, 102, .12), 0 26px 50px -36px rgba(51, 51, 51, .45); }

@media (min-width: 760px) {
    .sec { padding: 100px 0; }
    .band-sage, .band-cream { padding: 120px 0 110px; }
    .band-sage::before, .band-cream::before { border-radius: 50% 50% 0 0 / 110px 110px 0 0; }
    .band-flat::before { border-radius: 0; }
    /* banners fit the window (Richard 2026-10-26): most pages get a shorter banner; Give, Wonder and Whole Child a big one
       that fills the window below the header. The photo covers the banner, placed per page (--focus, from a box drawn
       around the faces and the moment) so the rich part stays in view (Kate 2026-10-25). Phones keep the whole photo. */
    /* --keep (per page) = banner height, as a share of the window width, that keeps the faces box in view; the banner grows
       to it but never past the window, and inner pages always leave 120px of the page showing below */
    .page-hero:not(.page-hero--plain) { --hero-h: clamp(340px, max(38vw, var(--keep, 0) * 100vw), calc(100svh - var(--head-h) - 35px - 120px)); display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(var(--hero-h), auto) auto; padding: 0; color: var(--white); }
    .page-hero.page-hero--big:not(.page-hero--plain) { --hero-h: clamp(380px, max(56vw, var(--keep, 0) * 100vw), calc(100svh - var(--head-h) - 35px)); }
    .page-hero__photo { grid-area: 1 / 1; position: relative; margin: 0; }
    .page-hero__photo img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: var(--focus, 50% 40%); }
    /* a light shade on the photo only, behind the words, fading out before the middle: it never darkens the children */
    .page-hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .34) 36%, rgba(0, 0, 0, 0) 62%); }
    .page-hero:not(.page-hero--plain) .wrap { display: block; grid-area: 1 / 1; align-self: end; position: relative; z-index: 1; padding-top: 28px; padding-bottom: clamp(36px, 5vw, 76px); }
    .page-hero:not(.page-hero--plain) .wrap > * { margin-bottom: 0; }
    .page-hero.page-hero--top:not(.page-hero--plain) .wrap { align-self: start; padding: clamp(36px, 5vw, 76px) var(--gutter) 0; }
    .page-hero:not(.page-hero--plain) .eyebrow { color: var(--gold); }
    .page-hero:not(.page-hero--plain) .page-hero__title { color: var(--white); text-shadow: 0 2px 24px rgba(0, 0, 0, .22); }
    /* the shorter banners get a slightly smaller title, so it covers less of the photo (the reviewer found titles on faces) */
    .page-hero:not(.page-hero--big):not(.page-hero--plain):not(.page-hero--thanks) .page-hero__title { font-size: clamp(34px, 5vw, 72px); }
    .page-hero:not(.page-hero--big):not(.page-hero--plain) .wrap:not(.page-hero__after) { padding-bottom: clamp(26px, 2.6vw, 40px); } /* words sit lower, under the faces */
    .page-hero:not(.page-hero--plain) .btn--line { color: var(--white); border-color: var(--white); }
    .page-hero:not(.page-hero--plain) .btn--line:hover { background: var(--white); color: var(--charcoal); }
    /* words that would cover the people in the photo go just below it instead (page-hero__after), as on Kate's current pages */
    .page-hero:not(.page-hero--plain) .wrap.page-hero__after { grid-area: 2 / 1; position: static; padding: 32px var(--gutter) 44px; color: var(--charcoal); }
    .page-hero:not(.page-hero--plain) .page-hero__after .btn--line { color: var(--charcoal); border-color: var(--charcoal); }
    .page-hero:not(.page-hero--plain) .page-hero__after .btn--line:hover { background: var(--charcoal); color: var(--white); }
    .page-hero--plain { display: block; padding: 72px 0 64px; }
    .page-hero--plain .wrap { display: block; }
    .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
    .split { grid-template-columns: 1.15fr 1fr; gap: 64px; }
    .split--flip > :first-child { order: 2; }
}

/* the pop-up's real form */
.pop__embed { margin: 0 -8px; }
.pop__embed iframe { display: block; width: 100%; height: min(640px, calc(100dvh - 170px)); border: 0; }
