:root {
  --bg-deep: #0d140f;
  --bg-elevated: #141e17;
  --bg-card: rgba(24, 34, 27, 0.78);
  --bg-card-hover: rgba(31, 44, 35, 0.92);
  --border-subtle: rgba(233, 220, 195, 0.14);
  --border-strong: rgba(233, 220, 195, 0.28);

  --text-primary: #f6f2e8;
  --text-secondary: #cdc5b4;
  --text-muted: #989385;

  --parchment: #e9dcc3;
  --olive: #5e8438;
  --olive-bright: #83b84d;
  --olive-glow: rgba(131, 184, 77, 0.25);
  --amber: #e5a93c;

  --tsn-red: #d11f2c;
  --tsn-red-bright: #ef2b3a;
  --tsn-navy: #0a1020;

  --font-display: 'Unbounded', 'Segoe UI', system-ui, sans-serif;
  --font-editorial: 'Playfair Display', Georgia, serif;
  --font-sans: 'Manrope', 'Segoe UI', system-ui, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary);
  background:
    radial-gradient(ellipse 80% 50% at 18% 0%, rgba(94, 132, 56, 0.18), transparent 60%),
    radial-gradient(ellipse 65% 45% at 88% 18%, rgba(233, 220, 195, 0.08), transparent 55%),
    var(--bg-deep);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(1240px, 100% - 32px);
  margin-inline: auto;
}

/* READING PROGRESS BAR */
.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.read-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--olive-bright), var(--parchment), var(--tsn-red));
  transition: width 0.08s linear;
}

/* STICKY TOPBAR */
.topbar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(13, 20, 15, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
}

.brand-cluster {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-shrink: 0;
}

.portal-back-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-strong);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--parchment);
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.portal-back-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--olive-bright);
  transform: translateX(-1px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 7px;
  background: var(--tsn-red);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 16px rgba(209, 31, 44, 0.35);
}

.brand-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-meta strong {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--parchment);
}

.brand-meta span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.chapter-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 4px;
  border-radius: 999px;
}

.nav-link {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
  background: rgba(131, 184, 77, 0.2);
  color: #d6f5b0;
  border: 1px solid rgba(131, 184, 77, 0.35);
}

.mode-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 3px;
  flex-shrink: 0;
}

.mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.mode-btn:hover {
  color: var(--text-primary);
}

.mode-btn.active {
  background: linear-gradient(135deg, var(--olive), #436426);
  color: #fff;
  box-shadow: 0 4px 14px rgba(94, 132, 56, 0.4);
}

.mode-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* SHARED TYPOGRAPHY & BUTTONS */
.chapter {
  padding: 68px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.chapter-hero {
  padding-top: 44px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pill-accent {
  background: rgba(233, 220, 195, 0.14);
  border: 1px solid rgba(233, 220, 195, 0.3);
  color: var(--parchment);
}

.pill-amber {
  background: rgba(229, 169, 60, 0.16);
  border: 1px solid rgba(229, 169, 60, 0.38);
  color: #ffd37a;
}

.pill-emerald {
  background: rgba(131, 184, 77, 0.18);
  border: 1px solid rgba(131, 184, 77, 0.4);
  color: #c9f29b;
}

.pill-ng {
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #7dd3fc;
}

.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.meta-chain {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.display-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.2vw, 2.75rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.title-highlight {
  display: block;
  margin-top: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: linear-gradient(125deg, rgba(94, 132, 56, 0.92), rgba(62, 92, 34, 0.88));
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(74, 108, 42, 0.35);
}

.lead-text,
.section-lead {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 68ch;
  margin: 0 0 24px;
}

.section-header {
  margin-bottom: 34px;
}

.section-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.section-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.5vw, 2.15rem);
  line-height: 1.24;
  color: var(--text-primary);
}

.section-title span {
  display: block;
  margin-top: 6px;
  color: var(--olive-bright);
  font-size: 0.78em;
}

.btn-primary,
.btn-ghost,
.btn-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  padding: 12px 22px;
  border: 1px solid rgba(131, 184, 77, 0.5);
  background: linear-gradient(135deg, var(--olive), #436426);
  color: #fff;
  box-shadow: 0 10px 26px rgba(94, 132, 56, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(131, 184, 77, 0.42);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.82rem;
}

.btn-ghost {
  padding: 12px 20px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--parchment);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--parchment);
}

.btn-text {
  background: transparent;
  border: 0;
  padding: 6px 10px;
  color: var(--olive-bright);
  font-size: 0.85rem;
}

.btn-text:hover {
  color: var(--parchment);
}

.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
}

