/* ============================================================
 * bmt-lusion.css — animation layer for building-materials-sales-distribution-software-lusion.html
 *
 *   1. the hero route line is rebuilt as an isometric scene — hub and
 *      beat left, the AI Platform core centre, GT / MT / QC right
 *   2. #pillars gets an animated radial vortex behind it (canvas,
 *      injected by the script)
 *   3. its card grid becomes a sticky deck — every card pins at the
 *      same offset so the next rises up and covers it exactly
 *   4. the key takeaways move onto the brand gradient, with the CTA
 *      band's dotted corners
 *   5. choreographed entrances for the rest of the page
 *
 * Purely additive. Every rule is scoped under a class the script
 * adds, so nothing outside those sections is touched and no copy
 * changes. Loaded last, so two-class selectors win over the page's
 * own rules without !important.
 * ========================================================== */

/* ============================================================
 * 0. Hero scene — the plant-to-site supply chain, isometric
 *
 * One 12s loop, so the whole chain beats together:
 *
 *   a pulse runs the spine left to right, under all four daises
 *   each dais rim lights as the pulse clears it, factory first
 *   each report card lifts and brightens on its own stage's beat
 *   continuous  the chimneys smoke, the cranes swing their load
 *               and the tower's top floor goes up
 *
 * Everything is keyed off --bmh-cyc, so retiming the stage is one
 * number.
 * ========================================================== */

.bmh-scene{--bmh-cyc:6s;}

/* The scene is a 600x330 stage, not the 400x210 route line it
   replaces, so the card lets it set its own height. */
.hero-card .bmh-scene{display:block;width:100%;max-width:100%;height:auto;overflow:visible;}
/* Below 981 the hero stacks to one column, and a plain `1fr` track is
   minmax(auto,1fr) — its floor is the items' min-content. Measured at
   375: the copy column reports 415px of min-content (the frosted trust
   chips do not wrap below their own width), so the track resolved to
   415 inside a 351 grid and the card hung 64px off the right edge.
   minmax(0,1fr) removes that floor. Only the stacked case is touched,
   so the desktop column split stays exactly as the page sets it. */
@media (max-width:981px){
  .hero-grid{grid-template-columns:minmax(0,1fr);}
}
.hero-grid > .hero-card{min-width:0;}

/* ---------- glass ---------- */
.bmh-scene .bmh-glass{
  fill:rgba(255,255,255,.1);
  stroke:rgba(169,230,255,.34);
  stroke-width:1.2;
}

/* ---------- the camera ----------
 * A real perspective transform on the <svg> itself, not a fake tilt
 * inside it: the whole render leans a couple of degrees either way on
 * a long, slow arc. It has to live on the element, because SVG child
 * transforms are flattened to 2D in every engine — the only place a
 * genuine 3D rotation survives is the replaced element.
 * 13s against the 6s content loop, so the camera and the chain never
 * land on the same beat twice running. */
.hero-card .bmh-scene{
  transform-origin:50% 56%;
  animation:bmhCam 13s ease-in-out infinite;
  will-change:transform;
}
@keyframes bmhCam{
  0%,100%{transform:perspective(1100px) rotateX(1.4deg) rotateY(-2.6deg);}
  50%{transform:perspective(1100px) rotateX(-1.4deg) rotateY(2.6deg);}
}

/* ---------- the three depth planes ----------
 * Same clock as the camera, different travel: the ground barely
 * shifts, the stages shift a little, the cards floating nearest shift
 * most. That difference is the parallax, and it is what makes the
 * camera move read as depth instead of as the picture sliding. */
.bmh-scene .bmh-plane{animation:bmhDrift 13s ease-in-out infinite;}
.bmh-scene .bmh-plane.p1{--amp:2px;}
.bmh-scene .bmh-plane.p2{--amp:6px;}
.bmh-scene .bmh-plane.p3{--amp:13px;}
@keyframes bmhDrift{
  0%,100%{transform:translateX(calc(var(--amp) * -1));}
  50%{transform:translateX(var(--amp));}
}

/* ---------- each stage floating over its own shadow ----------
 * The four lift on a stagger, and the shadow underneath does the
 * opposite of what the eye expects of a flat picture: as the stage
 * rises away from the ground the shadow spreads and weakens, and it
 * tightens and darkens as the stage settles. Without that the lift
 * reads as the art sliding up the page. */
