How can one go to a vigil Mass on Saturday and have it count as their Sunday obligation if Sunday hasn't begun at sunset?
Because we Catholics are a little flexible on when "sunset" begins. Normally any Mass after 5pm on Saturday fulfills your Sunday obligation.
Vigil masses on Saturday after sunset satisfy the Sunday obligation for the same reason that masses after sunset on Sunday satisfy the Sunday obligation: Because the Church says so.