* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Warm, nurturing color palette */
  --bg-warm: #fff9f2;
  --bg-soft: #fef3e7;
  --text-rich: #4a3729;
  --text-soft: #7b6b5c;
  --primary-coral: #ff9f7c;
  --primary-peach: #ffb694;
  --accent-mint: #b8e0d2;
  --accent-lavender: #e2d1e7;
  --border-warm: #f0ded0;
  --card-warm: #ffffffd9;
  --quote-warm: #fef1e6;
  --shadow-warm: 0 20px 40px rgba(242, 153, 74, 0.08);

  /* Typography */
  --font-display: "Source Serif 4", Georgia, serif;
  --font-friendly: "Quicksand", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --container-width: 1200px;
  --content-width: 760px;
  --sidebar-width: 280px;
  --radius-large: 32px;
  --radius-medium: 24px;
  --radius-small: 16px;
}

/* ===== BASE STYLES ===== */
body {
  background-color: var(--bg-warm);
  font-family: var(--font-friendly);
  color: var(--text-rich);
  line-height: 1.7;
  font-size: 18px;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

/* Accessibility */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--primary-coral);
  outline-offset: 4px;
  border-radius: 4px;
}

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

/* Typography */
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.3;
  color: #3b2e24;
  letter-spacing: -0.01em;
}

h1 {
  font-size: 52px;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #4a3729 0%, #7b4f3a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

h2:before {
  content: "🧸";
  position: absolute;
  left: -2.5rem;
  top: -0.2rem;
  font-size: 1.8rem;
  opacity: 0.7;
}

h3 {
  font-size: 26px;
  margin: 2.2rem 0 1rem;
  color: #5b4a3c;
}

p {
  margin-bottom: 1.6rem;
  color: var(--text-rich);
}

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

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

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

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

/* Reading mode transition */
.essentials-only .non-essential {
  display: none !important;
}

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

.essentials-only {
  transition: opacity 0.3s ease;
}

/* Mode toast animation */
@keyframes toastFadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.mode-toast {
  animation: toastFadeIn 0.3s ease;
}

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

/* ===== META & HEADER ===== */
.meta-category {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #b48d7a;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.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-display);
  color: #b07d63;
  font-weight: 300;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.byline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 15px;
  margin: 1.5rem 0 1.2rem;
  padding: 1rem 0;
  border-top: 2px solid var(--border-warm);
  border-bottom: 2px solid var(--border-warm);
  color: #9b7b68;
}

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

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  margin: 1.5rem 0 2.5rem;
  border-radius: var(--radius-large);
  overflow: hidden;
  box-shadow: var(--shadow-warm);
  animation: gentleFloat 3s ease-in-out infinite;
}

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

.hero-image-container {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.hero-image:hover {
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 159, 124, 0.2) 0%,
    rgba(184, 224, 210, 0.2) 100%
  );
  pointer-events: none;
}

.hero-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: white;
  background: rgba(74, 55, 41, 0.4);
  backdrop-filter: blur(8px);
  padding: 0.6rem 1.8rem;
  border-radius: 40px;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 500;
}

.floating-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent-mint);
  padding: 0.8rem 1.5rem;
  border-radius: 60px;
  font-weight: 600;
  color: #3b5f54;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  animation: pulse 2s ease-in-out infinite;
  font-size: 0.9rem;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

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

/* ===== EMOTIONAL HOOK ===== */
.emotional-hook {
  font-size: 1.3rem;
  line-height: 1.7;
  color: #5d4a3b;
  background: var(--quote-warm);
  padding: 2rem;
  border-radius: var(--radius-medium);
  border-left: 6px solid var(--primary-coral);
  margin: 2rem 0;
  position: relative;
  box-shadow: 0 8px 20px rgba(255, 159, 124, 0.1);
}

.emotional-hook:after {
  content: "💭";
  position: absolute;
  bottom: -15px;
  right: 20px;
  font-size: 2rem;
  opacity: 0.3;
}

/* ===== PARENT VOICE CARDS ===== */
.parent-voice {
  background: white;
  border-radius: var(--radius-medium);
  padding: 2rem;
  margin: 2.5rem 0;
  border: 2px solid var(--primary-peach);
  position: relative;
  box-shadow: var(--shadow-warm);
}

