* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --teal-deep: #1e4a5f;
  --terracotta: #c17a5c;
  --sand-light: #fef7e9;
  --clay-bg: #faf0e6;
  --border-soft: #e2d4c8;
  --shadow-warm: 0 20px 35px -12px rgba(0, 0, 0, 0.08);
  --font-sans: "Inter", system-ui, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
}
body {
  background: var(--sand-light);
  font-family: var(--font-sans);
  color: #2c2b2b;
  line-height: 1.65;
  font-size: 18px;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

@keyframes gentleFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

/* ===== UNIVERSAL HEADER STYLES ===== */
.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e0d6cc;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: #3a2e28;
  text-decoration: none;
  border-bottom: none;
}

.logo span {
  color: #c17b5e;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: #5f4e44;
  font-weight: 500;
  transition: color 0.2s ease;
  border-bottom: none;
  font-size: 1rem;
}

.nav-links a:hover {
  color: #c17b5e;
}

/* Mobile responsive */
@media (max-width: 640px) {
  .nav-bar {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
  .nav-links {
    gap: 1.5rem;
  }
  .logo {
    font-size: 1.5rem;
  }
}

/* header */
.site-header {
  background: white;
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.96);
}
.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  flex-wrap: wrap;
}
.logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--teal-deep);
  text-decoration: none;
}
.logo span {
  color: var(--terracotta);
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.nav-links a {
  text-decoration: none;
  color: #3a3a44;
  font-weight: 500;
  transition: 0.2s;
}
.nav-links a:hover {
  color: var(--terracotta);
}
.article-grid {
  display: flex;
  gap: 3rem;
  margin: 2rem 0 3rem;
  flex-wrap: wrap;
}
.main-content {
  flex: 2;
  min-width: 0;
}
.sidebar {
  flex: 1;
  min-width: 280px;
}
h1 {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--teal-deep);
  letter-spacing: -0.02em;
  margin: 1rem 0 1rem;
}
.subhead {
  font-size: 1.4rem;
  color: #7a5a4a;
  font-style: italic;
  margin-bottom: 1.5rem;
  border-left: 5px solid var(--terracotta);
  padding-left: 1.2rem;
}
.meta {
  display: flex;
  gap: 1.8rem;
  font-size: 0.9rem;
  color: #9b7e6e;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 0.8rem 0;
  margin: 1rem 0 1.5rem;
  flex-wrap: wrap;
}
h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin: 2rem 0 1rem;
  color: var(--teal-deep);
  font-weight: 600;
}
h3 {
  font-weight: 600;
  font-size: 1.4rem;
  margin: 1.8rem 0 0.8rem;
  color: #9b6a50;
}
p {
  margin-bottom: 1.3rem;
  color: #2f2e2e;
}
.interactive-card {
  background: var(--clay-bg);
  border-radius: 32px;
  padding: 1.8rem 2rem;
  margin: 2rem 0;
  border-left: 8px solid var(--terracotta);
  transition: all 0.2s;
}
.quiz-box {
  background: #fff7ef;
  border-radius: 28px;
  padding: 1.5rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-warm);
  border: 1px solid var(--border-soft);
}
.reflection-prompt {
  background: #fff2e6;
  border-radius: 28px;
  padding: 1.5rem;
  margin: 2rem 0;
}
.btn-soft {
  background: transparent;
  border: 1px solid var(--terracotta);
  padding: 0.6rem 1.4rem;
  border-radius: 40px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.2s;
  margin-top: 0.8rem;
}
.btn-soft:hover {
  background: var(--terracotta);
  color: white;
}
.expert-quote {
  background: #f3ede6;
  border-radius: 32px;
  padding: 2rem;
  margin: 2rem 0;
  font-style: italic;
}
.expert-quote p {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  line-height: 1.4;
}
.soulspace-author-card {
  display: flex;
  gap: 1.8rem;
  background: white;
  border-radius: 32px;
  padding: 2rem;
  margin: 2.5rem 0;
  box-shadow: var(--shadow-warm);
  border: 1px solid var(--border-soft);
  flex-wrap: wrap;
}
.author-initials {
  width: 80px;
  height: 80px;
  background: linear-gradient(145deg, var(--teal-deep), #3f7b6e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 600;
  color: white;
  font-family: var(--font-serif);
}
.author-details {
  flex: 1;
}
.eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--terracotta);
}
.author-name {
  font-size: 1.5rem;
  margin: 0.2rem 0;
}
.internal-link {
  background: #e5dbd1;
  border-radius: 40px;
  padding: 0.2rem 1rem;
  text-decoration: none;
  color: var(--teal-deep);
  font-weight: 500;
  transition: 0.2s;
  display: inline-block;
  margin: 0.2rem 0;
}
.internal-link i {
  margin-right: 0.3rem;
}
.internal-link:hover {
  background: var(--terracotta);
  color: white;
}
.related-articles-section,
.recommendations-section {
  margin: 3rem 0 2rem;
  background: #fff9f2;
  border-radius: 28px;
  padding: 2rem;
}
.section-title-sm {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.related-grid,
.rec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-top: 1rem;
}
.related-card,
.rec-card {
  background: white;
  border-radius: 20px;
  padding: 1rem;
  transition: all 0.2s;
  border: 1px solid var(--border-soft);
  cursor: pointer;
}
.related-card a,
.rec-card a {
  text-decoration: none;
  font-weight: 600;
  color: var(--teal-deep);
  display: block;
}
.related-card p,
.rec-card p {
  font-size: 0.8rem;
  color: #9b7a6a;
  margin-top: 0.4rem;
  margin-bottom: 0;
}
.related-card:hover,
.rec-card:hover {
  transform: translateY(-4px);
  border-color: var(--terracotta);
}
.sidebar-newsletter {
  background: var(--teal-deep);
  color: white;
  border-radius: 24px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.sidebar-newsletter input {
  width: 100%;
  padding: 0.8rem;
  border-radius: 60px;
  border: none;
  margin: 0.8rem 0;
}
.sidebar-newsletter button {
  background: var(--terracotta);
  border: none;
  padding: 0.8rem;
  width: 100%;
  border-radius: 60px;
  font-weight: 600;
  cursor: pointer;
  color: white;
}
.sidebar-module {
  background: white;
  border-radius: 28px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border-soft);
}
.progress-tracker label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
  cursor: pointer;
}
.small-save {
  margin-top: 1rem;
  background: #e3dbd0;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 40px;
  cursor: pointer;
  width: 100%;
}
.audio-player {
  background: #ece3db;
  border-radius: 60px;
  padding: 0.8rem 1.8rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
  cursor: pointer;
  border: none;
  font-weight: 500;
}
.hero-img {
  width: 100%;
  border-radius: 32px;
  object-fit: cover;
  margin: 1.5rem 0;
  box-shadow: var(--shadow-warm);
}

/* ===== ADDITIONAL STYLES FOR UNIQUE ELEMENTS ===== */

/* Reading Mode */
.mode-btn.active {
  background: var(--teal-deep, #1e4a5f) !important;
  color: white !important;
}

/* ============================================================
    LIVE POLL STYLES
   ============================================================ */

.live-poll {
  /* Palette */
  --poll-ink: #3a2e28;
  --poll-ink-soft: #6b574a;
  --poll-ink-faint: #9a887b;
  --poll-terra: #d97a3f;
  --poll-terra-deep: #b85f28;
  --poll-terra-glow: rgba(217, 122, 63, 0.18);
  --poll-paper: #fdf8f2;
  --poll-paper-warm: #f7ede0;
  --poll-cream: #fffdf9;
  --poll-line: #e8dbcc;
  --poll-line-strong: #d9c6b2;
  --poll-sage: #8aa88a;
  --poll-sage-soft: rgba(138, 168, 138, 0.15);

  /* Shape */
  --poll-radius-xl: 32px;
  --poll-radius-lg: 22px;
  --poll-radius-md: 16px;
  --poll-radius-sm: 10px;
  --poll-radius-pill: 999px;

  /* Shadows */
  --poll-shadow-soft: 0 4px 20px rgba(184, 95, 40, 0.06);
  --poll-shadow-lift: 0 10px 32px rgba(184, 95, 40, 0.12);
  --poll-shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.7);

  /* Typography */
  --poll-font-sans:
    "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --poll-font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --poll-font-mono: "SF Mono", "Fira Code", "Cascadia Code", monospace;

  /* Layout */
  position: relative;
  background:
    /* subtle paper grain via layered radial gradients */
    radial-gradient(
      circle at 15% 20%,
      rgba(217, 122, 63, 0.05) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(138, 168, 138, 0.06) 0%,
      transparent 40%
    ),
    linear-gradient(160deg, var(--poll-paper) 0%, var(--poll-paper-warm) 100%);
  border-radius: var(--poll-radius-xl);
  padding: 2rem 1.75rem 1.75rem;
  margin: 2rem 0;
  border: 1px solid var(--poll-line);
  box-shadow: var(--poll-shadow-soft), var(--poll-shadow-inset);
  font-family: var(--poll-font-sans);
  overflow: hidden;
  isolation: isolate;
}

/* Decorative corner accent — a soft "tape" or "paper fold" */
.live-poll::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 90px;
  height: 90px;
  background: linear-gradient(
    225deg,
    transparent 0%,
    transparent 48%,
    rgba(217, 122, 63, 0.1) 49%,
    rgba(217, 122, 63, 0.1) 51%,
    transparent 52%
  );
  pointer-events: none;
  z-index: 0;
}

/* Decorative left rule — a thin colored bar */
.live-poll::after {
  content: "";
  position: absolute;
  top: 1.75rem;
  bottom: 1.75rem;
  left: 0;
  width: 4px;
  background: linear-gradient(
    180deg,
    var(--poll-terra) 0%,
    var(--poll-terra-deep) 100%
  );
  border-radius: 0 4px 4px 0;
  opacity: 0.7;
  pointer-events: none;
}

