/* ═══════════════════════════════════════════════════════════════════
   Healing Method — the "why this plan will work" narrative tab.
   Cream vocabulary, vaidya-led authority. Lives inside the same page
   container as healing_timeline.css; the two share __container & __card.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Page header (shared by Method and Days tabs) ── */
.healing-plan-header {
  text-align: center;
  padding: 0.5rem 0 1.75rem;
}

.healing-plan-header__overline {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-muted);
  margin: 0 0 0.75rem;
}

.healing-plan-header__title {
  font-family: "Recoleta", "Cormorant Garamond", Georgia, serif;
  font-weight: 800;
  font-size: 2.25rem;
  line-height: 1.15;
  color: var(--cream-ink);
  margin: 0 0 0.5rem;
}

.healing-plan-header__subtitle {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--cream-muted);
  max-width: 32rem;
  margin: 0 auto 1.25rem;
}

.healing-plan-header__meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: var(--cream-muted);
}

.healing-plan-header__meta-item strong {
  color: var(--cream-ink);
  font-weight: 700;
}

.healing-plan-header__meta-sep {
  color: var(--cream-faded);
}

.healing-plan-header__jump {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  margin-left: 0.5rem;
  border-radius: 9999px;
  border: 1px solid var(--cream-border);
  background: var(--cream-soft);
  color: var(--cream-ink);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.healing-plan-header__jump:hover {
  background: var(--cream-warm);
  border-color: var(--cream-muted);
}

/* ── Tabs ── */
.healing-tabs {
  display: flex;
  gap: 1.75rem;
  justify-content: center;
  align-items: flex-end;
  border-bottom: 1px solid var(--cream-border);
  margin: 0 -1rem 2rem;
  padding: 0 1rem;
}

.healing-tabs__tab {
  padding: 0.875rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cream-muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.healing-tabs__tab:hover {
  color: var(--cream-ink);
}

.healing-tabs__tab--active {
  color: var(--cream-ink);
  border-bottom-color: var(--cream-ink);
}

/* ── Method tab root ── */
.healing-method {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.healing-method__section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem 0 2rem;
}

.healing-method__overline {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-muted);
  margin: 0;
}


/* ── Imbalance block (flows as typography, no nested card) ── */
.healing-method__imbalance {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-top: 0.25rem;
}

.healing-method__attribution {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--cream-border);
}

.healing-method__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: oklch(var(--p));
  color: oklch(var(--pc));
  flex-shrink: 0;
}

.healing-method__mark svg {
  width: 1.125rem;
  height: 1.125rem;
}

.healing-method__attribution-text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.healing-method__attribution-name {
  font-family: "Recoleta", "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--cream-ink);
  margin: 0;
}

.healing-method__attribution-credential {
  font-size: 0.75rem;
  color: var(--cream-muted);
  margin: 0;
}

.healing-method__imbalance-body {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--cream-ink);
  margin: 0;
}

.healing-method__imbalance-kicker {
  font-family: "Recoleta", "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--cream-muted);
  margin: 0;
}

/* ── Phase chapters ── */
.healing-method__chapter {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 0;
  border-top: 1px solid var(--cream-border);
}

.healing-method__chapter:last-of-type {
  border-bottom: 1px solid var(--cream-border);
}

.healing-method__chapter--current {
  background: var(--cream-soft);
  padding: 2rem 1.5rem;
  margin: 0 -1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--cream-border);
}

.healing-method__chapter-head {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.healing-method__chapter-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  font-family: "Recoleta", "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  font-size: 1.125rem;
  background: var(--cream-warm);
  color: var(--cream-muted);
  border: 1px solid var(--cream-border);
  flex-shrink: 0;
}

.healing-method__chapter--current .healing-method__chapter-number {
  background: oklch(var(--p));
  color: oklch(var(--pc));
  border-color: oklch(var(--p));
}

.healing-method__chapter-titles {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}

.healing-method__chapter-name {
  font-family: "Recoleta", "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--cream-ink);
  margin: 0;
  line-height: 1.25;
}

.healing-method__chapter--past .healing-method__chapter-name,
.healing-method__chapter--future .healing-method__chapter-name {
  color: var(--cream-muted);
}

.healing-method__chapter-status {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cream-muted);
  margin: 0;
}

.healing-method__chapter--current .healing-method__chapter-status {
  color: oklch(var(--p));
}

