/**
 * About us banner — texture hero with two-line title and framed photo (Figma 281:938).
 */

.about-us-banner {
	position: relative;
	isolation: isolate;
	background-color: #040404;
	color: var(--color-white);
	overflow: clip;
}

.about-us-banner.about-us-banner--has-bg {
	background-image: var(--about-us-banner-bg-image);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

.about-us-banner.about-us-banner--has-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0.742) 0%,
		rgba(60, 60, 60, 0) 15%,
		rgba(54, 54, 54, 0) 85%,
		rgba(0, 0, 0, 0.758) 100%
	);
}


.about-us-banner__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(1rem, 7.5vw, 2rem);
	box-sizing: border-box;
	width: 100%;
	max-width: min(90rem, 100%);
	margin-inline: auto;
	padding-block: clamp(5.5rem, 12vw, 8.75rem) clamp(2.5rem, 5vw, 4rem);
	padding-inline: clamp(1.5rem, 6.67vw, 6rem);
}

/* Fixed header overlays hero when this section is first on the page */
.has-transparent-header .about-us-banner__inner {
	padding-top: calc(
		var(--site-header-offset) + clamp(1rem, 3vw, 1.5rem) + env(safe-area-inset-top, 0px)
	);
}

.about-us-banner__title {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
	margin: 0;
	max-width: 57.25rem;
	font-family: var(--font-family-base);
	font-weight: var(--font-weight-heading);
	font-size: clamp(2.5rem, 5.56vw, 5rem);
	line-height: 0.775;
	letter-spacing: 0.0033em;
	text-align: center;
	text-transform: uppercase;
	color: var(--color-white);
}

.about-us-banner__title-line {
	display: block;
	font-size: inherit;
}

.about-us-banner__title-part {
	display: inline;
	font-size: inherit;
}

.about-us-banner__title-part--accent {
	color: var(--color-accent-yellow);
}

.about-us-banner__media {
	box-sizing: border-box;
	width: 100%;
	max-width: 78.625rem;
	margin: 0;
	aspect-ratio: 1258 / 525;
	border: 1px solid var(--color-accent-yellow);
	border-radius: 2.5rem;
	overflow: hidden;
}

.about-us-banner__media-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 35%;
	display: block;
}

/* Tablet / mobile */
@media (max-width: 61.9375em) {
	.about-us-banner__inner {
		padding-bottom: clamp(2rem, 5vw, 3rem);
		padding-inline: clamp(1.25rem, 5vw, 1.5rem);
	}

	.has-transparent-header .about-us-banner__inner {
		padding-top: calc(
			var(--site-header-offset) + 1rem + env(safe-area-inset-top, 0px)
		);
	}
}

@media (max-width: 48rem) {
	.about-us-banner__title {
		font-size: clamp(1.875rem, 8vw + 0.5rem, 2.5rem);
		line-height: 0.9;
	}

	.about-us-banner__media {
		border-radius: 1.5rem;
		aspect-ratio: 4 / 3;
	}

	.about-us-banner__media-img {
		object-position: center;
	}
}

/* Small phones */
@media (max-width: 28rem) {
	.about-us-banner__inner {
		padding-block: clamp(3.5rem, 14vw, 5rem) clamp(1.75rem, 6vw, 2.5rem);
	}

	.about-us-banner__title {
		font-size: clamp(1.625rem, 9vw, 2rem);
	}

	.about-us-banner__media {
		border-radius: 1rem;
	}
}

/* Large desktops */
@media (min-width: 90rem) {
	.about-us-banner__inner {
		padding-inline: 6rem;
	}
}
