/* Fabian Tan landing — styles */

:root {
  --bg: #000000;
  --text-primary: #eaffef;
  --text-secondary: #a4cab1;
  --glow-rgb: 140, 255, 200;
  --rule: rgba(140, 255, 200, 0.06);
}

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

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Hero ---- */

.stage {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(ellipse 60% 45% at 50% 50%, rgba(var(--glow-rgb), 0.18), transparent 65%),
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0.5px, transparent 1.5px),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.04) 0.5px, transparent 1.5px),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.04) 0.5px, transparent 1.5px),
    linear-gradient(rgba(var(--glow-rgb), 0.025) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(var(--glow-rgb), 0.025) 1px, transparent 1px) 0 0 / 64px 64px,
    var(--bg);
}

.wordmark {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 9vw, 132px);
  letter-spacing: 0.04em;
  color: var(--text-primary);
  text-align: center;
  text-shadow:
    0 0 30px rgba(var(--glow-rgb), 0.65),
    0 0 80px rgba(var(--glow-rgb), 0.35),
    0 0 140px rgba(var(--glow-rgb), 0.18);
}

.manifesto {
  margin-top: 18px;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(10px, 1vw, 13px);
  letter-spacing: 0.34em;
  color: var(--text-secondary);
  text-align: center;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.5;
}

.scroll-cue__line {
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, transparent, var(--text-secondary));
  transform-origin: top;
  animation: scroll-cue-pulse 2.4s ease-in-out infinite;
}

.scroll-cue__label {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  letter-spacing: 0.36em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

@keyframes scroll-cue-pulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.7);
  }
  50% {
    opacity: 0.9;
    transform: scaleY(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue__line {
    animation: none;
    opacity: 0.7;
    transform: none;
  }
}

/* ---- About ---- */

.about {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  background: var(--bg);
  border-top: 1px solid var(--rule);
}

.bio {
  margin: 0;
  max-width: 640px;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(18px, 2.2vw, 28px);
  line-height: 1.5;
  color: var(--text-primary);
  text-align: center;
}

.about__links {
  margin-top: 48px;
  display: flex;
  gap: 32px;
  align-items: center;
}

.about__link {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(164, 202, 177, 0.3);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}

.about__link:hover,
.about__link:focus-visible {
  color: var(--text-primary);
  border-bottom-color: var(--text-primary);
  outline: none;
}

.about__sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(164, 202, 177, 0.4);
}

/* ---- Particle field ---- */

#particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
}

@media (hover: none) {
  #particles {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  #particles {
    display: none;
  }
}
