/* Emmys Brand Center — recreates the Frontify portal's look.
 * Measured from brand.theemmys.tv: Montserrat throughout; header #FAFAFA, 90px;
 * page title 30/500 gold; H2 22/700 #707171; H3 18/700; body 15/1.3 #676767;
 * side menu 236px with 16px items, 14px sub-items, 12px uppercase category labels. */

:root {
	--bc-gold: #F0B71C;
	--bc-gray: #707171;
	--bc-body: #676767;
	--bc-ink: #2D3232;
	--bc-header: #FAFAFA;
	--bc-rule: #E6E6E6;
	--bc-soft: #F1F1F1;
	--bc-tip: #77AD4E;
	--bc-info: #51ACE5;
	--bc-note: #ADB6B7;
	--bc-warning: #CD514F;
	--bc-do: #00C8A5;
	--bc-dont: #FF375A;
	--bc-gutter: clamp(16px, 3vw, 40px);
	--bc-header-h: 90px;
}

body { color: var(--bc-body); background: #fff; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > *, .bc-doc, .bc-home, .bc-wide { margin-block-start: 0 !important; }   /* flow layout puts a 24px gap above <main> */
a { color: var(--bc-ink); }
/* TT25 outlines every focused element, so a mouse click on a link or button leaves a 2px border. Frontify
   shows none on click: keep the outline for keyboard focus (:focus-visible) only. */
.wp-site-blocks :focus:not(:focus-visible) { outline: none; }
:where(.bc-content) a { color: #4A90E2; text-decoration: none; }   /* measured */
:where(.bc-content) a:hover { text-decoration: underline; text-underline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* ------------------------------------------------------------------ header */
.bc-header {
	position: sticky; top: 0; z-index: 50;
	display: flex; align-items: center; gap: 58px;
	min-height: var(--bc-header-h); padding: 14px 32px;
	background: var(--bc-header);
}
.bc-header > * { margin-block: 0 !important; }
.wp-block-template-part:has(> .bc-header) { position: sticky; top: 0; z-index: 50; }
.admin-bar .wp-block-template-part:has(> .bc-header) { top: var(--wp-admin--admin-bar--height, 32px); }   /* flow layout adds a 24px block gap to every child */
.bc-header__logo { flex: none; margin: 0; }
.bc-header__logo img { width: 98px !important; height: auto; display: block; }
.bc-topnav { flex: 1; min-width: 0; }
.bc-topnav ul { display: flex; flex-wrap: wrap; gap: 8px 32px; list-style: none; margin: 0; padding: 0; }
.bc-topnav a {
	display: inline-block; padding: 6px 0; border-bottom: 2px solid transparent;
	font-size: 14px; font-weight: 400; line-height: 1.3; color: var(--bc-ink); text-decoration: none;   /* measured: 14px Montserrat */
}
/* Frontify's top menu has no hover or current-page styling (the current page is announced to screen readers only). */
.bc-topnav a.bc-ext::after { content: "\2197"; margin-left: 4px; font-size: 11px; }
.bc-header__search { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 0 0 auto; color: var(--bc-ink); }
.bc-header__search:hover { color: #000; }

@media (max-width: 1279px) { .bc-header { gap: 24px; } .bc-topnav ul { gap: 8px 22px; } }

/* Hamburger + full-screen menu: Frontify switches at 1024px */
.bc-burger { display: none; }
.bc-drawer[hidden] { display: none; }
@media (max-width: 1024px) {
	.bc-header { gap: 8px; padding: 0 24px; }
	.bc-header__logo img { width: 63px !important; }
	.bc-topnav { display: none; }
	.bc-header__search { order: 2; }
	.bc-burger {
		order: 3; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--bc-ink);
	}
	.bc-header { gap: 16px; }
	.bc-header__search { width: 24px; height: 24px; }
	.bc-header__search svg { width: 24px; height: 24px; }
	.bc-burger span, .bc-burger span::before, .bc-burger span::after { content: ""; display: block; width: 20px; height: 1.6px; background: currentColor; border-radius: 1px; }
	.bc-burger span { position: relative; }
	.bc-burger span::before { position: absolute; top: -6px; }
	.bc-burger span::after { position: absolute; top: 6px; }
}
.bc-drawer {
	position: fixed; inset: 0; z-index: 1000; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
	background: #111110; color: rgba(255, 255, 255, .5); padding: 0;
}
.admin-bar .bc-drawer { top: var(--wp-admin--admin-bar--height, 46px); }
html.bc-drawer-open { overflow: hidden; }
.bc-drawer__bar { display: flex; justify-content: flex-end; align-items: center; gap: 16px; height: 96px; padding: 0 24px; box-sizing: border-box; }   /* search + close, as Frontify */
.bc-drawer__search, .bc-drawer__close { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; }
.bc-drawer__search svg { width: 24px; height: 24px; }
.bc-drawer__close { position: relative; }
.bc-drawer__close::before, .bc-drawer__close::after { content: ""; position: absolute; left: 3px; top: 11.2px; width: 18px; height: 1.6px; background: #fff; }
.bc-drawer__close::before { transform: rotate(45deg); }
.bc-drawer__close::after { transform: rotate(-45deg); }
/* Menu list — Frontify, measured at 1024: starts 80px under the bar; links 16px/500 at 50% white; top-level
   links 56px rows; documents and categories 14px/400 toggles (white when open); pages 48px rows indented
   64px (48px without a category); current page bold white on 10% white; hairlines between top-level items;
   no hover change. */
.bc-tree { padding: 80.4px 0 48px; }
.bc-tree ul { list-style: none; margin: 0; padding: 0; }
.bc-tree a { display: block; padding: 12px 32px 12px 64px; font-size: 16px; font-weight: 500; line-height: 24px; color: rgba(255, 255, 255, .5); text-decoration: none; }
.bc-tree .bc-tree__link > a { padding: 16px 32px; }
.bc-tree .lvl-1 > a { padding-left: 48px; }
.bc-tree a[aria-current="page"] { background: rgba(255, 255, 255, .1); color: #fff; font-weight: 700; }
.bc-tree > ul > li:not(:first-child):not(:last-child)::after { content: ""; display: block; margin: 0 32px; border-bottom: .8px solid rgba(135, 135, 129, .5); }
.bc-tree__toggle {
	display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; padding: 12px 32px 12px 48px; border: 0; background: none; cursor: pointer;
	font: inherit; font-size: 14px; font-weight: 400; line-height: 21px; color: rgba(255, 255, 255, .5); text-align: left;
}
.bc-tree__branch.lvl-0 > .bc-tree__toggle { padding: 16px 32px; }
.bc-tree__branch.lvl-0.is-open > .bc-tree__toggle { padding-bottom: 8px; }
.bc-tree__branch.is-open > .bc-tree__toggle { color: #fff; }
.bc-tree__toggle::after {
	content: ""; flex: none; width: 16px; height: 16px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") center / 16px no-repeat;
	opacity: .5;
}
.bc-tree__branch.is-open > .bc-tree__toggle::after { transform: rotate(180deg); opacity: 1; }
.bc-tree__branch:not(.is-open) > ul { display: none; }
.bc-tree a.bc-ext::after {
	content: ""; display: inline-block; width: 12px; height: 12px; margin-left: 4px; vertical-align: -1px; opacity: .8;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='white' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 2.5H2.5v7h7V7M7 2.5h2.5V5M9.5 2.5 5.5 6.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ------------------------------------------------------------------ document layout */
.bc-doc {
	/* Not boxed: Frontify pins the side menu 32px from the left edge and centres an 800px
	   column (plus 10px padding) in the remaining width. */
	display: grid; grid-template-columns: 236px minmax(0, 1fr);
	gap: 32px; padding: 0 0 80px 32px;
}
.bc-doc__side { position: relative; padding-top: 38px; }
.bc-doc__side .bc-sidenav { position: static; }   /* no inner scroll area: the page (body) is the only scrollbar */
.bc-doc__body { margin-block-start: 0 !important; min-width: 0; width: 100%; max-width: 820px; margin-inline: auto; padding-inline: 10px; }   /* 800px text + 10px padding (border-box) */
/* ≤1024: Frontify drops the side menu (it lives in the full-screen menu) and centres an
   800px column with 10px side margins. */
@media (max-width: 1024px) {
	.bc-doc { display: block; padding: 0 0 64px; }
	.bc-doc__side { display: none; }
	.bc-title { padding-top: 40px; }
}

/* ------------------------------------------------------------------ side menu */
.bc-sidenav ul { list-style: none; margin: 0; padding: 0; }
.bc-sidenav__group + .bc-sidenav__group { margin-top: 24px; }
.bc-sidenav__cat {
	display: flex; justify-content: space-between; align-items: center; width: 100%;
	padding: 5.6px 0; margin: 0 0 10px; border: 0; border-bottom: .8px solid rgba(8, 8, 8, .1); background: none; cursor: pointer;   /* measured */
	font: inherit; font-size: 12px; font-weight: 500; line-height: 18px; text-transform: uppercase; color: var(--bc-ink); text-align: left;
}
.bc-sidenav__cat::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translate(-2px, -2px); transition: transform .15s; }
.bc-sidenav__group.is-open .bc-sidenav__cat::after { transform: rotate(-135deg) translate(-2px, -2px); }
.bc-sidenav__group:not(.is-open) > ul { display: none; }
.bc-sidenav__group:not(.is-open) .bc-sidenav__cat { font-weight: 400; }   /* Frontify: collapsed categories regular, the open one medium */
.bc-sidenav__group:first-child { margin-top: -5.6px; }   /* first title level with the page title, as before the 5.6px top padding */
.bc-sidenav__page > a {
	display: block; padding: 8px; border-radius: 4px;
	font-size: 16px; line-height: 24px; color: var(--bc-ink); text-decoration: none;
}
/* Frontify: hover = medium weight, no background; current page bold on rgba(8,8,8,.1); the section in view
   medium on a faint rgba(45,50,50,.03); section links follow the page link with no gap. */
.bc-sidenav__page > a:hover { font-weight: 500; }
.bc-sidenav__page.is-current > a { background: rgba(8, 8, 8, .1); font-weight: 700; }
.bc-sidenav__headings { margin: 0 !important; }
.bc-sidenav__headings a {
	display: block; padding: 8px 8px 8px 24px; border-radius: 4px;
	font-size: 14px; line-height: 21px; color: var(--bc-ink); text-decoration: none;
}
.bc-sidenav__headings a:hover { font-weight: 500; }
.bc-sidenav__headings a.is-active { background: rgba(45, 50, 50, .03); font-weight: 500; }

/* ------------------------------------------------------------------ page body */
/* Spacing measured on Frontify (Core Themes, 1440px): title box 74px incl. 35px top padding,
   58px to the first block; blocks 35px apart; H2 has 10px below it (→ 45px to its text);
   inside a text block, paragraphs touch unless the author left a blank line (.bc-gap = 1 line). */
.bc-title { padding-top: 35px; margin: 0 0 58px; color: var(--bc-gold); font-size: 30px; font-weight: 500; line-height: 1.3; }
.bc-content { font-size: 15px; line-height: 1.3; color: var(--bc-body); }
.bc-content > * { margin-block: 0; }
.bc-content > * + * { margin-block-start: 35px; }
.bc-content > h2.wp-block-heading { padding-bottom: 10px; scroll-margin-top: calc(var(--bc-header-h) + 24px); }   /* padding, not margin: Frontify's 10px doesn't collapse into the 35px block gap */
.bc-text > * { margin-block: 0; }
.bc-text > .bc-gap { margin-block-start: 1.3em; }   /* one blank line, 19.5px */
.bc-text > ol, .bc-text > ul { margin-block: 10px; }   /* measured: 10px above and below lists */
.bc-text > :last-child:is(ol, ul) { margin-block-end: 0; }
.bc-text > .bc-gap:is(ol, ul) { margin-block-start: calc(1.3em + 10px); }
.bc-content h3, .bc-content h4 { margin-block: 0 10px; }
.bc-text > h3.bc-gap, .bc-text > h4.bc-gap { margin-block-start: 1.3em; }
.bc-content ol, .bc-content ul.wp-block-list { margin-inline-start: 25px; padding-inline-start: 10px; }   /* text 35px in, as Frontify */
.bc-content li { margin: 0; }
.bc-content li.bc-gap { margin-top: 1.3em; }
.bc-content .bc-gap-end { padding-bottom: 1.3em; }   /* last item ended with a blank line on Frontify */
/* Quill indents (Frontify): lettered sub-items 45px in, inside the same numbered list */
.bc-content ol { counter-reset: bc-sub; }
.bc-content ol > li:not([class*="bc-indent-"]) { counter-reset: bc-sub; }
.bc-content li.bc-indent-1 { margin-left: 45px; counter-increment: list-item 0 bc-sub 1; }
.bc-content ol > li.bc-indent-1::marker { content: counter(bc-sub, lower-alpha) ". "; }
.bc-content li.bc-indent-2 { margin-left: 90px; }
.bc-content li > ul, .bc-content li > ol { margin-block: 0; }
.bc-content strong { color: inherit; font-weight: 700; }
.bc-content .bc-12pt { font-size: 16px; }   /* Frontify text set at 12pt */
.bc-content figure { margin: 0; }

/* Callout (Frontify "Callout" app): light tinted panel, text in the accent colour */
/* measured: 10% tint, 12px 16px padding, text = accent darkened to ~71% (tip #557B38) */
.bc-callout { padding: 12px 16px; border-radius: 0; }
.bc-callout p { margin: 0; font-size: 15px; line-height: 1.3; }
.bc-callout--tip { background: rgba(119, 173, 78, .1); }
.bc-callout--tip p { color: #557B38; }
.bc-callout--info { background: rgba(81, 172, 229, .1); }
.bc-callout--info p { color: #3A7AA3; }
.bc-callout--note { background: rgba(173, 182, 183, .1); }
.bc-callout--note p { color: #7B8182; }
.bc-callout--warning { background: rgba(205, 81, 79, .1); }
.bc-callout--warning p { color: #923A38; }

/* Single figure (Frontify "Image" app) */
.bc-figure { text-align: center; }
.bc-figure .wp-block-image { display: inline-block; max-width: 100%; }
/* Frontify Image block: full column width, never taller than the file's own height (max-height set by brand.js) */
.bc-figure .wp-block-image { display: block; }
.bc-figure img { display: block; width: 100%; height: auto; object-fit: contain; }
.bc-figure figcaption { margin-top: 12px; font-size: 15px; color: var(--bc-body); }
.bc-figure figcaption strong { color: var(--bc-gray); }
/* Caption on the right (Frontify positioning "Right"): side by side once the column is ≥384px (Frontify's @sm
   container), 30px apart. Ratio 2:1 → 66.67% / 33.33%; 1:2 → 41.67% / 58.33% (measured). Stacked below that. */
.bc-figure--right { container-type: inline-size; text-align: left; }
@container (min-width: 384px) {
	.bc-figure--right .wp-block-image { display: flex; justify-content: space-between; align-items: flex-start; }
	.bc-figure--right .wp-block-image > a, .bc-figure--right .wp-block-image > img { flex: none; width: calc(66.6666% - 10px); }
	.bc-figure--right figcaption { flex: none; width: calc(33.3333% - 20px); margin: 0; font-size: 13.5px; }
	.bc-figure--r12 .wp-block-image > a, .bc-figure--r12 .wp-block-image > img { width: calc(41.6666% - 17.5px); }
	.bc-figure--r12 figcaption { width: calc(58.3333% - 12.5px); }
}

/* Image grid */
.bc-grid { gap: 30px !important; margin-block-start: 32px !important; }   /* Frontify image grid: 30px both ways (measured at 1280 and 768) */
@media (min-width: 600px) { .bc-grid { padding-bottom: 30px; } }   /* Frontify's items keep their 30px bottom margin on the last row too */
.bc-grid__item { display: flex; flex-direction: column; }
.bc-grid__item > * + * { margin-block-start: 0; }
.bc-grid__item { height: 100%; }
.bc-grid__media { position: relative; flex: 1 0 auto; display: flex; align-items: flex-start; justify-content: center; padding-bottom: 12px; }   /* 12px to the title */
/* Frontify per-item settings: background colour and/or padding make the image fill the tile */
.bc-grid__media.bc-fill { align-items: center; padding: 0; margin-bottom: 12px; }
.bc-grid__media.bc-fill .wp-block-image, .bc-grid__media.bc-fill .wp-block-image img { width: 100%; }
.bc-pad-25 { padding: 25px !important; } .bc-pad-50 { padding: 50px !important; } .bc-pad-60 { padding: 60px !important; }
.bc-pad-71 { padding: 71px !important; } .bc-pad-75 { padding: 75px !important; } .bc-pad-100 { padding: 100px !important; }
.bc-grid--border .bc-grid__media { border: 1px solid #EAEBEB; margin-bottom: 12px; }
.bc-grid__media .wp-block-image { margin: 0; max-width: 100%; }
.bc-grid__media .wp-block-image a { display: block; }
.bc-grid__media .wp-block-image img { display: block; height: auto; max-width: 100%; }   /* width: the asset's own (inline style) */
.bc-grid__media:has(a)::after,
.bc-annot__img > a::after {
	/* download badge, as on Frontify's downloadable assets */
	content: ""; position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%;
	background: rgba(255, 255, 255, .9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D3232' stroke-width='1.6'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v9m-4-4 4 4 4-4'/%3E%3C/svg%3E") center / 22px no-repeat;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); opacity: 0; transition: opacity .15s; pointer-events: none;
}
.bc-grid__media:hover::after, .bc-annot__img > a:hover::after { opacity: 1; }
.bc-grid__title { margin: 0 0 3px; font-size: 15px; font-weight: 600; line-height: 21px; color: #717272; }
.bc-grid__caption { margin: 0; font-size: 13.5px; line-height: 1.5; color: #000; }
/* Frontify keeps the block's column count down to 768px, uses two columns from 600px, then one. */
@media (max-width: 767px) { .bc-grid--3, .bc-grid--4 { grid-template-columns: 1fr 1fr !important; } }
@media (max-width: 599px) {
	.bc-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
	.bc-grid__media { padding-bottom: 16px; }
}

/* Annotated image */
.bc-annot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; margin-block: 32px !important; }
.bc-annot__img { position: relative; justify-self: start; }
.bc-annot__img > a { display: block; position: relative; }
.bc-annot__img img { display: block; max-width: 100%; height: auto; }
.bc-annot__dot, .bc-annot__list li::before {
	display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; box-sizing: border-box;
	background: #fff; border: 1px solid #D9D9D9; color: #363D4A; font-size: 12px; line-height: 1;
}
.bc-annot__dot { position: absolute; transform: translate(-50%, -50%); pointer-events: none; }
.bc-annot__list { list-style: none; counter-reset: an; padding: 0 !important; margin: 0; justify-self: end; min-width: 240px; }
.bc-annot__list li { counter-increment: an; display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 19.5px; color: var(--bc-body); }
.bc-annot__list li + li { margin-top: 12px; }
.bc-annot__list li::before { content: counter(an); flex: none; }
@media (max-width: 600px) { .bc-annot { grid-template-columns: 1fr; } .bc-annot__list { justify-self: start; } }
/* ≥601px, as Frontify: image column : list = 500 : 266, 30px apart (502 / 268 at 800px, 469 / 249 at 748);
   images at their own size, never upscaled (figure ≤600px); list rows 5px 0 5px 27px at 21px. */
@media (min-width: 601px) {
	.bc-annot { grid-template-columns: minmax(0, 500fr) minmax(0, 266fr); column-gap: 30px; }
	.bc-annot__img { max-width: 600px; }
	.bc-annot__list { justify-self: stretch; min-width: 0; }
	.bc-annot__list li { position: relative; display: block; padding: 5px 0 5px 27px; line-height: 21px; }
	.bc-annot__list li + li { margin-top: 0; }
	.bc-annot__list li::before { position: absolute; left: 0; top: 5.5px; }
}

/* Do / Don't */
.bc-dd { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-block: 24px !important; }
.bc-dd--text { grid-template-columns: 1fr; gap: 12px; }
.bc-dd__item { margin: 0; }
.bc-dd__item img { display: block; width: 100%; height: auto; background: var(--bc-soft); }
.bc-dd__item figcaption { padding-top: 12px; border-top: 3px solid; margin-top: 0; }
.bc-dd__item.is-do figcaption { border-color: var(--bc-do); }
.bc-dd__item.is-dont figcaption { border-color: var(--bc-dont); }
.bc-dd__title { margin: 0 0 4px; font-weight: 700; }
.bc-dd__item.is-do .bc-dd__title { color: var(--bc-do); }
.bc-dd__item.is-dont .bc-dd__title { color: var(--bc-dont); }
.bc-dd__item p { margin: 0; }
.bc-dd--text .bc-dd__item { display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; background: var(--bc-soft); }
.bc-dd--text .bc-dd__item::before {
	content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: -1px;
	background: var(--bc-dont) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='white' stroke-width='2.4' fill='none'%3E%3Cpath d='M8 8l8 8M16 8l-8 8'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.bc-dd--text .bc-dd__item.is-do::before { background-color: var(--bc-do); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='white' stroke-width='2.4' fill='none'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9'/%3E%3C/svg%3E"); }
.bc-dd--text .bc-dd__title { color: var(--bc-ink) !important; font-weight: 400; text-decoration: line-through; text-decoration-color: var(--bc-dont); }
@media (max-width: 600px) { .bc-dd { gap: 4px; } }   /* Frontify keeps the two columns on phones */

/* Quote (Frontify "Quote" app): solid black 32px quote mark, 24px black text 60px in */
.bc-quote { position: relative; margin-inline: 0; margin-bottom: 0; padding: 0 0 0 60px; border: 0; }
.bc-quote::before {
	content: ""; position: absolute; left: 0; top: 2px; width: 32px; height: 32px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M0 26V18Q0 8 7 4l3 3Q6 10 6 15h6v11zm18 0V18q0-10 7-14l3 3q-4 3-4 8h6v11z'/%3E%3C/svg%3E") no-repeat;
}
.bc-quote p { margin: 0; font-size: 24px; line-height: 1.3; color: #000; }

/* Downloads (Frontify downloads block): bordered 3-column grid; gray file icon 40×52, name 13/700, meta 11px */
.bc-dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0 !important; margin-inline: 0 !important; border-top: 1px solid #E1E1DB; border-left: 1px solid #E1E1DB; }
.bc-dl li { margin: 0 !important; border-right: 1px solid #E1E1DB; border-bottom: 1px solid #E1E1DB; font-size: 16px; }
.bc-dl a { display: flex; align-items: flex-start; gap: 10px; height: 100%; padding: 10px; text-decoration: none; color: var(--bc-body); }
.bc-dl a:hover { background: #FAFAFA; text-decoration: none; }
.bc-dl__icon {
	flex: none; position: relative; width: 40px; height: 52px; box-sizing: border-box; padding-top: 30px;
	font-size: 8px; font-weight: 700; line-height: 1; text-align: center; text-transform: uppercase; color: #9A9A96;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 52'%3E%3Cpath d='M1 1h27l11 11v39H1z' fill='%23fff' stroke='%23C9C9C4' stroke-width='1.2'/%3E%3Cpath d='M28 1v11h11' fill='none' stroke='%23C9C9C4' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat;
}
.bc-dl__icon::after { content: attr(data-ext); }   /* label drawn by CSS, so it isn't part of the page text */
.bc-dl__text { display: flex; flex-direction: column; gap: 5px; min-width: 0; padding-top: 10px; }
.bc-dl__name { font-size: 13px; font-weight: 700; line-height: 18px; color: var(--bc-body); overflow-wrap: anywhere; }
.bc-dl__meta { font-size: 11px; line-height: 1.3; color: var(--bc-body); }
/* Frontify uses min(3, number of files) columns: one file spans the row, two files split it (measured at 768px). */
.bc-dl:has(> li:only-child) { grid-template-columns: 1fr; }
@media (min-width: 768px) { .bc-dl:has(> li:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .bc-dl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .bc-dl { grid-template-columns: 1fr; } }

/* Download bar (colour / font export): full-width #F7F7F7, 20px padding, title 16/700 + small sub, ruled column */
.bc-dlcard { display: flex; align-items: center; gap: 12px; box-sizing: border-box; width: 100%; padding: 20px; background: #F7F7F7; border: 1px solid #F7F7F7; text-decoration: none !important; color: #111110 !important; }
.bc-dlcard::before {
	content: ""; flex: none; width: 24px; height: 24px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111110' stroke-width='1.6'%3E%3Cpath d='M12 4v11m-5-5 5 5 5-5M5 20h14'/%3E%3C/svg%3E") no-repeat;
}
.bc-dlcard:hover { border-color: #DADADA; }
.bc-dlcard__text { display: flex; flex-direction: column; gap: 3px; width: 200px; border-right: 1px solid #DADADA; }
.bc-dlcard__title { font-size: 16px; font-weight: 700; line-height: 1.3; }
.bc-dlcard__sub { font-size: 13px; line-height: 1.3; color: #464643; }

/* Colour palettes */
.bc-palette { margin-block: 40px !important; }
.bc-palette__name { margin: 0 0 10px; font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--bc-gray); }
.bc-palette__desc { margin: 0 0 24px; line-height: 24px; }
.bc-palette__swatches { display: grid; gap: 24px; }
.bc-palette--card .bc-palette__swatches { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.bc-palette--grid .bc-palette__swatches { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.bc-palette--list .bc-palette__swatches { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--bc-rule); }
.bc-swatch { border: 1px solid #DADADA; background: #fff; }
.bc-swatch__chip { display: block; height: 100px; }
.bc-swatch.is-light .bc-swatch__chip { border-bottom: 1px solid #DADADA; }
.bc-palette--grid .bc-swatch__chip { height: 80px; }
.bc-swatch__info { padding: 14px 10px 12px; }
.bc-swatch__name { margin: 0 0 4px; font-size: 13px; font-weight: 700; line-height: 19.5px; color: #111110; }
.bc-swatch dl { display: grid; grid-template-columns: 50px 1fr; gap: 0; margin: 0; font-size: 12px; line-height: 20px; }
.bc-swatch dt { font-size: 10px; color: #464643; }
.bc-swatch dd { margin: 0; color: #111110; }
.bc-palette--grid .bc-swatch dl { grid-template-columns: 1fr; gap: 4px; }
.bc-palette--grid .bc-swatch dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }   /* Frontify's grid view shows values only */
.bc-palette--list .bc-swatch { display: grid; grid-template-columns: 120px 1fr; border: 0; border-bottom: 1px solid var(--bc-rule); }
.bc-palette--list .bc-swatch__chip { height: auto; min-height: 64px; }
.bc-palette--list .bc-swatch__info { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; padding: 12px 16px; }
.bc-palette--list .bc-swatch__name { margin: 0; min-width: 160px; }
.bc-palette--list .bc-swatch dl { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.bc-palette--list .bc-swatch dd { margin-right: 12px; }
.bc-swatch dl > div { display: contents; }   /* name/value pair wrapper: only used from 600px up */
/* ≥600px: Frontify's geometry, identical at 1280 and 768 (measured on Colors). */
@media (min-width: 600px) {
	.bc-palette { margin-bottom: 30px !important; }   /* measured: ~30px from swatches to the next heading */
	.bc-swatch { border: 0; }
	.bc-swatch__info { padding: 0; }
	.bc-swatch__name { margin: 0; }
	.bc-swatch dt, .bc-swatch dd { text-transform: uppercase; }
	/* Card: 3 across, 20px apart; 80px chip with a faint bottom line, name, then 50px label + value rows of 20px */
	.bc-palette--card .bc-palette__swatches { gap: 20px; }
	.bc-palette--card .bc-swatch { padding-bottom: 5px; }
	.bc-palette--card .bc-swatch__chip { height: 80px; margin-bottom: 15px; box-shadow: inset 0 -1px 0 rgba(135, 135, 129, .2); }
	.bc-swatch.is-light .bc-swatch__chip { border-bottom: 0; }
	.bc-palette--card .bc-swatch__name { padding: 0 8px; line-height: 20px; }
	.bc-palette--card .bc-swatch dl { display: block; }
	.bc-palette--card .bc-swatch dl > div { display: grid; grid-template-columns: 50px 1fr; padding: 0 9px; line-height: 20px; }
	.bc-palette--card .bc-swatch dd { font-size: 11px; }
	/* Grid: 110px items, 35px × 22px apart; 90px round chip, values only (11px rows) */
	.bc-palette--grid .bc-palette__swatches { display: flex; flex-wrap: wrap; gap: 35px 22px; }
	.bc-palette--grid .bc-swatch { width: 110px; }
	.bc-palette--grid .bc-swatch__chip { width: 90px; height: 90px; margin: 0 10px 15px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(135, 135, 129, .5); }
	.bc-palette--grid .bc-swatch__name { padding: 0 8px; margin-bottom: 10px; }
	.bc-palette--grid .bc-swatch dl { display: block; font-size: 11px; line-height: 16.5px; }
	.bc-palette--grid .bc-swatch dl > div { display: block; }
	/* List: ruled rows; 60px chip, 114px name, then 175px label-chip + value cells */
	.bc-palette--list .bc-palette__swatches { display: block; border-top: 0; }
	.bc-palette--list .bc-swatch { display: flex; border-top: 1px solid rgba(135, 135, 129, .5); border-bottom: 1px solid rgba(135, 135, 129, .5); }
	.bc-palette--list .bc-swatch + .bc-swatch { margin-top: -1px; }
	.bc-palette--list .bc-swatch__chip { flex: none; width: 60px; height: auto; min-height: 37px; box-shadow: inset 1px 0 0 rgba(135, 135, 129, .5), inset -1px 0 0 rgba(135, 135, 129, .5); }
	.bc-palette--list .bc-swatch__info { display: flex; flex-wrap: nowrap; align-items: flex-start; gap: 0; flex: 1; min-width: 0; padding: 0; }
	.bc-palette--list .bc-swatch__name { flex: none; width: 114px; min-width: 0; padding: 8px 10px; line-height: 19.5px; }
	.bc-palette--list .bc-swatch dl { display: flex; flex-wrap: wrap; gap: 0; margin-top: 3px; font-size: 13px; line-height: 30px; }
	.bc-palette--list .bc-swatch dl > div { display: flex; width: 175px; }
	.bc-palette--list .bc-swatch dt { margin: 5px 3px; padding: 0 5px; font-size: 13px; line-height: 20px; background: #F8F8F8; border-radius: 2px; }
	.bc-palette--list .bc-swatch dd { margin: 0; }
}
@media (max-width: 599px) {   /* Frontify at 390px */
	.bc-palette--card .bc-palette__swatches { grid-template-columns: 1fr; gap: 19px; }
	.bc-palette--card .bc-swatch__chip { height: 90px; }
	.bc-palette--card .bc-swatch__info { padding: 4px 8px 6px; }
	.bc-palette--card .bc-swatch__name { margin: 0; line-height: 20px; }
	.bc-palette--grid .bc-palette__swatches { grid-template-columns: repeat(2, 110px); gap: 35px 22px; }
	.bc-palette--grid .bc-swatch__chip { height: 99px; }
	.bc-palette--grid .bc-swatch__info { padding: 8px 8px 6px; }
	.bc-palette--grid .bc-swatch__name { margin: 0; line-height: 20px; }
	.bc-palette--grid .bc-swatch dl { gap: 0; line-height: 17px; }
	.bc-palette--list .bc-swatch__name { margin: 0; line-height: 20px; }
	.bc-palette--list .bc-swatch dl { line-height: 20px; }
	.bc-palette--list .bc-swatch { grid-template-columns: 1fr; }
	.bc-palette--list .bc-swatch__chip { min-height: 56px; }
	.bc-palette--list .bc-swatch__info { display: block; padding: 4px 8px 6px; }
	.bc-palette--list .bc-swatch dl { display: grid; grid-template-columns: 50px 1fr; gap: 0; }
	.bc-dlcard { flex-direction: column; align-items: flex-start; }
	.bc-dlcard__text { border-right: 0; }
}

/* Type specimens — Frontify typography block: heading 18/700 gray + dark "WEB" pill; row of
   gold 90px "Aa" (150px column), 18/27px sample lines, and a spec column behind a 1px rule. */
.bc-type { display: grid; gap: 29px; }
.bc-type__head { display: block; margin: 0 0 31px !important; font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--bc-gray); }
.bc-type__tag { display: inline-block; vertical-align: 3px; margin-left: 2px; padding: 0 6px; border-radius: 4px; background: #424747; color: #fff; font-size: 9px; font-weight: 400; line-height: 16px; text-transform: uppercase; }
.bc-type__row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 230px; column-gap: 4px; align-items: center; }
.bc-type__aa { font-size: 90px; line-height: 90px; color: var(--bc-gold); white-space: nowrap; }
.bc-type__glyphs { display: grid; font-size: 18px; line-height: 27px; color: var(--bc-body); overflow-wrap: anywhere; }
.bc-type__spec { align-self: stretch; display: flex; flex-direction: column; justify-content: flex-start; margin: 0; padding: 6px 0 0 30px; border-left: 1px solid #E0E0E0; color: var(--bc-body); }
.bc-type__spec dt { font-size: 14.4px; line-height: 21.6px; font-weight: 400; }
.bc-type__spec dd { margin: 0; font-size: 12.8px; line-height: 21.6px; }
/* Column under ~790px (Frontify: 3 across at 800, wrapped at 780): Aa + samples stay side by side, the spec drops
   17px below without the rule, 37px between fonts — measured at 768px. */
.bc-type { container-type: inline-size; }
@container (max-width: 789px) {
	.bc-type__row { grid-template-columns: 150px minmax(0, 1fr); }
	.bc-type__spec { grid-column: 1 / -1; margin-top: 17px; padding: 0; border-left: 0; }
	.bc-type__item + .bc-type__item { margin-top: 8px; }   /* 29px grid gap + 8 */
}
@media (max-width: 767px) {   /* measured on Frontify at 390px: Aa, then samples (5px), then spec (17px), no rule */
	.bc-type__head { margin-bottom: 30px !important; }
	.bc-type__row { grid-template-columns: 1fr; row-gap: 0; }
	.bc-type__glyphs { margin-top: 5px; }
	.bc-type__spec { margin-top: 17px; padding: 0; border-left: 0; }
	.bc-type { gap: 37px; }
	.bc-type__item + .bc-type__item { margin-top: 0; }
}
.bc-type__usage { margin-top: 35px; }
.bc-type__usage h3 { margin: 0 0 21px; }   /* measured: header bar 21px below */
.bc-type__usage .bc-code + .screen-reader-text + .bc-code { margin-top: 24px; }
/* Code boxes (Frontify CodeMirror, measured): 1px #DDD box, 35px #F7F7F7 header, Menlo 12/15.6,
   gray line-number gutter, green tags/properties, dark-red strings */
.bc-code { position: relative; border: 1px solid #DDD; border-radius: 4px; background: #fff; overflow: hidden; }
.bc-code__lang { display: block; padding: 8px 10px; border-bottom: 1px solid #DDD; background: #F7F7F7; font-size: 13.6px; line-height: 18px; color: #666; }
.bc-code pre { margin: 0; padding: 8px 0; overflow-x: auto; font: 12px/15.6px Menlo, Courier, monospace; color: #666;
	background: linear-gradient(90deg, #F7F7F7 29px, #fff 29px); }
.bc-code__line { display: grid; grid-template-columns: 29px 1fr; white-space: pre; }
.bc-code__ln { box-sizing: border-box; padding: 0 3px 0 5px; text-align: right; color: #999; user-select: none; }
.bc-code__src { padding: 0 8px; }
.bc-code .t { color: #117700; }
.bc-code .s { color: #AA1111; }
.bc-code__copy {
	position: absolute; top: 4px; right: 6px; width: 26px; height: 26px; padding: 0; border: 1px solid #DDD; border-radius: 3px; cursor: pointer;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='1.6'%3E%3Crect x='8' y='8' width='12' height='12' rx='2'/%3E%3Cpath d='M16 8V5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h3'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.bc-code__copy.is-done { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23117700' stroke-width='2'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E"); }

/* Page foot (measured): centred prev | next pair split by a 1px rule, chevrons, 11/700 uppercase
   kicker and 15px title in ink; "Last modified" 12px gray at the column's left edge. */
.bc-pagefoot { margin-top: 96px; }
.bc-pagefoot__nav { display: grid; grid-template-columns: 1fr 1fr; }
.bc-pagefoot__nav > * { min-width: 0; }
/* Prev / next — Frontify's (measured at 1440): 1px rgba(135,135,129,.2) divider, 10px/20px padding, 11px
   kicker 4px above the 15px title, 32px #676763 chevron 20px from the text; no hover change. */
.bc-pagefoot__nav > :first-child { border-right: 1px solid rgba(135, 135, 129, .2); }
.bc-pagefoot__nav a { display: grid; grid-template-columns: auto auto; align-items: center; gap: 0 20px; padding: 10px 20px; text-decoration: none; color: var(--bc-ink); }
.bc-pagefoot__prev { justify-content: end; text-align: right; }
.bc-pagefoot__next { justify-content: start; }
.bc-pagefoot__kicker { grid-row: 1; margin-bottom: 4px; font-size: 11px; font-weight: 700; line-height: 14.3px; text-transform: uppercase; color: var(--bc-ink); }
.bc-pagefoot__title { grid-row: 2; font-size: 15px; line-height: 19.5px; }
.bc-pagefoot__prev .bc-pagefoot__kicker, .bc-pagefoot__prev .bc-pagefoot__title { grid-column: 1; }
.bc-pagefoot__next .bc-pagefoot__kicker, .bc-pagefoot__next .bc-pagefoot__title { grid-column: 2; }
.bc-pagefoot__nav a::after {
	content: ""; grid-row: 1 / 3; align-self: start; width: 32px; height: 32px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23676763' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15.5 4.75 8.25 12l7.25 7.25'/%3E%3C/svg%3E") center / 32px no-repeat;
}
.bc-pagefoot__prev::after { grid-column: 2; }
.bc-pagefoot__next::after { grid-column: 1; transform: scaleX(-1); }
.bc-pagefoot__modified { margin-top: 56px; font-size: 12px; line-height: 18px; color: #676763; }

/* ------------------------------------------------------------------ home */
.bc-home { max-width: 1200px; margin: 0 auto; padding: 0 0 80px; }   /* Frontify: centred 1200px, no side padding */
.bc-home > .wp-block-post-content > * + * { margin-block-start: 0; }
.bc-hero { margin: 0; }
.bc-hero img { display: block; width: 100%; height: 400px; object-fit: cover; object-position: 0 50%; }
.bc-tiles { display: grid; border-left: 1px solid var(--bc-rule); }
.bc-tiles--row1 { grid-template-columns: 1fr 1fr 1fr 1fr; }
.bc-tiles--row2 { grid-template-columns: repeat(3, 1fr); }
.bc-tile { display: contents; text-decoration: none; }
.bc-tile__img, .bc-tile__text { border-right: 1px solid var(--bc-rule); border-bottom: 1px solid var(--bc-rule); }
.bc-tile__img { display: block; overflow: hidden; background: var(--bc-soft); }
.bc-tile__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.bc-tile:hover img { transform: scale(1.03); }
.bc-tile__text { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: #fff; }
.bc-tile__title { font-size: 18px; font-weight: 700; color: var(--bc-gray); line-height: 1.3; }
.bc-tile__body { font-size: 15px; font-weight: 400; line-height: 1.3; color: var(--bc-body); }
.bc-tiles--row1 .bc-tile__img { min-height: 190px; }
.bc-tile--side-rev .bc-tile__img { order: 2; }
.bc-tiles--row2 .bc-tile { display: flex; flex-direction: column; border-right: 1px solid var(--bc-rule); border-bottom: 1px solid var(--bc-rule); }
.bc-tiles--row2 .bc-tile__img, .bc-tiles--row2 .bc-tile__text { border: 0; }
.bc-tiles--row2 .bc-tile__img { aspect-ratio: 16 / 9; }
/* Frontify: full-bleed below 1024; row 1 keeps four tiles down to 600, row 2 goes to two
   columns; under 600 everything stacks, each tile image (16:9) above its text. */
@media (max-width: 1024px) {
	.bc-home { padding-bottom: 48px; }
	.bc-tiles--row2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 599px) {
	/* Banner shown at its 4:1 shape. (Frontify leaves ~300px blank below it on phones; dropped on request.) */
	.bc-hero img { height: auto; aspect-ratio: 4 / 1; object-fit: cover; }
	.bc-tiles--row1, .bc-tiles--row2 { grid-template-columns: 1fr; }
	.bc-tiles--row1 .bc-tile { display: flex; flex-direction: column; border-right: 1px solid var(--bc-rule); border-bottom: 1px solid var(--bc-rule); }
	.bc-tiles--row1 .bc-tile__img, .bc-tiles--row1 .bc-tile__text { border: 0; }
	.bc-tiles--row1 .bc-tile__img { min-height: 0; aspect-ratio: 16 / 9; }
	.bc-tile--side-rev .bc-tile__img { order: 0; }
}

/* ------------------------------------------------------------------ library (Logos / Photos) */
.bc-wide { max-width: 1200px; margin: 0 auto; padding: 0 52px 80px; box-sizing: content-box; }   /* Frontify libraries: 1200px column, 32px page + 20px library padding */
@media (max-width: 768px) { .bc-wide { padding-inline: 32px; } }   /* measured: x=52 at 769-1280, 32 at 768 */
.bc-library { --bc-gutter: 32px; padding-top: 97px; color: var(--bc-ink); }   /* measured: search bar 97px below the header */
.bc-library h2 { margin: 0; font-size: 18px; font-weight: 700; line-height: 24px; color: #1F1F1F; }
.bc-library__bar { display: flex; gap: 8px; max-width: 600px; margin: 0 auto 40px; }   /* measured: 520px search + 72px Filter, 48px tall */
.bc-library__search { flex: 1; }
.bc-library__search input {
	width: 100%; height: 48px; padding: 0 16px 0 40px; border: .8px solid rgba(8, 8, 8, .15); border-radius: 6px; font: inherit; font-size: 14px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D3232' stroke-width='1.8'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4 4'/%3E%3C/svg%3E") 14px center / 18px no-repeat;
}
.bc-library__filter-toggle {   /* Frontify: 73 × 48, 12px UI font, 16px icon + 4px gap, 12px padding, faint 0.8px border, 6px radius */
	height: 48px; padding: 0 12px 0 32px; border: .8px solid rgba(8, 8, 8, .15); border-radius: 6px;
	font: 400 12px/18px Geist, Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, sans-serif; color: #111110; cursor: pointer;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111110' stroke-width='1.6'%3E%3Cpath d='M4 5h16l-6 7.5V19l-4-2v-4.5z'/%3E%3C/svg%3E") 12px center / 16px no-repeat;
}
.bc-library__bar { position: relative; }
.bc-library__filter-toggle { display: inline-flex; align-items: center; gap: 4px; }
.bc-filter__badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; box-sizing: border-box; padding: 0 6px; border-radius: 9999px; background: #111110; color: #fff; font-size: 11px; line-height: 1; }
.bc-filter__badge[hidden] { display: none; }
/* Filter panel — Frontify's dropdown card, measured at 1440 and 390: 401px wide (40px narrower than the bar on
   phones), centred 12px under the bar with a notch, overlays the page; 200px columns ruled by faint lines,
   wrapping on narrow screens; 11px uppercase group titles, 13px rows 30px tall, 18px checkboxes. */
.bc-library__filters {
	position: absolute; top: calc(100% + 12px); left: 50%; z-index: 13; transform: translateX(-50%);
	width: min(401px, calc(100% - 40px)); background: #fff; border-radius: 4px; box-shadow: 0 0 10px rgba(0, 0, 0, .1);
}
.bc-library__filters[hidden] { display: none; }
.bc-library__filters::before, .bc-library__filters::after {
	content: ""; position: absolute; top: -19.2px; left: calc(50% - 9.6px);
	border: 9.6px solid transparent; border-bottom-color: rgba(0, 0, 0, .07);   /* faint outline under the notch */
}
.bc-library__filters::after { top: -17.6px; left: calc(50% - 8.8px); border-width: 8.8px; border-bottom-color: #fff; }
.bc-filter__cols { display: flex; flex-wrap: wrap; overflow: hidden; border-radius: 4px 4px 0 0; }
.bc-filter__col {
	flex: 1 0 200px; box-sizing: border-box; padding: 3px 0 5px;
	margin: -.8px 0 0 -.8px; border-top: .8px solid rgba(0, 0, 0, .1); border-left: .8px solid rgba(0, 0, 0, .1);
}
.bc-library__filters fieldset { min-width: 0; margin: 0; padding: 8px 0 10px; border: 0; }
.bc-library__filters legend {
	float: left; width: 100%; box-sizing: border-box; margin: 0 0 5px; padding: 0 20px;
	font-size: 11px; font-weight: 700; line-height: 16.5px; text-transform: uppercase; color: #676763;
}
.bc-library__filters ul { clear: both; margin: 0; padding: 0 !important; list-style: none; }
.bc-library__filters li { margin: 0 !important; }
.bc-library__filters label { display: flex; align-items: center; gap: 8px; padding: 6px 20px; font-size: 13px; line-height: 18px; color: #000; cursor: pointer; }
.bc-library__filters input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.bc-filter__box { flex: none; width: 18px; height: 18px; box-sizing: border-box; border: .8px solid #111110; border-radius: 4px; background: #fff; }
.bc-library__filters input:checked + .bc-filter__box {
	border-color: #7C57FF; background: #7C57FF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.bc-library__filters input:focus-visible + .bc-filter__box { outline: 2px solid #7C57FF; outline-offset: 2px; }
.bc-library__clear {
	display: flex; align-items: center; justify-content: center; width: 100%; padding: 10px 0; border: 0; border-radius: 0 0 4px 4px;
	background: #F5F5F6; color: #000; font: inherit; font-size: 13px; line-height: 19.5px; cursor: pointer;
}
.bc-library__clear[hidden] { display: none; }
.bc-library__clear svg { width: 24px; height: 24px; padding-right: 4px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.bc-library section > header { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }   /* sort centred on title + count, as Frontify */
.bc-library__count { margin: 0; font-size: 13px; line-height: 16px; }
.bc-library__count button { font: inherit; background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; color: var(--bc-ink); }
.bc-library__tools { display: flex; align-items: center; gap: 24px; }
.bc-library__collections { margin-bottom: 40px; }
.bc-library__collections[hidden] + .bc-library__assets { margin-top: 80px; }   /* Photos: Frontify keeps the empty collections slot */

/* Pager: chevrons drawn in CSS, "1 / 10" between */
.bc-library__pager { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.bc-library__pager button { position: relative; width: 32px; height: 32px; border: 0; background: none; cursor: pointer; }
.bc-library__pager button::after { content: ""; position: absolute; left: 12px; top: 11px; width: 9px; height: 9px; border: solid var(--bc-ink); border-width: 0 1.6px 1.6px 0; transform: rotate(135deg); }
.bc-library__pager .next::after { left: 9px; transform: rotate(-45deg); }
.bc-library__pager button:disabled { cursor: default; }
.bc-library__pager button:disabled::after { border-color: #C4C4C4; }

/* Sort menus (Frontify labels) */
/* Sort control — Frontify's, measured at 1440: 24px button (16px up/down icon, 13px/500 label, caret,
   8px padding, 6px gaps); 242px card 8px below (or above), right-aligned, 37px rows with 16px icons,
   chosen row #E1E1DB, divider before the order group. */
.bc-sort { position: relative; display: flex; }   /* no line box around the 24px button */
.bc-sort svg { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.bc-sort__btn {
	display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; border: 0; border-radius: 4px; background: none; cursor: pointer;
	font: 500 13px/16px Geist, Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, sans-serif; color: #111110; white-space: nowrap;
}
.bc-sort__btn:hover, .bc-sort__btn[aria-expanded="true"] { background: #F1F1ED; }
.bc-sort__menu {
	position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; width: 242px; box-sizing: border-box;
	background: #fff; border: .8px solid rgba(135, 135, 129, .2); border-radius: 4px; box-shadow: 0 3px 10px rgba(8, 8, 8, .15);
	font: 400 14px/21px Geist, Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, sans-serif; color: #111110;
}
.bc-sort__menu.is-up { top: auto; bottom: calc(100% + 8px); }
.bc-sort__menu[hidden] { display: none; }
.bc-sort__menu fieldset { display: flex; flex-direction: column; gap: 2px; min-width: 0; margin: 0; padding: 8px; border: 0; }
.bc-sort__menu label { position: relative; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 4px; cursor: pointer; }
.bc-sort__menu label:hover { background: #F1F1ED; }
.bc-sort__menu label.is-on { background: #E1E1DB; }
.bc-sort__menu label:has(input:focus-visible) { outline: 2px solid #7C57FF; outline-offset: -2px; }
.bc-sort__menu input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.bc-sort__sep { border-top: .8px solid rgba(135, 135, 129, .2); }

/* Collections: one horizontal row, three visible at 1200px (389px cards, 16px gaps) */
.bc-library__collection-grid { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.bc-library__collection-grid::-webkit-scrollbar { display: none; }
.bc-coll { flex: 0 0 calc((100% - 32px) / 3); scroll-snap-align: start; display: flex; flex-direction: column; padding: 0; border: 1px solid #DADADA; background: #fff; text-align: left; font: inherit; cursor: pointer; color: var(--bc-ink); }
.bc-coll.is-active { outline: 2px solid var(--bc-gold); outline-offset: -1px; }
.bc-coll__img { display: grid; place-items: center; height: 160px; overflow: hidden; background: #E9E8E4; border-bottom: 1px solid #DADADA; }   /* card 228px tall, as measured */
.bc-coll__img img { width: 80%; height: 80%; object-fit: contain; }
.bc-coll__name { padding: 14px 16px 2px; font-size: 16px; line-height: 21px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }   /* one line, so every card stays 228px */
.bc-coll__meta { display: flex; gap: 6px; padding: 0 16px 11px; font-size: 14px; line-height: 18px; color: var(--bc-body); }
/* Frontify shows 3 collections per view above 1024px, 2 from 1024 down to 768, 1 on phones (measured at 1100/1024/768/390) */
@media (max-width: 1024px) { .bc-coll { flex-basis: calc((100% - 16px) / 2); } }

/* Asset tiles: image only; title + metadata appear on hover/focus (Frontify's 72px info panel) */
/* Asset cards - Frontify's (measured at 1440): faint 0.8px border drawn over the card, 4px radius, #F8F8F5
   image area with 16px padding. Hover/focus: card lifts (0 4px 24px shadow) and the 72px info panel fades
   in (0.2s): 16px/500 title, beige pill badge, 13px grey "W x H px - date - size", in Frontify's UI font. */
.bc-library__grid { --bc-asset-title-font: 500 16px Arial; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.bc-asset {
	position: relative; display: block; aspect-ratio: 1 / 1; padding: 0; border: 0; border-radius: 4px; background: #F8F8F5; overflow: hidden;
	text-align: left; cursor: pointer; color: #111110; transition: box-shadow .2s cubic-bezier(.4, 0, .2, 1);
	font: 400 13px/16px Geist, Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, sans-serif;
}
.bc-asset::after { content: ""; position: absolute; inset: 0; z-index: 2; border: .8px solid rgba(135, 135, 129, .5); border-radius: 4px; pointer-events: none; }
.bc-asset:hover, .bc-asset:focus-visible { box-shadow: 0 4px 24px rgba(17, 17, 16, .2); }
.bc-asset__img { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; background: #F8F8F5; }
.bc-asset__img img { width: 100%; height: 100%; object-fit: contain; }
.bc-asset__info {
	position: absolute; left: 0; right: 0; bottom: 0; height: 72px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; gap: 6px;
	padding: 12px 16px; background: #fff; border-top: .8px solid rgba(135, 135, 129, .5); opacity: 0; transition: opacity .2s cubic-bezier(.4, 0, .2, 1);
}
.bc-asset:hover .bc-asset__info, .bc-asset:focus-visible .bc-asset__info { opacity: 1; }
.bc-asset__title { display: block; font-size: 16px; font-weight: 500; line-height: 20px; color: #111110; white-space: nowrap; overflow: hidden; }
.bc-asset__title > [aria-hidden] { display: block; }
.bc-asset__meta { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; line-height: 16px; color: #676763; white-space: nowrap; }   /* Frontify also ends it with ... on narrow tiles */
.bc-asset__badge { flex: none; padding: 2px 8px; border-radius: 9999px; background: #E1E1DB; color: #111110; font-size: 13px; line-height: 16px; }
.bc-asset__facts { overflow: hidden; text-overflow: ellipsis; }
.bc-library__sentinel { height: 1px; }
.bc-button {
	display: inline-block; margin: 32px auto 0; padding: 12px 22px; border: 0; border-radius: 4px;
	background: var(--bc-gold); color: #000; font: inherit; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer;
}
.bc-library__empty { grid-column: 1 / -1; }
/* Photo gallery: justified rows (widths/heights set by library.js) */
.bc-library__grid.is-justified { display: flex; flex-wrap: wrap; gap: 8px; }
.is-justified .bc-asset { aspect-ratio: auto; flex: none; }
.is-justified .bc-asset__img { padding: 0; }
.is-justified .bc-asset__img img { object-fit: cover; }
/* Library pages have no logo in the header on Frontify */
.page-template-page-library .bc-header__logo { display: none; }
.page-template-page-library .bc-header { padding-left: 40px; }
/* Asset grid steps 5 / 4 / 3 / 2 / 1 at Frontify breakpoints */
@media (max-width: 1279px) { .bc-library__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .bc-library__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
	.bc-library__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bc-library__pager { display: none; }
	.bc-library__collection-grid { margin: 0 calc(-1 * var(--bc-gutter)); padding-inline: var(--bc-gutter); scroll-padding-inline: var(--bc-gutter); }
	.bc-coll { flex: 0 0 100%; }
	.bc-library .bc-library__collections > header { margin-bottom: 44px; }
}
@media (max-width: 599px) {
	.bc-wide { padding-inline: 32px; }
	.bc-library__search input, .bc-library__filter-toggle { height: 48px; }
	.bc-library__grid { grid-template-columns: 1fr; }
	.bc-library section > header { flex-wrap: wrap; }
	.bc-library .bc-library__collections > header { align-items: flex-start; }   /* phones: Collections sort level with the title (Assets stays centred) */
}

.bc-library__dialog::backdrop { background: #111110; }

/* Asset viewer (Logos and Photos) — Frontify's full-screen viewer, measured at 1440 / 1024 / 900 / 768 / 390.
   ≥1024: image stage + 340px black side panel; below: stage 70% of the screen, panel underneath, page scrolls. */
html:has(.bc-viewer-dialog[open]) { overflow: hidden; }
.bc-library__dialog.bc-viewer-dialog {
	position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0;
	border: 0; border-radius: 0; background: #111110; color: #F8F8F5; overflow: hidden;
	font: 400 14px/1.5 Geist, Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, sans-serif;   /* Frontify's stack after Diatype; Arial is within 2% of its widths */
}
.bc-viewer :is(h2, h3, p, span, a, button, dt, dd, li) { font-family: inherit; }   /* the theme sets Montserrat on headings */
.bc-viewer { display: flex; height: 100%; }
.bc-viewer svg { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.bc-viewer button { font: inherit; color: inherit; cursor: pointer; }
.bc-viewer button:disabled { cursor: default; opacity: .4; }
.bc-viewer a { color: inherit; text-decoration: none; }
.bc-viewer__main { position: relative; flex: 1; min-width: 0; }
.bc-viewer__stage {
	position: absolute; inset: 0; display: grid; grid-template: 100% / 100%; place-items: safe center; overflow: scroll;   /* Frontify keeps both scrollbars */
	background: #EFEFEF repeating-conic-gradient(#F8F8F8 0 25%, transparent 0 50%) 0 0 / 10px 10px;   /* 5px checks */
}
.bc-viewer__img { display: block; width: 100%; height: 100%; object-fit: contain; }   /* "auto": fit, small logos scale up as on Frontify */
.bc-viewer__stage.is-zoomed { grid-template: auto / auto; }
.bc-viewer__stage.is-zoomed .bc-viewer__img { height: auto; }
.bc-viewer__close {
	position: absolute; left: 20px; top: 15px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0;
	border: 0; border-radius: 50%; background: #111110; color: #F8F8F5 !important; box-shadow: 0 3px 10px rgba(45, 50, 50, .1);
}
.bc-viewer__zoom { position: absolute; left: 20px; bottom: 20px; }
.bc-viewer__zoom > button {
	display: flex; align-items: center; gap: 8px; width: 110px; height: 36px; box-sizing: border-box; padding: 0 8px 0 12px;
	border: .8px solid rgba(191, 191, 184, .5); border-radius: 4px; background: #111110; color: #F8F8F5; font-size: 14px; line-height: 18px;
}
.bc-viewer__zoom > button span { flex: 1; text-align: left; }
.bc-viewer [role=listbox], .bc-viewer [role=menu] {
	position: absolute; z-index: 2; display: flex; flex-direction: column; gap: 2px; box-sizing: border-box; padding: 8px;
	border: .8px solid rgba(191, 191, 184, .2); border-radius: 4px; background: #111110; box-shadow: 0 25px 80px rgba(8, 8, 8, .2);
}
.bc-viewer [hidden] { display: none !important; }
.bc-viewer__zoom [role=listbox] { left: 0; bottom: calc(100% + 8px); width: 112px; }
.bc-viewer [role=option], .bc-viewer [role=menuitem] {
	display: block; width: 100%; height: 34px; box-sizing: border-box; padding: 0 12px; border: 0; background: none;
	color: #F8F8F5; font-size: 14px; line-height: 34px; text-align: left; white-space: nowrap;
}
.bc-viewer [role=option]:hover, .bc-viewer [role=menuitem]:hover, .bc-viewer [role=option][aria-selected=true] { background: #353533; }
.bc-viewer__stepper {
	position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; align-items: stretch; height: 35px;
	border-radius: 4px; background: rgba(45, 50, 50, .7); color: #fff;
}
.bc-viewer__stepper button { display: grid; place-items: center; width: 43px; padding: 0; border: 0; background: none; color: #fff; }
.bc-viewer__stepper span { display: grid; place-items: center; min-width: 75px; box-sizing: border-box; padding: 0 13px; font-size: 14px; white-space: nowrap; }

.bc-viewer__side { position: relative; flex: none; width: 340px; padding-bottom: 20px; box-sizing: border-box; overflow-y: scroll; background: #000; }   /* relative: keeps screen-reader labels inside its scroll area */
.bc-viewer__actions {
	position: sticky; top: 0; z-index: 3; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 16px; background: #000;
	border-bottom: .8px solid rgba(191, 191, 184, .5);
}
.bc-viewer__actions > * { position: relative; min-width: 0; }   /* two equal buttons */
.bc-viewer__copy, .bc-viewer__get > button {
	display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 36px; padding: 0 12px;
	border: 0; border-radius: 4px; font-size: 14px !important; font-weight: 500; line-height: 18px;
}
.bc-viewer__copy { background: #353533; color: #F8F8F5 !important; }
.bc-viewer__get > button { background: #F8F8F5; color: #000 !important; }
.bc-viewer__get [role=menu] { right: -24px; top: calc(100% + 8px); width: 252px; }   /* Frontify: kept 8px inside the window */
.bc-viewer__head { padding: 32px 28px 8px; }
.bc-viewer__head::after { content: ""; display: block; margin: 0 -4px; padding-top: 32px; border-bottom: .8px solid rgba(191, 191, 184, .2); }
.bc-viewer .bc-viewer__crumb { margin: 0 0 8px; font-size: 14px; font-weight: 500; line-height: 18px; color: #D7D7D0; }
.bc-viewer .bc-viewer__title { margin: 0; font-size: 20px; font-weight: 500; line-height: 30px; color: #F8F8F5; overflow-wrap: anywhere; }
.bc-viewer .bc-viewer__facts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 24px 0 0; font-size: 14px; line-height: 18px; color: #D7D7D0; }
.bc-viewer__ext { padding: 2px 8px; border-radius: 9999px; background: #F8F8F5; color: #000; font-size: 13px; line-height: 16px; text-transform: uppercase; }
.bc-viewer .bc-viewer__desc { margin: 20px 0 0; font-size: 14px; line-height: 18px; color: #D7D7D0; }
.bc-viewer__section { padding: 16px 16px 0; }
.bc-viewer__section h3 { margin: 0; font: inherit; }
.bc-viewer__section h3 button {
	display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 0; background: none;
	color: #F8F8F5; font-size: 13px; font-weight: 500; line-height: 19.5px;
}
.bc-viewer__section h3 svg { margin-left: 16px; transition: transform .2s; }
.bc-viewer__section.is-open h3 svg { transform: rotate(180deg); }
.bc-viewer__chip { display: inline-block; padding: 2px 8px; border-radius: 9999px; background: #353533; color: #F8F8F5; font-size: 13px; font-weight: 400; line-height: 16px; }
.bc-viewer__box { margin: 0 8px; border: .8px solid rgba(191, 191, 184, .2); border-radius: 4px; background: #111110; }
.bc-viewer__list { display: grid; margin: 0; padding: 16px 20px; column-gap: 24px; font-size: 13px; line-height: 20px; }   /* rows 57px apart, as measured */
.bc-viewer__list > div { padding-bottom: 15px; min-width: 0; }
.bc-viewer__list dt { color: #D7D7D0; }
.bc-viewer__list dd { margin: 2px 0 0; color: #F8F8F5; overflow-wrap: anywhere; }
.bc-viewer__list--2 { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(var(--rows), auto); grid-auto-flow: column; }
.bc-viewer__tags { padding: 8px 12px; }
.bc-viewer__tags ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 8px !important; list-style: none; }
.bc-viewer__tags li { display: flex; align-items: flex-end; height: 24px; margin: 0 !important; }
.bc-viewer__tags hr { margin: 16px 0; border: 0; border-top: .8px solid rgba(191, 191, 184, .5); }   /* your tags | AI suggestions */
.bc-viewer__ai { padding: 0 8px; }
.bc-viewer__ai p { margin: 0; font-size: 13px; line-height: 24px; color: #D7D7D0; }
.bc-viewer__ai ul { padding: 8px 0 !important; }
.bc-viewer__colls { margin: 0; padding: 8px !important; list-style: none; }
.bc-viewer__colls li { margin: 0 !important; }
.bc-viewer__colls a { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 2px; font-size: 13px; line-height: 19.5px; }
.bc-viewer__colls a:hover, .bc-viewer__colls a:focus-visible { background: #353533; }
@media (max-width: 1023px) {
	.bc-library__dialog.bc-viewer-dialog { overflow-y: auto; }
	.bc-viewer { display: block; height: auto; }
	.bc-viewer__main { height: 70dvh; }
	.bc-viewer__side { width: auto; min-height: calc(100dvh + 69px); overflow: visible; }
	.bc-viewer__get [role=menu] { right: -8px; }   /* Frontify: a screen of panel below the 69px button bar */
}
@media (max-width: 767px) { .bc-viewer__list--2 { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; } }



.bc-palette--grid .bc-swatch__name, .bc-palette--list .bc-swatch__name { color: var(--bc-body); }   /* measured: secondary/accent names are body gray */
