@media screen and (max-width: 1200px) {
    #nav {
        display: none;
    }

    #hamburger-nav {
        display: flex;
    }

    #profile {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 2rem;
        padding-top: 2.8rem;
    }

    .section_pic_container {
        justify-self: center;
        width: min(320px, 82vw);
    }

    .section_text,
    .hero-copy .section_text_p1,
    .hero-copy .title_1,
    .hero-copy .section_text_p2 {
        text-align: center;
    }

    .hero_statement {
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero_credentials {
        justify-content: center;
    }

    .article_container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 900px) {
    section {
        padding: 2.7rem 0;
    }

    .about-copy,
    .about_highlights,
    .projects_grid,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .platform_grid {
        grid-template-columns: minmax(0, 320px);
    }
}

@media screen and (max-width: 768px) {
    .header {
        width: min(100% - 1.5rem, 1120px);
        padding: 0.75rem 0;
    }

    .logo img {
        width: 40px;
        height: 40px;
    }

    section {
        width: min(100% - 1.4rem, 1120px);
        padding: 2.7rem 0;
    }

    #profile {
        padding-top: 2.3rem;
    }

    .title_1 {
        font-size: 2.4rem;
        letter-spacing: -0.06em;
    }

    .title_2 {
        font-size: 1.8rem;
    }

    .section_text_p2 {
        font-size: 1rem;
    }

    .hero_statement,
    .text_container p,
    .section_intro p {
        font-size: 0.92rem;
        line-height: 1.65;
    }

    .section_pic_container {
        width: min(230px, 72vw);
        padding: 8px;
    }

    .section_pic_container img {
        border-width: 6px;
    }

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

    .focus_grid article,
    .subdetail_container,
    .sub-detail_container,
    .contact-card,
    .contact-info,
    .about-copy p,
    .highlight_card {
        padding: 1rem;
        border-radius: 18px;
    }

    .project_header {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.5rem;
    }

    .projects_subtitle {
        font-size: 1.1rem;
    }

    .project_summary,
    .evidence_box p,
    article p,
    .highlight_card p {
        font-size: 0.86rem;
    }

    .chip_group span {
        font-size: 0.7rem;
    }

    .hero_credentials {
        gap: 0.45rem;
        margin-top: 0.85rem;
    }

    .hero_credentials span {
        font-size: 0.72rem;
        min-height: 30px;
        padding: 0.3rem 0.6rem;
    }

    .btn_container {
        gap: 0.55rem;
    }

    .btn_color,
    .btn_secondary,
    .submit-button {
        width: 100%;
        min-height: 44px;
        font-size: 0.86rem;
    }

    .card_actions .btn_color {
        width: 100%;
    }

    .submit-button {
        justify-self: stretch;
    }
}

@media screen and (max-width: 480px) {
    .menu-links {
        right: 0;
        width: 190px;
    }

    .title_1 {
        font-size: 2.05rem;
    }

    .title_2 {
        font-size: 1.55rem;
    }

    .about-copy,
    .about_highlights,
    .projects_grid,
    .platform_grid,
    .contact-container {
        gap: 0.9rem;
    }

    .project_img {
        width: 78px;
        height: 78px;
    }
}