/* ---- Heading ---- */
.live-poll h4 {
  position: relative;
  z-index: 1;
  margin: 0 0 1.25rem;
  font-family: var(--poll-font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--poll-ink);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  line-height: 1.35;
}

.live-poll h4 i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(
    145deg,
    var(--poll-terra) 0%,
    var(--poll-terra-deep) 100%
  );
  color: white;
  border-radius: var(--poll-radius-sm);
  font-size: 0.85rem;
  box-shadow: 0 4px 10px var(--poll-terra-glow);
  flex-shrink: 0;
}

/* ---- Options Grid ---- */
.poll-options {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}

/* ---- Option Buttons ---- */
.poll-option-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--poll-cream);
  border: 1px solid var(--poll-line);
  border-radius: var(--poll-radius-pill);
  padding: 0.7rem 1.1rem 0.7rem 0.85rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--poll-font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--poll-ink-soft);
  line-height: 1.35;
  text-align: left;
  box-shadow: 0 2px 6px rgba(184, 95, 40, 0.04);
}

/* Custom "bullet" — a small ring that fills on hover/vote */
.poll-option-btn::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--poll-line-strong);
  background: transparent;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

/* Hover state */
.poll-option-btn:hover {
  border-color: var(--poll-terra);
  color: var(--poll-ink);
  transform: translateY(-2px);
  box-shadow: var(--poll-shadow-lift);
  background: white;
}

.poll-option-btn:hover::before {
  border-color: var(--poll-terra);
  background: var(--poll-terra-glow);
}

/* Active/press */
.poll-option-btn:active {
  transform: translateY(0) scale(0.98);
}

/* Voted state */
.poll-option-btn.voted {
  background: linear-gradient(
    135deg,
    var(--poll-terra) 0%,
    var(--poll-terra-deep) 100%
  );
  border-color: var(--poll-terra-deep);
  color: white;
  font-weight: 600;
  box-shadow: 0 6px 16px var(--poll-terra-glow);
  transform: translateY(-1px);
}

.poll-option-btn.voted::before {
  border-color: white;
  background: white;
  box-shadow: inset 0 0 0 3px var(--poll-terra);
}

/* Remove the old checkmark pseudo-element if it conflicts */
.poll-option-btn.voted::after {
  content: "✓";
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  background: var(--poll-sage);
  color: white;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--poll-paper);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  animation: poll-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes poll-pop {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}

/* Override the original .voted::before content rule */
.poll-option-btn.voted::before {
  content: "";
}

/* ---- Results Area ---- */
.poll-results {
  position: relative;
  z-index: 1;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--poll-line-strong);
  font-size: 0.88rem;
  color: var(--poll-ink-soft);
}

/* Empty state */
.poll-results > p {
  text-align: center;
  color: var(--poll-ink-faint);
  font-size: 0.85rem;
  font-style: italic;
  padding: 0.75rem 0;
}

/* Result row */
.poll-results .poll-result-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--poll-radius-md);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid transparent;
  transition: all 0.25s ease;
  animation: poll-fade-in 0.4s ease both;
}

.poll-results .poll-result-row:hover {
  background: white;
  border-color: var(--poll-line);
  transform: translateX(3px);
}

@keyframes poll-fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.poll-results .poll-result-label {
  font-size: 0.85rem;
  line-height: 1.35;
  color: var(--poll-ink);
  font-weight: 500;
}

.poll-results .poll-result-count {
  font-family: var(--poll-font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--poll-terra-deep);
  background: var(--poll-terra-glow);
  padding: 0.2rem 0.6rem;
  border-radius: var(--poll-radius-pill);
  white-space: nowrap;
  letter-spacing: -0.02em;
}

/* Progress bar — full width under each row */
.poll-results .poll-result-bar {
  grid-column: 1 / -1;
  height: 6px;
  background: var(--poll-line);
  border-radius: var(--poll-radius-pill);
  margin-top: 0.35rem;
  overflow: hidden;
  position: relative;
}

.poll-results .poll-result-bar-fill {
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--poll-terra) 0%,
    var(--poll-terra-deep) 60%,
    var(--poll-sage) 100%
  );
  border-radius: var(--poll-radius-pill);
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* Shimmer on the bar */
.poll-results .poll-result-bar-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 100%
  );
  animation: poll-shimmer 2.5s ease-in-out infinite;
}

@keyframes poll-shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Total row */
.poll-results .poll-total {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--poll-ink-faint);
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--poll-line);
}

.poll-results .poll-total i {
  color: var(--poll-sage);
}

/* ---- Privacy note ---- */
.live-poll > p {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem !important;
  color: var(--poll-ink-faint) !important;
  margin-top: 0.75rem !important;
  letter-spacing: 0.01em;
}

.live-poll > p i {
  color: var(--poll-sage);
  font-size: 0.7rem;
}

/* ---- Reset button ---- */
.poll-reset-btn {
  position: relative;
  z-index: 1;
  margin-top: 0.85rem;
  background: transparent;
  border: 1px dashed var(--poll-line-strong);
  border-radius: var(--poll-radius-pill);
  padding: 0.4rem 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--poll-font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--poll-ink-faint);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: 0.02em;
}

.poll-reset-btn:hover {
  background: var(--poll-ink-soft);
  border-color: var(--poll-ink-soft);
  border-style: solid;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(58, 46, 40, 0.15);
}

.poll-reset-btn:active {
  transform: translateY(0);
}

.poll-reset-btn i {
  font-size: 0.72rem;
  transition: transform 0.4s ease;
}

