/* First-screen fonts: Latin subsets preloaded by bpo_innovature_gmd_font_preloads().
 * Declared after style.css's full faces, so Latin text uses these small files
 * and the full files load only for other characters. */
@font-face {
  font-family: "Poppins";
  src: url("../font/POPPINS-REGULAR-latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
  unicode-range: U+0-24F, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2100-21FF, U+2212, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins";
  src: url("../font/POPPINS-MEDIUM-latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
  unicode-range: U+0-24F, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2100-21FF, U+2212, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins";
  src: url("../font/POPPINS-SEMIBOLD-latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
  unicode-range: U+0-24F, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2100-21FF, U+2212, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins";
  src: url("../font/POPPINS-BOLD-latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
  unicode-range: U+0-24F, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2100-21FF, U+2212, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "iBrands";
  src: url("../font/iBrand-Innovature-latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
  unicode-range: U+0-24F, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2100-21FF, U+2212, U+FEFF, U+FFFD;
}

/* Symbols Poppins does not have (✓ ▲ ♥ ↗): drawn with the system font
 * straight away, as the browser would anyway after first downloading the
 * full Poppins files to look for them. */
.bpo-gmd-pscene__chip::before,
.bpo-gmd-pscene__chart small::after,
.bpo-gmd-pscene__queue em::after,
.bpo-gmd-pscene__social b::before,
.bpo-gmd-hs__approve::before,
a.bpo-gmd-work__item::after {
  font-family: sans-serif;
}

/* Graphic & Motion Design native page.
 * Builds on finance-accounting.css, native-service-hero.css and how-it-works.css
 * (the step navigator and model cards are reused from the How It Works page). */

.bpo-gmd {
  --bpo-gmd-card-border: rgba(0, 53, 162, 0.1);
  --bpo-gmd-card-shadow: 0 18px 52px rgba(24, 61, 116, 0.055);
  --bpo-gmd-title: #12386f;
  --bpo-gmd-gradient: linear-gradient(135deg, #0035a2 0%, #176ddf 55%, #4a9dff 100%);
  --bpo-gmd-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

.bpo-gmd :where(h3, h4) {
  text-wrap: balance;
}

.bpo-gmd :where(p, li, dd) {
  text-wrap: pretty;
}

/* Smooth in-page jumps that land below the sticky header. */
html:has(body.bpo-native-graphic-motion) {
  scroll-behavior: smooth;
}

.bpo-gmd [id] {
  scroll-margin-top: calc(var(--bpo-header-offset, 88px) + 16px);
}

/* Button labels keep the exact wording supplied by Marketing. */
.bpo-gmd .bpo-button__label {
  text-transform: none;
}

/* Section headings use the full shell width. */
.bpo-gmd .bpo-finance-heading,
.bpo-gmd .bpo-finance-heading > p {
  max-width: none;
}

/* The How It Works blocks sit inside this page's own sections. */
.bpo-gmd-how {
  overflow: visible;
  background: transparent;
}

/* Media slots ------------------------------------------------------------ */

.bpo-gmd-media {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Lottie slot: the animation sits on the page's soft blue field. */
.bpo-gmd-lottie {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 18%, rgba(74, 157, 255, 0.16), transparent 46%),
    radial-gradient(circle at 84% 82%, rgba(0, 53, 162, 0.1), transparent 50%),
    linear-gradient(135deg, #f7faff 0%, #e9f2ff 100%);
}

.bpo-gmd-lottie > svg {
  display: block;
  width: 100% !important;
  height: 100% !important;
  opacity: 0;
  transform: scale(var(--bpo-gmd-lottie-zoom, 1)) !important; /* lottie-web sets an inline transform */
  transition: opacity 500ms ease;
}

.bpo-gmd-lottie.is-loaded > svg {
  opacity: 1;
}

.bpo-gmd-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(74, 157, 255, 0.28), transparent 42%),
    radial-gradient(circle at 82% 78%, rgba(0, 53, 162, 0.22), transparent 46%),
    linear-gradient(135deg, #eef5ff 0%, #dceaff 100%);
}

.bpo-gmd-placeholder::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 53, 162, 0.12) 1px, transparent 1px);
  background-size: 18px 18px;
  content: "";
}

.bpo-gmd-placeholder__label {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 10px 16px;
  border: 1.5px dashed rgba(0, 53, 162, 0.38);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  color: #0035a2;
  font-family: var(--bpo-font-body), Poppins, sans-serif;
  text-align: center;
}

.bpo-gmd-placeholder__label strong {
  font-size: 15px;
  font-weight: 600;
}

.bpo-gmd-placeholder__label small {
  color: #54627a;
  font-size: 12px;
}

/* Shared bits ------------------------------------------------------------ */

.bpo-gmd-icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #eef5ff 0%, #dceaff 100%);
  box-shadow: 0 0 0 1px rgba(0, 53, 162, 0.08) inset;
}

.bpo-gmd-icon img {
  width: 24px;
  height: 24px;
}

.bpo-gmd .bpo-gmd-eyebrow,
.bpo-gmd p.bpo-gmd-label {
  display: block;
  margin: 0;
  color: #176ddf;
  font-family: var(--bpo-font-body), Poppins, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.bpo-gmd-checklist {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bpo-gmd-checklist li {
  position: relative;
  margin: 0;
  padding-left: 28px;
  color: var(--bpo-finance-copy);
  font-family: var(--bpo-font-body), Poppins, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.bpo-gmd-checklist li::before {
  position: absolute;
  top: 3px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--bpo-gmd-gradient);
  content: "";
}

.bpo-gmd-checklist li::after {
  position: absolute;
  top: 8px;
  left: 5px;
  width: 8px;
  height: 4px;
  border-bottom: 1.6px solid #fff;
  border-left: 1.6px solid #fff;
  content: "";
  transform: rotate(-45deg);
}

.bpo-gmd-badge {
  display: inline-flex;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bpo-gmd-gradient);
  box-shadow: 0 8px 20px rgba(0, 53, 162, 0.22);
  color: #fff;
  font-family: var(--bpo-font-body), Poppins, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.bpo-gmd h3 {
  margin: 0;
  color: var(--bpo-gmd-title);
  font-family: var(--bpo-font-title), Poppins, sans-serif;
  font-weight: 400;
  line-height: 1.15;
}

.bpo-gmd :where(.bpo-gmd-service, .bpo-gmd-package, .bpo-gmd-pack, .bpo-gmd-motion-card, .bpo-gmd-reason) p {
  margin: 0;
  color: var(--bpo-finance-copy);
  font-family: var(--bpo-font-body), Poppins, sans-serif;
  font-size: 15px;
  line-height: 1.68;
}

/* Gradient call-to-action, same treatment as the site's primary buttons ---- */

body.bpo-innovature-theme .bpo-gmd :is(a, button).bpo-gmd-button {
  margin-top: 6px;
  border: 1px solid rgba(0, 53, 162, 0.08);
  background: linear-gradient(135deg, #0035a2 0%, #155dcc 100%);
  box-shadow: 0 14px 30px rgba(0, 53, 162, 0.18);
  color: #fff;
  text-decoration: none;
}

body.bpo-innovature-theme .bpo-gmd :is(a, button).bpo-gmd-button:hover,
body.bpo-innovature-theme .bpo-gmd :is(a, button).bpo-gmd-button:focus-visible {
  border-color: rgba(74, 157, 255, 0.42);
  background: linear-gradient(135deg, #0a49b7 0%, #176edc 100%);
  box-shadow: 0 17px 36px rgba(0, 53, 162, 0.23);
  color: #fff;
  transform: translateY(-2px);
}

body.bpo-innovature-theme .bpo-gmd :is(a, button).bpo-gmd-button .bpo-button__icon-wrapper {
  background: #fff;
  color: #0035a2;
}

/* Hero ------------------------------------------------------------------- */

/* No offset card behind the hero visual on this page. */
body.bpo-innovature-theme .bpo-idp-hero.bpo-gmd-hero .bpo-idp-hero__visual::before {
  display: none;
}

body.bpo-innovature-theme .bpo-gmd-hero .bpo-gmd-hero__frame {
  position: relative;
  overflow: hidden;
}

body.bpo-innovature-theme .bpo-gmd-hero .bpo-gmd-hero__frame .bpo-gmd-media {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* A little more air between the service row and the buttons. */
body.bpo-innovature-theme .bpo-idp-hero.bpo-gmd-hero .bpo-idp-hero__actions {
  margin-top: 12px;
}

/* No frame around the drawn studio scene: it floats on the hero background. */
body.bpo-innovature-theme .bpo-idp-hero.bpo-gmd-hero .bpo-idp-hero__visual.bpo-gmd-hero__media--scene {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

body.bpo-innovature-theme .bpo-idp-hero.bpo-gmd-hero .bpo-gmd-hero__media--scene .bpo-gmd-hero__frame {
  overflow: visible;
  border-radius: 0;
  background: none;
}

/* A slow light behind the visual hints at motion without distracting. */
.bpo-gmd-hero__media {
  isolation: isolate;
}

.bpo-gmd-hero__media::after {
  position: absolute;
  inset: -12% -8% -12% 6%;
  z-index: -2;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(74, 157, 255, 0), rgba(74, 157, 255, 0.32), rgba(34, 184, 240, 0.22), rgba(0, 53, 162, 0.18), rgba(74, 157, 255, 0));
  filter: blur(48px);
  content: "";
  animation: bpo-gmd-aurora 18s linear infinite;
  pointer-events: none;
}

@keyframes bpo-gmd-aurora {
  to { transform: rotate(360deg); }
}

/* Two-line heading sized to the hero column so each line stays whole. */
body.bpo-innovature-theme .bpo-idp-hero.bpo-gmd-hero h1 {
  position: relative;
  font-size: clamp(36px, calc(1.45vw + 22px), 44px);
  text-wrap: initial;
}

@media (max-width: 1080px) {
  body.bpo-innovature-theme .bpo-idp-hero.bpo-gmd-hero h1 {
    font-size: clamp(27px, calc(6.78vw - 29px), 40px);
  }
}

@media (max-width: 820px) {
  body.bpo-innovature-theme .bpo-idp-hero.bpo-gmd-hero h1 {
    font-size: 44px;
  }
}

@media (max-width: 767px) {
  body.bpo-innovature-theme .bpo-idp-hero.bpo-gmd-hero h1 {
    font-size: clamp(32px, 9.4vw, 40px);
  }
}

.bpo-gmd-hero__line {
  display: block;
  white-space: nowrap;
}

/* A gradient that keeps flowing through the service name. */
.bpo-gmd-hero__line--accent {
  background: linear-gradient(100deg, #0035a2 0%, #176ddf 25%, #4a9dff 45%, #22b8f0 55%, #176ddf 75%, #0035a2 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: bpo-gmd-text-flow 5s ease-in-out infinite;
}

@keyframes bpo-gmd-text-flow {
  0% { background-position: 100% 50%; }
  50% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* The heading and the studio scene share one 10s loop: "Creative On-Demand"
   is typed with the banner's headline (first view only), then the designer
   drags "Outsourcing" out of the banner and places it in the heading, the
   colour picked on the right floods the heading, and a double-click on the
   Brand guidelines star sends the sparkles over to it. */
.bpo-gmd-hero__word {
  position: relative;
  display: inline-block;
}

.bpo-gmd-hero__select {
  position: absolute;
  inset: 0.02em -0.22em -0.04em;
  border: 1.5px solid #3d8bff;
  border-radius: 3px;
  pointer-events: none;
  animation: bpo-gmd-select 10s var(--bpo-gmd-ease) infinite both;
}

.bpo-gmd-hero__select i {
  position: absolute;
  width: 7px;
  height: 7px;
  border: 1.5px solid #3d8bff;
  border-radius: 1.5px;
  background: #fff;
}

.bpo-gmd-hero__select i:nth-child(1) { top: -4.5px; left: -4.5px; }
.bpo-gmd-hero__select i:nth-child(2) { top: -4.5px; right: -4.5px; }
.bpo-gmd-hero__select i:nth-child(3) { bottom: -4.5px; left: -4.5px; }
.bpo-gmd-hero__select i:nth-child(4) { right: -4.5px; bottom: -4.5px; }

.bpo-gmd-hero__cursor {
  position: absolute;
  top: 52%;
  left: calc(100% + 0.32em);
  display: flex;
  align-items: flex-start;
  gap: 2px;
  pointer-events: none;
  animation: bpo-gmd-hero-cursor 10s cubic-bezier(0.45, 0, 0.25, 1) infinite both;
}

.bpo-gmd-hero__cursor svg {
  display: block;
  width: 16px;
  height: 20px;
  fill: #0035a2;
  stroke: #fff;
  stroke-linejoin: round;
  stroke-width: 1.4;
  filter: drop-shadow(0 3px 5px rgba(0, 53, 162, 0.3));
  transform-origin: top left;
  animation: bpo-gmd-hero-click 10s ease infinite both;
}

/* The name tag, kept in CSS so it never joins the heading's text. */
.bpo-gmd-hero__cursor::after {
  margin-top: 14px;
  padding: 3px 9px;
  border-radius: 3px 99px 99px 99px;
  background: var(--bpo-gmd-gradient);
  box-shadow: 0 6px 14px rgba(0, 53, 162, 0.22);
  color: #fff;
  content: "Designer";
  font-family: var(--bpo-font-body), Poppins, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
  white-space: nowrap;
}

@keyframes bpo-gmd-select {
  0%, 39% { opacity: 0; clip-path: inset(-12px 100% -12px -12px); }
  39.5% { opacity: 1; }
  42%, 47% { opacity: 1; clip-path: inset(-12px -12px -12px -12px); }
  52%, 100% { opacity: 0; clip-path: inset(-12px -12px -12px -12px); }
}

@keyframes bpo-gmd-hero-cursor {
  0%, 39.4% { opacity: 0; transform: none; }
  39.6%, 43.5% { opacity: 1; transform: none; }
  45.5%, 100% { opacity: 0; transform: translate(10px, 6px); }
}

/* Without room to fly (stacked layout) the cursor lingers, then leaves. */
@keyframes bpo-gmd-hero-cursor-stay {
  0%, 38% { opacity: 0; transform: scale(0.6); }
  41%, 46% { opacity: 1; transform: none; }
  50%, 100% { opacity: 0; transform: none; }
}

/* Clicks: once to select, once to approve. */
/* A click to let go of the word. */
@keyframes bpo-gmd-hero-click {
  0%, 39.6%, 42%, 100% { transform: none; }
  40.8% { transform: scale(0.82); }
}

/* The dragged copy glides straight from the banner to the heading, growing
   to the heading's size: one smooth move across (outer element) and up
   (inner element), positions set by the JS. */
@keyframes bpo-gmd-hero-fly {
  0%, 27.5% { opacity: 0; transform: translateX(var(--fx1, 0)); }
  28.5% { opacity: 1; transform: translateX(var(--fx1, 0)); }
  39.5% { opacity: 1; transform: translateX(var(--fx0, 0)); }
  40.5%, 100% { opacity: 0; transform: translateX(var(--fx0, 0)); }
}

@keyframes bpo-gmd-hero-fly-y {
  0%, 28.5% { transform: translateY(var(--fy1, 0)) scale(var(--fs, 1)); }
  39.5%, 100% { transform: translateY(var(--fy0, 0)); }
}

/* The word glows as it is placed, and again as the banner exports. */
@keyframes bpo-gmd-word-sync {
  0%, 39%, 48%, 80%, 92%, 100% { text-shadow: none; }
  41% { text-shadow: 0 0 18px rgba(74, 157, 255, 0.55); }
  84% { text-shadow: 0 0 18px rgba(74, 157, 255, 0.55); }
}

/* On first view the word is only there once it has been placed. */
@keyframes bpo-gmd-word-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.bpo-gmd-hero__fly {
  position: absolute;
  z-index: 6;
  top: 0;
  left: 0;
  display: none;
  pointer-events: none;
  animation: bpo-gmd-hero-fly 10s cubic-bezier(0.55, 0, 0.3, 1) infinite both;
}

.bpo-gmd-hero__fly-y {
  display: block;
  transform-origin: top left;
  animation: bpo-gmd-hero-fly-y 10s cubic-bezier(0.55, 0, 0.3, 1) infinite both;
}

.bpo-gmd-hero.is-flying .bpo-gmd-hero__fly {
  display: block;
}

.bpo-gmd-hero__fly-chip {
  position: relative;
  display: inline-block;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 1.5px #3d8bff, 0 18px 40px rgba(0, 53, 162, 0.22);
  color: #404041;
  white-space: nowrap;
}

.bpo-gmd-hero__fly-chip::before {
  content: attr(data-text);
}

/* The flying cursor rides with the copy; its timing comes from the flight. */
.bpo-gmd-hero__cursor--fly,
.bpo-gmd-hero__cursor--fly svg {
  animation: none;
}

.bpo-gmd-hero:not(.is-flying) .bpo-gmd-hero__word .bpo-gmd-hero__cursor {
  animation-name: bpo-gmd-hero-cursor-stay;
}

.bpo-gmd-hero__word {
  animation: bpo-gmd-word-sync 10s ease infinite both;
}

.bpo-gmd-hero--scene .bpo-gmd-hero__word {
  animation:
    bpo-gmd-word-sync 10s ease 1 both,
    bpo-gmd-word-in 0.2s linear 3.9s 1 both;
}

/* With the studio scene beside it, the heading follows the shared loop:
   a dark layer over the gradient shrinks toward the left when the colour
   is picked, so the colour arrives from the right. */
.bpo-gmd-hero--scene .bpo-gmd-hero__line--accent {
  width: fit-content;
  background:
    linear-gradient(#404041, #404041) 0 0 / 100% 100% no-repeat,
    linear-gradient(100deg, #0035a2 0%, #176ddf 25%, #4a9dff 45%, #22b8f0 55%, #176ddf 75%, #0035a2 100%) 100% 50% / 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation:
    bpo-gmd-text-sync 10s ease-in-out 1 both,
    bpo-gmd-type-in 0.7s steps(18, end) 1.2s 1 both;
}

.bpo-gmd-hero--scene .bpo-gmd-sparkle {
  animation:
    bpo-gmd-sparkle-fly 10s cubic-bezier(0.3, 0, 0.2, 1) 0s 1 both,
    bpo-gmd-twinkle 2.8s ease-in-out 10s infinite;
}

.bpo-gmd-hero--scene .bpo-gmd-sparkle--2 { animation-delay: 0.12s, 10.7s; }
.bpo-gmd-hero--scene .bpo-gmd-sparkle--3 { animation-delay: 0.04s, 11.3s; }
.bpo-gmd-hero--scene .bpo-gmd-sparkle--4 { animation-delay: 0.2s, 11.9s; }
.bpo-gmd-hero--scene .bpo-gmd-sparkle--5 { animation-delay: 0.28s, 12.3s; }

.bpo-gmd-hero--scene :is(.bpo-gmd-hero__select, .bpo-gmd-hero__cursor, .bpo-gmd-hero__cursor svg, .bpo-gmd-hero__fly, .bpo-gmd-hero__fly-y) {
  animation-iteration-count: 1;
}

/* Without the scene there is nothing to talk to. */
.bpo-gmd-hero:not(.bpo-gmd-hero--scene) :is(.bpo-gmd-hero__select, .bpo-gmd-hero__cursor) {
  display: none;
}

/* The sparkles leave the Brand guidelines star after the double-click
   (offsets set by the JS), land around the heading, twinkle, then rest. */
@keyframes bpo-gmd-sparkle-fly {
  0%, 60.5% { opacity: 0; transform: translate(var(--sx, 140px), var(--sy, -30px)) scale(0.5) rotate(0deg); }
  61.5% { opacity: 1; }
  67% { opacity: 1; transform: translate(0, 0) scale(1.35) rotate(90deg); }
  71% { opacity: 1; transform: scale(0.9) rotate(120deg); }
  78% { opacity: 1; transform: scale(1.1) rotate(160deg); }
  86% { opacity: 0.85; transform: scale(0.85) rotate(190deg); }
  93%, 100% { opacity: 0; transform: scale(0.4) rotate(220deg); }
}

/* "Creative On-Demand" holds still, then the colour runs through it as the
   sparkles arrive, and eases back before the loop restarts. */
@keyframes bpo-gmd-text-sync {
  0%, 51% { background-size: 100% 100%, 260% 100%; background-position: 0 0, 100% 50%; }
  57% { background-size: 0% 100%, 260% 100%; background-position: 0 0, 100% 50%; }
  65% { background-size: 0% 100%, 260% 100%; background-position: 0 0, 100% 50%; }
  80%, 100% { background-size: 0% 100%, 260% 100%; background-position: 0 0, 0% 50%; }
}

/* Typed with the banner headline on the right, once. */
@keyframes bpo-gmd-type-in {
  from { clip-path: inset(-0.2em 100% -0.2em 0); }
  to { clip-path: inset(-0.2em -0.2em -0.2em 0); }
}

/* Held with the studio scene when the hero scrolls out of view. */
.bpo-gmd-hero.is-scene-paused :is(.bpo-gmd-hero__title, .bpo-gmd-hero__title *, .bpo-gmd-hero__fly, .bpo-gmd-hero__fly *) {
  animation-play-state: paused;
}

/* Sparkles that twinkle around the heading. */
.bpo-gmd-sparkle {
  position: absolute;
  display: block;
  width: 16px;
  height: 16px;
  color: #4a9dff;
  pointer-events: none;
  animation: bpo-gmd-twinkle 2.8s ease-in-out infinite;
}

.bpo-gmd-sparkle svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
  filter: drop-shadow(0 0 6px rgba(74, 157, 255, 0.55));
}

.bpo-gmd-sparkle--1 { top: -14px; left: -18px; width: 14px; height: 14px; animation-delay: 0s; }
.bpo-gmd-sparkle--2 { top: 4px; right: 18%; width: 18px; height: 18px; color: #22b8f0; animation-delay: 0.7s; }
.bpo-gmd-sparkle--3 { top: 44%; right: 2%; width: 11px; height: 11px; color: #0035a2; animation-delay: 1.3s; }
.bpo-gmd-sparkle--4 { bottom: -10px; left: 36%; width: 12px; height: 12px; color: #176ddf; animation-delay: 1.9s; }
.bpo-gmd-sparkle--5 { top: 46%; left: -14px; width: 9px; height: 9px; color: #22b8f0; animation-delay: 2.3s; }

@keyframes bpo-gmd-twinkle {
  0%, 100% { opacity: 0; transform: scale(0.3) rotate(0deg); }
  40% { opacity: 1; transform: scale(1) rotate(45deg); }
  60% { opacity: 0.85; transform: scale(0.85) rotate(60deg); }
}

/* Services as one plain row of labels split by thin rules. */
.bpo-gmd-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px clamp(10px, 1.2vw, 16px);
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bpo-gmd-hero__tags li {
  display: inline-flex;
  flex: 0 0 auto;
  gap: clamp(10px, 1.2vw, 16px);
  align-items: center;
  margin: 0;
  padding: 0;
  color: #12386f;
  font-family: var(--bpo-font-body), Poppins, sans-serif;
  font-size: clamp(12px, 0.25vw + 9.5px, 13px);
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  animation: bpo-gmd-chip-in 600ms var(--bpo-gmd-ease) both;
  animation-delay: calc(var(--i, 0) * 90ms + 200ms);
}

.bpo-gmd-hero__tags li:not(:last-child)::after {
  width: 1px;
  height: 12px;
  background: rgba(0, 53, 162, 0.2);
  content: "";
}

@keyframes bpo-gmd-chip-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* Core services ---------------------------------------------------------- */

.bpo-gmd-services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.bpo-gmd-service {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--bpo-gmd-card-border);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--bpo-gmd-card-shadow);
}

.bpo-gmd-service__media {
  margin: 12px 12px 0;
  overflow: hidden;
  border-radius: 16px;
}

.bpo-gmd-service__media .bpo-gmd-media {
  transition: transform 600ms var(--bpo-gmd-ease);
}

.bpo-gmd-service__body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 10px;
  align-content: start;
  padding: 24px 28px 28px;
}

.bpo-gmd-service__body h3 {
  align-self: center;
  font-size: clamp(26px, 2.6vw, 32px);
}

.bpo-gmd-service__body > p,
.bpo-gmd-service__body > .bpo-gmd-button {
  grid-column: 1 / -1;
}

.bpo-gmd-service__body > .bpo-gmd-button {
  margin-top: 8px;
}

/* Brand guideline: a contained card instead of a full-bleed band ------- */

.bpo-gmd-brand {
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
}

.bpo-gmd-brand__inner {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  padding: clamp(28px, 4vw, 52px);
  overflow: hidden;
  border: 1px solid var(--bpo-gmd-card-border);
  border-radius: 32px;
  background:
    radial-gradient(circle at 0% 0%, rgba(74, 157, 255, 0.14), transparent 38%),
    radial-gradient(circle at 100% 100%, rgba(34, 184, 240, 0.1), transparent 40%),
    #fff;
  box-shadow: 0 24px 64px rgba(24, 61, 116, 0.08);
}

.bpo-gmd-brand__inner::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(0, 53, 162, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  content: "";
  mask-image: linear-gradient(120deg, #000 0%, transparent 45%);
}

.bpo-gmd-brand__summary {
  display: grid;
  gap: 20px;
  justify-items: start;
}

.bpo-gmd-brand__summary h2 {
  margin: 0;
  color: #404041;
  font-family: var(--bpo-font-title), Poppins, sans-serif;
  font-size: clamp(32px, 3.8vw, 44px);
  font-weight: 400;
  line-height: 1.04;
  text-wrap: balance;
}

.bpo-gmd-brand__summary > p {
  margin: 0;
  color: var(--bpo-finance-copy);
  font-family: var(--bpo-font-body), Poppins, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

/* Timeline and audience read as one strip of facts. */
.bpo-gmd-brand__facts {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 53, 162, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 30px rgba(24, 61, 116, 0.06);
}

.bpo-gmd-brand__fact {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 2px;
  align-content: start;
  padding: 16px 18px;
}

.bpo-gmd-brand__fact + .bpo-gmd-brand__fact {
  border-left: 1px solid rgba(0, 53, 162, 0.1);
}

.bpo-gmd-brand__fact-icon {
  display: grid;
  grid-row: span 2;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, #eef5ff 0%, #dceaff 100%);
}

.bpo-gmd-brand__fact dt {
  color: #176ddf;
  font-family: var(--bpo-font-body), Poppins, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.bpo-gmd-brand__fact dd {
  margin: 0;
  color: var(--bpo-finance-copy);
  font-family: var(--bpo-font-body), Poppins, sans-serif;
  font-size: 13.5px;
  line-height: 1.55;
}

.bpo-gmd-brand__fact--time dd {
  color: var(--bpo-gmd-title);
  font-family: var(--bpo-font-title), Poppins, sans-serif;
  font-size: 24px;
  line-height: 1.1;
  white-space: nowrap;
}

.bpo-gmd-brand__receive {
  width: 100%;
}

.bpo-gmd-brand__receive h3 {
  margin-bottom: 14px;
  font-size: 22px;
}

.bpo-gmd-brand__receive .bpo-gmd-checklist {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
}

.bpo-gmd-brand__receive .bpo-gmd-checklist li {
  font-size: 13.5px;
}

/* The quote request uses the page's gradient button. */
body.bpo-innovature-theme .bpo-gmd-brand button.bpo-gmd-brand__cta {
  border: 1px solid rgba(0, 53, 162, 0.08) !important;
  background: linear-gradient(135deg, #0035a2 0%, #155dcc 100%) !important;
  box-shadow: 0 14px 30px rgba(0, 53, 162, 0.18) !important;
  color: #fff !important;
}

body.bpo-innovature-theme .bpo-gmd-brand button.bpo-gmd-brand__cta:hover,
body.bpo-innovature-theme .bpo-gmd-brand button.bpo-gmd-brand__cta:focus-visible {
  background: linear-gradient(135deg, #0a49b7 0%, #176edc 100%) !important;
  transform: translateY(-2px);
}

body.bpo-innovature-theme .bpo-gmd-brand button.bpo-gmd-brand__cta .bpo-button__icon-wrapper {
  background: #fff;
  color: #0035a2;
}

.bpo-gmd-brand__detail {
  display: grid;
  gap: 16px;
}

.bpo-gmd-brand__panel {
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid rgba(0, 53, 162, 0.09);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 36px rgba(24, 61, 116, 0.06);
}

.bpo-gmd-brand__panel h3 {
  margin-bottom: 18px;
  font-size: 24px;
}

.bpo-gmd-brand__steps {
  position: relative;
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bpo-gmd-brand__steps::before {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 17px;
  width: 2px;
  background: linear-gradient(180deg, #4a9dff, rgba(74, 157, 255, 0.12));
  content: "";
}

.bpo-gmd-brand__steps li {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 16px;
  margin: 0;
}

.bpo-gmd-brand__steps li > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 999px;
  background: var(--bpo-gmd-gradient);
  box-shadow: 0 0 0 5px #fff;
  color: #fff;
  font-family: var(--bpo-font-body), Poppins, sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.bpo-gmd-brand__steps h4 {
  margin: 6px 0 4px;
  color: var(--bpo-gmd-title);
  font-family: var(--bpo-font-body), Poppins, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.bpo-gmd-brand__steps p {
  margin: 0;
  color: var(--bpo-finance-copy);
  font-family: var(--bpo-font-body), Poppins, sans-serif;
  font-size: 14px;
  line-height: 1.62;
}

/* Steps 1-4 draw in one after another, then a light keeps running down the line. */
.bpo-gmd-brand__steps::after {
  position: absolute;
  top: 18px;
  left: 14px;
  width: 8px;
  height: 46px;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, rgba(74, 157, 255, 0.9), transparent);
  content: "";
  opacity: 0;
  pointer-events: none;
}

.bpo-gmd-brand.is-visible .bpo-gmd-brand__steps::after {
  animation: bpo-gmd-step-run 3.2s ease-in-out 1.6s infinite;
}

@keyframes bpo-gmd-step-run {
  0% { top: 18px; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: calc(100% - 64px); opacity: 0; }
}

.bpo-finance-js .bpo-gmd-brand .bpo-gmd-brand__steps::before {
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 1400ms var(--bpo-gmd-ease) 200ms;
}

.bpo-finance-js .bpo-gmd-brand.is-visible .bpo-gmd-brand__steps::before {
  transform: scaleY(1);
}

.bpo-finance-js .bpo-gmd-brand .bpo-gmd-brand__steps li {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms var(--bpo-gmd-ease), transform 600ms var(--bpo-gmd-ease);
  transition-delay: calc(var(--i, 0) * 300ms + 300ms);
}

.bpo-finance-js .bpo-gmd-brand.is-visible .bpo-gmd-brand__steps li {
  opacity: 1;
  transform: none;
}

.bpo-finance-js .bpo-gmd-brand .bpo-gmd-brand__steps li > span {
  transform: scale(0.4);
  transition: transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: calc(var(--i, 0) * 300ms + 350ms);
}

.bpo-finance-js .bpo-gmd-brand.is-visible .bpo-gmd-brand__steps li > span {
  transform: scale(1);
}

.bpo-gmd-brand__steps li > span {
  position: relative;
}

.bpo-gmd-brand.is-visible .bpo-gmd-brand__steps li > span::after {
  position: absolute;
  inset: -5px;
  border: 2px solid rgba(74, 157, 255, 0.5);
  border-radius: 999px;
  content: "";
  opacity: 0;
  animation: bpo-gmd-step-ping 3.2s ease-out infinite;
  animation-delay: calc(var(--i, 0) * 800ms + 1.6s);
}

@keyframes bpo-gmd-step-ping {
  0% { opacity: 0.8; transform: scale(0.9); }
  40%, 100% { opacity: 0; transform: scale(1.5); }
}

/* Motion packages: light, in the site's own tones ------------------------ */

.bpo-gmd-motion {
  background:
    radial-gradient(circle at 10% 0%, rgba(74, 157, 255, 0.1), transparent 34%),
    radial-gradient(circle at 92% 100%, rgba(34, 184, 240, 0.08), transparent 36%),
    #f7faff;
}

.bpo-gmd-motion__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 1100px) {
  .bpo-gmd-motion__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.bpo-gmd-motion-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--bpo-gmd-card-border);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--bpo-gmd-card-shadow);
}

.bpo-gmd-motion-card__media {
  position: relative;
  margin: 10px 10px 0;
  overflow: hidden;
  border-radius: 16px;
}

.bpo-gmd-motion-card__media .bpo-gmd-media {
  aspect-ratio: 16 / 9;
}

/* A play mark on each motion visual until a video is set. */
.bpo-gmd-motion-card__media::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l10.5-6.5z' fill='%230035a2'/%3E%3C/svg%3E") no-repeat 56% 50% / 20px 20px,
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 26px rgba(0, 53, 162, 0.2);
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 300ms var(--bpo-gmd-ease);
}

.bpo-gmd-motion-card__media:has(video)::after,
.bpo-gmd-motion-card__media:has(.bpo-gmd-lottie)::after {
  display: none;
}


.bpo-gmd-motion-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px 22px;
}

.bpo-gmd-motion-card h3 {
  font-size: 22px;
}

.bpo-gmd .bpo-gmd-motion-card p {
  font-size: 14px;
}

/* Selected work ---------------------------------------------------------- */

.bpo-gmd-work__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.bpo-gmd-work__item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 22px;
  background: #eef5ff;
  color: inherit;
  text-decoration: none;
}

.bpo-gmd-work__item--1 {
  grid-row: span 2;
  grid-column: span 2;
}

.bpo-gmd-work__item .bpo-gmd-media {
  width: 100%;
  height: 100%;
  transition: transform 600ms var(--bpo-gmd-ease);
}

.bpo-gmd-work__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 2px;
  padding: 40px 20px 18px;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 19, 42, 0.72) 100%);
  color: #fff;
  font-family: var(--bpo-font-body), Poppins, sans-serif;
}

.bpo-gmd-work__caption small {
  color: #bfe0ff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bpo-gmd-work__caption strong {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

a.bpo-gmd-work__item::after {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0035a2;
  font-size: 16px;
  content: "↗";
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 300ms ease, transform 300ms var(--bpo-gmd-ease);
}

/* Why Innovature --------------------------------------------------------- */

.bpo-gmd-why {
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
}

.bpo-gmd-why__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.bpo-gmd-reason {
  --bpo-finance-pointer-x: 50%;
  --bpo-finance-pointer-y: 50%;
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(26px, 3vw, 34px);
  overflow: hidden;
  border: 1px solid var(--bpo-gmd-card-border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--bpo-gmd-card-shadow);
}

.bpo-gmd-reason::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(430px circle at var(--bpo-finance-pointer-x) var(--bpo-finance-pointer-y), rgba(74, 157, 255, 0.13), transparent 62%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.bpo-gmd-reason h3 {
  font-size: 24px;
}

.bpo-gmd-faq {
  padding-bottom: clamp(64px, 8vw, 96px);
}

/* Staggered entrance and hover ------------------------------------------- */

.bpo-finance-js .bpo-gmd [data-bpo-reveal] :where(.bpo-gmd-service, .bpo-gmd-package, .bpo-gmd-motion-card, .bpo-how-model, .bpo-gmd-work__item, .bpo-gmd-reason, .bpo-gmd-brand__panel) {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(28px) scale(0.985);
  transition: opacity 800ms var(--bpo-gmd-ease), transform 900ms var(--bpo-gmd-ease), filter 800ms var(--bpo-gmd-ease), box-shadow 320ms ease, border-color 320ms ease, background 320ms ease;
  transition-delay: calc(var(--i, 0) * 90ms);
}

.bpo-finance-js .bpo-gmd [data-bpo-reveal].is-visible :where(.bpo-gmd-service, .bpo-gmd-package, .bpo-gmd-motion-card, .bpo-how-model, .bpo-gmd-work__item, .bpo-gmd-reason, .bpo-gmd-brand__panel) {
  opacity: 1;
  filter: none;
  transform: none;
}

@media (hover: hover) and (pointer: fine) {
  .bpo-finance-js .bpo-gmd [data-bpo-reveal].is-visible :where(.bpo-gmd-service, .bpo-gmd-package, .bpo-gmd-motion-card, .bpo-how-model, .bpo-gmd-reason):hover {
    transition-delay: 0ms;
    transform: translateY(-5px);
  }

  .bpo-gmd :where(.bpo-gmd-service, .bpo-gmd-package, .bpo-gmd-motion-card, .bpo-gmd-reason):hover {
    border-color: rgba(74, 157, 255, 0.32);
    box-shadow: 0 26px 60px rgba(24, 61, 116, 0.12);
  }

  .bpo-gmd-service:hover .bpo-gmd-service__media .bpo-gmd-media,
  .bpo-gmd-work__item:hover .bpo-gmd-media {
    transform: scale(1.04);
  }

  .bpo-gmd-motion-card:hover .bpo-gmd-motion-card__media::after {
    transform: translate(-50%, -50%) scale(1.12);
  }

  a.bpo-gmd-work__item:hover::after,
  a.bpo-gmd-work__item:focus-visible::after {
    opacity: 1;
    transform: none;
  }

  .bpo-gmd-reason:hover::before,
  .bpo-gmd-reason.is-spotlight-active::before {
    opacity: 1;
  }
}

/* Responsive ------------------------------------------------------------- */

@media (max-width: 1024px) {
  .bpo-gmd-brand__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .bpo-gmd-brand__summary {
    position: static;
  }

  .bpo-gmd-why__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .bpo-finance-section:is(.bpo-gmd-services, .bpo-gmd-brand, .bpo-gmd-packages, .bpo-gmd-motion, .bpo-gmd-models, .bpo-gmd-work, .bpo-gmd-process, .bpo-gmd-why) {
    padding-block: 48px;
  }

  .bpo-gmd-hero__line {
    white-space: normal;
  }

  .bpo-gmd-hero__cursor {
    display: none;
  }

  .bpo-gmd-hero__tags {
    justify-content: center;
    gap: 6px 14px;
    margin-inline: auto;
  }

  .bpo-gmd-hero__tags li {
    font-size: 12px;
  }

  .bpo-gmd-sparkle--1,
  .bpo-gmd-sparkle--5 {
    left: 2px;
  }

  .bpo-gmd-services__grid,
  .bpo-gmd-motion__grid,
  .bpo-gmd-why__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .bpo-gmd-brand__inner {
    padding: 22px;
    border-radius: 24px;
  }

  .bpo-gmd-brand__facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .bpo-gmd-brand__fact + .bpo-gmd-brand__fact {
    border-top: 1px solid rgba(0, 53, 162, 0.1);
    border-left: 0;
  }

  .bpo-gmd-brand__receive .bpo-gmd-checklist {
    grid-template-columns: minmax(0, 1fr);
  }

  .bpo-gmd-work__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .bpo-gmd-work__item--1 {
    grid-row: auto;
  }

  .bpo-gmd-work__item--6 {
    grid-column: span 2;
  }

  .bpo-gmd-work__caption {
    padding: 28px 12px 10px;
  }

  .bpo-gmd-work__caption strong {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:has(body.bpo-native-graphic-motion) {
    scroll-behavior: auto;
  }

  .bpo-gmd-hero__tags li,
  .bpo-gmd-hero__select,
  .bpo-gmd-hero__word,
  .bpo-gmd-hero__media::after,
  .bpo-gmd-hero__line,
  .bpo-gmd-sparkle {
    animation: none;
  }

  .bpo-gmd-sparkle {
    opacity: 0.8;
  }

  .bpo-gmd *,
  .bpo-gmd *::before {
    transition: none !important;
  }

  .bpo-finance-js .bpo-gmd [data-bpo-reveal] :where(.bpo-gmd-service, .bpo-gmd-package, .bpo-gmd-motion-card, .bpo-how-model, .bpo-gmd-work__item, .bpo-gmd-reason, .bpo-gmd-brand__panel) {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

/* Workflow steps ---------------------------------------------------------- */

/* Steps share one grid cell, so the panel keeps the tallest step's height and
   steps cross-fade in place instead of the page jumping on every change. */
.bpo-gmd-how.is-enhanced .bpo-how-process__details {
  display: grid;
}

.bpo-gmd-how.is-enhanced .bpo-how-process__step {
  display: grid;
  grid-area: 1 / 1;
}

.bpo-gmd-how.is-enhanced .bpo-how-process__step:not(.is-active) {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-18px);
  transition: opacity 360ms ease, transform 480ms var(--bpo-gmd-ease), visibility 0s linear 480ms;
}

.bpo-gmd-how.is-enhanced .bpo-how-process__layout[data-bpo-how-direction="backward"] .bpo-how-process__step:not(.is-active) {
  transform: translateX(18px);
}

.bpo-gmd-how.is-enhanced .bpo-how-process__step.is-active {
  animation-duration: 640ms;
  animation-timing-function: var(--bpo-gmd-ease);
  animation-delay: 80ms;
}

/* How It Works step visuals, drawn for this page's six steps -------------- */

.bpo-gmd-scene {
  --scene-blue: #0035a2;
  --scene-sky: #4a9dff;
  font-family: var(--bpo-font-body), Poppins, sans-serif;
}

.bpo-gmd-scene > span {
  position: absolute;
}

.bpo-gmd-scene b {
  font-weight: 600;
}

.bpo-gmd-scene :where(i, b, em) {
  font-style: normal;
}

/* Paused until the step is shown, so each visual plays from its start. */
.bpo-gmd-scene *,
.bpo-gmd-scene *::before,
.bpo-gmd-scene *::after {
  animation-play-state: paused;
}

.bpo-how-process__step.is-active .bpo-gmd-scene *,
.bpo-how-process__step.is-active .bpo-gmd-scene *::before,
.bpo-how-process__step.is-active .bpo-gmd-scene *::after {
  animation-play-state: running;
}

/* 1. Brief and discovery: a brief fills in, then the four inputs land. */
.bpo-gmd-scene__doc {
  top: 18px;
  left: 18px;
  display: grid;
  gap: 8px;
  width: 78px;
  height: 96px;
  padding: 14px 12px;
  border: 1px solid rgba(0, 53, 162, 0.12);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(0, 53, 162, 0.1);
}

.bpo-gmd-scene__doc i {
  display: block;
  height: 6px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--scene-blue), var(--scene-sky));
  transform-origin: left;
  animation: bpo-gmd-scene-type 4s ease-in-out infinite;
}

.bpo-gmd-scene__doc i:nth-child(1) { width: 70%; }
.bpo-gmd-scene__doc i:nth-child(2) { width: 100%; animation-delay: 0.3s; opacity: 0.7; }
.bpo-gmd-scene__doc i:nth-child(3) { width: 85%; animation-delay: 0.6s; opacity: 0.55; }
.bpo-gmd-scene__doc i:nth-child(4) { width: 55%; animation-delay: 0.9s; opacity: 0.4; }

.bpo-gmd-scene__chips {
  top: 16px;
  left: 112px;
  display: grid;
  gap: 6px;
}

.bpo-gmd-scene__chips b,
.bpo-gmd-scene__handoff b,
.bpo-gmd-scene__delivered {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border: 1px solid rgba(0, 53, 162, 0.12);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 53, 162, 0.08);
  color: var(--scene-blue);
  font-size: 9.5px;
  line-height: 1.3;
  white-space: nowrap;
}

.bpo-gmd-scene__chips b {
  animation: bpo-gmd-scene-chip 4s var(--bpo-gmd-ease) infinite both;
}

.bpo-gmd-scene__chips b::before {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--scene-sky);
  content: "";
}

.bpo-gmd-scene__chips b:nth-child(2) { margin-left: 12px; animation-delay: 0.35s; }
.bpo-gmd-scene__chips b:nth-child(3) { margin-left: 4px; animation-delay: 0.7s; }
.bpo-gmd-scene__chips b:nth-child(4) { margin-left: 16px; animation-delay: 1.05s; }

@keyframes bpo-gmd-scene-type {
  0% { transform: scaleX(0); }
  30%, 85% { transform: scaleX(1); }
  100% { transform: scaleX(0); }
}

@keyframes bpo-gmd-scene-chip {
  0% { opacity: 0; transform: translateX(14px); }
  15%, 85% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateX(-6px); }
}

/* Effort estimation and pricing: effort bars rise task by task, then the
   quote fills its lines and lands on a total. */
.bpo-gmd-scene__bars {
  top: 24px;
  left: 18px;
  display: flex;
  gap: 7px;
  align-items: flex-end;
  width: 84px;
  height: 86px;
  padding: 0 8px 8px;
  border-bottom: 2px solid rgba(0, 53, 162, 0.18);
}

.bpo-gmd-scene__bars i {
  display: block;
  flex: 1;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, var(--scene-sky), var(--scene-blue));
  transform-origin: bottom;
  animation: bpo-gmd-scene-rise 4.2s var(--bpo-gmd-ease) infinite both;
}

.bpo-gmd-scene__bars i:nth-child(1) { height: 42%; }
.bpo-gmd-scene__bars i:nth-child(2) { height: 78%; animation-delay: 0.2s; }
.bpo-gmd-scene__bars i:nth-child(3) { height: 58%; animation-delay: 0.4s; opacity: 0.8; }
.bpo-gmd-scene__bars i:nth-child(4) { height: 92%; animation-delay: 0.6s; opacity: 0.65; }

.bpo-gmd-scene__quote {
  top: 14px;
  left: 122px;
  display: grid;
  gap: 7px;
  width: 104px;
  padding: 10px 11px 11px;
  border: 1px solid rgba(0, 53, 162, 0.12);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(0, 53, 162, 0.1);
}

.bpo-gmd-scene__quote small {
  color: var(--scene-blue);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Each cost line: a label bar on the left, its amount on the right. */
.bpo-gmd-scene__quote i {
  display: block;
  height: 5px;
  border-radius: 99px;
  background:
    linear-gradient(90deg, rgba(0, 53, 162, 0.22), rgba(0, 53, 162, 0.22)) left / 55% 100% no-repeat,
    linear-gradient(90deg, var(--scene-sky), var(--scene-sky)) right / 22% 100% no-repeat;
  transform-origin: left;
  animation: bpo-gmd-scene-type 4.2s ease-in-out infinite;
}

.bpo-gmd-scene__quote i:nth-of-type(2) { animation-delay: 0.25s; }
.bpo-gmd-scene__quote i:nth-of-type(3) { animation-delay: 0.5s; }

.bpo-gmd-scene__quote b {
  display: flex;
  justify-content: space-between;
  margin-top: 2px;
  padding: 4px 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--scene-blue), #176ddf);
  color: #fff;
  font-size: 9.5px;
  line-height: 1.3;
  animation: bpo-gmd-scene-total 4.2s var(--bpo-gmd-ease) infinite both;
}

.bpo-gmd-scene__quote b::after {
  content: "$$";
}

@keyframes bpo-gmd-scene-rise {
  0% { opacity: 0; transform: scaleY(0); }
  25%, 85% { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(0.2); }
}

@keyframes bpo-gmd-scene-total {
  0%, 35% { opacity: 0; transform: scale(0.85); }
  50%, 85% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.95); }
}

/* 3. Proposal and client approval: scope, timeline and price fill in, the
   client signs, then the approval check lands. */
.bpo-gmd-scene__proposal {
  top: 14px;
  left: 18px;
  display: grid;
  align-content: start;
  gap: 7px;
  width: 120px;
  height: 104px;
  padding: 10px 11px;
  border: 1px solid rgba(0, 53, 162, 0.12);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(0, 53, 162, 0.1);
}

.bpo-gmd-scene__proposal small {
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(0, 53, 162, 0.1);
  color: var(--scene-blue);
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
}

.bpo-gmd-scene__proposal b {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #4b5b73;
  font-size: 8px;
  font-weight: 500;
  line-height: 1;
  animation: bpo-gmd-scene-row 6s var(--bpo-gmd-ease) infinite both;
}

.bpo-gmd-scene__proposal b::after {
  flex: 1;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(74, 157, 255, 0.6), rgba(74, 157, 255, 0.14));
  content: "";
}

.bpo-gmd-scene__proposal b:nth-of-type(2) { animation-delay: 0.3s; }
.bpo-gmd-scene__proposal b:nth-of-type(3) { animation-delay: 0.6s; }

.bpo-gmd-scene__proposal svg {
  width: 64px;
  height: 16px;
  margin-top: 1px;
  overflow: visible;
  fill: none;
  stroke: var(--scene-blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.bpo-gmd-scene__proposal path {
  stroke-dasharray: 100;
  animation: bpo-gmd-scene-sign 6s ease-in-out infinite both;
}

.bpo-gmd-scene__approve {
  top: 22px;
  right: 24px;
  display: grid;
  justify-items: center;
  gap: 9px;
}

.bpo-gmd-scene__approve::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 48px;
  height: 48px;
  margin-left: -24px;
  border: 2px solid var(--scene-sky);
  border-radius: 50%;
  content: "";
  animation: bpo-gmd-scene-burst 6s ease-out infinite both;
}

.bpo-gmd-scene__approve svg {
  width: 48px;
  height: 48px;
  padding: 11px;
  border-radius: 50%;
  background: linear-gradient(145deg, #0a48b8, #4a9dff);
  box-shadow: 0 10px 22px rgba(0, 53, 162, 0.25), 0 0 0 6px rgba(74, 157, 255, 0.12);
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.6;
  animation: bpo-gmd-scene-approve 6s var(--bpo-gmd-ease) infinite both;
}

.bpo-gmd-scene__approve path {
  stroke-dasharray: 100;
  animation: bpo-gmd-scene-check 6s ease-out infinite both;
}

.bpo-gmd-scene__approve b {
  padding: 3px 9px;
  border: 1px solid rgba(0, 53, 162, 0.12);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 53, 162, 0.08);
  color: var(--scene-blue);
  font-size: 9.5px;
  line-height: 1.3;
  white-space: nowrap;
  animation: bpo-gmd-scene-label 6s var(--bpo-gmd-ease) infinite both;
}

@keyframes bpo-gmd-scene-row {
  0% { opacity: 0; transform: translateX(-6px); }
  10%, 88% { opacity: 1; transform: none; }
  100% { opacity: 0; }
}

@keyframes bpo-gmd-scene-sign {
  0%, 23% { opacity: 0; stroke-dashoffset: 100; }
  24% { opacity: 1; stroke-dashoffset: 100; }
  42%, 88% { opacity: 1; stroke-dashoffset: 0; }
  100% { opacity: 0; stroke-dashoffset: 0; }
}

@keyframes bpo-gmd-scene-approve {
  0%, 44% { opacity: 0; transform: scale(0.5); }
  52% { opacity: 1; transform: scale(1.08); }
  58%, 88% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.92); }
}

@keyframes bpo-gmd-scene-check {
  0%, 52% { stroke-dashoffset: 100; }
  62%, 100% { stroke-dashoffset: 0; }
}

@keyframes bpo-gmd-scene-burst {
  0%, 50% { opacity: 0; transform: scale(1); }
  54% { opacity: 0.8; }
  78%, 100% { opacity: 0; transform: scale(1.7); }
}

@keyframes bpo-gmd-scene-label {
  0%, 58% { opacity: 0; transform: translateY(6px); }
  66%, 88% { opacity: 1; transform: none; }
  100% { opacity: 0; }
}

/* 4. Kickoff and production: kickoff starts the progress bar while a task
   moves across the board from To do to Done. */
.bpo-gmd-scene__kickoff {
  top: 14px;
  right: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.bpo-gmd-scene__kickoff b {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border: 1px solid rgba(0, 53, 162, 0.12);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 53, 162, 0.08);
  color: var(--scene-blue);
  font-size: 9.5px;
  line-height: 1.3;
  white-space: nowrap;
}

.bpo-gmd-scene__kickoff b::before {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--scene-sky);
  box-shadow: 0 0 0 0 rgba(74, 157, 255, 0.5);
  content: "";
  animation: bpo-gmd-scene-live 1.6s ease-out infinite;
}

.bpo-gmd-scene__kickoff i {
  position: relative;
  flex: 1;
  height: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: #e3eefc;
}

.bpo-gmd-scene__kickoff i::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--scene-blue), var(--scene-sky));
  content: "";
  transform-origin: left;
  animation: bpo-gmd-scene-fill 6s ease-in-out infinite both;
}

