:root {
  color-scheme: dark;
  background: #101b17;
  color: #f5eddf;
}

body {
  margin: 0;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-block-size: 100vh;
  min-block-size: 100svh;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: -4rem;
  background: center / cover no-repeat url("./assets/golden-mist-valley.webp");
  filter: blur(3rem) brightness(.58);
  content: "";
}

.hero h1 {
  inline-size: min(100%, 102svh);
  margin: 0;
}

.hero img {
  display: block;
  inline-size: 100%;
  /* Limit the crop so the logo, lettering and both packs fit in the same frame. */
  block-size: min(100svh, 130vw);
  object-fit: cover;
  object-position: center 25%;
}

@media (min-aspect-ratio: 51/50) {
  .hero img {
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  }
}

@media (max-aspect-ratio: 10/13) {
  .hero img {
    mask-image: linear-gradient(to bottom, transparent, black 3%, black 97%, transparent);
  }
}
