/**
 * ADS Brand Portal: component styles.
 * Chrome stays neutral. The only colour on the page belongs to the client.
 * Override the tokens from Bricks (Settings > Custom code, or a theme style) rather than editing this file.
 */

:root {
	--bp-ink: #1c1c1c;
	--bp-text: #4a4a4a;
	--bp-muted: #8c8c8c;
	--bp-line: #e7e7e5;
	--bp-card: #f3f3f1;
	--bp-bg: #ffffff;
	--bp-pill: rgba(28, 28, 28, 0.88);
	--bp-radius: 4px;
	--bp-gap: clamp(16px, 2.5vw, 28px);
	--bp-font: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
	--bp-small: 0.8125rem;
	--bp-tiny: 0.75rem;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* Smooth scrolling for the section nav. portal.css only loads on portal pages. */
html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

/* Layout: used by the Bricks templates in bricks-templates/. Proportions follow the reference portal in the brief. */

.bp-layout {
	display: grid;
	grid-template-columns: var(--bp-sidebar, 300px) minmax(0, 1fr);
	min-height: 100vh;
	background: var(--bp-bg);
	font-family: var(--bp-font);
	color: var(--bp-text);
}

.bp-sidebar {
	position: sticky;
	top: 0;
	display: flex;
	flex-direction: column;
	gap: 32px;
	height: 100vh;
	overflow-y: auto;
	padding: 72px 24px 40px 64px;
}

.bp-admin-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--bp-font);
	font-size: 0.9375rem;
	color: var(--bp-text);
	text-decoration: none;
}

.bp-admin-link:hover {
	color: var(--bp-ink);
}

.bp-sidebar__meta {
	margin-top: auto;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.bp-ads-mark {
	display: inline-block;
	font-size: var(--bp-tiny);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bp-muted);
	text-decoration: none;
}

.bp-ads-mark:hover {
	color: var(--bp-ink);
}

.bp-main {
	box-sizing: border-box;
	width: 100%;
	padding: 72px clamp(20px, 6vw, 112px) 0;
}

.bp-main > * {
	max-width: var(--bp-column, 980px);
}

.bp-section {
	padding-block: 0 clamp(80px, 10vw, 128px);
	scroll-margin-top: 40px;
}

.bp-section > * + * {
	margin-top: var(--bp-gap);
}

/* Section and sub-section headings: dark, semibold, modest size. */
.bp-section__title {
	margin: 0 0 var(--bp-gap);
	font-family: var(--bp-font);
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: var(--bp-ink);
}

/* Foundation: a long pause between the title block and the introduction. */
.bp-section--foundation > .bp-section__title {
	margin-top: clamp(80px, 10vw, 150px);
}

.bp-foundation__title {
	margin: 0;
	font-size: clamp(1.875rem, 3vw, 2.5rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--bp-ink);
}

.bp-section > .bp-foundation__descriptor {
	margin-top: 10px;
	font-size: 1rem;
	color: var(--bp-muted);
}

.bp-foundation__hero {
	display: block;
	width: 100%;
	height: auto;
}

/* Running text keeps a readable measure even though tiles use the full column. */
.bp-foundation__intro,
.bp-section p {
	max-width: 68ch;
}

.bp-foundation__intro {
	line-height: 1.65;
}

.bp-page-footer {
	padding-block: 40px 56px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
}

.bp-page-footer::before {
	content: "";
	width: 32px;
	border-top: 1px solid var(--bp-line);
	margin-bottom: 12px;
}

.bp-page-footer p {
	max-width: 60ch;
	margin-inline: auto;
}

.bp-auth-page {
	display: grid;
	place-items: center;
	min-height: 100vh;
	padding: 48px 20px;
	background: var(--bp-bg);
}

.bp-auth-page__inner {
	width: 100%;
	max-width: 380px;
}

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

	.bp-sidebar {
		z-index: 10;
		height: auto;
		max-height: 100vh;
		gap: 12px;
		padding: 16px 20px;
		border-bottom: 1px solid var(--bp-line);
		background: var(--bp-bg);
	}

	.bp-sidebar__meta {
		display: none;
	}

	.bp-nav-open .bp-sidebar__meta {
		display: flex;
	}

	.bp-main {
		max-width: none;
		padding-top: 40px;
	}

	/* Clear the sticky mobile header when jumping to a section. */
	.bp-section {
		scroll-margin-top: 88px;
	}
}

