/* Coming-soon splash and the branded 404.
   Ivory type on a Mars night, rust for marks and rules.
   Orbitron is the wordmark (OFL, The Orbitron Project Authors).
   Exo 2 is the body (OFL, The Exo 2 Project Authors).
   Licenses: /fonts/OFL-Orbitron.txt and /fonts/OFL-Exo2.txt. */

@font-face {
  font-family: "Orbitron";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/orbitron-latin-700.woff2") format("woff2");
}

@font-face {
  font-family: "Orbitron";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/fonts/orbitron-latin-900.woff2") format("woff2");
}

@font-face {
  font-family: "Exo 2";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/exo-2-latin-400.woff2") format("woff2");
}

@font-face {
  font-family: "Exo 2";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/exo-2-latin-500.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --bg: #140804;
  --paper: #f4ece3;
  --paper-dim: #d9cbbd;
  --muted: #b5a394;
  --rust: #e26a2c;
  --rust-text: #f0a06a;
  --line: rgba(244, 236, 227, 0.16);
  --focus: #f0a06a;
  --display: "Orbitron", "Arial Narrow", "Segoe UI", sans-serif;
  --sans: "Exo 2", "Segoe UI", "Helvetica Neue", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(1px 1px at 18% 22%, rgba(244, 236, 227, 0.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 74% 14%, rgba(244, 236, 227, 0.45) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 86% 36%, rgba(240, 160, 106, 0.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 58%, rgba(244, 236, 227, 0.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 62% 28%, rgba(244, 236, 227, 0.4) 50%, transparent 51%),
    var(--bg);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

::selection {
  background: #6a2e16;
  color: var(--paper);
}

.ground {
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: -52vh;
  width: 170vw;
  height: 78vh;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 0%, rgba(196, 84, 32, 0.55) 0%, rgba(92, 36, 16, 0.45) 24%, rgba(28, 10, 6, 0.2) 52%, transparent 70%);
  pointer-events: none;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  z-index: 10;
  transform: translateY(-160%);
  background: var(--paper);
  color: #1a0c08;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.55rem 0.8rem;
}

.skip:focus {
  transform: none;
}

.splash,
.site-header,
.lost,
.site-footer {
  position: relative;
  z-index: 1;
}

.splash {
  flex: 1;
  display: grid;
  place-items: center;
  width: 100%;
  padding: clamp(1.25rem, 4vh, 2.5rem) clamp(1.1rem, 4vw, 2rem) 0.75rem;
}

.splash-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(40rem, 100%);
  text-align: center;
  gap: clamp(0.85rem, 2vw, 1.2rem);
}

.wordmark {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.85rem, 2.4vh, 1.25rem);
  margin: 0;
}

.wordmark::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 6%;
  left: 50%;
  width: min(22rem, 78vw);
  height: min(24rem, 52vh);
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(226, 106, 44, 0.34), rgba(226, 106, 44, 0) 68%);
  pointer-events: none;
}

.wordmark picture,
.wordmark img {
  display: block;
}

.wordmark img {
  width: auto;
  height: clamp(8.5rem, 30vh, 16.5rem);
  aspect-ratio: 223 / 708;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.wordmark-text {
  color: var(--paper);
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.55rem, 6.6vw, 3.05rem);
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  text-wrap: balance;
}

.kicker {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  column-gap: 0.45em;
  row-gap: 0.15em;
  max-width: 36rem;
  margin: 0;
  color: var(--rust-text);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(0.68rem, 2.2vw, 0.84rem);
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: uppercase;
}

.kicker a {
  color: inherit;
  text-underline-offset: 0.18em;
}

.kicker a:hover,
.kicker a:focus-visible {
  color: var(--paper);
}

.tagline {
  margin: 0;
  max-width: 18em;
  color: var(--paper);
  font-size: clamp(1.28rem, 3.4vw, 1.8rem);
  font-weight: 500;
  line-height: 1.3;
  text-wrap: balance;
}

.pitch {
  margin: 0;
  max-width: 34em;
  color: var(--paper-dim);
  font-size: clamp(1rem, 2.4vw, 1.12rem);
  font-weight: 400;
  line-height: 1.5;
  text-wrap: balance;
}

.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin: 0.15rem 0 0;
  color: var(--paper);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(0.95rem, 2.6vw, 1.2rem);
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.status .dot {
  width: 0.62rem;
  height: 0.62rem;
  flex: none;
  border-radius: 50%;
  background: var(--rust);
  box-shadow: 0 0 0 0.32rem rgba(226, 106, 44, 0.28);
}

.site-footer {
  width: 100%;
}

.footer-copy {
  margin: 0;
  padding: 0.85rem 1.1rem calc(1rem + env(safe-area-inset-bottom));
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
  text-align: center;
}

.footer-copy a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.footer-copy a:hover,
.footer-copy a:focus-visible {
  color: var(--paper);
}

.site-header {
  display: flex;
  align-items: center;
  min-height: 4.25rem;
  padding: 0.75rem clamp(1.1rem, 3vw, 2rem);
  background: rgba(20, 8, 4, 0.92);
  border-bottom: 2px solid var(--rust);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--paper);
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(0.85rem, 2.4vw, 1rem);
  letter-spacing: 0.14em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.brand picture,
.brand img {
  display: block;
}

.brand img {
  width: auto;
  height: 2.6rem;
  aspect-ratio: 223 / 708;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.brand:hover,
.brand:focus-visible {
  color: var(--rust-text);
}

.lost {
  flex: 1;
  padding: clamp(2.5rem, 8vw, 5.5rem) 0 clamp(3rem, 10vw, 6rem);
}

.wrap {
  width: min(40rem, calc(100% - 2.4rem));
  margin-inline: auto;
}

.lost .kicker {
  justify-content: flex-start;
}

.lost h1 {
  margin: 0.35rem 0 0;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  letter-spacing: 0.04em;
  line-height: 1.05;
  text-transform: uppercase;
  text-wrap: balance;
}

.lost .lede {
  margin: 1rem 0 0;
  max-width: 28em;
  color: var(--paper-dim);
  font-size: 1.15rem;
}

.lost-home {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: 1.35rem;
  color: var(--paper);
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 2px solid var(--rust);
}

.lost-home:hover,
.lost-home:focus-visible {
  color: var(--rust-text);
}

@media (max-width: 420px) {
  .kicker {
    letter-spacing: 0.08em;
  }

  .wordmark-text {
    letter-spacing: 0.1em;
  }
}

@media (forced-colors: active) {
  .status .dot {
    background: CanvasText;
    box-shadow: none;
  }

  .ground,
  .wordmark::before {
    display: none;
  }
}
