Raphael Viñoly’s serpentine-shaped building snakes up San Francisco hillside