.poll-reset-btn:hover i {
  transform: rotate(-180deg);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 640px) {
  .live-poll {
    padding: 1.5rem 1.25rem 1.25rem;
    border-radius: var(--poll-radius-lg);
    margin: 1.5rem 0;
  }

  .live-poll::after {
    top: 1.25rem;
    bottom: 1.25rem;
    width: 3px;
  }

  .live-poll h4 {
    font-size: 1.08rem;
    gap: 0.5rem;
  }

  .live-poll h4 i {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .poll-options {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .poll-option-btn {
    padding: 0.65rem 0.95rem 0.65rem 0.8rem;
    font-size: 0.84rem;
  }

  .poll-results .poll-result-row {
    padding: 0.5rem 0.7rem;
  }
}

@media (max-width: 380px) {
  .live-poll {
    padding: 1.25rem 1rem 1rem;
  }

  .live-poll h4 {
    font-size: 0.98rem;
  }

  .poll-option-btn {
    font-size: 0.8rem;
    padding: 0.6rem 0.85rem 0.6rem 0.7rem;
  }

  .poll-option-btn::before {
    width: 12px;
    height: 12px;
  }

  .poll-results .poll-result-label {
    font-size: 0.78rem;
  }

  .poll-results .poll-result-count {
    font-size: 0.72rem;
    padding: 0.15rem 0.5rem;
  }
}

/* ---- Print — hide poll ---- */
@media print {
  .live-poll {
    display: none !important;
  }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .poll-option-btn,
  .poll-option-btn::before,
  .poll-results .poll-result-bar-fill,
  .poll-results .poll-result-bar-fill::after,
  .poll-reset-btn,
  .poll-reset-btn i {
    transition: none !important;
    animation: none !important;
  }
}

/* ============================================================
   HIDDEN FEE RECEIPT
   ============================================================ */

.fee-receipt {
  position: relative;
  margin: 2rem 0 2.5rem;
  padding: 2.2rem 2rem 1.8rem;
  background: linear-gradient(160deg, #fffdf8 0%, #fdf4e8 100%);
  border-radius: 24px;
  border: 1px solid #e2d4c8;
  box-shadow:
    0 18px 42px -22px rgba(107, 84, 69, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  font-family: "Inter", system-ui, sans-serif;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.fee-receipt.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Perforated tear-off top edge */
.receipt-tear {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 12px;
  background-image: radial-gradient(
    circle at 8px 0,
    transparent 6px,
    #fdf4e8 6.5px
  );
  background-size: 16px 12px;
  background-repeat: repeat-x;
  pointer-events: none;
}

/* Stamp badge */
.receipt-stamp {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 2px dashed rgba(193, 122, 92, 0.55);
  color: #c17a5c;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-align: center;
  line-height: 1.15;
  transform: rotate(-12deg);
  background: rgba(255, 240, 220, 0.5);
  animation: stamp-breathe 6s ease-in-out infinite;
  z-index: 2;
}

.receipt-stamp span {
  display: block;
}

@keyframes stamp-breathe {
  0%,
  100% {
    transform: rotate(-12deg) scale(1);
    opacity: 0.85;
  }
  50% {
    transform: rotate(-12deg) scale(1.04);
    opacity: 1;
  }
}

.receipt-body {
  position: relative;
  z-index: 1;
  padding-right: 4rem;
}

.receipt-body p {
  margin: 0 0 1rem 0;
  font-size: 1rem;
  line-height: 1.75;
  color: #3a2e28;
}

.receipt-lede {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  color: #1e4a5f;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.receipt-truth {
  display: inline-block;
  color: #c17a5c;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 200, 150, 0.35) 50%,
    transparent 100%
  );
  background-size: 0% 100%;
  background-repeat: no-repeat;
  animation: highlight-in 2.2s ease-out 0.6s forwards;
}

@keyframes highlight-in {
  from {
    background-size: 0% 100%;
  }
  to {
    background-size: 100% 100%;
  }
}

/* Ticker */
.receipt-ticker {
  position: relative;
  z-index: 1;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px dashed #d4c0a8;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-family: "JetBrains Mono", "Courier New", monospace;
  font-size: 0.78rem;
  color: #8a7260;
}

.ticker-line {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  align-items: center;
  gap: 0.6rem;
  opacity: 0;
  transform: translateX(-8px);
  animation: ticker-in 0.7s ease-out forwards;
}

.ticker-line:nth-child(1) {
  animation-delay: 0.9s;
}
.ticker-line:nth-child(2) {
  animation-delay: 1.15s;
}
.ticker-line:nth-child(3) {
  animation-delay: 1.4s;
}
.ticker-line:nth-child(4) {
  animation-delay: 1.65s;
}

@keyframes ticker-in {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d97a3f;
  box-shadow: 0 0 0 3px rgba(217, 122, 63, 0.15);
}

.ticker-label {
  color: #6b574a;
}

.ticker-value {
  font-weight: 700;
  color: #c17a5c;
  letter-spacing: 0.02em;
}

.ticker-line-final {
  margin-top: 0.35rem;
  padding-top: 0.55rem;
  border-top: 1px dashed #d4c0a8;
}

.ticker-line-final .ticker-dot {
  background: #b23a3a;
  box-shadow: 0 0 0 3px rgba(178, 58, 58, 0.18);
}

.ticker-line-final .ticker-value {
  color: #b23a3a;
  font-size: 0.9rem;
}

/* ============================================================
   PAUSE AND BREATHE
   ============================================================ */

.pause-breathe {
  position: relative;
  margin: 2rem 0;
  padding: 1.8rem 1.8rem 1.8rem 1.8rem;
  background: linear-gradient(135deg, #faf0e6 0%, #f5e6d3 100%);
  border-radius: 32px;
  border-left: 8px solid #c17a5c;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.4rem;
  align-items: center;
  box-shadow: 0 14px 36px -20px rgba(193, 122, 92, 0.35);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.pause-breathe.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pause-orb {
  position: relative;
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.pause-orb-core {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 35%,
    #ffd9b8 0%,
    #d97a3f 55%,
    #b85f28 100%
  );
  box-shadow:
    inset 0 3px 8px rgba(255, 255, 255, 0.5),
    0 6px 18px -4px rgba(217, 122, 63, 0.55);
  animation: pause-core 6s ease-in-out infinite;
}

@keyframes pause-core {
  0%,
  100% {
    transform: scale(0.85);
  }
  50% {
    transform: scale(1.12);
  }
}

.pause-orb-ring {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 2px solid rgba(217, 122, 63, 0.4);
  animation: pause-ring 6s ease-in-out infinite;
}

.pause-orb-ring-2 {
  animation-delay: 1.2s;
  border-color: rgba(217, 122, 63, 0.22);
}

@keyframes pause-ring {
  0%,
  100% {
    transform: scale(0.9);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.pause-body {
  position: relative;
  z-index: 1;
}

.pause-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(193, 122, 92, 0.15);
  color: #c17a5c;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.pause-body p {
  margin: 0 0 1rem 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #3a2e28;
}

.pause-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.pause-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(193, 122, 92, 0.18);
  transform: translate(-50%, -50%);
  transition:
    width 0.5s ease,
    height 0.5s ease;
}

.pause-btn:hover::before {
  width: 260px;
  height: 260px;
}

.pause-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -10px rgba(193, 122, 92, 0.6);
}

/* ============================================================
   SIGNS LEDGER
   ============================================================ */

.signs-ledger {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0 2.5rem;
}

.sign-row {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 1.4rem;
  align-items: start;
  padding: 1.4rem 1.6rem;
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid #e2d4c8;
  box-shadow: 0 8px 24px -18px rgba(107, 84, 69, 0.22);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.sign-row.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sign-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #c17a5c 0%, rgba(193, 122, 92, 0.3) 100%);
  opacity: 0.55;
  transition:
    opacity 0.3s ease,
    top 0.3s ease,
    bottom 0.3s ease;
}

.sign-row:hover {
  border-color: #c17a5c;
  box-shadow: 0 16px 36px -22px rgba(193, 122, 92, 0.45);
  transform: translateY(-3px);
}

.sign-row:hover::before {
  opacity: 1;
  top: 6%;
  bottom: 6%;
}

.sign-index {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding-top: 0.15rem;
  position: relative;
}

.sign-num {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: #c17a5c;
  line-height: 1;
  letter-spacing: -0.02em;
  transition:
    transform 0.4s ease,
    color 0.3s ease;
}

.sign-row:hover .sign-num {
  transform: scale(1.08);
  color: #a3603f;
}

.sign-icon {
  font-size: 1.3rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(193, 122, 92, 0.25));
  animation: sign-icon-bob 3.5s ease-in-out infinite;
}

@keyframes sign-icon-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.sign-body p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: #2f2e2e;
}

.sign-body strong {
  color: #1e4a5f;
  font-weight: 700;
}

.sign-body em {
  color: #a3603f;
  font-style: italic;
}

/* Highlighted row (Sign 6) */
.sign-row-highlight {
  background: linear-gradient(135deg, #fff8f0 0%, #fdefe0 60%, #fbe6d1 100%);
  border-color: rgba(193, 122, 92, 0.35);
}

.sign-row-highlight::before {
  opacity: 1;
  background: linear-gradient(180deg, #d97a3f 0%, #c17a5c 100%);
}

.sign-row-highlight .sign-num {
  color: #b85f28;
}

.sign-badge {
  position: absolute;
  top: -0.6rem;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  background: #b85f28;
  color: #fff;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 4px 10px -4px rgba(184, 95, 40, 0.6);
  animation: badge-pulse 3s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%,
  100% {
    transform: translateX(-50%) rotate(-3deg) scale(1);
    box-shadow: 0 4px 10px -4px rgba(184, 95, 40, 0.6);
  }
  50% {
    transform: translateX(-50%) rotate(-3deg) scale(1.05);
    box-shadow: 0 6px 14px -4px rgba(184, 95, 40, 0.75);
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 720px) {
  .fee-receipt {
    padding: 2rem 1.4rem 1.5rem;
    border-radius: 20px;
  }

  .receipt-stamp {
    width: 62px;
    height: 62px;
    font-size: 0.6rem;
    top: 0.9rem;
    right: 0.9rem;
  }

  .receipt-body {
    padding-right: 0;
  }

  .receipt-lede {
    font-size: 1.25rem;
  }

  .pause-breathe {
    grid-template-columns: 1fr;
    padding: 1.4rem;
    gap: 1rem;
    border-left-width: 6px;
    text-align: center;
  }

  .pause-orb {
    width: 70px;
    height: 70px;
  }

  .pause-orb-core {
    width: 38px;
    height: 38px;
  }

  .signs-ledger {
    gap: 0.8rem;
  }

  .sign-row {
    grid-template-columns: 60px 1fr;
    gap: 1rem;
    padding: 1.1rem 1.2rem;
    border-radius: 18px;
  }

  .sign-num {
    font-size: 1.55rem;
  }

  .sign-icon {
    font-size: 1.1rem;
  }

  .sign-body p {
    font-size: 0.95rem;
  }
}

@media (max-width: 420px) {
  .sign-row {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    padding: 1rem;
  }

  .sign-index {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.6rem;
  }

  .sign-num {
    font-size: 1.35rem;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .receipt-stamp,
  .receipt-truth,
  .ticker-line,
  .pause-orb-core,
  .pause-orb-ring,
  .sign-icon,
  .sign-badge {
    animation: none !important;
  }

  .fee-receipt,
  .pause-breathe,
  .sign-row {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .ticker-line {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   WHY WE STAY — HEADING
   ============================================================ */

.why-heading {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.why-heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 40% 35%,
    #ffd9b8 0%,
    #e9a279 55%,
    #c17a5c 100%
  );
  box-shadow:
    inset 0 2px 6px rgba(255, 255, 255, 0.5),
    0 6px 16px -6px rgba(193, 122, 92, 0.65);
  font-size: 1.15rem;
  animation: why-icon-pulse 4s ease-in-out infinite;
  transform-origin: center;
}

@keyframes why-icon-pulse {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    box-shadow:
      inset 0 2px 6px rgba(255, 255, 255, 0.5),
      0 6px 16px -6px rgba(193, 122, 92, 0.65);
  }
  50% {
    transform: scale(1.06) rotate(-2deg);
    box-shadow:
      inset 0 2px 8px rgba(255, 255, 255, 0.7),
      0 10px 22px -8px rgba(193, 122, 92, 0.85);
  }
}

/* ============================================================
   WHY WE STAY — THREAD VISUAL
   ============================================================ */

.why-thread {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1rem;
  margin: 1.4rem 0 2.6rem;
  padding: 1.6rem 1.6rem 1.6rem 0.5rem;
  background: linear-gradient(
    135deg,
    rgba(255, 250, 244, 0.6) 0%,
    rgba(250, 240, 230, 0.35) 100%
  );
  border-radius: 24px;
  border: 1px solid rgba(226, 212, 200, 0.7);
  box-shadow: 0 12px 32px -24px rgba(107, 84, 69, 0.28);
  overflow: hidden;
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.why-thread.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.thread-trail {
  position: relative;
  grid-column: 1;
  width: 40px;
  height: 100%;
  min-height: 100%;
  pointer-events: none;
  overflow: visible;
}

.thread-trail path {
  transition: stroke-dashoffset 2.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

.why-thread.is-visible .thread-trail path {
  stroke-dashoffset: 0;
}

.why-body {
  grid-column: 2;
  position: relative;
  z-index: 1;
}

.why-para {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: #3a2e28;
}

/* Pull quote inside the paragraph */
.why-pull {
  display: inline-block;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 1.12rem;
  color: #a3603f;
  padding: 0.15rem 0.5rem;
  margin: 0 0.15rem;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 200, 150, 0.35) 50%,
    transparent 100%
  );
  background-size: 0% 100%;
  background-repeat: no-repeat;
  animation: why-pull-highlight 3s ease-out 0.9s forwards;
}

@keyframes why-pull-highlight {
  from {
    background-size: 0% 100%;
  }
  to {
    background-size: 100% 100%;
  }
}

/* Thread knot at the end */
.thread-knot {
  position: relative;
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  margin-top: 0.6rem;
}

.knot-core {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 35%,
    #ffd9b8 0%,
    #d97a3f 55%,
    #b85f28 100%
  );
  box-shadow: 0 4px 12px -4px rgba(217, 122, 63, 0.85);
  animation: knot-heartbeat 3.5s ease-in-out infinite;
}

@keyframes knot-heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.12);
  }
  45% {
    transform: scale(0.96);
  }
  65% {
    transform: scale(1.06);
  }
}

.knot-ring {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid rgba(217, 122, 63, 0.55);
  animation: knot-ripple 4.5s ease-out infinite;
}

.knot-ring-2 {
  animation-delay: 2.25s;
  border-color: rgba(217, 122, 63, 0.3);
}

@keyframes knot-ripple {
  0% {
    transform: scale(1);
    opacity: 0.85;
  }
  100% {
    transform: scale(5);
    opacity: 0;
  }
}

/* ============================================================
   QUIET LETTER (REFLECTION PROMPT)
   ============================================================ */

.quiet-letter {
  position: relative;
  margin: 2rem 0 2.5rem;
  padding: 2rem 2rem 1.8rem 5.2rem;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.65) 0%,
      rgba(255, 250, 244, 0.7) 100%
    ),
    repeating-linear-gradient(
      180deg,
      transparent 0px,
      transparent 27px,
      rgba(226, 212, 200, 0.35) 27px,
      rgba(226, 212, 200, 0.35) 28px
    ),
    #fdf6ec;
  border-radius: 22px;
  border: 1px solid rgba(226, 212, 200, 0.9);
  box-shadow:
    0 18px 40px -26px rgba(107, 84, 69, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.quiet-letter.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Wax-seal style icon */
.letter-seal {
  position: absolute;
  top: 1.6rem;
  left: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff9f2;
  font-size: 1.05rem;
  background: radial-gradient(
    circle at 35% 30%,
    #d97a3f 0%,
    #b85f28 55%,
    #8c4115 100%
  );
  box-shadow:
    inset 0 -3px 8px rgba(0, 0, 0, 0.18),
    inset 0 3px 6px rgba(255, 220, 180, 0.45),
    0 8px 18px -8px rgba(140, 65, 21, 0.85);
  transform: rotate(-8deg);
  animation: seal-sway 6s ease-in-out infinite;
  z-index: 2;
}

@keyframes seal-sway {
  0%,
  100% {
    transform: rotate(-8deg);
  }
  50% {
    transform: rotate(-4deg);
  }
}

/* Add subtle seal shine */
.letter-seal::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.35) 0%,
    transparent 45%
  );
  pointer-events: none;
}

.letter-body {
  position: relative;
  z-index: 1;
}

.letter-ask {
  margin: 0 0 1rem 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #3a2e28;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
}

.letter-ask strong {
  font-style: normal;
  color: #1e4a5f;
}

.letter-textarea {
  width: 100%;
  min-height: 74px;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(226, 212, 200, 0.9);
  background: rgba(255, 255, 255, 0.75);
  font-family: "Caveat", "Bradley Hand", "Segoe Print", cursive;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #4a3a30;
  resize: vertical;
  outline: none;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
  box-sizing: border-box;
}

.letter-textarea::placeholder {
  color: #b8a08c;
  font-style: italic;
}

.letter-textarea:focus {
  border-color: #c17a5c;
  background: #fffdfa;
  box-shadow: 0 0 0 4px rgba(193, 122, 92, 0.12);
}

.letter-btn {
  margin-top: 1rem;
  position: relative;
  overflow: hidden;
  border-color: #c17a5c;
  color: #8c4115;
  background: rgba(255, 240, 220, 0.6);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.letter-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(193, 122, 92, 0.2);
  transform: translate(-50%, -50%);
  transition:
    width 0.5s ease,
    height 0.5s ease;
}

.letter-btn:hover::before {
  width: 280px;
  height: 280px;
}

.letter-btn:hover {
  transform: translateY(-2px);
  background: #c17a5c;
  color: #fff9f2;
  box-shadow: 0 10px 24px -12px rgba(193, 122, 92, 0.75);
}

/* Decorative fanned paper lines in the corner */
.letter-lines {
  position: absolute;
  bottom: 0.9rem;
  right: 1.2rem;
  display: flex;
  gap: 5px;
  pointer-events: none;
  opacity: 0.5;
}

.letter-lines span {
  display: block;
  width: 2px;
  height: 20px;
  border-radius: 2px;
  background: linear-gradient(180deg, #d97a3f 0%, #c17a5c 100%);
  transform-origin: bottom center;
  transform: rotate(-6deg);
}

.letter-lines span:nth-child(2) {
  transform: rotate(0deg);
  height: 24px;
}

.letter-lines span:nth-child(3) {
  transform: rotate(6deg);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 720px) {
  .why-heading {
    font-size: 1.5rem;
    gap: 0.55rem;
  }

  .why-heading-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .why-thread {
    grid-template-columns: 26px 1fr;
    padding: 1.3rem 1.1rem 1.3rem 0.4rem;
    border-radius: 20px;
  }

  .thread-trail {
    width: 26px;
  }

  .why-pull {
    font-size: 1.02rem;
  }

  .quiet-letter {
    padding: 1.6rem 1.3rem 1.4rem 3.9rem;
    border-radius: 18px;
  }

  .letter-seal {
    width: 40px;
    height: 40px;
    top: 1.2rem;
    left: 1.05rem;
    font-size: 0.9rem;
  }

  .letter-ask {
    font-size: 0.95rem;
  }

  .letter-textarea {
    font-size: 1rem;
  }
}

@media (max-width: 420px) {
  .why-thread {
    grid-template-columns: 20px 1fr;
    gap: 0.6rem;
  }

  .thread-trail {
    width: 20px;
  }

  .why-pull {
    font-size: 0.98rem;
    padding: 0.1rem 0.35rem;
  }

  .quiet-letter {
    padding: 1.4rem 1rem 1.3rem 3.3rem;
  }

  .letter-seal {
    width: 34px;
    height: 34px;
    font-size: 0.82rem;
    left: 0.85rem;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .why-heading-icon,
  .why-pull,
  .knot-core,
  .knot-ring,
  .letter-seal,
  .letter-btn::before {
    animation: none !important;
  }

  .why-thread,
  .quiet-letter {
    opacity: 1 !important;
    transform: none !important;
  }

  .thread-trail path {
    stroke-dashoffset: 0 !important;
    transition: none !important;
  }
}

/* ============================================================
   SHIFT THE BALANCE — HEADING
   ============================================================ */

.shift-heading {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.shift-heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 40% 35%,
    #cfe5d8 0%,
    #8fb7a2 55%,
    #5f8c76 100%
  );
  color: #fff;
  font-size: 1rem;
  box-shadow:
    inset 0 2px 6px rgba(255, 255, 255, 0.5),
    0 6px 16px -6px rgba(95, 140, 118, 0.6);
  animation: shift-rotate 10s linear infinite;
}

@keyframes shift-rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.shift-intro {
  margin: 0.6rem 0 1.6rem;
  font-size: 1rem;
  line-height: 1.75;
  color: #3a2e28;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.shift-intro.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   5 SHIFTS — STAIRCASE
   ============================================================ */

.shift-stairs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.2rem 0 2.5rem;
}

.shift-step {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.2rem;
  align-items: start;
  padding: 1.5rem 1.6rem 1.5rem 1.2rem;
  background: linear-gradient(135deg, #ffffff 0%, #fdf7f0 60%, #f9ede0 100%);
  border-radius: 22px;
  border: 1px solid #e2d4c8;
  box-shadow: 0 10px 26px -20px rgba(107, 84, 69, 0.28);
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  overflow: hidden;
}

.shift-step.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Progressive indent for staircase feel */
.shift-step:nth-child(1) {
  margin-left: 0;
}
.shift-step:nth-child(2) {
  margin-left: 12px;
}
.shift-step:nth-child(3) {
  margin-left: 24px;
}
.shift-step:nth-child(4) {
  margin-left: 36px;
}
.shift-step:nth-child(5) {
  margin-left: 48px;
}

/* Step badge */
.step-badge {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(145deg, #ffe7c9 0%, #e9b585 55%, #c17a5c 100%);
  box-shadow:
    inset 0 2px 6px rgba(255, 255, 255, 0.55),
    0 8px 20px -10px rgba(193, 122, 92, 0.7);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.shift-step:hover .step-badge {
  transform: translateY(-3px) rotate(-3deg) scale(1.05);
}

.step-num {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #4a2c1a;
  line-height: 1;
}

.step-body p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: #2f2e2e;
}

.step-body strong {
  color: #1e4a5f;
  font-weight: 700;
}

/* Soft top accent line that pulses on hover */
.shift-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #c17a5c 0%, #d97a3f 50%, #5f8c76 100%);
  opacity: 0.35;
  transition: opacity 0.3s ease;
}

.shift-step:hover::before {
  opacity: 0.9;
}

/* ============================================================
   INTERNAL LINK PILL
   ============================================================ */

.related-link-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem 1.2rem;
  background: #f9f7f4;
  border-radius: 60px;
  border: 1px dashed #d9cfc1;
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
  margin: 0.4rem 0 1.6rem;
}

.related-link-row.is-visible {
  animation: related-glow 2.4s ease-in-out infinite;
}

@keyframes related-glow {
  0%,
  100% {
    border-color: #d9cfc1;
  }
  50% {
    border-color: #c17a5c;
  }
}

.related-link-row:hover {
  background: #f3efe8;
}

.related-pill {
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.related-pill:hover {
  transform: translateY(-2px) scale(1.02);
}

.related-pill i {
  animation: arrow-drift 1.8s ease-in-out infinite;
  display: inline-block;
}

@keyframes arrow-drift {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

/* ============================================================
   QUIZ — RECEIPT-TAG WRAPPER
   ============================================================ */

.quiz-tag-wrap {
  position: relative;
  margin: 1.6rem 0 2.5rem;
  padding-top: 22px;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.quiz-tag-wrap.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hole + string corner */
.quiz-tag-corner {
  position: absolute;
  top: 0;
  left: 32px;
  width: 40px;
  height: 40px;
  pointer-events: none;
  z-index: 2;
}

.tag-hole {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f9f4ef;
  box-shadow:
    inset 0 1px 3px rgba(0, 0, 0, 0.15),
    0 0 0 2px #e2d4c8;
}

.tag-string {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 2px;
  height: 26px;
  background: linear-gradient(180deg, #d4b48c 0%, #c17a5c 100%);
  transform: translateX(-50%);
  border-radius: 2px;
  animation: string-sway 3.5s ease-in-out infinite;
  transform-origin: top center;
}

@keyframes string-sway {
  0%,
  100% {
    transform: translateX(-50%) rotate(-3deg);
  }
  50% {
    transform: translateX(-50%) rotate(3deg);
  }
}

.quiz-tag-wrap .quiz-box {
  background: linear-gradient(160deg, #fffaf3 0%, #fdf3e7 100%);
  border: 1px solid #e2d4c8;
  border-radius: 24px;
  padding: 2rem 1.8rem 1.8rem;
  box-shadow: 0 14px 34px -22px rgba(107, 84, 69, 0.32);
  position: relative;
}

.quiz-tag-wrap .quiz-box::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  height: 12px;
  background-image: radial-gradient(
    circle at 8px 0,
    transparent 5px,
    #fffaf3 5.5px
  );
  background-size: 16px 12px;
  background-repeat: repeat-x;
  pointer-events: none;
  opacity: 0.85;
}

/* ============================================================
   REAL SCRIPTS — HEADING + BUBBLES
   ============================================================ */

.scripts-heading {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2.4rem;
}

.scripts-heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 40% 35%,
    #dce9f0 0%,
    #7b9cb0 55%,
    #4d738a 100%
  );
  font-size: 1.1rem;
  box-shadow:
    inset 0 2px 6px rgba(255, 255, 255, 0.5),
    0 6px 16px -6px rgba(77, 115, 138, 0.6);
  animation: scripts-bob 3.5s ease-in-out infinite;
}

@keyframes scripts-bob {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-3px) rotate(-4deg);
  }
}

.scripts-card {
  margin: 1.4rem 0 2.5rem;
  padding: 2rem 1.8rem;
  background: linear-gradient(135deg, #f0f6f9 0%, #e6eef4 60%, #dde7ee 100%);
  border-radius: 26px;
  border: 1px solid #d6e2eb;
  box-shadow: 0 16px 40px -26px rgba(77, 115, 138, 0.35);
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.scripts-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scripts-card-intro p,
.scripts-card-close p {
  margin: 0 0 1rem 0;
  font-size: 1rem;
  line-height: 1.75;
  color: #2f3e44;
}

.scripts-card-close p {
  margin: 1.4rem 0 0 0;
  padding-top: 1.2rem;
  border-top: 1px dashed #bcd0dc;
  font-style: italic;
  color: #4a5c66;
}

.script-bubbles {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.bubble {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem 1.2rem;
  background: #ffffff;
  border-radius: 18px 18px 18px 4px;
  border: 1px solid #d6e2eb;
  box-shadow: 0 8px 22px -18px rgba(77, 115, 138, 0.4);
  opacity: 0;
  transform: translateX(-16px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease;
}

.bubble.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.bubble:hover {
  border-color: #7b9cb0;
}

.bubble p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #2f3e44;
  font-family: "Inter", system-ui, sans-serif;
  font-style: italic;
}

.bubble-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(145deg, #7b9cb0 0%, #4d738a 100%);
  box-shadow: 0 0 0 4px rgba(123, 156, 176, 0.15);
  margin-top: 6px;
}

/* Stagger */
.bubble-a {
  transition-delay: 0.1s;
}
.bubble-b {
  transition-delay: 0.3s;
}
.bubble-c {
  transition-delay: 0.5s;
}

/* ============================================================
   EXPERT QUOTE — RIBBON
   ============================================================ */

.ribbon-quote {
  position: relative;
  margin: 2.4rem 0 2rem;
  padding: 2rem 1.8rem 1.8rem;
  background: linear-gradient(135deg, #fdf2e6 0%, #f9e8d3 60%, #f5dcc1 100%);
  border-radius: 24px;
  border-left: 6px solid #c17a5c;
  box-shadow: 0 16px 40px -26px rgba(193, 122, 92, 0.5);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.ribbon-quote.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Soft pulsing glow */
.ribbon-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 200, 150, 0.45) 0%,
    transparent 65%
  );
  pointer-events: none;
  animation: ribbon-glow 6s ease-in-out infinite;
}

@keyframes ribbon-glow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

.ribbon-quote p {
  position: relative;
  z-index: 1;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.55;
  color: #4a2c1a;
  margin-bottom: 0.8rem;
}

.ribbon-source {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  color: #6b574a;
  margin-bottom: 0.4rem;
}

.ribbon-source strong {
  color: #8c4115;
}

.ribbon-quote .quote-context {
  position: relative;
  z-index: 1;
  color: #7a6252;
  line-height: 1.6;
}

/* ============================================================
   READER REFLECTION — JOURNAL NOTE
   ============================================================ */

.journal-note {
  position: relative;
  margin: 2rem 0 2.5rem;
  padding: 2rem 2rem 1.8rem 5.4rem;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.55) 0%,
      rgba(255, 255, 255, 0.35) 100%
    ),
    repeating-linear-gradient(
      180deg,
      transparent 0px,
      transparent 29px,
      rgba(226, 200, 184, 0.45) 29px,
      rgba(226, 200, 184, 0.45) 30px
    ),
    #fdf6ec;
  border-radius: 22px;
  border: 1px solid rgba(226, 200, 184, 0.9);
  box-shadow:
    0 18px 40px -26px rgba(107, 84, 69, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.journal-note.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Seedling icon */
.journal-seedling {
  position: absolute;
  top: 1.6rem;
  left: 1.5rem;
  width: 56px;
  height: 68px;
  pointer-events: none;
}

.seedling-stem {
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 2px;
  height: 34px;
  background: linear-gradient(180deg, #8fb7a2 0%, #5f8c76 100%);
  border-radius: 2px;
  transform: translateX(-50%);
  transform-origin: bottom center;
  animation: stem-grow 5s ease-in-out infinite;
}

@keyframes stem-grow {
  0%,
  100% {
    transform: translateX(-50%) scaleY(0.92);
  }
  50% {
    transform: translateX(-50%) scaleY(1.05);
  }
}

.seedling-leaf {
  position: absolute;
  width: 20px;
  height: 14px;
  top: 22px;
  left: 4px;
  border-radius: 60% 0 60% 0;
  background: linear-gradient(145deg, #b8dcc8 0%, #7fb899 55%, #5f8c76 100%);
  transform-origin: right bottom;
  animation: leaf-sway 5s ease-in-out infinite;
}

.seedling-leaf-2 {
  left: auto;
  right: 4px;
  top: 16px;
  transform: scaleX(-1);
  transform-origin: left bottom;
  animation-delay: 0.5s;
  background: linear-gradient(145deg, #cfe5d8 0%, #8fb7a2 55%, #6a9b82 100%);
}

@keyframes leaf-sway {
  0%,
  100% {
    transform: rotate(-4deg);
  }
  50% {
    transform: rotate(4deg);
  }
}

.seedling-leaf-2 {
  animation-name: leaf-sway-r;
}

@keyframes leaf-sway-r {
  0%,
  100% {
    transform: scaleX(-1) rotate(-4deg);
  }
  50% {
    transform: scaleX(-1) rotate(4deg);
  }
}

.journal-body {
  position: relative;
  z-index: 1;
}

.journal-ask {
  margin: 0 0 0.8rem 0;
  font-size: 1rem;
  color: #3a2e28;
}

.journal-ask strong {
  color: #1e4a5f;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
}

.journal-prompt {
  margin: 0 0 1.2rem 0;
  font-family: "Caveat", "Bradley Hand", "Segoe Print", cursive;
  font-size: 1.2rem;
  line-height: 1.9;
  color: #6b574a;
}

.journal-textarea {
  width: 100%;
  min-height: 86px;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(226, 200, 184, 0.95);
  background: rgba(255, 255, 255, 0.75);
  font-family: "Caveat", "Bradley Hand", "Segoe Print", cursive;
  font-size: 1.1rem;
  line-height: 1.55;
  color: #4a3a30;
  resize: vertical;
  outline: none;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
  box-sizing: border-box;
}

.journal-textarea::placeholder {
  color: #b8a08c;
  font-style: italic;
}

.journal-textarea:focus {
  border-color: #8fb7a2;
  background: #fffdfa;
  box-shadow: 0 0 0 4px rgba(143, 183, 162, 0.15);
}

.journal-btn {
  margin-top: 1rem;
  position: relative;
  overflow: hidden;
  border-color: #8fb7a2;
  color: #4a5c4a;
  background: rgba(230, 244, 235, 0.7);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.journal-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(143, 183, 162, 0.25);
  transform: translate(-50%, -50%);
  transition:
    width 0.5s ease,
    height 0.5s ease;
}

.journal-btn:hover::before {
  width: 280px;
  height: 280px;
}

.journal-btn:hover {
  transform: translateY(-2px);
  background: #8fb7a2;
  color: #ffffff;
  box-shadow: 0 10px 24px -12px rgba(95, 140, 118, 0.7);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 720px) {
  .shift-heading,
  .scripts-heading {
    font-size: 1.5rem;
    gap: 0.55rem;
  }

  .shift-heading-icon,
  .scripts-heading-icon {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }

  .shift-step {
    grid-template-columns: 56px 1fr;
    gap: 0.95rem;
    padding: 1.2rem 1.2rem 1.2rem 1rem;
    border-radius: 18px;
  }

  .shift-step:nth-child(2) {
    margin-left: 6px;
  }
  .shift-step:nth-child(3) {
    margin-left: 12px;
  }
  .shift-step:nth-child(4) {
    margin-left: 18px;
  }
  .shift-step:nth-child(5) {
    margin-left: 24px;
  }

  .step-badge {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .step-num {
    font-size: 1.5rem;
  }

  .step-body p {
    font-size: 0.95rem;
  }

  .scripts-card {
    padding: 1.5rem 1.2rem;
    border-radius: 20px;
  }

  .ribbon-quote {
    padding: 1.6rem 1.3rem 1.4rem;
    border-left-width: 5px;
  }

  .ribbon-quote p {
    font-size: 1.15rem;
  }

  .journal-note {
    padding: 1.6rem 1.3rem 1.4rem 4.4rem;
  }

  .journal-seedling {
    width: 44px;
    height: 56px;
    top: 1.3rem;
    left: 1rem;
  }

  .seedling-leaf {
    width: 16px;
    height: 11px;
    top: 18px;
  }

  .seedling-leaf-2 {
    top: 13px;
  }

  .journal-prompt {
    font-size: 1.08rem;
  }

  .journal-textarea {
    font-size: 1rem;
  }
}

@media (max-width: 420px) {
  .shift-step {
    grid-template-columns: 44px 1fr;
    gap: 0.75rem;
    padding: 1rem;
  }

  .step-badge {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .step-num {
    font-size: 1.25rem;
  }

  .shift-step:nth-child(n) {
    margin-left: 0;
  }

  .journal-note {
    padding: 1.4rem 1rem 1.3rem 3.6rem;
  }

  .journal-seedling {
    width: 36px;
    height: 46px;
    left: 0.85rem;
  }

  .seedling-leaf {
    width: 13px;
    height: 9px;
    top: 15px;
  }

  .seedling-leaf-2 {
    top: 11px;
  }

  .seedling-stem {
    height: 26px;
    bottom: 6px;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .shift-heading-icon,
  .scripts-heading-icon,
  .tag-string,
  .ribbon-glow,
  .seedling-stem,
  .seedling-leaf,
  .related-link-row.is-visible,
  .related-pill i {
    animation: none !important;
  }

  .shift-intro,
  .shift-step,
  .scripts-card,
  .bubble,
  .ribbon-quote,
  .journal-note {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Reaction Buttons */
.reaction-btn:hover {
  background: #f3ede6 !important;
  border-color: var(--terracotta, #c17a5c) !important;
}

.reaction-btn:active {
  transform: scale(0.95);
}

/* Skip to Solutions Button */
#skipToSolutionsBtn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(193, 122, 92, 0.5);
}

#skipToSolutionsBtn:active {
  transform: scale(0.95);
}

/* Break Interstitial */
#breakInterstitial {
  transition: opacity 0.5s ease;
}

#continueReadingBtn:hover {
  transform: scale(1.05);
  background: #d48d6e !important;
}

/* ============================================================
   🌿 MOOD TRACKER — Compact, article-aligned
   ============================================================ */

.mood-tracker {
  position: relative;
  background:
    radial-gradient(
      circle at 12% 8%,
      rgba(255, 200, 150, 0.18) 0%,
      transparent 45%
    ),
    radial-gradient(
      circle at 88% 92%,
      rgba(180, 220, 200, 0.15) 0%,
      transparent 45%
    ),
    linear-gradient(160deg, #fffaf3 0%, #fdf3e7 100%);
  border-radius: 20px;
  padding: 1.2rem 1.3rem 1.1rem;
  margin: 1.6rem 0;
  border: 1px solid #ecdcc9;
  box-shadow:
    0 4px 14px -6px rgba(184, 120, 70, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  color: #3a2e28;
  overflow: hidden;
  isolation: isolate;
}

.mood-tracker::before {
  content: "✨";
  position: absolute;
  top: 0.6rem;
  right: 0.9rem;
  font-size: 0.95rem;
  opacity: 0.45;
  animation: gentleFloat 3.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.mood-tracker::after {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 110px;
  height: 110px;
  background: radial-gradient(
    circle,
    rgba(255, 180, 130, 0.14) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.mood-header {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.7rem;
}

.mood-header h4 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1rem;
  font-weight: 600;
  color: #3a2e28;
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  letter-spacing: -0.005em;
}

.mood-header h4 i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #ffb88c, #ff8f6b);
  color: white;
  border-radius: 50%;
  font-size: 0.65rem;
  box-shadow: 0 2px 6px rgba(255, 143, 107, 0.28);
  flex-shrink: 0;
}

.mood-badge {
  background: linear-gradient(135deg, #f5e6d3, #ecd9c0);
  padding: 0.18rem 0.7rem;
  border-radius: 40px;
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #8b6f5c;
  border: 1px solid rgba(184, 120, 70, 0.1);
}

.mood-value-display {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.6rem;
  min-height: 42px;
}

.mood-emoji {
  font-size: 1.7rem;
  line-height: 1;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 2px 4px rgba(255, 143, 107, 0.2));
  user-select: none;
}

.mood-emoji.bounce {
  animation: emojiBounce 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes emojiBounce {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.18) rotate(-5deg);
  }
  70% {
    transform: scale(0.96) rotate(2deg);
  }
  100% {
    transform: scale(1) rotate(0);
  }
}

.mood-value {
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #c87a5a 0%, #8b6f5c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -0.02em;
  font-family: "Newsreader", Georgia, serif;
}

.mood-value::after {
  content: "/10";
  font-size: 0.72rem;
  font-weight: 500;
  color: #b8a99a;
  -webkit-text-fill-color: #b8a99a;
  margin-left: 0.2rem;
  letter-spacing: 0;
}

.mood-caption {
  font-size: 0.78rem;
  color: #8b756a;
  font-style: italic;
  margin-left: auto;
  padding: 0.2rem 0.65rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 40px;
  border: 1px solid rgba(184, 120, 70, 0.08);
  transition: all 0.3s ease;
  max-width: 55%;
  text-align: right;
  line-height: 1.3;
}

.mood-slider-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0.4rem 0 0.9rem;
}

input[type="range"].mood-slider {
  width: 100%;
  height: 8px;
  border-radius: 20px;
  background: linear-gradient(90deg, #b8dcc8 0%, #f5e6d3 50%, #ffb88c 100%);
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  cursor: pointer;
  box-shadow: inset 0 1px 4px rgba(184, 120, 70, 0.08);
  border: 1px solid rgba(184, 120, 70, 0.06);
}

input[type="range"].mood-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #ffb88c 0%, #ff8f6b 65%);
  border: 2.5px solid white;
  box-shadow: 0 2px 8px rgba(255, 143, 107, 0.32);
  cursor: grab;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease;
}

input[type="range"].mood-slider::-webkit-slider-thumb:hover {
  transform: scale(1.12);
  box-shadow: 0 4px 12px rgba(255, 143, 107, 0.45);
}

input[type="range"].mood-slider::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.15);
}

input[type="range"].mood-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #ffb88c 0%, #ff8f6b 65%);
  border: 2.5px solid white;
  box-shadow: 0 2px 8px rgba(255, 143, 107, 0.32);
  cursor: grab;
}

.mood-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: #a28f83;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.mood-save-btn {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #8b6f5c 0%, #6b5445 100%);
  border: none;
  padding: 0.5rem 1.3rem;
  border-radius: 40px;
  color: white;
  font-weight: 500;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 3px 10px rgba(107, 84, 69, 0.2);
  letter-spacing: 0.01em;
  font-family: inherit;
}

.mood-save-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(107, 84, 69, 0.28);
  background: linear-gradient(135deg, #9d7e68 0%, #7a6252 100%);
}

.mood-save-btn:active {
  transform: translateY(0) scale(0.98);
}

.mood-save-btn.saved {
  background: linear-gradient(135deg, #7bb593 0%, #5f9b7a 100%);
  box-shadow: 0 3px 10px rgba(95, 155, 122, 0.25);
}

.mood-save-btn i {
  font-size: 0.78rem;
}

.mood-feedback {
  display: none;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  font-weight: 500;
  color: #5f9b7a;
  margin-top: 0.6rem;
  padding: 0.4rem 0.9rem;
  background: linear-gradient(135deg, #e8f4ec 0%, #d9ecdf 100%);
  border-radius: 40px;
  border: 1px solid rgba(95, 155, 122, 0.18);
  animation: pillSlideIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  width: fit-content;
}

.mood-feedback.show {
  display: inline-flex;
}

@keyframes pillSlideIn {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mood-compare {
  position: relative;
  z-index: 1;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(135deg, #fef7f0 0%, #f7ede0 100%);
  border-radius: 14px;
  border: 1px solid rgba(184, 120, 70, 0.12);
  box-shadow: 0 3px 12px -6px rgba(184, 120, 70, 0.12);
  display: none;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem 0.9rem;
  font-size: 0.82rem;
  animation: compareSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mood-compare.visible {
  display: flex;
}

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

.mood-compare .compare-icon {
  font-size: 1.4rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(255, 143, 107, 0.22));
  flex-shrink: 0;
}

.mood-compare .compare-body {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  flex: 1;
  min-width: 160px;
}

.mood-compare .compare-title {
  font-family: "Newsreader", Georgia, serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #3a2e28;
  letter-spacing: -0.005em;
}

.mood-compare .shift-amount {
  display: inline-block;
  font-weight: 600;
  font-size: 0.76rem;
  padding: 0.18rem 0.7rem;
  border-radius: 40px;
  background: #ece2d6;
  color: #5a4a3e;
  width: fit-content;
  transition: all 0.3s ease;
}

.mood-compare .shift-amount.positive {
  background: linear-gradient(135deg, #c8e8d4, #a8d4ba);
  color: #2a5c40;
  box-shadow: 0 2px 6px rgba(120, 190, 150, 0.2);
}

.mood-compare .shift-amount.negative {
  background: linear-gradient(135deg, #f0d5d5, #e3bcbc);
  color: #7a3030;
  box-shadow: 0 2px 6px rgba(190, 120, 120, 0.16);
}

.mood-compare .shift-message {
  color: #6b5a4c;
  font-size: 0.75rem;
  line-height: 1.45;
  font-style: italic;
}

@media (max-width: 640px) {
  .mood-tracker {
    padding: 1rem 1rem 0.95rem;
    border-radius: 16px;
    margin: 1.2rem 0;
  }

  .mood-header h4 {
    font-size: 0.92rem;
  }

  .mood-header h4 i {
    width: 22px;
    height: 22px;
    font-size: 0.6rem;
  }

  .mood-value {
    font-size: 1.2rem;
  }
  .mood-emoji {
    font-size: 1.45rem;
  }

  .mood-caption {
    font-size: 0.7rem;
    max-width: 100%;
    text-align: left;
    margin-left: 0;
  }

  .mood-value-display {
    flex-wrap: wrap;
    gap: 0.45rem;
  }

  .mood-tracker::before {
    font-size: 0.8rem;
    top: 0.5rem;
    right: 0.7rem;
  }

  .mood-save-btn {
    padding: 0.45rem 1.1rem;
    font-size: 0.74rem;
  }
}

@media (max-width: 380px) {
  .mood-value {
    font-size: 1.05rem;
  }
  .mood-emoji {
    font-size: 1.25rem;
  }
  .mood-caption {
    font-size: 0.65rem;
  }

  .mood-save-btn {
    padding: 0.4rem 0.95rem;
    font-size: 0.7rem;
  }

  .mood-compare .compare-icon {
    font-size: 1.15rem;
  }
}

/* Printable Summary Card */
@media print {
  .printable-summary-card {
    border: 2px solid #1e4a5f !important;
    background: white !important;
    break-inside: avoid;
  }
  .printable-summary-card button {
    display: none !important;
  }
  #skipToSolutionsBtn,
  #breakInterstitial,
  .reading-mode-selector,
  .live-poll,
  .reaction-buttons,
  .mood-tracker-before,
  .mood-tracker-after {
    display: none !important;
  }
  .site-header,
  .sidebar,
  .site-footer {
    display: none !important;
  }
  .essentials-only {
    display: none !important;
  }
  .full-depth-content {
    display: block !important;
  }
  body {
    font-size: 12pt;
    background: white;
  }
  .container {
    max-width: 100%;
    padding: 0;
  }
  .main-content {
    width: 100%;
  }
  .hero-img {
    max-width: 100%;
  }
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .reading-mode-selector {
    flex-direction: column;
    align-items: stretch !important;
    gap: 0.5rem !important;
    text-align: center;
    padding: 1rem !important;
  }
  .reading-mode-selector > span {
    text-align: center;
  }
  .mode-btn {
    padding: 0.6rem 1rem !important;
    font-size: 0.8rem !important;
  }
  #modeIndicator {
    margin-left: 0 !important;
    text-align: center;
  }

  .live-poll #pollOptions {
    grid-template-columns: 1fr !important;
  }
  .live-poll {
    padding: 1rem !important;
  }
  .poll-btn {
    font-size: 0.8rem !important;
    padding: 0.6rem 0.8rem !important;
  }
  #pollResults {
    grid-template-columns: 1fr !important;
    font-size: 0.75rem !important;
  }

  .mood-tracker-before,
  .mood-tracker-after {
    padding: 1rem !important;
  }
  .mood-tracker-before > div,
  .mood-tracker-after > div {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .mood-tracker-before input[type="range"],
  .mood-tracker-after input[type="range"] {
    min-width: 100% !important;
  }

  .reaction-buttons {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .reaction-btn {
    justify-content: center !important;
    padding: 0.6rem !important;
    font-size: 0.85rem !important;
  }

  .future-self-letter {
    padding: 1.5rem !important;
    font-size: 0.95rem !important;
  }

  .printable-summary-card {
    padding: 1rem !important;
  }
  .printable-summary-card > div {
    padding: 1rem !important;
  }
  .printable-summary-card ul li {
    font-size: 0.85rem !important;
  }

  #skipToSolutionsBtn {
    bottom: 20px !important;
    right: 20px !important;
    padding: 0.6rem 1rem !important;
    font-size: 0.8rem !important;
  }

  #breakInterstitial h2 {
    font-size: 1.5rem !important;
  }
  #breakInterstitial p {
    font-size: 1rem !important;
  }
  #breakInterstitial > div {
    padding: 1rem !important;
  }

  .rec-grid {
    grid-template-columns: 1fr !important;
  }
  .related-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .reading-mode-selector {
    border-radius: 20px !important;
    padding: 0.8rem !important;
  }
  .mode-btn {
    font-size: 0.75rem !important;
    padding: 0.4rem 0.8rem !important;
  }

  .poll-btn {
    font-size: 0.75rem !important;
    padding: 0.5rem 0.6rem !important;
  }

  .future-self-letter {
    padding: 1rem !important;
  }
  .future-self-letter p {
    font-size: 0.9rem !important;
  }

  .printable-summary-card h3 {
    font-size: 1.1rem !important;
  }
  .printable-summary-card h4 {
    font-size: 0.95rem !important;
  }
  .printable-summary-card ul li {
    font-size: 0.8rem !important;
  }
}

/* Tablet adjustments */
@media (min-width: 641px) and (max-width: 1024px) {
  .live-poll #pollOptions {
    grid-template-columns: 1fr 1fr !important;
  }
  #pollResults {
    grid-template-columns: 1fr 1fr !important;
  }
  .rec-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* --- SECTION CONTAINER --- */
.recommendations-section {
  margin: 4rem 0;
  padding: 2.5rem 2rem;
  background: #fafbfc;
  border-radius: 24px;
  border: 1px solid #e8ecf0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* --- DECORATIVE ELEMENTS --- */

/* Star decoration - top right */
.recommendations-section::before {
  content: "✦";
  position: absolute;
  top: -20px;
  right: -10px;
  font-size: 120px;
  color: rgba(74, 85, 104, 0.04);
  font-weight: 300;
  pointer-events: none;
  line-height: 1;
}

/* Subtle bottom gradient line with shimmer */
.recommendations-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4a5568, #9ca3af, #4a5568);
  background-size: 200% 100%;
  animation: shimmer 4s ease-in-out infinite;
  opacity: 0.3;
}

@keyframes shimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* --- HEADING --- */
.recommendations-section h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #1a1a2e;
  text-align: center;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

.recommendations-section .subtitle {
  text-align: center;
  color: #6b7280;
  font-size: 0.95rem;
  margin-top: -0.25rem;
  margin-bottom: 2rem;
  font-weight: 400;
  position: relative;
  z-index: 1;
}

.recommendations-section h3:after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: #4a5568;
  margin: 12px auto 0;
  border-radius: 4px;
  opacity: 0.4;
}

/* Optional: Highlight text in heading */
.recommendations-section h3 .highlight {
  color: #4a5568;
  position: relative;
}

.recommendations-section h3 .highlight::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 6px;
  background: rgba(74, 85, 104, 0.12);
  border-radius: 4px;
  z-index: -1;
}

/* --- GRID CONTAINER --- */
#travel-recommendations,
#emotions-recommendations,
#development-recommendations,
#emotional-freedom-recommendations {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 0.5rem;
  position: relative;
  z-index: 1;
}

/* --- RECOMMENDATION CARDS --- */
#travel-recommendations a,
#emotions-recommendations a,
#development-recommendations a,
#emotional-freedom-recommendations a {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

#travel-recommendations > div,
#emotions-recommendations > div,
#development-recommendations > div,
#emotional-freedom-recommendations > div,
.recommendation-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  height: 100%;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  border: 1px solid #eef0f5;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Card hover effect */
#travel-recommendations a:hover > div,
#emotions-recommendations a:hover > div,
#development-recommendations a:hover > div,
#emotional-freedom-recommendations a:hover > div,
.recommendation-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
  border-color: #c5c9d4;
}

/* Subtle top border on hover */
#travel-recommendations a:hover > div::before,
#emotions-recommendations a:hover > div::before,
#development-recommendations a:hover > div::before,
#emotional-freedom-recommendations a:hover > div::before,
.recommendation-card:hover::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #4a5568;
  border-radius: 16px 16px 0 0;
  opacity: 0.3;
}

/* --- CARD METADATA --- */
.card-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.card-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: #f0f2f5;
  color: #4a5568;
}

