.hero.hero-portrait {
  --navigation-height: 111px;
  height: min(760px, calc(100vh - var(--navigation-height) - 32px));
  height: min(760px, calc(100svh - var(--navigation-height) - 32px));
  min-height: 540px;
  background: #37353b;
}

.hero.hero-portrait img {
  object-fit: contain;
  object-position: center top;
}

.hero.hero-portrait .hero-copy {
  height: 100%;
  min-height: 0;
  justify-content: space-between;
  padding: 16px 24px 24px;
  letter-spacing: 0;
}

.hero.hero-portrait h1 {
  width: max-content;
  max-width: 100%;
  margin: 0;
  font-size: 2.25rem;
  line-height: 1.1;
  font-weight: 300;
}

.hero.hero-portrait h1 span {
  display: block;
  margin-top: 4px;
  font-size: 1rem;
  line-height: 1.25;
}

.hero.hero-portrait .hero-bottom {
  width: min(500px, 100%);
}

.hero.hero-portrait .hero-bottom p {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.5;
}

.hero.hero-portrait .hero-actions {
  flex-direction: row;
  width: 100%;
  gap: 12px;
  margin: 16px 0 0;
}

.hero.hero-portrait .hero-actions .button {
  display: inline-flex;
  flex: 1 1 210px;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  max-width: 100%;
  min-height: 48px;
  font-size: 0.95rem;
  line-height: 1.25;
}

.hero.hero-portrait .hero-actions .button-light {
  color: #242121;
}

@media (max-width: 900px) {
  .hero.hero-portrait {
    --navigation-height: 82px;
  }

  .hero.hero-portrait img {
    object-fit: cover;
    object-position: 48% top;
  }
}

@media (max-width: 560px) {
  .hero.hero-portrait {
    min-height: 460px;
  }

  .hero.hero-portrait .hero-copy {
    padding: 8px 16px 20px;
  }
}

@media (max-height: 600px) and (min-aspect-ratio: 3 / 2) {
  .hero.hero-portrait {
    height: calc(100vh - var(--navigation-height) - 24px);
    height: calc(100svh - var(--navigation-height) - 24px);
    min-height: 210px;
  }

  .hero.hero-portrait img {
    object-fit: contain;
  }

  .hero.hero-portrait .hero-copy {
    align-items: flex-start;
    padding: 8px 16px;
  }

  .hero.hero-portrait h1 {
    font-size: 1.75rem;
    text-align: left;
  }

  .hero.hero-portrait .hero-bottom {
    align-self: center;
  }

  .hero.hero-portrait .hero-bottom p {
    font-size: 1rem;
    line-height: 1.4;
  }

  .hero.hero-portrait .hero-actions {
    margin-top: 8px;
  }

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