Vernacular architecture inspires flood-proof housing