How Buildings Stay Up When the Earth Shakes