/* =========================================================================
   Baltic House — main stylesheet
   Tokens mirror theme.json, so blocks and PHP templates share one palette.
   ========================================================================= */

:root {
	--bh-ink: #16211C;
	--bh-ink-soft: #4E5A54;
	--bh-muted: #5E6A64;
	--bh-paper: #F5F4F0;
	--bh-white: #FFFFFF;
	--bh-line: #DCD9D0;
	--bh-line-soft: #ECEAE3;
	--bh-brass: #C08A2E;
	--bh-brass-ink: #8A6117;
	--bh-brass-light: #E3B968;
	--bh-timber: #E9E1CF;
	--bh-sand: #E9E1D0;
	--bh-dark-line: #39443E;
	--bh-dark-text: #B7BFB9;

	--bh-font-display: Archivo, "Helvetica Neue", Arial, sans-serif;
	--bh-font-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;

	--bh-gutter: clamp(1.25rem, 5vw, 6rem);
	--bh-max: 1340px;
	--bh-measure: 68ch;
	/* Every padded container uses this: the content inside it is exactly
	   --bh-max, so the header, the footer and the page grid share one edge. */
	--bh-shell: calc(var(--bh-max) + var(--bh-gutter) * 2);
	--bh-section: clamp(3rem, 6vw, 4.75rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--bh-paper);
	color: var(--bh-ink);
	font-family: var(--bh-font-body);
	font-size: 1rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--bh-brass-ink); text-decoration: none; }
a:hover { color: var(--bh-ink); }

h1, h2, h3, h4 {
	font-family: var(--bh-font-display);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.02em;
	margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 2.75rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.125rem); }
h3 { font-size: 1.3125rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
	outline: 2px solid var(--bh-brass-ink);
	outline-offset: 2px;
}

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

.bh-skip {
	position: absolute; left: -9999px; top: 0; z-index: 100;
	background: var(--bh-ink); color: var(--bh-paper); padding: 0.75rem 1.25rem;
}
.bh-skip:focus { left: 0; color: var(--bh-paper); }

.bh-wrap {
	max-width: var(--bh-shell);
	margin: 0 auto;
	padding-inline: var(--bh-gutter);
}

.bh-section { padding-block: var(--bh-section); }

/* Two plain sections in a row share a shorter gap, not none: zero made the
   heading of the next block sit on the last line of the previous one. */
.bh-section + .bh-section { padding-top: calc(var(--bh-section) * 0.55); }

/* A section that carries its own ground keeps the full gap, and so does
   whatever follows it: otherwise the next block sits on the seam. */
.bh-scope,
.bh-data,
.bh-tech,
.bh-facts,
.bh-catdl,
.bh-dealers,
.bh-enquiry,
.bh-scope + .bh-section,
.bh-data + .bh-section,
.bh-tech + .bh-section,
.bh-facts + .bh-section,
.bh-catdl + .bh-section,
.bh-dealers + .bh-section,
.bh-enquiry + .bh-section,
.bh-section + .bh-scope,
.bh-section + .bh-facts,
.bh-section + .bh-catdl,
.bh-section + .bh-dealers,
.bh-section + .bh-enquiry { padding-top: var(--bh-section); }

.bh-section__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
	margin-bottom: 2rem;
}
.bh-section__head h2 { margin: 0; }

.bh-lead { font-size: 1.0625rem; color: var(--bh-ink-soft); max-width: var(--bh-measure); }

.bh-link {
	font-weight: 600;
	border-bottom: 1px solid var(--bh-brass);
	padding-bottom: 2px;
}

.bh-prose { max-width: var(--bh-measure); }
.bh-prose--wide { max-width: none; }
.bh-prose h2 { margin-top: 2em; }
.bh-prose ul, .bh-prose ol { padding-left: 1.25rem; }
.bh-prose li { margin-bottom: 0.4em; }

/* --- Buttons ------------------------------------------------------------ */

.bh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	min-height: 44px;
	padding: 0 1.375rem;
	border: 1px solid transparent;
	font-family: var(--bh-font-body);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.bh-btn--lg { min-height: 54px; padding: 0 1.75rem; font-size: 0.9375rem; }
.bh-btn--small { min-height: 38px; padding: 0 0.875rem; font-size: 0.8125rem; }

.bh-btn--primary { background: var(--bh-brass); color: var(--bh-ink); }
.bh-btn--primary:hover { background: var(--bh-ink); color: var(--bh-paper); }

.bh-btn--dark { background: var(--bh-ink); color: var(--bh-paper); }
.bh-btn--dark:hover { background: var(--bh-brass); color: var(--bh-ink); }

.bh-btn--outline { background: transparent; border-color: var(--bh-ink); color: var(--bh-ink); }
.bh-btn--outline:hover { background: var(--bh-ink); color: var(--bh-paper); }

