.bf-home-knowledge__header { max-inline-size: var(--bf-content-narrow); margin-block-end: var(--bf-space-6); }
.bf-home-knowledge__eyebrow { margin-block: 0 var(--bf-space-3); color: var(--bf-color-muted); font-family: var(--bf-font-latin); font-size: var(--bf-font-size-xs); font-weight: var(--bf-font-weight-bold); letter-spacing: var(--bf-letter-spacing); text-align: match-parent; }
.bf-home-knowledge__header h2 { font-size: var(--bf-font-size-display); overflow-wrap: anywhere; }
.bf-home-knowledge__opening { margin-block: 0 var(--bf-space-3); color: var(--bf-color-ink); font-size: var(--bf-font-size-lg); font-weight: var(--bf-font-weight-medium); }
.bf-home-knowledge__intro { max-inline-size: var(--bf-content-narrow); margin-block: 0 var(--bf-space-5); color: var(--bf-color-ink-soft); font-size: var(--bf-font-size-lg); }
.bf-home-knowledge__resources { margin-block-start: var(--bf-space-6); }
.bf-lab-v4 { margin-block-end: var(--bf-space-6); }
.bf-lab-v4 [hidden] { display: none; }
.bf-lab-v4__composition { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); align-items: center; gap: clamp(1rem, 4vw, 3.5rem); }
.bf-lab-v4__stage { position: relative; isolation: isolate; margin: 0; aspect-ratio: 1; min-inline-size: 0; overflow: clip; background: radial-gradient(ellipse at 50% 42%, var(--bf-color-surface-muted), var(--bf-color-canvas) 68%); }
.bf-lab-v4__assembled { position: absolute; left: 11%; top: 0; width: 78%; height: 100%; object-fit: contain; }
.bf-lab-v4__layers, .bf-lab-v4__markers { position: absolute; inset: 0; pointer-events: none; }
.bf-lab-v4__layers img { position: absolute; display: block; height: auto; max-width: none; transform-origin: center; }
.bf-lab-v4__layers img[hidden] { display: none; }
.bf-lab-v4__markers button { position: absolute; transform: translate(-50%, -50%); pointer-events: auto; min-inline-size: 44px; min-block-size: 44px; border: 1px solid var(--bf-color-border); border-radius: 50%; color: var(--bf-color-ink); background: var(--bf-color-canvas); font: inherit; font-weight: 700; cursor: pointer; box-shadow: var(--bf-shadow-sm); }
.bf-lab-v4__editorial { min-inline-size: 0; }
.bf-lab-v4__editorial h3 { font-size: var(--bf-font-size-xl); }
.bf-lab-v4__editorial > p { color: var(--bf-color-muted); }
.bf-lab-v4__modes { display: flex; flex-wrap: wrap; gap: .35rem; margin-block: var(--bf-space-3); }
.bf-lab-v4__modes button, .bf-lab-v4__regions button { min-block-size: 44px; color: var(--bf-color-ink); font: inherit; cursor: pointer; }
.bf-lab-v4__modes button { border: 1px solid var(--bf-color-border); background: var(--bf-color-canvas); border-radius: var(--bf-radius-pill); padding-inline: .65rem; }
.bf-lab-v4__regions { display: grid; }
.bf-lab-v4__regions button { border: 0; border-block-start: 1px solid var(--bf-color-border); background: transparent; text-align: start; padding-inline: .35rem; }
.bf-lab-v4__regions button span { margin-inline-end: .5rem; color: var(--bf-color-muted); }
.bf-lab-v4 button[aria-pressed="true"] { background: var(--bf-color-surface-muted); }
.bf-lab-v4 button:focus-visible { outline: 2px solid var(--bf-color-focus); outline-offset: 2px; }
#bf-lab-v4-note { min-block-size: 3em; }
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
	.bf-lab-v4[data-live] { min-block-size: 155vh; }
	.bf-lab-v4[data-live] .bf-lab-v4__composition { position: sticky; inset-block-start: 1rem; }
}
@media (max-width: 760px) {
	.bf-lab-v4__composition { grid-template-columns: minmax(0, 1fr); gap: var(--bf-space-4); }
	.bf-lab-v4__stage { max-block-size: 52vh; }
}
.bf-lab-v4__markers { z-index: 20; }
@media (max-width: 760px) {
	.bf-lab-v4__stage { inline-size: min(100%, 52vh); justify-self: center; }
}
@media (prefers-reduced-motion: no-preference) {
	.bf-lab-v4[data-live] ~ .bf-home-knowledge__grid { transition: transform 380ms var(--bf-ease-standard); }
	.bf-lab-v4[data-live][data-phase="complete"] ~ .bf-home-knowledge__grid { transform: translateY(-.4rem); }
}