.card-read-time {
  font-size: 0.7rem;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-read-time i {
  font-size: 0.65rem;
}

.card-category {
  font-size: 0.6rem;
  background: #f3f4f6;
  padding: 3px 10px;
  border-radius: 12px;
  color: #6b7280;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.card-stage {
  font-size: 0.6rem;
  background: #f3f4f6;
  padding: 3px 10px;
  border-radius: 12px;
  color: #6b7280;
  font-weight: 500;
}

/* --- CARD TITLE --- */
.card-title {
  margin: 0 0 8px 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: #1a1a2e;
  transition: color 0.2s ease;
}

#travel-recommendations a:hover .card-title,
#emotions-recommendations a:hover .card-title,
#development-recommendations a:hover .card-title,
#emotional-freedom-recommendations a:hover .card-title,
.recommendation-card:hover .card-title {
  color: #2d3748;
}

/* --- CARD DESCRIPTION --- */
.card-description {
  font-size: 0.82rem;
  color: #6b7280;
  margin: 0 0 14px 0;
  line-height: 1.6;
  flex-grow: 1;
}

/* --- CARD TAGS --- */
.card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.card-tag {
  background: #f3f4f6;
  padding: 3px 10px;
  border-radius: 14px;
  font-size: 0.6rem;
  color: #6b7280;
  font-weight: 500;
  transition: all 0.2s ease;
}

#travel-recommendations a:hover .card-tag,
#emotions-recommendations a:hover .card-tag,
#development-recommendations a:hover .card-tag,
#emotional-freedom-recommendations a:hover .card-tag,
.recommendation-card:hover .card-tag {
  background: #e5e7eb;
  color: #374151;
}

/* --- CARD CTA --- */
.card-cta {
  font-size: 0.75rem;
  color: #4a5568;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f0f2f5;
  transition: all 0.25s ease;
}

#travel-recommendations a:hover .card-cta,
#emotions-recommendations a:hover .card-cta,
#development-recommendations a:hover .card-cta,
#emotional-freedom-recommendations a:hover .card-cta,
.recommendation-card:hover .card-cta {
  gap: 10px;
  color: #1a1a2e;
}

.card-cta .arrow {
  transition: transform 0.25s ease;
  display: inline-block;
}

#travel-recommendations a:hover .card-cta .arrow,
#emotions-recommendations a:hover .card-cta .arrow,
#development-recommendations a:hover .card-cta .arrow,
#emotional-freedom-recommendations a:hover .card-cta .arrow,
.recommendation-card:hover .card-cta .arrow {
  transform: translateX(4px);
}

/* --- LOADING / EMPTY STATE --- */
.recommendations-loading,
.recommendations-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: #6b7280;
  font-size: 0.95rem;
  grid-column: 1 / -1;
}