.bh-btn--ghost { background: transparent; border-color: #C3C0B6; color: var(--bh-ink); font-weight: 500; }
.bh-btn--ghost:hover { border-color: var(--bh-ink); color: var(--bh-ink); }

/* Header call to action: the same brass, drawn as a line instead of a slab.
   A filled block that sits on every page all day is louder than it needs to
   be; filled brass stays for the one primary action per page. */
.bh-btn--accent {
	background: transparent;
	border-color: var(--bh-brass);
	color: var(--bh-brass-ink);
}
.bh-btn--accent:hover { background: var(--bh-brass); color: var(--bh-ink); border-color: var(--bh-brass); }

.bh-btn.is-added { background: var(--bh-timber); border-color: var(--bh-timber); color: var(--bh-ink); }

.bh-count {
	display: inline-block;
	min-width: 20px;
	padding: 1px 5px;
	background: var(--bh-ink);
	color: var(--bh-paper);
	font-size: 0.6875rem;
	text-align: center;
}

/* --- Utility bar and header --------------------------------------------- */

.bh-utility {
	background: var(--bh-ink);
	color: #C8CFC9;
	font-size: 0.8125rem;
}
.bh-utility__inner {
	max-width: var(--bh-shell);
	margin: 0 auto;
	padding: 0.625rem var(--bh-gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
}
.bh-utility__tagline { margin: 0; }
.bh-utility__contact { display: flex; align-items: center; gap: 1.5rem; }
.bh-lang { display: flex; align-items: center; gap: 0.75rem; border-left: 1px solid var(--bh-dark-line); padding-left: 1.5rem; }
.bh-lang__item { font-size: 0.8125rem; letter-spacing: 0.04em; }
.bh-lang__item.is-active { color: var(--bh-white); font-weight: 600; }

.bh-utility a { color: #C8CFC9; }
.bh-utility a:hover { color: var(--bh-white); }

.bh-header {
	background: var(--bh-paper);
	border-bottom: 1px solid var(--bh-line);
	position: sticky;
	top: 0;
	z-index: 40;
}
.bh-header__inner {
	max-width: var(--bh-shell);
	margin: 0 auto;
	padding: 0.875rem var(--bh-gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.bh-logo { display: flex; align-items: center; gap: 0.75rem; color: var(--bh-ink); }
.bh-logo__mark { width: 26px; height: 30px; background: var(--bh-brass); flex: none; }
.bh-logo__text {
	font-family: var(--bh-font-display);
	font-weight: 700;
	font-size: 1.3125rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.custom-logo-link img { max-height: 46px; width: auto; }

.bh-nav { display: flex; align-items: center; gap: 2rem; }
.bh-nav__list {
	display: flex;
	align-items: center;
	gap: 1.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.9375rem;
	font-weight: 600;
}
.bh-nav__list a { color: var(--bh-ink); padding-bottom: 3px; border-bottom: 2px solid transparent; }
.bh-nav__list a:hover,
.bh-nav__list .current-menu-item > a,
.bh-nav__list .current_page_parent > a { border-bottom-color: var(--bh-brass); }

.bh-header__actions { display: flex; align-items: center; gap: 0.75rem; }

.bh-header__toggle {
	display: none;
	width: 44px; height: 44px;
	background: none;
	border: 1px solid #C3C0B6;
	cursor: pointer;
	position: relative;
}
.bh-header__toggle-bars,
.bh-header__toggle-bars::before,
.bh-header__toggle-bars::after {
	position: absolute;
	left: 12px;
	width: 18px;
	height: 1.5px;
	background: var(--bh-ink);
	content: "";
}
.bh-header__toggle-bars { top: 21px; }
.bh-header__toggle-bars::before { top: -6px; left: 0; }
.bh-header__toggle-bars::after { top: 6px; left: 0; }

/* --- Banner -------------------------------------------------------------- */

.bh-banner {
	position: relative;
	height: 100svh;
	min-height: 560px;
	max-height: 900px;
	background: var(--bh-ink);
	overflow: hidden;
}
.bh-banner__slides, .bh-banner__slide { position: absolute; inset: 0; }
.bh-banner__slide { opacity: 0; transition: opacity 0.5s ease; }
.bh-banner__slide.is-active { opacity: 1; }
.bh-banner__slide picture { display: block; position: absolute; inset: 0; }
.bh-banner__image { width: 100%; height: 100%; object-fit: cover; }
.bh-banner__scrim { position: absolute; inset: 0; background: rgba(13, 20, 16, 0.3); }

.bh-banner__content {
	position: absolute;
	left: 0; right: 0;
	top: 50%;
	transform: translateY(-50%);
	max-width: var(--bh-shell);
	margin: 0 auto;
	padding-inline: var(--bh-gutter);
}
.bh-banner__heading {
	color: var(--bh-white);
	text-shadow: 0 1px 24px rgba(13, 20, 16, 0.45);
	font-size: clamp(2.25rem, 1.4rem + 3.6vw, 3.875rem);
	line-height: 1.04;
	max-width: 15ch;
	margin-bottom: 1.25rem;
}
.bh-banner__sub {
	color: #E6E9E5;
	text-shadow: 0 1px 16px rgba(13, 20, 16, 0.5);
	font-size: clamp(1rem, 0.9rem + 0.4vw, 1.1875rem);
	max-width: 42ch;
	margin-bottom: 2rem;
}
.bh-banner__actions { margin: 0; }

.bh-banner__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 48px; height: 48px;
	display: flex; align-items: center; justify-content: center;
	background: rgba(245, 244, 240, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.5);
	color: var(--bh-white);
	cursor: pointer;
}
.bh-banner__arrow--prev { left: 1rem; }
.bh-banner__arrow--next { right: 1rem; }
.bh-banner__arrow:hover { background: rgba(245, 244, 240, 0.28); }

.bh-banner__dots {
	position: absolute;
	left: 0; right: 0;
	bottom: 2.5rem;
	max-width: var(--bh-shell);
	margin: 0 auto;
	padding-inline: var(--bh-gutter);
	display: flex;
	align-items: center;
	gap: 0.625rem;
}
.bh-banner__dot {
	width: 38px; height: 4px;
	padding: 0;
	border: 0;
	background: rgba(255, 255, 255, 0.45);
	cursor: pointer;
}
.bh-banner__dot.is-active { background: var(--bh-brass); }
.bh-banner__caption { color: #D5DAD6; font-size: 0.8125rem; margin-left: 0.75rem; }

/* --- Intro and figures --------------------------------------------------- */

.bh-intro__grid,
.bh-cat-intro__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: start;
}

.bh-stats { display: flex; border-top: 1px solid var(--bh-line); }
.bh-stats__item { flex: 1; padding: 1.125rem 1.25rem 0 0; }
.bh-stats__item + .bh-stats__item { border-left: 1px solid var(--bh-line); padding-left: 1.5rem; }
.bh-stats__value {
	display: block;
	font-family: var(--bh-font-display);
	font-size: 1.6875rem;
	font-weight: 600;
}
.bh-stats__label { display: block; font-size: 0.8125rem; color: var(--bh-muted); margin-top: 0.25rem; }

.bh-note {
	border-left: 2px solid var(--bh-brass);
	padding: 0.25rem 0 0.25rem 1.25rem;
	color: var(--bh-ink-soft);
	font-size: 0.9375rem;
	max-width: 48ch;
	align-self: end;
}

/* --- Grids and cards ----------------------------------------------------- */

.bh-grid { display: grid; gap: 1.5rem; }
.bh-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bh-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.bh-cat {
	display: block;
	background: var(--bh-white);
	border: 1px solid var(--bh-line);
	color: var(--bh-ink);
}
.bh-cat:hover { border-color: var(--bh-ink); }
.bh-cat__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bh-timber); }
.bh-cat__image { width: 100%; height: 100%; object-fit: cover; }
.bh-cat__body { display: block; padding: 1.375rem; }
.bh-cat__name { display: block; font-family: var(--bh-font-display); font-weight: 600; font-size: 1.3125rem; }
.bh-cat__intro { display: block; font-size: 0.875rem; color: var(--bh-muted); margin-top: 0.5rem; }
.bh-cat__count { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--bh-brass-ink); margin-top: 1rem; }

.bh-card {
	display: flex;
	flex-direction: column;
	background: var(--bh-white);
	border: 1px solid var(--bh-line);
}
.bh-card:hover { border-color: var(--bh-ink); }
.bh-card__media {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 16 / 10;
	border-bottom: 1px solid var(--bh-line-soft);
	overflow: hidden;
}
.bh-card__image { width: 100%; height: 100%; object-fit: cover; }
.bh-card__body { padding: 1.125rem 1.25rem 1.375rem; display: flex; flex-direction: column; flex: 1; }
.bh-card__eyebrow { font-size: 0.75rem; color: var(--bh-muted); margin: 0; }
.bh-card__title { font-size: 1.3125rem; margin: 0.25rem 0 0; }
.bh-card__title a { color: var(--bh-ink); }
.bh-card__actions { margin-top: auto; padding-top: 1rem; }

.bh-specs { margin: 0.875rem 0 0; padding-top: 0.75rem; border-top: 1px solid var(--bh-line-soft); font-size: 0.8125rem; }
.bh-specs__row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.2rem 0; }
.bh-specs dt { color: var(--bh-ink-soft); margin: 0; }
.bh-specs dd { margin: 0; color: var(--bh-ink); }

.bh-custom-card {
	background: var(--bh-ink);
	color: #EDEBE4;
	padding: 1.75rem 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}
.bh-custom-card .bh-btn { margin-top: auto; }
.bh-custom-card__list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--bh-dark-line);
}
.bh-custom-card__list li {
	position: relative;
	padding: 0.5rem 0 0.5rem 1.25rem;
	font-size: 0.8125rem;
	line-height: 1.5;
	color: var(--bh-dark-text);
	border-bottom: 1px solid var(--bh-dark-line);
}
.bh-custom-card__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1.05rem;
	width: 7px;
	height: 1px;
	background: var(--bh-brass);
}
.bh-custom-card h2 { color: var(--bh-white); font-size: 1.3125rem; margin-bottom: 0.75rem; }
.bh-custom-card p { color: var(--bh-dark-text); font-size: 0.875rem; }

/* --- Filters ------------------------------------------------------------- */

