Root systems, affine subspaces, and projections