:root {
  --navy: #002147;
  --navy-light: #003d82;
  --yellow: #FDB913;
  --yellow-dark: #f5a623;
  --red: #E63946;
  --text-dark: #1a1a1a;
  --text-mid: #4a4a4a;
  --text-light: #7a7a7a;
  --border-color: #e5e5e5;
  --bg-light: #f8f8f8;
  --bg-white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Lato, "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
  font-feature-settings: "calt", "kern", "liga", "lnum";
  background: var(--bg-white);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 72px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-logo {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  flex-wrap: wrap;
}

.nav-logo-dep {
  height: 48px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.nav-logo-slogan {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 400;
  color: white;
  line-height: 1.2;
  max-width: none;
  white-space: nowrap;
  letter-spacing: 0px;
  align-self: flex-end;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0;
}

.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-logo-text span {
  color: var(--ink);
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a {
  text-decoration: none;
  color: white;
  font-size: 15px;
  font-weight: 500;
  padding: 18px 12px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-links > li > a:hover {
  color: var(--yellow);
}

.caret {
  font-size: 9px;
  opacity: 0.8;
  transition: transform 0.2s;
}

.has-dropdown:hover .caret,
.has-dropdown:focus-within .caret {
  transform: rotate(180deg);
}

/* DROPDOWNS */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  border-top: 3px solid var(--red);
  padding: 10px 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 200;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 9px 20px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.dropdown a:hover {
  background: #f3f6fb;
  color: var(--red);
}

/* MEGA MENU */
.mega-menu {
  display: grid;
  grid-template-columns: repeat(3, minmax(170px, 1fr));
  gap: 8px 32px;
  padding: 26px 30px;
  min-width: 580px;
  left: 0;
}

.mega-col {
  display: flex;
  flex-direction: column;
}

.mega-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--red);
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #eee;
}

.mega-menu a {
  padding: 5px 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.15s;
}

.mega-menu a:hover {
  color: var(--red);
  background: transparent;
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  padding: 8px 14px;
  width: 260px;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, width 0.25s ease;
  backdrop-filter: blur(4px);
}

.nav-search:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
}

.nav-search:focus-within {
  background: #ffffff;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(253, 185, 19, 0.25);
  width: 300px;
}

.nav-search-icon {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
  transition: color 0.2s;
}

.nav-search:focus-within .nav-search-icon {
  color: var(--navy);
}

.nav-search-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-family: inherit;
  font-size: 13px;
  color: white;
  min-width: 0;
}

.nav-search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.nav-search:focus-within .nav-search-input {
  color: var(--text-dark);
}

.nav-search:focus-within .nav-search-input::placeholder {
  color: #aaa;
}

.nav-search-kbd {
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  padding: 2px 6px;
  flex-shrink: 0;
  transition: all 0.2s;
}

.nav-search:focus-within .nav-search-kbd {
  color: var(--text-light);
  background: #f0f0f0;
  border-color: #e0e0e0;
}

/* RED RIBBON */
.red-ribbon {
  height: 4px;
  background: var(--red);
  width: 100%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 72px;
  z-index: 99;
}

/* HERO */
.hero-wrap {
  background: linear-gradient(135deg, #f0f4f8 0%, #e8f0f7 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-dark);
}

.hero {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 32px 52px;
  animation: fadeUp 0.6s ease both;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 56px;
  align-items: center;
}

.hero-text {
  flex: 1;
}

.hero-chart {
  flex: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(0, 33, 71, 0.08);
  color: var(--navy);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
  border: 1px solid rgba(0, 33, 71, 0.15);
}

.hero-eyebrow::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 50%;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  max-width: 660px;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero h1 {
  color: var(--navy);
}

.hero h1 em {
  font-style: italic;
  color: var(--red);
}

.hero-tagline {
  font-family: 'Source Serif 4', serif;
  font-size: 16px;
  font-weight: 300;
  font-style: italic;
  color: var(--text-light);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 16px;
  margin-top: -8px;
}

.hero-sub {
  font-family: 'Source Serif 4', serif;
  font-size: 17px;
  font-weight: 300;
  color: var(--text-mid);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.hero-stat-label {
  font-size: 11px;
  color: var(--ink-soft);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* HERO CHART */
.chart-card {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  border: none;
}

.chart-header {
  display: block;
  margin-bottom: 8px;
  text-align: center;
}

.chart-title {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
  line-height: 1.3;
}

.chart-subtitle {
  font-size: 13px;
  color: var(--text-light);
}

.hero-svg-chart {
  width: 100%;
  height: 360px;
  margin-bottom: 12px;
}

.chart-legend {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 33, 71, 0.12);
  justify-content: center;
  align-items: center;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-mid);
  white-space: nowrap;
}

.legend-label {
  flex: none;
}

.legend-value {
  font-weight: 700;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.legend-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* SECTION */
.section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 36px 40px;
  padding-top: 24px;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 10px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 600;
}

.section-subtitle {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  color: #666;
  max-width: 620px;
  line-height: 1.5;
  font-weight: 400;
  margin-top: 8px;
}

.section-link {
  font-size: 14px;
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
  border: 1px solid var(--red);
  padding: 8px 16px;
  border-radius: 4px;
  display: inline-block;
  transition: all 0.2s;
}

.section-link:hover {
  background: var(--red);
  color: white;
  text-decoration: none;
}

/* TOPICS */
.topics-bg {
  background: #f5f3ef;
  border-bottom: 1px solid #e0dbd2;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.topic-card {
  background: var(--white);
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 24px 20px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  animation: fadeUp 0.5s ease forwards;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.topic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--navy);
}

