Complex Systems in Crisis: Anticipation and Resilience in Dynamic Environments