:root {
  --bg: #05070c;
  --ink: #f4f7fb;
  --muted: rgba(244, 247, 251, 0.62);
  --blue: #1f6fff;
  --blue-soft: rgba(31, 111, 255, 0.35);
  --line: rgba(255, 255, 255, 0.08);
  --font-display: "Syne", "Anuphan", sans-serif;
  --font-body: "Anuphan", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--bg);
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 700px at 18% 12%, rgba(31, 111, 255, 0.22), transparent 60%),
    radial-gradient(900px 600px at 88% 78%, rgba(20, 70, 180, 0.18), transparent 55%),
    linear-gradient(180deg, #070b14 0%, #05070c 45%, #04060a 100%);
}

.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.55;
  animation: drift 14s ease-in-out infinite alternate;
}

.glow-a {
  width: 42vw;
  height: 42vw;
  top: -8%;
  left: -6%;
  background: var(--blue-soft);
}

.glow-b {
  width: 36vw;
  height: 36vw;
  right: -8%;
  bottom: -10%;
  background: rgba(80, 140, 255, 0.18);
  animation-delay: -4s;
}

.wind-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.wind-lines span {
  position: absolute;
  left: -20%;
  height: 1px;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  opacity: 0;
  animation: wind 7.5s linear infinite;
}

.wind-lines span:nth-child(1) {
  top: 28%;
  animation-delay: 0s;
}
.wind-lines span:nth-child(2) {
  top: 46%;
  width: 55%;
  animation-delay: 1.8s;
}
.wind-lines span:nth-child(3) {
  top: 61%;
  width: 40%;
  animation-delay: 3.4s;
}
.wind-lines span:nth-child(4) {
  top: 74%;
  width: 50%;
  animation-delay: 5.1s;
}

.stage {
  position: relative;
  z-index: 1;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(2rem, 6vw, 4rem) 1.5rem 5rem;
}

.brand {
  width: min(72vw, 520px);
  height: auto;
  display: block;
  margin-bottom: 1.75rem;
  animation: rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  animation: rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 8vw, 5.4rem);
  letter-spacing: -0.03em;
  line-height: 0.95;
  animation: rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

.lede {
  margin: 1.1rem 0 0;
  max-width: 28rem;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  font-weight: 300;
  line-height: 1.55;
  color: var(--muted);
  animation: rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.34s both;
}

.foot {
  position: fixed;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.foot a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease, color 160ms ease;
}

.foot a:hover {
  border-bottom-color: var(--blue);
  color: #fff;
}

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

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(3vw, 2vh, 0) scale(1.08);
  }
}

@keyframes wind {
  0% {
    opacity: 0;
    transform: translateX(0);
  }
  15% {
    opacity: 0.7;
  }
  70% {
    opacity: 0.25;
  }
  100% {
    opacity: 0;
    transform: translateX(140vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand,
  .eyebrow,
  .title,
  .lede,
  .glow,
  .wind-lines span {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
