@font-face {
  font-family: Inter;
  src: url("./inter.woff2") format("woff2");
  font-display: swap;
}

:root {
  color-scheme: dark;
  color: #fbf4e7;
  background: #212b38;
  font-family: Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  isolation: isolate;
}

.site-header,
.site-footer {
  z-index: 1;
  padding-inline: max(28px, env(safe-area-inset-left)) max(28px, env(safe-area-inset-right));
}

.site-header {
  padding-block-start: max(26px, calc(env(safe-area-inset-top) + 12px));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: -.045em;
}

.brand img { display: block; }

.hero {
  display: grid;
  justify-items: center;
  align-content: start;
  text-align: center;
}

.key-art {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 61%;
}

body::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(21, 30, 44, .71), rgba(30, 39, 54, .35) 36%, transparent 61%),
    linear-gradient(0deg, rgba(20, 25, 32, .83), transparent 19%);
  content: "";
  pointer-events: none;
}

.intro {
  margin: clamp(44px, 9vh, 108px) 22px 0;
  text-shadow: 0 2px 20px rgba(22, 26, 37, .55);
}

.status {
  margin: 0 0 18px;
  font-size: .6875rem;
  letter-spacing: .34em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  padding-inline-start: .085em;
  font: 400 clamp(4.1rem, 9.4vw, 9.5rem) / .94 Georgia, "Times New Roman", serif;
  letter-spacing: .085em;
  text-transform: uppercase;
}

.slogan {
  margin: 25px 0 0;
  font-size: clamp(.875rem, 1.4vw, 1.0625rem);
  letter-spacing: .06em;
}

.site-footer {
  display: flex;
  justify-content: flex-end;
  padding-block: 16px max(17px, env(safe-area-inset-bottom));
}

.site-footer a {
  padding: 10px 0;
  color: inherit;
  font-size: .75rem;
  text-decoration-color: #fbf4e78f;
  text-underline-offset: .32em;
}

.site-footer a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 6px;
}

@media (orientation: portrait) {
  body {
    background: linear-gradient(#263241, #1e2834 72%, #1e2834);
  }

  body::before { display: none; }

  .hero {
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
    justify-content: center;
    gap: clamp(29px, 6vh, 64px);
  }

  .intro { margin: 0 12px; }
  .status { margin-bottom: 15px; }

  h1 {
    font-size: clamp(2.75rem, 12vw, 7.6rem);
    letter-spacing: .07em;
  }

  .slogan { margin-top: 18px; }

  .key-art {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 1.32;
    object-position: 52% 62%;
    mask-image: linear-gradient(transparent, #000 13%, #000 83%, transparent);
  }

  .site-footer { justify-content: center; }
}

@media (orientation: landscape) and (max-height: 460px) {
  .site-header { padding-block-start: 12px; }
  .brand img { width: 32px; height: 32px; }
  .intro { margin-top: 8px; }
  .status { margin-bottom: 10px; }
  h1 { font-size: clamp(3rem, 7.4vw, 5.5rem); }
  .slogan { margin-top: 12px; }
  .site-footer { padding-block: 4px 8px; }
}
