/*
 * About page (page-about.php). Figma: About NYCC 2184:626.
 * Below 1024 our interpretation: two-column sections stack, cards and tiles reflow.
 */

.about-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	padding-top: 8px;
}

.about-buttons .button {
	gap: 10px;
	padding: 15px 24px;
}

/* Hero, full bleed under the header (2184:663) */

.about-hero {
	position: relative;
	overflow: hidden;
	background: var(--plum);
	color: var(--bg);
}

.about-hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: var(--gradient-about-hero);
}

.about-hero__inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 64px;
	min-height: 780px;
	padding-top: 150px;
	padding-bottom: 44px;
}

.about-hero__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	max-width: 720px;
}

.about-hero .eyebrow--light {
	color: var(--white-75);
}

.about-hero__title {
	margin: 0;
	color: var(--bg);
	font-size: var(--fs-about-title);
	line-height: 1.04;
	letter-spacing: -0.025em;
}

.about-hero__text {
	max-width: 600px;
	margin: 0;
	color: var(--white-80);
	font-size: var(--fs-lead);
	line-height: 1.6;
}

.about-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 28px 0 0;
	border-top: 1px solid var(--white-20);
	list-style: none;
}

.about-stat {
	display: flex;
	align-items: center;
	gap: 14px;
}

.about-stat__value {
	flex-shrink: 0;
	font-family: var(--font-heading);
	font-size: var(--fs-h3);
	font-weight: var(--fw-semibold);
	line-height: normal;
	letter-spacing: -0.01em;
}

.about-stat__label {
	max-width: 130px;
	color: var(--white-70);
	font-size: var(--fs-body-sm);
	line-height: 1.4;
}

/* Our purpose (2184:689) */

.about-purpose {
	padding: 120px 0;
	background: var(--cream);
}

.about-purpose__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 80px;
}

.about-purpose__copy {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 560px;
}

.about-purpose__text {
	max-width: 540px;
	margin: 0;
	color: var(--muted);
	font-size: var(--fs-h6);
	line-height: 1.65;
}

.about-purpose__visual {
	position: relative;
	display: flex;
	flex-shrink: 0;
	align-items: flex-end;
	overflow: hidden;
	width: 620px;
	height: 460px;
	padding: 24px;
	border-radius: var(--radius-banner);
	background: var(--cream-2);
}

.about-purpose__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about-note {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	width: 340px;
	max-width: 100%;
	padding: 22px 24px;
	border-radius: var(--radius-card);
	background: var(--bg);
	box-shadow: var(--shadow-float);
}

.about-note p {
	margin: 0;
}

.about-note__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: var(--radius-tile-sm);
	background: var(--plum-tint-chip);
}

.about-note__title {
	color: var(--ink);
	font-size: var(--fs-intro);
	font-weight: var(--fw-semibold);
	line-height: normal;
}

.about-note__text {
	color: var(--muted);
	font-size: var(--fs-body-sm);
	line-height: 1.55;
}

/* What we are building (2184:701) */

.about-values {
	padding-top: 120px;
}

.about-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	margin-bottom: 56px;
	text-align: center;
}

.about-head .page-section-title {
	line-height: normal;
}

.about-values__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.about-value {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 32px 32px 36px;
	border-radius: var(--radius-banner);
	background: var(--cream);
}

.about-value__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 44px;
}

.about-value__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: var(--radius-tile-lg);
	background: var(--bg);
}

.about-value__number {
	color: var(--placeholder);
	font-family: var(--font-heading);
	font-size: var(--fs-h6);
	font-weight: var(--fw-semibold);
}

.about-value__title {
	margin: 0;
	color: var(--ink);
	font-size: var(--fs-h4-sm);
	line-height: normal;
	letter-spacing: var(--ls-h4);
}

.about-value__text {
	margin: 0;
	color: var(--muted);
	font-size: var(--fs-body-l);
	line-height: 1.6;
}

/* Image strip (2184:737) */

.about-strip {
	padding-top: 140px;
}

.about-strip__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 40px;
}

.about-strip__title {
	max-width: 640px;
}

.about-link {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	gap: 6px;
	color: var(--plum);
	font-size: var(--fs-body);
	font-weight: var(--fw-semibold);
	line-height: normal;
	text-decoration: none;
}

.about-link img {
	transition: transform var(--ease-hover);
}

.about-link:hover img {
	transform: translateX(2px);
}

