/* Wrapper: slides are stacked in a single container and toggled via opacity. */
.vlora-hero {
	position: relative;
	display: grid;
	overflow: hidden;
	background: var(--o-hero-fallback);
	color: var(--o-cream);
}

.vlora-hero__slide {
	grid-area: 1 / 1;
	opacity: 0;
	visibility: hidden;
	transition: opacity .8s ease, visibility .8s;
}

.vlora-hero__slide.is-active {
	opacity: 1;
	visibility: visible;
}

.vlora-hero__slide {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: 100vh;
	min-height: 100svh;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 22rem);
	grid-template-rows: auto 1fr auto;
	grid-template-areas:
		"title text"
		".     ."
		"stats cta";
	column-gap: 2rem;
	align-items: end;
	padding: calc(var(--vl-header-h) + clamp(2rem, 6vh, 5rem)) var(--o-gutter) clamp(1.5rem, 4vh, 3.5rem);
	background: var(--o-hero-fallback);
	color: var(--o-cream);
	font-family: var(--o-sans);
}

/* background */
.vlora-hero__media {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.vlora-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(34, 30, 26, .5) 0%, rgba(34, 30, 26, .12) 38%, rgba(34, 30, 26, .1) 62%, rgba(34, 30, 26, .6) 100%),
		linear-gradient(90deg, rgba(34, 30, 26, .35) 0%, rgba(34, 30, 26, 0) 55%);
}

.vlora-hero__bg {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 60% 50%;
	transform: scale(1.08);
	will-change: transform;
}

.vlora-hero__video {
	object-position: center;
	background: var(--o-hero-fallback);
}

/* Headline */
.vlora-hero__title {
	grid-area: title;
	align-self: start;
	min-width: 0;
	margin: 0;
	font-family: var(--o-sans);
	font-weight: 300;
}

.vlora-hero__caps {
	display: block;
	max-width: 16ch;
	font-family: var(--o-sans);
	font-size: clamp(2.6rem, 5.6vw, 6.5rem);
	line-height: .98;
	letter-spacing: -.02em;
	text-transform: uppercase;
	overflow-wrap: break-word;
	hyphens: auto;
	word-wrap: break-word;
}

.vlora-hero__line {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: .25em .6rem;
	margin-top: .6rem;
}

.vlora-hero__lead {
	font-size: clamp(.9rem, 1.2vw, 1.25rem);
	text-transform: uppercase;
	letter-spacing: .02em;
}

.vlora-hero__accent {
	font: 400 clamp(2.4rem, 5.2vw, 5.6rem)/1.35 var(--o-script);
	letter-spacing: -.01em;
}

/* description on the right */
.vlora-hero__text {
	grid-area: text;
	align-self: start;
	justify-self: end;
	max-width: 17rem;
	margin: 0;
	text-align: right;
	font-size: clamp(.9375rem, 1.1vw, 1.0625rem);
	line-height: 1.45;
}

