:root {
  /* Warm, nurturing color palette */
  --bg-warm: #fff9f2;
  --bg-soft: #ffefe0;
  --text-deep: #3e3a4a;
  --text-soft: #6b5e6b;
  --primary-coral: #ff9f8c;
  --primary-peach: #ffc4b0;
  --accent-lavender: #d9c6e3;
  --accent-mint: #c1e5d4;
  --border-gentle: #eed9c6;
  --card-bg: #ffffffd9;
  --quote-bg: #fff3e9;
  --shadow-warm: 0 20px 40px rgba(255, 180, 160, 0.08);

  /* Typography - super readable */
  --font-body:
    "Atkinson Hyperlegible", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: "Quicksand", "Atkinson Hyperlegible", sans-serif;

  /* Spacing */
  --content-width: 760px;
  --sidebar-width: 280px;
  --container-width: 1200px;
  --radius-large: 40px;
  --radius-medium: 28px;
  --radius-small: 20px;
}

/* ===== BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-warm);
  font-family: var(--font-body);
  color: var(--text-deep);
  line-height: 1.7;
  font-size: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

/* Beautiful focus states for accessibility */
:focus-visible {
  outline: 4px solid var(--primary-coral);
  outline-offset: 4px;
  border-radius: 8px;
}

/* Smooth transitions */
a,
button,
.card,
.rec-card,
.nav-link {
  transition: all 0.25s ease;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: #2f2b3a;
}

h1 {
  font-size: 52px;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 34px;
  margin: 3.5rem 0 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px dotted var(--primary-peach);
  position: relative;
}

h2::before {
  content: "🧸";
  position: absolute;
  left: -2.5rem;
  top: 0;
  font-size: 2rem;
  opacity: 0.5;
}

h3 {
  font-size: 26px;
  margin: 2.5rem 0 1rem;
  color: #4a4355;
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-deep);
}

a {
  color: #d66959;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
}

a:hover {
  border-bottom-color: var(--primary-coral);
}

@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;
  }
}

/* ===== LAYOUT ===== */
.main-wrapper {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 2rem 2rem 0;
}

.article-grid {
  display: flex;
  gap: 3.5rem;
  position: relative;
}

.article-content {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
}

.sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
  display: none;
}

/* ===== CATEGORY & HEADER ===== */
.meta-category {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: #b38b7a;
  margin-bottom: 0.5rem;
}

.meta-category i {
  color: var(--primary-coral);
  font-size: 16px;
}

.title-block {
  margin: 0.5rem 0 0.8rem;
}

.subhead {
  font-size: 24px;
  font-family: var(--font-heading);
  color: #9a7b8c;
  font-weight: 400;
  line-height: 1.4;
  margin: 0.5rem 0 1.5rem;
}

.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  font-size: 15px;
  padding: 1.2rem 0;
  border-top: 2px solid var(--border-gentle);
  border-bottom: 2px solid var(--border-gentle);
  color: #7d6b7d;
  margin: 1rem 0;
}

.byline i {
  color: var(--primary-coral);
  margin-right: 0.4rem;
}

.reading-time {
  display: flex;
  align-items: center;
}

