Styles plays Tom in the film, a policeman caught in a forbidden love triangle with a young woman and an urbane art galle