Text this: Upcycling mine tailings into functional materials for environmental remediation and energy storage applications