Text this: Climate-resilient railway networks: a resource-aware framework