Statistical physics of inhomogeneous transport: Unification of diffusion laws and inference from first-passage statistics Article uri icon