What was the plan for white?


after Na7, the attack is too strong, moves like c5 demolish the pawn structure and when the other rook will be over, the game will be too
9 Qc2 is a mistake and should have been 9 Qd2. Black has weakened the dark squares on his king's wing with ...g6 and ...e6, so it is logical to prepare Bh6 to trade off Bg7.
8 Bf4 and 10 Be3 loses a tempo, better 8 Be3 right away
8 a4? loses the bishop's pair to 8...Nb4
21 Nb3 what is the knight doing there? Recapture 21 Nxe4
24 c5? loses a piece. This is the decisive error.
24 Na7 does not help: black counterattacks with 24...h3. Therefore blocking with 24 h3 was best, intending to double rooks on the open a-file either Ra2 and Rda1, or Rd2 and Rda2.
27 Rc1 is not the best. Most tenacious is still to double rooks on the a-file either Ra2 and Rda1, or Rd2 and Rda2.