In this article we describe and develop an optimality-theoretic (OT) analysis of foot-level (secondary) and word-level (primary) stress in Nanti, a Kampa language of Peru. The distribution of stress in Nanti is sensitive to rhythmic factors, syllable quantity, vowel quality, and to whether a syllable is open or closed. The interaction of these independent variables produces a complex, multigrad...