/**
 * Homepage cinema — EverSwap-inspired scroll storytelling.
 * Scoped to .sx-cinema only; header uses default theme chrome.
 */

.sx-cinema {
	--sx-indigo: #4f46e5;
	--sx-soft: #818cf8;
	--sx-ink: #18181b;
	--sx-muted: #52525b;
	--sx-light: #fafafa;
	--sx-border: #a1a1aa;
	--sx-white: #ffffff;
	--sx-indigo-08: rgba(79, 70, 229, 0.08);
	--sx-indigo-14: rgba(79, 70, 229, 0.14);
	--sx-indigo-22: rgba(79, 70, 229, 0.22);
	--sx-indigo-35: rgba(79, 70, 229, 0.35);
	--sx-soft-18: rgba(129, 140, 248, 0.18);
	--sx-soft-32: rgba(129, 140, 248, 0.32);
	--sx-muted-55: rgba(82, 82, 91, 0.55);
	--sx-night: #0c0a1a;
	--sx-night-2: #12102a;
	--sx-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--sx-ease-spring: cubic-bezier(0.34, 1.45, 0.64, 1);
	--sx-weight-display: 500;
	--sx-weight-title: 500;
	--sx-weight-label: 500;
	--sx-weight-body: 400;
	font-family: "Plus Jakarta Sans", system-ui, sans-serif;
	background: var(--sx-night);
	color: #fff;
	position: relative;
	overflow-x: clip;
	isolation: isolate;
	--sx-icon-size: 2rem;
	--sx-icon-size-lg: 2.35rem;
	--sx-icon-size-tile: 2.5rem;
	/* Decorative icon accents (stroke only — not page chrome) */
	--sx-icon-c0: #4f46e5;
	--sx-icon-c1: #a78bfa;
	--sx-icon-c2: #22d3ee;
	--sx-icon-c3: #facc15;
	--sx-icon-c4: #fb923c;
	--sx-icon-c5: #f87171;
	--spectrao-btn-radius: 0;
}

/* Flat corners on cinema UI — no rounded card/button slop */
.sx-cinema :where(
	.sx-cinema-btn,
	.sx-solution-card,
	.sx-industry-card,
	.sx-product-cinema__media,
	.sx-gateway__paths,
	.sx-gateway__path,
	.sx-step,
	.sx-info-card,
	.sx-sector-mosaic__tile,
	.sx-atlas-rail__stop,
	.sx-atlas-rail__panel,
	.sx-atlas-index__item,
	.sx-industry-metric,
	.sx-industry-reveal__fact,
	.sx-area-card,
	.sx-scene--faq .spectrao-faq-accordion__item,
	.sx-scene--faq details,
	.sx-scene--faq summary
) {
	border-radius: 0;
}

/* Inline colorful icons — no pill/square backgrounds */
.sx-cinema .spectrao-icon__svg {
	stroke-width: 2;
}

.sx-cinema .sx-solution-card__icon,
.sx-cinema .sx-industry-card__icon,
.sx-cinema .sx-gateway__path-icon,
.sx-cinema .sx-solution-detail__icon,
.sx-cinema .sx-industry-intro__glyph,
.sx-cinema .sx-atlas-territory__glyph,
.sx-cinema .sx-sector-mosaic__glyph,
.sx-cinema .sx-industry-metric__icon,
.sx-cinema .sx-industry-approach__icon,
.sx-cinema .sx-industry-reveal__icon,
.sx-cinema .sx-industry-reveal__fact-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: auto;
	height: auto;
	padding: 0;
	background: none !important;
	border: none !important;
	border-radius: 0;
	box-shadow: none;
	color: var(--sx-icon-accent, var(--sx-icon-c0));
}

.sx-cinema .sx-solution-card__icon .spectrao-icon__svg,
.sx-cinema .sx-industry-card__icon .spectrao-icon__svg,
.sx-cinema .sx-gateway__path-icon .spectrao-icon__svg,
.sx-cinema .sx-solution-detail__icon .spectrao-icon__svg,
.sx-cinema .sx-industry-intro__glyph .spectrao-icon__svg,
.sx-cinema .sx-sector-mosaic__glyph .spectrao-icon__svg,
.sx-cinema .sx-industry-metric__icon .spectrao-icon__svg,
.sx-cinema .sx-industry-approach__icon .spectrao-icon__svg,
.sx-cinema .sx-industry-reveal__icon .spectrao-icon__svg,
.sx-cinema .sx-industry-reveal__fact-icon .spectrao-icon__svg {
	width: var(--sx-icon-size);
	height: var(--sx-icon-size);
}

.sx-cinema .sx-industry-intro__glyph .spectrao-icon__svg,
.sx-cinema .sx-industry-reveal__icon .spectrao-icon__svg {
	width: var(--sx-icon-size-lg);
	height: var(--sx-icon-size-lg);
}

.sx-cinema .sx-solution-detail__icon .spectrao-icon__svg {
	width: var(--sx-icon-size-lg);
	height: var(--sx-icon-size-lg);
}

.sx-cinema .sx-sector-mosaic__glyph .spectrao-icon__svg {
	width: var(--sx-icon-size-tile);
	height: var(--sx-icon-size-tile);
}

