Resilient livestock production systems that mitigate climate change