Cattle are losing traits that helped them thrive in specific environments. New selection tools aim to match genetics to local conditions.