Manufacturing activity remains firm as costs rise sharply