Some of the blue state’s new policies stem from long-running battles, while others are responses to Trump 2.0.