/* BHM shared sections — quote/process/proof/map/home-faq (PF-css).
 * Enqueue: home/front/area/product/portfolio archive (needs_map + home shells).
 */

/* ==========================================================================
   Home: S1b process / proof / map / quote / FAQ
   ========================================================================== */

/* H2 Custom quote — Figma 111:37 / 32:1224 */
.bhm-home-quote {
	padding: var(--bhm-space-6) 0;
}

.bhm-home-quote .bhm-container {
	width: min(var(--bhm-chrome-max), calc(100% - var(--bhm-space-8)));
}

.bhm-home-quote__inner {
	display: grid;
	gap: var(--bhm-space-3);
	align-items: start;
}

.bhm-home-quote__visual {
	order: 2;
	margin: 0;
	border-radius: var(--bhm-radius-sm);
	overflow: hidden;
	aspect-ratio: 640 / 768;
	background: var(--bhm-surface);
	border: 1px solid var(--bhm-border);
	box-shadow: var(--bhm-shadow-sm);
	position: relative;
}

.bhm-home-quote__visual picture {
	display: block;
	width: 100%;
	height: 100%;
}

.bhm-home-quote__visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Mobile: flatten so header → visual → form body */
.bhm-home-quote__form {
	display: contents;
}

.bhm-home-quote__header {
	order: 1;
	display: flex;
	flex-direction: column;
	gap: var(--bhm-space-3);
}

.bhm-home-quote__form-body {
	order: 3;
	min-width: 0;
}

.bhm-home-quote__notice {
	order: 3;
	margin: 0;
	padding: 12px 14px;
	border-radius: var(--bhm-radius);
	font-size: var(--bhm-text-small);
	font-weight: var(--bhm-fw-semibold);
}

.bhm-home-quote__kicker {
	display: none;
	margin: 0;
	font-size: var(--bhm-text-small);
	font-weight: var(--bhm-fw-semibold);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--bhm-accent);
}

.bhm-home-quote__header .bhm-title {
	margin: 0;
	font-size: var(--bhm-text-h2);
	line-height: var(--bhm-lh-tight);
	color: var(--bhm-ink-strong);
	font-weight: var(--bhm-fw-bold);
}

.bhm-home-quote__header .bhm-lead {
	margin: 0;
	max-width: none;
	font-size: var(--bhm-text-body);
	line-height: var(--bhm-lh-body);
	color: var(--bhm-ink);
	font-weight: var(--bhm-fw-regular);
}

.bhm-home-quote__notice {
	margin: 0;
	padding: 12px 14px;
	border-radius: var(--bhm-radius);
	font-size: var(--bhm-text-small);
	font-weight: var(--bhm-fw-semibold);
}

.bhm-home-quote__notice--ok {
	color: var(--bhm-accent);
	background: var(--bhm-accent-soft);
}

.bhm-home-quote__notice--err {
	color: var(--bhm-warn);
	background: var(--bhm-warn-soft);
}

/* Strip global quote-form card chrome on Home */
.bhm-home-quote .bhm-quote-form--home {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.bhm-home-quote .bhm-quote-upload {
	order: 2;
	position: relative;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	min-height: 100px;
	padding: 16px 12px;
	margin: 0;
	cursor: pointer;
	background: var(--bhm-surface);
	border: 1px dashed var(--bhm-accent);
	border-radius: var(--bhm-radius-sm);
	text-align: center;
	text-transform: none;
	letter-spacing: normal;
	font-weight: var(--bhm-fw-regular);
	color: inherit;
}

.bhm-home-quote .bhm-quote-upload:hover,
.bhm-home-quote .bhm-quote-upload:focus-within {
	background: var(--bhm-surface-accent);
}

.bhm-home-quote .bhm-quote-upload__input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	min-height: 0;
	margin: 0;
	padding: 0;
	opacity: 0;
	cursor: pointer;
	border: 0;
	font-size: 0;
}

.bhm-home-quote .bhm-quote-upload__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.bhm-home-quote .bhm-quote-upload__icon img {
	width: 20px;
	height: 20px;
	display: block;
}

.bhm-home-quote .bhm-quote-upload__title {
	font-size: var(--bhm-text-kicker);
	font-weight: var(--bhm-fw-semibold);
	line-height: normal;
	color: var(--bhm-accent);
}

.bhm-home-quote .bhm-quote-upload__hint {
	font-size: var(--bhm-text-kicker);
	font-weight: var(--bhm-fw-regular);
	line-height: normal;
	color: var(--bhm-muted);
}

.bhm-home-quote .bhm-quote-upload__hint--desktop {
	display: none;
}

.bhm-home-quote .bhm-quote-upload__hint--mobile {
	display: block;
}

.bhm-home-quote .bhm-quote-form__fields {
	order: 1;
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

.bhm-home-quote .bhm-quote-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.bhm-home-quote .bhm-quote-form__field {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	margin: 0;
	width: 100%;
	font-size: inherit;
	font-weight: inherit;
	letter-spacing: normal;
	text-transform: none;
	color: inherit;
}

.bhm-home-quote .bhm-quote-form__label {
	font-size: var(--bhm-text-small);
	font-weight: var(--bhm-fw-semibold);
	line-height: normal;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--bhm-muted);
}

.bhm-home-quote .bhm-quote-form__req {
	color: var(--bhm-accent);
	font-weight: var(--bhm-fw-semibold);
}

.bhm-home-quote .bhm-quote-form--home input:not([type="file"]),
.bhm-home-quote .bhm-quote-form--home textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 44px;
	height: 44px;
	padding: 10px 16px;
	margin: 0;
	font: inherit;
	font-size: var(--bhm-text-small);
	font-weight: var(--bhm-fw-regular);
	line-height: normal;
	text-transform: none;
	letter-spacing: normal;
}

.bhm-home-quote .bhm-quote-form--home textarea {
	height: 110px;
	min-height: 110px;
	padding: 14px 16px;
	line-height: var(--bhm-lh-field);
	resize: vertical;
}

.bhm-home-quote .bhm-quote-form--home input:not([type="file"])::placeholder,
.bhm-home-quote .bhm-quote-form--home textarea::placeholder {
	color: var(--bhm-muted);
	opacity: 1;
}

.bhm-home-quote .bhm-quote-form__cta {
	order: 3;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	height: var(--bhm-touch);
	min-height: var(--bhm-touch);
	padding: 12px;
	margin: 0;
	border: 0;
	border-radius: var(--bhm-radius-sm);
	background: var(--bhm-accent);
	color: var(--bhm-paper);
	font-size: var(--bhm-text-small);
	font-weight: var(--bhm-fw-bold);
	line-height: normal;
	box-shadow: none;
}

.bhm-home-quote .bhm-quote-form__cta:hover,
.bhm-home-quote .bhm-quote-form__cta:focus-visible {
	background: var(--bhm-accent-hover);
	color: var(--bhm-paper);
}

.bhm-home-quote .bhm-quote-form__cta-icon {
	width: 10.5px;
	height: 10.5px;
	display: block;
	flex-shrink: 0;
}

/* H3 Process — Figma 95:129 / 55:69 */
.bhm-process {
	padding: clamp(var(--bhm-space-10), 6vw, var(--bhm-space-16)) 0 var(--bhm-space-4);
}

.bhm-process .bhm-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--bhm-space-10);
	width: min(var(--bhm-chrome-max), calc(100% - var(--bhm-space-10)));
}

.bhm-process__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
	width: 100%;
	margin: 0;
	text-align: center;
}

.bhm-process__kicker {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 24px;
	padding: 4px 10px;
	border: 1px solid var(--bhm-accent);
	border-radius: var(--bhm-radius-sm);
	background: var(--bhm-surface-accent);
	color: var(--bhm-accent);
	font-size: var(--bhm-text-kicker);
	font-weight: var(--bhm-fw-bold);
	letter-spacing: var(--bhm-tracking-wide);
	text-transform: uppercase;
	line-height: 1;
}

