Robert Eggers has only made four movies, but he is already celebrated for his unstinting focus on period detail. It turns out that he was inspired by the best.