:root {
  color-scheme: dark;
  --black: #000;
  --ink: #f6f1df;
  --muted: rgba(246, 241, 223, 0.54);
  --dim: rgba(246, 241, 223, 0.18);
  --cyan: #81ffe0;
  --gold: #ffd36f;
  --rose: #ff6c91;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  cursor: none;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow: hidden;
}

#world-canvas,
.vignette {
  position: fixed;
  inset: 0;
}

#world-canvas {
  z-index: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
}

.vignette {
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at center, transparent 0%, transparent 42%, rgba(0, 0, 0, 0.7) 78%, #000 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.2), #000 112%);
}

.stage {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 44px clamp(22px, 5vw, 72px);
  pointer-events: none;
}

.identity {
  width: min(980px, 100%);
}

.kicker {
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.kicker {
  margin: 0 0 18px;
}

h1 {
  max-width: 980px;
  margin: 0 0 -0.12em;
  color: rgba(246, 241, 223, 0.96);
  font-size: 8.7rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.12;
  padding-bottom: 0.18em;
  text-shadow:
    0 0 18px rgba(246, 241, 223, 0.15),
    0 0 80px rgba(129, 255, 224, 0.12);
}

.spotlight-text {
  --text-light-x: 50%;
  --text-light-y: 50%;
  transition:
    color 220ms ease,
    opacity 220ms ease,
    text-shadow 220ms ease;
}

body.is-lighting .spotlight-text {
  mask-image:
    radial-gradient(
      circle 250px at var(--text-light-x) var(--text-light-y),
      transparent 0%,
      transparent 42%,
      rgba(0, 0, 0, 0.45) 62%,
      #000 100%
    );
  mask-mode: alpha;
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
  -webkit-mask-image:
    radial-gradient(
      circle 250px at var(--text-light-x) var(--text-light-y),
      transparent 0%,
      transparent 42%,
      rgba(0, 0, 0, 0.45) 62%,
      #000 100%
    );
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
}

body.is-lighting h1 {
  text-shadow: 0 0 70px rgba(129, 255, 224, 0.08);
}

@media (max-width: 860px) {
  h1 {
    font-size: 5.7rem;
  }
}

@media (max-width: 560px) {
  body {
    cursor: auto;
  }

  .stage {
    padding: 28px 20px;
  }

  h1 {
    font-size: 3.3rem;
    line-height: 1.12;
  }
}
