:root {
    --navy-institutional: #1E3A8A;
    --red-accent: #B91C1C;
    --soft-blue: #F8FAFC;
    --sand-warm: #f3ede3;
    --ink-soft: #334155;
    --terracotta: #b74a2f;
    --internal-hero-bg:
        radial-gradient(circle at 12% 18%, rgba(183, 74, 47, 0.18), transparent 28%),
        radial-gradient(circle at 88% 16%, rgba(30, 58, 138, 0.18), transparent 32%),
        linear-gradient(135deg, #f2ece2 0%, #fff9f1 50%, #e4ecfb 100%);
}

@font-face {
    font-family: 'KeshiaLocal';
    src:
        url('./resources/keshia_2/Keshia.ttf') format('truetype'),
        url('./resources/keshia_2/Keshia.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.font-serif { font-family: 'Instrument Serif', serif; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; }

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

html.mobile-menu-open,
html.mobile-menu-open body {
    overflow: hidden;
    overscroll-behavior: none;
}

html.mobile-menu-open .virtual-assistant,
html.anchor-sheet-open .virtual-assistant {
    display: none;
}

html.mobile-menu-open #main-header {
    z-index: 90;
}

html.mobile-menu-open .anchor-nav {
    display: none;
}

html.anchor-sheet-open,
html.anchor-sheet-open body {
    overflow: hidden;
    overscroll-behavior: none;
}

.contact-page {
    padding-top: var(--site-header-height, 7rem);
    background: #ffffff;
}

.contact-hero {
    padding: clamp(3.5rem, 7vw, 6.5rem) 0 4rem;
    background: var(--internal-hero-bg);
}

.contact-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.72fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.contact-hero-copy h1,
.contact-section-heading h2,
.contact-map-heading h2 {
    color: #0f172a;
    font-family: 'Instrument Serif', serif;
    line-height: 0.98;
}

.contact-hero-copy h1 {
    margin-top: 1rem;
    max-width: 54rem;
    font-size: clamp(3rem, 6vw, 6rem);
}

.contact-hero-copy p {
    max-width: 42rem;
    margin-top: 1.35rem;
    color: #475569;
    font-size: clamp(1.02rem, 1.4vw, 1.2rem);
    line-height: 1.75;
}

.contact-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.contact-primary-button,
.contact-secondary-button,
.contact-submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 3.35rem;
    border-radius: 9999px;
    padding: 0.9rem 1.35rem;
    font-size: 0.86rem;
    font-weight: 800;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.contact-primary-button,
.contact-submit-button {
    background: var(--navy-institutional);
    color: #fff;
    box-shadow: 0 22px 45px -35px rgba(30, 58, 138, 0.7);
}

.contact-secondary-button {
    border: 1px solid rgba(30, 58, 138, 0.22);
    background: rgba(255, 255, 255, 0.72);
    color: var(--navy-institutional);
}

.contact-primary-button:hover,
.contact-submit-button:hover {
    background: var(--red-accent);
    transform: translateY(-1px);
}

.contact-secondary-button:hover {
    border-color: rgba(183, 74, 47, 0.38);
    color: var(--red-accent);
    transform: translateY(-1px);
}

.contact-primary-button svg,
.contact-secondary-button svg,
.contact-submit-button svg {
    width: 1.05rem;
    height: 1.05rem;
}

.contact-hero-panel,
.contact-form-panel,
.contact-info-panel,
.contact-map-frame {
    border: 1px solid #e6edf5;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 34px 80px -58px rgba(15, 23, 42, 0.56);
}

.contact-hero-panel {
    display: grid;
    gap: 0.85rem;
    border-radius: 1.75rem;
    padding: 1rem;
}

.contact-mini-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 1.1rem;
    background: #f8fafc;
}

.contact-mini-card svg,
.contact-info-item svg,
.contact-note svg {
    flex: 0 0 auto;
    color: var(--terracotta);
}

.contact-mini-card span,
.contact-info-item small {
    display: block;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    line-height: 1.35;
    text-transform: uppercase;
}

.contact-mini-card strong {
    display: block;
    margin-top: 0.25rem;
    color: #0f172a;
    font-size: 1rem;
    line-height: 1.35;
}

.contact-mini-card p {
    margin-top: 0.2rem;
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.45;
}

.contact-main-section {
    padding: 5rem 0;
}

.contact-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem);
    gap: 1.5rem;
    align-items: start;
}

.contact-form-panel,
.contact-info-panel {
    border-radius: 1.75rem;
    padding: clamp(1.4rem, 3.2vw, 2.5rem);
}

.contact-section-heading {
    max-width: 44rem;
    margin-bottom: 1.5rem;
}

.contact-section-heading h2,
.contact-map-heading h2 {
    margin-top: 0.65rem;
    font-size: clamp(2.35rem, 4vw, 4.1rem);
}

.contact-section-heading p,
.contact-map-heading p {
    margin-top: 0.9rem;
    color: #475569;
    line-height: 1.7;
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.contact-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.contact-form label {
    display: grid;
    gap: 0.45rem;
}

.contact-form label span {
    color: #334155;
    font-size: 0.82rem;
    font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid #dbe4ef;
    border-radius: 0.95rem;
    background: #fbfdff;
    color: #0f172a;
    font: inherit;
    outline: none;
    padding: 0.9rem 1rem;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-form textarea {
    resize: vertical;
    min-height: 9rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: rgba(30, 58, 138, 0.72);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
}

.contact-submit-button {
    width: fit-content;
    border: 0;
    cursor: pointer;
}

.contact-form-message {
    color: #15803d;
    font-size: 0.9rem;
    font-weight: 800;
}

.contact-form-message-error {
    color: #b91c1c;
}

.contact-info-panel {
    position: sticky;
    top: calc(var(--site-header-height, 7rem) + 1rem);
}

.contact-info-panel h2 {
    color: #0f172a;
    font-family: 'Instrument Serif', serif;
    font-size: 2.4rem;
    line-height: 1;
}

.contact-info-list {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.25rem;
}

.contact-info-item {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 1rem;
    background: #f8fafc;
    color: #0f172a;
    font-weight: 800;
    line-height: 1.45;
}

a.contact-info-item:hover {
    color: var(--navy-institutional);
}

.contact-info-item small {
    margin-bottom: 0.25rem;
}

.contact-note {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e6edf5;
    color: #64748b;
    font-size: 0.94rem;
    line-height: 1.6;
}

.contact-map-section {
    padding: 0 0 6rem;
}

.contact-map-heading {
    max-width: 46rem;
    margin-bottom: 1.5rem;
}

.contact-map-frame {
    overflow: hidden;
    border-radius: 1.75rem;
    min-height: 24rem;
}

.contact-map-frame iframe {
    display: block;
    width: 100%;
    min-height: 24rem;
}

.admissions-page {
    padding-top: var(--site-header-height, 7rem);
    background: #ffffff;
}

.admissions-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: min(52svh, 30rem);
    overflow: hidden;
    padding: clamp(3.5rem, 7vw, 5.5rem) 0;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.78) 0%, rgba(15, 23, 42, 0.55) 42%, rgba(15, 23, 42, 0.16) 100%),
        url("img/saludo-gandhi.jpg") center center / cover no-repeat;
}

.admissions-hero-content {
    max-width: 48rem;
    color: #ffffff;
}

.admissions-hero h1 {
    margin-top: 1rem;
    font-family: 'Instrument Serif', serif;
    font-size: 6rem;
    line-height: 0.94;
    white-space: nowrap;
}

.admissions-hero p:not(.section-kicker) {
    max-width: 38rem;
    margin-top: 1.2rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 2rem;
    line-height: 1.3;
}

.admissions-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 3.35rem;
    margin-top: 2rem;
    border-radius: 9999px;
    background: #ffffff;
    color: var(--navy-institutional);
    padding: 0.9rem 1.35rem;
    font-size: 0.86rem;
    font-weight: 800;
    box-shadow: 0 22px 45px -35px rgba(15, 23, 42, 0.7);
    transition: transform 180ms ease, background 180ms ease;
}

.admissions-hero-button:hover {
    background: #f6efe6;
    transform: translateY(-1px);
}

.admissions-hero-button svg {
    width: 1.05rem;
    height: 1.05rem;
}

.admissions-field {
    display: grid;
    gap: 0.45rem;
}

.admissions-field span {
    color: #334155;
    font-size: 0.82rem;
    font-weight: 800;
}

.admissions-form textarea {
    resize: vertical;
}

.admissions-children-fields {
    display: grid;
    gap: 1rem;
}

.admissions-add-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: fit-content;
    border: 1px solid rgba(30, 58, 138, 0.18);
    border-radius: 9999px;
    background: #f8fafc;
    color: var(--navy-institutional);
    padding: 0.75rem 1rem;
    font-size: 0.82rem;
    font-weight: 800;
    transition: background 180ms ease, transform 180ms ease;
}

.admissions-add-child:hover {
    background: #eef3fb;
    transform: translateY(-1px);
}

.admissions-add-child svg {
    width: 1rem;
    height: 1rem;
}

@media (max-width: 1023px) {
    .contact-hero-grid,
    .contact-content-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-panel {
        position: static;
    }

    .admissions-hero h1 {
        font-size: 4.6rem;
    }

    .admissions-hero p:not(.section-kicker) {
        font-size: 1.7rem;
    }
}

@media (max-width: 640px) {
    .contact-hero {
        padding-top: 3rem;
    }

    .contact-hero-actions,
    .contact-primary-button,
    .contact-secondary-button,
    .contact-submit-button {
        width: 100%;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .contact-main-section {
        padding: 3.5rem 0;
    }

    .admissions-hero h1 {
        font-size: 2.2rem;
    }

    .admissions-hero p:not(.section-kicker) {
        font-size: 1.45rem;
    }
}

@media (max-width: 380px) {
    .admissions-hero h1 {
        font-size: 1.95rem;
    }
}

.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 0.85rem;
}

.nav-dropdown > .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-dropdown > button.nav-link {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    font-family: inherit;
    line-height: inherit;
    cursor: default;
}

.nav-dropdown-icon {
    width: 0.9rem;
    height: 0.9rem;
    stroke-width: 2.4;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    min-width: 15rem;
    padding: 0.55rem;
    border: 1px solid #e8edf4;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 70px -42px rgba(15, 23, 42, 0.48);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -0.35rem);
    transition: opacity 180ms ease, transform 180ms ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.75rem 0.85rem;
    border-radius: 0.75rem;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.2;
}

.nav-dropdown-menu a:hover {
    background: #f8fafc;
    color: var(--navy-institutional);
}

.mobile-menu-accordion {
    display: grid;
    gap: 0;
}

.mobile-menu-parent-label {
    width: 100%;
    color: #0f172a;
    text-align: left;
}

.mobile-menu-parent-label svg {
    transition: transform 220ms ease;
}

.mobile-menu-accordion.is-open .mobile-menu-parent-label svg {
    transform: rotate(180deg);
}

.mobile-subnav-panel {
    display: grid;
    gap: 0.65rem;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    transition: max-height 260ms ease, opacity 180ms ease, padding-top 220ms ease;
}

.mobile-menu-accordion.is-open .mobile-subnav-panel {
    max-height: 14rem;
    opacity: 1;
    padding-top: 0.85rem;
}

