Read the following excerpt from a poem:
"Amidst the shadows, where whispers lie,
Hope threads through the darkness, a soft lullaby.
In the heart of despair, a flicker remains,
Carrying warmth through sorrow's chains."
Based on the tone and mood of this excerpt, what is the most appropriate description of the poet's attitude?