.healing-method__promise {
  font-family: "Recoleta", "Cormorant Garamond", Georgia, serif;
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1.2;
  color: var(--cream-ink);
  margin: 0;
}

.healing-method__chapter--past .healing-method__promise,
.healing-method__chapter--future .healing-method__promise {
  color: var(--cream-ink);
}

.healing-method__mechanism {
  font-size: 0.975rem;
  line-height: 1.65;
  color: var(--cream-ink);
  margin: 0;
}

/* Marker grid */
.healing-method__markers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
}

.healing-method__marker {
  background: var(--cream-warm);
  border: 1px solid var(--cream-border);
  border-radius: 0.75rem;
  padding: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.healing-method__chapter--current .healing-method__marker {
  background: var(--cream);
}

.healing-method__marker-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-muted);
  margin: 0;
}

.healing-method__marker-body {
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--cream-ink);
  margin: 0;
}

/* ── Arrival ── */
.healing-method__section--arrival {
  margin-top: 3.5rem;
  position: relative;
}

/* Thin vertical tether from the last phase card into the arrival card so the
   arrival reads as the destination of the sequence, not a new section. */
.healing-method__arrival-bridge {
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(to bottom, transparent, oklch(0.72 0.12 75 / 0.55));
  margin: -3rem auto 1.25rem;
}

.healing-method__section--arrival .healing-method__overline {
  color: oklch(0.72 0.12 75 / 0.85);
}

/* Warm-ink manuscript — deep charcoal with saffron-gold accents. Reads as a
   pressed page rather than a saturated color block, so the arrival moment
   carries gravitas instead of competing with the phase cards above. */
.healing-method__arrival-card {
  position: relative;
  background: oklch(0.22 0.02 60);
  color: #EDE4C8;
  border: 1px solid oklch(0.30 0.02 60);
  border-radius: 1.5rem;
  padding: 2.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  box-shadow: 0 20px 50px -20px oklch(0.18 0.02 60 / 0.55);
}

@media (min-width: 640px) {
  .healing-method__arrival-card {
    padding: 3rem 2.75rem;
  }
}

.healing-method__arrival-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: oklch(0.72 0.12 75 / 0.9);
  margin: 0;
}

.healing-method__arrival-headline {
  font-family: "Recoleta", "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: 1.875rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: oklch(0.85 0.14 82);
  margin: 0;
}

@media (min-width: 640px) {
  .healing-method__arrival-headline {
    font-size: 2.25rem;
  }
}

.healing-method__arrival-intro {
  font-size: 0.9rem;
  color: rgba(237, 228, 200, 0.65);
  margin: 0.25rem 0 0;
  letter-spacing: 0.005em;
}

.healing-method__arrival-intro strong {
  color: oklch(0.78 0.08 80);
  font-weight: 600;
}

.healing-method__arrival-body {
  font-family: "Recoleta", "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1.6;
  letter-spacing: -0.005em;
  color: rgba(237, 228, 200, 0.92);
  margin: 0;
}

/* Asterism (⁂) — the triangle of three asterisks used as a section-break
   mark in fine literary printing. Sits centered between the body and the
   final sign-off. */
.healing-method__arrival-fleuron {
  align-self: center;
  font-family: "Recoleta", "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0.05em;
  color: oklch(0.78 0.10 80);
  margin: 1.25rem 0 1rem;
  user-select: none;
}

.healing-method__arrival-kicker {
  font-family: "Recoleta", "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.5;
  color: oklch(0.80 0.08 80);
  margin: 0;
}

/* ── Empty state ── */
.healing-method--empty {
  min-height: 20rem;
  justify-content: center;
  align-items: center;
  padding: 3rem 0;
}

.healing-method__empty-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  max-width: 24rem;
  padding: 2rem;
}

.healing-method__empty-spinner {
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--cream-border);
  border-top-color: oklch(var(--p));
  border-radius: 9999px;
  animation: healing-method-spin 0.9s linear infinite;
}

@keyframes healing-method-spin {
  to { transform: rotate(360deg); }
}

.healing-method__empty-title {
  font-family: "Recoleta", "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--cream-ink);
  margin: 0;
}

.healing-method__empty-body {
  font-size: 0.9rem;
  color: var(--cream-muted);
  line-height: 1.5;
  margin: 0;
}
