/*
Theme Name: Bumped Media - Full Site
Theme URI: https://bumpedmedia.com
Author: Bumped Media
Author URI: https://bumpedmedia.com
Description: The full Bumped Media website. A fast, editable, SEO-ready block theme for a profit-led paid media agency serving ecommerce and service-based brands. Dark, type-led, criss-cross grid, neon green accent. All page content is editable in the WordPress editor.
Version: 7.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bumped-media-full
*/

/* ------------------------------------------------------------------
   1. BASE
------------------------------------------------------------------ */

html {
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

body {
	overflow-x: clip;
}

:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
	border-radius: 2px;
}

mark.has-inline-color {
	background: transparent;
}

/* ------------------------------------------------------------------
   2. TYPE UTILITIES
------------------------------------------------------------------ */

/* Eyebrow: mono label with leading rule, e.g. "001 / Paid Social Growth" */
.eyebrow {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

.eyebrow::before {
	content: "";
	display: inline-block;
	width: 32px;
	height: 1px;
	background: currentColor;
	opacity: 0.4;
	flex: none;
}

/* Display headlines */
.display {
	font-size: clamp(2.5rem, 6.5vw, 5.5rem);
	line-height: 0.95;
	letter-spacing: -0.045em;
	font-weight: 600;
}

.display-lg {
	font-size: clamp(3rem, 8vw, 7rem);
	line-height: 0.92;
	letter-spacing: -0.05em;
	font-weight: 600;
}

/* Oversized lead paragraph */
.bm-lead {
	font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.5rem);
	line-height: 1.35;
	letter-spacing: -0.02em;
	max-width: 48rem;
}

/* Hero subline */
.bm-hero-sub {
	font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
	line-height: 1.6;
	max-width: 42rem;
}

/* Small mono labels */
.mono-xs {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

/* Large mono index numbers (Growth Audit rows) */
.bm-num {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 1.5rem;
	line-height: 1.3;
	min-width: 3.5rem;
	flex: none;
}

/* Wordmark: bumped.media */
.bm-wordmark {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 13px;
	letter-spacing: -0.01em;
}

.bm-wordmark a {
	text-decoration: none;
}

/* Constrain paragraph measure where the design calls for it */
.bm-max-xl { max-width: 36rem; }
.bm-max-2xl { max-width: 42rem; }
.bm-max-3xl { max-width: 48rem; }

/* ------------------------------------------------------------------
   3. SECTION FURNITURE
------------------------------------------------------------------ */

/* Subtle grid overlay used on dark sections */
.grid-bg {
	background-image:
		linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 64px 64px;
}

/* Hairline borders */
.bm-bb { border-bottom: 1px solid var(--wp--preset--color--line); }
.bm-bt { border-top: 1px solid var(--wp--preset--color--line); }

/* Divider between stacked children */
.bm-divide > * + * { border-top: 1px solid var(--wp--preset--color--line); }

/* Rows: top rule + rule under each row */
.bm-rows { border-top: 1px solid var(--wp--preset--color--line); }
.bm-rows > * { border-bottom: 1px solid var(--wp--preset--color--line); }

/* Stat tiles (About): 1px line grid with filled cells */
.bm-tiles {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--wp--preset--color--line);
	border: 1px solid var(--wp--preset--color--line);
	max-width: 42rem;
}

.bm-tiles > * {
	background: var(--wp--preset--color--paper);
	padding: 1.25rem;
	margin: 0 !important;
}

@media (max-width: 600px) {
	.bm-tiles { grid-template-columns: 1fr; }
}

/* Comparison card pair (The Shift) */
.bm-compare {
	background: var(--wp--preset--color--line);
	border: 1px solid var(--wp--preset--color--line);
}

/* ------------------------------------------------------------------
   4. LISTS
------------------------------------------------------------------ */

ul.bm-list-check,
ul.bm-list-x {
	list-style: none;
	padding-left: 0;
	margin-left: 0;
}

.bm-list-check li,
.bm-list-x li {
	position: relative;
	padding-left: 1.75rem;
	margin-bottom: 0.9rem;
}

.bm-list-check li::before,
.bm-list-x li::before {
	position: absolute;
	left: 0;
	top: 0;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.9em;
	line-height: inherit;
}

.bm-list-check li::before {
	content: "\2713";
	color: var(--wp--preset--color--accent);
}

.bm-list-x li::before {
	content: "\2715";
	opacity: 0.6;
}

/* Two-column checklist (Creative Services) */
ul.bm-cols-2 {
	columns: 2;
	column-gap: 2.5rem;
}

ul.bm-cols-2 li {
	break-inside: avoid;
}

@media (max-width: 640px) {
	ul.bm-cols-2 { columns: 1; }
}

/* ------------------------------------------------------------------
   5. BUTTONS
------------------------------------------------------------------ */

.wp-block-button__link {
	transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 24px -8px rgba(0, 255, 133, 0.5);
}

/* Outline buttons (used on dark sections) */
.wp-block-button.is-style-outline .wp-block-button__link,
.wp-block-button.is-style-outline > .wp-block-button__link {
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: var(--wp--preset--color--paper);
	background: transparent;
	padding: calc(1rem - 1px) calc(1.75rem - 1px);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	border-color: rgba(255, 255, 255, 0.5);
	background: rgba(255, 255, 255, 0.04);
	transform: none;
	box-shadow: none;
}

/* Small pill (header) */
.wp-block-button.btn-sm .wp-block-button__link {
	font-size: 0.875rem;
	padding: calc(0.55rem - 1px) calc(1.1rem - 1px);
}

/* ------------------------------------------------------------------
   6. HEADER
------------------------------------------------------------------ */

