@font-face {
	font-family: "AAM Anton";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/anton-latin.woff2") format("woff2");
}

.aam-native-hero {
	--aam-hero-accent: #ff8d00;
	--aam-hero-button: #f7941d;
	position: relative;
	width: calc(100% - 20px);
	max-width: 1240px;
	height: 650px;
	margin: 10px auto 0;
	overflow: hidden;
	background: #e8ecee;
	isolation: isolate;
	touch-action: pan-y;
}

.aam-native-hero *,
.aam-native-hero *::before,
.aam-native-hero *::after {
	box-sizing: border-box;
}

.aam-native-hero__viewport,
.aam-native-hero__slide,
.aam-native-hero__image,
.aam-native-hero__shade,
.aam-native-hero__content {
	width: 100%;
	height: 100%;
}

.aam-native-hero__viewport,
.aam-native-hero__slide,
.aam-native-hero__shade,
.aam-native-hero__content {
	position: absolute;
	inset: 0;
}

.aam-native-hero__viewport {
	overflow: clip;
}

.aam-native-hero__slide {
	top: 0;
	left: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 300ms ease, visibility 300ms ease;
}

.aam-native-hero__slide.is-active {
	z-index: 1;
	opacity: 1;
	visibility: visible;
}

.aam-native-hero .aam-native-hero__image {
	width: 100%;
	height: 100%;
	max-width: none;
	display: block;
	object-fit: cover;
	object-position: center;
	transform: scale(1.1);
}

.aam-native-hero__slide.is-active .aam-native-hero__image {
	animation: aamHeroImageDrift 10s linear both;
}

.aam-native-hero__shade {
	z-index: 1;
	background:
		linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.02) 44%, rgba(0, 0, 0, 0.64) 100%),
		rgba(9, 27, 34, 0.12);
}

.aam-native-hero__content {
	z-index: 2;
	pointer-events: none;
	text-align: center;
}

.aam-native-hero__eyebrow,
.aam-native-hero__title,
.aam-native-hero__cta {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}

.aam-native-hero__eyebrow {
	top: 50px;
	width: calc(100% - 300px);
	margin: 0;
	color: var(--aam-hero-accent);
	font-family: "Work Sans", "Segoe UI", Arial, sans-serif;
	font-size: 23px;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: 7px;
	text-transform: uppercase;
	text-shadow: 0 5px 26px rgba(0, 0, 0, 0.82);
}

.aam-native-hero__title {
	top: 96px;
	max-width: calc(100% - 120px);
	margin: 0;
	color: #fff;
	font-family: "AAM Anton", Impact, sans-serif;
	font-size: 170px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0;
	text-transform: uppercase;
	white-space: nowrap;
	text-shadow: 0 8px 36px rgba(0, 0, 0, 0.32);
}

.aam-native-hero__title--long {
	top: 124px;
	font-size: 126px;
}

.aam-native-hero__title--wordmark {
	top: 185px;
}

.aam-native-hero__wordmark {
	display: block;
	width: 527px;
	max-width: 52vw;
	height: auto;
	filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.32));
}

.aam-native-hero__cta {
	bottom: 60px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 265px;
	min-height: 70px;
	max-width: calc(100% - 80px);
	padding: 0 40px;
	border-radius: 35px;
	background: var(--aam-hero-button);
	color: #1f2d31;
	font-family: "Work Sans", "Segoe UI", Arial, sans-serif;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
	text-decoration: none;
	white-space: nowrap;
	pointer-events: auto;
	transition: background-color 160ms ease, box-shadow 160ms ease;
}

.aam-native-hero__cta:hover,
.aam-native-hero__cta:focus-visible {
	background: #ffad3d;
	color: #17262b;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
	text-decoration: none;
}

.aam-native-hero__award {
	position: absolute;
	top: 50px;
	right: 50px;
	z-index: 3;
	width: 170px;
	height: 170px;
	transform-style: preserve-3d;
	animation: aamHeroAwardSwing 3s ease-in-out infinite alternate;
}

.aam-native-hero__award-rim,
.aam-native-hero__award-logo {
	position: absolute;
	display: block;
	height: auto;
}

.aam-native-hero__award-rim {
	inset: 0;
	width: 170px;
}

.aam-native-hero__award-logo {
	top: 10px;
	left: 10px;
	width: 150px;
	filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.28));
}

.aam-native-hero__arrow,
.aam-native-hero__toggle {
	position: absolute;
	z-index: 4;
	display: grid;
	place-items: center;
	padding: 0;
	border: 0;
	box-shadow: none;
	cursor: pointer;
	opacity: 0;
	transition: opacity 180ms ease, background-color 160ms ease;
}

