/* ==========================================================================
   E-MAGAZINE LONGFORM: CHÌA KHÓA KHAI MỞ NGUỒN LỰC ĐẤT ĐAI TẠI HÀ NỘI
   Design System & Data Journalism Aesthetic
   ========================================================================== */

:root {
  /* Editorial Color Palette */
  --bg-primary: #fcfcfb;
  --bg-secondary: #f4f5f6;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --text-primary: #121826;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --border-subtle: #cbd5e1;

  /* Accent Colors */
  --accent-navy: #0f172a;
  --accent-blue: #1d4ed8;
  --accent-gold: #c29236;
  --accent-gold-light: #fef9ed;
  --accent-gold-border: #e8cca4;
  --accent-emerald: #0f766e;
  --accent-cyan: #0284c7;

  /* Infographic Palette */
  --info-bg: #0b1329;
  --info-bg-card: #152243;
  --info-card-border: #2a3d6e;
  --info-text-title: #f8fafc;
  --info-text-body: #e2e8f0;
  --info-text-sub: #94a3b8;
  --info-accent-1: #38bdf8;
  --info-accent-2: #fbbf24;
  --info-accent-3: #34d399;
  --info-accent-4: #f472b6;
  --info-glow: rgba(56, 189, 248, 0.15);

  /* Typography Scale - All body >= 18px, whole site >= 16px */
  --font-serif: "Newsreader", "Merriweather", Georgia, "Times New Roman", serif;
  --font-sans: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Space Grotesk", "JetBrains Mono", monospace;

  --text-xs: 1rem;
  /* 16px - Minimum on entire site */
  --text-sm: 1.0625rem;
  /* 17px */
  --text-base: 1.125rem;
  /* 18px - Minimum for infographics & standard body */
  --text-lg: 1.25rem;
  /* 20px - Editorial reading font */
  --text-xl: 1.4rem;
  /* 22.4px */
  --text-2xl: 1.75rem;
  /* 28px */
  --text-3xl: 2.25rem;
  /* 36px */
  --text-4xl: 3rem;
  /* 48px */
  --text-5xl: 3.75rem;
  /* 60px */

  /* Layout */
  --max-width-editorial: 780px;
  --max-width-wide: 1180px;
  --max-width-screen: 1400px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);

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

/* Dark Theme Overrides */
[data-theme="dark"] {
  --bg-primary: #070d19;
  --bg-secondary: #0c1527;
  --bg-card: #111d35;
  --bg-card-hover: #162544;
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --border-color: #1e293b;
  --border-subtle: #334155;

  --accent-gold-light: #231d10;
  --accent-gold-border: #634b22;

  --info-bg: #090e1d;
  --info-bg-card: #121c38;
  --info-card-border: #1f315e;
}

/* Resets & Global */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.8;
  font-weight: 400;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Accessibility & Selection */
::selection {
  background-color: #1d4ed8;
  color: #ffffff;
}

/* Top Reading Progress Bar */
.reading-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(0, 0, 0, 0.05);
  z-index: 1000;
}

.reading-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #1d4ed8, #0ea5e9, #f59e0b);
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px rgba(14, 165, 233, 0.7);
}

