/**
 * Sobre layout.
 *
 * Gutters and type below are local to Page 03. They are not theme.json tokens.
 * The five approved frames are validation points: one mobile-first rule set
 * plus the 768, 1024, and 1440 breakpoints. Sections grow with the copy.
 * Empty photographs keep a muted slot. That slot is an implementation
 * fallback, not approved content.
 */

.br-about {
	--br-about-gutter: 12px;

	background: var(--wp--preset--color--surface-base);
	color: var(--wp--preset--color--text-primary);
}

.br-about-hero__title,
.br-about-hero__intro,
.br-about-story__body,
.br-about-story__quote,
.br-about-essence__title,
.br-about-essence__text,
.br-about-purpose__title,
.br-about-purpose__body,
.br-about-moment__title,
.br-about-moment__text,
.br-about-chapters__body,
.br-about-chapters__quote,
.br-about-stores__title,
.br-about .br-section-header__title,
.br-about .br-section-header__eyebrow {
	overflow-wrap: anywhere;
}

.br-about .br-section-header {
	max-width: none;
}

.br-about-story .br-section-header,
.br-about-essence .br-section-header,
.br-about-moments .br-section-header {
	gap: 8px;
}

.br-about .br-section-header__eyebrow,
.br-about-kicker {
	text-transform: uppercase;
}

.br-about-kicker {
	margin: 0;
	color: var(--wp--preset--color--brand-accent);
	font-family: var(--wp--preset--font-family--plus-jakarta-sans);
	font-size: var(--wp--custom--type--label-overline--font-size);
	font-weight: var(--wp--custom--type--label-overline--font-weight);
	letter-spacing: var(--wp--custom--type--label-overline--letter-spacing);
	line-height: var(--wp--custom--type--label-overline--line-height);
}

.br-about-photo,
.br-about-media-fallback {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
}

.br-about-media-fallback {
	background: var(--wp--preset--color--surface-muted);
}

.br-about-hero {
	padding-inline: var(--br-about-gutter);
	background: var(--wp--preset--color--surface-subtle);
}

.br-about-hero__layout {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 40px 0;
}

.br-about-hero__content,
.br-about-story__content,
.br-about-purpose__title,
.br-about-purpose__body,
.br-about-chapters__quote,
.br-about-chapters__intro {
	min-width: 0;
}

.br-about-hero__content {
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: flex-start;
	min-width: 0;
}

.br-about-hero__title {
	margin: 0;
	color: var(--wp--preset--color--brand-primary);
	font-family: var(--wp--preset--font-family--plus-jakarta-sans);
	font-size: 32px;
	font-weight: 700;
	letter-spacing: -0.5px;
	line-height: 40px;
}

.br-about-hero__intro {
	margin: 0;
	color: var(--wp--preset--color--text-secondary);
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
}

.br-about-hero__media {
	position: relative;
	width: 100%;
	aspect-ratio: 700 / 480;
	overflow: hidden;
	border-radius: var(--wp--custom--radius--xl);
	background: var(--wp--preset--color--surface-muted);
}

.br-about-story {
	padding-inline: var(--br-about-gutter);
	background: var(--wp--preset--color--surface-base);
}

.br-about-story__layout {
	display: flex;
	flex-direction: column;
	gap: 32px;
	padding: 48px 0;
}

.br-about-story__content {
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
}

.br-about-story__body {
	color: var(--wp--preset--color--text-secondary);
	font-size: 15px;
	font-weight: 400;
	line-height: 22px;
}

.br-about-story__body p,
.br-about-purpose__body p,
.br-about-chapters__body p,
.br-about-essence__text p,
.br-about-moment__text p,
.br-about-story__quote p,
.br-about-chapters__quote p {
	margin: 0;
}

.br-about-story__body p + p {
	margin-top: 16px;
}

.br-about-purpose__body p + p,
.br-about-chapters__body p + p {
	margin-top: 20px;
}

.br-about-story__quote,
.br-about-chapters__quote {
	quotes: none;
}

.br-about-story__quote {
	margin: 0;
	padding: 0 0 0 12px;
	border: 0;
	border-left: 4px solid var(--wp--preset--color--brand-accent);
	color: var(--wp--preset--color--brand-primary);
	font-size: 18px;
	font-style: italic;
	font-weight: 600;
	line-height: 26px;
}

.br-about-story__media {
	position: relative;
	width: 100%;
	aspect-ratio: 350 / 380;
	overflow: hidden;
	border-radius: var(--wp--custom--radius--xl);
	background: var(--wp--preset--color--surface-muted);
}