.mobile-subnav-link {
    margin: 0 0 0 1.25rem;
    min-height: 3rem;
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border: 1px solid #eef2f7;
    border-radius: 0.95rem;
    background: #f8fafc;
    color: #475569;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.2;
}

.hero-human-word {
    display: inline-block;
    color: var(--navy-institutional);
    font-family: 'KeshiaLocal', 'Brush Script MT', cursive !important;
    font-size: 1.32em;
    font-weight: 400 !important;
    letter-spacing: 0.01em;
    transform: none;
}

.foundational-motto-quote {
    font-family: 'KeshiaLocal', 'Brush Script MT', cursive;
    font-size: clamp(3.35rem, calc(6vw + 8px), 6.2rem);
    font-weight: 400;
    letter-spacing: 0.01em;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

#main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.header-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.header-scrolled .header-main-row {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

#mobile-menu {
    top: calc(var(--site-header-height, 0px) - 2px);
    bottom: auto;
    height: calc(100dvh - var(--site-header-height, 0px) + 2px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, -0.85rem, 0) scale(0.985);
    transform-origin: top center;
    clip-path: inset(0 0 100% 0 round 0 0 1.25rem 1.25rem);
    transition:
        opacity 320ms ease,
        transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
        clip-path 560ms cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform, clip-path;
}

#mobile-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1);
    clip-path: inset(0 0 0 0 round 0);
}

#mobile-menu.is-closing {
    transition-duration: 240ms, 340ms, 360ms;
    transition-timing-function: ease, cubic-bezier(0.65, 0, 0.35, 1), cubic-bezier(0.65, 0, 0.35, 1);
}

#mobile-menu > a {
    opacity: 0;
    transform: translate3d(0, 0.75rem, 0);
    transition:
        opacity 260ms ease,
        transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

#mobile-menu.is-open > a {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

#mobile-menu.is-open > a:nth-child(1) { transition-delay: 70ms; }
#mobile-menu.is-open > a:nth-child(2) { transition-delay: 105ms; }
#mobile-menu.is-open > a:nth-child(3) { transition-delay: 140ms; }
#mobile-menu.is-open > a:nth-child(4) { transition-delay: 175ms; }
#mobile-menu.is-open > a:nth-child(5) { transition-delay: 210ms; }
#mobile-menu.is-open > a:nth-child(6) { transition-delay: 245ms; }
#mobile-menu.is-open > a:nth-child(7) { transition-delay: 280ms; }
#mobile-menu.is-open > a:nth-child(8) { transition-delay: 315ms; }

#mobile-menu.is-closing > a {
    transition-delay: 0ms;
    transition-duration: 140ms, 220ms;
}

@media (prefers-reduced-motion: reduce) {
    #mobile-menu,
    #mobile-menu > a,
    .anchor-nav nav,
    .anchor-nav::before,
    .anchor-nav-toggle svg {
        transition: none;
    }
}

.bounce-slow {
    animation: bounce-slow 4s ease-in-out infinite;
}

@keyframes bounce-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes hero-float-main {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-0.45deg) scale(1); }
    25% { transform: translate3d(3px, -4px, 0) rotate(-0.25deg) scale(1.004); }
    50% { transform: translate3d(-2px, -7px, 0) rotate(0.12deg) scale(1.007); }
    75% { transform: translate3d(-4px, -3px, 0) rotate(-0.3deg) scale(1.003); }
}

@keyframes hero-float-secondary {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0.5deg) scale(1); }
    25% { transform: translate3d(-4px, -2px, 0) rotate(0.25deg) scale(1.005); }
    50% { transform: translate3d(3px, -6px, 0) rotate(-0.1deg) scale(1.008); }
    75% { transform: translate3d(2px, -2px, 0) rotate(0.22deg) scale(1.004); }
}

@keyframes hero-float-tertiary {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-0.65deg) scale(1); }
    25% { transform: translate3d(4px, -3px, 0) rotate(-0.35deg) scale(1.005); }
    50% { transform: translate3d(-4px, -8px, 0) rotate(0.12deg) scale(1.009); }
    75% { transform: translate3d(2px, -4px, 0) rotate(-0.28deg) scale(1.004); }
}

@keyframes hero-photo-reveal {
    from {
        opacity: 0;
        filter: blur(10px);
        clip-path: inset(12% 12% 12% 12% round 2rem);
    }
    to {
        opacity: 1;
        filter: blur(0);
        clip-path: inset(0 0 0 0 round 2rem);
    }
}

.home-hero {
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 35%),
        linear-gradient(135deg, #f3ede3 0%, #f8f4ee 38%, #eef3fb 100%);
}

.home-hero-image,
.home-hero-video {
    margin-top: -4rem;
    min-height: 100svh;
    padding-top: 4rem;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.62), rgba(15, 23, 42, 0.2)),
        var(--home-hero-bg-image, url("img/repo08.png")) center / cover no-repeat;
}

.home-hero-video {
    background: #0f172a;
}

.home-hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-hero-bg-youtube {
    width: 120%;
    height: 120%;
    left: -10%;
    top: -10%;
    border: 0;
    pointer-events: none;
}

.home-hero-overlay {
    display: none;
}

.home-hero-image .home-hero-overlay,
.home-hero-video .home-hero-overlay {
    position: absolute;
    inset: 0;
    display: block;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.58), rgba(15, 23, 42, 0.22) 54%, rgba(15, 23, 42, 0.1)),
        linear-gradient(180deg, rgba(15, 23, 42, 0.12), rgba(15, 23, 42, 0.26));
}

.home-hero-image .container,
.home-hero-video .container {
    display: flex;
    align-items: center;
    min-height: calc(100svh - 4rem);
}

.home-hero-image .home-hero-grid,
.home-hero-video .home-hero-grid {
    display: block;
    width: 100%;
}

.home-hero-image h1,
.home-hero-video h1,
.home-hero-image .max-w-3xl > p,
.home-hero-video .max-w-3xl > p {
    color: #ffffff;
}

.home-hero-image .hero-human-word,
.home-hero-video .hero-human-word {
    color: #f8d9a8;
}

.home-hero-image .max-w-3xl > p,
.home-hero-video .max-w-3xl > p {
    color: rgba(255, 255, 255, 0.86);
}

.home-hero-image .hero-value-icon,
.home-hero-video .hero-value-icon {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.home-popup {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.home-popup.is-hidden {
    display: none;
}

.home-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.52);
    backdrop-filter: blur(4px);
}

.home-popup-panel {
    position: relative;
    z-index: 1;
    width: min(100%, 34rem);
    max-height: calc(100dvh - 2rem);
    overflow: auto;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 1.25rem;
    background: #ffffff;
    box-shadow: 0 32px 90px -34px rgba(15, 23, 42, 0.7);
}

.home-popup-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    display: inline-flex;
    width: 2.4rem;
    height: 2.4rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
    box-shadow: 0 12px 32px -20px rgba(15, 23, 42, 0.7);
    transition: transform 0.2s ease, background 0.2s ease;
}

.home-popup-close:hover {
    transform: translateY(-1px);
    background: #ffffff;
}

.home-popup-close svg {
    width: 1.1rem;
    height: 1.1rem;
}

.home-popup-image {
    display: block;
    width: 100%;
    max-height: 18rem;
    object-fit: cover;
}

.home-popup-copy {
    padding: clamp(1.35rem, 4vw, 2rem);
}

.home-popup-copy h2 {
    color: #0f172a;
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2rem, 7vw, 3.1rem);
    line-height: 1;
}

.home-popup-copy p {
    margin-top: 0.85rem;
    color: #475569;
    font-size: 1rem;
    line-height: 1.7;
}

.home-popup-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.25rem;
    border-radius: 999px;
    background: #1e3a8a;
    color: #ffffff;
    padding: 0.8rem 1.25rem;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease;
}

.home-popup-link:hover {
    transform: translateY(-1px);
    background: #16306f;
}

.virtual-assistant {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 80;
    display: grid;
    justify-items: end;
}

.assistant-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 6rem;
    height: 6rem;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
    animation: assistant-float 4s ease-in-out infinite;
    transition: transform 0.2s ease;
}

.assistant-toggle:hover {
    transform: translateY(-3px) scale(1.03);
    animation-play-state: paused;
}

.assistant-avatar {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 18px 18px rgba(15, 23, 42, 0.22));
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.assistant-avatar-open {
    opacity: 0;
    transform: scale(0.96);
}

.virtual-assistant.is-open .assistant-avatar-closed {
    opacity: 0;
    transform: scale(0.96);
}

.virtual-assistant.is-open .assistant-avatar-open {
    opacity: 1;
    transform: scale(1);
}

.assistant-toggle span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

@keyframes assistant-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.assistant-panel {
    position: absolute;
    right: 0.65rem;
    bottom: calc(100% + 1.35rem);
    width: min(calc(100vw - 2rem), 24rem);
    overflow: visible;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 28px 85px -38px rgba(15, 23, 42, 0.72);
}

.assistant-panel::after {
    content: "";
    position: absolute;
    right: 2.15rem;
    bottom: -0.78rem;
    width: 1.35rem;
    height: 1.35rem;
    border-right: 1px solid rgba(226, 232, 240, 0.95);
    border-bottom: 1px solid rgba(226, 232, 240, 0.95);
    background: #ffffff;
    transform: rotate(45deg);
    box-shadow: 10px 10px 24px -24px rgba(15, 23, 42, 0.6);
}

.assistant-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: #1e3a8a;
    color: #ffffff;
    padding: 1rem;
    border-radius: 1rem 1rem 0 0;
}

.assistant-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.assistant-header strong {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.98rem;
}

.assistant-header button {
    display: inline-flex;
    width: 2.2rem;
    height: 2.2rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
}

.assistant-header button svg {
    width: 1.05rem;
    height: 1.05rem;
}

.assistant-messages {
    display: grid;
    gap: 0.75rem;
    max-height: 20rem;
    overflow-y: auto;
    background: #f8fafc;
    padding: 1rem;
}

.assistant-message {
    display: grid;
    gap: 0.5rem;
}

.assistant-message-user {
    justify-items: end;
}

.assistant-bubble {
    width: fit-content;
    max-width: 92%;
    border-radius: 0.9rem;
    background: #ffffff;
    color: #334155;
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 0.75rem 0.85rem;
    box-shadow: 0 12px 34px -30px rgba(15, 23, 42, 0.75);
}

.assistant-message-user .assistant-bubble {
    background: #1e3a8a;
    color: #ffffff;
}

.assistant-typing {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    min-width: 4rem;
}

.assistant-typing span {
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: #94a3b8;
    animation: assistant-typing-dot 1s ease-in-out infinite;
}

.assistant-typing span:nth-child(2) {
    animation-delay: 0.15s;
}

.assistant-typing span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes assistant-typing-dot {
    0%,
    80%,
    100% {
        opacity: 0.35;
        transform: translateY(0);
    }

    40% {
        opacity: 1;
        transform: translateY(-0.22rem);
    }
}

.assistant-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.assistant-actions a,
.assistant-suggestions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbe4ef;
    border-radius: 999px;
    background: #ffffff;
    color: #1e3a8a;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.48rem 0.7rem;
}

