@media (max-width: 1100px) {
    .mr-hero__content {
        grid-template-columns: 1fr;
    }

    .mr-stat-grid,
    .mr-about-grid,
    .mr-feature-grid,
    .mr-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mr-contact-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .mr-contact-card__actions {
        justify-content: flex-start;
    }
}

@media (max-width: 920px) {
    .mr-header__inner {
        grid-template-columns: auto auto;
        gap: 14px;
    }

    .mr-header__nav {
        grid-column: 1 / -1;
        justify-content: stretch;
    }

    .nav-toggle-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        justify-self: end;
    }

    .mr-header__actions {
        display: none;
    }

    .mr-nav-links {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        padding-top: 8px;
    }

    .mr-nav-links.active {
        display: flex;
    }

    .mr-nav-links a {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 14px;
    }

    .mr-hero {
        min-height: auto;
    }

    .mr-hero__content {
        padding: 28px;
    }

    .mr-project-card,
    .mr-project-card--featured {
        grid-column: span 12;
    }

    .mr-project-card--featured {
        grid-template-columns: 1fr;
    }

    .mr-about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    :root {
        --mr-content-width: min(100% - 24px, 1240px);
    }

    .mr-main-content {
        padding-top: 20px;
        padding-bottom: 56px;
    }

    .mr-header__inner {
        padding: 10px 0;
    }

    .mr-initials {
        font-size: 2rem;
    }

    .mr-project-name {
        font-size: 1.2rem;
    }

    .mr-hero__content,
    .mr-project-card,
    .mr-feature-card,
    .mr-process-card,
    .mr-contact-card {
        padding: 18px;
    }

    .video-container {
        border-radius: 26px;
    }

    .mr-hero__copy h1 {
        font-size: clamp(2.2rem, 11vw, 3.5rem);
    }

    .mr-stat-grid,
    .mr-about-grid,
    .mr-feature-grid,
    .mr-process-grid {
        grid-template-columns: 1fr;
    }

    .mr-focus-card {
        min-height: 470px;
    }

    .overlay-text {
        left: 18px;
        right: 18px;
        top: 24px;
    }

    .overlay-image {
        top: 78px;
        width: min(72%, 260px);
    }

    .mr-focus-card__body {
        left: 16px;
        right: 16px;
        bottom: 16px;
        padding: 18px;
    }

    .mr-footer__nav {
        padding-top: 0;
    }

    .footer-container {
        width: 100%;
        flex-direction: column;
    }

    .footer-button {
        width: 100%;
        min-height: 62px;
    }

    .footer-links {
        flex-direction: column;
    }

    .footer-links a,
    .mr-button {
        width: 100%;
    }

    .mr-hero__actions,
    .mr-contact-card__actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
