I am gathering some available informations on Jacobi elliptic functions $sn(z,k)$, $cn(z,k)$, $dn(z,k)$ with $k\in\mathbb{C}$, $|k|=1$. I can not find much on them in standard references (Abramowitz&Stegun, DLMF, wiki,...). It seems that something interesting happens in the particular regime when $|k|=1$.

For instance, I am interested in questions like: Is the formula for the Fourier series [Abramowitz&Stegun, eq. 16.23.2] $$ cn(z,k)=\frac{2\pi}{k K(k^{2})}\sum_{n=0}^{\infty}\frac{q^{n+1/2}}{1+q^{2n+1}}\cos\frac{(2n+1)\pi z}{2K(k^{2})} $$ still valid if $|k|=1$ and $k\neq\pm1$? What happens with the nome $q$? Is, for example, true that $|q|<1$? Etc.

Do you know some source where these properties of Jacobi elliptic functions with $|k|=1$ have been studied? Thanks!