.parent-voice:before {
  content: "👤";
  position: absolute;
  top: -15px;
  left: 30px;
  background: white;
  padding: 0.3rem 1rem;
  border-radius: 40px;
  font-size: 1.2rem;
  border: 2px solid var(--primary-peach);
}

.parent-quote {
  font-style: italic;
  color: #7b5f4e;
  padding-left: 1rem;
  border-left: 4px solid var(--accent-mint);
  margin: 1rem 0;
}

/* ===== EXPERT QUOTES ===== */
.expert-quote {
  margin: 2.8rem 0 2rem;
  padding: 0 1.5rem 0 2.5rem;
  border-left: 5px solid var(--accent-mint);
  position: relative;
}

.expert-quote p {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.6;
  font-style: italic;
  color: #5d4a3b;
  margin-bottom: 0.6rem;
}

.quote-source {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: #b07d63;
}

.quote-context {
  margin-top: 0.8rem;
  font-size: 0.95rem;
  color: #8b7262;
  padding-left: 1rem;
  border-left: 2px solid var(--accent-lavender);
}

/* ===== INTERACTIVE ELEMENTS ===== */
.choice-game {
  background: var(--accent-mint);
  border-radius: var(--radius-large);
  padding: 2.5rem;
  margin: 3rem 0;
  text-align: center;
  animation: softGlow 3s ease-in-out infinite;
}

@keyframes softGlow {
  0%,
  100% {
    box-shadow: 0 10px 30px rgba(184, 224, 210, 0.3);
  }
  50% {
    box-shadow: 0 20px 40px rgba(184, 224, 210, 0.6);
  }
}

.choice-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.choice-btn {
  background: white;
  border: none;
  padding: 1.2rem 2.5rem;
  border-radius: 60px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #3b5f54;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.choice-btn:hover {
  transform: scale(1.05) rotate(-2deg);
  background: #ffb694;
  color: white;
}

.choice-result {
  background: white;
  padding: 1.5rem;
  border-radius: 40px;
  margin-top: 1.5rem;
  font-size: 1.2rem;
  color: #4a3729;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== BRAIN FACT CARDS ===== */
.brain-fact {
  background: linear-gradient(135deg, #fff9f2 0%, #fff 100%);
  border-radius: var(--radius-medium);
  padding: 2rem;
  margin: 2rem 0;
  border: 2px dashed var(--primary-coral);
  position: relative;
}

.brain-fact h4 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #d66939;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brain-icon {
  font-size: 2.5rem;
  animation: spin 10s linear infinite;
}

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

/* ===== TIMELINE ===== */
.timeline {
  margin: 3rem 0;
  position: relative;
}

.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: white;
  border-radius: var(--radius-medium);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.timeline-item:hover {
  transform: translateX(10px);
  box-shadow: 0 8px 24px rgba(255, 159, 124, 0.15);
}

.timeline-age {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-coral);
  min-width: 100px;
  text-align: center;
  padding: 1rem;
  background: var(--bg-soft);
  border-radius: var(--radius-small);
}

.timeline-content h3 {
  margin-top: 0;
}

/* ===== ANONYMOUS PARENT VOICE ===== */
.parent-anonymous {
  background: white;
  border-radius: var(--radius-large);
  padding: 2.5rem;
  margin: 3rem 0;
  border: 3px solid var(--accent-lavender);
  text-align: center;
}

.parent-anonymous h4 {
  font-family: var(--font-display);
  font-size: 28px;
  color: #7b5f4e;
  margin-bottom: 1.5rem;
}

.parent-anonymous textarea {
  width: 100%;
  padding: 1.5rem;
  border-radius: var(--radius-medium);
  border: 2px solid #f0ded0;
  font-family: var(--font-friendly);
  font-size: 1rem;
  margin: 1.2rem 0;
  resize: vertical;
}

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

.share-btn {
  background: var(--primary-coral);
  border: none;
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 60px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.share-btn:hover {
  background: #ff8b62;
  transform: scale(1.02);
}

/* ===== REFLECTION CORNER ===== */
.reflection-corner {
  background: #fef3e7;
  border-radius: var(--radius-large);
  padding: 2.5rem;
  margin: 3rem 0;
  border-left: 6px solid var(--accent-mint);
}

.reflection-corner h4 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #5d4a3b;
}

