:root {
  --primary-dawn: #e8a87c;
  --primary-deep: #4a3f35;
  --accent-gold: #d4a373;
  --accent-sage: #8ba89a;
  --text-deep: #2c2a28;
  --text-soft: #5a5652;
  --bg-cream: #fdfaf6;
  --bg-warm: #faf6f0;
  --bg-dawn: #fdf0e6;
  --border-soft: #e8e0d6;
  --shadow-soft: 0 4px 20px rgba(74, 63, 53, 0.08);
  --font-serif: "Literata", Georgia, serif;
  --font-sans: "Inter", -apple-system, sans-serif;
  --radius-md: 16px;
  --radius-lg: 24px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: var(--font-sans);
  background: var(--bg-cream);
  color: var(--text-deep);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

/* ================= HEADER ================= */
.site-header {
  background: rgba(254, 250, 247, 0.96);
  -webkit-backdrop-filter: blur(8px); /* Safari */
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #f0e2da;
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

/* Prevent sticky header from covering anchor targets like #faq */
html {
  scroll-padding-top: 90px;
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  max-width: var(--container-width, 1200px);
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 1rem;
  min-height: 72px;
}

/* ---- LOGO ---- */
.soulspace-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font-serif, "Literata", Georgia, serif);
  font-size: 1.8rem;
  font-weight: 800;
  color: #2c3e50;
  white-space: nowrap;
  transition: transform 0.25s ease;
}
.soulspace-logo:hover {
  transform: translateY(-1px);
}
.soulspace-logo:focus-visible {
  outline: 2px solid #7f9f8a;
  outline-offset: 4px;
  border-radius: 6px;
}

.logo-icon {
  font-size: 1.8rem;
  display: inline-block;
  animation: gentleFloat 3s ease-in-out infinite;
}

/*
  FIX: previously .logo-text carried its own gradient AND contained
  .logo-accent with a second gradient. The parent's transparent
  text-fill clipped the child's gradient. Solution: apply the gradient
  on the inner spans, and keep the parent as a plain colour carrier.
*/
.logo-text {
  display: inline-flex;
  align-items: baseline;
  color: #2c3e50; /* fallback if gradients fail */
}
.logo-text > span:first-child {
  /* "Soul" — deep slate */
  background: linear-gradient(135deg, #2c3e50, #3f5a6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-accent {
  /* "Space" — sage/dawn green, matches 🌿 */
  background: linear-gradient(135deg, #6b8e23, #9acd32);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- NAV ---- */
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}
.nav-links a {
  position: relative;
  color: #5a524c;
  font-weight: 500;
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.25s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, #7f9f8a, #c87a5a);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s cubic-bezier(0.4, 0.2, 0.2, 1);
}
.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--primary-sage, #7f9f8a);
  outline: none;
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}
/* Keep role=button anchors from feeling like links */
.nav-links a[role="button"] {
  cursor: pointer;
}

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

@media (prefers-reduced-motion: reduce) {
  .logo-icon {
    animation: none;
  }
  .soulspace-logo:hover {
    transform: none;
  }
}

.logo-icon {
  font-size: 1.8rem;
  display: inline-block;
  animation: gentleFloat 3s ease-in-out infinite;
  will-change: transform;
  transform: translateZ(0); /* force GPU layer */
  backface-visibility: hidden;
}

@keyframes gentleFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -3px, 0);
  }
}
/* BREADCRUMB */
.breadcrumb-bar {
  max-width: 860px;
  margin: 1rem auto 0;
  padding: 0 1.5rem;
  font-size: 0.8rem;
  color: #8a7a70;
}
.breadcrumb-bar a {
  color: var(--accent-gold);
  text-decoration: none;
}
.breadcrumb-bar a:hover {
  text-decoration: underline;
}

/* READING MODE */
.reading-mode-selector {
  max-width: 860px;
  margin: 1rem auto;
  padding: 0 1.5rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.mode-btn {
  padding: 0.7rem 1.2rem;
  border: 1.5px solid var(--border-soft);
  background: white;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
  color: var(--text-soft);
}
.mode-btn.active {
  background: var(--accent-sage);
  border-color: var(--accent-sage);
  color: white;
}
.mode-btn:hover:not(.active) {
  border-color: var(--accent-sage);
  color: var(--primary-deep);
}

/* MAIN LAYOUT */
.main-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.article-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  padding: 1rem 0 3rem;
  align-items: start;
}
.article-content {
  min-width: 0;
}

/* TYPOGRAPHY */
h1.article-title {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  line-height: 1.25;
  font-weight: 500;
  margin: 1rem 0;
  color: var(--text-deep);
  letter-spacing: -0.02em;
}
.meta-category {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
h2 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.3;
  margin: 2.5rem 0 1rem;
  color: var(--text-deep);
  letter-spacing: -0.01em;
  scroll-margin-top: 90px;
}
h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  margin: 1.8rem 0 0.8rem;
  color: var(--text-deep);
}
p {
  margin-bottom: 1.2rem;
  color: #3d3a36;
}
p em {
  color: var(--text-soft);
}
strong {
  color: var(--text-deep);
  font-weight: 600;
}
a.internal-link {
  color: var(--accent-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}
a.internal-link:hover {
  color: var(--primary-deep);
}
sup.cite {
  color: var(--accent-gold);
  font-weight: 600;
  font-size: 0.7em;
  cursor: help;
}
.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #8a7a70;
  margin: 1rem 0 1.5rem;
  align-items: center;
}
.byline a {
  color: var(--primary-deep);
  text-decoration: underline;
  font-weight: 600;
}

/* EDITORIAL NOTE */
.editorial-note {
  font-size: 0.82rem;
  color: #6f7c6f;
  margin-bottom: 1.5rem;
  padding: 0.85rem 1rem;
  background: #f5f1eb;
  border-radius: 10px;
  border-left: 3px solid var(--accent-sage);
  line-height: 1.55;
}

/* HERO */
.hero-container {
  margin: 1.5rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.hero-image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.hero-caption {
  background: linear-gradient(to top, rgba(44, 42, 40, 0.85), transparent);
  color: #f5f1eb;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.5rem 1rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
}
.photo-credit {
  color: #8a7a70;
  font-size: 0.72rem;
  margin: 0.4rem 0 1.5rem;
}
.photo-credit a {
  color: var(--accent-gold);
}

/* MOOD TRACKER */
.mood-tracker {
  background: linear-gradient(135deg, #fdf0e6, #f5f1eb);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border: 1px solid var(--border-soft);
}
.mood-tracker p {
  margin-bottom: 0.5rem;
  font-size: 0.98rem;
}
.mood-tracker input[type="range"] {
  width: 100%;
  accent-color: var(--accent-sage);
  margin: 0.5rem 0;
}
.mood-tracker button {
  background: var(--accent-sage);
  color: white;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.5rem;
  font-family: var(--font-sans);
}
.mood-tracker button:hover {
  background: var(--primary-deep);
}
#moodShiftResult {
  font-size: 0.95rem;
  color: var(--primary-deep);
}

/* LIVE POLL */
.live-poll {
  background: linear-gradient(160deg, #fdf8f2 0%, #f7ede0 100%);
  border-radius: var(--border-radius-md);
  padding: 2rem 1.75rem 1.75rem;
  margin: 2rem 0;
  border: 1px solid #e8dbcc;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(184, 95, 40, 0.06);
}
.live-poll::after {
  content: "";
  position: absolute;
  top: 1.75rem;
  bottom: 1.75rem;
  left: 0;
  width: 4px;
  background: linear-gradient(180deg, #d97a3f, #b85f28);
  border-radius: 0 4px 4px 0;
  opacity: 0.7;
}
.live-poll h4 {
  margin: 0 0 1.25rem;
  font-size: 1.2rem;
  color: #3a2e28;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.live-poll h4 i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(145deg, #d97a3f, #b85f28);
  color: white;
  border-radius: 10px;
  font-size: 0.85rem;
}
.poll-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}
.poll-option-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #fffdf9;
  border: 1px solid #e8dbcc;
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  cursor: pointer;
  transition: all 0.25s;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: #6b574a;
  text-align: left;
}
.poll-option-btn::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #d9c6b2;
  flex-shrink: 0;
  transition: all 0.25s;
}
.poll-option-btn:hover {
  border-color: #d97a3f;
  color: #3a2e28;
  transform: translateY(-2px);
  background: white;
}
.poll-option-btn.voted {
  background: linear-gradient(135deg, #d97a3f, #b85f28);
  border-color: #b85f28;
  color: white;
  font-weight: 600;
}
.poll-option-btn.voted::before {
  border-color: white;
  background: white;
  box-shadow: inset 0 0 0 3px #d97a3f;
}
.poll-results {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px dashed #d9c6b2;
  font-size: 0.88rem;
  color: #6b574a;
}
.poll-results > p {
  text-align: center;
  color: #9a887b;
  font-style: italic;
}
.poll-result-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  padding: 0.55rem 0.85rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
}
.poll-result-label {
  font-size: 0.85rem;
  color: #3a2e28;
  font-weight: 500;
}
.poll-result-count {
  font-size: 0.78rem;
  font-weight: 600;
  color: #b85f28;
  background: rgba(217, 122, 63, 0.15);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}
