/* === Hero === */
#introduction {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--bg-dark);
}

#introduction canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--sp-md);
  max-width: 700px;
}

.hero-content h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 300;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1.25;
  animation: heroIn 1.2s var(--ease-out) both;
}

.hero-content h1 strong,
.hero-content h1 b {
  font-weight: 800;
  color: var(--accent);
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* === Scroll Cue === */
#scrollCue {
  position: absolute;
  bottom: var(--sp-lg);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  opacity: 0;
  animation: heroIn 0.8s var(--ease-out) 1s forwards;
  transition: color var(--duration-fast) var(--ease-out);
}

#scrollCue:hover {
  color: var(--accent);
}

.scroll-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: currentColor;
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollPulse 2s var(--ease-out) infinite 2s;
}

@keyframes scrollPulse {
  0% {
    top: -100%;
  }
  50% {
    top: 100%;
  }
  100% {
    top: 100%;
  }
}

/* Gradient fade to next section */
#introduction::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, var(--bg-vivid), transparent);
  pointer-events: none;
  z-index: 1;
}
