Strip it to the truth. Then rebuild it clean. Every piece of this work is made under the same seven steps — no exceptions, no shortcuts.
Read the exact shape of a thing before touching it. Most failure begins with acting on what we assume rather than what is.
So nothing is touched before a safe copy of it exists. Then the real thing is read — the file itself, the live page itself, the actual error — never a memory of it. If something is not known, it is measured or asked. It is never guessed.
Find the root cause completely. A symptom treated is a symptom that returns. The truth beneath it, once found, sets the whole solution.
This is where first principles do their work: the problem is stripped down to the few truths that cannot be denied, and every assumption that cannot survive scrutiny is discarded. What remains is the ground the answer is built on.
One precise correction, built clean. Never on top of broken work. No patches on patches. Whatever must change is made again, whole.
Then it is tested before it is trusted. Only when it stands is it sealed — a copy of the working version, kept, so the way back always exists.