Problem Statement
Given square $ABCD$, let $E$ and $Z$ be the midpoints of sides $AD$ and $BC$ respectively. Construct an equilateral triangle $EZL$ with $L$ in the half-plane with respect to $EZ$ containing points $C$ and $D$.
Let $ZK$ be the ray perpendicular to $ZL$ that intersects side $AB$ at point $K$. Draw $ZM$ perpendicular to $KL$, intersecting side $EL$ at point $M$. Let $P$ be the intersection of line $KL$ with side $EZ$.
Prove that $M$ is the orthocenter of triangle $KPZ$.
Context
I was studying properties of parallelograms, particularly the special case of squares, and wanted to combine them with another symmetric figure—specifically, an equilateral triangle.
In square $ABCD$, I took the midpoints $E$ and $Z$ of sides $AD$ and $BC$ respectively, and constructed an equilateral triangle $EZL$ with side $EZ$. I then drew $ZK$ perpendicular to $ZL$, intersecting side $AB$ at point $K$. From point $Z$, I drew a perpendicular to $KL$ intersecting $EL$ at point $M$.
Looking at the obtuse triangle $KPZ$ (where $P$ is the intersection of $EZ$ with $KL$), I observed that segment $ZM$ is an altitude of this triangle by construction. This led me to wonder: could the point $M$, which lies outside triangle $KPZ$, be its orthocenter?
Through exploration, I discovered that this is indeed true, and moreover, the four points $K$, $M$, $Z$, $P$ form an orthocentric system (each point is the orthocenter of the triangle formed by the other three).
I would be particularly interested in alternative approaches using analytic geometry, complex numbers, vectors, or geometric transformations, as well as any generalizations.

