How the US military’s opium war in Afghanistan was lost