/* Page fade, scroll cue, waveform. GSAP handles the rest. */
body {
  animation: pagein 0.6s ease both;
}
@keyframes pagein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.scroll-cue {
  width: 1px;
  height: 56px;
  background: rgba(247, 242, 230, 0.35);
  position: relative;
  overflow: hidden;
}
.scroll-cue::after {
  content: "";
  position: absolute;
  left: 0;
  top: -40%;
  width: 1px;
  height: 40%;
  background: var(--gold);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue {
  to {
    top: 110%;
  }
}
.wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 54px;
}
.wave i {
  flex: 1;
  max-width: 5px;
  border-radius: 3px;
  background: var(--gold);
  height: 20%;
  animation: wv 1.8s ease-in-out infinite;
  animation-delay: calc(var(--n) * -0.12s);
  opacity: 0.8;
}
@keyframes wv {
  0%,
  100% {
    height: 15%;
  }
  50% {
    height: 90%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
.wave i {
  animation-play-state: paused;
}
.is-audio-playing .wave i {
  animation-play-state: running;
}
