/* ==========================================================
  About page (page-about.php) — loaded only on the About page
  Depends on pages-base.css (tokens, container, chip, icon, hero blobs).
  Sections: 02 Hero + collage / 03 Why / 04 Timeline
            05 Backing / 06 CTA / 07 Responsive
============================================================ */

/* ! 01. Base — moved to pages-base.css (shared with Contact)
------------------------------------------------------------ */

/* ! 02. Hero + collage
------------------------------------------------------------ */
.about-hero {
	position: relative;
	padding-top: 168px;
}
.about-hero .about-container {
	position: relative;
	z-index: 1;
}
.about-hero__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	margin-bottom: 48px;
}
.about-hero__title {
	max-width: 760px;
	font-size: 40px;
	font-weight: 700;
	line-height: 1.55;
}
.about-hero__lead {
	max-width: 890px;
	font-size: 20px;
	line-height: 2.1;
	color: var(--about-text);
}
.about-collage {
	display: grid;
	grid-template-columns: 707fr 342fr 341fr;
	gap: 24px;
	height: 464px;
}
.about-collage__main,
.about-collage__photo {
	position: relative;
	overflow: hidden;
	border-radius: 24px;
	background: var(--about-peach);
}
.about-collage__main img,
.about-collage__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.about-collage__badge {
	position: absolute;
	bottom: 24px;
	inset-inline-end: 24px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--about-peach-2);
	color: var(--about-title);
	font-size: 14px;
	font-weight: 500;
}
.about-collage__badge svg {
	color: var(--brand-color);
}
.about-collage__col {
	display: grid;
	grid-template-rows: 175fr 264fr;
	gap: 24px;
	min-height: 0;
}
.about-collage__col--photo-first {
	grid-template-rows: 263fr 176fr;
}
.about-mini-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: 24px;
	border-radius: 24px;
	background: #fff;
	box-shadow: var(--about-shadow);
}
.about-mini-card .about-icon {
	margin-bottom: 4px;
}
.about-mini-card__title {
	font-size: 18px;
	font-weight: 500;
	line-height: 1.5;
}
.about-mini-card__desc {
	font-size: 14px;
	line-height: 1.7;
	color: var(--about-muted);
}

/* ! 03. Why Momzi
------------------------------------------------------------ */
.about-why {
	padding-top: 96px;
}
.about-why__panel {
	display: grid;
	grid-template-columns: 536fr 782fr;
	gap: 24px;
	align-items: stretch;
	padding: 64px 48px;
	border-radius: 32px;
	background: var(--about-peach);
}
.about-why__mission {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 40px;
	border-radius: 24px;
	background: #fff;
}
.about-why__title {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.6;
}
.about-why__text {
	font-size: 18px;
	line-height: 1.85;
	color: var(--about-text);
}
.about-why__motto {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-self: flex-start; /* Width = text only (RTL start = right), per design. */
	max-width: 100%;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 20px;
	border-top: 1px solid var(--about-peach-2);
	color: var(--about-eyebrow);
	font-size: 16px;
	font-weight: 500;
}
/* Text always paints above the decorative rings. */
.about-why__mission > :not(.about-why__rings) {
	position: relative;
	z-index: 1;
}
.about-why__rings {
	position: absolute;
	z-index: 0;
	inset-inline-end: 0;
	bottom: 0;
	width: 180px;
	height: 180px;
	pointer-events: none;
	opacity: 0.6;
}
.about-why__list {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
}
.about-why-card {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	flex: 1 1 0;
	padding: 24px;
	border-radius: 16px;
	background: #fff;
	box-shadow: var(--about-shadow);
}
.about-why-card__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.about-why-card__title {
	font-size: 18px;
	font-weight: 500;
	line-height: 1.5;
}
.about-why-card__desc {
	font-size: 15px;
	line-height: 1.8;
	color: var(--about-muted);
}

/* ! 04. Timeline
------------------------------------------------------------ */
.about-timeline {
	padding-top: 104px;
}
.about-section-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin-bottom: 64px;
}
.about-section-head__title {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.6;
}
.about-section-head__sub {
	font-size: 18px;
	line-height: 1.8;
	color: var(--about-text);
}
.about-timeline__body {
	position: relative;
}
.about-timeline__list {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 160px;
	/* Reset UA <ol> padding (40px on the RTL start side) so the grid's centre column
	   sits exactly on the body's 50% axis, where the track is drawn. */
	margin: 0;
	padding: 0;
	list-style: none;
}
/* Progress line: light base track + accent fill.
   Without JS the fill stays at 100% (progressive enhancement);
   about-timeline.js scales it with scroll when .is-animated is set. */
