@media (max-width: 1100px) {
    .hero-grid,
    .footer-grid,
    .industry-grid,
    .knowledge-grid,
    .service-grid,
    .process-strip,
    .excellence-layout {
        grid-template-columns: 1fr 1fr;
    }

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

    .hero-panel__screen,
    .hero-panel__image {
        min-height: 520px;
    }

    .section-heading {
        max-width: 100%;
    }
}

@media (max-width: 900px) {
    .site-header {
        padding-top: 0.65rem;
    }

    .header-bar {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        row-gap: 0;
        padding: 0.85rem 0.95rem;
        border-radius: 24px;
        position: relative;
    }

    .menu-toggle {
        display: inline-block;
    }

    .site-nav {
        display: none;
        grid-column: 1 / -1;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.9rem;
        margin-top: 0.8rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(8, 19, 26, 0.08);
        width: 100%;
    }

    .site-nav.is-open {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    .hero {
        min-height: auto;
        padding-top: 1rem;
    }

    .hero-grid {
        min-height: auto;
        gap: 1.4rem;
    }

    .hero-copy h1 {
        max-width: none;
    }

    .hero-copy__lede {
        max-width: 100%;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .industry-grid,
    .knowledge-grid,
    .service-grid,
    .process-strip,
    .excellence-layout {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        gap: 1.1rem;
    }
}

@media (max-width: 720px) {
    :root {
        --container: calc(100vw - 24px);
        --header-height: 74px;
    }

    .section {
        padding: 3.4rem 0;
    }

    .section--compact {
        padding: 1.2rem 0;
    }

    .site-header {
        padding-top: 0.55rem;
    }

    .header-bar {
        min-height: auto;
        padding: 0.75rem 0.85rem;
    }

    .hero-copy h1 {
        font-size: clamp(2.5rem, 13vw, 3.6rem);
        line-height: 0.98;
        letter-spacing: -0.045em;
    }

    .hero-copy__lede {
        font-size: 0.98rem;
        line-height: 1.66;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        margin-top: 1.6rem;
    }

    .button,
    .button--ghost {
        width: 100%;
    }

    .hero-panel__screen,
    .hero-panel__image {
        min-height: 360px;
    }

    .hero-panel__status {
        left: 0.8rem;
        right: 0.8rem;
        bottom: 0.8rem;
        padding: 0.9rem;
        gap: 0.6rem;
    }

    .section-heading h2,
    .footer-copy h2 {
        font-size: clamp(1.9rem, 8.5vw, 2.5rem);
        line-height: 1.06;
        letter-spacing: -0.04em;
    }

    .contact-form,
    .contact-panel__card,
    .service-card,
    .knowledge-card,
    .excellence-card,
    .industry-card,
    .process-card {
        padding: 1.2rem;
    }

    .service-card h3,
    .industry-card h3,
    .knowledge-card h3,
    .process-card h3,
    .excellence-card h3,
    .contact-panel__card h3 {
        font-size: 1.14rem;
        line-height: 1.2;
    }

    .hero-metrics article,
    .service-card,
    .knowledge-card,
    .industry-card,
    .process-card,
    .excellence-card,
    .contact-panel__card {
        border-radius: 18px;
    }

    .contact-form {
        gap: 0.9rem;
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        padding: 0.9rem 0.95rem;
    }

    .ticker-track {
        animation-duration: 34s;
    }
}

@media (max-width: 520px) {
    .brand__logo {
        height: 48px;
    }

    .brand__descriptor {
        display: none;
    }

    .site-header.is-scrolled .header-bar,
    .header-bar {
        border-radius: 20px;
    }

    .site-nav a {
        width: 100%;
        padding: 0.1rem 0;
    }

    .ticker-track {
        gap: 1.5rem;
        font-size: 0.88rem;
    }

    .hero-copy__lede,
    .section-heading p,
    .footer-copy > p,
    .service-card p,
    .knowledge-card p,
    .industry-card p,
    .process-card p,
    .excellence-card p,
    .contact-panel__card p,
    .form-note,
    .form-status {
        font-size: 0.95rem;
        line-height: 1.64;
    }

    .hero-panel__status strong {
        font-size: 0.9rem;
    }

    .hero-panel__status p {
        font-size: 0.72rem;
    }

    .map-frame,
    .map-frame iframe {
        height: 260px;
        min-height: 260px;
    }
}

@media (max-width: 400px) {
    :root {
        --container: calc(100vw - 20px);
    }

    .hero-copy h1 {
        font-size: 2.25rem;
    }

    .button,
    .button--ghost {
        min-height: 3rem;
    }

    .header-bar {
        padding: 0.7rem 0.75rem;
    }
}