.aam-native-hero:hover .aam-native-hero__arrow,
.aam-native-hero:hover .aam-native-hero__toggle,
.aam-native-hero:focus-within .aam-native-hero__arrow,
.aam-native-hero:focus-within .aam-native-hero__toggle {
	opacity: 1;
}

.aam-native-hero__arrow {
	top: 50%;
	width: 40px;
	height: 40px;
	transform: translateY(-50%);
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	font: 400 34px/1 Arial, sans-serif;
}

.aam-native-hero__arrow:hover,
.aam-native-hero__arrow:focus-visible,
.aam-native-hero__toggle:hover,
.aam-native-hero__toggle:focus-visible {
	background: rgba(0, 0, 0, 0.82);
	color: #fff;
}

.aam-native-hero__arrow--previous {
	left: 30px;
}

.aam-native-hero__arrow--next {
	right: 30px;
}

.aam-native-hero__toggle {
	right: 14px;
	bottom: 14px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.5);
}

.aam-native-hero__toggle span,
.aam-native-hero__toggle span::before {
	display: block;
	width: 3px;
	height: 12px;
	background: #fff;
}

.aam-native-hero__toggle span {
	position: relative;
	margin-left: -6px;
}

.aam-native-hero__toggle span::before {
	position: absolute;
	left: 6px;
	content: "";
}

.aam-native-hero__toggle.is-paused span {
	width: 0;
	height: 0;
	margin-left: 2px;
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
	border-left: 11px solid #fff;
	background: transparent;
}

.aam-native-hero__toggle.is-paused span::before {
	display: none;
}

.aam-native-hero__progress {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 4;
	height: 5px;
	overflow: hidden;
	pointer-events: none;
}

.aam-native-hero__progress span {
	display: block;
	width: 100%;
	height: 100%;
	transform: scaleX(0);
	transform-origin: left center;
	background: rgba(255, 255, 255, 0.5);
}

.aam-native-hero__status {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.aam-native-hero__arrow:focus-visible,
.aam-native-hero__toggle:focus-visible,
.aam-native-hero__cta:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

@keyframes aamHeroImageDrift {
	from { transform: scale(1.1); }
	to { transform: scale(1); }
}

@keyframes aamHeroAwardSwing {
	from { transform: perspective(600px) rotateY(-40deg); }
	to { transform: perspective(600px) rotateY(40deg); }
}

@keyframes aamHeroProgress {
	from { transform: scaleX(0); }
	to { transform: scaleX(1); }
}

@media (max-width: 1023px) and (min-width: 768px) {
	.aam-native-hero__title {
		top: 130px;
		font-size: 132px;
	}

	.aam-native-hero__title--long {
		top: 156px;
		font-size: 94px;
	}

	.aam-native-hero__eyebrow {
		width: calc(100% - 220px);
		font-size: 19px;
		letter-spacing: 5px;
	}

	.aam-native-hero__award {
		right: 30px;
	}
}

@media (max-width: 767px) {
	.aam-native-hero {
		width: calc(100% - 20px);
		height: auto;
		aspect-ratio: 480 / 500;
		margin-top: 0;
	}

	.aam-native-hero__shade {
		background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.5));
	}

	.aam-native-hero__arrow,
	.aam-native-hero__award,
	.aam-native-hero__toggle {
		display: none;
	}

	.aam-native-hero__eyebrow {
		top: 12px;
		display: block;
		width: calc(100% - 24px);
		font-size: 10px;
		line-height: 1.2;
		letter-spacing: 2px;
	}

	.aam-native-hero__title {
		top: 38px;
		max-width: calc(100% - 24px);
		font-size: 80px;
		line-height: 0.96;
	}

	.aam-native-hero__title--long {
		top: 48px;
		font-size: 52px;
		white-space: normal;
	}

	.aam-native-hero__title--wordmark {
		top: 78px;
	}

	.aam-native-hero__wordmark {
		width: 270px;
		max-width: 82vw;
	}

	.aam-native-hero__cta {
		bottom: 8px;
		min-width: 200px;
		min-height: 50px;
		max-width: calc(100% - 32px);
		padding: 0 24px;
		border-radius: 25px;
		font-size: 16px;
	}

	.aam-native-hero__progress {
		height: 4px;
	}
}

@media (max-width: 420px) {
	.aam-native-hero__title--long {
		font-size: 48px;
	}

	.aam-native-hero__cta {
		font-size: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.aam-native-hero__slide,
	.aam-native-hero__image,
	.aam-native-hero__award,
	.aam-native-hero__arrow,
	.aam-native-hero__toggle,
	.aam-native-hero__progress span {
		animation: none;
		transition: none;
	}
}
