A Prym construction for the cohomology of a cubic hypersurface. Harmonic maps into Bruhat-Tits buildings and factorizations of \(p\)-adically unbounded representations of \(\pi_1\) of algebraic varieties. I 