Bojack is so intricate with details and you see references from the last season to the first that were obviously intentional, so many hidden gems, this shit was definitely completely written out before they started producing the first episode.
Breaking bad imo but I can’t think of any others.
Arrested Development has the same thing where seemingly random plot lines or jokes with no punchline suddenly have a payoff and punchline episodes and episodes later. It’s that same smart humor. However, a LOT of it has not aged well.