/* Homepage refinements; shared pages keep their own layouts. */
.home-page { --home-ink: #123a61; --home-muted: #587084; --home-line: #dfe8ef; }
.home-page [hidden] { display: none !important; }
.home-container { width: min(1200px, calc(100% - 3rem)); margin-inline: auto; }
.home-page main > section, .home-page #home-content { scroll-margin-top: 6rem; }
.home-skip { position: fixed; z-index: 200; top: -5rem; left: 1rem; padding: .8rem 1rem; background: #123a61; color: #fff; border-radius: 6px; }
.home-skip:focus { top: 1rem; }
.home-page .eyebrow { font-size: .65rem; letter-spacing: .13em; }
.home-hero-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.5rem; }
.home-hero-actions .hero-story-discover { margin: 0; }
.home-page .hero-cover-title { display: none; }
.home-hero-visit { display: inline-flex; align-items: center; gap: .7rem; min-height: 46px; color: inherit; font-size: .8rem; font-weight: 600; }
.home-hero-visit:hover { text-decoration: underline; text-underline-offset: 5px; }
.home-page .home-about { padding: 5.5rem 0; }
.home-page .home-about::before { display: none; }
.home-page .home-about-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); }
.home-page .home-about-visual { min-height: 450px; }
.home-page .home-about-photo { inset: 0 9% 0 0; border-radius: 14px; box-shadow: none; }
.home-page .home-about-photo-small { width: 44%; height: 44%; border-radius: 12px; border-width: 5px; box-shadow: 0 15px 30px #123a611a; }
.home-page .home-about-year { border-radius: 9px; background: #fff6e1; color: #795d2c; border-color: #e9d9b6; box-shadow: none; }
.home-page .home-about-year strong { color: #795d2c; }
.home-page .home-about-year span { color: #795d2c; }
.home-page .home-about-copy h2 { font-size: clamp(2.25rem, 3.6vw, 3.4rem); line-height: 1.12; margin: 1rem 0 1.5rem; }
.home-page .home-about-copy h2 em { color: #155be5; font-style: normal; }
.home-page .home-about-copy .home-about-lead { font-size: .98rem; font-weight: 500; }
.home-page .home-about-values { gap: .5rem; margin: 1.5rem 0; }
.home-page .home-about-values span { border: 0; background: #f0f6fa; font-size: .65rem; border-radius: 6px; }
.home-page .home-about-link { box-shadow: none; border-radius: 7px; }
.home-page .why-constellation { padding: 5rem 0; background: #f1f6fa; border: 0; }
.home-page .why-constellation::before, .home-page .why-constellation-orbit, .home-page .why-connector { display: none; }
.home-page .why-kicker { border: 0; background: transparent; box-shadow: none; padding: 0; }
.home-page .why-constellation h2 { color: var(--home-ink); font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: 1.15; }
.home-page .why-showcase-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr) minmax(0, .9fr); gap: 1.5rem; align-items: stretch; }
.home-page .why-feature-column { display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.home-page .why-feature-card { grid-template-columns: minmax(0, 1fr); gap: .8rem; padding: 1.4rem; border-radius: 12px; box-shadow: none; background: #fff; }
.home-page .why-feature-card:hover { box-shadow: 0 12px 25px #123a6110; }
.home-page .why-feature-icon { width: 44px; height: 44px; border-radius: 10px; box-shadow: none; }
.home-page .why-feature-card-3 .why-feature-icon { background: #526b9d; }
.home-page .why-feature-card-4 .why-feature-icon { background: #1f84c6; }
.home-page .why-feature-card-5 .why-feature-icon { background: #28a98b; }
.home-page .why-feature-card-6 .why-feature-icon { background: #c86436; }
.home-page .why-feature-card h3 { font-size: 1rem; }
.home-page .why-feature-card p { font-size: .82rem; line-height: 1.7; }
.home-page .why-feature-number { top: 1.5rem; left: auto; right: 1rem; border: 0; background: transparent; }
.home-page .why-campus-card { min-height: 530px; border-radius: 14px; border-width: 0; box-shadow: none; }
.home-page .why-campus-card figcaption { left: 1.5rem; right: 1.5rem; bottom: 5rem; }
.home-page .why-campus-card figcaption strong { font-size: 2rem; line-height: 1.15; }
.home-page .why-campus-dots { left: 1rem; right: auto; bottom: 1rem; gap: 0; }
.home-page .why-campus-dots button { display: grid; place-items: center; width: 44px; height: 44px; background: transparent; border: 0; box-shadow: none; }
.home-page .why-campus-dots button::after { content: ''; width: 8px; height: 8px; border-radius: 10px; background: #ffffff80; }
.home-page .why-campus-dots button.is-active::after { width: 22px; background: #f2b84b; }
.home-page .why-bottom-note { margin-top: 2rem; }
.home-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.home-section-heading h2, .home-faq h2 { font-size: clamp(2rem, 3.3vw, 3.2rem); line-height: 1.14; color: var(--home-ink); font-weight: 650; letter-spacing: -.045em; margin-top: .9rem; }
.home-section-heading > p { max-width: 24rem; color: var(--home-muted); font-size: .9rem; line-height: 1.8; }
.home-page #programs { background: linear-gradient(135deg, #f5f9fe, #edf5fb 55%, #f8fbfe); padding: 4.5rem 0; }
.home-page .programs-art-layer { opacity: .65; }
.home-page .programs-art-section::after { opacity: .15; }
.home-page #home-programs-title { font-size: clamp(2rem, 3vw, 2.8rem); }
.home-program-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.home-program-tabs { display: none; gap: .65rem; }
.home-enhanced .home-program-tabs { display: grid; }
.home-program-tabs .program-tab { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 60px; padding: 1.05rem; border: 1px solid var(--home-line); border-radius: 8px; color: var(--home-muted); font-size: .8rem; font-weight: 600; line-height: 1.5; text-align: left; background: #fff; }
.home-program-tabs .program-tab:hover { background: #f4f8fc; color: #155be5; }
.home-program-tabs .program-tab[aria-selected="true"] { background: #123a61; border-color: #123a61; color: #fff; }
.home-page .programs-content-card { min-width: 0; padding: 1.75rem; border: 1px solid var(--home-line); border-radius: 18px; background: #fff; box-shadow: 0 16px 45px #123a610a; }
.home-program-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 1.75rem; }
.home-program-copy, .home-program-visual { min-width: 0; }
.home-program-copy h3 { font-size: 1.5rem; color: var(--home-ink); }
.home-program-copy > .flex > div:last-child { display: none; }
.home-program-copy .home-text-link { margin-top: 1.6rem; }
.home-program-visual .slider { aspect-ratio: 4 / 3; border: 0; border-radius: 12px; background: #edf3f8; }
.home-program-visual .slider-track { position: absolute; inset: 0; }
.home-program-visual .slider-track > div { flex: 0 0 100%; min-width: 0; }
.home-program-visual .slider img { object-fit: contain; }
.home-program-visual [data-prev], .home-program-visual [data-next] { width: 44px; height: 44px; }
.home-program-visual [data-dots] { bottom: .25rem; gap: 0; }
.home-slider-dot { width: 32px; height: 44px; display: grid; place-items: center; }
.home-slider-dot::after { content: ''; width: 6px; height: 6px; border-radius: 10px; background: #ffffff90; box-shadow: 0 1px 4px #0005; }
.home-slider-dot[aria-current="true"]::after { width: 18px; background: white; }
.home-page:not(.home-enhanced) .home-program-layout { grid-template-columns: 1fr; }
.home-page:not(.home-enhanced) .home-program-panel + .home-program-panel { margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--home-line); }
.home-page:not(.home-enhanced) [data-expand], .home-page:not(.home-enhanced) [data-prev], .home-page:not(.home-enhanced) [data-next], .home-page:not(.home-enhanced) .why-campus-dots { display: none; }
.home-text-link { display: inline-flex; align-items: center; gap: .7rem; min-height: 44px; color: #155be5; font-size: .8rem; font-weight: 650; }
.home-text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.home-page .home-leadership { padding: 4.5rem 0; background: #f0f6fa; border: 0; }
.home-leadership > div { gap: 4rem; }
.home-leadership h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); color: var(--home-ink); }
.home-leadership > div > div:last-child { border: 0; box-shadow: none; border-radius: 12px; height: 390px; }
.home-leadership img { object-position: center 25%; }
/* Holy Vision's own crest gives the achievement section its identity. */
.home-achievers { position: relative; isolation: isolate; overflow: hidden; padding: clamp(3.5rem, 6vw, 5rem) 0; color: var(--home-ink); background: #f5f8fc; border-block: 1px solid #e1e9f1; }
.home-achievers-watermark { position: absolute; z-index: -1; pointer-events: none; user-select: none; width: clamp(520px, 58vw, 940px); max-width: none; height: auto; top: 50%; right: -12%; transform: translateY(-50%) rotate(-8deg); opacity: .065; filter: grayscale(1); mix-blend-mode: multiply; }
.home-achievers-heading { display: flex; align-items: end; justify-content: space-between; gap: 2.5rem; margin-bottom: 2.75rem; }
.home-achievers-kicker { display: flex; align-items: center; gap: .75rem; margin: 0; color: #2360a5; font-size: .7rem; font-weight: 650; text-transform: uppercase; letter-spacing: .13em; }
.home-achievers-kicker::before { content: ''; width: 28px; height: 2px; background: #d8aa50; }
.home-achievers-heading h2 { margin: 1rem 0 0; color: var(--home-ink); font-size: clamp(2.2rem, 3.5vw, 3.4rem); font-weight: 650; line-height: 1.12; letter-spacing: -.04em; }
.home-achievers-heading h2 span { color: #2467af; }
.home-achievers-intro { max-width: 24rem; color: #526c82; font-size: .9rem; line-height: 1.85; }
.home-achievers-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.home-achiever { min-width: 0; margin: 0; padding: .65rem; border: 1px solid #dce6ef; border-radius: 14px; background: #ffffffed; }
.home-achiever-photo { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 8px; background: linear-gradient(150deg, #e4edf5, #cdddeb); }
.home-achiever-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.home-achiever-placeholder { display: block; width: 100%; height: 100%; fill: #9eb8ce; }
.home-achiever-number { position: absolute; top: .7rem; left: .7rem; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #fff; border-radius: 50%; color: #345976; background: #ffffffb3; font-size: .65rem; font-weight: 600; }
.home-achiever figcaption { padding: 1.15rem .6rem .75rem; }
.home-achiever h3 { margin: 0 0 .4rem; color: var(--home-ink); font-size: 1rem; font-weight: 650; line-height: 1.4; overflow-wrap: anywhere; }
.home-achiever figcaption p { margin: 0; color: #597286; font-size: .8rem; line-height: 1.65; }
.home-achiever .home-achiever-year { margin-top: .25rem; color: #2360a5; font-weight: 600; }
.home-achievers-footer { margin-top: 2rem; display: flex; justify-content: flex-end; }
.home-achievers-more { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 46px; padding: .75rem 1.1rem; border: 1px solid #cadceb; border-radius: 7px; color: #164d82; background: #fff; font-size: .85rem; font-weight: 600; }
.home-achievers-more > span { font-size: 1.2rem; line-height: 1; transition: transform .2s ease; }
.home-achievers-more:hover { background: #eaf3fc; border-color: #94b4cf; }
.home-achievers-more:hover > span { transform: translateX(4px); }
.home-achievers-more:focus-visible { outline: 3px solid #3076d5; outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .home-achievers-more > span { transition: none; } }
/* A clear family notice board, followed by news from campus. */
.home-page .updates-hub { background: #f7fafc; border-color: var(--home-line); padding-block: 4.5rem; }
.home-page .updates-heading h2 { font-size: clamp(2rem, 3.3vw, 3rem); letter-spacing: -.04em; }
.home-page .updates-heading > p { max-width: 27rem; font-size: .9rem; }
.home-page .updates-filter-bar { padding: .65rem; margin-bottom: .85rem; background: #fff; border: 1px solid var(--home-line); border-radius: 12px; }
.home-page .updates-filters button { font-size: .8rem; border-radius: 7px; }
.home-page .updates-filters button > span { min-width: 1.4rem; height: 1.4rem; font-size: .65rem; }
.home-page .updates-calendar { padding-inline: .65rem; font-size: .8rem; }
.updates-status { margin-bottom: 1.5rem; color: #587084; font-size: .78rem; line-height: 1.6; }
.home-page .updates-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.home-page .updates-layout:not([data-view="all"]) { grid-template-columns: minmax(0, 1fr); }
.home-page .updates-panel { padding: 1.75rem; border: 1px solid var(--home-line); border-radius: 14px; background: #fff; }
.home-page .updates-notices { background: #fffbf2; border-color: #eadfc5; color: var(--home-ink); }
.home-page .updates-board-icon { color: #906314; background: #f9ebc9; border-color: #ebd9ab; border-radius: 10px; }
.home-page .updates-board-heading { margin-bottom: 1rem; }
.home-page .updates-board-heading > div > span { color: #776647; font-size: .65rem; }
.home-page .updates-board-heading h3 { color: var(--home-ink); font-size: 1.3rem; }
.home-page .updates-notice { border-color: #e9dfca; padding-block: 1rem; }
.home-page .updates-notice small { color: #846326; font-size: .73rem; }
.home-page .updates-notice strong { color: var(--home-ink); font-weight: 600; font-size: 1rem; }
.home-page .updates-expand { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: #f6e9ca; color: #795711; }
.home-page .updates-notice-body { color: #5e625d; }
.home-page .updates-notice-body a, .home-page .updates-office-link { color: #775312; font-size: .8rem; border-color: #e9dfca; }
.home-page .updates-story { border: 0; border-radius: 0; }
.home-page .updates-story + .updates-story { padding-top: 1.5rem; border-top: 1px solid var(--home-line); }
.home-page .updates-story-photo { aspect-ratio: 2 / 1; border-radius: 9px; }
.home-page .updates-story-copy { padding: 1.25rem 0 0; }
.home-page .updates-story-copy h4 { font-size: 1.45rem; }
.home-page .updates-date { font-size: .73rem; }
.home-page .updates-story-details p, .home-page .updates-notice-body p, .home-page .updates-announcement-body p { font-size: .9rem; }
.home-page .updates-story-details summary, .home-page .updates-text-link { font-size: .8rem; }
.home-page .updates-event { padding-block: 1rem; }
.home-page .updates-event-date { font-size: .75rem; background: #edf4fc; border-radius: 9px; }
.home-page .updates-event-copy > span, .home-page .updates-event-copy small { font-size: .76rem; }
.home-page .updates-calendar-note { font-size: .75rem; }
.home-page .updates-announcements { background: #edf5ff; border-color: #d3e3f6; }
.home-page .updates-announcement-prompt { font-size: .8rem; min-height: 44px; }
.home-page .updates-announcement[open] .updates-announcement-prompt > span { transform: rotate(45deg); }
.home-page .updates-filters button:focus-visible, .home-program-tabs .program-tab:focus-visible, .home-faq-item summary:focus-visible { outline: 3px solid #3076d5; outline-offset: 3px; }
.home-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4rem; padding-block: 5rem; }
.home-faq-intro > p { color: var(--home-muted); font-size: .9rem; line-height: 1.8; margin: 1.2rem 0 .7rem; max-width: 23rem; }
.home-faq-item { border-bottom: 1px solid var(--home-line); }
.home-faq-item:first-child { border-top: 1px solid var(--home-line); }
.home-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.4rem 0; list-style: none; cursor: pointer; font-size: .9rem; line-height: 1.6; font-weight: 600; color: var(--home-ink); }
.home-faq-item summary::-webkit-details-marker { display: none; }
.home-faq-item summary > .faq-toggle { display: grid; place-items: center; width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; background: #edf5ff; color: #155be5; }
.home-faq-item summary > .faq-toggle::after { content: '+'; font-size: 1.15rem; font-weight: 400; }
.home-faq-item[open] summary > .faq-toggle::after { content: '−'; }
.home-faq-item > p { padding: 0 2.5rem 1.5rem 0; color: var(--home-muted); line-height: 1.85; font-size: .85rem; }
.home-visit { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); background: #123a61; color: #fff; border-radius: 14px; overflow: hidden; margin-bottom: 5rem; }
.home-visit-copy { padding: clamp(2rem, 4vw, 3.5rem); }
.home-visit .eyebrow { color: #c3ddff; }
.home-visit h2 { margin: 1.2rem 0; font-size: clamp(2rem, 3.4vw, 3.15rem); line-height: 1.12; color: #fff; font-weight: 600; letter-spacing: -.04em; }
.home-visit-copy > p { max-width: 29rem; color: #d0dfeb; line-height: 1.8; font-size: .9rem; }
.home-visit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 1.75rem; }
.home-primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 48px; padding: .9rem 1.15rem; border-radius: 7px; color: #123a61; background: #f4c970; font-size: .8rem; font-weight: 650; }
.home-primary-button:hover { background: #ffdc99; }
.home-visit .home-text-link { color: #fff; }
.home-visit-location { display: flex; align-items: center; gap: .5rem; margin-top: 2rem; color: #c3d6e6; font-size: .7rem; }
.home-visit-photo { position: relative; min-height: 360px; }
.home-visit-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-visit-photo::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, #0c2947cc); }
.home-visit-photo figcaption { position: absolute; z-index: 1; bottom: 1.5rem; left: 1.5rem; right: 1.5rem; color: #fff; font-size: .8rem; }
.home-image-viewer { width: 100%; max-width: none; height: 100%; max-height: none; padding: 4rem 1.5rem 3rem; margin: 0; border: 0; color: #fff; background: #071724f7; }
.home-image-viewer::backdrop { background: #071724; }
.home-image-viewer > img { display: block; width: 100%; height: calc(100% - 2.5rem); object-fit: contain; }
.home-image-viewer > button { position: absolute; top: 1rem; right: 1rem; width: 44px; height: 44px; background: #ffffff20; border-radius: 50%; color: white; }
.home-image-viewer > p { text-align: center; font-size: .85rem; margin-top: 1rem; }
@media (max-width: 1023px) {
    .home-page .home-about-grid { gap: 2rem; }
    .home-page .why-showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-page .why-campus-card { min-height: 400px; grid-column: 1 / -1; grid-row: 1; }
    .home-page .why-feature-card { flex: 1; }
    .home-program-layout { grid-template-columns: minmax(0, 1fr); }
    .home-program-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .home-program-tabs .program-tab { padding: .9rem; }
    .home-faq { gap: 2.5rem; }
}
@media (max-width: 767px), (max-height: 600px) {
    .home-page .home-hero-track { background: #f7f7f7; }
    .home-page .hero-story { padding: 12px; background: #f7f7f7; }
    /* Match the campus photo's proportions so neither building is cropped. */
    .home-page .hero-story-cover { position: relative; z-index: 0; inset: auto; height: auto; aspect-ratio: 4 / 3; border-radius: 12px 12px 0 0; }
    .home-page .hero-story-cover::after { background: linear-gradient(#17171766, transparent 55%); }
    .home-page .hero-story-cover img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
    .home-page .hero-story-foreground { min-height: 0; padding: 2.25rem 1.1rem 2.5rem; display: flex; flex-direction: column; align-items: center; color: #262626; background: #f7f7f7; border-radius: 0 0 12px 12px; }
    .home-page .hero-story-eyebrow { margin-bottom: 18px; color: #595959; }
    .home-page .hero-story h1 { font-size: clamp(2.1rem, 8vw, 3.3rem); line-height: 1.08; overflow-wrap: anywhere; }
    .home-page .hero-story-intro { max-width: 24rem; color: #595959; font-size: .88rem; }
    .home-page .hero-story-discover { background: #262626; color: #ffffff; }
    .home-page .hero-story-discover:hover { background: #404040; }
    .home-page .hero-story-photos { display: none; }
    .home-page .hero-cover-caption { font-size: .55rem; max-width: calc(100% - 3rem); line-height: 1.6; }
}
@media (max-width: 767px) {
    .home-achievers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.25rem; }
    .home-achievers-kicker { font-size: .65rem; }
    .home-achievers-heading { display: block; margin-bottom: 2rem; }
    .home-achievers-intro { margin-top: 1.25rem; max-width: 30rem; }
    .home-achievers-watermark { width: 620px; right: -330px; opacity: .05; }
    .home-achievers-footer { justify-content: flex-start; }
    .home-achiever h3 { font-size: .82rem; }
    .home-container { width: calc(100% - 2rem); }
    .home-page main > section, .home-page #home-content { scroll-margin-top: 5rem; }
    .home-page main .max-w-7xl { padding-inline: 1rem; }
    .home-page .home-about, .home-page .why-constellation, .home-page #programs, .home-page .home-leadership { padding-block: 3.5rem; }
    .home-page .home-about-grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
    .home-page .home-about-visual { min-height: clamp(280px, 75vw, 440px); }
    .home-page .home-about-copy h2 { font-size: clamp(2rem, 7.5vw, 2.7rem); }
    .home-page .home-about-copy > p { font-size: .9rem; }
    .home-page .why-feature-card { padding: 1.2rem; }
    .home-page .why-campus-card { min-height: 0; height: clamp(290px, 80vw, 410px); }
    .home-page .why-constellation h2 { max-width: none; }
    .home-section-heading { display: block; margin-bottom: 1.75rem; }
    .home-section-heading > p { margin-top: 1rem; max-width: none; }
    .home-section-heading h2, .home-faq h2 { font-size: clamp(2rem, 7vw, 2.7rem); }
    .home-program-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
    .home-program-tabs .program-tab { font-size: .76rem; min-height: 64px; }
    .home-page .programs-content-card { padding: 1.25rem; }
    .home-program-content { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
    .home-program-visual .slider { aspect-ratio: 4 / 3; }
    .home-program-copy h3 { font-size: 1.4rem; }
    .home-page .updates-layout, .home-page .updates-layout[data-view="news"] .updates-news-list { grid-template-columns: minmax(0, 1fr); }
    .home-page .updates-panel { padding: 1.25rem; }
    .home-page .updates-filters { width: 100%; gap: .35rem; }
    .home-page .updates-filters button { flex: 1 1 auto; padding-inline: .7rem; }
    .home-page .updates-hub { padding-block: 3.5rem; }
    .home-leadership > div { gap: 2rem; }
    .home-leadership > div > div:last-child { height: 350px; }
    .home-faq { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; padding-block: 3.5rem; }
    .home-faq-intro > p { max-width: none; }
    .home-visit { grid-template-columns: minmax(0, 1fr); margin-bottom: 3.5rem; }
    .home-visit-copy { padding: 2rem 1.5rem; }
    .home-visit-photo { min-height: 250px; }
}
@media (max-width: 599px) {
    .home-page .why-showcase-grid { grid-template-columns: minmax(0, 1fr); }
    .home-page .why-feature-card { grid-template-columns: 44px minmax(0, 1fr); }
    .home-visit-actions { align-items: stretch; flex-direction: column; }
    .home-visit-actions .home-text-link { justify-content: center; }
}

@media (max-width: 379px) {
    .home-achievers-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Desktop hero: keep the story centered and the school-life photos in frame. */
@media (min-width: 1024px) and (min-height: 601px) {
    .home-page .hero-story { background: #102a36; }
    .home-page .hero-story-campus::after,
    .home-page .hero-story-cover::after {
        background:
            radial-gradient(ellipse at 50% 48%, #10232f99 0%, #10232f35 62%, transparent 100%),
            linear-gradient(180deg, #0b233744 0%, #0b23375c 35%, #0b2337b8 100%);
    }
    .home-page .hero-cover-caption {
        top: 30px;
        left: 4%;
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: .65rem;
        letter-spacing: .18em;
    }
    .home-page .hero-cover-caption::before {
        content: '';
        width: 24px;
        height: 2px;
        background: #f2ce8b;
    }
    .home-page .hero-story-foreground {
        top: 49%;
        left: 50%;
        width: min(50%, 52rem);
        transform: translate(-50%, -50%);
    }
    .home-page .has-motion .hero-story-foreground {
        transform: translate(-50%, calc(-50% - var(--home-motion, 0) * 24px));
    }
    .home-page .hero-story-eyebrow {
        margin-bottom: clamp(20px, 3vh, 32px);
        color: #f2d6a2;
        font-size: .66rem;
        letter-spacing: .24em;
    }
    .home-page .hero-story-eyebrow::before,
    .home-page .hero-story-eyebrow::after { width: 32px; opacity: .5; }
    .home-page .hero-story h1 {
        max-width: 12ch;
        margin-inline: auto;
        font-size: clamp(3.5rem, 5.5vw, 6.5rem);
        font-weight: 600;
        line-height: 1.04;
        letter-spacing: -.055em;
        text-shadow: 0 4px 32px #071c2933;
    }
    .home-page .hero-story-intro {
        max-width: 30rem;
        margin-top: clamp(20px, 3vh, 32px);
        color: #ffffffde;
        font-size: clamp(.9rem, 1.05vw, 1.1rem);
        line-height: 1.8;
    }
    .home-page .home-hero-actions { gap: 14px; margin-top: clamp(24px, 4vh, 38px); }
    .home-page .hero-story-discover {
        min-height: 54px;
        padding: 15px 25px;
        gap: 24px;
        border-radius: 7px;
        color: #123a61;
        box-shadow: 0 8px 28px #071c2926;
        font-size: .82rem;
    }
    .home-page .hero-story-discover:hover { background: #fff4dd; }
    .home-page .home-hero-visit {
        justify-content: center;
        min-height: 54px;
        padding: 14px 22px;
        border: 1px solid #ffffff66;
        border-radius: 7px;
        background: #102a4329;
        font-size: .82rem;
        transition: background .2s, border-color .2s;
    }
    .home-page .home-hero-visit:hover {
        background: #ffffff1f;
        border-color: #ffffffb3;
        text-decoration: none;
    }
    .home-page .hero-story-photo {
        display: grid;
        grid-template-rows: minmax(0, 1fr) auto;
        width: clamp(150px, 17vw, 300px);
        height: 30%;
        border: 6px solid #fff;
        border-radius: 9px;
        box-shadow: 0 18px 42px #061c344d;
        rotate: var(--photo-tilt, 0deg);
    }
    .home-page .hero-story-photo img { height: 100%; min-height: 0; }
    .home-page .hero-story-photo figcaption {
        position: static;
        display: flex;
        align-items: center;
        justify-content: center;
        width: auto;
        height: auto;
        min-height: 30px;
        padding: 6px 4px 2px;
        overflow: visible;
        line-height: 1.4;
        text-align: center;
        clip-path: none;
        color: #425566;
        font-size: clamp(.6rem, .65vw, .75rem);
        font-weight: 500;
        letter-spacing: .015em;
        white-space: normal;
    }
    .home-page .hero-photo-1 { top: 17%; left: 4%; --photo-tilt: -5deg; }
    .home-page .hero-photo-2 { top: 14%; right: 4%; --photo-tilt: 5deg; }
    .home-page .hero-photo-3 { top: 57%; left: 5%; height: 27%; --photo-tilt: 4deg; }
    .home-page .hero-photo-4 { top: 55%; right: 5%; height: 27%; --photo-tilt: -4deg; }
    .home-page .hero-photo-5 { top: 112%; left: 4%; --photo-tilt: -4deg; }
    .home-page .hero-photo-6 { top: 112%; right: 4%; --photo-tilt: 4deg; }
    /* Bring the last pair fully into view before the pinned scene ends. */
    .home-page .has-motion .hero-photo-5,
    .home-page .has-motion .hero-photo-6 {
        transform: none;
        translate: 0 calc(var(--home-motion, 0) * -190%);
    }
    .home-page .hero-story-footnote {
        left: 26%;
        right: 26%;
        flex-wrap: wrap;
        bottom: 24px;
        align-items: center;
        padding-top: 18px;
        color: #ffffffc7;
        font-size: .6rem;
        letter-spacing: .15em;
    }
    .home-page .hero-scroll-label { display: inline-flex; align-items: center; gap: 14px; }
    .home-page .hero-scroll-label > span {
        display: grid;
        place-items: center;
        width: 30px;
        height: 30px;
        padding: 0;
        border: 1px solid #ffffff66;
        border-radius: 50%;
        font-size: .9rem;
    }
    .home-page .home-hero-progress { display: none; }
}
@media (min-width: 1024px) and (min-height: 601px) and (max-height: 750px) {
    .home-page .hero-story h1 { font-size: clamp(3.5rem, 4.8vw, 5rem); }
    .home-page .hero-story-eyebrow { margin-bottom: 16px; }
    .home-page .hero-story-intro { margin-top: 18px; }
    .home-page .home-hero-actions { margin-top: 22px; }
    .home-page .hero-story-footnote { bottom: 16px; padding-top: 12px; }
}
@media (min-width: 1024px) and (prefers-reduced-motion: reduce) {
    .home-page .home-hero-visit { transition: none; }
}
