@media (max-width: 980px) {
    .hero-screen {
        min-height: auto;
        padding-top: 72px;
    }

    .product-grid,
    .inner-shell,
    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        width: 100%;
        gap: 18px;
    }

    .hero-stats article {
        justify-items: center;
    }

    .product-shell,
    .skills-shell,
    .contact-shell,
    .page-intro-shell,
    .content-shell {
        padding: 36px 28px 42px;
    }
}

@media (max-width: 760px) {
    .site-frame {
        width: min(100% - 16px, var(--content-width));
    }

    .header-shell {
        flex-wrap: wrap;
        gap: 12px;
        padding: 14px 18px;
    }

    .nav-toggle {
        display: block;
        margin-left: auto;
    }

    .nav-shell {
        display: none;
        width: 100%;
    }

    .nav-shell.is-open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding-top: 8px;
    }

    .main-nav a,
    .button,
    .contact-pill {
        justify-content: center;
        width: 100%;
    }

    .hero-title {
        font-size: clamp(2.8rem, 12vw, 4.6rem);
    }

    .hero-lead,
    .section-heading p {
        font-size: 1rem;
    }

    .hero-actions,
    .contact-actions,
    .chip-row {
        flex-direction: column;
        align-items: stretch;
    }

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

    .section-heading h2,
    .page-title {
        font-size: clamp(2.2rem, 10vw, 3rem);
    }

    .product-shell,
    .skills-shell,
    .contact-shell,
    .page-intro-shell,
    .content-shell,
    .hero-screen {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 760px) {
    .product-actions-inline {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 760px) {
    .header-actions {
        width: 100%;
        flex-wrap: wrap;
        gap: 12px;
    }

    .header-cta {
        width: 100%;
    }
}