/* statistics */
.vlora-hero__stats {
	grid-area: stats;
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vlora-hero__stat {
	display: flex;
	align-items: center;
	gap: .75rem;
	padding-inline: clamp(1rem, 2vw, 2rem);
}

.vlora-hero__stat:first-child {
	padding-left: 0;
}

.vlora-hero__stat+.vlora-hero__stat {
	border-left: 1px solid rgba(246, 242, 234, .5);
}

.vlora-hero__num {
	font: 400 clamp(2.4rem, 3.8vw, 4rem)/1 var(--o-script);
	font-variant-numeric: lining-nums tabular-nums;
	white-space: nowrap;
	margin-right: 0.5rem;
}

.vlora-hero__label {
	max-width: 7rem;
	font-size: clamp(.875rem, 1.1vw, 1.0625rem);
	line-height: 1.2;
}

/* button */
.vlora-btn--lg {
	min-height: 4.5rem;
	padding-inline: 2rem;
	font-size: .9375rem;
}

.vlora-hero__cta {
	grid-area: cta;
	justify-self: end;
	min-width: 18rem;
}

/* The only movement: the headline, text, and bottom block appear sequentially upon loading. */
@keyframes vl-rise {
	from {
		opacity: 0;
		transform: translateY(1.5rem);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

.vlora-hero__caps,
.vlora-hero__line,
.vlora-hero__text,
.vlora-hero__stats,
.vlora-hero__cta {
	animation: vl-rise .9s cubic-bezier(.2, .7, .2, 1) both;
}

.vlora-hero__line {
	animation-delay: .15s;
}

.vlora-hero__text {
	animation-delay: .3s;
}

.vlora-hero__stats {
	animation-delay: .45s;
}

.vlora-hero__cta {
	animation-delay: .55s;
}

/* laptop */
@media (max-width: 1280px) {
	.vlora-hero__slide {
		grid-template-columns: minmax(0, 1fr) minmax(0, 18rem);
	}

	.vlora-hero__cta {
		min-width: 15rem;
	}

	.vlora-btn--lg {
		padding-inline: 2rem;
	}
}

/* tablet: one column */
@media (max-width: 900px) {
	.vlora-hero__slide {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto auto 1fr auto auto;
		grid-template-areas: "title" "text" "." "stats" "cta";
		row-gap: 1.5rem;
	}

	.vlora-hero__text {
		justify-self: start;
		text-align: left;
		max-width: 28rem;
	}

	.vlora-hero__cta {
		justify-self: center;
		min-width: 30%;
	}

	.vlora-hero__media::after {
		background: linear-gradient(180deg, rgba(34, 30, 26, .55) 0%, rgba(34, 30, 26, .2) 45%, rgba(34, 30, 26, .7) 100%);
	}
}

/* mobile */
@media (max-width: 600px) {
	.vlora-hero__slide {
		padding-top: calc(var(--vl-header-h) + 1.5rem);
		row-gap: 1.25rem;
	}

	.vlora-hero__caps {
		max-width: 100%;
		font-size: clamp(2.4rem, 13vw, 3.4rem);
	}

	.vlora-hero__accent {
		font-size: clamp(2.4rem, 13vw, 3.6rem);
	}

	.vlora-hero__stats {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr));
		gap: 1rem 0;
		align-items: start;
		padding-top: 1.25rem;
		border-top: 1px solid rgba(246, 242, 234, .35);
	}

	.vlora-hero__stat {
		flex-direction: column;
		align-items: flex-start;
		gap: .35rem;
		padding-inline: .75rem;
	}

	.vlora-hero__stat:first-child {
		padding-left: 0;
	}

	.vlora-hero__num {
		font-size: 2.4rem;
	}

	.vlora-hero__label {
		max-width: none;
		font-size: .8125rem;
	}

	.vlora-btn--lg {
		min-height: 3.75rem;
	}
}

/* short screens (phone landscape) */
@media (max-height: 520px) and (orientation: landscape) {
	.vlora-hero__slide {
		min-height: 0;
	}
}

/* Indicators */
.vlora-hero--multi .vlora-hero__slide {
	padding-bottom: calc(clamp(1.5rem, 4vh, 3.5rem) + 1.75rem);
}

.vlora-hero__dots {
	position: absolute;
	left: 50%;
	bottom: .75rem;
	z-index: 2;
	display: flex;
	gap: .25rem;
	margin: 0;
	padding: 0;
	list-style: none;
	transform: translateX(-50%);
}

.vlora-hero__dot {
	position: relative;
	width: 2.25rem;
	height: 1.5rem;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.vlora-hero__dot::before {
	content: "";
	position: absolute;
	inset: 50% .25rem auto;
	height: 2px;
	background: rgba(246, 242, 234, .45);
	transition: background-color .2s;
}

.vlora-hero__dot[aria-current="true"]::before {
	background: var(--o-cream);
}

.vlora-hero__dot:focus-visible {
	outline: var(--vlora-focus-invert);
	outline-offset: 3px;
}