/* =====================================================================
   9. MOTION SYSTEM  (v1.2 — site-wide animation strategy)
   ---------------------------------------------------------------------
   WordPress: enqueue AFTER the main stylesheet (handle: esb-motion).
   Principles
     1. Content first: nothing is hidden unless JS has added .motion to
        <html>. A 2.5s failsafe + scroll safety net reveal anything missed.
     2. One easing family:  --m-ease (expo-out) for entrances,
        --m-swap (in-out) for layout morphs, --m-spring for small pops.
     3. Entrances run once per element; ambient loops (blobs, rays,
        floating chips, autoplay) pause off-screen and on hover/focus.
     4. prefers-reduced-motion removes every transform/loop; autoplay
        modules stop and become plain tabs.
   Patterns (add the attribute or class, JS does the rest)
     [data-reveal="fade-up|fade|scale|unveil|left|right"]   one-shot entrance
     --d:<ms>                                                stagger delay
     .m-w > span  (auto-generated)                           masked word rise
     data-count                                             count-up figures
   ===================================================================== */
:root {
  --m-ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --m-swap: cubic-bezier(0.65, 0, 0.35, 1);
  --m-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --m-wipe: cubic-bezier(0.7, 0, 0.2, 1);
  --m-dur: 0.9s;
  --m-dist: 26px;
}

/* 9.1 One-shot entrances ------------------------------------------- */
.motion [data-reveal] {
  opacity: 0;
  transform: translate3d(0, var(--m-dist), 0);
  transition:
    opacity var(--m-dur) var(--m-ease),
    transform var(--m-dur) var(--m-ease),
    clip-path 1.1s var(--m-wipe);
  transition-delay: var(--d, 0ms);
}

.motion .m-framework-sec .m-dp[data-reveal] {
  opacity: 1;
}

.motion [data-reveal="fade"] {
  transform: none;
}

.motion [data-reveal="scale"] {
  transform: scale(0.95);
}

.motion [data-reveal="left"] {
  transform: translate3d(calc(var(--m-dist) * -1), 0, 0);
}

.motion [data-reveal="right"] {
  transform: translate3d(var(--m-dist), 0, 0);
}

.motion [data-reveal="unveil"] {
  opacity: 1;
  transform: none;
  clip-path: inset(100% 0 0 0 round 24px);
}

.motion [data-reveal="unveil"] img {
  transform: scale(1.15);
  transition: transform 1.4s var(--m-ease);
  transition-delay: var(--d, 0ms);
}

.motion [data-reveal].is-in {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0 round 0);
}

.motion [data-reveal="unveil"].is-in img {
  transform: none;
}

/* 9.2 Masked word rise (hero titles, section headings, footer tagline) */
.m-w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}

.m-w>span {
  display: inline-block;
}

.motion .m-w>span {
  transform: translateY(108%);
  opacity: 0;
  filter: blur(6px);
  transition:
    transform 0.9s var(--m-ease),
    opacity 0.9s var(--m-ease),
    filter 0.9s var(--m-ease);
  transition-delay: calc(var(--wd, 0ms) + var(--i, 0) * 60ms);
}

.motion .is-in .m-w>span,
.motion .m-w.is-in>span,
.motion [data-words].is-in .m-w>span {
  transform: none;
  opacity: 1;
  filter: none;
}

/* 9.3 Header ---------------------------------------------------------- */
/* .motion .m-header__bar { */
/* animation: navIn .9s var(--m-ease) both; */
/* } */
/*  */
/* @keyframes navIn { */
/* from { */
/* opacity: 0; */
/* transform: translateY(-16px); */
/* } */
/* } */
/*  */
/* .m-nav__link { */
/* position: relative; */
/* } */
/*  */
/* .m-nav__link::after { */
/* content: ""; */
/* position: absolute; */
/* left: 14px; */
/* right: 30px; */
/* bottom: 4px; */
/* height: 1.5px; */
/* border-radius: 2px; */
/* background: var(--c-primary); */
/* transform: scaleX(0); */
/* transform-origin: left; */
/* transition: transform .35s var(--m-ease); */
/* } */
/*  */
/* .m-nav__link:hover::after, */
/* .m-nav__link[aria-expanded="true"]::after { */
/* transform: scaleX(1); */
/* } */
/*  */
/* .m-nav__item:last-child .m-nav__link::after { */
/* right: 14px; */
/* } */

