/**
 * Call to action band.
 */

.ss-cta {
	position: relative;
	overflow: hidden;
	padding-block: clamp(4.5rem, 3rem + 6vw, 9rem);
	isolation: isolate;
}

.ss-cta__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.ss-cta__bg img,
.ss-cta__bg .ss-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ss-cta__shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(70% 90% at 50% 50%, rgba(10, 10, 9, calc(var(--ss-overlay, .72) - .1)), rgba(10, 10, 9, calc(var(--ss-overlay, .72) + .12)));
}

.ss-cta__frame {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: clamp(3.5rem, 2.5rem + 5vw, 7.5rem) clamp(1.25rem, 5vw, 6rem);
	border: 1px solid rgba(216, 199, 168, .28);
	text-align: center;
}

.ss-cta__corner {
	position: absolute;
	width: 2.5rem;
	height: 2.5rem;
	border-color: var(--ss-champagne);
	border-style: solid;
	pointer-events: none;
}

.ss-cta__corner--tl {
	top: -1px;
	left: -1px;
	border-width: 2px 0 0 2px;
}

.ss-cta__corner--br {
	right: -1px;
	bottom: -1px;
	border-width: 0 2px 2px 0;
}

.ss-cta__eyebrow {
	justify-content: center;
	max-width: 44rem;
	text-align: center;
}

.ss-cta__eyebrow::after {
	content: "";
	flex: none;
	width: 2.25rem;
	height: 1px;
	background: currentColor;
	opacity: .8;
}

@media (max-width: 600px) {
	.ss-cta__eyebrow::before,
	.ss-cta__eyebrow::after {
		display: none;
	}
}

.ss-cta__title {
	max-width: 20ch;
	font-size: var(--ss-fs-1);
	line-height: 1;
	letter-spacing: -.018em;
}

.ss-cta__text {
	max-width: 40rem;
	margin-top: 1.75rem;
	font-size: var(--ss-fs-lead);
	line-height: 1.65;
	color: var(--ss-text-light-muted);
}

.ss-cta__actions {
	justify-content: center;
	margin-top: 2.75rem;
}
