Spectral fundamentals of metamaterials