.bhm-process__kicker-icon {
	display: block;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.bhm-process__kicker-d {
	display: none;
}

.bhm-process__kicker-m {
	display: inline;
}

.bhm-process__title {
	margin: 0 0 var(--bhm-space-4);
	max-width: none;
	color: var(--bhm-ink-strong);
	font-size: var(--bhm-text-h2);
	font-weight: var(--bhm-fw-bold);
	line-height: var(--bhm-lh-tight);
	letter-spacing: var(--bhm-tracking-tight);
}

.bhm-process__lead {
	margin: 0;
	max-width: 280px;
	color: var(--bhm-ink-soft);
	font-size: var(--bhm-text-small);
	font-weight: var(--bhm-fw-regular);
	line-height: 1.4;
}

.bhm-process__steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 24px;
	width: 100%;
}

.bhm-process__step {
	display: flex;
	align-items: flex-start;
	gap: var(--bhm-space-5);
	padding: var(--bhm-space-6);
	border: 1px solid var(--bhm-border);
	border-radius: var(--bhm-radius);
	background: var(--bhm-surface);
	box-shadow: none;
}

.bhm-process__num {
	flex: 0 0 auto;
	min-width: 38px;
	font-size: 92px;
	font-weight: var(--bhm-fw-extrabold);
	line-height: 0.85;
	/* Figma: solid Outside 1px. Avoid -webkit-text-stroke — Montserrat "3" draws inner contour seams. */
	color: var(--bhm-surface);
	-webkit-text-fill-color: var(--bhm-surface);
	-webkit-text-stroke: 0;
	text-shadow:
		-1px -1px 0 var(--bhm-accent),
		1px -1px 0 var(--bhm-accent),
		-1px 1px 0 var(--bhm-accent),
		1px 1px 0 var(--bhm-accent),
		-1px 0 0 var(--bhm-accent),
		1px 0 0 var(--bhm-accent),
		0 -1px 0 var(--bhm-accent),
		0 1px 0 var(--bhm-accent);
	text-align: center;
}

.bhm-process__step:nth-child(2) .bhm-process__num,
.bhm-process__step:nth-child(3) .bhm-process__num {
	min-width: 56px;
}

.bhm-process__body {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	justify-content: center;
}

.bhm-process__step-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
}

.bhm-process__step-title {
	margin: 0;
	color: var(--bhm-navy);
	font-size: 18px;
	font-weight: var(--bhm-fw-bold);
	line-height: 1.3;
	white-space: nowrap;
}

.bhm-process__badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	flex-shrink: 0;
	padding: 4px 8px;
	border-radius: var(--bhm-radius-sm);
	background: var(--bhm-surface-accent);
	color: var(--bhm-accent);
	font-size: var(--bhm-text-kicker);
	font-weight: var(--bhm-fw-semibold);
	text-transform: uppercase;
	letter-spacing: 0;
	line-height: 1;
}

.bhm-process__badge-icon {
	display: block;
	width: 12px;
	height: 12px;
	flex-shrink: 0;
}

.bhm-process__desc {
	margin: 0;
	color: var(--bhm-muted);
	font-size: var(--bhm-text-small);
	font-weight: var(--bhm-fw-regular);
	line-height: 1.55;
}

.bhm-process__guarantee {
	display: flex;
	justify-content: center;
	margin: 0;
	width: 100%;
	text-align: center;
}

.bhm-process__guarantee-inner {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	max-width: 100%;
	padding: 16px;
	border-radius: var(--bhm-radius);
	background: var(--bhm-surface-accent);
	color: var(--bhm-navy);
	font-size: var(--bhm-text-small);
	font-weight: var(--bhm-fw-bold);
	line-height: 1.3;
	box-sizing: border-box;
}

.bhm-process__guarantee-icon {
	display: block;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.bhm-process__guarantee-d {
	display: none;
}

.bhm-process__guarantee-m {
	display: inline;
}

.bhm-home-proof {
	--bhm-proof-rail-bg: var(--bhm-surface-3);
	--bhm-proof-thumb-shadow-room: 3.25rem;
	--bhm-proof-thumb-lift: -0.35rem;
	padding-block: 40px 80px;
	background: var(--bhm-surface);
}

.bhm-home-proof > .bhm-container {
	width: min(var(--bhm-chrome-max), calc(100% - var(--bhm-space-8)));
}

.bhm-home-proof__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--bhm-space-3);
	margin-bottom: var(--bhm-space-10);
	text-align: center;
}

.bhm-home-proof__kicker {
	margin: 0;
	color: var(--bhm-accent);
	font-size: var(--bhm-text-kicker);
	font-weight: var(--bhm-fw-bold);
	letter-spacing: var(--bhm-tracking-wide);
	text-transform: uppercase;
	font-style: normal;
}

.bhm-home-proof__title {
	margin: 0;
	font-size: var(--bhm-text-h2);
	line-height: var(--bhm-lh-tight);
	color: var(--bhm-navy);
	font-style: normal;
}

.bhm-home-proof__lead {
	margin: 0;
	max-width: 40rem;
	color: var(--bhm-nav-link);
	font-size: 1.5rem;
	line-height: var(--bhm-lh-body);
	font-weight: var(--bhm-fw-regular);
	font-style: normal;
}

.bhm-home-proof__empty {
	display: grid;
	gap: var(--bhm-space-5);
	padding: var(--bhm-space-8);
	border-radius: var(--bhm-radius-lg);
	background: var(--bhm-surface-2);
	text-align: center;
}

.bhm-home-proof__empty .bhm-lead {
	margin: 0 auto;
	max-width: 36rem;
}

.bhm-home-proof__empty-actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--bhm-space-3);
	justify-content: center;
}