/* 9.4 Buttons --------------------------------------------------------- */
.c-btn .fi,
.c-btn__arrow {
  overflow: hidden;
}

.c-btn:hover .c-btn__arrow .fi,
.c-btn:hover>.fi {
  animation: nudge 0.55s var(--m-ease);
  transform: none;
}

@keyframes nudge {
  0% {
    transform: none;
  }

  45% {
    transform: translateX(140%);
  }

  46% {
    transform: translateX(-140%);
  }

  100% {
    transform: none;
  }
}

.c-btn--primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.c-btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.32) 50%, transparent 65%);
  transform: translateX(-120%);
}

.motion .c-btn--primary::after {
  animation: sheen 5s 2s ease-in-out infinite;
}

@keyframes sheen {
  0% {
    transform: translateX(-120%);
  }

  28%,
  100% {
    transform: translateX(120%);
  }
}

.c-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -12px rgba(10, 114, 214, 0.75);
}

.c-btn:not(.c-btn--primary):hover {
  transform: translateY(-2px);
}

/* 9.5 Hero ambient layer ---------------------------------------------- */
.m-hero::before {
  content: none;
}

/* .m-hero__fx {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.m-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  will-change: transform;
  display: none;
}

.m-hero__blob.b1 {
  width: 620px;
  height: 620px;
  left: -220px;
  bottom: -280px;
  background: #6aa8ef;
  animation: drift1 16s ease-in-out infinite alternate;
}

.m-hero__blob.b2 {
  width: 460px;
  height: 460px;
  left: -120px;
  top: -160px;
  background: #c8f2df;
  animation: drift2 19s ease-in-out infinite alternate;
}

.m-hero__blob.b3 {
  width: 520px;
  height: 520px;
  left: 40%;
  bottom: -300px;
  background: #d8b9f2;
  animation: drift2 21s ease-in-out infinite alternate-reverse;
}

.m-hero__blob.b4 {
  width: 480px;
  height: 480px;
  right: -140px;
  top: -180px;
  background: #fbdbe9;
  animation: drift1 23s ease-in-out infinite alternate-reverse;
}

.m-hero__blob.b5 {
  width: 420px;
  height: 420px;
  right: -120px;
  bottom: -200px;
  background: #cfe2fb;
  animation: drift2 18s ease-in-out infinite alternate;
} */

@keyframes drift1 {
  to {
    transform: translate(80px, -50px) scale(1.12);
  }
}

@keyframes drift2 {
  to {
    transform: translate(-60px, 40px) scale(0.92);
  }
}

.m-hero__shapes {
  position: absolute;
  /* right: -140px; */
  /* top: 40%; */
  /* width: min(840px, 50vw); */
  right: -140px;
  top: 20%;
  width: min(1110px, 50vw);
  height: auto;
  overflow: visible;
  opacity: 0.4;
  /* transform: translate(calc(var(--mx, 0) * -22px), calc(var(--my, 0) * -16px)); */
  /* transition: transform .8s var(--m-ease); */
}

.m-hero__shapes path {
  fill: #dadada;
  stroke: #ffffff;
  stroke-width: 2px;
}

.m-hero__glass {
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 1.2;
  stroke-linejoin: round;
}

.m-hero__trace {
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  filter: drop-shadow(0 0 4px rgba(12, 126, 232, 0.55)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.9));
}

.m-hero__shape {
  transform-box: fill-box;
  transform-origin: 50% 50%;
}

.m-hero__float {
  /* animation: bob 9s ease-in-out infinite alternate; */
}

