.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #14191b;
}

.site-header:focus-within {
  z-index: 110;
}

html {
  scroll-padding-top: 86px;
}

.hero-actions .button {
  min-height: 68px;
  padding: 1.2rem 1.6rem;
  font-size: 1.05rem;
  gap: 2rem;
}

.contact-actions {
  width: min(100%, 390px);
  gap: 1rem;
}

.contact-actions .button {
  width: 100%;
  min-height: 70px;
  padding: 1.25rem 1.6rem;
  font-size: 1.1rem;
}

.contact-actions .button:nth-child(2) {
  background: #fff9e8;
  color: #171c1d;
}

.contact-actions .button:nth-child(2):hover {
  background: #fff;
}

.contact-actions .contact-email {
  font-size: 1rem;
  padding: .4rem 0;
}

@media (max-width: 700px) {
  html {
    scroll-padding-top: 74px;
  }

  .hero-copy {
    padding-bottom: 1.25rem;
  }

  .hero-actions,
  .hero-actions .button,
  .contact-actions {
    width: 100%;
  }

  .hero-actions .button {
    min-height: 64px;
  }
}

@media (max-width: 600px) {
  .hero-copy {
    padding: 3.5rem 6% 1.25rem;
  }

  .hero h1 {
    max-width: 100%;
    margin: 1.35rem 0;
    font-size: clamp(3rem, 12.5vw, 4rem);
    line-height: .98;
    letter-spacing: -.035em;
  }

  .hero-copy > p {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-actions {
    margin-top: 1.7rem;
  }

  .hero-actions .button {
    min-width: 0;
    min-height: 60px;
    gap: .75rem;
    padding: 1rem 1.2rem !important;
    font-size: 1rem !important;
  }

  .hero-media {
    height: 420px;
  }

  .work figure {
    height: 340px;
  }

  .work-side {
    height: 300px !important;
  }

  .section-head h2,
  .work h2,
  .contact h2 {
    font-size: clamp(2.7rem, 11vw, 4rem);
  }
}

/* Keep the first screen readable and give both contact choices equal weight. */
@media (min-width: 701px) {
  .hero {
    grid-template-columns: minmax(0, 54%) minmax(0, 46%);
    min-height: 680px;
  }

  .hero-copy {
    justify-content: center;
    padding: 4.25rem clamp(2rem, 4vw, 4.5rem);
  }

  .hero h1 {
    max-width: 100%;
    margin: 1.35rem 0 1.3rem;
    font-size: clamp(3.5rem, 4.5vw, 5.4rem);
    line-height: .99;
  }

  .hero-copy > p {
    max-width: 42ch;
    font-size: 1.05rem;
    line-height: 1.55;
  }

  .contact-hint {
    margin: 1.4rem 0 .4rem;
  }

  .hero-actions {
    gap: .9rem;
    margin-top: 1rem;
  }

  .hero-actions .button {
    min-height: 72px;
    padding: 1.1rem 1.35rem !important;
    gap: 1rem;
  }

  .hero-actions .button-gold {
    font-size: 1.18rem !important;
  }

  .hero-note {
    margin-top: 1.8rem;
  }
}

.hero-actions .button-outline {
  min-width: 190px;
  justify-content: center;
  font-size: 25px !important;
}

@media (max-width: 700px) {
  .hero h1 {
    max-width: 100%;
    font-size: clamp(3rem, 10vw, 4.5rem);
  }

  .hero-actions .button-outline {
    min-width: 0;
    min-height: 68px;
  }
}
