It’ll be interesting to hear what your mechanic says.
FWIW, I once had a truck that started perfectly at cold starts, but would not start after the engine was warm. It turns out it was a bum fuel pressure regulator. The part wasn’t all that expensive, but the diagnosis was.
FC