/* Small additions on top of the compiled design CSS (assets/css/main.css). */

/* Scroll reveal (replaces the framer-motion whileInView animations). */
.reveal {
	opacity: 0;
	transform: translateY(var(--reveal-y, 24px));
	transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
		transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Hero decoration: the original animates to opacity .14, not 1. */
.reveal-faint.reveal-visible {
	opacity: 0.14;
}

/* FAQ accordion answers (animated in JS via max-height-free height transitions). */
.faq-answer {
	transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
		opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

	.faq-answer {
		transition: none;
	}

	.gallery-track {
		scroll-behavior: auto;
	}
}