@media (max-width: 781px) {
	.bm-hide-mobile { display: none !important; }
}

/* ------------------------------------------------------------------
   7. FAQ (core Details block)
------------------------------------------------------------------ */

.bm-faq-list {
	border-top: 1px solid var(--wp--preset--color--line);
}

details.bm-faq {
	border-bottom: 1px solid var(--wp--preset--color--line);
	padding: 0;
}

details.bm-faq summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1.5rem 0.5rem;
	margin: 0 -0.5rem;
	border-radius: 4px;
	font-size: clamp(1.125rem, 1rem + 0.5vw, 1.25rem);
	letter-spacing: -0.02em;
	transition: background 0.2s ease;
}

details.bm-faq summary::-webkit-details-marker { display: none; }

details.bm-faq summary:hover {
	background: rgba(242, 239, 232, 0.55);
}

details.bm-faq summary::after {
	content: "+";
	font-family: var(--wp--preset--font-family--mono);
	font-size: 1.1rem;
	line-height: 1.4;
	flex: none;
	transition: transform 0.2s ease;
}

details.bm-faq[open] summary::after {
	transform: rotate(45deg);
}

details.bm-faq > :not(summary) {
	color: var(--wp--preset--color--stone);
	max-width: 42rem;
	margin-top: 0;
	padding-bottom: 1.5rem;
}

@media (prefers-reduced-motion: reduce) {
	details.bm-faq summary::after { transition: none; }
}

/* ------------------------------------------------------------------
   8. SHOWCASE CAROUSEL
------------------------------------------------------------------ */

.bm-carousel {
	position: relative;
}

.bm-track {
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding-bottom: 2px;
}

.bm-track::-webkit-scrollbar { display: none; }

.bm-track > * {
	flex: 0 0 min(400px, 82%);
	min-width: 0;
	scroll-snap-align: start;
}

.bm-slide {
	background: #101010;
	border: 1px solid var(--wp--preset--color--line-dark);
}

.bm-slide .wp-block-image {
	margin: 0 0 1.25rem;
}

.bm-slide .wp-block-image img,
.bm-slide .wp-block-video video {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

/* Injected controls */
.bm-controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	margin-top: 1.75rem;
}

.bm-dots {
	display: flex;
	gap: 0.5rem;
}

.bm-dot {
	width: 6px;
	height: 6px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.25);
	cursor: pointer;
	transition: background 0.2s ease, width 0.2s ease;
}

.bm-dot.is-active {
	background: var(--wp--preset--color--accent);
	width: 20px;
}

.bm-arrows {
	display: flex;
	gap: 0.5rem;
}

.bm-arrow {
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: transparent;
	color: var(--wp--preset--color--paper);
	cursor: pointer;
	transition: border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.bm-arrow:hover {
	border-color: rgba(255, 255, 255, 0.5);
	background: rgba(255, 255, 255, 0.04);
}

.bm-arrow:disabled {
	opacity: 0.3;
	cursor: default;
}

/* ------------------------------------------------------------------
   9. LEAD FORM CARD
   Styles native fields plus WPForms and Contact Form 7 markup.
------------------------------------------------------------------ */

.bm-form-card {
	border-radius: 2px;
}

.bm-form-card label,
.bm-form-card .wpforms-field-label {
	display: block;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--stone);
	margin-bottom: 0.5rem;
}

.bm-form-card .wpforms-required-label {
	color: var(--wp--preset--color--stone);
}

.bm-form-card input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.bm-form-card select,
.bm-form-card textarea {
	width: 100%;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--wp--preset--color--line);
	border-radius: 0;
	padding: 0.75rem 0;
	margin: 0;
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.4;
	color: var(--wp--preset--color--ink);
	outline: none;
	box-shadow: none;
	transition: border-color 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
}

.bm-form-card input:focus,
.bm-form-card select:focus,
.bm-form-card textarea:focus {
	border-bottom-color: var(--wp--preset--color--ink);
}

.bm-form-card ::placeholder {
	color: rgba(115, 115, 115, 0.6);
	opacity: 1;
}

.bm-form-card textarea {
	resize: none;
	min-height: 96px;
}

.bm-form-card select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%230A0A0A' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 4px center;
	padding-right: 2rem;
}

.bm-form-card .wpforms-container {
	margin: 0;
}

.bm-form-card .wpforms-form .wpforms-field {
	padding: 0.9rem 0;
}

.bm-form-card button[type="submit"],
.bm-form-card input[type="submit"],
.bm-form-card .wpforms-form .wpforms-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin-top: 1.5rem;
	padding: 1rem 1.75rem;
	border: 0;
	border-radius: 999px;
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--ink);
	font-family: inherit;
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: -0.01em;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.bm-form-card button[type="submit"]:hover,
.bm-form-card input[type="submit"]:hover,
.bm-form-card .wpforms-form .wpforms-submit:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 24px -8px rgba(0, 255, 133, 0.5);
}

/* Validation + status messages */
.bm-form-card label.wpforms-error,
.bm-form-card em.wpforms-error,
.bm-form-card .wpcf7-not-valid-tip {
	display: block;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.8125rem;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	color: #B42318;
	margin-top: 0.4rem;
}

.bm-form-card .wpcf7 form .wpcf7-response-output {
	margin: 1.5rem 0 0;
	padding: 0.875rem 1rem;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 4px;
	font-size: 0.875rem;
}

.bm-form-card .wpforms-confirmation-container-full {
	background: transparent;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 4px;
	padding: 1.25rem;
}

/* ------------------------------------------------------------------
   10. STICKY MOBILE CTA
------------------------------------------------------------------ */