/* Soft glow on dark bands — reads as neon without background pills */
.sx-cinema .sx-scene--industry-intro .sx-industry-intro__glyph .spectrao-icon__svg,
.sx-cinema .sx-scene--industry-reveal .sx-industry-reveal__icon .spectrao-icon__svg,
.sx-cinema .sx-solution-card__icon .spectrao-icon__svg,
.sx-cinema .sx-industry-card__icon .spectrao-icon__svg {
	filter: drop-shadow(0 0 10px color-mix(in srgb, currentColor 50%, transparent));
}

/* Tone classes — set per item index in PHP */
.sx-cinema .sx-icon-tone-0 { color: var(--sx-icon-c0); }
.sx-cinema .sx-icon-tone-1 { color: var(--sx-icon-c1); }
.sx-cinema .sx-icon-tone-2 { color: var(--sx-icon-c2); }
.sx-cinema .sx-icon-tone-3 { color: var(--sx-icon-c3); }
.sx-cinema .sx-icon-tone-4 { color: var(--sx-icon-c4); }
.sx-cinema .sx-icon-tone-5 { color: var(--sx-icon-c5); }

/* Hero industry icon — cyan pop on dark */
.sx-cinema--industry-detail .sx-industry-intro__glyph {
	color: var(--sx-icon-c2);
}

.sx-cinema--industry-detail .sx-industry-reveal__icon {
	color: var(--sx-icon-c4);
}

.sx-cinema > :not(.sx-cinema__depth):not(.sx-cinema__brand-bg):not(.sx-cinema__arc-bg):not(.sx-atlas__field):not(.sx-cinema__progress-rail) {
	position: relative;
	z-index: 1;
}

/* Depth planes — solid layers, parallax via JS (no gradients) */
.sx-cinema__depth {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

.sx-cinema__depth.is-offscreen,
.sx-cinema__brand-bg.is-offscreen,
.sx-cinema__progress-rail.is-offscreen {
	visibility: hidden;
	opacity: 0;
}

.sx-cinema__depth-layer {
	position: absolute;
	will-change: transform;
}

.sx-cinema__depth-layer--back {
	width: min(92vmax, 72rem);
	height: min(72vmax, 56rem);
	top: -8%;
	right: -22%;
	border-radius: 42% 58% 64% 36% / 48% 42% 58% 52%;
	background: var(--sx-indigo-14);
	border: 1px solid rgba(129, 140, 248, 0.14);
}

.sx-cinema__depth-layer--mid {
	width: min(78vmax, 60rem);
	height: min(48vmax, 36rem);
	bottom: 8%;
	left: -24%;
	border-radius: 0;
	background: var(--sx-night-2);
	border: 1px solid rgba(161, 161, 170, 0.16);
	transform: rotate(-14deg);
}

.sx-cinema__depth-layer--front {
	width: min(52vmax, 40rem);
	height: min(52vmax, 40rem);
	top: 38%;
	left: 52%;
	border-radius: 38% 62% 55% 45% / 52% 38% 62% 48%;
	background: rgba(79, 70, 229, 0.1);
	border: 1px solid rgba(79, 70, 229, 0.22);
}

.sx-cinema *,
.sx-cinema *::before,
.sx-cinema *::after {
	box-sizing: border-box;
}

/* Scroll progress */
.sx-cinema__progress-rail {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	z-index: 95;
	background: rgba(255, 255, 255, 0.06);
	pointer-events: none;
}

.sx-cinema__progress-fill {
	display: block;
	height: 100%;
	width: 100%;
	transform-origin: left center;
	transform: scaleX(0);
	background: var(--sx-indigo);
	box-shadow: none;
}

/* Scenes — content-sized by default; only hero/pin use full viewport */
.sx-scene {
	--sx-progress: 0;
	--sx-parallax: 0;
	min-height: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(4rem, 9vh, 6.5rem) clamp(1.25rem, 5vw, 3rem);
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

.sx-scene__ambient {
	display: none;
}

.sx-scene__inner,
.sx-industry-track {
	position: relative;
	z-index: 1;
}

.sx-scene--gate {
	min-height: min(88vh, 52rem);
}

.sx-scene--split,
.sx-scene--climax {
	min-height: min(72vh, 40rem);
}

.sx-scene--product,
.sx-scene--solutions,
.sx-scene--industries,
.sx-scene--process,
.sx-scene--why,
.sx-scene--faq {
	min-height: auto;
}

.sx-scene__inner {
	width: min(1100px, 100%);
	text-align: center;
}

.sx-scene__inner--wide {
	width: min(1280px, 100%);
	text-align: left;
}

.sx-scene--split .sx-split,
.sx-scene--split .sx-split__line {
	opacity: 1 !important;
	filter: none !important;
}

.sx-scene--split .sx-scene__inner > .sx-split {
	opacity: 1;
	transform: none;
}

.sx-scene--product .sx-scene__inner > .sx-product-cinema,
.sx-scene--process .sx-scene__inner > .sx-steps,
.sx-scene--faq .sx-scene__inner > .spectrao-faq-accordion__grid,
.sx-scene--why .sx-scene__inner > .sx-manifesto {
	opacity: 1;
	transform: none;
}

/* Scroll-linked child reveals — transform driven by JS */
[data-sx-reveal] {
	--sx-reveal: 0;
	opacity: var(--sx-reveal, 0);
	will-change: opacity, transform;
}

[data-sx-reveal].is-revealed {
	opacity: var(--sx-reveal, 1);
}

[data-sx-hero-item] {
	will-change: opacity, transform, filter;
}

/* Gate / hero */
.sx-scene--gate {
	background: var(--sx-night);
}

.sx-hero-media {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}

.sx-hero-media__video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.sx-hero-media__shade {
	position: absolute;
	inset: 0;
	background: rgba(12, 10, 26, 0.52);
}

.sx-hero-media__tint {
	position: absolute;
	inset: 0;
	background: var(--sx-indigo-22);
}

@media (prefers-reduced-motion: reduce) {
	.sx-hero-media {
		display: none;
	}
}

.sx-scene--gate .sx-scene__inner {
	position: relative;
	z-index: 1;
}

.sx-scene--gate .sx-scene__mega {
	color: #fff !important;
}

.sx-scene__kicker {
	font-size: clamp(0.8rem, 1.5vw, 0.95rem);
	color: var(--sx-soft);
	margin: 0 0 1.5rem;
	letter-spacing: 0.04em;
}

.sx-scene__mega {
	font-size: clamp(2.25rem, 7vw, 5.5rem);
	font-weight: var(--sx-weight-display);
	line-height: 1.05;
	letter-spacing: -0.03em;
	margin: 0 0 1.5rem;
	color: #fff !important;
	will-change: transform;
}

.sx-scene__mega--sm {
	font-size: clamp(1.75rem, 4.5vw, 3.25rem);
}

.sx-scene__leads {
	max-width: 42rem;
	margin: 0 auto 2rem;
}

.sx-scene__leads p {
	margin: 0 0 0.75rem;
	font-size: clamp(1rem, 2vw, 1.15rem);
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.72);
}

.sx-scene__scroll-hint {
	margin: 3rem 0 0;
	font-size: 0.8rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.45);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}

