The film tips its hat to a variety of animated forebears, including the works of celebrated director Hayao Miyazaki.