.ethnic-case-showcase {
	--ethnic-case-text: #f8fbff;
	--ethnic-case-muted: rgba(226, 232, 240, 0.8);
	--ethnic-case-subtle: rgba(226, 232, 240, 0.62);
	--ethnic-case-ink: #09111f;
	--ethnic-case-border: rgba(255, 255, 255, 0.12);
	--ethnic-case-border-strong: rgba(255, 255, 255, 0.2);
	--ethnic-case-panel: rgba(255, 255, 255, 0.08);
	--ethnic-case-panel-strong: rgba(255, 255, 255, 0.12);
	--ethnic-case-shadow: 0 32px 90px rgba(2, 6, 23, 0.32);
	position: relative;
	color: var(--ethnic-case-text);
}

#app-case-studies .ethnic-app-dev-shell,
#mobile-case-studies .ethnic-mobile-app-shell,
#android-case-studies .ethnic-android-shell,
#flutter-case-studies .ethnic-flutter-shell,
#ios-case-studies .ethnic-ios-shell,
#web-app-case-studies .ethnic-web-app-shell,
#docker-case-studies .ethnic-docker-shell,
#case-studies .ethnic-ecommerce-shell,
#case-studies .ethnic-magento-shell,
#case-studies .ethnic-shopify-shell,
#case-studies .ethnic-headless-commerce-shell,
#case-studies .ethnic-devops-shell,
#case-studies .ethnic-ai-ml-shell,
#case-studies .ethnic-game-shell,
#case-studies .ethnic-blockchain-shell {
	width: min(1680px, calc(100% - clamp(32px, 4vw, 72px)));
	max-width: none;
}

.ethnic-case-showcase,
.ethnic-case-showcase *,
.ethnic-case-showcase *::before,
.ethnic-case-showcase *::after {
	box-sizing: border-box;
}

.ethnic-case-showcase__frame {
	position: relative;
	overflow: hidden;
	border-radius: 36px;
}

.ethnic-case-showcase__track {
	display: flex;
	gap: 18px;
	padding: 6px 2px 12px;
	transform: translate3d(0, 0, 0);
	transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform;
}

.ethnic-case-showcase__track.is-instant {
	transition: none !important;
}

.ethnic-case-showcase__track:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.28);
	outline-offset: 6px;
	border-radius: 36px;
}

.ethnic-case-showcase__slide {
	position: relative;
	flex: 0 0 100%;
	min-height: clamp(500px, 62vh, 580px);
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
	gap: clamp(20px, 2.2vw, 32px);
	padding: clamp(22px, 2.2vw, 30px);
	border-radius: 36px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: linear-gradient(140deg, #071326 0%, #0d1b34 52%, #12203d 100%);
	box-shadow: var(--ethnic-case-shadow);
	overflow: hidden;
	isolation: isolate;
	transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.ethnic-case-showcase__slide::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background:
		linear-gradient(120deg, rgba(255, 255, 255, 0.06), transparent 34%),
		repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 22px);
	pointer-events: none;
}

.ethnic-case-showcase__slide::after {
	content: "";
	position: absolute;
	inset: 1px;
	border-radius: inherit;
	border: 1px solid rgba(255, 255, 255, 0.04);
	pointer-events: none;
}

.ethnic-case-showcase__slide:hover,
.ethnic-case-showcase__slide:focus-within {
	transform: translateY(-4px);
	box-shadow: 0 36px 102px rgba(2, 6, 23, 0.38);
	filter: saturate(1.03);
}

.ethnic-case-showcase__copy,
.ethnic-case-showcase__visual {
	position: relative;
	z-index: 1;
	min-width: 0;
}

.ethnic-case-showcase__copy {
	display: grid;
	align-content: start;
	gap: 18px;
}

.ethnic-case-showcase__eyebrow-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.ethnic-case-showcase__eyebrow,
.ethnic-case-showcase__meta-pill,
.ethnic-case-showcase__visual-badge,
.ethnic-case-showcase__technologies-pill,
.ethnic-case-showcase__cta {
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	text-decoration: none;
}

.ethnic-case-showcase__eyebrow {
	min-height: 36px;
	padding: 0 16px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.08);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff;
}

.ethnic-case-showcase__meta-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	min-width: 0;
}

