An ancient rock fortress looms over the lush forests of Sri Lanka.