High-tech fabric that can withstand a beating can lead to tough smart clothing