.cpa-hero,
.cpa-hero * {
	box-sizing: border-box;
}

.cpa-hero {
	position: relative;
	width: 100vw;
	height: 100vh;
	min-height: 0;
	margin: 0 0 0 calc(50% - 50vw);
	padding: 0;
	background-color: #92a483;
	overflow: hidden;
	isolation: isolate;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.cpa-hero__deck {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	perspective: 2000px;
	user-select: none;
	-webkit-user-select: none;
}

.cpa-hero__logo {
	position: absolute;
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
}

.cpa-hero__logo img {
	display: block;
	width: 150px;
	max-width: 32vw;
	height: auto;
}

.cpa-hero__headline {
	position: absolute;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-size: 8vw;
	font-weight: 700;
	line-height: normal;
	letter-spacing: -1px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
}

.cpa-hero__headline::after {
	display: inline-block;
	margin-left: 0.04em;
	color: #6d7c60;
	content: "|";
	animation: cpa-hero-blink 0.7s infinite;
}

.cpa-hero__headline.is-complete::after {
	display: none;
}

.cpa-hero__letter,
.cpa-hero__space {
	display: inline-block;
}

.cpa-hero__space {
	width: 2vw;
}

.cpa-hero__cards {
	position: relative;
	z-index: 2;
	width: 650px;
	height: 400px;
	transform-style: preserve-3d;
	touch-action: pan-x;
	visibility: hidden;
}

.cpa-hero.is-initialized .cpa-hero__cards {
	visibility: visible;
}

.cpa-hero__card {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 20px;
	background: #000;
	overflow: hidden;
	will-change: transform, opacity;
}

.cpa-hero__card video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
}

.cpa-hero__counter {
	position: absolute;
	right: clamp(20px, 3vw, 40px);
	bottom: clamp(20px, 3vw, 40px);
	z-index: 5;
	color: #fff;
	font-family: inherit;
	font-size: clamp(0.85rem, 1.5vw, 1.25rem);
	font-weight: 700;
	letter-spacing: 0.12em;
	opacity: 0;
	pointer-events: none;
}

@media (max-width: 820px) {
	.cpa-hero__cards {
		width: 78vw;
		height: calc(78vw * 8 / 13);
	}

	.cpa-hero__logo img {
		width: 100px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cpa-hero__headline::after {
		animation: none;
	}
}

@keyframes cpa-hero-blink {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0;
	}
}

.cpa-hero__editor-notice {
	padding: 24px;
	border: 1px dashed #b7b7b7;
	background: #f7f7f7;
	color: #333;
	font: 14px/1.5 Arial, sans-serif;
	text-align: center;
}
