/* ==========================================================================
   BRAND MIZ — Enterprise Design System
   --------------------------------------------------------------------------
   Dark, disciplined, technology-led. Brand accent #E63D2E on near-black.
   Type: Inter Tight (display) / Inter (text) / JetBrains Mono (data only).
   --------------------------------------------------------------------------
   0.  Tokens                      9.  How we work
   1.  Reset & base                10. Product showcase (Mizup)
   2.  Typography                  11. Gallery
   3.  Buttons                     12. About page sections
   4.  Motion / reveal             13. Case studies
   5.  Announce + Header           14. Contact
   6.  Section shells              15. CTA band + Footer
   7.  Home sections               16. Scheduling modal
   8.  Ecosystem rail              17. Responsive
   ========================================================================== */

/* ==========================================================================
   0. TOKENS
   ========================================================================== */
:root {
  --bg:          #0A0A0A;
  --bg-alt:      #0D0D0E;
  --surface:     #121213;
  --surface-2:   #171718;
  --surface-3:   #1D1D1F;

  --brand:       #E63D2E;
  --brand-deep:  #C32E20;
  --brand-soft:  rgba(230, 61, 46, 0.10);
  --brand-line:  rgba(230, 61, 46, 0.28);
  --brand-glow:  rgba(230, 61, 46, 0.14);

  --positive:    #34C759;

  --text:        #EDEDEE;
  --text-2:      #A6A6A9;
  --text-3:      #757579;
  --text-4:      #55555A;

  --line:        rgba(255, 255, 255, 0.07);
  --line-2:      rgba(255, 255, 255, 0.11);
  --line-3:      rgba(255, 255, 255, 0.16);

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 22px;

  --shadow-2: 0 18px 40px -18px rgba(0,0,0,.8);
  --shadow-3: 0 40px 90px -30px rgba(0,0,0,.9);

  --gutter: 28px;

  /* one spacing scale — every gap on the site comes from here */
  --s-1: 4px;   --s-2: 8px;   --s-3: 12px;  --s-4: 16px;
  --s-5: 24px;  --s-6: 32px;  --s-7: 48px;  --s-8: 64px;
  --s-9: 88px;  --s-10: 120px;

  --section-y: var(--s-10);
  --section-y-sm: var(--s-9);
  --head-gap: 56px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: .28s;
  --dur-slow: .7s;

  --container: 1200px;
  --header-h: 80px;
}

/* ==========================================================================
   1. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}
html, body { background: var(--bg); }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.bm-lock { overflow: hidden; }

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, svg, video { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
svg { flex-shrink: 0; }

::selection { background: var(--brand); color: #fff; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 3px; }

.bm-skip {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--brand); color: #fff; padding: 10px 18px;
  border-radius: var(--r-sm); font-size: 14px; font-weight: 600;
  transition: top .2s var(--ease);
}
.bm-skip:focus { top: 12px; }

.bm-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.bm-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.bm-narrow { width: 100%; max-width: 880px; margin: 0 auto; padding: 0 var(--gutter); }

/* ==========================================================================
   2. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, .bm-display {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: #fff;
  text-wrap: balance;
}

.bm-h1 {
  font-size: clamp(2.35rem, 5.8vw, 4.05rem);
  letter-spacing: -0.034em;
  line-height: 1.03;
  margin-bottom: 22px;
}
.bm-h2 {
  font-size: clamp(1.85rem, 3.7vw, 2.75rem);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.bm-h3 { font-size: clamp(1.3rem, 2.3vw, 1.7rem); letter-spacing: -0.022em; margin-bottom: 12px; }

.bm-accent { color: var(--brand); }
.bm-quiet  { color: var(--text-3); font-weight: 400; }

.bm-lead {
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  line-height: 1.66;
  color: var(--text-2);
  max-width: 62ch;
}
.bm-body { font-size: .94rem; line-height: 1.68; color: var(--text-2); }

.bm-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .74rem; font-weight: 600; letter-spacing: .09em;
  text-transform: uppercase; color: var(--brand);
  padding: 7px 14px; border: 1px solid var(--brand-line);
  border-radius: 100px; background: var(--brand-soft);
  margin-bottom: 24px;
}
.bm-eyebrow.has-dot { padding-left: 12px; }
.bm-eyebrow.has-dot::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand); flex-shrink: 0;
}

.bm-label {
  display: block; font-size: .74rem; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 14px;
}

.bm-mono { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; }

/* ==========================================================================
   3. BUTTONS
   ========================================================================== */
.bm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-size: .94rem; font-weight: 600; letter-spacing: -.01em;
  padding: 13px 22px; border-radius: var(--r-md);
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
              color var(--dur) var(--ease), transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.bm-btn svg { width: 16px; height: 16px; }

.bm-btn-primary {
  background: var(--brand); border-color: var(--brand); color: #fff;
  box-shadow: 0 8px 22px -10px rgba(230,61,46,.8);
}
.bm-btn-primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); transform: translateY(-1px); }
.bm-btn-primary:active { transform: translateY(0); }

