How civilization lost technology