/*
 * About: editorial intro with the offset gold badge, the dark story band,
 * the four values, and the full-bleed closing photograph.
 */

.about-intro__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 4rem;
	align-items: center;
}

.about-intro__body {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.about-intro__media {
	position: relative;
}

.about-frame {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border: 1px solid rgba(196, 163, 90, 0.1);
	border-radius: 3rem;
	box-shadow: var(--luxury-shadow);
}

.about-frame__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 8s;
}

.about-frame:hover .about-frame__image {
	transform: scale(1.05);
}

.about-frame__wash {
	position: absolute;
	inset: 0;
	background: rgba(15, 26, 19, 0.1);
	transition: background-color 0.5s;
}

.about-frame:hover .about-frame__wash {
	background: transparent;
}

.about-badge {
	display: none;
}

@media (min-width: 768px) {
	.about-frame {
		aspect-ratio: 16 / 11;
		border-radius: 5rem;
	}

	.about-badge {
		display: flex;
		bottom: -1.5rem;
		left: -1.5rem;
		width: 9rem;
		height: 9rem;
		padding: 1.5rem;
		transform: skewX(3deg);
		border: 4px solid var(--wp--preset--color--brand-cream);
		background: var(--wp--preset--color--brand-gold);
		background-image: none;
		font-size: 0.625rem;
		letter-spacing: 0.15em;
	}
}

@media (min-width: 1024px) {
	.about-intro__grid {
		grid-template-columns: 5fr 7fr;
		gap: 3rem;
	}
}

@media (min-width: 1280px) {
	.about-intro__grid {
		gap: 6rem;
	}
}

/* --- Story band --------------------------------------------------------- */

.about-story {
	padding-block: 7rem;
}

.about-story__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3rem;
	text-align: center;
}

.about-story__quote {
	max-width: 48rem;
	font-family: var(--wp--preset--font-family--serif);
	font-size: 1.25rem;
	font-weight: 300;
	line-height: 1.7;
	color: rgba(245, 240, 232, 0.9);
}

.about-story__body {
	max-width: 42rem;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 1rem;
	line-height: 1.75;
	color: rgba(245, 240, 232, 0.7);
}

@media (min-width: 768px) {
	.about-story {
		padding-block: 8rem;
	}

	.about-story__quote {
		font-size: 1.5rem;
	}
}

/* --- Values ------------------------------------------------------------- */

.about-values {
	padding-block: 7rem;
}

.about-values__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	margin-bottom: 5rem;
	text-align: center;
}

.value-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
}

.value-card {
	padding: 2.5rem;
	text-align: center;
	border: 1px solid rgba(196, 163, 90, 0.1);
	border-radius: 2.5rem;
	background: var(--wp--preset--color--brand-cream-soft);
	box-shadow: var(--luxury-shadow);
	transition: background-color 0.5s, border-color 0.5s, transform 0.5s var(--ease-luxury);
}

.value-card:hover {
	background: #fff;
	border-color: rgba(196, 163, 90, 0.3);
	transform: scale(1.02);
}

.value-card__mark {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 4rem;
	height: 4rem;
	margin: 0 auto 2rem;
	border: 1px solid rgba(196, 163, 90, 0.2);
	border-radius: 999px;
	background: #fff;
	color: var(--wp--preset--color--brand-gold);
	transition: background-color 0.5s, color 0.5s;
}

.value-card:hover .value-card__mark {
	background: var(--wp--preset--color--brand-gold);
	color: #fff;
}

.value-card__mark svg {
	width: 1.5rem;
	height: 1.5rem;
}

.value-card__title {
	margin-bottom: 1rem;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--brand-wood);
}

.value-card__body {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.875rem;
	line-height: 1.7;
	color: var(--wp--preset--color--brand-stone);
}

@media (min-width: 768px) {
	.value-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.value-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* --- Closing photograph ------------------------------------------------- */

.about-outro {
	position: relative;
	height: 60vh;
	min-height: 22rem;
	overflow: hidden;
}

.about-outro__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 10s;
}

.about-outro:hover .about-outro__image {
	transform: scale(1.05);
}

/*
 * The wash, and a little more of it exactly where the words are.
 *
 * The flat 30% was set against a photograph whose middle is a pale yellow
 * façade, and white italic type on pale yellow is the one place on this page
 * where the reading gets hard. Raising the flat value would fix it by dimming
 * the whole building, which is the thing the section is there to show.
 *
 * So the flat layer stays exactly as it was and a soft elliptical pool sits on
 * top of it, centred on the text and fully transparent well before the edges
 * of the frame. There is no border and no edge to notice: the falloff is
 * longer than the text block itself, so it reads as light in the photograph
 * rather than as something laid over it.
 */
.about-outro__wash {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(
			ellipse 68% 52% at 50% 50%,
			rgba(15, 26, 19, 0.34),
			rgba(15, 26, 19, 0) 72%
		),
		rgba(15, 26, 19, 0.3);
}

/*
 * A shadow soft enough to be felt rather than seen. It does the work on the
 * bright cloud edges the pool alone cannot reach, without touching the weight
 * or the shape of the type.
 */
.about-outro__body .eyebrow {
	text-shadow: 0 1px 3px rgba(15, 26, 19, 0.45);
}

.about-outro__title {
	text-shadow:
		0 1px 2px rgba(15, 26, 19, 0.3),
		0 2px 16px rgba(15, 26, 19, 0.28);
}

.about-outro__body {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	padding-inline: 1.5rem;
	text-align: center;
}

.about-outro__body .eyebrow {
	letter-spacing: 0.5em;
	font-size: 0.6875rem;
}

.about-outro__title {
	display: flex;
	flex-direction: column;
	font-size: 2.25rem;
	font-style: italic;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: #fff;
}

@media (min-width: 768px) {
	.about-outro__title {
		font-size: 3.75rem;
	}
}