.bm-btn-secondary { background: transparent; border-color: var(--line-3); color: #fff; }
.bm-btn-secondary:hover { background: rgba(255,255,255,.05); }

.bm-btn-ghost { background: transparent; color: var(--text-2); padding: 10px 14px; font-weight: 500; }
.bm-btn-ghost:hover { color: #fff; }

.bm-btn-quiet {
  background: var(--surface-2); border-color: var(--line-2); color: var(--text-2);
}
.bm-btn-quiet:hover { color: #fff; border-color: var(--line-3); background: var(--surface-3); }

.bm-btn-lg { padding: 15px 28px; font-size: .98rem; }
.bm-btn-sm { padding: 10px 16px; font-size: .86rem; }
.bm-btn-block { width: 100%; }
.bm-btn:disabled, .bm-btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.bm-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   4. MOTION / REVEAL
   ========================================================================== */
[data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
[data-reveal].is-in { opacity: 1; transform: none; }

[data-stagger] > * {
  opacity: 0; transform: translateY(16px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
[data-stagger].is-in > * { opacity: 1; transform: none; }
[data-stagger].is-in > *:nth-child(1) { transition-delay: 0ms; }
[data-stagger].is-in > *:nth-child(2) { transition-delay: 55ms; }
[data-stagger].is-in > *:nth-child(3) { transition-delay: 110ms; }
[data-stagger].is-in > *:nth-child(4) { transition-delay: 165ms; }
[data-stagger].is-in > *:nth-child(5) { transition-delay: 220ms; }
[data-stagger].is-in > *:nth-child(6) { transition-delay: 275ms; }
[data-stagger].is-in > *:nth-child(7) { transition-delay: 330ms; }
[data-stagger].is-in > *:nth-child(8) { transition-delay: 385ms; }
[data-stagger].is-in > *:nth-child(9) { transition-delay: 440ms; }
[data-stagger].is-in > *:nth-child(n+10) { transition-delay: 480ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  [data-reveal], [data-stagger] > * { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   5. ANNOUNCE + HEADER
   ========================================================================== */
.bm-announce {
  position: relative; z-index: 90;
  background: linear-gradient(90deg, #150C0B 0%, #1A0F0D 50%, #150C0B 100%);
  border-bottom: 1px solid rgba(230,61,46,.14);
  color: var(--text-2); text-align: center; font-size: .82rem; padding: 10px 20px;
}
.bm-announce a {
  color: #fff; font-weight: 600;
  border-bottom: 1px solid var(--brand-line); padding-bottom: 1px;
  transition: border-color var(--dur) var(--ease);
}
.bm-announce a:hover { border-color: var(--brand); }

.bm-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,10,.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.bm-header.is-stuck { background: rgba(10,10,10,.94); border-bottom-color: var(--line-2); }
.bm-header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.bm-brand { display: flex; align-items: center; flex-shrink: 0; }
.bm-brand img { height: 46px; width: auto; }

.bm-nav { margin-left: auto; }
.bm-nav ul { display: flex; align-items: center; gap: 2px; }
.bm-nav a, .bm-nav .bm-nav-static {
  display: inline-flex; align-items: center; gap: 7px; position: relative;
  font-size: .9rem; font-weight: 500; color: var(--text-2);
  padding: 9px 14px; border-radius: var(--r-sm);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.bm-nav a:hover { color: #fff; background: rgba(255,255,255,.045); }
.bm-nav a[aria-current="page"] { color: #fff; }
.bm-nav a[aria-current="page"]::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--brand);
}
.bm-nav .bm-nav-static { color: var(--text-4); cursor: default; user-select: none; }
.bm-nav-soon {
  font-size: .6rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-4); border: 1px solid var(--line-2); border-radius: 4px;
  padding: 2px 5px; line-height: 1;
}

.bm-header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.bm-burger {
  display: none; width: 42px; height: 42px;
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  flex-shrink: 0; margin-left: auto;
}
.bm-burger span {
  display: block; width: 17px; height: 1.5px; background: var(--text); border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.bm-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.bm-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.bm-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.bm-drawer {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(6,6,6,.72);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
}
.bm-drawer.is-open { opacity: 1; visibility: visible; }
.bm-drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 88vw);
  background: var(--bg-alt); border-left: 1px solid var(--line-2);
  padding: 22px var(--gutter) 32px; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform var(--dur) var(--ease-out);
  overflow-y: auto;
}
.bm-drawer.is-open .bm-drawer-panel { transform: none; }
.bm-drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.bm-drawer-close {
  width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  display: grid; place-items: center; color: var(--text-2);
}
.bm-drawer-close:hover { color: #fff; border-color: var(--line-3); }
.bm-drawer-close svg { width: 18px; height: 18px; }
.bm-drawer nav ul { display: flex; flex-direction: column; gap: 2px; }
.bm-drawer nav a, .bm-drawer nav .bm-nav-static {
  display: flex; align-items: center; justify-content: space-between;
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: 1.2rem; font-weight: 600; letter-spacing: -.02em;
  color: var(--text); padding: 15px 4px; border-bottom: 1px solid var(--line);
}
.bm-drawer nav a:hover, .bm-drawer nav a[aria-current="page"] { color: var(--brand); }
.bm-drawer nav .bm-nav-static { color: var(--text-4); cursor: default; }
.bm-drawer-foot { margin-top: auto; padding-top: 30px; display: grid; gap: 10px; }
.bm-drawer-contact { font-size: .85rem; color: var(--text-3); text-align: center; }
.bm-drawer-contact a { color: var(--text-2); }

/* ==========================================================================
   6. SECTION SHELLS
   ========================================================================== */
.bm-section { padding: var(--section-y) 0; position: relative; }
.bm-section--tight { padding: var(--section-y-sm) 0; }
.bm-section--alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.bm-section-head { max-width: 720px; margin-bottom: var(--head-gap); position: relative; z-index: 2; }
.bm-section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.bm-section-head.center .bm-lead { margin-left: auto; margin-right: auto; }
.bm-section-head .bm-lead { margin-top: 6px; }

.bm-head-split {
  display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
  gap: 52px; align-items: end; margin-bottom: var(--head-gap); position: relative; z-index: 2;
}
.bm-head-split .bm-lead { padding-bottom: 4px; }

.bm-aura {
  position: absolute; pointer-events: none; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle, var(--brand-glow) 0%, transparent 68%);
}
.bm-aura--hero { top: -280px; right: -180px; width: 820px; height: 820px; }
.bm-aura--page { top: -320px; right: -240px; width: 760px; height: 760px; }

.bm-grid-tex {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 0%, transparent 78%);
}

.bm-breadcrumb { padding-top: 22px; margin-bottom: 34px; font-size: .8rem; color: var(--text-4); position: relative; z-index: 3; }
.bm-breadcrumb ol { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bm-breadcrumb a { color: var(--text-3); transition: color var(--dur) var(--ease); }
.bm-breadcrumb a:hover { color: var(--brand); }
.bm-breadcrumb [aria-current="page"] { color: var(--text-2); }
.bm-breadcrumb li:not(:last-child)::after { content: '/'; margin-left: 8px; color: var(--text-4); }

/* ==========================================================================
   7. HOME — HERO
   ========================================================================== */
.bm-hero { position: relative; overflow: hidden; padding: 88px 0 0; }
.bm-hero-inner { position: relative; z-index: 2; max-width: 940px; }
.bm-hero .bm-h1 { max-width: 16ch; }
.bm-hero .bm-lead { max-width: 56ch; font-size: clamp(1.02rem, 1.5vw, 1.17rem); }
.bm-hero-ctas { margin-top: 34px; }

/* Full-width stat band closes the hero and removes the empty right column */
.bm-hero-band {
  position: relative; z-index: 2;
  margin-top: 72px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.014), transparent);
}
.bm-hero-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.bm-hero-stat {
  padding: 30px 32px 32px;
  border-left: 1px solid var(--line);
  position: relative;
}
.bm-hero-stat:first-child { border-left: 0; padding-left: 0; }
.bm-hero-stat dt {
  font-size: .78rem; color: var(--text-3); letter-spacing: .01em;
  order: 2;
}
.bm-hero-stat dd {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; color: #fff;
  letter-spacing: -.03em; line-height: 1; margin-bottom: 8px; order: 1;
}
.bm-hero-stat > div { display: flex; flex-direction: column; }

/* ==========================================================================
   7b. TRUSTED BY — client logo wall
   ========================================================================== */
.bm-logos { padding: 76px 0 92px; }
.bm-logos-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: 40px;
}
.bm-logos-head h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem); letter-spacing: -.025em; margin: 0;
}
.bm-logos-note { font-size: .85rem; color: var(--text-3); }

.bm-logo-wall {
  display: grid; grid-template-columns: repeat(9, minmax(0, 1fr));
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); overflow: hidden;
}
.bm-logo-cell {
  display: grid; place-items: center;
  padding: 26px 16px; min-height: 104px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background var(--dur) var(--ease);
}
/* 2 rows of 9 — strip the outer edges so the frame stays clean */
.bm-logo-cell:nth-child(9n) { border-right: 0; }
.bm-logo-cell:nth-child(n+10) { border-bottom: 0; }
.bm-logo-cell:hover { background: var(--surface-2); }
.bm-logo-cell img {
  width: 100%; max-width: 122px; height: auto;
  opacity: .42;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.bm-logo-cell:hover img { opacity: .95; transform: scale(1.05); }

/* ==========================================================================
   7c. COMPANY / TEAM
   ========================================================================== */
.bm-company-inner {
  display: grid; grid-template-columns: minmax(0,1.02fr) minmax(0,.98fr);
  gap: 64px; align-items: center;
}
.bm-company-figure { position: relative; }
.bm-company-figure img {
  width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover;
  border-radius: var(--r-lg); border: 1px solid var(--line-2);
}
.bm-company-figure figcaption {
  position: absolute; left: 20px; bottom: 18px; z-index: 2;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.82); font-weight: 500;
}
.bm-company-figure::after {
  content: ''; position: absolute; inset: 0; border-radius: var(--r-lg);
  background: linear-gradient(180deg, transparent 52%, rgba(5,5,5,.88) 100%);
  pointer-events: none;
}
.bm-company-metrics {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  margin-top: 34px; border-top: 1px solid var(--line);
}
.bm-company-metric { padding: 24px 26px 0 0; }
.bm-company-metric + .bm-company-metric { padding-left: 26px; border-left: 1px solid var(--line); }
.bm-company-metric strong {
  display: block; font-family: 'Inter Tight', Inter, sans-serif;
  font-size: 2rem; font-weight: 700; color: var(--brand);
  letter-spacing: -.03em; line-height: 1; margin-bottom: 7px;
}
.bm-company-metric span { font-size: .87rem; color: var(--text-3); }

/* ==========================================================================
   7d. INDUSTRIES — 5 across, 2 rows
   ========================================================================== */
.bm-industries {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px;
}
.bm-industry {
  position: relative; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px 20px 24px;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.bm-industry::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: 0; transition: opacity var(--dur) var(--ease);
}
.bm-industry:hover { border-color: var(--brand-line); background: var(--surface-2); transform: translateY(-3px); }
.bm-industry:hover::before { opacity: 1; }
.bm-industry-icon {
  width: 38px; height: 38px; border-radius: 9px;
  background: var(--brand-soft); border: 1px solid var(--brand-line);
  display: grid; place-items: center; color: var(--brand); margin-bottom: 18px;
  transition: background var(--dur) var(--ease);
}
.bm-industry-icon svg { width: 18px; height: 18px; }
.bm-industry:hover .bm-industry-icon { background: rgba(230,61,46,.18); }
.bm-industry h3 { font-size: .98rem; font-weight: 600; letter-spacing: -.015em; margin-bottom: 5px; }
.bm-industry p { font-size: .79rem; color: var(--text-3); line-height: 1.5; }

/* ==========================================================================
   7e. SOLUTIONS
   ========================================================================== */
.bm-solutions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bm-solution {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 32px 28px 30px;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.bm-solution-sheen {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(230,61,46,.13), transparent 62%);
  transition: opacity var(--dur) var(--ease);
}
.bm-solution:hover { border-color: var(--brand-line); transform: translateY(-4px); }
.bm-solution:hover .bm-solution-sheen { opacity: 1; }
.bm-solution-num {
  font-family: 'JetBrains Mono', monospace; font-size: .72rem; font-weight: 600;
  color: var(--text-4); letter-spacing: .08em; margin-bottom: 22px; display: block;
}
.bm-solution h3 { font-size: 1.18rem; margin-bottom: 10px; position: relative; z-index: 1; }
.bm-solution p { font-size: .89rem; color: var(--text-2); line-height: 1.62; position: relative; z-index: 1; }
.bm-solution ul { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; position: relative; z-index: 1; }
.bm-solution li {
  font-size: .74rem; color: var(--text-3);
  border: 1px solid var(--line-2); border-radius: 5px; padding: 4px 8px;
}

/* ==========================================================================
   8. ECOSYSTEM RAIL — horizontal, interactive
   ========================================================================== */
.bm-rail { position: relative; z-index: 2; }
.bm-rail-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); overflow: hidden;
}
.bm-rail-stage {
  position: relative; text-align: left;
  padding: 26px 22px 28px;
  border-right: 1px solid var(--line);
  background: transparent; color: inherit;
  transition: background var(--dur) var(--ease);
  display: flex; flex-direction: column; gap: 10px;
}
.bm-rail-stage:last-child { border-right: 0; }
.bm-rail-stage::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease-out);
}
.bm-rail-stage[aria-selected="true"]::after { transform: scaleX(1); }
.bm-rail-stage:hover { background: var(--surface-2); }
.bm-rail-stage[aria-selected="true"] { background: var(--surface-2); }

