@media (max-width: 900px) {
    .main-header {
        height: 70px;
    }

    .header-inner {
        padding: 0 20px;
    }

    .main-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 70px;
        display: none;
        background: var(--color-white);
        border-bottom: 1px solid var(--color-border);
        padding: 12px 20px;
    }

    .main-nav.active {
        display: block;
    }

    .nav-menu {
        display: grid;
        gap: 0;
    }

    .nav-menu a {
        padding: 12px 0;
        box-shadow: none;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
        border: 0;
        background: transparent;
        display: grid;
        place-content: center;
        gap: 5px;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 21px;
        height: 2px;
        background: var(--color-primary);
        transition: var(--transition);
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero {
        min-height: 570px;
    }

    .hero.compact {
        min-height: 370px;
    }

    .hero-content,
    .hero.compact .hero-content {
        padding: 0 24px 54px;
    }

    .hero h1 {
        font-size: 58px;
    }

    .section {
        padding: 73px 24px;
    }

    .intro-section,
    .split-story,
    .facilities-intro,
    .history-band {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .gallery-section,
    .program-list,
    .facility-grid,
    .history-band {
        padding-left: 24px;
        padding-right: 24px;
    }

    .gallery-display {
        min-height: 420px;
    }

    .gallery-slide {
        padding: 28px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 37px 24px;
    }

    .stats > div:nth-child(3) {
        border-left: 0;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
        gap: 20px;
    }

    .quick-grid,
    .news-grid,
    .pillars,
    .value-grid,
    .facility-grid {
        grid-template-columns: 1fr;
    }

    .action-card {
        min-height: 215px;
    }

    .news-wrap {
        padding: 68px 24px;
    }

    .news-card {
        display: grid;
        grid-template-columns: 170px 1fr;
    }

    .news-card img {
        height: 100%;
    }

    .pillars {
        padding: 0 24px;
    }

    .pillars article {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.19);
        padding: 36px 0;
    }

    .pillars article:first-child {
        border-top: 0;
    }

    .program {
        grid-template-columns: 1fr;
    }

    .program-photo img {
        height: 260px;
        min-height: 260px;
    }

    .program-content {
        padding: 29px;
    }

    .program-icon {
        top: 28px;
        right: 28px;
    }

    .facility.wide {
        grid-column: auto;
        min-height: 365px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        padding: 47px 24px;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .footer-bottom {
        padding: 16px 24px;
    }
}

@media (max-width: 540px) {
    .brand-logo {
        width: 38px;
        height: 38px;
    }

    .brand-copy strong {
        font-size: 12px;
    }

    .brand-copy small {
        font-size: 11px;
    }

    .hero {
        min-height: 530px;
    }

    .hero.compact {
        min-height: 345px;
    }

    .hero h1 {
        font-size: 47px;
    }

    .hero p:not(.eyebrow) {
        font-size: 17px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .gallery-section {
        padding: 0;
    }

    .gallery-slide {
        padding: 24px;
    }

    .gallery-display h3 {
        font-size: 38px;
    }

    .gallery-controls {
        right: 24px;
        bottom: 27px;
    }

    .stats strong {
        font-size: 45px;
    }

    .stats > div {
        padding-left: 15px;
    }

    .section h2,
    .construction h2 {
        font-size: 42px;
    }

    .news-card {
        grid-template-columns: 1fr;
    }

    .news-card img {
        height: 180px;
    }

    .program h3 {
        font-size: 34px;
    }

    .facility h3 {
        font-size: 35px;
    }

    .history-image img {
        height: 280px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-info {
        flex-direction: column;
        gap: 28px;
    }

    .footer-bottom {
        font-size: 10px;
    }

    .footer-bottom span:last-child {
        display: none;
    }
}
