/**
 * About page — full-bleed banner hero + story content (pull-quote + banded section).
 *
 * @package Fashion_Brand_Theme
 */

.about-page {
	background: var(--color-bg);
}

/* -------------------------------------------------------------------------
   Reveal animation — content sections
   ------------------------------------------------------------------------- */

.about-reveal > *,
.about-reveal.about-page__closing {
	opacity: 0;
	transform: translateY(34px);
	transition:
		opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
		transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-reveal.is-active > *,
.about-reveal.about-page__closing.is-active {
	opacity: 1;
	transform: translateY(0);
}

.about-reveal > *:nth-child(1) {
	transition-delay: 0.05s;
}

.about-reveal > *:nth-child(2) {
	transition-delay: 0.15s;
}

.about-reveal > *:nth-child(3) {
	transition-delay: 0.25s;
}

.about-reveal > *:nth-child(4) {
	transition-delay: 0.35s;
}

.about-reveal > *:nth-child(5) {
	transition-delay: 0.4s;
}

.about-reveal.about-page__closing {
	transition-delay: 0.2s;
}

@media (prefers-reduced-motion: reduce) {
	.about-reveal > *,
	.about-reveal.is-active > *,
	.about-reveal.about-page__closing,
	.about-reveal.about-page__closing.is-active {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* -------------------------------------------------------------------------
   Hero — full-bleed banner, centered overlay (Contact pattern)
   ------------------------------------------------------------------------- */

.about-hero-banner {
	position: relative;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	height: 350px;
	overflow: hidden;
}

.about-hero-banner__image {
	position: absolute;
	inset: -40px 0;
	background-size: cover;
	background-position: center;
	will-change: transform;
}

.about-hero-banner__overlay {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 0 48px;
	text-align: center;
	background: linear-gradient(
		180deg,
		color-mix(in srgb, var(--color-bg) 55%, transparent) 0%,
		color-mix(in srgb, var(--color-bg) 35%, transparent) 50%,
		color-mix(in srgb, var(--color-bg) 55%, transparent) 100%
	);
}

.about-hero-banner__eyebrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 0 0 12px;
	font-family: var(--font-family-base);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-accent);
}

.about-hero-banner__eyebrow::before {
	content: "";
	display: block;
	width: 26px;
	height: 1px;
	background: var(--color-accent);
	flex-shrink: 0;
}

.about-hero-banner__heading {
	margin: 0;
	max-width: 100%;
	font-family: var(--font-family-display);
	font-size: clamp(26px, 3.2vw, 42px);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--color-text);
	white-space: nowrap;
}

@media (max-width: 600px) {
	.about-hero-banner {
		height: 280px;
	}

	.about-hero-banner__overlay {
		padding: 0 24px;
	}

	.about-hero-banner__heading {
		white-space: normal;
		font-size: clamp(24px, 7vw, 32px);
	}
}

/* -------------------------------------------------------------------------
   Content shell
   ------------------------------------------------------------------------- */

.about-page__content {
	padding: 72px 0 100px;
}

.about-page__inner {
	max-width: 680px;
	margin: 0 auto;
	padding: 0 48px;
}

/* -------------------------------------------------------------------------
   Pull-quote (name meaning)
   ------------------------------------------------------------------------- */

.about-pullquote {
	max-width: 820px;
	margin: 0 auto 72px;
	padding: 0 48px;
	text-align: center;
}

.about-pullquote__quote {
	margin: 0 0 20px;
	font-family: var(--font-family-display);
	font-size: clamp(22px, 2.6vw, 30px);
	font-weight: 400;
	font-style: italic;
	line-height: 1.45;
	letter-spacing: -0.01em;
	color: var(--color-text);
}

.about-pullquote__quote em {
	font-style: italic;
}

.about-pullquote__support {
	margin: 0 auto;
	max-width: 42ch;
	font-family: var(--font-family-base);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.65;
	color: var(--color-muted);
}

/* -------------------------------------------------------------------------
   Story sections
   ------------------------------------------------------------------------- */

.about-section {
	margin: 0 0 56px;
}

.about-section__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 14px;
	font-family: var(--font-family-base);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-muted);
}

.about-section__eyebrow::before {
	content: "";
	display: block;
	width: 26px;
	height: 1px;
	background: var(--color-muted);
	flex-shrink: 0;
	opacity: 0.85;
}

.about-section__heading {
	margin: 0 0 20px;
	font-family: var(--font-family-display);
	font-weight: 500;
	font-size: 22px;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: var(--color-text);
}

.about-section__text {
	margin: 0 0 1.15em;
	font-family: var(--font-family-base);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.7;
	color: var(--color-text-muted);
}

.about-section__text:last-child {
	margin-bottom: 0;
}

/* Banded "Where it started" */
.about-section--band {
	width: 100vw;
	margin: 0 0 72px;
	margin-left: calc(50% - 50vw);
	padding: 64px 0;
	background: var(--color-surface);
	border-top: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
}

.about-section--band .about-page__inner {
	max-width: 680px;
}

.about-section--band .about-section__heading {
	margin-bottom: 24px;
}

/* -------------------------------------------------------------------------
   Closing line
   ------------------------------------------------------------------------- */

.about-page__closing {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	margin: 64px 0 0;
	padding: 0;
	border: 0;
	font-family: var(--font-family-display);
	font-size: clamp(18px, 2.2vw, 22px);
	font-weight: 400;
	font-style: italic;
	line-height: 1.35;
	letter-spacing: -0.01em;
	color: var(--color-text);
	text-align: center;
}

.about-page__closing::before {
	content: "";
	display: block;
	width: 48px;
	height: 1px;
	background: var(--color-border);
}

/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */

@media (min-width: 1024px) {
	.about-page__content {
		padding: 88px 0 120px;
	}

	.about-pullquote {
		margin-bottom: 88px;
	}

	.about-section {
		margin-bottom: 72px;
	}

	.about-section--band {
		margin-bottom: 88px;
		padding: 80px 0;
	}

	.about-page__closing {
		margin-top: 80px;
	}
}

@media (max-width: 767px) {
	.about-page__content {
		padding: 48px 0 80px;
	}

	.about-page__inner {
		padding: 0 20px;
	}

	.about-pullquote {
		margin-bottom: 56px;
		padding: 0 20px;
	}

	.about-section {
		margin-bottom: 48px;
	}

	.about-section--band {
		margin-bottom: 56px;
		padding: 48px 0;
	}

	.about-page__closing {
		margin-top: 48px;
	}
}
