/* ==========================================================================
   Brandsmaya 2027 — Design System
   Editorial grid · Instrument Serif display · Inter Tight text
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
	--ink: #1a1918;
	--ink-2: #32302e;
	--paper: #ffffff;
	--stone: #f3f2ef;
	--sand: #d6d4cf;
	--muted: #75736e;
	--muted-dark: #a19f99;
	--line: rgba(26, 25, 24, 0.12);
	--line-dark: rgba(255, 255, 255, 0.14);
	--brand: #ee4329;
	--brand-strong: #d6371d; /* AA contrast with white text */

	--serif: "Instrument Serif", "Times New Roman", Georgia, serif;
	--sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--fs-hero: clamp(3.1rem, 8.4vw, 9.25rem);
	--fs-display: clamp(2.6rem, 6vw, 6.25rem);
	--fs-h2: clamp(2.25rem, 4.4vw, 4.5rem);
	--fs-h3: clamp(1.6rem, 2.6vw, 2.5rem);
	--fs-lead: clamp(1.2rem, 1.7vw, 1.6rem);
	--fs-body: 1.0625rem;
	--fs-small: 0.875rem;

	--gutter: clamp(16px, 4vw, 64px);
	--max: 1520px;
	--section: clamp(88px, 11vw, 176px);
	--radius: 14px;
	--radius-lg: 22px;
	--header-h: 68px;

	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* 2. Reset & base ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: var(--fs-body);
	line-height: 1.55;
	letter-spacing: -0.011em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
[hidden] { display: none !important; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed; top: 12px; left: 12px; z-index: 1000; width: auto; height: auto; clip: auto;
	background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 40px;
}

/* 3. Layout ----------------------------------------------------------------- */
.bm-container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.bm-section { padding-block: var(--section); position: relative; }
.bm-section--tight { padding-block: calc(var(--section) * 0.6); }
.bm-section + .bm-section.is-same { padding-top: 0; }

.is-light { background: var(--paper); color: var(--ink); }
.is-stone { background: var(--stone); color: var(--ink); }
.is-sand { background: var(--sand); color: var(--ink); }
.is-dark { background: var(--ink); color: #fff; --line: var(--line-dark); --muted: var(--muted-dark); }

.bm-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
.bm-split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 28px; }
.bm-split__aside { grid-column: 1 / span 4; }
.bm-split__main { grid-column: 5 / span 8; }
.bm-split__main--wide { grid-column: 4 / span 9; }
@media (max-width: 900px) {
	.bm-split__aside, .bm-split__main, .bm-split__main--wide { grid-column: 1 / -1; }
}

/* 4. Typography ------------------------------------------------------------- */
.bm-serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; }
.bm-hero-title, .bm-display, .bm-h2, .bm-h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.025em; }
.bm-hero-title { font-size: var(--fs-hero); line-height: 0.92; }
.bm-display { font-size: var(--fs-display); line-height: 0.96; }
.bm-h2 { font-size: var(--fs-h2); line-height: 1; }
.bm-h3 { font-size: var(--fs-h3); line-height: 1.05; }
.bm-hero-title em, .bm-display em, .bm-h2 em, .bm-h3 em { font-style: italic; color: var(--brand); }
.is-dark .bm-hero-title em, .is-dark .bm-display em, .is-dark .bm-h2 em { color: var(--brand); }

.bm-lead { font-size: var(--fs-lead); line-height: 1.32; letter-spacing: -0.025em; font-weight: 400; }
.bm-body-lg { font-size: 1.1875rem; line-height: 1.55; }
.bm-muted { color: var(--muted); }
.bm-measure { max-width: 46ch; }
.bm-measure-wide { max-width: 64ch; }

.bm-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--muted);
}
.bm-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); flex: none; }

