With 2-1 win, Ridgefield advances to state quarterfinals