.bm-rail-index {
  font-family: 'JetBrains Mono', monospace; font-size: .7rem;
  color: var(--text-4); letter-spacing: .08em;
}
.bm-rail-stage[aria-selected="true"] .bm-rail-index { color: var(--brand); }
.bm-rail-dot {
  width: 9px; height: 9px; border-radius: 50%;
  border: 1.5px solid var(--line-3); background: var(--bg);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.bm-rail-stage[aria-selected="true"] .bm-rail-dot {
  border-color: var(--brand); background: var(--brand);
  box-shadow: 0 0 0 4px rgba(230,61,46,.16);
}
.bm-rail-stage h3 {
  font-size: .98rem; font-weight: 600; letter-spacing: -.015em; margin: 0;
  color: var(--text-2); transition: color var(--dur) var(--ease);
}
.bm-rail-stage[aria-selected="true"] h3, .bm-rail-stage:hover h3 { color: #fff; }

.bm-rail-panels {
  margin-top: 16px; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--bg-alt); padding: 36px 34px;
  min-height: 188px;
}
.bm-rail-panel { display: none; }
.bm-rail-panel.is-active { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.85fr); gap: 44px; align-items: start; }
.bm-rail-panel h4 {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: 1.45rem; font-weight: 700; letter-spacing: -.028em; color: #fff; margin-bottom: 12px;
}
.bm-rail-panel p { font-size: .95rem; color: var(--text-2); line-height: 1.66; }
.bm-rail-deliverables { display: flex; flex-direction: column; gap: 9px; }
.bm-rail-deliverables li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .87rem; color: var(--text-2);
}
.bm-rail-deliverables svg { width: 15px; height: 15px; color: var(--brand); margin-top: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .bm-rail-panel.is-active { animation: bmFadeUp .42s var(--ease-out); }
}
@keyframes bmFadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   9. HOW WE WORK
   ========================================================================== */
.bm-process { position: relative; }
.bm-process-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; }
.bm-process-track::before {
  content: ''; position: absolute; top: 21px; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, var(--line-2), var(--brand-line), var(--line-2));
  z-index: 0;
}
.bm-step { position: relative; z-index: 1; }
.bm-step-marker {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line-2);
  display: grid; place-items: center; margin-bottom: 22px;
  font-family: 'JetBrains Mono', monospace; font-size: .78rem; font-weight: 600;
  color: var(--text-3);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease),
              background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.bm-step:hover .bm-step-marker {
  border-color: var(--brand); color: var(--brand); background: var(--brand-soft);
  box-shadow: 0 0 0 5px rgba(230,61,46,.1);
}
.bm-step h3 { font-size: 1.06rem; margin-bottom: 9px; }
.bm-step p { font-size: .87rem; color: var(--text-2); line-height: 1.62; }
.bm-step-meta {
  margin-top: 14px; font-size: .74rem; color: var(--text-4);
  letter-spacing: .05em; text-transform: uppercase;
}

/* ==========================================================================
   10. PRODUCT SHOWCASE — Mizup
   ========================================================================== */
.bm-product {
  position: relative; overflow: hidden;
  border: 1px solid var(--line-2); border-radius: var(--r-xl);
  background: linear-gradient(140deg, var(--surface-2) 0%, #17100F 58%, #1C100E 100%);
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.02fr);
  gap: 52px; align-items: center; padding: 52px 48px;
}
.bm-product-glow {
  position: absolute; top: -160px; right: -120px; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(230,61,46,.2) 0%, transparent 62%);
  pointer-events: none;
}
.bm-product-body { position: relative; z-index: 1; }
.bm-product-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-soft); border: 1px solid var(--brand-line);
  padding: 5px 11px; border-radius: 100px; margin-bottom: 20px;
}
.bm-product h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.bm-product p { font-size: .97rem; color: var(--text-2); line-height: 1.65; margin-bottom: 24px; max-width: 46ch; }
.bm-product-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.bm-product-facts li {
  font-size: .78rem; color: var(--text-2);
  border: 1px solid var(--line-2); background: rgba(255,255,255,.03);
  border-radius: 6px; padding: 6px 11px;
}

/* Product window — a restrained UI frame, not a fake screenshot */
.bm-window {
  position: relative; z-index: 1;
  border: 1px solid var(--line-2); border-radius: var(--r-lg);
  background: #0C0C0D; overflow: hidden; box-shadow: var(--shadow-3);
}
.bm-window-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
  background: #141415;
}
.bm-window-dots { display: flex; gap: 6px; }
.bm-window-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-3); }
.bm-window-url {
  font-family: 'JetBrains Mono', monospace; font-size: .68rem; color: var(--text-3);
  margin-left: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.bm-window-body { padding: 20px; display: grid; gap: 12px; }
.bm-window-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.bm-window-tile {
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); padding: 14px 13px;
}
.bm-window-tile span { display: block; font-size: .68rem; color: var(--text-4); margin-bottom: 6px; }
.bm-window-tile strong {
  font-family: 'Inter Tight', Inter, sans-serif; font-size: 1.15rem; color: #fff;
  letter-spacing: -.02em; font-weight: 700;
}
.bm-window-list { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
.bm-window-item {
  display: flex; align-items: center; gap: 11px; padding: 10px 13px; font-size: .78rem; color: var(--text-2);
}
.bm-window-item + .bm-window-item { border-top: 1px solid var(--line); }
.bm-window-avatar {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: var(--brand-soft); border: 1px solid var(--brand-line);
  display: grid; place-items: center; font-size: .6rem; font-weight: 700; color: var(--brand);
}
.bm-window-status { margin-left: auto; font-size: .68rem; color: var(--text-4); }
.bm-window-status.ok { color: var(--positive); }

/* ==========================================================================
   11. GALLERY
   ========================================================================== */
.bm-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 186px;
  gap: 14px;
}
.bm-gallery-item {
  position: relative; overflow: hidden; border-radius: var(--r-md);
  border: 1px solid var(--line); background: var(--surface);
  padding: 0; display: block; width: 100%; height: 100%;
}
.bm-gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease-out), filter var(--dur) var(--ease);
  filter: saturate(.88) brightness(.88);
}
.bm-gallery-item:hover img { transform: scale(1.045); filter: saturate(1) brightness(1); }
.bm-gallery-item::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0);
  transition: box-shadow var(--dur) var(--ease);
}
.bm-gallery-item:hover::after { box-shadow: inset 0 0 0 1px var(--brand-line); }
.bm-gallery-caption {
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  font-size: .74rem; color: #fff; font-weight: 500;
  opacity: 0; transform: translateY(6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  text-shadow: 0 1px 8px rgba(0,0,0,.9);
}
.bm-gallery-item:hover .bm-gallery-caption,
.bm-gallery-item:focus-visible .bm-gallery-caption { opacity: 1; transform: none; }

.bm-gallery-item.span-2 { grid-column: span 2; }
.bm-gallery-item.row-2 { grid-row: span 2; }

/* Lightbox */
.bm-lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(5,5,5,.93);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: grid; place-items: center; padding: 5vw;
  opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
}
.bm-lightbox.is-open { opacity: 1; visibility: visible; }
.bm-lightbox img {
  max-width: 100%; max-height: 84vh; border-radius: var(--r-md);
  border: 1px solid var(--line-2);
  transform: scale(.97); transition: transform var(--dur) var(--ease-out);
}
.bm-lightbox.is-open img { transform: none; }
.bm-lightbox-close {
  position: absolute; top: 22px; right: 22px;
  width: 44px; height: 44px; border-radius: var(--r-sm);
  border: 1px solid var(--line-2); color: var(--text-2);
  display: grid; place-items: center; background: rgba(18,18,19,.8);
}
.bm-lightbox-close:hover { color: #fff; border-color: var(--line-3); }
.bm-lightbox-close svg { width: 20px; height: 20px; }

/* ==========================================================================
   12. ABOUT PAGE
   ========================================================================== */
/* --- Hero with image on the right --- */
.bm-about-hero { position: relative; overflow: hidden; padding: 56px 0 var(--section-y-sm); }
.bm-about-hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0,1.02fr) minmax(0,.98fr);
  gap: 60px; align-items: center;
}
.bm-about-hero .bm-h1 { max-width: 13ch; }
.bm-about-hero .bm-lead { max-width: 46ch; }
.bm-about-figure { position: relative; }
.bm-about-figure img {
  width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--r-lg); border: 1px solid var(--line-2);
}
.bm-about-figure::after {
  content: ''; position: absolute; inset: 0; border-radius: var(--r-lg); pointer-events: none;
  background: linear-gradient(200deg, transparent 45%, rgba(10,10,10,.5) 100%);
}