.assistant-actions a:hover,
.assistant-suggestions button:hover {
    border-color: rgba(30, 58, 138, 0.35);
    background: #eef3fb;
}

.assistant-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 0.8rem 1rem;
}

.assistant-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.55rem;
    border-top: 1px solid #e2e8f0;
    border-radius: 0 0 1rem 1rem;
    background: #ffffff;
    padding: 0.8rem;
}

.assistant-form input {
    min-width: 0;
    border: 1px solid #dbe4ef;
    border-radius: 999px;
    color: #0f172a;
    font-size: 0.92rem;
    outline: 0;
    padding: 0.72rem 0.9rem;
}

.assistant-form input:focus {
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.12);
}

.assistant-form button {
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #b91c1c;
    color: #ffffff;
}

.assistant-form button svg {
    width: 1.05rem;
    height: 1.05rem;
}

.home-sponsor-cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    border: 1px solid #e6edf5;
    border-radius: 1.75rem;
    background: #ffffff;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: 0 30px 80px -62px rgba(15, 23, 42, 0.5);
}

.home-sponsor-cta-panel h2 {
    margin-top: 0.55rem;
    color: #0f172a;
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2.1rem, 5vw, 4rem);
    line-height: 1;
}

.home-sponsor-cta-panel p:not(.section-kicker) {
    margin-top: 0.85rem;
    color: #475569;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.55;
}

.home-sponsor-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    min-height: 3.35rem;
    flex: 0 0 auto;
    border-radius: 9999px;
    background: var(--navy-institutional);
    color: #ffffff;
    font-weight: 800;
    padding: 0.95rem 1.35rem;
    box-shadow: 0 20px 42px -32px rgba(30, 58, 138, 0.7);
}

.home-sponsor-cta-button:hover {
    background: var(--red-accent);
}

.home-orbit {
    position: absolute;
    border-radius: 9999px;
    filter: blur(10px);
    opacity: 0.4;
}

.home-orbit-one {
    width: 20rem;
    height: 20rem;
    top: 2rem;
    right: -5rem;
    background: rgba(183, 74, 47, 0.16);
}

.home-orbit-two {
    width: 26rem;
    height: 26rem;
    bottom: -8rem;
    left: -5rem;
    background: rgba(30, 58, 138, 0.12);
}

.hero-icon-strip {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: nowrap;
}

.section-kicker,
.section-kicker-light {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.72rem;
    font-weight: 800;
}

.section-kicker {
    color: var(--terracotta);
}

.hero-value-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 40px -32px rgba(15, 23, 42, 0.45);
}

.hero-value-icon-learning {
    background: rgba(30, 58, 138, 0.06);
    color: rgba(30, 58, 138, 0.48);
}

.hero-value-icon-wellbeing {
    background: rgba(185, 28, 28, 0.055);
    color: rgba(185, 28, 28, 0.42);
}

.hero-value-icon-community {
    background: rgba(183, 74, 47, 0.055);
    color: rgba(183, 74, 47, 0.42);
}

.hero-collage {
    position: relative;
    min-height: 39rem;
}

.hero-photo {
    position: absolute;
    overflow: hidden;
    border-radius: 2rem;
    box-shadow: 0 30px 70px -35px rgba(15, 23, 42, 0.45);
    opacity: 0;
    animation-fill-mode: forwards;
}

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

.hero-photo-main {
    inset: 0 0 5rem 3rem;
    border: 10px solid rgba(255, 255, 255, 0.88);
    animation:
        hero-photo-reveal 1.15s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards,
        hero-float-main 18s ease-in-out 1.35s infinite;
    transform-origin: center center;
}

.hero-photo-secondary {
    width: 43%;
    height: 15rem;
    left: 0;
    bottom: 0;
    border: 8px solid rgba(255, 255, 255, 0.92);
    animation:
        hero-photo-reveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards,
        hero-float-secondary 21s ease-in-out 1.55s infinite;
    transform-origin: center center;
}

.hero-photo-tertiary {
    width: 40%;
    height: 12rem;
    right: 1rem;
    bottom: 1.5rem;
    border: 8px solid rgba(255, 255, 255, 0.92);
    animation:
        hero-photo-reveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.75s forwards,
        hero-float-tertiary 24s ease-in-out 1.9s infinite;
    transform-origin: center center;
}

.value-card,
.experience-card,
.level-card,
.testimonial-card,
.lived-panel,
.final-cta-panel {
    border-radius: 1.75rem;
}

.value-card {
    position: relative;
    padding: 1.4rem 1.6rem;
}

.value-card::after,
.value-card::before {
    content: "";
    position: absolute;
    pointer-events: none;
}

.value-card:not(:last-child)::after {
    left: 1.6rem;
    right: 1.6rem;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d9dee7 18%, #d9dee7 82%, transparent);
}

@media (min-width: 768px) {
    .value-card {
        padding: 1.6rem 2rem;
    }

    .value-card:not(:last-child)::after {
        display: none;
    }

    .value-card:nth-child(odd)::before {
        top: 1.2rem;
        right: 0;
        bottom: 1.2rem;
        width: 1px;
        background: linear-gradient(180deg, transparent, #d9dee7 18%, #d9dee7 82%, transparent);
    }

    .value-card:nth-child(-n + 2)::after {
        display: block;
        left: 2rem;
        right: 2rem;
        bottom: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, #d9dee7 18%, #d9dee7 82%, transparent);
    }
}

@media (min-width: 1280px) {
    .value-card {
        padding: 1.5rem 1.8rem;
    }

    .value-card:nth-child(-n + 2)::after {
        display: none;
    }

    .value-card:nth-child(odd)::before {
        display: none;
    }

    .value-card:not(:last-child)::before {
        display: block;
        top: 1.2rem;
        right: 0;
        bottom: 1.2rem;
        width: 1px;
        background: linear-gradient(180deg, transparent, #d9dee7 18%, #d9dee7 82%, transparent);
    }
}

.reveal-card.is-pending {
    opacity: 0;
    transform: translateY(34px) scale(0.96);
    filter: blur(12px);
    transition:
        opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
        transform 0.95s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
        filter 0.95s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms);
    will-change: opacity, transform, filter;
}

.reveal-card.is-pending.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.value-card-icon {
    width: auto;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-institutional);
}

.value-card-icon svg {
    width: 2rem;
    height: 2rem;
    stroke-width: 1.7;
}

.value-card h3,
.experience-card-copy h3,
.level-card h3 {
    margin-top: 1rem;
    color: #0f172a;
    font-weight: 700;
    font-size: 1.3rem;
}

.value-card p,
.experience-card-copy p,
.level-card p,
.testimonial-card p,
.lived-point p {
    color: var(--ink-soft);
    line-height: 1.55;
}

.experience-card-copy h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    line-height: 1.18;
}

.community-heart-card {
    min-height: 26rem;
    border: 0;
    box-shadow: none;
    background: transparent;
}

.community-heart-card-inner {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 100%;
    height: 100%;
    padding: 2rem;
    background: #fbfdff;
}

.community-heart-brush {
    width: min(86%, 18rem);
    height: auto;
    overflow: visible;
}

.community-heart-brush path {
    fill: none;
    stroke: rgba(144, 205, 231, 0.62);
    stroke-width: 13;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.community-heart-brush path:nth-child(2) {
    stroke: rgba(181, 222, 239, 0.48);
    stroke-width: 8;
}

.community-heart-brush path:nth-child(3) {
    stroke: rgba(105, 178, 209, 0.28);
    stroke-width: 5;
}

.community-heart-card p {
    position: absolute;
    inset: 50% auto auto 50%;
    width: min(78%, 18rem);
    transform: translate(-50%, -50%) rotate(-2deg);
    color: #111827;
    font-family: 'KeshiaLocal', 'Brush Script MT', cursive;
    font-size: clamp(2.1rem, 3.5vw, 3.15rem);
    line-height: 0.95;
    text-align: center;
}

.community-heart-card p span {
    display: block;
    white-space: nowrap;
}

.foundational-motto {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    width: min(100%, 58rem);
    min-height: 13rem;
    border-radius: 1.5rem;
    padding: 1.5rem;
}

.foundational-motto-bg {
    position: absolute;
    inset: 0;
    background: url("img/gandhi.png") left 12% center / auto 118% no-repeat;
    opacity: 0.28;
    transform: scale(var(--motto-scale, 1));
    transform-origin: left center;
    transition: transform 180ms linear;
}

.foundational-motto-content {
    position: relative;
    z-index: 1;
    width: min(100%, 36rem);
    margin-left: auto;
    padding-right: clamp(1rem, 4vw, 3rem);
}

.home-lived-section {
    background:
        linear-gradient(180deg, rgba(244, 238, 228, 0.6), rgba(244, 238, 228, 0)),
        #f8fafc;
}

.experience-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e8edf4;
    box-shadow: 0 24px 50px -40px rgba(15, 23, 42, 0.35);
}

.experience-card-image {
    width: 100%;
    height: 15rem;
    object-fit: cover;
}

.experience-card-copy {
    padding: 1.25rem 1.25rem 1.5rem;
}

.experience-card-copy span,
.level-card span {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--terracotta);
}