.bm-label { display: flex; gap: 14px; align-items: baseline; margin: 0; font-size: 0.9375rem; letter-spacing: -0.01em; }
.bm-label__num {
	display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px;
	border-radius: 40px; background: var(--ink); color: #fff; font-size: 0.75rem; font-weight: 500; letter-spacing: 0;
	transform: translateY(-2px);
}
.is-dark .bm-label__num { background: #fff; color: var(--ink); }

/* 5. Buttons ---------------------------------------------------------------- */
.bm-btn {
	--btn-bg: var(--brand-strong); --btn-fg: #fff; --btn-icon-bg: rgba(255,255,255,.18);
	display: inline-flex; align-items: center; gap: 12px;
	min-height: 48px; padding: 6px 6px 6px 22px;
	border-radius: 999px; border: 1px solid transparent;
	background: var(--btn-bg); color: var(--btn-fg);
	font-size: 0.9375rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1;
	cursor: pointer; white-space: nowrap;
	transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.bm-btn__icon {
	display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
	background: var(--btn-icon-bg); font-style: normal; overflow: hidden;
}
.bm-btn__icon .bm-icon { transition: transform .45s var(--ease); }
.bm-btn:hover .bm-btn__icon .bm-icon { transform: translateX(3px); }
.bm-btn:hover { --btn-bg: var(--ink); }
.is-dark .bm-btn--primary:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-icon-bg: rgba(26,25,24,.08); }

.bm-btn--dark { --btn-bg: var(--ink); --btn-fg: #fff; }
.bm-btn--dark:hover { --btn-bg: var(--brand-strong); }
.bm-btn--light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-icon-bg: var(--stone); }
.bm-btn--light:hover { --btn-bg: var(--brand-strong); --btn-fg: #fff; --btn-icon-bg: rgba(255,255,255,.18); }
.bm-btn--ghost { --btn-bg: transparent; --btn-fg: currentColor; --btn-icon-bg: var(--stone); border-color: var(--line); }
.is-dark .bm-btn--ghost { --btn-icon-bg: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); color: #fff; }
.bm-btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: #fff; --btn-icon-bg: rgba(255,255,255,.14); border-color: var(--ink); }
.is-dark .bm-btn--ghost:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-icon-bg: var(--stone); border-color: #fff; }

.bm-btn--sm { min-height: 40px; padding: 4px 4px 4px 16px; font-size: 0.875rem; }
.bm-btn--sm .bm-btn__icon { width: 32px; height: 32px; }

.bm-pill {
	display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
	background: var(--stone); font-size: 0.875rem; line-height: 1.1; transition: background-color .3s, color .3s;
}
.is-dark .bm-pill { background: rgba(255,255,255,.08); }
a.bm-pill:hover { background: var(--ink); color: #fff; }

.bm-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.bm-link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.bm-link-arrow:hover { color: var(--brand-strong); }
.is-dark .bm-link-arrow:hover { color: var(--brand); }

/* 6. Header ----------------------------------------------------------------- */
.bm-header {
	position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
	background: rgba(255,255,255,.86); color: var(--ink);
	-webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid var(--line);
	transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .45s var(--ease);
}
.bm-header.is-hidden { transform: translateY(-100%); }
.bm-header.is-on-dark { background: rgba(26,25,24,.82); color: #fff; border-color: var(--line-dark); }
.bm-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.bm-logo { display: inline-flex; align-items: center; height: 34px; flex: none; }
.bm-logo img { height: 34px; width: auto; }
.bm-header .bm-logo { height: 40px; }
.bm-header .bm-logo img { width: 40px; height: 40px; margin-left: -4px; /* artwork starts 46/512 into the SVG canvas */ transition: transform .5s var(--ease); }
.bm-header .bm-logo:hover img { transform: rotate(-8deg) scale(1.06); }
.bm-logo .logo-white { display: none; }
.bm-header.is-on-dark .bm-logo .logo-white, .menu-open .bm-logo .logo-white { display: block; }
.bm-header.is-on-dark .bm-logo .logo-dark, .menu-open .bm-logo .logo-dark { display: none; }

.bm-nav { display: flex; align-items: center; }
.bm-nav ul { list-style: none; display: flex; gap: clamp(18px, 2.4vw, 36px); }
.bm-nav a { position: relative; font-size: 0.9375rem; padding: 6px 0; }
.bm-nav a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
	transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.bm-nav a:hover::after, .bm-nav .current-menu-item > a::after, .bm-nav .current_page_item > a::after, .bm-nav .current-menu-ancestor > a::after { transform: scaleX(1); transform-origin: left; }

.bm-header__cta { display: flex; align-items: center; gap: 10px; }
.bm-icon-btn {
	display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
	border: 1px solid var(--line); transition: background-color .3s, color .3s, border-color .3s;
}
.bm-icon-btn:hover { background: #25d366; border-color: #25d366; color: #fff; }

.bm-burger {
	display: none; position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
	background: transparent; cursor: pointer;
}
.bm-burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.bm-burger span:nth-child(1) { top: 17px; }
.bm-burger span:nth-child(2) { top: 25px; }
.menu-open .bm-burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .bm-burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* Mobile menu overlay */
.bm-mobile-menu {
	position: fixed; inset: 0; z-index: 90; background: var(--ink); color: #fff;
	padding: calc(var(--header-h) + 32px) var(--gutter) 32px;
	display: flex; flex-direction: column; justify-content: space-between;
	visibility: hidden; opacity: 0; transition: opacity .45s var(--ease), visibility .45s;
	overflow-y: auto;
}
.menu-open .bm-mobile-menu { visibility: visible; opacity: 1; }
.menu-open { overflow: hidden; }
.menu-open .bm-header { background: var(--ink); color: #fff; border-color: var(--line-dark); }
.bm-mobile-menu ul { list-style: none; }
.bm-mobile-menu li a { display: block; font-family: var(--serif); font-size: clamp(2.6rem, 11vw, 4.5rem); line-height: 1.08; letter-spacing: -0.02em; }
.bm-mobile-menu li a:hover { color: var(--brand); }
.bm-mobile-menu__foot { display: grid; gap: 18px; margin-top: 40px; color: var(--muted-dark); font-size: 0.9375rem; }
.bm-mobile-menu__foot a { color: #fff; }

@media (max-width: 1080px) {
	.bm-nav { display: none; }
	.bm-burger { display: inline-block; color: inherit; }
	.bm-header__cta .bm-btn { display: none; }
}
@media (min-width: 1081px) { .bm-mobile-menu { display: none; } }

/* 7. Hero (home) ------------------------------------------------------------ */
.bm-hero { padding-top: calc(var(--header-h) + clamp(32px, 5vw, 72px)); padding-bottom: clamp(56px, 7vw, 104px); }
.bm-hero__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: clamp(56px, 11vw, 168px); }
.bm-hero__tagline { font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.08; letter-spacing: -0.04em; font-weight: 500; margin: 0; }
.bm-hero__tagline span { display: block; color: var(--muted); }
.bm-hero__title { margin-bottom: clamp(40px, 6vw, 88px); max-width: 19ch; }
.bm-hero__title .line > span { display: inline-block; }
.bm-hero__bottom { align-items: end; }
.bm-hero__support { display: flex; gap: 14px; align-items: center; font-size: 0.9375rem; color: var(--muted); margin: 0; }
.bm-hero__support::before { content: ""; width: 40px; height: 1px; background: currentColor; flex: none; }
.bm-hero__desc p:first-child { color: var(--ink); }
.bm-hero__desc .bm-actions { margin-top: 32px; }
@media (max-width: 700px) {
	.bm-hero__top { flex-direction: column; }
}

/* Marquee band */
.bm-marquee { overflow: hidden; padding-block: clamp(28px, 4vw, 48px); border-block: 1px solid var(--line); white-space: nowrap; }
.bm-marquee__track { display: inline-flex; gap: 0; animation: bm-marquee 42s linear infinite; will-change: transform; }
.bm-marquee__item { display: inline-flex; align-items: center; gap: clamp(20px, 3vw, 48px); padding-right: clamp(20px, 3vw, 48px); font-family: var(--serif); font-size: clamp(2.4rem, 6vw, 5.5rem); line-height: 1; letter-spacing: -0.02em; }
.bm-marquee__item i { width: clamp(10px, 1.2vw, 16px); height: clamp(10px, 1.2vw, 16px); border-radius: 50%; background: var(--brand); flex: none; }
.bm-marquee:hover .bm-marquee__track { animation-play-state: paused; }
@keyframes bm-marquee { to { transform: translateX(-50%); } }

/* 8. Intro / highlights ----------------------------------------------------- */
.bm-intro__title { margin-bottom: clamp(32px, 4vw, 56px); }
.bm-intro__copy { columns: 2 320px; column-gap: clamp(24px, 3vw, 48px); }
.bm-intro__copy p { break-inside: avoid; }
.bm-highlights { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(56px, 7vw, 104px); border-top: 1px solid var(--line); }
.bm-highlights li { padding: 22px 24px 0 0; display: grid; gap: 22px; align-content: start; }
.bm-highlights li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.bm-highlights strong { font-family: var(--serif); font-weight: 400; font-size: clamp(2.1rem, 3.3vw, 3.25rem); line-height: 0.95; letter-spacing: -0.03em; }
.bm-highlights span { font-size: 0.9375rem; color: var(--muted); max-width: 22ch; }
@media (max-width: 900px) {
	.bm-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bm-highlights li:nth-child(3) { padding-left: 0; border-left: 0; }
	.bm-highlights li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 22px; }
}

/* 9. Section heads ---------------------------------------------------------- */
.bm-head { margin-bottom: clamp(48px, 6vw, 96px); }
.bm-head .bm-split__main > * + * { margin-top: 24px; }
.bm-head__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* 10. Services list (capabilities rows) ------------------------------------- */
.bm-services { list-style: none; border-top: 1px solid var(--line); }
.bm-service-row { border-bottom: 1px solid var(--line); }
.bm-service-row__link {
	display: grid; grid-template-columns: 72px minmax(0, 1.25fr) minmax(0, 1fr) 52px; gap: 24px; align-items: center;
	padding: clamp(22px, 2.6vw, 36px) 0; position: relative;
}
.bm-service-row__num { font-size: 0.875rem; color: var(--muted); }
.bm-service-row__title { font-family: var(--serif); font-size: clamp(1.9rem, 3.4vw, 3.25rem); line-height: 1; letter-spacing: -0.02em; transition: transform .6s var(--ease), color .4s; }
.bm-service-row__items { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.9375rem; color: var(--muted); }
.bm-service-row__items li::after { content: "·"; margin-left: 14px; }
.bm-service-row__items li:last-child::after { content: none; }
.bm-circle {
	display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line);
	transition: background-color .4s var(--ease), color .4s, border-color .4s, transform .5s var(--ease);
}
.bm-service-row__link:hover .bm-service-row__title { transform: translateX(10px); color: var(--brand-strong); }
.is-dark .bm-service-row__link:hover .bm-service-row__title { color: var(--brand); }
.bm-service-row__link:hover .bm-circle { background: var(--brand-strong); border-color: var(--brand-strong); color: #fff; transform: rotate(-45deg); }
@media (max-width: 900px) {
	.bm-service-row__link { grid-template-columns: 44px minmax(0, 1fr) 44px; }
	.bm-service-row__items { grid-column: 2 / 3; grid-row: 2; }
	.bm-circle { width: 44px; height: 44px; grid-column: 3; grid-row: 1; }
}

/* 11. Agency partnership band ----------------------------------------------- */
.bm-agency { align-items: center; }
.bm-agency__aside { grid-column: 1 / span 5; }
.bm-agency__main { grid-column: 7 / span 6; }
.bm-agency__title { margin: 22px 0 28px; max-width: 17ch; }
.bm-chips { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); margin: 40px 0; }
.bm-chips li { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
.bm-chips li:nth-child(odd) { padding-right: 20px; }
.bm-chips li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
.bm-chips .bm-icon { color: var(--brand); flex: none; }
@media (max-width: 600px) {
	.bm-chips { grid-template-columns: 1fr; }
	.bm-chips li:nth-child(even) { padding-left: 0; border-left: 0; }
}
.bm-agency__visual {
	position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden;
	background: radial-gradient(120% 90% at 20% 10%, #3a3735 0%, #1f1e1d 55%, #151413 100%);
	display: grid; align-content: end; padding: clamp(24px, 3vw, 40px);
}
.bm-agency__visual .bm-figma-to { display: grid; gap: 12px; }
.bm-flow-card { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); font-size: 0.9375rem; }
.bm-flow-card b { font-weight: 500; }
.bm-flow-card small { color: var(--muted-dark); font-size: 0.8125rem; }
.bm-flow-card.is-accent { background: var(--brand-strong); border-color: var(--brand-strong); }
.bm-flow-card.is-accent small { color: rgba(255,255,255,.8); }
.bm-agency__big { position: absolute; top: clamp(20px, 3vw, 36px); left: clamp(24px, 3vw, 40px); right: clamp(24px, 3vw, 40px); font-family: var(--serif); font-size: clamp(2.4rem, 4.6vw, 4.25rem); line-height: 0.95; letter-spacing: -0.02em; color: rgba(255,255,255,.92); }
.bm-agency__big em { color: var(--brand); }
@media (max-width: 900px) {
	.bm-agency__aside, .bm-agency__main { grid-column: 1 / -1; }
	.bm-agency__main { order: -1; }
	.bm-agency__visual { aspect-ratio: auto; max-width: 560px; }
	.bm-agency__big { position: static; margin-bottom: 48px; font-size: clamp(2.4rem, 11vw, 3.5rem); }
}

/* 12. Work cards ------------------------------------------------------------ */
.bm-work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 72px) clamp(16px, 2vw, 32px); }
.bm-work-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .bm-work-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .bm-work-grid, .bm-work-grid--3 { grid-template-columns: 1fr; } }
.bm-work-card__link { display: block; }
.bm-work-card__media { position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: var(--stone); }
.bm-work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.bm-work-card__link:hover .bm-work-card__media img { transform: scale(1.045); }
.bm-work-card__plus {
	position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	background: rgba(255,255,255,.9); color: var(--ink); transition: background-color .4s, color .4s, transform .5s var(--ease);
}
.bm-work-card__link:hover .bm-work-card__plus { background: var(--brand-strong); color: #fff; transform: rotate(45deg); }
.bm-work-card__title { margin-top: 18px; font-size: 1.125rem; font-weight: 500; letter-spacing: -0.02em; }
.bm-work-card__meta { margin: 4px 0 0; font-size: 0.9375rem; color: var(--muted); }
.bm-work-card__placeholder, .bm-placeholder-card .bm-work-card__media {
	display: grid; place-items: center; height: 100%; background: linear-gradient(140deg, var(--ink) 0%, var(--ink-2) 100%); color: #fff; text-align: center; padding: 24px;
}
.bm-work-card__placeholder span, .bm-placeholder-card__name { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.75rem); line-height: 1; letter-spacing: -0.02em; }
.bm-placeholder-card .bm-work-card__media { display: grid; align-content: center; gap: 10px; width: 100%; height: auto; }
.bm-placeholder-card__tag { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-dark); }
.bm-placeholder-card .bm-work-card__meta { font-style: normal; }

.bm-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(40px, 5vw, 64px); }
.bm-filter button { border: 1px solid var(--line); background: transparent; padding: 10px 16px; border-radius: 999px; font-size: 0.875rem; cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.bm-filter button:hover { border-color: var(--ink); }
.bm-filter button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.bm-work-card.is-filtered { display: none; }

/* 13. Process --------------------------------------------------------------- */
.bm-process { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: relative; }
.bm-process::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.bm-process__bar { position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--brand); transform: scaleX(0); transform-origin: left; }
.bm-process li { padding: 28px 20px 0 0; }
.bm-process__num { display: block; font-size: 0.8125rem; color: var(--muted); margin-bottom: clamp(40px, 6vw, 96px); }
.bm-process__title { font-family: var(--serif); font-size: clamp(1.75rem, 2.4vw, 2.4rem); line-height: 1; letter-spacing: -0.02em; margin-bottom: 12px; }
.bm-process__desc { font-size: 0.9375rem; color: var(--muted); margin: 0; max-width: 22ch; }
.bm-process--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1000px) {
	.bm-process, .bm-process--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
	.bm-process::before, .bm-process__bar { display: none; }
	.bm-process li { border-top: 1px solid var(--line); }
	.bm-process__num { margin-bottom: 28px; }
}
@media (max-width: 520px) { .bm-process, .bm-process--5 { grid-template-columns: 1fr; } }

