Researchers have gained insights into how beer may have helped keep the massive Wari empire in Peru afloat for 500 years.