.lived-panel {
    padding: 2rem;
    background: linear-gradient(180deg, #fff9f1 0%, #ffffff 100%);
    border: 1px solid #f0e5d7;
    box-shadow: 0 24px 50px -42px rgba(15, 23, 42, 0.45);
}

.lived-point {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 1rem 0;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.lived-point:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.lived-point i {
    color: var(--terracotta);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.level-card {
    background: linear-gradient(180deg, #f7fafc 0%, #ffffff 100%);
    border: 1px solid #e5ebf3;
    padding: 2rem;
    box-shadow: 0 24px 50px -42px rgba(15, 23, 42, 0.4);
}

.level-card-link {
    margin-top: 1.4rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--navy-institutional);
    font-weight: 700;
}

.testimonial-band {
    background: linear-gradient(180deg, #fbf7f1 0%, #f2f5fb 100%);
}

.testimonial-carousel {
    width: 100%;
}

.testimonial-viewport {
    overflow: hidden;
    scroll-behavior: smooth;
    width: 100%;
    margin: 0 -0.75rem;
    padding: 0 0.75rem;
}

.testimonial-track {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.testimonial-card {
    box-sizing: border-box;
    flex: 0 0 50%;
    min-width: 0;
    margin: 0;
    padding: 0 0.75rem;
}

.testimonial-card-inner {
    height: 100%;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(226, 232, 240, 0.9);
    padding: 2rem;
    background-clip: padding-box;
    box-shadow: 0 20px 45px -40px rgba(15, 23, 42, 0.42);
}

.testimonial-card p {
    color: #0f172a;
}

.testimonial-card footer {
    margin-top: 1.25rem;
    color: var(--terracotta);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 800;
}

.testimonial-controls {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-arrow {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(30, 58, 138, 0.18);
    border-radius: 9999px;
    color: var(--navy-institutional);
    background: rgba(255, 255, 255, 0.72);
    transition: background 180ms ease, transform 180ms ease;
}

.testimonial-arrow:hover {
    background: #fff;
    transform: translateY(-1px);
}

.testimonial-dots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.testimonial-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 9999px;
    background: rgba(30, 58, 138, 0.22);
    transition: width 180ms ease, background 180ms ease;
}

.testimonial-dot.is-active {
    width: 1.6rem;
    background: var(--navy-institutional);
}

@media (max-width: 767px) {
    .community-heart-card {
        display: none;
    }

    .testimonial-card {
        flex-basis: 100%;
        padding: 0;
    }

    .testimonial-viewport {
        margin: 0;
        padding: 0;
    }
}

.final-cta-panel {
    position: relative;
    overflow: hidden;
    padding: 3rem;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0) 32%),
        linear-gradient(135deg, #16306f 0%, #1E3A8A 55%, #b74a2f 130%);
    box-shadow: 0 40px 80px -55px rgba(15, 23, 42, 0.65);
}

.final-cta-panel::after {
    content: "";
    position: absolute;
    inset: 0 0 0 auto;
    width: min(46%, 28rem);
    background: url("img/gandhi.png") right center / contain no-repeat;
    opacity: 0.13;
    pointer-events: none;
}

.final-cta-panel > * {
    position: relative;
    z-index: 1;
}

.institutional-page {
    padding-top: var(--site-header-height, 7rem);
}

.institutional-hero {
    padding: 4.5rem 0 3rem;
    background: var(--internal-hero-bg);
}

.institutional-hero-grid {
    max-width: none;
}

.institutional-hero h1 {
    margin-top: 1rem;
    color: #0f172a;
    font-family: 'Instrument Serif', serif;
    font-size: clamp(3rem, 5.4vw, 5.6rem);
    line-height: 0.96;
}

.institutional-lead {
    margin-top: 1.4rem;
}

.institutional-lead p {
    color: #475569;
    font-size: clamp(1rem, 1.45vw, 1.18rem);
    line-height: 1.75;
}

.institutional-lead p + p {
    margin-top: 1rem;
}

.institutional-story {
    padding: 3rem 0 4rem;
}

.institutional-story-panel {
    position: relative;
    overflow: hidden;
    border-radius: 1.75rem;
    background: #ffffff;
    box-shadow: 0 34px 80px -58px rgba(15, 23, 42, 0.55);
}

.institutional-story-copy {
    position: relative;
    z-index: 1;
    max-width: 54rem;
    padding: clamp(2rem, 5vw, 4.5rem);
}

.institutional-story-copy p {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.8;
}

.institutional-story-copy p + p {
    margin-top: 1.1rem;
}

.institutional-story-copy h2,
.institutional-story-copy h3 {
    margin: 2rem 0 1rem;
    color: var(--navy-institutional);
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2.5rem, 4vw, 4.2rem);
    line-height: 1;
}

.institutional-story-copy h2 {
    margin-top: 0;
    color: #0f172a;
}

.institutional-story-copy h3 {
    color: var(--navy-institutional);
}

.institutional-story-copy .institutional-closing {
    color: #0f172a;
    font-weight: 700;
}

.institutional-story-visual {
    position: absolute;
    inset: 0 0 0 auto;
    width: min(38%, 28rem);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    opacity: 0.08;
    pointer-events: none;
}

.institutional-story-visual img {
    height: 92%;
    width: auto;
    object-fit: contain;
}

.institutional-authorities {
    padding: 4rem 0 6rem;
    background: #fff;
}

.institutional-section-heading {
    max-width: 56rem;
    margin-bottom: 3rem;
}

.institutional-section-heading h2 {
    margin-top: 0.85rem;
    color: #0f172a;
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2.4rem, 4vw, 4.4rem);
    line-height: 1;
}

.institutional-section-heading p:not(.section-kicker) {
    margin-top: 1.3rem;
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.75;
}

.authority-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.authority-group {
    padding: 1.25rem;
    border: 1px solid #e8edf4;
    border-radius: 1.25rem;
    background: #f8fafc;
}

.authority-group h3 {
    color: var(--navy-institutional);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    line-height: 1.4;
    text-transform: uppercase;
}

.authority-list {
    display: grid;
    gap: 0.85rem;
    margin-top: 1rem;
}

.authority-person {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 6.7rem;
    padding: 0.9rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 1rem;
    background: #fff;
}

.authority-photo {
    width: 5.2rem;
    height: 5.2rem;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 9999px;
    background:
        linear-gradient(135deg, rgba(30, 58, 138, 0.08), rgba(183, 74, 47, 0.08)),
        #f8fafc;
    color: rgba(30, 58, 138, 0.52);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

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

.authority-person h4 {
    color: #0f172a;
    font-size: 0.98rem;
    font-weight: 800;
}

.authority-person p {
    margin-top: 0.25rem;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.45;
}

.educare-page {
    padding-top: var(--site-header-height, 7rem);
    background: #f7f5f1;
}

.educare-hero {
    padding: 4.5rem 0 4rem;
    background: var(--internal-hero-bg);
}

.educare-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 28rem);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.educare-hero h1 {
    margin-top: 1rem;
    max-width: 50rem;
    color: #0f172a;
    font-family: 'Instrument Serif', serif;
    font-size: clamp(3.6rem, 7vw, 7rem);
    line-height: 0.92;
}

.educare-hero p:not(.section-kicker) {
    margin-top: 1.6rem;
    max-width: 45rem;
    color: #475569;
    font-size: clamp(1.08rem, 1.8vw, 1.32rem);
    line-height: 1.7;
}

.educare-hero-media {
    overflow: hidden;
    border-radius: 1.5rem;
    box-shadow: 0 32px 70px -48px rgba(15, 23, 42, 0.55);
}

.educare-hero-media img,
.educare-split img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.educare-body {
    position: relative;
    padding: 4rem 0 6rem;
    background: #fff;
}

.educare-layout {
    position: relative;
    display: grid;
    grid-template-columns: 15rem minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
}

.educare-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: calc(var(--site-header-height, 7rem) + 1.25rem);
    z-index: 5;
    align-self: start;
    max-height: calc(100vh - var(--site-header-height, 7rem) - 2.5rem);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.educare-sidebar nav {
    display: grid;
    gap: 0.35rem;
    max-height: inherit;
    padding: 0.75rem;
    border: 1px solid #e8edf4;
    border-radius: 1.25rem;
    background: #f8fafc;
}

.educare-sidebar a {
    padding: 0.7rem 0.85rem;
    border-radius: 0.8rem;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.25;
    transition: color 180ms ease, background 180ms ease;
}

.educare-sidebar a:hover {
    background: #fff;
    color: var(--navy-institutional);
}

.anchor-nav-toggle {
    display: none;
}

@media (min-width: 768px) {
    .anchor-nav {
        position: -webkit-sticky;
        position: sticky;
        top: calc(var(--site-header-height, 7rem) + 1.25rem);
        z-index: 5;
        align-self: start;
        max-height: calc(100vh - var(--site-header-height, 7rem) - 2.5rem);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .anchor-nav nav {
        max-height: inherit;
    }
}

.educare-content {
    display: grid;
    gap: 1.5rem;
}

.educare-section {
    scroll-margin-top: calc(var(--site-header-height, 7rem) + 2rem);
    padding: clamp(1.5rem, 4vw, 2.8rem);
    border: 1px solid #e8edf4;
    border-radius: 1.5rem;
    background: #fff;
    box-shadow: 0 24px 70px -58px rgba(15, 23, 42, 0.42);
}

.educare-eyebrow {
    color: var(--terracotta);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.educare-section h2 {
    margin-top: 0.75rem;
    color: #0f172a;
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2.2rem, 4vw, 4.2rem);
    line-height: 1;
}

.educare-prose {
    margin-top: 1.25rem;
    display: grid;
    gap: 1rem;
}

.educare-prose p,
.educare-note {
    color: #475569;
    font-size: 1.02rem;
    line-height: 1.75;
}

.educare-values,
.educare-objectives,
.educare-question-grid,
.educare-strategies {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.educare-values {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.educare-values article,
.educare-objectives article,
.educare-question-grid article,
.educare-strategies article {
    border: 1px solid #e8edf4;
    border-radius: 1rem;
    background: #f8fafc;
    padding: 1rem;
}

.educare-values i,
.educare-objectives i {
    width: 1.45rem;
    height: 1.45rem;
    color: rgba(30, 58, 138, 0.62);
}

.educare-values h3,
.educare-question-grid h3,
.educare-strategies h3 {
    margin-top: 0.8rem;
    color: #0f172a;
    font-weight: 800;
}

.educare-values span {
    display: block;
    margin-top: 0.2rem;
    color: var(--terracotta);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.educare-values p,
.educare-objectives p,
.educare-question-grid li,
.educare-strategies p {
    margin-top: 0.65rem;
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.55;
}

.educare-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 24rem);
    gap: 2rem;
    align-items: center;
}

.educare-split img {
    aspect-ratio: 1;
    border-radius: 1.25rem;
}

.educare-principles {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    counter-reset: principles;
}

.educare-principles li {
    position: relative;
    min-height: 5rem;
    padding: 1rem 1rem 1rem 3rem;
    border: 1px solid #e8edf4;
    border-radius: 1rem;
    background: #f8fafc;
    color: #475569;
    line-height: 1.55;
    list-style: none;
    counter-increment: principles;
}

.educare-principles li::before {
    content: counter(principles);
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 1.35rem;
    height: 1.35rem;
    display: grid;
    place-items: center;
    border-radius: 9999px;
    background: rgba(30, 58, 138, 0.1);
    color: var(--navy-institutional);
    font-size: 0.72rem;
    font-weight: 800;
}

.educare-note {
    margin-top: 1.35rem;
    padding: 1rem 1.2rem;
    border-left: 3px solid rgba(183, 74, 47, 0.35);
    background: #fffdfa;
}

.educare-objectives {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.educare-objectives article {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.educare-objectives p {
    margin-top: 0;
}

.educare-question-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.educare-question-quote {
    margin-top: 0.4rem;
    color: var(--navy-institutional);
    font-weight: 800;
}

.educare-question-grid ul {
    margin-top: 0.8rem;
    padding-left: 1rem;
}

.educare-strategies {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.educare-strategies article {
    position: relative;
    padding-top: 3rem;
}

.educare-strategies span {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 1.45rem;
    height: 1.45rem;
    display: grid;
    place-items: center;
    border-radius: 9999px;
    background: rgba(183, 74, 47, 0.1);
    color: var(--terracotta);
    font-size: 0.72rem;
    font-weight: 800;
}

.academic-page {
    padding-top: var(--site-header-height, 7rem);
    background: #f7f5f1;
}

.academic-hero {
    padding: 4.5rem 0 4rem;
    background: var(--internal-hero-bg);
}

.academic-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 28rem);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.academic-hero h1 {
    margin-top: 1rem;
    max-width: 56rem;
    color: #0f172a;
    font-family: 'Instrument Serif', serif;
    font-size: clamp(3.4rem, 6.4vw, 6.6rem);
    line-height: 0.94;
}

.academic-hero p:not(.section-kicker) {
    margin-top: 1.6rem;
    max-width: 48rem;
    color: #475569;
    font-size: clamp(1.08rem, 1.8vw, 1.32rem);
    line-height: 1.7;
}

.academic-hero-media {
    overflow: hidden;
    border-radius: 1.5rem;
    box-shadow: 0 32px 70px -48px rgba(15, 23, 42, 0.55);
}

.academic-hero-media img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.academic-body {
    position: relative;
    padding: 4rem 0 6rem;
    background: #fff;
}

.academic-layout {
    position: relative;
    display: grid;
    grid-template-columns: 15rem minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
}

.academic-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: calc(var(--site-header-height, 7rem) + 1.25rem);
    z-index: 5;
    align-self: start;
    max-height: calc(100vh - var(--site-header-height, 7rem) - 2.5rem);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.academic-sidebar nav {
    display: grid;
    gap: 0.35rem;
    max-height: inherit;
    padding: 0.75rem;
    border: 1px solid #e8edf4;
    border-radius: 1.25rem;
    background: #f8fafc;
}

.academic-sidebar a {
    padding: 0.7rem 0.85rem;
    border-radius: 0.8rem;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.25;
    transition: color 180ms ease, background 180ms ease;
}

.academic-sidebar a:hover {
    background: #fff;
    color: var(--navy-institutional);
}

@media (min-width: 1024px) {
    .educare-content,
    .academic-content {
        grid-column: 2;
    }

    .educare-sidebar.is-scroll-fixed,
    .academic-sidebar.is-scroll-fixed {
        position: fixed;
        top: calc(var(--site-header-height, 7rem) + 1.25rem);
    }

    .educare-sidebar.is-scroll-end,
    .academic-sidebar.is-scroll-end {
        position: absolute;
        top: auto;
        bottom: 0;
        left: 0;
    }
}

.academic-content {
    display: grid;
    gap: 1.5rem;
}

.academic-section {
    scroll-margin-top: calc(var(--site-header-height, 7rem) + 2rem);
    padding: clamp(1.5rem, 4vw, 2.8rem);
    border: 1px solid #e8edf4;
    border-radius: 1.5rem;
    background: #fff;
    box-shadow: 0 24px 70px -58px rgba(15, 23, 42, 0.42);
}

.academic-intro {
    background:
        linear-gradient(135deg, rgba(30, 58, 138, 0.04), rgba(183, 74, 47, 0.04)),
        #fff;
}

.academic-eyebrow {
    color: var(--terracotta);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.academic-section h2 {
    margin-top: 0.75rem;
    color: #0f172a;
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2.2rem, 4vw, 4.2rem);
    line-height: 1;
}

.academic-prose {
    margin-top: 1.25rem;
    display: grid;
    gap: 1rem;
}

.academic-prose p {
    color: #475569;
    font-size: 1.02rem;
    line-height: 1.75;
}

.academic-area-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.academic-area-card,
.academic-project-grid article {
    border: 1px solid #e8edf4;
    border-radius: 1rem;
    background: #f8fafc;
    padding: 1rem;
}

.academic-area-card {
    display: block;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.academic-area-card:hover {
    transform: translateY(-2px);
    border-color: rgba(30, 58, 138, 0.22);
    background: #fff;
}

.academic-area-card i,
.academic-area-heading > i,
.academic-area-heading > .academic-custom-icon {
    width: 1.55rem;
    height: 1.55rem;
    color: rgba(30, 58, 138, 0.62);
}

.academic-area-card .academic-custom-icon {
    width: 1.55rem;
    height: 1.55rem;
    color: #0f172a;
}

.academic-area-card h3,
.academic-project-grid h3 {
    margin-top: 0.85rem;
    color: #0f172a;
    font-weight: 800;
}

.academic-area-card p,
.academic-project-grid p {
    margin-top: 0.55rem;
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.55;
}

.academic-area-heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
}

.academic-area-heading > i,
.academic-area-heading > .academic-custom-icon {
    width: 2.4rem;
    height: 2.4rem;
    padding: 0.45rem;
    border-radius: 9999px;
    background: rgba(30, 58, 138, 0.08);
}

.academic-area-heading > .academic-custom-icon {
    color: #0f172a;
}

.academic-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.4rem;
}

.academic-points span {
    display: inline-flex;
    align-items: center;
    min-height: 2.2rem;
    padding: 0.45rem 0.75rem;
    border-radius: 9999px;
    background: rgba(183, 74, 47, 0.08);
    color: #8a2f23;
    font-size: 0.78rem;
    font-weight: 800;
}

.academic-project-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.institutional-projects-page {
    background: #fff;
}

.institutional-projects-hero {
    background: var(--internal-hero-bg);
}

.institutional-projects-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 32rem);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.institutional-projects-hero-content {
    max-width: 58rem;
}

.institutional-projects-hero-card {
    overflow: hidden;
    aspect-ratio: 5 / 4;
    border: 1px solid rgba(30, 58, 138, 0.12);
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 24px 70px -55px rgba(15, 23, 42, 0.45);
}

.institutional-projects-hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.institutional-projects-hero h1 {
    margin-top: 1rem;
    color: #0f172a;
    font-family: 'Instrument Serif', serif;
    font-size: clamp(3.2rem, 6vw, 6.3rem);
    line-height: 0.96;
}

.institutional-projects-hero h2 {
    margin-top: 1.4rem;
    color: var(--navy-institutional);
    font-size: clamp(1.35rem, 2.5vw, 2.05rem);
    font-weight: 800;
    line-height: 1.15;
}

.institutional-projects-hero p:not(.section-kicker) {
    margin-top: 1rem;
    max-width: 50rem;
}

.institutional-projects-body {
    padding: 4.5rem 0 6rem;
    background:
        linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.institutional-projects-grid {
    display: grid;
    gap: 1.4rem;
}

.institutional-project-section {
    padding: clamp(1.35rem, 3vw, 2rem);
    border: 1px solid #e8edf4;
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 70px -58px rgba(15, 23, 42, 0.42);
}

.institutional-project-section-heading {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.65rem 0.9rem;
    align-items: start;
}

.institutional-project-section-icon {
    display: grid;
    place-items: center;
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 9999px;
    background:
        linear-gradient(135deg, rgba(183, 74, 47, 0.1), rgba(30, 58, 138, 0.1)),
        #fff;
    color: var(--navy-institutional);
}

.institutional-project-section-icon i {
    width: 1.35rem;
    height: 1.35rem;
    stroke-width: 1.9;
}

.institutional-project-section-heading h2 {
    color: #0f172a;
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2.05rem, 3.2vw, 3.35rem);
    line-height: 1;
}

.institutional-project-section-heading p {
    grid-column: 2;
    max-width: 58rem;
    color: #475569;
    font-size: 1.02rem;
    line-height: 1.7;
}

.institutional-project-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 1.35rem;
}

.institutional-project-card {
    padding: 1rem;
    border: 1px solid #e8edf4;
    border-radius: 1rem;
    background: #f8fafc;
}

.institutional-project-card h3 {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
}

.institutional-project-card p {
    margin-top: 0.55rem;
    color: #475569;
    font-size: 0.94rem;
    line-height: 1.6;
}

.levels-page {
    padding-top: var(--site-header-height, 7rem);
    background: #fff;
}

.levels-hero {
    padding: 5rem 0 4rem;
    background: var(--internal-hero-bg);
}

.levels-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 32rem);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.levels-hero-content {
    max-width: 62rem;
}

.levels-hero-card {
    overflow: hidden;
    aspect-ratio: 5 / 4;
    border: 1px solid rgba(30, 58, 138, 0.12);
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 24px 70px -55px rgba(15, 23, 42, 0.45);
}

.levels-hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.levels-hero h1 {
    margin-top: 1rem;
    max-width: 62rem;
    color: #0f172a;
    font-family: 'Instrument Serif', serif;
    font-size: clamp(3.2rem, 6vw, 6.4rem);
    line-height: 0.96;
}

.levels-hero p:not(.section-kicker) {
    margin-top: 1.4rem;
    max-width: 50rem;
    color: #475569;
    font-size: clamp(1.08rem, 1.8vw, 1.28rem);
    line-height: 1.7;
}

.levels-body {
    padding: 4.5rem 0 6rem;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.levels-stack {
    display: grid;
    gap: 1.35rem;
}

.level-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(14rem, 0.48fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: stretch;
    padding: clamp(1.35rem, 3vw, 2.35rem);
    border: 1px solid #e8edf4;
    border-radius: 1.5rem;
    background: #fff;
    box-shadow: 0 24px 70px -58px rgba(15, 23, 42, 0.42);
}

.level-detail-copy {
    align-self: center;
}

.level-detail-number {
    color: var(--terracotta);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.24em;
}

.level-detail h2 {
    margin-top: 0.35rem;
    color: #0f172a;
    font-family: 'Instrument Serif', serif;
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 0.92;
}

.level-detail h3 {
    margin-top: 0.8rem;
    color: var(--navy-institutional);
    font-size: clamp(1.1rem, 1.8vw, 1.35rem);
    font-weight: 800;
    line-height: 1.25;
}

.level-detail-copy > p:last-child {
    margin-top: 1rem;
    color: #475569;
    font-size: 1.04rem;
    line-height: 1.72;
}

.level-detail-media {
    overflow: hidden;
    align-self: center;
    min-height: 13rem;
    max-height: 16rem;
    border-radius: 1.2rem;
    background: #eef3fb;
}

.level-detail-media img {
    width: 100%;
    height: 100%;
    min-height: 13rem;
    object-fit: cover;
    display: block;
}

.level-feature-list,
.level-feature-groups {
    grid-column: 1 / -1;
}

.level-feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.level-feature-list span {
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    padding: 0.48rem 0.78rem;
    border-radius: 9999px;
    background: rgba(30, 58, 138, 0.07);
    color: #1e3a8a;
    font-size: 0.8rem;
    font-weight: 800;
}

.level-detail-red .level-feature-list span {
    background: rgba(183, 74, 47, 0.08);
    color: #8a2f23;
}

.level-detail-navy .level-feature-list span {
    background: rgba(15, 23, 42, 0.06);
    color: #0f172a;
}

.level-feature-groups {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.level-feature-group {
    padding: 1rem;
    border: 1px solid #e8edf4;
    border-radius: 1rem;
    background: #f8fafc;
}

.level-feature-group h4 {
    margin-bottom: 0.8rem;
    color: #0f172a;
    font-weight: 800;
    line-height: 1.25;
}

.family-workshops-page {
    padding-top: var(--site-header-height, 7rem);
    background: #fff;
}

.family-workshops-hero {
    padding: 5rem 0 4rem;
    background: var(--internal-hero-bg);
}

.family-workshops-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 32rem);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.family-workshops-hero h1 {
    margin-top: 1rem;
    max-width: 58rem;
    color: #0f172a;
    font-family: 'Instrument Serif', serif;
    font-size: clamp(3.4rem, 6.4vw, 6.6rem);
    line-height: 0.94;
}

.family-workshops-hero p:not(.section-kicker) {
    margin-top: 1.4rem;
    max-width: 48rem;
    color: #475569;
    font-size: clamp(1.08rem, 1.8vw, 1.3rem);
    line-height: 1.7;
}

.family-workshops-quote {
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid rgba(30, 58, 138, 0.12);
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 24px 70px -55px rgba(15, 23, 42, 0.45);
}

.family-workshops-quote p {
    color: #334155;
    font-size: 1rem;
    line-height: 1.72;
}

.family-workshops-quote p + p {
    margin-top: 1rem;
}

.family-workshops-quote strong {
    display: block;
    margin-top: 1.1rem;
    color: var(--terracotta);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.family-workshops-body {
    padding: 4.5rem 0 6rem;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.family-workshops-section {
    padding: clamp(1.35rem, 3vw, 2.35rem);
    border: 1px solid #e8edf4;
    border-radius: 1.45rem;
    background: #fff;
    box-shadow: 0 24px 70px -58px rgba(15, 23, 42, 0.42);
}

.family-workshops-section + .family-workshops-section,
.family-workshops-two-column {
    margin-top: 1.35rem;
}

.family-workshops-feature {
    background:
        linear-gradient(135deg, rgba(30, 58, 138, 0.04), rgba(183, 74, 47, 0.04)),
        #fff;
}

.family-workshops-heading {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.9rem;
    align-items: start;
}

.family-workshops-heading span {
    display: grid;
    place-items: center;
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 9999px;
    background:
        linear-gradient(135deg, rgba(183, 74, 47, 0.1), rgba(30, 58, 138, 0.1)),
        #fff;
    color: var(--navy-institutional);
}

.family-workshops-heading i {
    width: 1.35rem;
    height: 1.35rem;
    stroke-width: 1.9;
}

.family-workshops-heading h2 {
    color: #0f172a;
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2.05rem, 3.3vw, 3.45rem);
    line-height: 1;
}

.family-prose {
    display: grid;
    gap: 1rem;
    margin-top: 1.4rem;
}

.family-prose p {
    color: #475569;
    font-size: 1.01rem;
    line-height: 1.75;
}

.family-prose-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.4rem;
}

.family-objectives {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 1.35rem;
}

.family-objectives article {
    padding: 1rem;
    border: 1px solid #e8edf4;
    border-radius: 1rem;
    background: #f8fafc;
}

.family-objectives i {
    width: 1.3rem;
    height: 1.3rem;
    color: var(--terracotta);
}

.family-objectives p {
    margin-top: 0.75rem;
    color: #334155;
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.5;
}

.family-workshops-two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
}

.family-workshops-two-column .family-workshops-section {
    margin-top: 0;
}

.family-check-list {
    display: grid;
    gap: 0.7rem;
    margin-top: 1.35rem;
}

.family-check-list p {
    position: relative;
    padding-left: 1.2rem;
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.62;
}

.family-check-list p::before {
    content: "";
    position: absolute;
    top: 0.65em;
    left: 0;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 9999px;
    background: var(--terracotta);
}

.family-mode-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.35rem;
}

.family-mode-list span {
    display: inline-flex;
    align-items: center;
    min-height: 2.2rem;
    padding: 0.45rem 0.75rem;
    border-radius: 9999px;
    background: rgba(30, 58, 138, 0.07);
    color: var(--navy-institutional);
    font-size: 0.78rem;
    font-weight: 800;
}

.workshop-examples-page {
    padding-top: var(--site-header-height, 7rem);
    background: #fff;
}

.workshop-examples-hero {
    padding: 5rem 0 4rem;
    background: var(--internal-hero-bg);
}

.workshop-examples-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 32rem);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.workshop-examples-hero h1 {
    margin-top: 1rem;
    color: #0f172a;
    font-family: 'Instrument Serif', serif;
    font-size: clamp(3.4rem, 6.4vw, 6.6rem);
    line-height: 0.94;
}

