The metaverse: reconstructing society from first principles