/* ============================================================
   Binary Capital — site-wide glass-editorial system
   Editorial base (paper, Denton, keylines) + glassmorphism
   (frosted nav, glass panels, glass chips). Shared by ALL pages.
   ============================================================ */

html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
:root {
  --paper: #FCFBF8;
  --secpad: clamp(64px, 8vw, 116px);
  /* Content alignment tokens — centred on desktop, left on mobile for a
     consistent left-aligned reading rhythm across every page. Drive inline
     styles with var(--ctr) / var(--ctr-flex) / var(--ctr-ml). */
  --ctr: center;
  --ctr-flex: center;
  --ctr-ml: auto;
}
@media (max-width: 640px) {
  :root { --ctr: left; --ctr-flex: flex-start; --ctr-ml: 0; }
}
body { font-family: var(--font-sans); background: var(--paper); color: var(--navy-800); }
a { color: inherit; }

@keyframes bcFade { from { opacity: 0; } to { opacity: 1; } }
/* Dropdown enters from its trigger (top-right) and leaves the same way —
   faster out than in, so closing feels snappy rather than laggy. */
@keyframes bcMenuIn { from { opacity: 0; transform: translateY(-6px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes bcMenuOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-5px) scale(0.98); } }
.bcs-menu { animation: bcMenuIn 190ms var(--ease-out); }
.bcs-menu.is-closing { animation: bcMenuOut 140ms var(--ease-out) forwards; pointer-events: none; }

/* Mobile sheet: smooth height collapse (grid rows 0fr→1fr) + fade/rise */
.bcs-mobilewrap {
  display: grid; grid-template-rows: 0fr;
  opacity: 0; transform: translateY(-6px); visibility: hidden;
  transition: grid-template-rows 300ms var(--ease-out), opacity 220ms var(--ease-out), transform 300ms var(--ease-out), visibility 0s linear 300ms;
}
.bcs-mobilewrap[data-open="true"] {
  grid-template-rows: 1fr; opacity: 1; transform: none; visibility: visible;
  transition: grid-template-rows 320ms var(--ease-out), opacity 260ms var(--ease-out) 40ms, transform 320ms var(--ease-out), visibility 0s;
}

/* ---------- Glass primitives ---------- */
/* Frosted paper glass — nav, dropdown, light panels */
.gx-paper {
  background: rgba(252, 251, 248, 0.72);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}
/* Glass panel on light sections — barely-there navy tint */
.gx-light {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(15, 41, 105, 0.10);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 6px 28px rgba(15, 41, 105, 0.06);
}
/* Glass panel on navy sections */
.gx-navy {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 8px 36px rgba(5, 12, 38, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.10);
}
/* Thin glassmorphic frame around every image (GradedImage). Reads on both
   light and navy sections: white frosted edge + faint navy hairline + soft
   drop shadow + inner top highlight. */
.bcs-imgframe {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 38px rgba(5, 12, 38, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
}
/* Graceful fallback where backdrop blur is unavailable */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .gx-paper { background: rgba(252, 251, 248, 0.96); }
  .gx-light { background: rgba(255, 255, 255, 0.94); }
  .gx-navy { background: rgba(18, 28, 60, 0.92); }
  .bcs-imgframe { background: rgba(255, 255, 255, 0.18); }
  .bcs-nav::before { background: rgba(252, 251, 248, 0.97); }
  .bcs-menu.gx-paper { background: rgba(252, 251, 248, 0.99); }
}

/* ---------- Nav ---------- */
/* The bar's frosted glass lives on a ::before layer, NOT on .bcs-nav itself:
   backdrop-filter on the header would make it a "backdrop root" and the
   dropdown nested inside could never blur the page behind it (Chromium). */