.sx-scene__scroll-caret {
	display: inline-block;
	width: 1px;
	height: 2rem;
	background: var(--sx-border);
	animation: sx-caret-bob 1.8s ease-in-out infinite;
}

@keyframes sx-caret-bob {
	0%,
	100% {
		transform: translateY(0);
		opacity: 0.5;
	}
	50% {
		transform: translateY(0.5rem);
		opacity: 1;
	}
}

.sx-scene__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
}

.sx-cinema-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.5rem;
	padding: 0.75rem 1.5rem;
	border-radius: var(--spectrao-btn-radius, 0);
	font-weight: var(--sx-weight-label);
	font-size: 0.9375rem;
	line-height: 1.25;
	text-decoration: none;
	cursor: pointer;
	transition:
		background 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease,
		transform 0.2s ease,
		box-shadow 0.2s ease,
		opacity 0.2s ease;
}

.sx-cinema-btn:focus-visible {
	outline: 2px solid var(--sx-soft);
	outline-offset: 2px;
}

.sx-cinema-btn--fill {
	background: var(--sx-indigo);
	color: #fff !important;
	border: 2px solid var(--sx-indigo);
	box-shadow: none;
}

.sx-cinema-btn--fill:hover {
	background: var(--sx-soft);
	border-color: var(--sx-soft);
	opacity: 1;
	transform: translateY(-1px);
	box-shadow: none;
}

.sx-cinema-btn--line {
	background: transparent;
	color: #fff !important;
	border: 2px solid rgba(255, 255, 255, 0.45);
	box-shadow: none;
}

.sx-cinema-btn--line:hover {
	border-color: #fff;
	color: #fff !important;
	opacity: 0.95;
	transform: translateY(-1px);
}

/* Split type scenes */
.sx-scene--split {
	background: var(--sx-night-2);
}

.sx-split {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
	margin-bottom: 2rem;
}

.sx-split__line {
	display: block;
	font-size: clamp(2.5rem, 9vw, 7rem);
	font-weight: var(--sx-weight-display);
	line-height: 0.95;
	letter-spacing: -0.04em;
	color: #fff !important;
	will-change: transform;
}

.sx-split__line--b {
	color: var(--sx-soft) !important;
}

.sx-scene__body {
	font-size: clamp(1rem, 2vw, 1.2rem);
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.7);
	max-width: 40rem;
	margin: 0 auto;
}

.sx-scene__chapter {
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: var(--sx-weight-display);
	letter-spacing: -0.03em;
	margin: 0 0 1rem;
	color: #fff !important;
}

/* Solutions — bento card grid (editorial, no gradients) */
.sx-scene--solutions {
	background: var(--sx-night);
	min-height: auto;
	padding: clamp(4rem, 9vh, 6.5rem) clamp(1.25rem, 5vw, 3rem);
}

.sx-solutions-shell {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
}

.sx-solutions-rail {
	display: none;
}

.sx-solutions-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	width: 100%;
}

