Spatial scale mediates the effects of biodiversity on marine primary producers.