/**
 * Clients logo ticker — matches V5 clients.css
 */

.se-clients.stage--clients {
	--accent: var(--color-primary);
	--ink: var(--color-ink);

	padding-block: 2.5rem;
	background: var(--color-surface);
	border-top: 1px solid var(--color-line);
	border-bottom: 1px solid var(--color-line);
	overflow: hidden;
}

.se-clients .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 3rem;
	flex-wrap: wrap;
}

.se-clients .clients-intro {
	flex: none;
	min-width: 250px;
}

.se-clients .clients-intro__eyebrow {
	margin-bottom: 0.25rem;
}

.se-clients .clients-intro__title {
	font-family: var(--font-display);
	font-size: 1.45rem;
	font-weight: 700;
	margin: 0;
	color: var(--ink);
	white-space: nowrap;
}

.se-clients .ticker-container {
	flex: 1;
	overflow: hidden;
	position: relative;
	display: flex;
	align-items: center;
	min-height: 50px;
	min-width: 0;
}

.se-clients .ticker-track {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 2.5rem;
	width: max-content;
	animation: se-client-ticker 25s linear infinite;
	will-change: transform;
}

.se-clients .ticker-track__group {
	display: flex;
	flex-wrap: nowrap;
	flex-shrink: 0;
	align-items: center;
	gap: 2.5rem;
}

.se-clients .ticker-logo {
	display: block;
	flex: 0 0 auto;
	width: auto !important;
	max-width: none !important;
	height: auto;
	object-fit: contain;
	filter: grayscale(1) opacity(0.7);
	opacity: 0.6;
	transition: opacity 0.3s, filter 0.3s;
}

.se-clients .ticker-logo:hover {
	opacity: 1;
	filter: none !important;
}

@keyframes se-client-ticker {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

@media (max-width: 1200px) {
	.se-clients .container {
		gap: 2rem;
	}
}

@media (max-width: 768px) {
	.se-clients .container {
		flex-direction: column;
		align-items: flex-start;
		gap: 1.5rem;
	}

	.se-clients .clients-intro {
		min-width: 0;
		width: 100%;
	}

	.se-clients .clients-intro__title {
		white-space: normal;
	}

	.se-clients .ticker-container {
		width: 100%;
		flex: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.se-clients .ticker-track {
		animation: none;
	}
}
