How the fossil fuel era ends – and four possibilities