/* A small, decorative tractor follows page progress without intercepting input. */
.tractor-trail{--tractor-progress:0;--tractor-tire:var(--ink);--tractor-paint:var(--orange);--tractor-canvas:var(--paper-light);pointer-events:none;user-select:none}
.tractor-trail-track{position:absolute;inset:0;overflow:hidden;border-radius:10px}
.tractor-trail-cleared{position:absolute;display:block;background:var(--orange);opacity:.28}
.tractor-trail-machine{position:absolute;color:var(--ink);filter:drop-shadow(0 2px 2px #14251f16)}
.tractor-trail-machine svg{display:block;width:100%;height:100%;overflow:visible;stroke-linecap:round;stroke-linejoin:round}
.tractor-outline{stroke:var(--tractor-tire);stroke-width:2.5}
.tractor-tires{fill:var(--tractor-tire);stroke:var(--tractor-tire);stroke-width:2}
.tractor-treads{stroke:var(--tractor-canvas);stroke-width:1.4;opacity:.55}
.tractor-body,.tractor-cab{fill:var(--tractor-paint);stroke:var(--tractor-tire);stroke-width:1.5}
.tractor-glass{fill:var(--tractor-canvas);stroke:var(--tractor-tire);stroke-width:1.5}
.tractor-detail{stroke:var(--tractor-tire);stroke-width:1.5}
.tractor-bumper{fill:var(--tractor-tire)}
.tractor-rims{fill:var(--tractor-canvas)}
.tractor-cutter{fill:var(--tractor-paint);stroke:var(--tractor-tire);stroke-width:1.8}
.tractor-metal{fill:#f3f0e5;stroke:var(--tractor-tire);stroke-width:1.6}
.tractor-seat,.tractor-bucket{fill:var(--tractor-tire);stroke:var(--tractor-tire);stroke-width:1.6}
.tractor-hitch{stroke:var(--tractor-tire);stroke-width:2}
.tractor-rollbar{stroke:var(--tractor-tire);stroke-width:3}
.tractor-loader{stroke:#e2dfd3;stroke-width:4}
.tractor-fender{stroke:#f3f0e5;stroke-width:4}
@media(min-width:1101px){
 .tractor-trail{position:fixed;z-index:4;right:7px;top:168px;bottom:142px;width:42px}
 .tractor-trail-track{inset:35px 7px}
 .tractor-trail-track:before,.tractor-trail-track:after{content:'';position:absolute;top:0;bottom:0;width:1px;background:repeating-linear-gradient(to bottom,var(--ink) 0 3px,transparent 3px 11px);opacity:.12}
 .tractor-trail-track:before{left:4px}.tractor-trail-track:after{right:4px}
 .tractor-trail-cleared{top:0;left:4px;right:4px;height:calc(var(--tractor-progress)*100%);background:none;border-left:2px solid var(--orange);border-right:2px solid var(--orange);opacity:.23}
 .tractor-trail-machine{left:0;top:calc(var(--tractor-progress)*(100% - 70px));width:42px;height:70px}
 .tractor-profile{display:none!important}
}
@media(max-width:1100px){
 .tractor-trail{--tractor-tire:var(--on-dark);--tractor-paint:#d68b59;--tractor-canvas:var(--dark);height:64px;position:relative;margin-top:30px}
 .tractor-trail-track{inset:47px 0 4px}
 .tractor-trail-track:before{content:'';position:absolute;left:0;right:0;top:5px;border-top:1px dashed var(--on-dark);opacity:.2}
 .tractor-trail-cleared{top:5px;left:0;height:1px;width:calc(var(--tractor-progress)*100%);background:var(--on-dark);opacity:.6}
 .tractor-trail-machine{top:0;left:calc(var(--tractor-progress)*(100% - 120px));width:120px;height:57px}
 .tractor-overhead{display:none!important}
 .tractor-profile{transition:transform .18s ease;transform-origin:center}
 .is-reversing .tractor-profile{transform:scaleX(-1)}
}
@media(prefers-reduced-motion:reduce){
 .tractor-trail-machine,.tractor-trail-machine svg{transition:none!important}
 .tractor-trail{--tractor-progress:.58!important}
}
