/* ============================
   LocalsOutpost — Landing story
   Below-search narrative (benefactory)
   ============================ */

.lo-story {
  --lo-ink: #1a2418;
  --lo-forest: #2f4f2f;
  --lo-leaf: #3d6b3d;
  --lo-mist: rgba(47, 79, 47, 0.08);
  --lo-line: rgba(47, 79, 47, 0.16);
  max-width: 760px;
  margin: 0 auto;
  padding: 4.5rem 1.35rem;
  color: var(--lo-ink);
  font-family: var(--lo-body-font, 'Nunito', sans-serif);
}

.lo-story__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lo-leaf);
}

.lo-story__title {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4.5vw, 2.55rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--lo-forest);
}

.lo-story__lead {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.65;
  color: rgba(26, 36, 24, 0.78);
}

.lo-story__aside {
  margin: 1.35rem 0 0;
  padding-left: 1rem;
  border-left: 3px solid var(--lo-forest);
  font-size: 1.02rem;
  line-height: 1.55;
  color: rgba(26, 36, 24, 0.72);
}

/* Manifesto — soft atmospheric band */
.lo-story--manifesto {
  max-width: none;
  padding: 5rem 1.35rem;
  background:
    radial-gradient(ellipse 70% 80% at 10% 0%, rgba(107, 143, 107, 0.18), transparent 55%),
    linear-gradient(180deg, #f7f4ec 0%, #efeadf 100%);
}

.lo-story--manifesto .lo-story__title,
.lo-story--manifesto .lo-story__lead,
.lo-story--manifesto .lo-story__eyebrow {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.lo-story--manifesto .lo-story__lead {
  margin-top: 0;
  max-width: 640px;
}

/* Spectrum — not cards; stacked need lanes */
.lo-spectrum {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--lo-line);
}

.lo-spectrum li {
  display: grid;
  grid-template-columns: minmax(5.5rem, 7rem) 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--lo-line);
  align-items: start;
}

.lo-spectrum strong {
  font-size: 1.1rem;
  color: var(--lo-forest);
  letter-spacing: -0.02em;
}

.lo-spectrum span {
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(26, 36, 24, 0.72);
}

/* Flow */
.lo-flow {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
}

.lo-flow li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.lo-flow__num {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--lo-forest);
  color: #fff;
  font-size: 1rem;
}

.lo-flow h3 {
  margin: 0.15rem 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--lo-ink);
}

.lo-flow p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(26, 36, 24, 0.72);
}

/* Fabric band */
.lo-story--fabric {
  max-width: none;
  background:
    linear-gradient(165deg, #243824 0%, #2f4f2f 45%, #3a5c3a 100%);
  color: #f4f1ea;
}

.lo-story--fabric .lo-story__eyebrow {
  color: rgba(234, 236, 96, 0.9);
}

.lo-story--fabric .lo-story__title,
.lo-story--fabric .lo-story__lead,
.lo-story--fabric .lo-story__aside,
.lo-story--fabric .lo-story__eyebrow {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.lo-story--fabric .lo-story__title {
  color: #faf7f1;
}

.lo-story--fabric .lo-story__lead {
  color: rgba(250, 247, 241, 0.86);
}

.lo-story--fabric .lo-story__aside {
  border-left-color: #eaec60;
  color: rgba(250, 247, 241, 0.78);
}

/* Pulse / speed meter restyle inside story */
.lo-story--pulse.speed-meter {
  max-width: 760px;
  margin: 0 auto;
  padding: 4.5rem 1.35rem;
}

.lo-story--pulse .lo-story__title {
  margin-bottom: 2rem;
}

.lo-story--pulse .meter-bar .label {
  font-size: 1rem;
  color: var(--lo-forest);
}

.lo-story--pulse .meter-bar .bar {
  background: var(--lo-mist);
  border-radius: 8px;
  height: 14px;
}

.lo-story--pulse .meter-bar .fill {
  border-radius: 8px;
  background: linear-gradient(90deg, var(--lo-forest), var(--lo-leaf));
}

.lo-story--pulse .meter-bar .desc {
  color: rgba(26, 36, 24, 0.68);
}

/* CTA */
.lo-story--cta.cta-section {
  max-width: none;
  padding: 5rem 1.35rem;
  background:
    radial-gradient(ellipse 60% 70% at 80% 20%, rgba(107, 143, 107, 0.16), transparent 50%),
    #f7f4ec;
}

.lo-story--cta .lo-story__title,
.lo-story--cta .lo-story__lead {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.lo-story--cta .lo-story__lead {
  margin-bottom: 1.75rem;
}

.lo-story--cta .cta-button {
  background: var(--lo-forest);
  border-radius: 12px;
  font-family: var(--lo-logo-font, 'Nunito', sans-serif);
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.lo-story--cta .cta-button:hover {
  background: var(--lo-leaf);
  box-shadow: 0 0 0 4px rgba(47, 79, 47, 0.18);
}

/* Voices — quotes without card chrome */
.lo-voices {
  margin-top: 2rem;
  display: grid;
  gap: 2rem;
}

.lo-voice {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}

.lo-voice blockquote {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--lo-ink);
  font-weight: 500;
}

.lo-voice figcaption {
  margin-top: 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--lo-leaf);
}

@media (min-width: 800px) {
  .lo-voices {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem;
  }

  .lo-spectrum li {
    grid-template-columns: 8rem 1fr;
  }
}

/* Gentle entrance when scrolled into view */
.lo-story.is-inview .lo-story__title,
.lo-story.is-inview .lo-story__lead,
.lo-story.is-inview .lo-spectrum,
.lo-story.is-inview .lo-flow,
.lo-story.is-inview .lo-voices {
  animation: loStoryRise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes loStoryRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lo-story.is-inview .lo-story__title,
  .lo-story.is-inview .lo-story__lead,
  .lo-story.is-inview .lo-spectrum,
  .lo-story.is-inview .lo-flow,
  .lo-story.is-inview .lo-voices {
    animation: none;
  }
}
