Genetic and functional variation across regional and local scales is associated with climate in a foundational prairie grass.