.reflection-prompt {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-medium);
  margin: 1.5rem 0;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s;
}

.reflection-prompt:hover {
  background: #ffe4d5;
  transform: scale(1.02);
}

/* ===== QUICK WIN CARDS ===== */
.quick-win-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.quick-win-card {
  background: white;
  border-radius: var(--radius-medium);
  padding: 1.5rem;
  text-align: center;
  border: 2px solid var(--primary-peach);
  transition: all 0.3s ease;
}

.quick-win-card:hover {
  transform: translateY(-10px) rotate(1deg);
  border-color: var(--primary-coral);
  box-shadow: 0 15px 30px rgba(255, 159, 124, 0.2);
}

.quick-win-card i {
  font-size: 2.5rem;
  color: var(--primary-coral);
  margin-bottom: 1rem;
}

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

.faq-item {
  margin: 2rem 0;
  border-bottom: 2px dashed #e8d7cb;
  padding-bottom: 1.8rem;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: #4a3729;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.faq-question i {
  color: var(--primary-coral);
  font-size: 1.4rem;
}

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

.author-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-coral), var(--accent-mint));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3.5rem;
  box-shadow: 0 8px 16px rgba(255, 159, 124, 0.3);
  animation: gentleSpin 20s linear infinite;
}

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

.author-info h4 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #4a3729;
}

.author-credentials {
  font-size: 0.95rem;
  color: #8b7262;
  margin-top: 0.8rem;
  border-top: 2px solid #e8d7cb;
  padding-top: 0.8rem;
}

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

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

.rec-header h4 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: #4a3729;
}

.rec-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.8rem 0;
}

.rec-tab {
  padding: 0.5rem 1.5rem;
  background: white;
  border-radius: 40px;
  border: 2px solid #e8d7cb;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
}

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

.rec-tab:hover {
  background: #ffe4d5;
}

.rec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.rec-card {
  background: white;
  border-radius: var(--radius-medium);
  padding: 1.5rem;
  border: 2px solid #e8d7cb;
  cursor: pointer;
  transition: all 0.3s ease;
}

.rec-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-coral);
  box-shadow: 0 15px 30px rgba(255, 159, 124, 0.15);
}

.rec-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #b48d7a;
  margin-bottom: 0.5rem;
}

.rec-title {
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.4;
  color: #4a3729;
}

.rec-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: #9b7b68;
}

/* ===== 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-module {
  background: #fef3e7;
  border-radius: var(--radius-medium);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 2px solid #e8d7cb;
}

.sidebar-module h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #4a3729;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.sidebar-module li {
  margin-bottom: 0.5rem;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: 8px;
  color: #7b6b5c;
  text-decoration: none;
  width: 100%;
  font-size: 0.9rem;
}

.nav-link:hover {
  background: #ffe4d5;
  color: #4a3729;
}

.progress-tracker {
  margin-top: 1rem;
}

.progress-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

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

.newsletter-form {
  margin-top: 1rem;
}

.newsletter-form input {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 40px;
  border: 2px solid #e8d7cb;
  background: white;
  margin-bottom: 0.8rem;
  font-family: var(--font-friendly);
}

.newsletter-form button {
  background: var(--primary-coral);
  border: none;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: all 0.2s;
}

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

/* ===== AUDIO PLAYER BUTTON ===== */
.audio-player-btn {
  background: #ffe4d5;
  border: 2px solid var(--primary-coral);
  border-radius: 60px;
  padding: 0.9rem 1.8rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0 1.8rem;
  font-family: var(--font-friendly);
  font-size: 1rem;
  color: #4a3729;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 159, 124, 0.2);
  transition: all 0.25s;
}

.audio-player-btn:hover,
.audio-player-btn:focus {
  background: #ffd5c0;
  transform: scale(1.02);
  box-shadow: 0 6px 16px rgba(255, 159, 124, 0.3);
}

.audio-player-btn i {
  font-size: 1.6rem;
  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;
  }
}

