/**
 * The redesigned About page (Ben, 26 Nov 2026). Markup in inc/about-edge.php; loaded after work-edge.css, whose hero, client band, closing panel, panel spacing and type
 * rules it shares (its header lists them). What is About's own is here: the petrol hero scrim, "How Form works" and the team.
 *
 * Ben's direction on the preview: it felt cold and dark, so no panel is near-black. The page runs petrol (the client band, #123840) and lighter tints of it, with the preview's
 * orange and cyan as the accents. Type, spacing and radii are the site's tokens; no pixel size is written for copy; no `!important`.
 */

.work-edge--about {
	/* The petrol hero tone the picture fades into, then the lighter tints of it (contrast checked against the text each carries). */
	--about-petrol: #0c2f37;
	--about-mist: #e1eff0;
	--about-cyan: #00cafa;
	--about-teal-text: #0b5f6f;
}

html[data-contrast="high"] .work-edge--about {
	--about-mist: var(--white);
	--about-cyan: var(--ink);
	--about-teal-text: var(--ink);
}

/* ------------------------------------------------------------------- hero */
/* The studio picture runs the full width; the scrim is petrol rather than the Work pages' purple-black, so the photograph keeps its warmth. */
.work-edge--about.work-edge--hero-full .edge-hero::before {
	background:
		linear-gradient(90deg, color-mix(in srgb, var(--about-petrol) 94%, transparent), color-mix(in srgb, var(--about-petrol) 76%, transparent) 38%, color-mix(in srgb, var(--about-petrol) 22%, transparent) 66%, transparent 90%),
		linear-gradient(0deg, color-mix(in srgb, var(--about-petrol) 62%, transparent), transparent 52%);
}

.work-edge--about .edge-hero-media img {
	object-position: 62% 40%;
}

/* "Experienced people." stays on one line at desktop widths, as in the preview. */
.work-edge--about.work-edge--hero-full .edge-hero-copy {
	max-width: min(860px, 100%);
}

.work-edge--about .edge-hero-copy .lead {
	max-width: 640px;
}

/* The beliefs anchor and the team anchor clear the fixed header. */
.work-edge--about :is(#about-beliefs, #team) {
	scroll-margin-top: var(--header-h);
}

/* Body copy is Inter (Ben, 26 Nov 2026); headings keep Rethink Sans. */
.work-edge--about :is(.about-edge-beliefs, .about-edge-team, .about-edge-close) :is(p, li) {
	font-family: var(--font-body);
}

/* ------------------------------------------- a heading left, its lead right */
.about-edge-head {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: clamp(24px, 6vw, 96px);
	align-items: end;
	margin-bottom: var(--edge-gap-block);
}

.work-edge--about .about-edge-head p {
	max-width: 54ch;
	margin: 0;
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	color: var(--work-body);
}

.work-edge--about :is(.about-edge-beliefs, .about-edge-team) .eyebrow {
	margin-bottom: var(--panel-eyebrow-gap);
	color: var(--about-teal-text);
}

.work-edge--about :is(.about-edge-beliefs, .about-edge-team) h2.display-sm {
	margin-bottom: 0;
}

/* ------------------------------------------------------- how Form works */
.about-edge-beliefs {
	padding-block: var(--edge-pad-y);
}

.about-edge-beliefs-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(28px, 4vw, 64px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.about-edge-beliefs-list li {
	padding-top: 22px;
	border-top: 3px solid var(--about-teal-text);
}

.about-edge-beliefs-list b {
	display: block;
	font-family: var(--font);
	font-size: calc(46px * var(--type-heading));
	font-weight: 900;
	line-height: 0.9;
	letter-spacing: -0.06em;
	color: var(--about-teal-text);
}

.about-edge-beliefs-list h3 {
	margin: 18px 0 0;
	font-size: calc(clamp(24px, 2.3vw, 32px) * var(--type-heading));
	line-height: 1.08;
	letter-spacing: -0.02em;
}

.work-edge--about .about-edge-beliefs-list p {
	margin: var(--edge-gap-text) 0 0;
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	color: var(--work-body);
}

/* -------------------------------------------------------------- the team */
.about-edge-team {
	padding-block: var(--edge-pad-y);
	background: var(--about-mist);
}

.about-edge-people {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(20px, 2.4vw, 32px);
}

.about-edge-person {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border-radius: var(--r-card);
	background: var(--white);
}

.about-edge-photo {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--about-petrol);
}

.about-edge-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 32%;
}

.about-edge-photo-fallback {
	display: grid;
	place-items: center;
	height: 100%;
	color: var(--white);
	font-size: calc(64px * var(--type-heading));
}

.about-edge-person-copy {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 26px clamp(22px, 2.4vw, 32px) 30px;
	border-top: 4px solid var(--about-cyan);
}

.work-edge--about .about-edge-person-copy .eyebrow {
	margin-bottom: 10px;
	color: var(--about-teal-text);
}

.about-edge-person h3 {
	margin: 0;
	font-size: calc(clamp(26px, 2.4vw, 34px) * var(--type-heading));
	line-height: 1.04;
	letter-spacing: -0.02em;
}

.work-edge--about .about-edge-person p {
	margin: 14px 0 0;
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	color: var(--work-body);
}

.about-edge-person a {
	/* The link sits at the foot of every card, whatever the length of the bio above it. */
	display: inline-block;
	align-self: flex-start;
	margin-top: auto;
	padding-top: 20px;
	font-weight: 700;
	color: var(--ink);
	text-underline-offset: 0.23em;
}

.about-edge-person a:is(:hover, :focus-visible) {
	color: var(--about-teal-text);
}

/* --------------------------------------------------------- closing panel */
/* The site's orange panel (components.css `.funnel`) keeps its own heading, buttons and (hidden) supporting line; only its space above and below is the page's panel space. */
.about-edge-close .btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

/* ---------------------------------------------------------- tablet and down */
@media (max-width: 1000px) {
	.about-edge-people {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 780px) {
	.about-edge-head {
		grid-template-columns: minmax(0, 1fr);
		align-items: start;
		gap: var(--edge-gap-text);
	}

	.about-edge-beliefs-list {
		grid-template-columns: minmax(0, 1fr);
	}

	.work-edge--about.work-edge--hero-full .edge-hero::before {
		background: linear-gradient(0deg, color-mix(in srgb, var(--about-petrol) 96%, transparent), color-mix(in srgb, var(--about-petrol) 80%, transparent) 54%, color-mix(in srgb, var(--about-petrol) 24%, transparent) 100%);
	}
}

@media (max-width: 640px) {
	.about-edge-people {
		grid-template-columns: minmax(0, 1fr);
	}
}
