During the tens of millions of years that dinosaurs were evolving the signature features of birds one by one, there was no long game, no greater aim. There was no force guiding evolution to make these dinosaurs ever more adapted to the skies. Evolution works only in the moment, naturally selecting features and behaviors that make an animal successful in its particular time and place. Flight was something that just kind of happened when the time was right.