.bhm-home-proof__stage {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.bhm-home-proof__split {
	display: flex;
	flex-direction: column;
	gap: 40px;
	order: 2;
}

.bhm-home-proof__ba {
	margin: 0;
	order: 1;
}

.bhm-home-proof__ba-frame {
	position: relative;
	border: 1.5px solid var(--bhm-paper);
	border-radius: var(--bhm-radius-sm);
	overflow: hidden;
	height: 200px;
	background: var(--bhm-surface-2);
}

.bhm-home-proof__ba-frame:focus-within {
	outline: 2px solid var(--bhm-accent);
	outline-offset: 2px;
}

.bhm-home-proof__ba-after {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity var(--bhm-duration) var(--bhm-ease);
}

.bhm-home-proof__ba-frame.is-switching .bhm-home-proof__ba-after,
.bhm-home-proof__story.is-switching .bhm-home-proof__story-body {
	opacity: 0;
}

.bhm-home-proof__ba-before {
	position: absolute;
	inset: 0 auto 0 0;
	background-size: cover;
	background-position: left center;
	z-index: 1;
}

.bhm-home-proof__ba-before.is-hidden,
.bhm-home-proof__ba-label.is-hidden,
.bhm-home-proof__ba-handle.is-hidden {
	display: none;
}

.bhm-home-proof__ba-label {
	position: absolute;
	top: 10px;
	z-index: 2;
	padding: 4px 8px;
	border-radius: var(--bhm-radius-sm);
	color: var(--bhm-paper);
	font-size: var(--bhm-text-kicker);
	font-weight: var(--bhm-fw-bold);
	letter-spacing: 0.02em;
	text-transform: uppercase;
	line-height: 1.3;
}

.bhm-home-proof__ba-label--before {
	left: 20px;
	background: var(--bhm-glass-bg-warn);
	border: 0.5px solid var(--bhm-amber);
}

.bhm-home-proof__ba-label--after {
	right: 20px;
	background: var(--bhm-glass-bg-ok);
	border: 0.5px solid var(--bhm-success-bright);
}

.bhm-home-proof__ba-handle {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	z-index: 3;
	width: 4px;
	transform: translateX(-50%);
	background: rgba(7, 100, 253, 0.2);
	pointer-events: none;
}

.bhm-home-proof__ba-frame:not(.is-dragging) .bhm-home-proof__ba-handle {
	transition: left var(--bhm-duration) var(--bhm-ease);
}

.bhm-home-proof__ba-frame:not(.is-dragging) .bhm-home-proof__ba-before {
	transition: width var(--bhm-duration) var(--bhm-ease);
}

.bhm-home-proof__ba-knob {
	position: absolute;
	top: 50%;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: var(--bhm-radius);
	background: rgba(7, 100, 253, 0.2);
	transform: translate(-50%, -50%);
	transition:
		transform var(--bhm-duration) var(--bhm-ease),
		background-color var(--bhm-duration) var(--bhm-ease);
}

.bhm-home-proof__ba-knob img {
	display: block;
	width: 10px;
	height: 10px;
}

.bhm-home-proof__ba-range {
	position: absolute;
	inset: 0;
	z-index: 4;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: ew-resize;
}

.bhm-home-proof__ba-caption {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 5px;
	margin-top: 10px;
	padding-inline: 15px;
	font-size: var(--bhm-text-small);
	line-height: 1.4;
	font-style: normal;
	color: var(--bhm-muted);
}

.bhm-home-proof__ba-caption strong {
	color: var(--bhm-navy);
	font-weight: var(--bhm-fw-bold);
	font-style: normal;
}

.bhm-home-proof__ba-caption span {
	color: var(--bhm-muted);
	font-weight: var(--bhm-fw-regular);
	font-style: normal;
}

.bhm-home-proof__case-link {
	color: inherit;
	text-decoration: none;
	font-style: normal;
}

.bhm-home-proof__case-link strong {
	transition: color var(--bhm-duration) var(--bhm-ease);
}

.bhm-home-proof__case-link:hover strong {
	color: var(--bhm-accent);
	text-decoration: underline;
}

.bhm-home-proof__master {
	order: 2;
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 15px;
	border: 1px solid var(--bhm-paper);
	border-radius: var(--bhm-radius-sm);
	background: transparent;
	min-height: 415px;
	box-sizing: border-box;
}

/* No Challenge & Solution: shrink card, pull CTA under identity */
.bhm-home-proof__master:has(> .bhm-home-proof__story.is-empty) {
	min-height: 0;
	gap: 16px;
}

.bhm-home-proof__master:has(> .bhm-home-proof__story.is-empty) .bhm-home-proof__master-cta {
	margin-top: 0;
}

.bhm-home-proof__master-id {
	display: flex;
	gap: 20px;
	align-items: center;
}

.bhm-home-proof__master-photo {
	display: block;
	width: 105px;
	height: 150px;
	border-radius: var(--bhm-radius-sm);
	object-fit: cover;
	flex-shrink: 0;
}

.bhm-home-proof__master-meta {
	display: flex;
	flex-direction: column;
	gap: 15px;
	min-width: 0;
}

.bhm-home-proof__master-name {
	margin: 0;
	color: var(--bhm-navy);
	font-size: var(--bhm-text-lead);
	font-weight: var(--bhm-fw-bold);
	line-height: var(--bhm-lh-tight);
}

.bhm-home-proof__master-role {
	margin: 5px 0 0;
	color: var(--bhm-muted);
	font-size: var(--bhm-text-small);
	font-weight: var(--bhm-fw-regular);
	line-height: 1.35;
}

.bhm-home-proof__master-rating {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.bhm-home-proof__master-score-row {
	display: flex;
	align-items: center;
	gap: 5px;
}

.bhm-home-proof__master-stars {
	display: inline-flex;
	align-items: center;
	gap: 1px;
}

.bhm-home-proof__master-stars img {
	width: 11px;
	height: 11px;
}

.bhm-home-proof__master-score {
	color: var(--bhm-navy);
	font-size: var(--bhm-text-small);
	font-weight: var(--bhm-fw-bold);
	line-height: 1.25;
}

.bhm-home-proof__master-jobs {
	color: var(--bhm-muted);
	font-size: var(--bhm-text-small);
	line-height: 1.25;
}

.bhm-home-proof__story {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px 10px;
	flex: 1 1 auto;
}

.bhm-home-proof__story.is-empty {
	display: none;
}

.bhm-home-proof__story--under-ba {
	order: 3;
	flex: 0 0 auto;
	margin: 0;
	padding: var(--bhm-space-4, 1rem) 0 0;
	border-top: 1px solid var(--bhm-border);
}

.bhm-home-proof--solo-ba .bhm-home-proof__split,
.bhm-home-proof__split--solo {
	display: flex;
	flex-direction: column;
	gap: var(--bhm-space-4, 1rem);
}

.bhm-home-proof--solo-ba .bhm-home-proof__stage {
	gap: 1rem;
}

.bhm-home-proof--solo-ba .bhm-home-proof__thumbs-viewport {
	--bhm-proof-thumb-shadow-room: 1.75rem;
	padding-top: 0.35rem;
	padding-bottom: var(--bhm-proof-thumb-shadow-room);
}

.bhm-home-proof--solo-ba .bhm-home-proof__more {
	margin-top: -0.25rem;
}

.bhm-home-proof--solo-ba .bhm-home-proof__ba,
.bhm-home-proof__split--solo .bhm-home-proof__ba {
	width: 100%;
	min-width: 0;
}

.bhm-home-proof--solo-ba .bhm-home-proof__ba-frame {
	width: 100%;
}

.bhm-home-proof__story-kicker {
	margin: 0;
	color: var(--bhm-accent);
	font-size: var(--bhm-text-kicker);
	font-weight: var(--bhm-fw-bold);
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.bhm-home-proof__story-body {
	margin: 0;
	color: var(--bhm-nav-link);
	font-size: var(--bhm-text-small);
	line-height: 1.55;
	transition: opacity var(--bhm-duration) var(--bhm-ease);
}

.bhm-home-proof__master-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	box-sizing: border-box;
	height: 40px;
	min-height: 40px;
	margin-top: auto;
	padding: 12px;
	border-radius: var(--bhm-radius-sm);
	box-shadow: none;
	font-size: var(--bhm-text-btn);
	font-weight: var(--bhm-fw-bold);
	line-height: 1;
	transform: none;
	transition:
		background-color var(--bhm-duration) var(--bhm-ease),
		box-shadow var(--bhm-duration) var(--bhm-ease);
}

.bhm-btn.bhm-home-proof__master-cta,
.bhm-btn.bhm-home-proof__master-cta:hover {
	transform: none;
}

.bhm-home-proof__master-cta--desk {
	display: none;
}

.bhm-home-proof__master-cta--mob {
	display: inline-flex;
}

.bhm-home-proof__master-cta-icon {
	width: 20px;
	height: 20px;
	color: currentColor;
}

.bhm-home-proof__master-cta-arrow {
	font-size: var(--bhm-text-small);
	line-height: 1;
}

/* Edge bleed via container outset (no 100vw — avoids scrollbar/transform clip). */
.bhm-home-proof__thumbs-viewport {
	--bhm-proof-thumb-w: 11rem;
	--bhm-proof-thumb-media-h: 6.75rem;
	--bhm-hscroll-out: calc(var(--bhm-space-8, 2rem) / 2);
	order: 1;
	position: relative;
	width: calc(100% + (2 * var(--bhm-hscroll-out)));
	max-width: none;
	margin-inline: calc(-1 * var(--bhm-hscroll-out));
	min-width: 0;
	box-sizing: border-box;
	overflow-x: clip;
	overflow-y: visible;
	padding: 0.85rem 0 var(--bhm-proof-thumb-shadow-room, 2.5rem);
	background: var(--bhm-proof-rail-bg, var(--bhm-surface-3));
	isolation: isolate;
}

@supports not (overflow-x: clip) {
	.bhm-home-proof__thumbs-viewport {
		overflow-x: hidden;
	}
}

.bhm-home-proof__thumbs-viewport::before,
.bhm-home-proof__thumbs-viewport::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: 2;
	width: clamp(1.5rem, 4vw, 3rem);
	pointer-events: none;
	background: linear-gradient(
		90deg,
		var(--bhm-proof-rail-bg, var(--bhm-surface-3)),
		color-mix(in srgb, var(--bhm-proof-rail-bg, var(--bhm-surface-3)) 0%, transparent)
	);
}

.bhm-home-proof__thumbs-viewport::before {
	left: 0;
}

.bhm-home-proof__thumbs-viewport::after {
	right: 0;
	transform: scaleX(-1);
}

.bhm-home-proof > .bhm-container,
.bhm-home-proof__stage {
	overflow: visible;
}

.bhm-home-proof__thumbs-marquee {
	position: relative;
	z-index: 1;
	width: 100%;
	overflow: visible;
	padding: 0;
}

.bhm-home-proof__thumbs-marquee.is-static {
	overflow-x: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.bhm-home-proof__thumbs-marquee.is-static::-webkit-scrollbar {
	display: none;
}

.bhm-home-proof__thumbs {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 0.85rem;
	list-style: none;
	position: relative;
	width: max-content;
	max-width: none;
	margin: 0;
	padding: 0.15rem 0;
	order: unset;
	overflow: visible;
	scroll-snap-type: none;
	will-change: transform;
}

.bhm-home-proof__thumbs-marquee.is-ready:not(.is-static) .bhm-home-proof__thumbs {
	animation-name: bhm-proof-thumbs-marquee;
	animation-duration: var(--bhm-proof-thumbs-ms, 56s);
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

/* Longhands above so play-state is not reset by animation shorthand specificity. */
.bhm-home-proof__thumbs-marquee.is-paused .bhm-home-proof__thumbs,
.bhm-home-proof__thumbs-marquee:hover .bhm-home-proof__thumbs,
.bhm-home-proof__thumbs-marquee:focus-within .bhm-home-proof__thumbs,
.bhm-home-proof__thumbs-marquee:has(.bhm-home-proof__thumbs > *:hover) .bhm-home-proof__thumbs {
	animation-play-state: paused;
}

@keyframes bhm-proof-thumbs-marquee {
	from {
		transform: translate3d(0, 0, 0);
	}
	to {
		transform: translate3d(calc(-1 * var(--bhm-proof-thumbs-shift, 50%)), 0, 0);
	}
}

.bhm-home-proof__thumbs > li {
	flex: 0 0 var(--bhm-proof-thumb-w);
	width: var(--bhm-proof-thumb-w);
	min-width: var(--bhm-proof-thumb-w);
	max-width: var(--bhm-proof-thumb-w);
	scroll-snap-align: unset;
	overflow: visible;
}

.bhm-home-proof__thumb {
	display: grid;
	gap: 0.4rem;
	width: 100%;
	max-width: 100%;
	padding: 0 0 0.55rem;
	border: 1px solid var(--bhm-border);
	border-radius: var(--bhm-radius);
	background: var(--bhm-paper);
	box-shadow: var(--bhm-shadow-sm);
	text-align: left;
	cursor: pointer;
	color: inherit;
	font: inherit;
	box-sizing: border-box;
	transform: translate3d(0, 0, 0);
	transition:
		transform var(--bhm-duration) var(--bhm-ease),
		box-shadow var(--bhm-duration) var(--bhm-ease),
		border-color var(--bhm-duration) var(--bhm-ease),
		background-color var(--bhm-duration) var(--bhm-ease);
}

.bhm-home-proof__thumb:focus-visible {
	outline: 2px solid var(--bhm-accent);
	outline-offset: 3px;
}

.bhm-home-proof__thumb-media {
	display: block;
	height: var(--bhm-proof-thumb-media-h);
	border-radius: var(--bhm-radius) var(--bhm-radius) 0 0;
	overflow: hidden;
	background: var(--bhm-surface-2);
}

.bhm-home-proof__thumb-media img,
.bhm-home-proof__thumb-split {
	transition: transform var(--bhm-duration-slow) var(--bhm-ease-out);
}

.bhm-home-proof__thumb.is-active {
	border-color: var(--bhm-accent);
	box-shadow:
		0 0 0 1px var(--bhm-accent),
		var(--bhm-shadow);
}

.bhm-home-proof__thumb-media img,
.bhm-home-proof__thumb-split {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bhm-home-proof__thumb-split {
	background:
		linear-gradient(90deg, transparent 49.5%, var(--bhm-border) 49.5%, var(--bhm-border) 50.5%, transparent 50.5%),
		var(--after) right center / cover no-repeat,
		var(--before) left center / cover no-repeat;
}

.bhm-home-proof__thumb-meta {
	display: grid;
	gap: 0.15rem;
	min-width: 0;
	padding-inline: 0.55rem;
}

.bhm-home-proof__thumb-meta strong {
	color: var(--bhm-navy);
	font-size: 0.75rem;
	font-weight: var(--bhm-fw-bold);
	line-height: 1.3;
	overflow: hidden;
	overflow-wrap: anywhere;
	word-break: break-word;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	text-overflow: ellipsis;
}

.bhm-home-proof__thumb-meta span {
	color: var(--bhm-muted);
	font-size: 0.65rem;
	line-height: 1.3;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
	.bhm-home-proof__thumbs-marquee.is-ready .bhm-home-proof__thumbs,
	.bhm-home-proof__thumbs-marquee.is-ready:not(.is-static) .bhm-home-proof__thumbs {
		animation: none;
	}

	.bhm-home-proof__thumbs-marquee {
		overflow-x: auto;
		scrollbar-width: none;
		-ms-overflow-style: none;
	}

	.bhm-home-proof__thumbs-marquee::-webkit-scrollbar {
		display: none;
	}
}

.bhm-home-proof__more {
	order: 3;
	margin: 0;
	text-align: center;
}

.bhm-home-proof__more-link.bhm-btn {
	gap: 0.35rem;
	min-width: 12rem;
	padding-inline: 1.25rem 1rem;
	text-decoration: none;
}

.bhm-home-proof__more-label {
	line-height: 1.2;
}

.bhm-home-proof__more-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1em;
	margin-inline-start: 0;
	color: var(--bhm-accent);
	font-weight: var(--bhm-fw-bold);
	line-height: 1;
	opacity: 0;
	transform: translateX(-0.35rem);
	transition:
		opacity var(--bhm-duration) var(--bhm-ease),
		transform var(--bhm-duration) var(--bhm-ease),
		margin-inline-start var(--bhm-duration) var(--bhm-ease);
}

.bhm-home-proof__more-link:hover .bhm-home-proof__more-arrow,
.bhm-home-proof__more-link:focus-visible .bhm-home-proof__more-arrow {
	opacity: 1;
	margin-inline-start: 0.15rem;
	transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
	.bhm-home-proof__more-arrow {
		opacity: 1;
		transform: none;
		margin-inline-start: 0.15rem;
		transition: none;
	}
}

/* Mid stack (768–1099): desktop-weight atoms without 2-col split cliff */
@media (min-width: 768px) {
	.bhm-home-proof__lead {
		font-size: clamp(1.125rem, 0.95rem + 0.9vw, 1.5rem);
	}

	.bhm-home-proof__stage {
		gap: 48px;
	}

	.bhm-home-proof--solo-ba .bhm-home-proof__stage {
		gap: 1.15rem;
	}

	.bhm-home-proof__split {
		order: 1;
	}

	.bhm-home-proof__thumbs-viewport {
		--bhm-proof-thumb-w: 11.5rem;
		--bhm-proof-thumb-media-h: 7rem;
		order: 2;
	}

	.bhm-home-proof__ba-frame {
		height: auto;
		max-height: 420px;
		aspect-ratio: 778 / 500;
		border-radius: var(--bhm-radius);
	}

	.bhm-home-proof--solo-ba .bhm-home-proof__ba-frame,
	.bhm-home-proof__split--solo .bhm-home-proof__ba-frame {
		max-height: none;
		aspect-ratio: 16 / 9;
	}

	.bhm-home-proof__ba-caption {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}

	.bhm-home-proof__case-link {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		overflow: hidden;
		max-width: 100%;
	}

	.bhm-home-proof__ba-caption span {
		display: block;
	}

	.bhm-home-proof__master {
		min-height: 0;
		gap: 16px;
		padding: 24px 30px;
		border: 1px solid var(--bhm-border-soft);
		border-radius: var(--bhm-radius);
		background: var(--bhm-surface-3);
	}

	.bhm-home-proof__master-cta {
		height: auto;
		min-height: var(--bhm-touch);
	}

	.bhm-home-proof__master-cta-icon {
		width: 24px;
		height: 24px;
	}

	.bhm-home-proof.bhm-reveal.is-in .bhm-home-proof__split {
		animation-delay: 80ms;
	}
}

@media (min-width: 1100px) {
	.bhm-home-proof {
		padding-block: 100px;
	}

	.bhm-home-proof > .bhm-container {
		width: min(var(--bhm-chrome-max), calc(100% - var(--bhm-space-16)));
	}

	.bhm-home-proof__header {
		margin-bottom: var(--bhm-space-16);
		padding-inline: var(--bhm-space-16);
	}

	.bhm-home-proof {
		--bhm-text-h2: 2.25rem;
	}

	.bhm-home-proof__stage {
		gap: 60px;
	}

	.bhm-home-proof--solo-ba .bhm-home-proof__stage {
		gap: 1.25rem;
	}

	.bhm-home-proof__split {
		display: grid;
		grid-template-columns: minmax(0, 778fr) minmax(0, 462fr);
		gap: 40px;
		align-items: start;
		order: 1;
	}

	.bhm-home-proof--solo-ba .bhm-home-proof__split,
	.bhm-home-proof__split--solo {
		display: flex;
		flex-direction: column;
		grid-template-columns: none;
		gap: 24px;
	}

	.bhm-home-proof--solo-ba .bhm-home-proof__ba-frame,
	.bhm-home-proof__split--solo .bhm-home-proof__ba-frame {
		max-height: none;
		aspect-ratio: 16 / 9;
		width: 100%;
	}

	.bhm-home-proof__story--under-ba {
		padding-top: var(--bhm-space-5, 1.25rem);
		max-width: 46rem;
	}

	.bhm-home-proof__ba {
		order: unset;
		display: flex;
		flex-direction: column;
		min-width: 0;
	}

	.bhm-home-proof__ba-frame {
		height: auto;
		max-height: none;
		aspect-ratio: 778 / 500;
		border-radius: var(--bhm-radius);
	}

	.bhm-home-proof__ba-caption {
		flex-direction: row;
		align-items: baseline;
		gap: 15px;
		margin-top: 10px;
		padding-inline: 15px;
		font-size: inherit;
	}

	.bhm-home-proof__case-link {
		display: inline;
		-webkit-line-clamp: unset;
		overflow: visible;
		max-width: none;
	}

	.bhm-home-proof__ba-caption span {
		display: inline;
	}

	.bhm-home-proof__ba-caption strong {
		font-size: 20px;
		line-height: 1.4;
	}

	.bhm-home-proof__ba-caption span {
		font-size: var(--bhm-text-small);
		line-height: 1.55;
	}

	.bhm-home-proof__master {
		order: unset;
		gap: 16px;
		padding: 24px 30px;
		border: 1px solid var(--bhm-border-soft);
		border-radius: var(--bhm-radius);
		background: var(--bhm-surface-3);
		width: 100%;
		min-height: 507px;
		align-self: start;
		box-sizing: border-box;
	}

	.bhm-home-proof__master-id {
		gap: 30px;
	}

	.bhm-home-proof__master-photo {
		border-radius: var(--bhm-radius-sm);
	}

	.bhm-home-proof__master-meta {
		justify-content: space-between;
		align-self: stretch;
		padding-block: 20px;
		gap: 0;
	}

	.bhm-home-proof__master-stars img {
		width: 20px;
		height: 20px;
	}

	.bhm-home-proof__story {
		padding: 20px;
		flex: 1 1 auto;
	}

	.bhm-home-proof__story-body {
		color: var(--bhm-ink);
		font-size: var(--bhm-text-body);
	}

	.bhm-home-proof__master-cta {
		gap: 15px;
		height: 64px;
		min-height: 64px;
		margin-top: auto;
		padding: 16px;
		border-radius: var(--bhm-radius);
		box-shadow: 0 4px 6px rgba(7, 100, 253, 0.24);
		font-size: var(--bhm-text-btn);
	}

	.bhm-home-proof__master-cta--desk {
		display: inline-flex;
	}

	.bhm-home-proof__master-cta--mob {
		display: none;
	}

	.bhm-home-proof__master-cta-icon {
		width: 32px;
		height: 32px;
	}

	.bhm-home-proof__thumbs-viewport {
		--bhm-proof-thumb-w: 12rem;
		--bhm-proof-thumb-media-h: 7.25rem;
		order: 2;
	}

	.bhm-home-proof__more {
		order: 3;
	}
}

@media (hover: hover) {
	.bhm-home-proof__ba-frame:hover .bhm-home-proof__ba-knob,
	.bhm-home-proof__ba-frame:focus-within .bhm-home-proof__ba-knob {
		transform: translate(-50%, -50%) scale(1.08);
		background: rgba(7, 100, 253, 0.35);
	}

	.bhm-home-proof__thumb:hover {
		transform: translate3d(0, var(--bhm-proof-thumb-lift, -0.35rem), 0);
		border-color: color-mix(in srgb, var(--bhm-accent) 45%, var(--bhm-border));
		box-shadow: var(--bhm-shadow);
	}

	.bhm-home-proof__thumb:hover .bhm-home-proof__thumb-media img,
	.bhm-home-proof__thumb:hover .bhm-home-proof__thumb-split {
		transform: scale(1.04);
	}

	.bhm-home-proof__thumb.is-active:hover {
		transform: translate3d(0, var(--bhm-proof-thumb-lift, -0.35rem), 0);
		border-color: var(--bhm-accent);
		box-shadow:
			0 0 0 1px var(--bhm-accent),
			var(--bhm-shadow);
	}

	.bhm-home-proof__thumb:active {
		transform: translate3d(0, -0.1rem, 0);
		box-shadow: var(--bhm-shadow-sm);
	}

	.bhm-home-proof__master-cta:hover {
		background: var(--bhm-accent-hover);
		box-shadow: var(--bhm-shadow-accent);
		transform: none;
	}
}

@keyframes bhm-proof-stagger {
	from {
		transform: translateY(var(--bhm-reveal-y));
	}

	to {
		transform: none;
	}
}

.bhm-home-proof.bhm-reveal.is-in .bhm-home-proof__header,
.bhm-home-proof.bhm-reveal.is-in .bhm-home-proof__split {
	animation: bhm-proof-stagger var(--bhm-duration-slow) var(--bhm-ease-out) both;
}

.bhm-home-proof.bhm-reveal.is-in .bhm-home-proof__header {
	animation-delay: 0ms;
}

.bhm-home-proof.bhm-reveal.is-in .bhm-home-proof__split {
	animation-delay: 160ms;
}

@media (min-width: 1100px) {
	.bhm-home-proof.bhm-reveal.is-in .bhm-home-proof__split {
		animation-delay: 80ms;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bhm-home-proof__ba-before,
	.bhm-home-proof__ba-handle,
	.bhm-home-proof__ba-after,
	.bhm-home-proof__ba-knob,
	.bhm-home-proof__story-body,
	.bhm-home-proof__thumb,
	.bhm-home-proof__master-cta,
	.bhm-home-proof__case-link strong,
	.bhm-home-proof.bhm-reveal.is-in .bhm-home-proof__header,
	.bhm-home-proof.bhm-reveal.is-in .bhm-home-proof__split {
		animation: none;
		transition: none;
		transition-delay: 0ms;
		transform: none;
		opacity: 1;
	}

	.bhm-home-proof__thumb:hover,
	.bhm-home-proof__thumb:hover .bhm-home-proof__thumb-media img,
	.bhm-home-proof__thumb:hover .bhm-home-proof__thumb-split,
	.bhm-home-proof__master-cta:hover,
	.bhm-home-proof__ba-frame:hover .bhm-home-proof__ba-knob {
		transform: none;
	}
}

.bhm-map {
	--bhm-map-dur-panel: 320ms;
	--bhm-map-dur-chrome: 200ms;
	--bhm-map-dur-chevron: 150ms;
	--bhm-map-dur-tip: 200ms;
	--bhm-map-ease: cubic-bezier(0.4, 0, 0.2, 1);
	--bhm-map-tip-left: 340px;
	--bhm-map-tip-top: 120px;
	padding: 48px 0;
	background: transparent;
}

.bhm-map__header {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	margin-bottom: 24px;
}

.bhm-map__kicker {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--bhm-accent);
	font-size: var(--bhm-text-kicker);
	font-weight: var(--bhm-fw-extrabold);
	letter-spacing: 1px;
	text-transform: uppercase;
	line-height: 1;
}

.bhm-map__kicker::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: var(--bhm-radius-sm);
	background: var(--bhm-accent);
	flex-shrink: 0;
}

.bhm-map__title {
	margin: 0;
	font-size: var(--bhm-text-h2);
	line-height: var(--bhm-lh-tight);
	letter-spacing: var(--bhm-tracking-tight);
}

.bhm-map__split {
	display: grid;
	gap: 24px;
	min-width: 0;
	width: 100%;
}

.bhm-map__aside {
	display: grid;
	gap: 8px;
	align-content: start;
}

.bhm-map__empty {
	margin: 0;
	padding: 10px 14px;
	border: 1px dashed var(--bhm-border);
	border-radius: var(--bhm-radius);
	background: var(--bhm-paper);
	color: var(--bhm-muted);
	font-size: var(--bhm-text-small);
	font-weight: var(--bhm-fw-semibold);
	line-height: 1.4;
}

.bhm-map__empty[hidden] {
	display: none !important;
}

.bhm-map__regions {
	display: grid;
	gap: 8px;
	/* Reserve open+2 collapsed footprint to cut accordion CLS (exclusive always-one-open). */
	min-height: 320px;
}

.bhm-map__search {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	height: 48px;
	padding: 0 14px;
	border: 1px solid var(--bhm-border);
	border-radius: var(--bhm-radius);
	background: var(--bhm-paper);
}

.bhm-map__search img {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
}

.bhm-map__search input {
	flex: 1;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: var(--bhm-text-small);
	line-height: 1.4;
	color: var(--bhm-navy);
	min-width: 0;
}

.bhm-map__search input::placeholder {
	color: var(--bhm-muted);
}

.bhm-map__search input:focus {
	outline: none;
}

.bhm-map__region {
	border: 1px solid var(--bhm-border);
	border-radius: var(--bhm-radius);
	background: var(--bhm-paper);
	transition:
		background-color var(--bhm-map-dur-chrome) var(--bhm-map-ease),
		border-color var(--bhm-map-dur-chrome) var(--bhm-map-ease);
}

.bhm-map__region[hidden] {
	display: none !important;
}

.bhm-map__region[open] {
	border: 0;
	border-left: 4px solid var(--bhm-accent);
	border-radius: 0 var(--bhm-radius) var(--bhm-radius) 0;
	background: var(--bhm-surface-accent);
}

.bhm-map__region-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	cursor: pointer;
	list-style: none;
	padding: 14px;
	font-size: var(--bhm-text-small);
	font-weight: var(--bhm-fw-semibold);
	color: var(--bhm-muted);
	line-height: 1.2;
	transition: color var(--bhm-map-dur-chrome) var(--bhm-map-ease);
}

.bhm-map__region[open] .bhm-map__region-summary {
	padding-bottom: 10px;
	font-size: var(--bhm-text-small);
	font-weight: var(--bhm-fw-bold);
	color: var(--bhm-navy);
}

.bhm-map__region-summary::-webkit-details-marker {
	display: none;
}

.bhm-map__region-label {
	min-width: 0;
}

.bhm-map__chevrons {
	position: relative;
	flex-shrink: 0;
	width: 16px;
	height: 16px;
}

.bhm-map__chevron {
	position: absolute;
	inset: 0;
	width: 16px;
	height: 16px;
	display: block;
	transition: opacity var(--bhm-map-dur-chevron) var(--bhm-map-ease);
}

.bhm-map__chevron--down {
	opacity: 0;
}

.bhm-map__chevron--right {
	opacity: 1;
}

.bhm-map__region[open] .bhm-map__chevron--down {
	opacity: 1;
}

.bhm-map__region[open] .bhm-map__chevron--right {
	opacity: 0;
}

/* Override UA display:none so grid-rows open/close can animate */
.bhm-map__region > .bhm-map__towns-wrap {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows var(--bhm-map-dur-panel) var(--bhm-map-ease);
}

.bhm-map__region[open] > .bhm-map__towns-wrap {
	grid-template-rows: 1fr;
}

.bhm-map__towns-wrap > .bhm-map__towns {
	min-height: 0;
	overflow: hidden;
}

.bhm-map__towns {
	list-style: none;
	margin: 0;
	padding: 0 14px 14px;
	display: grid;
	gap: 6px;
	border-top: 1px solid rgba(7, 100, 253, 0.18);
	opacity: 0;
	transition: opacity var(--bhm-map-dur-panel) var(--bhm-map-ease);
}

.bhm-map__region[open] .bhm-map__towns {
	opacity: 1;
	transition-delay: 40ms;
}

.bhm-map__town {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--bhm-space-3);
	min-height: 44px;
	padding: 2px 0;
	text-decoration: none;
	color: var(--bhm-navy);
	font-size: var(--bhm-text-small);
	font-weight: var(--bhm-fw-semibold);
	line-height: 1.4;
}

