.dz-cases {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: 50px 0;
	background:
		radial-gradient(circle at 75% 10%, rgba(28, 72, 111, 0.24), transparent 31%),
		radial-gradient(circle at 15% 82%, rgba(12, 47, 79, 0.24), transparent 35%),
		linear-gradient(180deg, #031426 0%, #051a2f 50%, #031426 100%);
}

.dz-cases::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -3;
	pointer-events: none;
	background-image: radial-gradient(circle, rgba(200, 132, 80, 0.55) 0 1px, transparent 1.3px);
	background-size: 22px 22px;
	mask-image: radial-gradient(ellipse at 68% 10%, #000 0 28%, transparent 65%);
	opacity: .28;
}

.dz-cases__orbit {
	position: absolute;
	top: -370px;
	right: -100px;
	z-index: -1;
	width: 1080px;
	height: 650px;
	border: 1px solid rgba(225, 157, 95, 0.45);
	border-radius: 50%;
	transform: rotate(-18deg);
	box-shadow: 0 0 28px rgba(225, 157, 95, 0.18);
	pointer-events: none;
}

.dz-cases__orbit::after {
	content: "";
	position: absolute;
	left: 44%;
	bottom: -2px;
	width: 94px;
	height: 5px;
	border-radius: 50%;
	background: #efad68;
	box-shadow: 0 0 10px #efad68, 0 0 30px rgba(239, 173, 104, .7);
}

.dz-cases__header {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: start;
	gap: 60px;
}

.dz-cases__intro {
	max-width: 900px;
}

.dz-cases__eyebrow {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 0 0 24px;
	color: var(--dz-copper-light);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .22em;
	line-height: 1.4;
	text-transform: uppercase;
}

.dz-cases__eyebrow span {
	width: 10px;
	height: 10px;
	flex: 0 0 10px;
	border-radius: 50%;
	background: linear-gradient(135deg, #f0bd7c, #b87248);
	box-shadow: 0 0 16px rgba(224, 163, 97, .42);
}

.dz-cases__title {
	margin: 0;
	color: var(--dz-text);
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 400;
	letter-spacing: -.032em;
	line-height: 1.03;
}

.dz-cases__title span {
	color: var(--dz-copper);
}

.dz-cases__lead {
	max-width: 760px;
	margin: 27px 0 0;
	color: var(--dz-muted);
	font-size: clamp(17px, 1.14vw, 21px);
	line-height: 1.6;
}


.dz-case-card__link svg {
	width: 28px;
	height: 28px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform 180ms ease;
}

.dz-case-card__link:hover svg {
	transform: translateX(5px);
}

.dz-cases__filters {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 20px;
	margin-top: 37px;
}

.dz-cases__filter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	min-height: 62px;
	padding: 14px 18px;
	border: 1px solid rgba(122, 151, 177, .28);
	border-radius: 10px;
	color: var(--dz-text);
	background: rgba(7, 28, 47, .72);
	font: inherit;
	font-size: clamp(15px, 1vw, 18px);
	cursor: pointer;
	transition: border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.dz-cases__filter:hover,
.dz-cases__filter.is-active {
	border-color: rgba(232, 169, 105, .92);
	color: #e7b174;
	background: rgba(16, 43, 66, .86);
	box-shadow: inset 0 0 24px rgba(231, 171, 111, .08), 0 0 18px rgba(231, 171, 111, .08);
}

.dz-cases__filter-icon {
	width: 28px;
	height: 28px;
}

.dz-cases__filter-icon svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.dz-cases__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin-top: 24px;
}

.dz-case-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid rgba(175, 112, 72, .72);
	border-radius: 16px;
	background: linear-gradient(155deg, rgba(14, 42, 66, .92), rgba(3, 18, 33, .97));
	box-shadow: 0 24px 68px rgba(0, 0, 0, .18);
	transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.dz-case-card[hidden] {
	display: none;
}

.dz-case-card:hover {
	transform: translateY(-4px);
	border-color: rgba(229, 166, 104, .96);
	box-shadow: 0 30px 76px rgba(0, 0, 0, .25);
}

.dz-case-card__media {
	margin: 8px 8px 0;
	overflow: hidden;
	border-radius: 11px;
	background: #06182b;
}

.dz-case-card__media img {
	display: block;
	width: 100%;
	aspect-ratio: 1.18 / 1;
	object-fit: cover;
}

.dz-case-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 20px 20px 18px;
}

.dz-case-card h3 {
	margin: 0;
	color: var(--dz-text);
	font-size: clamp(20px, 1.3vw, 26px);
	font-weight: 500;
	line-height: 1.2;
}

.dz-case-card__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 9px 12px;
	margin-top: 18px;
	color: var(--dz-muted);
	font-size: clamp(14px, .92vw, 17px);
}

.dz-case-card__meta span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.dz-case-card__meta svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: #df9f61;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.dz-case-card__meta i {
	font-style: normal;
	color: #d8dde2;
}

.dz-case-card__tag {
	align-self: flex-start;
	margin-top: 17px;
	padding: 7px 12px;
	border: 1px solid rgba(187, 121, 74, .72);
	border-radius: 6px;
	color: #e1a466;
	font-size: 14px;
	line-height: 1;
}

.dz-case-card__metrics {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 17px;
	padding-top: 19px;
	border-top: 1px solid rgba(177, 111, 70, .55);
}

.dz-case-card__metrics > div {
	display: flex;
	min-width: 0;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0 12px;
	text-align: center;
}

.dz-case-card__metrics > div + div {
	border-left: 1px solid rgba(177, 111, 70, .55);
}

.dz-case-card__metrics strong {
	color: #e8ac6e;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(28px, 1.8vw, 38px);
	font-weight: 400;
	line-height: 1;
}

.dz-case-card__metrics span {
	margin-top: 7px;
	color: var(--dz-muted);
	font-size: clamp(13px, .86vw, 16px);
	line-height: 1.25;
}

.dz-case-card__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 17px;
	min-height: 53px;
	margin-top: 20px;
	padding: 13px 18px;
	border: 1px solid rgba(177, 111, 70, .58);
	border-radius: 8px;
	color: #e5aa6b;
	background: rgba(6, 25, 43, .38);
	font-size: 17px;
	text-decoration: none;
}

.dz-cases__filter:focus-visible,
.dz-case-card__link:focus-visible {
	outline: 2px solid var(--dz-copper-light);
	outline-offset: 4px;
}

@media (max-width: 1200px) {
	.dz-cases__header,
	.dz-cases__filters {
		padding-inline: 8px;
	}

	.dz-cases__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px;
		padding-inline: 8px;
	}
}

@media (max-width: 900px) {
	.dz-cases {
		padding: 50px 0;
	}

	.dz-cases__header {
		grid-template-columns: 1fr;
		gap: 24px;
	}


	.dz-cases__filters {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.dz-cases {
		padding: 50px 0;
	}

	.dz-cases__header,
	.dz-cases__filters,
	.dz-cases__grid {
		padding-inline: 0;
	}

	.dz-cases__eyebrow {
		font-size: 13px;
		letter-spacing: .18em;
	}

	.dz-cases__title {
		font-size: clamp(39px, 11vw, 54px);
	}

	.dz-cases__lead {
		font-size: 17px;
	}

	.dz-cases__filters,
	.dz-cases__grid {
		grid-template-columns: 1fr;
	}

	.dz-cases__filter {
		justify-content: flex-start;
		padding-inline: 22px;
	}

	.dz-case-card__body {
		padding: 19px 18px 17px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dz-case-card,
		.dz-case-card__link svg {
		transition: none;
	}
}
