/* One intentional action: begin, communicate, settle. Existing artwork stays intact at rest. */
.ms-icon{--ms-time:1800ms;--ms-curve:cubic-bezier(.4,0,.2,1)}
.ms-icon.utility-icon{--ms-time:420ms}
.ms-icon :is(.ms-person-left,.ms-person-right,.ms-source,.ms-destination){transform-box:view-box}
.ms-person-left{transform-origin:19px 38px}.ms-person-right{transform-origin:45px 38px}
.ms-icon .ms-trace{fill:none;stroke:var(--mi-accent);stroke-width:1.8;stroke-dasharray:1;stroke-dashoffset:1;opacity:0}
.ms-icon :is(.ms-node-source,.ms-node-destination,.ms-signal,.ms-bearing-point){fill:var(--mi-accent);stroke:none;opacity:0}
.ms-icon .ms-signal-back{fill:currentColor}
.ms-icon .ms-message-back{stroke:currentColor;stroke-width:1.1}

/* Guidance: search along a bearing, then resolve to the original northeast direction. */
.ms-playing .mi-needle{animation:launch-bearing var(--ms-time) var(--ms-curve) both}
.ms-playing .ms-bearing-arc{animation:launch-bearing-arc var(--ms-time) var(--ms-curve) both}
.ms-playing .ms-bearing-point{animation:launch-arrive var(--ms-time) var(--ms-curve) both}
.ms-playing.mi-compass .mi-accent{animation:launch-resolve-color var(--ms-time) var(--ms-curve) both}
@keyframes launch-bearing{0%{transform:rotate(0)}16%{transform:rotate(12deg)}49%{transform:rotate(-62deg)}78%,100%{transform:rotate(0)}}
@keyframes launch-bearing-arc{0%,13%{opacity:0;stroke-dashoffset:1}21%{opacity:.9}72%{opacity:.9;stroke-dashoffset:0}92%,100%{opacity:0;stroke-dashoffset:0}}
@keyframes launch-arrive{0%,64%,100%{opacity:0}76%,87%{opacity:1}}
@keyframes launch-resolve-color{0%,55%,100%{fill:var(--mi-accent);fill-opacity:0}76%,88%{fill:var(--mi-accent);fill-opacity:.85}}

/* Community: one member speaks, the other responds. The shared table remains steady. */
.ms-playing .ms-person-left{animation:launch-speaker-left var(--ms-time) var(--ms-curve) both}
.ms-playing .ms-person-right{animation:launch-speaker-right var(--ms-time) var(--ms-curve) both}
.ms-playing .ms-rest-conversation{animation:launch-rest-arrow var(--ms-time) var(--ms-curve) both}
.ms-playing .ms-message-out{animation:launch-exchange-out var(--ms-time) var(--ms-curve) both}
.ms-playing .ms-message-back{animation:launch-exchange-back var(--ms-time) var(--ms-curve) both}
.ms-playing .ms-signal-out{animation:launch-signal-out var(--ms-time) linear both}
.ms-playing .ms-signal-back{animation:launch-signal-back var(--ms-time) linear both}
@keyframes launch-speaker-left{0%,76%,100%{transform:rotate(0)}24%,39%{transform:rotate(7deg)}}
@keyframes launch-speaker-right{0%,24%,100%{transform:rotate(0)}53%,69%{transform:rotate(-7deg)}}
@keyframes launch-rest-arrow{0%,100%{opacity:1}12%,87%{opacity:0}}
@keyframes launch-exchange-out{0%,12%{opacity:0;stroke-dashoffset:1}18%{opacity:.8}44%,51%{opacity:.8;stroke-dashoffset:0}66%,100%{opacity:0;stroke-dashoffset:0}}
@keyframes launch-exchange-back{0%,43%{opacity:0;stroke-dashoffset:1}49%{opacity:.7}75%,80%{opacity:.7;stroke-dashoffset:0}96%,100%{opacity:0;stroke-dashoffset:0}}
@keyframes launch-signal-out{0%,14%{opacity:0;transform:translate(0,0)}17%{opacity:1;transform:translate(0,0)}24%{opacity:1;transform:translate(3.625px,-4.5px)}30%{opacity:1;transform:translate(8px,-6px)}37%{opacity:1;transform:translate(12.375px,-4.5px)}44%{opacity:1;transform:translate(16px,0)}50%,100%{opacity:0;transform:translate(16px,0)}}
@keyframes launch-signal-back{0%,47%{opacity:0;transform:translate(0,0)}50%{opacity:1;transform:translate(0,0)}56%{opacity:1;transform:translate(-3.2px,3.94px)}62%{opacity:1;transform:translate(-7px,5.25px)}69%{opacity:1;transform:translate(-10.8px,3.94px)}75%{opacity:1;transform:translate(-14px,0)}82%,100%{opacity:0;transform:translate(-14px,0)}}

