Title: Towards a demo-ecological theory of transition