:root {
  --bg: #0a0a0a;
  --fg: #f5f3f0;
  --muted: #8a8580;
  --accent: #ff1e56;
  --accent-2: #ff4d8d;
  --accent-glow: rgba(255, 30, 86, 0.55);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: "Space Grotesk", system-ui, sans-serif;
  overflow-x: hidden;
  position: relative;
}

/* Background glow */
.glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60vmax 60vmax at 75% 15%, var(--accent-glow), transparent 60%),
    radial-gradient(50vmax 50vmax at 10% 90%, rgba(255, 77, 141, 0.25), transparent 60%);
  filter: blur(20px);
  animation: drift 18s ease-in-out infinite alternate;
}

/* Subtle film grain */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Hero */
.hero {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 6vw, 4rem);
  padding-top: clamp(4rem, 14vh, 8rem);
}

.wordmark {
  font-size: clamp(0.85rem, 3.5vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: clamp(2rem, 8vh, 4rem);
}

.wordmark__tld {
  color: var(--accent);
}

.headline {
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.04em;
  font-size: clamp(4.5rem, 26vw, 14rem);
  text-transform: lowercase;
}

.headline__line {
  display: block;
}

.headline__line--accent {
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.headline__lip {
  -webkit-text-fill-color: initial;
  font-size: 0.55em;
  display: inline-block;
  vertical-align: 0.08em;
  margin-left: 0.08em;
  animation: bite 2.6s ease-in-out infinite;
  transform-origin: center 70%;
}

.subcopy {
  margin-top: clamp(1.5rem, 5vh, 2.5rem);
  max-width: 28ch;
  font-size: clamp(1rem, 4.2vw, 1.35rem);
  font-weight: 400;
  color: var(--muted);
}

/* Marquee */
.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.7rem 0;
  white-space: nowrap;
}

.marquee__track {
  display: inline-flex;
  animation: scroll 24s linear infinite;
}

.marquee__track span {
  font-size: clamp(0.8rem, 3vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Footer */
.footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  padding: clamp(1rem, 4vw, 1.5rem) clamp(1.5rem, 6vw, 4rem);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* Animations */
@keyframes drift {
  from { transform: translate3d(-4%, -2%, 0) scale(1); }
  to   { transform: translate3d(4%, 3%, 0) scale(1.12); }
}

@keyframes bite {
  0%, 100% { transform: scale(1) rotate(0deg); }
  45%      { transform: scale(0.86) rotate(-4deg); }
  60%      { transform: scale(0.92) rotate(2deg); }
}

@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .glow,
  .headline__lip,
  .marquee__track {
    animation: none;
  }
}
