.tkec-section,
.tkec-section * {
	box-sizing: border-box;
}

.tkec-section {
	--tkec-bg: #050507;
	--tkec-card-bg: #111216;
	--tkec-text: #fff;
	--tkec-muted: rgba(255, 255, 255, .64);
	--tkec-accent: #d7b46a;
	--tkec-border: rgba(255, 255, 255, .13);
	--tkec-overlay: rgba(0, 0, 0, .88);
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding: clamp(70px, 8vw, 120px) 20px;
	background:
		radial-gradient(circle at 15% 15%, color-mix(in srgb, var(--tkec-accent) 8%, transparent), transparent 28%),
		var(--tkec-bg);
	color: var(--tkec-text);
}

.tkec-shell {
	width: min(1320px, 100%);
	margin-inline: auto;
}

.tkec-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 34px;
}

.tkec-heading small {
	display: block;
	width: max-content;
	margin-bottom: 9px;
	color: var(--tkec-accent);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .12em;
	direction: ltr;
}

.tkec-heading h2 {
	margin: 0;
	color: var(--tkec-text);
	font-size: clamp(30px, 4vw, 56px);
	font-weight: 800;
	line-height: 1.18;
}

.tkec-all-link {
	flex: 0 0 auto;
	padding-bottom: 7px;
	border-bottom: 1px solid var(--tkec-border);
	color: var(--tkec-text);
	font-size: 14px;
	text-decoration: none;
	transition: color .3s ease, border-color .3s ease;
}

.tkec-all-link:hover {
	border-color: var(--tkec-accent);
	color: var(--tkec-accent);
}

.tkec-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.tkec-card {
	position: relative;
	min-height: 460px;
	overflow: hidden;
	isolation: isolate;
	border: 1px solid var(--tkec-border);
	border-radius: 16px;
	background: var(--tkec-card-bg);
	transform: translateZ(0);
}

.tkec-section[data-show-cursor="yes"] .tkec-card[data-has-video="yes"] {
	cursor: none;
}

.tkec-media,
.tkec-media img,
.tkec-media video,
.tkec-shade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.tkec-media {
	z-index: -2;
	overflow: hidden;
	background: var(--tkec-card-bg);
}

.tkec-media img,
.tkec-media video {
	object-fit: cover;
	transform: scale(1.065);
	transition:
		opacity .45s ease,
		transform 1.1s cubic-bezier(.2, .75, .2, 1),
		filter .45s ease;
}

.tkec-media img {
	z-index: 1;
	opacity: 1;
}

.tkec-media video {
	z-index: 2;
	opacity: 0;
}

.tkec-shade {
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(0, 0, 0, .04) 15%, rgba(0, 0, 0, .18) 50%, var(--tkec-overlay) 100%),
		linear-gradient(90deg, rgba(0, 0, 0, .16), transparent 60%);
	transition: opacity .45s ease;
}

.tkec-card:hover .tkec-media img,
.tkec-card:hover .tkec-media video,
.tkec-card.tkec-is-playing .tkec-media img,
.tkec-card.tkec-is-playing .tkec-media video {
	transform: scale(1);
}

.tkec-card.tkec-is-playing .tkec-media img {
	opacity: 0;
}

.tkec-card.tkec-is-playing .tkec-media video {
	opacity: 1;
}

.tkec-copy {
	position: absolute;
	z-index: 4;
	right: clamp(22px, 3vw, 42px);
	bottom: clamp(22px, 3vw, 38px);
	left: clamp(22px, 3vw, 42px);
	pointer-events: none;
	transition: transform .45s cubic-bezier(.2, .75, .2, 1);
}

.tkec-card:hover .tkec-copy,
.tkec-card.tkec-is-playing .tkec-copy {
	transform: translateY(-7px);
}

.tkec-copy small {
	display: block;
	width: max-content;
	margin-bottom: 8px;
	color: var(--tkec-accent);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .2em;
	direction: ltr;
}

.tkec-copy h3 {
	margin: 0 0 8px;
	color: var(--tkec-text);
	font-size: clamp(24px, 3vw, 38px);
	font-weight: 800;
	line-height: 1.25;
}

