@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .hero-art {
        min-height: 500px;
    }

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

    .project-card-studio {
        grid-column: span 2;
        min-height: 280px;
    }

    .studio-grid {
        grid-template-columns: .5fr 1fr;
    }

    .studio-code {
        grid-row: span 2;
    }

    .journal-grid {
        gap: 3rem;
    }
}

@media (max-width: 760px) {
    .shell {
        width: min(100% - 2rem, 720px);
    }

    .site-header {
        position: relative;
    }

    .header-inner {
        min-height: 70px;
    }

    .brand {
        width: 182px;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu {
        position: relative;
        display: block;
    }

    .mobile-menu summary {
        width: 44px;
        height: 44px;
        padding: 10px;
        border: 1px solid var(--line);
        cursor: pointer;
        list-style: none;
    }

    .mobile-menu summary::-webkit-details-marker {
        display: none;
    }

    .mobile-menu summary span {
        display: block;
        width: 100%;
        height: 1px;
        margin: 5px 0;
        background: var(--gold);
    }

    .mobile-menu nav {
        position: absolute;
        top: 54px;
        right: 0;
        width: min(280px, calc(100vw - 2rem));
        display: grid;
        border: 1px solid var(--line-bright);
        background: #060606;
        box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
    }

    .mobile-menu nav a {
        padding: .9rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, .06);
        font-family: var(--font-display);
        font-size: .88rem;
        letter-spacing: .11em;
        text-transform: uppercase;
    }

    .mobile-menu nav a[aria-current="page"] {
        background: rgba(239, 173, 0, .08);
        color: var(--gold-bright);
    }

    .hero {
        min-height: auto;
    }

    .hero-grid {
        min-height: auto;
        display: flex;
        flex-direction: column;
        padding-block: 4.5rem 2rem;
    }

    .hero-copy {
        width: 100%;
    }

    .hero h1 {
        font-size: clamp(3.7rem, 18vw, 6rem);
    }

    .hero-art {
        order: -1;
        width: min(100%, 430px);
        min-height: 310px;
        margin-inline: auto;
    }

    .hero-art p,
    .signal {
        display: none;
    }

    .hero-index {
        padding-top: 1.4rem;
    }

    .projects-section,
    .journal-preview {
        padding: 5rem 0;
    }

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

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

    .project-card-studio {
        grid-column: auto;
        min-height: 340px;
    }

    .studio-grid,
    .journal-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .studio-code {
        display: none;
    }

    .footer-inner {
        align-items: start;
        flex-direction: column;
    }
}

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

    .button {
        width: 100%;
    }

    .hero-art {
        min-height: 270px;
    }

    .project-visual {
        height: 190px;
    }
}
