Text this: Optimizing the environmental footprint of livestock production