/* Geometry is coordinated by GSAP; CSS owns surface colours and the icon bars. */
/* Figma's duration is anchored to the bottom of every open panel, regardless
   of the paragraph length. Keeping it in the body preserves the animation. */
@media(min-width:1024px) {
  .process-panel .process-body {top:calc(284*var(--u));bottom:calc(41.682*var(--u));transform:none;display:flex;flex-direction:column;}
  .process-panel .process-timeline {position:static;margin-top:auto;padding-top:calc(24*var(--u));}
  .js .process-panels:not(:has(> .process-panel.is-active)) > .process-panel {width:auto;flex:1;}
}
/* Absolute transition children must keep the same containing block as the
   measured service, rather than jumping to the outer page during playback. */
.service[data-panel-motion] {position:relative;}
/* Keep flex layout work inside this group. White surfaces crossfade instead
   of interpolating a large painted background and all inherited text colours. */
.process-panels[data-panel-motion] {
  contain: layout style;
}
.process-panels[data-panel-motion] .process-panel {
  isolation: isolate;
  background: #efeeec0f;
  transition: border-color .4s, border-radius .52s cubic-bezier(.22,1,.36,1);
}
.process-panels[data-panel-motion] .process-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: #f5f5f5;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s cubic-bezier(.22,1,.36,1);
}
.process-panels[data-panel-motion] .process-panel.is-active::before {
  opacity: 1;
}
.process-panels[data-panel-motion] .process-number {
  transition: color .4s cubic-bezier(.22,1,.36,1);
}
[data-panel-motion] .square-toggle {
  transition: background-color .4s cubic-bezier(.22,1,.36,1);
}
[data-panel-motion] .square-toggle span:before,
[data-panel-motion] .square-toggle span:after {
  transition: transform .48s cubic-bezier(.22,1,.36,1), background-color .35s;
}
.service-toggle > span,
.process-toggle[data-panel-motion] > span {
  display:block;
  width:100%;
  height:100%;
  position:relative;
  transform:scale(1);
  transition:transform .34s cubic-bezier(.16,1,.3,1);
}
.service-toggle:active > span,
.process-toggle[data-panel-motion]:active > span {
  transform:scale(.88);
  transition-duration:.09s;
}
/* Fold the vertical stroke into the minus; keep the horizontal stroke steady.
   CSS retargets from the visible frame when the direction changes mid-motion. */
.service .service-toggle span:after {
  transform-origin:50% 50%;
  transform:translateY(-50%) rotate(90deg) scaleX(1);
  opacity:1;
  transition:transform .52s cubic-bezier(.65,0,.15,1), opacity .24s ease-out;
}
.service .service-toggle[aria-expanded=true] span:after {
  transform:translateY(-50%) rotate(0deg) scaleX(.18);
  opacity:0;
  transition:transform .52s cubic-bezier(.65,0,.15,1), opacity .18s ease-in .12s;
}
.process-panels[data-panel-motion] .process-panel.is-active .process-toggle span:after {
  transform: translateY(-50%) rotate(135deg);
}
@media (prefers-reduced-motion: reduce) {
  .process-panels[data-panel-motion] .process-panel,
  .process-panels[data-panel-motion] .process-panel::before,
  .process-panels[data-panel-motion] .process-number,
  [data-panel-motion] .square-toggle,
  .service-toggle > span,
  .process-toggle[data-panel-motion] > span,
  [data-panel-motion] .square-toggle span:before,
  [data-panel-motion] .square-toggle span:after { transition:none; }
  .process-toggle[data-panel-motion]:active > span {transform:none;}
}
