Planning for the end of fossil fuel and beyond 2050