Is a 3-degree glideslope based from the runway surface slope at the point where the antenna is installed or is it referenced to a zero-degree plane?

If you know of a design document or FAR/AIM reference, please include that as well.