Resilience in the rural Andes: critical dynamics, constraints and emerging opportunities