/* PHOTO CARDS + LIGHTBOX CURSOR */
.photo-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: #0b100c;
  box-shadow: var(--shadow-lg);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.zoomable {
  cursor: zoom-in;
}

.photo-caption-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 28px 16px 12px;
  background: linear-gradient(to top, rgba(9, 13, 10, 0.92), rgba(9, 13, 10, 0.55) 60%, transparent);
  font-size: 0.84rem;
  color: var(--text-primary);
}

.caption-tag {
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(131, 184, 77, 0.25);
  border: 1px solid rgba(131, 184, 77, 0.45);
  color: #d7f8b3;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
}

/* CHAPTER 1 LAYOUT */
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 36px;
}

.photo-hero {
  aspect-ratio: 6 / 5;
}

.highlight-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.highlight-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(94, 132, 56, 0.16);
  border: 1px solid rgba(131, 184, 77, 0.3);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--parchment);
}

.highlight-chip svg {
  width: 18px;
  height: 18px;
  color: var(--olive-bright);
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.spotlight-card {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 28px;
  align-items: center;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(25, 35, 27, 0.92), rgba(20, 26, 22, 0.88));
  border: 1px solid rgba(233, 220, 195, 0.24);
  box-shadow: var(--shadow-lg);
}

.spotlight-media {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border-subtle);
}

.spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.spotlight-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--amber);
  margin-bottom: 10px;
}

.dot-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber);
}

.spotlight-content h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.spotlight-content p {
  margin: 0 0 14px;
  color: var(--text-secondary);
}

.spotlight-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* CHAPTER 2: LESSON */
.lesson-top-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  margin-bottom: 28px;
}

.lesson-trio {
  display: grid;
  gap: 14px;
}

.lesson-trio .glass-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  row-gap: 4px;
  padding: 18px 20px;
  align-items: start;
}

.card-icon {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card-icon-olive {
  background: rgba(131, 184, 77, 0.16);
  color: var(--olive-bright);
}

.card-icon-amber {
  background: rgba(229, 169, 60, 0.16);
  color: var(--amber);
}

.card-icon-emerald {
  background: rgba(52, 211, 153, 0.15);
  color: #6ee7b7;
}

.lesson-trio h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.88rem;
  color: var(--parchment);
}

.lesson-trio p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.editorial-quote {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 0 28px;
  padding: 24px 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(125deg, rgba(64, 92, 39, 0.36), rgba(24, 34, 27, 0.9));
  border: 1px solid rgba(131, 184, 77, 0.35);
  text-align: center;
}

.editorial-quote p {
  margin: 0;
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  color: #ffffff;
}

.quote-mark {
  font-family: var(--font-editorial);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--olive-bright);
  opacity: 0.7;
}

.lesson-bottom-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}

.photo-panoramic {
  min-height: 170px;
}

.editorial-note-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  background: rgba(233, 220, 195, 0.06);
  border: 1px solid rgba(233, 220, 195, 0.2);
}

.note-body {
  margin: 0;
  font-size: 1rem;
  font-style: italic;
  color: var(--parchment);
  border-left: 3px solid var(--olive-bright);
  padding-left: 14px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-pill {
  padding: 5px 11px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--text-secondary);
}

