But, conservative justices clearly had a bone to pick there, despite obvious conflict with the words of the constitution. For some reason.
There's a long and storied history of things being in conflict with the constitution and justices simply not caring. Slavery and Dred Scott come to mind, and although I'm sure there's plenty examples peppered in from other parts of the grand political spectrum, it's never been a well kept secret that the conservative M.O. is noticeably bolder and shameless in almost all regards, its major strength actually being in its willingness to use every tool at its disposal with minimal concern for blowback or legitimacy.
The recent state law strike down coming across as highly ironic (but probably not to conservatives since it achieves the actual goal not of ethics or consistency, but of simple victory) because so much of what conservatives got away with for decades directly defying the constitutional rights was based heavily on the concept of state's rights. Like informal slavery/servitude after the war, or keeping your elections nice and extremely predictable until that awful civil rights movement.
"Textbook" has nothing to do with this, or any of the wild departure of rulings being made in recent times. It's all very, VERY simple strategy: use what you have; dismantle what you can; build defenses where you can; you're in this for the Party.