Adaptive technologies and co-design strategies for historic spaces rehabilitation