As long as at least one foot is on the line, it is not encroachment, the box is not a “glass box” so to speak in these situations. In the first kick there was definite potential encroachment (more on that potential bit later)...but both teams did it and it wouldn’t have mattered as it just results in a retaken kick…