The promise and limitations of nature-based solutions in the race to adapt to increasing floods and droughts.