/* --- Journey timeline --- */
.bm-journey { position: relative; }
.bm-journey-track {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; position: relative;
}
.bm-journey-track::before {
  content: ''; position: absolute; top: 6px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, var(--line-2) 0%, var(--brand-line) 60%, var(--brand) 100%);
}
.bm-milestone { position: relative; padding-top: 32px; }
.bm-milestone::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--line-3);
  transform: translateY(-6px);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.bm-milestone:last-child::before { border-color: var(--brand); box-shadow: 0 0 0 5px rgba(230,61,46,.14); }
.bm-milestone:hover::before { border-color: var(--brand); }
.bm-milestone-year {
  font-family: 'JetBrains Mono', monospace; font-size: 1.05rem; font-weight: 600;
  color: var(--brand); letter-spacing: -.02em; margin-bottom: 10px;
}
.bm-milestone h3 { font-size: 1.04rem; margin-bottom: 8px; }
.bm-milestone p { font-size: .86rem; color: var(--text-2); line-height: 1.62; }

/* --- Vision --- */
.bm-vision {
  position: relative; overflow: hidden;
  border: 1px solid var(--line-2); border-radius: var(--r-xl);
  background: linear-gradient(150deg, var(--surface-2) 0%, #170F0E 100%);
  padding: 64px 56px;
}
.bm-vision-glow {
  position: absolute; top: -180px; left: 50%; transform: translateX(-50%);
  width: 620px; height: 420px; pointer-events: none;
  background: radial-gradient(ellipse, rgba(230,61,46,.2) 0%, transparent 66%);
}
.bm-vision-inner { position: relative; z-index: 1; max-width: 820px; }
.bm-vision blockquote {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: clamp(1.3rem, 2.7vw, 1.95rem);
  font-weight: 600; letter-spacing: -.028em; line-height: 1.35; color: #fff;
}
.bm-vision-rule { width: 46px; height: 2px; background: var(--brand); margin-bottom: 26px; }

/* --- Mission --- */
.bm-mission { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bm-mission-card {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); padding: 34px 30px;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.bm-mission-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--brand); transform: scaleY(0); transform-origin: top;
  transition: transform .45s var(--ease-out);
}
.bm-mission-card:hover { border-color: var(--brand-line); transform: translateY(-4px); }
.bm-mission-card:hover::before { transform: scaleY(1); }
.bm-mission-step {
  font-family: 'JetBrains Mono', monospace; font-size: .72rem; color: var(--text-4);
  letter-spacing: .1em; margin-bottom: 20px; display: block;
}
.bm-mission-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.bm-mission-card p { font-size: .9rem; color: var(--text-2); line-height: 1.64; }

/* --- Growth philosophy --- */
.bm-philosophy {
  display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr);
  gap: 56px; align-items: center;
}
.bm-philosophy-loop {
  position: relative; border: 1px solid var(--line);
  border-radius: var(--r-lg); background: var(--surface);
  padding: 30px 28px;
}
.bm-loop-item {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  transition: padding-left var(--dur) var(--ease);
}
.bm-loop-item:last-child { border-bottom: 0; }
.bm-loop-item:hover { padding-left: 6px; }
.bm-loop-marker {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid var(--line-2); display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace; font-size: .68rem; color: var(--text-3);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.bm-loop-item:hover .bm-loop-marker { border-color: var(--brand); color: var(--brand); }
.bm-loop-item strong { font-size: .96rem; font-weight: 600; color: #fff; display: block; }
.bm-loop-item span { font-size: .82rem; color: var(--text-3); }
.bm-loop-item.is-outcome strong { color: var(--brand); }

/* --- Core values --- */
.bm-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.bm-value {
  background: var(--surface); padding: 32px 28px;
  transition: background var(--dur) var(--ease);
}
.bm-value:hover { background: var(--surface-2); }
.bm-value-icon {
  width: 36px; height: 36px; border-radius: 9px; margin-bottom: 18px;
  background: var(--brand-soft); border: 1px solid var(--brand-line);
  display: grid; place-items: center; color: var(--brand);
}
.bm-value-icon svg { width: 17px; height: 17px; }
.bm-value h3 { font-size: 1.02rem; margin-bottom: 8px; }
.bm-value p { font-size: .85rem; color: var(--text-2); line-height: 1.6; }

/* --- Why Brand Miz --- */
.bm-why { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 56px; align-items: start; }
.bm-why-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.bm-why-item {
  background: var(--surface); padding: 24px 26px;
  display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 18px; align-items: start;
  transition: background var(--dur) var(--ease);
}
.bm-why-item:hover { background: var(--surface-2); }
.bm-why-num {
  font-family: 'JetBrains Mono', monospace; font-size: .74rem; color: var(--brand);
  padding-top: 3px;
}
.bm-why-item h3 { font-size: 1rem; margin-bottom: 6px; }
.bm-why-item p { font-size: .86rem; color: var(--text-2); line-height: 1.6; }

/* --- Founder --- */
.bm-founder {
  display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr);
  gap: 56px; align-items: center;
}
.bm-founder-figure { position: relative; }
.bm-founder-figure img {
  width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover;
  border-radius: var(--r-lg); border: 1px solid var(--line-2);
}
.bm-founder-role {
  display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 12px; font-weight: 600;
}
.bm-founder h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 18px; }
.bm-founder p { font-size: .97rem; color: var(--text-2); line-height: 1.7; margin-bottom: 16px; max-width: 58ch; }

