Probing vertically graded anisotropy in FePtCu films