Photonic skin-depth engineering