.bh-filters {
	background: var(--bh-white);
	border-top: 1px solid var(--bh-line);
	border-bottom: 1px solid var(--bh-line);
	padding-block: 1.25rem;
}
.bh-filters__cats { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }

.bh-pill {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 1.125rem;
	border: 1px solid #C3C0B6;
	color: var(--bh-ink);
	font-size: 0.875rem;
}
.bh-pill:hover { border-color: var(--bh-ink); }
.bh-pill.is-active { background: var(--bh-ink); border-color: var(--bh-ink); color: var(--bh-paper); font-weight: 600; }

.bh-filters__form {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 1.25rem;
}

.bh-field { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
.bh-field > label, .bh-field legend { font-size: 0.75rem; color: var(--bh-muted); padding: 0; }
.bh-field--checks { border: 0; margin: 0; padding: 0; }
.bh-field--sort { margin-left: auto; }

.bh-checks { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.bh-check {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 40px;
	padding: 0 0.75rem;
	border: 1px solid #C3C0B6;
	font-size: 0.875rem;
	cursor: pointer;
}
.bh-check:has(input:checked) { background: var(--bh-timber); border-color: var(--bh-brass); }
.bh-check input { accent-color: var(--bh-brass-ink); }

select, input[type="text"], input[type="email"], input[type="tel"], input[type="number"], textarea {
	font-family: inherit;
	font-size: 0.9375rem;
	color: var(--bh-ink);
	background: var(--bh-white);
	border: 1px solid #C3C0B6;
	border-radius: 0;
	padding: 0 0.75rem;
	min-height: 44px;
	width: 100%;
	max-width: 100%;
}
textarea { padding: 0.625rem 0.75rem; min-height: 110px; resize: vertical; }
select { min-width: 160px; appearance: none; background-image: linear-gradient(45deg, transparent 49%, var(--bh-ink) 50%), linear-gradient(-45deg, transparent 49%, var(--bh-ink) 50%); background-size: 6px 6px; background-position: calc(100% - 18px) 20px, calc(100% - 12px) 20px; background-repeat: no-repeat; padding-right: 2.25rem; }

.js .bh-filters__apply { display: none; }

.bh-results {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	padding-block: 1.25rem;
}
.bh-results__count { margin: 0; font-size: 0.875rem; color: var(--bh-ink-soft); }

.bh-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.bh-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 32px;
	padding: 0 0.75rem;
	background: var(--bh-timber);
	color: var(--bh-ink);
	font-size: 0.8125rem;
}
.bh-chip:hover { background: var(--bh-ink); color: var(--bh-paper); }
.bh-chip--clear { background: none; border-bottom: 1px solid #C3C0B6; color: var(--bh-muted); }

.bh-more { display: flex; justify-content: center; padding-block: 2.5rem; }
.bh-more.is-loading .bh-btn { opacity: 0.5; pointer-events: none; }

.bh-empty { text-align: center; padding-block: 3rem; }
.bh-empty p { color: var(--bh-ink-soft); max-width: 50ch; margin-inline: auto; }
.bh-empty__actions { display: flex; gap: 0.75rem; justify-content: center; margin-top: 1.5rem; flex-wrap: wrap; }

.bh-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 120px;
	background: #F0EEE7;
	color: var(--bh-muted);
	font-size: 0.8125rem;
	text-align: center;
	padding: 1rem;
}
.bh-placeholder--lg { min-height: 320px; }

/* --- Model page ---------------------------------------------------------- */

.bh-crumbs { font-size: 0.8125rem; color: var(--bh-muted); display: flex; flex-wrap: wrap; gap: 0.25rem; }
.bh-crumbs a { color: var(--bh-muted); }
.bh-crumbs a:hover { color: var(--bh-ink); }
.bh-crumbs__sep { color: #B0ACA1; padding-inline: 0.25rem; }

.bh-model__crumbs { padding-block: 1rem; border-bottom: 1px solid var(--bh-line-soft); }
.bh-model__hero { padding-block: var(--bh-section) 0; }

.bh-model__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: clamp(2rem, 4vw, 3rem);
	align-items: start;
}

.bh-gallery__main {
	position: relative;
	display: block;
	width: 100%;
	background: var(--bh-white);
	border: 1px solid var(--bh-line);
	aspect-ratio: 16 / 10;
	overflow: hidden;
	padding: 0;
	cursor: zoom-in;
}
.bh-gallery__main img { width: 100%; height: 100%; display: block; }

/* Photos and renders fill the frame. A drawing has to be readable whole, so
   the floor plan slide switches to contain and gets breathing room. */
.bh-gallery__main.is-cover img { object-fit: cover; }
.bh-gallery__main.is-contain { padding: 1rem; }
.bh-gallery__main.is-contain img { object-fit: contain; height: calc(100% - 2rem); position: absolute; inset: 1rem; width: calc(100% - 2rem); }

.bh-gallery__zoom {
	position: absolute;
	right: 0.75rem;
	bottom: 0.75rem;
	width: 36px; height: 36px;
	display: flex; align-items: center; justify-content: center;
	background: rgba(245, 244, 240, 0.92);
	border: 1px solid var(--bh-line);
	color: var(--bh-ink);
}
.bh-gallery__main:hover .bh-gallery__zoom { background: var(--bh-ink); color: var(--bh-paper); border-color: var(--bh-ink); }

.bh-gallery__thumbs { display: flex; gap: 0.75rem; margin-top: 0.75rem; flex-wrap: wrap; }
.bh-gallery__thumb {
	width: 96px; height: 60px;
	padding: 2px;
	background: var(--bh-white);
	border: 1px solid var(--bh-line);
	cursor: pointer;
	overflow: hidden;
}
.bh-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.bh-gallery__thumb.is-active { border-color: var(--bh-brass); border-width: 2px; padding: 1px; }

.bh-model__eyebrow { font-size: 0.8125rem; color: var(--bh-muted); margin: 0; }
.bh-model__title { margin: 0.35rem 0 0.75rem; }

.bh-figures {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	background: var(--bh-line);
	border: 1px solid var(--bh-line);
	margin-top: 1.5rem;
}
.bh-figures__item { background: var(--bh-white); padding: 1rem 0.875rem; }
.bh-figures__value {
	display: block;
	font-family: var(--bh-font-display);
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1;
}
.bh-figures__label { display: block; font-size: 0.75rem; color: var(--bh-muted); margin-top: 0.45rem; }

.bh-siblings { margin-top: 1.5rem; border-top: 1px solid var(--bh-line); padding-top: 1.125rem; }
.bh-siblings__title { font-size: 0.8125rem; font-family: var(--bh-font-body); font-weight: 600; margin-bottom: 0.75rem; }
.bh-siblings__list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.bh-sibling {
	display: inline-flex;
	align-items: baseline;
	gap: 0.5rem;
	min-height: 40px;
	padding: 0.5rem 0.9375rem;
	border: 1px solid #C3C0B6;
	color: var(--bh-ink);
	font-size: 0.875rem;
}
.bh-sibling:hover { border-color: var(--bh-ink); }
.bh-sibling__area { color: var(--bh-muted); font-size: 0.8125rem; }

.bh-model__actions { display: flex; gap: 0.75rem; margin-top: 1.5rem; flex-wrap: wrap; }
.bh-model__pdf { margin-top: 1.25rem; font-size: 0.9375rem; }
.bh-model__pdf a { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 500; }

.bh-data { background: var(--bh-white); border-block: 1px solid var(--bh-line); margin-top: var(--bh-section); }
.bh-model__text { padding-block: var(--bh-section); }
.bh-model__text + .bh-tech { padding-top: 0; }
.bh-data__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: clamp(2rem, 4vw, 3.5rem);
	align-items: start;
}
.bh-data h2 { font-size: 1.6875rem; }
.bh-data__note { margin-top: 1rem; font-size: 0.875rem; color: var(--bh-muted); }