.poll-result-bar {
  grid-column: 1 / -1;
  height: 6px;
  background: #e8dbcc;
  border-radius: 999px;
  margin-top: 0.35rem;
  overflow: hidden;
}
.poll-result-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #d97a3f, #b85f28, #8aa88a);
  border-radius: 999px;
  transition: width 0.8s ease;
}
.poll-total {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #9a887b;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px dashed #e8dbcc;
}
.poll-privacy {
  font-size: 0.72rem !important;
  color: #9a887b !important;
  margin-top: 0.75rem !important;
}
.poll-privacy i {
  color: #8aa88a;
  margin-right: 0.25rem;
}
.poll-reset-btn {
  margin-top: 0.85rem;
  background: transparent;
  border: 1px dashed #d9c6b2;
  border-radius: 999px;
  padding: 0.4rem 1rem;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: #9a887b;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.poll-reset-btn:hover {
  background: #6b574a;
  color: white;
  border-style: solid;
}

/* DAWN HOOK */
.dawn-hook {
  position: relative;
  margin: 2.5rem 0;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #1a1512 0%, #2c241e 50%, #4a3f35 100%);
  color: #e8e4dc;
  overflow: hidden;
}
.dawn-hook::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(
    circle,
    rgba(232, 168, 124, 0.3),
    transparent 70%
  );
  border-radius: 50%;
}
.dawn-hook::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(
    circle,
    rgba(212, 163, 115, 0.15),
    transparent 70%
  );
  border-radius: 50%;
}
.dawn-hook p {
  color: #e8e4dc;
  position: relative;
  z-index: 1;
}
.dawn-hook .em-open {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.5;
  font-style: italic;
  color: #f5deb3;
  margin-bottom: 1rem;
}
.dawn-hook .quote-line {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: #d4c5b0;
  border-left: 3px solid var(--accent-gold);
  padding-left: 1rem;
  margin: 1.2rem 0;
}
.dawn-hook sup.cite {
  color: var(--accent-gold);
}

/* AUTHOR NOTE */
.author-note {
  background: linear-gradient(135deg, #fffaf5, #fdf0e6);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 2rem 0;
  border: 1px solid var(--border-soft);
  position: relative;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.author-note-icon {
  font-size: 1.5rem;
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.author-note-text {
  font-size: 0.95rem;
  color: var(--text-soft);
  font-style: italic;
  line-height: 1.7;
  margin: 0;
}

/* SECTION REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* TECHNIQUE CARD */
.technique-card {
  background: #f5f1eb;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-left: 4px solid var(--accent-sage);
}
.technique-card h3 {
  margin-top: 0;
  font-size: 1.15rem;
}
.technique-card h3 i {
  color: var(--accent-sage);
  margin-right: 0.4rem;
}

/* PULL QUOTE */
.pull-quote {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.55;
  font-style: italic;
  color: var(--primary-deep);
  text-align: center;
  padding: 2rem 1.5rem;
  margin: 2rem 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  position: relative;
}
.pull-quote::before {
  content: "\201C";
  font-size: 3rem;
  color: var(--accent-gold);
  position: absolute;
  top: -0.2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: Georgia, serif;
}
.pull-quote .attrib {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-style: normal;
  color: #8a7a70;
  margin-top: 0.75rem;
  letter-spacing: 0.03em;
}

/* STAGE PROGRESSION */
.stage-list {
  counter-reset: stage;
  margin: 1.5rem 0;
}
.stage-item {
  position: relative;
  padding: 1.2rem 1.2rem 1.2rem 3.5rem;
  margin-bottom: 0.75rem;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  counter-increment: stage;
}
.stage-item::before {
  content: counter(stage);
  position: absolute;
  left: 1rem;
  top: 1.2rem;
  width: 1.8rem;
  height: 1.8rem;
  background: var(--accent-sage);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
}
.stage-item h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  color: var(--text-deep);
}
.stage-item p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--text-soft);
}

/* COMPARISON TABLE */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.compare-table th {
  background: var(--primary-deep);
  color: white;
  padding: 0.9rem 0.8rem;
  text-align: left;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.compare-table td {
  padding: 0.85rem 0.8rem;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-soft);
  vertical-align: top;
}
.compare-table tr:last-child td {
  border-bottom: none;
}
.compare-table tr:nth-child(even) td {
  background: #faf6f0;
}
.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ============================================
   SECTION 1 — CARD, BORDER, ANIMATIONS
   ============================================ */

.section-card {
  position: relative;
  background: linear-gradient(180deg, #fffdfa 0%, #fdf8f1 100%);
  border: 1.5px solid var(--border-soft, #e8e0d6);
  border-radius: 24px;
  padding: 2.5rem 2.25rem 2rem;
  margin: 2.5rem 0;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 10px 30px -12px rgba(74, 63, 53, 0.12);
  transition:
    box-shadow 0.4s ease,
    transform 0.4s ease;
  isolation: isolate;
}

.section-card:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 18px 40px -14px rgba(74, 63, 53, 0.18);
}

/* Animated dawn ribbon along the top border */
.section-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    #e8a87c 0%,
    #d4a373 25%,
    #c87a5a 50%,
    #d4a373 75%,
    #e8a87c 100%
  );
  background-size: 200% 100%;
  animation: dawnFlow 8s linear infinite;
  border-radius: 24px 24px 0 0;
}

@keyframes dawnFlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

/* Header */
.section-head {
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-gold, #d4a373);
  margin-bottom: 0.5rem;
  padding: 0.28rem 0.7rem;
  background: rgba(212, 163, 115, 0.1);
  border-radius: 999px;
}

.section-head h2 {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0 0 0.75rem;
}

.title-icon {
  display: inline-block;
  font-size: 1.5rem;
  animation: sunriseGlow 4s ease-in-out infinite;
  transform-origin: center bottom;
}

@keyframes sunriseGlow {
  0%,
  100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 0 0 rgba(232, 168, 124, 0));
  }
  50% {
    transform: translateY(-2px) scale(1.06);
    filter: drop-shadow(0 4px 10px rgba(232, 168, 124, 0.55));
  }
}

/* Divider: three soft dots that light up in sequence */
.section-divider {
  display: flex;
  gap: 8px;
  margin-top: 0.25rem;
}

.section-divider span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-sage, #8ba89a);
  opacity: 0.35;
  animation: dotPulse 3s ease-in-out infinite;
}

.section-divider span:nth-child(2) {
  animation-delay: 0.4s;
}
.section-divider span:nth-child(3) {
  animation-delay: 0.8s;
}

@keyframes dotPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.35);
  }
}

/* Body */
.section-body {
  position: relative;
  z-index: 1;
}

