/* Approved homepage and About-page visual treatment.
   Rules stay scoped to these pages so shared navigation and footer are unchanged. */

.enhanced-home :where(.enhanced-home-hero, .enhanced-home-hero *, .enhanced-section, .enhanced-section *),
.enhanced-about :where(.enhanced-section, .enhanced-section *) {
    box-sizing: border-box;
}

.enhanced-home :where(.enhanced-home-hero, .enhanced-section),
.enhanced-about .enhanced-section,
.enhanced-home :where(.enhanced-home-hero *, .enhanced-section *),
.enhanced-about .enhanced-section * {
    min-width: 0;
}

.enhanced-home :where(.enhanced-home-hero img, .enhanced-home-hero video, .enhanced-section img, .enhanced-section video),
.enhanced-about .enhanced-section img {
    max-width: 100%;
}

.enhanced-home .enhanced-container,
.enhanced-about .enhanced-container {
    width: min(100% - 3rem, 76rem);
    margin-inline: auto;
}

.enhanced-home .enhanced-section,
.enhanced-about .enhanced-section {
    padding-block: clamp(3.25rem, 5vw, 4.5rem);
}

.enhanced-home .enhanced-section-heading,
.enhanced-about .enhanced-section-heading {
    width: min(100%, 47rem);
    margin: 0 auto clamp(2.5rem, 5vw, 4rem);
    text-align: center;
}

.enhanced-home .enhanced-section-heading h2,
.enhanced-about .enhanced-section-heading h2,
.enhanced-about .enhanced-about-leadership h2,
.enhanced-about .enhanced-about-environment h2,
.enhanced-home .enhanced-home-cta h2,
.enhanced-about .enhanced-about-cta h2 {
    margin: 0;
    color: #1a1a1a;
    font-size: clamp(2rem, 4.2vw, 3.35rem);
    line-height: 1.06;
    letter-spacing: -0.035em;
}

.enhanced-home .enhanced-section-heading > p:last-child,
.enhanced-about .enhanced-section-heading > p:last-child {
    max-width: 43rem;
    margin: 1rem auto 0;
    color: #5d6267;
    font-size: clamp(0.98rem, 1.4vw, 1.08rem);
    line-height: 1.7;
}

