The emergence of our complex cosmos