.about-timeline__track {
	position: absolute;
	z-index: 0;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 3px;
	transform: translateX(-50%);
	border-radius: 3px;
	background: #F6E1D9;
	overflow: hidden;
	pointer-events: none;
}
.about-timeline__fill {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(to bottom, var(--about-peach-line), var(--brand-color));
	transform-origin: top center;
	transform: scaleY(var(--about-progress, 1));
	will-change: transform;
}
.about-step {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 464fr) minmax(0, 268fr) minmax(0, 464fr);
	grid-template-areas: "info marker feature";
	align-items: stretch;
}
.about-step--reverse {
	grid-template-areas: "feature marker info";
}
.about-step__info    { grid-area: info; }
.about-step__marker  { grid-area: marker; }
.about-step__feature { grid-area: feature; }
.about-step__info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	min-height: 277px;
	padding: 32px;
	border-radius: 24px;
	background: #fff;
	box-shadow: var(--about-shadow);
}
.about-tag {
	display: inline-flex;
	padding: 4px 14px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.7;
}
.about-tag--peach { background: var(--about-peach-2); color: var(--about-eyebrow); }
.about-tag--blue  { background: var(--about-blue-bg); color: #2420B8; }
.about-step__title {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.6;
}
.about-step__text {
	font-size: 16px;
	line-height: 1.85;
	color: var(--about-muted);
	text-align: justify;
}
.about-step__marker {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}
.about-step__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	border: 2px solid var(--about-peach-line);
	background: var(--site-bg);
	color: var(--brand-color);
	font-size: 28px;
	font-weight: 700;
}
.about-step__num {
	transition: background-color .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease;
}
/* No JS: design default (step 1 filled). With JS: steps fill as the line reaches them. */
.about-step--first .about-step__num,
.about-timeline__body.is-animated .about-step.is-active .about-step__num {
	background: var(--about-peach-line);
	border-color: var(--about-peach-line);
	color: var(--about-title);
}
.about-timeline__body.is-animated .about-step--first:not(.is-active) .about-step__num {
	background: var(--site-bg);
	color: var(--brand-color);
}
.about-timeline__body.is-animated .about-step.is-active .about-step__num {
	box-shadow: 0 0 0 6px rgba(252, 100, 50, 0.12);
}
.about-step__feature {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 277px;
	text-align: center;
	padding: 32px;
	border-radius: 24px;
	border: 1px solid #FFDCD0;
	background: var(--about-peach);
}
.about-step__feature--blue {
	border-color: #D6D6FF;
	background: var(--about-blue-bg);
}
.about-step__feature-icon {
	display: inline-flex;
}
.about-step__feature--peach .about-step__feature-icon { color: var(--brand-color); }
.about-step__feature--blue .about-step__feature-icon  { color: var(--about-blue); }
.about-step__feature-title {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.6;
}
.about-step__feature-text {
	font-size: 16px;
	line-height: 1.8;
	color: var(--about-text);
}

/* ! 05. Backing
------------------------------------------------------------ */
.about-backing {
	padding-top: 96px;
}
.about-backing__inner {
	padding-top: 48px;
	border-top: 1px solid #FDE5DC;
}
.about-backing__title {
	margin-bottom: 24px !important;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.6;
}
.about-backing__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px;
}
.about-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 20px;
	border-radius: 16px;
	background: #fff;
	box-shadow: var(--about-shadow);
	color: var(--about-title);
	font-size: 16px;
	line-height: 1.6;
}
.about-pill__icon { flex: 0 0 24px; }
.about-pill__icon--peach  { color: var(--brand-color); }
.about-pill__icon--blue   { color: var(--about-blue); }
.about-pill__icon--yellow { color: #E5A400; }
.about-pill__icon--green  { color: #1FA45B; }

/* ! 06. CTA
------------------------------------------------------------ */
.about-cta {
	padding-top: 96px;
	padding-bottom: 96px;
}
.about-cta__box {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: stretch;
	min-height: 420px;
	padding-inline-start: 72px;
	border-radius: 32px;
	background: var(--about-peach);
	overflow: hidden;
}
.about-cta__frame {
	position: absolute;
	top: 40px;
	left: 22px;
	width: 300px;
	height: 220px;
	transform: scaleX(1);
	pointer-events: none;
}
.about-cta__doodle {
	position: absolute;
	top: 56px;
	left: 46%;
	width: 80px;
	height: 40px;
	pointer-events: none;
}
.about-cta__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 16px;
	max-width: 620px;
	padding-block: 56px;
}
.about-cta__title {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.6;
}
.about-cta__text {
	font-size: 18px;
	line-height: 1.8;
	color: var(--about-text);
}
.about-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 16px;
}
.about-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 225px;
	height: 44px;
	padding: 0 24px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 500;
}
.about-btn--outline {
	border: 1px solid var(--brand-color);
	background: transparent;
	color: var(--brand-color);
}
.about-btn--outline:hover {
	background: var(--brand-color);
	color: #fff;
}
.about-cta__media {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding-top: 40px;
}
.about-cta__media img {
	width: 100%;
	max-width: 340px;
	height: auto;
}

