Long-Sequence Memory with Temporal Kernels and Dense Hopfield Functionals