/* 14. Features / differentiators grid --------------------------------------- */
.bm-features { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.bm-features--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bm-features li { padding: 32px 32px 40px 0; border-bottom: 1px solid var(--line); }
.bm-features li:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid var(--line); }
.bm-features--2 li:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
.bm-features--2 li:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--line); }
.bm-features__num { display: block; font-size: 0.8125rem; color: var(--muted); margin-bottom: 40px; }
.bm-features h3 { font-family: var(--serif); font-size: clamp(1.6rem, 2.2vw, 2.1rem); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 12px; }
.bm-features p { margin: 0; color: var(--muted); max-width: 36ch; }
@media (max-width: 900px) {
	.bm-features { grid-template-columns: 1fr 1fr; }
	.bm-features li:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
	.bm-features li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
}
@media (max-width: 600px) {
	.bm-features, .bm-features--2 { grid-template-columns: 1fr; }
	.bm-features li:nth-child(even), .bm-features--2 li:nth-child(even) { padding-left: 0; border-left: 0; }
	.bm-features li { padding-right: 0; }
}

/* 15. Technology grid -------------------------------------------------------- */
.bm-tech { border-top: 1px solid var(--line); }
.bm-tech__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.bm-tech__cat { grid-column: 1 / span 4; font-size: 0.9375rem; color: var(--muted); }
.bm-tech__list { grid-column: 5 / span 8; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 28px; font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.5rem); line-height: 1.15; letter-spacing: -0.02em; }
@media (max-width: 700px) {
	.bm-tech__cat, .bm-tech__list { grid-column: 1 / -1; }
	.bm-tech__cat { margin-bottom: 8px; }
}

