Text this: Dispersion-engineered spin photonics based on folded-path metasurfaces