Lifeline response to spatially variable ground motions