/* Block Mondo Blazor Design System
   Option A: Product/Login default
   Option B: Campaign/CTA
*/

:root {
  --bm-navy: #0B1F33;
  --bm-slate: #334D5C;
  --bm-teal: #2FB7A3;
  --bm-ice: #E6EBF0;
  --bm-white: #F5F7FA;
  --bm-pure-white: #FFFFFF;
  --bm-border: #D7DEE6;
  --bm-muted: #64748B;

  --bm-font-heading: "Segoe UI", sans-serif;
  --bm-font-body: "Segoe UI", sans-serif;

  --bm-radius-sm: 8px;
  --bm-radius-md: 8px;
  --bm-radius-lg: 8px;
  --bm-radius-pill: 999px;

  --bm-shadow-soft: 0 10px 28px rgba(11, 31, 51, 0.08);
  --bm-shadow-card: 0 20px 54px rgba(11, 31, 51, 0.12);

  --bm-container-gutter: 24px;
  --bm-container-gutter-mobile: 28px;
  --bm-section-y: 96px;
  --bm-section-y-sm: 64px;
  --bm-section-y-mobile: 56px;
  --bm-section-y-compact-mobile: 40px;
  --bm-gap-xl: 64px;
  --bm-gap-lg: 56px;
  --bm-gap-md: 32px;
  --bm-gap-sm: 18px;
}

.theme-primary {
  --theme-bg: var(--bm-white);
  --theme-surface: var(--bm-pure-white);
  --theme-text: var(--bm-navy);
  --theme-text-muted: var(--bm-slate);
  --theme-accent: var(--bm-teal);
  --theme-border: var(--bm-border);
  --theme-logo-mode: color;
}

.theme-dark {
  --theme-bg: var(--bm-navy);
  --theme-surface: var(--bm-pure-white);
  --theme-text: var(--bm-pure-white);
  --theme-text-muted: rgba(245,247,250,.78);
  --theme-accent: var(--bm-teal);
  --theme-border: rgba(255,255,255,.14);
  --theme-logo-mode: reversed;
}

.theme-teal {
  --theme-bg: var(--bm-teal);
  --theme-surface: var(--bm-pure-white);
  --theme-text: var(--bm-navy);
  --theme-text-muted: rgba(11,31,51,.78);
  --theme-accent: var(--bm-navy);
  --theme-border: rgba(255,255,255,.38);
  --theme-logo-mode: reversed;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--bm-font-body);
  background: var(--theme-bg, var(--bm-white));
  color: var(--theme-text, var(--bm-navy));
}

a { color: var(--bm-teal); }

.bm-container {
  width: min(1120px, calc(100% - (var(--bm-container-gutter) * 2)));
  margin: 0 auto;
}

.bm-section {
  padding: var(--bm-section-y) 0;
}

.bm-section.theme-teal,
.bm-section.theme-dark {
  background: var(--theme-bg);
}

.bm-section:not(.theme-teal):not(.theme-dark):not(.bm-band) + .bm-section:not(.theme-teal):not(.theme-dark):not(.bm-band) {
  border-top: 1px solid rgba(11, 31, 51, .08);
}

.bm-section-sm { padding: var(--bm-section-y-sm) 0; }

.bm-heading {
  margin: 0;
  font-family: var(--bm-font-heading);
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.06;
  letter-spacing: 0;
  font-weight: 700;
  color: var(--theme-text);
}

.bm-display {
  margin: 0;
  font-family: var(--bm-font-heading);
  font-size: clamp(44px, 7vw, 76px);
  line-height: .98;
  letter-spacing: 0;
  font-weight: 760;
  color: var(--theme-text);
}