/* ===== UNIQUE ELEMENTS STYLES ===== */
.reading-mode-selector {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-bottom: 1.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-warm);
}

.mode-btn {
  background: transparent;
  border: 2px solid var(--primary-peach);
  padding: 0.5rem 1.2rem;
  border-radius: 40px;
  font-family: var(--font-friendly);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-rich);
  cursor: pointer;
  transition: all 0.2s;
}

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

.mode-btn:hover:not(.active) {
  background: var(--bg-soft);
}

.skip-btn {
  position: fixed;
  bottom: 30px;
  right: 20px;
  background: var(--primary-coral);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 60px;
  font-family: var(--font-friendly);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 159, 124, 0.4);
  z-index: 100;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.skip-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.skip-btn:hover {
  background: #ff8b62;
  transform: scale(1.05);
}

.live-poll {
  background: white;
  border-radius: var(--radius-large);
  padding: 1.5rem;
  margin: 2rem 0;
  border: 2px solid var(--accent-mint);
  box-shadow: var(--shadow-warm);
}

.live-poll h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-rich);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.poll-options {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.poll-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem;
  background: var(--bg-soft);
  border-radius: 60px;
  cursor: pointer;
  transition: all 0.2s;
}

.poll-option:hover {
  background: #ffe4d5;
  transform: translateX(5px);
}

.poll-option input {
  accent-color: var(--primary-coral);
  width: 20px;
  height: 20px;
}

.poll-stats {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-warm);
  font-size: 0.85rem;
  color: var(--text-soft);
  text-align: center;
}

.future-letter {
  background: linear-gradient(135deg, #e8f0ec 0%, #d4e4dc 100%);
  border-radius: var(--radius-large);
  padding: 2.5rem;
  margin: 3rem 0;
  position: relative;
  border: 2px solid var(--accent-mint);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.future-letter:before {
  content: "✉️";
  position: absolute;
  top: -15px;
  left: 30px;
  font-size: 2rem;
  background: white;
  padding: 0.3rem 0.8rem;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.future-letter h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #3b5f54;
}

.future-letter p {
  font-style: italic;
  line-height: 1.8;
}

.future-letter .signature {
  margin-top: 1.5rem;
  font-style: normal;
  font-weight: 600;
  color: #3b5f54;
}

.break-interstitial {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(74, 55, 41, 0.95);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.break-interstitial.active {
  opacity: 1;
  visibility: visible;
}

.break-content {
  background: white;
  border-radius: var(--radius-large);
  padding: 3rem;
  text-align: center;
  max-width: 400px;
  margin: 1rem;
  animation: fadeInUp 0.5s ease;
}

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

.break-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.break-content p {
  margin-bottom: 1.5rem;
  color: var(--text-soft);
}

.break-content button {
  background: var(--primary-coral);
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 60px;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  cursor: pointer;
}

.reaction-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--bg-soft);
  border-radius: var(--radius-large);
  flex-wrap: wrap;
}

.reaction-btn {
  background: white;
  border: 2px solid var(--primary-peach);
  padding: 0.8rem 1.8rem;
  border-radius: 60px;
  font-family: var(--font-friendly);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-rich);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.reaction-btn:hover {
  background: var(--primary-coral);
  border-color: var(--primary-coral);
  color: white;
  transform: scale(1.05);
}

.reaction-count {
  background: var(--accent-mint);
  padding: 0.2rem 0.6rem;
  border-radius: 40px;
  font-size: 0.8rem;
  margin-left: 0.3rem;
}

.mood-tracker {
  background: white;
  border-radius: var(--radius-large);
  padding: 1.8rem;
  margin: 2rem 0;
  border: 2px solid var(--border-warm);
}

.mood-tracker h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.mood-slider {
  width: 100%;
  margin: 1rem 0;
}

.mood-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-top: 0.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mood-tracker button {
  background: var(--accent-mint);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 40px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 1rem;
}

.comparison-result {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--accent-mint);
  border-radius: var(--radius-medium);
  text-align: center;
  font-size: 0.95rem;
}

.printable-summary {
  background: white;
  border-radius: var(--radius-large);
  padding: 2rem;
  margin: 3rem 0;
  border: 2px dashed var(--primary-coral);
  position: relative;
}

