The last mile of logistics has become less about reaching the doorstep and more about navigating complex networks of internal handling, security requirements, and fluctuating recipient availability.