/* How we help puts every action in the header CTA's navy, so the slate --cta
   tone from icg.css is retyped for this page only. One override moves the
   service CTAs, the OMA Self-Check button, and the OMA quiz actions together;
   .button-light in the dark contact band does not read --cta and stays put. */
:root {
  --cta: var(--ink);
  --cta-hover: var(--navy-light);
}

/* Square corners and a trailing arrow, so the action reads as the step
   forward rather than a soft panel element. */
.service-panel .service-cta {
  max-width: 100%;
  margin-top: 18px;
  padding: 16px 24px;
  background: var(--cta, #203b5c);
  color: #fff;
  font-size: 12px;
  letter-spacing: .1em;
  text-align: center;
  border-radius: 0;
  transition: background .25s, transform .3s var(--ease), box-shadow .3s var(--ease);
}
.service-panel .service-cta:hover {
  background: var(--cta-hover, #2b527a);
}
/* The lift is the part that reads as "this is the action" — the arrow slide
   alone is too quiet against the panel's pale blue. */
@media (prefers-reduced-motion: no-preference) {
  .service-panel .service-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px -16px var(--ink);
  }
}
.service-panel .service-cta:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

/* A stationary conversation: the executive speaks, then the visitors nod.
   Motion is scoped to Immerse and pauses with the existing visibility observer. */
@media (prefers-reduced-motion: no-preference) {
  .motion-immerse.motion-ready .bpx-executive-explain {
    transform-origin: -10px -52px;
    animation: bpx-explain 9s ease-in-out infinite var(--motion-state);
  }
  .motion-immerse.motion-ready .bpx-executive-point {
    transform-origin: 10px -52px;
    animation: bpx-point-to-work 9s ease-in-out infinite var(--motion-state);
  }
  .motion-immerse.motion-ready .bpx-speaking-mouth {
    transform-origin: -8px -61px;
    animation: bpx-speak 9s ease-in-out infinite var(--motion-state);
  }
  .motion-immerse.motion-ready .bpx-visitor-head {
    transform-origin: 0 -57px;
    animation: bpx-listen 9s ease-in-out infinite var(--motion-state);
  }
  .motion-immerse.motion-ready .bpx-visitor-second .bpx-visitor-head {
    animation-name: bpx-listen-second;
  }
  .motion-immerse.motion-ready .bpx-operator-arm {
    transform-origin: -8px -52px;
    animation: bpx-operate 5.8s -1.5s ease-in-out infinite var(--motion-state);
  }
  .motion-immerse.motion-ready .bpx-score-check {
    animation: bpx-score-update 5.8s -1.5s ease-in-out infinite var(--motion-state);
  }
}
@keyframes bpx-explain {
  0%, 8%, 44%, 100% { transform: rotate(0); }
  18%, 30% { transform: rotate(12deg); }
  57%, 68% { transform: rotate(7deg); }
  82%, 90% { transform: rotate(0); }
}
@keyframes bpx-point-to-work {
  0%, 30%, 90%, 100% { transform: rotate(8deg); }
  48%, 68% { transform: rotate(-9deg); }
}
@keyframes bpx-speak {
  0%, 8%, 20%, 32%, 44%, 56%, 68%, 80%, 100% { transform: scaleY(.65); }
  14%, 26%, 38%, 50%, 62%, 74% { transform: scaleY(1.6); }
}
@keyframes bpx-listen {
  0%, 32%, 48%, 74%, 90%, 100% { transform: rotate(0); }
  40%, 82% { transform: rotate(5deg); }
}
@keyframes bpx-listen-second {
  0%, 43%, 59%, 81%, 97%, 100% { transform: rotate(0); }
  51%, 89% { transform: rotate(6deg); }
}
@keyframes bpx-operate {
  0%, 25%, 76%, 100% { transform: rotate(-5deg); }
  39%, 60% { transform: rotate(0); }
}
@keyframes bpx-score-update {
  0%, 34%, 85%, 100% { opacity: .6; }
  48%, 70% { opacity: 1; }
}

/* "Where we go" was the one still panel in Immerse. The Natural Earth geometry stays —
   it is the accurate picture, and redrawing it by hand would only make it wrong — so the
   motion is layered over it: dashes travel the routes between the five regions the copy
   names, and each destination pulses in turn. Pins are placed with the map's own
   projection, x = lon + 180 and y = 85 - lat.
   Gold reads against both the slate landmass and the pale sea, where ink would sink into
   one or the other; it is already this page's accent in .service-motion figcaption. */
.service-region-map { --motion-state: paused; }
.service-region-map.motion-visible { --motion-state: running; }
.region-route {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-dasharray: 5 9;
  opacity: .4;
}
.region-dot { fill: #e4be7d; stroke: var(--ink); stroke-width: .5; }
.region-pulse {
  fill: none;
  stroke: #e4be7d;
  stroke-width: 1.1;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: 50% 50%;
}
@media (prefers-reduced-motion: no-preference) {
  .service-region-map.motion-ready .region-route {
    animation: region-travel 2.8s linear infinite var(--motion-state);
  }
  .service-region-map.motion-ready .region-pulse {
    animation: region-arrive 3.2s ease-out infinite var(--motion-state);
    /* Set after the shorthand, which would otherwise reset the per-pin stagger to 0. */
    animation-delay: var(--pin-delay, 0s);
  }
}
@keyframes region-travel { to { stroke-dashoffset: -28; } }
@keyframes region-arrive {
  0% { opacity: .85; transform: scale(.35); }
  70%, 100% { opacity: 0; transform: scale(2.5); }
}

/* The video CTA closes the section. .button:hover slides every child svg, which would
   drag the play mark away from the label, so the lead icon is pinned and only the
   trailing arrow travels. */
.go-see-cta { gap: 14px; }
.go-see-cta:hover .cta-icon-lead { transform: none; }
/* The CTA sits inside the Where-we-go card as a sibling of the text+map grid, so it does
   not inherit that grid's padding from .service-offer>div — match it here instead. */
.service-coverage > .go-see-cta {
  margin-top: 0;
  margin-inline: clamp(14px, 2.5vw, 22px);
  margin-bottom: clamp(14px, 2.5vw, 22px);
}
