/*
 * By Calie: front-end styles.
 * Colours, fonts and sizes come from theme.json (Appearance > Editor > Styles).
 */

:root {
	/* The six colours you choose (Appearance > Colours, or Styles > Colours). */
	--bc-base: var(--wp--preset--color--base, #352040);
	--bc-surface: var(--wp--preset--color--surface, #271530);
	--bc-text: var(--wp--preset--color--contrast, #F4EFEA);
	--bc-muted: var(--wp--preset--color--muted, #D9CEDC);
	--bc-accent: var(--wp--preset--color--accent, #F3C27A);
	--bc-on-accent: var(--wp--preset--color--on-accent, #1E1622);

	/* Everything else is worked out from those six, so a new palette restyles the whole site. */
	--bc-surface-2: color-mix(in srgb, var(--bc-surface) 88%, #000);
	--bc-surface-3: color-mix(in srgb, var(--bc-surface) 72%, #000);
	--bc-frame: color-mix(in oklab, var(--bc-base) 96%, var(--bc-text));
	--bc-white: var(--bc-text);
	--bc-muted-2: color-mix(in oklab, var(--bc-muted) 55%, var(--bc-text));
	--bc-accent-2: color-mix(in oklab, var(--bc-accent) 72%, #fff);
	--bc-wordmark: color-mix(in oklab, var(--bc-base) 84%, var(--bc-text));
	--bc-line: color-mix(in srgb, var(--bc-text) 14%, transparent);
	--bc-line-soft: color-mix(in srgb, var(--bc-text) 12%, transparent);
	--bc-line-chip: color-mix(in srgb, var(--bc-text) 20%, transparent);
	--bc-line-strong: color-mix(in srgb, var(--bc-text) 30%, transparent);
	--bc-glass: color-mix(in srgb, var(--bc-base) 74%, transparent);
	--bc-pill: color-mix(in srgb, var(--bc-surface-3) 45%, transparent);
	--bc-inset: inset 0 0 0 1px color-mix(in srgb, var(--bc-text) 7%, transparent);
	--bc-edge: color-mix(in srgb, var(--bc-text) 6%, transparent);
	--bc-shadow: rgb(0 0 0 / var(--wp--custom--shadow--strength, .55));
	--bc-fill-start: color-mix(in oklab, var(--bc-text) var(--wp--custom--fill--start, 55%), var(--bc-base));
	--bc-fill-dim: color-mix(in oklab, var(--bc-text) var(--wp--custom--fill--dim, 45%), var(--bc-base));
	--bc-mock-browser: var(--wp--custom--mockup--browser, #F6F1EA);
	--bc-mock-bar: var(--wp--custom--mockup--bar, #E8DFD3);
	--bc-mock-dot: var(--wp--custom--mockup--dot, #E2D6C6);
	--bc-mock-phones: var(--wp--custom--mockup--phones, #E9DCCB);
	--bc-mock-screen: var(--wp--custom--mockup--screen, #FFFFFF);
	--bc-mock-empty: var(--wp--custom--mockup--empty, #5E5163);
	--bc-mock-bezel: var(--wp--custom--mockup--bezel, #1E1622);

	/* Older names, kept so any custom CSS that uses them still works. */
	--wp--preset--color--surface-2: var(--bc-surface-2);
	--wp--preset--color--surface-3: var(--bc-surface-3);
	--wp--preset--color--frame: var(--bc-frame);
	--wp--preset--color--white: var(--bc-white);
	--wp--preset--color--muted-2: var(--bc-muted-2);
	--wp--preset--color--accent-2: var(--bc-accent-2);
	--wp--preset--color--wordmark: var(--bc-wordmark);
	--wp--preset--color--paper: var(--bc-mock-browser);
	--wp--preset--color--stone: var(--bc-mock-phones);

	--bc-gutter: var(--wp--custom--gutter, clamp(20px, 4vw, 48px));
	--bc-out: var(--wp--custom--ease--out, cubic-bezier(.22, 1, .36, 1));
	--bc-io: var(--wp--custom--ease--in-out, cubic-bezier(.76, 0, .24, 1));
	--bc-rv: var(--wp--custom--ease--reveal, cubic-bezier(.25, 1, .33, 1));
	--bc-max: 1320px;
	--bc-max-wide: 1352px;
	--bc-card-r: var(--wp--custom--radius--card, 28px);
	--bc-fig-r: var(--wp--custom--radius--figure, 20px);
	--bc-logo-h: var(--wp--custom--logo--height, 44px);
	--bc-header-h: 88px;
}

/* Finer shades where the browser supports relative colours: lightness steps in OKLCH keep hue and work on light palettes too. */
@supports (color: oklch(from red l c h)) {
	:root {
		--bc-surface-2: oklch(from var(--bc-surface) calc(l - .017) calc(c * .91) h);
		--bc-surface-3: oklch(from var(--bc-surface) calc(l - .039) calc(c * .85) h);
		--bc-frame: oklch(from var(--bc-base) calc(l + .02) c h);
		--bc-white: oklch(from var(--bc-text) calc(l + (l - .5) * .1) c h);
		--bc-accent-2: oklch(from var(--bc-accent) calc(l + .04) calc(c * .77) h);
		--bc-wordmark: oklch(from color-mix(in oklab, var(--bc-base) 84%, var(--bc-text)) l calc(c * 1.5) h);
	}
}

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

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

h1, h2, h3, h4 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
::selection { background: var(--bc-accent); color: var(--bc-on-accent); }
:where(a):focus-visible { outline: 2px solid var(--bc-accent); outline-offset: 4px; border-radius: 6px; }
img { max-width: 100%; height: auto; }

.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block: 0; }
.bc-main > .wp-block-post-content > * { margin-block: 0; }
:where(.bc-main) :where(p, h1, h2, h3, h4, ul, ol, dl, figure) { margin-block: 0; }

/* Containers */
.bc-wrap {
	width: min(var(--bc-max), 100% - 2 * var(--bc-gutter));
	margin-inline: auto;
	box-sizing: border-box;
}
.bc-wrap-wide {
	width: min(var(--bc-max-wide), 100% - 2 * clamp(12px, 2vw, 24px));
	margin-inline: auto;
	box-sizing: border-box;
}

/* Skip link (added by WordPress) */
.skip-link.screen-reader-text:focus {
	position: fixed !important;
	left: 16px; top: 16px;
	z-index: 100000;
	width: auto; height: auto; clip: auto; clip-path: none;
	padding: 12px 20px;
	border-radius: 200px;
	background: var(--bc-accent);
	color: var(--bc-on-accent);
	font-size: 14px; font-weight: 500;
	text-decoration: none;
	box-shadow: none;
}

/* Header */
.bc-header {
	position: sticky;
	top: 0;
	z-index: 20;
	transition: transform .7s var(--bc-io), background-color .5s ease, -webkit-backdrop-filter .5s ease, backdrop-filter .5s ease;
}
.admin-bar .bc-header { top: var(--wp-admin--admin-bar--height, 32px); }
.bc-header.is-hidden { transform: translateY(-100%); }
.admin-bar .bc-header.is-hidden { transform: translateY(calc(-100% - var(--wp-admin--admin-bar--height, 32px))); }
.bc-header.is-solid {
	background: var(--bc-glass);
	-webkit-backdrop-filter: blur(18px) saturate(1.2);
	backdrop-filter: blur(18px) saturate(1.2);
}
.bc-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	padding-block: 22px;
}
.bc-brand__link {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 44px;
	color: var(--bc-text);
	text-decoration: none;
}
.bc-brand__link:hover { color: var(--bc-text); }
.bc-brand__name { font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
.bc-header__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 30px; }
.bc-nav { font-size: 14px; font-weight: 500; gap: 0 30px; }
.bc-nav .wp-block-navigation__container { gap: 0 30px; }
.bc-nav .wp-block-navigation-item__content {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--bc-text);
	text-decoration: none;
}
.bc-nav .wp-block-navigation-item__content[aria-current="page"],
.bc-nav .current-menu-item > .wp-block-navigation-item__content { color: var(--bc-accent); }
.bc-header__cv { gap: 0; }
@media (max-width: 600px) {
	.bc-hide-sm { display: none !important; }
	.bc-header__nav, .bc-nav, .bc-nav .wp-block-navigation__container { gap: 0 20px; }
}

/* Text-reveal hover (spans added by site.js) */
.bc-trb { display: inline-flex; align-items: center; }
.bc-trb-m { display: block; position: relative; overflow: hidden; line-height: 1.3; }
.bc-trb-a, .bc-trb-b { display: block; transition: transform .55s var(--bc-rv); }
.bc-trb-b { position: absolute; left: 0; top: 100%; }
a:hover > .bc-trb-m .bc-trb-a, a:hover > .bc-trb-m .bc-trb-b,
a:focus-visible > .bc-trb-m .bc-trb-a, a:focus-visible > .bc-trb-m .bc-trb-b,
a:hover .bc-trb .bc-trb-a, a:hover .bc-trb .bc-trb-b { transform: translateY(-100%); }

/* Buttons */
.wp-block-button__link { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; box-sizing: border-box; transition: background-color .4s ease, color .4s ease, box-shadow .4s ease; text-decoration: none; }
.wp-block-button.is-style-bc-outline .wp-block-button__link {
	background: transparent;
	color: var(--bc-text);
	box-shadow: inset 0 0 0 1px var(--bc-line-strong);
	min-height: 44px;
	padding: 0 22px;
	font-size: 14px;
}
.wp-block-button.is-style-bc-outline .wp-block-button__link:hover { background: var(--bc-text); color: var(--bc-surface); box-shadow: inset 0 0 0 1px var(--bc-text); }
.bc-button-lg .wp-block-button.is-style-bc-outline .wp-block-button__link { min-height: 56px; padding: 0 30px; font-size: 15px; }
.wp-block-button.is-style-bc-arrow .wp-block-button__link::after,
.bc-button-lg .wp-block-button.is-style-bc-outline .wp-block-button__link::after {
	content: "";
	width: 15px; height: 15px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.wp-block-button.is-style-bc-magnetic .wp-block-button__link {
	width: clamp(144px, 12vw, 176px);
	height: clamp(144px, 12vw, 176px);
	min-height: 0;
	padding: 0;
	border-radius: 50%;
	justify-content: center;
	text-align: center;
	transition: translate .6s var(--bc-out), background-color .4s ease;
}
.bc-mag-l { display: block; transition: translate .6s var(--bc-out); }

/* Underline draw */
.bc-ul { position: relative; color: var(--bc-text); font-weight: 500; text-decoration: none; }
.bc-ul:hover { color: var(--bc-text); }
.bc-ul::after {
	content: "";
	position: absolute; left: 0; right: 0; bottom: -.06em;
	height: max(1px, .05em);
	background: currentColor;
	transform: scaleX(0);
	transform-origin: 100% 50%;
	transition: transform .9s var(--bc-io);
}
.bc-ul:hover::after, .bc-ul:focus-visible::after { transform: scaleX(1); transform-origin: 0 50%; }

/* Paragraph styles */
.is-style-bc-lead { font-weight: 500; font-size: var(--wp--preset--font-size--lead); line-height: 1.45; letter-spacing: -.015em; color: var(--bc-text); }
.is-style-bc-lead-large { font-weight: 500; font-size: var(--wp--preset--font-size--lead-large); line-height: 1.35; letter-spacing: -.02em; color: var(--bc-text); }
.is-style-bc-eyebrow { font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--bc-accent); letter-spacing: 0; }
.is-style-bc-kicker { font-size: 15px; font-weight: 500; color: var(--bc-accent); }
.is-style-bc-note { font-size: 14px; line-height: 1.6; color: var(--bc-muted); }
.is-style-bc-subtitle { max-width: 36em; font-size: clamp(18px, 1.4vw, 20px); line-height: 1.65; color: var(--bc-muted); }
.is-style-bc-intro { max-width: 34em; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.7; color: var(--bc-text); }
.is-style-bc-status { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: var(--bc-muted); }
.is-style-bc-status::before {
	content: "";
	flex: 0 0 8px;
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--bc-accent);
	animation: bc-pulse 2.6s ease-in-out infinite;
}
@keyframes bc-pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--bc-accent) 50%, transparent); } 55% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--bc-accent) 0%, transparent); } }
.is-style-bc-pull { padding: 28px 0; border-top: 1px solid var(--bc-line); border-bottom: 1px solid var(--bc-line); font-weight: 500; font-size: var(--wp--preset--font-size--lead); line-height: 1.45; letter-spacing: -.015em; color: var(--bc-text); }
.is-style-bc-arrow-link a, a.bc-arrow-link {
	display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
	font-size: 15px; font-weight: 500; color: var(--bc-accent); text-decoration: none;
}
.is-style-bc-back a {
	display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
	font-size: 14px; font-weight: 500; color: var(--bc-muted); text-decoration: none;
}
.is-style-bc-back a::before, .is-style-bc-arrow-link.is-down a::after {
	content: "";
	width: 14px; height: 14px;
	background: currentColor;
	-webkit-mask: var(--bc-icon) center / contain no-repeat;
	mask: var(--bc-icon) center / contain no-repeat;
}
.is-style-bc-back a::before { --bc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M13 8H3M7 4L3 8l4 4' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.is-style-bc-arrow-link.is-down a::after { --bc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M8 3v10M4 9l4 4 4-4' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.is-style-bc-back a:hover { color: var(--bc-text); }

/* Lists */
.wp-block-list.is-style-bc-rows { list-style: none; padding: 0; }
.wp-block-list.is-style-bc-rows > li { padding: 22px 0; border-top: 1px solid var(--bc-line); }
.wp-block-list.is-style-bc-rows > li:last-child { border-bottom: 1px solid var(--bc-line); }
.wp-block-list.is-style-bc-rows.is-tight > li { padding: 14px 0; font-size: 16px; line-height: 1.6; }
.wp-block-list.is-style-bc-rows.is-plain > li:first-child { padding-top: 0; border-top: 0; }
.wp-block-list.is-style-bc-rows.is-plain > li:last-child { border-bottom: 0; }
.wp-block-list.is-style-bc-chips, .bc-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.wp-block-list.is-style-bc-chips > li { padding: 10px 16px; border-radius: 200px; box-shadow: inset 0 0 0 1px var(--bc-line-chip); font-size: 14px; line-height: 1.3; color: var(--bc-muted-2); }
.bc-chips li { padding: 6px 12px; border-radius: 200px; box-shadow: inset 0 0 0 1px var(--bc-line-chip); font-size: 12px; line-height: 1.4; color: var(--bc-muted-2); }

/* Grain, loader, cursor, progress */
.bc-grain { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 60; opacity: var(--bc-grain, .06); mix-blend-mode: overlay; }
.bc-loader { position: fixed; inset: 0; z-index: 70; background: var(--bc-surface); display: flex; align-items: center; justify-content: center; animation: bc-ldr .9s var(--bc-io) .5s forwards; pointer-events: none; }
.bc-loader svg { animation: bc-ldrin .7s var(--bc-out) both; }
@keyframes bc-ldr { to { transform: translateY(-101%); visibility: hidden; } }
@keyframes bc-ldrin { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.bc-cur { position: fixed; left: 0; top: 0; z-index: 45; pointer-events: none; translate: -200px -200px; }
.bc-cur__pill {
	position: absolute; left: 0; top: 0;
	transform: translate(-50%, -50%) scale(.3);
	opacity: 0;
	padding: 16px 24px;
	border-radius: 200px;
	background: var(--bc-pill);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	color: var(--bc-white);
	font-size: 14px; font-weight: 500;
	white-space: nowrap;
	transition: transform .55s var(--bc-out), opacity .35s ease;
}
.bc-cur.is-on .bc-cur__pill { transform: translate(-50%, -50%) scale(1); opacity: 1; }
@media (hover: none) { .bc-cur { display: none; } }
.bc-progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 30; background: var(--bc-accent); transform-origin: 0 50%; transform: scaleX(0); }
@supports (animation-timeline: scroll()) {
	.bc-progress { animation: bc-prog linear both; animation-timeline: scroll(root); }
}
@keyframes bc-prog { to { transform: scaleX(1); } }

/* Page heroes */
.bc-hero { padding-block: clamp(80px, 10vw, 160px) clamp(56px, 6vw, 88px); }
.bc-hero .is-style-bc-status { margin-bottom: clamp(28px, 3vw, 40px); }
.bc-hero h1, .bc-hero .wp-block-heading:where(h1) { font-size: var(--wp--preset--font-size--display); line-height: 1; letter-spacing: -.04em; }
.bc-hero h1 em, .bc-hero h1 mark { font-style: italic; }
.bc-hero .is-style-bc-intro { margin-top: clamp(32px, 3.4vw, 48px); }
.bc-hero .wp-block-buttons { margin-top: 36px; }
.bc-hero .bc-facts { margin-top: clamp(72px, 8vw, 120px); }
.bc-hero.is-page { padding-block: clamp(80px, 10vw, 150px) clamp(56px, 6vw, 88px); }
.bc-hero.is-work { padding-block: clamp(80px, 10vw, 150px) clamp(64px, 7vw, 104px); }
.bc-hero.is-work h1 { font-size: var(--wp--preset--font-size--display-work); letter-spacing: -.045em; }
.bc-hero__meta { margin-top: clamp(28px, 3vw, 44px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; }
.bc-hero__meta p { color: var(--bc-muted); }
.bc-hero__meta p:first-child { max-width: 32em; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.7; }
.bc-hero__meta p:last-child:not(:first-child) { font-size: 14px; }

/* Facts */
.bc-facts__list { margin: 0; padding: 24px 0 0; border-top: 1px solid var(--bc-line); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px 32px; }
.bc-facts__list dt { font-size: 13px; color: var(--bc-muted); margin-bottom: 6px; }
.bc-facts__list dd { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.5; }
.bc-facts.is-stacked .bc-facts__list { padding: 0; border-top: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0 32px; }
.bc-facts.is-stacked .bc-facts__list > div { padding: 16px 0; border-top: 1px solid var(--bc-line); }
.bc-facts.is-stacked dt { margin-bottom: 4px; }

/* Section header (Selected work) */
.bc-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; margin: 0 clamp(8px, 2vw, 24px) clamp(32px, 4vw, 48px); }
.bc-section-head h2 { font-size: clamp(34px, 4vw, 58px); line-height: 1; letter-spacing: -.035em; }
.bc-section-head p { max-width: 24em; font-size: 15px; line-height: 1.65; color: var(--bc-muted); }
.bc-selected { padding-top: clamp(40px, 5vw, 72px); }
.bc-selected .wp-block-buttons { justify-content: center; padding-block: clamp(48px, 5vw, 72px) clamp(96px, 11vw, 160px); }

/* Stacked cards (Home) */
.bc-stack .wp-block-post-template { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
.bc-stack .wp-block-post-template > li { margin: 0; position: sticky; top: 96px; transform-origin: 50% 0; }
.bc-card {
	position: relative;
	display: flex; flex-direction: column;
	height: clamp(660px, 58vw, 840px);
	box-sizing: border-box;
	border-radius: var(--bc-card-r);
	overflow: hidden;
	background: var(--bc-surface);
	box-shadow: var(--bc-inset);
	color: var(--bc-white);
}
.bc-stack .wp-block-post-template > li:nth-child(3n+2) .bc-card { background: var(--bc-surface-2); }
.bc-stack .wp-block-post-template > li:nth-child(3n+3) .bc-card { background: var(--bc-surface-3); }
.bc-card__head { padding: clamp(28px, 3vw, 44px) clamp(20px, 4.2vw, 60px) 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }
.bc-card__intro { flex: 999 1 420px; min-width: 0; }
.bc-card__line, .bc-rowcard__line, .bc-next__label { margin: 0 0 12px; font-size: 14px; color: var(--bc-muted-2); }
.bc-card__title { margin: 0; font-weight: 500; font-size: clamp(28px, 3vw, 44px); line-height: 1.08; letter-spacing: -.03em; color: var(--bc-white); }
.bc-card__link { color: inherit; text-decoration: none; }
.bc-card__link:hover { color: inherit; }
.bc-card__link::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.bc-card__link:focus-visible { outline: none; }
.bc-card:has(.bc-card__link:focus-visible) { outline: 2px solid var(--bc-accent); outline-offset: 4px; }
.bc-card__side { flex: 1 1 340px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.bc-card__dl { margin: 0; display: grid; gap: 8px; font-size: 14px; line-height: 1.55; }
.bc-card__dl > div { display: flex; gap: 14px; }
.bc-card__dl dt { flex: 0 0 56px; color: var(--bc-muted-2); }
.bc-card__dl dd { margin: 0; }
.bc-arrow {
	flex: 0 0 52px; width: 52px; height: 52px;
	border-radius: 50%;
	background: var(--bc-accent); color: var(--bc-on-accent);
	display: flex; align-items: center; justify-content: center;
	transition: transform .7s var(--bc-out), background-color .4s ease;
}
.bc-card:hover .bc-arrow, .bc-rowcard:hover .bc-arrow, .bc-next__card:hover .bc-arrow { transform: rotate(-45deg); background: var(--bc-accent-2); }
.bc-card__media, .bc-next__media { flex: 1; min-height: 0; padding: 60px 60px 0; display: block; }
@media (max-width: 640px) { .bc-card__media, .bc-next__media { padding: 28px 20px 0; } }

/* Image frames used by cards */
.bc-shot {
	height: calc(100% + 24px);
	border-radius: 16px 16px 0 0;
	overflow: hidden;
	box-sizing: border-box;
	background: var(--bc-frame);
	box-shadow: 0 0 0 1px var(--bc-edge), 0 -24px 80px -32px var(--bc-shadow);
	transition: transform 1.1s var(--bc-out);
}
.bc-card:hover .bc-shot, .bc-rowcard:hover .bc-shot, .bc-next__card:hover .bc-shot { transform: translateY(-18px); }
.bc-shot--browser { display: flex; flex-direction: column; background: var(--bc-mock-browser); }
.bc-shot__bar { height: 32px; flex: 0 0 auto; display: flex; align-items: center; gap: 7px; padding: 0 16px; border-bottom: 1px solid var(--bc-mock-bar); }
.bc-shot__bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--bc-mock-dot); }
.bc-shot__screen { flex: 1; min-height: 0; overflow: hidden; }
.bc-shot__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.bc-shot--plain .bc-shot__img { height: 100%; }
.bc-shot__empty { display: flex; height: 100%; align-items: center; justify-content: center; font-size: 13px; color: var(--bc-mock-empty); }
.bc-shot--phones { display: flex; justify-content: center; gap: clamp(20px, 3vw, 44px); padding: clamp(28px, 3vw, 48px) 24px 0; background: var(--bc-mock-phones); box-shadow: 0 -24px 80px -32px var(--bc-shadow); }
.bc-phone { height: 108%; aspect-ratio: 9 / 19; border-radius: 38px 38px 0 0; border: 8px solid var(--bc-mock-bezel); border-bottom: none; background: var(--bc-mock-screen); box-sizing: border-box; overflow: hidden; box-shadow: 0 40px 80px -30px color-mix(in srgb, var(--bc-mock-bezel) 50%, transparent); }
.bc-phone + .bc-phone { margin-top: 56px; }
.bc-phone .bc-shot__img { object-position: 50% 0; }
.bc-rowcard .bc-phone { border-radius: 32px 32px 0 0; border-width: 7px; }
.bc-rowcard .bc-phone + .bc-phone { margin-top: 44px; }

@supports (animation-timeline: view()) {
	.bc-stack .wp-block-post-template { timeline-scope: --bc-c2, --bc-c3, --bc-c4, --bc-c5; }
	.bc-stack .wp-block-post-template > li:nth-child(2) { view-timeline-name: --bc-c2; }
	.bc-stack .wp-block-post-template > li:nth-child(3) { view-timeline-name: --bc-c3; }
	.bc-stack .wp-block-post-template > li:nth-child(4) { view-timeline-name: --bc-c4; }
	.bc-stack .wp-block-post-template > li:nth-child(5) { view-timeline-name: --bc-c5; }
	.bc-fx-stack .bc-stack .wp-block-post-template > li:nth-child(1) { animation: bc-stk linear both; animation-timeline: --bc-c2; animation-range: entry 80% entry 100%; }
	.bc-fx-stack .bc-stack .wp-block-post-template > li:nth-child(2) { animation: bc-stk linear both; animation-timeline: --bc-c3; animation-range: entry 80% entry 100%; }
	.bc-fx-stack .bc-stack .wp-block-post-template > li:nth-child(3) { animation: bc-stk linear both; animation-timeline: --bc-c4; animation-range: entry 80% entry 100%; }
	.bc-fx-stack .bc-stack .wp-block-post-template > li:nth-child(4) { animation: bc-stk linear both; animation-timeline: --bc-c5; animation-range: entry 80% entry 100%; }
	.bc-fx-parallax .bc-card__media, .bc-fx-parallax .bc-next__media, .bc-fx-parallax .bc-rowcard__media .bc-shot-wrap { animation: bc-par linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
}
@keyframes bc-stk { to { transform: scale(.94); filter: blur(4px) brightness(.7); } }
@keyframes bc-par { from { transform: translateY(80px); } to { transform: none; } }
.bc-motion-subtle .bc-stack .wp-block-post-template > li { animation: none !important; }

/* Work page rows */
.bc-worklist .wp-block-post-template { list-style: none; margin: 0; padding: 0 0 clamp(120px, 13vw, 180px); display: grid; gap: clamp(80px, 9vw, 128px); }
.bc-worklist .wp-block-post-template > li { margin: 0; }
.bc-rowcard { display: flex; flex-wrap: wrap; align-items: center; gap: 32px clamp(40px, 5vw, 72px); }
.bc-rowcard__media {
	flex: 999 1 620px; min-width: 0;
	display: flex; flex-direction: column;
	height: clamp(400px, 38vw, 560px);
	padding: 60px 60px 0;
	box-sizing: border-box;
	border-radius: var(--bc-card-r);
	overflow: hidden;
	background: var(--bc-surface);
	box-shadow: var(--bc-inset);
}
@media (max-width: 640px) { .bc-rowcard__media { padding: 28px 20px 0; } }
.bc-worklist .wp-block-post-template > li:nth-child(3n+2) .bc-rowcard__media { background: var(--bc-surface-2); }
.bc-worklist .wp-block-post-template > li:nth-child(3n+3) .bc-rowcard__media { background: var(--bc-surface-3); }
.bc-shot-wrap { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.bc-rowcard__media .bc-shot { flex: 1; min-height: 0; }
.bc-rowcard__media .bc-shot__bar { height: 30px; }
.bc-rowcard__media .bc-shot__bar span { width: 8px; height: 8px; }
.bc-rowcard__body { flex: 1 1 340px; min-width: 0; }
.bc-rowcard__line { margin-bottom: 14px; }
.bc-rowcard__title { margin: 0; font-weight: 500; font-size: clamp(28px, 2.7vw, 40px); line-height: 1.1; letter-spacing: -.03em; }
.bc-rowcard__title a { color: var(--bc-white); text-decoration: none; transition: color .4s ease; }
.bc-rowcard:hover .bc-rowcard__title a { color: var(--bc-accent); }
.bc-rowcard__summary { margin: 18px 0 0; font-size: 15px; line-height: 1.7; color: var(--bc-muted-2); }
.bc-rowcard .bc-chips { margin: 20px 0 0; }
.bc-rowcard__dl { margin: 24px 0 0; display: grid; gap: 10px; font-size: 14px; line-height: 1.55; }
.bc-rowcard__dl > div { display: flex; gap: 16px; padding-top: 10px; border-top: 1px solid var(--bc-line-soft); }
.bc-rowcard__dl dt { flex: 0 0 76px; color: var(--bc-muted-2); }
.bc-rowcard__dl dd { margin: 0; }
.bc-rowcard__cta { margin-top: 24px; display: inline-flex; align-items: center; gap: 14px; min-height: 44px; font-size: 15px; font-weight: 500; color: var(--bc-text); text-decoration: none; }
.bc-rowcard__cta:hover { color: var(--bc-text); }
.bc-rowcard__cta .bc-arrow { flex-basis: 44px; width: 44px; height: 44px; }

/* Case study hero */
.bc-case-hero { padding-block: clamp(72px, 9vw, 140px) clamp(48px, 5vw, 72px); }
.bc-case-hero .is-style-bc-back { margin-bottom: 24px; }
.bc-case-hero .is-style-bc-kicker { margin-bottom: 28px; }
.bc-case-hero h1 { font-size: var(--wp--preset--font-size--display-case); line-height: 1.02; letter-spacing: -.04em; }
.bc-case-hero .is-style-bc-subtitle { margin-top: clamp(28px, 3vw, 40px); }
.bc-meta { margin-top: clamp(48px, 5vw, 72px); padding-top: 24px; border-top: 1px solid var(--bc-line); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 24px 32px; }
.bc-meta__item > p:first-child { font-size: 13px; color: var(--bc-muted); margin-bottom: 6px; line-height: 1.5; }
.bc-meta__item > p:last-child { font-size: 15px; font-weight: 500; line-height: 1.5; }

/* Cover image */
.bc-cover {
	width: min(var(--bc-max-wide), 100% - 2 * clamp(12px, 2vw, 24px));
	margin-inline: auto;
	height: clamp(480px, 48vw, 700px);
	box-sizing: border-box;
	border-radius: var(--bc-card-r);
	overflow: hidden;
	background: var(--bc-surface);
	box-shadow: var(--bc-inset);
	padding: 60px 60px 0;
	display: flex; flex-direction: column;
}
@media (max-width: 640px) { .bc-cover { padding: 28px 20px 0; } }
.bc-cover > .wp-block-image { flex: 1; min-height: 0; margin: 0; }
.bc-cover > .wp-block-image img {
	display: block; width: 100%;
	height: calc(100% + 24px);
	object-fit: cover; object-position: 50% 0;
	border-radius: 16px 16px 0 0;
	box-shadow: 0 0 0 1px var(--bc-edge), 0 -24px 80px -32px var(--bc-shadow);
}

/* Case study body */
.bc-case-body { padding-top: clamp(96px, 10vw, 140px); }
.bc-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px clamp(40px, 6vw, 96px);
	padding-block: clamp(56px, 6vw, 88px);
	border-top: 1px solid var(--bc-line);
}
.bc-row.no-line { border-top: 0; }

/* Spacing utilities used by case study sections and figures */
.pt-0 { padding-top: 0 !important; }
.pt-xs { padding-top: clamp(24px, 3vw, 40px) !important; }
.pt-s { padding-top: clamp(40px, 5vw, 64px) !important; }
.pt-m { padding-top: clamp(48px, 5vw, 72px) !important; }
.pt-l { padding-top: clamp(56px, 6vw, 88px) !important; }
.pt-xl { padding-top: clamp(72px, 8vw, 112px) !important; }
.pb-0 { padding-bottom: 0 !important; }
.pb-xs { padding-bottom: clamp(24px, 3vw, 40px) !important; }
.pb-s { padding-bottom: clamp(40px, 5vw, 64px) !important; }
.pb-m { padding-bottom: clamp(48px, 5vw, 72px) !important; }
.pb-l { padding-bottom: clamp(56px, 6vw, 88px) !important; }
.pb-xl { padding-bottom: clamp(72px, 8vw, 112px) !important; }
@media (min-width: 900px) {
	.bc-row { grid-template-columns: minmax(220px, 4fr) minmax(0, 8fr); }
	.bc-row > .bc-row__body { grid-column: 2; }
	.bc-row__title { position: sticky; top: 112px; align-self: start; }
}
.bc-row__title { font-size: var(--wp--preset--font-size--section); line-height: 1.16; letter-spacing: -.025em; }
.bc-row__body { min-width: 0; max-width: 720px; }
.bc-prose > p:not([class*="is-style-"]), .bc-row__body > p:not([class*="is-style-"]) { font-size: 18px; line-height: 1.75; color: var(--bc-muted-2); }
.bc-row__body strong, .bc-prose strong { color: var(--bc-white); font-weight: 500; }
.bc-row__body > * + * { margin-top: 18px; }
.bc-row__body > h3 { margin-top: 44px; margin-bottom: -4px; color: var(--bc-white); }
.bc-row__body > h3:first-child { margin-top: 0; }
.bc-row__body > .is-style-bc-lead, .bc-row__body > .is-style-bc-pull { color: var(--bc-text); }
.bc-row__body > .is-style-bc-lead:not(:first-child) { margin-top: 36px; }
.bc-row__body > .is-style-bc-pull { margin-top: 32px; }
.bc-row__body > .is-style-bc-note { font-size: 14px; color: var(--bc-muted); }
.bc-row__body > .wp-block-list, .bc-row__body > .bc-stack-gap { margin-top: 24px; }
.bc-row__body > .wp-block-list.is-style-bc-rows:first-child { margin-top: 0; }
.bc-row__body > .is-style-bc-eyebrow { margin-top: 36px; }
.bc-row__body > .is-style-bc-eyebrow + * { margin-top: 14px; }
.bc-row__body li > strong:first-child { color: var(--bc-white); }
.bc-row__body .wp-block-list.is-style-bc-rows > li { font-size: 18px; line-height: 1.75; color: var(--bc-muted-2); }
.bc-row__body .wp-block-list.is-style-bc-rows.is-tight > li { font-size: 16px; line-height: 1.6; }
.bc-row__body .wp-block-list:not(.is-style-bc-rows):not(.is-style-bc-chips) { padding-left: 1.2em; color: var(--bc-muted-2); }

/* Glance list */
.bc-glance > .bc-glance__row { display: flex; flex-wrap: wrap; gap: 6px 32px; padding: 20px 0; border-top: 1px solid var(--bc-line); }
.bc-glance > .bc-glance__row:last-child { border-bottom: 1px solid var(--bc-line); }
.bc-glance__row > p:first-child { flex: 0 0 140px; font-size: 15px; color: var(--bc-muted); line-height: 1.6; }
.bc-glance__row > p:last-child { flex: 1 1 320px; font-size: 18px; line-height: 1.6; color: var(--bc-text); }
.bc-glance + .is-style-bc-arrow-link { margin-top: 20px; }

/* Big figure callouts */
.bc-stat { margin-top: 40px !important; padding: 28px 0; border-top: 1px solid var(--bc-line); border-bottom: 1px solid var(--bc-line); display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 32px; }
.bc-stat > p:first-child, .bc-stats__item > p:first-child, .bc-figure-big { font-weight: 500; font-size: clamp(40px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -.04em; color: var(--bc-text); }
.bc-stat > p:last-child { flex: 1 1 260px; font-size: 16px; line-height: 1.6; color: var(--bc-muted-2); }
.bc-stats { margin-top: 40px !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 0 28px; }
.bc-stats.is-tight { margin-top: 14px !important; }
.bc-stats__item { padding-top: 24px; border-top: 1px solid var(--bc-line); }
.bc-stats__item > p:first-child { font-size: clamp(30px, 2.9vw, 40px); line-height: 1.05; letter-spacing: -.035em; }
.bc-stats.is-large .bc-stats__item > p:first-child { font-size: clamp(32px, 3.2vw, 42px); }
.bc-stats__item > p:last-child { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--bc-muted-2); }
.bc-figure-line { margin-top: 14px !important; padding-top: 24px; border-top: 1px solid var(--bc-line); }
.bc-figure-line > p { font-size: clamp(32px, 3.2vw, 42px); }

/* Cards in the prose */
.bc-cards { margin-top: 32px !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.bc-cards.is-three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); margin-top: 28px !important; }
.bc-cards + * { margin-top: 28px !important; }
.bc-card-box { padding: 26px; border-radius: var(--bc-fig-r); background: var(--bc-surface); box-shadow: var(--bc-inset); }
.bc-cards.is-three .bc-card-box { padding: 24px; }
.bc-card-box > p:first-child.is-style-bc-eyebrow { margin-bottom: 12px; }
.bc-card-box > p.bc-card-box__title { margin-bottom: 8px; font-size: 16px; font-weight: 500; color: var(--bc-white); line-height: 1.4; }
.bc-card-box > p.bc-card-box__quote { font-weight: 500; font-size: 20px; line-height: 1.32; letter-spacing: -.02em; color: var(--bc-white); }
.bc-card-box > p:not(.is-style-bc-eyebrow):not(.bc-card-box__title):not(.bc-card-box__quote) { font-size: 15px; line-height: 1.6; color: var(--bc-muted-2); }

/* Results list */
.bc-results { margin-top: 28px !important; }
.bc-results > .bc-result { padding: 24px 0; border-top: 1px solid var(--bc-line); }
.bc-results > .bc-result:last-child { border-bottom: 1px solid var(--bc-line); }
.bc-results.is-tight > .bc-result { padding: 22px 0; }
.bc-results.is-spaced { margin-top: 40px !important; }
.bc-result > .is-style-bc-eyebrow { margin-bottom: 8px; }
.bc-result > p:not(.is-style-bc-eyebrow) { font-size: 18px; line-height: 1.75; color: var(--bc-muted-2); }

/* Two-column issue lists */
.bc-two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 28px 40px; }
.bc-two-col > .wp-block-group > .is-style-bc-eyebrow { margin-bottom: 6px; }

/* Table */
.bc-table { margin-top: 32px !important; overflow-x: auto; }
.bc-table table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.bc-table thead { border: 0; }
.bc-table th, .bc-table td { border: 0; text-align: left; }
.bc-table thead th { padding: 0 16px 12px 0; font-size: 13px; font-weight: 500; color: var(--bc-muted); }
.bc-table tbody tr { border-top: 1px solid var(--bc-line); }
.bc-table tbody tr:last-child { border-bottom: 1px solid var(--bc-line); }
.bc-table tbody td { padding: 14px 16px 14px 0; color: var(--bc-muted-2); vertical-align: top; }
.bc-table tbody td:first-child { font-weight: 500; color: var(--bc-text); }
.bc-table tbody td:last-child { padding-right: 0; color: var(--bc-white); font-weight: 500; }
.bc-table figcaption { margin-top: 14px; font-size: 14px; color: var(--bc-muted); text-align: left; }

/* Figures */
.bc-figure { padding-block: clamp(40px, 5vw, 64px); }
.bc-figure .wp-block-image, .bc-figure.wp-block-image { margin: 0; }
.bc-figure img, .bc-grid img, .bc-split img {
	display: block;
	width: 100%;
	border-radius: var(--bc-fig-r);
	background: var(--bc-surface-2);
	box-shadow: var(--bc-inset);
}
.bc-figure.is-narrow, .bc-figure.is-narrow > figure { max-width: 920px; margin-inline: auto; }
.bc-figure figcaption, .bc-grid figcaption, .bc-split figcaption, .bc-phones figcaption, .bc-phones__caption {
	margin: 14px 0 0;
	font-size: 14px; line-height: 1.6;
	color: var(--bc-muted);
	text-align: left;
}
.bc-figure figcaption strong, .bc-grid figcaption strong, .bc-split figcaption strong { color: var(--bc-text); font-weight: 500; }
.bc-grid { padding-block: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 16px; align-items: start; }
.bc-grid.is-captioned { gap: 32px 16px; }
.bc-grid > .wp-block-image { margin: 0; }
.bc-split { display: flex; flex-wrap: wrap; align-items: center; gap: 32px clamp(40px, 5vw, 72px); }
.bc-split > .wp-block-image { flex: 999 1 600px; min-width: 0; margin: 0; }
.bc-split > .bc-split__text { flex: 1 1 340px; min-width: 0; }
.bc-split__text > h3 { color: var(--bc-white); }
.bc-split__text > p { margin-top: 14px; font-size: 18px; line-height: 1.75; color: var(--bc-muted-2); }
.bc-split.is-flip > .bc-split__text { order: -1; }
.bc-phones { padding-block: clamp(40px, 5vw, 64px); }
.bc-phones__frame { padding: clamp(32px, 4vw, 64px) clamp(20px, 4vw, 64px); border-radius: var(--bc-card-r); background: var(--bc-surface); box-shadow: var(--bc-inset); display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(20px, 3vw, 40px); }
.bc-phones__frame > .wp-block-image { flex: 1 1 200px; max-width: 300px; margin: 0; }
.bc-phones__frame img { display: block; width: 100%; border-radius: 28px; box-shadow: 0 30px 60px -30px var(--bc-shadow); }

/* Next case study */
.bc-next { width: min(var(--bc-max-wide), 100% - 2 * clamp(12px, 2vw, 24px)); margin-inline: auto; padding-block: clamp(112px, 12vw, 168px); }
.bc-next__card {
	display: flex; flex-direction: column;
	height: clamp(520px, 46vw, 680px);
	border-radius: var(--bc-card-r);
	overflow: hidden;
	background: var(--bc-surface-2);
	box-shadow: var(--bc-inset);
	color: var(--bc-white);
	text-decoration: none;
}
.bc-next__card:hover { color: var(--bc-white); }
.bc-next__head { padding: clamp(28px, 3vw, 44px) clamp(20px, 4.2vw, 60px) 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }
.bc-next__intro { flex: 999 1 420px; min-width: 0; display: block; }
.bc-next__label { display: block; font-size: 15px; }
.bc-next__title { display: block; font-weight: 500; font-size: clamp(28px, 3vw, 44px); line-height: 1.08; letter-spacing: -.03em; }

/* About */
.bc-about-intro { display: flex; flex-wrap: wrap; gap: 48px clamp(48px, 7vw, 112px); align-items: flex-start; }
.bc-about-intro > .bc-portrait { flex: 1 1 340px; min-width: 0; max-width: 500px; margin: 0; border-radius: var(--bc-card-r); overflow: hidden; background: var(--bc-surface); box-shadow: var(--bc-inset); }
.bc-portrait img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s var(--bc-out); }
.bc-portrait:hover img { transform: scale(1.03); }
.bc-about-intro > .bc-about-intro__text { flex: 999 1 440px; min-width: 0; max-width: 640px; }
.bc-about-intro__text > .is-style-bc-lead-large + p { margin-top: 32px; }
.bc-about-intro__text > p:not([class*="is-style-"]) { font-size: 18px; line-height: 1.8; color: var(--bc-muted-2); }
.bc-about-intro__text > p:not([class*="is-style-"]) + p:not([class*="is-style-"]) { margin-top: 20px; }
.bc-about-intro__text > .bc-facts { margin-top: 48px; }
.bc-section { padding-top: clamp(100px, 11vw, 150px); }
.bc-section.is-first { padding-top: clamp(120px, 13vw, 180px); }
.bc-section.is-last { padding-bottom: clamp(120px, 13vw, 180px); }
.bc-section-title { font-size: var(--wp--preset--font-size--title); line-height: 1.04; letter-spacing: -.035em; }
.bc-section > .bc-section-title { margin-bottom: clamp(32px, 4vw, 56px); }
.bc-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 0 clamp(32px, 4vw, 56px); }
.bc-steps > .wp-block-group { padding: 28px 0; border-top: 1px solid var(--bc-line); }
.bc-steps h3 { font-size: 21px; }
.bc-steps p { margin-top: 14px; font-size: 16px; line-height: 1.7; color: var(--bc-muted-2); }
.bc-split-head { display: flex; flex-wrap: wrap; gap: 32px clamp(40px, 6vw, 96px); }
.bc-split-head > .bc-section-title { flex: 1 1 280px; }
@media (min-width: 900px) { .bc-split-head > .bc-section-title { position: sticky; top: 112px; align-self: flex-start; } }
.bc-split-head > .bc-split-head__body { flex: 999 1 600px; min-width: 0; }
.bc-pairs > .wp-block-group { display: flex; flex-wrap: wrap; gap: 6px 32px; padding: 22px 0; border-top: 1px solid var(--bc-line); }
.bc-pairs > .wp-block-group:last-child { border-bottom: 1px solid var(--bc-line); }
.bc-pairs > .wp-block-group > p:first-child { flex: 0 0 200px; font-size: 16px; font-weight: 500; line-height: 1.65; }
.bc-pairs > .wp-block-group > p:last-child { flex: 1 1 300px; font-size: 16px; line-height: 1.65; color: var(--bc-muted-2); }
.bc-timeline > .wp-block-group { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 24px; padding: 22px 0; border-top: 1px solid var(--bc-line); }
.bc-timeline > .wp-block-group:last-child { border-bottom: 1px solid var(--bc-line); }
.bc-timeline__role > p:first-child { font-size: 18px; font-weight: 500; line-height: 1.5; }
.bc-timeline__role > p:last-child { margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--bc-muted-2); }
.bc-timeline > .wp-block-group > p:last-child { font-size: 15px; color: var(--bc-muted); }

/* Contact section */
.bc-contact { padding-block: clamp(56px, 6vw, 88px) clamp(88px, 9vw, 128px); border-top: 1px solid var(--bc-line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 48px; scroll-margin-top: 100px; }
.bc-contact__text { flex: 999 1 520px; min-width: 0; }
.bc-contact__title { max-width: 15ch; font-size: clamp(34px, 4.2vw, 60px); line-height: 1.04; letter-spacing: -.035em; }
.bc-contact__line { margin-top: 24px !important; font-size: 16px; line-height: 1.65; color: var(--bc-muted); }
.bc-contact__cta { flex: 0 0 auto; }

/* Footer */
.bc-footer-part { overflow: hidden; }
.bc-footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding-block: 22px; border-top: 1px solid var(--bc-line); font-size: 13px; color: var(--bc-muted); }
.bc-footer__row p { font-size: 13px; line-height: 1.5; color: var(--bc-muted); }
.bc-footer-links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.bc-fl, .bc-footer__top a { display: inline-flex; align-items: center; min-height: 44px; color: var(--bc-muted); text-decoration: none; transition: color .3s ease; }
.bc-fl:hover, .bc-footer__top a:hover { color: var(--bc-accent); }
.bc-wordmark { margin: 0 0 -.14em !important; font-weight: 500; font-size: clamp(48px, 10.6vw, 164px) !important; line-height: .95 !important; letter-spacing: -.05em; color: var(--bc-wordmark); white-space: nowrap; }
.bc-wordmark::before { content: attr(data-text); }
.bc-table:focus-visible { outline: 2px solid var(--bc-accent); outline-offset: 4px; border-radius: 6px; }

/* Simple pages, posts and 404 */
.bc-post { padding-block: clamp(80px, 10vw, 150px) clamp(88px, 9vw, 128px); }
.bc-post__title { font-size: clamp(40px, 5.8vw, 92px); line-height: 1.02; letter-spacing: -.04em; margin-bottom: 32px !important; }
.bc-post .bc-prose, .bc-page-prose { max-width: 720px; }
.bc-page-prose > * + * { margin-top: 18px; }
.bc-page-prose > p, .bc-post .bc-prose > p { color: var(--bc-muted-2); }
.bc-page-prose > h2 { margin-top: 48px; }
.bc-404 .wp-block-buttons { margin-top: 36px; gap: 12px 16px; }
.bc-postlist { list-style: none; padding: 0; display: grid; gap: 40px; }

/* Editor-only helpers */
.editor-styles-wrapper .bc-header { position: relative; }
.editor-styles-wrapper .bc-stack .wp-block-post-template > li { position: relative; top: auto; }

/*
 * Refinements made on the live site in October 2026, moved here from the header template part in 1.1.0.
 * Selectors are kept exactly as they were, so the site looks the same after the header is reset.
 */
body .bc-card__head { align-items: flex-start; }
body .bc-card__intro { flex: 1 1 420px; display: flex; flex-direction: column; }
body .bc-card__side { flex: 1 1 460px; align-items: flex-start; }
body .bc-card__side > .bc-arrow { align-self: center; }
body .bc-card__title { order: -1; margin-top: -.08em; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.15; }
body .bc-card__line { margin: 12px 0 0; }
.bc-card__dl { flex: 1 1 auto; min-width: 0; }
.bc-card__dl dd { flex: 1 1 auto; min-width: 0; }
body .bc-card__dl > div { flex-direction: column; gap: 6px; }
body .bc-card__dl dt { flex: none; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--bc-accent); }
body .bc-card__dl dd { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.4; font-weight: 500; color: var(--bc-white); }
body .bc-hero h1 { line-height: 1.1 !important; }
.bc-nav a:hover .bc-trb-a, .bc-nav a:hover .bc-trb-b, .bc-nav a:focus-visible .bc-trb-a, .bc-nav a:focus-visible .bc-trb-b { transform: translateY(-100%); }

/* Case studies */
.single-bc_case .bc-case-hero h1 { line-height: 1.12; }
.single-bc_case .bc-row__title { line-height: 1.28; }
.single-bc_case .bc-case-body h3, .single-bc_case .bc-case-body h4 { line-height: 1.4; }
.single-bc_case .bc-case-body { overflow-x: clip; }
.single-bc_case .bc-cover { height: auto; padding: 0; background: none; box-shadow: none; border-radius: 0; overflow: visible; }
.single-bc_case .bc-cover > .wp-block-image img { height: auto; object-fit: fill; border-radius: 7px; box-shadow: none; background: none; }
.single-bc_case .bc-figure img, .single-bc_case .bc-grid img, .single-bc_case .bc-split img { border-radius: 7px; background: none; box-shadow: none; }
.single-bc_case .bc-figure.is-narrow, .single-bc_case .bc-figure.is-narrow > figure { max-width: none; }
.single-bc_case .bc-glance > .bc-glance__row, .single-bc_case .bc-stat, .single-bc_case .wp-block-list.is-style-bc-rows > li, .single-bc_case .bc-results > .bc-result { border: 0; }
.single-bc_case .bc-glance > .bc-glance__row:first-child, .single-bc_case .wp-block-list.is-style-bc-rows > li:first-child, .single-bc_case .bc-results > .bc-result:first-child { padding-top: 0; }
.single-bc_case .bc-glance > .bc-glance__row:last-child, .single-bc_case .wp-block-list.is-style-bc-rows > li:last-child, .single-bc_case .bc-results > .bc-result:last-child { padding-bottom: 0; border: 0; }
.single-bc_case .bc-stat { padding: 0; align-items: center; }
.single-bc_case .bc-case-body > figure.pb-0 + .bc-row:not(.no-line) { margin-top: clamp(56px, 6vw, 88px); }
.single-bc_case .is-style-bc-pull { border: 0; padding: 0; }
.single-bc_case .bc-stats__item, .single-bc_case .bc-figure-line { border-top: 0; padding-top: 0; }

/* About */
body .bc-about-intro__text .bc-facts .bc-facts__list { display: flex; flex-direction: column; gap: 14px; padding: 0; border-top: 0; border-bottom: 0; }
body .bc-about-intro__text .bc-facts .bc-facts__list > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; align-items: baseline; padding: 0; border-top: 0; }
body .bc-about-intro__text .bc-facts dt { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--bc-accent); }
body .bc-about-intro__text .bc-facts dd { margin: 0; font-size: 17px; font-weight: 500; line-height: 1.5; }
@media (max-width: 560px) {
	body .bc-about-intro__text .bc-facts .bc-facts__list > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
body .bc-timeline > .wp-block-group > p:nth-child(2) { font-size: 15px; color: var(--bc-muted); }
body .bc-timeline > .wp-block-group > p.bc-timeline__desc { flex: 1 1 100%; margin-top: 10px; font-size: 16px; line-height: 1.7; color: var(--bc-muted-2); }
body .bc-split-head .bc-timeline > .wp-block-group, body .bc-split-head .bc-pairs > .wp-block-group { border-top: 0; border-bottom: 0; }
body .bc-split-head .bc-timeline > .wp-block-group { padding: 0 0 40px; }
body .bc-split-head .bc-timeline > .wp-block-group:last-child { padding-bottom: 0; }
body .bc-split-head .bc-pairs > .wp-block-group { padding: 0 0 24px; }
body .bc-split-head .bc-pairs > .wp-block-group:last-child { padding-bottom: 0; }

/* Logo, loader and new-tab hint */
.bc-brand__mark { display: block; width: auto; height: var(--bc-logo-h); }
.bc-brand.is-mark-only .bc-brand__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.bc-loader { color: var(--bc-text); }
.bc-loader .bc-brand__mark { height: 44px; animation: bc-ldrin .7s var(--bc-out) both; }
.bc-loader--quick { animation-duration: .6s; animation-delay: .2s; }
.bc-loader--quick .bc-brand__mark { animation-duration: .4s; }
.bc-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Password-protected case studies */
.bc-lock { padding-block: clamp(72px, 9vw, 140px) clamp(96px, 10vw, 150px); }
.bc-lock .is-style-bc-back { margin-bottom: 24px; }
.bc-lock__kicker { margin-bottom: 28px; font-size: 15px; font-weight: 500; color: var(--bc-accent); }
.bc-lock__title { max-width: 18ch; font-size: var(--wp--preset--font-size--display-case); line-height: 1.04; letter-spacing: -.04em; }
.bc-lock__summary { max-width: 36em; margin-top: clamp(24px, 3vw, 36px) !important; font-size: clamp(18px, 1.4vw, 20px); line-height: 1.65; color: var(--bc-muted); }
.bc-lock__panel { max-width: 640px; margin-top: clamp(40px, 5vw, 64px) !important; padding: clamp(24px, 3vw, 40px); border-radius: var(--bc-card-r); background: var(--bc-surface); box-shadow: var(--bc-inset); }
.bc-lock__badge { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--bc-accent); }
.bc-lock__badge svg { flex: 0 0 auto; }
.bc-lock__message { margin-top: 14px !important; font-size: 16px; line-height: 1.65; color: var(--bc-muted-2); }
.bc-lock__error { margin-top: 14px !important; padding: 12px 16px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--bc-accent); font-size: 15px; color: var(--bc-text); }
.bc-lock__form { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.bc-lock__field { flex: 1 1 260px; display: flex; flex-direction: column; gap: 8px; }
.bc-lock__field label { font-size: 14px; font-weight: 500; color: var(--bc-text); }
.bc-lock__field input {
	min-height: 52px; padding: 0 18px; box-sizing: border-box;
	border: 0; border-radius: 14px;
	background: var(--bc-base); color: var(--bc-text);
	box-shadow: inset 0 0 0 1px var(--bc-muted);
	font: inherit; font-size: 16px;
}
.bc-lock__field input:focus-visible { outline: 2px solid var(--bc-accent); outline-offset: 2px; }
.bc-lock__form button {
	min-height: 52px; padding: 0 26px;
	border: 0; border-radius: 200px;
	background: var(--bc-accent); color: var(--bc-on-accent);
	font: inherit; font-size: 15px; font-weight: 500; cursor: pointer;
	transition: background-color .4s ease;
}
.bc-lock__form button:hover { background: var(--bc-accent-2); }
.bc-lock__form button:focus-visible { outline: 2px solid var(--bc-accent); outline-offset: 4px; }
.bc-lock__note { margin-top: 16px !important; font-size: 14px; line-height: 1.6; color: var(--bc-muted); }
.bc-lock-tag { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; }
.bc-lock-tag svg { flex: 0 0 auto; }
