Marriage is not a religious institution
The United States is not a theocracy.
Marriage is a civil social institution in this country and is about to be hijacked by runaway courts while you mewl your pernicious theories.
The Federal Constitution can be ammended to govern how the Federal government will define it and treat its participants and what benefits/responsibilities it will assign to it for federal purposes (including federal courts). It needs to be done, although I'd be just as happy to accompany it with an impeachment of a judge or two or three.