/*
 * Desktop-only Header / Hero stability pass.
 * Keeps the approved composition, source image, copy, and visual styling intact.
 */

@media (min-width: 600px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    position: relative;
    z-index: 10;
    box-sizing: border-box;
    min-height: clamp(96px, 6.36vw, 122px);
    margin-inline: auto;
    flex-wrap: nowrap;
    overflow: visible;
  }

  .site-header .wordmark {
    flex: 0 0 auto;
  }

  .site-header .site-nav {
    flex: 0 1 auto;
    flex-wrap: nowrap;
    gap: clamp(18px, 2.5vw, 54px);
  }

  .site-header .site-nav a {
    white-space: nowrap;
  }

  .hero-v9-refresh {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 2508 / 1483;
    overflow: hidden;
    isolation: isolate;
  }

  .hero-v9-refresh .hero-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transform: none;
  }

  .hero-v9-refresh .hero-copy {
    position: absolute;
    z-index: 1;
    inset: 0;
    box-sizing: border-box;
    height: auto;
    min-height: 0;
    margin-inline: auto;
  }

  .hero-v9-refresh .hero-copy-inner {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
  }

  .hero-v9-refresh .hero-copy .eyebrow {
    top: clamp(56px, 11%, 130px);
  }

  .hero-v9-refresh .hero-copy h1 {
    top: 44%;
    max-width: calc(100% - clamp(60px, 7.2vw, 156px));
    font-size: clamp(72px, 7.25vw, 148px);
  }

  .hero-v9-refresh .hero-copy p:not(.eyebrow) {
    bottom: clamp(104px, 16%, 160px);
  }

  .hero-v9-refresh .hero-copy .primary-action {
    bottom: clamp(28px, 6.5%, 76px);
  }
}
