/**
 * About page (3a).
 */

.chb-about-hero {
	position: relative;
	padding: 64px 48px 56px;
	display: flex;
	align-items: center;
	gap: 36px;
}
/* Full-bleed background (same trick as .chb-hero in home.css): the wash
   extends to the viewport edge regardless of this section's own
   1280px-constrained width; actual content (avatar + text) stays put. */
.chb-about-hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 100vw;
	height: 100%;
	transform: translateX( -50% );
	background: radial-gradient( ellipse 700px 500px at 88% 8%, color-mix( in srgb, var( --accent ) 22%, transparent ), transparent 70% );
	z-index: 0;
	pointer-events: none;
}
.chb-about-hero > * {
	position: relative;
	z-index: 1;
}
.chb-about-hero__avatar {
	width: 140px;
	height: 140px;
	border-radius: 50%;
	flex: none;
	object-fit: cover;
	background: color-mix( in srgb, var( --ink ) 6%, var( --surface ) );
}
.chb-about-hero__name {
	font-family: var( --font-heading );
	font-weight: 800;
	font-size: 44px;
	letter-spacing: -0.02em;
	margin: 0 0 12px;
}
.chb-about-hero__teaser {
	font-size: 17px;
	line-height: 1.6;
	color: var( --muted );
	max-width: 560px;
	margin: 0 0 18px;
}

/* About body: real page content (bio + whatever else Chad adds --
   heading, category-mini-grid, brand-band). Only direct-child paragraphs
   (the bio) get the narrow reading measure; other blocks (grids, the
   brand band) keep their own full-width styling untouched. */
.chb-about-body > p {
	max-width: 720px;
	padding: 0 48px;
	font-size: 17px;
	line-height: 1.7;
	margin: 0 0 22px;
}
.chb-about-body > p:first-of-type {
	padding-top: 56px;
}
.chb-about-body > p:last-of-type {
	margin-bottom: 56px;
}

.chb-category-mini-grid {
	display: grid;
	grid-template-columns: repeat( 5, 1fr );
	gap: 16px;
}
.chb-category-mini-tile {
	border: 1px solid;
	border-radius: var( --radius-medium );
	padding: 16px;
	text-align: center;
	transition: transform 150ms ease;
}
.chb-category-mini-tile:hover {
	transform: translateY( -3px );
}
.chb-category-mini-tile__swatch {
	width: 26px;
	height: 26px;
	border-radius: 7px;
	margin: 0 auto 10px;
}
.chb-category-mini-tile__icon {
	object-fit: cover;
}
.chb-category-mini-tile__name {
	font-weight: 700;
	font-size: 13.5px;
}

.chb-brand-band--compact {
	margin: 0 48px 56px;
	padding: 36px 40px;
	gap: 36px;
}
.chb-brand-band--compact .chb-brand-band__marks img {
	width: 48px;
	height: 48px;
}
.chb-brand-band--compact .chb-brand-band__text {
	font-size: 14px;
	max-width: none;
}

/* ---- Tablet ---- */
@media ( max-width: 900px ) {
	.chb-about-hero {
		padding: 48px 32px;
		gap: 24px;
	}
	.chb-about-hero__avatar {
		width: 110px;
		height: 110px;
	}
	.chb-about-hero__name {
		font-size: 34px;
	}
	.chb-about-body > p {
		padding: 0 32px;
	}
	.chb-about-body > p:first-of-type {
		padding-top: 40px;
	}
	.chb-about-body > p:last-of-type {
		margin-bottom: 40px;
	}
	.chb-category-mini-grid {
		grid-template-columns: repeat( 3, 1fr );
	}
	.chb-brand-band--compact {
		margin: 0 32px 48px;
		padding: 28px;
		gap: 24px;
	}
}

/* ---- Mobile ---- */
@media ( max-width: 600px ) {
	.chb-about-hero {
		padding: 40px 20px;
		flex-direction: column;
		align-items: flex-start;
		gap: 18px;
	}
	.chb-about-hero__avatar {
		width: 88px;
		height: 88px;
	}
	.chb-about-hero__name {
		font-size: 28px;
		margin-bottom: 8px;
	}
	.chb-about-hero__teaser {
		font-size: 16px;
	}
	.chb-about-body > p {
		padding: 0 20px;
		font-size: 16px;
	}
	.chb-about-body > p:first-of-type {
		padding-top: 32px;
	}
	.chb-about-body > p:last-of-type {
		margin-bottom: 32px;
	}
	.chb-category-mini-grid {
		grid-template-columns: repeat( 2, 1fr );
	}
	.chb-brand-band--compact {
		margin: 0 20px 40px;
		padding: 20px;
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}
}
