Vael
Legend
I'll second Strixhaven and The Magicians. Both, admittedly, are more about college level, not elementary/high school age kids, but they engage with the material in interesting ways. The books The Magicians are based on, I'll admit I only read the first one and found it okay, but it apparently is an interesting response to The Chosen One narratives that are prevalent in ... those books.
Speaking of which, the other one I'd suggest is Rainbow Rowell's Simon Snow Trilogy: Carry On, Wayward Son and Anyway the Wind Blows ... it's HP fanfic (kinda, the world is different, but it is very much a take on HP) and a Harry/Draco one at that. I spent half the book expecting a Cease and Desist from Rowling, so reading a very queer, much more pop cultured fan ficy response to the books feels like delightful spite.
Speaking of which, the other one I'd suggest is Rainbow Rowell's Simon Snow Trilogy: Carry On, Wayward Son and Anyway the Wind Blows ... it's HP fanfic (kinda, the world is different, but it is very much a take on HP) and a Harry/Draco one at that. I spent half the book expecting a Cease and Desist from Rowling, so reading a very queer, much more pop cultured fan ficy response to the books feels like delightful spite.