A revolution in archaeology is transforming our picture of past populations and the scope of human freedoms