Girl studies Latin to compete and find out what happened to her older brother
ETA: Honestly it might not be Latin, it could've been Roman, hieroglyphs, or some other dead language. The more I think about it, the more I think it might've been hieroglyphs.
I read this book when I was in high school, about 6 years ago. It was from my high school library, so definitely intended to be an older-teen book. I'm pretty sure it was paperback.
The gist of the book was that the main character was a teen girl who was one of the last people to know/study Latin. She had an older man as a mentor. She is studying for some sort of competition where she has to decipher Latin phrases/symbols/clues. Her older brother had studied Latin and competed, but he either died or went missing; this is why she is studying to compete. I only read about half of the book, but I remember her competing and I believe part of the competition took place high up in trees? And she needed to decipher things quickly to progress, because she was being chased or stalked by something (I think that she didn't know that would happen, ie. it wasn't a known part of the competition - either she was being hunted because of who she was, or it was a secret part of the competition, but she began to realize that this is why her brother disappeared). I hope someone can find this book, I'm beginning to think it was just a fever dream.