/**
 * Fins & Feathers — motion layer (scroll-reveal).
 *
 * Progressive enhancement: the `.ff-reveal` class is ADDED by ff-motion.js and
 * only when the visitor has NOT requested reduced motion. With JS off, or with
 * reduced motion on, the class is never applied, so nothing is ever hidden —
 * content is fully visible by default. The @media block below is a belt-and-
 * suspenders guard in case the class lingers.
 */
.ff-reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity .7s cubic-bezier(.22, .68, 0, 1),
	            transform .7s cubic-bezier(.22, .68, 0, 1);
	will-change: opacity, transform;
}

.ff-reveal.ff-in {
	opacity: 1;
	transform: none;
	/* Drop the transform hint once revealed — a lingering will-change:transform
	   makes the section a containing block and breaks position:sticky children
	   (the At-a-Glance rail, article TOC/share rails). */
	will-change: auto;
}

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