/*
 * Unit17 About page (page-templates/about.php).
 *
 * Layout only. Colours, type, buttons, kickers, headings, cards and photo
 * bands come from u17-system.css — do not restyle them here.
 */

.u17-about {
	font-family: var(--u17-font);
	font-weight: 300;
	color: var(--u17-text);
	background: var(--u17-white);
	overflow-x: clip;
}

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

.u17-about figure {
	margin: 0;
}

.u17-about img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.u17-about__head {
	max-width: 760px;
	margin-bottom: clamp(36px, 5vw, 64px);
}

/* ============================================================ hero */
.u17-about__hero {
	align-items: flex-end;
	min-height: clamp(560px, 86vh, 860px);
	background: var(--u17-ink);
	--u17-photo-scrim:
		linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.55) 70%, rgba(0, 0, 0, 0.88) 100%),
		linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 60%);
}

.u17-about__hero-img {
	object-position: 50% 62%;
}

.u17-about__hero-inner {
	width: 100%;
	padding-bottom: clamp(48px, 8vw, 96px);
}

.u17-about__hero .u17-kicker {
	color: var(--u17-teal);
}

.u17-about__hero-title {
	max-width: 900px;
	margin-bottom: 22px;
	color: var(--u17-white);
}

.u17-about__hero-title span {
	color: var(--u17-teal);
}

.u17-about__hero-lead {
	max-width: 620px;
	margin: 0 0 34px;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.86);
}

/* ============================================================ numbers */
.u17-about__stats {
	background: var(--u17-ink);
	border-top: 3px solid var(--u17-teal);
}

.u17-about__stats-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	max-width: calc(var(--u17-wrap) + 2 * var(--u17-gutter));
	margin: 0 auto;
	padding: 0 var(--u17-gutter);
	list-style: none;
}

.u17-about__stats-list li {
	display: flex;
	flex-direction: column;
	gap: var(--u17-space-1);
	padding: 34px var(--u17-space-4);
	border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.u17-about__stats-list li:first-child {
	border-left: 0;
	padding-left: 0;
}

.u17-about__stats-list strong {
	font-size: clamp(32px, 3.4vw, 46px);
	font-weight: 600;
	line-height: 1;
	color: var(--u17-teal);
}

.u17-about__stats-list span {
	font-size: var(--u17-fs-label);
	font-weight: 400;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7);
}

/* ============================================================ split sections */
.u17-about__split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: clamp(40px, 6vw, 96px);
}

.u17-about__split--reverse > :first-child {
	order: 2;
}

.u17-about__copy {
	max-width: 580px;
}

.u17-about__media {
	overflow: hidden;
	background: var(--u17-paper);
}

.u17-about__media--tall {
	aspect-ratio: 4 / 5;
}

.u17-about__media img {
	transition: transform var(--u17-slow) var(--u17-ease);
}

.u17-about__media:hover img {
	transform: scale(1.03);
}

/* who we are: a teal offset frame behind the photo */
.u17-about__intro .u17-about__media {
	position: relative;
	box-shadow: 18px 18px 0 var(--u17-teal);
}

/* ---------- own designs ---------- */
.u17-about__pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--u17-space-3);
}

.u17-about__pair .u17-about__media {
	aspect-ratio: 2 / 3;
	background: var(--u17-surface-3);
}

.u17-about__media--offset {
	margin-top: var(--u17-space-6);
}

.u17-about__ticks {
	margin: 6px 0 30px;
	padding: 0;
	list-style: none;
}

.u17-about__ticks li {
	position: relative;
	padding: 12px 0 12px 34px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 16px;
	color: var(--u17-white);
}

.u17-about__ticks li:last-child {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.u17-about__ticks li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 50%;
	width: 14px;
	height: 7px;
	border-left: 2px solid var(--u17-teal);
	border-bottom: 2px solid var(--u17-teal);
	transform: translateY(-70%) rotate(-45deg);
}

/* ============================================================ process */
.u17-about__steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.u17-about__steps li {
	position: relative;
	padding: 36px 30px 40px;
	background: var(--u17-white);
}

.u17-about__steps li::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 48px;
	height: 3px;
	background: var(--u17-teal);
	transition: width 0.35s var(--u17-ease);
}

.u17-about__steps li:hover::before {
	width: 100%;
}

.u17-about__step-no {
	display: block;
	margin-bottom: 26px;
	font-size: 44px;
	font-weight: 600;
	line-height: 1;
	color: var(--u17-teal-text); /* teal text on white needs the darker teal (3:1 for large text) */
}

.u17-about__steps p {
	margin: 0;
	font-size: var(--u17-fs-small);
	line-height: 1.65;
	color: var(--u17-muted);
}

/* ============================================================ quote band */
.u17-about__band {
	min-height: clamp(420px, 62vh, 640px);
	--u17-photo-scrim: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.55) 50%, rgba(0, 0, 0, 0.2) 100%);
}

.u17-about__band > img {
	object-position: 50% 55%;
}

.u17-about__quote {
	width: 100%;
	margin-block: 0;
	padding-block: 60px;
	border: 0;
}

.u17-about__quote p {
	max-width: 760px;
	margin: 0 0 22px;
	padding-left: 34px;
	border-left: 3px solid var(--u17-teal);
	font-size: clamp(24px, 2.8vw, 38px);
	font-weight: 300;
	line-height: 1.3;
	color: var(--u17-white);
}

.u17-about__quote cite {
	display: block;
	padding-left: 37px;
	font-size: var(--u17-fs-label);
	font-style: normal;
	font-weight: 500;
	letter-spacing: var(--u17-tracking-label);
	text-transform: uppercase;
	color: var(--u17-teal);
}

