/* ==========================================================================
   About Us template (page-templates/about-us.php)
   ========================================================================== */

/* Hero ------------------------------------------------------------------------ */
.about-hero {
	position: relative;
	isolation: isolate;
	padding-top: clamp(56px, 8vw, 110px);
	text-align: center;
}

.about-hero::before { /* soft blush glow behind the headline */
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	z-index: -1;
	width: min(1100px, 140vw);
	aspect-ratio: 1;
	transform: translate(-50%, -30%);
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(243, 218, 221, 0.9), rgba(251, 246, 244, 0));
}

.about-hero__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.about-hero .eyebrow {
	margin-bottom: 24px;
}

.about-hero .landing-title {
	max-width: 940px;
}

.about-hero .landing-lead {
	max-width: 640px;
	margin-top: 24px;
}

.about-hero__actions {
	justify-content: center;
	margin-top: 34px;
}

.about-hero__stage {
	margin-top: clamp(48px, 6vw, 80px);
}

/* --p goes 0 → 1 as the image scrolls up (landing.js): it grows from an inset card. */
.about-hero__media {
	--p: 1;
	position: relative;
	max-width: 1400px;
	height: clamp(420px, 68vh, 700px);
	margin-inline: auto;
	overflow: hidden;
	border-radius: calc(var(--radius-media) + 16px * (1 - var(--p)));
	transform: scale(calc(0.86 + 0.14 * var(--p)));
	transform-origin: 50% 0;
	background: linear-gradient(135deg, var(--color-burgundy-800), var(--color-burgundy-600));
	box-shadow: 0 60px 100px -50px rgba(42, 10, 16, 0.55);
}

.anim .about-hero__media {
	--p: 0;
}

.about-hero__media > img {
	position: absolute;
	inset: -8% 0;
	width: 100%;
	height: 116%;
	object-fit: cover;
	object-position: center 30%;
	transform: translateY(calc(-6% * var(--p))) scale(calc(1.15 - 0.1 * var(--p)));
}

.about-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(42, 10, 16, 0) 30%, rgba(42, 10, 16, 0.85)),
		linear-gradient(90deg, rgba(42, 10, 16, 0.55), transparent 60%);
}

.about-hero__orbit {
	position: absolute;
	top: -10%;
	left: 15%;
	z-index: 2;
	width: 70%;
	aspect-ratio: 1;
	border: 1px dashed rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	animation: about-spin 60s linear infinite;
	pointer-events: none;
}

.about-hero__orbit::before {
	content: "";
	position: absolute;
	top: 50%;
	left: -5px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--color-blush-100);
	box-shadow: 0 0 20px var(--color-blush-100);
}

@keyframes about-spin {
	to { transform: rotate(360deg); }
}

/* T.R.E.A.T. ---------------------------------------------------------------------- */
.treat {
	padding-top: 0;
}

.treat__grid {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: clamp(30px, 6vw, 90px);
	align-items: start;
}

.treat__aside {
	position: sticky;
	top: calc(var(--sticky-top) + 20px);
}

.treat__aside .section-title {
	margin: 16px 0 18px;
}

.treat__word {
	display: flex;
	gap: 6px;
	margin: 22px 0 26px;
}

.treat__word span {
	display: grid;
	place-items: center;
	width: 50px;
	height: 60px;
	border-radius: 14px;
	background: var(--color-white);
	box-shadow: inset 0 0 0 1px var(--line-on-light);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 24px;
	color: var(--color-blush-200);
	transition: background-color 0.5s var(--ease-out), color 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.treat__word span.is-on {
	background: var(--color-burgundy-600);
	color: var(--color-white);
	transform: translateY(-6px);
}

.treat__item {
	display: grid;
	grid-template-columns: 110px 1fr;
	gap: 24px;
	align-items: center;
	padding-block: 28px;
	border-top: 1px solid var(--line-on-light);
}

.treat__item:last-child {
	border-bottom: 1px solid var(--line-on-light);
}

.treat__letter {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(52px, 5.5vw, 76px);
	line-height: 0.85;
	color: transparent;
	-webkit-text-stroke: 1.5px var(--color-blush-200);
	transition: color 0.6s var(--ease-out), -webkit-text-stroke-color 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.treat__title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(24px, 2.6vw, 36px);
	line-height: 1.25;
	color: var(--color-ink);
	transition: color 0.5s;
}

/* Without scroll motion every row shows its accent state. */
html:not(.anim) .treat__letter,
.treat__item.is-active .treat__letter {
	color: var(--color-burgundy-600);
	-webkit-text-stroke-color: var(--color-burgundy-600);
}

.treat__item.is-active .treat__letter {
	transform: translateX(8px);
}

.treat__item.is-active .treat__title {
	color: var(--color-burgundy-600);
}

/* Next steps ------------------------------------------------------------------------ */
.about-next {
	padding-bottom: clamp(72px, 10vw, 130px);
}

.about-next__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.about-next__link {
	padding: 18px;
	background: var(--color-white);
}

/* Responsive ----------------------------------------------------------------------- */
@media (max-width: 900px) {
	.treat__grid,
	.about-next__grid {
		grid-template-columns: 1fr;
	}

	.treat__aside {
		position: static;
	}
}

@media (max-width: 600px) {
	.about-hero__media {
		height: 420px;
	}

	.treat__item {
		grid-template-columns: 56px 1fr;
		gap: 14px;
		padding-block: 22px;
	}

	.treat__letter {
		font-size: 48px;
	}

	.treat__word span {
		width: 44px;
		height: 52px;
		font-size: 21px;
	}
}
