Metal-enriched halo gas across galaxy overdensities over the last 10 billion years | Synapse