.bmh-scene .bmh-lift{animation:bmhLift 5s ease-in-out infinite;}
.bmh-scene .bmh-drop{
  transform-box:fill-box;transform-origin:50% 50%;
  animation:bmhDrop 5s ease-in-out infinite;
}
.bmh-scene .bmh-dais.s2 .bmh-lift,
.bmh-scene .bmh-dais.s2 .bmh-drop{animation-delay:-1.25s;}
.bmh-scene .bmh-dais.s3 .bmh-lift,
.bmh-scene .bmh-dais.s3 .bmh-drop{animation-delay:-2.5s;}
.bmh-scene .bmh-dais.s4 .bmh-lift,
.bmh-scene .bmh-dais.s4 .bmh-drop{animation-delay:-3.75s;}
@keyframes bmhLift{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-6px);}
}
@keyframes bmhDrop{
  0%,100%{opacity:1;transform:scale(.92);}
  50%{opacity:.55;transform:scale(1.14);}
}

/* ---------- the ground pool ---------- */
.bmh-scene .bmh-pool{animation:bmhPool 4s ease-in-out infinite;}
@keyframes bmhPool{
  0%,100%{opacity:.62;}
  50%{opacity:1;}
}

/* ---------- the spine ----------
   One pulse per quarter-cycle runs the whole chain; the arrowheads in
   the gaps flash just as it passes them, a quarter apart. */
.bmh-scene .bmh-flow{
  stroke-dasharray:22 460;
  animation:bmhFlow var(--bmh-cyc) cubic-bezier(.45,.05,.3,1) infinite;
}
@keyframes bmhFlow{
  0%{stroke-dashoffset:482;opacity:0;}
  6%,88%{opacity:1;}
  100%{stroke-dashoffset:0;opacity:0;}
}
.bmh-scene .bmh-arrow{
  transform-box:fill-box;transform-origin:50% 50%;
  animation:bmhArrow var(--bmh-cyc) ease-out infinite;
}
.bmh-scene .bmh-arrow.a1{animation-delay:calc(var(--bmh-cyc) * 0.10);}
.bmh-scene .bmh-arrow.a2{animation-delay:calc(var(--bmh-cyc) * 0.28);}
.bmh-scene .bmh-arrow.a3{animation-delay:calc(var(--bmh-cyc) * 0.48);}
@keyframes bmhArrow{
  0%,100%{opacity:.35;transform:scale(1);}
  6%{opacity:1;transform:scale(1.35);}
  18%{opacity:.35;transform:scale(1);}
}

/* ---------- the daises ----------
   The rims light in order, so the chain reads as the pulse clearing
   one stage before the next rather than four rings blinking. */
.bmh-scene .bmh-rim{animation:bmhRim var(--bmh-cyc) ease-in-out infinite;}
.bmh-scene .bmh-dais.s2 .bmh-rim{animation-delay:calc(var(--bmh-cyc) * 0.14);}
.bmh-scene .bmh-dais.s3 .bmh-rim{animation-delay:calc(var(--bmh-cyc) * 0.30);}
.bmh-scene .bmh-dais.s4 .bmh-rim{animation-delay:calc(var(--bmh-cyc) * 0.50);}
@keyframes bmhRim{
  0%,100%{opacity:.5;}
  5%{opacity:1;}
  22%{opacity:.5;}
}

/* ---------- the factory ---------- */
/* Three puffs per stack on one 4s cycle, a third apart, so the smoke
   is a continuous column rather than a pulse. */
.bmh-scene .bmh-smoke{
  transform-box:fill-box;transform-origin:50% 50%;
  opacity:0;
  animation:bmhSmoke 2.4s ease-out infinite;
}
.bmh-scene .bmh-smoke.p2{animation-delay:-.8s;}
.bmh-scene .bmh-smoke.p3{animation-delay:-1.6s;}
.bmh-scene .bmh-smoke.b{animation-duration:2.8s;}
@keyframes bmhSmoke{
  0%{opacity:0;transform:translateY(0) scale(.5);}
  18%{opacity:.6;}
  100%{opacity:0;transform:translateY(-26px) scale(1.5);}
}

/* ---------- the depot ---------- */
.bmh-scene .bmh-fork{animation:bmhFork 3.4s ease-in-out infinite;}
@keyframes bmhFork{
  0%,100%{transform:translate(0,0);}
  50%{transform:translate(9px,4.5px);}
}

/* ---------- the construction site ---------- */
/* the jib swings, and the hook's load rides up and down under it */
.bmh-scene .bmh-crane{
  transform-box:fill-box;transform-origin:50% 100%;
  animation:bmhCrane 5s ease-in-out infinite;
}
.bmh-scene .bmh-crane.c2{animation-delay:-2.5s;animation-duration:6.2s;}
@keyframes bmhCrane{
  0%,100%{transform:rotate(-2.2deg);}
  50%{transform:rotate(2.2deg);}
}
.bmh-scene .bmh-load{animation:bmhLoad 2.8s ease-in-out infinite;}
.bmh-scene .bmh-crane.c2 .bmh-load{animation-delay:-1.4s;}
@keyframes bmhLoad{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-13px);}
}
/* the top floor arrives once per cycle — the 68% the card reports */
.bmh-scene .bmh-floor{
  transform-box:fill-box;transform-origin:50% 100%;
  animation:bmhFloor var(--bmh-cyc) ease-out infinite;
}
@keyframes bmhFloor{
  0%,54%{opacity:0;transform:translateY(-10px);}
  64%,96%{opacity:1;transform:translateY(0);}
  100%{opacity:0;transform:translateY(-10px);}
}

