:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #00040b;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background: #00040b;
}

body {
  overflow-x: hidden;
}

.page {
  min-height: 100svh;
  color: #f7fbff;
  background: #00040b;
}

.stage {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  background: #00040b;
  isolation: isolate;
}

.stage::before {
  position: absolute;
  z-index: -1;
  content: "";
  inset: -30px;
  opacity: .38;
  background:
    linear-gradient(rgba(0, 4, 11, .35), rgba(0, 4, 11, .35)),
    url("/assets/rezyra-38c3ac1bff54.webp") center / cover no-repeat;
  filter: blur(24px) saturate(.8);
  transform: scale(1.035);
}

.reference-art {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100svh;
  object-fit: contain;
  object-position: center;
}

.compact-backdrop {
  display: none;
}

.compact-copy {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.official-socials {
  position: absolute;
  z-index: 2;
  bottom: clamp(1rem, 2.5vw, 2rem);
  left: clamp(1rem, 3vw, 3rem);
  display: flex;
  gap: 10px;
}

.official-socials a {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid rgba(109, 223, 255, .34);
  border-radius: 999px;
  color: #f7fbff;
  background: rgba(0, 7, 17, .76);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .3);
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .02em;
  text-decoration: none;
  backdrop-filter: blur(12px);
}

.official-socials a:hover {
  border-color: rgba(109, 223, 255, .72);
  background: rgba(7, 23, 40, .92);
}

.official-socials a:focus-visible {
  outline: 3px solid #f7fbff;
  outline-offset: 3px;
}

@media (max-width: 760px), (max-aspect-ratio: 3 / 2) {
  .stage {
    place-items: stretch;
  }

  .stage::before {
    display: none;
  }

  .reference-art {
    display: none;
  }

  .compact-backdrop {
    position: absolute;
    z-index: -1;
    display: block;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(0, 5, 13, .22) 0%, rgba(0, 5, 13, .08) 38%, #000711 96%),
      linear-gradient(90deg, rgba(0, 5, 13, .82) 0%, rgba(0, 5, 13, .18) 72%),
      url("/assets/haven-mobile-9ddaffb8195a.webp") 63% center / cover no-repeat;
    transform: scale(1.01);
  }

  .compact-backdrop::after {
    position: absolute;
    content: "";
    inset: 0;
    opacity: .44;
    background:
      radial-gradient(circle at 19% 75%, rgba(23, 194, 255, .2), transparent 19rem),
      radial-gradient(circle at 84% 42%, rgba(148, 77, 255, .16), transparent 21rem);
    pointer-events: none;
  }

  .compact-copy {
    position: relative;
    z-index: 1;
    display: flex;
    width: auto;
    height: auto;
    min-height: 100svh;
    padding: clamp(2rem, 7vw, 4.5rem) clamp(2rem, 7vw, 4.5rem) 7.5rem;
    margin: 0;
    justify-content: flex-end;
    flex-direction: column;
    overflow: visible;
    clip: auto;
    white-space: normal;
    border: 0;
    text-shadow: 0 4px 28px rgba(0, 0, 0, .72);
  }

  .official-socials {
    bottom: 2rem;
    left: clamp(2rem, 7vw, 4.5rem);
  }

  .compact-copy h1 {
    max-width: 12ch;
    margin: 0;
    color: #f7fbff;
    font-size: clamp(3.5rem, 13vw, 7.6rem);
    font-weight: 500;
    line-height: .9;
    letter-spacing: .025em;
    text-transform: uppercase;
  }

  .compact-copy h1 span {
    display: block;
    width: max-content;
    color: transparent;
    background: linear-gradient(90deg, #06eaff 0%, #35bfff 38%, #965cff 69%, #f34bdd 100%);
    background-clip: text;
  }

  .tagline {
    margin: clamp(1.15rem, 4vw, 2rem) 0 0;
    color: #f4f7fa;
    font-size: clamp(1rem, 3.7vw, 1.65rem);
    font-weight: 500;
    letter-spacing: .05em;
    text-transform: uppercase;
  }

  .coming-soon {
    width: max-content;
    margin: clamp(1.4rem, 5vw, 2.5rem) 0 0;
    color: transparent;
    background: linear-gradient(90deg, #01e7ff, #6599ff 48%, #ef4dde);
    background-clip: text;
    font-size: clamp(.75rem, 2.9vw, 1.15rem);
    font-weight: 650;
    letter-spacing: .48em;
    text-transform: uppercase;
  }
}

@media (max-width: 430px) {
  .compact-backdrop {
    background:
      linear-gradient(180deg, rgba(0, 5, 13, .28) 0%, rgba(0, 5, 13, .12) 37%, #000711 94%),
      linear-gradient(90deg, rgba(0, 5, 13, .76) 0%, rgba(0, 5, 13, .08) 82%),
      url("/assets/haven-mobile-9ddaffb8195a.webp") 66% center / cover no-repeat;
  }

  .compact-copy {
    padding: 1.5rem 22px 7rem;
  }


  .official-socials {
    bottom: 1.5rem;
    left: 22px;
  }

  .compact-copy h1 {
    font-size: clamp(3.25rem, 16.5vw, 4.4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (forced-colors: active) {
  .compact-copy h1 span,
  .coming-soon {
    color: CanvasText;
    background: none;
  }
}