.bm-sticky-cta { display: none; }

@media (max-width: 781px) {
	.bm-sticky-cta {
		display: block;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 40;
		background: var(--wp--preset--color--paper);
		border-top: 1px solid var(--wp--preset--color--line);
		padding: 0.75rem 1rem;
		box-shadow: 0 -8px 24px -8px rgba(0, 0, 0, 0.15);
	}

	.bm-sticky-cta .wp-block-buttons,
	.bm-sticky-cta .wp-block-button,
	.bm-sticky-cta .wp-block-button__link {
		width: 100%;
	}

	.bm-sticky-cta .wp-block-button__link {
		display: flex;
		justify-content: center;
		font-size: 0.9rem;
		padding: 0.9rem 1.5rem;
	}

	body { padding-bottom: 76px; }
}

/* Never fix-position inside the editor canvas */
.editor-styles-wrapper .bm-sticky-cta {
	display: none !important;
}

/* ------------------------------------------------------------------
   11. HERO REVEAL ANIMATION
------------------------------------------------------------------ */

@media (prefers-reduced-motion: no-preference) {
	.reveal {
		opacity: 0;
		transform: translateY(8px);
		animation: bm-reveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
	}

	.reveal-1 { animation-delay: 0.05s; }
	.reveal-2 { animation-delay: 0.15s; }
	.reveal-3 { animation-delay: 0.25s; }
	.reveal-4 { animation-delay: 0.35s; }

	@keyframes bm-reveal {
		to { opacity: 1; transform: translateY(0); }
	}
}

.editor-styles-wrapper .reveal {
	opacity: 1;
	transform: none;
	animation: none;
}

/* ------------------------------------------------------------------
   12. EDITOR PARITY HELPERS
------------------------------------------------------------------ */

.editor-styles-wrapper .bm-track {
	overflow-x: auto;
}

/* Dark hairline for footer */
.bm-bt-dark { border-top: 1px solid var(--wp--preset--color--line-dark); }

/* Team portrait crop */
.bm-team-img img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

/* ==================================================================
   V2: MOTION SYSTEM + ELITE POLISH
   Initial hidden states only apply under html.bm-js (added inline in
   wp_head), so no-JS visitors and crawlers always get full content.
   ================================================================== */

::selection {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--ink);
}

html { scroll-padding-top: 84px; }

/* Refined display scale (overrides v1 values) */
.display {
	font-size: clamp(2.5rem, 6.5vw, 6rem);
	line-height: 0.94;
}

.display-lg {
	font-size: clamp(3rem, 8.5vw, 8rem);
	line-height: 0.9;
	letter-spacing: -0.055em;
}

.bm-hero-sub {
	font-size: clamp(1.125rem, 1.05rem + 0.5vw, 1.375rem);
}

/* ---------------- Reveal primitives ---------------- */

html.bm-js .a-rise,
html.bm-js .a-scale,
html.bm-js .a-left,
html.bm-js .a-right {
	opacity: 0;
	transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
	will-change: opacity, transform;
}

html.bm-js .a-rise { transform: translateY(22px); }
html.bm-js .a-scale { transform: scale(0.96) translateY(14px); }
html.bm-js .a-left { transform: translateX(-32px); }
html.bm-js .a-right { transform: translateX(32px); }

html.bm-js .a-rise.in-view,
html.bm-js .a-scale.in-view,
html.bm-js .a-left.in-view,
html.bm-js .a-right.in-view {
	opacity: 1;
	transform: none;
}

/* Stagger: parent observed, direct children cascade (delays set inline) */
html.bm-js .a-stagger > * {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

html.bm-js .a-stagger.in-view > * {
	opacity: 1;
	transform: none;
}

/* Split headlines: word mask reveal */
.a-split .bm-w {
	display: inline-block;
	overflow: hidden;
	vertical-align: top;
	padding-bottom: 0.08em;
	margin-bottom: -0.08em;
}

html.bm-js .a-split.split-ready .bm-wi {
	display: inline-block;
	transform: translateY(118%);
	transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
	will-change: transform;
}

html.bm-js .a-split.split-ready.in-view .bm-wi {
	transform: none;
}

/* Eyebrow rule grows in */
html.bm-js .eyebrow.a-rise::before {
	width: 0;
	transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
}

html.bm-js .eyebrow.a-rise.in-view::before {
	width: 32px;
}

/* Everything simply appears for reduced motion */
@media (prefers-reduced-motion: reduce) {
	html.bm-js .a-rise,
	html.bm-js .a-scale,
	html.bm-js .a-left,
	html.bm-js .a-right,
	html.bm-js .a-stagger > *,
	html.bm-js .a-split.split-ready .bm-wi {
		opacity: 1;
		transform: none;
		transition: none;
	}
	html.bm-js .eyebrow.a-rise::before { width: 32px; transition: none; }
}

/* Editor canvas: never hide content */
.editor-styles-wrapper .a-rise,
.editor-styles-wrapper .a-scale,
.editor-styles-wrapper .a-left,
.editor-styles-wrapper .a-right,
.editor-styles-wrapper .a-stagger > * {
	opacity: 1 !important;
	transform: none !important;
}

/* ---------------- Sticky header + progress ---------------- */

.bm-header {
	position: sticky;
	top: 0;
	z-index: 50;
	transition: background 0.35s ease, padding 0.35s ease, border-color 0.35s ease;
	border-bottom: 1px solid transparent;
}

.bm-header.is-stuck {
	padding-top: 0.85rem !important;
	padding-bottom: 0.85rem !important;
	background: rgba(10, 10, 10, 0.82);
	-webkit-backdrop-filter: blur(14px) saturate(150%);
	backdrop-filter: blur(14px) saturate(150%);
	border-bottom-color: var(--wp--preset--color--line-dark);
}

.editor-styles-wrapper .bm-header { position: relative; }

.bm-progress {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background: var(--wp--preset--color--accent);
	transform: scaleX(0);
	transform-origin: 0 50%;
	z-index: 60;
	pointer-events: none;
}

/* ---------------- Hero v2 ---------------- */

.bm-hero { position: relative; }

.bm-stats { row-gap: 1.5rem; }

.bm-stat {
	padding-left: 1.1rem;
	border-left: 1px solid var(--wp--preset--color--line-dark);
}

.bm-stat-num {
	font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.bm-hero-card {
	position: absolute;
	top: 21%;
	right: max(var(--wp--style--root--padding-right, 2.5rem), calc((100% - 1280px) / 2));
	width: 290px;
	padding: 1.4rem 1.4rem 1.2rem;
	background: rgba(16, 16, 16, 0.92);
	border: 1px solid var(--wp--preset--color--line-dark);
	border-radius: 2px;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: 0 24px 64px -24px rgba(0, 0, 0, 0.7);
	z-index: 2;
}

@media (max-width: 1099px) {
	.bm-hero-card { display: none; }
}

.bm-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.9rem;
}

.bm-card-label {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--stone);
}