/* Sidebar */

.bp-nav__list,
.bp-actions {
	list-style: none;
	margin: 0;
	padding: 0;
	font-family: var(--bp-font);
	font-size: 0.9375rem;
}

.bp-nav__link {
	position: relative;
	display: block;
	padding: 9px 0;
	color: var(--bp-muted);
	text-decoration: none;
	transition: color 0.15s ease;
}

.bp-nav__link:hover,
.bp-nav__link.is-active {
	color: var(--bp-ink);
}

/* Active item: a short vertical rule, never a highlight or bold weight. */
.bp-nav__link::before {
	content: "";
	position: absolute;
	left: -16px;
	top: 50%;
	width: 1.5px;
	height: 14px;
	background: currentColor;
	transform: translateY(-50%) scaleY(0);
	transition: transform 0.2s ease;
}

.bp-nav__link.is-active::before {
	transform: translateY(-50%) scaleY(1);
}

.bp-actions {
	font-size: 0.9375rem;
}

.bp-actions li + li {
	margin-top: 14px;
}

.bp-actions a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--bp-text);
	text-decoration: none;
}

.bp-actions svg {
	width: 15px;
	height: 15px;
	flex: none;
}

.bp-actions a:hover {
	color: var(--bp-ink);
}

.bp-nav-toggle {
	display: none;
	font: inherit;
	font-family: var(--bp-font);
	font-size: var(--bp-small);
	color: var(--bp-ink);
	background: none;
	border: 1px solid var(--bp-line);
	border-radius: 999px;
	padding: 6px 14px;
	cursor: pointer;
}

@media (max-width: 900px) {
	.bp-nav-toggle {
		display: inline-block;
	}

	.bp-nav {
		display: none;
		padding-top: 12px;
	}

	.bp-nav-open .bp-nav {
		display: block;
	}
}

.bp-updated,
.bp-caption,
.bp-studio-note,
.bp-footer p {
	font-family: var(--bp-font);
	font-size: var(--bp-tiny);
	color: var(--bp-muted);
	line-height: 1.5;
	margin: 0;
}

/* Tiles */

.bp-tile {
	margin: 0;
}

.bp-tile__media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bp-tile-bg, var(--bp-card));
	overflow: hidden;
}

.bp-tile__media > img,
.bp-tile__media > video {
	display: block;
	width: 100%;
	height: auto;
}

.bp-tile--logo .bp-tile__media,
.bp-tile--icon .bp-tile__media,
.bp-tile--diagram .bp-tile__media {
	aspect-ratio: 16 / 9;
	padding: 12%;
}

.bp-tile--logo .bp-tile__media > img,
.bp-tile--diagram .bp-tile__media > img {
	width: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.bp-tile--icon .bp-tile__media {
	aspect-ratio: 1;
	padding: 28%;
}

.bp-tile--icon .bp-tile__media > img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.bp-caption {
	margin-top: 10px;
}

.bp-caption__desc {
	display: block;
	margin-top: 2px;
}

.bp-grid {
	display: grid;
	gap: var(--bp-gap);
}

.bp-grid--marks,
.bp-stack {
	display: grid;
	gap: calc(var(--bp-gap) * 1.5);
}

.bp-grid--icons {
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
}

.bp-grid--misuse {
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	margin-top: calc(var(--bp-gap) * 1.5);
}



/* Hover pill: small, dark, top right, invisible until hover or focus. */

.bp-pill {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 2px;
	padding: 3px;
	background: var(--bp-pill);
	border-radius: 8px;
	color: #fff;
	font-family: var(--bp-font);
	font-size: var(--bp-tiny);
	font-weight: 600;
	opacity: 0;
	transform: translateY(-2px);
	transition: opacity 0.15s ease, transform 0.15s ease;
	pointer-events: none;
}

.bp-tile__media:hover .bp-pill,
.bp-tile__media:focus-within .bp-pill {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}

@media (hover: none) {
	.bp-pill {
		opacity: 1;
		transform: none;
		pointer-events: auto;
	}
}

.bp-pill__format,
.bp-pill__label {
	appearance: none;
	font: inherit;
	color: inherit;
	background: transparent;
	border: 0;
	padding: 5px 10px;
	border-radius: 6px;
}

.bp-pill__format {
	cursor: pointer;
	padding-right: 20px;
	background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%);
	background-position: calc(100% - 11px) 50%, calc(100% - 7px) 50%;
	background-size: 4px 4px;
	background-repeat: no-repeat;
}

