@media (max-width: 767px) {
  .hero-grid {
    padding-top: 30px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-eyebrow {
    justify-content: center;
    margin-right: auto;
    margin-left: auto;
  }

  .hero-copy h1,
  .hero-copy > p {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
    text-wrap: balance;
  }

  .hero-copy h1 {
    max-width: 360px;
  }

  .hero-copy > p {
    max-width: 355px;
  }

  .hero-portrait {
    width: calc(100% + 32px);
    height: clamp(300px, 78vw, 330px);
    margin-top: clamp(4px, 2vw, 10px);
  }

  .hero-portrait img {
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center 29%;
    transform: scale(1.24) translateY(-2%);
    transform-origin: center center;
  }
}

@media (min-width: 900px) {
  .hero::before {
    background-size: max(100.8vw, 1612.8px) auto;
  }
}