.bm-pill {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 10px;
	letter-spacing: 0.08em;
	color: var(--wp--preset--color--accent);
	border: 1px solid rgba(0, 255, 133, 0.35);
	border-radius: 999px;
	padding: 0.2rem 0.55rem;
	white-space: nowrap;
}

.bm-card-num {
	font-size: 2.4rem;
	font-weight: 600;
	letter-spacing: -0.04em;
	line-height: 1;
	color: var(--wp--preset--color--paper);
	font-variant-numeric: tabular-nums;
	margin-bottom: 0.9rem;
}

.bm-spark { display: block; width: 100%; height: 56px; }

.bm-spark path {
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	transition: stroke-dashoffset 1.6s ease 0.4s;
}

.bm-hero-card.in-view .bm-spark path { stroke-dashoffset: 0; }

.bm-card-foot {
	margin-top: 0.9rem;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 10px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--stone);
}

@media (prefers-reduced-motion: reduce) {
	.bm-spark path { stroke-dashoffset: 0; transition: none; }
}

/* ---------------- Marquee ---------------- */

.bm-marquee {
	overflow: hidden;
	border-top: 1px solid var(--wp--preset--color--line-dark);
	border-bottom: 1px solid var(--wp--preset--color--line-dark);
}

.bm-marquee .bm-marquee-track { width: max-content; }

.bm-marquee.is-running .bm-marquee-track {
	animation: bm-marq var(--bm-marq-dur, 28s) linear infinite;
}

.bm-marquee:hover .bm-marquee-track { animation-play-state: paused; }

@keyframes bm-marq {
	to { transform: translateX(calc(var(--bm-marq-dist, 50%) * -1)); }
}

.bm-marq {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.8125rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	white-space: nowrap;
}

.bm-marq-dot { font-size: 0.9rem; }

@media (prefers-reduced-motion: reduce) {
	.bm-marquee.is-running .bm-marquee-track { animation: none; }
}

/* ---------------- Sticky rail columns ---------------- */

@media (min-width: 782px) {
	.wp-block-column.bm-sticky {
		position: sticky;
		top: 6.5rem;
		align-self: flex-start;
	}
}

/* ---------------- Showcase v2 interactions ---------------- */

.bm-track { cursor: grab; }
.bm-track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }

