Gradient optimization of multi-layered density-graded foam laminates for footwear material design.