.recommendations-loading .spinner {
  display: inline-block;
  width: 32px;
  height: 32px;
  border: 3px solid #e5e7eb;
  border-top-color: #4a5568;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 1rem;
}

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

/* ============================================
   DARK MODE SUPPORT
   ============================================ */

@media (prefers-color-scheme: dark) {
  .recommendations-section {
    background: #1a1a2e;
    border-color: #2d2d4a;
  }

  /* Star decoration - darker */
  .recommendations-section::before {
    color: rgba(156, 163, 175, 0.04);
  }

  /* Shimmer line - darker */
  .recommendations-section::after {
    background: linear-gradient(90deg, #9ca3af, #e5e7eb, #9ca3af);
    opacity: 0.15;
  }

  .recommendations-section h3 {
    color: #e8e8f0;
  }

  .recommendations-section .subtitle {
    color: #9ca3af;
  }

  .recommendations-section h3:after {
    background: #9ca3af;
    opacity: 0.3;
  }

  .recommendations-section h3 .highlight {
    color: #e8e8f0;
  }

  .recommendations-section h3 .highlight::after {
    background: rgba(156, 163, 175, 0.15);
  }

  .recommendation-card {
    background: #252545;
    border-color: #333366;
  }

  .recommendation-card:hover {
    border-color: #555588;
  }

  .card-title {
    color: #e8e8f0;
  }

  #travel-recommendations a:hover .card-title,
  #emotions-recommendations a:hover .card-title,
  #development-recommendations a:hover .card-title,
  #emotional-freedom-recommendations a:hover .card-title,
  .recommendation-card:hover .card-title {
    color: #d0d0e8;
  }

  .card-description {
    color: #b0b0c8;
  }

  .card-badge {
    background: #2d2d4a;
    color: #b0b0c8;
  }

  .card-read-time {
    color: #7a7a9a;
  }

  .card-category,
  .card-stage {
    background: #2d2d4a;
    color: #b0b0c8;
  }

  .card-tag {
    background: #2d2d4a;
    color: #b0b0c8;
  }

  #travel-recommendations a:hover .card-tag,
  #emotions-recommendations a:hover .card-tag,
  #development-recommendations a:hover .card-tag,
  #emotional-freedom-recommendations a:hover .card-tag,
  .recommendation-card:hover .card-tag {
    background: #3d3d5a;
    color: #d0d0e8;
  }

  .card-cta {
    color: #b0b0c8;
    border-top-color: #333366;
  }

  #travel-recommendations a:hover .card-cta,
  #emotions-recommendations a:hover .card-cta,
  #development-recommendations a:hover .card-cta,
  #emotional-freedom-recommendations a:hover .card-cta,
  .recommendation-card:hover .card-cta {
    color: #d0d0e8;
  }

  .recommendation-card:hover::before {
    background: #9ca3af;
    opacity: 0.15;
  }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablets */
@media (max-width: 1024px) {
  #travel-recommendations,
  #emotions-recommendations,
  #development-recommendations,
  #emotional-freedom-recommendations {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
  }

  .recommendations-section {
    padding: 2rem 1.5rem;
  }

  .recommendations-section h3 {
    font-size: 1.5rem;
  }

  /* Smaller star on tablet */
  .recommendations-section::before {
    font-size: 80px;
    top: -15px;
    right: -5px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .recommendations-section {
    padding: 1.5rem 1rem;
    margin: 2.5rem 0;
    border-radius: 20px;
  }

  .recommendations-section h3 {
    font-size: 1.25rem;
  }

  .recommendations-section .subtitle {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
  }

  /* Smaller star on mobile */
  .recommendations-section::before {
    font-size: 60px;
    top: -10px;
    right: 0px;
  }

  #travel-recommendations,
  #emotions-recommendations,
  #development-recommendations,
  #emotional-freedom-recommendations {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .recommendation-card {
    padding: 1.25rem;
  }

  .card-title {
    font-size: 0.95rem;
  }

  .card-description {
    font-size: 0.8rem;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .recommendations-section {
    padding: 1rem 0.75rem;
    border-radius: 16px;
    margin: 1.5rem 0;
  }

  .recommendations-section::before {
    font-size: 40px;
    top: -5px;
    right: 5px;
  }

  .recommendation-card {
    padding: 1rem;
  }

  .card-meta {
    gap: 6px;
  }

  .card-badge {
    font-size: 0.55rem;
    padding: 3px 10px;
  }

  .card-read-time {
    font-size: 0.6rem;
  }

  .card-category,
  .card-stage {
    font-size: 0.55rem;
    padding: 2px 8px;
  }
}

/* ============================================================
   UNIVERSAL FOOTER — full-bleed, responsive, article-safe
   Works whether footer is inside .main-wrapper or not
   ============================================================ */

/* 1) Force full viewport width, ignore any parent max-width */
.site-footer {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  background: #2c2826;
  color: #dacbc0;
  padding: 3rem 1.5rem 0;
  margin-top: 4rem;
  position: relative;
  overflow-x: hidden;
}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
  box-sizing: border-box;
}

.footer-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 0;
}

