/* ==========================================================================
   MODERN EDITORIAL DATA JOURNALISM DESIGN SYSTEM
   Longform E-Magazine: HTX liên kết nông dân, ‘mở khóa’ giá trị nông sản
   Author: Trung Phong
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-primary: #1b1170;
  --bg-secondary: #24106d;
  --bg-surface: #1a0267;
  --bg-surface-elevated: #17016e;
  --bg-card: rgba(29, 5, 112, 0.968);
  --bg-glass: rgb(27, 0, 109);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.14);
  --border-focus: rgba(212, 175, 55, 0.5);

  --text-main: #f3f5f4;
  --text-body: #d1d9d4;
  --text-muted: #95a39d;
  --text-accent: #d4af37;

  /* Accent Colors */
  --accent-gold: #d4af37;
  --accent-gold-light: #e6ca65;
  --accent-emerald: #22c55e;
  --accent-emerald-dark: #15803d;
  --accent-amber: #f59e0b;
  --accent-blue: #38bdf8;
  --accent-red: #ef4444;

  /* Typography */
  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --container-max-w: 1180px;
  --prose-max-w: 780px;
  --infographic-max-w: 1040px;

  /* Transitions */
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* Reset & Box Sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.8;
  overflow-x: hidden;
  position: relative;
}

/* Container Utility */
.container {
  width: 100%;
  max-width: var(--container-max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==========================================================================
   SCROLL PROGRESS BAR
   ========================================================================== */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1000;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #10b981 0%, #22c55e 50%, #d4af37 100%);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.6);
  transition: width 0.1s linear;
}

/* ==========================================================================
   MINIMALIST READING NAVIGATOR (Sticky Header)
   ========================================================================== */
.reading-navigator {
  position: fixed;
  top: 5px;
  left: 0;
  width: 100%;
  z-index: 900;
  padding: 0.75rem 1.5rem;
  background: rgba(65, 160, 233, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.nav-container {
  max-width: var(--container-max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.nav-label {
  font-family: var(--font-sans);
  font-size: 1rem;
  /* >= 16px */
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold);
  white-space: nowrap;
}

.nav-parts {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-parts::-webkit-scrollbar {
  display: none;
}

.nav-part-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.15rem;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 1.063rem;
  /* 17px >= 16px */
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.nav-part-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.nav-part-btn.active {
  color: #ffffff;
  background: var(--bg-surface-elevated);
  border-color: var(--border-focus);
  box-shadow: 0 2px 12px rgba(212, 175, 55, 0.2);
}

.nav-part-btn .part-num {
  font-size: 1rem;
  /* 16px */
  font-weight: 800;
  color: var(--accent-gold);
}

.reading-stats {
  font-size: 1.063rem;
  /* 17px >= 16px */
  font-weight: 700;
  color: var(--accent-gold-light);
  min-width: 50px;
  text-align: right;
  font-feature-settings: "tnum";
}

/* ==========================================================================
   HERO HEADER & SAPO
   ========================================================================== */
.hero-header {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 7rem 0 5rem;
}

.hero-parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 115%;
  z-index: 1;
  will-change: transform;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: brightness(0.68) saturate(1.15);
  transform: scale(1.05);
  transition: transform 0.6s ease-out;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(10, 15, 13, 0.45) 0%,
      rgba(10, 15, 13, 0.7) 45%,
      rgba(133, 175, 247, 0.96) 90%,
      var(--bg-primary) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
  padding-top: 2rem;
}

.editorial-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.25rem;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 9999px;
  color: var(--accent-gold-light);
  font-size: 1rem;
  /* >= 16px */
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 1.75rem;
  text-transform: uppercase;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.2);
    opacity: 1;
  }

  100% {
    transform: scale(0.95);
    opacity: 0.8;
  }
}

.main-title {
  font-family: var(--font-serif);
  font-size: clamp(2.35rem, 5.2vw, 4.25rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.65);
  margin-bottom: 2rem;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  font-size: 1.063rem;
  /* >= 16px */
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.meta-label {
  color: var(--text-muted);
  margin-right: 0.25rem;
}

.author-name,
.location-name {
  color: var(--accent-gold-light);
  font-weight: 600;
}

.meta-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-muted);
}

