Variational wave function for nonuniform, noncollinear S=1/2 quantum antiferromagnets