/* Floating Minimalist Reader Tools */
.reader-controls {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(18, 24, 38, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 8px 14px;
  border-radius: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 999;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.section-indicator {
  color: #f1f5f9;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 4px 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}

.btn-ctrl {
  background: transparent;
  border: none;
  color: #f1f5f9;
  cursor: pointer;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-base);
  font-family: var(--font-sans);
  font-weight: 700;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn-ctrl:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.08);
}

.btn-ctrl svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ==========================================================================
   HERO / COVER SECTION
   ========================================================================== */
.hero-header {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 100px 24px 60px;
  overflow: hidden;
  background-color: #0b1329;
}

.hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  filter: brightness(0.65) contrast(1.1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(11, 19, 41, 0.35) 0%,
      rgba(11, 19, 41, 0.7) 65%,
      rgba(11, 19, 41, 0.95) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  color: #ffffff;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.25);
  color: #f6d365;
  border: 1px solid rgba(246, 211, 101, 0.5);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  line-height: 1.4;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 28px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  letter-spacing: -0.02em;
}

.hero-sapo-box {
  background: rgba(255, 255, 255, 0.1);
  border-left: 4px solid #f6d365;
  padding: 24px 28px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: 36px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-sapo-box p {
  font-family: var(--font-sans);
  font-size: clamp(1.125rem, 1.4vw, 1.25rem);
  line-height: 1.85;
  color: #f8fafc;
  font-weight: 400;
  margin-bottom: 16px;
}

.hero-sapo-box p:last-child {
  margin-bottom: 0;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  font-size: var(--text-xs);
  color: #cbd5e1;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.author-pill {
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.author-pill::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #38bdf8;
  border-radius: 50%;
}

/* ==========================================================================
   ARTICLE BODY & EDITORIAL LAYOUT
   ========================================================================== */
.article-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

.editorial-section {
  padding: 90px 24px;
  position: relative;
}

.editorial-section:nth-child(even) {
  background-color: var(--bg-secondary);
}

.editorial-inner {
  max-width: var(--max-width-editorial);
  margin: 0 auto;
}

.section-header {
  margin-bottom: 40px;
  text-align: left;
}

.section-number {
  font-family: var(--font-mono);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--accent-blue);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-number::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: var(--accent-blue);
}

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  line-height: 1.25;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

/* Editorial Typography */
.editorial-text {
  font-size: var(--text-lg);
  /* 20px for optimal reading */
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 28px;
  text-align: justify;
}

.editorial-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Drop-cap for section start only */
.editorial-section>.editorial-inner:first-of-type>.editorial-text:first-of-type::first-letter {
  font-family: var(--font-serif);
  font-size: 3.6rem;
  line-height: 0.85;
  float: left;
  margin-right: 14px;
  margin-top: 6px;
  color: var(--accent-blue);
  font-weight: 700;
}

.editorial-section>.editorial-inner:not(:first-of-type)>.editorial-text:first-of-type::first-letter {
  all: unset;
}

/* Photo Break */
.photo-break {
  max-width: var(--max-width-wide);
  margin: 60px auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.photo-break img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.photo-break:hover img {
  transform: scale(1.02);
}

.photo-caption {
  background: var(--bg-card);
  padding: 18px 26px;
  font-size: var(--text-xs);
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.5;
}

.photo-caption svg {
  width: 18px;
  height: 18px;
  fill: var(--text-muted);
  flex-shrink: 0;
}

/* ==========================================================================
   INFOGRAPHICS: PURE DATA, SVG, ICONS, COUNTERS (MIN FONT 18px)
   ========================================================================== */
.infographic-wrapper {
  max-width: var(--max-width-wide);
  margin: 60px auto;
  background: var(--info-bg);
  color: var(--info-text-body);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  box-shadow: 0 20px 50px rgba(11, 19, 41, 0.4);
  border: 1px solid var(--info-card-border);
  position: relative;
  overflow: hidden;
  font-size: 18px;
}

.infographic-wrapper p,
.infographic-wrapper span,
.infographic-wrapper div,
.infographic-wrapper h4,
.infographic-wrapper text {
  font-size: max(18px, 1.125rem);
}

.infographic-wrapper::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 20%, var(--info-glow) 0%, transparent 60%);
  pointer-events: none;
}

.infographic-header {
  margin-bottom: 36px;
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--info-card-border);
  padding-bottom: 24px;
}

.infographic-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-base);
  /* >= 18px */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--info-accent-1);
  margin-bottom: 10px;
}

.infographic-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  line-height: 1.35;
  color: var(--info-text-title);
  font-weight: 700;
}

/* Stat Counters Row */
.stat-counter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
  position: relative;
  z-index: 2;
}

