/* Homepage hero banner */

.home {
	--lh-hero-text: var(--theme-palette-color-1, #f0eae6);
}

.home #main-container {
	position: relative;
}

.home #header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	width: 100%;
}

.home #main-container,
.home main {
	width: 100%;
	max-width: none;
	margin-inline: 0;
}

.home main {
	padding: 0;
}

.home #main-container > main > .ct-container,
.home #main-container > main > .hero-section {
	display: none;
}

.lh-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
	padding: 0;
	color: var(--lh-hero-text) !important;
	background-color: #1a1816;
	background-image: var(--lh-hero-bg);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	overflow: hidden;
	isolation: isolate;
}

.lh-hero__backgrounds {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.lh-hero--slideshow {
	background-image: none;
}

.lh-hero__bg {
	position: absolute;
	inset: 0;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	opacity: 0;
	transition: opacity 1.4s ease;
}

.lh-hero__bg.is-active {
	opacity: 1;
}

body.lh-intro-active .lh-hero__headline-line,
body.lh-intro-active .lh-hero__cta,
body.lh-intro-active .lh-hero__arch-svg,
body.lh-hero-pending .lh-hero__headline-line,
body.lh-hero-pending .lh-hero__cta,
body.lh-hero-pending .lh-hero__arch-svg {
	opacity: 0;
}

.lh-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: rgba(33, 27, 27, 0.6);
	pointer-events: none;
}

.lh-hero__inner,
.lh-hero__content,
.lh-hero__cta {
	position: relative;
	z-index: 4;
}

.lh-hero__inner {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	min-height: 0;
	padding: clamp(4rem, 10vh, 6rem) 0 clamp(2rem, 5vw, 3.5rem);
}

.lh-hero__content {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin: 0;
	padding: 0;
}

.lh-hero__arch {
	position: absolute;
	left: 50%;
	bottom: 0;
	z-index: 3;
	height: 80vh;
	transform: translateX(-50%);
	pointer-events: none;
}

.lh-hero__arch-svg {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center bottom;
}

.lh-hero__headline,
.home .lh-hero h1.lh-hero__headline {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0;
	width: fit-content;
	max-width: 100%;
	margin-inline: auto;
	margin-block: 0;
	color: var(--lh-hero-text) !important;
	font-size: clamp(2.2rem, 5.2vw, 3.85rem);
	font-weight: 300;
	line-height: 1;
	letter-spacing: 0.01em;
	text-align: center !important;
}

@media (min-width: 1500px) {
	.lh-hero__headline,
	.home .lh-hero h1.lh-hero__headline {
		font-size: clamp(3.75rem, 4.2vw, 5.75rem);
	}
}

.lh-hero__headline-line,
.lh-hero__headline strong {
	color: var(--lh-hero-text) !important;
}

.lh-hero__headline-line {
	display: block;
	width: fit-content;
	max-width: 100%;
	margin-inline: auto;
	text-align: center !important;
	white-space: nowrap;
	line-height: 1;
}

.lh-hero__headline strong {
	font-weight: 700;
}

.lh-hero__cta {
	flex-shrink: 0;
	margin-top: auto;
	margin-bottom: 0;
	color: var(--lh-hero-text) !important;
	font-size: clamp(1rem, 1.4vw, 1.2rem);
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1;
	text-decoration: none;
	text-transform: none;
	padding-bottom: 0.65rem;
	border-bottom: 2px solid rgba(240, 234, 230, 0.85);
	transition: opacity 0.2s ease, border-color 0.2s ease;
}

.lh-hero__cta:hover,
.lh-hero__cta:focus-visible {
	opacity: 0.75;
	border-bottom-color: rgba(240, 234, 230, 0.55);
}

@media (max-width: 767px) {
	.lh-hero__arch {
		width: min(88vw, 28rem);
		height: 80vh;
	}

	.lh-hero__headline {
		font-size: clamp(2rem, 8vw, 2.75rem);
		line-height: 1;
	}

	.lh-hero__headline-line {
		white-space: normal;
		line-height: 1;
	}
}
