.case-single-page {
	background: #fff;
	color: #13161a;
}

.case-single-hero {
	position: relative;
	min-height: 340px;
	overflow: hidden;
	padding: 132px 0 96px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.case-single-hero__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(19, 22, 26, 0.88) 0%, rgba(19, 22, 26, 0.7) 35%, rgba(19, 22, 26, 0.28) 68%, rgba(19, 22, 26, 0.18) 100%),
		linear-gradient(180deg, rgba(19, 22, 26, 0.2) 0%, rgba(19, 22, 26, 0.18) 100%);
}

.case-single-hero__content {
	position: relative;
	z-index: 1;
}

.case-single-hero__copy {
	max-width: 980px;
}

.case-single-hero .simple-page__title {
	max-width: 860px;
	color: #fff;
	font-size: clamp(2.3rem, 4.2vw, 4.6rem);
	line-height: 1.12;
	font-weight: 700;
	letter-spacing: -0.045em;
}

.case-single-hero .hero-lead {
	max-width: 760px;
	color: rgba(232, 230, 225, 0.78);
	font-size: 1.125rem;
	line-height: 1.7;
}

.case-single-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
	color: rgba(232, 230, 225, 0.45);
	font-size: 0.92rem;
}

.case-single-kpis {
	padding: 0;
	background: transparent;
}

.case-single-kpis__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.case-single-kpi {
	min-height: 72px;
	padding: 0 34px;
}

.case-single-kpi__num {
	margin-bottom: 0;
	color: var(--champagne);
	font-size: 2rem;
	font-weight: 700;
	line-height: 1;
}

.case-single-kpi__label {
	color: rgba(232, 230, 225, 0.72);
	font-size: 0.92rem;
	line-height: 1.55;
}

.case-single-content {
	padding: 72px 0 112px;
	background: #fff;
}

.case-single-content__grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(320px, 0.95fr);
	gap: 64px;
	align-items: start;
}

.case-single-main {
	display: flex;
	flex-direction: column;
	gap: 56px;
}

.case-single-block h2 {
	margin: 0 0 20px;
	color: #13161a;
	font-size: 2rem;
	line-height: 1.12;
	font-weight: 700;
}

.case-single-prose {
	color: rgba(19, 22, 26, 0.72);
	font-size: 1rem;
	line-height: 1.82;
}

.case-single-prose p + p {
	margin-top: 18px;
}

.case-single-approach {
	display: grid;
	gap: 18px;
}

.case-single-approach__item {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.case-single-approach__check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	margin-top: 3px;
	border-radius: 999px;
	background: var(--forest-teal);
	color: #fff;
}

.case-single-approach__check svg {
	width: 12px;
	height: 12px;
}

.case-single-approach__item p {
	margin: 0;
	color: rgba(19, 22, 26, 0.72);
	font-size: 1rem;
	line-height: 1.75;
}

.case-single-result {
	padding: 40px;
	border-left: 4px solid var(--forest-teal);
	border-radius: 24px;
	background: #1c1f26;
}

.case-single-result .section-eyebrow {
	margin-bottom: 14px;
}

.case-single-result p:last-child {
	margin: 0;
	color: rgba(232, 230, 225, 0.82);
	font-size: 1.1rem;
	line-height: 1.8;
	white-space: pre-line;
}

.case-single-timeline {
	position: relative;
	display: grid;
	gap: 28px;
	padding-left: 20px;
}

.case-single-timeline::before {
	content: "";
	position: absolute;
	left: 31px;
	top: 0;
	bottom: 0;
	width: 1px;
	background: rgba(19, 22, 26, 0.12);
}

.case-single-timeline__item {
	position: relative;
	display: flex;
	gap: 28px;
	align-items: flex-start;
	padding-left: 52px;
}

.case-single-timeline__dot {
	position: absolute;
	left: 0;
	top: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 999px;
	background: var(--forest-teal);
	color: #fff;
	font-size: 0.64rem;
	font-weight: 700;
}

.case-single-timeline__body {
	padding-top: 0;
}

.case-single-timeline__phase {
	margin: 0 0 6px;
	color: var(--forest-teal);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	line-height: 1.2;
	text-transform: uppercase;
}

.case-single-timeline__body p {
	margin: 0;
	color: rgba(19, 22, 26, 0.72);
	font-size: 1rem;
	line-height: 1.75;
}

.case-single-sidebar {
	position: relative;
	align-self: start;
}