.stat-counter-card {
  background: var(--info-bg-card);
  border: 1px solid var(--info-card-border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.stat-counter-card:hover {
  transform: translateY(-4px);
  border-color: var(--info-accent-1);
  box-shadow: 0 10px 25px rgba(56, 189, 248, 0.15);
}

.counter-value {
  font-family: var(--font-mono);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--info-accent-2);
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.counter-label {
  font-size: var(--text-base);
  /* 18px min */
  font-weight: 600;
  color: var(--info-text-body);
  line-height: 1.4;
}

/* -------------------------------------------------------------
   INFOGRAPHIC 1: CHUYỂN HÓA GIÁ TRỊ & 4 ĐÒN BẨY HẠ TẦNG
   ------------------------------------------------------------- */
.info1-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  position: relative;
  z-index: 2;
}

.info1-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: var(--info-bg-card);
  border: 1px solid var(--info-card-border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition-normal);
}

.info-card:hover {
  border-color: var(--info-accent-1);
  background: #192a54;
}

.info-card-title {
  font-size: var(--text-xl);
  /* 22px */
  font-weight: 700;
  color: var(--info-text-title);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.info-card-title svg {
  width: 24px;
  height: 24px;
  fill: var(--info-accent-1);
  flex-shrink: 0;
}

/* 4 Levers Grid */
.levers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.lever-item {
  background: rgba(11, 19, 41, 0.7);
  border: 1px solid var(--info-card-border);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.lever-item:hover {
  transform: translateY(-2px);
  border-color: var(--info-accent-2);
}

.lever-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lever-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--info-accent-1);
}

.lever-text {
  font-size: var(--text-base);
  /* >= 18px */
  font-weight: 600;
  color: var(--info-text-body);
  line-height: 1.35;
}

/* Transformation Flow Box */
.transformation-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.transform-step {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(11, 19, 41, 0.7);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--info-accent-1);
}

.transform-step.active {
  border-left-color: var(--info-accent-2);
  background: rgba(251, 191, 36, 0.1);
}

.step-num {
  font-family: var(--font-mono);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--info-accent-2);
  min-width: 32px;
}

.step-content h4 {
  font-size: var(--text-base);
  /* 18px */
  font-weight: 700;
  color: var(--info-text-title);
  margin-bottom: 4px;
}

.step-content p {
  font-size: var(--text-base);
  /* 18px */
  color: var(--info-text-sub);
  line-height: 1.4;
}

/* -------------------------------------------------------------
   INFOGRAPHIC 2: VÒNG TRÒN PHÁT TRIỂN & 5 TRỤC DỮ LIỆU
   ------------------------------------------------------------- */
.info2-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  position: relative;
  z-index: 2;
}

.closed-loop-container {
  background: var(--info-bg-card);
  border: 1px solid var(--info-card-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cycle-svg-wrap {
  width: 100%;
  max-width: 480px;
  height: auto;
  margin: 0 auto;
}

.data-pillars-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.data-pillar-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--info-bg-card);
  border: 1px solid var(--info-card-border);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.data-pillar-item:hover {
  border-color: var(--info-accent-3);
  transform: translateX(6px);
  background: #17274f;
}

.pillar-badge {
  font-family: var(--font-mono);
  font-size: var(--text-base);
  /* 18px */
  font-weight: 700;
  color: var(--info-accent-3);
  background: rgba(52, 211, 153, 0.15);
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
}

.pillar-name {
  font-size: var(--text-base);
  /* 18px */
  font-weight: 600;
  color: var(--info-text-title);
  line-height: 1.4;
}

/* -------------------------------------------------------------
   INFOGRAPHIC 3: MA TRẬN QUẢN TRỊ ĐÔ THỊ HIỆN ĐẠI
   ------------------------------------------------------------- */
.info3-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
  z-index: 2;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.compare-card {
  background: var(--info-bg-card);
  border: 1px solid var(--info-card-border);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
}

.compare-card.traditional {
  border-top: 4px solid #f43f5e;
}

.compare-card.modern {
  border-top: 4px solid var(--info-accent-3);
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.06) 0%, var(--info-bg-card) 100%);
}