/* ===== READING MODE SELECTOR ===== */
.reading-mode-selector {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
  padding: 1rem;
  background: #fff5ed;
  border-radius: 60px;
  border: 2px solid var(--primary-peach, #ffc4b0);
  justify-content: center;
  flex-wrap: wrap;
}
.mode-btn {
  padding: 0.6rem 1.8rem;
  border-radius: 40px;
  border: 2px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--font-body, "Atkinson Hyperlegible", sans-serif);
  background: white;
  color: var(--text-deep, #3e3a4a);
}
.mode-btn.active {
  background: var(--primary-coral, #ff9f8c);
  color: white;
  border-color: var(--primary-coral, #ff9f8c);
}
.mode-btn:hover:not(.active) {
  background: #ffe8dd;
}
.essentials-only .extra-content {
  display: none !important;
}

/* ===== MOOD TRACKER ===== */
.mood-tracker {
  background: white;
  border-radius: var(--radius-medium, 28px);
  padding: 2rem;
  margin: 2rem 0;
  border: 3px solid var(--border-gentle, #eed9c6);
  text-align: center;
}
.mood-tracker h4 {
  font-family: var(--font-heading, "Quicksand", sans-serif);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #4a4355;
}
.mood-tracker p {
  font-size: 0.95rem;
  color: var(--text-soft, #6b5e6b);
  margin-bottom: 1.5rem;
}
.mood-slider-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.mood-slider-container input[type="range"] {
  flex: 1;
  min-width: 200px;
  max-width: 400px;
  height: 8px;
  -webkit-appearance: none;
  background: linear-gradient(90deg, #ffc4b0, #ff9f8c);
  border-radius: 10px;
  outline: none;
}
.mood-slider-container input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-coral, #ff9f8c);
  cursor: pointer;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.mood-slider-container input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-coral, #ff9f8c);
  cursor: pointer;
  border: 3px solid white;
}
.mood-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-coral, #ff9f8c);
  min-width: 50px;
}
.mood-tracker .save-mood-btn {
  margin-top: 1.2rem;
  background: var(--accent-mint, #c1e5d4);
  border: none;
  padding: 0.6rem 2rem;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.mood-tracker .save-mood-btn:hover {
  transform: scale(1.05);
}
.mood-comparison {
  margin-top: 1rem;
  padding: 1rem;
  background: #f0f7f2;
  border-radius: var(--radius-small, 20px);
  display: none;
}
.mood-comparison.show {
  display: block;
  animation: fadeIn 0.5s;
}

/* ============================================================
    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;
  }
}

/* ===== LETTER FROM FUTURE SELF ===== */
.future-letter {
  background: linear-gradient(145deg, #f5ebe4, #f0e0d5);
  border-radius: var(--radius-large, 40px);
  padding: 3rem;
  margin: 3rem 0;
  border-left: 8px solid var(--primary-coral, #ff9f8c);
  font-style: italic;
  position: relative;
}
.future-letter::before {
  content: "✉️";
  position: absolute;
  top: -1.5rem;
  left: 2rem;
  font-size: 3rem;
  background: white;
  padding: 0.5rem;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.future-letter h4 {
  font-family: var(--font-heading, "Quicksand", sans-serif);
  font-size: 1.6rem;
  color: #7a5a4a;
  margin-top: 0.5rem;
}
.future-letter p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #4d3e3a;
}
.future-letter .letter-signoff {
  margin-top: 1.5rem;
  font-weight: 600;
  color: #7a5a4a;
}

/* ===== BREAK INTERSTITIAL ===== */
.break-interstitial {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(58, 46, 40, 0.92);
  backdrop-filter: blur(10px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 2rem;
  animation: fadeIn 0.5s;
}
.break-interstitial.show {
  display: flex;
}
.break-content {
  background: white;
  border-radius: var(--radius-large, 40px);
  padding: 3rem;
  max-width: 500px;
  text-align: center;
}
.break-content .break-emoji {
  font-size: 4rem;
  margin-bottom: 1rem;
}
.break-content h3 {
  font-family: var(--font-heading, "Quicksand", sans-serif);
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #4a4355;
}
.break-content p {
  font-size: 1.1rem;
  color: var(--text-soft, #6b5e6b);
}
.break-content .continue-btn {
  margin-top: 1.5rem;
  background: var(--primary-coral, #ff9f8c);
  border: none;
  padding: 0.8rem 2.5rem;
  border-radius: 40px;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s;
}
.break-content .continue-btn:hover {
  transform: scale(1.05);
}

/* ===== REACTION BUTTONS ===== */
.reaction-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0;
  padding: 1.5rem;
  background: #faf0e8;
  border-radius: var(--radius-medium, 28px);
}
.reaction-btn {
  background: white;
  border: 2px solid var(--border-gentle, #eed9c6);
  padding: 0.8rem 1.5rem;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body, "Atkinson Hyperlegible", sans-serif);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.reaction-btn:hover {
  border-color: var(--primary-coral, #ff9f8c);
  transform: translateY(-3px);
}
.reaction-btn .reaction-count {
  background: #f0e8e0;
  padding: 0.1rem 0.6rem;
  border-radius: 20px;
  font-size: 0.8rem;
}

/* ===== PRINTABLE SUMMARY CARD ===== */
.printable-summary {
  background: white;
  border-radius: var(--radius-large, 40px);
  padding: 2.5rem;
  margin: 3rem 0;
  border: 3px solid var(--accent-mint, #c1e5d4);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}
.printable-summary h3 {
  font-family: var(--font-heading, "Quicksand", sans-serif);
  font-size: 1.8rem;
  color: #4a4355;
  text-align: center;
  margin-bottom: 1.5rem;
}
.printable-summary .summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.printable-summary .summary-item {
  background: #f9f7f4;
  padding: 1.2rem;
  border-radius: var(--radius-small, 20px);
  border-left: 4px solid var(--primary-coral, #ff9f8c);
}
.printable-summary .summary-item strong {
  display: block;
  font-size: 1.1rem;
  color: #4a4355;
  margin-bottom: 0.3rem;
}
.printable-summary .summary-item p {
  font-size: 0.95rem;
  color: var(--text-soft, #6b5e6b);
  margin: 0;
}
.printable-summary .print-btn {
  display: block;
  margin: 1.5rem auto 0;
  background: var(--accent-lavender, #d9c6e3);
  border: none;
  padding: 0.8rem 2.5rem;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.printable-summary .print-btn:hover {
  transform: scale(1.05);
}

/* ===== SKIP TO SOLUTIONS BUTTON ===== */
.skip-to-solutions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--primary-coral, #ff9f8c);
  color: white;
  border: none;
  padding: 0.8rem 1.8rem;
  border-radius: 60px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(255, 159, 140, 0.4);
  z-index: 999;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  font-family: var(--font-body, "Atkinson Hyperlegible", sans-serif);
}
.skip-to-solutions.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.skip-to-solutions:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 35px rgba(255, 159, 140, 0.5);
}

/* ===== RESPONSIVE FOR UNIQUE ELEMENTS ===== */
@media (max-width: 768px) {
  .poll-options {
    grid-template-columns: 1fr;
  }
  .printable-summary .summary-grid {
    grid-template-columns: 1fr;
  }
  .future-letter {
    padding: 2rem 1.5rem;
  }
  .future-letter::before {
    font-size: 2rem;
    top: -1rem;
    left: 1.5rem;
  }
  .break-content {
    padding: 2rem;
    margin: 1rem;
  }
  .reaction-buttons {
    flex-direction: column;
    align-items: center;
  }
  .reaction-btn {
    width: 100%;
    justify-content: center;
  }
  .reading-mode-selector {
    border-radius: 30px;
    padding: 0.8rem;
  }
  .mode-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
  }
  .mood-slider-container {
    flex-direction: column;
    align-items: center;
  }
  .mood-slider-container input[type="range"] {
    max-width: 100%;
    width: 100%;
  }
  .skip-to-solutions {
    bottom: 1rem;
    right: 1rem;
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .reading-mode-selector {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    border-radius: 20px;
  }
  .mode-btn {
    text-align: center;
  }
  .poll-options {
    gap: 0.5rem;
  }
  .poll-option {
    padding: 0.8rem;
    font-size: 0.9rem;
  }
  .future-letter h4 {
    font-size: 1.3rem;
  }
  .future-letter p {
    font-size: 1rem;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .skip-to-solutions,
  .break-interstitial,
  .reaction-buttons,
  .live-poll .poll-options,
  .mood-tracker .mood-slider-container,
  .reading-mode-selector {
    display: none !important;
  }
  .printable-summary {
    border: 2px solid #ccc;
    break-inside: avoid;
  }
  .printable-summary .print-btn {
    display: none;
  }
  .site-header,
  .site-footer {
    display: none !important;
  }
  .mood-comparison {
    display: none !important;
  }
  .future-letter {
    background: #f5f0eb !important;
    border-left: 8px solid #ccc !important;
  }
}

/* ===== READING MODE SELECTOR - FIX ===== */
.reading-mode-selector {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
  padding: 1rem;
  background: #fff5ed;
  border-radius: 60px;
  border: 2px solid var(--primary-peach, #ffc4b0);
  justify-content: center;
  flex-wrap: wrap;
}
.mode-btn {
  padding: 0.6rem 1.8rem;
  border-radius: 40px;
  border: 2px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--font-body, "Atkinson Hyperlegible", sans-serif);
  background: white;
  color: var(--text-deep, #3e3a4a);
  font-size: 1rem;
}
.mode-btn.active {
  background: var(--primary-coral, #ff9f8c);
  color: white;
  border-color: var(--primary-coral, #ff9f8c);
  box-shadow: 0 4px 15px rgba(255, 159, 140, 0.3);
}
.mode-btn:hover:not(.active) {
  background: #ffe8dd;
  transform: translateY(-2px);
}

/* Essentials mode - hide non-essential content */
.essentials-mode .extra-content {
  display: none !important;
}

/* Mark essential sections with this class */
.essential-content {
  display: block;
}

/* Smooth transition for mode switching */
.article-content {
  transition: opacity 0.3s ease;
}
.article-content.switching {
  opacity: 0.6;
}

/* ===== AUDIO PLAYER ===== */
.audio-player-btn {
  background: #ffe8dd;
  border: 2px solid var(--primary-peach);
  border-radius: 60px;
  padding: 1rem 2rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-deep);
  cursor: pointer;
  box-shadow: 0 6px 0 #e6c9b5;
  transition: all 0.15s;
}

.audio-player-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 #e6c9b5;
}

.audio-player-btn:active {
  transform: translateY(6px);
  box-shadow: 0 0px 0 #e6c9b5;
}

.audio-player-btn i {
  font-size: 1.8rem;
  color: #ff8a73;
}

/* ===== HERO SECTION ===== */
.hero-container {
  position: relative;
  width: 100%;
  height: 300px;
  border-radius: var(--radius-large);
  overflow: hidden;
  margin: 2rem 0 3rem;
  box-shadow: var(--shadow-warm);
  animation: gentle-float 8s infinite ease-in-out;
}

@keyframes gentle-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(5px);
  padding: 0.5rem 1.5rem;
  border-radius: 60px;
  font-size: 0.9rem;
  color: var(--text-deep);
  border: 2px solid white;
}

/* ===== EMOTIONAL HOOK ===== */
.emotional-hook {
  background: #fff9f0;
  padding: 2rem 2.5rem;
  border-radius: var(--radius-medium);
  border-left: 8px solid var(--primary-coral);
  margin: 2.5rem 0;
  font-size: 1.2rem;
  box-shadow: var(--shadow-warm);
}

.hook-quote {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: #d66959;
  margin: 0.5rem 0 1rem;
}

/* ===== INTERACTIVE MEMORY BOX ===== */
.memory-box {
  background: linear-gradient(145deg, #fff5ed, #ffefe3);
  border-radius: var(--radius-medium);
  padding: 2rem;
  margin: 2.5rem 0;
  border: 3px dashed var(--primary-peach);
  text-align: center;
}

.memory-box h4 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #b25f4a;
}

.memory-reveal {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-small);
  margin: 1.5rem 0;
  font-style: italic;
  display: none;
}

.memory-reveal.show {
  display: block;
  animation: fadeIn 0.5s;
}

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

.memory-btn {
  background: var(--accent-lavender);
  border: none;
  color: #3a3340;
  padding: 1rem 2rem;
  border-radius: 60px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  margin: 0.5rem;
  box-shadow: 0 4px 0 #bba8cf;
  transition: all 0.15s;
}

.memory-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #bba8cf;
}

.memory-btn.secondary {
  background: var(--accent-mint);
  box-shadow: 0 4px 0 #a8c9b8;
}

/* ===== TECHNIQUE CARDS ===== */
.technique-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.technique-card {
  background: var(--card-bg);
  border-radius: var(--radius-small);
  padding: 2rem 1.5rem;
  border: 2px solid var(--border-gentle);
  box-shadow: var(--shadow-warm);
  transition: transform 0.2s;
  backdrop-filter: blur(5px);
}

.technique-card:hover {
  transform: scale(1.02);
  border-color: var(--primary-coral);
}

.technique-card .emoji {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.technique-card h4 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

/* ===== SIGNAL SPOTTER (INTERACTIVE) ===== */
.signal-spotter {
  background: #fff4ea;
  border-radius: var(--radius-large);
  padding: 2.5rem;
  margin: 3rem 0;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.signal-card {
  background: white;
  padding: 1.5rem 1rem;
  border-radius: var(--radius-small);
  text-align: center;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.2s;
}

.signal-card:hover {
  border-color: var(--primary-coral);
  transform: scale(1.05);
}

.signal-card.selected {
  border-color: var(--primary-coral);
  background: #fff0e5;
}

.signal-card .signal-emoji {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.signal-feedback {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-small);
  margin-top: 2rem;
  border-left: 6px solid var(--primary-coral);
  display: none;
}

.signal-feedback.show {
  display: block;
  animation: fadeIn 0.3s;
}

/* ===== EXPERT QUOTES ===== */
.expert-quote {
  margin: 3rem 0;
  padding: 2rem 2rem 2rem 3rem;
  background: var(--quote-bg);
  border-radius: var(--radius-medium);
  position: relative;
}

.expert-quote::before {
  content: "💭";
  position: absolute;
  left: -1rem;
  top: -1rem;
  font-size: 3rem;
  background: white;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-warm);
}

.expert-quote p {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1.5;
  color: #4a3f52;
  margin-bottom: 1rem;
}

.quote-source {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
  color: #a28494;
}

.quote-context {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px dotted var(--primary-peach);
  font-size: 0.95rem;
  color: #7d6d82;
}

/* ===== REFLECTION BOX ===== */
.reflection-box {
  background: #edf7f0;
  border-radius: var(--radius-medium);
  padding: 2.5rem;
  margin: 3rem 0;
  border-left: 8px solid var(--accent-mint);
}

.reflection-box h4 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #3e7a6b;
}

.reflection-box ul {
  list-style: none;
}

.reflection-box li {
  margin: 1.2rem 0;
  padding-left: 2.5rem;
  position: relative;
  font-size: 1.1rem;
}

.reflection-box li::before {
  content: "🤔";
  position: absolute;
  left: 0;
  opacity: 0.8;
}

/* ===== MINI EXERCISE ===== */
.mini-exercise {
  background: white;
  border: 4px solid var(--accent-lavender);
  border-radius: var(--radius-medium);
  padding: 2.5rem;
  margin: 3rem 0;
}

.script-bubble {
  background: #faf0e6;
  padding: 1rem 2rem;
  border-radius: 60px;
  display: inline-block;
  margin: 0.5rem;
  border: 2px solid var(--primary-peach);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.script-bubble:hover {
  background: var(--primary-peach);
  transform: scale(1.05);
}

.script-bubble.copied {
  background: var(--accent-mint);
  border-color: #7bc5a5;
}

/* ===== FORGIVENESS METER (INTERACTIVE) ===== */
.forgiveness-meter {
  background: white;
  border-radius: var(--radius-large);
  padding: 2.5rem;
  margin: 3rem 0;
  text-align: center;
  border: 3px solid var(--primary-peach);
}

.meter {
  width: 100%;
  height: 30px;
  background: #ffe3d6;
  border-radius: 30px;
  margin: 2rem 0;
  overflow: hidden;
  cursor: pointer;
}

.meter-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-coral), #ffb09c);
  border-radius: 30px;
  transition: width 0.3s ease;
}

.meter-stages {
  display: flex;
  justify-content: space-between;
  margin: 1rem 0 2rem;
  color: #b28b9c;
}

.forgiveness-prompt {
  font-size: 1.3rem;
  margin: 1.5rem 0;
  color: #d66959;
}

/* ===== ANONYMOUS RESPONSE BOX ===== */
.anonymous-response {
  background: linear-gradient(135deg, #ffece1, #ffe1d0);
  border-radius: var(--radius-large);
  padding: 3rem;
  margin: 4rem 0;
  text-align: center;
  border: 4px solid white;
}

.anonymous-response h4 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: #a35a48;
}

.anonymous-response textarea {
  width: 100%;
  padding: 1.5rem;
  border-radius: var(--radius-medium);
  border: 3px solid white;
  background: rgba(255, 255, 255, 0.9);
  font-family: var(--font-body);
  font-size: 1.1rem;
  margin: 1.5rem 0;
  resize: vertical;
}

.anonymous-response textarea:focus {
  border-color: var(--primary-coral);
}

.anonymous-response button {
  background: var(--accent-lavender);
  border: none;
  color: #3f3652;
  padding: 1.2rem 3rem;
  border-radius: 60px;
  font-weight: 700;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 6px 0 #bba8cf;
  transition: all 0.15s;
}

.anonymous-response button:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 #bba8cf;
}

.response-note {
  margin-top: 1.5rem;
  color: #9a7b8c;
}

/* ===== AUTHOR BIO ===== */
.author-bio {
  background: #f1e4da;
  border-radius: var(--radius-large);
  padding: 2.5rem;
  margin: 4rem 0 2rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  border: 4px solid white;
}

.author-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--primary-coral);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  box-shadow: 0 8px 0 #c27f6e;
}

.author-info h4 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.author-credentials {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid #dbbcac;
  color: #8b6f7c;
}

/* ===== FAQ SECTION ===== */
.faq-section {
  background: #fdf1e8;
  border-radius: var(--radius-large);
  padding: 3rem;
  margin: 4rem 0;
}

.faq-item {
  margin: 2rem 0;
  padding: 1.5rem;
  background: white;
  border-radius: var(--radius-medium);
  cursor: pointer;
  transition: all 0.2s;
}

.faq-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-warm);
}

.faq-question {
  font-weight: 700;
  font-size: 1.2rem;
  color: #b25f4a;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.faq-answer {
  margin-top: 1rem;
  padding: 1rem;
  background: #fdf5ed;
  border-radius: var(--radius-small);
  display: none;
}

.faq-answer.show {
  display: block;
  animation: fadeIn 0.3s;
}

/* ===== RECOMMENDATION ENGINE ===== */
.recommendation-engine {
  background: #f2ebe3;
  border-radius: var(--radius-large);
  padding: 3rem;
  margin: 4rem 0;
}

.rec-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.rec-header h4 {
  font-size: 2rem;
  color: #734d66;
}

.rec-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.rec-tab {
  padding: 0.8rem 1.8rem;
  background: white;
  border-radius: 40px;
  border: 2px solid var(--primary-peach);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}

.rec-tab.active {
  background: var(--primary-coral);
  border-color: var(--primary-coral);
  color: white;
}

.rec-tab:hover {
  background: var(--primary-peach);
}

.rec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.rec-card {
  background: white;
  border-radius: var(--radius-medium);
  padding: 1.8rem;
  border: 2px solid var(--border-gentle);
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.rec-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-coral);
}

.rec-badge {
  position: absolute;
  top: -10px;
  right: 15px;
  background: var(--accent-lavender);
  padding: 0.3rem 1.2rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
}

.rec-tag {
  font-size: 0.8rem;
  color: #b28b9c;
  margin-bottom: 0.5rem;
}

.rec-title {
  font-weight: 700;
  margin: 0.8rem 0;
  line-height: 1.4;
}

.rec-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: #8f7a8f;
}

/* ===== RECOMMENDATION ENGINE ===== */
.recommendations-section {
  margin: 3rem 0;
  padding: 2rem 0;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  background: #fafafa;
  border-radius: 24px;
  padding: 2rem;
}

.recommendations-section h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #2c3e50;
  text-align: center;
  position: relative;
}

.recommendations-section h3:after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #6c5ce7;
  margin: 12px auto 0;
  border-radius: 2px;
}

#development-recommendations {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .recommendations-section {
    padding: 1.5rem;
    margin: 2rem 0;
  }

  #development-recommendations {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

/* ===== SIDEBAR ===== */
.sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
}

.sidebar-module {
  background: #fff7f0;
  border-radius: var(--radius-medium);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 3px solid white;
}

.sidebar-module h4 {
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  color: #aa6d5e;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sidebar-module ul {
  list-style: none;
}

.sidebar-module li {
  margin: 0.8rem 0;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.5rem;
  border-radius: 12px;
  color: var(--text-deep);
  font-weight: 500;
  border-bottom: none;
}

.nav-link:hover {
  background: rgba(255, 159, 140, 0.15);
  transform: translateX(5px);
}

.progress-checkbox {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0.8rem 0;
}

.progress-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--primary-coral);
}

/* ============================================================
   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;
  }
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: #cfd8c4;
  transition: all 0.2s ease;
  text-decoration: none;
  font-size: 0.8rem;
}

.social-link:hover {
  background: #c17b5e;
  color: white;
  transform: translateY(-2px);
}

/* ===== LIVE POLL FIXES ===== */
.poll-option {
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}

.poll-option:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 159, 140, 0.2);
}

