As climate change’s effects intensify, high schools and community colleges are introducing or expanding classes in fire science, search and rescue and ecological sustainability.