/* The hand rig (P17): the slab phone, the hands' motion and the screen kit. Motion is transform and opacity only, and
   exists only under .rig.on, which js/rig/mount.js sets while a rig is on screen (B4). Reduced motion never sets it, so
   every rung rests: the hand on Build, the build complete, the spiral still. No filters and no blur (GPU rule). */
.rig{margin:0;position:relative}
.rig-svg{display:block;width:100%;height:auto}
.rig-ground{fill:var(--plate)}
.rig-slab{fill:#0b0b0c}
.rig-slab-edge{fill:none;stroke:#4a4c52;stroke-width:1.5}
.rig-slab-sh{fill:#000;opacity:.07}
html[data-variant="noir"] .rig-slab-edge{stroke:#5c5f66}
.rig-ring{fill:none;stroke:#0b0b0c;stroke-width:2;opacity:0;transform-box:fill-box;transform-origin:center}
.rig-spin{transform-box:view-box}
.rig.on .rig-tap{animation:rig-tap var(--tempo) ease-in-out infinite}
.rig.on .rig-ring{animation:rig-ring var(--tempo) ease-out infinite}
.rig.on .rig-spin{animation:rig-spin var(--turn) linear infinite}
@keyframes rig-tap{0%,100%{transform:translate(0,0)}45%{transform:translate(-3px,-5px)}55%{transform:translate(0,0)}}
@keyframes rig-ring{50%{opacity:.7;transform:scale(.4)}100%{opacity:0;transform:scale(1.6)}}
@keyframes rig-spin{to{transform:rotate(-360deg)}}

/* the screen kit: a show's live screen keeps its own light palette in every look, as a real phone would */
.scr-bg{fill:#fbfaf6}
.scr-t{font:700 11px var(--mono);fill:#0b0b0c}
.scr-s{font:400 10px var(--mono);fill:#55554f}
.scr-h{font:900 19px "Archivo",system-ui,sans-serif;fill:#0b0b0c;letter-spacing:-.01em}
.scr-ok{fill:#2f8f3a}
.rig.on .scr-f{opacity:0;animation:rig-f .4s ease forwards}
.rig.on .scr-f:nth-of-type(2){animation-delay:.5s}
.rig.on .scr-f:nth-of-type(3){animation-delay:1s}
.rig.on .scr-f:nth-of-type(4){animation-delay:1.5s}
.rig.on .scr-f:nth-of-type(5){animation-delay:2s}
.rig.on .scr-site{animation:rig-site 3.2s ease both}
@keyframes rig-f{to{opacity:1}}
@keyframes rig-site{0%,55%{opacity:0;transform:translateY(10px)}100%{opacity:1;transform:none}}

@media (prefers-reduced-motion:reduce){.rig.on *{animation:none!important}.rig.on .scr-f{opacity:1}}