@media screen and (min-width: 960px) {
	.sx-solutions-shell {
		grid-template-columns: auto 1fr;
		gap: 2rem;
		align-items: start;
	}

	.sx-solutions-rail {
		display: flex;
		align-items: flex-start;
		padding-top: 0.35rem;
	}

	.sx-solutions-rail__label {
		writing-mode: vertical-rl;
		transform: rotate(180deg);
		font-size: 0.7rem;
		font-weight: var(--sx-weight-title);
		letter-spacing: 0.22em;
		text-transform: uppercase;
		color: rgba(255, 255, 255, 0.35);
		border-left: 2px solid var(--sx-indigo);
		padding-left: 0.65rem;
	}

	.sx-solutions-grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		gap: 1rem 1.1rem;
	}

	.sx-solution-card:nth-child(1) {
		grid-column: span 7;
	}

	.sx-solution-card:nth-child(2) {
		grid-column: span 5;
	}

	.sx-solution-card:nth-child(3),
	.sx-solution-card:nth-child(4),
	.sx-solution-card:nth-child(5) {
		grid-column: span 4;
	}

	.sx-solution-card:nth-child(6) {
		grid-column: span 5;
	}

	.sx-solution-card:nth-child(7) {
		grid-column: span 7;
	}
}

.sx-solution-card[data-sx-solution-card] {
	--sx-enter-x: 0rem;
	--sx-enter-r: 0deg;
	opacity: 0;
	transform: translate3d(var(--sx-enter-x), 2rem, 0) rotateZ(var(--sx-enter-r)) scale(0.97);
	transition:
		opacity 0.65s var(--sx-ease),
		transform 0.75s var(--sx-ease-spring),
		border-color 0.3s ease,
		background 0.3s ease;
}

.sx-solution-card[data-sx-solution-card].is-solution-in {
	opacity: 1;
	transform: perspective(900px) rotateX(var(--sx-tilt-x, 0deg)) rotateY(var(--sx-tilt-y, 0deg));
}

.sx-solution-card[data-sx-solution-card].is-solution-in:hover,
.sx-solution-card[data-sx-solution-card].is-solution-in:focus-within {
	transform: perspective(900px) rotateX(var(--sx-tilt-x, 0deg)) rotateY(var(--sx-tilt-y, 0deg)) translateY(-4px);
}

.sx-solution-card {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: 1.5rem;
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid rgba(161, 161, 170, 0.22);
	border-radius: 0;
	box-shadow: none;
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.sx-solution-card--tone-b {
	background: rgba(79, 70, 229, 0.1);
	border-color: rgba(129, 140, 248, 0.28);
}

.sx-solution-card--featured {
	padding: clamp(1.5rem, 2.5vw, 2rem);
}

.sx-solution-card__accent {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--sx-indigo);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.7s var(--sx-ease-spring);
	z-index: 2;
}

.sx-solution-card--tone-b .sx-solution-card__accent {
	background: var(--sx-soft);
}

.sx-solution-card.is-solution-in .sx-solution-card__accent {
	transform: scaleX(1);
}

.sx-solution-card__watermark {
	position: absolute;
	right: 0.75rem;
	top: 0.25rem;
	font-size: clamp(3.25rem, 9vw, 5.5rem);
	font-weight: var(--sx-weight-display);
	line-height: 1;
	letter-spacing: -0.04em;
	color: rgba(255, 255, 255, 0.035);
	pointer-events: none;
	z-index: 0;
	transition:
		color 0.35s ease,
		transform 0.45s var(--sx-ease);
}

.sx-solution-card--featured .sx-solution-card__watermark {
	font-size: clamp(4rem, 11vw, 6.5rem);
}

.sx-solution-card.is-solution-in .sx-solution-card__watermark {
	transform: translateY(0);
}

.sx-solution-card[data-sx-solution-card] .sx-solution-card__watermark {
	transform: translateY(0.75rem);
}

.sx-solution-card:hover .sx-solution-card__watermark,
.sx-solution-card:focus-within .sx-solution-card__watermark {
	color: rgba(129, 140, 248, 0.1);
	transform: translateY(-2px);
}

.sx-solution-card:hover,
.sx-solution-card:focus-within {
	background: rgba(79, 70, 229, 0.14);
	border-color: var(--sx-soft);
}

.sx-solution-card--tone-b:hover,
.sx-solution-card--tone-b:focus-within {
	background: rgba(79, 70, 229, 0.2);
}

.sx-solution-card__icon {
	transform: scale(0.82);
	opacity: 0;
	transition:
		transform 0.55s var(--sx-ease-spring) 0.12s,
		opacity 0.45s ease 0.08s;
}

.sx-solution-card.is-solution-in .sx-solution-card__icon {
	transform: scale(1);
	opacity: 1;
}

.sx-solution-card:hover .sx-solution-card__icon,
.sx-solution-card:focus-within .sx-solution-card__icon {
	transform: scale(1.06);
}

.sx-solution-card__title-row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.85rem;
}

.sx-solution-card__title {
	font-size: clamp(1.35rem, 3vw, 1.85rem);
	font-weight: var(--sx-weight-display);
	letter-spacing: -0.03em;
	margin: 0;
	color: #fff !important;
	line-height: 1.15;
	flex: 1;
	min-width: 0;
}

.sx-solution-card__title-row {
	transform: translateY(0.65rem);
	opacity: 0;
	transition:
		opacity 0.5s ease 0.18s,
		transform 0.55s var(--sx-ease) 0.18s;
}

.sx-solution-card.is-solution-in .sx-solution-card__title-row {
	opacity: 1;
	transform: translateY(0);
}

.sx-solution-card--featured .sx-solution-card__title {
	font-size: clamp(1.6rem, 3.5vw, 2.25rem);
}

