/* Aadhi Media LLP: scroll motion layer. Active only once aadhi-motion.js marks the page. */
html.am-mo-ready body .am-mo { opacity: 0; transform: translate3d(0, 30px, 0); transition: opacity 1s cubic-bezier(.22, .7, .16, 1) var(--am-mo-d, 0s), transform 1s cubic-bezier(.22, .7, .16, 1) var(--am-mo-d, 0s); }
html.am-mo-ready body .am-mo.am-mo-on { opacity: 1; transform: none; }
/* images wipe in from right to left */
html.am-mo-ready body .am-mo.am-mo-img { transform: none; opacity: 1; clip-path: inset(0 0 0 100%); transition: clip-path 1.4s cubic-bezier(.7, 0, .2, 1) var(--am-mo-d, 0s); }
html.am-mo-ready body .am-mo.am-mo-img.am-mo-on { clip-path: inset(0 0 0 0); }

/* right-to-left drift: the photo is a little larger than its frame so the slide never shows an edge */
html.am-drift-ready body .am-drift-frame { overflow: hidden; }
html.am-drift-ready body img.am-drift { scale: 1.1; will-change: translate; transition: translate .25s linear; }

@media (prefers-reduced-motion: reduce) {
	html.am-mo-ready body .am-mo, html.am-mo-ready body .am-mo img { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
	html.am-drift-ready body img.am-drift { translate: none !important; scale: none !important; }
}
