Tectonic controls on magma genesis and evolution in the northwestern United States