.bm-subheading {
  margin: 18px 0 0;
  max-width: 760px;
  color: var(--theme-text-muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.bm-body { font-size: 16px; line-height: 1.7; color: var(--theme-text-muted); }

.bm-card {
  display: block;
  box-sizing: border-box;
  width: 100%;
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: var(--bm-radius-lg);
  box-shadow: var(--bm-shadow-soft);
  padding: 28px;
}

.bm-card h2,
.bm-card h3 {
  margin: 0 0 10px;
  color: var(--bm-navy);
  font-family: var(--bm-font-heading);
  font-size: 22px;
  line-height: 1.18;
}

.bm-content-card .bm-check-list {
  margin-bottom: 20px;
}

.bm-content-card .bm-check-list + .bm-body {
  margin-top: 0;
}

.bm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: var(--bm-radius-pill);
  padding: 0 22px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.bm-button::part(control) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: inherit;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: inherit;
  box-shadow: none;
  font: inherit;
  text-decoration: none;
}

.bm-button-full {
  width: 100%;
}

.bm-button-primary {
  background: var(--bm-teal);
  color: var(--bm-pure-white);
  border-color: var(--bm-teal);
}

.bm-button-secondary {
  background: var(--bm-pure-white);
  color: var(--bm-navy);
  border-color: var(--bm-border);
}

.theme-dark .bm-button-secondary,
.theme-teal .bm-button-secondary {
  background: rgba(255,255,255,.95);
  color: var(--bm-navy);
}

.bm-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.bm-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--theme-text);
  text-decoration: none;
  font-weight: 500;
}

.bm-logo::part(control) {
  color: inherit;
  text-decoration: none;
}

.bm-logo-content {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.bm-logo-mark {
  width: 34px;
  height: 34px;
}

.bm-logo-word {
  font-family: var(--bm-font-heading);
  font-weight: 800;
  letter-spacing: 0.0em;
}

.bm-logo-word span { color: var(--bm-teal); }

.bm-nav-links fluent-anchor,
.bm-footer-links fluent-anchor {
  color: var(--theme-text);
  font-weight: 600;
  text-decoration: none;
}

.bm-nav-links fluent-anchor::part(control),
.bm-footer-links fluent-anchor::part(control) {
  color: inherit;
  text-decoration: none;
}

.bm-nav-links fluent-anchor:hover,
.bm-footer-links fluent-anchor:hover {
  color: var(--bm-teal);
}

.bm-footer-social-link {
  color: var(--theme-text);
  font-weight: 600;
  text-decoration: none;
}

.bm-footer-social-link::part(control) {
  color: inherit;
  text-decoration: none;
}

.bm-footer-social-link:hover {
  color: var(--bm-teal);
}

.bm-tagline {
  display: block;
  font-size: 10px;
  letter-spacing: .20em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--theme-text-muted);
}

/* Option A: product/login */
.bm-login-shell {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: var(--theme-bg);
}

.bm-login-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px 34px;
  position: relative;
  z-index: 2;
}

.bm-login-main {
  min-height: calc(100vh - 130px);
  display: grid;
  place-items: center;
  padding: 24px;
  position: relative;
  z-index: 2;
}

.bm-login-card {
  width: min(430px, 100%);
  background: var(--bm-pure-white);
  border: 1px solid var(--bm-border);
  border-radius: 18px;
  box-shadow: var(--bm-shadow-soft);
  padding: 36px;
  color: var(--bm-navy);
}

.bm-login-card h1 {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.1;
  text-align: center;
  color: var(--bm-navy);
}

.bm-login-card p {
  margin: 0 0 28px;
  text-align: center;
  color: var(--bm-slate);
}

.bm-form-field { margin-bottom: 16px; }
.bm-form-field label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 800;
  color: var(--bm-navy);
}
.bm-input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--bm-border);
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
  box-sizing: border-box;
}

.bm-fluent-field {
  width: 100%;
  --neutral-fill-input-rest: var(--bm-pure-white);
  --neutral-fill-input-hover: var(--bm-pure-white);
  --neutral-fill-input-focus: var(--bm-pure-white);
  --neutral-fill-input-active: var(--bm-pure-white);
  --neutral-foreground-rest: var(--bm-navy);
  --neutral-stroke-input-rest: var(--bm-border);
  --neutral-stroke-input-hover: var(--bm-slate);
  --neutral-stroke-input-focus: var(--bm-teal);
}