/* --- Miz Group ecosystem --- */
.bm-group { position: relative; }
.bm-group-parent {
  display: block; width: fit-content; margin: 0 auto 0;
  font-family: 'JetBrains Mono', monospace; font-size: .92rem; font-weight: 600;
  letter-spacing: .06em; color: #fff;
  background: var(--brand-soft); border: 1px solid var(--brand-line);
  padding: 13px 30px; border-radius: var(--r-md);
}
.bm-group-stem { width: 1px; height: 34px; background: var(--line-2); margin: 0 auto; }
.bm-group-row {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px;
  position: relative;
}
.bm-group-row::before {
  content: ''; position: absolute; top: -17px; left: 10%; right: 10%; height: 1px;
  background: var(--line-2);
}
.bm-group-col { position: relative; display: flex; flex-direction: column; align-items: stretch; }
.bm-group-col::before {
  content: ''; position: absolute; top: -17px; left: 50%; width: 1px; height: 17px;
  background: var(--line-2);
}
.bm-group-node {
  border: 1px solid var(--line-2); border-radius: var(--r-md);
  background: var(--surface); padding: 20px 18px; text-align: center;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.bm-group-node:hover { border-color: var(--brand-line); background: var(--surface-2); transform: translateY(-3px); }
.bm-group-node.is-anchor { border-color: var(--brand-line); background: rgba(230,61,46,.06); }
.bm-group-node strong {
  display: block; font-size: .96rem; font-weight: 600; color: #fff; letter-spacing: -.015em;
  margin-bottom: 5px;
}
.bm-group-node span { font-size: .76rem; color: var(--text-3); line-height: 1.45; display: block; }
.bm-group-child-stem { width: 1px; height: 20px; background: var(--line-2); margin: 0 auto; }
.bm-group-child {
  border: 1px dashed var(--line-2); border-radius: var(--r-sm);
  background: rgba(255,255,255,.02); padding: 13px 14px; text-align: center;
  transition: border-color var(--dur) var(--ease);
}
.bm-group-child:hover { border-color: var(--brand-line); }
.bm-group-child strong { display: block; font-size: .86rem; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.bm-group-child span { font-size: .72rem; color: var(--text-4); }
.bm-group-spacer { flex: 1; }

/* ==========================================================================
   13. CASE STUDIES
   ========================================================================== */
.bm-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.bm-filter {
  font-size: .84rem; font-weight: 500; color: var(--text-2);
  background: var(--surface); border: 1px solid var(--line);
  padding: 9px 16px; border-radius: 100px;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.bm-filter:hover { color: #fff; border-color: var(--line-3); }
.bm-filter[aria-pressed="true"] { color: #fff; background: var(--brand); border-color: var(--brand); }
.bm-filter-count { font-size: .84rem; color: var(--text-4); margin-bottom: 46px; }

/* Filter transition */
[data-filterable] {
  transition: opacity .34s var(--ease), transform .34s var(--ease);
}
[data-filterable][hidden] { display: none; }
[data-filterable].is-filtering { opacity: 0; transform: translateY(8px); }

.bm-cs-list { display: flex; flex-direction: column; gap: 18px; }
.bm-cs {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.bm-cs:hover { border-color: var(--brand-line); }
.bm-cs-head {
  display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 28px; align-items: center;
  padding: 30px 34px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.022), transparent);
}
.bm-cs-sector {
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 9px; display: block;
}
.bm-cs-head h3 { font-size: clamp(1.3rem, 2.4vw, 1.72rem); margin: 0; }
.bm-cs-kpis { display: flex; gap: 30px; }
.bm-cs-kpi { text-align: right; }
.bm-cs-kpi strong {
  display: block; font-family: 'Inter Tight', Inter, sans-serif;
  font-size: 1.42rem; font-weight: 700; color: #fff; letter-spacing: -.03em; line-height: 1.1;
}
.bm-cs-kpi span { font-size: .7rem; color: var(--text-3); letter-spacing: .04em; text-transform: uppercase; }
.bm-cs-kpi.is-headline strong { color: var(--brand); }

.bm-cs-body { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.bm-cs-block { background: var(--surface); padding: 26px 26px 28px; }
.bm-cs-block h4 {
  font-size: .71rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase;
  color: var(--text-4); margin-bottom: 14px;
}
.bm-cs-block.is-result h4 { color: var(--brand); }
.bm-cs-block li {
  font-size: .85rem; color: var(--text-2); line-height: 1.55;
  padding-left: 15px; position: relative; margin-bottom: 9px;
}
.bm-cs-block li:last-child { margin-bottom: 0; }
.bm-cs-block li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 6px; height: 1px; background: var(--line-3);
}
.bm-cs-block.is-result li::before { background: var(--brand); }

/* Compact cards */
.bm-cs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bm-cs-mini {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface); padding: 24px 24px 22px;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease),
              background var(--dur) var(--ease);
}
.bm-cs-mini:hover { border-color: var(--brand-line); background: var(--surface-2); transform: translateY(-3px); }
.bm-cs-mini-sector {
  font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-4); margin-bottom: 10px;
}
.bm-cs-mini h3 { font-size: 1.05rem; margin-bottom: 9px; }
.bm-cs-mini p { font-size: .84rem; color: var(--text-2); line-height: 1.56; flex: 1; margin-bottom: 20px; }
.bm-cs-mini-kpis { display: flex; gap: 22px; border-top: 1px solid var(--line); padding-top: 16px; }
.bm-cs-mini-kpis strong {
  display: block; font-family: 'Inter Tight', Inter, sans-serif; font-size: 1rem;
  color: #fff; font-weight: 700; letter-spacing: -.02em;
}
.bm-cs-mini-kpis span { font-size: .66rem; color: var(--text-4); text-transform: uppercase; letter-spacing: .05em; }

.bm-cs-empty {
  border: 1px dashed var(--line-2); border-radius: var(--r-lg);
  padding: 56px 30px; text-align: center; color: var(--text-3); font-size: .93rem;
}

/* ==========================================================================
   14. CONTACT
   ========================================================================== */
.bm-contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bm-contact-card {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); padding: 28px 26px 26px;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease),
              background var(--dur) var(--ease);
}
.bm-contact-card:hover { border-color: var(--brand-line); background: var(--surface-2); transform: translateY(-4px); }
.bm-contact-card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: 0; transition: opacity var(--dur) var(--ease);
}
.bm-contact-card:hover::before { opacity: 1; }
.bm-contact-icon {
  width: 38px; height: 38px; border-radius: 9px; margin-bottom: 20px;
  background: var(--brand-soft); border: 1px solid var(--brand-line);
  display: grid; place-items: center; color: var(--brand);
}
.bm-contact-icon svg { width: 17px; height: 17px; }
.bm-contact-card h3 { font-size: 1rem; margin-bottom: 12px; }
.bm-contact-card p { font-size: .86rem; color: var(--text-2); line-height: 1.6; }
.bm-contact-card a {
  display: block; font-size: .86rem; color: var(--text-2); line-height: 1.75;
  transition: color var(--dur) var(--ease);
}
.bm-contact-card a:hover { color: var(--brand); }

/* Booking panel */
.bm-booking {
  display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
  gap: 0; border: 1px solid var(--line-2); border-radius: var(--r-xl); overflow: hidden;
  background: var(--surface);
}
.bm-booking-body { padding: 48px 44px; }
.bm-booking-body h2 { font-size: clamp(1.5rem, 2.8vw, 2.05rem); margin-bottom: 14px; }
.bm-booking-body p { font-size: .96rem; color: var(--text-2); line-height: 1.65; margin-bottom: 26px; max-width: 46ch; }
.bm-booking-points { display: grid; gap: 12px; margin-bottom: 30px; }
.bm-booking-points li { display: flex; gap: 11px; align-items: flex-start; font-size: .89rem; color: var(--text-2); }
.bm-booking-points svg { width: 16px; height: 16px; color: var(--brand); margin-top: 3px; }
.bm-booking-side {
  background: linear-gradient(160deg, var(--surface-2) 0%, #17100F 100%);
  border-left: 1px solid var(--line);
  padding: 48px 42px;
  display: flex; flex-direction: column; justify-content: center;
}
.bm-booking-side h3 { font-size: 1.1rem; margin-bottom: 22px; }
.bm-flowstep { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 15px; padding: 13px 0; }
.bm-flowstep + .bm-flowstep { border-top: 1px solid var(--line); }
.bm-flowstep-num {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--brand-line); background: var(--brand-soft);
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace; font-size: .68rem; font-weight: 600; color: var(--brand);
}
.bm-flowstep strong { display: block; font-size: .9rem; color: #fff; font-weight: 600; margin-bottom: 2px; }
.bm-flowstep span { font-size: .81rem; color: var(--text-3); line-height: 1.5; }

/* Enquiry form */
.bm-form-split { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr); gap: 44px; align-items: start; }
.bm-form {
  border: 1px solid var(--line); border-radius: var(--r-xl);
  background: var(--surface); padding: 38px 36px;
}
.bm-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bm-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.bm-field label { font-size: .82rem; color: var(--text-2); font-weight: 500; }
.bm-field .req { color: var(--brand); }
.bm-field input, .bm-field select, .bm-field textarea {
  background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  padding: 12px 13px; font-size: .9rem; color: var(--text); width: 100%;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.bm-field input::placeholder, .bm-field textarea::placeholder { color: var(--text-4); }
.bm-field input:focus, .bm-field select:focus, .bm-field textarea:focus {
  outline: none; border-color: var(--brand); background: var(--surface-2);
}
.bm-field input:focus-visible, .bm-field select:focus-visible, .bm-field textarea:focus-visible { outline: none; }
.bm-field textarea { resize: vertical; min-height: 110px; }
.bm-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23757579' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
  padding-right: 36px;
}
.bm-field-error { font-size: .78rem; color: var(--brand); display: none; }
.bm-field.has-error input, .bm-field.has-error select, .bm-field.has-error textarea { border-color: var(--brand); }
.bm-field.has-error .bm-field-error { display: block; }
.bm-form-note { font-size: .8rem; color: var(--text-4); margin-top: 14px; text-align: center; }
.bm-form-status {
  margin-top: 16px; padding: 13px 16px; border-radius: var(--r-sm);
  border: 1px solid rgba(52,199,89,.3); background: rgba(52,199,89,.08);
  font-size: .88rem; color: var(--positive); display: none;
}
.bm-form-status.is-visible { display: block; }

.bm-aside { display: flex; flex-direction: column; gap: 16px; }
.bm-aside-card {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); padding: 30px 28px;
}
.bm-aside-card.is-accent { background: linear-gradient(150deg, var(--surface-2), #17100F); border-color: var(--line-2); }
.bm-aside-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.bm-aside-card p { font-size: .87rem; color: var(--text-2); line-height: 1.62; margin-bottom: 18px; }

/* FAQ */
.bm-faq { display: flex; flex-direction: column; gap: 10px; }
.bm-faq-item { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); overflow: hidden; transition: border-color var(--dur) var(--ease); }
.bm-faq-item:hover { border-color: var(--line-2); }
.bm-faq-item.is-open { border-color: var(--brand-line); }
.bm-faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 19px 24px; text-align: left; font-size: .98rem; font-weight: 600; color: #fff;
}
.bm-faq-icon { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.bm-faq-icon::before, .bm-faq-icon::after {
  content: ''; position: absolute; background: var(--brand); border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.bm-faq-icon::before { left: 0; right: 0; top: 6px; height: 2px; }
.bm-faq-icon::after { top: 0; bottom: 0; left: 6px; width: 2px; }
.bm-faq-item.is-open .bm-faq-icon::after { transform: rotate(90deg); opacity: 0; }
.bm-faq-a { overflow: hidden; height: 0; transition: height .3s var(--ease); }
.bm-faq-a p { padding: 0 24px 20px; font-size: .89rem; color: var(--text-2); line-height: 1.65; }

/* Office */
.bm-office {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden;
  background: var(--surface);
}
.bm-office-map { position: relative; min-height: 320px; background: var(--bg-alt); display: grid; place-items: center; overflow: hidden; }
.bm-office-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(230,61,46,.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230,61,46,.1) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at center, #000 18%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 18%, transparent 72%);
}
.bm-office-pin {
  position: relative; z-index: 1; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 0 8px rgba(230,61,46,.14), 0 0 0 18px rgba(230,61,46,.07);
}
@media (prefers-reduced-motion: no-preference) {
  .bm-office-pin::after {
    content: ''; position: absolute; inset: -8px; border-radius: 50%;
    border: 1px solid var(--brand); animation: bmPing 2.6s var(--ease-out) infinite;
  }
}
@keyframes bmPing { 0% { transform: scale(.9); opacity: .8; } 100% { transform: scale(2.4); opacity: 0; } }
.bm-office-info { padding: 44px 42px; }
.bm-office-info h3 { font-size: 1.3rem; margin-bottom: 12px; }
.bm-office-info p { font-size: .92rem; color: var(--text-2); line-height: 1.65; margin-bottom: 22px; }
.bm-office-hours { border-top: 1px solid var(--line); padding-top: 18px; }
.bm-office-hours div { display: flex; justify-content: space-between; gap: 16px; font-size: .87rem; color: var(--text-3); padding: 6px 0; }
.bm-office-hours div strong { color: var(--text); font-weight: 500; }

/* Social */
.bm-social { display: flex; flex-wrap: wrap; gap: 12px; }
.bm-social a {
  display: inline-flex; align-items: center; gap: 11px;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface); padding: 14px 20px;
  font-size: .88rem; font-weight: 500; color: var(--text);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.bm-social a:hover { border-color: var(--brand-line); background: var(--surface-2); transform: translateY(-2px); }
.bm-social svg { width: 17px; height: 17px; color: var(--brand); }

/* ==========================================================================
   15. CTA BAND + FOOTER
   ========================================================================== */
.bm-cta {
  position: relative; overflow: hidden;
  padding: 118px 0; background: var(--bg-alt);
  border-top: 1px solid var(--line);
}
.bm-cta-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; text-align: center; }
.bm-cta h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -.032em; margin-bottom: 18px; }
.bm-cta p { font-size: 1.04rem; color: var(--text-2); margin: 0 auto 32px; max-width: 54ch; line-height: 1.6; }
.bm-cta .bm-btn-row { justify-content: center; }
.bm-cta-reassure { margin-top: 22px; font-size: .84rem; color: var(--text-4); }

