/* A single route links the four stages; text is always available. */
.work-process{--process-bridge:144px;position:relative;padding:78px 4.5% var(--process-bridge);background:var(--ink);color:var(--paper);border-radius:42px 42px 0 0;overflow:clip}
.work-process::after{content:"";position:absolute;left:0;right:0;bottom:0;height:var(--process-bridge);background:linear-gradient(180deg,var(--ink) 0%,#33263f 32%,#53367e 68%,var(--purple) 100%);pointer-events:none}
.work-process + .start{border-radius:0}
.work-process h2{font:500 clamp(42px,5.3vw,80px)/1.15 Unbounded,Rubik,Arial,sans-serif;letter-spacing:-.035em;margin:0 0 48px}
.process-map{--route:1;position:relative}
.process-track{list-style:none;position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;padding:0;margin:0}
.process-step{--phase:1;position:relative;min-width:0}
.process-art{height:180px;margin-bottom:43px;position:relative;z-index:1}
.process-art svg{display:block;width:100%;height:100%;fill:none;stroke:var(--ink);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;overflow:visible}
.process-number{position:absolute;z-index:2;top:164px;left:calc(50% - 18px);display:grid;place-items:center;width:36px;height:36px;border:1.5px solid var(--stage-accent);border-radius:50%;background:var(--ink);color:var(--stage-accent);font-size:16px;font-weight:500;font-variant-numeric:tabular-nums;transition:background-color .24s var(--ease),color .24s var(--ease)}
.process-step[data-reached=true] .process-number{background:var(--stage-accent);color:var(--ink)}
.process-copy{position:relative;z-index:1}
.process-copy h3{font:600 27px/1.2 Rubik,Arial,sans-serif;letter-spacing:-.025em;margin:0 0 15px}
.process-copy p{font-size:19px;line-height:1.5;color:#d5ced8;margin:0;max-width:28ch}
.process-rail{position:absolute;z-index:0;left:var(--rail-left,12.5%);top:var(--rail-top,182px);width:var(--rail-width,75%);height:var(--rail-height,2px);background:#554b5a;pointer-events:none}
.process-rail b{position:absolute;inset:0;background:var(--lime);transform:scaleX(var(--route));transform-origin:left center}
.process-rail i{position:absolute;left:calc(var(--route)*100%);top:50%;width:10px;height:10px;border-radius:50%;background:var(--lime);transform:translate(-50%,-50%);box-shadow:0 0 0 5px var(--ink)}
.process-draw{stroke-dasharray:1;stroke-dashoffset:calc(1 - var(--phase))}
.process-piece,.process-core,.process-sheet,.process-prototype,.process-cursor,.process-confirm,.process-handoff,.process-key{transform-box:fill-box;transform-origin:center}
.piece-one{transform:translate(calc((1 - var(--phase))*-18px),calc((1 - var(--phase))*10px)) rotate(calc((1 - var(--phase))*-13deg))}
.piece-two{transform:translate(calc((1 - var(--phase))*19px),calc((1 - var(--phase))*-10px)) rotate(calc((1 - var(--phase))*15deg))}
.piece-three{transform:translateY(calc((1 - var(--phase))*19px)) rotate(calc((1 - var(--phase))*-9deg))}
.process-core{transform:scale(calc(.4 + var(--phase)*.6))}
.process-sheet{transform:translateY(calc((1 - var(--phase))*16px)) rotate(calc((1 - var(--phase))*-7deg))}
.process-prototype{transform:translateY(calc((1 - var(--phase))*12px))}
.process-cursor{transform:translate(calc((1 - var(--phase))*17px),calc((1 - var(--phase))*16px))}
.process-confirm{transform:scale(calc(.4 + var(--phase)*.6));opacity:var(--phase)}
.process-handoff{transform:translateY(calc((1 - var(--phase))*18px))}
.process-key{transform:translateY(calc((1 - var(--phase))*-18px)) rotate(calc((1 - var(--phase))*-22deg))}
@media(max-width:1200px){.process-track{gap:22px}.process-copy h3{font-size:25px}.process-copy p{font-size:18px}}
@media(max-width:1000px){
 .work-process{--process-bridge:120px;padding-block:62px var(--process-bridge)}
 .work-process h2{margin-bottom:40px}
 .process-track{display:block;max-width:740px;margin:auto}
 .process-step{display:grid;grid-template-columns:200px minmax(0,1fr);gap:28px;align-items:center;padding:0 0 58px 64px}
 .process-step:last-child{padding-bottom:0}
 .process-art{width:200px;height:160px;margin:0}
 .process-number{left:0;top:62px}
 .process-copy h3{font-size:28px}
 .process-copy p{font-size:20px;max-width:30ch}
 .process-rail{left:var(--rail-left,17px);top:var(--rail-top,80px);width:var(--rail-width,2px);height:var(--rail-height,calc(100% - 160px))}
 .process-rail b{transform:scaleY(var(--route));transform-origin:center top}
 .process-rail i{left:50%;top:calc(var(--route)*100%)}
}
@media(max-width:760px){
 .work-process{--process-bridge:104px;padding:48px 5% var(--process-bridge);border-radius:28px 28px 0 0}
 .work-process h2{font-size:clamp(34px,9.3vw,48px);line-height:1.2;margin-bottom:30px}
 .process-step{display:block;padding:0 0 40px 50px}
 .process-art{width:184px;max-width:100%;height:138px;margin-bottom:18px}
 .process-number{top:51px}
 .process-copy h3{font-size:26px;line-height:1.2;margin-bottom:12px}
 .process-copy p{font-size:18px;line-height:1.5;max-width:32ch}
}
@media(max-width:350px){.process-copy h3{font-size:24px}.process-step{padding-left:46px}.process-art{width:176px;height:132px}.process-number{top:48px}}
@media(prefers-reduced-motion:reduce){
 .process-map{--route:1!important}
 .process-step{--phase:1!important}
 .process-art g,.process-art path,.process-art circle{transform:none!important}
 .process-confirm{opacity:1}
 .process-draw{stroke-dashoffset:0}
 .process-number{background:var(--stage-accent);color:var(--ink)}
 .process-number{transition:none}
}