.enhanced-home .enhanced-eyebrow,
.enhanced-about .enhanced-eyebrow {
    margin: 0 0 0.65rem;
    color: #60666c;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.enhanced-home .enhanced-button,
.enhanced-about .enhanced-button {
    display: inline-flex;
    min-height: 3.25rem;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 0.85rem 1.4rem;
    border: 1px solid transparent;
    border-radius: 0.3rem;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    font-size: 0.93rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.enhanced-home .enhanced-button:focus-visible,
.enhanced-about .enhanced-button:focus-visible,
.enhanced-home .enhanced-division-card a:focus-visible {
    outline: 3px solid #d4caca;
    outline-offset: 3px;
}

.enhanced-home .enhanced-button:hover,
.enhanced-about .enhanced-button:hover {
    transform: translateY(-2px);
}

.enhanced-home .enhanced-button--dark,
.enhanced-about .enhanced-button--dark {
    color: #fff;
    background: #1a1a1a;
}

.enhanced-home .enhanced-button--dark:hover,
.enhanced-about .enhanced-button--dark:hover {
    color: #1a1a1a;
    border-color: #1a1a1a;
    background: #fff;
}

.enhanced-home .enhanced-button--outline,
.enhanced-about .enhanced-button--outline {
    color: #1a1a1a;
    border-color: #70757a;
    background: transparent;
}

.enhanced-home .enhanced-button--outline:hover,
.enhanced-about .enhanced-button--outline:hover {
    color: #fff;
    border-color: #1a1a1a;
    background: #1a1a1a;
}

/* Homepage hero is independent from the legacy slideshow/typewriter contract. */
.enhanced-home .enhanced-home-hero {
    position: relative;
    display: grid;
    min-height: clamp(39rem, calc(100svh - 5rem), 49rem);
    place-items: center;
    isolation: isolate;
    background: #1a1a1a;
}

.enhanced-home .enhanced-home-hero__media,
.enhanced-home .enhanced-home-hero__picture,
.enhanced-home .enhanced-home-hero__picture img,
.enhanced-home .enhanced-home-hero__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.enhanced-home .enhanced-home-hero__media {
    z-index: -2;
    overflow: hidden;
    background: #1a1a1a;
}

.enhanced-home .enhanced-home-hero__picture {
    z-index: 0;
    overflow: hidden;
}

.enhanced-home .enhanced-home-hero__picture img {
    display: block;
    object-fit: cover;
    object-position: center 48%;
    color: transparent;
}

.enhanced-home .enhanced-home-hero__picture--graduation {
    z-index: 1;
    opacity: 0;
    animation: enhanced-home-graduation-crossfade 16s ease-in-out infinite;
    will-change: opacity;
}

.enhanced-home .enhanced-home-hero__picture--graduation img {
    /* Keep a failed decorative image's native error glyph outside the clipped layer. */
    inset: -1.125rem;
    width: calc(100% + 2.25rem);
    height: calc(100% + 2.25rem);
    max-width: none;
    object-position: 70% center;
}

.enhanced-home .enhanced-home-hero__shade {
    z-index: -1;
    background: linear-gradient(90deg, rgba(26, 26, 26, 0.9) 0%, rgba(26, 26, 26, 0.68) 41%, rgba(26, 26, 26, 0.18) 78%);
}

@keyframes enhanced-home-graduation-crossfade {
    0%, 43.75% { opacity: 0; }
    50%, 93.75% { opacity: 1; }
    100% { opacity: 0; }
}

.enhanced-home .enhanced-home-hero__content {
    padding-block: clamp(4rem, 10vw, 7.5rem);
    color: #fff;
}

.enhanced-home .enhanced-home-hero__school {
    margin: 0 0 0.4rem;
    color: #fff;
    font-size: clamp(1.05rem, 2vw, 1.55rem);
    font-weight: 800;
    letter-spacing: 0.15em;
    line-height: 1.2;
    text-transform: uppercase;
}

.enhanced-home .enhanced-home-hero h1 {
    max-width: 11ch;
    margin: 0;
    color: #fff;
    font-size: clamp(3rem, 6.2vw, 5.5rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.enhanced-home .enhanced-home-hero__levels {
    margin: clamp(1.4rem, 3vw, 2rem) 0 0;
    color: #fff;
    font-family: Georgia, serif;
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    line-height: 1.25;
}

.enhanced-home .enhanced-home-hero__lead {
    max-width: 38rem;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.98rem, 1.4vw, 1.08rem);
    line-height: 1.68;
}

.enhanced-home .enhanced-home-actions,
.enhanced-home .enhanced-cta-actions,
.enhanced-about .enhanced-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.enhanced-home .enhanced-home-actions { margin-top: 2rem; }

.enhanced-home .enhanced-button--light {
    color: #1a1a1a;
    border-color: #fff;
    background: #fff;
}

.enhanced-home .enhanced-button--light:hover {
    color: #fff;
    background: transparent;
}

.enhanced-home .enhanced-button--text {
    color: #fff;
    background: transparent;
}

.enhanced-home .enhanced-button--text:hover {
    color: #1a1a1a;
    background: #fff;
}

/* Homepage foundation and divisions. */
.enhanced-home .enhanced-home-foundation { background: #fffafa; }

.enhanced-home .enhanced-home-pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.enhanced-home .enhanced-home-pillars article {
    padding: 0 clamp(1.5rem, 4vw, 3rem);
    text-align: center;
}

.enhanced-home .enhanced-home-pillars article + article { border-left: 1px solid #d4caca; }

.enhanced-home .enhanced-icon {
    display: inline-grid;
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.35rem;
    place-items: center;
    border-radius: 50%;
    color: #1a1a1a;
    background: #d4caca;
    font-size: 1.45rem;
}

.enhanced-home .enhanced-home-pillars h3 {
    margin: 0 0 0.55rem;
    color: #1a1a1a;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.enhanced-home .enhanced-home-pillars p {
    margin: 0;
    color: #5d6267;
    line-height: 1.65;
}

.enhanced-home .enhanced-home-divisions { background: #fffafa; }

.enhanced-home .enhanced-division-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.1rem, 2.5vw, 1.75rem);
}

.enhanced-home .enhanced-division-card {
    background: #fff;
    box-shadow: 0 12px 28px rgba(26, 26, 26, 0.08);
}

.enhanced-home .enhanced-division-card > img {
    display: block;
    width: 100%;
    height: clamp(13rem, 20vw, 16.5rem);
    aspect-ratio: 1.55 / 1;
    object-fit: cover;
}

.enhanced-home .enhanced-division-card > div { padding: clamp(1.25rem, 2.8vw, 1.8rem); }

.enhanced-home .enhanced-division-card h3 {
    margin: 0;
    color: #1a1a1a;
    font-size: clamp(1.3rem, 2.2vw, 1.7rem);
}

.enhanced-home .enhanced-division-card p {
    margin: 0.7rem 0 1.15rem;
    color: #5d6267;
    line-height: 1.62;
}

.enhanced-home .enhanced-division-card a {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #1a1a1a;
    font-size: 0.93rem;
    font-weight: 700;
    text-decoration: none;
}

.enhanced-home .enhanced-division-card a:hover { color: #5d6267; }

/* Dimensional school-tour presentation. */
.enhanced-home .enhanced-home-tour { background: #fff; }

.enhanced-home .enhanced-tour-stage {
    position: relative;
    width: min(100%, 66rem);
    margin-inline: auto;
    aspect-ratio: 16 / 8.1;
    overflow: hidden;
    border: 0.55rem solid #fff;
    border-radius: 0.7rem;
    background: #1a1a1a url('../images/home-hero-exterior.jpg') center / cover no-repeat;
    box-shadow: 0 2rem 3.5rem rgba(26, 26, 26, 0.25), 0 0.45rem 1rem rgba(26, 26, 26, 0.14);
    transform: perspective(70rem) rotateX(1.8deg);
    transform-origin: center bottom;
}

.enhanced-home .enhanced-tour-stage::after {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.12);
    content: '';
    pointer-events: none;
}

.enhanced-home .enhanced-tour-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.enhanced-home .enhanced-tour-label {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    display: grid;
    place-items: center;
    color: #fff;
    text-align: center;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.enhanced-home .enhanced-tour-label span {
    display: grid;
    width: clamp(4rem, 7vw, 5.4rem);
    height: clamp(4rem, 7vw, 5.4rem);
    place-items: center;
    border: 2px solid #fff;
    border-radius: 50%;
    background: rgba(26, 26, 26, 0.55);
    box-shadow: 0 0.7rem 1.4rem rgba(26, 26, 26, 0.3);
    font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.enhanced-home .enhanced-tour-label p {
    margin: 0.7rem 0 0;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
}

.enhanced-home .enhanced-home-spaces { background: #fffafa; }

.enhanced-home .enhanced-spaces-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.enhanced-home .enhanced-spaces-grid img {
    display: block;
    width: 100%;
    height: clamp(10rem, 16vw, 13.5rem);
    aspect-ratio: 1.72 / 1;
    object-fit: cover;
}

.enhanced-home .enhanced-spaces-caption {
    display: flex;
    max-width: 45rem;
    align-items: center;
    gap: 1.1rem;
    margin: 1.65rem auto 0;
    color: #4f555b;
    font-size: 0.9rem;
    text-align: center;
}

.enhanced-home .enhanced-spaces-caption span {
    height: 1px;
    flex: 1;
    background: #d4caca;
}

.enhanced-home .enhanced-home-cta,
.enhanced-about .enhanced-about-cta {
    text-align: center;
    background: #d4caca;
}

.enhanced-home .enhanced-home-cta p,
.enhanced-about .enhanced-about-cta > .enhanced-container > p:not(.enhanced-eyebrow) {
    margin: 0.9rem auto 1.8rem;
    color: #474c51;
    font-size: 1.05rem;
}

.enhanced-home .enhanced-cta-actions,
.enhanced-about .enhanced-cta-actions { justify-content: center; }

/* About: approved Option 3 body. The existing header/hero is deliberately untouched. */
.enhanced-about .enhanced-about-story { background: #fff; }

.enhanced-about .enhanced-about-story .enhanced-section-heading {
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.enhanced-about .enhanced-about-story__figure { margin: 0; }

.enhanced-about .enhanced-about-story__figure img {
    display: block;
    width: 100%;
    height: clamp(16rem, 28vw, 24rem);
    aspect-ratio: 16 / 5.2;
    object-fit: cover;
    object-position: center 48%;
}

.enhanced-about .enhanced-about-story__figure figcaption {
    margin-top: 0.85rem;
    color: #666b70;
    font-size: 0.84rem;
    font-style: italic;
    text-align: center;
}

.enhanced-about .enhanced-about-purpose { background: #fffafa; }

.enhanced-about .enhanced-about-purpose__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.enhanced-about .enhanced-about-purpose article {
    padding-inline: clamp(1.3rem, 3.5vw, 3rem);
}

.enhanced-about .enhanced-about-purpose article + article { border-left: 1px solid #d4caca; }

.enhanced-about .enhanced-purpose-icon {
    display: block;
    margin-bottom: 1rem;
    color: #4f565d;
    font-size: 2.15rem;
}

.enhanced-about .enhanced-about-purpose h2 {
    margin: 0;
    color: #1a1a1a;
    font-size: clamp(1.35rem, 2.3vw, 1.75rem);
}

.enhanced-about .enhanced-about-purpose p {
    margin: 0.75rem 0 0;
    color: #555b61;
    line-height: 1.68;
}

.enhanced-about .enhanced-about-leadership {
    text-align: center;
    background: #d4caca;
}

.enhanced-about .enhanced-about-leadership .enhanced-container {
    width: min(100% - 3rem, 58rem);
}

.enhanced-about .enhanced-about-leadership p:not(.enhanced-eyebrow) {
    margin: 1.15rem auto 1.3rem;
    color: #44494e;
    font-size: 1.02rem;
    line-height: 1.75;
}

.enhanced-about .enhanced-about-leadership strong { color: #1a1a1a; }

.enhanced-about .enhanced-about-values { background: #fff; }

.enhanced-about .enhanced-values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(2rem, 4vw, 3.6rem) clamp(1.5rem, 4vw, 3.5rem);
}

.enhanced-about .enhanced-values-grid article {
    display: grid;
    grid-template-columns: 2.25rem minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.enhanced-about .enhanced-values-grid article > i {
    color: #545b62;
    font-size: 1.65rem;
    line-height: 1.2;
}

.enhanced-about .enhanced-values-grid h3 {
    margin: 0;
    color: #1a1a1a;
    font-size: 1.2rem;
}

.enhanced-about .enhanced-values-grid p {
    margin: 0.55rem 0 0;
    color: #5d6267;
    line-height: 1.62;
}

.enhanced-about .enhanced-about-environment { background: #fffafa; }

.enhanced-about .enhanced-about-environment__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

.enhanced-about .enhanced-about-environment figure { margin: 0; }

.enhanced-about .enhanced-about-environment img {
    display: block;
    width: 100%;
    height: clamp(17rem, 28vw, 23rem);
    aspect-ratio: 1.55 / 1;
    object-fit: cover;
}

.enhanced-about .enhanced-about-environment p:not(.enhanced-eyebrow) {
    margin: 1rem 0 1.6rem;
    color: #565c62;
    line-height: 1.7;
}

.enhanced-about .enhanced-about-journey { background: #fffafa; }

.enhanced-about .enhanced-journey-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1.3rem, 3vw, 2.5rem);
}

.enhanced-about .enhanced-journey-grid::before {
    position: absolute;
    top: 1.25rem;
    right: 10%;
    left: 10%;
    height: 1px;
    background: #9ba0a5;
    content: '';
}

.enhanced-about .enhanced-journey-grid article {
    position: relative;
    text-align: center;
}

.enhanced-about .enhanced-journey-grid span {
    position: relative;
    z-index: 1;
    display: inline-grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #4f565d;
    font-weight: 800;
}

.enhanced-about .enhanced-journey-grid h3 {
    margin: 1rem 0 0.25rem;
    color: #1a1a1a;
    font-size: 1.18rem;
}

.enhanced-about .enhanced-journey-grid small {
    color: #5f656a;
    font-size: 0.78rem;
}

.enhanced-about .enhanced-journey-grid p {
    margin: 0.65rem auto 0;
    color: #5d6267;
    line-height: 1.55;
}

.enhanced-about .enhanced-journey-note {
    margin: 2rem 0 0;
    color: #62686d;
    font-size: 0.82rem;
    font-style: italic;
    text-align: center;
}

/* Page-scoped, progressively enhanced scroll reveals. */
.enhanced-home.scroll-animation-ready [data-scroll-animation],
.enhanced-about.scroll-animation-ready [data-scroll-animation] {
    --scroll-reveal-x: 0;
    --scroll-reveal-y: 1.625rem;
    opacity: 0;
    transform: translate3d(var(--scroll-reveal-x), var(--scroll-reveal-y), 0);
    transition: opacity 620ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: 0ms;
    will-change: opacity, transform;
}

.enhanced-home.scroll-animation-ready [data-scroll-animation="reveal-left"],
.enhanced-about.scroll-animation-ready [data-scroll-animation="reveal-left"] {
    --scroll-reveal-x: -1.875rem;
    --scroll-reveal-y: 0;
}

.enhanced-home.scroll-animation-ready [data-scroll-animation="reveal-right"],
.enhanced-about.scroll-animation-ready [data-scroll-animation="reveal-right"] {
    --scroll-reveal-x: 1.875rem;
    --scroll-reveal-y: 0;
}

.enhanced-home.scroll-animation-ready [data-scroll-delay="1"],
.enhanced-about.scroll-animation-ready [data-scroll-delay="1"] { transition-delay: 80ms; }

.enhanced-home.scroll-animation-ready [data-scroll-delay="2"],
.enhanced-about.scroll-animation-ready [data-scroll-delay="2"] { transition-delay: 160ms; }

.enhanced-home.scroll-animation-ready [data-scroll-delay="3"],
.enhanced-about.scroll-animation-ready [data-scroll-delay="3"] { transition-delay: 240ms; }

.enhanced-home.scroll-animation-ready [data-scroll-delay="4"],
.enhanced-about.scroll-animation-ready [data-scroll-delay="4"] { transition-delay: 320ms; }

.enhanced-home.scroll-animation-ready [data-scroll-delay="5"],
.enhanced-about.scroll-animation-ready [data-scroll-delay="5"] { transition-delay: 400ms; }

.enhanced-home.scroll-animation-ready [data-scroll-animation].scroll-animate-visible,
.enhanced-about.scroll-animation-ready [data-scroll-animation].scroll-animate-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto;
}

@media (max-width: 64rem) {
    .enhanced-home .enhanced-container,
    .enhanced-about .enhanced-container,
    .enhanced-about .enhanced-about-leadership .enhanced-container {
        width: min(100% - 2.5rem, 76rem);
    }

    .enhanced-home .enhanced-home-hero { min-height: 40rem; }

    .enhanced-home .enhanced-home-hero__shade {
        background: linear-gradient(90deg, rgba(26, 26, 26, 0.86) 0%, rgba(26, 26, 26, 0.62) 54%, rgba(26, 26, 26, 0.28) 100%);
    }

    .enhanced-home .enhanced-home-pillars article { padding-inline: 1.5rem; }
    .enhanced-about .enhanced-about-purpose article { padding-inline: 1.4rem; }

    .enhanced-home.scroll-animation-ready [data-scroll-animation],
    .enhanced-about.scroll-animation-ready [data-scroll-animation] {
        --scroll-reveal-y: 1.375rem;
    }

    .enhanced-home.scroll-animation-ready [data-scroll-animation="reveal-left"],
    .enhanced-about.scroll-animation-ready [data-scroll-animation="reveal-left"] {
        --scroll-reveal-x: -1.375rem;
        --scroll-reveal-y: 0;
    }

    .enhanced-home.scroll-animation-ready [data-scroll-animation="reveal-right"],
    .enhanced-about.scroll-animation-ready [data-scroll-animation="reveal-right"] {
        --scroll-reveal-x: 1.375rem;
        --scroll-reveal-y: 0;
    }
}

@media (max-width: 48rem) {
    .enhanced-home .enhanced-section,
    .enhanced-about .enhanced-section {
        padding-block: clamp(3.25rem, 8vw, 4rem);
    }

    .enhanced-home .enhanced-home-hero { min-height: 39rem; }

    .enhanced-home .enhanced-home-hero__picture--exterior img { object-position: 57% center; }
    .enhanced-home .enhanced-home-hero__picture--graduation img { object-position: 72% center; }

    .enhanced-home .enhanced-home-hero__shade {
        background: linear-gradient(90deg, rgba(26, 26, 26, 0.9), rgba(26, 26, 26, 0.48));
    }

    .enhanced-home .enhanced-home-pillars,
    .enhanced-home .enhanced-division-grid,
    .enhanced-about .enhanced-about-purpose__grid,
    .enhanced-about .enhanced-about-environment__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .enhanced-home .enhanced-home-pillars { gap: 2rem; }

    .enhanced-home .enhanced-home-pillars article {
        max-width: 31rem;
        margin-inline: auto;
        padding: 0;
    }

    .enhanced-home .enhanced-home-pillars article + article {
        padding-top: 2rem;
        border-top: 1px solid #d4caca;
        border-left: 0;
    }

    .enhanced-home .enhanced-division-grid {
        width: min(100%, 34rem);
        margin-inline: auto;
    }

    .enhanced-home .enhanced-division-card > img {
        height: clamp(13rem, 50vw, 17rem);
    }

    .enhanced-home .enhanced-spaces-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .enhanced-home .enhanced-spaces-grid img:first-child { grid-column: 1 / -1; }

    .enhanced-home .enhanced-spaces-grid img {
        height: clamp(11rem, 31vw, 14rem);
    }

    .enhanced-about .enhanced-about-purpose__grid { gap: 2rem; }
    .enhanced-about .enhanced-about-purpose article { padding: 0; }

    .enhanced-about .enhanced-about-purpose article + article {
        padding-top: 2rem;
        border-top: 1px solid #d4caca;
        border-left: 0;
    }

    .enhanced-about .enhanced-values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .enhanced-about .enhanced-about-environment__grid { gap: 2.25rem; }

    .enhanced-about .enhanced-journey-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.5rem 1.5rem;
    }

    .enhanced-about .enhanced-journey-grid::before { display: none; }

    .enhanced-home.scroll-animation-ready [data-scroll-animation="reveal-left"],
    .enhanced-home.scroll-animation-ready [data-scroll-animation="reveal-right"],
    .enhanced-about.scroll-animation-ready [data-scroll-animation="reveal-left"],
    .enhanced-about.scroll-animation-ready [data-scroll-animation="reveal-right"] {
        --scroll-reveal-x: 0;
        --scroll-reveal-y: 1.25rem;
    }
}

@media (max-width: 31.25rem) {
    .enhanced-home .enhanced-container,
    .enhanced-about .enhanced-container,
    .enhanced-about .enhanced-about-leadership .enhanced-container {
        width: min(100% - 1.5rem, 76rem);
    }

    .enhanced-home .enhanced-home-hero { min-height: 38rem; }
    .enhanced-home .enhanced-home-hero__content { padding-block: 3.5rem; }

    .enhanced-home .enhanced-home-hero h1 {
        max-width: 10ch;
        font-size: clamp(2.55rem, 14vw, 3.65rem);
    }

    .enhanced-home .enhanced-home-hero__levels br { display: none; }

    .enhanced-home .enhanced-home-actions,
    .enhanced-home .enhanced-cta-actions,
    .enhanced-about .enhanced-cta-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .enhanced-home .enhanced-button,
    .enhanced-about .enhanced-button { width: 100%; }

    .enhanced-home .enhanced-section-heading h2,
    .enhanced-about .enhanced-section-heading h2,
    .enhanced-about .enhanced-about-leadership h2,
    .enhanced-about .enhanced-about-environment h2,
    .enhanced-home .enhanced-home-cta h2,
    .enhanced-about .enhanced-about-cta h2 {
        font-size: clamp(1.85rem, 10vw, 2.5rem);
    }

    .enhanced-home .enhanced-home-tour .enhanced-container {
        width: min(100% - 1rem, 76rem);
    }

    .enhanced-home .enhanced-tour-stage {
        aspect-ratio: 4 / 3;
        border-width: 0.35rem;
        transform: perspective(50rem) rotateX(1.2deg);
    }

    .enhanced-home .enhanced-tour-label p { font-size: 0.78rem; }

    .enhanced-home .enhanced-spaces-grid,
    .enhanced-about .enhanced-values-grid,
    .enhanced-about .enhanced-journey-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .enhanced-home .enhanced-spaces-grid img:first-child { grid-column: auto; }
    .enhanced-home .enhanced-spaces-grid img { aspect-ratio: 1.55 / 1; }

    .enhanced-home .enhanced-division-card > img,
    .enhanced-home .enhanced-spaces-grid img {
        height: 13rem;
    }

    .enhanced-home .enhanced-spaces-caption {
        gap: 0.6rem;
        font-size: 0.8rem;
    }

    .enhanced-about .enhanced-about-story__figure img {
        height: 16rem;
        aspect-ratio: 1.6 / 1;
    }

    .enhanced-about .enhanced-values-grid article {
        grid-template-columns: 2rem minmax(0, 1fr);
    }

    .enhanced-about .enhanced-about-environment img {
        height: 16rem;
        aspect-ratio: 1.4 / 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .enhanced-home.scroll-animation-ready [data-scroll-animation],
    .enhanced-about.scroll-animation-ready [data-scroll-animation] {
        opacity: 1;
        transform: none;
        animation: none;
        transition: none;
        transition-delay: 0ms;
        will-change: auto;
    }

    .enhanced-home .enhanced-home-hero__picture--graduation {
        opacity: 0;
        animation: none;
    }

    .enhanced-home .enhanced-button,
    .enhanced-about .enhanced-button { transition: none; }

    .enhanced-home .enhanced-button:hover,
    .enhanced-about .enhanced-button:hover { transform: none; }

    .enhanced-home .enhanced-tour-video { visibility: hidden; }
}
