A path to resilience amid climate change