The secret might have been, all along, wake up late, arrive at work shortly after without doing much in between[1], and start designing already while commuting.
Notably I've been able to achieve a little bit of the same while half-falling asleep, with the added caveat that it requires jotting down good ideas for the next day. And they may be not quite discernible the next day.
Bears repeating - not quite the best code, but certainly the best functionalities.
--
[1] breakfast before work is a productivity killer