.bm-slide {
	transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.bm-slide:hover {
	transform: translateY(-5px);
	border-color: rgba(0, 255, 133, 0.35);
}

.bm-slide .wp-block-image { overflow: hidden; }

.bm-slide .wp-block-image img {
	transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.bm-slide:hover .wp-block-image img { transform: scale(1.05); }

@media (prefers-reduced-motion: reduce) {
	.bm-slide, .bm-slide .wp-block-image img { transition: none; }
	.bm-slide:hover { transform: none; }
	.bm-slide:hover .wp-block-image img { transform: none; }
}

/* ---------------- Micro-polish ---------------- */

.bm-tiles > * { transition: background 0.3s ease; }
.bm-tiles > *:hover { background: #FFFFFF; }

.wp-block-button__link { will-change: transform; }

/* ==================================================================
   V3: BRAND GUIDELINES LAYER (Oat / Ink / Fairway / Sage / Stone,
   Bricolage Grotesque display, Spline Sans Mono utility, soft radii,
   one Fairway moment per section). Later rules override v1/v2.
   ================================================================== */

::selection { color: #FFFFFF; }

/* Calm surfaces: retire the techy grid texture */
.grid-bg { background-image: none; }

/* Display type moves to Bricolage */
.display {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	font-size: clamp(2.6rem, 6.2vw, 5.6rem);
	line-height: 0.98;
	letter-spacing: -0.035em;
}

.display-lg {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	font-size: clamp(3rem, 7.8vw, 7.25rem);
	line-height: 0.96;
	letter-spacing: -0.04em;
}

.bm-lead { line-height: 1.4; letter-spacing: -0.015em; }

/* Utility mono refinements */
.eyebrow, .mono-xs {
	font-size: 11.5px;
	letter-spacing: 0.14em;
}

.eyebrow::before {
	width: 26px;
	background: var(--wp--preset--color--accent);
	opacity: 0.9;
}

html.bm-js .eyebrow.a-rise.in-view::before { width: 26px; }

.has-ink-background-color .eyebrow::before { background: var(--wp--preset--color--sage); }

/* The bump: raised letter motif */
mark.bm-bump {
	color: var(--wp--preset--color--accent);
	position: relative;
	top: -0.18em;
	display: inline-block;
	background: transparent;
}

/* Keep the raised letter inside split-word masks */
.a-split .bm-w {
	padding: 0.22em 0 0.08em;
	margin: -0.22em 0 -0.08em;
}

/* Wordmark in Bricolage ExtraBold */
.bm-wordmark {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	font-size: 1.45rem;
	letter-spacing: -0.045em;
	line-height: 1;
}

/* ---------------- Buttons: pills, Bricolage 600 ---------------- */

.wp-block-button__link {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 600;
}

.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	box-shadow: 0 14px 30px -14px rgba(47, 125, 84, 0.5);
}

/* Outline pills default to the light context */
.wp-block-button.is-style-outline .wp-block-button__link {
	border: 1px solid #CDC5B8;
	color: var(--wp--preset--color--ink);
	background: transparent;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	border-color: var(--wp--preset--color--ink);
	background: rgba(38, 34, 31, 0.04);
	transform: none;
	box-shadow: none;
}

.has-ink-background-color .wp-block-button.is-style-outline .wp-block-button__link {
	border-color: #4A443C;
	color: var(--wp--preset--color--paper);
}

.has-ink-background-color .wp-block-button.is-style-outline .wp-block-button__link:hover {
	border-color: var(--wp--preset--color--stone);
	background: rgba(247, 243, 236, 0.05);
}

/* Ink pill (header, secondary CTAs) */
.wp-block-button.btn-ink .wp-block-button__link {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--paper);
}

.wp-block-button.btn-ink .wp-block-button__link:hover {
	box-shadow: 0 14px 30px -16px rgba(38, 34, 31, 0.5);
}

/* ---------------- Light sticky header ---------------- */

.bm-header.is-stuck {
	background: rgba(247, 243, 236, 0.86);
	border-bottom-color: var(--wp--preset--color--line);
}

/* ---------------- Hero v3 ---------------- */

.bm-hero h1 { max-width: 13ch; }

.bm-stat { border-left-color: var(--wp--preset--color--line); }

.bm-stat-num, .bm-card-num {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
}

.bm-hero-card {
	top: 19%;
	background: #FFFFFF;
	border-color: var(--wp--preset--color--line);
	border-radius: 20px;
	box-shadow: 0 28px 60px -30px rgba(38, 34, 31, 0.28);
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.bm-card-num { color: var(--wp--preset--color--ink); }

.bm-pill {
	color: var(--wp--preset--color--accent);
	border-color: rgba(47, 125, 84, 0.35);
}

/* ---------------- Marquee on Oat ---------------- */

.bm-marquee {
	border-top-color: var(--wp--preset--color--line);
	border-bottom-color: var(--wp--preset--color--line);
}

.bm-marq { font-size: 0.8rem; letter-spacing: 0.2em; }

/* ---------------- Soft radii on cards and media ---------------- */

.bm-compare { background: transparent; border: 0; }

.bm-compare > .wp-block-column { border-radius: 20px; }

.bm-compare > .wp-block-column.a-left.has-paper-background-color {
	background-color: #FFFFFF;
	border: 1px solid var(--wp--preset--color--line);
}

.has-ink-background-color .bm-list-check li::before,
.wp-block-column.has-ink-background-color .bm-list-check li::before {
	color: var(--wp--preset--color--sage);
}

.bm-tiles { border-radius: 20px; overflow: hidden; }
.bm-tiles > * { background: #FFFFFF; }
.bm-tiles > *:hover { background: var(--wp--preset--color--paper); }

.bm-form-card { border-radius: 20px; }

.bm-form-card input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.bm-form-card select,
.bm-form-card textarea {
	border-bottom-color: #D8D0C2;
}

.bm-form-card button[type="submit"],
.bm-form-card input[type="submit"],
.bm-form-card .wpforms-form .wpforms-submit {
	color: #FFFFFF;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 600;
}

.bm-form-card button[type="submit"]:hover,
.bm-form-card input[type="submit"]:hover,
.bm-form-card .wpforms-form .wpforms-submit:hover {
	box-shadow: 0 14px 30px -14px rgba(47, 125, 84, 0.5);
}

/* ---------------- Showcase on Ink, warmed ---------------- */

.bm-slide {
	background: #2E2925;
	border-color: var(--wp--preset--color--line-dark);
	border-radius: 20px;
}

.bm-slide .wp-block-image { border-radius: 12px; }

.bm-slide:hover { border-color: rgba(168, 176, 152, 0.5); }

.bm-dot { background: #4A443C; }
.bm-dot.is-active { background: var(--wp--preset--color--sage); }

.bm-arrow { border-color: #4A443C; }
.bm-arrow:hover { border-color: var(--wp--preset--color--sage); background: rgba(247, 243, 236, 0.05); }

/* ---------------- Team + FAQ ---------------- */

.bm-team-img img { border-radius: 20px; }

details.bm-faq summary {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 600;
}

details.bm-faq summary:hover { background: rgba(241, 235, 225, 0.6); }

/* ---------------- Sticky mobile CTA, warmed ---------------- */

@media (max-width: 781px) {
	.bm-sticky-cta {
		background: rgba(247, 243, 236, 0.94);
		-webkit-backdrop-filter: blur(10px);
		backdrop-filter: blur(10px);
		box-shadow: 0 -10px 24px -12px rgba(38, 34, 31, 0.18);
	}
}

/* ==================================================================
   V5: DARK NEON LAYER. Original ink + bright green + criss-cross grid
   on the v4 conversion structure, with the bumped raised-u logo.
   Later rules override the v3 brand layer.
   ================================================================== */

::selection { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--ink); }

/* The criss-cross is back */
.grid-bg {
	background-image:
		linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 64px 64px;
}

/* Neon button system: accent pill with ink text, neon glow */
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	box-shadow: 0 8px 24px -8px rgba(0, 255, 133, 0.5);
}

.wp-block-button.is-style-outline .wp-block-button__link {
	border-color: #CDC9C0;
	color: var(--wp--preset--color--ink);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	border-color: var(--wp--preset--color--ink);
	background: rgba(10, 10, 10, 0.04);
}

.has-ink-background-color .wp-block-button.is-style-outline .wp-block-button__link {
	border-color: rgba(255, 255, 255, 0.2);
	color: var(--wp--preset--color--paper);
}

.has-ink-background-color .wp-block-button.is-style-outline .wp-block-button__link:hover {
	border-color: rgba(255, 255, 255, 0.5);
	background: rgba(255, 255, 255, 0.04);
}

.bm-form-card button[type="submit"],
.bm-form-card input[type="submit"],
.bm-form-card .wpforms-form .wpforms-submit {
	color: var(--wp--preset--color--ink);
}

.bm-form-card button[type="submit"]:hover,
.bm-form-card input[type="submit"]:hover,
.bm-form-card .wpforms-form .wpforms-submit:hover {
	box-shadow: 0 8px 24px -8px rgba(0, 255, 133, 0.5);
}

/* Dark sticky header + nav links */
.bm-header.is-stuck {
	background: rgba(10, 10, 10, 0.82);
	border-bottom-color: var(--wp--preset--color--line-dark);
}

.bm-navlnk { font-size: 0.95rem; }
.bm-navlnk a { text-decoration: none; opacity: 0.85; transition: opacity 0.2s ease; }
.bm-navlnk a:hover { opacity: 1; }

/* Hero back to ink */
.bm-hero-card {
	top: 17%;
	background: rgba(16, 16, 16, 0.92);
	border-color: var(--wp--preset--color--line-dark);
	box-shadow: 0 24px 64px -24px rgba(0, 0, 0, 0.7);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.bm-card-num { color: var(--wp--preset--color--paper); }

.bm-pill { color: var(--wp--preset--color--accent); border-color: rgba(0, 255, 133, 0.35); }

.bm-stat { border-left-color: var(--wp--preset--color--line-dark); }

.bm-platforms { row-gap: 0.6rem; }

.bm-pbadge {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--sage);
	border: 1px solid var(--wp--preset--color--line-dark);
	border-radius: 99px;
	padding: 0.5rem 1rem;
}

.bm-bump-sm { top: -0.14em; }

/* Marquee on ink with text logos */
.bm-marquee {
	border-top-color: var(--wp--preset--color--line-dark);
	border-bottom-color: var(--wp--preset--color--line-dark);
}

.bm-logo,
.bm-logo-alt {
	color: var(--wp--preset--color--stone);
	white-space: nowrap;
	opacity: 0.9;
}

.bm-logo {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	font-size: 1.25rem;
	letter-spacing: -0.02em;
}

.bm-logo-alt {
	font-family: var(--wp--preset--font-family--mono);
	font-weight: 500;
	font-size: 0.9rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

/* ---------------- Results ---------------- */

.bm-rgrid { display: grid; gap: 1.2rem; grid-template-columns: repeat(4, 1fr); }
.bm-rgrid > * { margin: 0 !important; }

@media (max-width: 860px) { .bm-rgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .bm-rgrid { grid-template-columns: 1fr; } }

.bm-scard {
	background: #FFFFFF;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 20px;
	padding: 1.6rem;
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bm-scard:hover { transform: translateY(-4px); }

.bm-scard-num {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem);
	letter-spacing: -0.035em;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.bm-proof { display: grid; gap: 1.2rem; }
.bm-proof > * { margin: 0 !important; }

@media (min-width: 861px) { .bm-proof { grid-template-columns: 7fr 5fr; } }

.bm-dash {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--paper);
	border: 1px solid var(--wp--preset--color--line-dark);
	border-radius: 20px;
	padding: 1.8rem;
}

.bm-dash-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }

.bm-dash-lbl {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--sage);
}

.bm-dash-num {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	font-size: 2.6rem;
	letter-spacing: -0.035em;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	margin-bottom: 0.9rem;
}

.bm-spark-lg { height: 96px; }

.bm-dash-foot {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1rem;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 10.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--stone);
}

.bm-quotes { display: grid; gap: 1.2rem; }
.bm-quotes > * { margin: 0 !important; }

.bm-quote {
	background: #FFFFFF;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 20px;
	padding: 1.6rem;
}

.bm-quote-text {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 600;
	font-size: 1.15rem;
	letter-spacing: -0.015em;
	line-height: 1.4;
}

/* ---------------- Service pillars ---------------- */

.bm-pillars { display: grid; gap: 1.4rem; }
.bm-pillars > * { margin: 0 !important; }

@media (min-width: 861px) { .bm-pillars { grid-template-columns: repeat(3, 1fr); } }

.bm-pillar {
	background: #FFFFFF;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 20px;
	padding: 2rem;
	display: flex;
	flex-direction: column;
	transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.bm-pillar:hover { transform: translateY(-6px); border-color: #C9C5BC; }

.bm-pillar-h {
	font-size: clamp(1.45rem, 1.2rem + 0.9vw, 1.8rem);
	letter-spacing: -0.025em;
	max-width: 16ch;
}

.bm-pillar .bm-pillar-cta { margin-top: auto !important; padding-top: 1.2rem; }

/* ---------------- Philosophy ledger ---------------- */

.bm-beliefs { border-top: 1px solid var(--wp--preset--color--line-dark); }
.bm-beliefs > * { margin: 0 !important; }

.bm-belief { padding: 1.7rem 0; border-bottom: 1px solid var(--wp--preset--color--line-dark); }
.bm-belief > * { margin: 0; }

@media (min-width: 861px) {
	.bm-belief { display: grid; grid-template-columns: 5fr 7fr; gap: 3rem; align-items: baseline; }
}

.bm-belief-h { font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.75rem); letter-spacing: -0.02em; }
.bm-belief-h em { font-style: normal; color: var(--wp--preset--color--accent); }

/* ---------------- Phone-frame creative wall ---------------- */

.bm-track > .bm-frame { flex: 0 0 min(270px, 72%); }

.bm-frame {
	position: relative;
	aspect-ratio: 9 / 16;
	border-radius: 28px;
	border: 1px solid var(--wp--preset--color--line-dark);
	background: #0F0F0F;
	overflow: hidden;
	padding: 0 !important;
	transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.bm-frame:hover { transform: translateY(-6px); border-color: rgba(0, 255, 133, 0.35); }

.bm-frame::before {
	content: "";
	position: absolute;
	top: 10px;
	left: 50%;
	transform: translateX(-50%);
	width: 84px;
	height: 18px;
	border-radius: 99px;
	background: #000000;
	opacity: 0.7;
	z-index: 3;
}

.bm-frame > * { margin: 0 !important; }

.bm-fmt {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 3;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.62rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--sage);
	border: 1px solid var(--wp--preset--color--line-dark);
	border-radius: 99px;
	padding: 0.3rem 0.65rem;
	background: rgba(10, 10, 10, 0.7);
}

.bm-mid {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.66rem;
	letter-spacing: 0.2em;
	color: #5C5C5C;
	text-align: center;
	padding: 0 1rem;
	z-index: 1;
}

.bm-hook {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: 3.2rem 1.1rem 1.1rem;
	background: linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.92) 55%);
}

.bm-hook-text {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	font-size: 1.05rem;
	letter-spacing: -0.015em;
	line-height: 1.25;
	color: var(--wp--preset--color--paper);
}

.bm-res-g,
.bm-res-s {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.62rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.bm-res-g { color: var(--wp--preset--color--accent); }
.bm-res-s { color: var(--wp--preset--color--sage); }

/* Drop real creative in: give an Image or Video block the bm-media class */
.bm-frame .bm-media { position: absolute; inset: 0; z-index: 1; }
.bm-frame .bm-media img,
.bm-frame .bm-media video { width: 100%; height: 100%; object-fit: cover; }

.editor-styles-wrapper .bm-frame { min-height: 380px; }

.bm-dot.is-active { background: var(--wp--preset--color--accent); }
.bm-arrow:hover { border-color: rgba(255, 255, 255, 0.5); }

/* ---------------- Team chips ---------------- */

.bm-chips > * { margin: 0; }

.bm-chip {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.62rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--stone);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 99px;
	padding: 0.28rem 0.6rem;
	background: #FFFFFF;
}

/* ---------------- Process steps ---------------- */

.bm-steps { display: grid; gap: 1.2rem; grid-template-columns: repeat(4, 1fr); }
.bm-steps > * { margin: 0 !important; }

@media (max-width: 860px) { .bm-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .bm-steps { grid-template-columns: 1fr; } }

.bm-step {
	background: #FFFFFF;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 20px;
	padding: 1.7rem;
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bm-step:hover { transform: translateY(-4px); }

.bm-step-h { font-size: 1.3rem; letter-spacing: -0.02em; }

.bm-when {
	margin-top: 0.6rem;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.66rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--stone);
}

/* ---------------- Form extras ---------------- */

.bm-trustline { row-gap: 0.6rem; }
.bm-trustline > * { margin: 0; }

.bm-tchip {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.66rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--sage);
	border: 1px solid var(--wp--preset--color--line-dark);
	border-radius: 99px;
	padding: 0.45rem 0.85rem;
}