/* ---------- the report cards ----------
   Each card lifts and brightens as the pulse reaches its own stage,
   on the same offsets as the dais rims. */
.bmh-scene .bmh-card{
  transform-box:fill-box;transform-origin:50% 50%;
  animation:bmhCard var(--bmh-cyc) ease-in-out infinite;
}
.bmh-scene .bmh-card.k2,
.bmh-scene .bmh-card.k3{animation-delay:calc(var(--bmh-cyc) * 0.14);}
.bmh-scene .bmh-card.k4,
.bmh-scene .bmh-card.k5{animation-delay:calc(var(--bmh-cyc) * 0.30);}
.bmh-scene .bmh-card.k6{animation-delay:calc(var(--bmh-cyc) * 0.50);}
@keyframes bmhCard{
  0%,100%{opacity:.78;transform:translateY(0);}
  6%{opacity:1;transform:translateY(-4px);}
  24%{opacity:.78;transform:translateY(0);}
}
.bmh-scene .bmh-lead{animation:bmhLead 1.5s linear infinite;}
@keyframes bmhLead{to{stroke-dashoffset:-14;}}
.bmh-scene .bmh-prog{
  transform-box:fill-box;transform-origin:0% 50%;
  animation:bmhProg var(--bmh-cyc) ease-out infinite;
}
@keyframes bmhProg{
  0%,50%{transform:scaleX(.12);}
  66%,96%{transform:scaleX(1);}
  100%{transform:scaleX(.12);}
}

@media (prefers-reduced-motion:reduce){
  .bmh-scene .bmh-pool,.bmh-scene .bmh-flow,.bmh-scene .bmh-arrow,
  .bmh-scene .bmh-rim,.bmh-scene .bmh-smoke,.bmh-scene .bmh-fork,
  .bmh-scene .bmh-crane,.bmh-scene .bmh-load,.bmh-scene .bmh-floor,
  .bmh-scene .bmh-card,.bmh-scene .bmh-lead,.bmh-scene .bmh-prog,
  .bmh-scene .bmh-plane,.bmh-scene .bmh-lift,.bmh-scene .bmh-drop,
  .hero-card .bmh-scene{
    animation:none !important;transform:none !important;
  }
  /* the settled state: chain lit, site topped out, nothing mid-flight */
  .bmh-scene .bmh-flow{stroke-dasharray:none !important;opacity:.85 !important;}
  .bmh-scene .bmh-arrow,.bmh-scene .bmh-rim,.bmh-scene .bmh-card,
  .bmh-scene .bmh-floor{opacity:1 !important;}
  .bmh-scene .bmh-smoke{opacity:0 !important;}
}

/* ============================================================
 * 0b. Key takeaways, on the brand gradient
 *
 * The page ships these as plain numbered lines in a light box. They
 * become cards on --grad, matching the connected-platform tiles on
 * the other pages. Everything inside was coloured for a light ground,
 * so each piece is restated here; only colour changes, no copy moves.
 * ========================================================== */
.bm-tk .takeaways{background:transparent;border:0;box-shadow:none;padding:0;}
/* Four across instead of two. The page's own rule only steps down to
   one column at 700px, which would leave four cramped columns through
   the whole tablet range, so the two intermediate steps are added
   here: 4 -> 2 at 1199, 2 -> 1 where the page already does it. */
.bm-tk .tk-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}
@media (max-width:1199px){
  .bm-tk .tk-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:700px){
  .bm-tk .tk-grid{grid-template-columns:1fr;}
}

