/**
 * About content — copy + tinted image on rock texture (Figma 284:849).
 */

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

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

.about-content.about-content--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-content__inner {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	width: 100%;
	max-width: min(84rem, 100%);
	margin-inline: auto;
	padding-block: clamp(2.25rem, 5vw, 3.75rem);
	padding-inline: clamp(1rem, 4vw, 3rem);
}

.about-content__main {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: clamp(1.75rem, 3.5vw, 2.8125rem);
	width: 100%;
}

.about-content__copy {
	flex: 1 1 22rem;
	max-width: 38.375rem;
	display: flex;
	flex-direction: column;
	gap: clamp(2rem, 4vw, 3.5rem);
	min-width: min(100%, 20rem);
}

.about-content__headline {
	margin: 0;
	font-family: var(--font-family-base);
	font-weight: 600;
	font-size: clamp(1.375rem, 2vw + 0.75rem, 2.25rem);
	line-height: normal;
	letter-spacing: 0;
	text-transform: none;
	color: var(--color-white);
}

.about-content__headline-part {
	display: inline;
	font-size: inherit;
	font-weight: inherit;
}

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

.about-content__body {
	margin: 0;
	font-weight: var(--font-weight-regular);
	font-size: var(--text-body-lg);
	line-height: 1.6;
	letter-spacing: -0.028125rem;
	color: var(--color-white);
}

.about-content__body p {
	margin: 0;
}

.about-content__body p + p {
	margin-top: 1.25rem;
}

.about-content__media {
	position: relative;
	flex: 1 1 26rem;
	max-width: 44.375rem;
	margin: 0;
	min-height: clamp(16rem, 35vw, 26.625rem);
	overflow: hidden;
}

.about-content__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background-color: var(--color-accent-yellow);
	mix-blend-mode: hue;
	pointer-events: none;
}

.about-content__media-img {
	width: 100%;
	height: 100%;
	min-height: inherit;
	object-fit: cover;
	object-position: center;
	display: block;
}

.aboutpage-usp {
	margin-top: 5rem;
}

/* Tablet — stack copy and image */
@media (max-width: 52rem) {
	.about-content__main {
		flex-direction: column;
		align-items: stretch;
	}

	.about-content__copy {
		max-width: none;
		flex: 1 1 15rem;
	}

	.about-content__media {
		max-width: none;
	}
}

/* Mobile */
@media (max-width: 48rem) {
	.about-content__inner {
		padding-inline: clamp(1rem, 4vw, 1.5rem);
	}

	.about-content__media {
		min-height: clamp(14rem, 55vw, 22rem);
	}

	.aboutpage-usp {
		margin-top: clamp(2.5rem, 8vw, 5rem);
	}
}

/* Small phones */
@media (max-width: 28rem) {
	.about-content__inner {
		padding-inline: 1rem;
	}
}
