Text this: Sustainable inventory management for a closed-loop supply chain with energy usage, imperfect production, and green investment