.bp-pill__format option {
	color: var(--bp-ink);
}

.bp-pill__copy,
.bp-pill__download {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	color: inherit;
	background: none;
	border: 0;
	border-radius: 6px;
	cursor: pointer;
	position: relative;
}

.bp-pill [data-tip]::after {
	right: 0;
	background: rgba(28, 28, 28, 0.72);
}

.bp-pill__copy:hover,
.bp-pill__download:hover,
.bp-pill__format:hover {
	background-color: rgba(255, 255, 255, 0.14);
}

.bp-pill__copy.is-copied {
	background: rgba(255, 255, 255, 0.24);
}

.bp-pill :focus-visible,
.bp-copy:focus-visible,
.bp-copy-all:focus-visible,
.bp-nav a:focus-visible,
.bp-button:focus-visible {
	outline: 2px solid var(--bp-ink);
	outline-offset: 2px;
}

.bp-pill :focus-visible {
	outline-color: #fff;
}

/* Usage */

.bp-usage {
	display: grid;
	gap: calc(var(--bp-gap) * 1.5);
}

.bp-specs {
	display: flex;
	flex-wrap: wrap;
	gap: var(--bp-gap) calc(var(--bp-gap) * 2);
	margin: 0;
	font-family: var(--bp-font);
}

.bp-specs dt {
	font-size: var(--bp-tiny);
	color: var(--bp-muted);
}

.bp-specs dd {
	margin: 2px 0 0;
	color: var(--bp-ink);
}

/* Block header: title left, square icon buttons right. */

.bp-block__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 var(--bp-gap);
}

.bp-section > * + .bp-block__head,
.bp-section > div > * + .bp-block__head,
.bp-exports > * + .bp-block__head {
	margin-top: clamp(64px, 8vw, 104px);
}

.bp-block__title {
	margin: 0;
	font-family: var(--bp-font);
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: var(--bp-ink);
}

.bp-block__actions {
	display: flex;
	gap: 6px;
	flex: none;
}

.bp-icon-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	padding: 0;
	color: var(--bp-text);
	background: var(--bp-bg);
	border: 1px solid var(--bp-line);
	border-radius: 6px;
	cursor: pointer;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.bp-icon-btn:hover {
	color: var(--bp-ink);
	border-color: var(--bp-muted);
}

.bp-icon-btn svg {
	width: 15px;
	height: 15px;
}

/* Tooltips: small dark label under the button, from data-tip. */
[data-tip]::after {
	content: attr(data-tip);
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	z-index: 5;
	padding: 4px 8px;
	font-family: var(--bp-font);
	font-size: 11px;
	line-height: 1.3;
	white-space: nowrap;
	color: #fff;
	background: var(--bp-pill);
	border-radius: 4px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.15s ease;
}

[data-tip]:hover::after,
[data-tip]:focus-visible::after {
	opacity: 1;
}

[data-tip].is-copied::after {
	content: "Copied";
	opacity: 1;
}

/* Swatches: full colour cards, name top left, values bottom left. */

.bp-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.bp-swatch {
	flex: 1 1 calc(33.333% - 8px);
	min-width: 180px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 40px;
	min-height: 188px;
	padding: 14px 14px 12px;
	background: var(--bp-swatch);
	color: var(--bp-swatch-ink);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.07);
	font-family: var(--bp-font);
}