.bh-table { margin: 0; font-size: 0.9375rem; }
.bh-table__row {
	display: flex;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 0.6875rem 0;
	border-bottom: 1px solid var(--bh-line-soft);
}
.bh-table dt { margin: 0; color: var(--bh-ink-soft); }
.bh-table dd { margin: 0; font-weight: 500; text-align: right; }

.bh-plan { border: 1px solid var(--bh-line); background: var(--bh-white); padding: 1rem; }
.bh-plan a { display: block; cursor: zoom-in; }

/* --- Enquiry confirmation -------------------------------------------------- */

.bh-toast {
	position: fixed;
	right: clamp(1rem, 3vw, 2rem);
	bottom: clamp(1rem, 3vw, 2rem);
	z-index: 120;
	display: flex;
	align-items: center;
	gap: 1.25rem;
	padding: 0.875rem 1.25rem;
	background: var(--bh-ink);
	color: var(--bh-paper);
	font-size: 0.875rem;
	opacity: 0;
	transform: translateY(8px);
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
}
.bh-toast.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.bh-toast a { color: var(--bh-brass-light); font-weight: 600; border-bottom: 1px solid currentColor; }
.bh-toast a:hover { color: var(--bh-white); }

@media (max-width: 560px) {
	.bh-toast { left: 1rem; right: 1rem; justify-content: space-between; }
}

/* --- Lightbox ------------------------------------------------------------ */

.bh-noscroll { overflow: hidden; }

.bh-lightbox {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	padding: clamp(1rem, 4vw, 3rem);
	background: rgba(13, 20, 16, 0.92);
}
.bh-lightbox[hidden] { display: none; }
.bh-lightbox__figure {
	margin: 0;
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	max-height: 100%;
}
.bh-lightbox__figure img {
	max-width: 100%;
	max-height: 86vh;
	width: auto;
	height: auto;
	background: var(--bh-white);
}
.bh-lightbox__close,
.bh-lightbox__nav {
	flex: none;
	width: 48px; height: 48px;
	display: flex; align-items: center; justify-content: center;
	background: rgba(245, 244, 240, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.45);
	color: #FFFFFF;
	cursor: pointer;
}
.bh-lightbox__close:hover,
.bh-lightbox__nav:hover { background: rgba(245, 244, 240, 0.28); }
.bh-lightbox__close { position: absolute; top: 1.25rem; right: 1.25rem; }
.bh-lightbox:not(.has-nav) .bh-lightbox__nav { display: none; }
.bh-lightbox__counter {
	position: absolute;
	bottom: 1.5rem;
	left: 0; right: 0;
	margin: 0;
	text-align: center;
	color: #D5DAD6;
	font-size: 0.8125rem;
}

@media (max-width: 780px) {
	.bh-lightbox__nav { position: absolute; bottom: 1.25rem; }
	.bh-lightbox__nav--prev { left: 1.25rem; }
	.bh-lightbox__nav--next { right: 1.25rem; }
	.bh-lightbox__counter { bottom: 2.5rem; }
	.bh-lightbox__figure img { max-height: 70vh; }
}

/* --- Technology block ---------------------------------------------------- */

.bh-tech__grid {
	display: grid;
	grid-template-columns: repeat(var(--bh-tech-cols, 3), minmax(0, 1fr));
	gap: 1.5rem;
}
.bh-tech__card {
	background: var(--bh-white);
	border: 1px solid var(--bh-line);
	padding: 1.625rem 1.5rem 1.75rem;
}
/* One box, one height, whatever is inside it: a scaled profile, an icon or a
   photo. The drawings have different viewBox proportions, so the height is
   forced on the svg itself and the width follows. */
.bh-tech__media {
	height: 112px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin-bottom: 1rem;
}
.bh-tech__media svg,
.bh-tech__media .bh-wall__svg,
.bh-tech__media .bh-tech__icon {
	height: 96px;
	width: auto;
	max-width: 100%;
}
.bh-tech__icon { color: var(--bh-ink); }
.bh-tech__photo { width: 100%; height: 112px; object-fit: cover; }

/* A whole range of profiles carries a label under each drawing, so that card
   spans two columns and grows by the label line only. */
.bh-tech__media--set { height: auto; min-height: 112px; width: 100%; align-items: flex-end; }
.bh-tech__media--set svg { height: 88px; }
.bh-tech__media--set .bh-wall__label { font-size: 0.8125rem; }
.bh-tech__media--wall .bh-wall { min-height: 0; }
.bh-tech__card--wide { grid-column: span 2; }
.bh-tech__title { font-size: 1.1875rem; margin-bottom: 0.5rem; }
.bh-tech__text { font-size: 0.875rem; color: var(--bh-ink-soft); }
.bh-tech .bh-section__head { align-items: flex-start; }
.bh-tech .bh-section__head .bh-lead { margin-top: 0.75rem; }

/* --- Private label, process, facts ---------------------------------------- */

.bh-private__head { max-width: var(--bh-measure); margin-bottom: 2.5rem; }
.bh-private__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}
.bh-private__col {
	background: var(--bh-white);
	border: 1px solid var(--bh-line);
	padding: clamp(1.5rem, 3vw, 2.25rem);
}
.bh-private__col--yours { background: var(--bh-timber); border-color: var(--bh-timber); }
.bh-private__label {
	font-family: var(--bh-font-body);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--bh-muted);
	padding-bottom: 0.875rem;
	margin-bottom: 1rem;
	border-bottom: 1px solid var(--bh-line);
}
.bh-private__col--yours .bh-private__label { color: var(--bh-brass-ink); border-color: #CFC5AE; }
.bh-private__col ul { list-style: none; margin: 0; padding: 0; }
.bh-private__col li {
	position: relative;
	padding: 0.5rem 0 0.5rem 1.5rem;
	font-size: 0.9375rem;
	color: var(--bh-ink-soft);
}
.bh-private__col li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1.1rem;
	width: 8px;
	height: 1.5px;
	background: var(--bh-brass);
}

.bh-steps__list {
	list-style: none;
	margin: 2rem 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-template-rows: auto auto auto;
	gap: 0 1.5rem;
}

/* Each step hands its three parts to the parent grid, so the numbers, the
   headings and the texts each sit on one shared row. A heading that wraps in
   one column no longer pushes that column's text out of line. */
.bh-steps__item {
	display: grid;
	grid-row: span 3;
	grid-template-rows: subgrid;
	row-gap: 0;
	border-top: 2px solid var(--bh-ink);
	padding-top: 1.125rem;
}

@supports not (grid-template-rows: subgrid) {
	.bh-steps__item { display: block; }
}
.bh-steps__num {
	display: block;
	font-family: var(--bh-font-display);
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--bh-brass-ink);
	letter-spacing: 0.08em;
}
.bh-steps__title { font-size: 1.1875rem; margin: 0.5rem 0 0.5rem; align-self: start; }
.bh-steps__item p { font-size: 0.875rem; color: var(--bh-ink-soft); margin: 0 0 2rem; }

.bh-facts { background: var(--bh-ink); color: #EDEBE4; }
.bh-facts__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
}
.bh-facts__item { padding: 0 1.5rem 0 0; }
.bh-facts__item + .bh-facts__item { border-left: 1px solid var(--bh-dark-line); padding-left: 2rem; }
.bh-facts__value {
	display: block;
	font-family: var(--bh-font-display);
	font-weight: 700;
	font-size: clamp(2.25rem, 1.5rem + 2.4vw, 3.25rem);
	line-height: 1;
	color: var(--bh-white);
	letter-spacing: -0.025em;
}
.bh-facts__label { display: block; margin-top: 0.875rem; font-size: 0.875rem; line-height: 1.45; color: var(--bh-dark-text); }
.bh-facts__note {
	margin-top: 2rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--bh-dark-line);
	font-size: 0.8125rem;
	color: #8D968F;
	max-width: var(--bh-measure);
}