.topic-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.topic-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

.topic-count {
  font-size: 12px;
  color: #999;
  font-weight: 400;
}

/* ARTICLES */
.articles-bg {
  background: #f5f3ef;
}

.research-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.articles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  grid-column: 1 / 4;
  align-items: stretch;
}

.articles-grid .article-card {
  height: 100%;
}

.article-card {
  background: #ffffff;
  padding: 0;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: box-shadow 0.2s, transform 0.2s;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #e3e8ef;
  box-shadow: 0 4px 12px rgba(0, 33, 71, 0.08);
}

.article-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.article-image {
  width: 100%;
  height: 220px;
  background: #f5f5f5;
  overflow: hidden;
  border-bottom: 1px solid #e5e5e5;
}

.article-image svg {
  width: 100%;
  height: 100%;
}

.article-card.featured {
  grid-row: auto;
  border-right: none;
}

.article-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--navy);
  padding: 0 24px;
  padding-top: 24px;
}

.article-tag-dot {
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
}

.article-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  padding: 0 24px;
  margin-top: 12px;
}

.article-card.featured .article-title {
  font-size: 20px;
}

.article-card:not(.featured) .article-title {
  font-size: 15px;
}

.article-desc {
  font-family: 'Source Serif 4', serif;
  font-size: 13.5px;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.6;
  flex: 1;
  padding: 0 24px;
  margin-top: 12px;
}

.article-meta {
  font-size: 11px;
  color: var(--ink-faint);
  font-weight: 500;
  margin-top: auto;
  padding: 12px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
}

.key-finding {
  background: #e8f5f0;
  border-radius: 6px;
  padding: 14px;
  margin-top: 12px;
  margin-left: 24px;
  margin-right: 24px;
  margin-bottom: 16px;
}