.bpo-gmd-scene__kanban {
  top: 42px;
  right: 16px;
  bottom: 14px;
  left: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.bpo-gmd-scene__kanban > span {
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 6px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(0, 53, 162, 0.08);
}

.bpo-gmd-scene__kanban small {
  overflow: hidden;
  color: #65758d;
  font-size: 7.5px;
  font-weight: 600;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bpo-gmd-scene__kanban i {
  display: block;
  height: 12px;
  border-radius: 5px;
  background: #e5eefb;
}

/* The first slot in each column is where the moving task lands. */
.bpo-gmd-scene__kanban i:first-of-type {
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(74, 157, 255, 0.28);
}

.bpo-gmd-scene__kanban > span:last-of-type i:last-of-type {
  background: #d6e8ff;
}

/* Column-wide box, so translateX(100% + gap) is exactly one column. */
.bpo-gmd-scene__kanban em {
  position: absolute;
  top: 0;
  left: 0;
  width: calc((100% - 12px) / 3);
  height: 100%;
  animation: bpo-gmd-scene-task 6s var(--bpo-gmd-ease) infinite both;
}

.bpo-gmd-scene__kanban em::before,
.bpo-gmd-scene__kanban em::after {
  position: absolute;
  content: "";
}

.bpo-gmd-scene__kanban em::before {
  top: 18.5px;
  right: 6px;
  left: 6px;
  height: 12px;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--scene-blue), var(--scene-sky));
  box-shadow: 0 6px 14px rgba(0, 53, 162, 0.25);
}