/* Services / Build: separate the working pieces, fit the middle, then place the top. */
.ms-playing.mi-layers .mi-top{animation:launch-assemble-top var(--ms-time) var(--ms-curve) both}
.ms-playing.mi-layers .mi-middle{animation:launch-assemble-middle var(--ms-time) var(--ms-curve) both}
.ms-playing.mi-layers .mi-accent{animation:launch-assemble-color var(--ms-time) var(--ms-curve) both}
.ms-playing .ms-foundation{animation:launch-foundation var(--ms-time) var(--ms-curve) both}
@keyframes launch-assemble-top{0%,82%,100%{transform:translate(0,0)}28%,42%{transform:translate(7px,-5px)}}
@keyframes launch-assemble-middle{0%,61%,100%{transform:translate(0,0)}24%,33%{transform:translate(-6px,-2px)}}
@keyframes launch-assemble-color{0%,58%,100%{fill:var(--mi-accent);fill-opacity:0}80%,90%{fill:var(--mi-accent);fill-opacity:.75}}
@keyframes launch-foundation{0%,52%{opacity:0;stroke-dashoffset:1}60%{opacity:1}83%,91%{opacity:1;stroke-dashoffset:0}100%{opacity:0;stroke-dashoffset:0}}

/* Scale / technology: a connection leaves one block and arrives at the other. */
.ms-playing .ms-node-source{animation:launch-send var(--ms-time) var(--ms-curve) both}
.ms-playing .ms-node-destination{animation:launch-receive var(--ms-time) var(--ms-curve) both}
.ms-playing .ms-connect-out{animation:launch-connect-out var(--ms-time) var(--ms-curve) both}
.ms-playing .ms-connect-back{animation:launch-connect-back var(--ms-time) var(--ms-curve) both}
@keyframes launch-send{0%,100%{opacity:0}14%,34%{opacity:.8}64%{opacity:0}}
@keyframes launch-receive{0%,52%,100%{opacity:0}72%,88%{opacity:.8}}
@keyframes launch-connect-out{0%,12%{opacity:0;stroke-dashoffset:1}20%{opacity:1}54%,80%{opacity:1;stroke-dashoffset:0}100%{opacity:0;stroke-dashoffset:0}}
@keyframes launch-connect-back{0%,32%{opacity:0;stroke-dashoffset:1}40%{opacity:1}70%,86%{opacity:1;stroke-dashoffset:0}100%{opacity:0;stroke-dashoffset:0}}

/* Grow and Optimize: coordinated drawing details, rather than scaling the whole symbol. */
.ms-playing .mi-sun{animation:launch-sunrise var(--ms-time) var(--ms-curve) both}
.ms-playing.mi-horizon .mi-accent{animation:launch-sunlight var(--ms-time) var(--ms-curve) both}
.ms-playing .ms-daylight{animation:launch-daylight var(--ms-time) var(--ms-curve) both}
.ms-playing .mi-balance{animation:launch-equilibrium var(--ms-time) var(--ms-curve) both;transform-origin:32px 22px}
.ms-playing .ms-level{animation:launch-level var(--ms-time) var(--ms-curve) both}
.ms-playing.mi-chart .mi-accent{animation:launch-resolve-color var(--ms-time) var(--ms-curve) both}
@keyframes launch-sunrise{0%,100%{transform:translateY(0)}20%{transform:translateY(2px)}55%,74%{transform:translateY(-4px)}}
@keyframes launch-sunlight{0%,15%,100%{fill:var(--mi-accent);fill-opacity:0}53%,77%{fill:var(--mi-accent);fill-opacity:.8}}
@keyframes launch-daylight{0%,28%{opacity:0;stroke-dashoffset:1}36%{opacity:.9}73%,84%{opacity:.9;stroke-dashoffset:0}100%{opacity:0;stroke-dashoffset:0}}
@keyframes launch-equilibrium{0%,81%,100%{transform:rotate(0)}24%{transform:rotate(-9deg)}52%{transform:rotate(5deg)}}
@keyframes launch-level{0%,68%{opacity:0;stroke-dashoffset:1}74%{opacity:1}90%{opacity:1;stroke-dashoffset:0}100%{opacity:0;stroke-dashoffset:0}}