.bm-form-card input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.bm-form-card select,
.bm-form-card textarea {
	border-bottom-color: var(--wp--preset--color--line);
}

.bm-cal-alt { text-align: center; margin-top: 0.4rem; }
.bm-cal-alt a { color: var(--wp--preset--color--ink); text-decoration: underline; text-underline-offset: 3px; }

details.bm-faq summary:hover { background: rgba(242, 239, 232, 0.7); }

/* ---------------- Final CTA ---------------- */

.bm-final .eyebrow { display: flex; justify-content: center; width: 100%; }
.bm-final .eyebrow::before { background: currentColor; opacity: 0.5; }
.bm-final .eyebrow::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: 0.5; flex: none; }
html.bm-js .bm-final .eyebrow.a-rise.in-view::after { width: 26px; }

.bm-center { margin-left: auto; margin-right: auto; }

/* ---------------- Dark sticky mobile CTA ---------------- */

@media (max-width: 781px) {
	.bm-sticky-cta {
		background: rgba(10, 10, 10, 0.92);
		border-top-color: var(--wp--preset--color--line-dark);
		box-shadow: 0 -8px 24px -8px rgba(0, 0, 0, 0.5);
		-webkit-backdrop-filter: blur(10px);
		backdrop-filter: blur(10px);
	}
}