.sx-solution-card__body {
	position: relative;
	z-index: 1;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.sx-solution-card__p {
	font-size: 0.96rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.78);
	margin: 0 0 0.6rem;
	transform: translateY(0.5rem);
	opacity: 0;
	transition:
		opacity 0.5s ease 0.26s,
		transform 0.55s var(--sx-ease) 0.26s;
}

.sx-solution-card__p--dim {
	color: rgba(255, 255, 255, 0.52);
	flex: 1;
	transition-delay: 0.34s;
}

.sx-solution-card.is-solution-in .sx-solution-card__p {
	opacity: 1;
	transform: translateY(0);
}

.sx-solution-card__link {
	margin-top: 1rem;
	font-weight: var(--sx-weight-title);
	color: var(--sx-soft) !important;
	text-decoration: none;
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	position: relative;
	z-index: 1;
	opacity: 0;
	transform: translateX(-0.35rem);
	transition:
		color 0.25s ease,
		opacity 0.45s ease 0.4s,
		transform 0.45s var(--sx-ease) 0.4s;
}

.sx-solution-card.is-solution-in .sx-solution-card__link {
	opacity: 1;
	transform: translateX(0);
}

.sx-solution-card__link-text {
	position: relative;
}

.sx-solution-card__link-text::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -0.15rem;
	width: 100%;
	height: 2px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.3s var(--sx-ease);
}

.sx-solution-card__link:hover .sx-solution-card__link-text::after,
.sx-solution-card__link:focus-visible .sx-solution-card__link-text::after {
	transform: scaleX(1);
}

.sx-solution-card__link-arrow {
	display: inline-block;
	transition: transform 0.3s var(--sx-ease);
}

.sx-solution-card__link:hover,
.sx-solution-card__link:focus-visible {
	color: #fff !important;
}

.sx-solution-card__link:hover .sx-solution-card__link-arrow,
.sx-solution-card__link:focus-visible .sx-solution-card__link-arrow {
	transform: translateX(0.25rem);
}

/* Product scenes */
.sx-scene--product.sx-scene--light {
	background: var(--sx-light);
	color: var(--sx-ink);
}

.sx-scene--product.sx-scene--dark {
	background: var(--sx-ink);
}

.sx-product-cinema {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: center;
}

.sx-product-cinema--reverse .sx-product-cinema__media {
	order: 2;
}

.sx-product-cinema--reverse .sx-product-cinema__copy {
	order: 1;
}

.sx-product-cinema__media {
	border-radius: 0;
	overflow: hidden;
	background: rgba(79, 70, 229, 0.08);
	border: 1px solid rgba(79, 70, 229, 0.15);
	box-shadow: none;
	position: relative;
}

.sx-product-cinema__media::after {
	display: none;
}

.sx-product-cinema__media.is-revealed img {
	animation: sx-media-float 6s ease-in-out infinite;
}

.sx-scene--dark .sx-product-cinema__media {
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(255, 255, 255, 0.1);
	box-shadow: none;
}

.sx-product-cinema__media .wp-block-image,
.sx-product-cinema__media figure {
	margin: 0;
}

.sx-product-cinema__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.6s var(--sx-ease);
}

.sx-product-cinema__media:hover img {
	transform: scale(1.04);
}

@keyframes sx-media-float {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-6px);
	}
}

.sx-product-cinema__title {
	font-size: clamp(2rem, 5vw, 3.75rem);
	font-weight: var(--sx-weight-display);
	letter-spacing: -0.03em;
	margin: 0 0 1rem;
	color: inherit !important;
}

.sx-solution-detail__title {
	display: flex;
	align-items: center;
	gap: clamp(0.65rem, 2vw, 1rem);
	flex-wrap: wrap;
}

.sx-solution-detail__title-text {
	flex: 1;
	min-width: 0;
}

.sx-scene--light .sx-product-cinema__title,
.sx-scene--light .sx-product-cinema__block h4 {
	color: var(--sx-ink) !important;
}

.sx-product-cinema__lead {
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	line-height: 1.65;
	margin: 0 0 2rem;
	max-width: 36rem;
	opacity: 0.85;
}

.sx-product-cinema__block {
	margin-bottom: 1.5rem;
	max-width: 40rem;
}

.sx-product-cinema__block h4 {
	font-size: 1.1rem;
	font-weight: var(--sx-weight-title);
	margin: 0 0 0.35rem;
	color: #fff !important;
}

.sx-product-cinema__block p {
	margin: 0;
	line-height: 1.65;
	opacity: 0.75;
}

.sx-product-cinema__meta {
	font-size: 0.85rem;
	opacity: 0.55;
	margin: 0 0 1.5rem;
}

.sx-scene--light .sx-cinema-btn--line {
	color: var(--sx-ink) !important;
	border-color: rgba(24, 24, 27, 0.25);
}

/* Industries — horizontal rail (all breakpoints) */
.sx-scene--industries {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	background: var(--sx-night-2);
	min-height: auto;
	padding: clamp(4rem, 9vh, 6.5rem) 0 clamp(3rem, 8vh, 5rem);
	overflow: visible;
}

