The concept of “judicial review” does not appear in the Constitution and represents one of the earliest instances of judicial activism—The Supreme Court essentially inventing a role for itself out of thin air.
It would be fascinating to watch the fall-out from a modern-day leader rejecting a SC ruling on that basis.
In no way am I for same sex marriage, but I think the States should decide that and tell the Judges and U. S. Government to stay out of it.