.bpo-gmd-scene__kanban em::after {
  top: 20.5px;
  right: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 8.2 2.45 2.4L12.25 5' stroke='%230035a2' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 8px no-repeat;
  animation: bpo-gmd-scene-done 6s var(--bpo-gmd-ease) infinite both;
}

@keyframes bpo-gmd-scene-live {
  70%, 100% { box-shadow: 0 0 0 6px rgba(74, 157, 255, 0); }
}

@keyframes bpo-gmd-scene-fill {
  0%, 6% { opacity: 1; transform: scaleX(0.04); }
  80%, 90% { opacity: 1; transform: scaleX(1); }
  100% { opacity: 0; transform: scaleX(1); }
}

@keyframes bpo-gmd-scene-task {
  0% { opacity: 0; transform: translateY(4px); }
  8%, 24% { opacity: 1; transform: none; }
  38%, 52% { opacity: 1; transform: translateX(calc(100% + 6px)); }
  66%, 90% { opacity: 1; transform: translateX(calc(200% + 12px)); }
  100% { opacity: 0; transform: translateX(calc(200% + 12px)); }
}

@keyframes bpo-gmd-scene-done {
  0%, 64% { opacity: 0; transform: scale(0.4); }
  72%, 90% { opacity: 1; transform: none; }
  100% { opacity: 0; }
}

/* 5. Internal QA and client review: QA scans the artboard and ticks each
   check, then the client starts typing feedback. */
.bpo-gmd-scene__artboard {
  top: 16px;
  left: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 30px 1fr;
  gap: 6px;
  width: 112px;
  height: 100px;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(0, 53, 162, 0.12);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(0, 53, 162, 0.1);
}

.bpo-gmd-scene__artboard i {
  border-radius: 6px;
  background: #eaf2ff;
}

.bpo-gmd-scene__artboard i:nth-child(1) {
  grid-column: span 2;
  background: linear-gradient(90deg, #0035a2, #4a9dff);
  animation: bpo-gmd-scene-refine 6s ease-in-out infinite;
}

.bpo-gmd-scene__artboard em {
  position: absolute;
  top: 8px;
  right: 6px;
  left: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--scene-sky);
  box-shadow: 0 0 12px 3px rgba(74, 157, 255, 0.45);
  animation: bpo-gmd-scene-scan 6s ease-in-out infinite both;
}

.bpo-gmd-scene__checks {
  top: 18px;
  left: 146px;
  display: grid;
  gap: 6px;
}

.bpo-gmd-scene__checks b {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 5px;
  padding: 3px 9px 3px 4px;
  border: 1px solid rgba(0, 53, 162, 0.12);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 53, 162, 0.08);
  color: var(--scene-blue);
  font-size: 9.5px;
  line-height: 1.3;
  white-space: nowrap;
  animation: bpo-gmd-scene-row 6s var(--bpo-gmd-ease) infinite both;
}

.bpo-gmd-scene__checks b::before {
  width: 11px;
  height: 11px;
  box-sizing: border-box;
  border: 1.5px solid rgba(0, 53, 162, 0.28);
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 8.2 2.45 2.4L12.25 5' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0 no-repeat;
  content: "";
  animation: bpo-gmd-scene-tick 6s var(--bpo-gmd-ease) infinite both;
}

.bpo-gmd-scene__checks b:nth-child(2),
.bpo-gmd-scene__checks b:nth-child(2)::before { animation-delay: 0.35s; }
.bpo-gmd-scene__checks b:nth-child(3),
.bpo-gmd-scene__checks b:nth-child(3)::before { animation-delay: 0.7s; }

