Engineering a protein-based nanoplatform as an antibacterial agent for light activated dual-modal photothermal and photodynamic therapy of infection in both the NIR I and II windows.