.bm-v2 {
  --bm-panel: #e8f2f8;
  --bm-faint: #f8fbfd;
  --bm-on-dark: #cbdde9;
  --bm-radius: 18px;
}

.bm-v2 h2 { color: var(--navy); }
.bm-v2 .bm-hero { padding-top: clamp(40px, 6.2vw, 88px); }
.bm-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  align-items: center;
  gap: clamp(24px, 4.5vw, 70px);
}
.bm-hero-copy h1 {
  margin: 0 0 24px;
  color: var(--navy);
  font-size: clamp(2.8rem, 5.05vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -.04em;
  text-wrap: initial;
}
.bm-hero-copy h1 span { color: var(--blue); }
.bm-hero-copy .lead { max-width: 40ch; }
.bm-hero-copy .actions { margin-top: clamp(22px, 3vw, 32px); }
.bm-hero-copy .actions .btn--outline { border-color: #a5bdce; }
.bm-hero-figure {
  display: grid;
  grid-template-rows: minmax(230px, 1fr) auto;
  align-self: stretch;
  min-height: 510px;
  overflow: hidden;
  background: var(--blue);
  border-radius: var(--bm-radius);
  box-shadow: var(--shadow);
}
.bm-hero-photo { position: relative; overflow: hidden; }
.bm-hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
.bm-hero-caption {
  padding: clamp(22px, 2.6vw, 34px);
  color: var(--white);
}
.bm-hero-kicker {
  color: var(--accent);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.bm-v2 .bm-hero-caption h2 {
  margin-top: 6px;
  color: var(--white);
  font-size: clamp(2.4rem, 3.8vw, 3.2rem);
  font-weight: 800;
}
.bm-hero-benefit {
  max-width: 43ch;
  margin-top: 12px;
  color: var(--bm-on-dark);
  font-size: .94rem;
  line-height: 1.6;
}
.bm-hero-caption .btn { margin-top: 20px; }
.bm-hero-caption a,
.bm-link {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  min-height: 44px;
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none;
}
.bm-hero-caption a:hover,
.bm-link:hover { text-decoration: underline; }
.bm-hero-caption a span,
.bm-link span { flex: none; }
.bm-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: clamp(34px, 5vw, 62px) 0 0;
  padding: clamp(20px, 3vw, 36px) 0;
  border-block: 1px solid var(--line);
  list-style: none;
}
.bm-trust li {
  padding-inline: clamp(16px, 4vw, 55px);
  line-height: 1.25;
}
.bm-trust li:first-child { padding-inline-start: 0; }
.bm-trust li + li { border-inline-start: 1px solid var(--line); }
.bm-trust strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: clamp(1.12rem, 2vw, 1.53rem);
  letter-spacing: -.04em;
}
.bm-trust span { color: var(--muted); font-size: .875rem; }

.bm-catalog { background: var(--bm-faint); }
.bm-section-heading {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: end;
  gap: 18px 28px;
}
.bm-section-heading .lead { max-width: 40ch; }
.bm-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: clamp(22px, 3vw, 36px) 0 36px;
}
.bm-filters button {
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid #a5bdce;
  border-radius: 100px;
  background: var(--white);
  color: var(--blue);
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.25;
  transition: color .2s, background-color .2s, border-color .2s;
}
.bm-filters button:hover { background: var(--bm-panel); }
.bm-filters button[aria-pressed="true"] {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}
.bm-filters[hidden] ~ .bm-catalog-groups { margin-top: 36px; }
.bm-catalog-groups { display: grid; gap: clamp(30px, 4vw, 52px); }
.bm-group-title {
  margin-bottom: 16px;
  color: var(--blue);
  font-size: .93rem;
  font-weight: 800;
  letter-spacing: 0;
  text-wrap: initial;
}
.bm-feature-grid {
  display: grid;
  grid-template-columns: 1.07fr 1fr;
  gap: clamp(14px, 2vw, 24px);
  margin-bottom: clamp(14px, 2vw, 24px);
}
.bm-feature {
  display: grid;
  overflow: hidden;
  color: var(--navy);
  border-radius: var(--bm-radius);
}
.bm-feature--bakery {
  grid-template-columns: minmax(105px, .73fr) 1fr;
  border: 1px solid var(--line);
  background: var(--white);
}
.bm-feature-content { padding: clamp(20px, 2.65vw, 38px); }
.bm-feature-content > h4 {
  margin: 7px 0 10px;
  font-size: clamp(1.85rem, 2.65vw, 2.65rem);
  font-weight: 800;
  text-wrap: initial;
}
.bm-feature-content > p:not(.bm-category),
.bm-catalog-row > p { color: var(--muted); }
.bm-feature-content .bm-link { margin-top: 9px; }
.bm-feature-media { position: relative; min-height: 100%; }
.bm-feature-media img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 53% center;
}
.bm-feature--retail {
  position: relative;
  isolation: isolate;
  background: radial-gradient(ellipse at top right, #17628e, transparent 62%), var(--blue);
  color: var(--white);
}
.bm-feature--retail > .bm-feature-content { z-index: 1; }
.bm-feature--retail .bm-feature-content > p,
.bm-feature--retail .bm-link { color: var(--white); }
.bm-retail-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0 5px;
  padding: 0;
  list-style: none;
}
.bm-retail-list li {
  padding: 4px 10px;
  border: 1px solid #ffffff60;
  border-radius: 100px;
  color: var(--white);
  font-size: .75rem;
  line-height: 1.5;
}
.bm-category {
  color: var(--blue);
  font-size: .75rem;
  font-weight: 800;
  line-height: 1.5;
}
.bm-catalog-row {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.36fr) minmax(0, .76fr);
  align-items: center;
  gap: 6px clamp(16px, 3vw, 42px);
  padding: clamp(18px, 2.25vw, 28px) clamp(16px, 2.6vw, 36px);
  border-top: 1px solid var(--line);
}
.bm-catalog-row--construction {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bm-panel);
}
.bm-catalog-group--list .bm-catalog-row:last-child { border-bottom: 1px solid var(--line); }
.bm-catalog-row h4 {
  margin-top: 3px;
  color: var(--navy);
  font-size: clamp(1.3rem, 1.75vw, 1.55rem);
  text-wrap: initial;
}
.bm-link {
  width: fit-content;
  color: var(--blue);
}
.bm-catalog-row .bm-link { justify-self: end; }

