.bp-brands {
	--bp-brands-ivory: #f6f2ea;
	--bp-brands-espresso: #221711;
	--bp-brands-bronze: #b18b63;
	/* Deeper bronze for text and focus rings: #b18b63 is under 3:1 on ivory. */
	--bp-brands-bronze-text: #8a6440;
	--bp-brands-body: #3d2e25;
	--bp-brands-muted: #6a5a4e;
	--bp-brands-line: rgba(34, 23, 17, 0.14);
	--bp-brands-ease: cubic-bezier(0.2, 0.7, 0.2, 1);

	padding: clamp(84px, 9vw, 136px) clamp(20px, 4vw, 64px);
	background: var(--bp-brands-ivory);
	color: var(--bp-brands-espresso);
}

.bp-brands__inner {
	display: grid;
	grid-template-columns: minmax(0, 35fr) minmax(0, 65fr);
	gap: 48px clamp(48px, 6vw, 112px);
	align-items: start;
	width: min(100%, 1380px);
	margin: 0 auto;
}

.bp-brands__intro {
	display: grid;
	gap: 26px;
	align-content: start;
}

.bp-brands__label {
	display: flex;
	gap: 14px;
	align-items: center;
	margin: 0;
	color: var(--bp-brands-muted);
	font: 500 11px/1.4 "IBM Plex Mono", monospace;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.bp-brands__label i {
	display: block;
	width: 48px;
	height: 1px;
	background: var(--bp-brands-bronze);
}

.bp-brands h2 {
	margin: 0;
	color: var(--bp-brands-espresso);
	font: 500 clamp(38px, 3.4vw, 54px)/1 "Bodoni Moda", serif;
	letter-spacing: -0.035em;
}

.bp-brands h2 em {
	display: block;
	color: var(--bp-brands-bronze-text);
	font-style: italic;
}

.bp-brands__text {
	max-width: 380px;
	margin: 0;
	color: var(--bp-brands-body);
	font: 400 16px/1.65 "Hanken Grotesk", sans-serif;
	text-wrap: pretty;
}

/* Manufacturer index */
.bp-brands__list {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--bp-brands-line);
	list-style: none;
}

.bp-brands__item {
	margin: 0;
	border-bottom: 1px solid var(--bp-brands-line);
}

.bp-brands__row {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr) auto;
	gap: 8px 20px;
	align-items: center;
	padding: clamp(24px, 2.4vw, 34px) 0;
	color: var(--bp-brands-espresso);
	text-decoration: none;
}

.bp-brands__index {
	align-self: start;
	padding-top: 0.9em;
	color: var(--bp-brands-muted);
	font: 500 11px/1 "IBM Plex Mono", monospace;
	letter-spacing: 0.12em;
}

.bp-brands__body {
	display: grid;
	gap: 10px;
	min-width: 0;
}

.bp-brands__name {
	font: 500 clamp(28px, 2.6vw, 40px)/1 "Bodoni Moda", serif;
	letter-spacing: -0.025em;
	transition: color 300ms ease;
}

.bp-brands__desc {
	color: var(--bp-brands-body);
	font: 400 15px/1.55 "Hanken Grotesk", sans-serif;
}

.bp-brands__meta {
	display: flex;
	gap: 16px;
	align-items: center;
}

.bp-brands__count {
	color: var(--bp-brands-muted);
	font: 500 11px/1.4 "IBM Plex Mono", monospace;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	white-space: nowrap;
}

.bp-brands__rule {
	display: block;
	width: 64px;
	height: 1px;
	background: var(--bp-brands-bronze);
	/* Width is reserved; scaling keeps the count from shifting. */
	transform: scaleX(0.375);
	transform-origin: right center;
	transition: transform 600ms var(--bp-brands-ease);
}

.bp-brands__arrow {
	color: var(--bp-brands-bronze-text);
	font-size: 18px;
	line-height: 1;
	transition: transform 300ms ease;
}

/* Hover and keyboard focus share one editorial emphasis. */
.bp-brands__row:focus-visible {
	outline: 3px solid var(--bp-brands-bronze-text);
	outline-offset: 6px;
}

.bp-brands__row:focus-visible .bp-brands__name {
	font-style: italic;
}

.bp-brands__row:focus-visible .bp-brands__rule {
	transform: scaleX(1);
}

.bp-brands__row:focus-visible .bp-brands__arrow {
	transform: translateX(4px);
}

@media (hover: hover) {
	.bp-brands__row:hover .bp-brands__name {
		font-style: italic;
	}

	.bp-brands__row:hover .bp-brands__rule {
		transform: scaleX(1);
	}

	.bp-brands__row:hover .bp-brands__arrow {
		transform: translateX(4px);
	}
}

@media (max-width: 900px) {
	.bp-brands__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.bp-brands__text {
		max-width: 520px;
	}
}

@media (max-width: 560px) {
	.bp-brands {
		padding-top: 72px;
		padding-bottom: 72px;
	}

	.bp-brands__inner {
		row-gap: 36px;
	}

	.bp-brands__row {
		grid-template-columns: 28px minmax(0, 1fr);
		gap: 14px 12px;
		padding: 22px 0;
	}

	.bp-brands__meta {
		grid-column: 2;
		justify-content: space-between;
	}

	.bp-brands__rule {
		margin-left: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bp-brands__name,
	.bp-brands__rule,
	.bp-brands__arrow {
		transition: none;
	}
}