.bm-form-field fluent-text-field,
.bm-form-field fluent-text-area,
.bm-form-field fluent-select {
  width: 100%;
}

.bm-fluent-field::part(root),
.bm-fluent-field::part(control),
.bm-form-field fluent-text-field::part(root),
.bm-form-field fluent-text-field::part(control),
.bm-form-field fluent-text-area::part(root),
.bm-form-field fluent-text-area::part(control),
.bm-form-field fluent-select::part(root),
.bm-form-field fluent-select::part(control) {
  background: var(--bm-pure-white);
  color: var(--bm-navy);
}

.bm-form-field fluent-text-field::part(control),
.bm-form-field fluent-text-area::part(control),
.bm-form-field fluent-select::part(control) {
  border: 1px solid var(--bm-border);
  border-radius: 8px;
}

.bm-form-field fluent-text-field::part(root) {
  min-height: 46px;
  border: 1px solid var(--bm-border);
  border-radius: 8px;
  background: var(--bm-pure-white);
}

.bm-form-field fluent-text-field::part(control) {
  min-height: 44px;
  border: 0;
  padding: 0 12px;
}

.bm-login-footer {
  text-align: center;
  color: var(--theme-text-muted);
  font-size: 13px;
  padding-bottom: 24px;
  position: relative;
  z-index: 2;
}

.bm-login-footer p {
  margin: 0;
}

.bm-login-footer .bm-footer-credit {
  margin-top: 6px;
}

.bm-block-motif {
  position: absolute;
  inset: auto -50px -50px auto;
  width: 360px;
  height: 360px;
  opacity: .07;
  pointer-events: none;
}

/* Option B: campaign/CTA */
.bm-campaign-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  background: var(--theme-bg);
}

.bm-campaign-panel {
  position: relative;
  overflow: hidden;
  padding: 40px;
  color: var(--theme-text);
}

.bm-campaign-content {
  position: relative;
  z-index: 2;
  max-width: 610px;
  margin-top: 110px;
}

.bm-campaign-content .bm-display {
  max-width: 560px;
}

.bm-campaign-form-panel {
  background: var(--bm-white);
  display: grid;
  place-items: center;
  padding: 40px;
}

.bm-campaign-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
}

.bm-benefit {
  border-left: 1px solid rgba(255,255,255,.36);
  padding-left: 16px;
}

.theme-primary .bm-benefit {
  border-left-color: var(--bm-border);
}

.bm-benefit strong {
  display: block;
  margin-bottom: 6px;
}

.bm-eyebrow {
  margin-bottom: 12px;
  color: var(--theme-accent, var(--bm-teal));
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.bm-site-shell {
  min-height: 100vh;
  background: var(--theme-bg);
}

.bm-site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(245,247,250,.92);
  border-bottom: 1px solid var(--bm-border);
  backdrop-filter: blur(16px);
}

.bm-nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.bm-nav-cta {
  display: block;
}

.bm-nav-links,
.bm-footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.bm-nav-links a,
.bm-footer-links a {
  color: var(--bm-slate);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.bm-nav-links a:hover,
.bm-footer-links a:hover {
  color: var(--bm-teal);
}

.bm-menu-toggle,
.bm-menu-close {
  display: none;
}

.bm-mobile-drawer-backdrop,
.bm-mobile-drawer {
  display: none;
}

.bm-site-footer {
  border-top: 1px solid var(--bm-border);
  background: var(--bm-pure-white);
  padding: 44px 0;
}

.bm-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 32px;
  align-items: start;
}

.bm-footer-legal {
  margin-top: 28px;
  text-align: center;
}