.bcs-nav { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(15, 41, 105, 0.55); }
.bcs-nav.gx-paper { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.bcs-nav::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(252, 251, 248, 0.72);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}
.bcs-burger { display: none; }
.bcs-navlink { transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
/* Active page: short centred tick under the label — not a full-width rule */
.bcs-navlink.is-active::after {
  content: ''; position: absolute; left: 50%; bottom: 6px;
  width: 18px; height: 2px; border-radius: 1px;
  transform: translateX(-50%); background: var(--navy-700);
}
/* Dropdown: its own (more opaque) frosted paper so items stay fully readable */
.bcs-menu.gx-paper {
  background: rgba(252, 251, 248, 0.93);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}
.bcs-menu-item { transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.bcs-menu-item:hover { background: rgba(15, 41, 105, 0.05); }
.bcs-menu-item.is-active { background: rgba(15, 41, 105, 0.07); }

/* ---------- Pressables / hovers ---------- */
/* Global press feedback: every link & button depresses slightly on press,
   matching the header "Speak To Us Today" CTA. Transform-only (GPU-composited),
   fast custom ease-out; removed under reduced motion (see below). */
.bcs-press { transition: transform var(--dur-fast) var(--ease-out), background var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.bcs-arrow { display: inline-flex; transition: transform var(--dur-base) var(--ease-out); }
.bcs-login { transition: border-color var(--dur-base) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.bcs-row { transition: background var(--dur-base) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.bcs-link { transition: transform var(--dur-fast) var(--ease-out); }
.bcs-footlink { display: inline-block; transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
a, button { transition: transform var(--dur-fast) var(--ease-out); }
/* the depress: subtle on controls, gentler on large surfaces so it reads as a
   press rather than a shrink */
a:active, button:active, .bcs-press:active, .bcs-link:active, .bcs-cta:active,
.bcs-navlink:active, .bcs-menu-item:active, .bcs-login:active, .bcs-footlink:active { transform: scale(0.97); }
.bcs-row:active, .bcs-card:active { transform: scale(0.985); }

@media (hover: hover) and (pointer: fine) {
  .bcs-navlink:hover { opacity: 0.62; }
  .bcs-cta:hover { background: var(--navy-800) !important; }
  .bcs-cta:hover .bcs-arrow, .bcs-link:hover .bcs-arrow, .bcs-card:hover .bcs-arrow { transform: translateX(4px); }
  .bcs-login:hover { border-bottom-color: var(--navy-800) !important; }
  .bcs-row:hover { background: var(--sky-50); }
  .bcs-card { transition: background var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
  .bcs-card:hover { box-shadow: 0 14px 44px rgba(15, 41, 105, 0.10); transform: translateY(-2px); }
  .bcs-card-navy { transition: background var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
  .bcs-card-navy:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }
  .bcs-footlink:hover { opacity: 1 !important; text-decoration: underline !important; }
}

/* ---------- Legal / longform prose (editorial) ---------- */
.bcs-prose { max-width: 780px; }
.bcs-prose h2 {
  font-family: var(--font-display); font-weight: 400; color: var(--navy-800);
  font-size: clamp(24px, 2.8vw, 36px); line-height: 1.08; letter-spacing: -0.01em;
  margin: clamp(36px, 4.5vw, 56px) 0 0; padding-top: clamp(18px, 2vw, 26px);
  border-top: 1px solid var(--border-default);
}
.bcs-prose h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.bcs-prose h3 {
  font-family: var(--font-display); font-weight: 400; color: var(--navy-800);
  font-size: clamp(19px, 2vw, 25px); line-height: 1.15; margin: clamp(24px, 3vw, 36px) 0 0;
}
.bcs-prose p {
  font-family: var(--font-sans); font-size: clamp(14.5px, 1.4vw, 16px); line-height: 1.75;
  color: var(--text-muted); margin: 14px 0 0; font-weight: 300;
}
.bcs-prose ul, .bcs-prose ol { margin: 14px 0 0; padding-left: 22px; }
.bcs-prose li {
  font-family: var(--font-sans); font-size: clamp(14.5px, 1.4vw, 16px); line-height: 1.7;
  color: var(--text-muted); margin: 7px 0; font-weight: 300;
}
.bcs-prose strong, .bcs-prose b { color: var(--navy-800); font-weight: 600; }
.bcs-prose a { color: var(--navy-700); text-decoration: underline; text-underline-offset: 3px; }
.bcs-prose table { width: 100%; border-collapse: collapse; margin: 18px 0 0; font-family: var(--font-sans); font-size: 14px; }
.bcs-prose th { text-align: left; color: var(--navy-800); font-weight: 600; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--border-default); }
.bcs-prose td { color: var(--text-muted); padding: 10px 12px 10px 0; border-bottom: 1px solid var(--border-default); vertical-align: top; }

/* Explainer film: the 21/9 frame is too letterboxed on phones — give it a
   taller 16/9 frame on small screens so more of the picture shows. */
@media (max-width: 640px) {
  .bcs-film { aspect-ratio: 16 / 9 !important; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .bcs-menu { animation: bcFade 150ms var(--ease-out) !important; }
  .bcs-menu.is-closing { animation: none !important; opacity: 0; }
  .bcs-mobilewrap, .bcs-mobilewrap[data-open="true"] { transition: opacity 180ms ease, visibility 0s; transform: none; }
  a:active, button:active, .bcs-press:active, .bcs-link:active, .bcs-cta:active,
  .bcs-navlink:active, .bcs-menu-item:active, .bcs-login:active, .bcs-footlink:active,
  .bcs-row:active, .bcs-card:active { transform: none; }
  .bcs-arrow, .bcs-chev { transition: none; }
}

/* ---------- Shared responsive (fluid: clamp-driven spacing everywhere) ---------- */
@media (max-width: 1100px) {
  .bcs-feat5 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .bcs-ranges { grid-template-columns: repeat(3, 1fr) !important; }
  .bcs-ranges > * > a { border-left: none !important; }
  .bcs-lead { grid-template-columns: repeat(2, 1fr) !important; }
  .bcs-journey { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 920px) {
  .bcs-desktop { display: none !important; }
  .bcs-burger { display: inline-flex !important; }
  .bcs-grid2, .bcs-grid3, .bcs-grid4, .bcs-split, .bcs-herometa { grid-template-columns: 1fr !important; gap: var(--space-6) !important; }
  .bcs-herometa > *:last-child { text-align: left !important; }
  .bcs-herometa > *:last-child > div { justify-content: flex-start !important; }
  .bcs-stats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: clamp(10px,2vw,16px) !important; }
  .bcs-foot { grid-template-columns: 1fr 1fr !important; }
  .bcs-team { grid-template-columns: 1fr 1fr !important; grid-template-rows: 170px 170px 170px !important; }
  .bcs-team > *:first-child { grid-row: auto !important; grid-column: 1 / -1 !important; }
  .bcs-feat5 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .bcs-ranges { grid-template-columns: 1fr 1fr !important; }
  .bcs-lead { grid-template-columns: 1fr 1fr !important; }
  .bcs-journey { grid-template-columns: 1fr !important; }
  .bcs-herophotos { grid-template-columns: 1fr 1fr !important; }
  .bcs-herophotos > *:first-child { grid-column: 1 / -1 !important; }
  .bcs-logogrid { grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)) !important; }
  /* Event rows: clean single-column stack (4 children don't fit the diffrow remap) */
  .bcs-eventrow { grid-template-columns: 1fr !important; gap: clamp(6px, 2vw, 14px) !important; }
  .bcs-eventrow > a:last-child { justify-self: start; margin-top: 6px; }
}
/* ---------- Horizontally-scrollable data tables ----------
   Scroll-shadow (Lea Verou technique): a navy fade appears only on the
   edge(s) where more table content exists, so users know to swipe. */
.bcs-scrollx {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  background:
    linear-gradient(to right, var(--paper) 30%, rgba(252,251,248,0)) 0 0,
    linear-gradient(to left, var(--paper) 30%, rgba(252,251,248,0)) 100% 0,
    linear-gradient(to right, rgba(15,41,105,0.12), rgba(15,41,105,0)) 0 0,
    linear-gradient(to left, rgba(15,41,105,0.12), rgba(15,41,105,0)) 100% 0;
  background-repeat: no-repeat;
  background-size: 30px 100%, 30px 100%, 14px 100%, 14px 100%;
  background-attachment: local, local, scroll, scroll;
}
/* ---------- Involvement spectrum (Partnerships) ----------
   Desktop: horizontal — "Less involvement ———▶ More involvement".
   Mobile: vertical — less on top, bar flows down, more at the bottom. */
.bcs-spectrum { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 18px); }
.bcs-spectrum-label {
  font-family: var(--font-sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
}
.bcs-spectrum-less { color: var(--navy-500); }
.bcs-spectrum-more { color: var(--navy-900); }
.bcs-spectrum-bar {
  position: relative; flex: 1; height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, var(--sky-200, #D7EEFF), var(--navy-500), var(--navy-900));
}
.bcs-spectrum-arrow {
  position: absolute; right: -1px; top: 50%; transform: translateY(-50%);
  width: 0; height: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent;
  border-left: 10px solid var(--navy-900);
}
@media (max-width: 640px) {
  .bcs-spectrum { flex-direction: column; align-items: flex-start; gap: 12px; }
  .bcs-spectrum-bar {
    flex: none; width: 6px; height: clamp(90px, 26vw, 130px); margin-left: 4px;
    background: linear-gradient(180deg, var(--sky-200, #D7EEFF), var(--navy-500), var(--navy-900));
  }
  .bcs-spectrum-arrow {
    right: auto; left: 50%; top: auto; bottom: -1px; transform: translateX(-50%);
    border-left: 7px solid transparent; border-right: 7px solid transparent;
    border-top: 10px solid var(--navy-900); border-bottom: 0;
  }
}

.bcs-scrollhint { display: none; }
@media (max-width: 720px) {
  .bcs-scrollhint {
    display: flex; align-items: center; gap: 6px;
    font-family: var(--font-sans); font-size: 12px; font-weight: 600;
    letter-spacing: 0.04em; color: var(--navy-500); margin: 16px 0 -2px;
  }
}

@media (max-width: 540px) {
  .bcs-grid2c, .bcs-stats { grid-template-columns: minmax(0, 1fr) !important; }
  .bcs-stats > * { border-left: none !important; padding-left: 0 !important; }
  .bcs-foot { grid-template-columns: 1fr !important; }
  .bcs-team { grid-template-columns: 1fr !important; grid-template-rows: none !important; }
  .bcs-team > * { height: 200px !important; }
  .bcs-feat5, .bcs-ranges, .bcs-lead, .bcs-stagepair { grid-template-columns: 1fr !important; }
  .bcs-herophotos { grid-template-columns: 1fr !important; }
  .bcs-herophotos > * { height: clamp(180px,52vw,240px) !important; }
  .bcs-logogrid { grid-template-columns: 1fr 1fr !important; }
}

/* ============================================================
   v3 — Binary Advantage animated diagrams (converge + discipline chart).
   Elements start hidden; .is-visible (added on scroll by RevealSVG) plays them.
   ============================================================ */
.bcadv-anim .bcadv-strand,
.bcadv-anim .bcadv-merge,
.bcadv-anim .bcadv-mainline { stroke-dasharray: 1; stroke-dashoffset: 1; }
.bcadv-anim .bcadv-core { transform-box: fill-box; transform-origin: center; transform: scale(0); opacity: 0; }
.bcadv-anim .bcadv-ring { transform-box: fill-box; transform-origin: center; opacity: 0; }
.bcadv-anim .bcadv-dot { transform-box: fill-box; transform-origin: center; transform: scale(0); }
.bcadv-anim .bcadv-label,
.bcadv-anim .bcadv-legend,
.bcadv-anim .bcadv-frame,
.bcadv-anim .bcadv-area,
.bcadv-anim .bcadv-noise { opacity: 0; }
.bcadv-anim .bcadv-outcome { opacity: 0; transform: translateX(-14px); }

/* converge diagram */
.bcadv-anim.is-visible .bcadv-strand { animation: bcadvDraw 1.4s cubic-bezier(0.45,0,0.25,1) 0.2s forwards; }
.bcadv-anim.is-visible .bcadv-merge  { animation: bcadvDraw 1.2s cubic-bezier(0.45,0,0.25,1) 1.15s forwards; }
.bcadv-anim.is-visible .bcadv-core   { transition: transform 0.7s cubic-bezier(0.34,1.4,0.64,1) 1.05s, opacity 0.5s ease 1.05s; transform: scale(1); opacity: 1; }
.bcadv-anim.is-visible .bcadv-ring   { animation: bcadvRipple 3.6s ease-out 1.7s infinite; }
.bcadv-anim.is-visible .bcadv-ring-2 { animation-delay: 3.1s; }
.bcadv-anim.is-visible .bcadv-label  { transition: opacity 0.7s ease 0.35s; opacity: 1; }
.bcadv-anim.is-visible .bcadv-outcome   { transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22,1,0.36,1); opacity: 1; transform: translateX(0); }
.bcadv-anim.is-visible .bcadv-outcome-1 { transition-delay: 1.5s; }
.bcadv-anim.is-visible .bcadv-outcome-2 { transition-delay: 1.7s; }
.bcadv-anim.is-visible .bcadv-outcome-3 { transition-delay: 1.9s; }

/* discipline chart */
.bcadv-anim.is-visible .bcadv-frame    { transition: opacity 0.8s ease 0.2s; opacity: 1; }
.bcadv-anim.is-visible .bcadv-mainline { animation: bcadvDraw 2.4s cubic-bezier(0.4,0,0.3,1) 0.5s forwards; }
.bcadv-anim.is-visible .bcadv-area     { transition: opacity 1.4s ease 1.6s; opacity: 1; }
.bcadv-anim.is-visible .bcadv-noise    { transition: opacity 1s ease 2.4s; opacity: 1; }
.bcadv-anim.is-visible .bcadv-dot      { animation: bcadvPop 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards; }
.bcadv-anim.is-visible .bcadv-dot-1 { animation-delay: 0.85s; }
.bcadv-anim.is-visible .bcadv-dot-2 { animation-delay: 1.25s; }
.bcadv-anim.is-visible .bcadv-dot-3 { animation-delay: 1.65s; }
.bcadv-anim.is-visible .bcadv-dot-4 { animation-delay: 2.05s; }
.bcadv-anim.is-visible .bcadv-dot-5 { animation-delay: 2.45s; }
.bcadv-anim.is-visible .bcadv-legend   { transition: opacity 0.8s ease 2.9s; opacity: 1; }

/* "We stand behind your brand" positioning diagram: panels settle in behind →
   middle → front, then the dashed connectors fade in (kept dashed, not redrawn) */
.bcadv-anim .bcadv-panel { opacity: 0; transform: translateY(9px) scale(0.985); transform-box: fill-box; transform-origin: center; }
.bcadv-anim.is-visible .bcadv-panel   { transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22,1,0.36,1); opacity: 1; transform: none; }
.bcadv-anim.is-visible .bcadv-panel-2 { transition-delay: 0.18s; }
.bcadv-anim.is-visible .bcadv-panel-3 { transition-delay: 0.36s; }
.bcadv-anim .bcadv-connect { opacity: 0; }
.bcadv-anim.is-visible .bcadv-connect   { transition: opacity 0.5s ease 0.6s; opacity: 1; }
.bcadv-anim.is-visible .bcadv-connect-2 { transition-delay: 0.8s; }

@keyframes bcadvDraw   { to { stroke-dashoffset: 0; } }
@keyframes bcadvRipple { 0% { transform: scale(0.62); opacity: 0.55; } 70% { opacity: 0; } 100% { transform: scale(1.25); opacity: 0; } }
@keyframes bcadvPop    { to { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .bcadv-anim .bcadv-strand, .bcadv-anim .bcadv-merge, .bcadv-anim .bcadv-mainline { stroke-dasharray: none; stroke-dashoffset: 0; animation: none !important; }
  .bcadv-anim .bcadv-core, .bcadv-anim .bcadv-dot { transform: none !important; opacity: 1 !important; animation: none !important; transition: none !important; }
  .bcadv-anim .bcadv-label, .bcadv-anim .bcadv-legend, .bcadv-anim .bcadv-frame,
  .bcadv-anim .bcadv-area, .bcadv-anim .bcadv-noise, .bcadv-anim .bcadv-outcome { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
  .bcadv-anim .bcadv-ring { animation: none !important; opacity: 0 !important; }
  .bcadv-anim .bcadv-panel, .bcadv-anim .bcadv-connect { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================================
   Data-visual motion — bars, spines, dots & meters draw in when
   their <Reveal> scrolls into view (Reveal adds .bc-inview once
   shown). The hidden state is scoped to inside a not-yet-revealed
   .bc-reveal, so anything outside a Reveal — or if JS never
   reveals — stays visible. Stagger with style={{ '--i': n }}.
   Same understated feel as the bcadv Advantage diagrams.
   ============================================================ */
/* horizontal draw: bars, allocation stacks, accent strips, swatches, underlines */
.bc-reveal .bc-grow-x { transform: scaleX(0); transform-origin: left center; }
.bc-reveal.bc-inview .bc-grow-x {
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--i, 0) * 90ms + 0.1s);
  transform: scaleX(1);
}
/* horizontal wipe: bars that CONTAIN text/labels — reveals left→right without
   distorting the text the way scaleX would */
.bc-reveal .bc-wipe-x { clip-path: inset(0 100% 0 0); }
.bc-reveal.bc-inview .bc-wipe-x {
  transition: clip-path 0.9s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--i, 0) * 90ms + 0.1s);
  clip-path: inset(0 0 0 0);
}
/* vertical draw: bottom-anchored bars */
.bc-reveal .bc-grow-y { transform: scaleY(0); transform-origin: bottom center; }
.bc-reveal.bc-inview .bc-grow-y {
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--i, 0) * 80ms);
  transform: scaleY(1);
}
/* draw down: timeline spine */
.bc-reveal .bc-drawdown { transform: scaleY(0); transform-origin: top center; }
.bc-reveal.bc-inview .bc-drawdown {
  transition: transform 0.95s cubic-bezier(0.4, 0, 0.3, 1) calc(var(--i, 0) * 60ms + 0.05s);
  transform: scaleY(1);
}
/* sequential pop: dots, legend swatches, availability pills, meter segments */
.bc-reveal .bc-pop { opacity: 0; transform: scale(0.6); }
.bc-reveal.bc-inview .bc-pop {
  transition: opacity 0.4s ease calc(var(--i, 0) * 26ms), transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) calc(var(--i, 0) * 26ms);
  opacity: 1;
  transform: scale(1);
}
/* Journey timeline dot — hollow ring by default, lights up navy as the
   scroll-drawn rail reaches it (JS toggles .is-on; see TimelineW). */
.bcs-tldot {
  display: block; box-sizing: border-box; width: 13px; height: 13px; border-radius: 50%;
  background: var(--paper); border: 2px solid rgba(15, 41, 105, 0.28);
  transform: scale(0.82);
  transition: background 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.bcs-tldot.is-on {
  background: var(--navy-700); border-color: var(--navy-700);
  box-shadow: 0 0 0 4px rgba(15, 41, 105, 0.14); transform: scale(1);
}
@media (prefers-reduced-motion: reduce) { .bcs-tldot { transition: none; } }
@media (prefers-reduced-motion: reduce) {
  .bc-reveal .bc-grow-x, .bc-reveal.bc-inview .bc-grow-x,
  .bc-reveal .bc-grow-y, .bc-reveal.bc-inview .bc-grow-y,
  .bc-reveal .bc-drawdown, .bc-reveal.bc-inview .bc-drawdown,
  .bc-reveal .bc-pop, .bc-reveal.bc-inview .bc-pop {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
  .bc-reveal .bc-wipe-x, .bc-reveal.bc-inview .bc-wipe-x {
    clip-path: none !important;
    transition: none !important;
  }
}