/* RESEARCH UPDATES */
.research-updates {
  background: white;
  padding: 18px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.updates-title {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.update-item {
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e5e5;
}

.update-item:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.update-date {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--navy);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.update-heading {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 4px;
}

.update-text {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.45;
  margin-bottom: 6px;
}

.update-link {
  font-size: 12px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
}

.update-link:hover {
  color: var(--red);
}

.see-all-updates {
  font-size: 12px;
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
  border: 1px solid var(--red);
  padding: 8px 12px;
  border-radius: 4px;
  text-align: center;
  transition: all 0.2s;
  margin-top: auto;
}

.see-all-updates:hover {
  background: var(--red);
  color: white;
}

/* RESEARCH SUBSCRIBE */
.research-subscribe {
  background: #ffffff;
  padding: 28px;
  border-radius: 8px;
  border: 1px solid #e3e8ef;
  box-shadow: 0 4px 12px rgba(0, 33, 71, 0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.subscribe-icon {
  font-size: 32px;
  text-align: center;
}

.subscribe-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
}

.subscribe-text {
  font-size: 13px;
  color: var(--text-mid);
  text-align: center;
}

.newsletter-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
}

.newsletter-option input[type="checkbox"] {
  margin-top: 4px;
  cursor: pointer;
  accent-color: var(--red);
}

.newsletter-option label {
  cursor: pointer;
  flex: 1;
}

.newsletter-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.newsletter-desc {
  font-size: 11px;
  color: var(--text-light);
  line-height: 1.4;
  margin-top: 2px;
}

.email-input {
  padding: 10px 12px;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  font-size: 13px;
  width: 100%;
  font-family: inherit;
}

.email-input::placeholder {
  color: #999;
}

.subscribe-btn {
  background: var(--red);
  color: white;
  border: none;
  padding: 11px 16px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}

.subscribe-btn:hover {
  background: #d42436;
}

.subscribe-terms {
  font-size: 11px;
  color: var(--text-light);
  text-align: center;
}

.subscribe-terms a {
  color: var(--navy);
  text-decoration: none;
}

.subscribe-terms a:hover {
  text-decoration: underline;
}

.follow-section {
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.follow-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 33, 71, 0.08);
  border-radius: 4px;
  text-decoration: none;
  color: var(--navy);
  font-size: 16px;
  transition: background 0.2s;
}

.social-icon:hover {
  background: rgba(0, 33, 71, 0.15);
}

.donate-section {
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  text-align: center;
  margin-top: auto;
}

.donate-text {
  font-size: 11px;
  color: var(--text-mid);
  margin-bottom: 8px;
  line-height: 1.5;
}

.donate-link {
  font-size: 12px;
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
}

.donate-link:hover {
  text-decoration: underline;
}

.key-finding-label {
  font-size: 10px;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.key-finding-num {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
}

.key-finding-desc {
  font-size: 11.5px;
  color: var(--ink-mid);
  margin-top: 2px;
}

/* CHART */
.chart-section {
  background: linear-gradient(135deg, rgb(240, 248, 255) 0%, rgb(245, 240, 235) 100%);
  border-top: medium;
  border-bottom: medium;
  padding: 28px 0px;
}

.chart-inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 32px 30px;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: center;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 33, 71, 0.08);
}

.chart-info h2 {
  font-family: Lato, "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
  font-feature-settings: "calt", "kern", "liga", "lnum";
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--navy);
  position: relative;
  padding-top: 20px;
}

.chart-info h2::before {
  content: '★ Featured Article';
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--red);
  margin-bottom: 10px;
  font-family: Lato, "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
  font-feature-settings: "calt", "kern", "liga", "lnum";
}

.chart-info p {
  font-family: Lato, "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
  font-feature-settings: "calt", "kern", "liga", "lnum";
  font-size: 14px;
  font-weight: 400;
  color: #5a6b85;
  line-height: 1.7;
  margin-bottom: 16px;
}

.chart-source {
  font-size: 10.5px;
  color: var(--ink-faint);
  font-style: italic;
}

.chart-btns {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--red);
  color: white;
  padding: 8px 18px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #d42436;
}

.btn-secondary {
  background: var(--paper-warm);
  color: var(--ink);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
}

.chart-container {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
}

.chart-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}

.chart-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

.chart-sublabel {
  font-size: 10.5px;
  color: var(--ink-faint);
  margin-top: 2px;
}

.chart-badge {
  background: var(--green-pale);
  color: var(--navy);
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 3px;
}

.chart-legend {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--ink-soft);
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}

/* DATA INSIGHTS */
.insights-bg {
  background: #f5f7fa;
}

.insights-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 24px;
}

.insights-title {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.insights-subtitle {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  color: #666;
  max-width: 620px;
  line-height: 1.5;
  font-weight: 400;
}

.insights-link {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #d0d0d0;
  padding: 10px 18px;
  border-radius: 3px;
  white-space: nowrap;
  transition: all 0.15s;
  background: white;
}

.insights-link:hover {
  border-color: var(--navy);
  background: #fafafa;
}

/* CAROUSEL */
.insights-carousel {
  position: relative;
}

.insights-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.insights-track::-webkit-scrollbar {
  display: none;
}

.insights-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: background 0.2s;
}

.insights-arrow:hover {
  background: #00306a;
}

.insights-arrow svg {
  width: 22px;
  height: 22px;
}

.insights-arrow-prev {
  left: -26px;
}

.insights-arrow-next {
  right: -26px;
}

.insight-card {
  flex: 0 0 65%;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  background: #ffffff;
  padding: 32px;
  margin-right: 28px;
  align-items: stretch;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  transition: box-shadow 0.2s;
}

.insight-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.insight-image {
  width: 260px;
  background: #fafafa;
  overflow: hidden;
  border: 1px solid #efefef;
  border-radius: 3px;
}

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

