The headquarters of a leading independent sportswear firm has been sold by JD Sports - but the future is looking bright.