.m-hero__shape.s2 .m-hero__float {
  animation-duration: 11s;
  animation-delay: -3s;
}

.m-hero__shape.s3 .m-hero__float {
  animation-duration: 13s;
  animation-delay: -6s;
}

@keyframes bob {
  to {
    transform: translateY(-18px);
  }
}

/* entrance: shapes glide in from the right, outlines draw on, then a soft light runs along each edge */
.motion .m-hero__shape {
  opacity: 0;
  transform: translate(90px, 40px) rotate(-6deg) scale(0.94);
}

.motion .m-hero.is-in .m-hero__shape {
  animation: shapeIn 1.5s var(--m-spring) forwards;
}

.motion .m-hero.is-in .m-hero__shape.s2 {
  animation-delay: 0.25s;
}

.motion .m-hero.is-in .m-hero__shape.s3 {
  animation-delay: 0.45s;
}

@keyframes shapeIn {
  to {
    opacity: 1;
    transform: none;
  }
}

.motion .m-hero__glass {
  stroke-dasharray: var(--len, 1200px);
  stroke-dashoffset: var(--len, 1200px);
}

.motion .m-hero.is-in .m-hero__glass {
  animation:
    drawEdge 1.8s 0.35s var(--m-ease) forwards,
    glassPulse 7s 2.4s ease-in-out infinite alternate;
}

@keyframes drawEdge {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes glassPulse {
  to {
    fill-opacity: 0.7;
  }
}

.motion .m-hero__trace {
  stroke-dasharray: 140px var(--len, 1200px);
  stroke-dashoffset: 140px;
}

.motion .m-hero.is-in .m-hero__trace {
  opacity: 1;
  animation: traceRun 7s 2s linear infinite;
}

.motion .m-hero.is-in .m-hero__shape.s2 .m-hero__trace {
  animation-duration: 8.5s;
  animation-delay: 2.6s;
}

.motion .m-hero.is-in .m-hero__shape.s3 .m-hero__trace {
  animation-duration: 9.5s;
  animation-delay: 3.1s;
}

@keyframes traceRun {
  from {
    stroke-dashoffset: 140px;
  }

  to {
    stroke-dashoffset: calc(var(--len, 1200px) * -1 + 140px);
  }
}

.m-hero.is-paused .m-hero__float,
.m-hero.is-paused .m-hero__glass,
.m-hero.is-paused .m-hero__trace {
  animation-play-state: paused;
}

.m-hero__inner {
  z-index: 1;
}

.m-hero.is-paused .m-hero__blob {
  animation-play-state: paused;
}

@media screen and (max-width: 2160px) {
  .m-hero__shapes {
    right: -60px;
    top: 40%;
    width: min(550px, 50vw);
  }
}

@media (max-width: 767px) {
  .m-hero__shapes {
    opacity: 0.5;
    right: -40%;
    width: 120vw;
  }

  .m-hero__blob {
    filter: blur(50px);
  }
}

/* Trust bar: logos rise one by one, count-up on 50+ */
.motion .m-trust-bar__item {
  opacity: 0;
  transform: translateY(10px);
}

.motion .is-in .m-trust-bar__item,
.motion .m-trust-bar.is-in .m-trust-bar__item {
  animation: fadeUpIn 0.7s var(--m-ease) forwards;
  animation-delay: calc(500ms + var(--i, 0) * 110ms);
}

.m-trust-bar__item {
  transition: transform 0.35s var(--m-ease);
}

.m-trust-bar__item:hover {
  transform: translateY(-3px);
}

@keyframes fadeUpIn {
  to {
    opacity: 1;
    transform: none;
  }
}

/* 9.6 Cards, icons, chips -------------------------------------------- */
.motion [data-reveal].is-in .c-icon-tile {
  animation: tilePop 0.7s var(--m-spring) both;
  animation-delay: calc(var(--d, 0ms) + 220ms);
}

@keyframes tilePop {
  from {
    transform: scale(0.6) rotate(-8deg);
    opacity: 0;
  }
}

.c-card--hover .c-icon-tile,
a.c-card .c-icon-tile,
.m-service-card .c-icon-tile,
.m-industry-card .c-icon-tile {
  transition:
    transform 0.45s var(--m-spring),
    background 0.3s;
}

.c-card--hover:hover .c-icon-tile,
a.c-card:hover .c-icon-tile,
.m-industry-card:hover .c-icon-tile {
  transform: translateY(-3px) rotate(-6deg);
}

.motion [data-reveal].is-in .c-chip-list>.c-chip {
  animation: chipIn 0.55s var(--m-spring) both;
}

.motion [data-reveal].is-in .c-chip-list>.c-chip:nth-child(2) {
  animation-delay: 60ms;
}

.motion [data-reveal].is-in .c-chip-list>.c-chip:nth-child(3) {
  animation-delay: 120ms;
}

.motion [data-reveal].is-in .c-chip-list>.c-chip:nth-child(4) {
  animation-delay: 180ms;
}

.motion [data-reveal].is-in .c-chip-list>.c-chip:nth-child(n + 5) {
  animation-delay: 240ms;
}

@keyframes chipIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.9);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.c-card--hover,
a.c-card,
.m-article-card,
.m-post-card,
.m-project-card,
.m-qa-card,
.m-related-card {
  transition:
    transform 0.45s var(--m-ease),
    box-shadow 0.45s var(--m-ease),
    border-color 0.3s;
}