/* ============================================================ standards */
.u17-about__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--u17-space-4);
}

.u17-about__card svg {
	width: 40px;
	height: 40px;
	margin-bottom: 22px;
	fill: none;
	stroke: var(--u17-teal);
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.u17-about__card a {
	color: var(--u17-teal-text);
	font-weight: 500;
	white-space: nowrap;
}

/* ============================================================ mosaic */
.u17-about__mosaic {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: clamp(180px, 20vw, 300px);
	gap: var(--u17-space-1);
	padding: var(--u17-space-1);
	background: var(--u17-black);
}

.u17-about__tile {
	overflow: hidden;
}

.u17-about__tile--wide {
	grid-column: span 2;
	grid-row: span 2;
}

.u17-about__tile img {
	filter: saturate(0.92);
	transition: transform var(--u17-slow) var(--u17-ease), filter 0.4s;
}

.u17-about__tile:hover img {
	transform: scale(1.04);
	filter: saturate(1.05);
}

/* ============================================================ curated range */
.u17-about__range-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: clamp(40px, 6vw, 96px);
}

.u17-about__makes {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--u17-space-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.u17-about__makes a {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: var(--u17-space-2);
	padding: 20px 22px;
	background: var(--u17-paper);
	border-left: 3px solid transparent;
	font-size: 20px;
	font-weight: 500;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--u17-ink);
	text-decoration: none;
	transition: border-color var(--u17-fast), background-color var(--u17-fast);
}

.u17-about__makes a:hover,
.u17-about__makes a:focus-visible {
	background: var(--u17-white);
	border-left-color: var(--u17-teal);
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

.u17-about__makes span {
	font-size: 18px;
	color: var(--u17-teal-text);
	transition: transform var(--u17-fast);
}

.u17-about__makes a:hover span {
	transform: translateX(4px);
}

/* ============================================================ closing */
.u17-about__cta {
	min-height: clamp(460px, 70vh, 700px);
	text-align: center;
	--u17-photo-scrim: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.25) 70%, rgba(0, 0, 0, 0.45) 100%);
}

.u17-about__cta > img {
	object-position: 50% 58%;
}

.u17-about__cta-inner {
	width: 100%;
	max-width: 760px;
	margin: 0 auto;
	padding: 80px var(--u17-gutter);
}

.u17-about__cta-title {
	margin-bottom: 16px;
	color: var(--u17-white);
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.u17-about__cta-inner > p {
	margin: 0;
	font-size: var(--u17-fs-body);
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.85);
}

.u17-about__cta .u17-actions {
	justify-content: center;
	margin-top: 30px;
}

.u17-about__cta-inner > p.u17-about__social {
	margin-top: 34px;
	font-size: 14px;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.u17-about__social a {
	white-space: nowrap;
	color: var(--u17-white);
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.u17-about__social a:hover {
	color: var(--u17-teal);
	border-bottom-color: var(--u17-teal);
}

.u17-about__social span {
	margin: 0 10px;
	color: var(--u17-teal);
}

/* ============================================================ responsive */
@media (max-width: 1024px) {
	.u17-about__steps,
	.u17-about__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 900px) {
	.u17-about__split,
	.u17-about__range-inner {
		grid-template-columns: 1fr;
	}

	.u17-about__split--reverse > :first-child {
		order: 0;
	}

	.u17-about__copy {
		max-width: none;
	}

	.u17-about__intro .u17-about__media {
		aspect-ratio: 4 / 3;
		margin-right: 18px;
	}

	.u17-about__mosaic {
		grid-template-columns: repeat(2, 1fr);
		grid-auto-rows: clamp(150px, 38vw, 260px);
	}

	.u17-about__stats-list li {
		padding: 26px 18px;
	}
}

@media (max-width: 600px) {
	.u17-about__hero {
		min-height: 88svh;
	}

	.u17-about__hero-img {
		object-position: 62% 60%;
	}

	.u17-about__stats-list {
		grid-template-columns: repeat(2, 1fr);
		padding: 0;
	}

	.u17-about__stats-list li,
	.u17-about__stats-list li:first-child {
		padding: var(--u17-space-4) 20px;
		border-left: 0;
		border-top: 1px solid rgba(255, 255, 255, 0.1);
	}

	.u17-about__stats-list li:nth-child(even) {
		border-left: 1px solid rgba(255, 255, 255, 0.1);
	}

	.u17-about__steps,
	.u17-about__grid,
	.u17-about__makes {
		grid-template-columns: 1fr;
	}

	.u17-about__media--offset {
		margin-top: var(--u17-space-5);
	}

	.u17-about__quote p {
		padding-left: 20px;
	}

	.u17-about__quote cite {
		padding-left: 23px;
	}
}

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

/* ============================================================ author (Posts → Blog author) */
.u17-about__author {
	scroll-margin-top: calc(var(--u17-sticky-top, 0px) + 24px);
}

.u17-about__author-inner {
	display: flex;
	gap: clamp(20px, 4vw, 48px);
	align-items: center;
	max-width: 900px;
}

.u17-about__author-photo {
	flex: none;
	width: 160px;
	height: 160px;
	border-radius: 50%;
	object-fit: cover;
}

.u17-about__author-link {
	color: var(--u17-teal-text);
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.u17-about__author-link:hover,
.u17-about__author-link:focus-visible {
	color: var(--u17-ink);
}

.u17-about__author-role {
	margin-top: -8px;
	font-weight: 500;
	color: var(--u17-muted);
}

@media (max-width: 600px) {
	.u17-about__author-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.u17-about__author-photo {
		width: 120px;
		height: 120px;
	}
}
