Loosening restrictions and border measures as vaccination increased, then tightening again against new variants and waning immunity.