.bpo-gmd-scene__bubble {
  right: 16px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 6px 10px;
  border-radius: 12px 12px 4px 12px;
  background: linear-gradient(145deg, #0a48b8, #287fe1);
  box-shadow: 0 10px 20px rgba(0, 53, 162, 0.22);
  transform-origin: right bottom;
  animation: bpo-gmd-scene-bubble 6s var(--bpo-gmd-ease) infinite both;
}

.bpo-gmd-scene__bubble small {
  margin-right: 3px;
  color: #fff;
  font-size: 8.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.bpo-gmd-scene__bubble i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  animation: bpo-gmd-scene-typing 1.2s ease-in-out infinite;
}

.bpo-gmd-scene__bubble i:nth-of-type(2) { animation-delay: 0.15s; }
.bpo-gmd-scene__bubble i:nth-of-type(3) { animation-delay: 0.3s; }

@keyframes bpo-gmd-scene-refine {
  0%, 40% { filter: saturate(0.4); opacity: 0.55; }
  55%, 100% { filter: none; opacity: 1; }
}

@keyframes bpo-gmd-scene-scan {
  0% { opacity: 0; transform: none; }
  6% { opacity: 1; }
  40% { opacity: 1; transform: translateY(82px); }
  46%, 100% { opacity: 0; transform: translateY(82px); }
}

@keyframes bpo-gmd-scene-tick {
  0%, 22% { border-color: rgba(0, 53, 162, 0.28); background-color: #fff; background-size: 0; }
  30%, 100% { border-color: var(--scene-blue); background-color: var(--scene-blue); background-size: 9px; }
}

@keyframes bpo-gmd-scene-bubble {
  0%, 50% { opacity: 0; transform: translateY(8px) scale(0.9); }
  58%, 90% { opacity: 1; transform: none; }
  100% { opacity: 0; }
}

@keyframes bpo-gmd-scene-typing {
  0%, 60%, 100% { opacity: 0.4; transform: none; }
  30% { opacity: 1; transform: translateY(-2px); }
}

/* 6. Revision and final delivery: the design sharpens over three revision
   rounds, then the final and source files drop into the handover folder. */
.bpo-gmd-scene__rounds {
  top: 14px;
  left: 18px;
  display: grid;
  align-content: start;
  gap: 7px;
  width: 112px;
  height: 104px;
  padding: 10px;
  border: 1px solid rgba(0, 53, 162, 0.12);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(0, 53, 162, 0.1);
}

.bpo-gmd-scene__rounds-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bpo-gmd-scene__rounds small {
  color: var(--scene-blue);
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
}

/* v1, v2 and v3 share one spot and take turns. */
.bpo-gmd-scene__version {
  display: grid;
}

.bpo-gmd-scene__version b {
  grid-area: 1 / 1;
  padding: 2px 6px;
  border-radius: 999px;
  background: #eaf4ff;
  color: var(--scene-blue);
  font-size: 8px;
  line-height: 1.2;
  text-align: center;
}

.bpo-gmd-scene__version b:nth-child(1) { animation: bpo-gmd-scene-v1 6s linear infinite both; }
.bpo-gmd-scene__version b:nth-child(2) { animation: bpo-gmd-scene-v2 6s linear infinite both; }
.bpo-gmd-scene__version b:nth-child(3) {
  background: linear-gradient(90deg, var(--scene-blue), var(--scene-sky));
  color: #fff;
  animation: bpo-gmd-scene-v3 6s linear infinite both;
}

.bpo-gmd-scene__rounds > i {
  display: block;
  height: 26px;
  border-radius: 6px;
  background: linear-gradient(90deg, #0035a2, #4a9dff);
  animation: bpo-gmd-scene-sharpen 6s ease-in-out infinite both;
}

.bpo-gmd-scene__rounds > i + i {
  width: 70%;
  height: 6px;
  border-radius: 99px;
  background: #e5eefb;
  animation: none;
}

.bpo-gmd-scene__dots {
  display: flex;
  gap: 5px;
  margin-top: 2px;
}

.bpo-gmd-scene__dots i {
  width: 8px;
  height: 8px;
  box-sizing: border-box;
  border: 1.5px solid rgba(0, 53, 162, 0.25);
  border-radius: 50%;
  animation: bpo-gmd-scene-round 6s var(--bpo-gmd-ease) infinite both;
}

.bpo-gmd-scene__dots i:nth-child(2) { animation-delay: 0.84s; }
.bpo-gmd-scene__dots i:nth-child(3) { animation-delay: 1.68s; }

.bpo-gmd-scene__handoff {
  z-index: 1;
  top: 30px;
  left: 146px;
  display: grid;
  width: 88px;
  justify-items: center;
}

.bpo-gmd-scene__handoff b {
  grid-area: 1 / 1;
  animation: bpo-gmd-scene-handoff 6s var(--bpo-gmd-ease) infinite both;
}

.bpo-gmd-scene__handoff b:nth-child(2) { animation-delay: 0.42s; }
.bpo-gmd-scene__handoff b:nth-child(3) { animation-delay: 0.84s; }

.bpo-gmd-scene__folder {
  z-index: 2;
  bottom: 16px;
  left: 146px;
  width: 88px;
  height: 40px;
  border-radius: 4px 10px 10px 10px;
  background: linear-gradient(160deg, #176ddf, #0035a2);
  box-shadow: 0 12px 22px rgba(0, 53, 162, 0.22);
  transform-origin: center bottom;
  animation: bpo-gmd-scene-folder 6s var(--bpo-gmd-ease) infinite both;
}

.bpo-gmd-scene__folder::before {
  position: absolute;
  top: -7px;
  left: 0;
  width: 34px;
  height: 9px;
  border-radius: 5px 5px 0 0;
  background: #176ddf;
  content: "";
}

.bpo-gmd-scene__folder::after {
  position: absolute;
  right: 10px;
  bottom: 9px;
  left: 10px;
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.35);
  content: "";
}

.bpo-gmd-scene__delivered {
  top: 26px;
  left: 190px;
  gap: 4px;
  padding-left: 5px;
  font-weight: 600;
  transform: translateX(-50%);
  animation: bpo-gmd-scene-delivered 6s var(--bpo-gmd-ease) infinite both;
}

.bpo-gmd-scene__delivered::before {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--scene-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 8.2 2.45 2.4L12.25 5' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 9px no-repeat;
  content: "";
}

@keyframes bpo-gmd-scene-v1 {
  0%, 14% { opacity: 1; }
  16%, 100% { opacity: 0; }
}

@keyframes bpo-gmd-scene-v2 {
  0%, 14% { opacity: 0; }
  16%, 28% { opacity: 1; }
  30%, 100% { opacity: 0; }
}

@keyframes bpo-gmd-scene-v3 {
  0%, 28% { opacity: 0; transform: scale(0.8); }
  32%, 90% { opacity: 1; transform: none; }
  100% { opacity: 0; }
}

@keyframes bpo-gmd-scene-sharpen {
  0%, 12% { filter: blur(2px) saturate(0.3); opacity: 0.5; }
  16%, 26% { filter: blur(1px) saturate(0.65); opacity: 0.75; }
  30%, 90% { filter: none; opacity: 1; }
  100% { filter: none; opacity: 0.5; }
}

@keyframes bpo-gmd-scene-round {
  0%, 2% { border-color: rgba(0, 53, 162, 0.25); background: transparent; transform: none; }
  6% { transform: scale(1.3); }
  9%, 88% { border-color: var(--scene-blue); background: var(--scene-blue); transform: none; }
  100% { border-color: rgba(0, 53, 162, 0.25); background: transparent; }
}

@keyframes bpo-gmd-scene-handoff {
  0%, 40% { opacity: 0; transform: translateY(-8px); }
  45%, 50% { opacity: 1; transform: none; }
  58%, 100% { opacity: 0; transform: translateY(38px) scale(0.8); }
}

@keyframes bpo-gmd-scene-folder {
  0%, 66% { transform: none; }
  70% { transform: scale(1.06, 0.94); }
  76%, 100% { transform: none; }
}

@keyframes bpo-gmd-scene-delivered {
  0%, 68% { opacity: 0; transform: translate(-50%, 6px); }
  74%, 90% { opacity: 1; transform: translateX(-50%); }
  100% { opacity: 0; transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .bpo-gmd-scene *,
  .bpo-gmd-scene *::before,
  .bpo-gmd-scene *::after,
  .bpo-gmd-brand__steps::after,
  .bpo-gmd-brand__steps li > span::after {
    animation: none !important;
  }
}

/* Package card visuals, drawn on a 400 × 250 board -------------------------
 * --u is one board pixel, so every scene scales with its card. Each element's
 * resting style is its finished state (what reduced motion shows); keyframes
 * build it up and clear it again before the loop restarts. */

.bpo-gmd-pscene {
  --u: calc(100cqw / 400);
  --ps-blue: #0035a2;
  --ps-mid: #176ddf;
  --ps-sky: #4a9dff;
  --ps-ice: #eef5ff;
  --ps-line: #dbe6f6;
  --ps-amber: #f5a524;
  --ps-gradient: linear-gradient(135deg, #0035a2 0%, #176ddf 55%, #4a9dff 100%);
  position: relative;
  overflow: hidden;
  container-type: inline-size;
  background:
    radial-gradient(circle at 18% 16%, rgba(74, 157, 255, 0.18), transparent 46%),
    radial-gradient(circle at 86% 86%, rgba(0, 53, 162, 0.1), transparent 50%),
    linear-gradient(135deg, #f7faff 0%, #e8f1ff 100%);
  color: var(--ps-blue);
  font-family: var(--bpo-font-body), Poppins, sans-serif;
  line-height: 1.2;
}

.bpo-gmd-pscene > span {
  position: absolute;
}

.bpo-gmd-pscene :where(span, i, b, em, small) {
  display: block;
  font-style: normal;
}

.bpo-gmd-pscene svg {
  display: block;
  overflow: visible;
}

/* Held on the first frame until graphic-motion-design.js sees the card. */
.bpo-gmd-pscene *,
.bpo-gmd-pscene *::before,
.bpo-gmd-pscene *::after {
  animation-play-state: paused;
  animation-timing-function: var(--bpo-gmd-ease);
}

.bpo-gmd-pscene.is-playing *,
.bpo-gmd-pscene.is-playing *::before,
.bpo-gmd-pscene.is-playing *::after {
  animation-play-state: running;
}

.bpo-gmd-pscene__card {
  border: 1px solid rgba(0, 53, 162, 0.1);
  border-radius: calc(var(--u) * 12);
  background: #fff;
  box-shadow: 0 calc(var(--u) * 10) calc(var(--u) * 26) rgba(0, 53, 162, 0.1);
}

.bpo-gmd-pscene small {
  color: #5b6f8f;
  font-size: calc(var(--u) * 9);
  font-weight: 500;
}

.bpo-gmd-pscene__chip {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--u) * 5);
  padding: calc(var(--u) * 4) calc(var(--u) * 10) calc(var(--u) * 4) calc(var(--u) * 5);
  border: 1px solid rgba(0, 53, 162, 0.12);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 calc(var(--u) * 6) calc(var(--u) * 14) rgba(0, 53, 162, 0.12);
  font-size: calc(var(--u) * 10);
  font-weight: 600;
  white-space: nowrap;
}

.bpo-gmd-pscene__chip::before {
  display: grid;
  width: calc(var(--u) * 14);
  height: calc(var(--u) * 14);
  place-items: center;
  border-radius: 50%;
  background: var(--ps-gradient);
  color: #fff;
  content: "✓";
  font-size: calc(var(--u) * 8);
}

/* A. Brand Launch & Rebrand: the mark is constructed, then colours, type and
   applications gather around it into a brand board (9s). */

.bpo-gmd-pscene--brand *,
.bpo-gmd-pscene--brand *::before,
.bpo-gmd-pscene--brand *::after {
  animation-duration: 9s;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}

.bpo-gmd-pscene__logo {
  top: calc(var(--u) * 26);
  left: calc(var(--u) * 24);
  display: grid;
  justify-items: center;
  align-content: center;
  gap: calc(var(--u) * 12);
  width: calc(var(--u) * 142);
  height: calc(var(--u) * 154);
}

.bpo-gmd-pscene__logo svg {
  width: calc(var(--u) * 84);
  height: calc(var(--u) * 84);
}

.bpo-gmd-pscene__grid {
  fill: none;
  stroke: var(--ps-sky);
  stroke-dasharray: 2 3;
  stroke-width: 0.8;
  opacity: 0;
  animation-name: bpo-gmd-ps-brand-grid;
}

.bpo-gmd-pscene__mark {
  fill: none;
  stroke: var(--ps-blue);
  stroke-dasharray: 100;
  stroke-linejoin: round;
  stroke-width: 2;
  animation-name: bpo-gmd-ps-brand-draw;
}

.bpo-gmd-pscene__mark-fill {
  fill: url(#bpo-gmd-pscene-mark);
  transform-box: fill-box;
  transform-origin: center;
  animation-name: bpo-gmd-ps-brand-fill;
}

.bpo-gmd-pscene__spark {
  fill: var(--ps-amber);
  transform-box: fill-box;
  transform-origin: center;
  animation-name: bpo-gmd-ps-brand-spark;
}

.bpo-gmd-pscene__name {
  display: grid;
  justify-items: center;
  gap: calc(var(--u) * 5);
}

.bpo-gmd-pscene__name i {
  width: calc(var(--u) * 78);
  height: calc(var(--u) * 8);
  border-radius: 99px;
  background: var(--ps-blue);
  animation-name: bpo-gmd-ps-brand-name;
}

.bpo-gmd-pscene__name i + i {
  width: calc(var(--u) * 48);
  height: calc(var(--u) * 5);
  background: #b9cbe6;
  animation-delay: 0.15s;
}

.bpo-gmd-pscene__palette {
  top: calc(var(--u) * 26);
  left: calc(var(--u) * 184);
  display: grid;
  gap: calc(var(--u) * 7);
  width: calc(var(--u) * 192);
  padding: calc(var(--u) * 9) calc(var(--u) * 12) calc(var(--u) * 11);
  animation-name: bpo-gmd-ps-brand-palette;
}

.bpo-gmd-pscene__palette > span {
  display: flex;
  gap: calc(var(--u) * 10);
}

.bpo-gmd-pscene__palette i {
  width: calc(var(--u) * 28);
  height: calc(var(--u) * 28);
  border-radius: 50%;
  background: var(--ps-blue);
  box-shadow: inset 0 0 0 calc(var(--u) * 3) rgba(255, 255, 255, 0.35);
  animation-name: bpo-gmd-ps-brand-swatch;
}

.bpo-gmd-pscene__palette i:nth-child(2) { background: var(--ps-mid); animation-delay: 0.2s; }
.bpo-gmd-pscene__palette i:nth-child(3) { background: var(--ps-sky); animation-delay: 0.4s; }
.bpo-gmd-pscene__palette i:nth-child(4) { background: var(--ps-amber); animation-delay: 0.6s; }

.bpo-gmd-pscene__type {
  top: calc(var(--u) * 96);
  left: calc(var(--u) * 184);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: calc(var(--u) * 14);
  width: calc(var(--u) * 192);
  padding: calc(var(--u) * 8) calc(var(--u) * 14);
  animation-name: bpo-gmd-ps-brand-type;
}

.bpo-gmd-pscene__type b {
  background: var(--ps-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: calc(var(--u) * 30);
  font-weight: 700;
  line-height: 1.1;
}

.bpo-gmd-pscene__type span {
  display: grid;
  gap: calc(var(--u) * 5);
}

.bpo-gmd-pscene__type i {
  height: calc(var(--u) * 7);
  border-radius: 99px;
  background: var(--ps-blue);
  transform-origin: left;
  animation-name: bpo-gmd-ps-brand-line;
}

.bpo-gmd-pscene__type i:nth-child(2) { width: 82%; height: calc(var(--u) * 4); background: #b9cbe6; animation-delay: 0.12s; }
.bpo-gmd-pscene__type i:nth-child(3) { width: 64%; height: calc(var(--u) * 4); background: #b9cbe6; animation-delay: 0.24s; }

.bpo-gmd-pscene__apps {
  top: calc(var(--u) * 166);
  left: calc(var(--u) * 184);
  width: calc(var(--u) * 192);
  height: calc(var(--u) * 66);
}

.bpo-gmd-pscene__apps i {
  position: absolute;
  border: 1px solid rgba(0, 53, 162, 0.12);
  border-radius: calc(var(--u) * 6);
  background: #fff;
  box-shadow: 0 calc(var(--u) * 8) calc(var(--u) * 18) rgba(0, 53, 162, 0.14);
  transform: rotate(var(--r));
  animation-name: bpo-gmd-ps-brand-app;
}

/* Business card, slide deck and social post, each carrying the new mark. */
.bpo-gmd-pscene__apps i:nth-child(1) {
  --r: -7deg;
  top: calc(var(--u) * 12);
  left: 0;
  width: calc(var(--u) * 70);
  height: calc(var(--u) * 42);
  background:
    linear-gradient(#b9cbe6, #b9cbe6) calc(var(--u) * 8) calc(var(--u) * 28) / calc(var(--u) * 36) calc(var(--u) * 3) no-repeat,
    linear-gradient(var(--ps-blue), var(--ps-blue)) calc(var(--u) * 8) calc(var(--u) * 22) / calc(var(--u) * 26) calc(var(--u) * 3) no-repeat,
    radial-gradient(circle, var(--ps-mid) 60%, transparent 64%) calc(var(--u) * 8) calc(var(--u) * 7) / calc(var(--u) * 10) calc(var(--u) * 10) no-repeat,
    #fff;
}

.bpo-gmd-pscene__apps i:nth-child(2) {
  --r: 0deg;
  top: 0;
  left: calc(var(--u) * 60);
  width: calc(var(--u) * 78);
  height: calc(var(--u) * 50);
  background:
    linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)) calc(var(--u) * 8) calc(var(--u) * 8) / calc(var(--u) * 34) calc(var(--u) * 4) no-repeat,
    linear-gradient(#b9cbe6, #b9cbe6) calc(var(--u) * 8) calc(var(--u) * 30) / calc(var(--u) * 46) calc(var(--u) * 3) no-repeat,
    linear-gradient(#b9cbe6, #b9cbe6) calc(var(--u) * 8) calc(var(--u) * 37) / calc(var(--u) * 30) calc(var(--u) * 3) no-repeat,
    var(--ps-gradient) 0 0 / 100% calc(var(--u) * 20) no-repeat,
    #fff;
  animation-delay: 0.25s;
}

.bpo-gmd-pscene__apps i:nth-child(3) {
  --r: 7deg;
  top: calc(var(--u) * 8);
  left: calc(var(--u) * 142);
  width: calc(var(--u) * 48);
  height: calc(var(--u) * 48);
  background:
    radial-gradient(circle, #fff 34%, transparent 37%) center / calc(var(--u) * 22) calc(var(--u) * 22) no-repeat,
    var(--ps-gradient);
  animation-delay: 0.5s;
}

.bpo-gmd-pscene__guide {
  top: calc(var(--u) * 196);
  left: calc(var(--u) * 40);
  animation-name: bpo-gmd-ps-brand-guide;
}

@keyframes bpo-gmd-ps-brand-grid {
  0% { opacity: 0; }
  6%, 24% { opacity: 0.7; }
  32%, 100% { opacity: 0; }
}

@keyframes bpo-gmd-ps-brand-draw {
  0%, 2% { opacity: 1; stroke-dashoffset: 100; }
  22%, 92% { opacity: 1; stroke-dashoffset: 0; }
  100% { opacity: 0; stroke-dashoffset: 0; }
}

@keyframes bpo-gmd-ps-brand-fill {
  0%, 20% { opacity: 0; transform: scale(0.86); }
  29%, 92% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: none; }
}

@keyframes bpo-gmd-ps-brand-spark {
  0%, 27% { opacity: 0; transform: scale(0); }
  33% { opacity: 1; transform: scale(1.25); }
  37%, 92% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: none; }
}

@keyframes bpo-gmd-ps-brand-name {
  0%, 25% { opacity: 0; transform: scaleX(0); }
  34%, 92% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: none; }
}

@keyframes bpo-gmd-ps-brand-palette {
  0%, 30% { opacity: 0; transform: translateX(calc(var(--u) * 18)); }
  37%, 92% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: none; }
}

@keyframes bpo-gmd-ps-brand-swatch {
  0%, 34% { opacity: 0; transform: scale(0); }
  39% { opacity: 1; transform: scale(1.18); }
  42%, 92% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: none; }
}

@keyframes bpo-gmd-ps-brand-type {
  0%, 44% { opacity: 0; transform: translateX(calc(var(--u) * 18)); }
  51%, 92% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: none; }
}

@keyframes bpo-gmd-ps-brand-line {
  0%, 47% { transform: scaleX(0); }
  55%, 100% { transform: none; }
}

@keyframes bpo-gmd-ps-brand-app {
  0%, 56% { opacity: 0; transform: translateY(calc(var(--u) * 26)) rotate(0deg); }
  64%, 92% { opacity: 1; transform: rotate(var(--r)); }
  100% { opacity: 0; transform: rotate(var(--r)); }
}

@keyframes bpo-gmd-ps-brand-guide {
  0%, 72% { opacity: 0; transform: translateY(calc(var(--u) * 8)) scale(0.9); }
  78%, 92% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: none; }
}

/* B. Website Transformation: an outdated page is audited, rebuilt as a modern
   layout with its mobile view, then conversion climbs (9s). */

.bpo-gmd-pscene--web *,
.bpo-gmd-pscene--web *::before,
.bpo-gmd-pscene--web *::after {
  animation-duration: 9s;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}

.bpo-gmd-pscene__browser {
  top: calc(var(--u) * 18);
  left: calc(var(--u) * 20);
  width: calc(var(--u) * 268);
  height: calc(var(--u) * 194);
  overflow: hidden;
}

.bpo-gmd-pscene__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 4);
  height: calc(var(--u) * 18);
  padding: 0 calc(var(--u) * 9);
  border-bottom: 1px solid var(--ps-line);
  background: #f6f9fe;
}

.bpo-gmd-pscene__bar i {
  width: calc(var(--u) * 5);
  height: calc(var(--u) * 5);
  border-radius: 50%;
  background: #c6d3e6;
}

.bpo-gmd-pscene__bar em {
  flex: 1;
  height: calc(var(--u) * 8);
  margin-left: calc(var(--u) * 8);
  border-radius: 99px;
  background: #e6edf8;
}

.bpo-gmd-pscene__old,
.bpo-gmd-pscene__new {
  position: absolute;
  inset: calc(var(--u) * 18) 0 0;
}

/* The outdated page: flat grey blocks, cramped and out of line. */
.bpo-gmd-pscene__old {
  opacity: 0;
  animation-name: bpo-gmd-ps-web-old;
}

.bpo-gmd-pscene__old i {
  position: absolute;
  border-radius: calc(var(--u) * 2);
  background: #d9dee6;
}

.bpo-gmd-pscene__old i:nth-child(1) { top: calc(var(--u) * 10); left: calc(var(--u) * 10); width: calc(var(--u) * 60); height: calc(var(--u) * 10); background: #b8c0cc; }
.bpo-gmd-pscene__old i:nth-child(2) { top: calc(var(--u) * 28); left: calc(var(--u) * 10); width: calc(var(--u) * 248); height: calc(var(--u) * 52); }
.bpo-gmd-pscene__old i:nth-child(3) { top: calc(var(--u) * 90); left: calc(var(--u) * 10); width: calc(var(--u) * 150); height: calc(var(--u) * 5); }
.bpo-gmd-pscene__old i:nth-child(4) { top: calc(var(--u) * 100); left: calc(var(--u) * 10); width: calc(var(--u) * 190); height: calc(var(--u) * 5); }
.bpo-gmd-pscene__old i:nth-child(5) { top: calc(var(--u) * 116); left: calc(var(--u) * 10); width: calc(var(--u) * 96); height: calc(var(--u) * 52); }
.bpo-gmd-pscene__old i:nth-child(6) { top: calc(var(--u) * 124); left: calc(var(--u) * 116); width: calc(var(--u) * 132); height: calc(var(--u) * 40); }

.bpo-gmd-pscene__scan {
  position: absolute;
  top: calc(var(--u) * 18);
  right: 0;
  left: 0;
  height: calc(var(--u) * 30);
  border-bottom: calc(var(--u) * 2) solid var(--ps-sky);
  background: linear-gradient(rgba(74, 157, 255, 0), rgba(74, 157, 255, 0.24));
  opacity: 0;
  animation-name: bpo-gmd-ps-web-scan;
  animation-timing-function: ease-in-out;
}

.bpo-gmd-pscene__issue {
  position: absolute;
  display: grid;
  width: calc(var(--u) * 16);
  height: calc(var(--u) * 16);
  place-items: center;
  border: calc(var(--u) * 2) solid #fff;
  border-radius: 50%;
  background: var(--ps-amber);
  box-shadow: 0 calc(var(--u) * 4) calc(var(--u) * 10) rgba(245, 165, 36, 0.4);
  color: #fff;
  font-size: calc(var(--u) * 9);
  font-weight: 700;
  opacity: 0;
  animation-name: bpo-gmd-ps-web-issue;
}

.bpo-gmd-pscene__issue:nth-of-type(1) { top: calc(var(--u) * 50); left: calc(var(--u) * 232); }
.bpo-gmd-pscene__issue:nth-of-type(2) { top: calc(var(--u) * 138); left: calc(var(--u) * 92); animation-delay: 0.6s; }

/* The rebuilt page. */
.bpo-gmd-pscene__hero {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: calc(var(--u) * 5);
  border-radius: calc(var(--u) * 8);
  background:
    radial-gradient(circle at 88% 30%, rgba(255, 255, 255, 0.28) 0 18%, transparent 19%),
    var(--ps-gradient);
}

.bpo-gmd-pscene__hero i {
  height: calc(var(--u) * 7);
  border-radius: 99px;
  background: #fff;
}

.bpo-gmd-pscene__hero i + i {
  height: calc(var(--u) * 4);
  background: rgba(255, 255, 255, 0.6);
}

.bpo-gmd-pscene__hero b {
  border-radius: 99px;
  background: var(--ps-amber);
}

.bpo-gmd-pscene__new .bpo-gmd-pscene__hero {
  position: absolute;
  top: calc(var(--u) * 10);
  right: calc(var(--u) * 10);
  left: calc(var(--u) * 10);
  height: calc(var(--u) * 70);
  padding: 0 calc(var(--u) * 16);
  animation-name: bpo-gmd-ps-web-hero;
}

.bpo-gmd-pscene__new .bpo-gmd-pscene__hero i { width: calc(var(--u) * 116); }
.bpo-gmd-pscene__new .bpo-gmd-pscene__hero i + i { width: calc(var(--u) * 84); }
.bpo-gmd-pscene__new .bpo-gmd-pscene__hero b {
  width: calc(var(--u) * 46);
  height: calc(var(--u) * 12);
  margin-top: calc(var(--u) * 3);
  animation-name: bpo-gmd-ps-web-cta;
}

.bpo-gmd-pscene__tiles {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: calc(var(--u) * 8);
}

.bpo-gmd-pscene__tiles i {
  border: 1px solid var(--ps-line);
  border-radius: calc(var(--u) * 6);
  background:
    linear-gradient(#c8d6ea, #c8d6ea) calc(var(--u) * 8) calc(var(--u) * 46) / 60% calc(var(--u) * 3) no-repeat,
    linear-gradient(var(--ps-blue), var(--ps-blue)) calc(var(--u) * 8) calc(var(--u) * 38) / 46% calc(var(--u) * 4) no-repeat,
    linear-gradient(135deg, #dcebff, #b9d6ff) calc(var(--u) * 8) calc(var(--u) * 8) / calc(var(--u) * 20) calc(var(--u) * 20) no-repeat,
    #fff;
  animation-name: bpo-gmd-ps-web-tile;
}

.bpo-gmd-pscene__new .bpo-gmd-pscene__tiles {
  position: absolute;
  top: calc(var(--u) * 90);
  right: calc(var(--u) * 10);
  left: calc(var(--u) * 10);
  height: calc(var(--u) * 74);
}

.bpo-gmd-pscene__tiles i:nth-child(2) { animation-delay: 0.2s; }
.bpo-gmd-pscene__tiles i:nth-child(3) { animation-delay: 0.4s; }

/* The same page, responsive, on a phone. */
.bpo-gmd-pscene__phone {
  top: calc(var(--u) * 58);
  left: calc(var(--u) * 302);
  display: grid;
  grid-template-rows: auto 1fr;
  gap: calc(var(--u) * 6);
  width: calc(var(--u) * 78);
  height: calc(var(--u) * 158);
  padding: calc(var(--u) * 14) calc(var(--u) * 6) calc(var(--u) * 10);
  border: calc(var(--u) * 3) solid #12386f;
  border-radius: calc(var(--u) * 16);
  background: #fff;
  box-shadow: 0 calc(var(--u) * 14) calc(var(--u) * 30) rgba(0, 53, 162, 0.2);
  animation-name: bpo-gmd-ps-web-phone;
}

.bpo-gmd-pscene__phone::before {
  position: absolute;
  top: calc(var(--u) * 5);
  left: 50%;
  width: calc(var(--u) * 18);
  height: calc(var(--u) * 3);
  border-radius: 99px;
  background: #c6d3e6;
  content: "";
  transform: translateX(-50%);
}

.bpo-gmd-pscene__phone .bpo-gmd-pscene__hero {
  height: calc(var(--u) * 58);
  padding: 0 calc(var(--u) * 8);
  gap: calc(var(--u) * 4);
}

.bpo-gmd-pscene__phone .bpo-gmd-pscene__hero i { width: 80%; height: calc(var(--u) * 5); }
.bpo-gmd-pscene__phone .bpo-gmd-pscene__hero i + i { width: 56%; height: calc(var(--u) * 3); }
.bpo-gmd-pscene__phone .bpo-gmd-pscene__hero b { width: calc(var(--u) * 26); height: calc(var(--u) * 8); }

.bpo-gmd-pscene__phone .bpo-gmd-pscene__tiles {
  grid-auto-flow: row;
  grid-auto-rows: 1fr;
  gap: calc(var(--u) * 6);
}

.bpo-gmd-pscene__phone .bpo-gmd-pscene__tiles i {
  background:
    linear-gradient(#c8d6ea, #c8d6ea) calc(var(--u) * 30) calc(var(--u) * 20) / 40% calc(var(--u) * 3) no-repeat,
    linear-gradient(var(--ps-blue), var(--ps-blue)) calc(var(--u) * 30) calc(var(--u) * 12) / 34% calc(var(--u) * 4) no-repeat,
    linear-gradient(135deg, #dcebff, #b9d6ff) calc(var(--u) * 6) center / calc(var(--u) * 18) calc(var(--u) * 18) no-repeat,
    #fff;
  animation-name: bpo-gmd-ps-web-phone-tile;
}

.bpo-gmd-pscene__chart {
  top: calc(var(--u) * 168);
  left: calc(var(--u) * 10);
  display: grid;
  gap: calc(var(--u) * 4);
  width: calc(var(--u) * 122);
  padding: calc(var(--u) * 8) calc(var(--u) * 10) calc(var(--u) * 10);
  animation-name: bpo-gmd-ps-web-chart;
}

.bpo-gmd-pscene__chart small::after {
  margin-left: calc(var(--u) * 4);
  color: #138a52;
  content: "▲";
  font-size: calc(var(--u) * 7);
}

.bpo-gmd-pscene__chart svg {
  width: 100%;
  height: calc(var(--u) * 34);
}

.bpo-gmd-pscene__line {
  fill: none;
  stroke: var(--ps-mid);
  stroke-dasharray: 100;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
  animation-name: bpo-gmd-ps-web-line;
}

.bpo-gmd-pscene__area {
  fill: rgba(74, 157, 255, 0.16);
  animation-name: bpo-gmd-ps-web-area;
}

.bpo-gmd-pscene__seo {
  top: calc(var(--u) * 24);
  left: calc(var(--u) * 296);
  animation-name: bpo-gmd-ps-web-seo;
}

.bpo-gmd-pscene__ga {
  top: calc(var(--u) * 222);
  left: calc(var(--u) * 150);
  animation-name: bpo-gmd-ps-web-ga;
}

@keyframes bpo-gmd-ps-web-old {
  0% { opacity: 0; transform: none; filter: none; }
  3%, 28% { opacity: 1; transform: none; filter: none; }
  36%, 100% { opacity: 0; transform: scale(0.96); filter: blur(calc(var(--u) * 2)); }
}

@keyframes bpo-gmd-ps-web-scan {
  0%, 5% { opacity: 0; transform: translateY(0); }
  8% { opacity: 1; }
  25% { opacity: 1; transform: translateY(calc(var(--u) * 166)); }
  29%, 100% { opacity: 0; transform: translateY(calc(var(--u) * 166)); }
}

@keyframes bpo-gmd-ps-web-issue {
  0%, 11% { opacity: 0; transform: scale(0); }
  15% { opacity: 1; transform: scale(1.25); }
  18%, 28% { opacity: 1; transform: none; }
  33%, 100% { opacity: 0; transform: scale(0.6); }
}

@keyframes bpo-gmd-ps-web-hero {
  0%, 34% { opacity: 0; clip-path: inset(0 100% 0 0 round calc(var(--u) * 8)); }
  36% { opacity: 1; }
  45%, 92% { opacity: 1; clip-path: inset(0 0 0 0 round calc(var(--u) * 8)); }
  100% { opacity: 0; clip-path: inset(0 0 0 0 round calc(var(--u) * 8)); }
}

@keyframes bpo-gmd-ps-web-cta {
  0%, 45% { opacity: 0; transform: scale(0.4); }
  49% { opacity: 1; transform: scale(1.12); }
  52%, 100% { opacity: 1; transform: none; }
}

@keyframes bpo-gmd-ps-web-tile {
  0%, 47% { opacity: 0; transform: translateY(calc(var(--u) * 16)); }
  54%, 92% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: none; }
}

@keyframes bpo-gmd-ps-web-phone {
  0%, 56% { opacity: 0; transform: translateX(calc(var(--u) * 40)) rotate(4deg); }
  65%, 92% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: none; }
}

@keyframes bpo-gmd-ps-web-phone-tile {
  0%, 62% { opacity: 0; transform: translateY(calc(var(--u) * 10)); }
  68%, 100% { opacity: 1; transform: none; }
}

@keyframes bpo-gmd-ps-web-chart {
  0%, 64% { opacity: 0; transform: translateY(calc(var(--u) * 14)); }
  70%, 92% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: none; }
}

@keyframes bpo-gmd-ps-web-line {
  0%, 68% { stroke-dashoffset: 100; }
  82%, 100% { stroke-dashoffset: 0; }
}

@keyframes bpo-gmd-ps-web-area {
  0%, 72% { opacity: 0; }
  84%, 100% { opacity: 1; }
}

@keyframes bpo-gmd-ps-web-seo {
  0%, 74% { opacity: 0; transform: translateY(calc(var(--u) * 8)) scale(0.9); }
  79%, 92% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: none; }
}

@keyframes bpo-gmd-ps-web-ga {
  0%, 78% { opacity: 0; transform: translateY(calc(var(--u) * 8)) scale(0.9); }
  83%, 92% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: none; }
}

/* C. Creative-on-Demand: requests keep arriving and leave as finished social
   posts, newsletters, infographics and videos, one every two seconds (8s). */

.bpo-gmd-pscene--ondemand *,
.bpo-gmd-pscene--ondemand *::before,
.bpo-gmd-pscene--ondemand *::after {
  animation-duration: 8s;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}

.bpo-gmd-pscene__queue {
  top: calc(var(--u) * 22);
  left: calc(var(--u) * 18);
  display: grid;
  align-content: start;
  gap: calc(var(--u) * 6);
  width: calc(var(--u) * 134);
  height: calc(var(--u) * 206);
  padding: calc(var(--u) * 11) calc(var(--u) * 9);
}

.bpo-gmd-pscene__queue small {
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 5);
  margin: 0 0 calc(var(--u) * 3) calc(var(--u) * 3);
}