/* 16. FAQ -------------------------------------------------------------------- */
.bm-faq { border-top: 1px solid var(--line); }
.bm-faq__item { border-bottom: 1px solid var(--line); }
.bm-faq__q {
	list-style: none; display: flex; justify-content: space-between; gap: 24px; align-items: center; cursor: pointer;
	padding: 26px 0; font-size: clamp(1.15rem, 1.6vw, 1.4rem); letter-spacing: -0.025em; line-height: 1.25;
}
.bm-faq__q::-webkit-details-marker { display: none; }
.bm-faq__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); transition: transform .45s var(--ease), background-color .3s, color .3s; font-style: normal; }
.bm-faq__item[open] .bm-faq__icon { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.is-dark .bm-faq__item[open] .bm-faq__icon { background: #fff; color: var(--ink); }
.bm-faq__a { padding: 0 64px 28px 0; color: var(--muted); max-width: 70ch; }
.bm-faq__a p { margin: 0; }
.bm-faq__q:hover span { color: var(--brand-strong); }
.is-dark .bm-faq__q:hover span { color: var(--brand); }

/* 17. Final CTA --------------------------------------------------------------- */
.bm-cta { text-align: left; overflow: hidden; }
.bm-cta__title { max-width: 14ch; margin: 24px 0 40px; }
.bm-cta__foot { display: flex; justify-content: space-between; gap: 32px; align-items: flex-end; flex-wrap: wrap; }
.bm-cta__text { max-width: 44ch; color: var(--muted); margin: 0 0 28px; }
.bm-cta__contacts { list-style: none; display: grid; gap: 10px; font-size: 1.0625rem; }
.bm-cta__contacts a { display: inline-flex; gap: 12px; align-items: center; }
.bm-cta__contacts a:hover { color: var(--brand); }
.bm-cta__dot { position: absolute; right: -8vw; top: -12vw; width: 38vw; height: 38vw; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(238,67,41,.55), rgba(238,67,41,0) 62%); pointer-events: none; }

/* 18. Page heroes (inner pages) ---------------------------------------------- */
.bm-page-hero { padding-top: calc(var(--header-h) + clamp(48px, 7vw, 112px)); padding-bottom: clamp(56px, 7vw, 112px); }
.bm-page-hero__title { margin: 24px 0 0; max-width: 16ch; }
.bm-page-hero__body { margin-top: clamp(36px, 5vw, 72px); }
.bm-page-hero__body .bm-actions { margin-top: 32px; }
.bm-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: 0.875rem; color: var(--muted); margin-bottom: 28px; }
.bm-breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.bm-breadcrumb a:hover { color: var(--ink); }
.is-dark .bm-breadcrumb a:hover { color: #fff; }

/* 19. Service detail ------------------------------------------------------------- */
.bm-service-items { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.bm-service-items li { display: flex; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 1.125rem; letter-spacing: -0.02em; }
.bm-service-items li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.bm-service-items .bm-icon { color: var(--brand); flex: none; }
@media (max-width: 640px) { .bm-service-items { grid-template-columns: 1fr; } .bm-service-items li:nth-child(even) { padding-left: 0; border-left: 0; } }
.bm-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.bm-other-services { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.bm-other-services a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; border-radius: var(--radius); background: var(--paper); transition: background-color .35s, color .35s; min-height: 120px; align-items: flex-end; }
.bm-other-services a span { font-family: var(--serif); font-size: 1.6rem; line-height: 1; letter-spacing: -0.02em; }
.bm-other-services a:hover { background: var(--ink); color: #fff; }

/* 20. Models (agency) ----------------------------------------------------------- */
.bm-models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bm-model { padding: clamp(28px, 3vw, 40px); border-radius: var(--radius-lg); background: var(--paper); display: grid; gap: 18px; align-content: start; min-height: 320px; }
.bm-model__num { font-size: 0.8125rem; color: var(--muted); }
.bm-model h3 { font-family: var(--serif); font-size: clamp(1.8rem, 2.6vw, 2.6rem); line-height: 1; letter-spacing: -0.02em; margin-top: auto; }
.bm-model p { margin: 0; color: var(--muted); }
.bm-model.is-featured { background: var(--ink); color: #fff; --muted: var(--muted-dark); }
@media (max-width: 900px) { .bm-models { grid-template-columns: 1fr; } .bm-model { min-height: 0; } .bm-model h3 { margin-top: 24px; } }

/* 21. Forms ---------------------------------------------------------------------- */
.bm-form-wrap { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 56px); }
.bm-tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--stone); margin-bottom: 36px; flex-wrap: wrap; }
.bm-tabs button { border: 0; background: transparent; padding: 12px 20px; border-radius: 999px; cursor: pointer; font-size: 0.9375rem; transition: background-color .3s, color .3s; }
.bm-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.bm-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.bm-field { display: grid; gap: 8px; }
.bm-field--full { grid-column: 1 / -1; }
.bm-field label, .bm-field legend { font-size: 0.875rem; font-weight: 500; }
.bm-field label .req { color: var(--brand-strong); }
.bm-field .opt { color: var(--muted); font-weight: 400; }
.bm-input {
	width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line);
	background: var(--paper); font-size: 1rem; transition: border-color .3s, box-shadow .3s; appearance: none; -webkit-appearance: none;
}
.bm-input:hover { border-color: rgba(26,25,24,.35); }
.bm-input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(26,25,24,.07); }
textarea.bm-input { min-height: 150px; resize: vertical; }
select.bm-input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%231a1918' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.bm-choice-group { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.bm-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.bm-choice input { position: absolute; opacity: 0; pointer-events: none; }
.bm-choice span { display: inline-flex; padding: 11px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 0.9375rem; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.bm-choice input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.bm-choice input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.bm-choice span:hover { border-color: var(--ink); }
.bm-form__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.bm-form__note { font-size: 0.875rem; color: var(--muted); margin: 0; max-width: 40ch; }
.bm-form button.bm-btn { border: 0; }
.bm-form button.bm-btn[disabled] { opacity: .6; pointer-events: none; }
.bm-alert { display: none; grid-column: 1 / -1; padding: 14px 18px; border-radius: 12px; background: #fdecea; color: #8a1c0c; font-size: 0.9375rem; }
.bm-alert.is-visible { display: block; }
.bm-spinner { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: bm-spin .8s linear infinite; }
.is-loading .bm-spinner { display: inline-block; }
@keyframes bm-spin { to { transform: rotate(360deg); } }
.bm-success { display: none; text-align: left; padding: clamp(8px, 2vw, 24px) 0; }
.bm-success.is-visible { display: block; }
.bm-success__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--brand-strong); color: #fff; margin-bottom: 28px; }
.bm-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) { .bm-form { grid-template-columns: 1fr; } }