.section-body .emphasis-line {
  position: relative;
  padding: 0.85rem 1rem 0.85rem 1.15rem;
  background: linear-gradient(
    90deg,
    rgba(232, 168, 124, 0.12),
    rgba(232, 168, 124, 0)
  );
  border-left: 3px solid var(--primary-dawn, #e8a87c);
  border-radius: 0 10px 10px 0;
  margin: 1.25rem 0;
}

.section-body .emphasis-line strong {
  color: var(--primary-deep, #4a3f35);
  font-size: 1.02rem;
  line-height: 1.65;
}

/* Pull quote inside the card — refined */
.section-card .pull-quote {
  margin: 1.75rem 0 1.5rem;
  padding: 1.5rem 1.25rem 1.25rem;
  border-top: 1px dashed var(--border-soft, #e8e0d6);
  border-bottom: none;
  background: linear-gradient(180deg, rgba(253, 240, 230, 0.5), transparent);
  border-radius: 14px;
  position: relative;
}

.section-card .pull-quote::before {
  top: 0.4rem;
  font-size: 2.5rem;
  color: var(--accent-gold, #d4a373);
  opacity: 0.7;
}

/* ============================================
   REACTION STRIP
   ============================================ */

.section-reactions {
  position: relative;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--border-soft, #e8e0d6);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  z-index: 1;
}

.reactions-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-soft, #5a5652);
  letter-spacing: 0.02em;
  margin-right: 0.25rem;
}

.reaction-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.reaction-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  border: 1.5px solid var(--border-soft, #e8e0d6);
  border-radius: 999px;
  padding: 0.42rem 0.85rem 0.42rem 0.6rem;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-soft, #5a5652);
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.2s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.reaction-pill:hover {
  border-color: var(--accent-sage, #8ba89a);
  color: var(--primary-deep, #4a3f35);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px -8px rgba(74, 63, 53, 0.35);
}

.reaction-pill:active {
  transform: translateY(0) scale(0.97);
}

.reaction-pill .pill-emoji {
  font-size: 1.05rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.reaction-pill:hover .pill-emoji {
  transform: rotate(-8deg) scale(1.15);
}

.reaction-pill .pill-count {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-gold, #d4a373);
  background: rgba(212, 163, 115, 0.12);
  padding: 0.08rem 0.42rem;
  border-radius: 999px;
  min-width: 1.25rem;
  text-align: center;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

/* Active (voted) state */
.reaction-pill.is-active {
  background: linear-gradient(135deg, #fff6ec, #fdf0e6);
  border-color: var(--accent-gold, #d4a373);
  color: var(--primary-deep, #4a3f35);
  font-weight: 600;
}

.reaction-pill.is-active .pill-count {
  background: var(--accent-gold, #d4a373);
  color: #fff;
}

/* Pop animation on click */
.reaction-pill.just-voted {
  animation: pillPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes pillPop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
  }
}

/* Emoji burst particles on click */
.reaction-pill .burst {
  position: absolute;
  pointer-events: none;
  font-size: 0.9rem;
  opacity: 0;
  animation: burstUp 0.9s ease-out forwards;
}

@keyframes burstUp {
  0% {
    opacity: 1;
    transform: translateY(0) scale(0.6);
  }
  100% {
    opacity: 0;
    transform: translateY(-38px) scale(1.25);
  }
}

/* Soft ripple behind the strip when a reaction fires */
.reaction-ripple {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 14px;
  opacity: 0;
}

.reaction-ripple.pulse {
  animation: rippleFade 0.9s ease-out;
}

@keyframes rippleFade {
  0% {
    opacity: 0.5;
    background: radial-gradient(
      circle at 50% 100%,
      rgba(232, 168, 124, 0.35),
      transparent 60%
    );
  }
  100% {
    opacity: 0;
    background: radial-gradient(
      circle at 50% 100%,
      rgba(232, 168, 124, 0),
      transparent 60%
    );
  }
}

/* Responsive */
@media (max-width: 768px) {
  .section-card {
    padding: 1.75rem 1.25rem 1.5rem;
    border-radius: 20px;
  }
  .section-head h2 {
    font-size: 1.35rem;
  }
  .title-icon {
    font-size: 1.25rem;
  }
  .section-reactions {
    flex-direction: column;
    align-items: flex-start;
  }
  .reaction-pill {
    font-size: 0.78rem;
    padding: 0.38rem 0.75rem 0.38rem 0.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-accent,
  .title-icon,
  .section-divider span,
  .reaction-pill,
  .reaction-pill .pill-emoji {
    animation: none !important;
    transition: none !important;
  }
}

/* ============================================
   SECTION 2 — CLOCK HERO, TABLE, CHRONOTYPE
   ============================================ */

/* Animated 24-hour dial */
.clock-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0 1.75rem;
  position: relative;
  z-index: 1;
}

.clock-ring {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  position: relative;
  background:
    radial-gradient(circle at 50% 50%, #fffdfa 55%, transparent 56%),
    conic-gradient(
      from 0deg,
      #1a1512 0deg 90deg,
      #e8a87c 90deg 180deg,
      #ffd89a 180deg 270deg,
      #4a3f35 270deg 360deg
    );
  box-shadow:
    0 0 0 6px rgba(232, 168, 124, 0.12),
    0 12px 28px -12px rgba(74, 63, 53, 0.35);
  animation: clockGlow 5s ease-in-out infinite;
}

@keyframes clockGlow {
  0%,
  100% {
    box-shadow:
      0 0 0 6px rgba(232, 168, 124, 0.12),
      0 12px 28px -12px rgba(74, 63, 53, 0.35);
  }
  50% {
    box-shadow:
      0 0 0 10px rgba(232, 168, 124, 0.08),
      0 12px 32px -10px rgba(232, 168, 124, 0.45);
  }
}

.clock-hand {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 46%;
  background: linear-gradient(
    180deg,
    var(--primary-deep, #4a3f35),
    transparent
  );
  transform-origin: bottom center;
  transform: translate(-50%, -100%);
  border-radius: 2px;
  animation: handSweep 24s linear infinite;
}

@keyframes handSweep {
  to {
    transform: translate(-50%, -100%) rotate(360deg);
  }
}

.clock-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  animation: sunPulse 3s ease-in-out infinite;
}

@keyframes sunPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
}

.clock-tick {
  position: absolute;
  left: 50%;
  top: 4px;
  width: 2px;
  height: 8px;
  background: var(--primary-deep, #4a3f35);
  border-radius: 2px;
  opacity: 0.4;
  transform-origin: 0 calc(64px - 4px);
  transform: translateX(-50%) rotate(calc(var(--i) * 30deg));
}

.clock-labels {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-soft, #5a5652);
}

.clock-caption {
  font-family: var(--font-serif, Georgia, serif);
  font-style: italic;
  font-size: 0.88rem;
}

/* Table row icons */
.compare-table td .row-icon {
  display: inline-block;
  margin-right: 0.5rem;
  font-size: 1rem;
  transition: transform 0.3s ease;
  vertical-align: -1px;
}

.compare-table tr:hover .row-icon {
  transform: scale(1.25) rotate(-6deg);
}

.compare-table tbody tr {
  transition: background 0.2s ease;
}

/* ============================================
   CHRONOTYPE WIDGET
   ============================================ */

.chronotype-widget {
  margin: 2rem 0 1.5rem;
  padding: 1.5rem 1.35rem 1.25rem;
  background: linear-gradient(160deg, #fdf8f2 0%, #f5efe6 100%);
  border: 1.5px solid var(--border-soft, #e8e0d6);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.chronotype-widget::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    #4a3f35,
    #d4a373,
    #ffd89a,
    #d4a373,
    #4a3f35
  );
  background-size: 200% 100%;
  animation: dawnFlow 10s linear infinite;
}

.chrono-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.35rem;
}

.chrono-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent-sage, #8ba89a);
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
}

.chrono-head h4 {
  font-family: var(--font-serif, Georgia, serif);
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0;
  color: var(--primary-deep, #4a3f35);
}

.chrono-sub {
  font-size: 0.85rem;
  color: var(--text-soft, #5a5652);
  margin: 0 0 1rem;
}

.chrono-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    #2c241e 0%,
    #6b574a 25%,
    #e8a87c 50%,
    #ffd89a 75%,
    #fff3d6 100%
  );
  outline: none;
  cursor: pointer;
  margin: 0.5rem 0;
}

.chrono-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent-gold, #d4a373);
  box-shadow: 0 3px 10px rgba(74, 63, 53, 0.25);
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease;
}

.chrono-slider::-webkit-slider-thumb:hover {
  transform: scale(1.12);
  box-shadow: 0 4px 14px rgba(212, 163, 115, 0.45);
}

.chrono-slider::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent-gold, #d4a373);
  box-shadow: 0 3px 10px rgba(74, 63, 53, 0.25);
  cursor: pointer;
}

.chrono-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-soft, #5a5652);
  font-weight: 500;
  margin-bottom: 1rem;
}

.chrono-result {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid var(--border-soft, #e8e0d6);
  border-radius: 14px;
  min-height: 56px;
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}

.chrono-emoji {
  font-size: 1.6rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.chrono-result.owl .chrono-emoji {
  animation: owlBlink 3s ease-in-out infinite;
}

@keyframes owlBlink {
  0%,
  90%,
  100% {
    transform: scale(1);
  }
  95% {
    transform: scale(1.2) rotate(-8deg);
  }
}

.chrono-text {
  font-size: 0.9rem;
  color: var(--text-soft, #5a5652);
  line-height: 1.5;
}

.chrono-text strong {
  color: var(--primary-deep, #4a3f35);
}

/* ============================================
   REACTIONS — inherits Section 1 styles
   ============================================ */

/* Responsive */
@media (max-width: 768px) {
  .clock-ring {
    width: 104px;
    height: 104px;
  }
  .clock-tick {
    transform-origin: 0 calc(52px - 4px);
  }
  .chrono-head h4 {
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .clock-ring,
  .clock-hand,
  .clock-center,
  .chronotype-widget::before,
  .chrono-result.owl .chrono-emoji {
    animation: none !important;
  }
}

/* ===== BORDERED SECTION CARDS ===== */
.section-card {
  position: relative;
  border: 1px solid var(--border-soft, #e2dcd4);
  border-radius: 20px;
  padding: 2rem 1.75rem 1.25rem;
  margin: 2.5rem 0;
  background: #fffdfb;
  box-shadow: 0 8px 30px -12px rgba(30, 47, 43, 0.08);
  overflow: hidden;
  transition:
    box-shadow 0.35s ease,
    transform 0.35s ease;
}
.section-card:hover {
  box-shadow: 0 16px 44px -14px rgba(30, 47, 43, 0.16);
  transform: translateY(-2px);
}
.section-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #e8a87c, #7f9f8a, #c87a5a, #7f9f8a);
  background-size: 300% 100%;
  animation: accentSlide 8s ease infinite;
}
@keyframes accentSlide {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
.section-head {
  text-align: center;
  margin-bottom: 1.4rem;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c87a5a;
  font-weight: 600;
  padding: 0.3rem 0.9rem;
  border: 1px solid #f0e2d6;
  border-radius: 40px;
  background: #fdf6f0;
  margin-bottom: 0.7rem;
}
.section-card h2 {
  font-size: 1.45rem;
  line-height: 1.3;
  color: #1e2f2b;
}
.title-icon {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff3e6, #f6ddc9);
  box-shadow: 0 4px 14px rgba(232, 168, 124, 0.35);
  margin-right: 0.35rem;
  animation: iconFloat 4s ease-in-out infinite;
}
@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-3px) rotate(-4deg);
  }
}
.section-divider {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
}
.section-divider span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e8d9cc;
  animation: dotPulse 1.8s ease-in-out infinite;
}
.section-divider span:nth-child(2) {
  animation-delay: 0.2s;
  background: #d9b8a0;
}
.section-divider span:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes dotPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.5);
    opacity: 1;
  }
}

/* ===== LIGHT FAN ===== */
.light-fan {
  position: relative;
  height: 90px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: 1rem;
}
.light-sun {
  font-size: 2.4rem;
  z-index: 2;
  animation: sunSpin 12s linear infinite;
}
@keyframes sunSpin {
  to {
    transform: rotate(360deg);
  }
}
.light-rays {
  position: absolute;
  bottom: 26px;
  display: flex;
  gap: 0;
}
.light-rays span {
  display: block;
  width: 4px;
  height: 60px;
  border-radius: 4px;
  background: linear-gradient(
    to top,
    rgba(232, 168, 124, 0),
    rgba(232, 168, 124, 0.85)
  );
  transform-origin: bottom center;
  transform: rotate(var(--a));
  animation: rayFlicker 2.4s ease-in-out infinite;
  animation-delay: var(--d);
  margin: 0 5px;
}
@keyframes rayFlicker {
  0%,
  100% {
    opacity: 0.35;
    transform: rotate(var(--a)) scaleY(0.7);
  }
  50% {
    opacity: 1;
    transform: rotate(var(--a)) scaleY(1.15);
  }
}

/* ===== DAY / NIGHT WIDGET ===== */
.daynight-widget {
  margin: 1.6rem 0 0.5rem;
  border: 1px solid #efe6dd;
  border-radius: 16px;
  padding: 1rem;
  background: #fdfaf7;
}
.dn-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}
.dn-badge,
.clarity-badge,
.breathe-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: #7f9f8a;
  padding: 0.25rem 0.6rem;
  border-radius: 30px;
}
.dn-head h4,
.clarity-head h4,
.breathe-head h4 {
  font-size: 0.95rem;
  color: #1e2f2b;
}
.dn-stage {
  position: relative;
  height: 150px;
  border-radius: 12px;
  overflow: hidden;
  transition: background 0.6s ease;
  display: grid;
  place-items: center;
}
.dn-stage[data-mode="day"] {
  background: linear-gradient(#fde8d3, #f8f0e3);
}
.dn-stage[data-mode="night"] {
  background: linear-gradient(#1b2a3a, #2c3e50);
}
.dn-sky {
  position: absolute;
  inset: 0;
}
.dn-sun,
.dn-moon {
  position: absolute;
  font-size: 2rem;
  transition:
    transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.5s ease;
}
.dn-sun {
  top: 18px;
  right: 40px;
}
.dn-moon {
  bottom: 18px;
  left: 40px;
}
.dn-stage[data-mode="day"] .dn-moon {
  opacity: 0;
  transform: translateY(20px) scale(0.6);
}
.dn-stage[data-mode="night"] .dn-sun {
  opacity: 0;
  transform: translateY(-20px) scale(0.6);
}
.dn-stage[data-mode="night"] .dn-moon {
  opacity: 1;
}
.dn-stage[data-mode="day"] .dn-sun {
  opacity: 1;
}
.dn-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s ease;
  font-size: 0.9rem;
  color: #f7e7b4;
}
.dn-stage[data-mode="night"] .dn-stars {
  opacity: 1;
}
.dn-stars span {
  position: absolute;
  animation: twinkle 2.2s ease-in-out infinite;
}
.dn-stars span:nth-child(1) {
  top: 20%;
  left: 15%;
}
.dn-stars span:nth-child(2) {
  top: 35%;
  left: 60%;
  animation-delay: 0.4s;
}
.dn-stars span:nth-child(3) {
  top: 60%;
  left: 30%;
  animation-delay: 0.8s;
}
.dn-stars span:nth-child(4) {
  top: 15%;
  left: 80%;
  animation-delay: 1.2s;
}
@keyframes twinkle {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}
.dn-caption {
  position: relative;
  z-index: 2;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e2f2b;
  background: rgba(255, 255, 255, 0.75);
  padding: 0.4rem 0.9rem;
  border-radius: 30px;
  backdrop-filter: blur(4px);
  transition: color 0.5s ease;
}
.dn-stage[data-mode="night"] .dn-caption {
  color: #e6eef5;
  background: rgba(255, 255, 255, 0.15);
}
.dn-controls {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.dn-btn {
  flex: 1;
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  border: 1px solid #e2dcd4;
  background: #fff;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: #5d5d5d;
  cursor: pointer;
  transition: all 0.25s ease;
}
.dn-btn:hover {
  background: #fdf6f0;
  border-color: #e8a87c;
}
.dn-btn.active {
  background: #7f9f8a;
  color: #fff;
  border-color: #7f9f8a;
}

/* ===== CORTISOL CHART ===== */
.cortisol-chart {
  border: 1px solid #efe6dd;
  border-radius: 16px;
  background: #fdfaf7;
  padding: 1rem 0.8rem 0.5rem;
  margin-bottom: 1.2rem;
}
.cortisol-svg {
  width: 100%;
  height: 110px;
  display: block;
}
.cortisol-path {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: drawLine 3s ease forwards 0.3s;
}
@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}
.cortisol-area {
  opacity: 0;
  animation: fadeInArea 2s ease forwards 1s;
}
@keyframes fadeInArea {
  to {
    opacity: 1;
  }
}
.cortisol-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: #8a7a70;
  padding: 0 0.3rem;
}
.cortisol-peak {
  color: #c87a5a;
  font-weight: 600;
}

/* ===== FLIP CARD ===== */
.flip-card {
  margin: 1.4rem 0;
  cursor: pointer;
  outline: none;
  perspective: 1200px;
}
.flip-inner {
  position: relative;
  height: 130px;
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
}
.flip-card.flipped .flip-inner {
  transform: rotateY(180deg);
}
.flip-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  border-radius: 16px;
  backface-visibility: hidden;
  border: 1px solid #efe6dd;
}
.flip-front {
  background: linear-gradient(135deg, #eef6f0, #f7fbf8);
}
.flip-back {
  background: linear-gradient(135deg, #fdf1ec, #fef9f6);
  transform: rotateY(180deg);
}
.flip-emoji {
  font-size: 1.8rem;
}
.flip-title {
  font-weight: 700;
  color: #1e2f2b;
  font-size: 1rem;
}
.flip-title em {
  color: #c87a5a;
  font-style: normal;
}
.flip-hint {
  font-size: 0.7rem;
  color: #9a8a80;
}
.flip-detail {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #5d5d5d;
  text-align: center;
  transition: opacity 0.4s ease;
}
.flip-card.flipped .flip-detail {
  opacity: 0.6;
}

/* ===== CLARITY GRID ===== */
.clarity-widget {
  margin: 1.6rem 0 0.5rem;
  border: 1px solid #efe6dd;
  border-radius: 16px;
  padding: 1rem;
  background: #fdfaf7;
}
.clarity-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}
.clarity-sub,
.breathe-sub {
  font-size: 0.8rem;
  color: #8a7a70;
  margin-bottom: 0.8rem;
}
.clarity-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}
.clarity-hour {
  padding: 0.55rem 0.1rem;
  border-radius: 10px;
  border: 1px solid #e2dcd4;
  background: #fff;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  color: #5d5d5d;
  cursor: pointer;
  transition: all 0.22s ease;
}
.clarity-hour:hover {
  border-color: #e8a87c;
  transform: translateY(-1px);
}
.clarity-hour.selected {
  background: #7f9f8a;
  color: #fff;
  border-color: #7f9f8a;
  box-shadow: 0 4px 12px rgba(127, 159, 138, 0.4);
  transform: scale(1.05);
}
.clarity-summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #5d5d5d;
  background: #f5f1eb;
  border-radius: 10px;
  padding: 0.6rem 0.8rem;
}
.clarity-summary-emoji {
  font-size: 1.1rem;
}

/* ===== BREATHING ORB ===== */
.breathe-widget {
  margin: 1.6rem 0 0.5rem;
  border: 1px solid #efe6dd;
  border-radius: 16px;
  padding: 1rem;
  background: #fdfaf7;
  text-align: center;
}
.breathe-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}
.breathe-orb {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  margin: 0.6rem auto 1rem;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, #d8efe3, #7f9f8a);
  box-shadow: 0 10px 30px -6px rgba(127, 159, 138, 0.5);
  font-family: inherit;
  font-weight: 600;
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  position: relative;
}
.breathe-orb::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(127, 159, 138, 0.25);
  animation: orbPulse 3s ease-in-out infinite;
}
@keyframes orbPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.12);
    opacity: 0.2;
  }
}
.breathe-orb.active {
  animation: breatheCycle 8s ease-in-out infinite;
}
@keyframes breatheCycle {
  0%,
  100% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.22);
  }
  60% {
    transform: scale(1.22);
  }
}
.breathe-inner {
  position: relative;
  z-index: 2;
}
.breathe-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: #5d5d5d;
  flex-wrap: wrap;
}
.bf-node {
  background: #f5f1eb;
  padding: 0.3rem 0.65rem;
  border-radius: 30px;
  font-weight: 600;
}
.bf-space {
  background: #e3f0e9;
  color: #3d6b52;
}
.bf-arrow {
  color: #c87a5a;
  font-weight: 700;
}