.lead-sapo {
  background: var(--bg-glass);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--accent-gold);
  border-radius: 12px;
  padding: 2.25rem;
  text-align: left;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  margin-bottom: 2.5rem;
}

.sapo-paragraph {
  font-family: var(--font-serif);
  font-size: clamp(1.188rem, 1.8vw, 1.35rem);
  font-weight: 400;
  line-height: 1.75;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.sapo-paragraph:last-child {
  margin-bottom: 0;
}

.scroll-down-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 1rem;
  /* >= 16px */
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  opacity: 0.85;
  transition: var(--transition-fast);
}

.scroll-down-hint:hover {
  opacity: 1;
  color: var(--accent-gold);
}

.scroll-arrow {
  animation: bounce-subtle 2s infinite;
}

@keyframes bounce-subtle {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(6px);
  }

  60% {
    transform: translateY(3px);
  }
}

/* ==========================================================================
   MAIN LONGFORM ARTICLE PROSE
   ========================================================================== */
.longform-body {
  position: relative;
  z-index: 10;
  padding-bottom: 6rem;
}

.article-section {
  padding: 4.5rem 0 5rem;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.section-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header-block {
  text-align: center;
  max-width: var(--prose-max-w);
  margin-bottom: 3rem;
  width: 100%;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.tag-number {
  background: rgba(212, 175, 55, 0.15);
  color: var(--accent-gold);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 3.8vw, 3rem);
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.title-underline {
  width: 64px;
  height: 3px;
  background: var(--accent-gold);
  margin: 0 auto;
  border-radius: 2px;
}

.prose-block {
  width: 100%;
  max-width: var(--prose-max-w);
  margin: 0 auto 2.5rem;
}

.article-paragraph {
  font-family: var(--font-sans);
  font-size: 1.188rem;
  /* 19px for luxury editorial readability */
  font-weight: 400;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 1.85rem;
  text-align: justify;
  letter-spacing: 0.005em;
}

.article-paragraph.dropcap::first-letter {
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 0.85;
  float: left;
  margin-right: 0.75rem;
  margin-top: 0.25rem;
  color: var(--accent-gold);
  font-weight: 700;
}

.article-paragraph.highlight-paragraph {
  background: rgba(34, 197, 94, 0.07);
  border-left: 3px solid var(--accent-emerald);
  padding: 1.5rem 1.75rem;
  border-radius: 0 8px 8px 0;
  color: #f0f7f4;
  font-size: 1.22rem;
  line-height: 1.9;
}

/* ==========================================================================
   EDITORIAL PULLQUOTES
   ========================================================================== */
.quote-editorial-box {
  width: 100%;
  max-width: var(--prose-max-w);
  margin: 3.5rem auto 3.5rem;
  padding: 2.25rem 2.5rem;
  background: linear-gradient(145deg, rgb(2, 13, 167), rgba(15, 23, 20, 0.95));
  border-left: 4px solid var(--accent-gold);
  border-radius: 0 12px 12px 0;
  position: relative;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.quote-glyph {
  font-family: var(--font-serif);
  font-size: 4.5rem;
  line-height: 1;
  color: rgba(212, 175, 55, 0.25);
  position: absolute;
  top: 0.5rem;
  left: 1.25rem;
  pointer-events: none;
}

.quote-text {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1.8vw, 1.45rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.65;
  color: #ffffff;
  position: relative;
  z-index: 2;
  margin-bottom: 1.25rem;
}

.quote-speaker {
  font-family: var(--font-sans);
  font-size: 1.063rem;
  /* > 16px */
  font-weight: 700;
  color: var(--accent-gold-light);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ==========================================================================
   EDITORIAL PHOTOGRAPHIC SHOWCASES
   ========================================================================== */
.editorial-image-showcase {
  width: 100%;
  max-width: var(--infographic-max-w);
  margin: 3.5rem auto 3.5rem;
}

.image-wrapper {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-light);
  aspect-ratio: 16 / 9;
}

.article-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-image-showcase:hover .article-img {
  transform: scale(1.025);
}

.image-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(10, 15, 13, 0.8) 100%);
  pointer-events: none;
}

.image-caption {
  font-family: var(--font-sans);
  font-size: 1.063rem;
  /* 17px > 16px */
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.85rem 0.5rem;
  border-left: 3px solid var(--accent-emerald);
  margin-top: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0 4px 4px 0;
}

/* ==========================================================================
   INFOGRAPHIC ARCHITECTURE (STRICTLY DATA-DRIVEN, >= 18PX FONT)
   ========================================================================== */
.infographic-wrapper {
  width: 100%;
  max-width: var(--infographic-max-w);
  margin: 4rem auto 4.5rem;
}

.infographic-card {
  background: linear-gradient(160deg, #021b9a 0%, #0d1612 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 18px;
  padding: 2.75rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 35px rgba(34, 197, 94, 0.07);
  position: relative;
  overflow: hidden;
}

.infographic-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-emerald), var(--accent-amber));
}