.workshop-examples-hero p:not(.section-kicker) {
    margin-top: 1.4rem;
    max-width: 48rem;
    color: #475569;
    font-size: clamp(1.08rem, 1.8vw, 1.3rem);
    line-height: 1.7;
}

.workshop-examples-quote {
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid rgba(30, 58, 138, 0.12);
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 24px 70px -55px rgba(15, 23, 42, 0.45);
}

.workshop-examples-quote p {
    color: #334155;
    font-size: 1rem;
    line-height: 1.72;
}

.workshop-examples-quote p + p {
    margin-top: 1rem;
}

.workshop-examples-quote strong {
    display: block;
    margin-top: 1.1rem;
    color: var(--terracotta);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.workshop-examples-body {
    padding: 4.5rem 0 6rem;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.workshop-examples-heading {
    max-width: 52rem;
    margin-bottom: 1.35rem;
}

.workshop-examples-heading h2 {
    margin-top: 0.8rem;
    color: #0f172a;
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2.5rem, 4vw, 4.2rem);
    line-height: 1;
}

.workshop-example-section {
    padding: clamp(1.35rem, 3vw, 2.35rem);
    border: 1px solid #e8edf4;
    border-radius: 1.45rem;
    background: #fff;
    box-shadow: 0 24px 70px -58px rgba(15, 23, 42, 0.42);
}

.workshop-example-section + .workshop-example-section,
.workshop-example-two-column {
    margin-top: 1.35rem;
}

.workshop-example-feature {
    background:
        linear-gradient(135deg, rgba(30, 58, 138, 0.04), rgba(183, 74, 47, 0.04)),
        #fff;
}

.workshop-example-title {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.9rem;
    align-items: start;
}

.workshop-example-title > span {
    display: grid;
    place-items: center;
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 9999px;
    background:
        linear-gradient(135deg, rgba(183, 74, 47, 0.1), rgba(30, 58, 138, 0.1)),
        #fff;
    color: var(--navy-institutional);
}

.workshop-example-title i {
    width: 1.35rem;
    height: 1.35rem;
    stroke-width: 1.9;
}

.workshop-example-title p {
    color: var(--terracotta);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    line-height: 1.3;
    text-transform: uppercase;
}

.workshop-example-title h2 {
    margin-top: 0.3rem;
    color: #0f172a;
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2.05rem, 3.3vw, 3.45rem);
    line-height: 1;
}

