Frank Herbert’s science fiction masterpiece Dune, published in 1965, delves deeply into a medieval society’s politics, religion, and ecology.