To unlock materials of the future, including better photocatalysts or light-switchable superconductors, researchers need to understand how the valence electrons within materials respond to light at the atomic scale. Materials are made of atoms, and an atom’s outer electrons, or valence electrons, are responsible for chemical bonding as well as a material’s thermal, magnetic, and electronic properties.