A Climate-Driven Functional Inversion of Connected Marine Ecosystems