Graduate-level textbook describing the principles of nanophotonics, for students in physics, optical and electronic engineering and materials science.[...]