Using climate uncertainty for functional resilience