.bh-private__cta { margin-top: 2rem; }

.bh-trust__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	margin-top: 2rem;
}
.bh-trust__item {
	display: flex;
	gap: 1.125rem;
	background: var(--bh-white);
	border: 1px solid var(--bh-line);
	padding: 1.5rem;
}
.bh-trust__logo {
	flex: none;
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bh-paper);
	border: 1px solid var(--bh-line-soft);
	overflow: hidden;
}
.bh-trust__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.bh-trust__body { min-width: 0; }
.bh-trust__title { font-size: 1rem; margin: 0 0 0.35rem; }
.bh-trust__text { font-size: 0.875rem; line-height: 1.55; color: var(--bh-ink-soft); }
.bh-trust__text p { margin: 0 0 0.5em; }
.bh-trust__text p:last-child { margin-bottom: 0; }
.bh-trust__text strong { color: var(--bh-ink); }

.bh-catdl { background: var(--bh-white); border-block: 1px solid var(--bh-line); }
.bh-catdl__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2.5rem;
	flex-wrap: wrap;
}
.bh-catdl h2 { margin-bottom: 0.5rem; }
.bh-catdl p { max-width: var(--bh-measure); color: var(--bh-ink-soft); }
.bh-catdl__action { margin: 0; flex: none; }

/* --- Cutaway drawing ------------------------------------------------------ */

/* No frame, no panel: the render carries its own white ground already. */
.bh-cutaway__figure { margin: 0 0 clamp(1.5rem, 3vw, 2.5rem); }

/*
 * Points are percentages of the image box, so the stage must be the image box
 * exactly: no padding, no border, no object-fit, and only as wide as the image.
 */
.bh-cutaway__stage {
	position: relative;
	display: inline-block;
	max-width: 100%;
	line-height: 0;
}
.bh-cutaway__image { display: block; width: 100%; height: auto; }

.bh-cutaway__pin {
	position: absolute;
	transform: translate(-50%, -50%);
	width: 30px;
	height: 30px;
	padding: 0;
	border: 2px solid var(--bh-white);
	border-radius: 50%;
	background: var(--bh-ink);
	color: var(--bh-paper);
	font-family: var(--bh-font-display);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 1px 6px rgba(13, 20, 16, 0.3);
	transition: background-color 0.15s ease, transform 0.15s ease;
}
.bh-cutaway__pin:hover,
.bh-cutaway__pin.is-active,
.bh-cutaway__pin:focus-visible {
	background: var(--bh-brass);
	color: var(--bh-ink);
	/* Grows on its own hover and when the matching card below is hovered, so the
	   pairing is visible from either end. */
	transform: translate(-50%, -50%) scale(1.35);
	box-shadow: 0 0 0 4px rgba(192, 138, 46, 0.25), 0 2px 10px rgba(13, 20, 16, 0.3);
	z-index: 3;
}
.bh-cutaway__num { display: block; }

/* Text only on the drawing: the element render belongs on the card below,
   where it has room to be looked at. */
.bh-cutaway__tip {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 12px);
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	width: max-content;
	max-width: 220px;
	padding: 0.5rem 0.75rem;
	background: var(--bh-ink);
	color: var(--bh-paper);
	line-height: 1.35;
	text-align: left;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.15s ease;
}
.bh-cutaway__pin:hover .bh-cutaway__tip,
.bh-cutaway__pin:focus-visible .bh-cutaway__tip,
.bh-cutaway__pin.is-active .bh-cutaway__tip { opacity: 1; }
.bh-cutaway__tip-title { font-size: 0.8125rem; font-weight: 600; }
.bh-cutaway__tip-sub { font-size: 0.75rem; color: var(--bh-dark-text); }
.bh-cutaway__tip-size { font-size: 0.75rem; color: var(--bh-brass-light); font-variant-numeric: tabular-nums; }
.bh-cutaway__pin--left .bh-cutaway__tip { left: auto; right: calc(100% + 12px); bottom: auto; top: 50%; transform: translateY(-50%); }
.bh-cutaway__pin--right .bh-cutaway__tip { left: calc(100% + 12px); right: auto; bottom: auto; top: 50%; transform: translateY(-50%); }

/*
 * Cards under the drawing. A fixed number of tracks, not auto-fit: with four
 * elements the cards stay the same width as with eight, instead of stretching
 * into slabs.
 */
.bh-cutaway__list {
	--bh-cut-cols: 5;
	--bh-cut-pad: 0.625rem;
	list-style: none;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(var(--bh-cut-cols), minmax(0, 1fr));
	gap: 0.625rem;
	/* Own ground, so the cards read as a legend and not as part of the drawing. */
	padding: clamp(0.875rem, 2vw, 1.5rem);
	background: var(--bh-sand);
}
.bh-cutaway__card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 0.75rem var(--bh-cut-pad) 0.875rem;
	background: var(--bh-white);
	border: 1px solid var(--bh-line);
	transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
/* Lifts on its own hover and when the matching pin above is hovered. */
.bh-cutaway__card:hover,
.bh-cutaway__card.is-active {
	transform: translateY(-4px);
	border-color: var(--bh-brass);
	box-shadow: 0 0 0 1px var(--bh-brass), 0 8px 20px rgba(13, 20, 16, 0.12);
	z-index: 2;
}

.bh-cutaway__cardhead { display: flex; align-items: flex-start; gap: 0.5rem; }
.bh-cutaway__marker {
	flex: none;
	width: 22px;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bh-ink);
	color: var(--bh-paper);
	border-radius: 50%;
	font-family: var(--bh-font-display);
	font-size: 0.6875rem;
	font-weight: 600;
}
.bh-cutaway__card:hover .bh-cutaway__marker,
.bh-cutaway__card.is-active .bh-cutaway__marker { background: var(--bh-brass); color: var(--bh-ink); }
.bh-cutaway__title {
	font-family: var(--bh-font-display);
	font-weight: 600;
	font-size: 0.875rem;
	line-height: 1.25;
	padding-top: 0.15rem;
}

/* The render runs to the card edges: with five tracks there is width to spend,
   and the extra 20 px makes a profile section readable instead of decorative. */
.bh-cutaway__thumb {
	display: block;
	margin: 0 calc(var(--bh-cut-pad) * -1);
}
.bh-cutaway__thumb img { width: 100%; height: 92px; object-fit: contain; display: block; }

.bh-cutaway__sub { font-size: 0.75rem; color: var(--bh-muted); line-height: 1.4; }

.bh-cutaway__figures {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	margin-top: auto;
	padding-top: 0.6rem;
	border-top: 1px solid var(--bh-line-soft);
}
.bh-cutaway__fig { display: flex; flex-direction: column; }
.bh-cutaway__figlabel {
	font-size: 0.625rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--bh-muted);
}
.bh-cutaway__figvalue { font-size: 0.8125rem; font-weight: 500; font-variant-numeric: tabular-nums; }

.bh-cutaway__text { font-size: 0.75rem; color: var(--bh-ink-soft); line-height: 1.45; }
.bh-cutaway__link { font-size: 0.75rem; font-weight: 600; border-bottom: 1px solid var(--bh-brass); align-self: flex-start; }

