Finely dice the 3 onions into 1/4-inch pieces—uniformity here ensures even caramelization. Melt the butter in a large skillet over medium heat, then add the diced onions, salt, and sugar. Cook, stirring occasionally, for about 30 minutes until the onions turn deep golden brown and develop sweet, rich flavors. Add the white wine in small amounts (a tablespoon or two at a time) throughout cooking, allowing it to evaporate between additions—this prevents the pan from becoming too wet and helps build complex flavor. I like to let the onions sit undisturbed for a minute or two between stirs, which encourages deeper browning on the bottom of the pan.
While the onions finish cooking, combine the room-temperature cream cheese and sour cream in a large bowl. Stir until smooth and well-blended—the room temperature cream cheese should mix easily without lumps. Once the caramelized onions have cooled to room temperature (this takes about 10-15 minutes), fold them into the cream cheese mixture along with the fresh parsley. I recommend folding rather than stirring here to keep the dip airy and prevent overworking the mixture.
Add the finely grated garlic, Worcestershire sauce, and freshly ground black pepper to the dip. Stir gently to distribute the seasonings evenly throughout. Taste and adjust seasoning as needed—you may want additional salt, pepper, or Worcestershire depending on your preference. Transfer to a serving bowl and refrigerate until ready to serve, allowing the flavors to meld together for at least 30 minutes before serving.