Earthquake-resistant limit-state design for buildings