Wool. It breathes & is warm. Has natural lanolin to fend off the moisture. Get you a good Scottish sweater & you’ll be fine.
Then there’s this attempt to combine the two, wool and puffer. I offer it as proof of concept, and assume you could find a more attractive version of you look harder than I just did. https://www.farawayclothing.co.....dark-grey/
Or you could just do an anorak like the ones I see around here all the time these days. There are technical fabrics made to do what wool does. Some of them are even kind of puffy. Right now, San Fran (midnight) is 10 F cooler and has 3% more humidity than here (9 am) and Berliner are out there in their goretex or other tech fabric anoraks.
Get you to an REI and they will take care of you, or check out the offerings at my newest fave, Orvis. They don’t make a big deal of it, but reading product descriptions shows lots of sustainability moves.
Also, I’m surprised. I thought chilly and humid (foggy) *was* San Fran weather.
ETA I thought this was about outerwear, but of course Joy is right that good base layers work too. Try Odowool or Icebreaker some of those other merino long johns that LaPed wears. Dilling and Gieswein might work too.