Brother I am laughing with you, not at you. I know the situation you are in and I feel for you. Please don't beat yourself up over this...I am sure you are an accomplished woodworker, just as I am, but trim and doors can kick you in the hiney sometimes.
Over on the Wood Forum a few months ago a guy was asking about building a front door. He got a quote of 2 grand for a new custom made mahogany door. He was asking if he should make his own.
I was a stout voice in saying no way. The reasons are simple, to build a door is tough business. It must swing, move, get slammed shut, pounded on and still keep out wind and rain even through ten thousand cycles of opening and closing. It often better to let someone else who knows what they are doing make doors. I tried it once and was not happy with the result. To be honest with you, getting the trim to seal and fit tight against an already built door is trying enough.
About the only help I can offer you is to take you back to physics class. Remember the phrase "Three points in space make a plane?" Well that is what you have to do. No matter how hard, the two hinges and the latch must be co planer. That will give you a door that shuts and latches. The rest of the area around the door must be shimmed or filled in so the trim can be attached and seal and cover things up.
By the way, you came to the right place. With a few pictures, a willingness to try new things, and some thought and help from everyone, you'll get the door to look great.
I have no intention of traveling from birth to the grave in a manicured and well preserved body; but rather I will skid in sideways, totally beat up, completely worn out, utterly exhausted and jump off my tractor and loudly yell, "Wow, this is what it took to feed a nation!"