A five-year renovation has transformed an 11th-century castle into the UK’s most accessible heritage attraction.