/* ===== REACTION PILLS ===== */
.section-reactions {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px dashed #efe6dd;
  text-align: center;
}
.reactions-label {
  font-size: 0.78rem;
  color: #8a7a70;
  display: block;
  margin-bottom: 0.6rem;
}
.reaction-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
}
.reaction-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.8rem;
  border-radius: 40px;
  border: 1px solid #e2dcd4;
  background: #fff;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  color: #5d5d5d;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.reaction-pill:hover {
  transform: translateY(-2px);
  border-color: #e8a87c;
  box-shadow: 0 6px 16px -6px rgba(200, 122, 90, 0.35);
}
.reaction-pill[aria-pressed="true"] {
  background: #fdf1ec;
  border-color: #e8a87c;
  color: #c87a5a;
}
.pill-emoji {
  font-size: 1rem;
}
.pill-count {
  background: #f5f1eb;
  color: #8a7a70;
  padding: 0.05rem 0.4rem;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 700;
  min-width: 1.4rem;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}
.reaction-pill[aria-pressed="true"] .pill-count {
  background: #e8a87c;
  color: #fff;
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ================= SPIRITUAL TRADITIONS CAROUSEL ================= */
.tradition-widget {
  margin: 1.6rem 0 0.5rem;
  border: 1px solid #efe6dd;
  border-radius: 16px;
  padding: 1rem;
  background: #fdfaf7;
}
.trad-head,
.myth-head,
.ego-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}
.trad-badge,
.myth-badge,
.ego-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: #c87a5a;
  padding: 0.25rem 0.6rem;
  border-radius: 30px;
}
.myth-badge {
  background: #7f9f8a;
}
.ego-badge {
  background: #9a7bb5;
}
.trad-head h4,
.myth-head h4,
.ego-head h4 {
  font-size: 0.95rem;
  color: #1e2f2b;
}

