Biofilm shows spatially stratified metabolic responses to contaminant exposure.