.bm-footer { background: #060607; border-top: 1px solid var(--line); padding: 72px 0 28px; }
.bm-footer-top {
  display: grid; grid-template-columns: minmax(0,1.6fr) repeat(3, minmax(0,1fr));
  gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line);
}
.bm-footer-brand img { height: 32px; width: auto; margin-bottom: 18px; }
.bm-footer-brand p { font-size: .88rem; color: var(--text-3); line-height: 1.65; max-width: 34ch; margin-bottom: 22px; }
.bm-footer-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .74rem; color: var(--text-3);
  border: 1px solid var(--line); border-radius: 100px; padding: 6px 13px;
}
.bm-footer-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--positive); }
.bm-footer h3 {
  font-family: 'Inter', sans-serif;
  font-size: .73rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-4); margin-bottom: 18px;
}
.bm-footer li { margin-bottom: 11px; }
.bm-footer li a, .bm-footer li span {
  font-size: .88rem; color: var(--text-2);
  transition: color var(--dur) var(--ease);
}
.bm-footer li a:hover { color: var(--brand); }
.bm-footer li .bm-nav-static { color: var(--text-4); cursor: default; display: inline-flex; align-items: center; gap: 7px; }
.bm-footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; padding-top: 26px;
}
.bm-footer-meta { font-size: .8rem; color: var(--text-4); }
.bm-footer-social { display: flex; gap: 9px; }
.bm-footer-social a {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  border: 1px solid var(--line-2); display: grid; place-items: center;
  color: var(--text-3);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.bm-footer-social a:hover { color: #fff; border-color: var(--brand); background: var(--brand); }
.bm-footer-social svg { width: 16px; height: 16px; }

/* ==========================================================================
   16. SCHEDULING MODAL
   ==========================================================================
   Front-end state machine only. See js/main.js -> Scheduler.submit() for the
   single integration point where a real booking API would be called.
   ========================================================================== */
.bm-modal {
  position: fixed; inset: 0; z-index: 220;
  display: grid; place-items: center;
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
}
.bm-modal.is-open { opacity: 1; visibility: visible; }
.bm-modal-scrim {
  position: absolute; inset: 0; background: rgba(4,4,5,.78);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.bm-modal-dialog {
  position: relative; z-index: 1;
  width: min(880px, 100%);
  max-height: min(88vh, 820px);
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line-2);
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-3);
  transform: translateY(14px) scale(.985);
  transition: transform .34s var(--ease-out);
}
.bm-modal.is-open .bm-modal-dialog { transform: none; }

.bm-modal-head {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px; border-bottom: 1px solid var(--line);
  background: var(--surface-2); flex-shrink: 0;
}
.bm-modal-head h2 { font-size: 1.05rem; margin: 0; letter-spacing: -.02em; }
.bm-modal-head p { font-size: .8rem; color: var(--text-3); margin-top: 2px; }
.bm-modal-close {
  margin-left: auto; width: 36px; height: 36px; border-radius: var(--r-sm);
  border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--text-3);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  flex-shrink: 0;
}
.bm-modal-close:hover { color: #fff; border-color: var(--line-3); }
.bm-modal-close svg { width: 17px; height: 17px; }

/* Progress */
.bm-modal-progress { display: flex; gap: 6px; padding: 0 24px; margin-top: 16px; }
.bm-modal-progress i {
  height: 2px; flex: 1; border-radius: 2px; background: var(--line-2);
  transition: background .4s var(--ease);
}
.bm-modal-progress i.is-done { background: var(--brand); }

.bm-modal-body { padding: 24px; overflow-y: auto; flex: 1; }
.bm-modal-foot {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 18px 24px; border-top: 1px solid var(--line);
  background: var(--surface-2); flex-shrink: 0;
}
.bm-modal-foot .bm-spacer { margin-left: auto; }
.bm-modal-hint { font-size: .78rem; color: var(--text-4); }

/* Step transitions */
.bm-step-pane { display: none; }
.bm-step-pane.is-active { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .bm-step-pane.is-active { animation: bmStepIn .34s var(--ease-out); }
}
@keyframes bmStepIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* --- Step 1: date + time --- */
.bm-sched-grid { display: grid; grid-template-columns: minmax(0,1.18fr) minmax(0,.82fr); gap: 24px; }

.bm-cal-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.bm-cal-month { font-size: .95rem; font-weight: 600; color: #fff; letter-spacing: -.01em; }
.bm-cal-nav { margin-left: auto; display: flex; gap: 6px; }
.bm-cal-nav button {
  width: 32px; height: 32px; border-radius: var(--r-sm);
  border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--text-2);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.bm-cal-nav button:hover:not(:disabled) { color: #fff; border-color: var(--line-3); }
.bm-cal-nav button:disabled { opacity: .32; cursor: not-allowed; }
.bm-cal-nav svg { width: 15px; height: 15px; }

.bm-cal-dow { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-bottom: 6px; }
.bm-cal-dow span {
  text-align: center; font-size: .68rem; font-weight: 600; letter-spacing: .06em;
  color: var(--text-4); text-transform: uppercase; padding: 6px 0;
}
.bm-cal-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.bm-cal-day {
  aspect-ratio: 1; border-radius: var(--r-sm);
  border: 1px solid transparent; background: transparent;
  font-size: .84rem; color: var(--text); font-variant-numeric: tabular-nums;
  display: grid; place-items: center;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
}
.bm-cal-day:hover:not(:disabled) { background: var(--surface-3); border-color: var(--line-2); }
.bm-cal-day:disabled { color: var(--text-4); opacity: .38; cursor: not-allowed; }
.bm-cal-day.is-today { color: var(--text-3); box-shadow: inset 0 0 0 1px var(--line-2); }
.bm-cal-day[aria-pressed="true"],
.bm-cal-day[aria-pressed="true"]:hover:not(:disabled) {
  background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600;
}
.bm-cal-day.is-empty { visibility: hidden; }

.bm-slot-panel { display: flex; flex-direction: column; min-height: 0; }
.bm-slot-label { font-size: .82rem; color: var(--text-2); margin-bottom: 12px; font-weight: 500; }
.bm-slot-label strong { color: #fff; }
.bm-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; align-content: start; }
.bm-slot {
  padding: 10px 8px; border-radius: var(--r-sm);
  border: 1px solid var(--line-2); background: var(--bg);
  font-size: .83rem; color: var(--text); font-variant-numeric: tabular-nums;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease),
              color var(--dur) var(--ease);
}
.bm-slot:hover:not(:disabled) { border-color: var(--brand-line); background: var(--surface-2); }
.bm-slot[aria-pressed="true"],
.bm-slot[aria-pressed="true"]:hover:not(:disabled) {
  background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600;
}
.bm-slot:disabled { opacity: .3; cursor: not-allowed; }
.bm-slot-empty {
  border: 1px dashed var(--line-2); border-radius: var(--r-sm);
  padding: 30px 16px; text-align: center; font-size: .84rem; color: var(--text-4);
}
.bm-slot-tz { margin-top: 14px; font-size: .74rem; color: var(--text-4); }

/* --- Step 2: details form --- */
.bm-sched-summary {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 13px 16px; margin-bottom: 22px;
  border: 1px solid var(--brand-line); border-radius: var(--r-md);
  background: var(--brand-soft);
  font-size: .87rem; color: var(--text);
}
.bm-sched-summary svg { width: 16px; height: 16px; color: var(--brand); }
.bm-sched-summary strong { font-weight: 600; color: #fff; }
.bm-sched-summary button {
  margin-left: auto; font-size: .8rem; font-weight: 600; color: var(--brand);
  text-decoration: underline; text-underline-offset: 3px;
}

/* --- Step 3: confirmation --- */
.bm-confirm { text-align: center; padding: 8px 0 4px; }
.bm-confirm-avatar {
  width: 86px; height: 86px; border-radius: 50%; margin: 0 auto 20px;
  position: relative; overflow: hidden;
  border: 2px solid var(--brand);
  box-shadow: 0 0 0 6px rgba(230,61,46,.12);
}
.bm-confirm-avatar img { width: 100%; height: 100%; object-fit: cover; }
.bm-confirm-check {
  position: absolute; right: -2px; bottom: -2px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--positive); border: 2px solid var(--surface);
  display: grid; place-items: center; z-index: 2;
}
.bm-confirm-avatar-wrap { position: relative; width: 86px; margin: 0 auto 20px; }
.bm-confirm-avatar-wrap .bm-confirm-avatar { margin-bottom: 0; }
.bm-confirm-check svg { width: 14px; height: 14px; color: #fff; }
.bm-confirm h3 { font-size: 1.5rem; margin-bottom: 8px; }
.bm-confirm > p { font-size: .93rem; color: var(--text-2); max-width: 44ch; margin: 0 auto 26px; line-height: 1.6; }

.bm-review {
  text-align: left; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--bg); overflow: hidden;
}
.bm-review-head {
  padding: 13px 20px; border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-4);
}
.bm-review dl { display: grid; grid-template-columns: 132px minmax(0,1fr); }
.bm-review dt {
  padding: 12px 20px; font-size: .82rem; color: var(--text-3);
  border-top: 1px solid var(--line);
}
.bm-review dd {
  padding: 12px 20px; font-size: .88rem; color: var(--text);
  border-top: 1px solid var(--line); word-break: break-word;
}
.bm-review dl > dt:first-of-type, .bm-review dl > dd:first-of-type { border-top: 0; }
.bm-review dd.is-slot { color: #fff; font-weight: 600; }

/* --- Step 4: cancelled --- */
.bm-cancelled { text-align: center; padding: 24px 0 12px; }
.bm-cancelled-mark {
  width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 22px;
  border: 1px solid var(--line-2); background: var(--surface-2);
  display: grid; place-items: center; color: var(--text-3);
}
.bm-cancelled-mark svg { width: 26px; height: 26px; }
.bm-cancelled h3 { font-size: 1.3rem; margin-bottom: 10px; }
.bm-cancelled p { font-size: .93rem; color: var(--text-2); max-width: 42ch; margin: 0 auto; line-height: 1.6; }

/* ==========================================================================
   17. RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  :root { --section-y: 96px; --section-y-sm: 72px; }

  .bm-head-split { grid-template-columns: 1fr; gap: 22px; align-items: start; }

  .bm-hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bm-hero-stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .bm-hero-stat:nth-child(n+3) { border-top: 1px solid var(--line); }

  .bm-logo-wall { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .bm-logo-cell:nth-child(9n) { border-right: 1px solid var(--line); }
  .bm-logo-cell:nth-child(n+10) { border-bottom: 1px solid var(--line); }
  .bm-logo-cell:nth-child(6n) { border-right: 0; }
  .bm-logo-cell:nth-child(n+13) { border-bottom: 0; }

  .bm-company-inner, .bm-about-hero-inner, .bm-philosophy, .bm-why, .bm-founder,
  .bm-form-split { grid-template-columns: 1fr; gap: 40px; }
  .bm-about-figure { order: -1; }
  .bm-founder-figure { max-width: 320px; }

  .bm-industries { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bm-solutions, .bm-mission, .bm-values, .bm-cs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .bm-product { grid-template-columns: 1fr; gap: 40px; padding: 44px 34px; }
  .bm-booking { grid-template-columns: 1fr; }
  .bm-booking-side { border-left: 0; border-top: 1px solid var(--line); }
  .bm-booking-body, .bm-booking-side { padding: 38px 32px; }

  .bm-contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bm-office { grid-template-columns: 1fr; }

  .bm-cs-body { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bm-rail-panel.is-active { grid-template-columns: 1fr; gap: 26px; }

  .bm-group-row { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 26px; }
  .bm-group-row::before { display: none; }
  .bm-group-col::before { display: none; }
  .bm-group-stem { display: none; }
  .bm-group-parent { margin-bottom: 26px; }

  .bm-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 165px; }
}

@media (max-width: 900px) {
  .bm-nav, .bm-header-cta { display: none; }
  .bm-burger { display: flex; }
  .bm-header-inner { gap: 16px; }

  .bm-process-track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 18px; }
  .bm-process-track::before { display: none; }

  .bm-journey-track { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .bm-journey-track::before { display: none; }
  .bm-milestone::before { display: none; }
  .bm-milestone { padding-top: 0; padding-left: 18px; border-left: 1px solid var(--brand-line); }

  .bm-vision { padding: 44px 30px; }
  .bm-values { grid-template-columns: 1fr; }

  /* Horizontal sections become swipeable rails rather than overflowing */
  .bm-rail-track {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: thin;
  }
  .bm-rail-stage { flex: 0 0 62%; scroll-snap-align: start; min-width: 200px; }
  .bm-rail-panels { padding: 28px 24px; }

  .bm-cs-head { grid-template-columns: 1fr; gap: 20px; padding: 24px 24px; }
  .bm-cs-kpis { gap: 24px; }
  .bm-cs-kpi { text-align: left; }
  .bm-cs-body { grid-template-columns: 1fr; }

  .bm-sched-grid { grid-template-columns: 1fr; gap: 22px; }
  .bm-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .bm-footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 620px) {
  :root { --gutter: 20px; --section-y: 76px; --section-y-sm: 60px; --header-h: 64px; }

  .bm-hero { padding-top: 56px; }
  .bm-hero-band { margin-top: 48px; }
  .bm-hero-stat { padding: 22px 18px 24px; }
  .bm-hero-stat:nth-child(odd) { padding-left: 0; }

  .bm-logos { padding: 56px 0 64px; }
  .bm-logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bm-logo-cell { min-height: 84px; padding: 18px 12px; }
  .bm-logo-cell:nth-child(6n) { border-right: 1px solid var(--line); }
  .bm-logo-cell:nth-child(3n) { border-right: 0; }
  .bm-logo-cell:nth-child(n+13) { border-bottom: 1px solid var(--line); }
  .bm-logo-cell:nth-child(n+16) { border-bottom: 0; }
  .bm-logo-cell img { opacity: .55; }

  .bm-industries, .bm-solutions, .bm-mission, .bm-cs-grid,
  .bm-contact-cards { grid-template-columns: 1fr; }

  .bm-company-metrics { grid-template-columns: 1fr; }
  .bm-company-metric + .bm-company-metric {
    padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 20px; padding-top: 22px;
  }

  .bm-journey-track { grid-template-columns: 1fr; }
  .bm-process-track { grid-template-columns: 1fr; gap: 26px; }

  .bm-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 132px; }
  .bm-group-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .bm-rail-stage { flex: 0 0 76%; }

  .bm-product { padding: 34px 22px; }
  .bm-booking-body, .bm-booking-side { padding: 30px 22px; }
  .bm-form { padding: 26px 22px; }
  .bm-form-row { grid-template-columns: 1fr; gap: 0; }

  .bm-cs-kpis { flex-wrap: wrap; gap: 18px 26px; }
  .bm-office-info { padding: 32px 24px; }

  .bm-footer-top { grid-template-columns: 1fr; gap: 30px; }
  .bm-footer-bottom { flex-direction: column; align-items: flex-start; }

  /* Modal goes full-bleed on small screens */
  .bm-modal { padding: 0; place-items: stretch; }
  .bm-modal-dialog {
    width: 100%; max-height: 100%; height: 100%;
    border-radius: 0; border: 0;
  }
  .bm-modal-head, .bm-modal-body, .bm-modal-foot { padding-left: 20px; padding-right: 20px; }
  .bm-modal-progress { padding-left: 20px; padding-right: 20px; }
  .bm-modal-foot { flex-direction: column-reverse; align-items: stretch; }
  .bm-modal-foot .bm-btn { width: 100%; }
  .bm-modal-foot .bm-spacer { margin-left: 0; }
  .bm-modal-hint { text-align: center; }
  .bm-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bm-review dl { grid-template-columns: 1fr; }
  .bm-review dt { padding-bottom: 0; border-top: 1px solid var(--line); }
  .bm-review dd { padding-top: 4px; border-top: 0; }
  .bm-review dl > dd:first-of-type { border-top: 0; }
}

