Supply-chain discipline and inventory control are now protecting margins even as raw material costs rise.