/* .m-article-card:hover, */
.m-post-card:hover,
.m-project-card:hover,
.m-qa-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 70px rgba(23, 72, 86, 0.13);
}

.c-bullets li::before {
  transition: transform 0.4s var(--m-spring);
}

.motion [data-reveal].is-in .c-bullets li::before,
.motion .is-in>.c-bullets li::before {
  animation: dotPop 0.5s var(--m-spring) both;
}

@keyframes dotPop {
  from {
    transform: scale(0);
  }
}

/* Floating decorative pills */
.motion .m-stage__visual .c-pill,
.w-chip {
  will-change: translate;
}

@keyframes float {

  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -6px;
  }
}

/* Numbered cards, steps */
/* .c-num-card {
  transition:
    transform 0.4s var(--m-ease),
    box-shadow 0.4s,
    border-color 0.3s;
}

.c-num-card:hover {
  transform: translateX(6px);
  border-color: rgba(12, 126, 232, 0.35);
  box-shadow: var(--sh-card-sm);
}

.c-num-card__n {
  transition:
    background 0.3s,
    color 0.3s;
}

.c-num-card:hover .c-num-card__n {
  background: var(--c-primary-ui);
  color: #fff;
} */

.c-steps::before {
  transform-origin: top;
}

.motion .c-steps::before {
  transform: scaleY(0);
  transition: transform 1.4s var(--m-ease) 0.2s;
}

.motion .c-steps.is-in::before,
.motion .is-in .c-steps::before {
  transform: none;
}

.motion .c-steps.is-in .c-step__num,
.motion .is-in .c-steps .c-step__num {
  animation: tilePop 0.6s var(--m-spring) both;
}

.c-step:nth-child(2) .c-step__num {
  animation-delay: 0.25s !important;
}

.c-step:nth-child(3) .c-step__num {
  animation-delay: 0.5s !important;
}

/* Tables: row cascade */
.motion .c-table tbody tr {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.5s var(--m-ease),
    transform 0.5s var(--m-ease);
}

.motion .is-in .c-table tbody tr,
.motion .c-table-wrap.is-in tbody tr {
  opacity: 1;
  transform: none;
}

.c-table tbody tr:nth-child(2) {
  transition-delay: 60ms;
}

.c-table tbody tr:nth-child(3) {
  transition-delay: 120ms;
}

.c-table tbody tr:nth-child(4) {
  transition-delay: 180ms;
}

