/* Module: Stats & quote. Figma "Section - state" (1440 / 390). */

.module--stats {
	background: var(--c-cream);
	padding-block: clamp(64px, 7.6vw, 110px);
}

/* ---------- Stats row ---------- */

/* Bootstrap .row.g-0: each stat is an equal .col-md (stacked on phones). */
.stats {
	margin: 0;
	border-top: 1px solid var(--c-line);
	border-bottom: 1px solid var(--c-line);
}

.stat {
	display: flex;
	flex-direction: column-reverse; /* Number above the label; markup keeps <dt> first. */
	justify-content: flex-end;
	padding: 45px 32px 46px;
}

.stat + .stat {
	border-left: 1px solid var(--c-line);
}

.stat__value {
	margin: 0;
	color: var(--c-ink);
	font-family: var(--ff-heading);
	font-size: clamp(56px, 7vw, 100.8px);
	font-weight: 300;
	line-height: 1;
	letter-spacing: -0.03em;
	font-variation-settings: var(--fvs-heading);
	white-space: nowrap;
}

/* While counting up (assets/js/modules/stats.js): equal-width digits so the number doesn't jitter. */
.stat__count.is-counting {
	font-variant-numeric: tabular-nums;
}

.stat__label {
	margin-top: 8px;
	color: var(--c-muted);
	font-size: 13px;
	font-weight: 700;
	line-height: 20.8px;
	letter-spacing: .14em;
	text-transform: uppercase;
}

/* ---------- Quote ---------- */

.stats-quote {
	max-width: 917px;
	margin: 70px auto 0;
	padding: 0;
	text-align: center;
}

.stats-quote p {
	margin: 0;
	color: var(--c-ink);
	font-family: var(--ff-heading);
	font-size: clamp(26px, 2.8vw, 40px);
	font-weight: 300;
	line-height: 1.25;
	font-variation-settings: var(--fvs-heading);
	text-wrap: pretty;
}

.stats-quote em {
	color: var(--c-bronze);
	font-style: italic;
}

.stats-quote__action {
	display: flex;
	justify-content: center;
	margin-top: 37px;
}

/* ---------- Tablet / phone ---------- */

@media (max-width: 1023px) {
	.stat {
		padding: 36px 24px;
	}
}

@media (max-width: 767px) {
	.stats {
		border-bottom: 0;
	}

	.stat {
		padding: 32px 0 30px;
		border-bottom: 1px solid var(--c-line);
	}

	.stat + .stat {
		border-left: 0;
	}

	.stats-quote {
		margin-top: 56px;
	}
}