/* A live dot: the queue never empties. */
.bpo-gmd-pscene__queue small::before {
  width: calc(var(--u) * 6);
  height: calc(var(--u) * 6);
  border-radius: 50%;
  background: #22b573;
  box-shadow: 0 0 0 calc(var(--u) * 3) rgba(34, 181, 115, 0.18);
  content: "";
  animation: bpo-gmd-ps-live 1.6s ease-in-out infinite both;
}

.bpo-gmd-pscene__queue b {
  --d: 0s;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: calc(var(--u) * 6);
  height: calc(var(--u) * 36);
  padding: 0 calc(var(--u) * 6);
  border-radius: calc(var(--u) * 8);
  font-size: calc(var(--u) * 9.5);
  font-weight: 600;
  white-space: nowrap;
  animation-name: bpo-gmd-ps-od-row;
  animation-delay: var(--d);
}

.bpo-gmd-pscene__queue b > i {
  width: calc(var(--u) * 18);
  height: calc(var(--u) * 18);
  border-radius: calc(var(--u) * 6);
  background: var(--ps-gradient);
}

/* Status: an empty ring that fills with a tick once the asset ships. */
.bpo-gmd-pscene__queue em {
  display: grid;
  width: calc(var(--u) * 13);
  height: calc(var(--u) * 13);
  place-items: center;
  border: calc(var(--u) * 1.5) solid #c6d3e6;
  border-radius: 50%;
}

.bpo-gmd-pscene__queue em::after {
  display: grid;
  width: calc(var(--u) * 13);
  height: calc(var(--u) * 13);
  place-items: center;
  border-radius: 50%;
  background: #22b573;
  color: #fff;
  content: "✓";
  font-size: calc(var(--u) * 8);
}

