/* Phone composition for the homepage hero. Tablet and desktop retain their
   existing composition in site-compositions.css. */
.home-hero__destination-nav,
.home-hero__explore {
  display: none;
}

@media (max-width: 48rem) {
  .world-home .site-header {
    background: linear-gradient(180deg, rgba(8, 12, 11, .68), rgba(8, 12, 11, .16));
  }

  .world-home .home-hero--homepage {
    display: block;
    height: auto;
    min-height: 0;
    overflow: hidden;
    background: #0a1119;
  }

  .world-home .home-hero--homepage .home-hero__visual {
    z-index: -2;
  }

  .world-home .home-hero--homepage .home-hero__media {
    inset: 0 0 auto;
    height: 21rem;
    background-size: auto 43rem;
    background-position: 69% 11%;
    filter: saturate(.85) contrast(1.03);
    transform: none;
    will-change: auto;
  }

  .world-home .home-hero--homepage .home-hero__visual::after {
    position: absolute;
    inset: auto 0 0;
    z-index: 0;
    height: 29rem;
    content: "";
    background-image: url("../img/hero/home-hero-starscape.webp");
    background-size: auto 47rem;
    background-position: 59% 100%;
    filter: saturate(.78) contrast(1.05);
  }

  .world-home .home-hero--homepage .home-hero__visual::before {
    z-index: 1;
    background:
      linear-gradient(180deg, rgba(7, 11, 11, .1) 0%, rgba(7, 11, 14, .12) 13%, #090f18 34%, #090f18 53%, rgba(8, 11, 13, .5) 78%, rgba(7, 9, 9, .3) 100%),
      radial-gradient(ellipse 95% 52% at 50% 48%, rgba(3, 7, 13, .15), rgba(3, 6, 10, .48) 88%);
  }

  .world-home .home-hero--homepage .home-hero__text-cloud {
    top: 48%;
    z-index: -1;
    width: 100%;
    height: 43rem;
    object-fit: cover;
    opacity: .9;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 77%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 18%, #000 77%, transparent);
  }

  .world-home .home-hero--homepage .home-hero__wreath {
    inset: 14rem auto auto 50%;
    width: min(150vw, 43rem);
    opacity: .38;
  }

  .world-home .home-hero--homepage .home-hero__content {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 0;
    padding: clamp(12rem, 22svh, 15rem) var(--gutter) 7rem;
    transform: none;
  }

  .world-home .home-hero--homepage .home-hero__content-group {
    transform: none;
  }

  .world-home .home-hero--homepage .home-hero__ornament {
    width: 3rem;
    margin-bottom: 2rem;
  }

  .world-home .home-hero--homepage h1 {
    max-width: 22ch;
    margin-bottom: 1.55rem;
    font-size: clamp(2.45rem, 10.1vw, 3.45rem);
    font-weight: 400;
    letter-spacing: -.045em;
    line-height: .99;
  }

  .world-home .home-hero--homepage .home-hero__headline-line + .home-hero__headline-line {
    margin-top: .12em;
  }

  .world-home .home-hero--homepage .home-hero__copy {
    max-width: 29ch;
    margin-bottom: 1.5rem;
    font-size: clamp(1rem, 3.95vw, 1.25rem);
    line-height: 1.45;
  }

  .world-home .home-hero--homepage .home-hero__actions {
    width: 100%;
  }

  .world-home .home-hero--homepage .home-hero__actions .home-hero__action-button {
    --hero-action-compartment: 3.5rem;
    width: clamp(14rem, 55vw, 17rem);
    min-height: 3.65rem;
    flex: none;
    border-radius: 999px;
    font-size: .72rem;
    letter-spacing: .13em;
  }

  .world-home .home-hero--homepage .home-hero__action-button-leading {
    background: transparent;
  }

  .world-home .home-hero--homepage .home-hero__offering {
    display: none;
  }

  .world-home .home-hero__destination-nav {
    display: grid;
    width: min(100%, 32rem);
    margin: clamp(3.5rem, 11vw, 5rem) auto 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .25rem;
  }

  .world-home .home-hero__destination-nav a {
    display: flex;
    min-width: 0;
    min-height: 8.3rem;
    padding: .25rem .1rem;
    flex-direction: column;
    align-items: center;
    color: var(--paper-pale);
    text-align: center;
    text-decoration: none;
  }

  .world-home .home-hero__destination-nav a:focus-visible,
  .world-home .home-hero__explore:focus-visible {
    outline: 2px solid var(--paper-pale);
    outline-offset: 4px;
  }

  .world-home .home-hero__destination-icon {
    display: grid;
    width: clamp(3.35rem, 13vw, 4.1rem);
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid rgba(255, 253, 248, .85);
    border-radius: 50%;
    background: rgba(5, 9, 11, .16);
  }

  .world-home .home-hero__destination-icon img {
    display: block;
    width: 2rem;
    height: 2rem;
    filter: invert(71%) sepia(30%) saturate(553%) hue-rotate(351deg) brightness(105%);
  }

  .world-home .home-hero__destination-label {
    display: block;
    min-height: 2.3rem;
    margin-top: .8rem;
    font-family: var(--font-interface);
    font-size: clamp(.59rem, 2.2vw, .7rem);
    font-weight: 700;
    letter-spacing: .09em;
    line-height: 1.35;
    text-transform: uppercase;
  }

  .world-home .home-hero__destination-arrow {
    display: block;
    margin-top: .1rem;
    color: #deb66d;
    font-size: 1.4rem;
    line-height: 1;
  }

  .world-home .home-hero__explore {
    position: absolute;
    inset: auto 0 2.2rem;
    z-index: 2;
    display: grid;
    width: fit-content;
    min-height: 3.3rem;
    margin-inline: auto;
    place-items: center;
    gap: .25rem;
    color: var(--paper-pale);
    font-family: var(--font-interface);
    font-size: .67rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-decoration: none;
    text-shadow: 0 2px 12px #000;
    text-transform: uppercase;
  }

  .world-home .home-hero__explore span {
    font-size: 1.8rem;
    font-weight: 300;
    line-height: .65;
  }
}

@media (max-width: 23rem) {
  .world-home .home-hero__destination-nav {
    width: min(100%, 19rem);
    margin-top: 2.7rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem .4rem;
  }

}