@media (max-width: 400px) {
  .bm-logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bm-logo-cell:nth-child(3n) { border-right: 1px solid var(--line); }
  .bm-logo-cell:nth-child(2n) { border-right: 0; }
  .bm-logo-cell:nth-child(n+16) { border-bottom: 1px solid var(--line); }
  .bm-logo-cell:nth-child(n+17) { border-bottom: 0; }
  .bm-gallery { grid-template-columns: 1fr; }
  .bm-group-row { grid-template-columns: 1fr; }
  .bm-gallery-item.span-2 { grid-column: span 1; }
}

/* Print — rarely used, but broken print output looks unprofessional */
@media print {
  .bm-announce, .bm-header, .bm-drawer, .bm-modal, .bm-cta, .bm-footer-social { display: none !important; }
  body { background: #fff; color: #000; }
}

/* Dense rail (8 stages) — switches to a swipe rail earlier than the 6-stage one */
@media (max-width: 1180px) {
  .bm-rail-track.is-dense {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .bm-rail-track.is-dense .bm-rail-stage { flex: 0 0 210px; scroll-snap-align: start; }
}

/* ==========================================================================
   18. HERO SHOWREEL (video)
   --------------------------------------------------------------------------
   Autoplays muted + inline so iOS/Android play it without a user gesture.
   The source has no audio track, so nothing is lost by muting.
   Reduced-motion users get the poster frame and an explicit play control.
   ========================================================================== */
.bm-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .97fr) minmax(0, 1.03fr);
  gap: var(--s-8);
  align-items: center;
  position: relative;
  z-index: 2;
}