.bpo-gmd-pscene__queue b:nth-of-type(2) { --d: -6s; }
.bpo-gmd-pscene__queue b:nth-of-type(2) > i { background: linear-gradient(135deg, #176ddf, #7bb8ff); }
.bpo-gmd-pscene__queue b:nth-of-type(3) { --d: -4s; }
.bpo-gmd-pscene__queue b:nth-of-type(3) > i { background: linear-gradient(135deg, #f5a524, #ffd27a); }
.bpo-gmd-pscene__queue b:nth-of-type(4) { --d: -2s; }
.bpo-gmd-pscene__queue b:nth-of-type(4) > i { background: linear-gradient(135deg, #12386f, #3d6bb3); }

.bpo-gmd-pscene__queue b:nth-of-type(1) em::after { animation-name: bpo-gmd-ps-od-done-1; }
.bpo-gmd-pscene__queue b:nth-of-type(2) em::after { animation-name: bpo-gmd-ps-od-done-2; }
.bpo-gmd-pscene__queue b:nth-of-type(3) em::after { animation-name: bpo-gmd-ps-od-done-3; }
.bpo-gmd-pscene__queue b:nth-of-type(4) em::after { animation-name: bpo-gmd-ps-od-done-4; }

/* The artboard shows whichever asset is in production. */
.bpo-gmd-pscene__art {
  top: calc(var(--u) * 22);
  left: calc(var(--u) * 164);
  width: calc(var(--u) * 148);
  height: calc(var(--u) * 206);
}

.bpo-gmd-pscene__art > span {
  --d: 0s;
  position: absolute;
  inset: calc(var(--u) * 12);
  display: grid;
  align-content: start;
  gap: calc(var(--u) * 7);
  animation-name: bpo-gmd-ps-od-show;
  animation-delay: var(--d);
}

.bpo-gmd-pscene__art > span * {
  animation-delay: var(--d);
}

.bpo-gmd-pscene__art > .bpo-gmd-pscene__news { --d: -6s; }
.bpo-gmd-pscene__art > .bpo-gmd-pscene__info { --d: -4s; }
.bpo-gmd-pscene__art > .bpo-gmd-pscene__video { --d: -2s; }

.bpo-gmd-pscene__art i {
  height: calc(var(--u) * 5);
  border-radius: 99px;
  background: #c8d6ea;
}

/* Social post: image, caption and a like. */
.bpo-gmd-pscene__social i:nth-child(1) {
  height: calc(var(--u) * 112);
  border-radius: calc(var(--u) * 8);
  background:
    radial-gradient(circle, #ffd27a 0 60%, transparent 63%) 74% 26% / calc(var(--u) * 26) calc(var(--u) * 26) no-repeat,
    linear-gradient(160deg, transparent 58%, rgba(0, 53, 162, 0.55) 58.5%),
    linear-gradient(20deg, transparent 52%, rgba(23, 109, 223, 0.5) 52.5%),
    linear-gradient(180deg, #7bb8ff, #dcebff);
}

.bpo-gmd-pscene__social i:nth-child(2) { width: 86%; margin-top: calc(var(--u) * 4); background: var(--ps-blue); }
.bpo-gmd-pscene__social i:nth-child(3) { width: 62%; }

.bpo-gmd-pscene__social b,
.bpo-gmd-pscene__info > b {
  position: absolute;
  top: calc(var(--u) * 96);
  right: calc(var(--u) * 8);
  display: grid;
  width: calc(var(--u) * 26);
  height: calc(var(--u) * 26);
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 calc(var(--u) * 6) calc(var(--u) * 14) rgba(0, 53, 162, 0.2);
  color: #ef4b6c;
  font-size: calc(var(--u) * 13);
  animation-name: bpo-gmd-ps-od-pop;
}

.bpo-gmd-pscene__social b::before {
  content: "♥";
}

/* Newsletter: masthead, hero image, copy and a button. */
.bpo-gmd-pscene__news i:nth-child(1) { height: calc(var(--u) * 16); border-radius: calc(var(--u) * 5); background: var(--ps-gradient); }
.bpo-gmd-pscene__news i:nth-child(2) { height: calc(var(--u) * 62); border-radius: calc(var(--u) * 6); background: linear-gradient(135deg, #dcebff, #b9d6ff); }
.bpo-gmd-pscene__news i:nth-child(3) { width: 90%; margin-top: calc(var(--u) * 2); background: var(--ps-blue); }
.bpo-gmd-pscene__news i:nth-child(4) { width: 70%; }

.bpo-gmd-pscene__news i {
  transform-origin: left;
  animation-name: bpo-gmd-ps-od-type;
}

.bpo-gmd-pscene__news b {
  width: calc(var(--u) * 58);
  height: calc(var(--u) * 16);
  margin-top: calc(var(--u) * 6);
  border-radius: 99px;
  background: var(--ps-amber);
  animation-name: bpo-gmd-ps-od-pop;
}

/* Infographic: a title, bars that rise and a ring chart. */
.bpo-gmd-pscene__info > i { width: 70%; height: calc(var(--u) * 7); background: var(--ps-blue); }

.bpo-gmd-pscene__info > span {
  display: flex;
  align-items: flex-end;
  gap: calc(var(--u) * 8);
  height: calc(var(--u) * 96);
  margin-top: calc(var(--u) * 6);
  padding: 0 calc(var(--u) * 4);
  border-bottom: calc(var(--u) * 2) solid var(--ps-line);
}

.bpo-gmd-pscene__info > span i {
  flex: 1;
  height: 40%;
  border-radius: calc(var(--u) * 4) calc(var(--u) * 4) 0 0;
  background: var(--ps-gradient);
  transform-origin: bottom;
  animation-name: bpo-gmd-ps-od-bar;
}

.bpo-gmd-pscene__info > span i:nth-child(2) { height: 66%; }
.bpo-gmd-pscene__info > span i:nth-child(3) { height: 52%; background: linear-gradient(#ffd27a, #f5a524); }
.bpo-gmd-pscene__info > span i:nth-child(4) { height: 88%; }

.bpo-gmd-pscene__info > b {
  top: auto;
  bottom: calc(var(--u) * 4);
  left: calc(var(--u) * 4);
  width: calc(var(--u) * 38);
  height: calc(var(--u) * 38);
  background:
    radial-gradient(circle, #fff 52%, transparent 54%),
    conic-gradient(var(--ps-blue) 0 62%, #f5a524 62% 80%, var(--ps-line) 80%);
  box-shadow: none;
}

/* Short video: a frame with play button, a playhead and clips on a timeline. */
.bpo-gmd-pscene__video > span:first-child {
  display: grid;
  height: calc(var(--u) * 104);
  place-items: center;
  border-radius: calc(var(--u) * 8);
  background:
    radial-gradient(circle at 30% 30%, rgba(74, 157, 255, 0.5), transparent 55%),
    #12386f;
}

.bpo-gmd-pscene__video > span:first-child b {
  display: grid;
  width: calc(var(--u) * 32);
  height: calc(var(--u) * 32);
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  animation-name: bpo-gmd-ps-od-pop;
}

.bpo-gmd-pscene__video > span:first-child b::before {
  margin-left: calc(var(--u) * 3);
  border-top: calc(var(--u) * 7) solid transparent;
  border-bottom: calc(var(--u) * 7) solid transparent;
  border-left: calc(var(--u) * 11) solid var(--ps-blue);
  content: "";
}

.bpo-gmd-pscene__video > i {
  height: calc(var(--u) * 4);
  background:
    linear-gradient(var(--ps-sky), var(--ps-sky)) 0 0 / 0% 100% no-repeat,
    var(--ps-line);
  animation-name: bpo-gmd-ps-od-play;
  animation-timing-function: linear;
}

.bpo-gmd-pscene__video > span:last-child {
  display: flex;
  gap: calc(var(--u) * 4);
  height: calc(var(--u) * 22);
}

.bpo-gmd-pscene__video > span:last-child i {
  height: 100%;
  border-radius: calc(var(--u) * 4);
  background: linear-gradient(135deg, #7bb8ff, #176ddf);
  animation-name: bpo-gmd-ps-od-clip;
}

.bpo-gmd-pscene__video > span:last-child i:nth-child(1) { flex: 3; }
.bpo-gmd-pscene__video > span:last-child i:nth-child(2) { flex: 2; background: linear-gradient(135deg, #ffd27a, #f5a524); }
.bpo-gmd-pscene__video > span:last-child i:nth-child(3) { flex: 4; }

/* Finished work stacks up, one tile per asset. */
.bpo-gmd-pscene__tray {
  top: calc(var(--u) * 22);
  left: calc(var(--u) * 324);
  display: grid;
  align-content: start;
  justify-items: center;
  gap: calc(var(--u) * 8);
  width: calc(var(--u) * 58);
  height: calc(var(--u) * 206);
  padding-top: calc(var(--u) * 11);
}

.bpo-gmd-pscene__tray i {
  width: calc(var(--u) * 36);
  height: calc(var(--u) * 36);
  border-radius: calc(var(--u) * 8);
  background: var(--ps-gradient);
  box-shadow: 0 calc(var(--u) * 5) calc(var(--u) * 12) rgba(0, 53, 162, 0.16);
  animation-name: bpo-gmd-ps-od-done-1;
}

.bpo-gmd-pscene__tray i:nth-of-type(2) { background: linear-gradient(135deg, #176ddf, #7bb8ff); animation-name: bpo-gmd-ps-od-done-2; }
.bpo-gmd-pscene__tray i:nth-of-type(3) { background: linear-gradient(135deg, #f5a524, #ffd27a); animation-name: bpo-gmd-ps-od-done-3; }
.bpo-gmd-pscene__tray i:nth-of-type(4) { background: linear-gradient(135deg, #12386f, #3d6bb3); animation-name: bpo-gmd-ps-od-done-4; }

@keyframes bpo-gmd-ps-live {
  0%, 100% { box-shadow: 0 0 0 calc(var(--u) * 2) rgba(34, 181, 115, 0.25); }
  50% { box-shadow: 0 0 0 calc(var(--u) * 5) rgba(34, 181, 115, 0); }
}

/* Shared by each row and artboard asset, shifted by --d into its 2s turn. */
@keyframes bpo-gmd-ps-od-row {
  0%, 24% { background: var(--ps-ice); box-shadow: inset calc(var(--u) * 3) 0 0 var(--ps-mid); }
  28%, 100% { background: transparent; box-shadow: inset 0 0 0 transparent; }
}

@keyframes bpo-gmd-ps-od-show {
  0% { opacity: 0; transform: translateY(calc(var(--u) * 10)) scale(0.97); }
  4%, 21% { opacity: 1; transform: none; }
  25%, 100% { opacity: 0; transform: translateX(calc(var(--u) * 24)) scale(0.94); }
}

@keyframes bpo-gmd-ps-od-type {
  0%, 2% { transform: scaleX(0); }
  10%, 100% { transform: none; }
}

@keyframes bpo-gmd-ps-od-pop {
  0%, 8% { opacity: 0; transform: scale(0.3); }
  12% { opacity: 1; transform: scale(1.18); }
  15%, 100% { opacity: 1; transform: none; }
}

@keyframes bpo-gmd-ps-od-bar {
  0%, 2% { transform: scaleY(0); }
  12%, 100% { transform: none; }
}

@keyframes bpo-gmd-ps-od-play {
  0%, 3% { background-size: 0% 100%, auto; }
  22%, 100% { background-size: 100% 100%, auto; }
}

@keyframes bpo-gmd-ps-od-clip {
  0%, 2% { opacity: 0; transform: translateX(calc(var(--u) * -10)); }
  9%, 100% { opacity: 1; transform: none; }
}

/* One per asset: lands as its turn ends, stays until the loop clears. */
@keyframes bpo-gmd-ps-od-done-1 {
  0%, 20% { opacity: 0; transform: scale(0.4); }
  24% { opacity: 1; transform: scale(1.12); }
  27%, 96% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: none; }
}

@keyframes bpo-gmd-ps-od-done-2 {
  0%, 45% { opacity: 0; transform: scale(0.4); }
  49% { opacity: 1; transform: scale(1.12); }
  52%, 96% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: none; }
}

@keyframes bpo-gmd-ps-od-done-3 {
  0%, 70% { opacity: 0; transform: scale(0.4); }
  74% { opacity: 1; transform: scale(1.12); }
  77%, 96% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: none; }
}

@keyframes bpo-gmd-ps-od-done-4 {
  0%, 89% { opacity: 0; transform: scale(0.4); }
  93%, 96% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .bpo-gmd-pscene *,
  .bpo-gmd-pscene *::before,
  .bpo-gmd-pscene *::after {
    animation: none !important;
  }

  /* The finished board: one asset on the artboard, the outdated page gone. */
  .bpo-gmd-pscene__art > span:not(:first-child),
  .bpo-gmd-pscene__old,
  .bpo-gmd-pscene__scan,
  .bpo-gmd-pscene__issue,
  .bpo-gmd-pscene__grid {
    opacity: 0;
  }

  .bpo-gmd-pscene__queue b:first-of-type {
    background: var(--ps-ice);
  }
}

/* Hero: a light, glassy studio on a 480 × 320 board.
   The 10s story (below) plays once and rests on its finished state; only the
   ambient motion (light, floor, dust, sway, the cards' own clips) loops. A designer builds a launch
   banner in a glass app (10s loop) while the page's four services float at
   different depths. The whole stage sways gently and leans toward the
   pointer (graphic-motion-design.js). */

.bpo-gmd-pscene--studio {
  --u: calc(100cqw / 480);
  --hs-ink: #12386f;
  --hs-dim: #6a7d9c;
  --hs-line: rgba(0, 53, 162, 0.08);
  --hs-glass: linear-gradient(155deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 250, 255, 0.94) 100%);
  --hs-brand: linear-gradient(135deg, #0035a2 0%, #176ddf 55%, #4a9dff 100%);
  --hs-blue: linear-gradient(135deg, #1f6bff 0%, #3d8bff 50%, #5fb4ff 100%);
  overflow: visible;
  background: none;
  color: var(--hs-ink);
}

.bpo-gmd-pscene--studio *,
.bpo-gmd-pscene--studio *::before,
.bpo-gmd-pscene--studio *::after {
  animation-duration: 10s;
  animation-iteration-count: 1; /* the story plays once and rests finished */
  animation-fill-mode: both;
}

.bpo-gmd-pscene--studio small {
  color: var(--hs-dim);
}

/* Light and floor ------------------------------------------------------------ */

.bpo-gmd-hs__aurora {
  inset: 0;
}

.bpo-gmd-hs__aurora i {
  position: absolute;
  width: calc(var(--u) * 260);
  height: calc(var(--u) * 260);
  border-radius: 50%;
  filter: blur(calc(var(--u) * 46));
  opacity: 0.4;
  animation-name: bpo-gmd-hs-drift;
  animation-duration: 18s;
  animation-direction: alternate;
  animation-timing-function: ease-in-out;
}

.bpo-gmd-hs__aurora i:nth-child(1) { top: calc(var(--u) * -10); left: calc(var(--u) * 40); background: #7fb6ff; }
.bpo-gmd-hs__aurora i:nth-child(2) { top: calc(var(--u) * 50); right: calc(var(--u) * -10); background: #4a9dff; opacity: 0.28; animation-delay: -6s; animation-duration: 22s; }
.bpo-gmd-hs__aurora i:nth-child(3) { bottom: calc(var(--u) * -60); left: calc(var(--u) * 120); background: #9fd0ff; opacity: 0.45; animation-delay: -12s; animation-duration: 26s; }

/* A perspective grid gives the stage a floor. */
.bpo-gmd-hs__floor {
  right: -30%;
  bottom: calc(var(--u) * -40);
  left: -30%;
  height: calc(var(--u) * 190);
  background:
    linear-gradient(rgba(0, 53, 162, 0.1) 1px, transparent 1px) 0 0 / 100% calc(var(--u) * 22),
    linear-gradient(90deg, rgba(0, 53, 162, 0.08) 1px, transparent 1px) 0 0 / calc(var(--u) * 22) 100%;
  -webkit-mask-image: radial-gradient(48% 90% at 50% 100%, #000 20%, transparent 78%);
  mask-image: radial-gradient(48% 90% at 50% 100%, #000 20%, transparent 78%);
  transform: perspective(calc(var(--u) * 260)) rotateX(64deg);
  transform-origin: bottom;
  animation-name: bpo-gmd-hs-floor;
  animation-duration: 4s;
  animation-timing-function: linear;
}

.bpo-gmd-hs__dust {
  z-index: 0; /* behind the stage: the particles never cross the logo */
  inset: 0;
  pointer-events: none;
}

.bpo-gmd-hs__dust i {
  position: absolute;
  bottom: calc(var(--u) * 20);
  width: calc(var(--u) * 2.5);
  height: calc(var(--u) * 2.5);
  border-radius: 50%;
  background: #4a9dff;
  box-shadow: 0 0 calc(var(--u) * 6) rgba(74, 157, 255, 0.7);
  opacity: 0;
  animation-name: bpo-gmd-hs-dust;
  animation-duration: 7s;
  animation-timing-function: linear;
}

.bpo-gmd-hs__dust i:nth-child(1) { left: 8%; animation-delay: -1s; }
.bpo-gmd-hs__dust i:nth-child(2) { left: 26%; animation-delay: -4.5s; animation-duration: 8s; }
.bpo-gmd-hs__dust i:nth-child(3) { left: 47%; animation-delay: -2.5s; }
.bpo-gmd-hs__dust i:nth-child(4) { left: 63%; animation-delay: -6s; animation-duration: 9s; }
.bpo-gmd-hs__dust i:nth-child(5) { left: 81%; animation-delay: -3.2s; background: #0035a2; box-shadow: 0 0 calc(var(--u) * 6) rgba(0, 53, 162, 0.5); }
.bpo-gmd-hs__dust i:nth-child(6) { left: 94%; animation-delay: -5.4s; animation-duration: 8.5s; }

/* Stage: perspective, pointer lean, idle sway. */
.bpo-gmd-hs__stage {
  z-index: 1;
  inset: 0;
  perspective: calc(var(--u) * 900);
}

.bpo-gmd-hs__tilt,
.bpo-gmd-hs__sway {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.bpo-gmd-hs__tilt {
  transform: rotateX(calc(var(--bpo-gmd-ty, 0) * -5deg)) rotateY(calc(var(--bpo-gmd-tx, 0) * 7deg));
  transition: transform 900ms var(--bpo-gmd-ease);
}

.bpo-gmd-hs__sway {
  animation-name: bpo-gmd-hs-sway;
  animation-duration: 14s;
  animation-direction: alternate;
  animation-timing-function: ease-in-out;
}

.bpo-gmd-hs__sway > span {
  position: absolute;
}

/* The design app ---------------------------------------------------------- */

.bpo-gmd-hs__app {
  top: calc(var(--u) * 46);
  left: calc(var(--u) * 84);
  width: calc(var(--u) * 312);
  height: calc(var(--u) * 220);
  overflow: hidden;
  border: 1px solid rgba(0, 53, 162, 0.1);
  border-radius: calc(var(--u) * 14);
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  box-shadow:
    0 calc(var(--u) * 30) calc(var(--u) * 60) rgba(0, 53, 162, 0.16),
    0 0 0 calc(var(--u) * 5) rgba(255, 255, 255, 0.55),
    inset 0 1px 0 #fff;
}

.bpo-gmd-hs__app > span {
  position: absolute;
}

.bpo-gmd-hs__top {
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 4);
  height: calc(var(--u) * 24);
  padding: 0 calc(var(--u) * 8) 0 calc(var(--u) * 10);
  border-bottom: 1px solid var(--hs-line);
}

.bpo-gmd-hs__top > i {
  width: calc(var(--u) * 5);
  height: calc(var(--u) * 5);
  border-radius: 50%;
  background: #d3deef;
}

.bpo-gmd-hs__top em {
  margin-left: calc(var(--u) * 10);
  color: var(--hs-dim);
  font-size: calc(var(--u) * 7.5);
  font-weight: 500;
}

.bpo-gmd-hs__live {
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 3);
  margin-left: auto;
  color: var(--hs-dim);
  font-size: calc(var(--u) * 7);
}

/* Two teammates in the file. */
.bpo-gmd-hs__live i {
  width: calc(var(--u) * 11);
  height: calc(var(--u) * 11);
  border: calc(var(--u) * 1.5) solid #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #7fb6ff, #2f6bff);
}

.bpo-gmd-hs__live i + i {
  margin: 0 calc(var(--u) * 3) 0 calc(var(--u) * -6);
  background: linear-gradient(135deg, #176ddf, #22b8f0);
}

.bpo-gmd-hs__export {
  margin-left: calc(var(--u) * 6);
  padding: calc(var(--u) * 3.5) calc(var(--u) * 10);
  border-radius: 99px;
  background: var(--hs-brand);
  box-shadow: 0 calc(var(--u) * 4) calc(var(--u) * 12) rgba(0, 53, 162, 0.28);
  color: #fff;
  font-size: calc(var(--u) * 7.5);
  font-weight: 600;
  animation-name: bpo-gmd-hs-export;
}

.bpo-gmd-hs__rail {
  top: calc(var(--u) * 24);
  bottom: 0;
  left: 0;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: calc(var(--u) * 9);
  width: calc(var(--u) * 28);
  padding-top: calc(var(--u) * 12);
  border-right: 1px solid var(--hs-line);
}

.bpo-gmd-hs__rail i {
  position: relative;
  z-index: 1;
  display: grid;
  width: calc(var(--u) * 12);
  height: calc(var(--u) * 12);
  place-items: center;
  border: calc(var(--u) * 1.4) solid #a9bcd9;
  border-radius: calc(var(--u) * 3);
  color: #7f97bd;
  font-size: calc(var(--u) * 9);
  font-weight: 700;
  line-height: 1;
}

.bpo-gmd-hs__rail i:nth-child(1) { border-radius: 0 50% 50% 50%; transform: rotate(-90deg) scale(0.85); }
.bpo-gmd-hs__rail i:nth-child(3) { border-color: transparent; }
.bpo-gmd-hs__rail i:nth-child(4) { border-radius: 50%; }
.bpo-gmd-hs__rail i:nth-child(5) { border-style: dashed; }

.bpo-gmd-hs__rail em {
  position: absolute;
  top: calc(var(--u) * 8);
  left: calc(var(--u) * 4);
  width: calc(var(--u) * 20);
  height: calc(var(--u) * 20);
  border-radius: calc(var(--u) * 6);
  background: rgba(74, 157, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(74, 157, 255, 0.55);
  animation-name: bpo-gmd-hs-tool;
}

.bpo-gmd-hs__canvas {
  z-index: 1; /* the export sheen passes behind the canvas and its logo */
  top: calc(var(--u) * 24);
  right: calc(var(--u) * 70);
  bottom: 0;
  left: calc(var(--u) * 28);
  background:
    radial-gradient(circle, #d3e0f3 calc(var(--u) * 0.8), transparent calc(var(--u) * 1)) 0 0 / calc(var(--u) * 10) calc(var(--u) * 10),
    #f4f8ff;
}

.bpo-gmd-hs__canvas > * {
  position: absolute;
}

.bpo-gmd-hs__board {
  top: calc(var(--u) * 18);
  left: calc(var(--u) * 16);
  width: calc(var(--u) * 182);
  height: calc(var(--u) * 140);
  border-radius: calc(var(--u) * 7);
  background: #fff;
  box-shadow: 0 calc(var(--u) * 14) calc(var(--u) * 30) rgba(0, 53, 162, 0.14);
}

.bpo-gmd-hs__board > * {
  position: absolute;
}

/* The banner being designed: this page's own heading; its last word is
   dropped in from the hero's left column. */
.bpo-gmd-hs__banner {
  top: calc(var(--u) * 9);
  right: calc(var(--u) * 9);
  left: calc(var(--u) * 9);
  height: calc(var(--u) * 92);
  overflow: hidden;
  border-radius: calc(var(--u) * 6);
  background:
    radial-gradient(circle at 0% 100%, rgba(95, 180, 255, 0.35), transparent 55%),
    linear-gradient(135deg, #061a4d 0%, #0b3aa8 55%, #1f6bff 100%);
  animation-name: bpo-gmd-hs-draw;
}

.bpo-gmd-hs__banner > * {
  position: absolute;
}

/* The colour tried from the Fill swatches: blue into teal. */
.bpo-gmd-hs__alt {
  inset: 0;
  background:
    radial-gradient(circle at 0% 100%, rgba(47, 211, 201, 0.35), transparent 55%),
    linear-gradient(135deg, #0035a2 0%, #176ddf 55%, #22c1c3 100%);
  opacity: 0;
  animation-name: bpo-gmd-hs-recolor;
}

/* A glossy sphere: the banner's hero artwork. */
.bpo-gmd-hs__orb {
  top: calc(var(--u) * 44);
  right: calc(var(--u) * 10);
  width: calc(var(--u) * 42);
  height: calc(var(--u) * 42);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, #fff 0 6%, rgba(255, 255, 255, 0.6) 12%, transparent 34%),
    radial-gradient(circle at 60% 70%, #1f6bff 0%, #5fb4ff 45%, #b8dcff 72%, #e8f3ff 100%);
  box-shadow: 0 calc(var(--u) * 10) calc(var(--u) * 22) rgba(0, 20, 70, 0.35), 0 0 calc(var(--u) * 26) rgba(95, 180, 255, 0.45);
  animation-name: bpo-gmd-hs-orb;
}





.bpo-gmd-hs__banner strong {
  top: calc(var(--u) * 16);
  left: calc(var(--u) * 13);
  display: grid;
  justify-items: start;
  color: #fff;
  font-size: calc(var(--u) * 12.5);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.12;
  white-space: nowrap;
}

.bpo-gmd-hs__banner strong span {
  clip-path: inset(0 100% 0 0);
  animation-name: bpo-gmd-hs-type;
}

/* The second line, typed after the first; the designer drags it out. */
.bpo-gmd-hs__banner .bpo-gmd-hs__drop {
  position: relative;
  clip-path: none;
  background: linear-gradient(90deg, #9fd0ff 0%, #e8f4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation-name: bpo-gmd-hs-drop;
}



.bpo-gmd-hs__banner b {
  top: calc(var(--u) * 64);
  left: calc(var(--u) * 13);
  padding: calc(var(--u) * 3) calc(var(--u) * 9);
  border-radius: 99px;
  background: #fff;
  box-shadow: 0 calc(var(--u) * 4) calc(var(--u) * 10) rgba(0, 20, 70, 0.25);
  color: #0035a2;
  font-size: calc(var(--u) * 6.5);
  font-weight: 700;
  animation-name: bpo-gmd-hs-cta;
}

.bpo-gmd-hs__shine {
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.4) 50%, transparent 65%) 0 0 / 300% 100% no-repeat;
  background-position: 120% 0;
  animation-name: bpo-gmd-hs-shine;
}

.bpo-gmd-hs__copy {
  left: calc(var(--u) * 9);
  height: calc(var(--u) * 5);
  border-radius: 99px;
  background: #d4def0;
  transform-origin: left;
  animation-name: bpo-gmd-hs-copy;
}

.bpo-gmd-hs__copy:nth-of-type(1) { top: calc(var(--u) * 112); width: calc(var(--u) * 128); background: #0b2a6e; }
.bpo-gmd-hs__copy:nth-of-type(2) { top: calc(var(--u) * 123); width: calc(var(--u) * 90); animation-delay: 0.2s; }

.bpo-gmd-hs__select {
  top: calc(var(--u) * 36);
  left: calc(var(--u) * 19);
  width: calc(var(--u) * 84);
  height: calc(var(--u) * 17);
  border: 1px solid #3d8bff;
  opacity: 0;
  animation-name: bpo-gmd-hs-select;
}

.bpo-gmd-hs__select::before,
.bpo-gmd-hs__select::after {
  position: absolute;
  width: calc(var(--u) * 5);
  height: calc(var(--u) * 5);
  border: 1px solid #3d8bff;
  background: #fff;
  content: "";
}

.bpo-gmd-hs__select::before { top: calc(var(--u) * -3); left: calc(var(--u) * -3); }
.bpo-gmd-hs__select::after { right: calc(var(--u) * -3); bottom: calc(var(--u) * -3); }

/* Client sign-off lands on the canvas. */
.bpo-gmd-hs__approve {
  top: calc(var(--u) * 166);
  left: calc(var(--u) * 122);
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 4);
  padding: calc(var(--u) * 3.5) calc(var(--u) * 9) calc(var(--u) * 3.5) calc(var(--u) * 4);
  border: 1px solid rgba(34, 195, 142, 0.35);
  border-radius: 99px calc(var(--u) * 99) 99px calc(var(--u) * 3);
  background: #fff;
  box-shadow: 0 calc(var(--u) * 8) calc(var(--u) * 18) rgba(0, 53, 162, 0.14);
  color: #138a5e;
  font-size: calc(var(--u) * 7.5);
  font-weight: 600;
  transform-origin: bottom left;
  animation-name: bpo-gmd-hs-approve;
}

.bpo-gmd-hs__approve::before {
  display: grid;
  width: calc(var(--u) * 12);
  height: calc(var(--u) * 12);
  place-items: center;
  border-radius: 50%;
  background: #22c38e;
  color: #fff;
  content: "✓";
  font-size: calc(var(--u) * 7);
}

/* Properties panel. */
.bpo-gmd-hs__props {
  top: calc(var(--u) * 24);
  right: 0;
  bottom: 0;
  display: grid;
  align-content: start;
  gap: calc(var(--u) * 6);
  width: calc(var(--u) * 70);
  padding: calc(var(--u) * 9);
  border-left: 1px solid var(--hs-line);
}

.bpo-gmd-hs__props > small {
  font-size: calc(var(--u) * 7);
  font-weight: 500;
}

.bpo-gmd-hs__swatches {
  position: relative;
  display: flex;
  gap: calc(var(--u) * 4);
  margin-bottom: calc(var(--u) * 4);
}

.bpo-gmd-hs__swatches i {
  width: calc(var(--u) * 10);
  height: calc(var(--u) * 10);
  border-radius: 50%;
  background: #1f6bff;
}

.bpo-gmd-hs__swatches i:nth-child(2) { background: #5fb4ff; }
.bpo-gmd-hs__swatches i:nth-child(3) { background: linear-gradient(135deg, #176ddf, #22c1c3); }
.bpo-gmd-hs__swatches i:nth-child(4) { background: #f3c25d; }

.bpo-gmd-hs__swatches em {
  position: absolute;
  top: calc(var(--u) * -2.5);
  left: calc(var(--u) * -2.5);
  width: calc(var(--u) * 15);
  height: calc(var(--u) * 15);
  border: calc(var(--u) * 1.5) solid #0035a2;
  border-radius: 50%;
  animation-name: bpo-gmd-hs-swatch;
}

.bpo-gmd-hs__props > b {
  display: flex;
  align-items: baseline;
  gap: calc(var(--u) * 4);
  margin-bottom: calc(var(--u) * 4);
  color: #0035a2;
  font-size: calc(var(--u) * 13);
  font-weight: 700;
  line-height: 1;
}

.bpo-gmd-hs__props > b small {
  font-size: calc(var(--u) * 6.5);
  font-weight: 500;
}

.bpo-gmd-hs__slider {
  height: calc(var(--u) * 3.5);
  border-radius: 99px;
  background: var(--hs-blue) 0 0 / 60% 100% no-repeat, #e2eaf6;
}

.bpo-gmd-hs__slider:nth-of-type(1) { animation-name: bpo-gmd-hs-slider; }
.bpo-gmd-hs__slider:nth-of-type(2) { background-size: 38% 100%, auto; }
.bpo-gmd-hs__slider:nth-of-type(3) { background-size: 74% 100%, auto; }

/* A light sweep across the glass as the file exports. */
.bpo-gmd-hs__sheen {
  inset: 0;
  background: linear-gradient(110deg, transparent 38%, rgba(74, 157, 255, 0.12) 48%, rgba(74, 157, 255, 0.03) 56%, transparent 62%) 0 0 / 300% 100% no-repeat;
  background-position: 120% 0;
  pointer-events: none;
  animation-name: bpo-gmd-hs-sheen;
}

/* Cursor. */
.bpo-gmd-hs__cursor {
  top: 0;
  left: 0;
  opacity: 0;
  translate: 0 0 calc(var(--u) * 30);
  animation-name: bpo-gmd-hs-cursor;
  animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1);
}

.bpo-gmd-hs__cursor svg {
  width: calc(var(--u) * 12);
  height: calc(var(--u) * 15);
  fill: #0035a2;
  stroke: #fff;
  stroke-linejoin: round;
  stroke-width: 1.3;
  filter: drop-shadow(0 calc(var(--u) * 3) calc(var(--u) * 4) rgba(0, 53, 162, 0.3));
  transform-origin: top left;
  animation-name: bpo-gmd-hs-click;
}

.bpo-gmd-hs__cursor b {
  position: absolute;
  top: calc(var(--u) * 13);
  left: calc(var(--u) * 10);
  padding: calc(var(--u) * 2) calc(var(--u) * 6);
  border-radius: calc(var(--u) * 2) 99px 99px 99px;
  background: var(--hs-brand);
  color: #fff;
  font-size: calc(var(--u) * 7);
  font-weight: 600;
  white-space: nowrap;
}

/* Floating service cards ------------------------------------------------------ */

.bpo-gmd-hs__card {
  --in: 0.2s;
  --bob: 6s;
  --z: 50;
  --ring: 0s;
  display: grid;
  align-content: start;
  gap: calc(var(--u) * 6);
  padding: calc(var(--u) * 9);
  border: 1px solid rgba(0, 53, 162, 0.1);
  border-radius: calc(var(--u) * 12);
  background: var(--hs-glass);
  box-shadow:
    0 calc(var(--u) * 22) calc(var(--u) * 40) rgba(0, 53, 162, 0.16),
    inset 0 1px 0 #fff;
  translate: 0 0 calc(var(--u) * var(--z));
  animation-name: bpo-gmd-hs-card-in, bpo-gmd-hs-bob;
  animation-duration: 1.1s, var(--bob);
  animation-delay: var(--in), 0s;
  animation-iteration-count: 1, infinite;
  animation-direction: normal, alternate;
  animation-timing-function: var(--bpo-gmd-ease), ease-in-out;
}

.bpo-gmd-hs__card::after {
  position: absolute;
  inset: -1px;
  border: calc(var(--u) * 1.5) solid rgba(74, 157, 255, 0.9);
  border-radius: inherit;
  box-shadow: 0 0 calc(var(--u) * 16) rgba(74, 157, 255, 0.45);
  content: "";
  opacity: 0;
  pointer-events: none; /* lets clicks reach the Brand guidelines star */
  animation-name: bpo-gmd-hs-ring;
  animation-duration: 10s;
  animation-delay: var(--ring);
}

.bpo-gmd-hs__card > small {
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 5);
  color: var(--hs-ink);
  font-size: calc(var(--u) * 8);
  font-weight: 600;
  white-space: nowrap;
}

.bpo-gmd-hs__card > small::before {
  width: calc(var(--u) * 5);
  height: calc(var(--u) * 5);
  border-radius: 50%;
  background: var(--hs-blue);
  box-shadow: 0 0 calc(var(--u) * 6) rgba(74, 157, 255, 0.7);
  content: "";
}

.bpo-gmd-hs__card > span {
  position: relative;
}

.bpo-gmd-hs__card :where(i, b, em, span, svg, path) {
  animation-duration: 6s;
}

/* Brand guidelines: a spread with a mark, type and palette. */
.bpo-gmd-hs__book {
  --in: 0.15s;
  --bob: 5.6s;
  --z: 30;
  top: calc(var(--u) * 12);
  left: calc(var(--u) * 16);
  width: calc(var(--u) * 116);
}

.bpo-gmd-hs__book > span {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: calc(var(--u) * 42);
  perspective: calc(var(--u) * 300);
}

.bpo-gmd-hs__book > span > span {
  display: grid;
  place-items: center;
  border-radius: calc(var(--u) * 4) 0 0 calc(var(--u) * 4);
  background: linear-gradient(135deg, #0035a2, #4a9dff);
}

.bpo-gmd-hs__book svg {
  width: calc(var(--u) * 22);
  height: calc(var(--u) * 22);
  fill: #fff;
  filter: drop-shadow(0 0 calc(var(--u) * 6) rgba(255, 255, 255, 0.6));
  animation-name: bpo-gmd-hs-star, bpo-gmd-hs-star-blink;
  animation-duration: 10s, 1.8s;
  animation-delay: 0s, 10s;
  animation-iteration-count: 1, infinite;
  animation-timing-function: var(--bpo-gmd-ease), ease-in-out;
}

/* Visitors can click the star to send more sparkles (graphic-motion-design.js). */
.bpo-gmd-hs__book > span > span:first-child {
  cursor: pointer;
}

@keyframes bpo-gmd-hs-star-blink {
  0%, 100% { transform: none; filter: drop-shadow(0 0 calc(var(--u) * 4) rgba(255, 255, 255, 0.5)); }
  50% { transform: scale(1.14) rotate(12deg); filter: drop-shadow(0 0 calc(var(--u) * 10) rgba(255, 255, 255, 0.95)); }
}

@keyframes bpo-gmd-hs-star {
  0%, 58.5%, 64%, 100% { transform: none; }
  59.2% { transform: scale(1.25) rotate(20deg); }
  60% { transform: scale(0.95); }
  61% { transform: scale(1.4) rotate(45deg); }
}



.bpo-gmd-hs__book > span > span + span {
  align-content: center;
  gap: calc(var(--u) * 3);
  border: 1px solid rgba(0, 53, 162, 0.08);
  border-left: 0;
  border-radius: 0 calc(var(--u) * 4) calc(var(--u) * 4) 0;
  background: #fff;
  color: #0b2a6e;
}

.bpo-gmd-hs__book b {
  font-size: calc(var(--u) * 11);
  font-weight: 700;
  line-height: 1;
}

.bpo-gmd-hs__book > span > span + span span {
  display: flex;
  gap: calc(var(--u) * 2.5);
}

.bpo-gmd-hs__book i {
  width: calc(var(--u) * 7);
  height: calc(var(--u) * 7);
  border-radius: 50%;
  background: #0b2a6e;
}

.bpo-gmd-hs__book i:nth-child(2) { background: #1f6bff; }
.bpo-gmd-hs__book i:nth-child(3) { background: #5fb4ff; }
.bpo-gmd-hs__book i:nth-child(4) { background: #f3c25d; }



/* Social motion: a story reel cycling through three frames. */
.bpo-gmd-hs__reel {
  --in: 0.35s;
  --bob: 6.4s;
  --z: 40;
  --ring: 0.25s;
  top: calc(var(--u) * 12);
  left: calc(var(--u) * 382);
  width: calc(var(--u) * 88);
}

.bpo-gmd-hs__reel > span {
  height: calc(var(--u) * 116);
  overflow: hidden;
  border-radius: calc(var(--u) * 9);
  background: #0035a2;
}

.bpo-gmd-hs__reel > span > * {
  position: absolute;
}

.bpo-gmd-hs__reel > span > i {
  inset: 0;
  background:
    radial-gradient(circle at 50% 38%, #ffe7a8 0 14%, rgba(243, 194, 93, 0.35) 15%, transparent 34%),
    linear-gradient(170deg, #1f6bff 0%, #0b2a6e 70%);
  opacity: 0;
  animation-name: bpo-gmd-hs-frame;
}

.bpo-gmd-hs__reel > span > i:nth-child(2) {
  background:
    radial-gradient(circle at 60% 40%, #fff 0 8%, #5fb4ff 9% 26%, transparent 27%),
    linear-gradient(170deg, #4a9dff 0%, #0035a2 75%);
  animation-delay: -4s;
}

.bpo-gmd-hs__reel > span > i:nth-child(3) {
  background:
    conic-gradient(from 30deg at 50% 42%, #ffffff, #b9dcff, #4a9dff, #ffffff) 50% 42% / calc(var(--u) * 36) calc(var(--u) * 36) no-repeat,
    linear-gradient(170deg, #22c1c3 0%, #176ddf 70%);
  animation-delay: -2s;
}

.bpo-gmd-hs__stories {
  top: calc(var(--u) * 6);
  right: calc(var(--u) * 6);
  left: calc(var(--u) * 6);
  display: flex;
  gap: calc(var(--u) * 3);
}

.bpo-gmd-hs__stories i {
  flex: 1;
  height: calc(var(--u) * 2.5);
  border-radius: 99px;
  background: linear-gradient(#fff, #fff) 0 0 / 0% 100% no-repeat, rgba(255, 255, 255, 0.3);
  animation-name: bpo-gmd-hs-story-1;
  animation-timing-function: linear;
}

.bpo-gmd-hs__stories i:nth-child(2) { animation-name: bpo-gmd-hs-story-2; }
.bpo-gmd-hs__stories i:nth-child(3) { animation-name: bpo-gmd-hs-story-3; }

.bpo-gmd-hs__reel > span > em {
  bottom: calc(var(--u) * 16);
  left: calc(var(--u) * 7);
  width: calc(var(--u) * 46);
  height: calc(var(--u) * 5);
  border-radius: 99px;
  background: #fff;
}

.bpo-gmd-hs__reel > span > em + em {
  bottom: calc(var(--u) * 8);
  width: calc(var(--u) * 30);
  height: calc(var(--u) * 3.5);
  background: rgba(255, 255, 255, 0.55);
}

/* Sales collateral: a proposal page whose chart climbs. */
.bpo-gmd-hs__deck {
  --in: 0.5s;
  --bob: 5.9s;
  --z: 34;
  --ring: 0.5s;
  top: calc(var(--u) * 222);
  left: calc(var(--u) * 16);
  width: calc(var(--u) * 140);
}

.bpo-gmd-hs__deck > span {
  display: grid;
  gap: calc(var(--u) * 4);
  height: calc(var(--u) * 54);
  padding: calc(var(--u) * 7) calc(var(--u) * 8);
  border-radius: calc(var(--u) * 5);
  border: 1px solid rgba(0, 53, 162, 0.08);
  background: #fff;
  box-shadow: calc(var(--u) * 5) calc(var(--u) * 5) 0 calc(var(--u) * -1) #e3ecf9;
}

.bpo-gmd-hs__deck > span > i {
  height: calc(var(--u) * 5);
  border-radius: 99px;
  background: #0b2a6e;
}

.bpo-gmd-hs__deck > span > i:nth-child(1) { width: 62%; }
.bpo-gmd-hs__deck > span > i:nth-child(2) { width: 40%; height: calc(var(--u) * 3); background: #c9d6ec; }

.bpo-gmd-hs__deck svg {
  width: 100%;
  height: calc(var(--u) * 26);
}

.bpo-gmd-hs__area {
  fill: rgba(31, 107, 255, 0.14);
  animation-name: bpo-gmd-hs-area;
}

.bpo-gmd-hs__line {
  fill: none;
  stroke: #1f6bff;
  stroke-dasharray: 100;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
  animation-name: bpo-gmd-hs-line;
}

.bpo-gmd-hs__deck circle {
  fill: #f3c25d;
  stroke: #fff;
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  animation-name: bpo-gmd-hs-dot;
}

/* Explainer videos: motion graphics play with a moving progress bar. */
.bpo-gmd-hs__player {
  --in: 0.65s;
  --bob: 6.8s;
  --z: 24;
  --ring: 0.75s;
  top: calc(var(--u) * 212);
  left: calc(var(--u) * 318);
  width: calc(var(--u) * 152);
}

.bpo-gmd-hs__player > span {
  display: grid;
  gap: calc(var(--u) * 6);
}

.bpo-gmd-hs__screen {
  position: relative;
  display: grid;
  height: calc(var(--u) * 60);
  place-items: center;
  overflow: hidden;
  border-radius: calc(var(--u) * 6);
  background: radial-gradient(circle at 50% 50%, #ffffff 0%, #e3efff 55%, #cfe2ff 100%);
}

.bpo-gmd-hs__screen > * {
  position: absolute;
}

/* Two rings pulse out from a morphing shape. */
.bpo-gmd-hs__screen i {
  width: calc(var(--u) * 40);
  height: calc(var(--u) * 40);
  border: calc(var(--u) * 1.2) solid rgba(23, 109, 223, 0.55);
  border-radius: 50%;
  animation-name: bpo-gmd-hs-pulse;
  animation-duration: 3s;
  animation-timing-function: ease-out;
}

.bpo-gmd-hs__screen i + i {
  border-color: rgba(74, 157, 255, 0.5);
  animation-delay: -1.5s;
}

.bpo-gmd-hs__screen b {
  width: calc(var(--u) * 24);
  height: calc(var(--u) * 24);
  background: var(--hs-brand);
  box-shadow: 0 calc(var(--u) * 6) calc(var(--u) * 16) rgba(0, 53, 162, 0.35);
  animation-name: bpo-gmd-hs-morph;
  animation-duration: 4s;
  animation-direction: alternate;
  animation-timing-function: ease-in-out;
}

.bpo-gmd-hs__seek {
  height: calc(var(--u) * 3.5);
  border-radius: 99px;
  background: #e2eaf6;
}

.bpo-gmd-hs__seek i {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--hs-blue);
  transform-origin: left;
  animation-name: bpo-gmd-hs-seek;
  animation-timing-function: linear;
}

/* Keyframes ----------------------------------------------------------------- */

@keyframes bpo-gmd-hs-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(calc(var(--u) * 50), calc(var(--u) * 26)) scale(1.15); }
}

@keyframes bpo-gmd-hs-floor {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 calc(var(--u) * 22), 0 0; }
}

@keyframes bpo-gmd-hs-dust {
  0% { opacity: 0; transform: translateY(0); }
  15% { opacity: 0.9; }
  85% { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(calc(var(--u) * -260)); }
}

@keyframes bpo-gmd-hs-sway {
  from { transform: rotateX(4deg) rotateY(-6deg); }
  to { transform: rotateX(2deg) rotateY(3deg); }
}

@keyframes bpo-gmd-hs-tool {
  0%, 28% { transform: translateY(0); }
  31%, 46% { transform: translateY(calc(var(--u) * 42)); }
  50%, 100% { transform: translateY(0); }
}

@keyframes bpo-gmd-hs-draw {
  0%, 2% { clip-path: inset(0 100% 100% 0 round calc(var(--u) * 6)); }
  11%, 100% { clip-path: inset(0 0 0 0 round calc(var(--u) * 6)); }
}

@keyframes bpo-gmd-hs-recolor {
  0%, 51% { opacity: 0; }
  57%, 100% { opacity: 1; }
}

@keyframes bpo-gmd-hs-orb {
  0%, 40% { opacity: 0; transform: scale(0.3) translateY(calc(var(--u) * 10)); }
  46% { opacity: 1; transform: scale(1.08); }
  50%, 100% { opacity: 1; transform: none; }
}





@keyframes bpo-gmd-hs-drop {
  0%, 19% { clip-path: inset(-0.2em 100% -0.2em 0); }
  24%, 100% { clip-path: inset(-0.2em -0.2em -0.2em 0); }
}

@keyframes bpo-gmd-hs-type {
  0%, 12% { clip-path: inset(0 100% 0 0); }
  19%, 100% { clip-path: inset(0 0 0 0); }
}





@keyframes bpo-gmd-hs-cta {
  0%, 40% { opacity: 0; transform: scale(0.4); }
  44% { opacity: 1; transform: scale(1.1); }
  47%, 100% { opacity: 1; transform: none; }
}

@keyframes bpo-gmd-hs-shine {
  0%, 81% { background-position: 120% 0; }
  89%, 100% { background-position: -20% 0; }
}

@keyframes bpo-gmd-hs-copy {
  0%, 40% { opacity: 0; transform: scaleX(0); }
  46%, 100% { opacity: 1; transform: none; }
}

@keyframes bpo-gmd-hs-select {
  0%, 24.5% { opacity: 0; }
  25.5%, 33% { opacity: 1; }
  37%, 100% { opacity: 0; }
}

@keyframes bpo-gmd-hs-swatch {
  0%, 49% { transform: none; }
  53%, 100% { transform: translateX(calc(var(--u) * 28)); }
}

@keyframes bpo-gmd-hs-slider {
  0%, 67% { background-size: 60% 100%, auto; }
  73%, 100% { background-size: 84% 100%, auto; }
}

@keyframes bpo-gmd-hs-approve {
  0%, 71% { opacity: 0; transform: scale(0.3); }
  75% { opacity: 1; transform: scale(1.1); }
  78%, 100% { opacity: 1; transform: none; }
}

@keyframes bpo-gmd-hs-export {
  0%, 78% { transform: none; box-shadow: 0 calc(var(--u) * 4) calc(var(--u) * 12) rgba(0, 53, 162, 0.28); }
  80% { transform: scale(0.88); box-shadow: 0 0 0 0 rgba(74, 157, 255, 0.6); }
  85% { transform: none; box-shadow: 0 0 0 calc(var(--u) * 10) rgba(74, 157, 255, 0); }
  100% { transform: none; box-shadow: 0 calc(var(--u) * 4) calc(var(--u) * 12) rgba(0, 53, 162, 0.28); }
}

@keyframes bpo-gmd-hs-sheen {
  0%, 80% { background-position: 120% 0; }
  92%, 100% { background-position: -20% 0; }
}

/* Cursor path in board pixels: the designer selects "Outsourcing" in the
   banner and drags it out to the heading (the hero's flying copy carries the
   cursor meanwhile), comes back to pick a Fill swatch, double-clicks the
   Brand guidelines star, tunes a layout slider, exports and leaves. */
@keyframes bpo-gmd-hs-cursor {
  0%, 21% { opacity: 0; transform: translate(calc(var(--u) * 262), calc(var(--u) * 160)); }
  23% { opacity: 1; transform: translate(calc(var(--u) * 262), calc(var(--u) * 160)); }
  25.5%, 28.2% { opacity: 1; transform: translate(calc(var(--u) * 232), calc(var(--u) * 133)); }
  28.6%, 46% { opacity: 0; transform: translate(calc(var(--u) * 232), calc(var(--u) * 133)); }
  46.1% { opacity: 0; transform: translate(calc(var(--u) * 190), calc(var(--u) * 175)); }
  47.5% { opacity: 1; }
  50%, 53% { opacity: 1; transform: translate(calc(var(--u) * 368), calc(var(--u) * 102)); }
  58%, 61.5% { transform: translate(calc(var(--u) * 50), calc(var(--u) * 57)); }
  67% { transform: translate(calc(var(--u) * 366), calc(var(--u) * 168)); }
  73% { transform: translate(calc(var(--u) * 378), calc(var(--u) * 168)); }
  78%, 81% { transform: translate(calc(var(--u) * 368), calc(var(--u) * 58)); opacity: 1; }
  90% { opacity: 1; transform: translate(calc(var(--u) * 420), calc(var(--u) * 150)); }
  96%, 100% { opacity: 0; transform: translate(calc(var(--u) * 430), calc(var(--u) * 160)); }
}

@keyframes bpo-gmd-hs-click {
  0%, 25.5%, 27.5%, 49%, 54%, 58.3%, 59.7%, 60.3%, 61.4%, 77%, 82%, 100% { transform: none; }
  26.5%, 51.5%, 59%, 60.8%, 79.5% { transform: scale(0.82); }
}

@keyframes bpo-gmd-hs-card-in {
  from { opacity: 0; filter: blur(calc(var(--u) * 6)); }
  to { opacity: 1; filter: none; }
}

@keyframes bpo-gmd-hs-bob {
  from { transform: translateY(calc(var(--u) * 3)); }
  to { transform: translateY(calc(var(--u) * -5)); }
}

@keyframes bpo-gmd-hs-ring {
  0%, 81% { opacity: 0; transform: none; }
  84% { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; transform: scale(1.06); }
}



@keyframes bpo-gmd-hs-frame {
  0% { opacity: 0; transform: scale(1.12); }
  6%, 33% { opacity: 1; }
  39%, 100% { opacity: 0; transform: scale(1); }
}

@keyframes bpo-gmd-hs-story-1 {
  0% { background-size: 0% 100%, auto; }
  33%, 100% { background-size: 100% 100%, auto; }
}

@keyframes bpo-gmd-hs-story-2 {
  0%, 33% { background-size: 0% 100%, auto; }
  66%, 100% { background-size: 100% 100%, auto; }
}

@keyframes bpo-gmd-hs-story-3 {
  0%, 66% { background-size: 0% 100%, auto; }
  100% { background-size: 100% 100%, auto; }
}

@keyframes bpo-gmd-hs-area {
  0%, 20% { opacity: 0; }
  45%, 88% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes bpo-gmd-hs-line {
  0%, 8% { stroke-dashoffset: 100; opacity: 1; }
  40%, 88% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

@keyframes bpo-gmd-hs-dot {
  0%, 38% { opacity: 0; transform: scale(0); }
  44% { opacity: 1; transform: scale(1.4); }
  48%, 88% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: none; }
}

@keyframes bpo-gmd-hs-pulse {
  0% { opacity: 0; transform: scale(0.5); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: scale(2.2); }
}

@keyframes bpo-gmd-hs-morph {
  from { border-radius: 50%; transform: rotate(0deg); }
  to { border-radius: calc(var(--u) * 5); transform: rotate(135deg); }
}

@keyframes bpo-gmd-hs-seek {
  from { transform: scaleX(0); }
  to { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .bpo-gmd-hs__cursor,
  .bpo-gmd-hs__select,
  .bpo-gmd-hs__card::after,
  .bpo-gmd-hs__dust {
    opacity: 0;
  }

  .bpo-gmd-hs__banner strong span {
    clip-path: none;
  }

  .bpo-gmd-hs__reel > span > i:first-child {
    opacity: 1;
  }

  .bpo-gmd-hs__sway {
    transform: rotateX(3deg) rotateY(-4deg);
  }

  .bpo-gmd-hs__tilt {
    transition: none;
  }
}

/* Phones: the four services in two balanced rows (one row needs ~10px text). */
@media (max-width: 520px) {
  .bpo-gmd-hero__tags {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    gap: 8px 22px;
  }

  /* No rule at the end of a row. */
  .bpo-gmd-hero__tags li::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bpo-gmd-hero--scene :is(.bpo-gmd-sparkle, .bpo-gmd-hero__line--accent) {
    animation: none;
  }

  .bpo-gmd-hero--scene .bpo-gmd-hero__line--accent {
    background-size: 0% 100%, 260% 100%;
  }
}

/* Hero studio: the ambient motion keeps looping after the story is done. */
.bpo-gmd-hs__aurora i,
.bpo-gmd-hs__floor,
.bpo-gmd-hs__dust i,
.bpo-gmd-hs__sway,
.bpo-gmd-hs__card :where(i, b, em, span, path, circle) {
  animation-iteration-count: infinite;
}

/* Extra sparkles sent by clicking the Brand guidelines star (made by the JS). */
.bpo-gmd-hero .bpo-gmd-sparkle.bpo-gmd-sparkle--burst {
  z-index: 3;
  animation: none;
}

/* Labels read as words, not caps. */
.bpo-gmd .bpo-gmd-eyebrow,
.bpo-gmd p.bpo-gmd-label,
.bpo-gmd-brand__fact dt {
  letter-spacing: 0;
  text-transform: capitalize;
}

/* The quote request sits centred under both columns of the section. */
.bpo-gmd-brand__actions {
  display: flex;
  grid-column: 1 / -1;
  justify-content: center;
  padding-top: 4px;
}

/* The running light passes behind the step numbers. */
.bpo-gmd-brand__steps::after {
  z-index: 1;
}

.bpo-gmd-brand__steps li > span {
  z-index: 2;
}

/* Consultation call to action below the three highlights. */
body.bpo-innovature-theme .bpo-gmd .bpo-native-consultation__cta.bpo-gmd-button {
  margin-top: 26px;
}

/* On phones the three highlights fit the width instead of scrolling sideways. */
@media (max-width: 767px) {
  /* The shared component forces a scrolling flex row with !important. */
  body.bpo-innovature-theme .bpo-gmd .bpo-native-consultation__signals {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    overflow: visible !important;
  }

  body.bpo-innovature-theme .bpo-gmd .bpo-native-consultation__signals div {
    min-width: 0;
    padding: 10px 8px;
    text-align: center;
  }

  body.bpo-innovature-theme .bpo-gmd .bpo-native-consultation__signals strong {
    font-size: 12px;
  }

  body.bpo-innovature-theme .bpo-gmd .bpo-native-consultation__signals span {
    display: block;
    font-size: 10.5px;
  }
}

/* Packages: three equal cards. JS evens out the heading, "Best for", model
   and list heights across the row; long lists open with "Show all". */
.bpo-gmd-packages__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.bpo-gmd-package {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--bpo-gmd-card-border);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(74, 157, 255, 0.1), transparent 40%),
    #fff;
  box-shadow: var(--bpo-gmd-card-shadow);
  transition: transform 400ms var(--bpo-gmd-ease), border-color 300ms var(--bpo-gmd-ease), box-shadow 300ms var(--bpo-gmd-ease);
}

/* A thin brand gradient along the top edge. */
.bpo-gmd-package::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  height: 4px;
  background: var(--bpo-gmd-gradient);
  content: "";
}

.bpo-gmd-package__media {
  margin: 14px 14px 0;
  overflow: hidden;
  border-radius: 16px;
}

.bpo-gmd-package__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: 20px 24px 26px;
}

.bpo-gmd-package__head {
  display: grid;
  gap: 8px;
  align-content: start;
  justify-items: start;
}

.bpo-gmd .bpo-gmd-package h3 {
  font-size: 26px;
}

/* "Best for" and "Service model" share one panel under the package name. */
.bpo-gmd-package__facts {
  display: grid;
  align-content: start;
  gap: 10px;
  margin: 0;
  padding: 12px 14px;
  border-left: 3px solid #4a9dff;
  border-radius: 4px 12px 12px 4px;
  background: #f3f7fd;
}

.bpo-gmd-package__facts div {
  display: grid;
  gap: 2px;
}

.bpo-gmd-package__facts div + div {
  padding-top: 10px;
  border-top: 1px solid rgba(0, 53, 162, 0.08);
}

.bpo-gmd-package__facts dt {
  margin: 0;
  color: #176ddf;
  font-family: var(--bpo-font-body), Poppins, sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
}

.bpo-gmd-package__facts dd {
  margin: 0;
  color: var(--bpo-gmd-title);
  font-family: var(--bpo-font-body), Poppins, sans-serif;
  font-size: 14px;
  line-height: 1.55;
}

/* List and its "Show all" button share one block, evened out across cards. */
.bpo-gmd-package__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.bpo-gmd-package .bpo-gmd-checklist {
  align-content: start;
}

/* Collapsed: only the first items show (JS adds .is-collapsed). */
.bpo-gmd-package.is-collapsed [data-bpo-gmd-extra] {
  display: none;
}

.bpo-gmd-package:not(.is-collapsed) [data-bpo-gmd-extra] {
  animation: bpo-gmd-item-in 360ms var(--bpo-gmd-ease) both;
}

@keyframes bpo-gmd-item-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* The base reset paints button:hover pink; this link-style button keeps blue. */
body.bpo-innovature-theme .bpo-gmd .bpo-gmd-package__more,
body.bpo-innovature-theme .bpo-gmd .bpo-gmd-package__more:is(:hover, :focus, :active) {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid rgba(0, 53, 162, 0.14);
  border-radius: 999px;
  background: #fff;
  color: #0035a2;
  font-family: var(--bpo-font-body), Poppins, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

body.bpo-innovature-theme .bpo-gmd .bpo-gmd-package__more:hover {
  border-color: #4a9dff;
  background: #f3f7fd;
}

body.bpo-innovature-theme .bpo-gmd .bpo-gmd-package__more[hidden] {
  display: none;
}

.bpo-gmd-package__more svg {
  transition: transform 300ms var(--bpo-gmd-ease);
}

.bpo-gmd-package__more[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.bpo-gmd-package__more:focus-visible {
  outline: 2px solid #176ddf;
  outline-offset: 3px;
}

/* Buttons line up, centred, along the bottom of the three cards. */
body.bpo-innovature-theme .bpo-gmd .bpo-gmd-button.bpo-gmd-package__cta {
  align-self: center;
  margin-top: 6px;
}

@media (max-width: 1024px) {
  .bpo-gmd-packages__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.bpo-gmd-carousel-dots,
.bpo-gmd-carousel-nav__arrow {
  display: none;
}

/* On phones the three packages swipe as a carousel, one full card at a time. */
@media (max-width: 767px) {
  .bpo-gmd-packages__grid {
    grid-auto-columns: 100%;
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 16px;
    padding: 4px 0 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .bpo-gmd-packages__grid::-webkit-scrollbar {
    display: none;
  }

  /* Flat cards: a shadow is clipped by the scrolling track, and touch
     screens get no hover lift either. */
  .bpo-gmd-package,
  .bpo-gmd .bpo-gmd-package:hover,
  .bpo-finance-js .bpo-gmd [data-bpo-reveal].is-visible .bpo-gmd-package:hover {
    border-color: var(--bpo-gmd-card-border);
    box-shadow: none;
    transform: none;
  }

  .bpo-gmd-package {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .bpo-gmd-carousel {
    position: relative;
  }

  .bpo-gmd-carousel-dots {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
  }

  /* The base reset turns buttons pink on hover/focus; arrows keep site blues. */
  /* Arrows sit on the card edges, halfway down the card. */
  body.bpo-innovature-theme .bpo-gmd .bpo-gmd-carousel-nav__arrow,
  body.bpo-innovature-theme .bpo-gmd .bpo-gmd-carousel-nav__arrow:is(:hover, :focus, :active) {
    position: absolute;
    top: calc(50% - 7px);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(0, 53, 162, 0.16);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(0, 53, 162, 0.14);
    color: #0035a2;
    transform: translateY(-50%);
    transition: background 300ms var(--bpo-gmd-ease), border-color 300ms var(--bpo-gmd-ease), opacity 300ms var(--bpo-gmd-ease);
  }

  body.bpo-innovature-theme .bpo-gmd .bpo-gmd-carousel-nav__arrow:not(:disabled):active {
    border-color: #176ddf;
    background: #eef5ff;
  }

  body.bpo-innovature-theme .bpo-gmd .bpo-gmd-carousel-nav__arrow--prev {
    left: -12px;
  }

  body.bpo-innovature-theme .bpo-gmd .bpo-gmd-carousel-nav__arrow--next {
    right: -12px;
  }

  /* At either end the arrow that leads nowhere steps aside. */
  body.bpo-innovature-theme .bpo-gmd .bpo-gmd-carousel-nav__arrow:disabled {
    cursor: default;
    opacity: 0;
    pointer-events: none;
  }

  .bpo-gmd-carousel-nav__arrow:focus-visible {
    outline: 2px solid #176ddf;
    outline-offset: 3px;
  }

  /* The base reset turns buttons pink on hover/focus; dots keep site blues. */
  body.bpo-innovature-theme .bpo-gmd .bpo-gmd-carousel-dots__dot,
  body.bpo-innovature-theme .bpo-gmd .bpo-gmd-carousel-dots__dot:is(:hover, :focus, :active) {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 53, 162, 0.2);
    transition: width 300ms var(--bpo-gmd-ease), background 300ms var(--bpo-gmd-ease);
  }

  body.bpo-innovature-theme .bpo-gmd .bpo-gmd-carousel-dots__dot.is-active {
    width: 24px;
    background: var(--bpo-gmd-gradient);
  }

  .bpo-gmd-carousel-dots__dot:focus-visible {
    outline: 2px solid #176ddf;
    outline-offset: 3px;
  }
}

/* The service answer picked by a package or motion button glows briefly. */
.bpo-gmd .bpo-gmd-field-picked :is(select, .ff-el-form-control) {
  animation: bpo-gmd-field-picked 2.4s var(--bpo-gmd-ease);
}

@keyframes bpo-gmd-field-picked {
  0%, 60% { border-color: #176ddf; box-shadow: 0 0 0 4px rgba(23, 109, 223, 0.18); }
  100% { box-shadow: 0 0 0 0 rgba(23, 109, 223, 0); }
}

#bpo-gmd-consultation,
.bpo-gmd [data-bpo-finance-form-source] {
  scroll-margin-top: 130px;
}

@media (prefers-reduced-motion: reduce) {
  .bpo-gmd .bpo-gmd-field-picked :is(select, .ff-el-form-control) {
    animation: none;
    border-color: #176ddf;
  }
}

/* Premium finish ------------------------------------------------------------
 * The sections above the consultation form share one light, brand-blue
 * finish: headings rise in word by word, cards catch a pointer light, and a
 * soft light sits behind each section. */

/* Headings: words rise out of a soft blur (split by graphic-motion-design.js). */
.bpo-gmd .bpo-finance-heading h2.is-split .bpo-gmd-word {
  display: inline-block;
  font: inherit; /* .bpo-how * would otherwise switch the workflow heading to the body font */
}

.bpo-finance-js .bpo-gmd [data-bpo-reveal] .bpo-gmd-word {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(0.45em);
  transition: opacity 700ms var(--bpo-gmd-ease), filter 700ms var(--bpo-gmd-ease), transform 900ms var(--bpo-gmd-ease);
  transition-delay: calc(var(--w, 0) * 70ms);
}

.bpo-finance-js .bpo-gmd [data-bpo-reveal].is-visible .bpo-gmd-word {
  opacity: 1;
  filter: none;
  transform: none;
}

/* Soft light behind the sections, drifting slowly. */
.bpo-gmd-packages,
.bpo-gmd-why {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.bpo-gmd-packages::before,
.bpo-gmd-why::before {
  position: absolute;
  inset: -10% -5%;
  z-index: -1;
  background:
    radial-gradient(34% 40% at 10% 16%, rgba(74, 157, 255, 0.12), transparent 70%),
    radial-gradient(30% 36% at 92% 80%, rgba(0, 53, 162, 0.08), transparent 70%);
  content: "";
  pointer-events: none;
  animation: bpo-gmd-ambient 22s ease-in-out infinite alternate;
}

.bpo-gmd-why::before {
  background:
    radial-gradient(30% 38% at 88% 12%, rgba(74, 157, 255, 0.12), transparent 70%),
    radial-gradient(34% 40% at 8% 88%, rgba(0, 53, 162, 0.07), transparent 70%);
}

/* A faint dot grid that fades toward the edges. */
.bpo-gmd-packages::after,
.bpo-gmd-why::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle, rgba(0, 53, 162, 0.09) 1px, transparent 1.5px) 0 0 / 26px 26px;
  -webkit-mask-image: radial-gradient(60% 55% at 50% 40%, #000, transparent 75%);
  mask-image: radial-gradient(60% 55% at 50% 40%, #000, transparent 75%);
  content: "";
  pointer-events: none;
}

@keyframes bpo-gmd-ambient {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(3%, 2%, 0) scale(1.04); }
}

/* Why choose: icons sit on a white tile with a soft brand shadow. */
.bpo-gmd-reason .bpo-gmd-icon {
  border: 1px solid rgba(0, 53, 162, 0.1);
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 53, 162, 0.08);
  transition: box-shadow 320ms ease, transform 500ms var(--bpo-gmd-ease);
}

/* Workflow: the large step number in a soft brand gradient. */
.bpo-gmd-how .bpo-how-process__step-visual > span {
  background: linear-gradient(135deg, rgba(0, 53, 162, 0.5) 0%, rgba(74, 157, 255, 0.32) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Cards: pointer light and a gradient edge (desktop pointers only). */
.bpo-gmd-package {
  --bpo-finance-pointer-x: 50%;
  --bpo-finance-pointer-y: 0%;
}

.bpo-gmd-package .bpo-gmd-pscene {
  transition: transform 700ms var(--bpo-gmd-ease);
}

@media (hover: hover) and (pointer: fine) {
  .bpo-gmd-package:hover {
    background:
      radial-gradient(460px circle at var(--bpo-finance-pointer-x) var(--bpo-finance-pointer-y), rgba(74, 157, 255, 0.08), transparent 60%),
      radial-gradient(circle at 100% 0%, rgba(74, 157, 255, 0.1), transparent 40%),
      #fff;
  }

  /* The top edge turns into a flowing brand gradient. */
  .bpo-gmd-package:hover::before {
    background: linear-gradient(90deg, #0035a2 0%, #4a9dff 30%, #b9dcff 50%, #4a9dff 70%, #0035a2 100%) 0 0 / 200% 100%;
    animation: bpo-gmd-edge-flow 2.6s linear infinite;
  }

  .bpo-gmd-package:hover .bpo-gmd-pscene {
    transform: scale(1.03);
  }

  .bpo-gmd-reason:hover .bpo-gmd-icon,
  .bpo-gmd-reason.is-spotlight-active .bpo-gmd-icon {
    box-shadow: 0 12px 24px rgba(0, 53, 162, 0.14);
    transform: translateY(-2px);
  }
}

@keyframes bpo-gmd-edge-flow {
  to { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .bpo-finance-js .bpo-gmd [data-bpo-reveal] .bpo-gmd-word {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .bpo-gmd-packages::before,
  .bpo-gmd-why::before,
  .bpo-gmd-package:hover::before {
    animation: none;
  }
}

/* Reduced motion -------------------------------------------------------------
 * Windows "Animation effects" off (prefers-reduced-motion: reduce). Every
 * animation on this page stops on its finished, readable state; the rules
 * above already define those states, this net catches anything whose own
 * selector is stronger. Turning effects back on restores the motion. */
@media (prefers-reduced-motion: reduce) {
  .bpo-gmd *,
  .bpo-gmd *::before,
  .bpo-gmd *::after {
    animation: none !important;
    transition: none !important;
  }

  /* The Brand guidelines star only reacts to clicks with effects on. */
  .bpo-gmd-hs__book > span > span:first-child {
    cursor: auto;
  }
}

/* The hero shows its finished state at once with effects off, and on phones
 * and small tablets (820px and below, where the hero stacks): there a timed
 * story would only read as a slow or broken page. */
@media (prefers-reduced-motion: reduce), (max-width: 820px) {
  .bpo-gmd-hero *,
  .bpo-gmd-hero *::before,
  .bpo-gmd-hero *::after {
    animation: none !important;
  }

  /* Heading: the full title in its brand colours, no editing marks. */
  .bpo-gmd-hero__word {
    opacity: 1 !important;
    text-shadow: none !important;
  }

  .bpo-gmd-hero--scene .bpo-gmd-hero__line--accent {
    clip-path: none !important;
    background-size: 0% 100%, 260% 100% !important;
  }

  .bpo-gmd-hero :is(.bpo-gmd-hero__select, .bpo-gmd-hero__cursor, .bpo-gmd-hero__fly) {
    display: none !important;
  }

  /* Studio scene: the finished banner, still. */
  .bpo-gmd-hs__banner strong span {
    clip-path: none !important;
  }

  .bpo-gmd-hs__cursor,
  .bpo-gmd-hs__select,
  .bpo-gmd-hs__card::after,
  .bpo-gmd-hs__dust {
    opacity: 0 !important;
  }

  .bpo-gmd-hs__reel > span > i:first-child {
    opacity: 1;
  }

  .bpo-gmd-hs__sway {
    transform: rotateX(3deg) rotateY(-4deg);
  }
}

/* Phones and small tablets with effects on: the hero stays still apart from
 * its two light touches, the colour running through "Creative On-Demand"
 * and the twinkling sparkles. */
@media (max-width: 820px) and (prefers-reduced-motion: no-preference) {
  .bpo-gmd-hero .bpo-gmd-hero__line--accent {
    animation: bpo-gmd-text-flow 5s ease-in-out infinite !important;
  }

  .bpo-gmd-hero .bpo-gmd-sparkle {
    animation: bpo-gmd-twinkle 2.8s ease-in-out infinite !important;
  }

  .bpo-gmd-hero .bpo-gmd-sparkle--2 { animation-delay: 0.7s !important; }
  .bpo-gmd-hero .bpo-gmd-sparkle--3 { animation-delay: 1.3s !important; }
  .bpo-gmd-hero .bpo-gmd-sparkle--4 { animation-delay: 1.9s !important; }
  .bpo-gmd-hero .bpo-gmd-sparkle--5 { animation-delay: 2.3s !important; }
}
