.svh-active { position: relative; overflow: hidden; }

.svh-layer { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

.svh-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	will-change: transform;
	transform: translateZ(0);
}

.svh-overlay { position: absolute; inset: 0; z-index: 1; }

.svh-active > .e-con-inner,
.svh-active > .elementor-container,
.svh-active > .elementor-element,
.svh-active > .e-child {
	position: relative;
	z-index: 2;
}
/* --- Service cards ------------------------------------------------------ */

.svh-card {
	background: rgba(255, 255, 255, 0.055);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 18px;
	-webkit-backdrop-filter: blur(14px) saturate(120%);
	backdrop-filter: blur(14px) saturate(120%);
	transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
	            border-color 0.45s ease,
	            background 0.45s ease;
}

.svh-card:hover {
	transform: translateY(-6px);
	border-color: rgba(255, 255, 255, 0.34);
	background: rgba(255, 255, 255, 0.1);
}

.svh-rule {
	height: 1px;
	background: linear-gradient(90deg, rgba(255,255,255,0.35), rgba(255,255,255,0));
}

/* Vignette so headline text stays legible over any frame of the video. */
.svh-active .svh-layer::after {
	content: '';
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(6,8,12,0.66) 0%, rgba(6,8,12,0.12) 38%, rgba(6,8,12,0.82) 100%);
	pointer-events: none;
}

@media (max-width: 767px) {
	.svh-card { border-radius: 14px; }
}
/* --- Scroll Video Slides ------------------------------------------------ */

.svh-slides {
	--svh-accent: #E01E2F;
	--svh-ink: #060607;
	--svh-paper: #F4F2EE;
	--svh-body: #CFCECB;
	--svh-mist: #96958F;
	position: relative;
	height: 100vh;
	overflow: hidden;
	background: var(--svh-ink);
}

.svh-slides__track {
	display: flex;
	height: 100%;
	width: 100%;
	will-change: transform;
}

.svh-slide {
	position: relative;
	flex: 0 0 100%;
	height: 100%;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
}

.svh-slide__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transform: scale(1.04);
	transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.svh-slide.is-active .svh-slide__video { transform: scale(1); }

.svh-slide__scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(6,6,7,0.55) 0%, rgba(6,6,7,0.05) 32%, rgba(6,6,7,0.88) 100%),
		linear-gradient(90deg, rgba(6,6,7,0.7) 0%, rgba(6,6,7,0) 62%);
}

.svh-slide__body {
	position: relative;
	z-index: 2;
	padding: 0 clamp(20px, 5vw, 84px) clamp(96px, 13vh, 148px);
	max-width: 720px;
	color: var(--svh-paper);
}

.svh-slide__num {
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	color: var(--svh-accent);
	margin-bottom: 14px;
}

.svh-slide__eyebrow {
	display: block;
	font-size: 11.5px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 2.4px;
	color: var(--svh-mist);
	margin-bottom: 12px;
}

.svh-slide__title {
	font-size: clamp(38px, 6.6vw, 92px);
	line-height: 0.94;
	letter-spacing: -0.035em;
	font-weight: 800;
	margin: 0 0 16px;
	color: var(--svh-paper);
}

.svh-slide__desc {
	font-size: clamp(14.5px, 1.15vw, 17px);
	line-height: 1.65;
	color: var(--svh-body);
	margin: 0 0 18px;
	max-width: 46ch;
}

.svh-slide__meta {
	display: inline-block;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.4px;
	color: var(--svh-paper);
	border-left: 2px solid var(--svh-accent);
	padding-left: 12px;
	margin-bottom: 24px;
}

.svh-slide__cta {
	display: inline-block;
	background: var(--svh-accent);
	color: #fff;
	text-decoration: none;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.3px;
	padding: 15px 32px;
	border-radius: 999px;
	transition: transform 0.3s ease, filter 0.3s ease;
}

.svh-slide__cta:hover { transform: translateY(-2px); filter: brightness(1.1); color: #fff; }

/* progress rail */
.svh-slides__nav {
	position: absolute;
	left: clamp(20px, 5vw, 84px);
	right: clamp(20px, 5vw, 84px);
	bottom: clamp(34px, 5vh, 52px);
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 26px;
	flex-wrap: wrap;
}

.svh-slides__dot {
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	font: inherit;
	font-size: 11.5px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1.6px;
	color: rgba(244, 242, 238, 0.4);
	transition: color 0.35s ease;
}

.svh-slides__dot.is-active { color: var(--svh-paper); }
.svh-slides__dot.is-active span { border-bottom: 2px solid var(--svh-accent); padding-bottom: 3px; }

.svh-slides__bar {
	flex: 1 1 90px;
	height: 2px;
	background: rgba(244, 242, 238, 0.16);
	overflow: hidden;
}

.svh-slides__bar i {
	display: block;
	height: 100%;
	background: var(--svh-accent);
	transform-origin: left center;
	transform: scaleX(0);
}

.svh-slides--static { height: auto; }
.svh-slides--static .svh-slides__track { flex-direction: column; }
.svh-slides--static .svh-slide { height: 100vh; }

@media (max-width: 767px) {
	.svh-slide__body { padding-bottom: 120px; }
	.svh-slides__nav { gap: 14px; }
	.svh-slides__dot { font-size: 10px; letter-spacing: 1.1px; }
}
/* --- Sticky scrub wrapper (replaces ScrollTrigger pin) ------------------ */

.svh-scroll {
	position: relative;
	width: 100%;
	/* An ancestor with overflow other than visible kills position:sticky. */
	overflow: visible;
}

.svh-active.svh-sticky {
	position: sticky;
	top: 0;
	height: 100vh;
	height: 100svh;
	min-height: 0;
	will-change: transform;
}

/* Elementor sets --min-height on the container; sticky needs a fixed box. */
.svh-active.svh-sticky > .e-con-inner {
	height: 100%;
}
/* --- Text reveal units --------------------------------------------------- */

.svh-u { display: inline-block; will-change: transform, opacity; }

.svh-mask { display: block; overflow: hidden; }
.svh-mask > .svh-u { display: block; }

@media (prefers-reduced-motion: reduce) {
	.svh-u { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* --- Scroll Video widget ------------------------------------------------ */

.svh-vw-scroll { position: relative; width: 100%; }

.svh-vw { position: relative; width: 100%; height: 100vh; overflow: hidden; background: #060607; }
.svh-vw--sticky { position: sticky; top: 0; }

.svh-vw__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; transform: translateZ(0); }
.svh-vw__overlay { position: absolute; inset: 0; pointer-events: none; }

.svh-vw__toggle { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 68px; height: 68px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.5); background: rgba(0,0,0,0.28); cursor: pointer; backdrop-filter: blur(6px); }
.svh-vw__toggle i { display: block; width: 0; height: 0; margin: 0 auto; border-left: 15px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 26px; }
.svh-vw.is-playing .svh-vw__toggle i { border: 0; width: 14px; height: 16px; margin-left: auto; border-left: 4px solid #fff; border-right: 4px solid #fff; }