.compare-tag {
  font-size: var(--text-base);
  /* 18px */
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.compare-card.traditional .compare-tag {
  color: #fb7185;
}

.compare-card.modern .compare-tag {
  color: var(--info-accent-3);
}

.compare-content {
  font-size: var(--text-base);
  /* 18px */
  line-height: 1.6;
  color: var(--info-text-body);
  font-weight: 500;
}

/* 4-Step Urban Governance Pathway */
.pathway-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}

.pathway-step {
  background: var(--info-bg-card);
  border: 1px solid var(--info-card-border);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  text-align: center;
  position: relative;
  transition: all var(--transition-normal);
}

.pathway-step:hover {
  border-color: var(--info-accent-1);
  transform: translateY(-4px);
}

.path-order {
  width: 40px;
  height: 40px;
  background: rgba(56, 189, 248, 0.2);
  color: var(--info-accent-1);
  font-family: var(--font-mono);
  font-size: var(--text-base);
  /* 18px */
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.path-title {
  font-size: var(--text-base);
  /* 18px */
  font-weight: 700;
  color: var(--info-text-title);
  margin-bottom: 8px;
  line-height: 1.35;
}

.path-desc {
  font-size: var(--text-base);
  /* 18px */
  color: var(--info-text-sub);
  line-height: 1.45;
}

.pathway-step:not(:last-child)::after {
  content: "➔";
  position: absolute;
  right: -14px;
  top: calc(50% - 14px);
  color: var(--info-accent-1);
  font-size: 20px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--info-bg);
  border-radius: 50%;
}

/* ==========================================================================
   AUTHOR & FOOTER SECTION
   ========================================================================== */
.article-footer {
  background: #090e1d;
  color: #cbd5e1;
  padding: 80px 24px 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  max-width: var(--max-width-editorial);
  margin: 0 auto;
}

.byline-signature {
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid #f6d365;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 24px 30px;
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.byline-name {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 700;
  color: #ffffff;
}

.byline-role {
  font-size: var(--text-base);
  color: #94a3b8;
}

.footer-credits {
  text-align: center;
  font-size: var(--text-xs);
  color: #64748b;
  line-height: 1.7;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   ANIMATIONS & SCROLL-TRIGGER
   ========================================================================== */
.fade-in-trigger {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-trigger.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* SVG Line Animation */
.animated-svg-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 1.8s ease-in-out;
}

.is-visible .animated-svg-path {
  stroke-dashoffset: 0;
}

/* ==========================================================================
   RESPONSIVE DESIGN (DESKTOP, TABLET, MOBILE)
   Ensuring font sizes NEVER drop below 18px on infographic & 16px on site!
   ========================================================================== */
@media (max-width: 1024px) {

  .info1-layout,
  .info2-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .pathway-flow {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .pathway-step:not(:last-child)::after {
    display: none;
  }

  .photo-break img {
    height: 380px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 16px;
    /* Site minimum 16px */
  }

  body {
    font-size: 1.125rem;
    /* 18px body for comfortable reading */
  }

  .hero-header {
    min-height: 80vh;
    padding: 80px 16px 40px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-sapo-box {
    padding: 18px 20px;
  }

  .editorial-section {
    padding: 50px 16px;
  }

  .editorial-text {
    font-size: 1.125rem;
    /* 18px */
    text-align: left;
  }

  .infographic-wrapper {
    padding: 28px 18px;
    border-radius: var(--radius-md);
  }

  .levers-grid,
  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .pathway-flow {
    grid-template-columns: 1fr;
  }

  .photo-break img {
    height: 260px;
  }

  .reader-controls {
    bottom: 16px;
    right: 16px;
    padding: 6px 12px;
  }

  .counter-value {
    font-size: 2.2rem;
  }
}