(I forgot to mention that the intervening \footnote is also essential, but its content...
Clash between mathtools, unicode-math, \setmathfont[range=...], and \DeclareMathAlphabet
vphantom, superscripts, and unicode-math