.insight-content {
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  gap: 8px;
}

.insight-content::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 1) 100%);
  pointer-events: none;
}

.insight-heading {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 10px;
}

.insight-meta-line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}

.insight-author {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-style: italic;
  color: #999;
  margin: 0;
}

.insight-meta {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin: 0;
}

.insight-description {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 10px;
}

.insight-link-more {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid #d0d0d0;
  padding-bottom: 2px;
  font-weight: 500;
  transition: all 0.15s;
  position: absolute;
  bottom: 16px;
  right: 0;
  z-index: 1;
}

.insight-link-more:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

@media (max-width: 860px) {
  .insight-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .insight-image {
    width: 100%;
    height: 260px;
  }

  .insight-content {
    padding: 0;
  }

  .insights-arrow-prev {
    left: 4px;
  }

  .insights-arrow-next {
    right: 4px;
  }
}

/* INDICATORS */
.indicators-bg {
  background: #fafafa;
}

.indicators-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 24px;
}

.indicators-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.indicators-subtitle {
  font-size: 15px;
  color: var(--text-mid);
  max-width: 500px;
}

.see-all-indicators {
  font-size: 14px;
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--red);
  padding: 10px 20px;
  border-radius: 4px;
  white-space: nowrap;
  transition: all 0.2s;
}

.see-all-indicators:hover {
  background: var(--red);
  color: white;
}

.data-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.data-card {
  background: #002147;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  opacity: 0;
  animation: fadeUp 0.5s ease forwards;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  aspect-ratio: 0.82;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding-top: 28px;
}

.data-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(253, 185, 19, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(230, 57, 70, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.data-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.3);
}

.data-card-icon {
  font-size: 36px;
  margin: 0;
  position: relative;
  z-index: 1;
  order: -1;
}

.data-card-title {
  font-size: 15px;
  font-weight: 600;
  color: white;
  line-height: 1.35;
  position: relative;
  z-index: 1;
}

.data-card-value {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
  position: relative;
  z-index: 1;
}

.data-card-change {
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 3px;
  position: relative;
  z-index: 1;
}

.change-up {
  color: #4ade80;
}

.change-down {
  color: #fca5a5;
}

.data-card-period {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  position: relative;
  z-index: 1;
}

.sparkline {
  height: 32px;
  margin-top: 4px;
  width: 100%;
  position: relative;
  z-index: 1;
  display: block;
}

/* SDG */
.sdg-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #004d38 100%);
  color: white;
}

.sdg-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 44px 32px;
  display: flex;
  align-items: center;
  gap: 52px;
}

.sdg-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.25;
}

.sdg-text p {
  font-size: 13.5px;
  opacity: 0.8;
  line-height: 1.6;
  max-width: 380px;
}

.sdg-explore {
  display: inline-block;
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 18px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
}

.sdg-goals {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  flex: 1;
  overflow-x: auto;
  padding-bottom: 8px;
}

.sdg-goal {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 700;
  text-align: center;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  color: white;
  padding: 3px;
}

.sdg-goal:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* ALL TOPICS SECTION */
.all-topics-bg {
  background: #f5f3ef;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.all-topics-header {
  margin-bottom: 40px;
}

.all-topics-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.all-topics-subtitle {
  font-size: 15px;
  color: var(--text-mid);
}

.topics-category {
  margin-bottom: 32px;
}

.topics-category:last-child {
  margin-bottom: 0;
}

.category-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
}

.category-links a {
  color: var(--navy);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.6;
  transition: color 0.2s;
}

.category-links a:hover {
  color: var(--red);
}

.link-separator {
  color: #ccc;
  margin: 0 8px;
  font-size: 12px;
}

/* FOOTER */
footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 44px 32px 28px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
}

.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
}

.footer-brand-desc {
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 14px;
}

.footer-col-title {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-links a {
  text-decoration: none;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.15s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.3);
}

/* ANIMATIONS */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.topic-card:nth-child(1) {
  animation-delay: 0.05s;
}

.topic-card:nth-child(2) {
  animation-delay: 0.1s;
}

.topic-card:nth-child(3) {
  animation-delay: 0.15s;
}

.topic-card:nth-child(4) {
  animation-delay: 0.2s;
}

.topic-card:nth-child(5) {
  animation-delay: 0.25s;
}

.topic-card:nth-child(6) {
  animation-delay: 0.3s;
}

