/* ============================================
   PRICING — Editorial / scroll-narrative
   Used only on /pricing. Self-contained.
   ============================================ */

/* Shared chapter shell */
.chapter {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 6vw;
  position: relative;
}

.chapter-eyebrow {
  position: absolute;
  top: calc(var(--nav-h, 55px) + 32px);
  left: 6vw;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin: 0;
}

/* ============================================
   Chapter 1 — Provocation
   ============================================ */
.chapter-hero h1 {
  font-size: clamp(48px, 9vw, 140px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 500;
  max-width: 16ch;
  margin: 0;
  text-wrap: balance;
}

.chapter-hero .pivot {
  margin: clamp(80px, 14vh, 200px) 0 0;
  font-size: clamp(20px, 2vw, 28px);
  color: var(--color-text-muted);
  letter-spacing: -0.005em;
  max-width: 32ch;
}

.caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: currentColor;
  margin-left: 0.18em;
  vertical-align: -0.12em;
  animation: caret-blink 1s steps(2, end) infinite;
}

@keyframes caret-blink {
  to { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .caret { animation: none; }
}

/* ============================================
   Chapter 2 — Outcomes (horizontal scroll)
   ============================================ */
.chapter-outcomes {
  padding: 0;
  overflow: hidden;
}

.outcomes-rail {
  display: flex;
  width: 100%;
  height: 100vh;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.outcomes-rail::-webkit-scrollbar { display: none; }

.outcome-card {
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 6vw;
  position: relative;
  border-right: 1px solid var(--color-border);
}
.outcome-card:last-child { border-right: none; }

.outcome-counter {
  position: absolute;
  top: calc(var(--nav-h, 55px) + 32px);
  left: 6vw;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin: 0;
}

.outcome-word {
  font-size: clamp(56px, 11vw, 180px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-weight: 500;
  margin: 0;
}

.outcome-tag {
  margin: 24px 0 0;
  font-size: clamp(20px, 2.5vw, 36px);
  letter-spacing: -0.01em;
  color: var(--color-text);
  max-width: 24ch;
  font-weight: 400;
  text-wrap: balance;
}

.outcome-body {
  margin: 32px 0 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 48ch;
  text-wrap: pretty;
}

.outcome-progress {
  position: absolute;
  bottom: 40px;
  left: 6vw;
  display: flex;
  gap: 10px;
}
.outcome-progress span {
  width: 24px;
  height: 1px;
  background: var(--color-border);
  transition: background 300ms var(--ease);
}
.outcome-progress span.is-active { background: var(--color-text); }

/* ============================================
   Chapter 3 — Proof (testimonial pull-quote)
   ============================================ */
.chapter-proof {
  align-items: center;
  text-align: left;
}

.chapter-proof-inner {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  min-height: 60vh;
}

/* Viewport clips the sliding track */
.proof-viewport {
  overflow: hidden;
  width: 100%;
}

.proof-track {
  display: flex;
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.proof-slide {
  flex: 0 0 100%;
  min-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(40px, 6vw, 80px);
}

/* Navigation arrows */
.proof-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: none;
  border: none;
  padding: 12px;
  font-size: 28px;
  line-height: 1;
  color: var(--color-text-light);
  cursor: pointer;
  transition: color 200ms var(--ease), transform 200ms var(--ease);
  font-family: var(--font-sans);
}

.proof-arrow:hover {
  color: var(--color-text);
}

.proof-arrow-prev { left: -20px; }
.proof-arrow-next { right: -20px; }

.proof-arrow-prev:hover { transform: translateY(-50%) translateX(-4px); }
.proof-arrow-next:hover { transform: translateY(-50%) translateX(4px); }

.proof-quote {
  font-size: clamp(26px, 4.2vw, 64px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 400;
  margin: 0;
  text-wrap: balance;
}
.proof-quote::before { content: "\201C"; margin-right: 4px; }
.proof-quote::after  { content: "\201D"; margin-left: 4px; }

.proof-author {
  margin: 48px 0 0;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}

.proof-dots {
  display: flex;
  gap: 10px;
  margin-top: 56px;
}
.proof-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--color-border);
  cursor: pointer;
  transition: background 200ms var(--ease), transform 200ms var(--ease);
}
.proof-dots button.is-active {
  background: var(--color-text);
  transform: scale(1.2);
}

/* ============================================
   Chapter 4 — Honest (centered short statement)
   Breaks the rhythm of the other chapters on purpose.
   ============================================ */
.chapter-honest {
  text-align: center;
  align-items: center;
}

.honest-body {
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
}

.honest-lead {
  font-size: clamp(24px, 3.4vw, 48px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 0;
  font-weight: 400;
  text-wrap: balance;
}

/* Sub-line — same statement as title but smaller and quieter */
.honest-lead-sub {
  display: block;
  margin-top: 8px;
  font-size: 0.55em;
  color: var(--color-text-muted);
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: -0.005em;
}

.honest-text {
  margin: clamp(32px, 5vh, 56px) auto 0;
  font-size: clamp(17px, 1.9vw, 24px);
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--color-text-muted);
  max-width: 620px;
  text-wrap: balance;
}

.honest-cta {
  display: inline-block;
  margin: clamp(40px, 7vh, 72px) 0 0;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--color-text-light);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--duration-fast) var(--ease);
}

.honest-cta:hover {
  color: var(--color-accent);
}

/* Small disclaimer below the CTA — quiet, italic */
.honest-disclaimer {
  margin: clamp(32px, 5vh, 56px) auto 0;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--color-text-light);
  font-style: italic;
  max-width: 46ch;
  text-wrap: balance;
}

/* ============================================
   Mobile
   ============================================ */
@media (max-width: 768px) {
  .chapter {
    min-height: auto;
    padding: calc(var(--nav-h, 55px) + 32px) 24px 48px;
  }

  /* Outcomes rail still needs its full-height horizontal scroll */
  .chapter-outcomes { min-height: 100vh; padding: 0; }

  .outcome-card {
    padding: calc(var(--nav-h, 55px) + 40px) 24px 56px;
  }

  .chapter-eyebrow,
  .outcome-counter {
    top: calc(var(--nav-h, 55px) + 20px);
    left: 24px;
  }

  .outcome-progress { left: 24px; bottom: 24px; }

  .proof-author { margin-top: 28px; }

  .proof-dots { margin-top: 28px; }

  .proof-slide { padding: 0 24px; }

  .proof-arrow {
    font-size: 22px;
    padding: 8px;
  }
  .proof-arrow-prev { left: -8px; }
  .proof-arrow-next { right: -8px; }

  .chapter-hero .pivot { margin-top: clamp(48px, 8vh, 96px); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .proof-slide { transition: opacity 200ms linear; }
}
