You might belong in Gryffindor,
Where dwell the brave at heart,
Their daring, nerve, and chivalry
Set Gryffindors apart;
(Harry Potter and the Sorcerer's Stone)
It seems somewhat awkward that we say both ‘at heart’ modifies the previous noun, and it functions as an adverbial. What does it mean, and what role does it take?