.bm-footer-credit {
  margin: 6px 0 0;
  color: var(--bm-muted);
  font-size: 12px;
  line-height: 1.5;
}

.bm-footer-copyright {
  margin: 0;
  color: var(--bm-muted);
  font-size: 12px;
  line-height: 1.5;
}

.bm-footer-links {
  flex-wrap: wrap;
}

.bm-hero,
.bm-page-hero {
  position: relative;
  overflow: hidden;
  padding: 108px 0 86px;
  background:
    radial-gradient(circle at 86% 18%, rgba(47,183,163,.28), transparent 32%),
    linear-gradient(135deg, var(--bm-navy), #10283f);
  color: var(--theme-text);
}

.bm-page-hero {
  padding: 86px 0 78px;
}

.bm-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, .94fr);
  gap: 52px;
  align-items: center;
}

.bm-page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 56px;
  align-items: center;
}

.bm-founder-portrait {
  display: block;
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--bm-radius-lg);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 24px 70px rgba(0,0,0,.22);
}

.bm-founder-profile {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.bm-founder-profile .bm-founder-portrait {
  aspect-ratio: 1;
  max-width: 360px;
  max-height: none;
  border: 1px solid var(--bm-border);
  border-radius: 50%;
  box-shadow: var(--bm-shadow-card);
}

.bm-founder-profile-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.bm-founder-title {
  margin: 14px 0 4px;
  color: var(--bm-teal);
  font-size: 20px;
  font-weight: 800;
}

.bm-founder-profile-copy {
  min-width: 0;
  padding-top: 30px;
}

.bm-page-hero-copy {
  max-width: 660px;
}

.bm-page-hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bm-page-hero-illustration {
  display: block;
  width: 100%;
  max-width: 700px;
  height: auto;
  filter: drop-shadow(0 24px 42px rgba(0,0,0,.22));
}

.bm-page-hero-art-compact {
  justify-content: flex-end;
}

.bm-page-hero-art-compact .bm-page-hero-illustration {
  max-width: 460px;
}

.bm-anchor-line {
  margin: 32px 0 0;
  color: rgba(245,247,250,.74);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.bm-network-visual {
  min-height: 430px;
  position: relative;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--bm-radius-lg);
  background:
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 42px 42px;
  box-shadow: inset 0 0 0 1px rgba(47,183,163,.12), 0 24px 70px rgba(0,0,0,.22);
}

.bm-network-visual::before,
.bm-network-visual::after {
  content: "";
  position: absolute;
  inset: 18% 12%;
  border: 1px solid rgba(47,183,163,.35);
  transform: rotate(-12deg);
}

.bm-network-visual::after {
  inset: 31% 18%;
  transform: rotate(17deg);
  border-color: rgba(255,255,255,.25);
}

.bm-network-node {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bm-teal);
  box-shadow: 0 0 0 10px rgba(47,183,163,.13), 0 0 28px rgba(47,183,163,.7);
}

.bm-node-a { top: 18%; left: 24%; }
.bm-node-b { top: 32%; right: 18%; }
.bm-node-c { bottom: 24%; left: 18%; }
.bm-node-d { bottom: 18%; right: 30%; }

.bm-network-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(250px, calc(100% - 48px));
  transform: translate(-50%, -50%);
  padding: 24px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--bm-radius-lg);
  background: rgba(11,31,51,.82);
  backdrop-filter: blur(12px);
}

.bm-network-panel span,
.bm-network-panel small {
  display: block;
  color: rgba(245,247,250,.7);
}

.bm-network-panel strong {
  display: block;
  margin: 8px 0;
  color: var(--bm-pure-white);
  font-size: 24px;
  line-height: 1.1;
}

.bm-split {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: start;
}

.bm-lead {
  font-size: 18px;
}

.bm-section-header {
  max-width: 820px;
  margin-bottom: 34px;
}

.bm-card-grid {
  display: grid;
  gap: 22px;
}