.sx-scene--industries .sx-scene__inner--industries {
	width: min(1100px, 100%);
	margin: 0 auto 2rem;
	padding: 0 clamp(1.25rem, 5vw, 3rem);
	flex-shrink: 0;
	text-align: center;
}

.sx-industry-scroller-wrap {
	width: 100%;
	flex-shrink: 0;
}

.sx-industry-scroller {
	container-type: inline-size;
	container-name: industry-scroller;
	width: 100%;
	overflow-x: auto;
	overflow-y: visible;
	overscroll-behavior-x: contain;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: clamp(1.25rem, 5vw, 3rem);
	scrollbar-width: none;
	cursor: grab;
	touch-action: pan-y pinch-zoom;
	visibility: hidden;
}

.sx-industry-scroller.is-rail-ready {
	visibility: visible;
}

.sx-industry-scroller.is-dragging {
	cursor: grabbing;
	scroll-snap-type: none;
	user-select: none;
}

.sx-industry-scroller.is-dragging .sx-industry-card {
	scroll-snap-align: none;
}

.sx-industry-scroller.is-auto-playing {
	scroll-snap-type: none;
}

.sx-industry-scroller.is-auto-playing .sx-industry-card {
	scroll-snap-align: none;
}

.sx-industry-scroller::-webkit-scrollbar {
	display: none;
}

.sx-industry-track {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 1rem;
	width: max-content;
	min-width: 100%;
	margin: 0;
	padding: 0 clamp(1.25rem, 5vw, 3rem) 0.75rem;
}

.sx-industry-card {
	flex: 0 0 min(88cqw, 26rem);
	width: min(88cqw, 26rem);
	min-height: 17.5rem;
	scroll-snap-align: center;
	scroll-snap-stop: always;
}

@supports not (width: 1cqw) {
	.sx-industry-card {
		flex: 0 0 min(88vw, 26rem);
		width: min(88vw, 26rem);
	}
}

.sx-industry-dots {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1.25rem;
	padding: 0 clamp(1.25rem, 5vw, 3rem);
}

.sx-industry-dot {
	width: 0.45rem;
	height: 0.45rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(161, 161, 170, 0.45);
	cursor: pointer;
	transition:
		background 0.25s ease,
		transform 0.25s ease,
		width 0.25s ease;
}

.sx-industry-dot.is-active {
	width: 1.35rem;
	border-radius: 0;
	background: var(--sx-soft);
}

.sx-industry-dot:focus-visible {
	outline: 2px solid var(--sx-soft);
	outline-offset: 2px;
}

.sx-industry-card[data-sx-industry-card] {
	--sx-enter-x: 1.5rem;
	--sx-enter-r: 0deg;
	opacity: 0;
	transform: translate3d(var(--sx-enter-x), 0, 0) scale(0.98);
	transition:
		opacity 0.6s var(--sx-ease),
		transform 0.7s var(--sx-ease-spring),
		border-color 0.3s ease,
		background 0.3s ease;
}

.sx-industry-card[data-sx-industry-card].is-industry-in {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

.sx-industry-card[data-sx-industry-clone],
.sx-industry-card.sx-industry-card--clone {
	opacity: 1;
	transform: none;
	transition: border-color 0.3s ease, background 0.3s ease;
}

@media screen and (min-width: 782px) and (pointer: fine) {
	.sx-industry-card[data-sx-industry-card].is-industry-in {
		transform: perspective(900px) rotateX(var(--sx-tilt-x, 0deg)) rotateY(var(--sx-tilt-y, 0deg));
	}

	.sx-industry-card[data-sx-industry-card].is-industry-in:hover,
	.sx-industry-card[data-sx-industry-card].is-industry-in:focus-within {
		transform: perspective(900px) rotateX(var(--sx-tilt-x, 0deg)) rotateY(var(--sx-tilt-y, 0deg)) translateY(-4px);
	}
}

.sx-industry-card {
	display: flex;
	flex-direction: column;
	padding: 1.5rem;
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid rgba(161, 161, 170, 0.22);
	border-radius: 0;
	box-shadow: none;
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.sx-industry-card--tone-b {
	background: rgba(79, 70, 229, 0.1);
	border-color: rgba(129, 140, 248, 0.28);
}

.sx-industry-card__accent {
	position: absolute;
	left: 0;
	top: 1.25rem;
	bottom: 1.25rem;
	width: 3px;
	background: var(--sx-indigo);
	transform: scaleY(0);
	transform-origin: center top;
	transition: transform 0.65s var(--sx-ease-spring);
}

.sx-industry-card--tone-b .sx-industry-card__accent {
	background: var(--sx-soft);
}

.sx-industry-card.is-industry-in .sx-industry-card__accent {
	transform: scaleY(1);
}

.sx-industry-card__watermark {
	position: absolute;
	right: 0.65rem;
	bottom: 0.25rem;
	font-size: clamp(2.75rem, 7vw, 4.25rem);
	font-weight: var(--sx-weight-display);
	line-height: 1;
	color: rgba(255, 255, 255, 0.03);
	pointer-events: none;
}

.sx-industry-card:hover,
.sx-industry-card:focus-within {
	background: rgba(79, 70, 229, 0.14);
	border-color: var(--sx-soft);
}

.sx-industry-card__title-row {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	margin-bottom: 0.65rem;
	position: relative;
	z-index: 1;
	opacity: 0;
	transform: translateY(0.5rem);
	transition:
		opacity 0.45s ease 0.16s,
		transform 0.5s var(--sx-ease) 0.16s;
}

.sx-industry-card.is-industry-in .sx-industry-card__title-row {
	opacity: 1;
	transform: translateY(0);
}

.sx-industry-card__icon {
	transform: scale(0.85);
	opacity: 0;
	transition:
		transform 0.5s var(--sx-ease-spring) 0.1s,
		opacity 0.4s ease 0.06s;
}

.sx-industry-card.is-industry-in .sx-industry-card__icon {
	transform: scale(1);
	opacity: 1;
}

.sx-industry-card:hover .sx-industry-card__icon,
.sx-industry-card:focus-within .sx-industry-card__icon {
	transform: scale(1.08);
}

.sx-industry-card__title {
	font-size: 1.15rem;
	font-weight: var(--sx-weight-title);
	margin: 0;
	color: #fff !important;
	line-height: 1.3;
	flex: 1;
	min-width: 0;
}

.sx-industry-card__body {
	font-size: 0.92rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.68);
	margin: 0;
	flex: 1;
	position: relative;
	z-index: 1;
	opacity: 0;
	transform: translateY(0.45rem);
	transition:
		opacity 0.45s ease 0.24s,
		transform 0.5s var(--sx-ease) 0.24s;
}

.sx-industry-card.is-industry-in .sx-industry-card__body {
	opacity: 1;
	transform: translateY(0);
}

.sx-industry-card__link {
	margin-top: 1.1rem;
	font-size: 0.85rem;
	font-weight: var(--sx-weight-title);
	color: var(--sx-soft) !important;
	text-decoration: none;
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	position: relative;
	z-index: 1;
	opacity: 0;
	transform: translateX(-0.3rem);
	transition:
		color 0.25s ease,
		opacity 0.4s ease 0.32s,
		transform 0.4s var(--sx-ease) 0.32s;
}

.sx-industry-card.is-industry-in .sx-industry-card__link {
	opacity: 1;
	transform: translateX(0);
}

.sx-industry-card__link-text {
	position: relative;
}

.sx-industry-card__link-text::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -0.12rem;
	width: 100%;
	height: 2px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.3s var(--sx-ease);
}

