/* tablet - switch to hamburger nav */
@media screen and (max-width: 1200px) {
  #desktop-nav {
    display: none;
  }
  #hamburger-nav {
    display: flex;
  }
}

/* smaller tablets and large phones */
@media screen and (max-width: 900px) {
  section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .hero-headline {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .hero-info-row {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding: 1.25rem;
  }

  .hero-info-block {
    text-align: center;
  }

  .hero-info-divider {
    width: 40px;
    height: 1px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .about-image {
    max-width: 240px;
    margin: 0 auto;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .project-row {
    grid-template-columns: 32px 60px 1fr 20px;
    gap: 1rem;
    padding: 1.25rem 0;
  }

  .project-img-wrapper {
    width: 60px;
    height: 42px;
  }

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

  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-nav {
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* mobile */
@media screen and (max-width: 600px) {
  :root {
    --section-gap: 1.5rem;
  }

  .hero-headline {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
    letter-spacing: -1px;
  }

  .hero-avatar img {
    width: 72px;
    height: 72px;
  }

  .hero-sub {
    font-size: 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 260px;
    justify-content: center;
  }

  .about-image {
    max-width: 200px;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .project-row {
    grid-template-columns: 1fr 20px;
    gap: 0.75rem;
    padding: 1.25rem 0;
  }

  .project-number,
  .project-img-wrapper {
    display: none;
  }

  .footer-nav {
    gap: 1rem;
  }

  .scroll-indicator {
    display: none;
  }
}
