/**
 * about.css — About's page-specific overrides, per docs/ARCHITECTURE.md §7's
 * "pages/" cascade layer. Only enqueued on About (inc/enqueue.php), so
 * nothing here needs a page-scoped selector to stay contained.
 *
 * Ported directly from the inline <style> block in releases/v1.0/about.html.
 * The closing CTA reuses cta-band.php's `--split` variant and the FAQ
 * reuses faq-item.php — both already match About's rules exactly, so
 * neither is repeated here.
 */

/* About is the one page whose hero h1/sub sizing differs from the shared
   .page-hero default in hero.css — verified directly against every other
   subpage's inline stylesheet, all of which are identical to hero.css. */
.page-hero h1 {
	max-width: 18ch;
}

.page-hero .sub {
	margin-top: 18px;
	font-size: 16.5px;
}

/* Section heading pattern — About-only; no other subpage defines a bare
   `section h2` rule or `.lede`, each using its own hardcoded section markup
   instead (verified against every other page's inline stylesheet). */
section h2 {
	font-size: clamp(22px, 2.8vw, 28px);
	max-width: 24ch;
}

.lede {
	margin-top: 14px;
	font-size: 15.5px;
	color: var(--ink-soft);
	line-height: 1.75;
	max-width: 66ch;
}

/* "The Systems" */
.systems-list {
	margin-top: 28px;
}

.system-row {
	padding: 20px 0;
	border-top: 1px solid var(--line);
}

.system-row:last-child {
	border-bottom: 1px solid var(--line);
}

.system-row h3 {
	font-size: 16.5px;
	margin-bottom: 8px;
	font-weight: 700;
}

.system-row p {
	font-size: 14.5px;
	color: var(--ink-soft);
	line-height: 1.7;
	max-width: 64ch;
}

/* "Why It Matters" */
.meaning-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
	margin-top: 28px;
}

@media (max-width: 680px) {
	.meaning-grid {
		grid-template-columns: 1fr;
	}
}

.meaning-col {
	padding: 24px;
	background: var(--paper-raised);
	border: 1px solid var(--line);
	border-radius: 14px;
}

.meaning-col .who {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--oxblood);
	margin-bottom: 12px;
}

.meaning-col p {
	font-size: 14.5px;
	color: var(--ink-soft);
	line-height: 1.7;
}

/* "Why the Firm Exists" */
#why p {
	font-size: 16px;
	color: var(--ink-soft);
	line-height: 1.85;
	max-width: 66ch;
	margin-bottom: 28px;
}

/* Widened from the page's standard 760px content width (.wrap) so the
   biography column has room to breathe next to a 340px portrait — scoped
   to this one section only, not a sitewide change. Same established
   pattern as Home's own wider .wrap override. */
#why .wrap {
	max-width: var(--width-chrome);
}

.why-layout {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 44px;
	align-items: start;
	margin-top: 28px;
}

.why-portrait img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
}

@media (max-width: 820px) {
	.why-layout {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.why-portrait {
		order: -1;
		max-width: 340px;
	}
}

/* "Professional Background" — chronology */
.chrono-list {
	margin-top: 28px;
}

.chrono-row {
	padding: 20px 0;
	border-top: 1px solid var(--line);
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 4px 20px;
	align-items: baseline;
}

.chrono-row:last-child {
	border-bottom: 1px solid var(--line);
}

.chrono-row .who {
	font-size: 15.5px;
	font-weight: 700;
}

.chrono-row .years {
	font-family: var(--font-serif);
	font-style: italic;
	color: var(--oxblood);
	font-size: 13.5px;
	white-space: nowrap;
}

.chrono-row .role {
	font-size: 13.5px;
	color: var(--slate);
	grid-column: 1 / -1;
	margin-top: -2px;
}

.chrono-row .desc {
	grid-column: 1 / -1;
	font-size: 14px;
	color: var(--ink-soft);
	line-height: 1.65;
	margin-top: 8px;
	max-width: 64ch;
}

/* Documented, previously re-verified responsive edge case (see
   CHANGELOG.md "Responsive edge case fixed on About chronology rows" and
   its later re-verification entry) — re-verify explicitly at runtime
   again here per docs/IMPLEMENTATION_ROADMAP.md Phase 4.2, don't just
   trust the changelog record. */
@media (max-width: 520px) {
	.chrono-row {
		grid-template-columns: 1fr;
	}

	.chrono-row .years {
		grid-column: 1 / -1;
		order: -1;
		margin-bottom: 2px;
	}
}

.edu-list {
	margin-top: 24px;
	font-size: 14.5px;
	color: var(--ink-soft);
	line-height: 2;
}