/* Supporting symbols share the pacing and quiet completion of the main gestures. */
.ms-playing .mi-page{animation:launch-page var(--ms-time) var(--ms-curve) both;transform-origin:32px 32px}
.ms-playing .mi-lens{animation:launch-focus var(--ms-time) var(--ms-curve) both}
.ms-playing .mi-lid{animation:launch-open var(--ms-time) var(--ms-curve) both}
.ms-playing .mi-pen{animation:launch-write var(--ms-time) var(--ms-curve) both}
.ms-playing .mi-letter{animation:launch-letter var(--ms-time) var(--ms-curve) both}
.ms-playing .mi-glint{animation:launch-glint var(--ms-time) var(--ms-curve) both}
.ms-playing:not(.mi-compass):not(.mi-layers):not(.mi-horizon):not(.mi-chart) .mi-accent{animation:launch-support-color var(--ms-time) var(--ms-curve) both}
.ms-playing .mi-trace{animation:launch-trace var(--ms-time) var(--ms-curve) both}
.ms-playing .mi-arrow{animation:launch-forward var(--ms-time) var(--ms-curve) both}
.ms-playing .mi-arrow-up{animation:launch-outward var(--ms-time) var(--ms-curve) both}
@keyframes launch-page{0%,100%{transform:skewY(0) scaleX(1)}28%{transform:skewY(-4deg) scaleX(.9)}55%,68%{transform:skewY(-10deg) scaleX(.55)}}
@keyframes launch-focus{0%,100%{transform:translate(0,0)}28%{transform:translate(-4px,2px)}61%,76%{transform:translate(2px,-2px)}}
@keyframes launch-open{0%,100%{transform:translateY(0)}32%,67%{transform:translateY(-4px)}}
@keyframes launch-write{0%,100%{transform:translate(0,0) rotate(0)}20%{transform:translate(-4px,2px) rotate(-4deg)}61%{transform:translate(4px,-1px) rotate(2deg)}78%{transform:translate(5px,-3px) rotate(2deg)}}
@keyframes launch-letter{0%,100%{transform:translateY(0)}28%{transform:translateY(-6px)}69%{transform:translateY(1px)}}
@keyframes launch-glint{0%,100%{opacity:1}25%{opacity:.3}56%,74%{opacity:1}}
@keyframes launch-support-color{0%,100%{fill:var(--mi-accent);fill-opacity:0}40%,73%{fill:var(--mi-accent);fill-opacity:.75}}
@keyframes launch-trace{0%,18%{opacity:0;stroke-dashoffset:1}27%{opacity:1}72%,86%{opacity:1;stroke-dashoffset:0}100%{opacity:0;stroke-dashoffset:0}}
@keyframes launch-forward{0%,100%{transform:translateX(0)}53%{transform:translateX(5px)}}
@keyframes launch-outward{0%,100%{transform:translate(0,0)}53%{transform:translate(4px,-4px)}}

