@media screen and (max-width: 960px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-grid,
  .about-layout,
  .project-gallery,
  .three-column-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-media {
    order: -1;
    max-width: 420px;
  }

  .section-heading h2 {
    max-width: none;
  }
}

@media screen and (max-width: 640px) {
  .wrapper {
    width: min(100% - 1.25rem, 1080px);
  }

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

  .brand {
    font-size: 1.2rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-role {
    font-size: 1.1rem;
  }

  .section-heading h2 {
    font-size: 1.9rem;
  }

  .fact-card,
  .entry-card {
    border-radius: 20px;
    padding: 1.15rem;
  }

  .project-overlay {
    opacity: 1;
    position: static;
    border-radius: 0 0 20px 20px;
    background: rgba(29, 29, 27, 0.88);
  }

  .project-frame {
    background: transparent;
  }

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