/* Softbodh — feature-card illustrations (pairs with illus.js).
   Ink line-art on paper, one vermilion accent on the moving part. Depends only on the
   design tokens (with fallbacks). The un-animated state of every drawing is complete. */
.ic{display:block;width:72px;height:72px;flex:none}
.ic svg{display:block;width:100%;height:100%;overflow:visible;fill:none;stroke:var(--ink,#1c1a16);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ic text{fill:var(--ink,#1c1a16);stroke:none;font:500 7px/1 "JetBrains Mono",ui-monospace,Menlo,Consolas,monospace}

/* paint: p paper fill · sh offset shadow · a accent stroke · af accent fill · k ink fill · h highlighter
   ln hairline · g ok · w warn · b bad · n thin · th thick · cg cog teeth · dz drop-zone dashes */
.ic .p{fill:var(--paper,#f4efe6)}
.ic .sh{fill:var(--line,#d8cfbd);stroke:none}
.ic .a{stroke:var(--accent,#cf3f1b)}
.ic .af{fill:var(--accent,#cf3f1b);stroke:none}
.ic .k{fill:var(--ink,#1c1a16);stroke:none}
.ic .h{fill:var(--hl,#f6e3a1);stroke:none}
.ic .ln{stroke:var(--line,#d8cfbd)}
.ic .g{stroke:var(--ok,#2f7d4f)}
.ic .w{stroke:var(--warn,#b7791f)}
.ic .b{stroke:var(--bad,#b3261e)}
.ic .n{stroke-width:1.5}
.ic .th{stroke-width:4;stroke-linecap:butt}
.ic .cg{stroke-width:3;stroke-linecap:butt;stroke-dasharray:2.9 2.99}
.ic .dz{stroke-dasharray:4 5}
/* text: m centred · ta accent · tw warn · tb big · f faded */
.ic .m{text-anchor:middle}
.ic .ta{fill:var(--accent,#cf3f1b)}
.ic .tw{fill:var(--warn,#b7791f)}
.ic .tb{font-size:10px;font-weight:700}
.ic .f{opacity:.45}

/* motion primitives — each loop starts and ends on the finished drawing
   dr  stroke erases then redraws        po  part leaves (--x/--y/--s) then pops back
   mv  there-and-back (--x/--y/--r)      sc  stepped scan across 4 stops
   hi  highlight flashes in turn         tk  tick redraws in turn
   hs  one-of-four readout               fl  dashes flow along a path
   bk  caret blink                       nd  gauge needle */
.ic .po,.ic .mv,.ic .sc{transform-box:fill-box;transform-origin:center}
.ic .dr{stroke-dasharray:1;animation:il-dr 4s ease-in-out infinite}
.ic .po{animation:il-po 4s ease-in-out infinite}
.ic .mv{animation:il-mv 4s ease-in-out infinite}
.ic .sc{animation:il-sc 4.8s steps(4,jump-none) infinite}
.ic .hi{opacity:0;animation:il-hi 4.8s ease-in-out infinite}
.ic .tk{stroke-dasharray:1;animation:il-tk 4.8s ease-in-out infinite}
.ic .hs{opacity:0;animation:il-hs 4.8s step-end infinite}
.ic .fl{stroke-dasharray:3 5;animation:il-fl 3s ease-in-out infinite}
.ic .bk{animation:il-bk 3s step-end infinite}
.ic .nd{transform-box:view-box;transform-origin:36px 42px;animation:il-nd 5s ease-in-out infinite}
.ic .ob{transform-origin:50% 100%;--s:1,.05}
.ic .ol{transform-origin:0 50%;--s:.05,1}
.ic .s48{animation-duration:4.8s}
/* stagger */
.ic .d1{animation-delay:.2s}
.ic .d2{animation-delay:.4s}
.ic .d3{animation-delay:.6s}
.ic .d4{animation-delay:.8s}
.ic .d5{animation-delay:1s}
.ic .e1{animation-delay:1.2s}
.ic .e2{animation-delay:2.4s}
.ic .e3{animation-delay:3.6s}

/* per-drawing travel */
.ic .v-map{--x:-14px;--y:-12px;--s:.5}
.ic .v-brk{--y:-9px;--s:1}
.ic .v-lock{--y:-3px}
.ic .v-mag{--x:32px}
.ic .v-lid{--y:-7px;--r:-14deg}
.ic .v-file{--x:-24px;--y:18px;--s:.3}
.ic .v-bl{--x:-3px}
.ic .v-br{--x:3px}
.ic .v-cog{--r:120deg}
.ic .v-row{--y:39px}
.ic .v-fn{--y:30px}
.ic .v-hx{--x:45px}
.ic .v-ch{--y:-24px;--s:1}
.ic .v-lay{--y:-12px;--s:1}
.ic .v-pk{--x:50px}
.ic .v-rq{--x:4px}
.ic .v-rs{--x:-4px}
.ic .v-ball{--x:24px}
.ic .v-drop{--y:-16px;--s:1}
.ic .v-scan{--x:12px;--y:12px}
.ic .v-knob{--x:14px}

@keyframes il-dr{0%,30%,68%,100%{stroke-dashoffset:0;opacity:1}36%,55%{stroke-dashoffset:1;opacity:0}56%{stroke-dashoffset:1;opacity:1}}
@keyframes il-po{0%,30%,68%,100%{opacity:1;transform:none}36%,56%{opacity:0;transform:translate(var(--x,0),var(--y,0)) scale(var(--s,.6))}}
@keyframes il-mv{50%{transform:translate(var(--x,0),var(--y,0)) rotate(var(--r,0deg))}}
@keyframes il-sc{to{transform:translate(var(--x,0),var(--y,0))}}
@keyframes il-hi{0%,30%,100%{opacity:0}8%,22%{opacity:1}}
@keyframes il-tk{0%,4%{stroke-dashoffset:1;opacity:0}5%{stroke-dashoffset:1;opacity:1}14%,100%{stroke-dashoffset:0;opacity:1}}
@keyframes il-hs{0%{opacity:1}25%,100%{opacity:0}}
@keyframes il-fl{to{stroke-dashoffset:-24}}
@keyframes il-bk{0%,33%,66%{opacity:1}17%,50%,83%{opacity:0}}
@keyframes il-nd{0%,8%,74%,100%{transform:none}24%,30%{transform:rotate(-80deg)}52%{transform:rotate(15deg)}63%{transform:rotate(-6deg)}}

/* nothing runs until the slot is on screen */
.ic:not(.in) *{animation-play-state:paused}

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

.ic .v-fall{transform-box:fill-box;transform-origin:center;animation:il-fall 3.6s ease-in-out infinite}
@keyframes il-fall{0%,8%{transform:translateY(-6px)}28%,70%{transform:translateY(22px)}80%,100%{transform:translateY(-6px)}}
@media (prefers-reduced-motion:reduce){.ic .v-fall{animation:none;transform:translateY(22px)}}