/* ==================================================================
   V6: EDITABLE BUILD. Homepage content lives in a real page rendered
   through the post-content block; header nav is a Navigation block.
   Plus the headline word-mask clipping fix.
   ================================================================== */

.wp-block-post-content > .wp-block-group { margin-block-start: 0; margin-block-end: 0; }

.bm-header .wp-block-navigation { font-size: 0.95rem; }
.bm-header .wp-block-navigation a { text-decoration: none; opacity: 0.85; transition: opacity 0.2s ease; }
.bm-header .wp-block-navigation a:hover { opacity: 1; }

/* Headline word masks: generous safe area on all sides so ascenders,
   descenders, tight tracking and the raised bump letter never crop. */
.a-split .bm-w {
	padding: 0.3em 0.1em 0.18em 0.04em;
	margin: -0.3em -0.1em -0.18em -0.04em;
}

html.bm-js .a-split.split-ready .bm-wi { transform: translateY(150%); }

html.bm-js .a-split.split-ready.in-view .bm-wi { transform: none; }

/* Once the reveal finishes the mask has done its job: unclip entirely */
html.bm-js .a-split.bm-done .bm-w { overflow: visible; }

@media (prefers-reduced-motion: reduce) {
	.a-split .bm-w { overflow: visible; }
}

/* =================================================================
   v7.0.0  Full Site  -  components for the multi-page build
   ================================================================= */