.bm-showreel {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: #0C0C0D;
  box-shadow: var(--shadow-3);
  aspect-ratio: 16 / 9;
  isolation: isolate;
}
.bm-showreel::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
  border-radius: inherit;
}
.bm-showreel video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  background: #0C0C0D;
  filter: brightness(.88) contrast(1.04) saturate(1.03);
}
/* soft inner vignette so white frames don't hit the card edge at full value */
.bm-showreel::before {
  content: '';
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 52%, rgba(8,8,9,.42) 100%);
}

.bm-showreel-tag {
  position: absolute; left: 16px; top: 16px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: #fff;
  background: rgba(10,10,10,.62);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.14);
  padding: 7px 12px; border-radius: 100px;
}
.bm-showreel-tag i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
  box-shadow: 0 0 0 3px rgba(230,61,46,.25);
}

.bm-showreel-toggle {
  position: absolute; right: 16px; bottom: 16px; z-index: 3;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  background: rgba(10,10,10,.62);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.16);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.bm-showreel-toggle:hover { background: var(--brand); border-color: var(--brand); transform: scale(1.06); }
.bm-showreel-toggle svg { width: 16px; height: 16px; }
.bm-showreel-toggle .bm-ico-pause { display: block; }
.bm-showreel-toggle .bm-ico-play { display: none; }
.bm-showreel.is-paused .bm-ico-pause { display: none; }
.bm-showreel.is-paused .bm-ico-play { display: block; margin-left: 2px; }

/* ==========================================================================
   19. CREDENTIALS STRIP
   ========================================================================== */
.bm-creds {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
  padding: var(--s-7) 0;
}
.bm-creds-inner {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: var(--s-7);
  align-items: center;
}
.bm-creds-copy h2 {
  font-size: clamp(1.1rem, 1.9vw, 1.35rem);
  letter-spacing: -.024em; margin-bottom: var(--s-2);
}
.bm-creds-copy p { font-size: .88rem; color: var(--text-3); line-height: 1.6; max-width: 46ch; }

.bm-creds-badges {
  display: flex; align-items: stretch;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
}
.bm-cred {
  flex: 1 1 0; min-width: 0;
  display: grid; place-items: center;
  padding: var(--s-5) var(--s-4);
  border-left: 1px solid var(--line);
  transition: background var(--dur) var(--ease);
}
.bm-cred:first-child { border-left: 0; }
.bm-cred:hover { background: var(--surface-2); }
.bm-cred img {
  height: 46px; width: auto; max-width: 100%; object-fit: contain;
  transition: opacity var(--dur) var(--ease);
}
/* MSME carries far more fine type than the partner marks, so it needs extra
   height to sit at the same optical weight */
.bm-cred--ink img { height: 58px; opacity: .82; }
.bm-cred--ink:hover img { opacity: 1; }


/* ==========================================================================
   20. INSIDE THE COMPANY — editorial 2-photo layout
   --------------------------------------------------------------------------
   Deliberately built around the two genuine photographs the company has.
   No crops of the same frame are repeated as if they were separate shots.
   ========================================================================== */
.bm-inside {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, .68fr);
  grid-template-rows: auto auto;
  gap: var(--s-4);
}
.bm-inside-main { grid-row: span 2; }

.bm-shot {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0; display: block; width: 100%;
  cursor: zoom-in;
}
.bm-shot img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(.92) brightness(.9);
  transition: transform .7s var(--ease-out), filter var(--dur) var(--ease);
}
.bm-shot:hover img { transform: scale(1.035); filter: saturate(1) brightness(1); }
.bm-shot::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 46%, rgba(6,6,6,.86) 100%);
}
.bm-shot-label {
  position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 2;
  text-align: left;
}
.bm-shot-label strong {
  display: block; font-family: 'Inter Tight', Inter, sans-serif;
  font-size: 1rem; font-weight: 600; color: #fff; letter-spacing: -.015em;
}
.bm-shot-label span { font-size: .78rem; color: rgba(255,255,255,.66); }

.bm-inside-main .bm-shot { height: 100%; min-height: 430px; }
.bm-inside-side .bm-shot { height: 100%; min-height: 207px; }

.bm-inside-note {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); padding: var(--s-5) var(--s-5);
  display: flex; flex-direction: column; justify-content: center;
}
.bm-inside-note strong {
  display: block; font-family: 'Inter Tight', Inter, sans-serif;
  font-size: 1.75rem; font-weight: 700; color: var(--brand);
  letter-spacing: -.03em; line-height: 1; margin-bottom: var(--s-2);
}
.bm-inside-note span { font-size: .84rem; color: var(--text-3); line-height: 1.55; }

/* ==========================================================================
   21. RESPONSIVE ADDITIONS
   ========================================================================== */
@media (max-width: 1080px) {
  .bm-hero-grid { grid-template-columns: 1fr; gap: var(--s-7); }
  .bm-creds-inner { grid-template-columns: 1fr; gap: var(--s-5); }
  .bm-creds-badges { justify-content: flex-start; }
  .bm-inside { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .bm-inside-main { grid-row: span 1; grid-column: span 2; }
  .bm-inside-main .bm-shot { min-height: 380px; }
  .bm-inside-side .bm-shot { min-height: 260px; }
}

@media (max-width: 620px) {
  .bm-inside { grid-template-columns: 1fr; }
  .bm-inside-main { grid-column: span 1; }
  .bm-inside-main .bm-shot { min-height: 300px; }
  .bm-inside-side .bm-shot { min-height: 230px; }
  .bm-creds-badges { gap: var(--s-5); }
  .bm-creds-badges { flex-direction: column; }
  .bm-cred { border-left: 0; border-top: 1px solid var(--line); padding: var(--s-5); }
  .bm-cred:first-child { border-top: 0; }
  .bm-cred img { height: 42px; }
  .bm-cred--ink img { height: 54px; }
  .bm-cred-note { display: none; }
  .bm-showreel-tag { left: 12px; top: 12px; font-size: .62rem; padding: 6px 10px; }
  .bm-showreel-toggle { right: 12px; bottom: 12px; width: 38px; height: 38px; }
}

/* Reduced motion: never autoplay, show the poster and the play control */
@media (prefers-reduced-motion: reduce) {
  .bm-showreel .bm-ico-pause { display: none; }
  .bm-showreel .bm-ico-play { display: block; }
}


/* Hero type is tuned for the split layout — the full-width scale is too large
   once the showreel occupies half the row. */
.bm-hero-grid .bm-h1 {
  font-size: clamp(2.05rem, 3.25vw, 3.1rem);
  letter-spacing: -.032em;
  line-height: 1.06;
  max-width: 13ch;
}
.bm-hero-grid .bm-lead { font-size: clamp(.97rem, 1.15vw, 1.04rem); max-width: 48ch; }
.bm-hero-grid .bm-hero-ctas { margin-top: var(--s-6); }
.bm-hero-grid .bm-hero-ctas { gap: 10px; }
.bm-hero-grid .bm-hero-ctas .bm-btn { padding: 13px 19px; font-size: .92rem; }

@media (max-width: 1080px) {
  .bm-hero-grid .bm-h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); max-width: 16ch; }
  .bm-showreel { max-width: 640px; }
}
@media (max-width: 620px) {
  .bm-hero-grid .bm-h1 { font-size: clamp(2rem, 8.6vw, 2.6rem); max-width: 14ch; }
  .bm-brand img { height: 34px; }
}

/* Long eyebrow labels should stay on one line on phones */
@media (max-width: 620px) {
  .bm-eyebrow { font-size: .655rem; letter-spacing: .075em; padding: 6px 12px; }
}