/* CHAPTER 3: WEATHER BENTO */
.weather-bento {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  margin-bottom: 24px;
}

.weather-hero-photo {
  aspect-ratio: 16 / 10;
}

.panel-header-bar {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(94, 132, 56, 0.28);
  border: 1px solid rgba(131, 184, 77, 0.35);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: #d6f5b0;
  margin-bottom: 18px;
}

.forecast-metrics {
  display: grid;
  gap: 14px;
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
}

.metric-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(131, 184, 77, 0.16);
  color: var(--olive-bright);
  flex-shrink: 0;
}

.metric-icon svg {
  width: 20px;
  height: 20px;
}

.metric-item strong {
  display: block;
  font-size: 0.94rem;
  color: var(--text-primary);
}

.metric-item span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.story-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--parchment);
}

.story-card p {
  margin: 0 0 18px;
  color: var(--text-secondary);
}

.factors-box {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(94, 132, 56, 0.14);
  border: 1px solid rgba(131, 184, 77, 0.28);
}

.factors-title {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--parchment);
  margin-bottom: 10px;
}

.factors-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.factors-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text-primary);
}

.factor-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--olive-bright);
}

.season-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, rgba(94, 132, 56, 0.26), rgba(20, 30, 23, 0.92));
  border: 1px solid rgba(131, 184, 77, 0.35);
}

.season-badge {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
}

.season-banner p {
  margin: 0;
  color: var(--text-secondary);
}

/* CHAPTER 4: POLL & NUTRITION */
.diptych-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 26px;
}

.diptych-photos .photo-card {
  aspect-ratio: 16 / 9;
}

.poll-nutrition-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: start;
}

.poll-eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--olive-bright);
  margin-bottom: 6px;
}

.poll-header h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.12rem;
}

.poll-sub {
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.poll-options {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.poll-option-btn {
  position: relative;
  overflow: hidden;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.poll-option-btn:hover {
  border-color: var(--olive-bright);
}

.poll-option-btn.selected {
  border-color: var(--olive-bright);
  box-shadow: 0 0 0 1px rgba(131, 184, 77, 0.45);
}

.poll-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: linear-gradient(90deg, rgba(94, 132, 56, 0.36), rgba(131, 184, 77, 0.14));
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.poll-opt-label {
  position: relative;
  z-index: 1;
  font-weight: 700;
  font-size: 0.94rem;
}

.poll-opt-stat {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--parchment);
}

.poll-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 18px;
}

.discussion-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--parchment);
  margin-bottom: 4px;
}

.discussion-box p {
  margin: 0 0 12px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.comment-form {
  display: grid;
  gap: 8px;
}

.comment-input-row {
  display: flex;
  gap: 8px;
}

.comment-form input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.3);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.comment-form input:focus {
  border-color: var(--olive-bright);
}

.comment-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  max-height: 185px;
  overflow-y: auto;
}

.comment-item {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  font-size: 0.86rem;
}

.comment-item strong {
  color: var(--olive-bright);
  margin-right: 6px;
}

.comment-item span {
  color: var(--text-secondary);
}

.nutrition-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.nutrition-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
}

.nutri-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(233, 220, 195, 0.12);
  color: var(--parchment);
}

.nutri-icon svg {
  width: 20px;
  height: 20px;
}

.nutrition-list strong {
  display: block;
  font-size: 0.92rem;
  color: var(--parchment);
}

.nutrition-list span {
  font-size: 0.86rem;
  color: var(--text-secondary);
}

/* CHAPTER 5: ECONOMY & INTERACTIVE MAP */
.economy-top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
  align-items: stretch;
}

.economy-side-stack {
  display: grid;
  gap: 18px;
}

.verdict-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--parchment);
}

.verdict-card p {
  margin: 0 0 18px;
  color: var(--text-secondary);
}

