Since she was a child she discovered that she liked words more than numbers. A world of knowledge. 'I want to know more.' 'There is a hidden meaning.' She never took people's words at face value and analyzed everything.
That's right long before she even met Yuhi, she already found herself to be attracted by books that contained knowledge of this world. Originally it was only a means of escape, escape from all the shouting.
Her parents often fought. Indeed, her family life wasn't exactly as peaceful as what the general public thought it was.
Everybody saw the Ibuki family as a perfect rich family. Every family member is privileged, and they all got along well.
Nobody would have thought that the perfect family is an illusion. That family long fell apart, so perhaps what happened then was atonement.
It was atonement for what happened before. In that sense, there really is no meaningless misfortune.