.trad-track {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}
.trad-tab {
  flex: 1 1 auto;
  min-width: 120px;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid #e2dcd4;
  background: #fff;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  color: #5d5d5d;
  cursor: pointer;
  text-align: center;
  transition: all 0.25s ease;
}
.trad-tab:hover {
  border-color: #e8a87c;
  transform: translateY(-1px);
}
.trad-tab.active {
  background: #fdf1ec;
  border-color: #e8a87c;
  color: #c87a5a;
  box-shadow: 0 4px 12px -4px rgba(200, 122, 90, 0.4);
}
.trad-panel {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid #f0e9e2;
  animation: panelIn 0.4s ease;
}
@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.trad-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
  animation: iconFloat 4s ease-in-out infinite;
}
.trad-content h5 {
  font-size: 0.95rem;
  color: #1e2f2b;
  margin-bottom: 0.4rem;
}
.trad-content p {
  font-size: 0.85rem;
  color: #5d5d5d;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.trad-lesson {
  font-size: 0.82rem;
  color: #3d6b52;
  background: #eef6f0;
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  border-left: 3px solid #7f9f8a;
}
.trad-lesson strong {
  color: #3d6b52;
}

/* ================= MYTH vs FACT TILES ================= */
.myth-widget {
  margin: 1.6rem 0 0.5rem;
  border: 1px solid #efe6dd;
  border-radius: 16px;
  padding: 1rem;
  background: #fdfaf7;
}
.myth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.6rem;
}
.myth-tile {
  position: relative;
  height: 110px;
  perspective: 800px;
  cursor: pointer;
}
.myth-tile-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
}
.myth-tile.flipped .myth-tile-inner {
  transform: rotateY(180deg);
}
.myth-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  border-radius: 12px;
  padding: 0.6rem;
  backface-visibility: hidden;
  text-align: center;
  border: 1px solid #f0e9e2;
}
.myth-front {
  background: #fdf1ec;
}
.myth-front .myth-emoji {
  font-size: 1.5rem;
}
.myth-front .myth-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #c87a5a;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.myth-front .myth-text {
  font-size: 0.78rem;
  color: #5d5d5d;
}
.myth-back {
  background: linear-gradient(135deg, #eef6f0, #f7fbf8);
  transform: rotateY(180deg);
  border-color: #cfe3d6;
}
.myth-back .myth-emoji {
  font-size: 1.4rem;
}
.myth-back .myth-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #3d6b52;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.myth-back .myth-text {
  font-size: 0.78rem;
  color: #3d6b52;
  font-weight: 500;
}

/* ================= REASON ↔ REMEDY ACCORDION ================= */
.reason-widget {
  margin: 1.4rem 0 0.6rem;
  border: 1px solid #efe6dd;
  border-radius: 16px;
  padding: 0.6rem;
  background: #fdfaf7;
}
.reason-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.reason-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #f0e9e2;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.reason-item:hover {
  border-color: #e8a87c;
  transform: translateX(3px);
}
.reason-item.open {
  background: #fdf6f0;
  border-color: #e8a87c;
  box-shadow: 0 4px 14px -6px rgba(200, 122, 90, 0.3);
}
.reason-emoji {
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.reason-item.open .reason-emoji {
  transform: scale(1.2);
}
.reason-text {
  flex: 1;
  font-size: 0.82rem;
  color: #3d3a36;
  line-height: 1.5;
}
.reason-text strong {
  color: #1e2f2b;
}
.reason-chevron {
  font-size: 1.2rem;
  color: #c87a5a;
  font-weight: 700;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.reason-item.open .reason-chevron {
  transform: rotate(45deg);
}
.reason-remedy {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.45s ease,
    padding 0.3s ease,
    opacity 0.3s ease;
  opacity: 0;
  font-size: 0.8rem;
  color: #3d6b52;
  background: #eef6f0;
  border-radius: 8px;
  padding: 0 0.8rem;
  margin: 0 0.5rem 0.4rem;
  border-left: 3px solid #7f9f8a;
}
.reason-item.open + .reason-remedy {
  max-height: 100px;
  padding: 0.6rem 0.8rem;
  opacity: 1;
}

/* ================= EGO PATTERN SELECTOR ================= */
.ego-widget {
  margin: 1.6rem 0 0.5rem;
  border: 1px solid #efe6dd;
  border-radius: 16px;
  padding: 1rem;
  background: #fdfaf7;
}
.ego-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
}
.ego-chip {
  flex: 1 1 auto;
  min-width: 140px;
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  border: 1px solid #e2dcd4;
  background: #fff;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  color: #5d5d5d;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ego-chip:hover {
  transform: translateY(-2px);
  border-color: #9a7bb5;
}
.ego-chip.active {
  background: #f3edf8;
  border-color: #9a7bb5;
  color: #6b4c8a;
  box-shadow: 0 4px 14px -4px rgba(154, 123, 181, 0.45);
  transform: translateY(-1px) scale(1.02);
}
.ego-card-display {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid #f0e9e2;
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  min-height: 90px;
  transition: all 0.4s ease;
  animation: panelIn 0.4s ease;
}
.ego-display-emoji {
  font-size: 1.8rem;
  flex-shrink: 0;
  animation: iconFloat 4s ease-in-out infinite;
}
.ego-display-text {
  font-size: 0.85rem;
  color: #5d5d5d;
  line-height: 1.6;
}
.ego-display-text strong {
  color: #6b4c8a;
}
.ego-display-text .ego-remedy {
  display: block;
  margin-top: 0.4rem;
  padding: 0.45rem 0.6rem;
  background: #eef6f0;
  border-radius: 8px;
  border-left: 3px solid #7f9f8a;
  font-size: 0.78rem;
  color: #3d6b52;
}

/* ================= REVENGE BEDTIME WIDGET ================= */
.revenge-widget {
  margin: 1.6rem 0 0.5rem;
  border: 1px solid #efe6dd;
  border-radius: 16px;
  padding: 1rem;
  background: #fdfaf7;
}
.revenge-head,
.owl-head,
.method-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}
.revenge-badge,
.owl-badge,
.method-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: #6b4c8a;
  padding: 0.25rem 0.6rem;
  border-radius: 30px;
}
.owl-badge {
  background: #2a4d6e;
}
.method-badge {
  background: #7f9f8a;
}
.revenge-head h4,
.owl-head h4,
.method-head h4 {
  font-size: 0.95rem;
  color: #1e2f2b;
}

.revenge-choices {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}
.revenge-choice {
  flex: 1 1 160px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px solid #e2dcd4;
  background: #fff;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  color: #3d3a36;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.revenge-choice:hover {
  transform: translateY(-2px);
  border-color: #9a7bb5;
  box-shadow: 0 6px 16px -8px rgba(154, 123, 181, 0.4);
}
.revenge-choice.active {
  background: #f3edf8;
  border-color: #9a7bb5;
  color: #6b4c8a;
  box-shadow: 0 4px 14px -4px rgba(154, 123, 181, 0.45);
}
.rv-emoji {
  font-size: 1.2rem;
}
.revenge-response {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: #fff;
  border-radius: 10px;
  padding: 0.8rem;
  border: 1px solid #f0e9e2;
  min-height: 60px;
  animation: panelIn 0.4s ease;
}
.rv-resp-emoji {
  font-size: 1.3rem;
  flex-shrink: 0;
}
.rv-resp-text {
  font-size: 0.82rem;
  color: #5d5d5d;
  line-height: 1.6;
}