.bm-contact-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.bm-contact-list li { border-bottom: 1px solid var(--line); }
.bm-contact-list a, .bm-contact-list div { display: flex; gap: 16px; align-items: center; padding: 20px 0; font-size: 1.0625rem; }
.bm-contact-list small { display: block; color: var(--muted); font-size: 0.8125rem; }
.bm-contact-list a:hover { color: var(--brand-strong); }
.bm-contact-list .bm-icon { flex: none; }

/* 22. About ---------------------------------------------------------------------- */
.bm-founder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.bm-founder__photo { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--sand); }
.bm-founder__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px) { .bm-founder { grid-template-columns: 1fr; } }
.bm-principles { list-style: none; counter-reset: p; display: grid; gap: 0; border-top: 1px solid var(--line); }
.bm-principles li { counter-increment: p; display: grid; grid-template-columns: 80px 1fr; gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.8rem); line-height: 1.05; letter-spacing: -0.02em; }
.bm-principles li::before { content: "0" counter(p); font-family: var(--sans); font-size: 0.8125rem; color: var(--muted); letter-spacing: 0; padding-top: 0.6em; }

/* 23. Case study detail --------------------------------------------------------- */
.bm-case-hero__media { border-radius: var(--radius-lg); overflow: hidden; background: var(--stone); margin-top: clamp(40px, 5vw, 72px); }
.bm-case-hero__media img { width: 100%; height: auto; }
.bm-facts { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.bm-facts li { padding: 18px 20px 0 0; display: grid; gap: 6px; font-size: 1rem; }
.bm-facts li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.bm-facts small { color: var(--muted); font-size: 0.8125rem; }
@media (max-width: 800px) { .bm-facts { grid-template-columns: 1fr 1fr; row-gap: 24px; } .bm-facts li:nth-child(3) { padding-left: 0; border-left: 0; } }
.bm-case-block + .bm-case-block { margin-top: clamp(48px, 6vw, 88px); }
.bm-case-block h2 { margin-bottom: 20px; }
.bm-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bm-metric { padding: 28px; border-radius: var(--radius); background: var(--stone); }
.bm-metric strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 4vw, 3.75rem); line-height: 1; letter-spacing: -0.03em; }
.bm-metric span { color: var(--muted); font-size: 0.9375rem; }
@media (max-width: 700px) { .bm-metrics { grid-template-columns: 1fr; } }
.bm-gallery { display: grid; gap: clamp(16px, 2vw, 32px); }
.bm-gallery figure { margin: 0; }
.bm-gallery img { width: 100%; border-radius: var(--radius-lg); background: var(--stone); }
.bm-gallery figcaption { margin-top: 12px; font-size: 0.875rem; color: var(--muted); }
.bm-next-project { display: block; padding-block: var(--section); }
.bm-next-project:hover .bm-display { color: var(--brand); }

