Same-sex marriage: Lobbying, polling, timing, key lawmakers led to victory