/* ================= OWL SPECTRUM SLIDER ================= */
.owl-widget {
  margin: 1.6rem 0 0.5rem;
  border: 1px solid #efe6dd;
  border-radius: 16px;
  padding: 1rem;
  background: #fdfaf7;
}
.owl-scale-wrap {
  position: relative;
  padding-bottom: 1.6rem;
}
.owl-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 40px;
  background: linear-gradient(90deg, #2a4d6e, #7f9f8a, #e8c47c);
  outline: none;
  margin-bottom: 0.6rem;
  cursor: pointer;
}
.owl-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #e8a87c);
  border: 2px solid #fff;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease;
}
.owl-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}
.owl-slider::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #e8a87c);
  border: 2px solid #fff;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}
.owl-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
  color: #5d5d5d;
}
.owl-meter {
  position: absolute;
  top: -10px;
  left: calc(var(--pos, 50%));
  transform: translateX(-50%);
  font-size: 1.3rem;
  pointer-events: none;
  transition: left 0.1s linear;
}
.owl-result {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: #fff;
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  border: 1px solid #f0e9e2;
  margin-top: 0.4rem;
  animation: panelIn 0.4s ease;
}
.owl-result-emoji {
  font-size: 1.3rem;
}
.owl-result-text {
  font-size: 0.82rem;
  color: #5d5d5d;
  line-height: 1.55;
}

.owl-compare th {
  background: #f5f1eb;
  color: #1e2f2b;
  font-size: 0.78rem;
}
.owl-compare td {
  font-size: 0.8rem;
}

/* ================= CAUTION CARDS ================= */
.caution-widget {
  margin: 1.4rem 0 0.6rem;
}
.caution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}
.caution-card-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: #fff;
  border: 1px solid #f0e9e2;
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  transition: all 0.25s ease;
  animation: panelIn 0.5s ease backwards;
}
.caution-card-item:hover {
  border-color: #e8a87c;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -10px rgba(200, 122, 90, 0.4);
}
.caution-card-item .cc-emoji {
  font-size: 1.3rem;
  flex-shrink: 0;
}
.caution-card-item .cc-text {
  font-size: 0.8rem;
  color: #3d3a36;
  line-height: 1.5;
}
.caution-footnote {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  background: #eef6f0;
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  border-left: 4px solid #7f9f8a;
}
.caution-foot-emoji {
  font-size: 1.4rem;
  flex-shrink: 0;
}
.caution-footnote span:last-child {
  font-size: 0.82rem;
  color: #3d6b52;
  line-height: 1.6;
}

/* ================= METHOD TRACKER ================= */
.method-widget {
  margin: 1.6rem 0 0.6rem;
  border: 1px solid #efe6dd;
  border-radius: 16px;
  padding: 1rem;
  background: #fdfaf7;
}
.method-progress {
  height: 6px;
  border-radius: 40px;
  background: #f0e9e2;
  overflow: hidden;
  margin-bottom: 0.9rem;
}
.method-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #7f9f8a, #e8a87c);
  border-radius: 40px;
  transition: width 0.5s cubic-bezier(0.4, 0.2, 0.2, 1);
}
.method-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.method-step {
  border: 1px solid #f0e9e2;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.method-step.open {
  border-color: #7f9f8a;
  box-shadow: 0 4px 14px -6px rgba(127, 159, 138, 0.4);
}
.method-step-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.85rem;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e2f2b;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}
.method-step-num {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f0e9e2;
  color: #5d5d5d;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.25s ease;
}
.method-step.open .method-step-num {
  background: #7f9f8a;
  color: #fff;
}
.method-step-emoji {
  font-size: 1.1rem;
}
.method-step-title {
  flex: 1;
}
.method-step-chevron {
  font-size: 1rem;
  color: #c87a5a;
  transition: transform 0.3s ease;
}
.method-step.open .method-step-chevron {
  transform: rotate(180deg);
}
.method-step-body {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.45s ease,
    padding 0.3s ease;
  padding: 0 0.85rem;
  font-size: 0.82rem;
  color: #5d5d5d;
  line-height: 1.65;
}
.method-step.open .method-step-body {
  max-height: 400px;
  padding: 0 0.85rem 0.85rem;
}
.morning-script {
  background: #fff;
  border-radius: 12px;
  padding: 0.85rem;
  border: 1px solid #f0e9e2;
}
.morning-script-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e2f2b;
  margin-bottom: 0.6rem;
}
.morning-script-note {
  font-size: 0.78rem;
  color: #8a7a70;
  font-style: italic;
  margin-top: 0.5rem;
}

/* ================= DEEPER MEANING — LANTERN WIDGET ================= */
.lantern-widget {
  margin: 1.6rem 0 0.6rem;
  border: 1px solid #efe6dd;
  border-radius: 18px;
  padding: 1.1rem;
  background: linear-gradient(180deg, #fdfaf7 0%, #f7f2ec 100%);
  position: relative;
  overflow: hidden;
}
.lantern-widget::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(232, 168, 124, 0.12),
    transparent 60%
  );
  pointer-events: none;
}
.lantern-head,
.promise-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.35rem;
  position: relative;
  z-index: 1;
}
.lantern-badge,
.promise-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: #c87a5a;
  padding: 0.25rem 0.6rem;
  border-radius: 30px;
}
.promise-badge {
  background: #7f9f8a;
}
.lantern-head h4,
.promise-head h4 {
  font-size: 0.95rem;
  color: #1e2f2b;
}
.lantern-sub,
.promise-sub {
  font-size: 0.8rem;
  color: #8a7a70;
  margin-bottom: 0.85rem;
  position: relative;
  z-index: 1;
}
.lantern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  position: relative;
  z-index: 1;
}
.lantern-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.7rem 0.4rem;
  border-radius: 14px;
  border: 1px solid #ecdccb;
  background: #fffdfb;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  color: #5d5d5d;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}
.lantern-item .lantern-emoji {
  font-size: 1.5rem;
  transition: transform 0.35s ease;
  filter: grayscale(0.2);
}
.lantern-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 60%,
    rgba(232, 168, 124, 0.25),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.lantern-item:hover {
  border-color: #e8a87c;
  transform: translateY(-3px);
  box-shadow: 0 10px 22px -12px rgba(200, 122, 90, 0.5);
}
.lantern-item:hover::after {
  opacity: 1;
}
.lantern-item:hover .lantern-emoji {
  transform: scale(1.18) rotate(-4deg);
}
.lantern-item.active {
  background: linear-gradient(180deg, #fff4ea, #fbe7d6);
  border-color: #e8a87c;
  color: #b15d3d;
  box-shadow: 0 8px 20px -8px rgba(232, 168, 124, 0.7);
  transform: translateY(-2px);
}
.lantern-item.active::after {
  opacity: 1;
}
.lantern-item.active .lantern-emoji {
  transform: scale(1.22);
  filter: drop-shadow(0 0 8px rgba(232, 168, 124, 0.8));
  animation: lanternFlicker 2.2s ease-in-out infinite;
}
@keyframes lanternFlicker {
  0%,
  100% {
    transform: scale(1.22) rotate(0);
    filter: drop-shadow(0 0 6px rgba(232, 168, 124, 0.6));
  }
  50% {
    transform: scale(1.26) rotate(-3deg);
    filter: drop-shadow(0 0 12px rgba(232, 168, 124, 1));
  }
}
.lantern-glow {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: #fff;
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  border: 1px solid #f0e9e2;
  min-height: 64px;
  position: relative;
  z-index: 1;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.lantern-glow.has-glow {
  border-color: #e8a87c;
  box-shadow:
    0 0 0 3px rgba(232, 168, 124, 0.15),
    0 8px 20px -10px rgba(232, 168, 124, 0.5);
}
.lantern-glow-emoji {
  font-size: 1.4rem;
  flex-shrink: 0;
}
.lantern-glow-text {
  font-size: 0.84rem;
  color: #5d5d5d;
  line-height: 1.6;
}

/* ================= FINAL TRUTH — PROMISE WIDGET ================= */
.promise-widget {
  margin: 1.6rem 0 0.8rem;
  border: 1px solid #efe6dd;
  border-radius: 18px;
  padding: 1.1rem;
  background: linear-gradient(180deg, #f7fbf8 0%, #f0f6f2 100%);
  position: relative;
  overflow: hidden;
}
.promise-widget::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 80% 100%,
    rgba(127, 159, 138, 0.12),
    transparent 60%
  );
  pointer-events: none;
}
.promise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.9rem;
  position: relative;
  z-index: 1;
}
.promise-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 0.75rem 0.8rem;
  border-radius: 14px;
  border: 1px solid #dfeae2;
  background: #fff;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  color: #3d3a36;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  line-height: 1.35;
}
.promise-item .promise-emoji {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}
.promise-item:hover {
  border-color: #7f9f8a;
  transform: translateY(-3px);
  box-shadow: 0 10px 22px -12px rgba(127, 159, 138, 0.6);
}
.promise-item:hover .promise-emoji {
  transform: scale(1.18) rotate(4deg);
}
.promise-item.active {
  background: linear-gradient(180deg, #eef7f1, #e3f0e8);
  border-color: #7f9f8a;
  color: #3d6b52;
  box-shadow: 0 8px 20px -8px rgba(127, 159, 138, 0.6);
  transform: translateY(-2px);
}
.promise-item.active .promise-emoji {
  animation: promisePop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes promisePop {
  0% {
    transform: scale(0.7);
  }
  60% {
    transform: scale(1.3) rotate(6deg);
  }
  100% {
    transform: scale(1.1) rotate(3deg);
  }
}
.promise-seal {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: #fff;
  border-radius: 12px;
  padding: 0.85rem 0.9rem;
  border: 1px solid #e3ede6;
  min-height: 64px;
  position: relative;
  z-index: 1;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.promise-seal.sealed {
  border-color: #7f9f8a;
  box-shadow:
    0 0 0 3px rgba(127, 159, 138, 0.15),
    0 8px 20px -10px rgba(127, 159, 138, 0.5);
}
.promise-seal-emoji {
  font-size: 1.4rem;
  flex-shrink: 0;
}
.promise-seal.sealed .promise-seal-emoji {
  animation: sealGlow 2.4s ease-in-out infinite;
}
@keyframes sealGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 4px rgba(127, 159, 138, 0.5));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 10px rgba(127, 159, 138, 1));
    transform: scale(1.1);
  }
}
.promise-seal-text {
  font-size: 0.84rem;
  color: #3d6b52;
  line-height: 1.6;
}

