:root { color-scheme: dark; }
* { box-sizing: border-box; }
html, body.lg {
  margin: 0;
  min-height: 100%;
  background: #0a0a0c;
  color: #f4f1ea;
  font-family: "Space Grotesk", system-ui, sans-serif;
}
#lg-webgl {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.lg-floats {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.lg-floats img {
  position: absolute;
  opacity: 0.28;
  animation: lg-drift 16s ease-in-out infinite;
}
.lg-floats img:nth-child(1) { width: 140px; top: 8%; left: 6%; animation-duration: 18s; }
.lg-floats img:nth-child(2) { width: 90px; top: 18%; right: 10%; animation-duration: 14s; animation-delay: -3s; }
.lg-floats img:nth-child(3) { width: 220px; bottom: -4%; right: -3%; opacity: 0.16; animation-duration: 22s; }
.lg-floats img:nth-child(4) { width: 110px; bottom: 18%; left: 8%; animation-duration: 15s; animation-delay: -6s; }
.lg-floats img:nth-child(5) { width: 70px; top: 42%; right: 22%; animation-duration: 12s; animation-delay: -2s; }
.lg-floats img:nth-child(6) {
  width: 280px;
  top: 8%;
  right: -40px;
  opacity: 0.12;
  transform: rotate(12deg);
  animation: none;
  mask-image: linear-gradient(90deg, transparent, #000 40%);
}
@keyframes lg-drift {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-18px) rotate(8deg); }
}
.lg-stage {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.25rem 3rem;
}
.lg-logo {
  width: min(52vw, 240px);
  height: min(52vw, 240px);
  margin-bottom: 0.4rem;
}
.lg-logo img,
.lg-logo svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.lg-kicker {
  margin: 0.35rem 0 0;
  font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #ed2024;
}
.lg-stage h1 {
  margin: 0.2rem 0 1.5rem;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  letter-spacing: -0.05em;
  line-height: 0.92;
}
.lg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(92vw, 22rem);
  background: #ed2024;
  color: #fff;
  text-decoration: none;
  padding: 1rem 1.4rem;
  font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 18px 40px rgba(237,32,36,.28);
  transition: transform .15s ease, filter .15s ease;
}
.lg-btn:hover { filter: brightness(1.08); transform: translateY(-2px); }
.lg-note {
  margin: 1rem 0 0;
  color: #8a8f98;
  font-size: 0.8rem;
  max-width: 22rem;
}
.lg-err {
  background: rgba(237,32,36,.14);
  border: 1px solid rgba(237,32,36,.45);
  color: #fca5a5;
  padding: 0.7rem 0.9rem;
  margin: 0 0 1rem;
  max-width: 26rem;
  font-size: 0.85rem;
  text-align: left;
}
@media (max-width: 700px) {
  .lg-floats img:nth-child(3),
  .lg-floats img:nth-child(6) { display: none; }
}
