/* Mobile and tablet layout. Loaded last so it can tighten spacing
   and keep the header menu above page content. */

@media (max-width: 1199.98px) {

    .section,
    .about-wrap,
    .school-wrap,
    .fac-intro,
    .fac-block,
    .fac-close,
    .sl-intro,
    .sl-block,
    .sl-close,
    .home-intro,
    .home-about,
    .home-why,
    .home-journey,
    .home-academics,
    .home-life,
    .home-admit,
    .home-founder,
    .home-voices,
    .home-gallery,
    .home-journal,
    .home-close,
    .home-facilities {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .site-nav .nav-caret {
        width: 44px;
        height: 44px;
        margin-left: auto;
        display: grid;
        place-items: center;
        flex: 0 0 44px;
        border-radius: 10px;
    }

    .site-nav .dropdown-menu {
        display: none;
    }

    .site-nav .nav-item.dropdown.show>.dropdown-menu,
    .site-nav .dropdown-menu.show {
        display: block;
    }

    body.is-home .site-nav.is-open {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1045;
        max-height: 100dvh;
        overflow: auto;
        background: #fff;
        padding-bottom: 1rem;
    }

    body.is-home .site-nav.is-open .navbar-collapse {
        position: relative;
        z-index: 1;
        max-height: none;
        overflow: visible;
    }
}

@media (max-width: 767px) {
    .disclosure-facts {
        grid-template-columns: repeat(2, 1fr);
    }

    .disclosure-search {
        flex-basis: 100%;
    }

    .doc-item {
        flex-wrap: wrap;
    }

    .doc-title {
        flex-basis: calc(100% - 56px);
    }

    .doc-actions {
        margin-left: 56px;
    }

    .hero-lead {

        margin-bottom: 0px;
    }

    .hero-layout {

        padding-bottom: 1rem;
        gap: 1rem;
    }

    .home-edge svg {

        height: 0px;
    }

    .home-about,
    .home-why,
    .home-journey,
    .home-facilities,
    .home-academics,
    .home-life,
    .home-founder,
    .home-admit,
    .home-voices,
    .home-gallery,
    .home-journal,
    .home-intro {
        padding: 30px 0;
    }

    .hero-copy {
        padding-bottom: 0.5rem;
    }

    .hero-scroll {
        display: none;
    }

    .hero-title {
        font-size: clamp(1.75rem, 8vw, 2.35rem);
    }

    .why-grid,
    .journey-grid {
        grid-template-columns: 1fr;
    }

    .journal-hit {
        display: flex;
        min-height: 0;
    }

    .journal-media {
        aspect-ratio: 16 / 10;
        height: auto;
        min-height: 0;
    }

    .icon-grid,
    .acad-grid,
    .acad-card {
        grid-template-columns: 1fr;
    }

    .acad-photo {
        height: 200px;
        min-height: 0;
    }

    .method-panel ul {
        grid-template-columns: 1fr;
    }

    .campus-hero {
        height: 220px;
    }

    .about-figure,
    .about-figure img {
        height: 280px;
        min-height: 0;
    }

    .page-hero {
        padding: 1.15rem 0;
    }

    .page-hero.is-crumbs {
        padding: 0.75rem 0;
    }

    .page-hero-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.55rem;
    }

    .page-hero .breadcrumbs {
        margin-left: 0;
        border-radius: 10px;
    }

    .page-hero .breadcrumbs li:last-child {
        max-width: min(34ch, 70vw);
    }

    .intro-facts {
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        gap: 1rem 1rem;
        padding: 0;
        margin: 1.6rem 0 0;
    }

    .why-row {
        display: grid;
        grid-template-columns: 35px 1fr auto;
        gap: 0.2rem;
        padding: 0.5rem 0.2rem;
    }

    .campus-frame {
        position: relative;
        height: min(65vh, 755px);
        overflow: hidden;
    }

    .journal-head {
        gap: 0rem;
    }

    .close-copy p {
        font-size: 12px;
        max-width: 34rem;
    }

    .round-cta {
        /* width: 276px; */
        height: 50px;
        border-radius: 30px;
        display: flex;
        gap: 10px;
        text-align: center;
        align-items: center;
        width: 100%;
        justify-content: center;
    }

    .close-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.1rem;
    }

    .footer-cta-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1.25rem 1.5rem;
        padding: 1.35rem 12px;
        flex-wrap: wrap;
    }

    .footer-main {
        padding: 1rem 1rem;
    }

    .page-hero h1 {
        margin: 0;
        color: var(--white);
        font-size: 20px;
        line-height: 1.2;
        font-weight: 700;
        text-wrap: balance;
    }

    .about-nav a {
        padding: 0.3rem 0.4rem;
    }


    .intro-grid {
        display: grid;
        gap: clamp(1rem, 3vw, 1rem);
        align-items: center;
    }

    .about-jumps {
        display: flex;
        flex-wrap: wrap;
        gap: 0.45rem;
        margin-top: clamp(1rem, 3vw, 2rem);
    }

    .vision-grid {
        display: grid;
        gap: 1rem;
        margin-top: clamp(1rem, 3vw, 3rem);
    }

    .collage {
        min-height: 0;
        margin-bottom: 0.1rem;
    }

    .pillar-tile span {
        margin-bottom: 5px;
    }

    .fac-labs li {
        min-height: 6.5rem;
        padding: 1rem 0.95rem;
    }

    .fac-nav ul {
        justify-content: flex-start;
    }

    /* .fac-labs,
            #activities .fac-labs, */
    .fac-split,
    .fac-split.is-flip {
        grid-template-columns: 1fr;
    }

    .fac-labs {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-block,
    .story-grid,
    .journey-close {
        margin-top: clamp(2rem, 3vw, 3rem);
    }

    body.is-about h2,
    body.is-about h3 {
        letter-spacing: -0.02em;

    }

    body:not(.is-home) {
        padding-bottom: 0rem;
    }

    .os-btn {
        gap: 1rem;
        padding: 0.5rem 1.2rem;
    }




}



@media (max-width: 575.98px) {

    .hero-actions,
    .close-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-home {
        justify-content: center;
    }

    .life-feature {
        min-height: 220px;
    }

    .voice-picks {
        grid-template-columns: 1fr;
    }

    .voice-mark {
        width: 42px;
    }

    .voice-slide blockquote {
        padding-right: 2.4rem;
    }

    .gallery-masonry {
        grid-auto-rows: 120px;
    }

    .home-mobile-bar a span,
    .home-mobile-bar a {
        font-size: 0.72rem;
    }
}

@media (max-width: 374px) {
    .hero-title {
        font-size: 1.7rem;
    }

    body.is-home .home-display {
        font-size: 1.6rem;
    }

    body.is-home .navbar-brand img {
        height: 46px;
    }
}