/* ============================================================================
   About page — split hero, story, founders, buckets
   ============================================================================ */

/* ---- Hero with full-bleed background photo ------------------------------- */
/* Uses .page-hero.page-hero--bg (two classes) so it beats the base .page-hero
   background from pages.css regardless of stylesheet load order. */
.page-hero.page-hero--bg {
	position: relative;
	display: flex;
	align-items: center;
	min-block-size: min(76vh, 660px);
	padding-block: clamp(var(--space-9), 10vw, var(--space-10));
	background-color: #14110d;
	background-image:
		linear-gradient(90deg, rgba(15, 13, 10, 0.92) 0%, rgba(15, 13, 10, 0.60) 100%),
		url("../../images/about-hero.webp");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border-bottom: none;
	overflow: hidden;
}

/* On wide screens fade the scrim to the right so more of the photo shows. */
@media (min-width: 900px) {
	.page-hero.page-hero--bg {
		background-image:
			linear-gradient(90deg, rgba(15, 13, 10, 0.86) 0%, rgba(15, 13, 10, 0.42) 55%, rgba(15, 13, 10, 0.12) 100%),
			url("../../images/about-hero.webp");
		background-position: center right;
	}
}

.about-hero__content {
	max-inline-size: 40rem;
}

/* Light text over the photo */
.page-hero--bg .page-hero__eyebrow {
	color: var(--accent);
}

.page-hero--bg .page-hero__title {
	color: var(--color-paper);
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.page-hero--bg .page-hero__lead {
	color: color-mix(in srgb, var(--color-paper) 85%, transparent);
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.30);
}

/* ---- Story --------------------------------------------------------------- */
.about-story__grid {
	align-items: start;
	gap: clamp(var(--space-6), 4vw, var(--space-8));
}

.about-story__body p {
	margin: 0 0 var(--space-5);
	font-size: var(--fs-body-lg);
	line-height: var(--lh-body);
	color: var(--text-secondary);
}

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

.about-story__pull {
	padding-left: var(--space-5);
	border-left: var(--border-thick) solid var(--accent);
	color: var(--text-primary) !important;
	font-weight: var(--fw-medium);
}

/* ---- Founders ------------------------------------------------------------ */
.about-team__list {
	display: grid;
	gap: var(--grid-gap);
}

.founder-profile {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--space-5);
	padding: clamp(var(--space-5), 3vw, var(--space-6));
	background: var(--bg-surface);
	border: var(--border-hairline) solid var(--border-default);
	border-radius: var(--radius-lg);
	transition: border-color var(--dur-base) var(--ease-standard),
		box-shadow var(--dur-slow) var(--ease-out);
}

.founder-profile:hover {
	border-color: var(--color-graphite);
	box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
	.founder-profile {
		grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
		gap: clamp(var(--space-5), 4vw, var(--space-8));
		align-items: start;
	}
}

.founder-profile__head {
	display: flex;
	align-items: center;
	gap: var(--space-4);
}

.founder-profile__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	inline-size: 56px;
	block-size: 56px;
	flex-shrink: 0;
	border-radius: var(--radius-pill);
	background: var(--color-ink);
	color: var(--color-paper);
	font-family: var(--font-display);
	font-weight: var(--fw-semibold);
	font-size: var(--fs-body-lg);
	letter-spacing: 0.02em;
}

.founder-profile__name {
	margin: 0 0 2px;
	font-family: var(--font-display);
	font-size: var(--fs-h4);
	font-weight: var(--fw-semibold);
	color: var(--text-primary);
}

.founder-profile__role {
	margin: 0;
	font-size: var(--fs-body-sm);
	color: var(--accent-strong);
	font-weight: var(--fw-medium);
}

.founder-profile__bio {
	margin: 0;
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	color: var(--text-secondary);
}

/* ---- What we do buckets -------------------------------------------------- */
.about-buckets__actions {
	display: flex;
	justify-content: center;
	margin-top: clamp(var(--space-6), 4vw, var(--space-8));
}

.about-buckets__actions .btn svg {
	transition: transform var(--dur-base) var(--ease-out);
}

.about-buckets__actions .btn:hover svg {
	transform: translateX(4px);
}

.bucket {
	display: flex;
	flex-direction: column;
	padding: clamp(var(--space-5), 3vw, var(--space-6));
	background: var(--bg-page);
	border: var(--border-hairline) solid var(--border-default);
	border-radius: var(--radius-lg);
	transition: transform var(--dur-slow) var(--ease-out),
		border-color var(--dur-base) var(--ease-standard);
}

.bucket:hover {
	transform: translateY(-4px);
	border-color: var(--color-ink);
}

.bucket__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	inline-size: 48px;
	block-size: 48px;
	margin-bottom: var(--space-5);
	border-radius: var(--radius-md);
	background: var(--accent-wash);
	color: var(--accent-strong);
}

.bucket__title {
	margin: 0 0 var(--space-2);
	font-family: var(--font-display);
	font-size: var(--fs-h4);
	font-weight: var(--fw-semibold);
	color: var(--text-primary);
}

.bucket__text {
	margin: 0;
	font-size: var(--fs-body-sm);
	line-height: var(--lh-body);
	color: var(--text-secondary);
}

/* Buckets are equal height in their grid row */
.about-buckets__grid .bucket {
	block-size: 100%;
}
