/* Keep the headline and image visible from the first paint. */
@media screen and (prefers-reduced-motion: no-preference) {
	:is(.eiqm-prototype .prototype-content > .hero, .is-style-eiqm-hero-entrance) h1 {
		animation: eiqm-hero-rise 580ms cubic-bezier(.22, 1, .36, 1) both;
	}

	:is(.eiqm-prototype .prototype-content > .hero, .is-style-eiqm-hero-entrance) .hero__lead {
		animation: eiqm-hero-rise 680ms 75ms cubic-bezier(.22, 1, .36, 1) both;
	}

	:is(.eiqm-prototype .prototype-content > .hero, .is-style-eiqm-hero-entrance) :is(.btn-row, .wp-block-buttons) {
		animation: eiqm-hero-rise 700ms 140ms cubic-bezier(.22, 1, .36, 1) both;
	}

	.eiqm-prototype .prototype-content > .hero--photo {
		overflow: clip;
	}

	.eiqm-prototype .prototype-content > .hero--photo > .hero__bg {
		animation: eiqm-hero-settle 900ms cubic-bezier(.22, 1, .36, 1) both;
	}
}

@keyframes eiqm-hero-rise {
	from { translate: 0 9px; }
	to { translate: 0 0; }
}

@keyframes eiqm-hero-settle {
	from { scale: 1.025; }
	to { scale: 1; }
}
