Training induced brain fog - solutions?

Okay reporting back with some results - the combination of eating more carbohydrate and eating earlier in the day does seem to have helped, though it’s still a bit of a work in progress. I’ve however visibly put on bodyfat from doing this. It seems like it should be very possible to do some rides slighlty underfueled (or at least in a lower carbohydrate state) and still be a functional uhman being e.g. as reocmmended by James Morton of team sky fame

So a question - is it a case of contuing to fiddle with my eating until I find something that works, or will eating to only maintain (or lose) weight mean a return to regular brain fog?