.info-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.info-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
  padding: 0.4rem 1.1rem;
  border-radius: 9999px;
  font-size: 1.125rem;
  /* 18px */
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.info-title {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.info-sub {
  font-family: var(--font-sans);
  font-size: 1.188rem;
  /* 19px */
  color: var(--accent-gold-light);
  font-weight: 600;
}

/* Metric Counter Cards */
.metrics-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.metrics-grid.col-4 {
  grid-template-columns: repeat(4, 1fr);
}

.metric-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 1.75rem 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
}

.metric-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.green-glow {
  background: rgba(34, 197, 94, 0.18);
  color: #4ade80;
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.25);
}

.amber-glow {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.25);
}

.blue-glow {
  background: rgba(56, 189, 248, 0.18);
  color: #38bdf8;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.25);
}

.gold-glow {
  background: rgba(212, 175, 55, 0.18);
  color: var(--accent-gold-light);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.25);
}

.red-glow {
  background: rgba(239, 68, 68, 0.18);
  color: #f87171;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.25);
}

.metric-num {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 2.5vw, 2.6rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.metric-num-special {
  font-family: var(--font-sans);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--accent-gold-light);
  line-height: 1.2;
  margin-bottom: 0.65rem;
}

.unit {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-left: 0.25rem;
}

.unit-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-muted);
}

.metric-label {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  /* Strict requirement: >= 18px */
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-body);
}

/* Info Visual Container */
.info-visual-container {
  background: rgb(13, 2, 133);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 2.25rem;
  margin-bottom: 2rem;
}

.visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
}

.chart-tag {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  /* 18px */
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--accent-gold);
  text-transform: uppercase;
}

.chart-legend {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  /* 18px */
  font-weight: 600;
  color: var(--text-main);
}

.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 4px;
}

.dot-commercial {
  background-color: #64748b;
}

.dot-seed {
  background-color: #22c55e;
}

/* Comparison Bars in Infographic 1 */
.comparison-bars {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  margin-bottom: 2.5rem;
}

.bar-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bar-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bar-title {
  font-size: 1.25rem;
  /* 20px */
  font-weight: 700;
  color: #ffffff;
}

.bar-note {
  font-size: 1.125rem;
  /* 18px */
  color: var(--accent-gold-light);
  font-weight: 600;
}

