/* ==========================================================================
   RESPONSIVE — same breakpoints as before, tuned to the new layout
   ========================================================================== */

@media screen and (max-width: 1400px) {
section { padding: 7rem 3rem; }
#profile { min-height: auto; padding-top: 7rem; padding-bottom: 4rem; }
}

@media screen and (max-width: 1200px) {
#desktop-nav { display: none; }
#hamburger-nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 1.4rem;
height: var(--nav-h);
width: min(560px, calc(100% - 3rem));
margin: 0 auto;
position: sticky;
top: 1.1rem;
z-index: 100;
border-radius: 999px;
background: rgba(255, 255, 255, 0.75);
backdrop-filter: blur(24px) saturate(180%);
border: 1px solid rgba(228, 228, 234, 0.8);
box-shadow: 0 1px 1px rgba(10, 10, 12, 0.03), 0 20px 40px -24px rgba(0, 113, 227, 0.18);
    }

#profile {
flex-direction: column;
text-align: center;
gap: 2.25rem;
padding-top: 3.5rem;
    }

.section__text, .section__text_p1, .title, .section__text_p2 {
text-align: center;
    }

.btn-container, #socials-container {
justify-content: center;
    }

.about-containers { flex-wrap: wrap; }

.arrow { display: none; }

section { margin: 0; padding: 5.5rem 2rem; }

.section__pic-container {
width: 220px;
height: 220px;
margin: 0 auto;
    }
}

@media screen and (max-width: 600px) {
section { padding: 4rem 1.5rem; }

#hamburger-nav { width: calc(100% - 2rem); top: 0.75rem; }
body { padding-top: 0.75rem; }

.title { font-size: 2.5rem; }

.section__text_p2 { font-size: 1rem; }

.about-containers { flex-direction: column; }

.btn-container { flex-wrap: wrap; }

.contact-info-upper-container { flex-direction: column; align-items: stretch; }

.contact-info-container { justify-content: center; }

.experience-sub-title { font-size: 0.95rem; }

.logo { font-size: 1rem; }
.logo-text { display: none; }
.logo-badge { width: 2.1rem; height: 2.1rem; font-size: 0.85rem; }

#hamburger-nav .logo { max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

footer .nav-links {
flex-direction: column;
gap: 0.75rem;
text-align: center;
    }

#projects .about-containers { grid-template-columns: 1fr; }

.work-timeline { padding-left: 1.4rem; }
.work-marker { left: -1.4rem; }
/* keep the bigger "Where it started" dot centered on the (now-thinner)
   mobile timeline instead of snapping to the same offset as the small dots */
.work-marker--start { left: -1.65rem; top: 0.25rem; }
.work-card { padding: 1.3rem 1.3rem; }
.work-card__head { flex-direction: column; align-items: flex-start; gap: 0.5rem; }

.work-subroles { padding-left: 1.1rem; }
.work-subrole-marker { left: -1.1rem; }
}