"A detailed look at the mountain John wants to dance with an elephant" is perfectly grammatical. John wants the mountain to dance with an elephant. Let's take a detailed look at that mountain.
"Look at the car I want to buy." "Look at the horse I want to win the race." "Look at the OS I want to replace Windows."
"Look at the car I want to buy." "Look at the horse I want to win the race." "Look at the OS I want to replace Windows."