@font-face {
  font-family: "Pixelify Sans";
  src: url("/landing/PixelifySans.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  background: #09131d;
  color: #fff3da;
  font-family: system-ui, sans-serif;
}

body {
  margin: 0;
}

.cover {
  --gutter: clamp(1.5rem, 5vw, 5rem);
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100vh;
  min-height: 100svh;
  padding: max(1.5rem, env(safe-area-inset-top))
    max(var(--gutter), env(safe-area-inset-right))
    max(clamp(2rem, 9vh, 6rem), env(safe-area-inset-bottom))
    max(var(--gutter), env(safe-area-inset-left));
}

.cover__art,
.cover__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.cover__art {
  object-fit: cover;
  object-position: center 61%;
  image-rendering: pixelated;
}

.cover__shade {
  background:
    linear-gradient(180deg, #09131db3, transparent 22%, transparent 52%, #09131d 100%),
    radial-gradient(ellipse at 86% 85%, #09131de8, transparent 58%);
}

.studio {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  min-height: 2.75rem;
  padding-inline: .75rem;
  border: 1px solid #fff3da4d;
  background: #09131de8;
  color: #fff3da;
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: .15em;
  text-decoration: none;
  text-transform: uppercase;
}

.studio:hover {
  border-color: #ffb781;
}

.studio:focus-visible {
  outline: 2px solid #ffb781;
  outline-offset: 4px;
}

.title {
  align-self: end;
  justify-self: end;
  min-width: 0;
  margin-inline-end: clamp(0rem, 4vw, 5rem);
}

.title h1 {
  margin: 0;
  font: 700 clamp(3.75rem, 9.5vw, 10rem) / .81 "Pixelify Sans", monospace;
  letter-spacing: -.055em;
  text-shadow: 0 .05em #09131d, 0 0 .24em #09131d;
}

.title p {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 1.5rem 0 0;
  color: #ffcd9e;
  font-size: .8125rem;
  font-weight: 650;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.title p::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: #ffb781;
}

@media (max-aspect-ratio: 4/5) {
  .cover__art {
    height: 70%;
    object-position: 42% center;
  }

  .cover__shade {
    background: linear-gradient(180deg, #09131d82, transparent 24%, transparent 45%, #09131d 70%);
  }

  .title {
    justify-self: start;
    margin-inline-end: 0;
  }

  .title h1 {
    font-size: clamp(2.4rem, 13.5vw, 6rem);
  }
}

@media (min-aspect-ratio: 23/10) {
  .cover__art {
    left: 50%;
    width: min(100%, 220vh);
    transform: translateX(-50%);
  }

  .cover__shade {
    background:
      linear-gradient(90deg, #09131d 16%, transparent 37%, transparent 66%, #09131d 84%),
      linear-gradient(180deg, #09131d82, transparent 27%, transparent 54%, #09131d 100%);
  }

  .title h1 {
    font-size: min(10rem, 20vh);
  }
}

.cover--beta {
  grid-template-rows: 1fr;
  place-items: center;
  padding-block: max(2rem, env(safe-area-inset-top)) max(2rem, env(safe-area-inset-bottom));
}

.cover--beta .cover__art {
  height: 100%;
}

.cover--beta .cover__shade {
  background:
    radial-gradient(ellipse at center, #09131d61, transparent 80%),
    linear-gradient(180deg, #09131d24 18%, #09131dd9 100%);
}

.beta {
  box-sizing: border-box;
  width: min(100%, 30rem);
  padding: clamp(1.5rem, 5vw, 3rem);
  border: 1px solid #ffc89b80;
  background: #09131deb;
  box-shadow: 0 .75rem 2.5rem #09131d99;
  text-align: center;
}

.beta__label {
  margin: 0 0 .65rem;
  color: #ffcd9e;
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.beta h1 {
  margin: 0;
  font: 700 clamp(2.5rem, 6vw, 4rem) / .95 "Pixelify Sans", monospace;
  letter-spacing: -.05em;
}

.beta__launch {
  display: inline-flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  width: min(100%, 18rem);
  min-height: 3.75rem;
  margin-top: 1.75rem;
  padding: .6rem 1rem;
  border: 2px solid #ffdbb9;
  background: #ffb781;
  box-shadow: 0 .25rem #9d5436;
  color: #27170e;
  font: 700 clamp(1.5rem, 5vw, 2rem) / 1 "Pixelify Sans", monospace;
  text-decoration: none;
}

.beta__launch:hover {
  background: #ffd2ab;
}

.beta__launch:focus-visible {
  outline: 2px solid #fff3da;
  outline-offset: 5px;
}
