/* American Meathead v2 — minimal, reduce-motion aware. */

@media (prefers-reduced-motion: no-preference) {

	.am-hero-text > * {
		animation: am-rise 600ms cubic-bezier(0.16, 1, 0.3, 1) both;
	}
	.am-hero-text .am-hero-eyebrow   { animation-delay: 0ms; }
	.am-hero-text .am-hero-headline  { animation-delay: 80ms; }
	.am-hero-text .am-hero-subhead   { animation-delay: 160ms; }
	.am-hero-text .am-hero-newsletter{ animation-delay: 240ms; }
	.am-hero-text .am-hero-trust     { animation-delay: 320ms; }

	.am-hero-photo {
		animation: am-fade 700ms ease-out both;
		animation-delay: 160ms;
	}

	/* Sonic Boom: Problem awareness 2x2 reveal stagger */
	.am-problem__item {
		animation: am-rise 600ms cubic-bezier(0.16, 1, 0.3, 1) both;
		animation-timeline: view();
		animation-range: entry 0% cover 25%;
	}
	.am-problem__item:nth-child(2) { animation-delay: 80ms; }
	.am-problem__item:nth-child(3) { animation-delay: 160ms; }
	.am-problem__item:nth-child(4) { animation-delay: 240ms; }

	/* Method steps stagger */
	.am-method__step {
		animation: am-rise 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
		animation-timeline: view();
		animation-range: entry 0% cover 30%;
	}
	.am-method__step:nth-child(2) { animation-delay: 100ms; }
	.am-method__step:nth-child(3) { animation-delay: 200ms; }
	.am-method__step:nth-child(4) { animation-delay: 300ms; }

	/* Proof bar numbers scale-in */
	.am-proof-bar__num {
		animation: am-pop 600ms cubic-bezier(0.16, 1, 0.3, 1) both;
		animation-timeline: view();
		animation-range: entry 0% cover 20%;
	}

	/* Sticky CTA slides up after entering view */
	.am-sticky-cta {
		animation: am-slide-up 400ms cubic-bezier(0.16, 1, 0.3, 1) both;
		animation-delay: 800ms;
	}
}

@keyframes am-pop {
	from { opacity: 0; transform: scale(0.85); }
	to   { opacity: 1; transform: scale(1); }
}

@keyframes am-slide-up {
	from { transform: translateY(100%); }
	to   { transform: translateY(0); }
}

@keyframes am-rise {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: translateY(0); }
}
@keyframes am-fade {
	from { opacity: 0; }
	to   { opacity: 1; }
}
