@media (max-width: 1120px) {
  .desktop-nav .nav-menu {
    gap: 22px;
  }

  .nav-link {
    font-size: 0.88rem;
  }

  .video-frame-wrap {
    max-width: 94%;
  }

  .hero-content {
    width: min(100% - 40px, 760px);
  }

  .card {
    grid-column: span 6;
  }
}

@media (max-width: 920px) {
  .navbar-inner,
  .container {
    width: min(100% - 28px, var(--container-max));
  }

  .hide-mobile {
    display: none;
  }

  .hide-desktop {
    display: inline-flex;
  }

  .hamburger {
    display: inline-flex;
  }

  .hero-subtitle {
    max-width: 52ch;
  }

  .page-hero {
    padding-top: 120px;
  }

  .site-footer .container {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    padding: clamp(90px, 13vh, 130px) 0 clamp(60px, 8vh, 90px);
    align-items: center;
  }

  .hero-content {
    width: min(100% - 24px, 760px);
  }

  .hero-title {
    max-width: 14ch;
  }

  .hero-ctas {
    flex-wrap: wrap;
  }

  .btn-hero-primary,
  .btn-hero-outline {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    gap: 18px;
    flex-wrap: wrap;
  }

  .hero-stat-divider {
    display: none;
  }

  .hero-scroll-cue {
    display: none;
  }

  .hero-indicators {
    right: 16px;
    bottom: 16px;
    gap: 6px;
  }

  .hero-indicator {
    width: 20px;
    height: 2px;
  }

  .hero-indicator.active {
    width: 36px;
  }

  .page-hero p {
    max-width: 100%;
  }

  .card {
    grid-column: 1 / -1;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-item--featured,
  .work-item--wide {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .section-title {
    margin-bottom: 36px;
  }

  .video-showcase {
    padding: clamp(60px, 10vw, 90px) 0;
  }

  .video-frame-wrap {
    max-width: 100%;
    border-radius: 10px;
  }

  .video-aspect {
    border-radius: 9px;
  }

  .video-showcase-sub {
    font-size: 0.92rem;
  }
}

/* ── Small phones (≤480px) ─────────────────────────────── */
@media (max-width: 480px) {
  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    align-items: center;
  }

  /* Hide heavy decorative graphics on small screens to prevent overflow */
  .hero-g-compass,
  .hero-g-plan,
  .hero-g-ruler {
    display: none;
  }

  .hero-content {
    width: min(100% - 20px, 100%);
  }

  .hero-kicker {
    font-size: 0.62rem;
    letter-spacing: 0.28em;
    margin-bottom: 14px;
  }

  .hero-title {
    font-size: clamp(2rem, 9vw, 2.8rem);
    max-width: 100%;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    max-width: 100%;
  }

  .hero-ctas {
    margin-top: 22px;
    gap: 10px;
  }

  .btn-hero-primary,
  .btn-hero-outline {
    padding: 0.72rem 1.2rem;
    font-size: 0.72rem;
  }

  .hero-stats {
    margin-top: 24px;
    padding-top: 16px;
    gap: 14px;
  }

  .hero-stat-number {
    font-size: 1.05rem;
  }

  .hero-indicators {
    right: 12px;
    bottom: 12px;
    gap: 5px;
  }

  .hero-indicator {
    width: 16px;
    height: 2px;
  }

  .hero-indicator.active {
    width: 28px;
  }

  .video-showcase {
    padding: 52px 0;
  }

  .video-frame-wrap {
    padding: 1.5px;
    border-radius: 8px;
  }

  .video-aspect {
    border-radius: 7px;
  }
}

/* ── Extra small phones (≤360px) ──────────────────────── */
@media (max-width: 360px) {
  .hero-title {
    font-size: clamp(1.75rem, 8.5vw, 2.2rem);
  }

  .hero-stats {
    display: none;
  }
}

@media (max-width: 920px) and (min-width: 701px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .work-item--featured {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .work-item--wide {
    grid-column: 1 / 2;
    grid-row: auto;
  }
}

@media (max-width: 840px) {
  .architect-inner {
    grid-template-columns: 1fr;
  }

  .architect-visual {
    max-width: 400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 12px;
  }

  .architect-photo-frame {
    grid-column: 1 / -1;
  }

  /* Pull badges out of absolute flow into grid cells below the photo */
  .arch-badge {
    position: static;
    width: 100%;
  }

  .arch-badge--1 {
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
  }

  .arch-badge--2 {
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    justify-self: end;
  }

  .architect-photo-accent {
    display: none;
  }
}

/* Design Process responsive */
@media (max-width: 860px) {
  .process-track {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .process-track::before {
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(to bottom,
      var(--primary-color) 0%,
      color-mix(in srgb, var(--primary-color) 40%, transparent) 100%);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 1.4s var(--ease-standard);
  }

  .process-track.in-view::before {
    transform: scaleY(1);
  }

  .process-step {
    width: 100%;
    max-width: 320px;
    padding: 12px 16px;
  }

  .process-arrow {
    transform: rotate(90deg);
    margin: 0;
    width: auto;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .process-step-desc {
    max-width: 28ch;
  }
}

/* ─── Services / Why / Footer breakpoints ──────────────────── */
@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 700px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-grid .service-card:nth-child(1),
  .services-grid .service-card:nth-child(2),
  .services-grid .service-card:nth-child(3),
  .services-grid .service-card:nth-child(4) {
    transition-delay: 0s;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-grid .why-card:nth-child(1),
  .why-grid .why-card:nth-child(2),
  .why-grid .why-card:nth-child(3),
  .why-grid .why-card:nth-child(4) {
    transition-delay: 0s;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-desc {
    max-width: 100%;
  }

  .footer-bottom .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

/* Hide hero graphics on small screens to prevent text overlap */
@media (max-width: 860px) {
  .hero-graphics {
    display: none;
  }
}

/* ── Section card-stack: reduce overlap on small mobile ──────── */
@media (max-width: 600px) {
  /* Soften the negative-margin overlap so sections don't crush on mobile */
  .hero--parallax + .our-work,
  .architect-section,
  .process-section,
  .services-section,
  .why-section,
  .testi-section,
  .cta-section {
    margin-top: -12px;
    border-radius: 14px 14px 0 0;
  }

  /* Gold divider line width on narrow screens */
  .services-section::after,
  .why-section::after,
  .testi-section::after,
  .cta-section::after {
    width: min(90vw, 360px);
  }
}

/* ── Testi grid — 1 col on very small phones ─────────────────── */
@media (max-width: 480px) {
  .testi-grid {
    grid-template-columns: 1fr;
  }
}