.bh-cutaway__caption {
	margin-top: 1.25rem;
	font-size: 0.8125rem;
	color: var(--bh-muted);
	max-width: var(--bh-measure);
}

/* --- Scope, dealers ------------------------------------------------------ */

.bh-scope { background: var(--bh-ink); color: #EDEBE4; }
.bh-scope__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: start;
}
.bh-scope h2 { color: var(--bh-white); }
.bh-scope__intro p { color: var(--bh-dark-text); }
.bh-scope__lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); }
.bh-scope__label {
	font-family: var(--bh-font-display);
	font-size: 0.9375rem;
	font-weight: 600;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--bh-dark-line);
	margin-bottom: 0.75rem;
}
.bh-scope__label--in { color: var(--bh-brass-light); }
.bh-scope__label--out { color: #A9B2AC; }
.bh-scope ul { list-style: none; margin: 0; padding: 0; }
.bh-scope li { padding: 0.4rem 0; font-size: 0.9375rem; }
.bh-scope__out li { color: var(--bh-dark-text); }

.bh-dealers { background: var(--bh-timber); }
.bh-dealers__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: start;
}
.bh-dealers__items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.bh-dealers__item h3 { font-size: 1.0625rem; margin-bottom: 0.5rem; }
.bh-dealers__item p { font-size: 0.875rem; color: var(--bh-ink-soft); }

/* --- Enquiry ------------------------------------------------------------- */

.bh-enquiry { background: var(--bh-timber); }
.bh-enquiry__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.6fr);
	gap: clamp(2rem, 4vw, 3.75rem);
	align-items: start;
}
.bh-enquiry__intro p { color: var(--bh-ink-soft); font-size: 0.9375rem; }

.bh-enquiry__list { margin-top: 1.75rem; border-top: 1px solid #CFC5AE; padding-top: 1.125rem; }
.bh-enquiry__list h3 { font-size: 0.875rem; font-family: var(--bh-font-body); font-weight: 600; margin-bottom: 0.5rem; }
.bh-enquiry__current { font-weight: 500; margin: 0 0 0.25rem; }
.bh-enquiry__list ul { list-style: none; margin: 0; padding: 0; font-size: 0.9375rem; }
.bh-enquiry__list li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.3rem 0; }
.bh-enquiry__list button {
	background: none; border: 0; padding: 0;
	color: var(--bh-muted); font-size: 0.8125rem; cursor: pointer;
	border-bottom: 1px solid #CFC5AE;
}

.bh-form__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.125rem; }
.bh-form .bh-field--full { grid-column: 1 / -1; }
.bh-form .bh-field > label { font-size: 0.8125rem; color: var(--bh-ink-soft); }
.bh-form input, .bh-form select, .bh-form textarea { border-color: #C3B79B; }
.bh-form__trap { position: absolute; left: -9999px; }

.bh-form__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
	margin-top: 1.25rem;
}
.bh-consent { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.8125rem; color: var(--bh-ink-soft); max-width: 46ch; }
.bh-consent input { margin-top: 0.15rem; accent-color: var(--bh-brass-ink); }

.bh-notice { padding: 0.875rem 1.125rem; margin-bottom: 1.25rem; font-size: 0.9375rem; }
.bh-notice--ok { background: var(--bh-ink); color: var(--bh-paper); }
.bh-notice--error { background: #F3D9D6; color: #7A2018; }

/* --- Block content on ordinary pages -------------------------------------- */

/*
 * One grid for the whole page. The middle column is the same 1340 px the
 * header, the footer and every section use, so everything shares one left edge.
 * alignfull steps out to the viewport without 100vw and without a scrollbar.
 */
.bh-content {
	display: grid;
	grid-template-columns:
		[full-start] minmax(var(--bh-gutter), 1fr)
		[wide-start] minmax(0, var(--bh-max))
		[wide-end] minmax(var(--bh-gutter), 1fr)
		[full-end];
}
.bh-content > * {
	grid-column: wide;
	margin-block: 0 1.25rem;
}
.bh-content > .alignfull { grid-column: full; }

/*
 * Running text keeps a readable measure. Because grid items align to the start
 * of their column, the left edge still lines up with everything else; only the
 * right edge is short.
 */
.bh-content > p,
.bh-content > ul,
.bh-content > ol,
.bh-content > blockquote,
.bh-content > h2,
.bh-content > h3,
.bh-content > h4,
.bh-content > .wp-block-heading,
.bh-content > .wp-block-quote { max-width: var(--bh-measure); }

.bh-content > h2 { margin-top: 2.5rem; }
.bh-content > h3 { margin-top: 1.75rem; }
.bh-content > :last-child { margin-bottom: 0; }

.bh-content ul, .bh-content ol { padding-left: 1.25rem; }
.bh-content li { margin-bottom: 0.4em; }
.bh-content .wp-block-columns { gap: clamp(2rem, 5vw, 4rem); }
.bh-content .wp-block-image img { width: 100%; height: auto; }
.bh-content .wp-block-separator {
	border: 0;
	border-top: 1px solid var(--bh-line);
	margin-block: 2.5rem;
}
.bh-content .wp-block-table table { border-collapse: collapse; width: 100%; }
.bh-content .wp-block-table td, .bh-content .wp-block-table th {
	border: 0;
	border-bottom: 1px solid var(--bh-line-soft);
	padding: 0.7rem 0;
	text-align: left;
}

/* Utility classes for the editor: set them under Advanced, Additional CSS class */

.bh-panel {
	background: var(--bh-white);
	border: 1px solid var(--bh-line);
	padding: clamp(1.5rem, 3vw, 2.5rem);
}
.bh-panel--dark { background: var(--bh-ink); color: #EDEBE4; border-color: var(--bh-ink); }
.bh-panel--dark h2, .bh-panel--dark h3 { color: var(--bh-white); }
.bh-panel--timber { background: var(--bh-timber); border-color: var(--bh-timber); }

.bh-label {
	font-family: var(--bh-font-body);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--bh-muted);
	margin-bottom: 0.5rem;
}
.bh-small { font-size: 0.875rem; color: var(--bh-ink-soft); }
.bh-rule { border-top: 1px solid var(--bh-line); padding-top: 1.5rem; }

/*
 * Column layouts for content pages, so a page built in the editor can carry the
 * same devices as the coded sections. Put the class on the Columns block.
 */

/* Sequential: a rule over each step and the number in brass. */
.bh-steps-cols.wp-block-columns { align-items: stretch; }
.bh-steps-cols.wp-block-columns > .wp-block-column {
	border-top: 2px solid var(--bh-ink);
	padding-top: 1.125rem;
}
.bh-steps-cols .bh-label { color: var(--bh-brass-ink); margin-bottom: 0.5rem; }
.bh-steps-cols h3 { font-size: 1.1875rem; margin-bottom: 0.5rem; }
.bh-steps-cols p { font-size: 0.875rem; color: var(--bh-ink-soft); }

/* Parallel: bordered panels of equal height. */
.bh-cards.wp-block-columns > .wp-block-column {
	background: var(--bh-white);
	border: 1px solid var(--bh-line);
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
}
.bh-cards .bh-label { color: var(--bh-brass-ink); margin-bottom: 0.625rem; }
.bh-cards h3 { font-size: 1.1875rem; margin-bottom: 0.5rem; }
.bh-cards p { font-size: 0.9375rem; color: var(--bh-ink-soft); }
.bh-cards p:last-child { margin-bottom: 0; }

/* Quiet version: a hairline over each column, nothing else. */
.bh-rule-cols.wp-block-columns > .wp-block-column {
	border-top: 1px solid var(--bh-line);
	padding-top: 1.125rem;
}
.bh-rule-cols h3 { font-size: 1.0625rem; margin-bottom: 0.5rem; }
.bh-rule-cols p { font-size: 0.875rem; color: var(--bh-ink-soft); }

/* Wall profile drawings, drawn to scale by [wall_profile]. */
.bh-wall {
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	gap: 0.5rem;
}
.bh-wall__svg { color: var(--bh-ink); max-width: 100%; height: auto; }
.bh-wall__label {
	font-family: var(--bh-font-display);
	font-weight: 600;
	font-size: 1.0625rem;
	color: var(--bh-ink);
}
.bh-wall-set {
	display: flex;
	align-items: flex-end;
	gap: clamp(0.5rem, 2vw, 1.5rem);
	flex-wrap: wrap;
}
.bh-wall-set .bh-wall { min-height: 0; }
.bh-wall-row {
	display: flex;
	align-items: flex-end;
	gap: clamp(1rem, 3vw, 2.5rem);
	flex-wrap: wrap;
	padding: 1.75rem 0 0;
}

/* Image slots: a labelled box where a picture will go. Dashed on purpose, so
   an unfinished page is obviously unfinished. */
.bh-imgslot {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 16 / 10;
	margin: 0 0 0.75rem;
	padding: 1rem;
	background: #F0EEE7;
	border: 1px dashed #C3C0B6;
	color: var(--bh-muted);
	font-size: 0.8125rem;
	text-align: center;
}
.bh-imgslot--tall { aspect-ratio: 3 / 4; }
.bh-imgslot--square { aspect-ratio: 1 / 1; }

/*
 * The same frame for a real photograph. Add "bh-shot" to an Image block under
 * Advanced, Additional CSS classes, and three photographs of different shapes
 * still line up in a row of columns.
 */
.bh-content .bh-shot img,
.bh-shot img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	display: block;
}
.bh-shot--tall img { aspect-ratio: 3 / 4; }
.bh-shot--square img { aspect-ratio: 1 / 1; }
.bh-shot--free img { aspect-ratio: auto; height: auto; object-fit: contain; }
.bh-shot figcaption { font-size: 0.8125rem; color: var(--bh-muted); margin-top: 0.5rem; }
.bh-caption { font-size: 0.8125rem; color: var(--bh-muted); margin-top: 0.4rem; }
.bh-content figure.wp-block-image figcaption { font-size: 0.8125rem; color: var(--bh-muted); }