.ethnic-case-showcase__meta-pill {
	min-height: 34px;
	padding: 0 14px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: color-mix(in srgb, var(--ethnic-case-accent) 12%, rgba(255, 255, 255, 0.08));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #f8fbff !important;
	-webkit-text-fill-color: #f8fbff;
}

.ethnic-case-showcase__brand {
	display: flex;
	align-items: center;
	gap: 16px;
	min-width: 0;
}

.ethnic-case-showcase__brand-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	flex: 0 0 auto;
	border-radius: 20px;
	border: 1px solid rgba(255, 255, 255, 0.24);
	background: linear-gradient(135deg, var(--ethnic-case-accent), color-mix(in srgb, var(--ethnic-case-accent) 40%, #ffffff));
	box-shadow: 0 20px 34px rgba(2, 6, 23, 0.24);
	color: #ffffff;
	font-size: 15px;
	font-weight: 900;
	letter-spacing: 0.14em;
}

.ethnic-case-showcase__brand-copy {
	display: grid;
	gap: 5px;
	min-width: 0;
}

.ethnic-case-showcase__brand-kicker {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(226, 232, 240, 0.78) !important;
	-webkit-text-fill-color: rgba(226, 232, 240, 0.78);
}

.ethnic-case-showcase__brand-copy strong {
	font-size: 18px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff;
}

.ethnic-case-showcase__text {
	display: grid;
	gap: 14px;
}

.ethnic-case-showcase__text h3 {
	margin: 0;
	max-width: 12ch;
	font-family: "Plus Jakarta Sans", "Figtree", sans-serif;
	font-size: clamp(32px, 3.2vw, 52px);
	font-weight: 700;
	line-height: 0.98;
	letter-spacing: -0.06em;
	color: #f8fbff !important;
	-webkit-text-fill-color: #f8fbff;
	text-shadow: 0 10px 26px rgba(2, 6, 23, 0.24);
	text-wrap: balance;
}

.ethnic-case-showcase__text p {
	margin: 0;
	max-width: 62ch;
	font-size: clamp(15px, 1.1vw, 18px);
	line-height: 1.62;
	color: rgba(226, 232, 240, 0.88) !important;
	-webkit-text-fill-color: rgba(226, 232, 240, 0.88);
}

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

.ethnic-case-showcase__insight {
	min-width: 0;
	padding: 14px 16px 16px;
	border-radius: 22px;
	border: 1px solid var(--ethnic-case-border);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
	box-shadow: 0 20px 38px rgba(2, 6, 23, 0.18);
	backdrop-filter: blur(12px);
}

.ethnic-case-showcase__insight-label {
	display: block;
	margin-bottom: 12px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #f8fbff !important;
	-webkit-text-fill-color: #f8fbff;
}

.ethnic-case-showcase__insight p {
	margin: 0;
	font-size: 14px;
	line-height: 1.58;
	color: rgba(226, 232, 240, 0.84) !important;
	-webkit-text-fill-color: rgba(226, 232, 240, 0.84);
}

.ethnic-case-showcase__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
	margin-top: auto;
	padding-top: 0;
}

.ethnic-case-showcase__technologies {
	display: grid;
	gap: 12px;
	max-width: min(100%, 620px);
}

.ethnic-case-showcase__technologies-label {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(226, 232, 240, 0.76) !important;
	-webkit-text-fill-color: rgba(226, 232, 240, 0.76);
}

.ethnic-case-showcase__technologies-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ethnic-case-showcase__technologies-pill {
	min-height: 36px;
	padding: 0 15px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.08);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
	font-size: 13px;
	font-weight: 700;
	color: #f8fbff !important;
	-webkit-text-fill-color: #f8fbff;
}

.ethnic-case-showcase__cta {
	min-height: 46px;
	padding: 0 20px;
	border: 1px solid rgba(255, 255, 255, 0.44);
	background: linear-gradient(135deg, #ffffff, color-mix(in srgb, var(--ethnic-case-accent) 14%, #ffffff));
	box-shadow: 0 18px 34px rgba(2, 6, 23, 0.22);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ethnic-case-ink);
	transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.ethnic-case-showcase__cta:hover,
.ethnic-case-showcase__cta:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 22px 42px rgba(2, 6, 23, 0.28);
	filter: brightness(1.02);
	outline: none;
}

.ethnic-case-showcase__visual {
	display: flex;
	align-items: stretch;
}

