Resilience as a multimodal dynamic process