/* Scroll reveal — fade + rise (does not lock child transforms after show) */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.show {
  opacity: 1;
  transform: none;
}

/* After reveal completes, stop fighting hover animations on children */
.reveal.show {
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.show {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
