“Whether the city saves itself, or whether it becomes the first megacity lost to environmental catastrophe, will depend on a combination of ground-level social change and engineering works of unprecedented scale to hold back the tide.”