/* Flexible content: hero section. Sizes follow the 1440px Figma frame. */

.section-hero {
	position: relative;
	min-height: 667px;
	overflow: hidden;
	background: var(--color-dark);
	color: #fff;
}

.section-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center right;
}

/* Darken the left side so the text stays readable over the photo. */
.section-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.25) 45%, rgba(0, 0, 0, 0) 70%);
	pointer-events: none;
}

.section-hero__content {
	position: relative;
	z-index: 2;
	padding-top: 100px;
	padding-bottom: 180px;
}

.section-hero__title h1 {
	margin: 0;
	font-size: 40px;
	font-weight: 300;
	line-height: 1.1;
	letter-spacing: -0.02em;
	text-transform: uppercase;
}

.section-hero__title strong {
	display: block;
	margin-top: 4px;
	font-size: 104px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--color-primary);
}

.section-hero__subtitle {
	margin-top: 56px;
	padding-left: 10px;
	border-left: 2px solid var(--color-primary);
	font-size: 18px;
	font-weight: 600;
	line-height: 36px;
}

.section-hero__subtitle p {
	margin: 0;
}

@media (max-width: 1024px) {
	.section-hero {
		min-height: 520px;
	}

	.section-hero__title h1 {
		font-size: 30px;
	}

	.section-hero__title strong {
		font-size: 72px;
	}
}

@media (max-width: 768px) {
	.section-hero {
		min-height: 0;
	}

	.section-hero::before {
		background: rgba(0, 0, 0, 0.5);
	}

	.section-hero__content {
		padding-top: 56px;
		padding-bottom: 120px;
	}

	.section-hero__title h1 {
		font-size: 22px;
	}

	.section-hero__title strong {
		font-size: 44px;
	}

	.section-hero__subtitle {
		margin-top: 32px;
		font-size: 15px;
		line-height: 28px;
	}
}
