/* Shared 1280 × 460 stage, scaled as a single illustration on small screens. */






.delivery-animation{position:relative;width:100%;max-width:1440px;margin:0 auto;aspect-ratio:1280/460;overflow:hidden;container-type:inline-size}
.delivery-canvas{position:absolute;width:1280px;height:460px;left:0;top:0;transform:scale(calc(100cqw / 1280px));transform-origin:top left}
.delivery-canvas .sprite{position:absolute;background-image:url('delivery-atlas.webp');background-size:300% 200%;background-repeat:no-repeat;aspect-ratio:1;pointer-events:none}
.street{position:absolute;left:0;right:0;top:405px;height:55px;background:#172c43;border-top:1px solid #395064}
.street:before{content:'';position:absolute;left:4%;right:4%;top:24px;height:2px;background:repeating-linear-gradient(90deg,#a8b7bf45 0 40px,transparent 40px 90px)}
.home-group{position:absolute;left:928px;top:25px;width:340px;height:380px;transform-origin:center bottom}
.house{width:340px;top:0;left:0;background-position:100% 0}
.customer{width:155px;left:40px;top:225px;background-position:50% 100%;transform-origin:center bottom}
.hello{position:absolute;left:152px;top:225px;background:#fff9e8;color:#0e2138;padding:10px 17px;border-radius:18px 18px 18px 3px;font-size:18px;font-family:Georgia,serif;box-shadow:0 6px 15px #0002}
.van-group{position:absolute;left:330px;top:5px;width:530px;height:440px}
.van{width:530px;left:0;top:0;background-position:0 0}
.door{position:absolute;left:107px;top:170px;width:156px;height:137px;background:linear-gradient(110deg,#fff,#e9eef0);border:1px solid #c5cdd2;border-radius:7px;box-shadow:2px 2px 2px #0001}
.door:after{content:'';position:absolute;right:10px;top:48px;width:20px;height:5px;border-radius:2px;background:#253342}
.door img{position:absolute;left:30px;top:26px;width:85px;height:59px;object-fit:contain}
.delivery-team{position:absolute;left:550px;top:235px;width:215px;height:175px}
.courier{position:absolute;left:0;top:0;width:165px;height:165px}
.courier-art{width:165px;left:0;top:0;background-position:0 100%}
.trolley{position:absolute;left:115px;top:23px;width:90px;height:142px}
.trolley svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.crate{width:67px;left:16px;background-position:100% 100%}
.crate-0{top:65px}.crate-1{top:39px}.crate-2{top:13px}.crate-3{top:-13px}
.delivery-animation:not(.ready) .van-group{transform:translateX(-940px)}
.delivery-animation:not(.ready) .home-group,.delivery-animation:not(.ready) .delivery-team{opacity:0}
.delivery-animation .delivery-team{transform:translateX(290px)}
.delivery-animation .door{transform:translateX(-138px)}
@media(max-width:800px){.delivery-animation{margin-top:18px}}
@media(max-width:450px){.delivery-animation{min-height:165px}.delivery-canvas{top:5px}}

/* Atlas bounds and final scene alignment */
.delivery-canvas .van{width:530px;height:269.206px;aspect-ratio:auto;background-size:243.8095% 320.0000%;background-position:2.2075% 19.1761%;}
.delivery-canvas .door{width:132px;height:167.020px;aspect-ratio:auto;background-size:626.9388% 330.3226%;background-position:53.8342% 17.5070%;}
.delivery-canvas .house{width:340px;height:251.731px;aspect-ratio:auto;background-size:295.3846% 265.9740%;background-position:99.4094% 11.7371%;}
.delivery-canvas .courier-art{width:120px;height:169.714px;aspect-ratio:auto;background-size:438.8571% 206.8687%;background-position:7.7572% 90.7372%;}
.delivery-canvas .customer{width:93px;height:177.058px;aspect-ratio:auto;background-size:590.7692% 206.8687%;background-position:53.6834% 90.7372%;}
.delivery-canvas .crate{width:44px;height:37.632px;aspect-ratio:auto;background-size:404.2105% 315.0769%;background-position:94.2907% 89.4134%;}
.van-group{left:310px;top:130px}.van{top:0}.door{left:179px;top:38px;border:0;border-radius:0;box-shadow:none;background-color:transparent}.door:after{display:none}.door img{left:24px;top:55px;width:75px;height:52px}.home-group{top:135px}.customer{left:12px;top:93px}.hello{left:105px;top:93px}.delivery-team{left:530px;top:237px}.courier-art{left:0;top:0}.trolley{left:103px;top:25px}.crate{left:23px}.crate-0{top:84px}.crate-1{top:56px}.crate-2{top:28px}.crate-3{top:0}