.about-strip__tiles {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.about-tile {
	position: relative;
	overflow: hidden;
	height: 380px;
	border-radius: var(--radius-card-lg);
	background: var(--cream-2);
}

.about-tile__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about-tile__label {
	position: absolute;
	bottom: 14px;
	left: 14px;
	padding: 6px 12px;
	border-radius: var(--radius-pill);
	background: var(--white-92);
	color: var(--ink);
	font-size: var(--fs-small);
	font-weight: var(--fw-semibold);
	line-height: normal;
}

/* Why this library matters (2184:761) */

.about-why {
	padding: 140px 0;
}

.about-why__inner {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 80px;
}

.about-why__copy {
	display: flex;
	flex-direction: column;
	gap: 18px;
	max-width: 580px;
}

.about-why__title {
	font-size: var(--fs-section-sm);
	line-height: 1.15;
}

.about-why__text {
	margin: 0;
	color: var(--muted);
	font-size: var(--fs-longform);
	line-height: 1.65;
}

.about-why__aside {
	display: flex;
	flex: 0 1 560px;
	flex-direction: column;
	gap: 18px;
	padding-top: 44px;
}

.about-why__subtitle {
	margin: 0;
	color: var(--ink);
	font-size: var(--fs-h4-sm);
	line-height: normal;
}

.about-why__links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.about-why__links a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 56px;
	border-bottom: 1px solid var(--border);
	color: var(--ink);
	font-size: var(--fs-body-l);
	font-weight: var(--fw-semibold);
	line-height: normal;
	text-decoration: none;
}

.about-why__links a:hover {
	color: var(--plum);
}

.about-why__links img {
	transition: transform var(--ease-hover);
}

.about-why__links a:hover img {
	transform: translate(2px, -2px);
}

@media (max-width: 1279px) {
	.about-purpose__inner,
	.about-why__inner {
		gap: 48px;
	}

	.about-purpose__visual {
		width: 480px;
		height: 420px;
	}

	.about-strip__tiles {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.about-tile {
		height: 320px;
	}
}

@media (max-width: 1023px) {
	.about-hero__inner {
		min-height: 0;
		padding-top: 96px;
	}

	.about-hero::before {
		background: var(--gradient-about-hero-mobile);
	}

	.about-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 20px;
	}

	.about-purpose__inner,
	.about-why__inner {
		flex-direction: column;
		align-items: stretch;
	}

	.about-purpose__copy,
	.about-why__copy {
		max-width: none;
	}

	.about-purpose__visual {
		width: 100%;
		height: 440px;
	}

	.about-purpose {
		padding: 96px 0;
	}

	.about-values {
		padding-top: 96px;
	}

	.about-head {
		margin-bottom: 40px;
	}

	.about-values__list {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.about-strip {
		padding-top: 96px;
	}

	.about-strip__head {
		flex-direction: column;
		align-items: flex-start;
	}

	.about-why {
		padding: 96px 0;
	}

	.about-why__aside {
		flex-basis: auto;
		padding-top: 0;
	}
}

@media (max-width: 767px) {
	.about-hero__inner {
		gap: 48px;
		padding-top: 64px;
		padding-bottom: 32px;
	}

	.about-hero__text,
	.about-purpose__text,
	.about-why__text,
	.about-value__text {
		font-size: var(--fs-body-l);
	}

	.about-buttons .button {
		flex: 1 1 auto;
		justify-content: center;
	}

	.about-stat {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}

	.about-stat__value {
		font-size: var(--fs-h4-sm);
	}

	.about-purpose {
		padding: 72px 0;
	}

	.about-purpose__visual {
		height: auto;
		min-height: 400px;
		padding: 16px;
	}

	.about-note {
		width: 100%;
		padding: 20px;
	}

	.about-values {
		padding-top: 72px;
	}

	.about-value {
		padding: 24px;
	}

	.about-value__top {
		padding-bottom: 24px;
	}

	.about-strip {
		padding-top: 72px;
	}

	.about-strip__tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.about-tile {
		height: 240px;
	}

	/* The fifth tile spans the row. */
	.about-tile:last-child {
		grid-column: 1 / -1;
	}

	.about-why {
		padding: 72px 0;
	}

	.about-why__title {
		font-size: var(--fs-section-sm);
	}
}

@media (prefers-reduced-motion: reduce) {
	.about-link img,
	.about-why__links img {
		transition: none;
	}
}
