:root {
  --green: #16c172;
  --green-soft: rgba(22, 193, 114, 0.18);
  --bg: #04100a;
  --ink: #e6f5ec;
  --muted: #7fa892;
  --glow-y: 44%;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: "Space Grotesk", system-ui, sans-serif;
  overflow: hidden;
}
#stage {
  position: fixed; top: 0; left: 0; display: block;
  width: calc(100vw - var(--pr, 0px)); height: calc(100vh - var(--pb, 0px));
}
.glow {
  position: fixed; inset: 0 var(--pr, 0px) var(--pb, 0px) 0; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 35% at 50% var(--glow-y), var(--green-soft), transparent 70%),
    radial-gradient(ellipse 120% 90% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.55));
}
.brand { position: fixed; left: 0; right: var(--pr, 0px); top: var(--sub-top, 60%); text-align: center; pointer-events: none; }
.sub {
  font-weight: 500;
  font-size: clamp(14px, 2.2vw, 26px);
  letter-spacing: 0.6em; padding-left: 0.6em;
  color: var(--ink);
  opacity: 0; transition: opacity 0.6s ease;
}
.sub.on { opacity: 1; }
.sub .scr { color: var(--green); }
.tagline {
  margin-top: 1.1rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: clamp(12px, 1.4vw, 16px);
  color: var(--muted); min-height: 1.5em;
}
.cursor { color: var(--green); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.foot {
  position: fixed; bottom: calc(28px + var(--pb, 0px)); left: 0; right: var(--pr, 0px); text-align: center;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted);
  pointer-events: none;
}
.dot {
  display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%;
  background: var(--green); vertical-align: middle; animation: ping 2s infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 var(--green); }
  100% { box-shadow: 0 0 0 10px transparent; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .cursor, .dot { animation: none; } }
