The Last Siege by Jonatha Stroud
Emily, Simon and the enigmatic Marcus break into the forbidden interior of the keep of a castle and lay themselves open to the lure of its past history, mystery and timelessness. Despite the freezing conditions, they decide to spend the night there.