.ilp-wrap {
	position: relative;
	width: 100%;
	overflow: hidden;
	font-family: 'JetBrains Mono', 'Courier New', monospace;
	color: #ffffff;
	background-color: #171717;
}

/* ---------- Desktop / hover version ---------- */
.ilp-desktop {
	display: block;
	position: relative;
}

.ilp-highlight {
	position: absolute;
	inset-inline: 0;
	top: 0;
	z-index: 10;
	background-color: #ffffff;
	pointer-events: none;
	opacity: 0;
	height: 0;
}

.ilp-image-layer {
	position: absolute;
	inset: 0;
	z-index: 20;
	pointer-events: none;
	mix-blend-mode: difference;
}

.ilp-image {
	visibility: hidden;
	position: absolute;
	left: 35%;
	top: 50%;
	transform: translateY(-50%);
	will-change: clip-path, opacity;
	z-index: 10;
}

.ilp-image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ilp-table {
	position: relative;
	z-index: 30;
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
}

.ilp-row td {
	white-space: nowrap;
	padding: 0.75rem 1.5rem;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	overflow: hidden;
	text-overflow: ellipsis;
	cursor: pointer;
}

.ilp-row td a {
	color: inherit;
	text-decoration: none;
}

/* ---------- Mobile / touch fallback ---------- */
.ilp-mobile {
	display: none;
}

.ilp-mobile-item {
	display: flex;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ilp-mobile-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.5rem;
	width: 50%;
	padding: 1rem;
}

.ilp-mobile-title {
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 1rem;
	margin: 0;
}

.ilp-mobile-platform {
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.85rem;
	margin: 0;
}

.ilp-mobile-services {
	color: rgba(255, 255, 255, 0.5);
	line-height: 1.5;
	font-size: 0.8rem;
	margin: 0;
}

.ilp-mobile-image {
	position: relative;
	width: 50%;
	aspect-ratio: 3 / 4;
}

.ilp-mobile-image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Switch to the touch layout on coarse-pointer / no-hover devices */
@media (hover: none), (pointer: coarse) {
	.ilp-desktop {
		display: none;
	}
	.ilp-mobile {
		display: block;
	}
}

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