/**
 * artorganic.world About page (page-about.php, brand/mockup-about.html)
 *
 * Enqueued only by page-about.php, after global.css. Scoped to .ao-about;
 * two classes (0,2,0) outrank global.css's "body a" / "body h2" rules.
 * Colours, fonts and radii come from tokens.css.
 */

.ao-about {
	--ao-gutter: var(--space-3);

	color: var(--ink);
	background-color: var(--paper);
}

.ao-about *,
.ao-about *::before,
.ao-about *::after {
	box-sizing: border-box;
}

.ao-about .ao-container {
	max-width: 1240px;
	margin-inline: auto;
	padding-inline: var(--ao-gutter);
}

.ao-about p {
	margin: 0;
}

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */

.ao-about .ao-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: var(--space-1);
}

.ao-about .ao-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 28px;
	border: 1.5px solid var(--indigo);
	border-radius: var(--radius-lg);
	font-size: var(--fs-sm);
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ao-about .ao-btn--solid {
	background-color: var(--indigo);
	color: var(--paper);
}

.ao-about .ao-btn--outline {
	background-color: transparent;
	color: var(--indigo);
}

.ao-about .ao-btn:is(:hover, :focus-visible) {
	background-color: var(--ink);
	border-color: var(--ink);
	color: var(--paper);
}

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

.ao-about .ao-about__hero {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-6);
	padding-block: clamp(var(--space-5), 6vw, 72px) var(--space-6);
}

.ao-about .ao-about__hero-text {
	flex: 1 1 min(480px, 100%);
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.ao-about .ao-eyebrow {
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--pigment);
}

.ao-about .ao-about__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(var(--fs-xl), 3.4vw + 1rem, var(--fs-3xl));
	font-weight: 700;
	line-height: 1.04;
	letter-spacing: -0.02em;
	color: var(--ink);
}

.ao-about .ao-about__lead {
	font-size: clamp(var(--fs-base), 0.4vw + 0.95rem, var(--fs-md));
	line-height: 1.6;
	color: var(--ink-soft);
}

.ao-about .ao-about__photo {
	position: relative;
	display: block;
	flex: 1 1 min(420px, 100%);
	height: 380px;
	overflow: hidden;
	border-radius: var(--radius-lg);
	background-color: var(--sand);
}

.ao-about .ao-about__photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

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

.ao-about .ao-about__story {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 820px;
	margin-inline: auto;
	padding: var(--space-4) var(--ao-gutter) 56px;
	font-size: clamp(var(--fs-base), 0.2vw + 1rem, var(--fs-md));
	line-height: 1.75;
	color: var(--ink-soft);
}

/* global.css gives blockquotes a pigment border; the mockup has none. */
.ao-about .ao-about__quote {
	margin: var(--space-2) 0;
	padding: 0;
	border: 0;
	font-family: var(--font-display);
	font-size: clamp(var(--fs-md), 1.4vw + 1rem, var(--fs-xl));
	font-weight: 700;
	font-style: normal;
	line-height: 1.25;
	color: var(--indigo);
}

.ao-about .ao-about__quote p::before { content: "“"; }
.ao-about .ao-about__quote p::after { content: "”"; }

.ao-about .ao-about__turn {
	font-weight: 600;
	color: var(--ink);
}

/* ------------------------------------------------------------------ */
/* Two audience cards                                                  */
/* ------------------------------------------------------------------ */

.ao-about .ao-about__band {
	background-color: var(--paper-2);
}

.ao-about .ao-about__cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
	gap: var(--space-3);
	padding-block: clamp(var(--space-6), 6vw, 72px);
}

.ao-about .ao-about__card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 36px;
	border-radius: var(--radius);
	background-color: var(--paper);
}

.ao-about .ao-about__card h2 {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(var(--fs-md), 0.6vw + 1.1rem, var(--fs-lg));
	font-weight: 700;
	line-height: 1.2;
	color: var(--ink);
}

.ao-about .ao-about__card p {
	line-height: 1.7;
	color: var(--ink-soft);
}

.ao-about .ao-about__card a {
	margin-top: auto;
	padding-top: var(--space-1);
	font-weight: 600;
	color: var(--indigo);
}

.ao-about .ao-about__card a:is(:hover, :focus-visible) {
	color: var(--pigment);
}

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

.ao-about .ao-about__close {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
	padding-block: var(--space-10) 88px;
	text-align: center;
}

.ao-about .ao-about__close-lead {
	max-width: 640px;
	font-size: clamp(var(--fs-base), 0.2vw + 1rem, var(--fs-md));
	color: var(--ink-soft);
}

.ao-about .ao-about__close h2 {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(var(--fs-lg), 2vw + 1rem, var(--fs-2xl));
	font-weight: 700;
	line-height: 1.1;
	color: var(--ink);
}

.ao-about .ao-about__welcome {
	font-size: clamp(var(--fs-base), 0.4vw + 1rem, var(--fs-md));
	font-weight: 600;
	color: var(--indigo);
}

/* ------------------------------------------------------------------ */
/* Small screens (down to 390px)                                       */
/* ------------------------------------------------------------------ */

@media (max-width: 767px) {
	.ao-about .ao-about__photo {
		height: 280px;
	}

	.ao-about .ao-about__close {
		padding-block: var(--space-8);
	}

	/* Let the closing headline wrap naturally on narrow screens. */
	.ao-about .ao-about__br {
		display: none;
	}
}

@media (max-width: 600px) {
	.ao-about {
		--ao-gutter: var(--space-2);
	}

	.ao-about .ao-about__card {
		padding: var(--space-3);
	}

	.ao-about .ao-actions .ao-btn {
		flex: 1 1 auto;
	}
}
