:root{color-scheme:light;--ink:#171916;--muted:#656862;--orange:#ff672d;--line:#dcddd8;--mono:"SFMono-Regular",Consolas,"Liberation Mono",monospace;--sans:Inter,"Helvetica Neue",Arial,sans-serif}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;background:white;color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased}
body{overflow-x:hidden}
button,a,input{font:inherit}
button{cursor:pointer;color:inherit}
button{touch-action:manipulation}
button:disabled{cursor:wait}
button:focus-visible,a:focus-visible,input:focus-visible,label:has(input:focus-visible){outline:3px solid #116c9c;outline-offset:4px}
button{border:0}
a{color:inherit}
.symbols{width:0;height:0;position:absolute;overflow:hidden}
.icon{width:20px;height:20px;display:inline-block;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;pointer-events:none}
.icon.small{width:14px;height:14px}
.brand-mark{width:36px;height:27px;display:block;flex:none}
.shell{width:min(100%,2000px);padding:0 clamp(22px,4.1vw,82px);margin:auto;min-height:100svh;display:flex;flex-direction:column}
.mast,.foot{display:flex;align-items:center;justify-content:space-between;flex:none}
.mast{min-height:73px;border-bottom:1px solid var(--line)}
.identity,.dialog-identity{display:inline-flex;gap:11px;align-items:center;text-decoration:none;font-size:16px;font-weight:740;letter-spacing:-.065em}
.identity .brand-mark,.dialog-identity .brand-mark{color:var(--ink)}
nav,.nav-button,.foot button,.drop-tip{display:flex;align-items:center}
nav{gap:18px}
.nav-button,.foot button{background:transparent;padding:9px 0;gap:7px;font-size:13px;font-weight:540}
.nav-button:hover,.foot button:hover{text-decoration:underline;text-underline-offset:4px}
.nav-button .icon{width:16px;height:16px}
.nav-separator{width:1px;height:15px;background:var(--line)}
.yard{display:flex;flex:1;flex-direction:column;position:relative;isolation:isolate}
.intro{padding:clamp(31px,5.7vh,78px) 1.25% 0;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;z-index:2;pointer-events:none}
h1,p{margin:0}
h1{font-size:clamp(74px,8.2vw,157px);font-weight:720;letter-spacing:-.092em;line-height:.97;margin-left:-.065em}
.period{color:var(--orange)}
.heading p{font-size:clamp(16px,1.27vw,23px);letter-spacing:-.038em;color:#595d56;margin-top:clamp(12px,1.4vh,20px)}
.meter{padding:clamp(12px,1.7vh,25px) 0 0;display:flex;align-items:flex-end;flex-direction:column;gap:9px}
.meter-label,.indicator,.hopper-label,.kicker{font-family:var(--mono);font-size:10px;line-height:1.1;letter-spacing:.10em;text-transform:uppercase}
.meter-label{color:#62655e;display:flex;align-items:center;gap:7px}
.meter-lamp{width:5px;height:5px;background:#858980;border-radius:50%}
.digits{display:flex;padding:3px;background:#30332e;border-radius:4px;box-shadow:0 1px 0 #dadbd6,0 1px 2px #0003 inset;gap:1px}
.digits span{display:grid;place-items:center;width:clamp(16px,1.45vw,24px);height:clamp(23px,1.95vw,32px);font-family:var(--mono);font-size:clamp(17px,1.6vw,24px);font-weight:600;line-height:1;color:#f6f6ee;background:linear-gradient(#444640 0%,#30332d 48%,#171a17 50%,#343630 54%,#32342f 100%);border-radius:1px}
.scene{position:relative;isolation:isolate;flex:1;width:100%;min-height:clamp(300px,30vw,560px);margin:0 auto;overflow:visible;user-select:none}
.rig{position:absolute;width:clamp(330px,min(48vw,68vh),820px);left:42.5%;top:55%;transform:translate(-50%,-50%);aspect-ratio:1536 / 820;z-index:2}
.truck,.heap{display:block;width:100%;height:auto}
.truck{position:relative;z-index:1}
.heap-space{position:absolute;width:56%;right:-1.1%;top:48%;transform:translateY(-50%);aspect-ratio:1344/291;z-index:0}
.heap{position:absolute;inset:0}
#pileObjects{position:absolute;inset:0;pointer-events:none}
.pile-fragment{position:absolute;width:9%;height:auto;transform:translate(-50%,-50%)}
#actionCanvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:5}
.hopper{position:absolute;z-index:4;left:87.5%;top:70.2%;width:32px;height:32px;transform:translate(-50%,-50%);display:grid;place-items:center;padding:0;color:#20221e;background:transparent}
.target{display:grid;place-items:center;border-radius:50%;background:#fc7139;border:1px solid #a8441f;width:22px;height:22px;box-shadow:0 0 0 4px #ffffffa8,0 2px 4px #0003}
.target .icon{width:14px;height:14px;stroke-width:2}
.hopper-line{position:absolute;left:calc(50% + 6px);bottom:calc(50% + 7px);width:42px;height:44px;border-right:1px solid #50574d;border-top:1px solid #50574d;transform:skewX(-34deg);transform-origin:bottom;pointer-events:none;display:none}
.hopper-label{position:absolute;left:calc(100% + 48px);top:calc(50% + 20px);white-space:nowrap;font-size:10px;letter-spacing:.055em;background:white;border:1px solid #d6d9d0;border-radius:3px;color:#4e524b;padding:5px 7px;box-shadow:0 1px 2px #00000008}
.hopper-label:before{content:"";position:absolute;width:50px;height:17px;right:100%;bottom:46%;border-left:1px solid #888d82;border-bottom:1px solid #888d82;transform:skewX(43deg);transform-origin:right bottom}
.hopper:hover .target{background:#ff8b52;box-shadow:0 0 0 5px #ffffffd0,0 2px 4px #0003}
.yard.running .hopper{visibility:hidden}
.blade-window{pointer-events:none}
.controls{display:flex;align-items:center;flex-direction:column;flex:none;padding:clamp(6px,1.4vh,18px) 0 clamp(28px,4.5vh,68px);z-index:6}
.station{position:relative;display:flex;align-items:center;gap:25px;border:1px solid #b5b8af;border-radius:9px;padding:13px 25px;background:linear-gradient(174deg,#f3f3ee,#e2e3db 61%,#d6d8cf);box-shadow:inset 0 1px 1px #fff,0 3px 0 #b2b5ac,0 5px 7px #22281d1f,0 11px 18px -10px #28302240}
.screw{position:absolute;width:5px;height:5px;border-radius:100%;background:linear-gradient(152deg,#dadcd5 40%,#83887b 43%,#83887b 54%,#d1d4c8 60%);box-shadow:0 0 0 .5px #b4b7ac,inset 0 .5px .7px #fff}
.tl{top:5px;left:6px}.tr{top:5px;right:6px;transform:rotate(83deg)}.bl{bottom:5px;left:6px;transform:rotate(55deg)}.br{bottom:5px;right:6px;transform:rotate(-36deg)}
.station-status{display:flex;height:40px;flex-direction:column;justify-content:center;gap:8px;min-width:103px}
.indicator{display:flex;align-items:center;gap:7px;font-weight:600;font-size:10px;letter-spacing:.055em;white-space:nowrap}
.indicator i{width:7px;height:7px;display:block;border-radius:50%;background:radial-gradient(circle at 38% 33%,#a4d88b,#63935a 60%,#466d42);box-shadow:0 0 0 1px #516b48,0 1px 0 1px #fff9}
.yard.running .indicator i{background:radial-gradient(circle at 38% 33%,#ffc396,#ff752b 60%,#984a15);box-shadow:0 0 0 1px #b46332}
.grille{width:57px;height:6px;margin-left:1px;background:repeating-linear-gradient(90deg,#7c8376 0px,#7c8376 2px,transparent 2px,transparent 5px);opacity:.65}
.orange-button,.secondary,.photo-select,.tab,.receipt-row{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.orange-button{background:linear-gradient(#ff8651 0%,#ff6e33 9%,#ff6428 92%,#ed5821 94%);color:#211c15;border:1px solid #c35425;border-radius:5px;font-size:14px;font-weight:690;letter-spacing:-.03em;min-height:43px;padding:0 18px;box-shadow:inset 0 1px 0 #ffc7a8,0 2px 0 #9e411d,0 3px 4px #503b2740}
.orange-button:hover{filter:brightness(1.045)}
.orange-button:active:not(:disabled){transform:translateY(1px);box-shadow:0 1px 0 #9e411d,inset 0 1px 2px #a34c1f60}
.orange-button:disabled{opacity:.63}
.orange-button .icon{width:17px;height:17px;stroke-width:2}
.add{min-width:132px;font-size:16px}
.control-help{font-size:12px;color:#6a6c65;letter-spacing:-.01em;margin-top:15px;text-align:center;min-height:1.2em}
.foot{height:59px;color:#53574f;border-top:1px solid var(--line)}
.foot button{gap:8px;color:#282c25}
.foot .icon{width:16px;height:16px}
.foot .icon.small{width:12px;height:12px;margin-left:1px}
.drop-tip{font-size:12px;gap:7px}
.drop-tip .icon{width:14px;height:14px}
dialog{border:1px solid #bfc2b9;color:var(--ink);background:#fff;box-shadow:0 18px 80px #19201530,0 3px 12px #0001;border-radius:12px;width:min(426px,calc(100% - 28px));padding:0;max-height:calc(100dvh - 35px);overflow:auto}
dialog::backdrop{background:#f1f2ec9c;backdrop-filter:blur(6px)}
.dialog-top{height:51px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 18px}
.dialog-identity{font-size:13px;gap:7px}
.dialog-identity .brand-mark{width:24px;height:18px}
.icon-button{display:inline-grid;place-items:center;background:transparent;border-radius:50%;padding:6px}
.icon-button:hover{background:#f0f1ed}
.close .icon{width:16px;height:16px}
#panelBody{padding:23px}
#panelBody h2{font-size:32px;letter-spacing:-.07em;line-height:1.04;margin:0 0 13px;font-weight:690}
#panelBody p{font-size:14px;color:#62675e;line-height:1.48}
#panelBody .kicker{font-size:10px;margin:0 0 9px;color:#697063;letter-spacing:.10em}
.tabs{display:flex;background:#f0f1ec;border-radius:6px;padding:3px;margin:17px 0}
.tab{background:transparent;border-radius:4px;min-height:35px;flex:1;font-size:13px}
.tab[aria-pressed=true]{background:white;box-shadow:0 1px 4px #24282020;font-weight:650}
.tab .icon,.secondary .icon{width:16px;height:16px}
.photo-select{position:relative;flex-direction:column;width:100%;padding:25px 12px;background:#fafbf8;border:1px dashed #aeb4a6;border-radius:6px;cursor:pointer;gap:6px}
.photo-select:hover{background:#f1f3ed}
.photo-select .icon{height:25px;width:25px;margin-bottom:3px}
.photo-select span{font-size:14px;font-weight:650}
.photo-select small,.note{font-size:12px!important;color:#696e63}
.photo-select input{position:absolute;width:1px;height:1px;opacity:0;inset:50%}
.url-label{font-weight:600;font-size:13px;display:block}
input[type=url],input[type=text]{width:100%;margin:7px 0 14px;border:1px solid #b5b9ad;border-radius:5px;min-height:42px;padding:10px;font-size:16px;color:var(--ink);background:white}
.full{width:100%}
.note{margin-top:15px!important}
.error:not(:empty){margin:12px 0 0!important;color:#a53217!important;font-size:13px!important}
.secondary{background:#f4f5f0;border:1px solid #cdd0c6;border-radius:5px;font-size:13px;font-weight:580;padding:9px 12px;min-height:39px}
.secondary:hover{background:#e9ece4}
.preview-wrap{height:160px;display:grid;place-items:center;margin:4px 0 14px;overflow:hidden;border:1px solid #e1e4db;border-radius:6px;background:#fff}
.preview-wrap canvas{width:100%;height:100%;display:block;object-fit:contain}
.actions{display:flex;align-items:center;gap:9px;margin-top:15px;flex-wrap:wrap}
.actions>*{flex:1;white-space:nowrap}
.card-canvas{display:block;width:min(100%,315px);margin:14px auto;aspect-ratio:1;box-shadow:0 1px 9px #24271e1a;border:1px solid #e0e1dd}
.text-action{display:block;background:none;text-decoration:underline;text-underline-offset:3px;font-weight:600;padding:11px 4px;margin:3px auto 0;font-size:13px}
.about-copy{display:grid;gap:12px}
.about-copy strong{color:#34382e}
.archive-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.archive-count{font-family:var(--mono);font-size:12px;color:#62675c}
.archive-view{position:relative;aspect-ratio:1344/291;overflow:hidden;margin:18px -10px}
.archive-view>img{display:block;width:100%;height:100%}
.archive-view .pile-fragment{top:50%}
.archive-list{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:12px 0}
.deposit-tile{border:1px solid #dbdfd5;background:#fff;border-radius:5px;display:grid;place-items:center;padding:0 4px 7px;font:11px var(--mono)}
.deposit-tile:hover{background:#f6f7f3;border-color:#969f8d}
.deposit-tile canvas{width:100%;height:57px}
.pagination{display:flex;justify-content:space-between;margin-top:10px}
.drop-overlay{position:fixed;inset:10px;z-index:20;border:2px dashed var(--orange);background:#fffef9ed;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;pointer-events:none}
.drop-overlay .icon{height:38px;width:38px}
.drop-overlay strong{font-size:50px;letter-spacing:-.07em}
[hidden]{display:none!important}
@media(min-aspect-ratio:19/10) and (min-width:801px){.intro{padding-top:25px}h1{font-size:clamp(70px,7.2vw,125px)}.scene{min-height:220px}.controls{padding-bottom:23px}.rig{width:min(44vw,73vh)}}
@media(max-width:700px){.shell{padding:0 20px}.mast{min-height:61px}.brand-mark{width:30px;height:23px}.identity{font-size:14px;gap:7px}nav{gap:11px}.nav-button{font-size:12px}.nav-button .icon{width:15px;height:15px}.intro{padding:36px 0 0;gap:10px}.heading p{font-size:15px;margin-top:10px}h1{font-size:clamp(61px,11.4vw,80px)}.meter{padding-top:3px;gap:6px}.meter-label{font-size:9px;letter-spacing:.035em}.digits{padding:2px}.digits span{width:12px;height:18px;font-size:14px}.scene{min-height:305px}.rig{width:min(72vw,480px);left:42%;top:57%}.heap-space{width:72%;right:0;top:calc(57% - 10vw)}.hopper-label{top:calc(100% + 3px);left:calc(100% + 6px);font-size:9px;padding:4px}.hopper-label:before{width:14px;height:12px}.controls{padding:12px 0 37px}.foot{height:52px}.drop-tip{font-size:11px}.control-help{font-size:12px}}
@media(max-width:499px){.shell{padding:0 18px}.intro{padding-top:35px;display:block}.heading p{font-size:16px}h1{font-size:clamp(64px,16vw,84px)}.meter{position:absolute;right:0;bottom:16px;z-index:4;gap:5px;pointer-events:none;display:none}.mast .nav-button{gap:5px}.scene{min-height:255px;margin-left:-18px;width:calc(100% + 36px);overflow:hidden}.rig{width:80%;left:41.5%;top:60%}.heap-space{width:77%;right:0;top:calc(60% - 14vw);--heap-anchor:100%}.hopper-label{left:calc(100% - 6px);top:calc(100% + 9px);font-size:8px}.hopper-label:before{width:11px}.foot{height:55px}.drop-tip{display:none}.foot:after{content:attr(data-count);font:10px var(--mono);letter-spacing:.035em;text-transform:uppercase}.station{gap:20px;padding:12px 23px}.controls{padding:8px 0 clamp(31px,6vh,70px)}.indicator{font-size:9px}.station-status{min-width:91px}.add{min-width:122px}.nav-separator{height:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.001ms!important;transition-duration:.001ms!important}}
#rig .blade-window{z-index:3}
#loadObject{position:absolute;z-index:2;pointer-events:none;transform:translate(-50%,-50%);display:none}
#cardGroup{display:flex;align-items:center;gap:7px;font-size:13px;margin:10px 0}
#cardGroup input{accent-color:#f46a30;width:15px;height:15px}
@media (max-height:700px) and (min-width:701px){.mast{min-height:58px}.intro{padding-top:22px}h1{font-size:clamp(66px,7.4vw,110px)}.scene{min-height:240px}.controls{padding-bottom:20px}.foot{height:45px}}
.heap-space{transform:translateY(-50%) scale(calc(1 + var(--heap-growth,0)));transform-origin:var(--heap-anchor,85%) 85%}
#pileEntry{position:absolute;inset:0;border:0;padding:0;width:100%;height:100%;background:transparent;cursor:zoom-in;touch-action:none;border-radius:40%}
.scene{touch-action:pan-y}
.rig{pointer-events:none;transition:translate .65s cubic-bezier(.4,0,.18,1)}
.rig .hopper{pointer-events:auto}
.yard.exploring .rig,.yard.revealing .rig{translate:-120vw 0}
.yard.running #pileEntry{pointer-events:none}
#pileObjects .fresh-fragment{z-index:1}
#landfillExplorer{position:fixed;inset:0;margin:0;border:0;border-radius:0;box-shadow:none;padding:0;width:100%;max-width:100%;height:100%;height:100dvh;max-height:none;overflow:hidden}
#landfillExplorer[open]{animation:enter-landfill .5s ease-out both}
#landfillExplorer::backdrop{background:transparent;backdrop-filter:none}
#mapMount{width:100%;height:100%}
@keyframes enter-landfill{0%,18%{opacity:0}100%{opacity:1}}
html:has(#landfillExplorer[open]){overflow:hidden}
#locateDeposit{width:100%;background:#f8f8f4}
@media (max-width:360px){
  .shell{padding-inline:14px}
  .identity,.nav-button,.add{white-space:nowrap}
  .identity{gap:5px;font-size:13px}
  .identity .brand-mark{width:26px}
  .nav-button{font-size:11px}
  nav{gap:8px}
  .intro{padding-top:22px}
  h1{font-size:clamp(49px,16vw,57px);white-space:nowrap}
  .heading p{font-size:14px;margin-top:8px}
  .scene{margin-left:-14px;width:calc(100% + 28px);min-height:205px}
  .controls{padding:5px 0 20px}
  .station{gap:14px;padding:10px 16px}
  .add{min-width:116px;padding-inline:12px}
  .foot{height:43px}
}