.topic-card:nth-child(7) {
  animation-delay: 0.35s;
}

.topic-card:nth-child(8) {
  animation-delay: 0.4s;
}

.data-card:nth-child(1) {
  animation-delay: 0.05s;
}

.data-card:nth-child(2) {
  animation-delay: 0.12s;
}

.data-card:nth-child(3) {
  animation-delay: 0.19s;
}

.data-card:nth-child(4) {
  animation-delay: 0.26s;
}

.data-card:nth-child(5) {
  animation-delay: 0.33s;
}

.data-card:nth-child(6) {
  animation-delay: 0.40s;
}

.data-card:nth-child(7) {
  animation-delay: 0.47s;
}

.data-card:nth-child(8) {
  animation-delay: 0.54s;
}

.data-card:nth-child(9) {
  animation-delay: 0.61s;
}

.data-card:nth-child(10) {
  animation-delay: 0.68s;
}

.data-card:nth-child(11) {
  animation-delay: 0.75s;
}

.data-card:nth-child(12) {
  animation-delay: 0.82s;
}

/* TOOLTIP */
.tooltip {
  position: fixed;
  background: var(--ink);
  color: white;
  font-size: 11px;
  padding: 5px 9px;
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  z-index: 999;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .topics-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .hero-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .research-layout {
    grid-template-columns: 1fr;
  }

  .articles-grid {
    grid-column: auto;
  }

  .research-updates,
  .research-subscribe {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  .topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 640px) {
  .topics-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }

  .article-card.featured {
    grid-row: auto;
    border-right: none;
  }

  .chart-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .sdg-inner {
    flex-direction: column;
    gap: 24px;
  }

  nav {
    padding: 0 16px;
  }

  .nav-links {
    display: none;
  }

  .nav-logo-slogan {
    display: none;
  }

  .nav-search {
    width: 150px;
    padding: 7px 12px;
  }

  .nav-search:focus-within {
    width: 180px;
  }

  .nav-search-kbd {
    display: none;
  }

  .hero,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ============================================================
   PASS B — Ask-DEEPLAB orientation
   ============================================================ */

/* --- Hero ask box --- */
.ask-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid rgba(0, 33, 71, 0.18);
  border-radius: 12px;
  padding: 8px 8px 8px 14px;
  box-shadow: 0 6px 22px rgba(0, 33, 71, 0.10);
  margin-bottom: 14px;
  max-width: 580px;
  transition: border-color .15s, box-shadow .15s;
}
.ask-box:focus-within {
  border-color: var(--navy);
  box-shadow: 0 8px 28px rgba(0, 33, 71, 0.16);
}
.ask-box-icon { width: 18px; height: 18px; color: var(--navy); flex-shrink: 0; }
.ask-box-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  color: var(--text-dark);
  background: transparent;
  font-family: inherit;
}
.ask-box-input::placeholder { color: var(--text-light); }
.ask-box-btn {
  flex-shrink: 0;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
}
.ask-box-btn:hover { background: var(--navy-light); }

