/* ── Scroll Reveal ── */
.reveal-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s var(--ease-out);
}

.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease-out);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease-out);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease-out);
}

.is-visible {
  opacity: 1;
  transform: translate(0);
}

/* ── Stagger children ── */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s var(--ease-out);
}

.stagger-children.is-visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.is-visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.is-visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children.is-visible > *:nth-child(4) { transition-delay: 0.3s; }

.stagger-children.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ── Hover Glow ── */
.hover-glow {
  transition: box-shadow var(--duration-normal) ease;
}

.hover-glow:hover {
  box-shadow: var(--glow-accent);
}

/* ── Pulse Animation ── */
@keyframes pulse-glow {
  0%, 100% { box-shadow: var(--glow-accent-sm); }
  50%      { box-shadow: var(--glow-accent); }
}

.pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}