Hot orogens, tectonic switching, and creation of continental crust