Electromagnetic contributions to lepton g−2 in a thick brane-world