.bm-tk .tk{
  background:var(--grad,linear-gradient(135deg,#701893,#1308AD));
  border:1px solid rgba(255,255,255,.16);
  border-radius:var(--radius,18px);
  padding:22px 20px;
  box-shadow:
    0 2px 6px rgba(32,10,70,.14),
    0 12px 30px rgba(32,10,70,.18);
  /* the dot corners below bleed past the edges, so the card has to
     position and clip them itself */
  position:relative;
  overflow:hidden;
}

/* the index chip was a pale lavender pill with purple numerals —
   invisible logic on a purple card, so it becomes a frosted chip */
.bm-tk .tk .mk{
  background:rgba(255,255,255,.18);
  color:#ffffff;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.2);
}
.bm-tk .tk p,
.bm-tk .tk span:not(.mk){color:rgba(255,255,255,.82);}
/* centred over the four cards, as the reference lays it out — done
   here rather than in the markup so the heading's own text is left
   exactly as the page wrote it */
.bm-tk .takeaways > h3,
.bm-tk .takeaways > h2{color:var(--navy,#101F38);text-align:center;}

/* ---------- the CTA band's dotted corners, on these cards ----------
 * Same recipe the page uses for .cta: a 16px grid of 1.5px dots in
 * two patches, masked to a soft blob so the texture fades out rather
 * than stopping at a hard edge. */
.bm-tk .tk::before,
.bm-tk .tk::after{
  content:"";
  position:absolute;
  width:min(52%,240px);
  height:84%;
  z-index:0;
  pointer-events:none;
  background-image:radial-gradient(circle,
    rgba(255,255,255,.32) 1.5px, transparent 1.6px);
  background-size:16px 16px;
}
.bm-tk .tk::before{
  left:-18px;top:-22px;
  -webkit-mask-image:radial-gradient(circle at 22% 30%, #000 0%, #000 40%, transparent 70%);
          mask-image:radial-gradient(circle at 22% 30%, #000 0%, #000 40%, transparent 70%);
}
.bm-tk .tk::after{
  right:-18px;bottom:-22px;
  -webkit-mask-image:radial-gradient(circle at 78% 70%, #000 0%, #000 40%, transparent 70%);
          mask-image:radial-gradient(circle at 78% 70%, #000 0%, #000 40%, transparent 70%);
}
/* the text rides above the texture */
.bm-tk .tk > *{position:relative;z-index:1;}


.bm-stacked{
  --bm-top: 104px;      /* where every card pins, clearing the header */
  --bm-gap: 15vh;       /* scroll distance between one pin and the next */
  --bm-min: 52vh;       /* card height — no dead frame under a pinned card */
  /* The LAST card's entire stick room, and the surplus that keeps the
     FIRST card pinned until the last one arrives. This page needs far
     more of it than its siblings because the Influencer App card runs
     773px against the other four's ~500-570, and that one outlier sets
     the distance the whole deck has to cover. Swept and measured: 54vh
     stacks four of the five, 55vh and up stacks all five. Set to 62vh,
     comfortably past the edge rather than sitting on it. */
  --bm-tail: 62vh;

  --bm-ease: cubic-bezier(.22,.8,.3,1);
  --bm-back: cubic-bezier(.34,1.32,.44,1);
}

/* ============================================================
 * 1. Dark section + vortex backdrop
 * ========================================================== */
.bm-stage{
  position:relative;
  background:#fff;
  isolation:isolate;
  padding-bottom:0;
  /* deliberately NOT overflow:hidden — that would make this element a
     scroll container and kill the sticky vortex below. The vortex is
     viewport-sized and bounded by this box, so nothing can bleed out. */
}

/* Pinned to the viewport while the section scrolls past, so the viewer
   stays inside the swirl instead of watching a slice of one enormous
   circle. The negative margin removes it from flow, so it occupies no
   layout space; without it a 100vh block would push the section down.
   It also keeps the canvas viewport-sized rather than as tall as the
   whole deck — ~0.9M pixels a frame instead of 3.4M. */
.bm-vortex{
  position:sticky;
  top:0;
  height:100vh;
  margin-bottom:-100vh;
  z-index:0;
  pointer-events:none;
  opacity:0;
  transition:opacity 1.3s var(--bm-ease,ease);
}
.bm-stage.bm-on .bm-vortex{opacity:1;}
.bm-vortex canvas{display:block;width:100%;height:100%;}

/* On a white ground the arcs need lifting off the page rather than
   darkening down — a white veil, falling off toward the centre where
   the deck sits, so the strokes stay strongest at the margins. */
.bm-vortex::after{
  content:"";
  position:absolute;inset:0;z-index:1;pointer-events:none;
  background:radial-gradient(118% 78% at 50% 45%, rgba(255,255,255,.88), rgba(255,255,255,.52) 62%, rgba(255,255,255,.18) 100%);
}
.bm-stage > .container{position:relative;z-index:2;}

/* ---------- the heading scrolls away with the page ----------
 * It was pinned above the deck at one point; that left it hanging
 * over the cards passing beneath it, so it is plain flow content now,
 * matching van-sales-automation-lusion.html. No background either —
 * the cards no longer travel under it, and a white band would only
 * mask the vortex behind it. The first card simply rises over it,
 * which is what the deck is meant to look like.
 *
 * .section-head also carries the page's .reveal, which would fade the
 * whole block in on top of the per-element entrances this layer gives
 * the pill, the h2 and the lede. Cleared, so those play alone. */
.bm-stage .section-head{
  margin-bottom:26px;
  opacity:1;
  transform:none;
  transition:none;
}

/* ============================================================
 * 2. The sticky deck
 * ========================================================== */
.bm-stack.bento{display:block;margin-top:8px;}

/* A real in-flow spacer. A sticky box is constrained by its
   containing block's CONTENT box, so padding-bottom on .bento would
   not extend it and a margin on the last card collapses out of the
   parent entirely. Without this the final card has exactly zero
   stick room, never pins, and the cards above release early. */
.bm-stack-tail{
  display:block;
  height:var(--bm-tail,12vh);
  pointer-events:none;
}

.bm-stack > .feat{
  position:sticky;
  top:var(--bm-top,104px);
  margin-bottom:var(--bm-gap,15vh);
  min-height:var(--bm-min,52vh);
  width:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  grid-column:auto;
  padding:38px 44px;
  background:var(--white,#fff);
  border:1px solid #EDF1F7;
  border-radius:var(--radius,18px);

  /* The pin IS the entrance, so the page's own .reveal offset has to
     be cleared: a transform on a sticky box fights the pin. */
  opacity:1;
  transform:none;
  transition:none;

  /* Soft ambient depth — four very low-alpha layers rather than one
     heavy drop, so the covering edge stays clean on a white ground. */
  box-shadow:
    0 1px 2px rgba(16,31,56,.030),
    0 4px 10px rgba(16,31,56,.032),
    0 12px 26px rgba(16,31,56,.038),
    0 28px 58px rgba(16,31,56,.045);
}
/* the stylesheet's lift-on-hover would fight the pin */
.bm-stack > .feat:hover{transform:none;border-color:#E2D7F2;}
/* the tail already provides the run-out */
.bm-stack > .feat.bm-last{margin-bottom:0;}

/* the page's own grid-span rules are inert once this is block flow,
   but clear them so nothing re-applies at a breakpoint */
.bm-stack > .feat.span2,
.bm-stack > .feat.span3,
.bm-stack > .feat.span6{grid-column:auto;}

/* number sits large in the corner of a tall card */
.bm-stack > .feat .num{top:28px;right:34px;font-size:42px;}

/* ============================================================
 * 3. Card entrance — one class (.bm-in) plays the whole sequence
 * ========================================================== */

/* suppress transitions while a card is rewound off screen, or a
   quick scroll back catches it mid-fade */
.bm-stack .bm-noanim,
.bm-stack .bm-noanim *{transition:none !important;animation:none !important;}

.bm-stack > .feat .feat-ico{
  opacity:0;transform:scale(.66) rotate(-10deg);
  transition:opacity .5s var(--bm-ease), transform .62s var(--bm-back);
  transition-delay:60ms;
}
.bm-stack > .feat.bm-in .feat-ico{opacity:1;transform:none;}

.bm-stack > .feat h3{
  opacity:0;transform:translateY(16px);
  clip-path:inset(0 0 100% 0);
  transition:opacity .55s var(--bm-ease), transform .7s var(--bm-ease), clip-path .7s var(--bm-ease);
  transition-delay:150ms;
}
.bm-stack > .feat.bm-in h3{opacity:1;transform:none;clip-path:inset(0 0 0 0);}

.bm-stack > .feat .tag{
  opacity:0;clip-path:inset(0 100% 0 0 round 999px);
  transition:opacity .35s var(--bm-ease), clip-path .65s var(--bm-ease);
  transition-delay:320ms;
}
.bm-stack > .feat.bm-in .tag{opacity:1;clip-path:inset(0 0 0 0 round 999px);}

.bm-stack > .feat .num{
  opacity:0;transform:translateY(-14px) scale(1.3);filter:blur(6px);
  transition:opacity .7s var(--bm-ease), transform .85s var(--bm-ease), filter .7s var(--bm-ease);
  transition-delay:90ms;
}
.bm-stack > .feat.bm-in .num{opacity:1;transform:none;filter:blur(0);}

.bm-stack > .feat > p{
  opacity:0;transform:translateY(10px);
  transition:opacity .5s var(--bm-ease), transform .6s var(--bm-ease);
  transition-delay:260ms;
}
.bm-stack > .feat.bm-in > p{opacity:1;transform:none;}

.bm-stack > .feat ul li{
  opacity:0;transform:translateY(10px);
  transition:opacity .45s var(--bm-ease), transform .55s var(--bm-ease);
  transition-delay:calc(300ms + var(--i,0) * 80ms);
}
.bm-stack > .feat.bm-in ul li{opacity:1;transform:none;}

/* ============================================================
 * 3b. Card layout: copy left, illustration right
 * ========================================================== */
.bm-stack > .feat.bm-has-vec{
  display:grid;
  grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);
  gap:46px;
  align-items:center;
}
.bm-card-text{min-width:0;}
.bm-card-vec{min-width:0;display:flex;align-items:center;justify-content:center;}
.bm-card-vec svg{width:100%;height:auto;max-height:290px;overflow:visible;}

/* supporting lines, divided like the reference cards */
.bm-points{list-style:none;margin:18px 0 0;padding:0;}
.bm-points .bm-point{
  position:relative;
  padding:11px 0 11px 26px;
  margin:0;
  border-top:1px solid var(--line-soft,#EDF1F6);
  font-size:14.5px;line-height:1.55;font-weight:600;
  color:var(--ink-soft,#5B6675);
}
.bm-points .bm-point::before{
  content:"";position:absolute;left:3px;top:19px;
  width:8px;height:8px;border-radius:50%;
  background:var(--grad,linear-gradient(135deg,#701893,#1308AD));
}
.bm-stack > .feat .bm-points .bm-point{
  opacity:0;transform:translateY(12px);
  transition:opacity .5s var(--bm-ease), transform .6s var(--bm-ease);
  transition-delay:calc(420ms + var(--i,0) * 95ms);
}
.bm-stack > .feat.bm-in .bm-points .bm-point{opacity:1;transform:none;}

/* ============================================================
 * 3c. illustration animations — all keyed off .bm-in on the card
 * ========================================================== */

/* strokes draw themselves (lengths measured in script) */
.bm-card-vec [data-bm-draw]{
  stroke-dashoffset:var(--len,0);
  transition:stroke-dashoffset 1.3s var(--bm-ease);
  transition-delay:var(--dd,0ms);
}
.bm-in .bm-card-vec [data-bm-draw]{stroke-dashoffset:0;}

/* elements scale in, staggered by --p */
.bm-card-vec .bm-pop{
  opacity:0;transform:scale(.68);
  transform-box:fill-box;transform-origin:50% 50%;
  transition:opacity .5s var(--bm-ease), transform .62s var(--bm-back);
  transition-delay:calc(260ms + var(--p,0) * 100ms);
}
.bm-in .bm-card-vec .bm-pop{opacity:1;transform:none;}

/* bars grow up from their baseline */
.bm-card-vec .bm-bar{
  transform:scaleY(0);
  transform-box:fill-box;transform-origin:50% 100%;
  transition:transform .8s var(--bm-ease);
  transition-delay:calc(320ms + var(--p,0) * 95ms);
}
.bm-in .bm-card-vec .bm-bar{transform:none;}

/* data travelling the connector paths */
.bm-card-vec .bm-flow{opacity:0;transition:opacity .5s ease .7s;}
.bm-in .bm-card-vec .bm-flow{opacity:1;}

/* ambient loops — parked until the card lands, so nothing burns
   frames while it is still off screen */
.bm-card-vec .bm-float,
.bm-card-vec .bm-ring,
.bm-card-vec .bm-spin{animation-play-state:paused;}
.bm-in .bm-card-vec .bm-float,
.bm-in .bm-card-vec .bm-ring,
.bm-in .bm-card-vec .bm-spin{animation-play-state:running;}

.bm-card-vec .bm-float{
  animation:bmFloat 4.4s ease-in-out infinite;
  transform-box:fill-box;transform-origin:50% 50%;
}
@keyframes bmFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}

.bm-card-vec .bm-ring{
  fill:none;
  animation:bmRing 3s ease-out infinite;
  transform-box:fill-box;transform-origin:50% 50%;
}
@keyframes bmRing{0%{transform:scale(.72);opacity:.85}100%{transform:scale(1.5);opacity:0}}

.bm-card-vec .bm-spin{
  transform-box:view-box;
  animation:bmSpin 24s linear infinite;
}
@keyframes bmSpin{to{transform:rotate(360deg)}}

/* ============================================================
 * 4. Page-wide entrances (outside the deck)
 * ========================================================== */
.bm-anim .reveal{opacity:1;transform:none;transition:none;}

.bm-anim .bm-pill{
  opacity:0;transform:translateY(12px) scale(.9);
  clip-path:inset(0 42% 0 42% round 999px);
  transition:opacity .55s var(--bm-ease,ease), transform .7s var(--bm-back,ease), clip-path .7s var(--bm-ease,ease);
  transition-delay:var(--d,0ms);
}
.bm-anim .bm-pill.bm-in{opacity:1;transform:none;clip-path:inset(0 0 0 0 round 999px);}

/* heading words hinge up out of a clip mask */
.bm-w{
  display:inline-block;overflow:hidden;vertical-align:bottom;
  padding-bottom:.2em;margin-bottom:-.2em;
  perspective:680px;
}
.bm-w > i{
  display:inline-block;font-style:inherit;
  transform:translateY(116%) rotateX(-68deg);
  transform-origin:50% 0%;
  opacity:0;filter:blur(5px);
  transition:transform 1.05s var(--bm-ease,ease), opacity .62s var(--bm-ease,ease), filter .62s var(--bm-ease,ease);
  transition-delay:var(--d,0ms);
}
.bm-split.bm-in .bm-w > i{transform:none;opacity:1;filter:blur(0);}

.bm-anim .bm-fade{
  opacity:0;transform:translateY(18px);
  transition:opacity .85s var(--bm-ease,ease), transform .85s var(--bm-ease,ease);
  transition-delay:var(--d,0ms);
}
.bm-anim .bm-fade.bm-in{opacity:1;transform:none;}

/* plain cards outside the deck hinge up from their bottom edge */
.bm-anim .bm-card{
  opacity:0;
  transform:perspective(1300px) rotateX(11deg) translateY(50px) scale(.955);
  transform-origin:50% 100%;
  transition:opacity .8s var(--bm-ease,ease), transform 1.05s var(--bm-ease,ease);
  transition-delay:var(--d,0ms);
}
.bm-anim .bm-card.bm-in{opacity:1;transform:none;}

/* ============================================================
 * 5. Smaller screens — the deck unstacks into a normal column.
 *    A sticky stack needs vertical room a phone frame does not have.
 * ========================================================== */
@media (max-width:991px){
  .bm-stack.bento{display:grid;grid-template-columns:1fr;gap:26px;}
  .bm-stack > .feat{
    position:relative;
    min-height:0;
    margin-bottom:0;
    padding:28px 26px;
  }
  .bm-stack > .feat.bm-last{margin-bottom:0;}
  .bm-stack-tail{display:none;}
  .bm-stack > .feat .num{top:20px;right:22px;font-size:32px;}
  .bm-stage{padding-bottom:88px;}
  .bm-stage .section-head{margin-bottom:34px;}
  /* copy first, illustration beneath it */
  .bm-stack > .feat.bm-has-vec{grid-template-columns:1fr;gap:24px;}
  .bm-card-vec{order:2;}
  .bm-card-vec svg{max-height:210px;}
}
@media (max-width:575px){
  .bm-stack > .feat{padding:24px 22px;}
  .bm-stack > .feat .num{top:18px;right:18px;font-size:28px;}
  .bm-points .bm-point{font-size:13.5px;padding:9px 0 9px 22px;}
  .bm-points .bm-point::before{top:16px;width:7px;height:7px;}
  .bm-card-vec{display:none;}   /* copy wins the space on a phone */
}

/* ============================================================
 * 6. Reduced motion — the script does not stack at all in this
 *    case, but keep the guard so nothing animates if it ever does.
 * ========================================================== */
@media (prefers-reduced-motion:reduce){
  .bm-vortex{display:none;}
  .bm-stack > .feat{position:relative;min-height:0;margin-bottom:26px;}
  .bm-stack-tail{display:none;}
  .bm-stack > .feat .feat-ico,
  .bm-stack > .feat h3,
  .bm-stack > .feat .tag,
  .bm-stack > .feat .num,
  .bm-stack > .feat > p,
  .bm-stack > .feat ul li,
  .bm-stack > .feat .bm-points .bm-point,
  .bm-card-vec .bm-pop,.bm-card-vec .bm-flow,
  .bm-anim .bm-pill,.bm-anim .bm-fade,.bm-anim .bm-card{
    opacity:1 !important;transform:none !important;
    filter:none !important;clip-path:none !important;transition:none !important;
  }
  .bm-w > i{transform:none !important;opacity:1 !important;filter:none !important;transition:none !important;}
  .bm-card-vec .bm-bar{transform:none !important;transition:none !important;}
  .bm-card-vec [data-bm-draw]{stroke-dashoffset:0 !important;transition:none !important;}
  .bm-card-vec .bm-float,.bm-card-vec .bm-ring,.bm-card-vec .bm-spin{animation:none !important;}
}
@media print{
  .bm-vortex{display:none !important;}
}

/* ============================================================
 * 7. Support for lusion-motion.js
 *
 * That script is shared with aboutus-lusion.html, where these rules
 * live in lusion-hero.css. This page does not load that file, so the
 * three things it depends on are repeated here. They are not
 * optional: without the .lx-roll rules the letter-roll leaves BOTH
 * copies of every character in the flow and the nav reads doubled.
 * ========================================================== */

/* The page stylesheet sets html{scroll-behavior:smooth}. Left in
   place it makes every scrollTo() in the lerp start a NEW native
   smooth animation that the next frame cancels — the page stalls,
   then lurches. */
html.lx-smooth{scroll-behavior:auto !important;}

.lx-roll{
  display:inline-block;
  overflow:hidden;
  vertical-align:top;
  line-height:inherit;
}
.lx-roll__c{
  display:inline-block;
  position:relative;
  white-space:pre;
  transition:transform .52s cubic-bezier(.22,.61,.36,1);
  transition-delay:calc(var(--i) * 18ms);
  will-change:transform;
}
.lx-roll__c span{display:block;}
.lx-roll__c span:last-child{position:absolute;left:0;top:100%;}
.lx-roll:hover .lx-roll__c,
a:hover .lx-roll .lx-roll__c,
button:hover .lx-roll .lx-roll__c{transform:translateY(-100%);}

.lx-mag{will-change:transform;}
.lx-mag__inner{display:inline-flex;align-items:center;gap:inherit;will-change:transform;}

@media (prefers-reduced-motion:reduce){
  .lx-roll__c{transition:none;}
}

/* ============================================================
 * 0c. Hero band - the gradient treatment from the influencer page
 *
 * The page ships this hero as dark copy on white with the scene
 * boxed inside an opaque purple card. Here the whole band becomes
 * the brand gradient - slowly drifting, as on influencers-
 * application-lusion - the copy flips to white, and the card
 * dissolves so the isometric scene floats on the band itself.
 *
 * Nothing is added or removed from the markup; every rule below
 * only restates a colour, so the content is untouched.
 * ========================================================== */

.hero{
  color:#fff;
  background:linear-gradient(120deg,#2b00ba,#430171,#701893,#1308AD,#2b00ba);
  background-size:300% 300%;
  animation:bmHeroGrad 16s ease-in-out infinite;
}
@keyframes bmHeroGrad{
  0%{background-position:0% 50%;}
  50%{background-position:100% 50%;}
  100%{background-position:0% 50%;}
}
/* the page's own light-ground wash, restated for a dark one */
.hero::before{
  background:
    radial-gradient(680px 420px at 82% 6%, rgba(255,255,255,.10), transparent 60%),
    radial-gradient(620px 520px at 4% 92%, rgba(19,8,173,.32), transparent 60%);
}

/* ---------- the copy column ---------- */
.hero .eyebrow{background:rgba(255,255,255,.14);color:#fff;}
.hero .eyebrow .dot{background:#fff;}
.hero h1{color:#fff;}
/* .hl is a gradient clipped to the text - invisible on the gradient
   itself, so it goes back to a flat tint */
.hero h1 .hl{
  background:none;
  color:#c9a7ff;
  -webkit-text-fill-color:#c9a7ff;
}
.hero p.lede{color:#DAD3F2;}

.hero .hero-ctas .btn-primary{
  background:#fff;
  color:#393939;
  box-shadow:0 12px 28px rgba(16,4,50,.26);
}
.hero .hero-ctas .btn-primary:hover{
  filter:none;
  background:#fff;
  box-shadow:0 16px 34px rgba(16,4,50,.34);
}
.hero .hero-ctas .btn-ghost{border-color:rgba(255,255,255,.4);}

/* the trust line reads as bare grey text on white; on the band it
   becomes the same frosted chip row the influencer hero uses */
.hero .hero-trust{color:#E7ECF5;}
.hero .hero-trust .pill{
  color:#E7ECF5;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.16);
  padding:8px 15px;
  border-radius:999px;
}
.hero .hero-trust svg{color:#9be6d8;}

/* ---------- the scene column ---------- */
/* the card frame disappears so the scene sits on the band, with a
   soft glow behind it in place of the old panel */
.hero .hero-card{
  background:transparent;
  border:0;
  box-shadow:none;
  padding:0;
}
.hero .hero-card::before{
  content:"";
  position:absolute;
  left:50%;top:50%;
  width:78%;height:66%;
  transform:translate(-50%,-50%);
  border-radius:50%;
  z-index:0;
  pointer-events:none;
  background:radial-gradient(circle, rgba(201,167,255,.40), transparent 68%);
  filter:blur(26px);
  animation:bmHeroGlow 6s ease-in-out infinite;
}
@keyframes bmHeroGlow{
  0%,100%{opacity:.7;}
  50%{opacity:1;}
}
.hero .hero-card > *{position:relative;z-index:1;}

.hero .hc-top{margin-bottom:10px;}
.hero .hc-badge{color:rgba(255,255,255,.76);}
.hero .hc-live{color:rgba(255,255,255,.88);}

.hero .hc-stat{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.16);
  -webkit-backdrop-filter:blur(8px);
          backdrop-filter:blur(8px);
}
.hero .hc-stat span{color:#DAD3F2;}

@media (prefers-reduced-motion:reduce){
  .hero,.hero .hero-card::before{animation:none;}
}

/* ---------- the band's own breathing room ----------
 * The page gives this hero 132px/60px; the influencer band it is now
 * matching uses 140px/90px, and with the gradient running edge to edge
 * the shallow bottom reads as the copy sitting on the seam. Matched to
 * the influencer page. The <=991 top stays at the page's own 44px,
 * which is set against this header's mobile height, not the desktop one.
 */
.hero{padding:140px 0 90px;}
@media (max-width:991px){
  .hero{padding:44px 0 72px;}
}
