Text this: New foundations for applied electromagnetics