.ethnic-case-showcase__visual-stage {
	display: grid;
	grid-template-rows: auto auto auto;
	gap: 12px;
	align-content: start;
	width: 100%;
}

.ethnic-case-showcase__visual-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ethnic-case-showcase__visual-badge {
	min-height: 34px;
	padding: 0 14px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.1);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(12px);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff;
}

.ethnic-case-showcase__visual-badge--secondary {
	background: color-mix(in srgb, var(--ethnic-case-accent) 10%, rgba(255, 255, 255, 0.08));
}

.ethnic-case-showcase__visual-frame {
	position: relative;
	display: flex;
	align-items: stretch;
	height: clamp(300px, 30vw, 400px);
	min-height: 0;
	border-radius: 30px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background:
		linear-gradient(180deg, rgba(248, 251, 255, 0.04), rgba(248, 251, 255, 0.02)),
		var(--ethnic-case-image);
	background-position: center, var(--ethnic-case-position, center top);
	background-size: cover, cover;
	box-shadow: 0 28px 52px rgba(2, 6, 23, 0.22);
	overflow: hidden;
}

.ethnic-case-showcase__visual-frame::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(180deg, rgba(9, 17, 31, 0.04) 0%, rgba(9, 17, 31, 0.18) 46%, rgba(9, 17, 31, 0.78) 100%),
		linear-gradient(120deg, rgba(255, 255, 255, 0.12), transparent 36%);
	pointer-events: none;
}

.ethnic-case-showcase__device-image {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 100%;
	object-fit: cover;
	object-position: var(--ethnic-case-position, center top);
	filter: saturate(1.05) contrast(1.03) brightness(0.94);
}

.ethnic-case-showcase__visual-caption {
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 14px;
	z-index: 2;
	display: grid;
	gap: 8px;
	padding: 14px 15px 16px;
	border-radius: 22px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: linear-gradient(180deg, rgba(7, 19, 38, 0.22), rgba(7, 19, 38, 0.84));
	box-shadow: 0 18px 34px rgba(2, 6, 23, 0.28);
	backdrop-filter: blur(18px);
}

