Three-halves variation of geodesics in the directed landscape