The day is chilly and gray—San Francisco at its worst, the air heavy with drift smoke from an inferno raging 180 miles to the northeast.

In the plush lobby bar of the Ritz Carlton atop Nob Hill, David Boies kicks off a recent interview at sunset with an old joke: Mark Twain said the coldest winter he ever spent was a summer in San Francisco.