:root {
  --ground: #08142F;
  --maroon: #8A1C2B;
  --white: #FFFFFF;
  --mist: #9FB2DC;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  background: var(--ground);
  color: var(--white);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

.intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  cursor: pointer;
  transition: opacity .6s ease;
}

.intro.leaving { opacity: 0; }

.wordmark {
  display: flex;
  margin: 0;
  font-size: clamp(64px, 15vw, 200px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: .16em;
  margin-right: -.16em;
}

.wordmark span {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: calc(.35s + var(--i) * .3s);
}

.rule {
  width: 72px;
  height: 4px;
  margin: 3.2vh 0 2.6vh;
  background: var(--maroon);
  transform: scaleX(0);
  animation: grow .7s ease forwards 2.1s;
}

.system {
  margin: 0;
  font-size: clamp(18px, 2.6vw, 34px);
  font-weight: 500;
  letter-spacing: .9em;
  margin-right: -.9em;
  opacity: 0;
  animation: fadeIn .9s ease forwards 2.4s;
}

.edition {
  margin: 2.2vh 0 0;
  color: var(--mist);
  font-size: clamp(12px, 1.2vw, 16px);
  font-weight: 300;
  letter-spacing: .5em;
  margin-right: -.5em;
  opacity: 0;
  animation: fadeIn .9s ease forwards 2.9s;
}

@keyframes fadeIn { to { opacity: 1; } }
@keyframes grow { to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
  .wordmark span, .system, .edition { animation-duration: .01s; animation-delay: 0s; }
  .rule { animation-duration: .01s; animation-delay: 0s; }
}
