How was Jesus "made of the seed of David" if the Holy Spirit, rather than Joseph, was his father?
Two possible answers:
Through Mary
It's a mystery.
SD
Heheheh... That's right. Skip the formalities, and get right to the meat.
Through Mary
Even aside from the issue of whether or not kingship could be passed on matrilineally (it couldn't), it appears that Mary was a Levite, not from the tribe of Judah.
In the days of Herod, king of Judea, there was a priest named Zechari'ah, of the division of Abi'jah; and he had a wife of the daughters of Aaron, and her name was Elizabeth. (Luke 1:5)
Since Mary and Elizabeth were cousins (or "sisters" ;o), presumably Mary would also be from the line of Aaron.
It's a mystery.
(Cueing "Twilight Zone" music... ;o)