.workshop-example-callout {
    margin-top: 1.35rem;
    padding: 1rem 1.15rem;
    border-left: 4px solid var(--terracotta);
    border-radius: 0.95rem;
    background: #fff8ef;
    color: #334155;
    font-size: 1rem;
    line-height: 1.6;
}

.workshop-example-callout strong {
    color: var(--terracotta);
}

.workshop-meta-grid,
.workshop-example-two-column,
.workshop-virtual-grid {
    display: grid;
    gap: 1rem;
}

.workshop-meta-grid {
    grid-template-columns: minmax(0, 1fr) minmax(12rem, 0.32fr);
    margin-top: 1.35rem;
}

.workshop-meta-grid article,
.workshop-duration {
    padding: 1rem;
    border: 1px solid #e8edf4;
    border-radius: 1rem;
    background: #f8fafc;
}

.workshop-meta-grid small,
.workshop-duration small {
    display: block;
    color: var(--terracotta);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.workshop-meta-grid p,
.workshop-duration strong {
    display: block;
    margin-top: 0.45rem;
    color: #334155;
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.5;
}

.workshop-timeline {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.35rem;
}

.workshop-timeline article {
    display: grid;
    grid-template-columns: 5.25rem minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #e8edf4;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.75);
}

.workshop-timeline time {
    color: var(--navy-institutional);
    font-size: 0.78rem;
    font-weight: 900;
}

.workshop-timeline h3 {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
}

.workshop-timeline p,
.workshop-reading p,
.workshop-prose p,
.workshop-virtual-intro,
.workshop-check-list p {
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.72;
}

.workshop-example-subtitle {
    margin-top: 1.35rem;
    color: var(--navy-institutional);
    font-size: 1.15rem;
    font-weight: 800;
}

.workshop-reading {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
    columns: 2;
}

.workshop-reading footer {
    color: var(--terracotta);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.workshop-example-two-column {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.55fr);
}

.workshop-prose {
    display: grid;
    gap: 1rem;
    margin-top: 1.35rem;
}

.workshop-song-card p:last-child {
    margin-top: 1.35rem;
    color: #0f172a;
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.05;
}

.workshop-virtual-intro {
    margin-top: 1.35rem;
    max-width: 56rem;
}

.workshop-virtual-grid {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.72fr);
    align-items: start;
    margin-top: 1.35rem;
}

.workshop-video {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 1.15rem;
    background: #0f172a;
}

.workshop-video iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.workshop-check-list {
    display: grid;
    gap: 0.65rem;
    margin-top: 1rem;
}

.workshop-check-list p {
    position: relative;
    padding-left: 1.15rem;
    font-weight: 700;
}

.workshop-check-list p::before {
    content: "";
    position: absolute;
    top: 0.66em;
    left: 0;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 9999px;
    background: var(--terracotta);
}

.workshop-examples-footer {
    margin-top: 1.35rem;
    padding: 1.2rem;
    border: 1px solid #e8edf4;
    border-radius: 1rem;
    background: #0f172a;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-align: center;
    text-transform: uppercase;
}

.educare-magazines-page {
    padding-top: var(--site-header-height, 7rem);
    background: #fff;
}

.educare-magazines-page .family-workshops-hero-grid {
    grid-template-columns: minmax(0, 1fr);
}

.educare-magazines-page .family-workshops-hero h1,
.educare-magazines-page .family-workshops-hero p:not(.section-kicker) {
    max-width: 78rem;
}

.educare-magazines-page .family-workshops-hero h1 {
    font-size: clamp(3.3rem, 6vw, 6.1rem);
}

@media (min-width: 768px) {
    .desktop-title-break {
        display: block;
    }
}

.educare-magazines-body {
    padding: 4.5rem 0 6rem;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.educare-magazines-heading {
    max-width: 58rem;
    margin-bottom: 2rem;
}

.educare-magazines-heading h2 {
    margin-top: 0.8rem;
    color: #0f172a;
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2.4rem, 4vw, 4.2rem);
    line-height: 1;
}

.educare-magazines-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.15rem;
}

.educare-magazine-card {
    overflow: hidden;
    border: 1px solid #e8edf4;
    border-radius: 1.15rem;
    background: #fff;
    box-shadow: 0 24px 70px -58px rgba(15, 23, 42, 0.45);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.educare-magazine-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 80px -55px rgba(15, 23, 42, 0.55);
}

.educare-magazine-cover {
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #eef3fb;
}

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

.educare-magazine-copy {
    padding: 1rem;
}

.educare-magazine-copy span {
    display: block;
    color: var(--terracotta);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.educare-magazine-copy h3 {
    margin-top: 0.35rem;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
}

.educare-magazine-copy a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.8rem;
    color: var(--navy-institutional);
    font-size: 0.86rem;
    font-weight: 800;
}

.educare-magazine-copy svg {
    width: 0.95rem;
    height: 0.95rem;
}

@media (max-width: 1279px) {
    .educare-magazines-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1023px) {
    .educare-magazines-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.encounter-songs-page {
    padding-top: var(--site-header-height, 7rem);
    background: #fff;
}

.encounter-songs-hero {
    padding: 5.2rem 0 4.5rem;
}

.encounter-songs-hero-grid {
    align-items: center;
    grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.78fr);
}

.encounter-songs-hero-copy h1 {
    max-width: 52rem;
    font-size: clamp(3.2rem, 6vw, 6.4rem);
}

.encounter-songs-hero-copy p:not(.section-kicker) {
    max-width: 42rem;
}