.bp-swatch__top {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.bp-swatch__name {
	font-size: 0.875rem;
	font-weight: 500;
}

.bp-swatch__role {
	font-size: var(--bp-tiny);
	opacity: 0.7;
}

.bp-swatch__specs {
	display: grid;
	gap: 6px;
	margin: 0;
	font-size: var(--bp-tiny);
}

.bp-swatch__specs > div {
	display: grid;
	grid-template-columns: 48px 1fr;
	align-items: baseline;
}

.bp-swatch__specs dt {
	font-size: 10px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	opacity: 0.6;
}

.bp-swatch__specs dd {
	margin: 0;
}

.bp-copy {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	padding: 0;
	cursor: copy;
	text-align: left;
}

.bp-copy:hover {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.bp-copy.is-copied::after {
	content: " Copied";
	opacity: 0.7;
}

/* Readable combinations: a clean list, sample chip, pairing, ratio, badge. */

.bp-table-wrap {
	overflow-x: auto;
}

.bp-contrast {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--bp-font);
	font-size: 0.875rem;
	color: var(--bp-ink);
}

.bp-contrast__head th {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.bp-contrast td {
	padding: 10px 16px 10px 0;
	border-bottom: 1px solid var(--bp-line);
	vertical-align: middle;
}

.bp-contrast td:first-child {
	width: 48px;
}

.bp-contrast td:last-child {
	width: 1%;
	padding-right: 0;
	text-align: right;
}

.bp-contrast__sample {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 26px;
	font-size: 12px;
	font-weight: 500;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.07);
}

.bp-contrast__ratio {
	width: 1%;
	font-size: var(--bp-tiny);
	color: var(--bp-muted);
	text-align: right;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.bp-badge {
	display: inline-block;
	min-width: 40px;
	padding: 3px 8px;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-align: center;
	white-space: nowrap;
	border: 1px solid var(--bp-line);
}

.bp-badge--aaa,
.bp-badge--aa {
	background: var(--bp-ink);
	border-color: var(--bp-ink);
	color: #fff;
}

.bp-badge--fail {
	color: var(--bp-muted);
}

/* Typography: each face named in itself, a quiet note, actions on the right. */

.bp-typefaces {
	display: grid;
}

.bp-typeface {
	padding: 24px 0;
	border-bottom: 1px solid var(--bp-line);
}

.bp-typeface:first-child {
	padding-top: 0;
}

.bp-typeface__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.bp-typeface__name {
	margin: 0;
	font-size: clamp(1.5rem, 2.6vw, 2.25rem);
	font-weight: 400;
	line-height: 1.15;
	color: var(--bp-ink);
}

.bp-typeface__meta,
.bp-typeface__note {
	max-width: 68ch;
	margin: 10px 0 0;
	font-family: var(--bp-font);
	font-size: 0.875rem;
	line-height: 1.65;
	color: var(--bp-text);
}

.bp-typeface__meta {
	font-size: var(--bp-tiny);
	color: var(--bp-muted);
}

.bp-typeface__files {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
	font-family: var(--bp-font);
	font-size: var(--bp-small);
}

.bp-link {
	color: var(--bp-ink);
	text-underline-offset: 3px;
	text-decoration-color: var(--bp-line);
}

.bp-link:hover {
	text-decoration-color: currentColor;
}

/* Type scale: label and meta on one line, specimen below. */

.bp-scale__row {
	padding: 18px 0 20px;
	border-bottom: 1px solid var(--bp-line);
}

.bp-scale__meta {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 10px;
	font-family: var(--bp-font);
	font-size: 10px;
	color: var(--bp-muted);
}

.bp-scale__label {
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bp-scale__detail {
	text-align: right;
}

.bp-scale__sample {
	margin: 0;
	line-height: 1.15;
	color: var(--bp-ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Photography */

.bp-prose {
	font-family: var(--bp-font);
	color: var(--bp-text);
	line-height: 1.65;
	max-width: 62ch;
}

.bp-photos-pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--bp-gap);
	margin-top: calc(var(--bp-gap) * 1.5);
}

@media (max-width: 600px) {
	.bp-photos-pair {
		grid-template-columns: 1fr;
	}
}

.bp-photos__label {
	margin: 0 0 10px;
	font-family: var(--bp-font);
	font-size: var(--bp-small);
	font-weight: 400;
	color: var(--bp-muted);
}

.bp-photos__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.bp-photos__grid .bp-tile__media > img {
	aspect-ratio: 1;
	object-fit: cover;
}

.bp-photos--dont img {
	filter: grayscale(0.2);
}

/* Collateral: flat artwork on a soft neutral card, true proportions, light shadow. */

.bp-collateral {
	display: grid;
	gap: calc(var(--bp-gap) * 1.5);
}

.bp-print .bp-tile__media {
	padding: clamp(28px, 7%, 64px);
	background: var(--bp-card);
}

.bp-print__sheet {
	width: 100%;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.07);
	overflow: hidden;
}

.bp-print__sheet img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bp-print--a4 .bp-print__sheet {
	max-width: 58%;
}

.bp-print-pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--bp-gap);
}

