One mask, two physical behaviours
Opening fraction sets real slit width. The amplitude mask blocks light outside the openings; phase stripes change amplitude phase, not intensity transmission. The aperture envelope is finite. The programmed phase is specified at the chosen wavelength, not inferred from an unspecified material.