/* ================= CLOSING RIBBON ================= */
.closing-ribbon {
  margin-top: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: linear-gradient(90deg, #fdf1ec, #f7f2ec, #eef7f1, #fdf1ec);
  background-size: 300% 100%;
  animation: ribbonFlow 10s ease infinite;
  border: 1px dashed #ecdccb;
  text-align: center;
}
@keyframes ribbonFlow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
.ribbon-emoji {
  font-size: 1.4rem;
  animation: iconFloat 4s ease-in-out infinite;
}
.ribbon-emoji:last-child {
  animation-delay: 1s;
}
.ribbon-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e2f2b;
  font-style: italic;
  max-width: 480px;
  line-height: 1.5;
}

/* reduced-motion safety */
@media (prefers-reduced-motion: reduce) {
  .lantern-item.active .lantern-emoji,
  .promise-seal.sealed .promise-seal-emoji,
  .closing-ribbon,
  .ribbon-emoji {
    animation: none !important;
  }
}

/* ================= SHARE PANEL — DAWN THEME ================= */
.share-panel {
  position: relative;
  margin: 2rem 0;
  padding: 1.6rem 1.4rem 1.3rem;
  border-radius: 20px;
  border: 1px solid #f0e2d6;
  background: linear-gradient(160deg, #fffaf6 0%, #fdf3ec 55%, #f6f9f5 100%);
  overflow: hidden;
  box-shadow: 0 10px 30px -16px rgba(200, 122, 90, 0.35);
}
.share-aurora {
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 160%;
  background:
    radial-gradient(
      ellipse at 20% 0%,
      rgba(232, 168, 124, 0.3),
      transparent 55%
    ),
    radial-gradient(
      ellipse at 80% 0%,
      rgba(127, 159, 138, 0.25),
      transparent 55%
    ),
    radial-gradient(
      ellipse at 50% 100%,
      rgba(200, 122, 90, 0.15),
      transparent 60%
    );
  animation: auroraDrift 12s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
@keyframes auroraDrift {
  0% {
    transform: translateX(-3%) translateY(0) scale(1);
  }
  100% {
    transform: translateX(3%) translateY(2%) scale(1.06);
  }
}
.share-head {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 1.2rem;
}
.share-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: #c87a5a;
  padding: 0.28rem 0.75rem;
  border-radius: 30px;
  margin-bottom: 0.6rem;
}
.share-head h3 {
  font-family: var(--font-serif, "Literata", serif);
  font-size: 1.25rem;
  color: #1e2f2b;
  margin-bottom: 0.35rem;
}
.share-head p {
  font-size: 0.85rem;
  color: #8a7a70;
}

.share-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.6rem;
}
.share-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px solid #efe2d6;
  background: rgba(255, 255, 255, 0.85);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: #3d3a36;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition:
    transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}
.share-btn:hover {
  transform: translateY(-3px);
  border-color: #e8a87c;
  box-shadow: 0 10px 22px -12px rgba(200, 122, 90, 0.55);
}
.share-btn:active {
  transform: translateY(-1px) scale(0.98);
}
.share-icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: transform 0.28s ease;
}
.share-btn:hover .share-icon {
  transform: rotate(-8deg) scale(1.08);
}
.share-label {
  position: relative;
  z-index: 1;
}
.share-ripple {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at center,
    rgba(232, 168, 124, 0.35),
    transparent 60%
  );
  opacity: 0;
  transform: scale(0.6);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
  pointer-events: none;
}
.share-btn:hover .share-ripple {
  opacity: 1;
  transform: scale(1);
}

/* brand colours for each */
.share-x .share-icon {
  background: #1a1a1a;
}
.share-fb .share-icon {
  background: #1877f2;
}
.share-in .share-icon {
  background: #0a66c2;
}
.share-wa .share-icon {
  background: #25d366;
}
.share-pin .share-icon {
  background: #e60023;
}
.share-copy .share-icon {
  background: #7f9f8a;
}

.share-x:hover {
  background: #f5f5f5;
}
.share-fb:hover {
  background: #eef4ff;
}
.share-in:hover {
  background: #eaf2fb;
}
.share-wa:hover {
  background: #eafaf0;
}
.share-pin:hover {
  background: #fff0f3;
}
.share-copy:hover {
  background: #eef7f1;
}

.share-copy-note {
  position: relative;
  z-index: 1;
  font-size: 0.78rem;
  color: #3d6b52;
  text-align: center;
  min-height: 1.1rem;
  margin-top: 0.7rem;
  transition: opacity 0.3s ease;
}
.share-copy-note.copied {
  color: #7f9f8a;
  font-weight: 600;
}

.share-author {
  position: relative;
  z-index: 1;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px dashed #ecdccb;
  text-align: center;
  font-size: 0.8rem;
  color: #8a7a70;
}
.share-author a {
  color: #c87a5a;
  font-weight: 600;
  text-decoration: none;
}
.share-author a:hover {
  text-decoration: underline;
}

/* FUTURE LETTER */
.future-letter {
  background: linear-gradient(160deg, #fffaf5, #f5ebe0);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2.5rem 0;
  border: 1px solid #e8dcc8;
  position: relative;
  overflow: hidden;
}
.future-letter::before {
  content: "\f0e0";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 8rem;
  position: absolute;
  top: -1rem;
  right: -1rem;
  color: rgba(212, 163, 115, 0.08);
  transform: rotate(15deg);
}
.future-letter h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--text-deep);
  position: relative;
}
.future-letter h4 i {
  color: var(--accent-gold);
  margin-right: 0.5rem;
}
.letter-content {
  position: relative;
}
.letter-content p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #4a3a2a;
}
.future-letter .signature {
  font-family: var(--font-serif);
  font-style: italic;
  text-align: right;
  color: var(--accent-gold);
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* RELATED PILL */
.related-link-row {
  font-size: 0.93rem;
  color: var(--text-soft);
  margin: 1.5rem 0;
  padding: 0.9rem 1rem;
  background: #f9f7f4;
  border-radius: 12px;
  border-left: 3px solid var(--accent-gold);
}
.related-pill {
  background: rgba(212, 163, 115, 0.08);
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  font-weight: 500;
}

/* REACTIONS */
.reactions-box {
  margin: 2.5rem 0;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, #fffaf5, #f5f9f4);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  text-align: center;
}
.reactions-box h3 {
  margin-top: 0;
  font-size: 1.3rem;
}
.reactions-box .sub {
  color: var(--text-soft);
  font-size: 0.9rem;
  max-width: 520px;
  margin: 0 auto 1.5rem;
}
.reaction-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}
.reaction-btn {
  background: white;
  border: 1.5px solid var(--border-soft);
  border-radius: 16px;
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--text-soft);
  min-width: 105px;
  transition: all 0.2s;
}
.reaction-btn:hover {
  border-color: var(--accent-sage);
  transform: translateY(-2px);
}
.reaction-btn.active {
  background: #eef4ec;
  border-color: var(--accent-sage);
  color: var(--primary-deep);
  font-weight: 600;
}
.reaction-btn .emoji {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.2rem;
}
.reaction-btn .count {
  display: block;
  font-size: 0.72rem;
  color: #a89a8a;
  margin-top: 0.2rem;
}
.reaction-message {
  min-height: 20px;
  margin-top: 1rem;
  color: var(--primary-deep);
  font-size: 0.85rem;
}

/* EXERCISES */
.exercise-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}
.exercise-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--border-soft);
  border-top: 3px solid var(--accent-sage);
  position: relative;
}
.exercise-card .ex-num {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.exercise-card h4 {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  margin-bottom: 0.4rem;
}
.exercise-card p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--text-soft);
}

