The second inquiry is the point at which intermediate scrutiny comes into play and asks what the State's interests are in discriminating based on gender (which is actually how the law discriminates, I think; the law, again, doesn't prohibit sexuals from marrying -- it prohibits men from marrying men and women from marrying women, regardless of their sexual orientation), whether those interests are important to the State, and whether the limitation created by the law is substantially related to limitation on individual rights.