.br-about-essence {
	background: var(--wp--preset--color--surface-subtle);
	padding: 48px var(--br-about-gutter);
}

.br-about-essence__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	margin-top: 32px;
}

.br-about-essence__card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
	padding: 20px 12px;
	border-radius: var(--wp--custom--radius--lg);
	background: var(--wp--preset--color--surface-base);
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--border-default);
}

.br-about-essence__title {
	margin: 0;
	color: var(--wp--preset--color--brand-primary);
	font-size: 18px;
	font-weight: 700;
	line-height: 23px;
}

.br-about-essence__text {
	color: var(--wp--preset--color--text-secondary);
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
}

.br-about-purpose {
	padding: 48px 0;
	background: var(--wp--preset--color--brand-primary);
	color: var(--wp--preset--color--text-inverse);
}

.br-about-purpose__inner {
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-items: center;
}

.br-about-purpose__title,
.br-about-purpose__body {
	width: calc(100% - (var(--br-about-gutter) * 2));
	margin-right: auto;
	margin-left: auto;
	color: var(--wp--preset--color--text-inverse);
	text-align: center;
}

.br-about-purpose__title {
	max-width: 1120px;
	margin-top: 0;
	margin-bottom: 0;
	font-size: 28px;
	font-weight: 700;
	line-height: 36px;
}

.br-about-purpose__body {
	max-width: 800px;
	font-size: 16px;
	font-weight: 400;
	line-height: 26px;
}

.br-about-moments {
	background: var(--wp--preset--color--surface-base);
	padding: 48px var(--br-about-gutter);
}

.br-about-moments__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 28px;
	margin-top: 32px;
}

.br-about-moment {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}

.br-about-moment__media {
	position: relative;
	width: 100%;
	height: 180px;
	overflow: hidden;
	border-radius: var(--wp--custom--radius--lg);
	background: var(--wp--preset--color--surface-muted);
}

