Text this: A three-phase amplification of the cosmic magnetic field in galaxies