.bm-services { background: var(--white); }
.bm-services-grid,
.bm-company-grid,
.bm-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 6vw, 88px);
}
.bm-services .lead { margin: 16px 0 22px; }
.bm-service-list article {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.bm-service-list article:last-child { border-bottom: 1px solid var(--line); }
.bm-service-list h3 { color: var(--navy); }
.bm-service-list p { margin-top: 6px; color: var(--muted); }

.bm-company { background: var(--navy); }
.bm-company-grid {
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  padding-block: clamp(36px, 6vw, 86px);
}
.bm-company-image {
  overflow: hidden;
  border-radius: var(--bm-radius);
  background: var(--blue);
}
.bm-company-image img {
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: cover;
}
.bm-company .eyebrow { color: var(--accent); }
.bm-company h2,
.bm-company .bm-link { color: var(--white); }
.bm-company .lead { margin: 16px 0 12px; color: var(--bm-on-dark); }
.bm-company .bm-link:hover { color: var(--accent); }

.bm-faq-grid { grid-template-columns: .7fr 1.3fr; }
.bm-faq-grid details {
  border-block-start: 1px solid var(--line);
}
.bm-faq-grid details:last-child { border-bottom: 1px solid var(--line); }
.bm-faq-grid summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 52px;
  padding: 12px 0;
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.bm-faq-grid summary::-webkit-details-marker { display: none; }
.bm-faq-grid summary::after {
  content: "";
  width: 9px;
  height: 9px;
  margin: 0 5px 4px 0;
  flex: none;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.bm-faq-grid details[open] summary::after { transform: translateY(5px) rotate(225deg); }
.bm-faq-grid details > p { padding-bottom: 18px; color: var(--muted); }

.bm-contact { background: var(--blue); color: var(--white); }
.bm-contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}
.bm-contact .eyebrow { color: var(--accent); }
.bm-contact h2 { color: var(--white); }
.bm-contact p:not(.eyebrow) { margin-top: 12px; color: var(--bm-on-dark); }
.bm-contact .btn { flex: none; }
.bm-footer-brand img { width: 220px; }
.bm-footer-brand span { display: block; margin-top: 8px; }
.bm-footer-links { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.bm-footer-links a { text-decoration: none; }
.bm-footer-links a:hover { color: var(--blue); text-decoration: underline; }

@media (max-width: 1000px) {
  .bm-hero-figure { min-height: 490px; }
  .bm-feature--bakery { grid-template-columns: 1fr; }
  .bm-feature-media { min-height: 140px; }
  .bm-catalog-row {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.4fr);
    padding-inline: 18px;
  }
  .bm-catalog-row .bm-link { grid-column: 2; justify-self: start; }
}

@media (max-width: 760px) {
  .bm-hero-grid,
  .bm-section-heading,
  .bm-services-grid,
  .bm-company-grid,
  .bm-faq-grid { grid-template-columns: 1fr; }
  .bm-hero-figure { min-height: 0; grid-template-rows: clamp(190px, 47vw, 300px) auto; }
  .bm-hero-break, .bm-catalog-break { display: none; }
  .bm-hero-copy h1 { max-width: 13ch; }
  .bm-hero-copy .lead { max-width: 48ch; }
  .bm-trust li { padding-inline: 12px; }
  .bm-trust li:last-child { padding-inline-end: 0; }
  .bm-trust span { font-size: .74rem; }
  .bm-company-image { order: 2; }
  .bm-company-image img { aspect-ratio: 1.8; }
  .bm-contact-inner { flex-wrap: wrap; }
}

@media (max-width: 560px) {
  .bm-feature-grid,
  .bm-catalog-row { grid-template-columns: 1fr; }
  .bm-catalog-row .bm-link { grid-column: auto; }
  .bm-feature-media { min-height: 176px; }
  .bm-feature-content > h4 { margin-bottom: 8px; }
  .bm-filters { gap: 8px; }
  .bm-filters button { padding-inline: 12px; }
}