.bm-card-grid > article {
  min-width: 0;
}

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

.bm-card-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bm-feature-list {
  display: grid;
  gap: 16px;
}

.bm-band {
  background: var(--bm-ice);
}

.bm-check-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.bm-check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--theme-text-muted, var(--bm-slate));
  line-height: 1.55;
}

.bm-check-list li::before {
  content: "";
  position: absolute;
  top: .62em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bm-teal);
}

.bm-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bm-timeline li,
.bm-process-list li {
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-lg);
  background: var(--bm-pure-white);
  padding: 22px;
}

.bm-timeline li {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 190px;
}

.bm-process-list span {
  display: block;
  margin-bottom: 12px;
  color: var(--bm-teal);
  font-size: 13px;
  font-weight: 900;
}

.bm-timeline span,
.bm-sprint-card-small span {
  display: inline;
  margin: 0 8px 0 0;
  color: var(--bm-teal);
  font-size: 13px;
  font-weight: 900;
}

.bm-timeline strong,
.bm-sprint-card-small strong {
  display: block;
  color: var(--bm-navy);
  line-height: 1.25;
}

.bm-sprint-card-small-illustration {
  display: block;
  width: 120px;
  object-fit: contain;
  align-self: center;
  justify-self: center;
  margin-top: 18px;
}

.bm-sprint-meta {
  display: grid;
  gap: 11px;
  margin: 18px 0 0;
}

.bm-sprint-meta div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
}

