Anime that give your brain something to chew on

I don’t know how else to describe it! I like anime that teach me fun facts about niche things I wouldn’t know otherwise, get kinda philosophical, and otherwise just engage the audience in a cool way. I’m a big fan of puzzles, mystery, and mind games, but it doesn’t have to be dark or gritty.