Ultrathin structures that can bend, focus, or filter light, metasurfaces are reshaping how scientists think about optics.