The most expensive bit in a building is the land it sits on. The denser the cluster of people the more expensive the land becomes. People cluster around jobs. The more the jobs get distributed geographically the less people need to cluster and the more affordable housing becomes. Remote work is the way to solve the housing crisis. There can be smaller regional clusters of people working in shared offices or small off…
This isn't always the case even in smaller cities, let alone truly rural areas. I live in a suburban area of a small city and empty lots around here go for under $100k, and only the very cheapest houses built on top of them cost less than that to build.
Remote work is nice, but only a minority of jobs can be performed remotely; and there is a certain degree of economies of scale in "human farming" (nice phrase!), so I think the majority of jobs will always remain in denser areas.