@font-face{font-family:BMStoryInter;font-style:normal;font-weight:100 900;font-display:swap;src:url("fonts/inter-var-latin.woff2") format("woff2")}
@font-face{font-family:BMStoryCaveat;font-style:normal;font-weight:400 700;font-display:swap;src:url("fonts/caveat-var-latin.woff2") format("woff2")}
.bm-study-story{font-family:BMStoryInter,Inter,sans-serif;color:#0b1f3a;line-height:1.5;margin-block:2rem;min-width:0}
.bm-study-story,.bm-study-story *,.bm-study-story *::before,.bm-study-story *::after{box-sizing:border-box}
.bm-study-story h2,.bm-study-story p{font-family:inherit}
/* ==========================================================================
   "What we do" — The Thousand-Dot Verdict, flagship cut.
   Full-width white chapter: poster headline dissolves into 1,000 dots, five
   narrated acts, verdict scene with focus pull + marker ring, proof rail.
   Paper-like chapter with theme-aware paint; approved motion is unchanged.
   ========================================================================== */

.bm-study-story {
  position: relative;
  padding: clamp(72px, 7vw, 96px) 0 clamp(88px, 8vw, 112px);
  background: #ffffff;
}

.bm-study-story .bm-v-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: clamp(24px, 5vw, 64px);
}

.bm-study-story .bm-v-chapter {
  display: block;
}

.bm-study-story .bm-v-masthead {
  margin-bottom: clamp(20px, 2.4vw, 34px);
}

/* --------------------------------------------------------------- headline */

.bm-study-story .bm-v-headArea {
  position: relative;
  z-index: 4;
  min-height: 30px;
}

.bm-study-story .bm-v-dock {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: #0b1f3a;
  line-height: 1.2;
}

.bm-study-story .bm-v-caption {
  min-height: clamp(64px, 6.4vw, 92px);
}

.bm-study-story .bm-v-capRow {
  display: inline-block;
}

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

.bm-study-story .bm-v-capText {
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 720;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #0b1f3a;
  white-space: nowrap;
}

/* ----------------------------------------------------------------- poster */

.bm-study-story .bm-v-poster {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  pointer-events: none;
}

.bm-study-story .bm-v-posterTitle {
  margin: 0;
  font-size: clamp(52px, 6.5vw, 88px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #0b1f3a;
}

.bm-study-story .bm-v-posterAccent {
  color: #2f6bff;
}

.bm-study-story .bm-v-posterLede {
  margin: 0;
  font-size: clamp(18px, 1.8vw, 21px);
  font-weight: 450;
  color: #47566e;
  max-width: 38ch;
}

/* ----------------------------------------------------------------- emblem */

.bm-study-story .bm-v-stageWrap {
  position: relative;
  min-width: 0;
}

.bm-study-story .bm-v-stage {
  position: relative;
  width: 100%;
  margin-top: -92px; /* the head area overlays the stage's empty top band */
  /* Default aspect until the client picks a composition (DeadlineStage
     applies the inline aspect-ratio only after measuring). The JS pick is
     stage width < 580px; the inner column is ~90vw between 480-1280px
     viewports, so ~644px is the matching viewport breakpoint. */
  aspect-ratio: 1000 / 560;
}

@media (max-width: 644px) {
  .bm-study-story .bm-v-stage {
    aspect-ratio: 700 / 660;
  }
}

/* paper dot-grid texture, radially masked so it never forms an edge */
.bm-study-story .bm-v-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(11, 31, 58, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
  pointer-events: none;
}

.bm-study-story .bm-v-dotCanvas,
.bm-study-story .bm-v-dotSvg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.bm-study-story .bm-v-dotSvg {
  overflow: visible;
}

.bm-study-story .bm-v-ovSvg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 2;
}

.bm-study-story .bm-v-plane {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

/* atmosphere */

.bm-study-story .bm-v-blueWash {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  /* bleeds from the baseline — must never form an edge */
  background: radial-gradient(58% 100% at 50% 100%, rgba(47, 107, 255, 0.045), transparent 72%);
  pointer-events: none;
}

.bm-study-story .bm-v-bloom {
  position: absolute;
  width: 46%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(245, 158, 11, 0.1), transparent 62%);
  pointer-events: none;
}

