@media (max-width: 520px) {
  .home-premium .site-header > #site-nav {
    justify-content: space-evenly;
    gap: clamp(4px, 1.6vw, 8px);
    padding-inline: 8px;
    font-size: clamp(.6875rem, 3vw, .78rem);
    letter-spacing: .035em;
  }
  .home-premium #site-nav > a {
    text-align: center;
    line-height: 1.25;
    text-wrap: balance;
  }
}

/* Keep the original room photography full bleed behind the homepage actions. */
.premium-hero {
  display: grid;
  align-items: center;
  height: auto;
  min-height: min(78svh, 840px);
  padding: 64px 5.5%;
}

.premium-hero-copy {
  position: relative;
  inset: auto;
  width: min(690px, 72%);
  transform: none;
}

.premium-hero h1 {
  text-wrap: balance;
}

.premium-hero .premium-actions {
  gap: 8px;
}

.premium-hero .button {
  padding-inline: 20px;
  font-size: .875rem;
  letter-spacing: .02em;
}

.premium-hero .button:focus-visible {
  outline: 3px solid white;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--dark);
}

@media (max-width: 760px) {
  .premium-hero {
    align-content: end;
    min-height: min(720px, calc(100svh - 130px));
    padding: 92px 6% 32px;
  }
  .premium-hero-copy {
    width: 100%;
  }
  .premium-hero-shade {
    background: linear-gradient(180deg, transparent 8%, rgba(24, 20, 16, .28) 40%, rgba(24, 20, 16, .86) 100%);
  }
  .premium-hero h1 {
    margin-bottom: 12px;
    font-size: clamp(2.1rem, 9vw, 3.6rem);
    line-height: 1.04;
  }
  .premium-hero .hero-kicker {
    margin-bottom: 12px;
  }
  .premium-hero .premium-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 20px;
  }
  .premium-hero .premium-primary {
    grid-column: 1 / -1;
  }
  .premium-hero .button {
    min-height: 46px;
    padding-inline: 8px;
  }
  .hero-carousel-controls {
    top: 16px;
    right: 6%;
    bottom: auto;
    gap: 4px;
    padding: 3px;
  }
  .hero-carousel-count {
    min-width: auto;
    padding: 0 8px;
  }
  .hero-carousel-controls button {
    width: 44px;
    height: 44px;
  }
}

@media (max-height: 520px) and (min-aspect-ratio: 4/3) {
  .premium-hero {
    min-height: calc(100svh - 138px);
    padding-block: 20px;
  }
  .premium-hero-copy {
    width: 72%;
  }
  .premium-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 8px;
  }
  .premium-hero .hero-kicker,
  .premium-hero .hero-sub {
    margin-bottom: 6px;
  }
  .premium-hero .premium-actions {
    display: flex;
    margin-top: 12px;
  }
}
