Hidden one-dimensional spin modulation in a three-dimensional metal