Folding in architecture