In nearly every organization that would be a huge demotion WITH a huge pay cut. In this instance because coders are paid so much more than most other professions it’s possible it was a lateral move or even a pay raise! But no question as far as responsibility for the direction of the organization it’s a huge demotion.
As someone who has worked at a variety of companies - this isn't true. It's just a title. I've seen plenty of "director of X" with no direct reports. I don't know how big Stack Overflow's design department is but with only 300 people in the company - I can't imagine it being massive enough to warrant a typical director title you'd see at some truly big corps where a director has 50+ people under them.
I don’t know what one calls the director of directors, though.
This person was not a developer previously, so I don't understand how they were "demoted." Other than management > individual contributor.
What really happened was they changed jobs to do something they found more fulfilling. Which is great, but if I decided to change careers to building furniture, I wouldn't say I "got demoted to making furniture."