The social and moral ecology of education for flourishing