.ethnic-case-showcase__visual-caption-label,
.ethnic-case-showcase__visual-stat span,
.ethnic-case-showcase__count {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.ethnic-case-showcase__visual-caption-label {
	color: #e5f0ff !important;
	-webkit-text-fill-color: #e5f0ff;
}

.ethnic-case-showcase__visual-caption p {
	margin: 0;
	font-size: 14px;
	line-height: 1.56;
	color: rgba(248, 251, 255, 0.96) !important;
	-webkit-text-fill-color: rgba(248, 251, 255, 0.96);
}

.ethnic-case-showcase__visual-footer {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.ethnic-case-showcase__visual-stat {
	min-width: 0;
	padding: 12px 14px 14px;
	border-radius: 18px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
	box-shadow: 0 18px 34px rgba(2, 6, 23, 0.18);
}

.ethnic-case-showcase__visual-stat span {
	display: block;
	margin-bottom: 8px;
	color: rgba(226, 232, 240, 0.76) !important;
	-webkit-text-fill-color: rgba(226, 232, 240, 0.76);
}

.ethnic-case-showcase__visual-stat strong {
	display: block;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.45;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff;
}

.ethnic-case-showcase__nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px 22px;
	margin-top: 24px;
	color: var(--ethnic-case-subtle);
}

.ethnic-case-showcase__progress {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 16px;
	min-width: 0;
}

.ethnic-case-showcase__count {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}

.ethnic-case-showcase__current {
	color: #ffffff;
}

.ethnic-case-showcase__divider {
	color: rgba(226, 232, 240, 0.32);
}

.ethnic-case-showcase__total {
	color: rgba(226, 232, 240, 0.54);
}

.ethnic-case-showcase__dots {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.ethnic-case-showcase__dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(226, 232, 240, 0.24);
	box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.12);
	transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.ethnic-case-showcase__dot.is-active {
	transform: scale(1.2);
	background: linear-gradient(135deg, #ffffff, color-mix(in srgb, var(--ethnic-case-accent) 30%, #ffffff));
	box-shadow: 0 12px 22px rgba(2, 6, 23, 0.28);
}

.ethnic-case-showcase__dot:hover,
.ethnic-case-showcase__dot:focus-visible {
	outline: none;
	transform: scale(1.12);
	background: linear-gradient(135deg, #ffffff, color-mix(in srgb, var(--ethnic-case-accent) 30%, #ffffff));
}

.ethnic-case-showcase__controls {
	display: flex;
	align-items: center;
	gap: 12px;
}

.ethnic-case-showcase__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: 999px;
	border: 1px solid var(--ethnic-case-border);
	background: rgba(255, 255, 255, 0.08);
	box-shadow: 0 16px 28px rgba(2, 6, 23, 0.18);
	color: #ffffff;
	font-size: 16px;
	cursor: pointer;
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.ethnic-case-showcase__arrow:hover,
.ethnic-case-showcase__arrow:focus-visible {
	transform: translateY(-1px);
	border-color: var(--ethnic-case-border-strong);
	background: rgba(255, 255, 255, 0.14);
	box-shadow: 0 20px 34px rgba(2, 6, 23, 0.22);
	outline: none;
}

.ethnic-case-showcase__arrow:disabled {
	cursor: not-allowed;
	opacity: 0.42;
	transform: none;
}

@media (max-width: 1360px) {
	.ethnic-case-showcase__slide {
		grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
	}

	.ethnic-case-showcase__insights {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ethnic-case-showcase__text h3 {
		font-size: clamp(30px, 3.9vw, 46px);
	}
}

@media (max-width: 1199px) {
	.ethnic-case-showcase__slide {
		min-height: 0;
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.ethnic-case-showcase__copy {
		order: 2;
	}

	.ethnic-case-showcase__visual {
		order: 1;
	}

	.ethnic-case-showcase__text h3 {
		max-width: 14ch;
		font-size: clamp(34px, 7vw, 48px);
	}

	.ethnic-case-showcase__text p {
		max-width: none;
	}

	.ethnic-case-showcase__visual-frame {
		height: clamp(260px, 40vw, 360px);
	}

	.ethnic-case-showcase__nav {
		flex-direction: column;
		align-items: flex-start;
	}

	.ethnic-case-showcase__controls {
		align-self: flex-end;
	}
}

@media (max-width: 767px) {
	#app-case-studies .ethnic-app-dev-shell,
	#mobile-case-studies .ethnic-mobile-app-shell,
	#android-case-studies .ethnic-android-shell,
	#flutter-case-studies .ethnic-flutter-shell,
	#ios-case-studies .ethnic-ios-shell,
	#web-app-case-studies .ethnic-web-app-shell,
	#docker-case-studies .ethnic-docker-shell,
	#case-studies .ethnic-ecommerce-shell,
	#case-studies .ethnic-magento-shell,
	#case-studies .ethnic-shopify-shell,
	#case-studies .ethnic-headless-commerce-shell,
	#case-studies .ethnic-devops-shell,
	#case-studies .ethnic-ai-ml-shell,
	#case-studies .ethnic-game-shell,
	#case-studies .ethnic-blockchain-shell {
		width: min(100%, calc(100% - 24px));
	}

	.ethnic-case-showcase__track {
		gap: 14px;
	}

	.ethnic-case-showcase__slide {
		padding: 20px;
		border-radius: 26px;
		gap: 20px;
	}

	.ethnic-case-showcase__frame {
		border-radius: 26px;
	}

	.ethnic-case-showcase__slide::after {
		border-radius: 25px;
	}

	.ethnic-case-showcase__brand {
		gap: 14px;
	}

	.ethnic-case-showcase__brand-mark {
		width: 54px;
		height: 54px;
		border-radius: 18px;
		font-size: 13px;
	}

	.ethnic-case-showcase__text h3 {
		max-width: none;
		font-size: clamp(30px, 9vw, 40px);
	}

	.ethnic-case-showcase__insights,
	.ethnic-case-showcase__visual-footer {
		grid-template-columns: minmax(0, 1fr);
	}

	.ethnic-case-showcase__footer {
		align-items: flex-start;
	}

	.ethnic-case-showcase__technologies {
		max-width: none;
	}

	.ethnic-case-showcase__visual-frame {
		height: 240px;
		min-height: 240px;
		border-radius: 22px;
	}

	.ethnic-case-showcase__visual-caption {
		left: 12px;
		right: 12px;
		bottom: 12px;
		padding: 14px 14px 16px;
		border-radius: 18px;
	}

	.ethnic-case-showcase__nav {
		gap: 16px;
	}

	.ethnic-case-showcase__controls {
		align-self: flex-start;
	}
}