/* SCRIPT LIST */
.script-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 1.2rem 0;
}
.script-item {
  background: white;
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  border-left: 3px solid var(--accent-gold);
  border-top: 1px solid var(--border-soft);
  border-right: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.script-item .situation {
  font-size: 0.82rem;
  color: #8a7a70;
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.script-item .say {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--primary-deep);
}

/* FAQ */
.faq-section {
  margin: 2rem 0;
}
.faq-item {
  border-bottom: 1px solid var(--border-soft);
  padding: 1rem 0;
}
.faq-question {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-deep);
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.faq-question i {
  color: var(--accent-sage);
  margin-top: 0.3rem;
  flex-shrink: 0;
}
.faq-item p {
  margin: 0.6rem 0 0;
  font-size: 0.93rem;
  color: var(--text-soft);
}

/* AUTHOR BIO */
.author-bio {
  display: flex;
  gap: 1.5rem;
  background: transparent;
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  margin: 2.5rem 0;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
  flex-wrap: wrap;
}
.author-avatar {
  width: 72px;
  height: 72px;
  background: linear-gradient(145deg, #4a3f35, #e8a87c);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 600;
  color: white;
  font-family: var(--font-serif);
  flex-shrink: 0;
}
.author-info {
  flex: 1;
  min-width: 240px;
}
.author-info h4 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
}
.author-info p {
  font-size: 0.92rem;
  margin: 0 0 0.75rem;
}
.author-credentials {
  font-size: 0.82rem;
  color: #8a7a70;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.author-credentials a {
  color: var(--accent-gold);
  text-decoration: underline;
}

/* SHARE */
.share-row {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}
.share-row a {
  padding: 0.55rem 1.1rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
}
.share-x {
  background: #1da1f2;
}
.share-fb {
  background: #1877f2;
}
.share-pin {
  background: #e60023;
}

/* PRINTABLE */
.printable-summary {
  background: #fffaf5;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 2rem 0;
  border: 2px dashed var(--accent-gold);
}
.printable-summary h3 {
  margin-top: 0;
  font-size: 1.15rem;
}
.printable-summary ul {
  padding-left: 1.2rem;
  margin: 0.75rem 0;
}
.printable-summary li {
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
  color: var(--text-soft);
}
.printable-summary button {
  background: var(--accent-gold);
  color: white;
  border: none;
  padding: 0.6rem 1.3rem;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-sans);
}

/* REFERENCES */
.reference-list {
  margin: 2.5rem 0 2rem;
  padding: 1.5rem;
  background: #f5f1eb;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--accent-sage);
}
.reference-list h4 {
  font-family: var(--font-serif);
  margin-bottom: 1rem;
  color: var(--text-deep);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.reference-list p {
  margin-bottom: 0.6rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-soft);
}
.reference-list a {
  color: var(--accent-gold);
  word-break: break-word;
}
.fair-use {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: #7c8a7c;
  border-top: 1px solid #d9cfc1;
  padding-top: 0.8rem;
}

/* RELATED ARTICLES */
.related-articles {
  margin: 2.5rem 0;
  padding: 1.5rem;
  background: #f5f1eb;
  border-radius: var(--radius-lg);
}
.related-articles h3 {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.9rem;
}
.related-card {
  background: white;
  padding: 1rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-deep);
  border: 1px solid var(--border-soft);
  transition: all 0.2s;
  display: block;
}
.related-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  border-color: var(--accent-sage);
}
.related-card strong {
  display: block;
  font-size: 0.93rem;
  margin-bottom: 0.3rem;
}
.related-card span {
  font-size: 0.82rem;
  color: #6f7c6f;
}

/* ANONYMOUS BOX */
.anonymous-box {
  background: #f9f7f4;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 2rem 0;
  border: 1px solid var(--border-soft);
}
.anonymous-box label {
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.4rem;
}
.anonymous-box textarea {
  width: 100%;
  padding: 0.8rem;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  resize: vertical;
  min-height: 90px;
}
.anonymous-box button {
  background: var(--accent-sage);
  color: white;
  border: none;
  padding: 0.65rem 1.5rem;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

/* SIDEBAR */
.sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.sidebar-module {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.2rem;
  border: 1px solid var(--border-soft);
}
.sidebar-module h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.sidebar-module ul {
  list-style: none;
  padding: 0;
}
.sidebar-module li {
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
}
.sidebar-module a {
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.2s;
}
.sidebar-module a:hover {
  color: var(--primary-deep);
}

/* FLOATING SKIP */
.skip-to-solutions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  background: var(--accent-gold);
  color: white;
  border: none;
  padding: 0.85rem 1.3rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(212, 163, 115, 0.35);
  font-size: 0.88rem;
  font-family: var(--font-sans);
  display: none;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s;
}
.skip-to-solutions:hover {
  transform: translateY(-2px);
}
.skip-to-solutions.show {
  display: flex;
}

/* INTERSTITIAL */
.break-interstitial {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(26, 21, 18, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}
.break-interstitial.show {
  display: flex;
}
.break-inner {
  max-width: 480px;
  color: #e8e4dc;
}
.break-inner i {
  font-size: 2.5rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
  display: block;
}
.break-inner h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: #f5deb3;
  font-weight: 400;
}
.break-inner p {
  color: #c5beb0;
  margin-bottom: 1.5rem;
}
.break-inner button {
  background: var(--accent-gold);
  color: #2c241e;
  border: none;
  padding: 0.75rem 1.8rem;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-sans);
}
.break-close {
  background: none;
  border: none;
  color: #a89a8a;
  font-size: 0.85rem;
  margin-top: 1rem;
  cursor: pointer;
  text-decoration: underline;
  font-family: var(--font-sans);
}

/* ESSENTIALS */
.essentials-card {
  background: #f5f1eb;
  border-radius: var(--radius-md);
  padding: 1.3rem;
  margin: 1rem 0;
}
.essentials-card h4 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}
.essentials-card p {
  margin: 0;
  font-size: 0.92rem;
}

/* FOOTER */
.site-footer {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #2c2826;
  color: #dacbc0;
  padding: 3rem 1.5rem 0;
  margin-top: 4rem;
  box-sizing: border-box;
  overflow-x: hidden;
}
.footer-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
  word-wrap: break-word;
}
.footer-logo {
  font-family: "Literata", Georgia, serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
}
.footer-logo span {
  color: #c87a5a;
}
.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #dacbc0;
  margin: 0;
}
.footer-col h4 {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.25rem;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a {
  color: #dacbc0;
  font-size: 0.9rem;
  text-decoration: none;
}
.footer-links a:hover {
  color: #c87a5a;
}
.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-newsletter-form input {
  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;
  box-sizing: border-box;
}
.footer-newsletter-form input::placeholder {
  color: rgba(218, 203, 192, 0.6);
}
.footer-newsletter-form button {
  background: #6f8e7e;
  color: #fff;
  border: none;
  padding: 0.7rem 1.4rem;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
}
.footer-newsletter-form button:hover {
  background: #5d7c6c;
}
.footer-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: #dacbc0;
}
.trust-badge i {
  color: #c87a5a;
}
.footer-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  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;
}
.footer-disclaimer i {
  color: #c87a5a;
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.footer-copyright {
  text-align: center;
  padding: 1rem 0;
}
.footer-copyright p {
  font-size: 0.82rem;
  color: #dacbc0;
  opacity: 0.85;
  margin: 0;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .article-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .sidebar {
    position: static;
  }
  h1.article-title {
    font-size: 2.1rem;
  }
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  h1.article-title {
    font-size: 1.95rem;
  }
  h2 {
    font-size: 1.55rem;
  }
}
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
  h1.article-title {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .main-wrapper {
    padding: 0 1rem;
  }
  .nav-links {
    display: none;
  }
  .dawn-hook {
    padding: 1.8rem 1.4rem;
  }
  .dawn-hook .em-open {
    font-size: 1.15rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .reactions-box {
    padding: 1.5rem 1rem;
  }
}
@media (max-width: 480px) {
  h1.article-title {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  .reading-mode-selector {
    flex-direction: column;
  }
  .mode-btn {
    width: 100%;
    text-align: left;
  }
  .author-bio {
    padding: 1.2rem;
  }
  .skip-to-solutions {
    bottom: 16px;
    right: 16px;
    padding: 0.7rem 1rem;
    font-size: 0.82rem;
  }
  .poll-option {
    font-size: 0.85rem;
  }
  .share-row a {
    font-size: 0.78rem;
    padding: 0.5rem 0.9rem;
  }
}
@media (max-width: 320px) {
  body {
    font-size: 15px;
  }
  h1.article-title {
    font-size: 1.35rem;
  }
  .reaction-btn {
    min-width: 90px;
    font-size: 0.8rem;
  }
  .future-letter {
    padding: 1.3rem;
  }
}

/* PRINT */
@media print {
  .site-header,
  .reading-mode-selector,
  .sidebar,
  .skip-to-solutions,
  .break-interstitial,
  .reactions-box,
  .share-row,
  .anonymous-box,
  .poll-reset-btn,
  .site-footer {
    display: none !important;
  }
  body {
    background: white;
    color: black;
    font-size: 12pt;
  }
  .article-grid {
    grid-template-columns: 1fr;
  }
  .hero-image,
  .live-poll {
    display: none;
  }
  .printable-summary {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  a {
    color: black;
    text-decoration: none;
  }
  .reference-list a {
    color: black;
  }
}