.bar-track-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.bar-track {
  width: 100%;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.bar-fill {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  border-radius: 8px;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: width;
}

.bar-fill-commercial {
  background: linear-gradient(90deg, #475569, #64748b);
}

.bar-fill-seed {
  background: linear-gradient(90deg, #15803d, #22c55e);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.35);
}

.bar-val-text {
  font-size: 1.125rem;
  /* 18px */
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.price-advantage-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 0.75rem;
}

.advantage-badge {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 10px;
  padding: 1.25rem;
  text-align: center;
}

.yield-badge {
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.3);
}

.revenue-badge {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.3);
}

.adv-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.adv-text {
  font-size: 1.125rem;
  /* 18px */
  font-weight: 600;
  color: var(--text-body);
}

/* Mechanization Flow */
.mechanization-flow {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
}

.flow-header {
  font-size: 1.25rem;
  /* 20px */
  font-weight: 700;
  color: var(--accent-gold-light);
  margin-bottom: 1.5rem;
}

.flow-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-emerald);
}

.step-card.highlight-step {
  border-color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.1);
}

.step-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  color: var(--accent-emerald);
}

.step-title {
  font-size: 1.125rem;
  /* 18px */
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.step-desc {
  font-size: 1.125rem;
  /* 18px */
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.4;
}

.flow-connector {
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   INFOGRAPHIC 2: MARKET BREAKDOWN & TIMELINE
   ========================================================================== */
.market-breakdown-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 2.75rem;
}

.chart-donut-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.donut-svg {
  overflow: visible;
}

.donut-segment {
  transition: stroke-dashoffset 1.5s ease-out;
}

.donut-center-num {
  font-family: var(--font-sans);
  font-size: 2.5rem;
  font-weight: 800;
  fill: #ffffff;
}

.donut-center-text {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  /* 18px strict */
  font-weight: 700;
  fill: var(--accent-gold);
  letter-spacing: 0.06em;
}

.market-detail-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.market-stat-card {
  background: var(--bg-surface);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  border-left: 5px solid;
}

.market-stat-card.export-card {
  border-left-color: #22c55e;
  border-top: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.market-stat-card.domestic-card {
  border-left-color: #f59e0b;
  border-top: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.market-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.market-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.125rem;
  /* 18px */
  font-weight: 800;
  letter-spacing: 0.05em;
}

.export-badge {
  color: #4ade80;
}

.domestic-badge {
  color: #fbbf24;
}

.market-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: currentColor;
}

.market-percent {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
}

.market-tonnage {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.market-desc {
  font-size: 1.125rem;
  /* 18px */
  color: var(--text-body);
  line-height: 1.45;
}

/* OCOP Timeline */
.ocop-evolution-flow {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  margin-bottom: 2.25rem;
}

.ocop-timeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.timeline-node {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  position: relative;
}

.timeline-node.highlight-node {
  border-color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.12);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.15);
}

.node-year {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-gold-light);
  margin-bottom: 0.5rem;
}

.node-title {
  font-size: 1.188rem;
  /* 19px */
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.node-text {
  font-size: 1.125rem;
  /* 18px */
  color: var(--text-body);
  line-height: 1.4;
}

.stars-display {
  font-size: 1.45rem;
  color: #fbbf24;
  margin-top: 0.5rem;
}

.gold-stars {
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

.timeline-line {
  height: 2px;
  width: 30px;
  background: var(--accent-gold);
}

/* Linkage Node Box */
.linkage-node-box {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
}

.node-box-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.25rem;
  /* 20px */
  font-weight: 700;
  color: #4ade80;
  margin-bottom: 1rem;
}

.linkage-stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 1.125rem;
  /* 18px */
  color: var(--text-main);
}

.link-strong {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.link-divider {
  color: var(--accent-gold);
  font-weight: bold;
}

/* ==========================================================================
   INFOGRAPHIC 3: 3-TIER ARCHITECTURE & CHANNELS
   ========================================================================== */
.tiers-architecture {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.75rem;
}

.tier-card {
  border-radius: 14px;
  padding: 1.75rem 2rem;
  transition: transform 0.3s ease;
  border: 1px solid;
}

.tier-card:hover {
  transform: translateX(6px);
}

.tier-top {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(21, 34, 29, 0.95));
  border-color: var(--accent-gold);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
}

.tier-mid {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(21, 34, 29, 0.95));
  border-color: rgba(34, 197, 94, 0.4);
}

.tier-base {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(21, 34, 29, 0.95));
  border-color: rgba(56, 189, 248, 0.3);
}

