@media (max-width: 1060px) {
  .site-header__inner {
    justify-content: space-between;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 20px 22px 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    z-index: 110;
  }

  .site-nav.is-open { display: flex; }

  .site-nav a {
    color: var(--ink-muted);
    text-align: center;
    width: 100%;
    max-width: 300px;
  }

  .site-nav a:hover { color: var(--ink); }

  .nav-toggle {
    display: block;
    flex: none;
    margin-left: auto;
  }

  .btn-pill--nav {
    margin-left: 0;
    margin-top: 8px;
    justify-content: center;
    width: 100%;
    max-width: 300px;
    color: var(--white);
  }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }

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

  .stats__countries {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

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

  .project-card { flex-basis: 85%; }

  .legacy__sticky { position: static; }

  .thirdspace__bg img,
  .thirdspace__fade { width: 100%; min-width: 0; }

  .thirdspace__fill { display: none; }

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

@media (max-width: 480px) {
  .hero h1 { font-size: clamp(32px, 10vw, 42px); }

  .service-card { flex-basis: 240px; }

  .service-card.is-hovered,
  .service-card.is-dimmed { flex-basis: 240px; }
}
