A Pennsylvania federal judge has ruled that Nike is on the hook for legal fees but can escape some costs after a jury found in October that the athletic gear giant infringed a Philadelphia-area sportswear company’s trademarked “cool compression” branded clothing.