.case-single-sticky {
	display: grid;
	gap: 24px;
}

.case-single-cta-card {
	padding: 32px;
	border-radius: 24px;
	background: #1c1f26;
}

.case-single-cta-card h3 {
	margin: 0 0 16px;
	color: #fff;
	font-size: 1.3rem;
	font-weight: 700;
}

.case-single-cta-card p {
	margin: 0 0 24px;
	color: rgba(232, 230, 225, 0.52);
	font-size: 0.94rem;
	line-height: 1.72;
}

.case-single-cta-card .button + .button {
	margin-top: 12px;
}

.case-single-meta-card {
	padding: 24px;
	border-radius: 20px;
	background: #f4f5f0;
}

.case-single-meta-row + .case-single-meta-row {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid rgba(19, 22, 26, 0.08);
}

.case-single-meta-label {
	margin-bottom: 4px;
	color: rgba(19, 22, 26, 0.42);
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.case-single-meta-value {
	color: rgba(19, 22, 26, 0.78);
	font-size: 0.95rem;
	line-height: 1.55;
}

.case-related-section {
	padding: 112px 0;
	background: #fff;
	border-top: 1px solid rgba(19, 22, 26, 0.06);
}

.case-related-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 48px;
}

.case-related-head h2 {
	margin: 0;
	color: #13161a;
	font-size: clamp(2rem, 3.8vw, 3rem);
	line-height: 1.08;
	font-weight: 700;
}

.case-related-head a {
	color: var(--forest-teal);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.case-related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
}

.case-related-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid rgba(19, 22, 26, 0.08);
	border-radius: 30px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 24px 48px rgba(19, 22, 26, 0.06);
	transition:
		transform 0.25s ease,
		border-color 0.25s ease,
		box-shadow 0.25s ease;
}

.case-related-card__link:hover {
	transform: translateY(-4px);
	border-color: rgba(26, 143, 125, 0.18);
	box-shadow: 0 28px 60px rgba(19, 22, 26, 0.1);
}

.case-related-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.case-related-card__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(19, 22, 26, 0.04) 0%, rgba(19, 22, 26, 0.52) 100%);
}

.case-related-card__tag {
	position: absolute;
	top: 20px;
	left: 20px;
}

.case-related-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 16px;
	padding: 28px;
}

.case-related-card__body h3 {
	margin: 0;
	color: #13161a;
	font-size: 1.3rem;
	line-height: 1.2;
	font-weight: 700;
}

.case-related-card__body p {
	margin: 0;
	color: rgba(19, 22, 26, 0.68);
	font-size: 0.98rem;
	line-height: 1.7;
}

.case-related-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: auto;
	padding-top: 18px;
	border-top: 1px solid rgba(19, 22, 26, 0.08);
}

.case-related-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	color: rgba(19, 22, 26, 0.48);
	font-size: 0.82rem;
	line-height: 1.4;
}

.case-related-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
	color: var(--forest-teal);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	transition: gap 0.2s ease;
}

.case-related-card__link:hover .case-related-card__cta {
	gap: 18px;
}

@media (max-width: 1023px) {
	.case-single-kpis__grid,
	.case-single-content__grid {
		grid-template-columns: 1fr;
	}

	.case-single-sticky {
		position: static;
	}

	.case-single-sidebar {
		display: none;
	}

	.case-related-grid {
		display: flex;
		gap: 1rem;
		overflow-x: auto;
		padding-bottom: 0.5rem;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.case-related-grid::-webkit-scrollbar {
		display: none;
	}

	.case-related-card {
		flex: 0 0 min(24rem, 72vw);
		scroll-snap-align: start;
	}
}

@media (min-width: 1024px) {
	.case-single-sticky {
		position: sticky;
		top: 7rem;
	}
}

@media (max-width: 767px) {
	.case-single-hero {
		padding: 108px 0 72px;
		min-height: 300px;
	}

	.case-single-kpi,
	.case-single-result,
	.case-single-cta-card,
	.case-single-meta-card {
		padding: 22px 20px;
		border-radius: 20px;
	}

	.case-single-content,
	.case-related-section {
		padding: 80px 0;
	}

	.case-single-main {
		gap: 40px;
	}

	.case-related-head {
		flex-direction: column;
		align-items: flex-start;
	}

	.case-related-grid {
		gap: 0.875rem;
	}

	.case-related-card {
		flex-basis: 82vw;
	}
}
