Climate stress is reshaping coral reefs as habitat loss causes reef fish communities and social groups to collapse.