/* =============================================
   Case Study Hero — taubenloft/case-study-hero
   Figma 81:7784
   Eyebrow + Ort heading + divider, then photo (left) + facts table (right).
   container 1200 · photo 520×600 · facts label #787D84 / value #333A42 (fs20)
   ============================================= */

.tl-cs-hero {
	background: #eaebe6;
	color: #333a42;
	font-family: 'Nunito Sans', 'Nunito Sans Fallback', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	padding: 96px 24px;
}

.tl-cs-hero__container {
	max-width: 1200px;
	margin: 0 auto;
}

/* ── Titles ─────────────────────────────────── */
.tl-cs-hero__titles {
	display: flex;
	flex-direction: column;
	gap: 32px;
	/* Figma: heading→photo = 96px (titles pad-bottom 32 + grid margin-top 64). */
	padding-bottom: 32px;
}
.tl-cs-hero__eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 16px;
	line-height: 22px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: uppercase;
	color: #333a42;
}
.tl-cs-hero__dot {
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
	border-radius: 50%;
	background: #333a42;
}
.tl-cs-hero__heading {
	margin: 0;
	font-size: 36px;
	line-height: 50px;
	font-weight: 500;
	letter-spacing: 0;
	color: #333a42;
}

/* ── Grid: photo + facts ────────────────────── */
.tl-cs-hero__grid {
	display: flex;
	align-items: flex-end;
	gap: 96px;
	margin-top: 64px;
}
.tl-cs-hero__media {
	flex: 0 0 520px;
	width: 520px;
	height: 600px;
	overflow: hidden;
	border-radius: 4px;
}
.tl-cs-hero__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tl-cs-hero__facts {
	flex: 1 1 auto;
	margin: 0;
	border-top: 0.5px solid #ccc;
}
.tl-cs-hero__fact {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 32px;
	padding: 24px 0;
	border-bottom: 0.5px solid #ccc;
}
.tl-cs-hero__fact-label {
	margin: 0;
	font-size: 20px;
	line-height: 27px;
	font-weight: 500;
	text-transform: uppercase;
	color: #787d84;
}
.tl-cs-hero__fact-value {
	margin: 0;
	font-size: 20px;
	line-height: 27px;
	font-weight: 600;
	color: #333a42;
	text-align: right;
}

/* ── Laptop ≤1200 — shrink photo + smaller facts font (side-by-side tight) ── */
@media (max-width: 1200px) {
	.tl-cs-hero__grid { gap: 56px; }
	.tl-cs-hero__media { flex: 0 0 440px; width: 440px; height: 508px; }
	.tl-cs-hero__fact-label,
	.tl-cs-hero__fact-value { font-size: 18px; line-height: 24px; }
}

/* ── Tablet ≤1024 — keep side-by-side, just shrink the photo (stacking here
   left half the row empty; there's plenty of width for the row layout) ──── */
@media (max-width: 1024px) {
	.tl-cs-hero__grid { gap: 40px; }
	.tl-cs-hero__media {
		flex: 0 0 400px;
		width: 400px;
		height: auto;
		aspect-ratio: 520 / 600;
	}
	.tl-cs-hero__fact-label,
	.tl-cs-hero__fact-value { font-size: 18px; line-height: 24px; }
}

/* ── Mobile ≤767 ────────────────────────────── */
@media (max-width: 767px) {
	.tl-cs-hero { padding: 48px 20px; }
	.tl-cs-hero__titles { gap: 24px; padding-bottom: 32px; }
	.tl-cs-hero__eyebrow { font-size: 14px; line-height: 19.1px; }
	.tl-cs-hero__heading { font-size: 28px; line-height: 33.6px; }
	.tl-cs-hero__grid {
		flex-direction: column;
		align-items: stretch;
		gap: 32px;
		margin-top: 32px;
	}
	.tl-cs-hero__media {
		flex-basis: auto;
		width: 100%;
		height: auto;
		aspect-ratio: 408 / 600;
	}
	.tl-cs-hero__fact {
		gap: 16px;
		padding: 24px 0;
	}
	.tl-cs-hero__fact-label,
	.tl-cs-hero__fact-value { font-size: 18px; line-height: 24px; }
}
