/* ═══════════════════════════════════════════════════════════════════
   Home page. Loaded on the front page only.

   Sections alternate ground and tint so the page has a rhythm rather
   than a single long scroll, and every product reference carries its
   own --card-accent so the range reads as five things, not one.
   ═══════════════════════════════════════════════════════════════════ */

.bm-home { padding-block: 0; }

.bm-home__head { max-width: 52ch; margin-bottom: clamp(28px, 4vw, 44px); }
.bm-home__head h2 { font-size: var(--t-sec); margin-top: 12px; }
.bm-home__head .bm-lead { margin-top: 16px; }
.bm-home__head--row {
  max-width: none; display: flex; align-items: flex-end;
  justify-content: space-between; gap: 24px; flex-wrap: wrap;
}

/* ── hero ─────────────────────────────────────────────────────────── */

.bm-hh { position: relative; overflow: hidden; padding-block: clamp(34px, 5vw, 72px) clamp(28px, 4vw, 48px); }
.bm-hh__wash {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(1100px 640px at 78% -18%, color-mix(in srgb, var(--brand) 16%, transparent) 0%, transparent 60%),
    radial-gradient(760px 520px at -6% 104%, color-mix(in srgb, var(--brand) 9%, transparent) 0%, transparent 58%);
}
.bm-hh__grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(28px, 5vw, 72px); align-items: center;
}

.bm-hh__h {
  font-size: var(--t-hero); margin-top: 14px; max-width: 15ch;
}
.bm-hh__p {
  margin-top: 20px; font-size: var(--t-lead); line-height: 1.62;
  color: var(--ink-soft); max-width: 52ch; text-wrap: pretty;
}
.bm-hh__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.bm-hh__trust {
  list-style: none; margin: 32px 0 0; padding: 24px 0 0;
  border-top: 1px solid var(--hair);
  display: flex; flex-wrap: wrap; gap: 12px 30px;
}
.bm-hh__trust li { display: flex; align-items: center; gap: 9px; font-size: .875rem; color: var(--ink-soft); }
.bm-hh__trust .bm-ico { color: var(--brand); }

.bm-hh__media { position: relative; margin: 0; }
.bm-hh__media img {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 4/5; object-fit: contain;
}
.bm-hh__glow {
  position: absolute; inset: 4% 2% 6% 2%; z-index: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--brand) 16%, transparent) 0%, transparent 66%);
}

/* The range as a row of coloured pills under the hero — a table of contents for
   the whole site in one line. */
.bm-hh__rail {
  position: relative; display: flex; flex-wrap: wrap; gap: 9px;
  margin-top: clamp(26px, 3.5vw, 40px);
  padding-top: clamp(22px, 3vw, 30px); border-top: 1px solid var(--hair);
}
.bm-hh__pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 17px 9px 13px; border-radius: 99px;
  background: var(--surface); border: 1px solid var(--hair);
  font-size: .875rem; font-weight: 500; text-decoration: none;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.bm-hh__pill:hover {
  border-color: var(--card-accent, var(--brand));
  transform: translateY(-2px); box-shadow: var(--shadow);
}
.bm-hh__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--card-accent, var(--brand)); flex: none; }

@media (max-width: 900px) {
  .bm-hh__grid { grid-template-columns: 1fr; }
  /* Picture second on a phone: the headline and the buttons come first. */
  .bm-hh__media { order: 2; max-width: 340px; margin-inline: auto; }
  .bm-hh__media img { aspect-ratio: 1/1; }
  .bm-hh__trust { margin-top: 26px; padding-top: 20px; }
}

/* ── concerns ─────────────────────────────────────────────────────── */

.bm-conc__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.bm-conc__card {
  position: relative; display: flex; flex-direction: column;
  padding: 26px 24px 24px; text-decoration: none; overflow: hidden;
  background: var(--surface); border: 1px solid var(--hair-soft); border-radius: var(--r-lg);
  transition: transform .25s cubic-bezier(.4,0,.2,1), box-shadow .25s ease, border-color .25s ease;
}
.bm-conc__card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--card-accent, var(--brand)); transform: scaleX(0); transform-origin: left;
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.bm-conc__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--hair); }
.bm-conc__card:hover::before { transform: scaleX(1); }

.bm-conc__ico {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px;
  border-radius: 13px; color: #fff;
  background: var(--card-accent, var(--brand));
}
.bm-conc__t { font-size: 1.08rem; line-height: 1.28; }
.bm-conc__d { margin-top: 10px; font-size: .875rem; line-height: 1.55; color: var(--ink-soft); }
.bm-conc__go {
  display: inline-flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 20px;
  font-size: .813rem; font-weight: 700; color: var(--card-accent, var(--brand));
}
.bm-conc__go .bm-ico { width: 15px; height: 15px; transition: transform .2s ease; }
.bm-conc__card:hover .bm-conc__go .bm-ico { transform: translateX(3px); }

/* ── the range ────────────────────────────────────────────────────── */

