Classical and generalized geometric phase in electromagnetic metasurfaces | Synapse