Text this: Mathematical structures of social mobility.