Earthquake resilience in infrastructure