.home-hero {
	position: relative;
	display: grid;
	width: 100%;
	max-width: none;
	min-height: 100svh;
	overflow: hidden;
	background: var(--th-gray-950);
	color: var(--th-white);
	isolation: isolate;
}

.home-hero__background {
	position: absolute;
	inset: 0;
	z-index: -3;
	background:
		linear-gradient(
			135deg,
			rgb(var(--th-black-rgb) / 0.22),
			rgb(var(--th-wine-rgb) / 0.28)
		),
		url("../../images/home/hero-th.jpg");
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	transform: scale(1.04);
}

.home-hero__background::after {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(
			90deg,
			rgb(var(--th-black-rgb) / 0.74) 0%,
			rgb(var(--th-black-rgb) / 0.48) 45%,
			rgb(var(--th-black-rgb) / 0.24) 100%
		),
		linear-gradient(
			180deg,
			rgb(var(--th-black-rgb) / 0.16) 0%,
			rgb(var(--th-black-rgb) / 0.72) 100%
		);
	content: "";
}

.home-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: -2;
	background:
		radial-gradient(
			circle at 72% 34%,
			rgb(var(--th-red-rgb) / 0.1),
			transparent 34%
		),
		linear-gradient(
			135deg,
			rgb(var(--th-wine-rgb) / 0.1),
			transparent 58%
		);
	pointer-events: none;
}

.home-hero__inner {
	position: relative;
	display: grid;
	align-items: center;
	min-height: 100svh;
	padding-top: calc(var(--header-height) + 110px);
	padding-bottom: clamp(70px, 8.8vh, 110px);
	width: min(calc(100% - 80px), 1600px);
	margin-inline: auto;
	padding-inline: 0;
}

.home-hero__glass {
	position: relative;
	display: grid;
	min-width: 0;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
	align-items: stretch;
	gap: clamp(28px, 3.8vw, 48px);
	width: 100%;
	margin-top: 20px;
	padding: clamp(26px, 3.6vw, 42px);
	border: 1px solid rgb(var(--th-white-rgb) / 0.16);
	border-radius: calc(var(--radius-xl) - 6px);
	background:
		linear-gradient(
			135deg,
			rgb(var(--th-white-rgb) / 0.12),
			rgb(var(--th-white-rgb) / 0.035)
		);
	box-shadow:
		0 26px 90px rgb(var(--th-black-rgb) / 0.24),
		inset 0 1px 0 rgb(var(--th-white-rgb) / 0.12);
	-webkit-backdrop-filter: blur(22px) saturate(145%);
	backdrop-filter: blur(22px) saturate(145%);
}

.home-hero__glass::before {
	position: absolute;
	inset: 1px;
	border-radius: inherit;
	background:
		linear-gradient(
			135deg,
			rgb(var(--th-white-rgb) / 0.14),
			transparent 32%,
			rgb(var(--th-red-rgb) / 0.08) 100%
		);
	content: "";
	pointer-events: none;
}

.home-hero__content,
.home-hero__panel {
	position: relative;
	z-index: 2;
}

.home-hero__content {
	max-width: 900px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.home-hero__kicker {
	display: block;
	margin-bottom: 28px;
	color: rgb(var(--th-white-rgb) / 0.68);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.3em;
	line-height: 1.2;
	text-transform: uppercase;
}

.home-hero__title {
	max-width: none;
	font-size: clamp(2.5rem, 4vw, 4.5rem);
	font-weight: 300;
	letter-spacing: -0.052em;
	line-height: 1;
}

.home-hero__title-line {
	display: block;
	max-width: none;
	color: var(--th-white);
	white-space: normal;
}

.home-hero__title-line--accent {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.22em;
	margin-top: 0.12em;
	color: rgb(var(--th-white-rgb) / 0.78);
	font-weight: 400;
}

.home-hero__title-subject {
	flex: 0 0 auto;
}

.home-hero__word-rotator {
	position: relative;
	display: inline-flex;
	align-items: baseline;
	min-width: 9.5ch;
	padding: 0.02em 0.16em 0.08em;
	border-radius: 0.06em;
	background: var(--th-red);
	box-shadow: 0 0.12em 0.3em rgb(var(--th-black-rgb) / 0.18);
	color: var(--th-white);
	vertical-align: baseline;
}

.home-hero__word-rotator .word {
	display: none;
	opacity: 0;
	transform: translateY(0.16em);
	pointer-events: none;
	white-space: nowrap;
	transition: opacity 170ms ease, transform 170ms ease;
}

.home-hero__word-rotator .word.active {
	display: inline-block;
	opacity: 1;
	transform: translateY(0);
}

.home-hero__word-rotator::after {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	.home-hero__word-rotator .word {
		transition: none;
	}

	.home-hero__word-rotator .word.active {
		opacity: 1;
		transform: none;
	}
}

.home-hero__text {
	max-width: 620px;
	margin-top: 24px;
	color: rgb(var(--th-white-rgb) / 0.72);
	font-size: clamp(1rem, 1.1vw, 1.08rem);
	line-height: 1.75;
}

.home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 40px;
}