/* FAQ, plain details elements: no script, works with find in page and prints. */
.bh-faq { border-bottom: 1px solid var(--bh-line); }
.bh-faq:first-of-type { border-top: 1px solid var(--bh-line); }
.bh-faq > summary {
	position: relative;
	cursor: pointer;
	list-style: none;
	padding: 1.125rem 2.5rem 1.125rem 0;
	font-family: var(--bh-font-display);
	font-weight: 600;
	font-size: 1.0625rem;
	color: var(--bh-ink);
}
.bh-faq > summary::-webkit-details-marker { display: none; }
.bh-faq > summary::after {
	content: "";
	position: absolute;
	right: 0.5rem;
	top: 1.45rem;
	width: 9px; height: 9px;
	border-right: 1.5px solid var(--bh-brass-ink);
	border-bottom: 1.5px solid var(--bh-brass-ink);
	transform: rotate(45deg);
	transition: transform 0.15s ease;
}
.bh-faq[open] > summary::after { transform: rotate(-135deg); top: 1.75rem; }
.bh-faq > summary:hover { color: var(--bh-brass-ink); }
.bh-faq__answer { padding: 0 2.5rem 1.375rem 0; color: var(--bh-ink-soft); max-width: var(--bh-measure); }
.bh-faq__answer > :last-child { margin-bottom: 0; }

/* --- Contact -------------------------------------------------------------- */

.bh-contact address { font-style: normal; line-height: 1.8; }

/* Gravity Forms, pulled into the theme's shapes.
   GF 2.7+ renders with its own theme framework and CSS custom properties,
   so setting those is what actually works; the rules after it cover the
   older gravity-theme markup as well. */
.gform_wrapper {
	--gform-theme-font-family: var(--bh-font-body);
	--gform-theme-font-family-secondary: var(--bh-font-body);
	--gform-theme-color-primary: var(--bh-ink);
	--gform-theme-color-primary-rgb: 22, 33, 28;
	--gform-theme-color-primary-contrast: var(--bh-paper);
	--gform-theme-color-primary-darker: #0D1411;
	--gform-theme-color-secondary: var(--bh-white);
	--gform-theme-color-secondary-contrast: var(--bh-ink);
	--gform-theme-color-outside-control-light: #C3C0B6;
	--gform-theme-color-outside-control-light-darker: var(--bh-ink);
	--gform-theme-color-outside-control-dark: var(--bh-ink-soft);
	--gform-theme-color-inside-control: var(--bh-white);
	--gform-theme-color-inside-control-primary: var(--bh-ink);
	--gform-theme-border-radius: 0;
	--gform-theme-control-border-radius: 0;
	--gform-theme-control-border-color: #C3C0B6;
	--gform-theme-control-border-color-focus: var(--bh-ink);
	--gform-theme-control-size: 46px;
	--gform-theme-control-label-color-primary: var(--bh-ink-soft);
	--gform-theme-control-label-font-size: 0.8125rem;
	--gform-theme-button-border-radius: 0;
	--gform-theme-button-padding-y: 1rem;
	--gform-theme-button-padding-x: 1.75rem;
	--gform-theme-button-font-size: 0.9375rem;
	--gform-theme-button-font-weight: 600;
}

.gform_wrapper .gform_fields { row-gap: 1.125rem; }
.gform_wrapper .gfield_label { font-weight: 500; }
.gform_wrapper .gform_footer { margin-top: 1.5rem; }

.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="url"],
.gform_wrapper input[type="number"],
.gform_wrapper select,
.gform_wrapper textarea {
	border: 1px solid #C3C0B6;
	border-radius: 0;
	background: var(--bh-white);
	font-family: var(--bh-font-body);
	font-size: 0.9375rem;
	color: var(--bh-ink);
	box-shadow: none;
}
.gform_wrapper input:focus,
.gform_wrapper select:focus,
.gform_wrapper textarea:focus {
	border-color: var(--bh-ink);
	outline: 2px solid transparent;
	box-shadow: none;
}

