/* ==========================================================================
   About page — Goodtop
   Loaded only on the /about/ page (see functions.php).
   Tokens come from assets/css/tokens.css — no hard-coded palette values below.
   ========================================================================== */

main.gt-about {
	max-width: none;
	padding: 0;
}

.gt-sec {
	padding-block: var(--gt-section-space);
}

.gt-sec--surface {
	background: var(--gt-surface);
}

.gt-sec--navy {
	background: var(--gt-navy);
	color: var(--gt-white);
}

.gt-wrap {
	max-width: var(--gt-container);
	margin-inline: auto;
	padding-inline: var(--gt-gutter);
}

.gt-narrow {
	max-width: 720px;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

.gt-about p {
	margin: 0 0 1.15em;
	max-width: 70ch;
	color: inherit;
}

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

.gt-eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 20px;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--gt-copper);
}

.gt-eyebrow::before {
	content: "";
	width: 40px;
	height: 2px;
	background: var(--gt-line);
}

.gt-h2 {
	margin: 0 0 24px;
	font-size: clamp(1.75rem, 1.2vw + 1.4rem, 2.5rem);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.015em;
	color: var(--gt-navy);
}

.gt-h2--light {
	color: var(--gt-white);
}

.gt-lead {
	font-size: 1.125rem;
	line-height: 1.62;
	color: var(--gt-text);
}

.gt-sec--navy .gt-h2,
.gt-sec--navy p {
	color: var(--gt-white);
}

.gt-terms {
	margin-top: clamp(24px, 3vw, 40px);
	padding-top: 20px;
	border-top: 1px solid var(--gt-border);
	font-size: 0.875rem;
	line-height: 1.6;
	color: var(--gt-muted);
	max-width: 82ch;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.gt-hero {
	padding-block: clamp(48px, 6vw, 96px) var(--gt-section-space);
}

.gt-hero__grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: clamp(32px, 5vw, 80px);
	align-items: center;
}

.gt-hero__title {
	margin: 0 0 24px;
	font-size: clamp(2.25rem, 3.2vw + 1.2rem, 4rem);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.025em;
	color: var(--gt-navy);
	text-wrap: balance;
}

/* --------------------------------------------------------------------------
   Image placeholders (photography to be supplied)
   -------------------------------------------------------------------------- */

.gt-media {
	margin: 0;
}

.gt-media__box {
	width: 100%;
	aspect-ratio: 4 / 3;
	background: #e9e9ec;
	border: 1px solid var(--gt-border);
	border-radius: var(--gt-radius-card);
}

.gt-media__box--landscape {
	aspect-ratio: 3 / 2;
}

.gt-media__box--wide {
	aspect-ratio: 16 / 6;
}

.gt-media__cap {
	margin-top: 10px;
	font-size: 0.75rem;
	line-height: 1.4;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--gt-subtle);
}

.gt-media--wide {
	margin-top: clamp(28px, 4vw, 48px);
}

/* --------------------------------------------------------------------------
   Stats band
   -------------------------------------------------------------------------- */

.gt-stats {
	padding-block: clamp(40px, 5vw, 72px);
}

.gt-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(24px, 3vw, 48px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.gt-stat::before {
	content: "";
	display: block;
	width: 24px;
	height: 2px;
	margin-bottom: 16px;
	background: var(--gt-line);
}

.gt-stat__value {
	display: block;
	font-family: var(--font-mono);
	font-variant-numeric: tabular-nums;
	font-size: clamp(1.75rem, 2.2vw + 1rem, 2.5rem);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.01em;
	color: var(--gt-white);
}

.gt-stat__label {
	display: block;
	margin-top: 10px;
	font-size: 0.75rem;
	line-height: 1.45;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
}

.gt-stats__note {
	margin: clamp(28px, 3vw, 40px) 0 0;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 0.75rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.6);
	max-width: 90ch;
}

/* --------------------------------------------------------------------------
   Two-column text / figure blocks
   -------------------------------------------------------------------------- */

.gt-split {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

.gt-split--reverse .gt-media {
	order: -1;
}

/* --------------------------------------------------------------------------
   Capability cards
   -------------------------------------------------------------------------- */

.gt-cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gt-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 28px;
	background: var(--gt-white);
	border: 1px solid var(--gt-border);
	border-radius: var(--gt-radius-card);
	box-shadow: var(--gt-shadow-soft);
	transition: border-color var(--gt-transition), box-shadow var(--gt-transition), transform var(--gt-transition);
}

