@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600&family=Jost:wght@300;400;500&display=swap');

.alston-home-hero-video {
	position: relative;
	width: 100%;
	height: 100vh;
	height: 100dvh;
	min-height: 520px;
	overflow: hidden;
	background: #000;
}

.alston-home-hero-video::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background:
		linear-gradient(
			180deg,
			rgba(10, 11, 14, 0.16) 0%,
			transparent 20%,
			transparent 58%,
			rgba(10, 11, 14, 0.55) 100%
		),
		linear-gradient(
			108deg,
			rgba(201, 168, 106, 0.07) 0%,
			transparent 46%
		);
}

.alston-home-hero-video__media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	z-index: 1;
	filter: contrast(1.05) saturate(1.04) brightness(0.92);
	transform: scale(1.06);
	animation: alstonHeroVideoZoom 18s ease-out forwards;
}

.alston-home-hero-video__content {
	position: absolute;
	left: 56px;
	bottom: 120px;
	z-index: 3;
	max-width: 600px;
	color: #fff;
}

.alston-home-hero-video__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 13px;
	margin-bottom: 16px;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: #dcc08a;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
	opacity: 0;
	animation: alstonHeroFadeUp 1s ease 0.3s both;
}

.alston-home-hero-video__eyebrow::before {
	content: "";
	width: 28px;
	height: 1px;
	flex: 0 0 28px;
	background: linear-gradient(90deg, #c9a86a, transparent);
	opacity: 0.9;
}

.alston-home-hero-video__title {
	margin: 0;
	font-family: "League Spartan", -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: clamp(22px, 5vw, 44px);
	font-weight: 200;
	line-height: 1.2;
	letter-spacing: 0.06em;
	color: #fff;
	text-shadow: 0 2px 26px rgba(0, 0, 0, 0.55);
	opacity: 0;
	animation: alstonHeroFadeUp 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.5s both;
}

.alston-home-hero-video__lead {
	display: block;
}

.alston-home-hero-video__rotator {
	display: block;
	position: relative;
	height: 1.25em;
	margin-top: 4px;
}

.alston-home-hero-video__word {
	position: absolute;
	left: 0;
	top: 0;
	white-space: nowrap;
	font-weight: 300;
	color: #dcc08a;
	opacity: 0;
	transform: translateY(20px);
	filter: blur(5px);
	transition:
		opacity 0.6s ease,
		transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1),
		filter 0.6s ease;
}

.alston-home-hero-video__word.is-active {
	opacity: 1;
	transform: none;
	filter: blur(0);
}

.alston-home-hero-video__word.is-exit {
	opacity: 0;
	transform: translateY(-20px);
	filter: blur(5px);
}

.alston-home-hero-video__footer {
	margin-top: 18px;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 11.5px;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.72);
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
	opacity: 0;
	animation: alstonHeroFadeUp 1s ease 1.05s both;
}

.alston-home-hero-video__footer strong {
	color: #c9a86a;
	font-weight: 600;
}

/* Scroll cue */
.alston-home-hero-video__scroll {
	position: absolute;
	left: 50%;
	bottom: 30px;
	z-index: 4;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 11px;
	text-decoration: none;
	transform: translateX(-50%);
	opacity: 0;
	animation: alstonHeroFadeUp 1s ease 1.3s both;
}

.alston-home-hero-video__scroll-label {
	font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 10px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.78);
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.alston-home-hero-video__scroll-track {
	position: relative;
	width: 1px;
	height: 52px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.28);
}

.alston-home-hero-video__scroll-dot {
	position: absolute;
	left: 50%;
	top: 0;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #dcc08a;
	box-shadow: 0 0 10px rgba(220, 192, 138, 0.8);
	transform: translateX(-50%);
	animation: alstonHeroScrollDot 2.4s cubic-bezier(0.6, 0, 0.4, 1) infinite;
}

@keyframes alstonHeroVideoZoom {
	to {
		transform: scale(1);
	}
}

@keyframes alstonHeroFadeUp {
	from {
		opacity: 0;
		transform: translateY(22px);
		filter: blur(5px);
	}

	to {
		opacity: 1;
		transform: none;
		filter: blur(0);
	}
}

@keyframes alstonHeroScrollDot {
	0% {
		top: -6px;
		opacity: 0;
	}

	12% {
		opacity: 1;
	}

	78% {
		opacity: 1;
	}

	100% {
		top: 52px;
		opacity: 0;
	}
}

@media (max-width: 1024px) {
	.alston-home-hero-video {
		min-height: 520px;
	}

	.alston-home-hero-video__content {
		left: 40px;
		right: 40px;
		bottom: 110px;
		max-width: 600px;
	}
}

@media (max-width: 768px) {
	.alston-home-hero-video {
		min-height: 100dvh;
	}

	.alston-home-hero-video__content {
		left: 24px;
		right: 24px;
		bottom: 96px;
		max-width: none;
	}

	.alston-home-hero-video__eyebrow {
		gap: 12px;
		font-size: 10px;
		letter-spacing: 0.22em;
		margin-bottom: 14px;
	}

	.alston-home-hero-video__title {
		font-size: 30px;
		line-height: 1.2;
		letter-spacing: 0.04em;
	}

	.alston-home-hero-video__word {
		white-space: normal;
	}

	.alston-home-hero-video__footer {
		max-width: 320px;
		font-size: 11px;
	}

	.alston-home-hero-video__scroll {
		bottom: 22px;
	}

	.alston-home-hero-video__scroll-track {
		height: 42px;
	}
	
	.alston-home-hero-video__scroll{
	    left: 45%;
	}
}

@media (max-width: 480px) {
	.alston-home-hero-video__content {
		bottom: 125px;
	}

	.alston-home-hero-video__title {
		font-size: 26px;
	}

	.alston-home-hero-video__eyebrow {
		letter-spacing: 0.18em;
	}
}

@media (max-width: 380px) {
	.alston-home-hero-video__title {
		font-size: 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.alston-home-hero-video__media,
	.alston-home-hero-video__eyebrow,
	.alston-home-hero-video__title,
	.alston-home-hero-video__footer,
	.alston-home-hero-video__scroll,
	.alston-home-hero-video__scroll-dot {
		animation: none !important;
	}

	.alston-home-hero-video__media {
		transform: none;
	}

	.alston-home-hero-video__eyebrow,
	.alston-home-hero-video__title,
	.alston-home-hero-video__footer,
	.alston-home-hero-video__scroll {
		opacity: 1;
		filter: none;
		transform: translateX(-50%);
	}

	.alston-home-hero-video__eyebrow,
	.alston-home-hero-video__title,
	.alston-home-hero-video__footer {
		transform: none;
	}
}