/**
 * About page
 *
 * Scoped to the page-about template. Section colors come from each group's native
 * background/text color settings; eyebrows and buttons use the shared styles in sections.css.
 */

.bm-about-main {
	padding: 0;
}

.bm-about-content > * + * {
	margin-block-start: 0;
}

/* Sections ------------------------------------------------------------------ */

.bm-about-main .bm-about-section {
	padding: clamp(48px, 6vw, 88px) var(--bm-gutter);
}

.bm-about-main .bm-about-section > .alignwide {
	max-width: 1200px;
}

/* Flow layout puts a top margin on every block after the first; the grids below handle spacing. */
.bm-about-section > * + *,
.bm-about-hero__grid > *,
.bm-about-split > *,
.bm-about-pillars__grid > *,
.bm-about-craft__grid > * {
	margin-block: 0;
}

.bm-about-main h1,
.bm-about-main h2,
.bm-about-main h3 {
	margin: 0;
	font-family: var(--wp--preset--font-family--cormorant-garamond);
	font-weight: 500;
	line-height: 1.1;
	color: inherit;
	text-wrap: balance;
}

.bm-about-main h1 {
	font-size: var(--bm-fs-h1);
}

.bm-about-main h2 {
	font-size: var(--bm-fs-h2);
}

.bm-about-main h3 {
	font-size: var(--bm-fs-h3);
}

.bm-about-main p {
	font-size: var(--bm-fs-text);
	line-height: 1.75;
}

.bm-about-main .bm-eyebrow {
	margin-bottom: 14px;
	line-height: 1.4;
}

.bm-about-main a:not(.wp-block-button__link) {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25em;
}

/* Hero ---------------------------------------------------------------------- */

.bm-about-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	align-items: end;
	gap: clamp(24px, 5vw, 80px);
}

.bm-about-hero h1 {
	max-width: 16ch;
}

.bm-about-main .bm-about-hero__intro {
	max-width: 30rem;
	padding-left: 20px;
	border-left: 1px solid var(--bm-gold-rule);
	color: rgba(245, 240, 230, 0.78);
	font-size: var(--bm-fs-card);
	line-height: 1.6;
}

/* Two-column text (Perspective, Responsible Purchasing) --------------------- */

.bm-about-split {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(24px, 6vw, 96px);
	align-items: start;
}

.bm-about-split__body {
	max-width: 40rem;
}

.bm-about-split__body > p {
	margin: 0;
}

.bm-about-split__body > p + p {
	margin-top: 14px;
}

.bm-about-main .bm-about-lead {
	margin-bottom: 18px;
	font-family: var(--wp--preset--font-family--cormorant-garamond);
	font-size: var(--bm-fs-h3);
	line-height: 1.45;
}

.bm-about-split--note {
	padding-top: 24px;
	border-top: 1px solid rgba(37, 29, 24, 0.2);
}

.bm-about-main .bm-about-responsible {
	padding-block: clamp(36px, 4vw, 56px);
}

/* Pillars ------------------------------------------------------------------- */

.bm-about-pillars__head {
	margin-bottom: clamp(24px, 3vw, 40px);
}

.bm-about-pillars__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	border: 1px solid rgba(37, 29, 24, 0.16);
	background: rgba(37, 29, 24, 0.16);
}

.bm-about-pillar {
	padding: clamp(22px, 2.6vw, 36px);
	background: var(--wp--preset--color--ivory);
}

.bm-about-pillar > * {
	margin: 0;
}

.bm-about-main .bm-about-pillar__number {
	margin-bottom: 20px;
	color: var(--wp--preset--color--amber-deep);
	font-family: var(--wp--preset--font-family--manrope);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
}

.bm-about-pillar h3 {
	margin-bottom: 10px;
}

.bm-about-main .bm-about-pillar p:last-child {
	color: var(--wp--preset--color--ink-muted);
}

/* Heritage & Craft ---------------------------------------------------------- */

.bm-about-craft__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(28px, 6vw, 96px);
}

.bm-about-craft__figure {
	margin: 0;
	padding: clamp(16px, 2.5vw, 32px);
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--ink-muted);
}

.bm-about-craft__figure img {
	display: block;
	width: 100%;
	height: auto;
}

.bm-about-craft__figure figcaption {
	margin: 12px 0 0;
	font-size: 11px;
	letter-spacing: 0.04em;
	line-height: 1.5;
}

.bm-about-craft__copy h2 {
	margin-bottom: 18px;
}

.bm-about-craft__copy > p:not(.bm-eyebrow) {
	max-width: 36rem;
	margin: 0;
	color: rgba(245, 240, 230, 0.78);
}

.bm-about-craft__copy > p:not(.bm-eyebrow) + p {
	margin-top: 14px;
}

/* Centered calls to action (Collection, Contact) ---------------------------- */

.bm-about-explore,
.bm-about-contact {
	text-align: center;
}

.bm-about-main .bm-about-explore__inner,
.bm-about-main .bm-about-contact__inner {
	max-width: 40rem;
	margin-inline: auto;
}

.bm-about-explore__inner > *,
.bm-about-contact__inner > * {
	margin-block: 0;
}

.bm-about-explore__inner h2,
.bm-about-contact__inner h2 {
	margin-bottom: 14px;
}

.bm-about-contact__inner > p:not(.bm-eyebrow) {
	color: rgba(245, 240, 230, 0.78);
}

.bm-about-contact__inner a:not(.wp-block-button__link) {
	color: var(--wp--preset--color--gold);
}

.bm-about-main .bm-about-actions {
	gap: 12px;
	margin-top: 24px;
}

.bm-about-main a:focus-visible {
	outline: 2px solid var(--wp--preset--color--gold);
	outline-offset: 3px;
}

/* Responsive ---------------------------------------------------------------- */

@media (max-width: 781px) {
	.bm-about-hero__grid,
	.bm-about-split,
	.bm-about-craft__grid,
	.bm-about-pillars__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.bm-about-hero__grid {
		align-items: start;
	}

	.bm-about-craft__figure {
		max-width: 520px;
	}

	.bm-about-main .bm-about-lead {
		font-size: var(--bm-fs-card);
	}
}

@media (max-width: 479px) {
	.bm-about-main .bm-about-actions .wp-block-button {
		width: 100%;
	}

	.bm-about-main .bm-about-actions .wp-block-button__link {
		width: 100%;
	}
}
