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

.cpa-section-1 {
	--cpa-s1-ink: #675b4b;
	--cpa-s1-muted: rgba(146, 164, 131, 0.18);
	--cpa-s1-paper: #fff;
	--cpa-s1-accent: #92a483;
	--cpa-s1-headline: #92a483;
	--cpa-s1-meta-heading: #92a483;
	--cpa-s1-meta-one: #675b4b;
	--cpa-s1-meta-two: #675b4b;
	--cpa-s1-moving: #fff;
	position: relative;
	width: 100vw;
	height: 100vh;
	height: 100svh;
	min-height: 42rem;
	margin: 0 0 0 calc(50% - 50vw);
	padding: clamp(1rem, 2vw, 2rem) clamp(1.5rem, 8vw, 9rem);
	border-top: 2px solid var(--cpa-s1-accent);
	background:
		radial-gradient(circle at 84% 40%, rgba(217, 255, 91, 0.06), transparent 28rem),
		var(--cpa-s1-paper);
	color: var(--cpa-s1-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	overflow: hidden;
	isolation: isolate;
}

.cpa-section-1__grid {
	display: grid;
	grid-template-columns: minmax(14rem, 0.85fr) minmax(24rem, 1.15fr);
	align-items: center;
	gap: clamp(1.75rem, 4vw, 5rem);
	width: 100%;
	height: 100%;
	padding: clamp(1rem, 2vw, 2rem) 0;
}

.cpa-section-1__media-wrap {
	position: relative;
	grid-column: 2;
	height: min(76vh, 44rem);
}

.cpa-section-1__media {
	position: absolute;
	z-index: 3;
	inset: 0;
	margin: 0;
	overflow: hidden;
	border-radius: 0 !important;
	clip-path: inset(0 78% 0 0);
	will-change: clip-path, transform, width, height;
}

.cpa-section-1__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 42%;
	border-radius: 0 !important;
	transform: scale(1.08);
	will-change: transform;
}

.cpa-section-1__media-wipe {
	position: absolute;
	z-index: 2;
	inset: 0;
	background: var(--cpa-s1-accent);
	transform-origin: right center;
	will-change: transform;
	pointer-events: none;
}

.cpa-section-1__copy {
	position: relative;
	z-index: 1;
	grid-column: 1;
	grid-row: 1;
	width: 100%;
	max-width: 32rem;
	padding: 0;
}

.cpa-section-1__headline {
	max-width: 12ch;
	margin: 0;
	padding: 0;
	color: transparent;
	font-family: inherit;
	font-size: clamp(2.25rem, 4.25vw, 5rem);
	font-weight: 700;
	line-height: 0.9;
	text-transform: uppercase;
	background-image: linear-gradient(
		90deg,
		var(--cpa-s1-headline) 0%,
		var(--cpa-s1-headline) 50%,
		var(--cpa-s1-muted) 50%,
		var(--cpa-s1-muted) 100%
	);
	background-position: 100% 50%;
	background-size: 200% 100%;
	background-clip: text;
	-webkit-background-clip: text;
	will-change: background-position;
}

.cpa-section-1__rule {
	width: 0;
	height: 1px;
	margin: clamp(1.5rem, 4vh, 3rem) 0 clamp(1rem, 2vh, 1.5rem);
	background: rgba(103, 91, 75, 0.48);
}

.cpa-section-1__meta {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.18rem;
	max-width: 29rem;
	color: var(--cpa-s1-meta-one);
	font-family: inherit;
	font-size: clamp(0.66rem, 0.8vw, 0.82rem);
	font-weight: 400;
	line-height: 1.35;
	visibility: visible;
}

.cpa-section-1__meta p {
	max-width: 39ch;
	margin: 0;
}

.cpa-section-1__meta p:first-child {
	color: var(--cpa-s1-meta-heading);
	font-weight: 700;
}

.cpa-section-1__meta p:nth-child(2) {
	color: var(--cpa-s1-meta-one);
}

.cpa-section-1__meta p:nth-child(3) {
	color: var(--cpa-s1-meta-two);
}

.cpa-section-1__moving-title {
	position: absolute;
	z-index: 4;
	left: 0;
	bottom: 7vh;
	margin: 0;
	padding: 0;
	color: var(--cpa-s1-moving);
	font-family: inherit;
	font-size: clamp(5rem, 20vw, 8.5rem);
	font-weight: 600;
	line-height: 0.78;
	letter-spacing: -0.055em;
	text-shadow: none;
	text-transform: uppercase;
	white-space: nowrap;
	transform: translateX(110vw);
	will-change: transform;
}

@media (max-width: 1024px) {
	.cpa-section-1 {
		min-height: 44rem;
		padding: 0.75rem;
	}

	.cpa-section-1__grid {
		grid-template-columns: 1fr;
		grid-template-rows: auto minmax(15rem, 46vh);
		align-content: center;
		gap: 1.5rem;
	}

	.cpa-section-1__media-wrap {
		grid-column: 1;
		grid-row: 2;
		height: 100%;
	}

	.cpa-section-1__copy {
		grid-column: 1;
		grid-row: 1;
		padding: 0 0.5rem 1rem;
	}

	.cpa-section-1__headline {
		max-width: 12ch;
		font-size: clamp(2.55rem, 11vw, 4.7rem);
	}

	.cpa-section-1__rule {
		margin: 1.25rem 0 0.75rem;
	}

	.cpa-section-1__moving-title {
		bottom: 9vh;
	}
}

@media (max-width: 1024px) and (max-height: 720px) {
	.cpa-section-1 {
		height: 100svh;
		min-height: 0;
	}

	.cpa-section-1__grid {
		grid-template-rows: auto minmax(13rem, 42svh);
		gap: 1rem;
		padding: 0.5rem 0;
	}

	.cpa-section-1__headline {
		font-size: clamp(2.25rem, 9vw, 3.5rem);
	}

	.cpa-section-1__rule {
		margin: 0.75rem 0 0.55rem;
	}

	.cpa-section-1__meta {
		gap: 0.5rem;
		font-size: 0.68rem;
		line-height: 1.35;
	}

	.cpa-section-1__moving-title {
		bottom: 3vh;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cpa-section-1__media {
		clip-path: inset(0);
	}

	.cpa-section-1__media img,
	.cpa-section-1__media-wipe {
		transform: none;
	}

	.cpa-section-1__media-wipe {
		display: none;
	}

	.cpa-section-1__headline {
		background-position: 0 50%;
	}

	.cpa-section-1__rule {
		width: 100%;
	}

	.cpa-section-1__moving-title {
		transform: translateX(5vw);
	}
}

.cpa-section-1__editor-notice {
	padding: 24px;
	border: 1px dashed #b7b7b7;
	background: #f7f7f7;
	color: #333;
	font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	text-align: center;
}
