Text this: Diffraction Optics of Complex-Structured Periodic Media