.sx-industry-card__link:hover .sx-industry-card__link-text::after,
.sx-industry-card__link:focus-visible .sx-industry-card__link-text::after {
	transform: scaleX(1);
}

.sx-industry-card__link-arrow {
	transition: transform 0.3s var(--sx-ease);
}

.sx-industry-card__link:hover,
.sx-industry-card__link:focus-visible {
	color: #fff !important;
}

.sx-industry-card__link:hover .sx-industry-card__link-arrow,
.sx-industry-card__link:focus-visible .sx-industry-card__link-arrow {
	transform: translateX(0.2rem);
}

/* Process steps */
.sx-scene--process {
	background: var(--sx-light);
	color: var(--sx-ink);
	min-height: auto;
	padding-bottom: clamp(5rem, 12vh, 8rem);
	flex-direction: column;
	align-items: center;
	gap: clamp(1.5rem, 4vw, 2.5rem);
}

.sx-scene--process .sx-scene__inner {
	text-align: center;
	margin-inline: auto;
}

.sx-scene--process .sx-scene__chapter {
	color: var(--sx-ink) !important;
}

.sx-scene--process .sx-scene__body {
	color: var(--sx-muted);
	margin-inline: auto;
}

.sx-scene--process::after {
	display: none;
}

.sx-scene--process .sx-scene__inner > .sx-steps {
	opacity: 1;
	transform: none;
}

.sx-steps {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	width: 100%;
}

@media (min-width: 782px) {
	.sx-scene--process .sx-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2rem;
	}
}

@media (min-width: 1024px) {
	.sx-scene--process .sx-steps {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.sx-step[data-sx-step] {
	opacity: 0;
	transform: translate3d(0, 1.75rem, 0);
	transition:
		opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.sx-step[data-sx-step].is-step-in {
	opacity: 1;
	transform: none;
}

.sx-step h3 {
	font-size: 1.15rem;
	font-weight: var(--sx-weight-title);
	margin: 0 0 0.5rem;
	color: var(--sx-ink) !important;
}

.sx-step p {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--sx-muted);
}

/* Why manifesto */
.sx-scene--why {
	background: var(--sx-night);
	min-height: auto;
	padding-bottom: clamp(5rem, 12vh, 8rem);
}

.sx-manifesto {
	margin-top: 2.5rem;
	text-align: left;
	border-top: 1px solid rgba(161, 161, 170, 0.28);
}

.sx-manifesto__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
	gap: 1.5rem;
	padding: 1.75rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	text-align: left;
	transition: border-color 0.25s ease;
}

.sx-manifesto__row.is-revealed:hover {
	border-color: rgba(129, 140, 248, 0.35);
	background: transparent;
	transform: none;
}

.sx-manifesto__row h3 {
	font-size: 1.1rem;
	font-weight: var(--sx-weight-title);
	margin: 0;
	color: #fff !important;
}

.sx-manifesto__row p {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.65);
}

/* FAQ — reuse theme 3-column accordion */
.sx-scene--faq {
	background: var(--sx-light);
	color: var(--sx-ink);
	min-height: auto;
	padding-bottom: clamp(4rem, 10vh, 6rem);
}

