Have you looked at rituals people do in the ~hopeless situations Daniel mentioned for inspiration? I think the actions of the seed bank during the siege of Leningrad were admirable; they frequently used honor/​glory framings and the consequences for future generations as motivation. But this is all used to inspire people to do their heroic jobs, so without people having agency, it seems tricky to frame things well and unclear how they should relate to possible doom.
Have you looked at rituals people do in the ~hopeless situations Daniel mentioned for inspiration? I think the actions of the seed bank during the siege of Leningrad were admirable; they frequently used honor/​glory framings and the consequences for future generations as motivation. But this is all used to inspire people to do their heroic jobs, so without people having agency, it seems tricky to frame things well and unclear how they should relate to possible doom.