Data-driven biomolecular design to boost the efficiency and sustainability of mining for critical minerals.