Imagine waking up one day to discover that a handful of judges had decided that the government could invalidate your marriage. Suddenly, the legal structure that holds your family together could be unraveled, creating uncertainty in some of life’s most intimate domains — child custody, estate planning, medical decisions.