.printable-summary h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0;
  flex-wrap: wrap;
}

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

.printable-summary .summary-item {
  padding: 0.8rem;
  background: var(--bg-soft);
  border-radius: var(--radius-small);
}

.print-btn {
  background: var(--primary-coral);
  border: none;
  padding: 0.8rem 1.8rem;
  border-radius: 60px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  width: 100%;
  margin-top: 1rem;
}

.essentials-only .non-essential {
  display: none;
}

/* Essentials-only content wrapper */
.essentials-only {
  display: none;
}

body.essentials-mode .full-depth-content {
  display: none !important;
}

body.essentials-mode .essentials-only {
  display: block !important;
}

/* Essentials mode content styling */
.essentials-only .essentials-header {
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, #fef3e7, #fff9f2);
  border-radius: 24px;
  margin-bottom: 2rem;
  border: 2px solid var(--primary-coral);
}

.essentials-only .essentials-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  border-bottom: none;
}

.essentials-only .essentials-header h2:before {
  display: none;
}

.essentials-only .essentials-list {
  background: white;
  border-radius: 16px;
  padding: 1.5rem 2rem;
  margin: 1rem 0;
  border: 1px solid #f0ded0;
}

.essentials-only .essentials-list li {
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
  padding-left: 1.5rem;
  position: relative;
  list-style: none;
  line-height: 1.6;
}

.essentials-only .essentials-list li:before {
  content: "✦";
  position: absolute;
  left: -0.5rem;
  color: var(--primary-coral);
  font-weight: 700;
}

.essentials-only .essentials-summary {
  background: linear-gradient(135deg, #fef3e7, #fff9f2);
  border-radius: 24px;
  padding: 2rem;
  margin: 2rem 0;
  border: 2px solid var(--primary-coral);
  text-align: center;
}

.essentials-only .essentials-summary h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.essentials-only .essentials-summary p {
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Reading mode selector enhanced */
.reading-mode-selector {
  display: flex;
  gap: 0.8rem;
  margin: 1rem 0 2rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-warm);
}

.mode-btn {
  background: white;
  border: 2px solid var(--border-warm);
  padding: 0.7rem 1.8rem;
  border-radius: 60px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-friendly);
  font-size: 0.95rem;
  color: var(--text-rich);
}

.mode-btn.active {
  background: var(--primary-coral);
  border-color: var(--primary-coral);
  color: white;
  box-shadow: 0 4px 12px rgba(255, 159, 124, 0.4);
}

.mode-btn:hover:not(.active) {
  background: var(--bg-soft);
  transform: translateY(-2px);
}

/* Skip to Solutions Button */
.skip-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary-coral);
  border: none;
  padding: 1rem 1.8rem;
  border-radius: 60px;
  font-weight: 700;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 8px 25px rgba(255, 159, 124, 0.4);
  transition: all 0.4s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  font-family: var(--font-friendly);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: white;
}

.skip-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.skip-btn:hover {
  transform: scale(1.05) translateY(-3px);
  background: #ff8b62;
  box-shadow: 0 12px 30px rgba(255, 159, 124, 0.5);
}

/* Live Poll */
.live-poll {
  background: white;
  border-radius: var(--radius-large);
  padding: 1.5rem;
  margin: 2rem 0;
  border: 2px solid var(--accent-mint);
  box-shadow: var(--shadow-warm);
}

.live-poll h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-rich);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.poll-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.poll-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 1.2rem;
  background: var(--bg-soft);
  border-radius: 60px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  font-size: 0.95rem;
}

.poll-option:hover {
  background: #ffe4d5;
  transform: translateX(5px);
  border-color: var(--primary-coral);
}

.poll-option input {
  accent-color: var(--primary-coral);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.poll-stats {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-warm);
  font-size: 0.85rem;
  color: var(--text-soft);
  text-align: center;
}

