/*
 * PFL PRODUCTION MOTION R383 — 2026-09-02
 * Lightweight document-entry feedback; no blocking splash or spinner.
 */

@keyframes pfl-r383-page-enter {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes pfl-r383-page-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

@media (prefers-reduced-motion: no-preference) {
	html.pfl-motion-capable body:not(.home).pfl-motion-browse #inner-wrap {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
		animation: pfl-r383-page-enter 260ms cubic-bezier(.2, .7, .2, 1) both !important;
	}

	html.pfl-motion-capable body:not(.home).pfl-motion-editorial #inner-wrap {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
		animation: pfl-r383-page-enter 240ms cubic-bezier(.2, .7, .2, 1) both !important;
	}

	html.pfl-motion-capable body:not(.home):is(.pfl-motion-functional, .pfl-motion-quiet) #inner-wrap {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
		animation: pfl-r383-page-fade 160ms ease-out both !important;
	}

	#pfl-nav-progress {
		transition: opacity 0s linear 140ms !important;
	}

	#pfl-nav-progress.is-started:not(.is-complete) {
		opacity: 1 !important;
	}

	#pfl-nav-progress.is-complete {
		opacity: 0 !important;
		transition: opacity 180ms ease 90ms !important;
	}
}

/* The canonical motion system defines decorative particles as Home-only. */
html body:not(.home) canvas#pfl-stars {
	display: none !important;
	width: 0 !important;
	height: 0 !important;
	opacity: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
	html body #inner-wrap {
		opacity: 1 !important;
		transform: none !important;
		animation: none !important;
		transition: none !important;
	}

	#pfl-nav-progress {
		display: none !important;
		animation: none !important;
	}
}
