.home-cases {
	--case-acid: #f1f2e9;
	--case-line: rgba(255, 255, 255, .18);
	position: relative;
	overflow: hidden;
	background: #0b0d0c;
}

.home-cases::before {
	content: "12";
	position: absolute;
	right: -3vw;
	top: -6vw;
	color: transparent;
	font: 800 clamp(220px, 35vw, 600px)/.8 Poppins, sans-serif;
	-webkit-text-stroke: 1px rgba(199, 243, 107, .08);
	pointer-events: none;
}

.home-cases-heading {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 40px;
	margin-bottom: 65px;
}

.home-cases-kicker {
	display: block;
	margin-bottom: 18px;
	color: var(--case-acid);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.home-cases-heading h2 {
	margin: 0;
	font-size: clamp(58px, 8vw, 125px);
	line-height: .85;
	letter-spacing: -.065em;
}

.home-cases-heading h2 em {
	color: var(--case-acid);
	font-family: "Noto Serif JP", serif;
	font-style: normal;
	font-weight: 300;
}

.home-cases-controls { display: flex; gap: 10px; }
.home-cases-controls button {
	position: relative;
	width: 58px;
	height: 58px;
	border: 1px solid var(--case-line);
	border-radius: 50%;
	color: white;
	background: transparent;
	font-size: 0;
	cursor: pointer;
	transition: color .25s, background .25s, border-color .25s;
}
.home-cases-controls button::before {
	content: "";
	position: absolute;
	top: 28px;
	left: 19px;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}
.home-cases-controls button::after {
	content: "";
	position: absolute;
	top: 23px;
	width: 9px;
	height: 9px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
}
.home-cases-next::after { right: 18px; transform: rotate(-45deg); }
.home-cases-prev::after { left: 18px; transform: rotate(135deg); }
.home-cases-controls button:hover { border-color: var(--case-acid); color: #0b0d0c; background: var(--case-acid); }

.home-cases-slider { overflow: visible; }
.home-cases-slider .swiper-slide { height: auto; }
.home-case-card { height: 100%; display: flex; position: relative; flex-direction: column; color: white; text-decoration: none; }
.home-case-image { height: clamp(240px, 24vw, 390px); position: relative; overflow: hidden; background: #173c2b; }
.home-case-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(5, 8, 6, .55)); }
.home-case-image img { width: 100%; height: 100%; display: block; object-fit: cover; filter: saturate(.7); transition: transform .7s cubic-bezier(.16, 1, .3, 1), filter .4s; }
.home-case-card:hover .home-case-image img { transform: scale(1.05); filter: saturate(1); }
.home-case-image span { position: absolute; z-index: 2; left: 16px; bottom: 14px; color: white; font-size: 10px; font-weight: 600; letter-spacing: .12em; }
.home-case-placeholder { display: grid; place-items: center; background: radial-gradient(circle at 70% 25%, #4b7852, transparent 28%), #173c2b; }
.home-case-placeholder strong { color: transparent; font-size: clamp(120px, 16vw, 250px); line-height: 1; -webkit-text-stroke: 1px rgba(255, 255, 255, .24); }
.home-case-sector { margin-top: 22px; color: var(--case-acid); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.home-case-card h3 { max-width: 390px; margin: 9px 50px 30px 0; font-size: clamp(21px, 2vw, 31px); line-height: 1.12; letter-spacing: -.035em; }
.home-case-card > b { position: absolute; right: 3px; bottom: 31px; width: 22px; height: 22px; color: var(--case-acid); font-size: 0; font-weight: 400; transition: transform .25s; }
.home-case-card > b::before,
.home-inline-arrow::before { content: ""; position: absolute; top: 10px; left: 1px; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transform: rotate(-45deg); }
.home-case-card > b::after,
.home-inline-arrow::after { content: ""; position: absolute; top: 1px; right: 1px; width: 9px; height: 9px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; }
.home-case-card:hover > b { transform: translate(4px, -4px); }

.home-cases-progress { height: 2px; margin-top: 24px; background: var(--case-line); }
.home-cases-progress .swiper-pagination-progressbar-fill { background: var(--case-acid); }
.home-cases-footer { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 38px; }
.home-cases-footer p { margin: 0; color: rgba(255, 255, 255, .58); font-size: 14px; }
.home-cases-footer a { flex: none; color: white; }
.home-inline-arrow { position: relative; bottom: -2px; display: inline-block; width: 18px; height: 18px; margin-left: 4px; }
.home-inline-arrow::before { top: 8px; width: 17px; }
.home-inline-arrow::after { width: 8px; height: 8px; }

@media (max-width: 767px) {
	.home-cases-heading { align-items: flex-start; flex-direction: column; margin-bottom: 42px; }
	.home-cases-heading h2 { font-size: 17vw; }
	.home-cases-controls { align-self: flex-end; }
	.home-case-image { height: 90vw; max-height: 450px; }
	.home-case-card h3 { font-size: 26px; }
	.home-cases-footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	.home-case-image img { transition: none; }
}