/* Letter from Future Self */
.future-letter {
  background: linear-gradient(135deg, #e8f0ec 0%, #d4e4dc 100%);
  border-radius: var(--radius-large);
  padding: 2.5rem;
  margin: 3rem 0;
  position: relative;
  border: 2px solid var(--accent-mint);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.future-letter:before {
  content: "✉️";
  position: absolute;
  top: -15px;
  left: 30px;
  font-size: 2rem;
  background: white;
  padding: 0.3rem 0.8rem;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.future-letter h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #3b5f54;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.future-letter p {
  font-style: italic;
  line-height: 1.8;
  color: #3b5f54;
}

.future-letter .signature {
  margin-top: 1.5rem;
  font-style: normal;
  font-weight: 600;
  color: #3b5f54;
}

/* Reaction Buttons */
.reaction-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--bg-soft);
  border-radius: var(--radius-large);
  flex-wrap: wrap;
}

.reaction-btn {
  background: white;
  border: 2px solid var(--primary-peach);
  padding: 0.8rem 1.8rem;
  border-radius: 60px;
  font-family: var(--font-friendly);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-rich);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.reaction-btn:hover {
  background: var(--primary-coral);
  border-color: var(--primary-coral);
  color: white;
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(255, 159, 124, 0.3);
}

.reaction-count {
  background: var(--accent-mint);
  padding: 0.2rem 0.6rem;
  border-radius: 40px;
  font-size: 0.8rem;
  margin-left: 0.3rem;
  color: var(--text-rich);
  font-weight: 700;
}

/* Mood Tracker Enhanced */
.mood-tracker {
  background: white;
  border-radius: var(--radius-large);
  padding: 1.8rem;
  margin: 2rem 0;
  border: 2px solid var(--border-warm);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.mood-tracker h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  color: var(--text-rich);
}

.mood-tracker .mood-slider {
  width: 100%;
  margin: 0.8rem 0;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: var(--border-warm);
  border-radius: 10px;
  outline: none;
}

.mood-tracker .mood-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  background: var(--primary-coral);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.mood-tracker .mood-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: var(--primary-coral);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.mood-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-top: 0.3rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mood-tracker button {
  background: var(--accent-mint);
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1rem;
  font-family: var(--font-friendly);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  width: 100%;
  color: var(--text-rich);
}

.mood-tracker button:hover {
  background: #a8d0c0;
  transform: translateY(-2px);
}

.comparison-result {
  margin-top: 1rem;
  padding: 1.2rem;
  background: var(--accent-mint);
  border-radius: var(--radius-medium);
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-rich);
  border: 2px solid #a8d0c0;
}

/* Break Interstitial */
.break-interstitial {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(74, 55, 41, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.break-interstitial.active {
  opacity: 1;
  visibility: visible;
}

.break-content {
  background: white;
  border-radius: var(--radius-large);
  padding: 3rem;
  text-align: center;
  max-width: 400px;
  margin: 1rem;
  animation: fadeInUp 0.5s ease;
}

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

.break-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-rich);
}

.break-content p {
  margin-bottom: 1.5rem;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

.break-content button {
  background: var(--primary-coral);
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 60px;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-friendly);
}

.break-content button:hover {
  background: #ff8b62;
  transform: scale(1.03);
}

/* Printable Summary Card */
.printable-summary {
  background: white;
  border-radius: var(--radius-large);
  padding: 2rem;
  margin: 3rem 0;
  border: 2px dashed var(--primary-coral);
  position: relative;
}

.printable-summary h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0;
  flex-wrap: wrap;
  font-family: var(--font-display);
  color: var(--text-rich);
}

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

.printable-summary .summary-item {
  padding: 0.8rem 1rem;
  background: var(--bg-soft);
  border-radius: var(--radius-small);
  font-size: 0.95rem;
  line-height: 1.5;
}

.printable-summary .summary-item strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--text-rich);
}