.encounter-songs-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.4rem;
}

.encounter-songs-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.45rem;
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(181, 91, 63, 0.2);
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.7);
    color: #334155;
    font-size: 0.86rem;
    font-weight: 800;
}

.encounter-songs-meta svg {
    width: 1rem;
    height: 1rem;
    color: var(--terracotta);
}

.encounter-songs-cover-card {
    overflow: hidden;
    margin: 0;
    border: 0.85rem solid rgba(255, 255, 255, 0.78);
    border-radius: 1.4rem;
    background: #fff;
    box-shadow: 0 34px 90px -58px rgba(15, 23, 42, 0.55);
    transform: rotate(1.2deg);
}

.encounter-songs-cover-card img {
    display: block;
    width: 100%;
    aspect-ratio: 2.05 / 1;
    object-fit: cover;
}

.encounter-songs-cover-card--transparent {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.encounter-songs-cover-card--transparent img {
    max-width: 80%;
    margin: 0 auto;
    aspect-ratio: auto;
    object-fit: contain;
}

.encounter-songs-body {
    padding: 4.5rem 0 6rem;
    background:
        radial-gradient(circle at 88% 10%, rgba(181, 91, 63, 0.08), transparent 28rem),
        linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.encounter-songs-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.48fr);
    gap: 2rem;
    align-items: end;
    margin-bottom: 2rem;
}

.encounter-songs-intro h2 {
    margin-top: 0.55rem;
    color: #0f172a;
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2.3rem, 4.5vw, 4.3rem);
    line-height: 0.98;
}

.encounter-songs-intro > p {
    color: #64748b;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.65;
}

.encounter-songs-details {
    max-width: 52rem;
    margin-top: 1.1rem;
    color: #64748b;
    font-size: 0.94rem;
    font-weight: 400;
    line-height: 1.65;
}

.encounter-songs-details p + p {
    margin-top: 0.35rem;
}

.encounter-songs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.encounter-song-card {
    display: grid;
    gap: 1rem;
    padding: 1.1rem;
    border: 1px solid #e8edf4;
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 72px -62px rgba(15, 23, 42, 0.52);
}

.encounter-song-card-heading {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
}

.encounter-song-number {
    display: inline-grid;
    width: 2.6rem;
    height: 2.6rem;
    place-items: center;
    border-radius: 50%;
    background: #0f172a;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 900;
}

.encounter-song-card h3 {
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 850;
    line-height: 1.25;
}

.encounter-song-card audio {
    width: 100%;
    height: 2.65rem;
}

.lead-qualifier-hero {
    padding: 6rem 0 3rem;
    background: var(--internal-hero-bg);
}

.lead-qualifier {
    max-width: 56rem;
    margin: 0 auto;
    border: 1px solid #eadfce;
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 30px 70px -50px rgba(15, 23, 42, 0.45);
    padding: clamp(1.25rem, 4vw, 2.5rem);
}

.lead-progress {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.lead-progress-label {
    color: var(--navy-institutional);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
}

.lead-progress-help {
    margin-top: 0.3rem;
    color: #64748b;
}

.lead-progress-bar {
    height: 0.55rem;
    overflow: hidden;
    border-radius: 9999px;
    background: #e8edf4;
}

.lead-progress-bar span {
    display: block;
    width: 10%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--navy-institutional), var(--terracotta));
    transition: width 260ms ease;
}

.lead-step {
    display: none;
    border: 0;
    padding: 0;
    margin: 0;
}

.lead-step.is-active {
    display: grid;
    gap: 0.85rem;
    animation: fadeIn 240ms ease both;
}

.lead-step legend {
    margin-bottom: 1.4rem;
    color: #0f172a;
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
}

.lead-step label {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border: 1px solid #e5e7eb;
    border-radius: 1.1rem;
    background: #fff;
    padding: 1rem 1.1rem;
    color: #334155;
    cursor: pointer;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.lead-step label:hover {
    border-color: rgba(30, 58, 138, 0.3);
    box-shadow: 0 14px 35px -30px rgba(15, 23, 42, 0.55);
    transform: translateY(-1px);
}

.lead-step label:has(input:checked) {
    border-color: var(--navy-institutional);
    background: #f8fbff;
    box-shadow: 0 18px 40px -34px rgba(30, 58, 138, 0.55);
}

.lead-step input {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: var(--navy-institutional);
    flex-shrink: 0;
}

.lead-actions,
.lead-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.lead-primary,
.lead-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    border-radius: 9999px;
    padding: 0.9rem 1.5rem;
    font-weight: 700;
    transition: opacity 160ms ease, transform 160ms ease, background 160ms ease;
}

.lead-primary {
    border: 0;
    background: var(--navy-institutional);
    color: #fff;
}

.lead-primary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.lead-primary:not(:disabled):hover,
.lead-secondary:hover,
.lead-reset:hover {
    transform: translateY(-1px);
}

.lead-secondary {
    border: 1px solid rgba(30, 58, 138, 0.18);
    background: #fff;
    color: var(--navy-institutional);
}

.lead-link {
    text-decoration: none;
}

.lead-result {
    display: none;
}

.lead-result.is-visible {
    display: block;
    animation: fadeIn 260ms ease both;
}

.lead-result h2 {
    margin-top: 1rem;
    color: #0f172a;
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1;
}

.lead-result p[data-lead-result-copy] {
    margin-top: 1.2rem;
    max-width: 42rem;
    color: #475569;
    font-size: 1.08rem;
    line-height: 1.7;
}

.lead-reset {
    margin-top: 1.5rem;
    color: #64748b;
    font-size: 0.9rem;
    text-decoration: underline;
}

.section-kicker-light {
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1023px) {
    .hero-collage {
        min-height: auto;
        display: grid;
        gap: 1rem;
    }

    .hero-photo {
        position: static;
    }

    .hero-photo-main,
    .hero-photo-secondary,
    .hero-photo-tertiary {
        width: 100%;
        height: auto;
        inset: auto;
        right: auto;
        bottom: auto;
    }

    .hero-photo-main {
        aspect-ratio: 4 / 5;
    }

    .hero-photo-secondary,
    .hero-photo-tertiary {
        height: 14rem;
    }
}

