Emergent photons and transitions in the O(3) sigma model with hedgehog suppression