.business-detail>.business-detail-content{transform-origin:top}
.business-detail[open]>.business-detail-content{animation:launch-disclose 220ms cubic-bezier(.2,.65,.3,1) both}
.business-detail>summary .disclosure-chevron{transition:transform 180ms cubic-bezier(.4,0,.2,1)}
@keyframes launch-disclose{from{opacity:.4;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
html[data-motion=off] :is(.ms-icon *,.business-detail-content){animation:none!important}
html[data-motion=off] .business-detail>summary .disclosure-chevron{transition:none}
@media(prefers-reduced-motion:reduce){
  .ms-icon *,.business-detail-content{animation:none!important}
  .business-detail>summary .disclosure-chevron{transition:none}
}

/* Hero: a small paper plane lifts and settles; no continuous flight. */
.ms-launch-plane{transform-box:view-box;transform-origin:32px 32px}
.ms-launch-wing,.ms-growth-bar{fill:var(--mi-accent);fill-opacity:0}
.ms-playing .ms-launch-plane{animation:launch-plane-lift var(--ms-time) var(--ms-curve) both}
.ms-playing .ms-launch-wing{animation:launch-plane-color var(--ms-time) var(--ms-curve) both}
@keyframes launch-plane-lift{0%,100%{transform:none}28%{transform:translate(-2px,2px) rotate(-3deg)}60%,72%{transform:translate(3px,-3px) rotate(2deg)}}
@keyframes launch-plane-color{0%,100%{fill-opacity:0}42%,76%{fill-opacity:.35}}
/* Grow: progress travels up the chart while three bars respond in sequence. */
.mi-grow{--mi-accent:#E56B60}
.ms-playing .ms-growth-progress{animation:launch-growth-progress var(--ms-time) var(--ms-curve) both}
.ms-playing .ms-growth-first{animation:launch-growth-first var(--ms-time) ease both}
.ms-playing .ms-growth-second{animation:launch-growth-second var(--ms-time) ease both}
.ms-playing .ms-growth-third{animation:launch-growth-third var(--ms-time) ease both}
.ms-playing .ms-growth-arrow{animation:launch-growth-arrive var(--ms-time) ease both}
@keyframes launch-growth-progress{0%,8%{opacity:0;stroke-dashoffset:1}18%{opacity:1;stroke-dashoffset:1}70%,85%{opacity:1;stroke-dashoffset:0}100%{opacity:0;stroke-dashoffset:0}}
@keyframes launch-growth-first{0%,10%,100%{fill-opacity:0}25%,78%{fill-opacity:.2}}
@keyframes launch-growth-second{0%,28%,100%{fill-opacity:0}45%,78%{fill-opacity:.2}}
@keyframes launch-growth-third{0%,48%,100%{fill-opacity:0}66%,78%{fill-opacity:.2}}
@keyframes launch-growth-arrive{0%,58%,100%{stroke:currentColor}72%,85%{stroke:var(--mi-accent)}}

/* Essentials: follow the approved roadmap, mark the next step, then arrive. */
.mi-essentials{--mi-accent:#e56b60}
.motion-example .mi-essentials{--ms-road-paper:#fbf2e8}.mi-signature,.mi-enterprise{--mi-accent:#3455a4}
.ms-icon .ms-road-progress{stroke-width:2.2}
.ms-road-start,.ms-road-step,.ms-road-flag{fill:var(--ms-road-paper,#fff)}
.ms-icon .ms-road-flag{transform-box:view-box;transform-origin:50px 11px}
.ms-playing .ms-road-progress{animation:launch-road-progress var(--ms-time) cubic-bezier(.35,0,.2,1) both}
.ms-playing .ms-road-start{animation:launch-road-start var(--ms-time) ease both}
.ms-playing .ms-road-step{animation:launch-road-step var(--ms-time) ease both}
.ms-playing .ms-road-flag{animation:launch-road-arrival var(--ms-time) var(--ms-curve) both}
@keyframes launch-road-progress{0%,8%{opacity:0;stroke-dashoffset:1}14%{opacity:1;stroke-dashoffset:1}67%,80%{opacity:1;stroke-dashoffset:0}100%{opacity:0;stroke-dashoffset:0}}
@keyframes launch-road-start{0%,100%{fill:var(--ms-road-paper,#fff)}12%,26%{fill:var(--mi-accent)}44%{fill:var(--ms-road-paper,#fff)}}
@keyframes launch-road-step{0%,27%,100%{fill:var(--ms-road-paper,#fff)}43%,62%{fill:var(--mi-accent)}83%{fill:var(--ms-road-paper,#fff)}}
@keyframes launch-road-arrival{0%,54%,100%{transform:skewY(0);fill:var(--ms-road-paper,#fff)}68%{transform:skewY(-10deg);fill:var(--mi-accent)}80%{transform:skewY(0);fill:var(--mi-accent)}}
/* Signature: a deliberate handwritten mark, followed by a small lift of the pen. */
.ms-sign-pen{transform-origin:29px 37px}
.ms-playing .ms-sign-pen{animation:launch-sign-pen var(--ms-time) var(--ms-curve) both}
.ms-playing .ms-sign-rest{animation:launch-sign-rest var(--ms-time) var(--ms-curve) both}
.ms-playing .ms-sign-ink{animation:launch-sign-ink var(--ms-time) var(--ms-curve) both}
@keyframes launch-sign-pen{0%,100%{transform:translate(0,0) rotate(0)}15%{transform:translate(-12px,5px) rotate(-8deg)}35%{transform:translate(-6px,0) rotate(3deg)}53%{transform:translate(0,4px) rotate(-3deg)}70%{transform:translate(11px,3px) rotate(0)}82%{transform:translate(12px,-3px) rotate(-5deg)}}
@keyframes launch-sign-rest{0%,100%{opacity:1}12%,85%{opacity:.15}}
@keyframes launch-sign-ink{0%,12%{opacity:0;stroke-dashoffset:1}16%{opacity:1}72%,84%{opacity:1;stroke-dashoffset:0}100%{opacity:0;stroke-dashoffset:0}}
/* Enterprise: individual team members gather as two connections reach them in sequence. */
.ms-playing .ms-team-left{animation:launch-team-left var(--ms-time) var(--ms-curve) both}
.ms-playing .ms-team-right{animation:launch-team-right var(--ms-time) var(--ms-curve) both}
.ms-playing .ms-team-center{animation:launch-team-center var(--ms-time) var(--ms-curve) both}
.ms-playing .ms-team-link-left{animation:launch-connect-out var(--ms-time) var(--ms-curve) both}
.ms-playing .ms-team-link-right{animation:launch-connect-back var(--ms-time) var(--ms-curve) both}
@keyframes launch-team-left{0%,100%{transform:translateX(0)}25%{transform:translateX(-3px)}58%,76%{transform:translateX(2px)}}
@keyframes launch-team-right{0%,100%{transform:translateX(0)}36%{transform:translateX(3px)}70%,82%{transform:translateX(-2px)}}
@keyframes launch-team-center{0%,100%{transform:translateY(0)}22%,44%{transform:translateY(-2px)}70%{transform:translateY(1px)}}

/* Build: a drafting pencil makes one measured mark against a steady ruler. */
.mi-build{--mi-accent:#f5ce4f}
.ms-build-pencil-body{fill:var(--ms-build-paper,#fff)}
.motion-example .mi-build{--ms-build-paper:#fbf2e8}
.ms-build-tip{fill:currentColor;stroke-width:.8}
.ms-icon .ms-build-pencil{transform-box:view-box;transform-origin:22px 40px}
.ms-icon .ms-build-line{stroke-width:2.3}
.ms-playing .ms-build-pencil{animation:launch-build-draw var(--ms-time) var(--ms-curve) both}
.ms-playing .ms-build-line{animation:launch-build-line var(--ms-time) var(--ms-curve) both}
@keyframes launch-build-draw{0%,100%{transform:translate(0,0) rotate(0)}18%{transform:translate(-3px,-5px) rotate(-6deg)}30%{transform:translate(-3px,1px) rotate(0)}65%{transform:translate(12px,1px) rotate(0)}77%{transform:translate(12px,-4px) rotate(-6deg)}}
@keyframes launch-build-line{0%,30%{opacity:0;stroke-dashoffset:1}31%{opacity:1;stroke-dashoffset:1}65%,82%{opacity:1;stroke-dashoffset:0}100%{opacity:0;stroke-dashoffset:0}}
