  We consider the KdV equation on a circle and its Lie-Poisson reconstruction,
which is reminiscent of an equation of motion for fluid particles. For periodic
waves, the stroboscopic reconstructed motion is governed by an iterated map
whose Poincar\'e rotation number yields the drift velocity. We show that this
number has a geometric origin: it is the sum of a dynamical phase, a Berry
phase, and an "anomalous phase". The last two quantities are universal: they
are solely due to the underlying Virasoro group structure. The Berry phase, in
particular, was previously described in [arXiv:1703.06142] for two-dimensional
conformal field theories, and follows from adiabatic deformations produced by
the propagating wave. We illustrate these general results with cnoidal waves,
for which all phases can be evaluated in closed form thanks to a uniformizing
map that we derive. Along the way, we encounter "orbital bifurcations"
occurring when a wave becomes non-uniformizable: there exists a resonance
wedge, in the cnoidal parameter space, where particle motion is locked to the
wave, while no such locking occurs outside of the wedge.
