Tunable and polarization-sensitive perfect absorber with a phase-gradient heterojunction metasurface in the mid-infrared.