How inflation took a bite out of workers' wages as they rose over the past decade