Geometry, dynamics, and Anosov representations