.br-about-moment__copy {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

/* 16px / 1.2 on every mobile title. The first Figma card is 22px; docs/about-contract.md. */
.br-about-moment__title {
	margin: 0;
	color: var(--wp--preset--color--brand-primary);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
}

.br-about-moment__text {
	color: var(--wp--preset--color--text-secondary);
	font-size: 13px;
	font-weight: 400;
	line-height: 18px;
}

.br-about-chapters {
	display: flex;
	flex-direction: column;
	gap: 24px;
	align-items: center;
	padding: 48px 0;
	background: var(--wp--preset--color--surface-subtle);
}

.br-about-chapters__intro {
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: center;
	width: calc(100% - (var(--br-about-gutter) * 2));
}

.br-about-chapters__body {
	width: 100%;
	max-width: 800px;
	color: var(--wp--preset--color--text-secondary);
	font-size: 16px;
	font-weight: 400;
	line-height: 26px;
	text-align: center;
}

.br-about-chapters__quote {
	width: calc(100% - (var(--br-about-gutter) * 2));
	max-width: 900px;
	margin: 0;
	padding: 24px;
	border: 1.5px solid var(--wp--preset--color--border-default);
	border-radius: var(--wp--custom--radius--xl);
	background: var(--wp--preset--color--surface-base);
	color: var(--wp--preset--color--brand-primary);
	font-size: 22px;
	font-weight: 700;
	line-height: 30px;
	text-align: center;
}

.br-about-stores {
	background: var(--wp--preset--color--surface-base);
	padding: 48px var(--br-about-gutter);
}

.br-about-stores__inner {
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: center;
	text-align: center;
}

.br-about-stores__title {
	width: 100%;
	margin: 0;
	color: var(--wp--preset--color--brand-primary);
	font-size: 26px;
	font-weight: 700;
	line-height: 32px;
}

.br-about-stores__action {
	padding-top: 12px;
}

.br-about-stores .br-button {
	width: auto;
	max-width: 100%;
}

@media (min-width: 390px) {

	.br-about {
		--br-about-gutter: 20px;
	}

	.br-about-essence__card {
		padding-inline: 20px;
	}
}

@media (min-width: 768px) {

	.br-about {
		--br-about-gutter: 40px;
	}

	.br-about-hero__layout {
		gap: 48px;
		padding-top: 80px;
		padding-bottom: 80px;
	}

	.br-about-hero__content {
		gap: 24px;
	}

	.br-about-hero__title {
		font-size: 48px;
		letter-spacing: -1px;
		line-height: 56px;
	}

	.br-about-hero__intro {
		font-size: 18px;
		line-height: 28px;
	}

	.br-about-hero__media {
		height: 400px;
		aspect-ratio: auto;
	}

	.br-about-story__layout {
		gap: 64px;
		padding-top: 96px;
		padding-bottom: 96px;
	}

	.br-about-story__content {
		gap: 32px;
	}

	.br-about-story .br-section-header {
		gap: 16px;
	}

	.br-about-story__body {
		font-size: 18px;
		line-height: 28px;
	}

	.br-about-story__body p + p {
		margin-top: 20px;
	}

	.br-about-essence .br-section-header,
	.br-about-moments .br-section-header {
		gap: 12px;
	}

	.br-about-story__quote {
		padding-left: 20px;
		font-size: 20px;
		line-height: 30px;
	}

	.br-about-story__media {
		height: 480px;
		aspect-ratio: auto;
	}

	.br-about-essence,
	.br-about-moments {
		padding-top: 96px;
		padding-bottom: 96px;
	}

	.br-about-essence__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		margin-top: 64px;
	}

	.br-about-essence__card {
		gap: 16px;
		padding: 24px;
	}

	.br-about-essence__title {
		line-height: 26px;
	}

	.br-about-essence__text {
		line-height: 22px;
	}

	.br-about-purpose {
		padding-top: 96px;
		padding-bottom: 96px;
	}

	.br-about-purpose__inner {
		gap: 32px;
	}

	.br-about-purpose__title {
		font-size: 44px;
		line-height: 54px;
	}

	.br-about-purpose__body {
		font-size: 20px;
		line-height: 32px;
	}

	.br-about-moments__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
		margin-top: 64px;
	}

	.br-about-moment {
		gap: 20px;
	}

	.br-about-moment__copy {
		gap: 8px;
	}

	.br-about-moment__title {
		font-size: 18px;
		line-height: 24px;
	}

	.br-about-moment__text {
		font-size: 14px;
		line-height: 20px;
	}

	.br-about-moment__media {
		height: 260px;
	}

	.br-about-chapters {
		gap: 40px;
		padding-top: 96px;
		padding-bottom: 96px;
	}

	.br-about-chapters__intro {
		gap: 16px;
	}

	.br-about-chapters__body {
		font-size: 20px;
		line-height: 32px;
	}

	.br-about-chapters__quote {
		padding: 40px;
		font-size: 32px;
		line-height: 44px;
	}

	.br-about-stores {
		padding-top: 96px;
		padding-bottom: 96px;
	}

	.br-about-stores__inner {
		gap: 24px;
	}

	.br-about-stores__title {
		font-size: 36px;
		line-height: 44px;
	}
}

@media (min-width: 1024px) {

	.br-about {
		--br-about-gutter: 48px;
	}

	.br-about-hero__layout {
		flex-direction: row;
		gap: 64px;
		align-items: center;
		padding-top: 96px;
		padding-bottom: 96px;
	}

	.br-about-hero__content {
		flex: 1 1 auto;
	}

	.br-about-hero__media {
		flex: 0 0 700px;
		width: 700px;
		height: 480px;
	}

	.br-about-story__layout {
		flex-direction: row;
		gap: 80px;
		align-items: center;
		padding-top: 120px;
		padding-bottom: 120px;
	}

	.br-about-story__content {
		flex: 1 1 auto;
	}

	.br-about-story__media {
		flex: 0 0 520px;
		width: 520px;
		height: 560px;
	}

	.br-about-essence,
	.br-about-moments {
		padding-top: 120px;
		padding-bottom: 120px;
	}

	.br-about-essence__grid {
		gap: 32px;
		align-items: stretch;
	}

	.br-about-essence__card {
		gap: 16px;
		padding: 32px;
	}

	.br-about-essence__title {
		align-self: flex-start;
		width: max-content;
		max-width: calc(100% + 5px);
		font-size: 24px;
		line-height: 30px;
	}

	.br-about-purpose {
		padding-top: 120px;
		padding-bottom: 120px;
	}

	.br-about-purpose__title {
		width: calc(100% - 320px);
	}

	.br-about-chapters {
		padding-top: 120px;
		padding-bottom: 120px;
	}

	.br-about-chapters__intro {
		width: calc(100% - 320px);
		max-width: 1120px;
	}
}

@media (min-width: 1440px) {

	.br-about {
		--br-about-gutter: 80px;
	}

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