Geologists have turned a series of 200 million-year-old lake-bed sediments into an epic narrative of the dinosaurs’ journey from ecological obscurity to Earthly supremacy, a mystery that has lingered even as their disappearance is explained.