:root { --ink: #1f2328; --paper: #fbfaf7; --accent: #2f6f5e; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.6 Georgia, "Times New Roman", serif; }
main { max-width: 40rem; margin: 0 auto; padding: 4rem 1.25rem; }
h1 { font-family: "Helvetica Neue", Arial, sans-serif; font-size: 2.2rem; margin: 0 0 1rem; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; }

/* ---------- Splash page ---------- */
body.splash {
  min-height: 100vh;
  min-height: 100svh;
  background: #07080d;
  color: #fff;
  overflow: hidden;
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.splash .stage {
  position: relative;
  z-index: 2;
  max-width: none;
  min-height: 100vh;
  min-height: 100svh;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.splash .wordmark {
  margin: 0;
  font-family: "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  font-weight: 200;
  font-size: clamp(2.6rem, 13vw, 10rem);
  letter-spacing: 0.22em;
  text-indent: 0.22em; /* keeps the word visually centred */
  text-transform: uppercase;
  line-height: 1;
  color: #e9fff4;
  background: linear-gradient(100deg, #ffffff 0%, #9bffd0 30%, #38e0c0 50%, #6aa8ff 75%, #c58bff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rise 1.6s cubic-bezier(.2,.7,.2,1) both, shimmer 8s ease-in-out infinite alternate;
}
.splash .rule {
  width: clamp(4rem, 18vw, 10rem);
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #38e0c0, transparent);
  animation: grow 1.8s .5s cubic-bezier(.2,.7,.2,1) both;
}

/* soft drifting colour glows */
.splash .glow {
  position: absolute;
  z-index: 0;
  width: 55vmax;
  height: 55vmax;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
}
.splash .glow-a { background: #11b98f; top: -20vmax; left: -15vmax; animation: drift1 18s ease-in-out infinite alternate; }
.splash .glow-b { background: #3b5bff; bottom: -25vmax; right: -15vmax; animation: drift2 22s ease-in-out infinite alternate; }
.splash .glow-c { background: #9b3bff; width: 35vmax; height: 35vmax; top: 30%; left: 55%; opacity: .3; animation: drift3 26s ease-in-out infinite alternate; }

/* fine film grain + vignette for depth */
.splash .grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 35%, rgba(0,0,0,.65) 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.015) 0 1px, transparent 1px 3px);
}

@keyframes rise { from { opacity: 0; transform: translateY(18px); letter-spacing: 0.5em; } to { opacity: 1; transform: none; letter-spacing: 0.22em; } }
@keyframes grow { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }
@keyframes shimmer { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes drift1 { to { transform: translate(18vmax, 12vmax) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-16vmax, -10vmax) scale(1.1); } }
@keyframes drift3 { to { transform: translate(-20vmax, 8vmax) scale(1.25); } }

@media (prefers-reduced-motion: reduce) {
  .splash .wordmark, .splash .rule, .splash .glow { animation: none; }
}
