/* Home hero — enterprise: dark hold → MP4 only (no banner.png flash) */

html.l2-hero-pending .body_home .bg[data-l2-hero] > img.bg__img,
html.l2-hero-pending .bg[data-l2-hero] > img.bg__img,
.body_home .bg[data-l2-hero].is-hero-pending > img.bg__img,
.body_home .bg[data-l2-hero].is-hero-video > img.bg__img {
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

.body_home .bg[data-l2-hero],
.bg[data-l2-hero].is-hero-pending,
.bg.is-hero-video,
.bg.is-hero-image {
	overflow: hidden !important;
	background: #07090b !important;
}

.body_home .bg.is-hero-video,
.body_home .bg.is-hero-image,
.body_home .bg[data-l2-hero].is-hero-pending {
	height: 100dvh !important;
	min-height: 46rem !important;
}

/* Fallback only if MP4 missing */
.body_home .bg[data-l2-hero].is-hero-fallback > img.bg__img {
	opacity: 1 !important;
	visibility: visible !important;
}

.bg.is-hero-video > .bg__video {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: cover !important;
	object-position: 18% 42% !important;
	transform: translateZ(0) !important;
	z-index: 1 !important;
	pointer-events: none !important;
	border: 0 !important;
	background: #07090b !important;
	opacity: 0 !important;
	visibility: visible !important;
	display: block !important;
	-webkit-mask: none !important;
	mask: none !important;
	-webkit-mask-image: none !important;
	mask-image: none !important;
	filter: none !important;
	transition: opacity .45s cubic-bezier(.22, 1, .36, 1) !important;
	backface-visibility: hidden !important;
	-webkit-backface-visibility: hidden !important;
}

.bg.is-hero-video > .bg__video.is-ready,
.bg.is-hero-playing > .bg__video {
	opacity: 1 !important;
}

.body_home .bg.is-hero-video {
	-webkit-mask: none !important;
	mask: none !important;
	-webkit-mask-image: none !important;
	mask-image: none !important;
}

.body_home .bg.is-hero-video::after {
	content: "" !important;
	position: absolute !important;
	inset: 0 !important;
	z-index: 2 !important;
	pointer-events: none !important;
	background:
		radial-gradient(ellipse 70% 80% at 50% 40%, transparent 0%, rgba(6,8,10,.04) 82%, rgba(6,8,10,.18) 100%),
		linear-gradient(180deg, rgba(8,10,12,.02) 0%, transparent 40%, rgba(8,10,12,.55) 100%) !important;
}

.bg.is-hero-image > .bg__img {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	object-position: 18% 42% !important;
	transform: none !important;
	z-index: 1 !important;
}

@media (max-width: 900px) {
	.body_home .bg.is-hero-video,
	.body_home .bg.is-hero-image,
	.body_home .bg[data-l2-hero].is-hero-pending { min-height: 36rem !important; }
}

@media (max-width: 600px) {
	.body_home .bg.is-hero-video,
	.body_home .bg.is-hero-image,
	.body_home .bg[data-l2-hero].is-hero-pending {
		min-height: 28rem !important;
		height: 78dvh !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bg.is-hero-video > .bg__video {
		transition: none !important;
	}
}
