Seol mar théacs é seo: Axion-driven cosmic magnetogenesis prior to the QCD crossover