I imagine I'm a slower analyst than dburn anyway, but it took me a while to work out that I couldn't make with trumps 4-1, even if I sneaked a diamond to the queen through.
I also spent a while working out that I didn't know where the HQ was. Even if RHO is balanced, she could have had QJ10 xx AJx AKJxx and can easily be 3-1-4-5 or 2-2-4-5.
The lines I considered where
i) duck the spade and subsequently get hearts right
ii) ace of spades, club ruff, heart to the ace, club ruff, diamond, get the end position right
iii)(a) ace of spades, club ruff, diamond, if RHO ducks this, club ruff, heart, trump
iii)(

ace of spades, club ruff, diamond taken on my right, win the next trump, queen of diamonds, then either (iii)(

(i) heart to the king, king of diamonds, run the jack of hearts or (iii)(

(ii) ace of hearts, heart to the king, king of diamonds hoping for one short red honour
I didn't consider david's suggestion of
iii)(a)(ii) spade, club ruff, diamond ducked, club ruff, diamond exit
although I also like it now it's been suggested (it risks a trump promotion when RHO is 3-5 in the blacks)
It seemed to be a balance between leaving as many options open in the red suits as possible combined with getting two club ruffs.
What I actually did was win the spade, club ruff, diamond to the queen (which held), club ruff, heart to the ace, top spade, diamond to the 10. This certainly worked. But then any line that doesn't involve playing LHO for the HQ will work.
LHO has xx xxx Jxx 8xxx and RHO QJ10 Qx Axxx AKJ10 and I don't know why LHO led the 8 of clubs (nor really why RHO doubled 2C given the 1C bid was natural, perhaps it was supposed to show extra high cards).
At the other table they got as far as 2S which they made with one overtrick.
1♣ 1♠ P 2♣
x P* P 2♥
P 3♣ P 3♦
P 4♠ all pass
*non-minimum