.method-flow{--method-step-count:5;--method-flow-width:100%;--method-active-copy-shift:.85rem;display:grid;grid-template-columns:repeat(var(--method-step-count),minmax(0,1fr));width:var(--method-flow-width);margin:0 auto;padding:0;list-style:none}
.method-flow:has(>li:only-child){--method-step-count:1;--method-flow-width:20%}.method-flow:has(>li:nth-child(2):last-child){--method-step-count:2;--method-flow-width:40%}.method-flow:has(>li:nth-child(3):last-child){--method-step-count:3;--method-flow-width:60%}.method-flow:has(>li:nth-child(4):last-child){--method-step-count:4;--method-flow-width:80%}
.method-flow>li{--method-connector-angle:0deg;position:relative;min-height:25rem;padding:var(--space-8) var(--space-6);border:0;background:transparent;text-align:center;outline:none;transition:opacity .42s var(--ease-standard),filter .42s var(--ease-standard),transform .56s var(--ease-emphasized)}
.method-flow>li:nth-child(even){padding-block-start:clamp(9rem,11vw,11rem)}
.method-flow>li:not(:last-child)::after{position:absolute;z-index:var(--z-base);inset-block-start:7.25rem;inset-inline-end:-3.5rem;width:7rem;height:1px;border-radius:999px;background:color-mix(in srgb,var(--brand-primary,var(--editor-mistral-primary)) 38%,transparent);content:"";transform:rotate(var(--method-connector-angle)) scaleX(1);transform-origin:0;transition:background-color .36s var(--ease-standard),box-shadow .36s var(--ease-standard),transform .62s var(--ease-emphasized)}
.method-flow>li:nth-child(odd):not(:last-child){--method-connector-angle:34deg}.method-flow>li:nth-child(even):not(:last-child){--method-connector-angle:-34deg}.method-flow>li:nth-child(even):not(:last-child)::after{inset-block-start:11.25rem}
.method-flow__index{display:grid;width:5.5rem;height:5.5rem;aspect-ratio:1;place-items:center;margin-inline:auto;border:var(--border-width,1px) solid color-mix(in srgb,var(--brand-primary,var(--editor-mistral-primary)) 30%,transparent);border-radius:50%;background:var(--brand-primary,var(--editor-mistral-primary));box-shadow:0 0 0 0 color-mix(in srgb,var(--brand-primary,var(--editor-mistral-primary)) 14%,transparent);color:#fff;font-family:var(--font-body,"DM Sans",sans-serif);font-size:clamp(2.75rem,5vw,4.5rem);line-height:1;transition:opacity .44s var(--ease-standard),color .44s var(--ease-standard),background-color .44s var(--ease-standard),border-color .44s var(--ease-standard),box-shadow .56s var(--ease-emphasized),transform .56s var(--ease-emphasized);transform:scale(1)}
.method-flow h3{margin-block:var(--space-4) var(--space-2);color:var(--brand-primary,var(--editor-mistral-primary));font-family:var(--font-body,"DM Sans",sans-serif);font-size:var(--text-caption,.8rem);font-weight:var(--font-weight-semibold,600);letter-spacing:var(--tracking-label,.05em);text-transform:uppercase;transition:opacity .48s var(--ease-standard),transform .56s var(--ease-emphasized)}
.method-flow p{margin:0;color:var(--brand-primary,var(--editor-mistral-primary));font-size:var(--text-body-sm,.9rem);line-height:1.5;transition:opacity .48s var(--ease-standard),transform .56s var(--ease-emphasized)}
.method-flow[data-method-motion="pending"]>li{opacity:.2;transform:translateY(.9rem)}.method-flow[data-method-motion="pending"] .method-flow__index{opacity:0;border-color:color-mix(in srgb,currentColor 25%,transparent);background:transparent;box-shadow:none;color:color-mix(in srgb,currentColor 48%,transparent);transform:scale(.88)}.method-flow[data-method-motion="pending"] :is(h3,p){opacity:0;transform:translateY(.65rem)}.method-flow[data-method-motion="pending"]>li:not(:last-child)::after{transform:rotate(var(--method-connector-angle)) scaleX(0)}
.method-flow[data-method-motion="running"]>li{opacity:1;transition-delay:var(--method-step-delay);transform:translateY(0)}.method-flow[data-method-motion="running"] .method-flow__index{opacity:1;transition-delay:var(--method-step-delay)}.method-flow[data-method-motion="running"] h3{opacity:1;transition-delay:var(--method-title-delay);transform:translateY(0)}.method-flow[data-method-motion="running"] p{opacity:1;transition-delay:var(--method-copy-delay);transform:translateY(0)}.method-flow[data-method-motion="running"]>li:not(:last-child)::after{transition-delay:var(--method-connector-delay);transform:rotate(var(--method-connector-angle)) scaleX(1)}
@media(prefers-reduced-motion:no-preference){ol.method-flow.method-flow--animated[data-method-motion] .method-flow__index{transition:opacity .44s var(--ease-standard),color .44s var(--ease-standard),background-color .44s var(--ease-standard),border-color .44s var(--ease-standard),box-shadow .56s var(--ease-emphasized),transform .56s var(--ease-emphasized)}ol.method-flow.method-flow--animated[data-method-motion="pending"] .method-flow__index{transition:none}}
.method-flow[data-method-interacting="true"]>li{opacity:.42;filter:saturate(.72);transition-delay:0s;transform:scale(.985)}.method-flow[data-method-interacting="true"]>li.is-active{z-index:2;opacity:1;filter:none;transform:translateY(-.45rem) scale(1.02)}.method-flow[data-method-interacting="true"]>li.is-active :is(h3,p){transition-delay:0s;transform:translateY(var(--method-active-copy-shift))}.method-flow>li.is-active .method-flow__index{background:var(--editor-mistral-highlight);border-color:var(--editor-mistral-highlight);box-shadow:0 0 0 .65rem color-mix(in srgb, var(--editor-mistral-highlight) 14%, transparent);transition-delay:0s;transform:scale(1.07)}.method-flow>li.is-path-active:not(:last-child)::after{height:2px;background:var(--editor-mistral-highlight);box-shadow:0 0 .7rem color-mix(in srgb, var(--editor-mistral-highlight) 35%, transparent);transition-delay:0s}
.method-section .method-flow>li.is-active .method-flow__index{background:var(--color-mistral-highlight,var(--editor-mistral-highlight))!important;border-color:var(--color-mistral-highlight,var(--editor-mistral-highlight))!important;color:#fff!important;box-shadow:0 0 0 .65rem color-mix(in srgb, var(--editor-mistral-highlight) 14%, transparent)!important}
@media(max-width:64rem){.method-flow{--method-active-copy-shift:0rem;grid-template-columns:1fr;width:100%}.method-flow>li,.method-flow>li:nth-child(even){min-height:9rem;padding:var(--space-6) var(--space-4) var(--space-8) 5.75rem;text-align:start}.method-flow__index{position:absolute;inset-block-start:var(--space-6);inset-inline-start:0;width:4rem;height:4rem;margin:0;font-size:2.25rem}.method-flow h3{margin-block-start:0}.method-flow>li:not(:last-child)::after,.method-flow>li:nth-child(even):not(:last-child)::after{inset-block-start:4.75rem;inset-inline-start:2rem;width:1px;height:calc(100% - 4.5rem);background:color-mix(in srgb,var(--brand-primary,var(--editor-mistral-primary)) 38%,transparent);transform:scaleY(1);transform-origin:top}.method-flow[data-method-motion="pending"]>li:not(:last-child)::after{transform:scaleY(0)}.method-flow[data-method-motion="running"]>li:not(:last-child)::after{transform:scaleY(1)}.method-flow[data-method-interacting="true"]>li.is-active{transform:translateX(var(--space-2)) scale(1.015)}}
@media(prefers-reduced-motion:reduce){.method-flow>li,.method-flow .method-flow__index,.method-flow :is(h3,p),.method-flow>li:not(:last-child)::after{transition:none}}

/* Match the homepage discovery on desktop and the detail-page discovery on compact screens. */
@media(prefers-reduced-motion:no-preference) {
  body:is(.home-page,.expertise-detail-template,.solution-detail-template) ol.method-flow.method-flow--animated[data-method-motion="running"] .method-flow__index {
    transition-delay:var(--method-step-delay);
  }
  body:is(.home-page,.expertise-detail-template,.solution-detail-template) ol.method-flow.method-flow--animated[data-method-motion="pending"] .method-flow__index {
    opacity:0;
    color:#fff !important;
  }
}
@media(max-width:75rem) and (prefers-reduced-motion:no-preference) {
  body:is(.home-page,.expertise-detail-template,.solution-detail-template) ol.method-flow.method-flow--animated[data-method-motion="pending"]>li {opacity:0}
  body:is(.home-page,.expertise-detail-template,.solution-detail-template) ol.method-flow.method-flow--animated[data-method-motion="pending"] .method-flow__index {
    color:color-mix(in srgb,var(--brand-primary,var(--editor-mistral-primary)) 48%,transparent) !important;
  }
  body:is(.home-page,.expertise-detail-template,.solution-detail-template) ol.method-flow.method-flow--animated[data-method-motion="running"] .method-flow__index {
    color:#fff !important;
    transition-delay:0s;
  }
}
@media(prefers-reduced-motion:no-preference) {
  body:is(.home-page,.expertise-detail-template,.solution-detail-template) ol.method-flow.method-flow--animated[data-method-motion="running"][data-method-interacting="true"]>li.is-active .method-flow__index {transition-delay:0s}
}