/* 2) Fluid 4-column grid */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
  width: 100%;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

/* Brand */
.footer-logo {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.footer-logo span {
  color: #c87a5a;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #dacbc0;
  margin: 0;
}

/* Column headings */
.footer-col h4 {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.25rem 0;
  letter-spacing: 0.02em;
}

/* Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: #dacbc0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #c87a5a;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.25rem;
  flex-wrap: wrap;
}

.footer-social .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #dacbc0;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.footer-social .social-link:hover {
  background: #c87a5a;
  color: #fff;
}

/* Newsletter form */
.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.footer-newsletter-form input[type="email"] {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.footer-newsletter-form input[type="email"]::placeholder {
  color: rgba(218, 203, 192, 0.6);
}

.footer-newsletter-form input[type="email"]:focus {
  border-color: #c87a5a;
}

/* Newsletter submit button */
.footer-newsletter-form button,
.footer-col form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.7rem 1.4rem;
  border: none;
  border-radius: 40px;
  background: #6f8e7e;
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.01em;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  transition:
    background 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.2s ease;
}

.footer-newsletter-form button:hover,
.footer-col form button:hover {
  background: #6f8e7e;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.footer-newsletter-form button:active,
.footer-col form button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.footer-newsletter-form button:focus-visible,
.footer-col form button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* Trust badges */
.footer-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.6rem 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: #dacbc0;
  white-space: nowrap;
}

.trust-badge i {
  color: #c87a5a;
  flex-shrink: 0;
}

/* Disclaimer */
.footer-disclaimer {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0.6rem;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #dacbc0;
  text-align: left;
}

.footer-disclaimer i {
  color: #c87a5a;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* Copyright */
.footer-copyright {
  text-align: center;
  padding: 0.5rem 0 1rem;
  width: 100%;
}

.footer-copyright p {
  margin: 0;
  font-size: 0.82rem;
  color: #dacbc0;
  opacity: 0.85;
}

/* Email contact bar */
.footer-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  width: 100%;
  flex-wrap: wrap;
}

.footer-contact i {
  color: #c87a5a;
  flex-shrink: 0;
}

.footer-contact a {
  color: #dacbc0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
  word-break: break-word;
}

.footer-contact a:hover {
  color: #c87a5a;
}

/* ============================================================
   RESPONSIVE — footer
   ============================================================ */

/* Tablet: 2 columns */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile: 1 column, centered */
@media (max-width: 560px) {
  .site-footer {
    padding: 2.5rem 1rem 0;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    text-align: center;
  }

  .footer-col {
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-newsletter-form {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .footer-trust {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-disclaimer {
    text-align: left;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 800px) {
  .footer-container {
    padding: 1.5rem 1.5rem 1rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .footer-trust {
    gap: 1rem;
  }

  .trust-badge {
    font-size: 0.65rem;
  }

  .footer-disclaimer {
    flex-direction: column;
    text-align: center;
    gap: 0.3rem;
  }
}

@media (max-width: 550px) {
  .footer-container {
    padding: 1.2rem 1rem 0.8rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-newsletter-form {
    max-width: 280px;
    margin: 0 auto;
  }

  .footer-trust {
    gap: 0.8rem;
  }

  .trust-badge {
    font-size: 0.6rem;
  }

  .footer-copyright p {
    font-size: 0.65rem;
  }
}

@media (max-width: 900px) {
  .article-grid {
    flex-direction: column;
  }
  h1 {
    font-size: 2.4rem;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  h1 {
    font-size: 2rem;
  }
  .subhead {
    font-size: 1.2rem;
  }
  body {
    font-size: 16px;
  }
  .soulspace-author-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}
@media (max-width: 480px) {
  .nav-bar {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }
  .nav-links {
    justify-content: center;
  }
}
@keyframes fadeSlide {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-once {
  animation: fadeSlide 0.5s ease forwards;
}
.quiz-option {
  margin: 8px 0;
}
.quiz-result {
  font-weight: bold;
  margin-top: 12px;
}