.bm-study-story .bm-v-hairline {
  position: absolute;
  height: 1px;
  background: #e2e8f0;
  transform-origin: left center;
  pointer-events: none;
}

/* stage text */

.bm-study-story .bm-v-stamp,
.bm-study-story .bm-v-stampWeak {
  position: absolute;
  transform: translate(-50%, -50%);
  font-size: 28px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  color: #0b1f3a;
  white-space: nowrap;
}

.bm-study-story .bm-v-stampWeak {
  font-size: clamp(40px, 4vw, 54px);
  font-weight: 800;
  color: #f59e0b;
}

.bm-study-story .bm-v-check {
  color: #16a34a;
  font-size: 0.68em;
  vertical-align: 0.12em;
}

.bm-study-story .bm-v-label {
  position: absolute;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  white-space: nowrap;
  text-shadow:
    0 0 3px #fff,
    0 0 6px #fff;
}

.bm-study-story .bm-v-chip {
  position: absolute;
  background: #fff7ea;
  border: 1px solid #f59e0b;
  color: #0b1f3a;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: 0.01em;
  padding: 7px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.bm-study-story .bm-v-chipAmber {
  color: #f59e0b;
  font-weight: 780;
}

.bm-study-story .bm-v-tag {
  position: absolute;
  font-family: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  font-size: 20px; /* Caveat has a low x-height: 20px matches the old 16.5px presence */
  font-weight: 600;
  color: #2f6bff;
  white-space: nowrap;
}

.bm-study-story .bm-v-footnote {
  margin: 14px 2px 0;
  font-size: 14px;
  font-weight: 450;
  color: #64748b;
}

/* ------------------------------------------------------------- proof rail */

.bm-study-story .bm-v-proofRail {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 32px;
  align-items: start;
  margin-top: clamp(36px, 4vw, 52px);
}

.bm-study-story .bm-v-proof {
  display: grid;
  grid-template-columns: 14px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 4px;
}

.bm-study-story .bm-v-proofDot {
  grid-row: 1;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-top: 5px;
  background: #c7d2e0;
}

.bm-study-story .bm-v-proofHead {
  grid-column: 2;
  font-size: 18px;
  font-weight: 620;
  color: #0b1f3a;
  line-height: 1.3;
}

.bm-study-story .bm-v-proofSub {
  grid-column: 2;
  font-size: 16px;
  font-weight: 450;
  color: #47566e;
  line-height: 1.45;
}

.bm-study-story .bm-v-railCta {
  justify-self: end;
  align-self: center;
}

.bm-study-story .bm-v-ctaBig {
  min-height: 56px;
  padding: 14px 34px;
  font-size: 17px;
  font-weight: 650;
  border-radius: 999px;
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 1020px) {
  .bm-study-story .bm-v-proofRail {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .bm-study-story .bm-v-railCta {
    justify-self: start;
    margin-top: 6px;
  }
}

@media (max-width: 720px) {
  .bm-study-story .bm-v-stage {
    margin-top: 8px; /* captions sit above the stage in flow on mobile */
  }

  .bm-study-story .bm-v-headArea {
    min-height: 0;
  }

  .bm-study-story .bm-v-caption {
    min-height: 84px;
  }

  .bm-study-story .bm-v-capText {
    white-space: normal;
    font-size: clamp(24px, 7vw, 32px);
  }

  .bm-study-story .bm-v-dock {
    font-size: 20px;
  }

  .bm-study-story .bm-v-posterTitle {
    font-size: clamp(40px, 11vw, 48px);
  }

  .bm-study-story .bm-v-stamp {
    font-size: 19px;
  }

  .bm-study-story .bm-v-stampWeak {
    font-size: 36px;
  }

  .bm-study-story .bm-v-label {
    font-size: 11px;
  }

  .bm-study-story .bm-v-chip {
    font-size: 13.5px;
    padding: 5px 13px;
  }

  .bm-study-story .bm-v-ctaBig {
    width: 100%;
    justify-content: center;
  }
}

/* Host adaptation: reference rhythm and geometry retained. */
.bm-study-story .bm-v-masthead{display:flex;align-items:center;justify-content:space-between;gap:12px}
.bm-study-story .bm-v-eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#174bff;margin-bottom:14px}
.bm-study-story .bm-v-eyebrow::before{content:'';width:22px;height:2px;flex:none;border-radius:2px;background:var(--accent,#c2922f)}
.bm-study-story .bm-v-tag{font-family:BMStoryCaveat,Caveat,cursive}
.bm-study-story .bm-v-replay{min-height:44px;display:inline-flex;align-items:center;gap:7px;padding:8px 10px;border:0;border-radius:8px;background:transparent;color:#64748b;font:600 13px BMStoryInter,Inter,sans-serif;cursor:pointer}
.bm-study-story .bm-v-replay svg{width:16px;height:16px}
.bm-study-story .bm-v-replay[hidden]{display:none}
.bm-study-story button:focus-visible{outline:3px solid #2f6bff;outline-offset:4px}
.bm-study-story .bm-v-ctaBig{display:inline-flex;align-items:center;gap:11px;justify-content:center;border:0;background:linear-gradient(180deg,#1e6cf2,#1560e8);color:#fff;box-shadow:0 4px 14px #1864f04d,inset 0 1px 0 #ffffff29;font-family:inherit;cursor:pointer;line-height:1.5;transition:filter .15s ease,transform .15s ease}
.bm-study-story .bm-v-ctaBig:hover{filter:brightness(1.07);transform:translateY(-1px)}
.bm-study-story .bm-v-ctaBig svg{width:18px;height:18px;flex:none}
.bm-study-story .bm-v-railCta{min-width:0}
.bm-study-story .bm-v-capText{overflow-wrap:normal}
.bm-study-story .bm-v-plane span{line-height:1.5}
.bm-study-story .bm-v-poster{opacity:0}
.bm-study-story[data-story-canvas="on"] .bm-v-dotSvg{display:none}
.bm-study-story:not([data-story-canvas="on"]) .bm-v-dotCanvas{display:none}
.bm-study-story:not([data-story-canvas="on"]) .bm-v-plane,.bm-study-story:not([data-story-canvas="on"]) .bm-v-ovSvg{visibility:hidden}
.bm-study-story .bm-v-static-mobile{display:none}
@media(max-width:644px){.bm-study-story .bm-v-static-mobile{display:block}.bm-study-story .bm-v-static-desktop{display:none}}
.bm-study-story[data-story-layout="desktop"] .bm-v-static-mobile{display:none}
.bm-study-story[data-story-layout="desktop"] .bm-v-static-desktop{display:block}
.bm-study-story[data-story-layout="mobile"] .bm-v-static-mobile{display:block}
.bm-study-story[data-story-layout="mobile"] .bm-v-static-desktop{display:none}
.bm-study-story[data-story-canvas="on"] .bm-v-dotSvg{display:none}
.bm-study-story[data-story-layout="mobile"][data-story-canvas="on"] .bm-v-chip{margin-top:16px}
.bm-study-story[data-story-layout="mobile"][data-story-canvas="on"] .bm-v-footnote{margin-top:38px}
.bm-study-story[data-story-state="ready"] .bm-v-poster{opacity:1}
.bm-study-story[data-story-state="ready"] .bm-v-dotSvg{visibility:hidden}
.bm-study-story .bm-v-ovSvg path{stroke-dasharray:1;stroke-dashoffset:0}
@media(max-width:720px){.bm-study-story .bm-v-inner{padding-inline:24px}.bm-study-story .bm-v-label{letter-spacing:.04em}.bm-study-story .bm-v-railCta{width:100%}}
@media(prefers-reduced-motion:reduce){.bm-study-story *{transition:none!important;animation:none!important}}

/* The two themes share the same illustration and reserved stage dimensions.
   Separate fallback images also honor a manually selected theme without JS. */
.bm-study-story .bm-v-static-dark{display:none!important}
[data-theme="dark"] .bm-study-story .bm-v-static-light{display:none!important}
[data-theme="dark"] .bm-study-story .bm-v-static-dark.bm-v-static-desktop{display:block!important}
[data-theme="dark"] .bm-study-story .bm-v-static-dark.bm-v-static-mobile{display:none!important}
@media(max-width:644px){
 [data-theme="dark"] .bm-study-story .bm-v-static-dark.bm-v-static-desktop{display:none!important}
 [data-theme="dark"] .bm-study-story .bm-v-static-dark.bm-v-static-mobile{display:block!important}
}
[data-theme="dark"] .bm-study-story[data-story-layout="desktop"] .bm-v-static-dark.bm-v-static-desktop,
[data-theme="dark"] .bm-study-story[data-story-layout="mobile"] .bm-v-static-dark.bm-v-static-mobile{display:block!important}
[data-theme="dark"] .bm-study-story[data-story-layout="desktop"] .bm-v-static-dark.bm-v-static-mobile,
[data-theme="dark"] .bm-study-story[data-story-layout="mobile"] .bm-v-static-dark.bm-v-static-desktop,
[data-theme="dark"] .bm-study-story[data-story-canvas="on"] .bm-v-dotSvg.bm-v-static-dark{display:none!important}
[data-theme="dark"] .bm-study-story{background:var(--bg-secondary,#16203a);color:var(--text-primary,#f3f6fc)}
[data-theme="dark"] .bm-study-story .bm-v-dock,
[data-theme="dark"] .bm-study-story .bm-v-capText,
[data-theme="dark"] .bm-study-story .bm-v-posterTitle,
[data-theme="dark"] .bm-study-story .bm-v-stamp,
[data-theme="dark"] .bm-study-story .bm-v-proofHead{color:var(--text-primary,#f3f6fc)}
[data-theme="dark"] .bm-study-story .bm-v-posterAccent,
[data-theme="dark"] .bm-study-story .bm-v-tag,
[data-theme="dark"] .bm-study-story .bm-v-eyebrow{color:var(--primary-light,#9dbcff)}
[data-theme="dark"] .bm-study-story .bm-v-posterLede,
[data-theme="dark"] .bm-study-story .bm-v-proofSub,
[data-theme="dark"] .bm-study-story .bm-v-label{color:var(--text-secondary,#cbd6ea)}
[data-theme="dark"] .bm-study-story .bm-v-footnote,
[data-theme="dark"] .bm-study-story .bm-v-replay{color:var(--text-tertiary,#93a1bd)}
[data-theme="dark"] .bm-study-story .bm-v-label{text-shadow:0 0 3px #16203a,0 0 6px #16203a}
[data-theme="dark"] .bm-study-story .bm-v-stampWeak,
[data-theme="dark"] .bm-study-story .bm-v-chipAmber{color:#f6c45d}
[data-theme="dark"] .bm-study-story .bm-v-chip{background:#2b2b31;border-color:#f6c45d;color:#f3f6fc}
[data-theme="dark"] .bm-study-story .bm-v-check{color:#4ade80}
[data-theme="dark"] .bm-study-story .bm-v-proofDot{background:#506281}
[data-theme="dark"] .bm-study-story [data-ink^="ring"]{stroke:#f6c45d}
[data-theme="dark"] .bm-study-story [data-ink^="arrow"]{stroke:#9dbcff}
[data-theme="dark"] .bm-study-story .bm-v-stage::before{background-image:radial-gradient(rgba(203,214,234,.055) 1px,transparent 1px)}
[data-theme="dark"] .bm-study-story .bm-v-blueWash{background:radial-gradient(58% 100% at 50% 100%,rgba(111,155,255,.08),transparent 72%)}
[data-theme="dark"] .bm-study-story .bm-v-bloom{background:radial-gradient(circle,rgba(246,196,93,.12),transparent 62%)}
[data-theme="dark"] .bm-study-story .bm-v-hairline{background:var(--border-strong,#3b4a6b)}
[data-theme="dark"] .bm-study-story .bm-v-ctaBig{background:linear-gradient(180deg,#2563eb,#1d4ed8);color:#fff;box-shadow:0 4px 14px #0004,inset 0 1px 0 #ffffff29}
[data-theme="dark"] .bm-study-story button:focus-visible{outline-color:#9dbcff}

.bm-study-story[hidden],.bm-study-story [hidden]{display:none!important}
