/**
 * Homepage-only section entrance animations.
 */

/* Above-the-fold sections stay fully visible — no entrance motion. */
html.lhd-entry-ready .ct-section.lhd-entry-skip {
	opacity: 1;
	transform: none;
}

html.lhd-entry-ready .ct-section.lhd-entry {
	opacity: 0;
	transform: translate3d(0, 18px, 0);
	will-change: opacity, transform;
	transition:
		opacity 1.05s cubic-bezier(0.16, 1, 0.3, 1),
		transform 1.05s cubic-bezier(0.16, 1, 0.3, 1);
}

html.lhd-entry-ready .ct-section.lhd-entry.lhd-entry-visible {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

html.lhd-entry-ready .ct-section.lhd-entry.lhd-entry-done {
	will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
	html.lhd-entry-ready .ct-section.lhd-entry,
	html.lhd-entry-ready .ct-section.lhd-entry.lhd-entry-visible {
		opacity: 1;
		transform: none;
		transition: none;
		will-change: auto;
	}
}
