:root {
  --ink: #f4efe8;
  --ink-soft: rgba(244, 239, 232, 0.72);
  --ink-faint: rgba(244, 239, 232, 0.45);
  --deep: #1a1240;
  --mid: #2d1b69;
  --violet: #4a2d8a;
  --warm: #c4894a;
  --warm-glow: rgba(196, 137, 74, 0.28);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--deep);
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 110%, rgba(74, 45, 138, 0.55), transparent 55%),
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(45, 27, 105, 0.7), transparent 50%),
    linear-gradient(165deg, #120c2e 0%, var(--deep) 40%, #24155a 100%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: drift 18s ease-in-out infinite alternate;
}

.glow-a {
  width: min(55vw, 480px);
  height: min(55vw, 480px);
  top: -8%;
  right: -5%;
  background: var(--warm-glow);
  animation-duration: 22s;
}

.glow-b {
  width: min(70vw, 560px);
  height: min(70vw, 560px);
  bottom: -18%;
  left: -10%;
  background: rgba(90, 60, 180, 0.35);
  animation-duration: 26s;
  animation-delay: -6s;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
  pointer-events: none;
}

.stage {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  gap: 0.85rem;
}

.brand {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  animation: rise 1s ease-out both;
}

.headline {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  animation: rise 1s ease-out 0.15s both;
}

.lede {
  max-width: 22rem;
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 300;
  line-height: 1.55;
  color: var(--ink-faint);
  animation: rise 1s ease-out 0.28s both;
}

.email {
  margin-top: 1.75rem;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--warm);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
  animation: rise 1s ease-out 0.42s both;
}

.email:hover,
.email:focus-visible {
  color: #e0a86a;
  border-bottom-color: rgba(224, 168, 106, 0.5);
  outline: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(-4%, 6%) scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .glow,
  .brand,
  .headline,
  .lede,
  .email {
    animation: none;
  }
}
