/* TABLET + MOBILE (≤ 995px) */
@media (max-width: 995px) {

    /* ===== HEADER / NAV ===== */
    .menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 80px;
        right: 0;
        width: 100%;
        display: none;
        background-color: var(--navy-800);
        padding: 2rem 0;
    }

    nav.active {
        display: block;
    }

    nav a {
        display: block;
        text-align: center;
        font-size: 2rem;
        margin: 2rem 0;
    }

    /* ===== SECTIONS ===== */
    section {
        padding: 6rem 6%;
    }

    /* ===== HOME ===== */
    .home {
        flex-direction: column;
        text-align: center;
        gap: 4rem;
        padding-top: 6rem;
    }

    .home-content h1 {
        font-size: 4.8rem;
    }

    .home-content h3 {
        font-size: 3.2rem;
    }

    .home-img img {
        width: 70vw;
        max-width: 220px;
        margin-top: 4rem;
    }

    /* ===== SHOWCASE ===== */
    .showcase-card {
        flex-direction: column;
        padding: 3rem;
    }

    .showcase-image {
        width: 100%;
        height: 220px;
    }

    .showcase-image img {
        object-fit: cover;
    }

    .project-actions {
        flex-wrap: wrap;
    }
}

/* MOBILE ONLY (≤ 768px) */
@media (max-width: 768px) {

    .content-text {
        font-size: 1.25rem;
        line-height: 1.6;
    }

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

    .academic-card {
        transform: none;
    }

    .contact {
        min-height: auto;
        padding: 6rem 4%;
    }

    .contact-box {
        flex-direction: column;
        gap: 2rem;
    }

    .connections-row {
        gap: 1.5rem;
    }
}
