Substrate conformal imprint lithography for nanophotonics door