.sx-scene--faq .spectrao-faq-accordion__item:hover {
	transform: translateY(-1px);
	border-color: var(--sx-border);
	box-shadow: none;
}

.sx-scene--faq .sx-scene__chapter {
	color: var(--sx-ink) !important;
	margin-bottom: 1.5rem;
}

.sx-scene--faq .spectrao-faq-accordion__grid {
	margin-top: 0;
}

.sx-scene--faq .spectrao-faq-accordion__item {
	border-radius: 0;
}

.sx-faq-reveal[data-sx-faq-item] {
	min-width: 0;
	opacity: 0;
	transform: translate3d(0, 1.25rem, 0);
	transition:
		opacity 0.55s var(--sx-ease),
		transform 0.55s var(--sx-ease);
}

.sx-faq-reveal[data-sx-faq-item].is-faq-in {
	opacity: 1;
	transform: none;
}

/* Climax CTA */
.sx-scene--climax {
	background: var(--sx-ink);
	min-height: min(80vh, 46rem);
	padding: clamp(5rem, 14vh, 9rem) clamp(1.25rem, 5vw, 3rem);
	overflow: visible;
}

.sx-scene--climax .sx-scene__mega {
	margin: 0;
	max-width: min(42rem, 100%);
	color: #fff !important;
	background: none;
	animation: none;
}

.sx-scene--climax .sx-scene__body {
	margin: 0;
	max-width: 42rem;
}

.sx-scene--climax .sx-scene__actions {
	margin: 0;
	gap: 1rem;
}

.sx-scene__inner--climax {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(1.25rem, 3vh, 2rem);
	width: min(920px, 100%);
}

/* Custom cursor — desktop homepage only */
@media (pointer: fine) and (hover: hover) {
	body.sx-cursor-active,
	body.sx-cursor-active a,
	body.sx-cursor-active button,
	body.sx-cursor-active .wp-block-button__link,
	body.sx-cursor-active summary {
		cursor: none !important;
	}
}

.sx-cursor {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 200;
	pointer-events: none;
	opacity: 1;
	transition: opacity 0.2s ease;
}

.sx-cursor.is-hidden {
	opacity: 0;
}

.sx-cursor__ring,
.sx-cursor__dot {
	position: fixed;
	top: 0;
	left: 0;
	pointer-events: none;
	will-change: transform;
}

.sx-cursor__ring {
	width: 2.75rem;
	height: 2.75rem;
	border: 2px solid var(--sx-soft);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.35);
	transition:
		width 0.28s var(--sx-ease),
		height 0.28s var(--sx-ease),
		border-color 0.28s ease,
		background 0.28s ease,
		box-shadow 0.28s ease;
}

.sx-cursor__dot {
	width: 0.55rem;
	height: 0.55rem;
	background: var(--sx-indigo);
	border: 2px solid #fff;
	border-radius: 50%;
	box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.45);
	transition:
		width 0.28s var(--sx-ease),
		height 0.28s var(--sx-ease),
		background 0.28s ease,
		border-color 0.28s ease;
}

.sx-cursor.is-hover .sx-cursor__ring {
	width: 3.5rem;
	height: 3.5rem;
	border-color: var(--sx-indigo);
	background: rgba(79, 70, 229, 0.18);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.sx-cursor.is-hover .sx-cursor__dot {
	width: 0.65rem;
	height: 0.65rem;
	background: var(--sx-indigo);
	border-color: #fff;
}

.sx-cursor.is-press .sx-cursor__ring {
	width: 2rem;
	height: 2rem;
	border-color: var(--sx-indigo);
	background: rgba(79, 70, 229, 0.24);
}

.sx-cursor.is-press .sx-cursor__dot {
	width: 0.4rem;
	height: 0.4rem;
	background: var(--sx-indigo);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	body.sx-cursor-active,
	body.sx-cursor-active a,
	body.sx-cursor-active button,
	body.sx-cursor-active .wp-block-button__link,
	body.sx-cursor-active summary {
		cursor: auto !important;
	}

	.sx-cursor {
		display: none !important;
	}

	.sx-step[data-sx-step],
	[data-sx-solution-card],
	[data-sx-industry-card],
	[data-sx-faq-item],
	[data-sx-reveal],
	[data-sx-hero-item] {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
		filter: none !important;
		animation: none !important;
		--sx-progress: 1 !important;
		--sx-reveal: 1 !important;
	}

	.sx-cinema__depth-layer {
		transform: none !important;
	}

	.sx-scene__ambient,
	.sx-product-cinema__media.is-revealed img {
		animation: none !important;
	}

	.sx-scene__scroll-caret {
		animation: none;
	}
}

@media (max-width: 781px) {
	.sx-manifesto__row {
		grid-template-columns: 1fr;
		gap: 0.5rem;
	}

	.sx-steps {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.sx-scene--process .sx-scene__inner {
		width: 100%;
		text-align: center;
	}

	.sx-product-cinema,
	.sx-product-cinema--reverse {
		grid-template-columns: 1fr;
	}

	.sx-product-cinema--reverse .sx-product-cinema__media,
	.sx-product-cinema--reverse .sx-product-cinema__copy {
		order: unset;
	}
}
