SF is weird in that one block can be pretty nice, and a walk a few minutes in the wrong direction can put you in the middle of skid row. It is a rapid and jarring transition.
A night out for the unaware can start with an early dinner at a Michelin-starred restaurant in Hayes. You enjoy a performance of La Boheme at the opera, and afterwards walk across the street to look at the beautiful neoclassical architecture of City Hall lit up at night with colors of pride. You walk one more block looking for a nightcap and... What the fuck, why am I surrounded by tents, drug dealers, and someone seizing on the sidewalk from a fentanyl overdose?