/* --- card grids --- */
.bm-cardgrid {
	display: grid;
	gap: 1.4rem;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
	align-items: stretch;
}
.bm-card {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
	height: 100%;
	background: #FFFFFF;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 20px;
	padding: 1.9rem 1.8rem;
}
.bm-cardgrid-dark .bm-card {
	background: rgba(255, 255, 255, 0.035);
	border-color: var(--wp--preset--color--line-dark);
}
.bm-card-h {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 600;
	font-size: clamp(1.1rem, 1.6vw, 1.25rem);
	line-height: 1.2;
	letter-spacing: -0.01em;
	margin: 0;
}
.bm-card-tag { margin: 0 0 0.1rem; }
.bm-card-link { margin: 0; }
.bm-card-link a {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.78rem;
	letter-spacing: 0.04em;
	text-decoration: none;
	color: var(--wp--preset--color--ink);
	border-bottom: 2px solid var(--wp--preset--color--accent);
	padding-bottom: 2px;
	transition: opacity 0.15s ease;
}
.bm-card-link a:hover { opacity: 0.65; }
.bm-cardgrid-dark .bm-card-link a { color: var(--wp--preset--color--paper); }

/* --- process steps (5-up) --- */
.bm-stepgrid {
	display: grid;
	gap: 1.2rem;
	grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
}

/* --- two-column checklist --- */
.bm-list-2 { columns: 2; column-gap: 2.5rem; }
.bm-list-2 li { break-inside: avoid; }
@media (max-width: 600px) { .bm-list-2 { columns: 1; } }

/* --- built-in lead form (inside .bm-form-card) --- */
.bm-form { margin: 0; }
.bm-form-row { margin-bottom: 1.15rem; }
.bm-form-row:last-of-type { margin-bottom: 0; }
.bm-form-two {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
}
@media (max-width: 540px) { .bm-form-two { grid-template-columns: 1fr; gap: 1.15rem; } }
.bm-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.bm-form-fine {
	margin: 0.85rem 0 0;
	font-size: 0.78rem;
	color: var(--wp--preset--color--stone);
}
.bm-form-success {
	margin: 0 0 1.4rem;
	padding: 0.9rem 1.1rem;
	border: 1px solid var(--wp--preset--color--accent);
	border-radius: 12px;
	background: rgba(0, 255, 133, 0.08);
	color: var(--wp--preset--color--ink);
	font-size: 0.9rem;
	line-height: 1.5;
}

/* --- footer link columns --- */
.bm-foot-h { margin: 0 0 0.3rem; }
.bm-foot-link { margin: 0; }
.bm-foot-link a {
	color: var(--wp--preset--color--stone);
	text-decoration: none;
	transition: color 0.15s ease;
}
.bm-foot-link a:hover { color: var(--wp--preset--color--accent); }
.bm-footer .bm-wordmark a,
.bm-footer .mono-xs a { color: inherit; text-decoration: none; }
.bm-footer .mono-xs a:hover { color: var(--wp--preset--color--accent); }

/* --- founder monogram --- */
.bm-founder { align-items: flex-start; }
.bm-founder-badge {
	width: 64px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	background: var(--wp--preset--color--accent);
	margin-bottom: 0.3rem;
}
.bm-founder-badge p {
	margin: 0;
	font-family: var(--wp--preset--font-family--mono);
	font-weight: 500;
	font-size: 1.3rem;
	letter-spacing: 0.02em;
	color: var(--wp--preset--color--ink);
}

/* --- header navigation --- */
.bm-nav a,
.bm-nav .wp-block-navigation-item__content {
	color: var(--wp--preset--color--paper);
	text-decoration: none;
	font-family: var(--wp--preset--font-family--sans);
	transition: color 0.15s ease;
}
.bm-nav a:hover,
.bm-nav .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--accent); }
.bm-nav .wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--wp--preset--color--ink);
	padding-top: 4rem;
}
.bm-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { color: var(--wp--preset--color--paper); }
.bm-nav .wp-block-navigation__responsive-container-open svg,
.bm-nav .wp-block-navigation__responsive-container-close svg { fill: var(--wp--preset--color--paper); }

/* --- small outline button in header --- */
.btn-sm .wp-block-button__link { padding: 0.5rem 1.05rem; font-size: 0.85rem; }

/* --- inner-page hero spacing tweak-points --- */
.bm-hero .bm-hero-sub { max-width: 46ch; }