.poll-option.selected {
  border-color: var(--primary-coral, #ff9f8c);
  background: #fff0e5;
  box-shadow: 0 4px 15px rgba(255, 159, 140, 0.3);
}

.poll-option .poll-count {
  display: block;
  font-size: 0.75rem;
  color: var(--text-soft, #6b5e6b);
  margin-top: 0.3rem;
  font-weight: 400;
}

/* ===== ESSENTIALS MODE TOGGLING ===== */
.essentials-only {
  display: none;
}
.essentials-mode .full-depth-content {
  display: none;
}
.essentials-mode .essentials-only {
  display: block;
}
.essentials-mode .essentials-only .extra-content {
  display: block !important;
}

/* ===== MODE INDICATOR ===== */
.mode-indicator {
  background: var(--primary-coral, #ff9f8c);
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 40px;
  text-align: center;
  margin: 0.5rem 0 1.5rem;
  font-weight: 500;
  font-size: 0.95rem;
  animation: fadeIn 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 159, 140, 0.2);
}

/* ===== FULL DEPTH CONTENT WRAPPER ===== */
.full-depth-content {
  display: block;
}

/* ===== ESSENTIALS CONTENT WRAPPER ===== */
.essentials-only {
  display: none;
}
.essentials-mode .essentials-only {
  display: block;
}
.essentials-mode .full-depth-content {
  display: none;
}

/* ===== IMAGE IN SECTION 7 ===== */
.section7-image-container {
  margin: 2rem 0 1.5rem;
  border-radius: var(--radius-medium, 28px);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}
.section7-image-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}
.section7-image-container img:hover {
  transform: scale(1.02);
}
.section7-image-caption {
  padding: 0.8rem 1.5rem;
  background: #f9f2ec;
  font-size: 0.85rem;
  color: var(--text-soft, #6b5e6b);
  text-align: center;
  font-style: italic;
  border-top: 2px solid var(--border-gentle, #eed9c6);
}

/* ===== RESPONSIVE FIXES FOR ESSENTIALS MODE ===== */
@media (max-width: 768px) {
  .essentials-only .technique-grid {
    grid-template-columns: 1fr;
  }
  .essentials-only .summary-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== RESPONSIVE BREAK INTERSTITIAL ===== */
@media (max-width: 480px) {
  .break-content {
    padding: 1.5rem;
    margin: 0.5rem;
  }
  .break-content .break-emoji {
    font-size: 3rem;
  }
  .break-content h3 {
    font-size: 1.5rem;
  }
  .break-content p {
    font-size: 1rem;
  }
  .break-content .continue-btn {
    padding: 0.6rem 1.8rem;
    font-size: 1rem;
  }
}

/* ===== SKIP TO SOLUTIONS RESPONSIVE ===== */
@media (max-width: 480px) {
  .skip-to-solutions {
    bottom: 0.8rem;
    right: 0.8rem;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    border-radius: 40px;
  }
}

/* ===== PRINTABLE SUMMARY RESPONSIVE ===== */
@media (max-width: 480px) {
  .printable-summary {
    padding: 1.5rem;
  }
  .printable-summary h3 {
    font-size: 1.4rem;
  }
  .printable-summary .summary-item {
    padding: 1rem;
  }
  .printable-summary .summary-item strong {
    font-size: 1rem;
  }
  .printable-summary .summary-item p {
    font-size: 0.85rem;
  }
}

/* ===== MOOD TRACKER RESPONSIVE ===== */
@media (max-width: 480px) {
  .mood-tracker {
    padding: 1.2rem;
  }
  .mood-tracker h4 {
    font-size: 1.1rem;
  }
  .mood-slider-container {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .mood-slider-container input[type="range"] {
    max-width: 100%;
  }
  .mood-value {
    font-size: 1.5rem;
    min-width: auto;
  }
}

/* ===== LIVE POLL RESPONSIVE ===== */
@media (max-width: 480px) {
  .live-poll {
    padding: 1.2rem;
  }
  .poll-options {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .poll-option {
    padding: 0.7rem;
    font-size: 0.9rem;
  }
}

/* ===== REACTION BUTTONS RESPONSIVE ===== */
@media (max-width: 480px) {
  .reaction-buttons {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.6rem;
  }
  .reaction-btn {
    justify-content: center;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
}

/* ===== LETTER FROM FUTURE SELF RESPONSIVE ===== */
@media (max-width: 480px) {
  .future-letter {
    padding: 1.5rem;
    margin: 2rem 0;
  }
  .future-letter::before {
    font-size: 2rem;
    top: -1rem;
    left: 1rem;
    padding: 0.3rem;
  }
  .future-letter h4 {
    font-size: 1.3rem;
  }
  .future-letter p {
    font-size: 1rem;
  }
}

/* Footer Links - Compact */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  color: #cfd8c4;
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s ease;
}

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

/* Newsletter Form - Compact */
.footer-newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.2rem;
}

.footer-newsletter-form input {
  flex: 1;
  padding: 0.5rem 0.8rem;
  border-radius: 30px;
  border: 1px solid #3a4a3a;
  background: #2a3a2a;
  color: #e8e8d8;
  font-size: 0.8rem;
  font-family: inherit;
}

.footer-newsletter-form input:focus {
  outline: none;
  border-color: #c17b5e;
}

.footer-newsletter-form input::placeholder {
  color: #8a9a8a;
  font-size: 0.75rem;
}

.footer-newsletter-form button {
  padding: 0.5rem 1rem;
  border-radius: 30px;
  border: none;
  background: #c17b5e;
  color: white;
  font-weight: 500;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.footer-newsletter-form button:hover {
  background: #d48d6e;
}

/* Trust Badges - Compact Row */
.footer-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid #2a3a2a;
  border-bottom: 1px solid #2a3a2a;
  margin-bottom: 1rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  color: #b0c0a0;
  letter-spacing: 0.3px;
}

.trust-badge i {
  font-size: 0.8rem;
  color: #e8b08e;
}

/* Disclaimer - One line, clear text */
.footer-disclaimer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  color: #9aaf8a;
  margin-bottom: 1rem;
  text-align: center;
  flex-wrap: wrap;
}

.footer-disclaimer i {
  color: #e8b08e;
  font-size: 0.7rem;
}

.footer-disclaimer a {
  color: #e8b08e;
  text-decoration: none;
}

.footer-disclaimer a:hover {
  text-decoration: underline;
}

/* Copyright - Compact */
.footer-copyright {
  text-align: center;
  font-size: 0.7rem;
  color: #9aaf8a;
}

.footer-copyright p {
  margin: 0;
}

/* ===== 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;
  }
}

/* ===== RESPONSIVE BREAKPOINTS ===== */
@media (min-width: 1025px) {
  .sidebar {
    display: block;
  }
  .article-content {
    margin: 0;
  }
}

@media (max-width: 1024px) {
  .article-content {
    max-width: 700px;
  }
  h1 {
    font-size: 46px;
  }
  h2::before {
    display: none;
  }
  .technique-grid {
    grid-template-columns: 1fr;
  }
  .signal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .article-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 17px;
  }
  h1 {
    font-size: 38px;
  }
  h2 {
    font-size: 30px;
  }
  .author-bio {
    flex-direction: column;
    text-align: center;
  }
  .signal-grid {
    grid-template-columns: 1fr;
  }
  .rec-grid {
    grid-template-columns: 1fr;
  }
  .rec-tabs {
    flex-direction: column;
  }
  .hero-container {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .main-wrapper {
    padding: 1rem;
  }
  h1 {
    font-size: 32px;
  }
  .byline {
    flex-direction: column;
    gap: 0.8rem;
  }
  .anonymous-response {
    padding: 1.5rem;
  }
  .faq-section {
    padding: 1.5rem;
  }
  .hero-container {
    height: 180px;
  }
}

@media (max-width: 320px) {
  h1 {
    font-size: 28px;
  }
  .script-bubble {
    display: block;
    text-align: center;
  }
}