.home-hero__panel {
	align-self: stretch;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(22px, 2.8vw, 30px) 0 clamp(22px, 2.8vw, 30px) clamp(24px, 2.8vw, 32px);
	border-left: 1px solid rgb(var(--th-white-rgb) / 0.12);
	border-radius: var(--radius-md);
	background: rgb(var(--th-white-rgb) / 0.03);
}

.home-hero__panel-label {
	display: block;
	margin-bottom: 24px;
	color: rgb(var(--th-white-rgb) / 0.52);
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.home-hero__pillars {
	display: grid;
	gap: 0;
	list-style: none;
}

.home-hero__pillars li {
	position: relative;
	padding: 15px 0 15px 20px;
	border-top: 1px solid rgb(var(--th-white-rgb) / 0.1);
	color: rgb(var(--th-white-rgb) / 0.84);
	font-size: 0.875rem;
	line-height: 1.45;
}

.home-hero__pillars li::before {
	position: absolute;
	top: 24px;
	left: 0;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--th-red);
	content: "";
}

.home-hero__scroll {
	position: absolute;
	bottom: 28px;
	left: 0;
	display: flex;
	align-items: center;
	gap: 14px;
	color: rgb(var(--th-white-rgb) / 0.44);
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.home-hero__scroll i {
	display: block;
	width: 56px;
	height: 1px;
	background: rgb(var(--th-white-rgb) / 0.32);
}

@media (max-width: 1100px) {
	.home-hero__inner {
		width: min(calc(100% - 48px), 920px);
	}

	.home-hero__glass {
		grid-template-columns: 1fr;
		align-items: start;
	}

	.home-hero__title {
		font-size: clamp(2.35rem, 6.8vw, 4.25rem);
	}

	.home-hero__title-line {
		white-space: normal;
	}

	.home-hero__title-line--accent {
		flex-wrap: wrap;
		gap: 0.08em 0.22em;
	}

	.home-hero__panel {
		align-self: auto;
		padding-top: 30px;
		padding-left: 0;
		border-top: 1px solid rgb(var(--th-white-rgb) / 0.16);
		border-left: 0;
	}
}

@media (max-width: 767px) {
	.home-hero__inner {
		width: calc(100% - 40px);
		padding-top: calc(var(--header-height) + 96px);
		padding-bottom: 64px;
	}

	.home-hero__glass {
		padding: 24px;
		border-radius: var(--radius-lg);
		-webkit-backdrop-filter: blur(18px) saturate(145%);
		backdrop-filter: blur(18px) saturate(145%);
	}

	.home-hero__kicker {
		margin-bottom: 22px;
		font-size: 0.62rem;
		letter-spacing: 0.22em;
	}

	.home-hero__title {
		font-size: clamp(2rem, 8.5vw, 3.4rem);
		line-height: 0.98;
	}

	.home-hero__title-line {
		min-width: 0;
		white-space: normal;
	}

	.home-hero__title-subject {
		min-width: 0;
	}

	.home-hero__title-line--accent {
		flex-wrap: wrap;
		gap: 0.08em 0.22em;
		margin-top: 0.16em;
	}

	.home-hero__text {
		margin-top: 24px;
		font-size: 1rem;
		line-height: 1.7;
	}

	.home-hero__actions {
		display: grid;
		margin-top: 30px;
	}

	.home-hero__panel {
		padding-top: 26px;
	}

	.home-hero__scroll {
		display: none;
	}
}