.print-btn {
  background: var(--primary-coral);
  border: none;
  padding: 0.8rem 1.8rem;
  border-radius: 60px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  width: 100%;
  margin-top: 1rem;
  font-family: var(--font-friendly);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.print-btn:hover {
  background: #ff8b62;
  transform: translateY(-2px);
}

/* Newsletter in sidebar */
.sidebar-module .newsletter-form {
  background: white;
  border-radius: var(--radius-medium);
  padding: 1.2rem;
  margin-top: 1rem;
  border: 1px solid var(--border-warm);
}

.sidebar-module .newsletter-form input {
  width: 100%;
  padding: 0.8rem 1.2rem;
  border-radius: 60px;
  border: 2px solid var(--border-warm);
  background: #fffcf8;
  margin-bottom: 0.8rem;
  font-family: var(--font-friendly);
  font-size: 0.9rem;
  transition: border-color 0.3s ease;
}

.sidebar-module .newsletter-form input:focus {
  border-color: var(--primary-coral);
  outline: none;
}

.sidebar-module .newsletter-form button {
  background: var(--primary-coral);
  border: none;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 60px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
  font-family: var(--font-friendly);
  font-size: 0.95rem;
}

.sidebar-module .newsletter-form button:hover {
  background: #ff8b62;
  transform: scale(1.02);
}

/* Additional image styling */
.additional-image-container {
  margin: 2.5rem 0;
  text-align: center;
}

.additional-image-container img {
  width: 100%;
  max-width: 600px;
  border-radius: 24px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.5s ease;
}

.additional-image-container img:hover {
  transform: scale(1.01);
}

.additional-image-container .image-caption {
  font-size: 0.85rem;
  color: #8b7262;
  margin-top: 0.5rem;
  font-style: italic;
}

/* Internal links styling */
.internal-link {
  color: #d66939;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--primary-coral);
  transition: all 0.2s ease;
}

.internal-link:hover {
  border-bottom-color: #ff8b62;
  color: #b85a30;
}

/* Responsive adjustments for unique elements */
@media (max-width: 768px) {
  .printable-summary .summary-grid {
    grid-template-columns: 1fr;
  }

  .future-letter:before {
    font-size: 1.5rem;
    top: -12px;
    left: 20px;
    padding: 0.2rem 0.6rem;
  }

  .future-letter h4 {
    font-size: 1.2rem;
  }

  .future-letter p {
    font-size: 0.95rem;
  }

  .poll-option {
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
  }

  .reaction-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .skip-btn {
    bottom: 20px;
    right: 20px;
    padding: 0.8rem 1.5rem;
    font-size: 0.85rem;
  }

  .break-content {
    padding: 2rem;
    margin: 1rem;
  }

  .break-content h3 {
    font-size: 1.6rem;
  }

  .break-content p {
    font-size: 0.95rem;
  }

  .essentials-only .essentials-list li {
    font-size: 0.95rem;
  }

  .essentials-only .essentials-header h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .reading-mode-selector {
    flex-direction: column;
    gap: 0.5rem;
  }

  .mode-btn {
    width: 100%;
    text-align: center;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .poll-options {
    gap: 0.4rem;
  }

  .poll-option {
    font-size: 0.85rem;
    padding: 0.5rem 0.8rem;
  }

  .future-letter {
    padding: 1.5rem;
  }

  .future-letter:before {
    font-size: 1.2rem;
    top: -10px;
    left: 15px;
    padding: 0.2rem 0.5rem;
  }

  .future-letter h4 {
    font-size: 1rem;
  }

  .future-letter p {
    font-size: 0.9rem;
  }

  .reaction-buttons {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.8rem;
  }

  .reaction-btn {
    justify-content: center;
  }

  .skip-btn {
    bottom: 15px;
    right: 15px;
    padding: 0.7rem 1.2rem;
    font-size: 0.8rem;
    border-radius: 50px;
  }

  .mood-tracker {
    padding: 1.2rem;
  }

  .mood-tracker h4 {
    font-size: 1rem;
  }

  .mood-labels {
    font-size: 0.7rem;
  }
}

@media print {
  .reading-mode-selector,
  .skip-btn,
  .break-interstitial,
  .live-poll,
  .reaction-buttons,
  .site-header,
  .sidebar,
  .site-footer,
  .mood-tracker {
    display: none !important;
  }

  .printable-summary {
    break-inside: avoid;
    border: 2px solid #ccc !important;
  }

  .full-depth-content {
    display: block !important;
  }

  .essentials-only {
    display: none !important;
  }

  body.essentials-mode .full-depth-content {
    display: block !important;
  }

  body.essentials-mode .essentials-only {
    display: none !important;
  }
}

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

/* Tablet landscape */
@media (max-width: 1024px) {
  .article-content {
    max-width: 700px;
  }
  h1 {
    font-size: 46px;
  }
  h2:before {
    display: none;
  }
  .hero-image-container {
    height: 280px;
  }
}

/* Small tablets */
@media (max-width: 900px) {
  .article-content {
    max-width: 100%;
  }
  .rec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .quick-win-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .printable-summary .summary-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile landscape */
@media (max-width: 768px) {
  body {
    font-size: 17px;
  }
  h1 {
    font-size: 38px;
  }
  h2 {
    font-size: 30px;
  }
  h3 {
    font-size: 24px;
  }
  .subhead {
    font-size: 20px;
  }
  .author-bio {
    flex-direction: column;
    text-align: center;
  }
  .rec-grid {
    grid-template-columns: 1fr;
  }
  .quick-win-grid {
    grid-template-columns: 1fr;
  }
  .timeline-item {
    flex-direction: column;
    gap: 1rem;
  }
  .timeline-age {
    min-width: auto;
  }
  .reaction-buttons {
    gap: 1rem;
  }
  .reaction-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  .reading-mode-selector {
    justify-content: center;
  }
}

/* Mobile portrait */
@media (max-width: 640px) {
  .nav-bar {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
  .nav-links {
    gap: 1.5rem;
  }
  .logo {
    font-size: 1.5rem;
  }
  .main-wrapper {
    padding: 1rem 1rem 0;
  }
  h1 {
    font-size: 34px;
  }
  .hero-image-container {
    height: 220px;
  }
  .floating-badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }
  .hero-caption {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
    bottom: 10px;
    left: 10px;
  }
  .choice-buttons {
    flex-direction: column;
  }
  .choice-btn {
    width: 100%;
    justify-content: center;
  }
  .emotional-hook {
    font-size: 1.1rem;
    padding: 1.5rem;
  }
  .expert-quote p {
    font-size: 1.2rem;
  }
  .expert-quote {
    padding-left: 1rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .footer-trust {
    gap: 1rem;
  }
}

/* Small phones */
@media (max-width: 480px) {
  h1 {
    font-size: 30px;
  }
  h2 {
    font-size: 26px;
  }
  .byline {
    gap: 1rem;
    font-size: 13px;
  }
  .hero-image-container {
    height: 180px;
  }
  .floating-badge {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
    top: 10px;
    right: 10px;
  }
  .hero-caption {
    font-size: 0.7rem;
    padding: 0.3rem 0.8rem;
  }
  .reflection-prompt {
    font-size: 1rem;
    padding: 1rem;
  }
  .parent-anonymous h4 {
    font-size: 22px;
  }
  .future-letter {
    padding: 1.5rem;
  }
  .future-letter h4 {
    font-size: 1.2rem;
  }
  .break-content {
    padding: 1.5rem;
    margin: 1rem;
  }
  .break-content h3 {
    font-size: 1.5rem;
  }
  .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;
  }
}

/* Extra small phones */
@media (max-width: 360px) {
  h1 {
    font-size: 26px;
  }
  h2 {
    font-size: 24px;
  }
  .subhead {
    font-size: 18px;
  }
  .meta-category {
    font-size: 11px;
  }
  .byline {
    font-size: 11px;
  }
  .choice-btn {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }
  .reaction-btn {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }
  .printable-summary .summary-item {
    font-size: 0.85rem;
  }
}

/* Print styles */
@media print {
  .sidebar,
  .recommendation-engine,
  .newsletter-form,
  .parent-anonymous,
  .reading-mode-selector,
  .skip-btn,
  .live-poll,
  .reaction-buttons,
  .break-interstitial,
  .audio-player-btn,
  .site-header,
  .site-footer {
    display: none !important;
  }
  body {
    background: white;
    color: black;
    font-size: 12pt;
  }
  a {
    text-decoration: underline;
    color: black;
  }
  .printable-summary {
    page-break-inside: avoid;
    border: 1px solid #ccc;
  }
  .print-btn {
    display: none;
  }
  .hero-image-container {
    height: auto;
  }
  .hero-image {
    max-width: 100%;
    height: auto;
  }
  .floating-badge,
  .hero-overlay,
  .hero-caption {
    display: none;
  }
}
