/**
 * PurposeLabs About page
 *
 * Mobile-first hero and origin-story layout. Loaded only on /about-us/.
 */

.about-page {
	margin-top: calc(-1 * var(--spacing-xl));
	background: var(--color-bg);
}

.about-hero {
	padding: 16px 0 48px;
	background: var(--color-bg);
}

.about-hero > .container {
	padding-right: 12px;
	padding-left: 12px;
}

.about-hero-grid {
	background: var(--color-bg);
}

.about-hero-copy {
	padding: 26px 8px 24px;
}

.about-hero .about-eyebrow,
.about-story .about-eyebrow {
	margin-bottom: 10px;
	color: var(--color-accent-text);
	font-size: 0.75rem;
	font-weight: 650;
	letter-spacing: 0.13em;
}

.about-hero .about-title {
	max-width: 10ch;
	margin: 0 0 18px;
	font-size: clamp(2.35rem, 11vw, 3rem);
	font-weight: 480;
	line-height: 1.03;
	letter-spacing: -0.05em;
	text-align: left;
}

.about-hero-lead {
	max-width: 35rem;
	margin: 0 0 24px;
	color: #4d586b;
	font-size: 1rem;
	line-height: 1.65;
}

.about-hero-actions {
	display: flex;
	align-items: stretch;
	flex-direction: column;
	gap: 14px;
}

.about-hero-actions .button {
	min-height: 50px;
	width: 100%;
	padding: 0.9rem 1.6rem;
}

.about-hero-actions .button:focus-visible {
	outline: 3px solid rgba(20, 106, 255, 0.42);
	outline-offset: 4px;
}

.about-hero-note {
	max-width: 31rem;
	margin: 20px 0 0;
	color: #70798a;
	font-size: 0.75rem;
	line-height: 1.55;
}

.about-hero-media {
	display: block;
	margin: 0 8px;
	border-radius: 18px;
	overflow: hidden;
	background: #eef4fb;
}

.about-hero-media img {
	display: block;
	width: 100%;
	height: auto;
}

.about-story {
	padding: 56px 0 60px;
	background: var(--color-bg);
}

.about-story-grid {
	display: grid;
	gap: 26px;
}

.about-story-heading h2 {
	max-width: 12ch;
	margin: 0;
	font-size: clamp(2rem, 9vw, 2.75rem);
	font-weight: 480;
	line-height: 1.08;
	letter-spacing: -0.045em;
}

.about-story-copy {
	max-width: 46rem;
}

.about-story-copy p {
	margin: 0 0 18px;
	color: var(--color-text-muted);
	font-size: 1rem;
	line-height: 1.78;
}

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

.about-story-copy .about-lead {
	color: #323b4b;
	font-size: 1.0625rem;
}

@media (min-width: 768px) {
	.about-hero {
		padding: 20px 24px 64px;
	}

	.about-hero > .container {
		padding-right: 0;
		padding-left: 0;
	}

	.about-hero-grid {
		border: 1px solid #dce4ef;
		border-radius: var(--radius-lg);
		overflow: hidden;
		background:
			radial-gradient(circle at 92% 4%, rgba(20, 106, 255, 0.13), transparent 34%),
			linear-gradient(145deg, #f9fbff 0%, #edf3fb 100%);
		box-shadow: 0 18px 50px rgba(23, 32, 51, 0.08);
	}

	.about-hero-copy {
		padding: 52px clamp(40px, 7vw, 72px) 40px;
	}

	.about-hero .about-title {
		font-size: clamp(3rem, 7vw, 4.25rem);
	}

	.about-hero-lead {
		font-size: 1.0625rem;
	}

	.about-hero-actions {
		align-items: center;
		flex-direction: row;
		gap: 24px;
	}

	.about-hero-actions .button {
		width: auto;
		min-width: 170px;
	}

	.about-hero-media {
		margin: 0;
		aspect-ratio: 3 / 2;
		border-radius: 0;
		border-top: 1px solid rgba(23, 32, 51, 0.08);
	}

	.about-hero-media img {
		height: 100%;
		object-fit: cover;
		object-position: center;
	}

	.about-story {
		padding: 76px 0 82px;
	}

	.about-story-grid {
		grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
		gap: clamp(48px, 8vw, 110px);
		align-items: start;
	}

	.about-story-heading {
		position: sticky;
		top: 120px;
	}

	.about-story-heading h2 {
		font-size: clamp(2.4rem, 4vw, 3.3rem);
	}

	.about-story-copy p {
		font-size: 1.0625rem;
	}

	.about-story-copy .about-lead {
		font-size: 1.16rem;
	}
}

@media (min-width: 980px) {
	.about-hero {
		padding-top: 24px;
	}

	.about-hero-grid {
		display: grid;
		grid-template-columns: minmax(420px, 0.9fr) minmax(0, 1.1fr);
		gap: clamp(40px, 5vw, 72px);
		align-items: center;
		border: 0;
		border-radius: 0;
		overflow: visible;
		background: transparent;
		box-shadow: none;
	}

	.about-hero-copy {
		display: flex;
		align-items: flex-start;
		justify-content: center;
		flex-direction: column;
		padding: 20px 0;
	}

	.about-hero .about-title {
		font-size: clamp(3.1rem, 4.5vw, 4.25rem);
	}

	.about-hero-media {
		min-height: 0;
		aspect-ratio: 3 / 2;
		align-self: center;
		border: 1px solid #e3e9f1;
		border-radius: 24px;
		box-shadow: 0 16px 38px rgba(23, 32, 51, 0.08);
	}

	.about-hero-media img {
		object-fit: contain;
	}
}
