Would a linguist find the following sentence to be a valid English sentence grammatically?

Where did you disappear before you hid the gold?
Possible answers:
 (A). unacceptable.
 (B). acceptable.
(A).