/* Scroll fade-up reveal */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--ease-slow), transform var(--ease-slow);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.fade-up[data-delay="1"] { transition-delay: 100ms; }
.fade-up[data-delay="2"] { transition-delay: 200ms; }
.fade-up[data-delay="3"] { transition-delay: 300ms; }
.fade-up[data-delay="4"] { transition-delay: 400ms; }
.fade-up[data-delay="5"] { transition-delay: 500ms; }

/* Waveform bars */
@keyframes wave-pulse {
  0%, 100% { transform: scaleY(0.3); opacity: 0.3; }
  50%      { transform: scaleY(1);   opacity: 1; }
}

.hero-waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 52px;
  margin-bottom: var(--sp-10);
}

.wave-bar {
  width: 3px;
  background: var(--accent);
  border-radius: var(--radius-full);
  animation: wave-pulse 1.8s ease-in-out infinite;
  transform-origin: center;
}

.wave-bar:nth-child(1)  { height: 16px; animation-delay: 0s; }
.wave-bar:nth-child(2)  { height: 24px; animation-delay: 0.1s; }
.wave-bar:nth-child(3)  { height: 32px; animation-delay: 0.2s; }
.wave-bar:nth-child(4)  { height: 40px; animation-delay: 0.3s; }
.wave-bar:nth-child(5)  { height: 48px; animation-delay: 0.4s; }
.wave-bar:nth-child(6)  { height: 52px; animation-delay: 0.5s; }
.wave-bar:nth-child(7)  { height: 52px; animation-delay: 0.6s; }
.wave-bar:nth-child(8)  { height: 48px; animation-delay: 0.7s; }
.wave-bar:nth-child(9)  { height: 40px; animation-delay: 0.8s; }
.wave-bar:nth-child(10) { height: 32px; animation-delay: 0.9s; }
.wave-bar:nth-child(11) { height: 24px; animation-delay: 1.0s; }
.wave-bar:nth-child(12) { height: 16px; animation-delay: 1.1s; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .wave-bar {
    animation: none;
    opacity: 0.5;
    transform: scaleY(0.6);
  }
}
