/* Home page hero */

.hero {
	position: relative;
	height: 873px;
	overflow: hidden;
}

.hero__media {
	position: absolute;
	inset: 0 0 auto;
	height: 1217px;
}

/* Keep the image's own proportions: fill the frame and crop the overflow
   instead of stretching. Change object-position to choose which part stays. */
.hero__media video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.hero__title {
	position: absolute;
	left: var(--gutter);
	top: 398px;
	transform: translateY(-50%);
	font-size: 128px;
	line-height: 1;
	white-space: nowrap;
}

.hero__bar {
	position: absolute;
	inset: auto 0 -1px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 24px var(--gutter);
	background: var(--glass-bg);
	backdrop-filter: blur(var(--glass-blur));
	-webkit-backdrop-filter: blur(var(--glass-blur));
	border-top: 1px solid var(--color-decoration);
}

.hero__tagline {
	max-width: 596px;
	font-size: 20px;
	line-height: 1.25;
}

.hero__scroll {
	display: flex;
	align-items: center;
	gap: 16px;
	font-size: 24px;
	line-height: 48px;
	color: var(--color-decoration);
}

@media (max-width: 1200px) {
	.hero__title {
		font-size: 96px;
	}
}

/* Mobile — Figma qHfThmGU6mzX7bMOYeT9Dg node 11:3 (393 wide) */
@media (max-width: 899px) {
	.hero {
		height: 583px;
	}

	/* Image area is 520px tall; the bottom bar overlaps its last 49px. */
	.hero__media {
		height: 520px;
	}

	.hero__media video {
		object-position: center;
	}

	.hero__title {
		left: 24px;
		right: 24px;
		top: 120px;
		transform: none;
		font-size: 64px;
		line-height: 72px;
		white-space: normal;
	}

	.hero__bar {
		flex-direction: column;
		align-items: center;
		gap: 16px;
		padding: 20px 24px;
	}

	.hero__tagline {
		max-width: none;
		font-size: 12px;
		line-height: 1.3;
		text-align: center;
	}

	.hero__tagline br {
		display: none;
	}

	.hero__scroll {
		gap: 8px;
		font-size: 16px;
		line-height: 24px;
	}

	.hero__scroll img {
		width: 14px;
		height: 14px;
	}
}