/* 24. Prose (page.php / single.php / editor content) --------------------------- */
.bm-prose { font-size: 1.125rem; line-height: 1.7; max-width: 72ch; }
.bm-prose > * + * { margin-top: 1.1em; }
.bm-prose h2 { font-family: var(--serif); font-size: clamp(2rem, 3.2vw, 2.8rem); line-height: 1.05; letter-spacing: -0.02em; margin-top: 1.6em; }
.bm-prose h3 { font-size: 1.375rem; font-weight: 500; letter-spacing: -0.02em; margin-top: 1.4em; }
.bm-prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--brand); }
.bm-prose ul, .bm-prose ol { padding-left: 1.2em; }
.bm-prose li + li { margin-top: .4em; }
.bm-prose img { border-radius: var(--radius); }
.bm-prose blockquote { margin: 1.6em 0; padding-left: 24px; border-left: 2px solid var(--brand); font-family: var(--serif); font-size: 1.6rem; line-height: 1.25; }

/* Blog cards */
.bm-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) clamp(16px, 2vw, 32px); }
@media (max-width: 900px) { .bm-post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .bm-post-grid { grid-template-columns: 1fr; } }
.bm-post-card__media { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--stone); margin-bottom: 18px; }
.bm-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.bm-post-card:hover img { transform: scale(1.04); }
.bm-post-card h2 { font-family: var(--serif); font-size: 1.9rem; line-height: 1.05; letter-spacing: -0.02em; margin: 8px 0; }
.bm-post-card__meta { font-size: 0.875rem; color: var(--muted); }
.bm-pagination { margin-top: 64px; display: flex; gap: 8px; flex-wrap: wrap; }
.bm-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); }
.bm-pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Careers */
.bm-jobs { list-style: none; border-top: 1px solid var(--line); }
.bm-job { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.bm-job h3 { font-family: var(--serif); font-size: clamp(1.8rem, 2.8vw, 2.6rem); line-height: 1; letter-spacing: -0.02em; margin-bottom: 12px; }
.bm-job__meta { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 640px) { .bm-job { grid-template-columns: 1fr; } }

/* 25. Footer ------------------------------------------------------------------ */
.bm-footer { background: var(--paper); color: var(--ink); padding-top: clamp(72px, 9vw, 128px); overflow: hidden; }
.bm-footer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 48px; }
.bm-footer__intro { grid-column: 1 / span 4; }
.bm-footer__intro .bm-logo, .bm-footer__intro .bm-logo img { height: auto; }
.bm-footer__intro .bm-logo img { width: 245px; max-width: 100%; }
.bm-footer__intro p { color: var(--muted); max-width: 32ch; margin-top: 20px; }
.bm-footer__col { grid-column: span 2; }
.bm-footer__col--wide { grid-column: span 4; }
.bm-footer h2 { font-size: 0.8125rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-bottom: 18px; }
.bm-footer ul { list-style: none; display: grid; gap: 8px; }
.bm-footer a:hover { color: var(--brand-strong); }
.bm-footer__contact a { font-size: 1.125rem; }
.bm-footer__social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.bm-footer__wordmark {
	font-family: var(--serif); font-size: clamp(4.5rem, 21.5vw, 26rem); line-height: 0.8; letter-spacing: -0.045em;
	margin: clamp(56px, 8vw, 120px) 0 0; padding-bottom: 0.24em; margin-bottom: -0.08em; white-space: nowrap; text-align: center;
	user-select: none;
}
.bm-footer__wordmark-wrap { overflow: hidden; }
.bm-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 22px 0 28px; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--muted); }
.bm-footer__bottom ul { display: flex; gap: 20px; }
.bm-footer__tagline { letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.75rem; color: var(--ink); }
@media (max-width: 1000px) {
	.bm-footer__intro { grid-column: 1 / -1; }
	.bm-footer__col, .bm-footer__col--wide { grid-column: span 6; }
}
@media (max-width: 560px) { .bm-footer__col, .bm-footer__col--wide { grid-column: 1 / -1; } }