.bm-range__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.bm-rcard {
  background: var(--surface); border: 1px solid var(--hair-soft);
  border-radius: var(--r-lg); overflow: hidden;
  transition: transform .28s cubic-bezier(.4,0,.2,1), box-shadow .28s ease;
}
.bm-rcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.bm-rcard__link { display: block; position: relative; text-decoration: none; height: 100%; }
.bm-rcard__rail { position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--card-accent, var(--brand)); z-index: 2; }
.bm-rcard__media { display: block; background: var(--surface-2); }
.bm-rcard__media img { width: 100%; aspect-ratio: 18/25; object-fit: contain; padding: 16px; }
.bm-rcard__body { display: block; padding: 18px 20px 22px; }
.bm-rcard__t { font-size: 1.02rem; line-height: 1.28; }
.bm-rcard__pack { display: block; margin-top: 5px; font-size: .75rem; color: var(--ink-mute); }
.bm-rcard__price { display: block; margin-top: 11px; font-size: 1.1rem; font-weight: 600; }
.bm-rcard__price .amount { font-family: inherit; }
.bm-rcard__price del { opacity: .5; font-weight: 400; font-size: .85em; margin-right: 6px; }

/* ── standards ────────────────────────────────────────────────────── */

.bm-std__grid {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 70px); align-items: start;
}
.bm-std__lede h2 { font-size: var(--t-sec); margin-top: 12px; }
.bm-std__lede .bm-lead { margin-top: 16px; }
.bm-std__more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
  font-size: .875rem; font-weight: 700; color: var(--brand); text-decoration: none;
}
.bm-std__more:hover { text-decoration: underline; text-underline-offset: 4px; }
.bm-std__more .bm-ico { width: 15px; height: 15px; }

.bm-std__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--hair-soft); border: 1px solid var(--hair-soft); border-radius: var(--r-lg); overflow: hidden; }
.bm-std__list li {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start;
  padding: 22px 24px; background: var(--surface); transition: background .22s ease;
}
.bm-std__list li:hover { background: var(--surface-2); }
.bm-std__ico {
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 12px; background: var(--ok-tint); color: var(--ok);
}
.bm-std__list b { display: block; font-size: 1rem; line-height: 1.35; }
.bm-std__list small { display: block; margin-top: 6px; font-size: .875rem; line-height: 1.55; color: var(--ink-soft); }

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

/* ── routine ──────────────────────────────────────────────────────── */

.bm-rout__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 16px;
  counter-reset: none;
}
.bm-rout__step {
  position: relative; background: var(--surface);
  border: 1px solid var(--hair-soft); border-radius: var(--r-lg);
  padding: 26px 24px 24px; overflow: hidden;
}
.bm-rout__step::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 3px;
  background: var(--card-accent, var(--brand));
}
.bm-rout__n {
  position: absolute; top: 20px; right: 22px;
  font-size: 1.9rem; font-weight: 600; line-height: 1;
  color: var(--card-accent, var(--brand)); opacity: .2;
}
.bm-rout__ico {
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--card-accent, var(--brand)) 13%, #FFFFFF);
  color: var(--card-accent, var(--brand));
}
.bm-rout__t { font-size: 1.08rem; }
.bm-rout__when {
  display: inline-block; margin-top: 8px; padding: 4px 10px; border-radius: 99px;
  background: var(--surface-2); border: 1px solid var(--hair);
  font-size: .688rem; letter-spacing: .04em; color: var(--ink-mute);
}
.bm-rout__d { margin-top: 12px; font-size: .875rem; line-height: 1.55; color: var(--ink-soft); }
.bm-rout__p {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 16px;
  font-size: .813rem; font-weight: 700; text-decoration: none;
  color: var(--card-accent, var(--brand));
}
.bm-rout__p .bm-ico { width: 14px; height: 14px; transition: transform .2s ease; }
.bm-rout__p:hover .bm-ico { transform: translateX(3px); }

/* ── ordering ─────────────────────────────────────────────────────── */

.bm-order__panel {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(28px, 4vw, 60px); align-items: center;
  background: var(--brand-deep); color: #fff;
  border-radius: var(--r-xl); padding: clamp(30px, 4.5vw, 58px);
}
.bm-order__wash {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(760px 420px at 88% -24%, color-mix(in srgb, var(--brand) 58%, transparent) 0%, transparent 62%),
    radial-gradient(520px 380px at -6% 116%, rgba(255,255,255,.1) 0%, transparent 60%);
}
.bm-order__body { position: relative; }
.bm-order__h { font-size: var(--t-sec); margin-top: 12px; max-width: 16ch; color: #fff; }
.bm-order__p { margin-top: 16px; font-size: var(--t-lead); line-height: 1.6; color: rgba(255,255,255,.82); max-width: 46ch; text-wrap: pretty; }

.bm-order__steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.bm-order__steps li {
  position: relative; padding: 18px 20px 18px 62px;
  background: rgba(255,255,255,.07); border-radius: var(--r);
}
.bm-order__n {
  position: absolute; left: 20px; top: 17px;
  font-size: 1.15rem; font-weight: 600; color: rgba(255,255,255,.4);
}
.bm-order__steps b { display: block; font-size: .938rem; }
.bm-order__steps small { display: block; margin-top: 4px; font-size: .813rem; line-height: 1.5; color: rgba(255,255,255,.66); }

@media (max-width: 860px) { .bm-order__panel { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .bm-order__panel .bm-close__actions { flex-direction: column; align-items: stretch; }
  .bm-order__panel .bm-btn { width: 100%; }
}

/* Shared with the product closing band by intent, defined here because product.css
   does not load on the home page. */
.bm-order__eyebrow {
  font-size: var(--t-eye); font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(255,255,255,.62);
}
.bm-order__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
