her hands were scratched and her clothing was ripped in several places by the time she managed to reach the end of the tunnel , but her heart gave a leap at the sight of the entrance carved into the stone wall .