/* ── Scroll Reveal Animations ─────────────────────────────── */

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(24px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.reveal {
	opacity: 0;
	transform: translateY(24px);
}

.reveal.visible {
	animation: fadeInUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Stagger children */
.reveal-stagger .reveal:nth-child(1) { animation-delay: 0s; }
.reveal-stagger .reveal:nth-child(2) { animation-delay: 0.1s; }
.reveal-stagger .reveal:nth-child(3) { animation-delay: 0.2s; }
.reveal-stagger .reveal:nth-child(4) { animation-delay: 0.3s; }
.reveal-stagger .reveal:nth-child(5) { animation-delay: 0.4s; }
.reveal-stagger .reveal:nth-child(6) { animation-delay: 0.5s; }
.reveal-stagger .reveal:nth-child(7) { animation-delay: 0.6s; }
.reveal-stagger .reveal:nth-child(8) { animation-delay: 0.7s; }

/* Disable reveal inside sliders on mobile — prevents scroll/layout conflicts */
@media (max-width: 900px) {
	.slider-track .reveal {
		opacity: 1;
		transform: none;
		animation: none;
	}

	.slider-track .reveal.visible {
		animation: none;
	}
}

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

	.reveal.visible {
		animation: none;
	}
}
