Shell structure, emerging collectivity, and valence p-n interactions