.bm-sprint-meta dt {
  color: var(--bm-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.bm-sprint-meta dd {
  margin: 0;
  color: var(--bm-navy);
  font-weight: 700;
}

.bm-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.bm-proof-grid div {
  min-height: 92px;
  display: flex;
  align-items: center;
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-lg);
  background: var(--bm-pure-white);
  padding: 20px;
  color: var(--bm-navy);
  font-weight: 750;
  line-height: 1.35;
}

.bm-founder-manifesto {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(360px, 1.18fr);
  gap: 72px;
  align-items: start;
}

.bm-founder-manifesto .bm-lead {
  margin-top: 22px;
  max-width: 520px;
}

.bm-principle-list,
.bm-featured-bullets {
  display: grid;
  border-top: 1px solid rgba(11, 31, 51, .14);
}

.bm-principle-list div,
.bm-featured-bullets div {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 74px;
  border-bottom: 1px solid rgba(11, 31, 51, .14);
}

.bm-principle-list span,
.bm-featured-bullets span {
  color: var(--bm-teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
}

.bm-principle-list strong,
.bm-featured-bullets strong {
  color: var(--bm-navy);
  font-size: 19px;
  line-height: 1.32;
}

.bm-founder-evidence {
  background: var(--bm-pure-white);
}

.bm-founder-links {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.bm-founder-link {
  display: block;
  width: 100%;
  color: var(--bm-navy);
  font-weight: 700;
  text-decoration: none;
}

.bm-founder-link::part(control) {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  justify-content: flex-start;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-lg);
  background: var(--bm-white);
  padding: 16px 18px;
  white-space: normal;
}

.bm-founder-link:hover {
  color: var(--bm-teal);
}

.bm-final-cta .bm-heading {
  max-width: 820px;
}

.bm-process-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bm-process-list li {
  display: grid;
  grid-template-columns: 56px 78px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.bm-process-list h2,
.bm-workshop-feature h2 {
  margin: 0;
  color: var(--bm-navy);
  font-size: 26px;
  line-height: 1.15;
}

.bm-sprint-card-large {
  min-height: 0;
}

.bm-sprint-card-content {
  min-width: 0;
}

.bm-sprint-card-large-illustration-wrap {
  width: 260px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 16px 56px 16px 4px;
  background: transparent;
}

.bm-sprint-card-large-illustration {
  display: block;
  width: 200px;
  height: auto;
  object-fit: contain;
}

.bm-process-illustration {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.bm-service-sequence {
  display: grid;
  gap: 18px;
}

.bm-service-sequence > article {
  min-width: 0;
}

.bm-service-sequence .bm-sprint-card-large {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
  align-items: center;
}

.bm-service-sequence .bm-sprint-card-large .bm-sprint-card-large-illustration-wrap {
  grid-column: 2;
}

.bm-cta-row,
.bm-workshop-feature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.bm-cta-card {
  display: grid;
  align-content: center;
  justify-items: start;
}

.bm-contact-grid {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 52px;
  align-items: start;
}

.bm-contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.bm-contact-form .bm-form-field {
  margin-bottom: 0;
}

.bm-form-field-full {
  grid-column: 1 / -1;
}

.bm-textarea {
  min-height: 132px;
  padding-top: 12px;
  resize: vertical;
}

.bm-gallery-stack {
  display: grid;
  gap: 28px;
}

.bm-gallery-panel fluent-stack {
  width: 100%;
}

.bm-gallery-inline-stack {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 18px;
}

.bm-gallery-inline-stack > * {
  flex: 0 0 auto;
}

.bm-gallery-panel {
  border-top: 1px solid var(--bm-border);
  padding-top: 28px;
}

.bm-gallery-panel h2 {
  margin: 0;
  color: var(--bm-navy);
  font-family: var(--bm-font-heading);
  font-size: 24px;
  line-height: 1.15;
}

.bm-gallery-panel p {
  margin: 8px 0 0;
  max-width: 820px;
  color: var(--bm-slate);
  line-height: 1.65;
}

.bm-gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.bm-gallery-component-name {
  margin-bottom: 10px;
  color: var(--bm-teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.bm-gallery-grid {
  display: grid;
  gap: 18px;
}

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

.bm-gallery-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bm-gallery-sample,
.bm-theme-swatch,
.bm-token {
  min-height: 132px;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--theme-border, var(--bm-border));
  border-radius: var(--bm-radius-sm);
  background: var(--theme-bg, var(--bm-pure-white));
  color: var(--theme-text, var(--bm-navy));
}

.bm-gallery-sample {
  width: min(100%, 250px);
}

.bm-theme-swatch {
  width: min(100%, 250px);
}

.bm-token {
  width: min(100%, 92px);
}

.bm-gallery-sample span,
.bm-theme-swatch span {
  color: var(--theme-text-muted, var(--bm-muted));
  font-size: 14px;
}

.bm-gallery-component-frame {
    display: grid;
    gap: 16px;
    min-width: 0;
    padding: 10px 0px 10px 0px;
    border-radius: var(--bm-radius-lg);
    background: transparent;
}

.bm-gallery-sprint-banner-frame {
  border: 0;
}

.bm-gallery-sprint-banner-frame > .bm-gallery-component-name {
  margin: 0 0 6px;
}

.bm-gallery-scroll-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 12px;
}

.bm-gallery-image-tile {
  flex: 0 0 auto;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 14px;
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-lg);
  background: var(--bm-pure-white);
}

.bm-gallery-image-tile strong {
  color: var(--bm-navy);
  font-size: 13px;
  line-height: 1.25;
}

.bm-gallery-image-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bm-gallery-image-tile-hero {
  width: 350px;
}

.bm-gallery-image-tile-hero img {
  height: 350px;
}

.bm-gallery-image-tile-storyset {
  width: 250px;
}

.bm-gallery-image-tile-storyset img {
  height: 250px;
}

.bm-gallery-form-wrap {
  display: grid;
  justify-items: start;
}

.bm-theme-swatch {
  min-height: 190px;
}

.bm-token-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.bm-token {
  min-width: 50px;
  min-height: 118px;
  padding: 14px;
}

.bm-token-swatch {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(11,31,51,.12);
  border-radius: 50%;
}

.bm-token-swatch-navy { background: #0B1F33; }
.bm-token-swatch-slate { background: #334D5C; }
.bm-token-swatch-teal { background: #2FB7A3; }
.bm-token-swatch-ice { background: #E6EBF0; }
.bm-token-swatch-white { background: #F5F7FA; }
.bm-token-swatch-pure-white { background: #FFFFFF; }

.bm-token code {
  color: var(--bm-muted);
  font-size: 13px;
}

@media (max-width: 900px) {
  .bm-container {
    width: min(1120px, calc(100% - (var(--bm-container-gutter-mobile) * 2)));
  }

  .bm-section {
    padding: var(--bm-section-y-mobile) 0;
  }

  .bm-section-sm {
    padding: var(--bm-section-y-compact-mobile) 0;
  }

  .bm-display {
    font-size: clamp(40px, 12vw, 58px);
    line-height: 1.02;
  }

  .bm-heading {
    font-size: clamp(30px, 8vw, 42px);
    line-height: 1.08;
  }

  .bm-subheading {
    font-size: 18px;
  }

  .bm-body {
    font-size: 16px;
  }

  .bm-nav {
    min-height: 76px;
    padding: 10px 0;
    align-items: center;
    flex-direction: row;
  }

  .bm-nav-links {
    display: none;
  }

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

  .bm-menu-toggle {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--bm-border);
    border-radius: var(--bm-radius-lg);
    background: var(--bm-pure-white);
    color: var(--bm-navy);
    box-shadow: var(--bm-shadow-soft);
    cursor: pointer;
    margin-left: auto;
  }

  .bm-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
  }

  .bm-mobile-drawer-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 30;
    background: rgba(11, 31, 51, .42);
  }

  .bm-mobile-drawer {
    display: grid;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 31;
    width: min(340px, calc(100vw - (var(--bm-container-gutter-mobile) * 2)));
    height: 100dvh;
    grid-template-rows: auto 1fr auto;
    gap: 28px;
    padding: 22px;
    background: var(--bm-white);
    border-left: 1px solid var(--bm-border);
    box-shadow: -20px 0 50px rgba(11, 31, 51, .18);
  }

  .bm-mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
  }

  .bm-menu-close {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid var(--bm-border);
    border-radius: var(--bm-radius-lg);
    background: var(--bm-pure-white);
    color: var(--bm-navy);
    cursor: pointer;
  }

  .bm-menu-close span {
    position: absolute;
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
  }

  .bm-menu-close span:first-child {
    transform: rotate(45deg);
  }

  .bm-menu-close span:last-child {
    transform: rotate(-45deg);
  }

  .bm-mobile-nav-links {
    display: grid;
    align-content: start;
    gap: 6px;
  }

  .bm-mobile-nav-links a {
    color: var(--bm-navy);
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--bm-border);
  }

  .bm-mobile-nav-links a:hover {
    color: var(--bm-teal);
  }

  .bm-mobile-drawer .bm-button {
    width: 100%;
  }

  .bm-hero-grid,
  .bm-page-hero-grid,
  .bm-split,
  .bm-founder-profile,
  .bm-founder-manifesto,
  .bm-contact-grid,
  .bm-footer-grid {
    grid-template-columns: 1fr;
    gap: var(--bm-gap-md);
  }

  .bm-hero,
  .bm-page-hero {
    padding: var(--bm-section-y-mobile) 0;
  }

  .bm-card {
    padding: 22px;
  }

  .bm-network-visual {
    min-height: 320px;
  }

  .bm-card-grid-2,
  .bm-card-grid-3,
  .bm-timeline,
  .bm-proof-grid {
    grid-template-columns: 1fr;
  }

  .bm-timeline li {
    min-height: auto;
  }

  .bm-sprint-card-small-illustration {
    width: 96px;
  }

  .bm-sprint-meta div {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .bm-process-list li {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .bm-contact-form {
    grid-template-columns: 1fr;
  }

  .bm-process-list li span {
    grid-column: 1;
  }
  .bm-process-illustration {
    grid-column: 1;
    grid-row: 2;
  }
  .bm-process-list li > div {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
  .bm-service-sequence .bm-sprint-card-large {
    grid-template-columns: 1fr;
  }

  .bm-service-sequence .bm-sprint-card-large .bm-sprint-card-large-illustration-wrap {
    grid-column: 1;
    width: 100%;
    padding: 18px 0 0;
    justify-content: center;
  }

  .bm-sprint-card-large-illustration {
    width: min(180px, 70vw);
  }

  .bm-cta-row,
  .bm-workshop-feature {
    align-items: flex-start;
    flex-direction: column;
  }
  .bm-campaign-shell { grid-template-columns: 1fr; }
  .bm-campaign-content { margin-top: 64px; }
  .bm-campaign-benefits { grid-template-columns: 1fr; }

  .bm-gallery-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .bm-gallery-grid-2,
  .bm-gallery-grid-3,
  .bm-token-row {
    grid-template-columns: 1fr;
  }

  .bm-gallery-inline-stack {
    gap: 14px;
  }

  .bm-gallery-sample,
  .bm-theme-swatch {
    width: min(100%, 280px);
  }

  .bm-gallery-image-tile-hero {
    width: 300px;
  }

  .bm-gallery-image-tile-hero img {
    height: 300px;
  }

  .bm-gallery-image-tile-storyset {
    width: 220px;
  }

  .bm-gallery-image-tile-storyset img {
    height: 220px;
  }

  .bm-page-hero-art {
    justify-content: flex-start;
  }

  .bm-founder-profile-copy {
    padding-top: 0;
  }

  .bm-founder-profile-intro {
    align-items: center;
    text-align: center;
  }

  .bm-founder-profile .bm-founder-portrait {
    max-width: min(320px, 78vw);
  }

  .bm-featured-bullets div {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
  }

  .bm-featured-bullets strong {
    font-size: 18px;
  }

  .bm-page-hero-illustration {
    width: 100%;
    max-width: 520px;
  }
}

@media (max-width: 640px) {
  .bm-site-footer {
    padding: 34px 0;
  }

  .bm-footer-grid {
    gap: 24px;
    justify-items: center;
    text-align: center;
  }

  .bm-footer-links {
    display: none;
  }

  .bm-site-footer .bm-logo {
    justify-content: center;
  }

  .bm-button-row {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .bm-button-row .bm-button {
    width: 100%;
  }

  .bm-button {
    min-height: 46px;
    padding: 0 18px;
  }

  .bm-card {
    padding: 20px;
  }

  .bm-login-card {
    padding: 28px 22px;
  }

  .bm-login-header {
    padding: 20px var(--bm-container-gutter-mobile);
  }

  .bm-login-main {
    min-height: auto;
    padding: 24px var(--bm-container-gutter-mobile) 40px;
  }

  .bm-block-motif {
    width: 220px;
    height: 220px;
  }

  .bm-campaign-panel,
  .bm-campaign-form-panel {
    padding: 32px var(--bm-container-gutter-mobile);
  }

  .bm-campaign-content {
    margin-top: 36px;
  }

  .bm-campaign-benefits {
    gap: 14px;
    margin-top: 32px;
  }

  .bm-benefit {
    padding-left: 12px;
  }

  .bm-sprint-meta div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .bm-service-sequence {
    gap: 14px;
  }

  .bm-featured-bullets div {
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: auto;
    padding: 18px 0;
  }

  .bm-gallery-sample,
  .bm-theme-swatch,
  .bm-token {
    width: 100%;
  }

  .bm-gallery-image-tile-hero {
    width: 260px;
  }

  .bm-gallery-image-tile-hero img {
    height: 260px;
  }

  .bm-gallery-image-tile-storyset {
    width: 190px;
  }

  .bm-gallery-image-tile-storyset img {
    height: 190px;
  }
}