/* V4.1 editorial stage and annotations. */
.bf-lab-v4__composition { grid-template-columns: minmax(0, 2.35fr) minmax(0, 1fr); gap: clamp(1.2rem, 4.8vw, 4.5rem); }
.bf-lab-v4__stage { inline-size: 100%; max-inline-size: 46rem; justify-self: center; max-block-size: none; background: radial-gradient(ellipse at 50% 53%, color-mix(in srgb, var(--bf-color-surface-muted) 73%, var(--bf-color-canvas)), var(--bf-color-canvas) 69%); }
.bf-lab-v4__assembled { left: 12%; width: 76%; }
.bf-lab-v4__layers img { left: 0; top: 0; }
.bf-lab-v4__markers button { display: inline-flex; align-items: center; min-block-size: 44px; min-inline-size: 44px; border-radius: var(--bf-radius-pill); gap: .35rem; padding: 0 .65rem; background: color-mix(in srgb,var(--bf-color-canvas) 95%,transparent); font-size: var(--bf-font-size-xs); white-space: nowrap; box-shadow: var(--bf-shadow-sm); }
.bf-lab-v4__pin { min-inline-size: 1rem; color: var(--bf-color-focus); font-variant-numeric: tabular-nums; }
.bf-lab-v4__annotation { font-weight: var(--bf-font-weight-medium); }
.bf-lab-v4__editorial h3 { margin-block: 0 var(--bf-space-2); }
.bf-lab-v4__editorial > p { font-size: var(--bf-font-size-sm); }
.bf-lab-v4__modes { column-gap: .5rem; margin-block: var(--bf-space-5) var(--bf-space-4); }
.bf-lab-v4__modes button { font-size: var(--bf-font-size-xs); padding-inline: .8rem; }
.bf-lab-v4__modes [data-cinematic-mode="explore"] { background: var(--bf-color-brand); border-color: var(--bf-color-brand); }
.bf-lab-v4__modes [data-cinematic-mode="reset"] { border-color: transparent; text-decoration: underline; }
.bf-lab-v4__regions button { font-size: var(--bf-font-size-sm); }
#bf-lab-v4-note { margin-block: var(--bf-space-3) 0; min-block-size: 4.6em; font-size: var(--bf-font-size-sm); overflow-wrap: anywhere; }
.bf-lab-v4 ~ .bf-home-knowledge__grid { gap: var(--bf-space-5); }
.bf-lab-v4 ~ .bf-home-knowledge__grid .bf-home-knowledge__card { border: 0; border-block-start: 1px solid var(--bf-color-border); border-radius: 0; padding: var(--bf-space-5) 0; background: transparent; box-shadow: none; }
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
	.bf-lab-v4[data-live] { min-block-size: 142vh; }
	.bf-lab-v4[data-live] .bf-lab-v4__composition { inset-block-start: 1rem; }
}
@media (max-width: 760px) {
	.bf-lab-v4__composition { grid-template-columns: minmax(0,1fr); gap: var(--bf-space-4); }
	.bf-lab-v4__stage { inline-size: min(100%, 56vh); }
	.bf-lab-v4__annotation { display: none; }
	.bf-lab-v4__markers button { justify-content: center; }
}
.bf-lab-v4__assembled { mask-image: linear-gradient(to bottom, transparent var(--lab-mask-cut, -17%), #000 calc(var(--lab-mask-cut, -17%) + 16%)); }
