The same-sex marriage battle is being fought in the states, not least to avoid another Roe v. Wade.