The self-production of society