Resilient and multifunctional grasslands for agriculture and environmental service during a time of climate change