.c-table tbody tr:nth-child(n + 5) {
  transition-delay: 240ms;
}

.c-table tbody tr:hover td {
  background: #f3f8fe;
}

/* Panels / tab content */
.motion .m-engagement__panel:not([hidden]),
.motion .m-stage-panel:not([hidden]),
.motion .m-usecase.is-open .m-usecase__panel {
  animation: panelIn 0.6s var(--m-ease) both;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }
}

/* Accordion: smooth height (Chromium 131+), icon spin */
@supports (interpolate-size: allow-keywords) {
  :root {
    interpolate-size: allow-keywords;
  }

  .c-accordion__item::details-content {
    block-size: 0;
    overflow: hidden;
    transition:
      block-size 0.45s var(--m-ease),
      content-visibility 0.45s allow-discrete;
  }

  .c-accordion__item[open]::details-content {
    block-size: auto;
  }
}

.c-accordion__item {
  transition:
    background 0.3s,
    border-color 0.3s,
    box-shadow 0.3s,
    transform 0.3s var(--m-ease);
}

.c-accordion__item:not([open]):hover {
  transform: translateX(4px);
}

/* Tech tiles, logos, social */


.m-recognition img,
.m-social a {
  transition:
    transform 0.35s var(--m-spring),
    background 0.3s;
}

.m-recognition img:hover,
.m-social a:hover {
  transform: translateY(-4px);
}

.m-footer__links a {
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  transition:
    color 0.25s,
    background-size 0.35s var(--m-ease);
}

.m-footer__links a:hover {
  background-size: 100% 1px;
}

/* Reading progress (article / case-study / Q&A pages) */
.m-progress {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 120;
  height: 3px;
  width: 100%;
  transform-origin: left;
  transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, #9fd0ff, var(--c-primary));
  pointer-events: none;
}

.m-progress[hidden] {
  display: none;
}

/* TOC active indicator glide */
.c-toc__list a {
  transition:
    color 0.25s,
    border-color 0.25s,
    padding-left 0.3s var(--m-ease),
    background 0.25s;
}

.c-toc__list a[aria-current="true"] {
  padding-left: 18px;
}