@media (max-width: 600px) {
	.bp-print-pair {
		grid-template-columns: 1fr;
	}
}

.bp-signature .bp-tile__media {
	padding: clamp(24px, 6%, 56px);
	background: var(--bp-card);
}

.bp-mail {
	width: 100%;
	max-width: 620px;
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.07);
	font-family: var(--bp-font);
	font-size: 14px;
	color: var(--bp-text);
	overflow: hidden;
}

.bp-mail__bar {
	display: flex;
	gap: 6px;
	padding: 10px 14px;
	border-bottom: 1px solid var(--bp-line);
}

.bp-mail__bar span {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--bp-line);
}

.bp-mail__head {
	padding: 10px 20px;
	border-bottom: 1px solid var(--bp-line);
	font-size: var(--bp-small);
}

.bp-mail__head p {
	margin: 2px 0;
}

.bp-mail__head span {
	display: inline-block;
	width: 64px;
	color: var(--bp-muted);
}

.bp-mail__body {
	padding: 20px;
	line-height: 1.6;
}

.bp-mail__body > p {
	margin: 0 0 12px;
}

.bp-mail__body > img,
.bp-mail__signature {
	display: block;
	max-width: 100%;
	height: auto;
	margin-top: 16px;
}

/* Motion */

.bp-motion .bp-tile__media {
	aspect-ratio: 16 / 9;
	background: #000;
}

.bp-motion__video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (hover: none) {
	.bp-motion .bp-tile__media {
		cursor: pointer;
	}
}

/* Exports */

.bp-actions-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 8px;
	margin-bottom: clamp(48px, 6vw, 72px);
}

.bp-action {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	font-family: var(--bp-font);
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--bp-ink);
	text-decoration: none;
	background: var(--bp-card);
	transition: background-color 0.15s ease;
}

.bp-action:hover {
	background: var(--bp-line);
}

.bp-action svg {
	width: 16px;
	height: 16px;
}

.bp-exports__group + .bp-exports__group {
	margin-top: clamp(48px, 6vw, 72px);
}

.bp-exports__heading {
	margin: 0 0 14px;
	font-family: var(--bp-font);
	font-size: 1rem;
	font-weight: 600;
	color: var(--bp-ink);
}

.bp-grid--exports {
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 12px;
}

.bp-tile--export .bp-tile__media {
	aspect-ratio: 1;
	padding: 20%;
}

.bp-tile--export .bp-tile__media > img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.bp-grid--export-images {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 16px;
}

.bp-tile--export-image .bp-tile__media > img {
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.bp-face-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 8px;
}

.bp-face-card {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	background: var(--bp-card);
	font-family: var(--bp-font);
	font-size: 0.875rem;
	color: var(--bp-ink);
}

.bp-face-card__aa {
	font-size: 1.375rem;
	line-height: 1;
}

.bp-face-card .bp-icon-btn {
	margin-left: auto;
	background: transparent;
	border-color: transparent;
}

@media (max-width: 600px) {
	.bp-grid--export-images {
		grid-template-columns: 1fr;
	}
}

/* Footer */

.bp-studio-note a,
.bp-footer a {
	color: inherit;
	text-underline-offset: 2px;
}

.bp-studio-note a:hover {
	color: var(--bp-ink);
}

.bp-footer p + p {
	margin-top: 4px;
}

/* Login and account */

.bp-auth,
.bp-account {
	max-width: 380px;
	font-family: var(--bp-font);
	color: var(--bp-text);
}

.bp-auth__title,
.bp-account__title {
	margin: 0 0 12px;
	font-size: 1.375rem;
	font-weight: 400;
	color: var(--bp-ink);
}

