/* Linked only by the three portrait headers at the mobile breakpoint. */
.overhead-hero {
  display: grid;
  align-items: end;
  isolation: isolate;
  min-height: min(94svh, 190vw, 920px);
  padding: 0;
  background: #21150f;
}

.overhead-hero picture > :is(.hero-image, .page-hero-image, .pma-hero-image) {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: auto;
  mask-image: linear-gradient(to bottom, black 68%, transparent);
}

.overhead-hero picture > .hero-image {
  top: 34px;
  mask-image: linear-gradient(to bottom, transparent, black 5%, black 68%, transparent);
}

.overhead-hero > :is(.hero-overlay, .page-hero-shade, .pma-hero-shade) {
  display: block;
  background: linear-gradient(to bottom, transparent 34%, rgb(22 13 8 / 16%) 46%,
    rgb(22 13 8 / 66%) 66%, rgb(22 13 8 / 88%) 100%);
  pointer-events: none;
}

.overhead-hero > .page-shell {
  width: min(calc(100% - 40px), 640px);
  padding-block: clamp(310px, 98vw, 650px) clamp(22px, 6vw, 36px);
  align-content: end;
}

.overhead-hero :is(.hero-copy, .page-hero-copy, .pma-hero-copy) h1 {
  max-width: 25ch;
  margin-bottom: 12px;
  font-size: clamp(1.75rem, 8.15vw, 2.45rem);
  line-height: 1.06;
  color: #fffaf3;
}

.overhead-hero.about-hero h1 {
  font-size: clamp(1.65rem, 7.25vw, 2.25rem);
}

.overhead-hero .hero-copy h1 {
  max-width: 100%;
  font-size: clamp(1.6rem, 6.6vw, 2.45rem);
}

.hero-copy .hero-title-phrase {
  white-space: nowrap;
}

.overhead-hero :is(.eyebrow, .pma-eyebrow) {
  color: #ffddaf;
  letter-spacing: .06em;
}

.overhead-hero .page-shell p:not(.eyebrow, .pma-eyebrow) {
  color: #fff7ed;
  line-height: 1.45;
}

.overhead-hero .page-shell :is(.hero-actions, .pma-actions, .page-hero-actions) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 167px), 1fr));
  max-width: 410px;
  align-items: stretch;
}

.overhead-hero .page-shell :is(.hero-actions, .pma-actions, .page-hero-actions) .button {
  gap: 5px;
  padding-inline: 8px;
  font-size: .82rem;
  text-align: center;
}

.overhead-hero .button span {
  margin-inline: 0;
}