@media (max-width: 767px) {
    main {
        overflow-x: hidden;
    }

    .container {
        width: 100%;
        max-width: 100%;
    }

    .home-hero .max-w-3xl,
    .educare-hero-grid > div:first-child,
    .academic-hero-grid > div:first-child,
    .institutional-hero-grid > div:first-child,
    main.pt-16 .container > .text-center,
    main.pt-16 .container > .grid,
    .educare-section,
    .academic-section,
    .lead-qualifier,
    .final-cta-panel {
        width: 100%;
        max-width: calc(100vw - 3rem);
        min-width: 0;
    }

    h1,
    h2,
    h3,
    p,
    a,
    span,
    li {
        overflow-wrap: anywhere;
    }

    .top-contact-bar {
        display: none;
    }

    .footer-menu-column {
        display: none;
    }

    .educare-page ~ footer + .virtual-assistant,
    .academic-page ~ footer + .virtual-assistant {
        bottom: calc(6.5rem + env(safe-area-inset-bottom));
    }

    .virtual-assistant {
        right: 1rem;
        bottom: calc(1rem + env(safe-area-inset-bottom));
        left: 1rem;
    }

    .assistant-toggle {
        position: relative;
        z-index: 2;
        justify-self: end;
    }

    .virtual-assistant.is-open {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        display: block;
        pointer-events: none;
    }

    .virtual-assistant.is-open .assistant-toggle,
    .virtual-assistant.is-open .assistant-panel {
        pointer-events: auto;
    }

    .virtual-assistant.is-open .assistant-toggle {
        position: fixed;
        top: calc(0.45rem + env(safe-area-inset-top));
        right: 0.75rem;
        width: 5.2rem;
        height: 5.2rem;
    }

    .assistant-panel {
        right: 0;
        bottom: calc(100% + 1.15rem);
        width: 100%;
        max-height: calc(100dvh - 7rem);
    }

    .virtual-assistant.is-open .assistant-panel {
        position: fixed;
        inset: calc(1.25rem + env(safe-area-inset-top)) 0.75rem calc(0.75rem + env(safe-area-inset-bottom));
        display: grid;
        grid-template-rows: auto minmax(0, 1fr) auto auto;
        width: auto;
        max-height: none;
        border-radius: 1rem;
    }

    .assistant-panel::after {
        right: 1.65rem;
    }

    .virtual-assistant.is-open .assistant-panel::after {
        display: none;
    }

    .virtual-assistant.is-open .assistant-header {
        min-height: 4.9rem;
        padding-right: 5.7rem;
    }

    .assistant-messages {
        max-height: min(52dvh, 20rem);
    }

    .virtual-assistant.is-open .assistant-messages {
        max-height: none;
        min-height: 0;
    }

    .virtual-assistant.is-open .assistant-suggestions {
        max-height: 5.75rem;
        overflow-y: auto;
    }

    .virtual-assistant.is-open .assistant-form {
        padding-bottom: max(0.8rem, env(safe-area-inset-bottom));
    }

    .anchor-nav::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 70;
        background: rgba(15, 23, 42, 0.28);
        opacity: 0;
        pointer-events: none;
        transition: opacity 220ms ease;
    }

    .anchor-nav.is-open::before {
        opacity: 1;
        pointer-events: auto;
    }

    .anchor-nav-toggle {
        width: 100%;
        min-height: 4rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 0.75rem 1rem;
        border: 1px solid rgba(226, 232, 240, 0.95);
        border-radius: 1.1rem;
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 18px 45px -34px rgba(15, 23, 42, 0.55);
        color: #0f172a;
        text-align: left;
        backdrop-filter: blur(10px);
    }

    .anchor-nav-toggle span {
        min-width: 0;
    }

    .anchor-nav-toggle small {
        display: block;
        color: var(--terracotta);
        font-size: 0.68rem;
        font-weight: 800;
        letter-spacing: 0.18em;
        line-height: 1;
        text-transform: uppercase;
    }

    .anchor-nav-toggle strong {
        display: block;
        margin-top: 0.35rem;
        overflow: hidden;
        color: #0f172a;
        font-size: 1rem;
        line-height: 1.15;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .anchor-nav-toggle i,
    .anchor-nav-toggle svg {
        width: 1.25rem;
        height: 1.25rem;
        flex: 0 0 auto;
        color: var(--navy-institutional);
        transition: transform 260ms ease;
    }

    .anchor-nav.is-open .anchor-nav-toggle svg {
        transform: rotate(180deg);
    }

    .header-main-row {
        min-height: 5.5rem;
        padding-top: 0.9rem;
        padding-bottom: 0.9rem;
    }

    .header-main-row a {
        min-width: 0;
        align-items: center;
        align-self: center;
    }

    .header-main-row p {
        font-size: 1rem;
        line-height: 1.1;
    }

    .header-main-row img {
        height: 3.15rem;
        flex: 0 0 auto;
    }

    .header-main-row button {
        width: 3.25rem;
        height: 3.25rem;
        display: inline-flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        align-self: center;
        line-height: 1;
    }

    .header-main-row button svg {
        display: block;
        width: 2.1rem;
        height: 2.1rem;
    }

    #mobile-menu {
        overflow-y: auto;
        padding: 1.5rem;
        gap: 1.15rem;
    }

    #mobile-menu a {
        font-size: 1.45rem;
        line-height: 1.15;
    }

    #mobile-menu .mobile-subnav-link {
        font-family: 'Inter', sans-serif;
        font-size: 0.92rem;
        line-height: 1.2;
    }

    #mobile-menu .mobile-menu-group-label + .mobile-subnav-link {
        margin-top: 0;
    }

    .home-hero {
        background:
            linear-gradient(180deg, rgba(247, 239, 228, 0.92) 0%, rgba(248, 244, 238, 0.86) 48%, rgba(238, 243, 251, 0.98) 100%),
            linear-gradient(180deg, rgba(15, 23, 42, 0.06), rgba(15, 23, 42, 0.18)),
            url("img/repo08.png") center 30% / cover no-repeat,
            radial-gradient(circle at 78% 8%, rgba(183, 74, 47, 0.16), transparent 34%),
            linear-gradient(180deg, #f7efe4 0%, #f8f4ee 58%, #eef3fb 100%);
        min-height: calc(100svh - 4rem);
    }

    .home-hero-collage {
        background:
            linear-gradient(180deg, rgba(247, 239, 228, 0.92) 0%, rgba(248, 244, 238, 0.86) 48%, rgba(238, 243, 251, 0.98) 100%),
            linear-gradient(180deg, rgba(15, 23, 42, 0.06), rgba(15, 23, 42, 0.18)),
            url("img/repo08.png") center 30% / cover no-repeat,
            radial-gradient(circle at 78% 8%, rgba(183, 74, 47, 0.16), transparent 34%),
            linear-gradient(180deg, #f7efe4 0%, #f8f4ee 58%, #eef3fb 100%);
    }

    .home-hero-image,
    .home-hero-video {
        margin-top: -4rem;
        min-height: 100svh;
        padding-top: 4rem;
        background:
            linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.36)),
            var(--home-hero-bg-image, url("img/repo08.png")) center / cover no-repeat;
    }

    .home-hero .container {
        display: flex;
        align-items: center;
        min-height: calc(100svh - 4rem);
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .home-hero .grid {
        gap: 2rem;
    }

    .home-hero .max-w-3xl {
        text-align: center;
    }

    .home-hero h1 {
        width: 100%;
        max-width: 21rem;
        margin-right: auto;
        margin-left: auto;
        margin-top: 0;
        font-size: clamp(2.45rem, 11vw, 3.15rem);
        line-height: 1;
        letter-spacing: 0;
        overflow-wrap: break-word;
    }

    .home-hero-image h1,
    .home-hero-video h1,
    .home-hero-image .max-w-3xl > p,
    .home-hero-video .max-w-3xl > p {
        color: #ffffff;
    }

    .home-hero-image .max-w-3xl > p,
    .home-hero-video .max-w-3xl > p {
        color: rgba(255, 255, 255, 0.9);
    }

    .hero-human-word {
        display: block;
        font-size: 1.08em;
        line-height: 1.02;
    }

    .home-hero .max-w-3xl > p {
        margin: 1.25rem auto 0;
        max-width: 21rem;
        color: #475569;
        font-size: 1rem;
        line-height: 1.65;
    }

    .home-hero .max-w-3xl > .mt-8 {
        margin-top: 1.5rem;
        gap: 0.75rem;
    }

    .home-hero .max-w-3xl > .mt-8 a {
        width: 100%;
        padding: 0.95rem 1.25rem;
        box-shadow: 0 16px 38px -28px rgba(15, 23, 42, 0.55);
    }

    .home-hero .hero-interview-button {
        display: none;
    }

    .home-hero .max-w-3xl > .mt-10 {
        display: none;
    }

    .hero-visual {
        display: none;
    }

    .home-admissions-cta {
        display: none;
    }

    .institutional-hero h1,
    .educare-hero h1,
    .academic-hero h1 {
        max-width: 21rem;
        font-size: clamp(2.35rem, 10vw, 3rem);
        line-height: 1.04;
        letter-spacing: 0;
        overflow-wrap: break-word;
    }

    main.pt-16 h1 {
        max-width: 21rem;
        margin-right: auto;
        margin-left: auto;
        font-size: clamp(2.3rem, 10vw, 3rem);
        line-height: 1.05;
        letter-spacing: 0;
        overflow-wrap: break-word;
    }

    .institutional-lead p,
    .educare-hero p:not(.section-kicker),
    .academic-hero p:not(.section-kicker),
    .educare-prose p,
    .academic-prose p,
    .lead-result p[data-lead-result-copy] {
        font-size: 1rem;
        line-height: 1.65;
    }

    .institutional-hero {
        padding: 3rem 0 2.5rem;
    }

    .authority-groups {
        grid-template-columns: 1fr;
    }

    .institutional-story {
        padding: 2.5rem 0 3.5rem;
    }

    .institutional-story-visual {
        width: 72%;
        align-items: flex-end;
        opacity: 0.055;
    }

    .institutional-authorities {
        padding: 2.5rem 0 4rem;
    }

    .educare-hero {
        padding: 3rem 0 2.5rem;
    }

    .educare-hero-grid,
    .educare-layout,
    .educare-split {
        grid-template-columns: 1fr;
    }

    .educare-hero-media {
        display: none;
    }

    .educare-body {
        padding: 2.5rem 0 6.5rem;
    }

    .educare-sidebar {
        position: fixed;
        left: 1.25rem;
        right: 1.25rem;
        bottom: calc(1rem + env(safe-area-inset-bottom));
        z-index: 65;
    }

    .educare-sidebar nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 80;
        max-height: min(78dvh, 34rem);
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.35rem;
        overflow-y: auto;
        padding: 1.25rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom));
        border: 1px solid #e8edf4;
        border-bottom: 0;
        border-radius: 1.5rem 1.5rem 0 0;
        background: #fff;
        box-shadow: 0 -30px 80px -48px rgba(15, 23, 42, 0.55);
        opacity: 0;
        pointer-events: none;
        transform: translate3d(0, 105%, 0) scale(0.98);
        transform-origin: bottom center;
        transition:
            opacity 220ms ease,
            transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
        overscroll-behavior: contain;
    }

    .educare-sidebar.is-open nav {
        opacity: 1;
        pointer-events: auto;
        transform: translate3d(0, 0, 0) scale(1);
    }

    .educare-values,
    .educare-principles,
    .educare-objectives,
    .educare-question-grid,
    .educare-strategies {
        grid-template-columns: 1fr;
    }

    .educare-section h2,
    .academic-section h2,
    .lead-step legend,
    .lead-result h2 {
        font-size: clamp(1.85rem, 8vw, 2.45rem);
        line-height: 1.06;
    }

    .educare-section,
    .academic-section,
    .lead-qualifier {
        border-radius: 1.25rem;
    }

    .educare-sidebar a,
    .academic-sidebar a {
        min-width: 0;
        display: flex;
        align-items: center;
        min-height: 3.25rem;
        padding: 0.9rem 1rem;
        border-radius: 0.95rem;
        background: #f8fafc;
        color: #475569;
        font-size: 0.9rem;
        line-height: 1.2;
    }

    .educare-sidebar a.is-active,
    .academic-sidebar a.is-active {
        background: rgba(30, 58, 138, 0.08);
        color: var(--navy-institutional);
    }

    .academic-hero {
        padding: 3rem 0 2.5rem;
    }

    .academic-hero-grid,
    .academic-layout {
        grid-template-columns: 1fr;
    }

    .academic-hero-media {
        display: none;
    }

    .academic-body {
        padding: 2.5rem 0 6.5rem;
    }

    .academic-sidebar {
        position: fixed;
        left: 1.25rem;
        right: 1.25rem;
        bottom: calc(1rem + env(safe-area-inset-bottom));
        z-index: 65;
    }

    .academic-sidebar nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 80;
        max-height: min(78dvh, 34rem);
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.35rem;
        overflow-y: auto;
        padding: 1.25rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom));
        border: 1px solid #e8edf4;
        border-bottom: 0;
        border-radius: 1.5rem 1.5rem 0 0;
        background: #fff;
        box-shadow: 0 -30px 80px -48px rgba(15, 23, 42, 0.55);
        opacity: 0;
        pointer-events: none;
        transform: translate3d(0, 105%, 0) scale(0.98);
        transform-origin: bottom center;
        transition:
            opacity 220ms ease,
            transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
        overscroll-behavior: contain;
    }

    .academic-sidebar.is-open nav {
        opacity: 1;
        pointer-events: auto;
        transform: translate3d(0, 0, 0) scale(1);
    }

    .academic-area-grid,
    .academic-project-grid,
    .institutional-project-card-grid,
    .levels-hero-grid,
    .level-detail,
    .level-feature-groups {
        grid-template-columns: 1fr;
    }

    .level-detail-media {
        order: -1;
    }

    .institutional-projects-hero-grid,
    .family-workshops-hero-grid,
    .encounter-songs-hero-grid,
    .workshop-examples-hero-grid,
    .family-prose-columns,
    .family-objectives,
    .family-workshops-two-column,
    .workshop-meta-grid,
    .workshop-example-two-column,
    .workshop-virtual-grid,
    .encounter-songs-intro,
    .encounter-songs-grid {
        grid-template-columns: 1fr;
    }

    .educare-magazines-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .workshop-examples-hero {
        padding: 3rem 0 2.5rem;
    }

    .workshop-examples-body {
        padding: 2.5rem 0 4rem;
    }

    .educare-magazines-body {
        padding: 2.5rem 0 4rem;
    }

    .encounter-songs-hero {
        padding: 3.2rem 0 3rem;
    }

    .encounter-songs-hero-copy h1 {
        font-size: clamp(3rem, 14vw, 4.4rem);
    }

    .encounter-songs-cover-card {
        max-width: 32rem;
        transform: none;
    }

    .encounter-songs-body {
        padding: 2.75rem 0 4rem;
    }

    .workshop-timeline article {
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }

    .authority-group {
        padding: 1rem;
    }

    .authority-list {
        grid-template-columns: 1fr;
    }

    .final-cta-panel {
        padding: 2rem 1.4rem;
    }

    .final-cta-panel h2 {
        font-size: clamp(2.25rem, 10vw, 3rem);
        line-height: 1.05;
    }

    .lead-actions,
    .lead-result-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .lead-primary,
    .lead-secondary {
        width: 100%;
    }

    .home-sponsor-cta-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-sponsor-cta-button {
        width: 100%;
    }

    .final-cta-panel::after {
        width: 70%;
        opacity: 0.08;
        background-position: right bottom;
    }

    .value-card,
    .level-card,
    .lived-panel {
        padding: 1.5rem;
    }

    .foundational-motto-bg {
        background: url("img/gandhi.png") center top / auto 8.5rem no-repeat;
        opacity: 0.24;
    }

    .foundational-motto-content {
        margin-left: 0;
        padding: 8rem 0 0;
        text-align: center;
    }

    .home-hero.home-hero-image .max-w-3xl > p,
    .home-hero.home-hero-video .max-w-3xl > p {
        color: rgba(255, 255, 255, 0.92);
    }
}