/* Floating WhatsApp */
.bm-wa-float {
	position: fixed; right: 18px; bottom: 18px; z-index: 80; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
	background: #25d366; color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.18); transition: transform .4s var(--ease);
}
.bm-wa-float:hover { transform: scale(1.06); }

/* 26. Booking modal (markup from footer.php; logic in booking.js) -------------- */
.booking-modal-overlay {
	position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px;
	background: rgba(26,25,24,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
}
.booking-modal-overlay.active { opacity: 1; visibility: visible; }
.booking-modal-content {
	position: relative; width: 100%; max-width: 640px; max-height: calc(100vh - 32px); overflow-y: auto;
	background: var(--paper); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px);
	transform: translateY(16px); transition: transform .45s var(--ease);
}
.booking-modal-overlay.active .booking-modal-content { transform: none; }
.booking-modal-close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); display: grid; place-items: center; cursor: pointer; }
.booking-modal-close:hover { background: var(--ink); color: #fff; }
.booking-main-title { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1; letter-spacing: -0.02em; margin: 0 48px 10px 0; }
.booking-subtitle { color: var(--muted); margin-bottom: 24px; }
.booking-steps { display: flex; gap: 4px; padding: 4px; background: var(--stone); border-radius: 999px; margin-bottom: 24px; }
.booking-step-tab { flex: 1; text-align: center; padding: 10px 12px; border-radius: 999px; font-size: 0.875rem; color: var(--muted); }
.booking-step-tab.active { background: var(--ink); color: #fff; }
.booking-form-section { display: none; }
.booking-form-section.active { display: block; }
.calendar-container { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.calendar-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.calendar-month-title { font-weight: 500; }
.calendar-nav-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: transparent; display: grid; place-items: center; cursor: pointer; }
.calendar-nav-btn:disabled { opacity: .3; cursor: not-allowed; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.calendar-day-header { font-size: 0.75rem; color: var(--muted); padding: 6px 0; }
.calendar-day { aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; font-size: 0.9375rem; cursor: pointer; transition: background-color .2s, color .2s; }
.calendar-day:hover { background: var(--stone); }
.calendar-day.empty { cursor: default; }
.calendar-day.empty:hover { background: transparent; }
.calendar-day.disabled { color: rgba(26,25,24,.25); cursor: not-allowed; }
.calendar-day.disabled:hover { background: transparent; }
.calendar-day.today { box-shadow: inset 0 0 0 1px var(--ink); }
.calendar-day.selected { background: var(--brand-strong); color: #fff; }
.slots-container { margin-top: 20px; }
.slots-title { font-size: 0.9375rem; font-weight: 500; margin-bottom: 12px; }
.slots-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (max-width: 480px) { .slots-grid { grid-template-columns: repeat(3, 1fr); } }
.slot-btn { padding: 10px 6px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-size: 0.875rem; cursor: pointer; }
.slot-btn:hover { border-color: var(--ink); }
.slot-btn.selected { background: var(--ink); color: #fff; border-color: var(--ink); }
.slot-btn.disabled, .slot-btn:disabled { opacity: .3; cursor: not-allowed; text-decoration: line-through; }
.booking-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; }
.btn-booking-submit {
	display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
	background: var(--brand-strong); color: #fff; font-weight: 500; cursor: pointer; transition: background-color .3s;
}
.btn-booking-submit:hover { background: var(--ink); }
.btn-booking-submit:disabled { opacity: .4; cursor: not-allowed; }
.btn-booking-back { background: transparent; border: 0; text-decoration: underline; cursor: pointer; color: var(--muted); }
.booking-summary-bar { padding: 14px 18px; border-radius: 12px; background: var(--stone); margin-bottom: 18px; }
.summary-details { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 0.9375rem; }
.booking-error-msg { display: none; padding: 12px 16px; border-radius: 12px; background: #fdecea; color: #8a1c0c; font-size: 0.9375rem; margin-bottom: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group-full { grid-column: 1 / -1; }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }
.booking-form-group { display: grid; gap: 6px; }
.booking-label { font-size: 0.875rem; font-weight: 500; }
.booking-input { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.booking-input:focus { outline: none; border-color: var(--ink); }
textarea.booking-input { min-height: 110px; resize: vertical; }
.booking-spinner { display: none; width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: bm-spin .8s linear infinite; }
.booking-success-card { display: none; text-align: center; padding: 20px 0; }
.booking-success-icon-wrap { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: var(--brand-strong); color: #fff; display: grid; place-items: center; }
.booking-success-icon-wrap svg { width: 32px; height: 32px; }
.booking-success-title { font-family: var(--serif); font-size: 2.5rem; line-height: 1; margin-bottom: 12px; }
.booking-success-desc { color: var(--muted); }
.btn-success-close { margin-top: 16px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.btn-success-close:hover { background: var(--ink); color: #fff; }

/* 27. Motion helpers --------------------------------------------------------- */
/* Elements are only hidden once JS confirms GSAP is running (html.bm-motion). */
.bm-motion [data-reveal] { opacity: 0; transform: translateY(28px); }
.bm-motion [data-split] { visibility: hidden; }
/* Mask must clear serif descenders (g, y, p reach ~0.22em below the baseline). */
[data-split] .line { display: block; overflow: hidden; padding-bottom: 0.24em; margin-bottom: -0.24em; }
[data-split] .line > span { display: inline-block; }
.is-loading .bm-btn__icon .bm-icon { display: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.bm-marquee__track { animation: none; }
}

/* 28. 404 ------------------------------------------------------------------- */
.bm-404 { min-height: 80vh; display: grid; align-content: center; }