.gt-card:hover {
	transform: translateY(-2px);
	border-color: var(--gt-copper);
	box-shadow: var(--gt-shadow-hover);
}

.gt-card__title {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--gt-navy);
}

.gt-card p {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--gt-muted);
	max-width: none;
}

/* --------------------------------------------------------------------------
   Process steps
   -------------------------------------------------------------------------- */

.gt-steps {
	margin: 0;
	padding: 0;
	list-style: none;
}

.gt-step {
	display: grid;
	grid-template-columns: 88px 1fr;
	gap: clamp(16px, 3vw, 32px);
	padding-block: clamp(20px, 2.4vw, 28px);
	border-top: 1px solid var(--gt-border);
}

.gt-step:last-child {
	border-bottom: 1px solid var(--gt-border);
}

.gt-step__num {
	font-family: var(--font-mono);
	font-size: 0.875rem;
	line-height: 1.6;
	letter-spacing: 0.06em;
	color: var(--gt-copper);
}

.gt-step__title {
	margin: 0 0 6px;
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--gt-navy);
}

.gt-step__body p {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--gt-muted);
	max-width: 76ch;
}

/* --------------------------------------------------------------------------
   Quality checklist
   -------------------------------------------------------------------------- */

.gt-checklist {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 32px;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}

.gt-checklist li {
	position: relative;
	padding-left: 24px;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--gt-text);
}

.gt-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.7em;
	width: 12px;
	height: 1px;
	background: var(--gt-copper);
}

/* --------------------------------------------------------------------------
   Markets and closing statement
   -------------------------------------------------------------------------- */

.gt-markets {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(20px, 3vw, 40px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.gt-market {
	padding-top: 18px;
	border-top: 1px solid var(--gt-border);
}

.gt-market__title {
	margin: 0 0 6px;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--gt-navy);
}

.gt-market__note {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.55;
	color: var(--gt-muted);
}

.gt-quote {
	margin: clamp(40px, 5vw, 72px) 0 0;
	padding-left: clamp(20px, 2.5vw, 28px);
	border-left: 2px solid var(--gt-copper);
	max-width: 62ch;
}

.gt-quote p {
	font-size: clamp(1.125rem, 0.9vw + 0.95rem, 1.5rem);
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: -0.01em;
	color: var(--gt-navy);
}

/* --------------------------------------------------------------------------
   Closing call to action
   -------------------------------------------------------------------------- */

.gt-cta {
	padding-block: clamp(48px, 6vw, 96px);
	text-align: center;
}

.gt-cta .gt-h2 {
	max-width: 24ch;
	margin-inline: auto;
}

.gt-cta p {
	max-width: 58ch;
	margin-inline: auto;
	font-size: 1.0625rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.78);
}

/* --------------------------------------------------------------------------
   Editor content (if the page itself is filled in)
   -------------------------------------------------------------------------- */

.gt-editor :where(h2, h3) {
	margin: 1.6em 0 0.6em;
	font-weight: 600;
	line-height: 1.25;
	color: var(--gt-navy);
}

.gt-editor :where(ul, ol) {
	padding-left: 1.25em;
	line-height: 1.7;
	color: var(--gt-text);
}

.gt-editor :where(img, figure) {
	max-width: 100%;
	height: auto;
	border-radius: var(--gt-radius-card);
}

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

@media (max-width: 1199px) {
	.gt-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gt-markets {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px clamp(20px, 3vw, 40px);
	}
}

@media (max-width: 1023px) {
	.gt-hero__grid,
	.gt-split {
		grid-template-columns: 1fr;
		gap: clamp(28px, 5vw, 44px);
	}

	.gt-split--reverse .gt-media {
		order: 0;
	}

	.gt-stats__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px;
	}
}

@media (max-width: 767px) {
	.gt-cards {
		grid-template-columns: 1fr;
	}

	.gt-markets {
		grid-template-columns: 1fr;
	}

	.gt-checklist {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.gt-step {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	.gt-media__box--wide {
		aspect-ratio: 16 / 10;
	}

	.gt-about p,
	.gt-card p,
	.gt-step__body p {
		font-size: 0.9375rem;
	}
}

@media (max-width: 479px) {
	.gt-stats__grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gt-about *,
	.gt-about *::before,
	.gt-about *::after {
		transition: none !important;
		animation: none !important;
	}

	.gt-card:hover {
		transform: none;
	}
}