.bhm-map__town:hover,
.bhm-map__town:focus-visible,
.bhm-map__town.is-hover {
	color: var(--bhm-accent);
}

.bhm-map__town.is-selected {
	color: var(--bhm-accent);
	font-weight: var(--bhm-fw-bold);
}

/* Selected town gets an accent bullet so the map ↔ list link is readable */
.bhm-map__town.is-selected > span:first-child::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-right: 7px;
	border-radius: var(--bhm-radius-circle);
	background: var(--bhm-accent);
	vertical-align: 1px;
}

.bhm-map__town:focus-visible {
	outline: 2px solid var(--bhm-accent);
	outline-offset: 2px;
	border-radius: var(--bhm-radius-sm);
}

.bhm-map__zip {
	color: var(--bhm-muted);
	font-size: var(--bhm-text-kicker);
	font-weight: var(--bhm-fw-semibold);
}

.bhm-map__canvas {
	position: relative;
	border: 1px solid var(--bhm-border);
	border-radius: var(--bhm-radius-lg);
	overflow: hidden;
	background: var(--bhm-paper);
	width: 100%;
	max-width: 100%;
	min-width: 0;
	/* Figma M map card ~357×357 */
	aspect-ratio: 1;
	height: auto;
}

.bhm-map__gl {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.bhm-map.is-live .bhm-map__gl,
.bhm-map__canvas.is-live .bhm-map__gl {
	opacity: 1;
	pointer-events: auto;
}

.bhm-map__media {
	position: absolute;
	inset: 0;
	z-index: 1;
	overflow: hidden;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.bhm-map.is-live .bhm-map__media,
.bhm-map__canvas.is-live .bhm-map__media {
	opacity: 0;
	visibility: hidden;
}

.bhm-map__media picture {
	position: absolute;
	inset: 0;
	display: block;
}

.bhm-map__marker {
	position: relative;
	display: block;
	width: 14px;
	height: 14px;
	border-radius: var(--bhm-radius-circle);
	background: var(--bhm-accent);
	border: 2px solid var(--bhm-paper);
	box-shadow: 0 1px 4px rgba(7, 28, 71, 0.28);
	cursor: pointer;
	transform: translateZ(0);
	transition:
		width var(--bhm-map-dur-chrome) var(--bhm-map-ease),
		height var(--bhm-map-dur-chrome) var(--bhm-map-ease),
		background var(--bhm-map-dur-chrome) var(--bhm-map-ease),
		box-shadow var(--bhm-map-dur-chrome) var(--bhm-map-ease);
}

/* Town name bubble — only while hovered/focused; selected town is named in the tip */
.bhm-map__marker::after {
	content: attr(data-name);
	position: absolute;
	left: 50%;
	bottom: calc(100% + 7px);
	transform: translateX(-50%);
	padding: 3px 7px;
	border-radius: var(--bhm-radius-sm);
	background: var(--bhm-navy);
	color: var(--bhm-paper);
	font-size: var(--bhm-text-kicker);
	font-weight: var(--bhm-fw-semibold);
	line-height: 1.3;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--bhm-map-dur-chrome) var(--bhm-map-ease);
}

.bhm-map__marker.is-hover::after,
.bhm-map__marker:hover::after,
.bhm-map__marker:focus-visible::after {
	opacity: 1;
}

.bhm-map__marker.is-hover,
.bhm-map__marker:hover,
.bhm-map__marker:focus-visible {
	background: var(--bhm-accent-pressed);
	outline: none;
	box-shadow: 0 0 0 3px rgba(7, 100, 253, 0.35);
}

.bhm-map__marker.is-active {
	width: 18px;
	height: 18px;
	background: var(--bhm-accent-pressed);
	box-shadow: 0 0 0 4px rgba(7, 100, 253, 0.28), 0 1px 4px rgba(7, 28, 71, 0.28);
}

@media (prefers-reduced-motion: reduce) {
	.bhm-map__marker,
	.bhm-map__marker::after {
		transition: none;
	}
}

.bhm-map .maplibregl-ctrl-top-right {
	top: 8px;
	right: 8px;
}

.bhm-map .maplibregl-ctrl-group {
	border-radius: var(--bhm-radius);
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(7, 28, 71, 0.12);
}

.bhm-map .maplibregl-ctrl-attrib {
	font-size: var(--bhm-text-kicker);
	line-height: 1.3;
	max-width: 55%;
	background: rgba(255, 255, 255, 0.82);
}

@media (prefers-reduced-motion: reduce) {
	.bhm-map__gl,
	.bhm-map__media {
		transition: none;
	}
}

.bhm-map__tint {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(7, 100, 253, 0.05);
}

.bhm-map__img {
	position: absolute;
	/* Mobile Figma 48:30 / image 3 crop */
	left: -167.49%;
	top: -85.02%;
	width: 440%;
	height: 213.63%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	display: block;
}

.bhm-map__tip {
	position: absolute;
	left: 50%;
	top: 19px;
	transform: translateX(-50%);
	z-index: 5;
	width: min(222px, calc(100% - 2rem));
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 12px;
	border: 1px solid var(--bhm-accent-border);
	border-radius: var(--bhm-radius-sm);
	background: var(--bhm-glass-bg-strong);
	-webkit-backdrop-filter: var(--bhm-glass-filter);
	backdrop-filter: var(--bhm-glass-filter);
	box-shadow: 0 6px 14px rgba(2, 16, 86, 0.12);
	transition:
		opacity var(--bhm-map-dur-tip) var(--bhm-map-ease),
		transform var(--bhm-map-dur-tip) var(--bhm-map-ease);
}

.bhm-map__tip.is-swap {
	opacity: 0;
	transform: translateX(-50%) translateY(4px);
}

.bhm-map__tip.is-enter {
	animation: bhm-map-tip-in var(--bhm-map-dur-tip) var(--bhm-map-ease);
}

@keyframes bhm-map-tip-in {
	from {
		opacity: 0;
		transform: translateX(-50%) translateY(4px);
	}
	to {
		opacity: 1;
		transform: translateX(-50%) translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.bhm-map {
		--bhm-map-dur-panel: 0.01ms;
		--bhm-map-dur-chrome: 0.01ms;
		--bhm-map-dur-chevron: 0.01ms;
		--bhm-map-dur-tip: 0.01ms;
	}

	.bhm-map__tip.is-enter {
		animation: none;
	}
}

.bhm-map__tip-title {
	margin: 0;
	font-size: var(--bhm-text-body);
	font-weight: var(--bhm-fw-bold);
	line-height: 1.25;
	color: var(--bhm-navy);
}

.bhm-map__tip-sub {
	margin: -6px 0 0;
	font-size: var(--bhm-text-kicker);
	font-weight: var(--bhm-fw-semibold);
	line-height: 1.3;
	color: var(--bhm-muted);
}

.bhm-map__tip-sub[hidden] {
	display: none;
}

.bhm-map__tip-area {
	margin-top: -2px;
	font-size: var(--bhm-text-kicker);
	font-weight: var(--bhm-fw-semibold);
	line-height: 1.3;
	color: var(--bhm-accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.bhm-map__tip-area[hidden] {
	display: none;
}

.bhm-map__tip-area:focus-visible {
	outline: 2px solid var(--bhm-accent);
	outline-offset: 2px;
}

.bhm-map__tip-slot {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 5px;
	margin: 0;
	font-size: var(--bhm-text-small);
	font-weight: var(--bhm-fw-semibold);
	line-height: 14px;
	color: var(--bhm-muted);
}

.bhm-map__tip-clock {
	flex-shrink: 0;
	width: 14px;
	height: 14px;
}

.bhm-map__tip-slot-time {
	color: var(--bhm-navy);
	font-weight: var(--bhm-fw-semibold);
}

.bhm-map__tip-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
}

.bhm-map__tip-price {
	display: flex;
	align-items: flex-end;
	gap: 4px;
	margin: 0;
	font-size: var(--bhm-text-kicker);
	font-weight: var(--bhm-fw-semibold);
	line-height: 1.45;
	color: var(--bhm-nav-link);
	white-space: nowrap;
}

.bhm-map__tip-price strong {
	font-size: 18px;
	font-weight: var(--bhm-fw-semibold);
	line-height: 20px;
	color: var(--bhm-accent);
}

.bhm-map__book {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 8px 14px;
	border: 0;
	border-bottom: 1px solid var(--bhm-accent);
	border-radius: var(--bhm-radius-sm);
	background: transparent;
	box-shadow: 0 4px 12px rgba(7, 100, 253, 0.24);
	color: var(--bhm-navy);
	font-size: var(--bhm-text-small);
	font-weight: var(--bhm-fw-bold);
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}

.bhm-map__book img {
	width: 9px;
	height: 11px;
	display: block;
}

.bhm-map__book:hover,
.bhm-map__book:focus-visible {
	color: var(--bhm-accent);
}

/* H6 FAQ — Figma 1:3511 / 1:380 · pill kicker + D py 80 */
.bhm-home-faq {
	padding: clamp(var(--bhm-space-10), 6vw, 80px) 0;
}

.bhm-home-faq__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
	margin-bottom: var(--bhm-space-8);
}

.bhm-home-faq__header .bhm-kicker {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 4px 12px;
	border: 1px solid var(--bhm-accent);
	border-radius: var(--bhm-radius-sm);
	background: var(--bhm-surface-accent);
	color: var(--bhm-accent);
	font-size: var(--bhm-text-kicker);
	font-weight: var(--bhm-fw-extrabold);
	letter-spacing: var(--bhm-tracking-wide);
	text-transform: uppercase;
	line-height: 1;
}

.bhm-home-faq__header .bhm-title {
	margin: 0;
	font-size: var(--bhm-text-h2);
}

.bhm-home-faq .bhm-faq {
	max-width: 56rem;
	margin-inline: auto;
}

/* Section already prints FAQ H2 — hide shortcode default heading if present. */
.bhm-home-faq .bhm-faq > h2.bhm-title {
	display: none;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (min-width: 900px) {
	.bhm-home-quote {
		padding: clamp(var(--bhm-space-12), 8vw, 6rem) 0;
	}

	.bhm-home-quote .bhm-container {
		width: min(var(--bhm-chrome-max), calc(100% - var(--bhm-space-16)));
	}

	/* Mid @900: keep stacked (P-H2a) — 2-col only ≥1100 */
	.bhm-home-quote__inner {
		grid-template-columns: minmax(0, 1fr);
		align-items: start;
		gap: clamp(1.5rem, 4vw, 2.5rem);
	}

	.bhm-home-quote__visual {
		order: 0;
		aspect-ratio: 16 / 10;
		min-height: 280px;
	}

	.bhm-home-quote__form {
		display: flex;
		flex-direction: column;
		gap: 40px;
		width: 100%;
		max-width: none;
		min-width: 0;
		order: 0;
	}

	.bhm-home-quote__header {
		order: unset;
		gap: 16px;
	}

	.bhm-home-quote__form-body,
	.bhm-home-quote__notice {
		order: unset;
	}

	.bhm-home-quote__kicker {
		display: block;
	}

	.bhm-home-quote__header .bhm-title {
		font-size: 36px;
		line-height: 1.25;
		color: var(--bhm-navy);
	}

	.bhm-home-quote__header .bhm-lead {
		font-size: var(--bhm-text-body);
		line-height: 1.55;
		color: var(--bhm-muted);
	}

	.bhm-home-quote .bhm-quote-form--home {
		gap: 24px;
	}

	.bhm-home-quote .bhm-quote-upload {
		order: 1;
		gap: 8px;
		min-height: 0;
		padding: 24px;
		border-width: 1.5px;
		border-radius: var(--bhm-radius);
	}

	.bhm-home-quote .bhm-quote-upload__icon {
		width: 48px;
		height: 48px;
		border-radius: var(--bhm-radius-circle);
		background: var(--bhm-surface-accent);
	}

	.bhm-home-quote .bhm-quote-upload__icon img {
		width: 24px;
		height: 24px;
	}

	.bhm-home-quote .bhm-quote-upload__title {
		font-size: var(--bhm-text-body);
		font-weight: var(--bhm-fw-semibold);
	}

	.bhm-home-quote .bhm-quote-upload__hint {
		font-size: var(--bhm-text-small);
	}

	.bhm-home-quote .bhm-quote-upload__hint--desktop {
		display: block;
	}

	.bhm-home-quote .bhm-quote-upload__hint--mobile {
		display: none;
	}

	.bhm-home-quote .bhm-quote-form__fields {
		order: 2;
	}

	.bhm-home-quote .bhm-quote-form__cta {
		order: 3;
		height: 52px;
		min-height: 52px;
		padding: 16px 32px;
		border-radius: var(--bhm-radius);
		font-size: var(--bhm-text-body);
		box-shadow: 0 8px 8px rgba(7, 100, 253, 0.15);
	}

	.bhm-home-quote .bhm-quote-form__cta-icon {
		width: 18px;
		height: 18px;
	}

	.bhm-process {
		padding: 80px 0;
	}

	.bhm-process .bhm-container {
		gap: 48px;
		width: min(1280px, calc(100% - var(--bhm-space-8)));
	}

	.bhm-process__header {
		max-width: none;
	}

	.bhm-process__kicker {
		gap: 0;
		margin-bottom: 12px;
		padding: 4px 12px;
		background: var(--bhm-surface-accent);
		font-size: var(--bhm-text-kicker);
		font-weight: var(--bhm-fw-extrabold);
	}

	.bhm-process__kicker-icon {
		display: none;
	}

	.bhm-process__kicker-d {
		display: inline;
	}

	.bhm-process__kicker-m {
		display: none;
	}

	.bhm-process__title {
		margin-bottom: 12px;
		color: var(--bhm-navy);
		font-size: 36px;
	}

	.bhm-process__lead {
		max-width: 640px;
		color: var(--bhm-muted);
		font-size: 18px;
		line-height: 1.5;
	}

	/* Mid: keep stacked steps — 3-col only ≥1100 (avoids overflow @900) */
	.bhm-process__steps {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	/* P-H3a: compact ~456 badge, not full-bleed 1280 */
	.bhm-process__guarantee-inner {
		width: fit-content;
		max-width: min(456px, 100%);
		font-weight: var(--bhm-fw-bold);
		border: 1px solid var(--bhm-paper);
	}

	.bhm-process__guarantee-d {
		display: inline;
	}

	.bhm-process__guarantee-m {
		display: none;
	}

	.bhm-map {
		padding: 80px 0;
		background: transparent;
	}

	/* Figma content width 1280 — map split 380 + 32 + 868 */
	.bhm-map .bhm-container {
		width: min(1280px, calc(100% - var(--bhm-space-8)));
	}

	.bhm-map__header {
		gap: 12px;
		margin-bottom: 40px;
	}

	.bhm-map__kicker::before {
		width: 8px;
		height: 8px;
		border-radius: var(--bhm-radius-sm);
	}

	.bhm-map__title {
		font-size: 36px;
		line-height: 1.2;
	}

	.bhm-map__split {
		grid-template-columns: minmax(0, 1fr);
		align-items: start;
		gap: 24px;
	}

	/* Desktop: match Figma county-selector open footprint (~270+) to stabilize column CLS */
	.bhm-map__regions {
		min-height: 278px;
	}

	.bhm-map__search {
		gap: 12px;
		min-height: 52px;
		height: 52px;
		padding: 0 16px;
		border-radius: var(--bhm-radius-sm);
	}

	.bhm-map__search input {
		font-size: var(--bhm-text-small);
		line-height: 1.55;
	}

	.bhm-map__search input::placeholder {
		color: var(--bhm-muted-2);
	}

	.bhm-map__region {
		border-radius: var(--bhm-radius-sm);
	}

	.bhm-map__region[open] {
		border: 1px solid var(--bhm-accent);
		border-left-width: 1px;
		border-radius: 0 var(--bhm-radius) var(--bhm-radius) 0;
		background: var(--bhm-surface-accent);
	}

	.bhm-map__region-summary {
		padding: 18px;
		font-size: var(--bhm-text-small);
		font-weight: var(--bhm-fw-semibold);
	}

	.bhm-map__region[open] .bhm-map__region-summary {
		padding-bottom: 12px;
		font-weight: var(--bhm-fw-bold);
	}

	.bhm-map__towns {
		padding: 0 18px 18px;
		gap: 6px;
	}

	.bhm-map__town {
		padding: 0;
		font-size: var(--bhm-text-small);
		font-weight: var(--bhm-fw-semibold);
	}

	.bhm-map__zip {
		font-size: var(--bhm-text-small);
	}

	/* Mid stacked: keep square canvas (M parity) until D split */
	.bhm-map__canvas {
		aspect-ratio: 1;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		height: auto;
	}

	.bhm-map__img {
		/* Desktop Figma 95:186 / 109:431 crop */
		left: -56.69%;
		top: -43.01%;
		width: 156.72%;
		height: 158.58%;
	}

	.bhm-map__tip {
		left: auto;
		right: 16px;
		top: auto;
		bottom: 16px;
		transform: none;
		width: min(222px, calc(100% - 32px));
	}

	.bhm-map__tip.is-swap {
		transform: translateY(4px);
	}

	@keyframes bhm-map-tip-in {
		from {
			opacity: 0;
			transform: translateY(4px);
		}
		to {
			opacity: 1;
			transform: none;
		}
	}

	.bhm-map__tip[data-region="nassau"],
	.bhm-map__tip[data-region="suffolk"],
	.bhm-map__tip[data-region="nyc"] {
		--bhm-map-tip-left: auto;
		--bhm-map-tip-top: auto;
	}

	.bhm-home-faq {
		padding: 80px 0;
	}

	.bhm-home-faq__header {
		margin-bottom: 48px;
	}

	.bhm-home-faq__header .bhm-title {
		font-size: 36px;
		line-height: 1.25;
		color: var(--bhm-navy);
	}
}

/* Desktop canon ≥1100 — quote 2-col · process 3-col · map tip anchors */
@media (min-width: 1100px) {
	.bhm-home-quote {
		padding: 96px 0;
	}

	.bhm-home-quote__inner {
		grid-template-columns: minmax(0, 1fr) minmax(280px, 560px);
		align-items: center;
		gap: clamp(2rem, 5vw, 80px);
	}

	.bhm-home-quote__visual {
		aspect-ratio: auto;
		min-height: 0;
		align-self: stretch;
	}

	.bhm-home-quote__form {
		width: auto;
		max-width: 560px;
	}

	.bhm-process__steps {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 24px;
	}

	.bhm-map__split {
		grid-template-columns: minmax(240px, 380px) minmax(0, 1fr);
		align-items: start;
		gap: 32px;
	}

	.bhm-map__canvas {
		aspect-ratio: 868 / 550;
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	.bhm-map__tip {
		left: var(--bhm-map-tip-left, 340px);
		right: auto;
		top: var(--bhm-map-tip-top, 120px);
		bottom: auto;
		width: 222px;
	}

	.bhm-map__tip[data-region="nassau"] {
		--bhm-map-tip-left: 340px;
		--bhm-map-tip-top: 120px;
	}

	.bhm-map__tip[data-region="suffolk"] {
		--bhm-map-tip-left: 520px;
		--bhm-map-tip-top: 160px;
	}

	.bhm-map__tip[data-region="nyc"] {
		--bhm-map-tip-left: 180px;
		--bhm-map-tip-top: 200px;
	}
}

@media (max-width: 1099px) {
	.bhm-home-quote .bhm-parallax {
		transform: none;
		will-change: auto;
	}
}

@media (max-width: 1099px) {
	.bhm-parallax {
		transform: none;
		will-change: auto;
	}
}