.tier-level-badge {
  font-size: 1.125rem;
  /* 18px */
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-gold-light);
  margin-bottom: 0.75rem;
}

.tier-content-row {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.tier-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.tier-heading {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.45rem;
}

.tier-desc {
  font-size: 1.125rem;
  /* 18px */
  font-weight: 500;
  color: var(--text-body);
  line-height: 1.6;
}

/* Multichannel Flow */
.multichannel-flow {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  margin-bottom: 2.5rem;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}

.channel-pill {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transition: transform 0.25s ease;
}

.channel-pill:hover {
  transform: translateY(-3px);
  border-color: var(--accent-emerald);
}

.channel-icon {
  font-size: 1.65rem;
}

.channel-name {
  font-size: 1.125rem;
  /* 18px */
  font-weight: 700;
  color: #ffffff;
}

/* Policy Framework Box */
.policy-framework-box {
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 14px;
  padding: 2rem;
}

.policy-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.policy-badge {
  background: var(--accent-gold);
  color: #000000;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 1.125rem;
  /* 18px */
  font-weight: 800;
  letter-spacing: 0.05em;
}

.policy-title {
  font-size: 1.25rem;
  /* 20px */
  font-weight: 700;
  color: #ffffff;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.policy-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 1.25rem;
}

.policy-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
}

.policy-detail {
  font-size: 1.125rem;
  /* 18px */
  font-weight: 500;
  color: var(--text-body);
  line-height: 1.45;
}

/* Infographic Figcaption */
.info-caption {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  /* 18px */
  font-style: italic;
  color: var(--text-muted);
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   ARTICLE SIGNATURE / AUTHOR BLOCK
   ========================================================================== */
.article-signature-block {
  width: 100%;
  max-width: var(--prose-max-w);
  margin: 4.5rem auto 1.5rem;
}

.signature-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
  margin-bottom: 2rem;
}

.signature-content {
  text-align: right;
}

.author-title {
  font-size: 1.063rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.author-sign {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}

.author-note {
  font-size: 1.063rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.editorial-footer {
  background: #1203b1;
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 0;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
}

.footer-tagline {
  font-size: 1.125rem;
  color: var(--text-body);
  margin-top: 0.35rem;
}

.footer-summary {
  font-size: 1.063rem;
  color: var(--text-muted);
  max-width: 650px;
}

/* ==========================================================================
   ANIMATIONS & SCROLL-TRIGGER STYLES
   ========================================================================== */
[data-animate="fade-up"] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

[data-animate="scale-in"] {
  opacity: 0;
  transform: scale(0.97) translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ==========================================================================
   RESPONSIVE DESIGN (DESKTOP, TABLET, MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
  .metrics-grid.col-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-steps {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .flow-connector {
    transform: rotate(90deg);
    margin: 0.25rem 0;
  }

  .ocop-timeline {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .timeline-line {
    width: 2px;
    height: 25px;
    margin: 0 auto;
  }

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

  .price-advantage-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .reading-navigator {
    padding: 0.6rem 1rem;
  }

  .nav-label {
    display: none;
  }

  .nav-part-btn .part-title {
    display: none;
    /* Show only 01, 02, 03 on small mobile screens */
  }

  .nav-part-btn {
    padding: 0.4rem 0.8rem;
  }

  .nav-part-btn .part-num {
    font-size: 0.938rem;
  }

  .hero-header {
    padding: 6rem 0 3.5rem;
    min-height: 90vh;
  }

  .lead-sapo {
    padding: 1.5rem;
  }

  .infographic-card {
    padding: 1.75rem 1.25rem;
    border-radius: 14px;
  }

  .info-visual-container {
    padding: 1.25rem;
  }

  .metrics-grid.col-4 {
    grid-template-columns: 1fr;
  }

  .market-breakdown-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .linkage-stats-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .link-divider {
    display: none;
  }

  .article-paragraph {
    text-align: left;
    /* Better flow on mobile */
  }
}