/* Visual-card illustrations (ODC / GCC / BOT) ---------------------- */
.m-visual-card__img {
  position: relative;
  overflow: hidden;
  /* border-radius: var(--r-lg); */
  /* aspect-ratio: 422 / 301; */
  background: linear-gradient(150deg, #eaf2ff 0%, #f4ecff 55%, #e6f7ef 100%);
  display: grid;
  place-items: center;
}

.m-viz {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 12px;
}

.m-viz__card {
  position: relative;
  width: 76%;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 14px;
  box-shadow: 0 22px 44px -22px rgba(20, 40, 80, 0.4);
}

.m-viz__seats {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}

.m-viz__seats i {
  aspect-ratio: 1;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  font: 600 10px/1 var(--font-sans);
  font-style: normal;
  color: var(--c-primary-ui);
  background: var(--c-primary-tint);
  opacity: 0.25;
}

.m-viz__seats i:nth-child(3n + 2) {
  background: var(--tint-green);
  color: #2f7a12;
}

.m-viz__seats i:nth-child(3n) {
  background: var(--tint-purple);
  color: #6a3fd1;
}

.is-in .m-viz__seats i {
  animation: seatOn 0.4s var(--m-spring) forwards;
  animation-delay: calc(300ms + var(--k, 0) * 90ms);
}

@keyframes seatOn {
  to {
    opacity: 1;
  }

  from {
    transform: scale(0.6);
  }
}

.m-viz__meter {
  margin-top: 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  color: var(--c-ink-2);
  font-size: 11px;
}

.m-viz__meter b {
  height: 6px;
  border-radius: var(--r-pill);
  background: #eef2f7;
  overflow: hidden;
}

.m-viz__meter b i {
  display: block;
  height: 100%;
  width: 83%;
  background: linear-gradient(90deg, #9fd0ff, var(--c-primary));
  transform-origin: left;
  transform: scaleX(0);
}

.is-in .m-viz__meter b i {
  animation: grow 1.6s 0.5s var(--m-ease) forwards;
}

.m-viz__chip {
  position: absolute;
  right: 7%;
  bottom: 10%;
}

.m-viz__globe {
  width: 62%;
  height: auto;
  overflow: visible;
}

.m-viz__globe circle,
.m-viz__globe ellipse {
  fill: none;
  stroke: rgba(12, 126, 232, 0.28);
  stroke-width: 1.2;
}

.m-viz__globe circle {
  fill: rgba(255, 255, 255, 0.6);
}

.is-in .m-viz__globe ellipse:first-of-type {
  animation: spinY 14s linear infinite;
  transform-origin: 100px 100px;
}

@keyframes spinY {
  to {
    transform: rotate(360deg);
  }
}

.m-viz__arc {
  fill: none;
  stroke: var(--c-primary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.is-in .m-viz__arc {
  animation: draw 1.4s 0.4s var(--m-ease) forwards;
}

.is-in .m-viz__arc--2 {
  animation-delay: 1.2s;
}

.m-viz__pin {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px 6px 6px;
  background: #fff;
  border-radius: 10px;
  font-size: 11.5px;
  box-shadow: 0 10px 22px -12px rgba(30, 40, 70, 0.45);
  opacity: 0;
}

.m-viz__pin img {
  width: 18px;
  height: 18px;
  border-radius: var(--r-xs);
}

.m-viz__pin .fi {
  font-size: 14px;
  color: var(--c-primary-ui);
  width: 18px;
  justify-content: center;
}

.m-viz__pin--us {
  left: 9%;
  top: 18%;
}

.m-viz__pin--in {
  right: 7%;
  top: 46%;
}

.m-viz__pin--you {
  left: 14%;
  bottom: 14%;
}

.is-in .m-viz__pin {
  animation:
    chipPop 0.7s var(--m-spring) forwards,
    float 5s ease-in-out infinite;
}

.is-in .m-viz__pin--us {
  animation-delay: 0.3s, 1.2s;
}

.is-in .m-viz__pin--in {
  animation-delay: 1.1s, 2s;
}

.is-in .m-viz__pin--you {
  animation-delay: 1.9s, 2.6s;
}

.m-viz__phases {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.m-viz__phases li {
  display: grid;
  justify-items: center;
  gap: 4px;
  text-align: center;
  padding: 10px 4px;
  border-radius: 10px;
  background: #f6f8fb;
  opacity: 0.35;
  transition:
    opacity 0.4s,
    background 0.4s;
}

.m-viz__phases i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--c-primary-ui);
}

.m-viz__phases b {
  font-weight: 600;
  font-size: 12px;
}

.m-viz__phases small {
  font-size: 10px;
  color: var(--c-ink-2);
}

.is-in .m-viz__phases li {
  animation: phaseOn 0.5s forwards;
}

.is-in .m-viz__phases li:nth-child(1) {
  animation-delay: 0.5s;
}

.is-in .m-viz__phases li:nth-child(2) {
  animation-delay: 1.4s;
}

.is-in .m-viz__phases li:nth-child(3) {
  animation-delay: 2.3s;
}

@keyframes phaseOn {
  to {
    opacity: 1;
    background: #eef5fd;
  }
}

.m-viz__progress {
  margin-top: 12px;
  height: 6px;
  border-radius: var(--r-pill);
  background: #eef2f7;
  overflow: hidden;
}

.m-viz__progress b {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #a78bfa, var(--c-primary), #22c55e);
  transform-origin: left;
  transform: scaleX(0);
}

.is-in .m-viz__progress b {
  animation: grow 2.4s 0.4s var(--m-ease) forwards;
}

.m-visual-card:hover .m-viz__card {
  transform: translateY(-4px);
}

.m-viz__card {
  transition: transform 0.5s var(--m-ease);
}