/*
 * Motion layer styles (assets/js/motion.js). Loaded with it, on the organic
 * pages only. The animations themselves are set up in JavaScript, so nothing
 * here hides content.
 */

/* Reading progress bar on articles. */
.ics-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 99998;
	height: 3px;
	background: var(--color-accent, #fea953);
	transform: scaleX(0);
	transform-origin: 0 50%;
	pointer-events: none;
}

/* Smooth in-page jumps (table of contents, "back to top"), for visitors who
   have not asked for less motion. */
@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}
