If coffee is leaving you wired by mid-afternoon, try swapping one cup for...
https://rafaelssplendidperspective.scriblorax.com/posts/i-love-coffee-taste-but-caffeine-ruins-my-sleep-what-should-i-try-first
If coffee is leaving you wired by mid-afternoon, try swapping one cup for rooibos or a gentle matcha. Rooibos is naturally caffeine-free, while matcha offers a slower lift for some people