The Architecture of Envy