/* The desktop hero shares the navigation's width; its photo is an inset panel.
   Keep every rule above the existing mobile breakpoint. */
@media (min-width: 768px) {
  .hero {
    --hero-inset: clamp(32px, 5vw, 88px);
    --hero-gap: clamp(28px, 4vw, 72px);
    max-width: 1760px;
    padding-inline: var(--hero-inset);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: var(--hero-gap);
  }

  .hero-copy {
    min-width: 0;
    min-height: clamp(580px, 48vw, 748px);
    height: auto;
    padding: 60px 0 64px;
  }

  .hero .eyebrow {
    margin-bottom: 27px;
    font-size: 11px;
    line-height: 1.65;
    letter-spacing: .12em;
  }

  .hero h1 {
    font-size: clamp(62px, 8.25vw, 140px);
    line-height: .94;
    letter-spacing: -.025em;
  }

  .hero-description {
    max-width: 365px;
    padding-right: 0;
    margin-top: 30px;
    font-size: 17px;
    line-height: 1.65;
  }

  .hero-actions {
    flex-wrap: wrap;
    margin-top: 31px;
    gap: 15px 25px;
  }

  .hero-photo {
    min-width: 0;
    margin-block: 36px 40px;
  }

  .hero-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 40% 50%;
  }

  .hero-caption {
    padding: 17px 0;
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: .09em;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero {
    --hero-inset: 32px;
    --hero-gap: 28px;
  }

  .hero-copy {
    min-height: 580px;
    padding-block: 48px;
  }

  .hero .eyebrow {
    max-width: 27ch;
    font-size: 10px;
    margin-bottom: 23px;
  }

  .hero-description {
    font-size: 15px;
    max-width: 31ch;
    margin-top: 25px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 26px;
  }

  .hero-photo {
    margin-block: 54px;
  }

  .hero-photo img {
    object-position: 35% 50%;
  }

  .hero-caption {
    font-size: 9px;
    letter-spacing: .06em;
  }
}
