Tunable biomimetic chalcogels with Fe4S4 cores and [Sn(n)S(2n+2)](4-)(n = 1, 2, 4) building blocks for solar fuel catalysis.