Architectural innovations and adaptations are helping to bring permanence to a flood-prone land