How California became a warning to the world