/**
 * Case study — At a Glance
 */

.se-cs-glance {
	padding-block: var(--section-pad-industry, 120px);
	background: var(--color-surface-soft);
	overflow-x: clip;
	max-width: 100%;
}

.se-cs-glance__head {
	max-width: 900px;
	margin: 0 auto 18px;
	text-align: left;
}

.se-cs-glance__head .eyebrow {
	margin-bottom: 0;
}

.se-cs-glance__card {
	max-width: 900px;
	margin: 0 auto;
	background: var(--color-surface);
	border-radius: 20px;
	border: 1px solid var(--color-line);
	box-shadow: 0 4px 40px rgba(15, 15, 37, 0.03);
	overflow: hidden;
}

.se-cs-glance__row {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 2rem;
	padding: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 4vw, 3rem);
	border-bottom: 1px solid var(--color-line);
}

.se-cs-glance__row:last-child {
	border-bottom: none;
}

.se-cs-glance__row--alt {
	background: var(--color-surface-soft);
}

.se-cs-glance__label {
	width: 200px;
	min-width: 140px;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--fs-md);
	color: var(--color-ink);
}

.se-cs-glance__value {
	flex: 1;
	font-size: var(--fs-md);
	line-height: var(--lh-relaxed);
	color: var(--color-ink-soft);
}

.se-cs-glance__footprint {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 1.5rem;
}

.se-cs-glance__stat-num {
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	color: var(--color-primary);
	line-height: 1;
	margin-bottom: 0.35rem;
	font-variant-numeric: tabular-nums;
	min-height: 1em;
}

.se-cs-glance__stat-label {
	font-size: var(--fs-xs);
	font-weight: 700;
	text-transform: uppercase;
	color: var(--color-ink);
	line-height: 1.3;
}

@media (max-width: 640px) {
	.se-cs-glance__row {
		flex-direction: column;
		gap: 0.2rem;
	}

	.se-cs-glance__label {
		width: 100%;
		font-size: 16px;
	}
	.se-cs-glance__value {
		font-size: 14px;
	}

	.se-cs-glance__footprint {
		grid-template-columns: 1fr 1fr;
	}
	.se-cs-glance__stat-label {
		font-size: 10px;
	}
	.se-cs-glance__value {
		width: 100%;
	}
}
