The diverse pathways of social inequality transmission in the neighbourhood