.bp-account__title {
	font-size: 1rem;
	margin-top: 32px;
}

.bp-auth__text {
	margin: 0 0 16px;
	line-height: 1.55;
}

.bp-auth__text--quiet {
	font-size: var(--bp-small);
	color: var(--bp-muted);
}

.bp-auth__notice {
	margin: 0 0 16px;
	padding: 10px 12px;
	font-size: var(--bp-small);
	background: var(--bp-card);
	border-radius: var(--bp-radius);
	color: var(--bp-ink);
}

.bp-form {
	display: grid;
	gap: 8px;
}

.bp-form__label {
	font-size: var(--bp-small);
	color: var(--bp-muted);
}

.bp-form__input {
	font: inherit;
	width: 100%;
	padding: 11px 12px;
	color: var(--bp-ink);
	background: var(--bp-bg);
	border: 1px solid var(--bp-line);
	border-radius: var(--bp-radius);
	margin-bottom: 8px;
}

.bp-form__input:focus {
	outline: none;
	border-color: var(--bp-ink);
}

.bp-button {
	display: inline-block;
	font: inherit;
	font-size: var(--bp-small);
	padding: 11px 18px;
	color: #fff;
	background: var(--bp-ink);
	border: 1px solid var(--bp-ink);
	border-radius: var(--bp-radius);
	text-decoration: none;
	cursor: pointer;
	text-align: center;
}

.bp-button--quiet {
	color: var(--bp-ink);
	background: transparent;
	border-color: var(--bp-line);
}

.bp-button--quiet:hover {
	border-color: var(--bp-ink);
}

.bp-auth__password {
	margin-top: 28px;
	font-size: var(--bp-small);
}

.bp-auth__password summary {
	cursor: pointer;
	color: var(--bp-muted);
	margin-bottom: 12px;
}

.bp-account__brands {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bp-account__brands li {
	padding: 10px 0;
	border-bottom: 1px solid var(--bp-line);
}

.bp-account__brands a {
	color: var(--bp-ink);
	text-decoration: none;
}

.bp-account__signout {
	margin-top: 32px;
	font-size: var(--bp-small);
}

.bp-account__signout a {
	color: var(--bp-muted);
}

/* Running text */

.bp-section p,
.bp-prose,
.bp-foundation__intro {
	font-family: var(--bp-font);
	font-size: 0.9375rem;
	line-height: 1.7;
	color: var(--bp-text);
}

/* Lightbox: dark overlay, centred image, square outlined controls. */

.bp-zoom {
	cursor: zoom-in;
}

.bp-lightbox {
	width: 100vw;
	max-width: none;
	height: 100vh;
	max-height: none;
	margin: 0;
	padding: 72px clamp(56px, 8vw, 120px);
	border: 0;
	background: rgba(12, 12, 12, 0.96);
	color: #fff;
}

.bp-lightbox::backdrop {
	background: rgba(12, 12, 12, 0.96);
}

.bp-lightbox[open] {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
}

.bp-lightbox__img {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 180px);
	object-fit: contain;
}

.bp-lightbox__caption {
	margin: 0;
	font-family: var(--bp-font);
	font-size: var(--bp-small);
	color: rgba(255, 255, 255, 0.6);
}

.bp-lightbox__btn {
	position: absolute;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	color: #fff;
	background: rgba(0, 0, 0, 0.4);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 4px;
	cursor: pointer;
}

.bp-lightbox__btn:hover {
	border-color: rgba(255, 255, 255, 0.5);
}

.bp-lightbox__btn:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.bp-lightbox__btn svg {
	width: 16px;
	height: 16px;
}

.bp-lightbox__close {
	top: 20px;
	right: 20px;
}

.bp-lightbox__prev,
.bp-lightbox__next {
	top: 50%;
	transform: translateY(-50%);
}

.bp-lightbox__prev {
	left: 20px;
}

.bp-lightbox__next {
	right: 20px;
}

@media (max-width: 600px) {
	.bp-lightbox {
		padding: 64px 16px;
	}

	.bp-lightbox__prev,
	.bp-lightbox__next {
		top: auto;
		bottom: 16px;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bp-pill,
	.bp-nav__link,
	.bp-nav__link::before {
		transition: none;
	}
}