.verdict-pillars-title {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--olive-bright);
  margin-bottom: 10px;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.adv-item {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(94, 132, 56, 0.16);
  border: 1px solid rgba(131, 184, 77, 0.28);
  font-size: 0.85rem;
  color: var(--text-primary);
}

.photo-sunset {
  min-height: 170px;
}

.map-explorer {
  padding: 26px;
}

.map-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.map-header h3 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.map-hint {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.map-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 20px;
  align-items: stretch;
}

.map-canvas {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 330px;
  border: 1px solid var(--border-strong);
  background: #0b110d;
}

.map-canvas img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75) saturate(1.1);
}

.map-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(233, 220, 195, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 220, 195, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  border: 0;
  background: transparent;
  padding: 6px;
  cursor: pointer;
  z-index: 2;
}

.pin-pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(131, 184, 77, 0.35);
  opacity: 0;
}

.map-pin.active .pin-pulse {
  opacity: 1;
  animation: pulseRing 1.8s infinite;
}

@keyframes pulseRing {
  0% { transform: translate(-50%, -50%) scale(0.7); opacity: 0.85; }
  100% { transform: translate(-50%, -50%) scale(1.7); opacity: 0; }
}

.pin-core {
  display: block;
  width: 16px;
  height: 16px;
  margin-inline: auto;
  border-radius: 50%;
  background: var(--parchment);
  border: 3px solid #162419;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.map-pin.active .pin-core {
  background: var(--olive-bright);
  transform: scale(1.25);
}

.pin-label {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(12, 18, 14, 0.88);
  border: 1px solid var(--border-subtle);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--text-primary);
}

.map-pin.active .pin-label {
  background: var(--olive);
  border-color: var(--olive-bright);
  color: #fff;
}

.map-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.location-tabs {
  display: grid;
  gap: 8px;
}

.loc-btn {
  width: 100%;
  text-align: left;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.loc-btn:hover {
  border-color: var(--parchment);
}

.loc-btn.active {
  background: rgba(94, 132, 56, 0.28);
  border-color: var(--olive-bright);
  color: #fff;
}

.location-detail {
  margin-top: auto;
  padding: 16px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--border-subtle);
}

.loc-badge {
  font-family: var(--font-display);
  font-size: 0.64rem;
  color: var(--amber);
  margin-bottom: 4px;
}

.location-detail h4 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1rem;
}

.location-detail p {
  margin: 0 0 12px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.loc-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

.loc-stats dt {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.loc-stats dd {
  margin: 2px 0 0;
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--parchment);
}

/* CHAPTER 6: TSN STUDIO FINALE */
.chapter-studio {
  background:
    radial-gradient(ellipse 70% 60% at 25% 20%, rgba(209, 31, 44, 0.16), transparent 60%),
    radial-gradient(ellipse 65% 60% at 80% 70%, rgba(30, 58, 138, 0.22), transparent 60%),
    linear-gradient(180deg, var(--bg-deep) 0%, #090e1c 22%, #070b16 100%);
  padding-bottom: 0;
  border-bottom: 0;
}

.studio-hero-banner {
  margin-bottom: 28px;
}

.studio-spread-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65);
}

.studio-spread-frame img {
  width: 100%;
  aspect-ratio: 3907 / 2200;
  object-fit: cover;
}

.spread-zoom-hint {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(7, 11, 22, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.76rem;
  font-weight: 600;
  color: #fff;
}

.studio-card-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  margin-bottom: 48px;
}

.reporter-profile {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(15, 22, 42, 0.78);
  border-color: rgba(255, 255, 255, 0.14);
}

.reporter-avatar {
  margin: 0;
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 2px solid rgba(239, 43, 58, 0.6);
}

.reporter-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.tsn-role-tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--tsn-red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.reporter-profile h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.reporter-profile p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.contact-action-card {
  background: linear-gradient(125deg, rgba(20, 29, 54, 0.85), rgba(32, 13, 21, 0.85));
  border-color: rgba(239, 43, 58, 0.35);
}