.ask-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  max-width: 600px;
}
.ask-chips-label {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.ask-chip {
  background: rgba(0, 33, 71, 0.05);
  border: 1px solid rgba(0, 33, 71, 0.12);
  border-radius: 16px;
  padding: 6px 13px;
  font-size: 12.5px;
  color: var(--navy);
  cursor: pointer;
  font-family: inherit;
  transition: background .15s, border-color .15s;
}
.ask-chip:hover { background: rgba(0, 33, 71, 0.10); border-color: rgba(0, 33, 71, 0.25); }

/* --- How it works band --- */
.how-bg { background: #fff; border-bottom: 1px solid var(--border-color); }
.how-header { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.how-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.how-subtitle { font-size: 16px; color: var(--text-mid); line-height: 1.6; }

.how-grid {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 14px;
  margin-bottom: 48px;
}
.how-step {
  flex: 1;
  max-width: 300px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 26px 22px;
  position: relative;
}
.how-step-num {
  position: absolute;
  top: -12px; left: 22px;
  width: 26px; height: 26px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.how-step-icon { font-size: 30px; margin-bottom: 10px; }
.how-step-title { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; line-height: 1.25; }
.how-step-desc { font-size: 13.5px; color: var(--text-mid); line-height: 1.6; }
.how-arrow {
  display: flex; align-items: center;
  font-size: 26px; color: var(--text-light); font-weight: 300;
}

/* --- Worked answer card --- */
.answer-card {
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  box-shadow: 0 10px 36px rgba(0, 33, 71, 0.08);
  overflow: hidden;
}
.answer-q {
  background: var(--navy);
  padding: 20px 26px;
}
.answer-q-label {
  display: inline-block;
  font-size: 10.5px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--yellow);
  margin-bottom: 6px;
}
.answer-q-text {
  font-family: 'Source Serif 4', serif;
  font-size: 18px; font-style: italic; color: #fff;
  line-height: 1.45; margin: 0;
}
.answer-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.answer-col {
  padding: 22px 24px;
  border-right: 1px solid var(--border-color);
}
.answer-col:last-child { border-right: none; }
.answer-col-head { margin-bottom: 12px; }
.answer-tag {
  display: inline-block;
  font-size: 10.5px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px; border-radius: 5px;
}
.answer-tag-data { background: rgba(0,102,204,.12); color: #0066cc; }
.answer-tag-econ { background: rgba(5,150,105,.14); color: #059669; }
.answer-tag-equity { background: rgba(230,57,70,.12); color: #E63946; }
.answer-list { list-style: none; padding: 0; margin: 0; }
.answer-list li {
  font-size: 13px; color: var(--text-mid);
  line-height: 1.5; margin-bottom: 10px; padding-left: 14px; position: relative;
}
.answer-list li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--text-light);
}
.answer-list strong { color: var(--navy); }
.answer-rec {
  background: #f0f7f3;
  border-top: 2px solid #059669;
  padding: 18px 26px;
}
.answer-rec-label {
  display: inline-block;
  font-size: 10.5px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: #059669; margin-bottom: 5px;
}
.answer-rec-text { display: block; font-size: 14.5px; color: var(--text-dark); line-height: 1.55; }
.answer-foot {
  padding: 11px 26px;
  font-size: 11.5px; color: var(--text-light);
  background: var(--bg-light); border-top: 1px solid var(--border-color);
}

/* --- Contribute band --- */
.contribute-bg {
  background: #dae8f5;
}
.contribute-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.contribute-text { flex: 1; min-width: 280px; }
.contribute-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: var(--blue); margin-bottom: 10px;
}
.contribute-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 30px); font-weight: 700;
  color: var(--navy); margin-bottom: 10px; line-height: 1.2;
}
.contribute-desc { font-size: 15px; color: #555; line-height: 1.65; max-width: 620px; }
.contribute-actions { display: flex; gap: 14px; flex-direction: column; align-items: flex-start; }
.contribute-btn-primary {
  background: #E63946; color: #fff;
  padding: 16px 36px; border-radius: 8px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  white-space: nowrap; transition: background .15s, transform .15s;
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}
.contribute-btn-primary:hover { background: #c41e3a; transform: translateY(-2px); }
.contribute-btn-secondary {
  color: var(--blue); font-weight: 600; font-size: 14.5px; text-decoration: none;
  white-space: nowrap; border-bottom: 1px solid var(--blue); padding-bottom: 2px;
}
.contribute-btn-secondary:hover { border-color: #fff; }

/* --- Responsive --- */
@media (max-width: 860px) {
  .how-grid { flex-direction: column; align-items: center; }
  .how-step { max-width: 100%; width: 100%; }
  .how-arrow { transform: rotate(90deg); }
  .answer-body { grid-template-columns: 1fr; }
  .answer-col { border-right: none; border-bottom: 1px solid var(--border-color); }
  .answer-col:last-child { border-bottom: none; }
  .contribute-inner { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   OWID-style centered "Ask" hero
   ============================================================ */
.hero-wrap.hero-dark {
  background:
    radial-gradient(120% 130% at 50% -10%, #013a6b 0%, #002147 55%, #001833 100%);
  border-bottom: none;
}
.hero-owid {
  max-width: 980px;
  margin: 0 auto;
  padding: 70px 30px 50px;
  text-align: center;
  animation: fadeUp 0.6s ease both;
}
.hero-owid-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.5px;
  color: var(--yellow);
  max-width: 820px;
  margin: 0 auto 14px;
}
.hero-owid-title em { font-style: italic; color: var(--yellow); }
.hero-owid-mission {
  display: inline-block;
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  text-decoration: none;
  margin-bottom: 30px;
  transition: color .15s;
}
.hero-owid-mission:hover { color: #fff; }

/* Large search box variant */
.ask-box.ask-box-lg {
  max-width: 720px;
  margin: 0 auto 18px;
  padding: 7px 7px 7px 22px;
  border: none;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.28);
}
.ask-box-lg .ask-box-input { font-size: 17px; padding: 12px 0; }
.ask-box-go {
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  border: none;
  border-left: 1px solid var(--border-color);
  color: var(--navy);
  cursor: pointer;
  border-radius: 0 4px 4px 0;
  transition: color .15s;
}
.ask-box-go svg { width: 22px; height: 22px; }
.ask-box-go:hover { color: var(--navy-light); }

/* Stat pills */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 22px;
  padding: 5px 14px;
  font-size: 14px;
  color: rgba(255,255,255,0.92);
}
.hero-pill .hero-stat-num {
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.hero-freenote {
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 26px;
}

/* Example chips on dark hero */
.ask-chips.ask-chips-dark {
  justify-content: center;
  max-width: 760px;
  margin: 0 auto;
}
.ask-chips-dark .ask-chips-label { color: rgba(255,255,255,0.55); }
.ask-chips-dark .ask-chip {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
}
.ask-chips-dark .ask-chip:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.4);
}

@media (max-width: 640px) {
  .ask-box.ask-box-lg { padding-left: 16px; }
  .ask-box-lg .ask-box-input { font-size: 15px; }
  .hero-owid { padding: 48px 18px 54px; }
}

/* Bangladesh map backdrop in hero (OWID-style faint silhouette) */
.hero-wrap.hero-dark { position: relative; overflow: hidden; }
.hero-wrap.hero-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/bangladesh.svg") no-repeat center top;
  background-size: auto 210%;
  filter: brightness(0) invert(1);
  opacity: 0.13;
  pointer-events: none;
  z-index: 0;
}
.hero-owid { position: relative; z-index: 1; }

/* Hero subtitle and BD context section */
.hero-subtitle {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 300;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
  max-width: 720px;
  margin: 14px auto 18px;
}

.hero-context {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  max-width: 880px;
  margin: 32px auto 24px;
  padding: 0 20px;
}
.context-stat {
  text-align: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 16px 14px;
}
.context-num {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 6px;
}
.context-label {
  display: block;
  font-size: 12.5px;
  color: rgba(255,255,255,0.75);
  line-height: 1.45;
}

@media (max-width: 640px) {
  .hero-subtitle { font-size: 15px; }
  .hero-context { gap: 12px; padding: 0 16px; }
  .context-stat { padding: 12px 10px; }
  .context-num { font-size: 24px; }
  .context-label { font-size: 11.5px; }
}

/* ============================================================
   ASK-BOX HINT + WAITLIST MODAL
   ============================================================ */
.ask-box-hint {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-light, #6b7280);
  font-family: 'Source Sans 3', sans-serif;
}

.wl-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 33, 71, 0.55);
  backdrop-filter: blur(3px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}
.wl-overlay.open { display: flex; }

.wl-modal {
  position: relative;
  background: #fff;
  border-radius: 14px;
  max-width: 440px;
  width: 100%;
  padding: 36px 32px 32px;
  box-shadow: 0 24px 60px rgba(0, 33, 71, 0.28);
  animation: wlPop 0.18s ease-out;
}
@keyframes wlPop {
  from { transform: translateY(12px) scale(0.98); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

.wl-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #9ca3af;
  cursor: pointer;
}
.wl-close:hover { color: #374151; }

.wl-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--navy, #002147);
  margin: 0 0 8px;
}
.wl-sub {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14.5px;
  color: #4b5563;
  margin: 0 0 20px;
  line-height: 1.5;
}
.wl-label {
  display: block;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy, #002147);
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.wl-textarea, .wl-input {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px;
  margin-bottom: 16px;
  resize: vertical;
}
.wl-textarea:focus, .wl-input:focus {
  outline: none;
  border-color: var(--navy, #002147);
  box-shadow: 0 0 0 3px rgba(0, 33, 71, 0.1);
}
.wl-submit {
  width: 100%;
  padding: 12px;
  background: var(--navy, #002147);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.wl-submit:hover { background: #00346f; }
.wl-submit:disabled { opacity: 0.6; cursor: default; }
.wl-error {
  color: #b91c1c;
  font-size: 13.5px;
  margin-top: 10px;
  font-family: 'Source Sans 3', sans-serif;
}
.wl-success { text-align: center; }
.wl-check {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
