but people are more sexist and racist than they realize. it's literally in our genes to prefer the in-group over the out-group.
The Woke and the Trumpists hate each other because they're each other's outgroup.
In other words: nowhere in particular, yet when you take the end product as a whole, it's there still the same. The realities of group selection will not be mocked.
So, maybe not "literally in our genes" like GP wrote in the sense of specific location, but ineradicable nonetheless.
This concept of "ineradicable yet impossible to pin down" is a pattern you'll see anywhere development happens from abstract top-down pressures. Amazon's problems with AI-assisted hiring are relevant here, as is the connection between corporate malfeasance and quarterly targets.