/*
 * About page.
 *
 * Loaded by page-o-meni.php only, on top of base.css — which provides the
 * tokens, the nav/footer chrome, and three components this page reuses:
 * .g-index (the chapter list), .g-manifesto (the word-reveal line) and
 * .g-booking-cta (the closing band).
 *
 * Breakpoints:
 *   1024px  the split hero and the chapter sidebar collapse to one column
 *    700px  phone layout
 */

/* --------------------------------------------------------------- hero ---- */

.g-about-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: 60px;
	align-items: end;
	padding: 170px var(--g-gutter) 70px;
	border-bottom: 1px solid var(--g-line-mid);
}

.g-about-hero__body {
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.g-about-hero__eyebrow {
	font-size: 11px;
	letter-spacing: 0.32em;
	text-transform: lowercase;
	color: var(--g-gold);
}

.g-about-hero__title {
	font-family: var(--g-serif);
	font-weight: 400;
	font-size: clamp(52px, 8vw, 132px);
	line-height: 0.9;
	letter-spacing: -0.02em;
	text-transform: lowercase;
}

.g-about-hero__text {
	max-width: 520px;
	font-size: 15px;
	line-height: 1.95;
	color: var(--g-text-muted);
	text-wrap: pretty;
}

.g-about-hero__media {
	position: relative;
	height: 640px;
	overflow: hidden;
	/* Shows through until the portrait loads, and behind its transparent edges. */
	background: linear-gradient(160deg, var(--g-surface), var(--g-ink));
}

/*
 * Taller than its frame and pulled up by half the overflow, so the parallax
 * script has room to move it without exposing an edge.
 */
.g-about-hero__media img {
	position: absolute;
	inset: -12% 0;
	width: 100%;
	height: 124%;
	object-fit: cover;
	filter: saturate(0.8);
}

/* The strip itself is .g-stats in base.css; only the offset is page-specific. */
.g-about-hero .g-stats {
	margin-top: 6px;
}

/* ----------------------------------------------------------- chapters ---- */

.g-about-story {
	display: grid;
	grid-template-columns: minmax(0, 230px) minmax(0, 1fr);
	gap: 70px;
	padding: 80px var(--g-gutter) 40px;
	align-items: start;
}

.g-about-chapters {
	display: flex;
	flex-direction: column;
	gap: 84px;
	max-width: 820px;
}

.g-about-chapter {
	display: flex;
	flex-direction: column;
	gap: 22px;
	/* Clears the fixed nav when jumped to from the index. */
	scroll-margin-top: 110px;
}

.g-about-chapter__no {
	font-size: 10px;
	letter-spacing: 0.3em;
	text-transform: lowercase;
	color: var(--g-gold);
}

.g-about-chapter__title {
	font-family: var(--g-serif);
	font-weight: 400;
	font-size: clamp(30px, 3.6vw, 54px);
	line-height: 1.06;
	text-transform: lowercase;
	letter-spacing: -0.01em;
}

.g-about-chapter__text {
	font-size: 16px;
	line-height: 2.05;
	color: var(--g-text-muted);
	text-wrap: pretty;
}

/* ------------------------------------------------------- milestone ------- */

/* Tighter and a touch smaller than the home page's use of the same component. */
.g-about-milestone {
	padding: 60px var(--g-gutter) 110px;
}

.g-about-milestone .g-manifesto__text {
	font-size: clamp(28px, 3.8vw, 64px);
	line-height: 1.16;
}

/* --------------------------------------------------------- welcome ------- */

.g-about-welcome {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1px;
	background: var(--g-line-mid);
	border-top: 1px solid var(--g-line-mid);
}

/* A lit panel rather than a photograph — no image in the source design. */
.g-about-welcome__panel {
	height: 520px;
	overflow: hidden;
	background:
		radial-gradient(120% 100% at 30% 20%, rgba(var(--g-gold-rgb), 0.22), rgba(var(--g-ink-rgb), 0) 62%),
		linear-gradient(160deg, var(--g-surface), var(--g-ink));
}

.g-about-welcome__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 24px;
	padding: 80px 60px;
	background: var(--g-ink);
}

.g-about-welcome__label {
	font-size: 10px;
	letter-spacing: 0.3em;
	text-transform: lowercase;
	color: var(--g-gold);
}

.g-about-welcome__title {
	font-family: var(--g-serif);
	font-weight: 400;
	font-size: clamp(28px, 3.2vw, 48px);
	line-height: 1.08;
	text-transform: lowercase;
}

.g-about-welcome__text {
	font-size: 15px;
	line-height: 2.05;
	color: var(--g-text-muted);
	text-wrap: pretty;
}

/* -------------------------------------------------------- ≤1024px ------- */

@media (max-width: 1024px) {
	.g-about-hero {
		grid-template-columns: minmax(0, 1fr);
		gap: 44px;
		padding-top: 130px;
	}

	/* Portrait first would push the whole story below the fold. */
	.g-about-hero__media {
		order: 2;
		height: 460px;
	}

	.g-about-story {
		grid-template-columns: minmax(0, 1fr);
		gap: 44px;
	}

	.g-about-welcome {
		grid-template-columns: minmax(0, 1fr);
	}

	.g-about-welcome__panel {
		height: 260px;
	}

	.g-about-welcome__body {
		padding: 54px 40px;
	}
}

/* --------------------------------------------------------- ≤700px ------- */

@media (max-width: 700px) {
	.g-about-hero {
		padding: 110px var(--g-gutter) 50px;
		gap: 34px;
	}

	.g-about-hero__media {
		height: 380px;
	}

	.g-about-hero__text {
		max-width: none;
	}

	.g-about-story {
		padding: 54px var(--g-gutter) 30px;
	}

	.g-about-chapters {
		gap: 54px;
	}

	.g-about-chapter__text {
		font-size: 15px;
		line-height: 1.95;
	}

	.g-about-milestone {
		padding: 40px var(--g-gutter) 70px;
	}

	.g-about-welcome__panel {
		height: 200px;
	}

	.g-about-welcome__body {
		padding: 40px var(--g-gutter);
	}
}