/* ! 07. Responsive
------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	.about-timeline__fill,
	.about-step__num {
		transition: none;
	}
}
@media (max-width: 1199.98px) {
	.about-why__panel {
		grid-template-columns: 1fr;
		padding: 40px 32px;
	}
	.about-collage {
		grid-template-columns: 1fr 1fr;
		height: auto;
	}
	.about-collage__main {
		grid-column: 1 / -1;
		aspect-ratio: 16 / 9;
	}
	.about-collage__col,
	.about-collage__col--photo-first {
		grid-template-rows: auto 240px;
	}
	.about-collage__col--photo-first {
		grid-template-rows: 240px auto;
	}
}
@media (max-width: 991.98px) {
	.about-hero {
		padding-top: 140px;
	}
	.about-hero__title {
		font-size: 30px;
	}
	.about-hero__lead {
		font-size: 17px;
		line-height: 1.95;
	}
	/* Timeline becomes one column with the line on the start (right) side. */
	.about-timeline__list {
		gap: 48px;
		padding-inline-start: 64px;
	}
	/* Marker column = the 64px start padding; circle (48px) centre is 24px from the edge. */
	.about-timeline__track {
		left: auto;
		right: 24px;
		transform: translateX(50%);
	}
	.about-step,
	.about-step--reverse {
		position: relative;
		grid-template-columns: 1fr;
		grid-template-areas: "info" "feature";
		gap: 16px;
	}
	.about-step__marker {
		position: absolute;
		top: 0;
		inset-inline-start: -64px;
		width: 48px;
		align-items: flex-start;
	}
	.about-step__num {
		width: 48px;
		height: 48px;
		font-size: 20px;
	}
	.about-step__info {
		min-height: 0;
		padding: 24px;
	}
	.about-step__feature {
		min-height: 0;
		padding: 24px;
	}
	.about-backing__list {
		justify-content: center;
	}
	.about-cta__box {
		grid-template-columns: 1fr;
		padding-inline: 32px;
	}
	.about-cta__content {
		max-width: none;
		padding-block: 48px 0;
	}
	.about-cta__frame,
	.about-cta__doodle {
		display: none;
	}
}
@media (max-width: 767.98px) {
	.about-hero__title {
		font-size: 24px;
	}
	.about-hero__lead {
		font-size: 15px;
	}
	.about-collage {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.about-collage__col,
	.about-collage__col--photo-first {
		grid-template-rows: auto;
		gap: 16px;
	}
	.about-collage__photo {
		aspect-ratio: 4 / 3;
	}
	.about-why,
	.about-timeline,
	.about-backing,
	.about-cta {
		padding-top: 64px;
	}
	.about-why__panel {
		padding: 16px;
		border-radius: 24px;
	}
	/* Keep the decorative rings in the empty bottom-start corner, below the text. */
	.about-why__mission {
		padding: 24px 24px 104px;
	}
	.about-why__rings {
		width: 96px;
		height: 96px;
		opacity: 0.5;
	}
	.about-why__title,
	.about-section-head__title,
	.about-backing__title,
	.about-cta__title {
		font-size: 20px;
	}
	.about-why__text,
	.about-section-head__sub,
	.about-cta__text {
		font-size: 15px;
	}
	.about-why-card {
		padding: 16px;
	}
	.about-step__text {
		text-align: start;
	}
	.about-section-head {
		margin-bottom: 40px;
	}
	.about-pill {
		width: 100%;
		font-size: 14px;
	}
	.about-cta {
		padding-bottom: 64px;
	}
	.about-cta__box {
		padding-inline: 20px;
		border-radius: 24px;
	}
	.about-btn {
		width: 100%;
		min-width: 0;
	}
	.about-cta__actions {
		width: 100%;
	}
}
