/* Keep every homepage block on one shared grid on ultra-wide screens. */
.hero-summary {
  max-width: 680px;
  margin: clamp(24px, 2.4vw, 36px) 0 0;
  color: #fff;
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.6;
}

/* Keep supporting copy beside section headlines readable and consistent. */
.home-problem-lead > p,
.home-outcomes-lead > p,
.team-section .section-intro > p {
  max-width: 540px;
  font-size: clamp(19px, 1.25vw, 21px);
  line-height: 1.55;
}

@media (max-width: 720px) {
  .home-problem-lead > p,
  .home-outcomes-lead > p,
  .team-section .section-intro > p {
    font-size: 18px;
  }
}

/* A very tall desktop viewport should not turn the hero into an empty full-screen canvas.
   Laptop-sized viewports keep the existing 100svh composition; wide screens get a
   capped stage that stays vertically balanced around the same content. */
@media (min-width: 1600px) {
  .hero {
    min-height: min(100svh, 1020px);
    padding-top: clamp(132px, 9vh, 154px);
    padding-bottom: clamp(44px, 5vh, 58px);
  }

  .hero-copy {
    padding-top: clamp(20px, 1.2vw, 24px);
  }
}

@media (min-width: 1800px) {
  :root {
    --wide-side: max(var(--side), calc((100vw - var(--max)) / 2));
  }

  .site-nav,
  .hero,
  .clients,
  .home-problem,
  .home-outcomes,
  .home-cases,
  .team-section .section-intro,
  .team-rail,
  .scan,
  footer {
    padding-left: var(--wide-side);
    padding-right: var(--wide-side);
  }

  .hero {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    column-gap: clamp(64px, 4vw, 88px);
  }

  .hero-media {
    align-self: start;
  }

  .hero-intro {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    column-gap: clamp(64px, 4vw, 88px);
  }
}
