.qt-hero-video {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 90vh;
	overflow: hidden;
	background: #111;
}

.qt-hero-video__media,
.qt-hero-video__fallback,
.qt-hero-video__fallback-image,
.qt-hero-video__video,
.qt-hero-video__overlay,
.qt-hero-video__content {
	position: absolute;
	inset: 0;
}

.qt-hero-video__fallback-image,
.qt-hero-video__video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.qt-hero-video__fallback {
	z-index: 1;
}

.qt-hero-video__video {
	z-index: 2;
	opacity: 0;
	transition: opacity 0.5s ease;
}

.qt-hero-video.is-video-ready .qt-hero-video__video {
	opacity: 1;
}

.qt-hero-video__overlay {
	z-index: 3;
	background: rgba(0, 0, 0, 0.1);
}

.qt-hero-video__content {
	z-index: 4;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 2rem 2rem 3.5rem;
}

.qt-hero-video__inner {
	width: 100%;
	max-width: 49rem;
	text-align: center;
	color: #fff;
}

.qt-hero-video__title {
	margin: 0;
	font-family: "NeueMontreal-bold", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: clamp(3rem, 4.15vw, 4rem);
	font-weight: 800;
	line-height: 0.9375;
	font-synthesis: none;
	-webkit-font-smoothing: antialiased;
	text-transform: uppercase;
	text-wrap: balance;
	letter-spacing: normal;
	color: #fff;
	opacity: 0;
	transform: translateY(14px);
	animation: qtHeroFadeUp 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.18s forwards;
}

.qt-hero-video__subtitle {
	margin: 1.15rem auto 0;
	font-family: "NeueMontreal-Regular", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: clamp(0.95rem, 1.08vw, 1.3125rem);
	font-weight: 400;
	line-height: 1;
	font-synthesis: none;
	-webkit-font-smoothing: antialiased;
	letter-spacing: normal;
	color: rgba(255, 255, 255, 0.9);
	text-transform: uppercase;
	opacity: 0;
	transform: translateY(14px);
	animation: qtHeroFadeUp 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.38s forwards;
}

.qt-hero-video__button {
	margin-top: 1.5rem;
	opacity: 0;
	transform: translateY(14px);
	animation: qtHeroFadeUp 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.58s forwards;
}

@keyframes qtHeroFadeUp {
	0% {
		opacity: 0;
		transform: translateY(14px);
	}

	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.qt-hero-video__title,
	.qt-hero-video__subtitle,
	.qt-hero-video__button {
		opacity: 1;
		transform: none;
		animation: none;
	}

	.qt-hero-video__video {
		transition: none;
	}
}

@media (max-width: 768px) {
	.qt-hero-video {
		min-height: 100vh;
	}

	.qt-hero-video__content {
		align-items: center;
		padding: 1.5rem 1.25rem;
	}

	.qt-hero-video__title {
		font-size: clamp(1.9rem, 7.2vw, 2.65rem);
		line-height: 0.95;
	}

	.qt-hero-video__subtitle {
		margin-top: 0.9rem;
		font-size: 18px;
		line-height: 1.2;
	}
}