.gform_wrapper .gform_button,
.gform_wrapper .gform_footer input[type="submit"],
.gform_wrapper .gform_page_footer input[type="submit"],
.gform_wrapper button.gform_button {
	width: auto;
	min-height: 54px;
	padding: 0 1.75rem;
	background: var(--bh-ink);
	color: var(--bh-paper);
	border: 0;
	border-radius: 0;
	font-family: var(--bh-font-body);
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.gform_wrapper .gform_button:hover,
.gform_wrapper .gform_footer input[type="submit"]:hover {
	background: var(--bh-brass);
	color: var(--bh-ink);
}

.gform_wrapper .gform_drop_area,
.gform_wrapper .gform_fileupload_rules { border-radius: 0; }
.gform_wrapper .gform_drop_area {
	border: 1px dashed #C3C0B6;
	background: var(--bh-paper);
}
.gform_wrapper .gform_validation_errors {
	border-radius: 0;
	border-left: 3px solid #7A2018;
	box-shadow: none;
}
.gform_wrapper.gravity-theme .gfield_label { font-size: 0.8125rem; font-weight: 500; color: var(--bh-ink-soft); }
.gform_wrapper.gravity-theme input[type="text"],
.gform_wrapper.gravity-theme input[type="email"],
.gform_wrapper.gravity-theme input[type="tel"],
.gform_wrapper.gravity-theme input[type="number"],
.gform_wrapper.gravity-theme select,
.gform_wrapper.gravity-theme textarea {
	border: 1px solid #C3C0B6;
	border-radius: 0;
	background: var(--bh-white);
	font-family: var(--bh-font-body);
	font-size: 0.9375rem;
	color: var(--bh-ink);
	padding: 0.65rem 0.75rem;
}
.gform_wrapper.gravity-theme .gform_footer input[type="submit"],
.gform_wrapper.gravity-theme .gform_page_footer input[type="submit"] {
	min-height: 54px;
	padding: 0 1.75rem;
	background: var(--bh-ink);
	color: var(--bh-paper);
	border: 0;
	border-radius: 0;
	font-family: var(--bh-font-body);
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
}
.gform_wrapper.gravity-theme .gform_footer input[type="submit"]:hover { background: var(--bh-brass); color: var(--bh-ink); }
.gform_wrapper.gravity-theme .gfield_required { color: var(--bh-brass-ink); }
.gform_wrapper .gform_confirmation_message { background: var(--bh-ink); color: var(--bh-paper); padding: 1rem 1.25rem; }

/* --- Page, footer -------------------------------------------------------- */

.bh-page__head { margin-bottom: 2.5rem; max-width: var(--bh-measure); }
.bh-page__media { margin: 0 0 2rem; }

.bh-footer { background: var(--bh-ink); color: var(--bh-dark-text); padding-top: 3.5rem; }
.bh-footer__inner {
	max-width: var(--bh-shell);
	margin: 0 auto;
	padding-inline: var(--bh-gutter);
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr);
	gap: clamp(2rem, 5vw, 5rem);
}
.bh-footer .bh-logo { color: var(--bh-white); }
.bh-footer__address { font-style: normal; font-size: 0.875rem; line-height: 1.8; margin-top: 1.25rem; }
.bh-footer__address a { color: var(--bh-brass-light); }
.bh-footer__legalcodes { display: block; margin-top: 0.75rem; font-size: 0.8125rem; color: #8D968F; }
/* Fits however many menus are actually assigned, so an unused location does
   not leave a hole. */
.bh-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 2.5rem; align-content: start; }
.bh-footer__title { color: var(--bh-white); font-size: 0.9375rem; margin-bottom: 0.625rem; }
.bh-footer__list { list-style: none; margin: 0; padding: 0; font-size: 0.875rem; line-height: 2; }
.bh-footer__list a { color: var(--bh-dark-text); }
.bh-footer__list a:hover { color: var(--bh-white); }

.bh-footer__legal {
	max-width: var(--bh-shell);
	margin: 3rem auto 0;
	padding: 1.25rem var(--bh-gutter);
	border-top: 1px solid var(--bh-dark-line);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	flex-wrap: wrap;
	font-size: 0.8125rem;
}
.bh-footer__legal nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.bh-footer__legal p { margin: 0; }
.bh-footer__credit a { color: var(--bh-dark-text); border-bottom: 1px solid var(--bh-dark-line); }
.bh-footer__credit a:hover { color: var(--bh-white); border-bottom-color: var(--bh-brass); }
.bh-footer__sep { padding: 0 0.5rem; color: #5B655E; }
.bh-footer__legal a { color: var(--bh-dark-text); }

/* --- Responsive ---------------------------------------------------------- */

@media (max-width: 1100px) {
	.bh-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.bh-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bh-cutaway__list { --bh-cut-cols: 4; }
	.bh-nav { gap: 1.25rem; }
	.bh-nav__list { gap: 1.125rem; font-size: 0.875rem; }
}

@media (max-width: 960px) {
	.bh-header__toggle { display: block; }

	.bh-nav {
		display: none;
		position: absolute;
		left: 0; right: 0;
		top: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: var(--bh-paper);
		border-bottom: 1px solid var(--bh-line);
		padding: 1rem var(--bh-gutter) 1.5rem;
	}
	.bh-nav.is-open { display: flex; }
	.bh-header__inner { position: relative; flex-wrap: wrap; }
	.bh-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.bh-nav__list li { border-bottom: 1px solid var(--bh-line-soft); }
	.bh-nav__list a { display: block; padding: 0.875rem 0; border: 0; }
	.bh-header__actions { margin-top: 1rem; flex-direction: column; align-items: stretch; }

	.bh-intro__grid,
	.bh-cat-intro__grid,
	.bh-model__grid,
	.bh-data__grid,
	.bh-scope__grid,
	.bh-dealers__grid,
	.bh-enquiry__grid,
	.bh-footer__inner { grid-template-columns: minmax(0, 1fr); }
	.bh-cutaway__list { --bh-cut-cols: 3; }
	.bh-cutaway__tip { display: none; }
	.bh-content .wp-block-columns { flex-wrap: wrap; }

	.bh-note { align-self: start; }
	.bh-dealers__items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bh-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bh-tech__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bh-trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bh-steps__list,
	.bh-facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bh-tech__card--wide { grid-column: span 2; }
	.bh-facts__item:nth-child(3) { border-left: 0; padding-left: 0; }
	.bh-facts__item:nth-child(n + 3) { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--bh-dark-line); }
}

@media (max-width: 780px) {
	.bh-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bh-form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bh-utility__inner { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
	.bh-utility__tagline { display: none; }
	.bh-filters__form { gap: 1rem; }
	.bh-field--sort { margin-left: 0; }
	.js .bh-filters__apply { display: inline-flex; }
	.bh-banner { height: 82svh; min-height: 480px; }
	.bh-banner__arrow { display: none; }
}

@media (max-width: 560px) {
	.bh-grid--4,
	.bh-grid--3,
	.bh-tech__grid,
	.bh-facts__grid,
	.bh-trust__grid,
	.bh-private__grid,
	.bh-steps__list,
	.bh-dealers__items,
	.bh-form__grid,
	.bh-scope__lists,
	.bh-footer__cols { grid-template-columns: minmax(0, 1fr); }

	.bh-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bh-tech__card--wide { grid-column: span 1; }
	.bh-tech__media { height: 96px; }
	.bh-tech__media svg { height: 84px; }
	.bh-facts__item + .bh-facts__item { border-left: 0; padding-left: 0; border-top: 1px solid var(--bh-dark-line); padding-top: 1.5rem; margin-top: 1.5rem; }
	.bh-stats { flex-direction: column; }
	.bh-stats__item + .bh-stats__item { border-left: 0; border-top: 1px solid var(--bh-line); padding-left: 0; padding-top: 1rem; }
	.bh-model__actions .bh-btn { width: 100%; }
	.bh-cutaway__list { --bh-cut-cols: 2; }
	.bh-cutaway__pin { width: 26px; height: 26px; font-size: 0.75rem; }
	.bh-cutaway__thumb img { height: 72px; }
	.bh-form__foot { flex-direction: column; align-items: stretch; }
	.bh-form__foot .bh-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.bh-banner__slide { transition: none; }
	/* The pairing still reads through colour and the ring, without the movement. */
	.bh-cutaway__card:hover,
	.bh-cutaway__card.is-active { transform: none; }
	.bh-cutaway__pin:hover,
	.bh-cutaway__pin.is-active,
	.bh-cutaway__pin:focus-visible { transform: translate(-50%, -50%); }
	* { scroll-behavior: auto !important; }
}

@media print {
	.bh-utility, .bh-header, .bh-footer, .bh-filters, .bh-enquiry, .bh-model__actions { display: none; }
	body { background: #fff; }
	.bh-data { border: 0; }
}
