Snell geometry and layer phase
The angle is measured from the normal. The cosine, not the longer geometric zigzag length by itself, determines the relative phase at a common outgoing wavefront. Indices are constant real values; changing index never secretly retunes thickness.