.contact-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.live-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--tsn-red-bright);
  box-shadow: 0 0 12px var(--tsn-red-bright);
  flex-shrink: 0;
}

.contact-sub {
  margin: 0 0 16px;
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.discord-copy-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(7, 11, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.discord-id-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.discord-label {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.discord-handle {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.btn-tsn-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 0;
  border-radius: 10px;
  background: var(--tsn-red);
  color: #fff;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-tsn-copy:hover {
  background: var(--tsn-red-bright);
  transform: translateY(-1px);
}

.btn-tsn-copy.copied {
  background: #2f855a;
}

.btn-tsn-copy svg {
  width: 17px;
  height: 17px;
}

.studio-ticker {
  overflow: hidden;
  border-top: 1px solid rgba(239, 43, 58, 0.4);
  background: rgba(9, 13, 25, 0.95);
  padding: 13px 0;
}

.ticker-track {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  color: #f3f6ff;
}

/* ORIGINAL HD SPREAD READER */
.original-reader {
  padding: 40px 0 64px;
  min-height: calc(100vh - 140px);
}

.reader-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.reader-toolbar h2 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.reader-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.spread-counter {
  font-family: var(--font-display);
  font-size: 0.85rem;
  padding: 0 8px;
  color: var(--parchment);
}

.spread-stage {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}

.spread-stage-figure {
  margin: 0;
  max-width: 980px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  background: #0a0d0b;
}

.spread-stage-figure img {
  max-height: 76vh;
  width: auto;
  margin-inline: auto;
  object-fit: contain;
}

.spread-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.thumb-btn {
  padding: 6px;
  border-radius: 12px;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: border-color 0.2s ease;
  text-align: center;
}

.thumb-btn.active {
  border-color: var(--olive-bright);
  background: rgba(131, 184, 77, 0.15);
}

.thumb-btn img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 6px;
}

.thumb-btn span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
}

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #070a0d;
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 8, 6, 0.92);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: 24px;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-content {
  max-width: 96vw;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.7);
}

.lightbox-content p {
  margin: 0;
  color: var(--parchment);
  font-size: 0.94rem;
  text-align: center;
}

/* TOAST */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 250;
  padding: 12px 18px;
  border-radius: 12px;
  background: #17271c;
  border: 1px solid var(--olive-bright);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: var(--shadow-lg);
}

/* SCROLL REVEAL (progressive & safe) */
.reveal-pending {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-pending { opacity: 1; transform: none; transition: none; }
  .pin-pulse { animation: none; }
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1060px) {
  .chapter-nav {
    display: none;
  }

  .hero-grid,
  .spotlight-card,
  .lesson-top-grid,
  .lesson-bottom-grid,
  .weather-bento,
  .poll-nutrition-grid,
  .economy-top-grid,
  .map-layout,
  .studio-card-grid {
    grid-template-columns: 1fr;
  }

  .diptych-photos {
    grid-template-columns: 1fr;
  }

  .spread-thumbs {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 118px;
  }

  .topbar-inner {
    flex-wrap: wrap;
    padding: 10px 0;
    min-height: auto;
    gap: 8px;
  }

  .brand-cluster {
    width: 100%;
    justify-content: space-between;
  }

  .portal-back-pill {
    padding: 5px 10px;
    font-size: 0.72rem;
  }

  .brand-meta strong {
    font-size: 0.66rem;
  }

  .brand-meta span {
    display: none;
  }

  .mode-switch {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .mode-btn {
    justify-content: center;
    padding: 7px 8px;
    font-size: 0.72rem;
  }

  .chapter {
    padding: 44px 0;
  }

  .glass-card {
    padding: 18px;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .map-canvas {
    min-height: 295px;
  }

  .pin-label {
    font-size: 0.64rem;
    padding: 2px 7px;
  }

  .spread-thumbs {
    grid-template-columns: repeat(2, 1fr);
  }

  .comment-input-row {
    flex-direction: column;
  }
}