.tkec-copy p {
	width: max-content;
	max-width: 100%;
	margin: 0 0 18px;
	color: var(--tkec-muted);
	font-size: 13px;
	letter-spacing: .02em;
	direction: ltr;
}

.tkec-copy a {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: var(--tkec-text);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	pointer-events: auto;
	transition: color .3s ease;
}

.tkec-copy a span {
	display: inline-grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 50%;
	transition: transform .3s ease, border-color .3s ease;
}

.tkec-copy a:hover {
	color: var(--tkec-accent);
}

.tkec-copy a:hover span {
	border-color: var(--tkec-accent);
	transform: translateX(-4px);
}

.tkec-play {
	position: absolute;
	z-index: 5;
	top: 24px;
	left: 24px;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .45);
	border-radius: 50%;
	background: rgba(0, 0, 0, .25);
	color: #fff;
	font-size: 15px;
	cursor: pointer;
	backdrop-filter: blur(9px);
	-webkit-backdrop-filter: blur(9px);
	transition: transform .3s ease, background .3s ease, border-color .3s ease;
}


.tkec-play .tkec-play-icon,
.tkec-play .tkec-play-icon i,
.tkec-play .tkec-play-icon svg {
	display: block;
	width: 1em;
	height: 1em;
	line-height: 1;
	fill: currentColor;
}

.tkec-play:hover {
	border-color: var(--tkec-accent);
	background: var(--tkec-accent);
	color: #090909;
	transform: scale(1.08);
}


.tkec-cursor {
	position: fixed;
	z-index: 999999;
	top: 0;
	left: 0;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border: 2px solid #8b5cf6;
	border-radius: 50%;
	background: rgba(139, 92, 246, .12);
	color: #fff;
	font-family: Arial, sans-serif;
	font-size: 8px;
	font-weight: 800;
	letter-spacing: .18em;
	opacity: 0;
	pointer-events: none;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transform: translate3d(-100px, -100px, 0) scale(.6);
	transition: opacity .18s ease;
	will-change: transform;
}

.tkec-cursor.tkec-visible {
	opacity: 1;
}

@media (max-width: 767px) {
	.tkec-section {
		padding-inline: 14px;
	}

	.tkec-heading {
		align-items: flex-start;
		flex-direction: column;
		margin-bottom: 24px;
	}

	.tkec-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.tkec-section[data-mobile-layout="scroll"] .tkec-grid {
		display: flex;
		grid-template-columns: none !important;
		overflow-x: auto;
		overflow-y: hidden;
		padding-bottom: 8px;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior-inline: contain;
		touch-action: pan-x pan-y;
	}

	.tkec-section[data-mobile-layout="scroll"][data-mobile-snap="yes"] .tkec-grid {
		scroll-snap-type: x mandatory;
		scroll-padding-inline: 0;
	}

	.tkec-section[data-mobile-layout="scroll"][data-mobile-hide-scrollbar="yes"] .tkec-grid {
		scrollbar-width: none;
		-ms-overflow-style: none;
	}

	.tkec-section[data-mobile-layout="scroll"][data-mobile-hide-scrollbar="yes"] .tkec-grid::-webkit-scrollbar {
		display: none;
	}

	.tkec-section[data-mobile-layout="scroll"] .tkec-card {
		flex: 0 0 var(--tkec-mobile-card-width, 80%);
		width: var(--tkec-mobile-card-width, 80%);
		max-width: var(--tkec-mobile-card-width, 80%);
	}

	.tkec-section[data-mobile-layout="scroll"][data-mobile-snap="yes"] .tkec-card {
		scroll-snap-align: start;
		scroll-snap-stop: always;
	}

	.tkec-card {
		min-height: 380px;
		cursor: auto !important;
	}

	.tkec-copy {
		right: 22px;
		bottom: 24px;
		left: 22px;
	}

	.tkec-cursor {
		display: none;
	}

	.tkec-play {
		top: 18px;
		left: 18px;
		width: 46px;
		height: 46px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tkec-media img,
	.tkec-media video,
	.tkec-copy,
	.tkec-play {
		transition: none;
	}

	.tkec-cursor {
		display: none;
	}
}
