Long-range fermions and critical dualities