Integrating g-C3N4 nanosheets with MOF-derived porous CoFe2O4 to form an S-scheme heterojunction for efficient pollutant degradation via the synergy of photocatalysis and peroxymonosulfate activation.