/* ═══════════════════════════════════════════════════════
   DOST CARAGA REGION — PERFORMANCE REVIEW WEBSITE
   Shared Stylesheet
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700;9..144,800&family=IBM+Plex+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

/* ── RESET & BASE ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy:       #0b1e3d;
  --navy2:      #112549;
  --navy3:      #1a3360;
  --blue:       #1a56b0;
  --blue2:      #2563eb;
  --blue-light: #dbeafe;
  --gold:       #b8860b;
  --gold2:      #d4a017;
  --gold-light: #fef3c7;
  --teal:       #0f766e;
  --teal-light: #ccfbf1;
  --red:        #b91c1c;
  --red-light:  #fee2e2;
  --green:      #15803d;
  --green-light:#dcfce7;
  --purple:     #7e22ce;
  --purple-light:#f3e8ff;
  --slate:      #475569;
  --slate2:     #64748b;
  --slate3:     #94a3b8;
  --border:     #e2e8f0;
  --bg:         #f8fafc;
  --white:      #ffffff;
  --text:       #1e293b;
  --text2:      #334155;
  --text3:      #64748b;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Manrope', system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow:     0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg:  0 8px 30px rgba(0,0,0,0.12);
  --radius:     6px;
  --radius-lg:  10px;
}

html { scroll-behavior: smooth; }
html.js-enabled { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(26, 86, 176, 0.08), transparent 28%),
    radial-gradient(circle at right top, rgba(212, 160, 23, 0.08), transparent 22%),
    linear-gradient(180deg, #fbfcff 0%, #f7f9fc 38%, #f8fafc 100%);
  position: relative;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 20% 20%, rgba(212, 160, 23, 0.08), transparent 24%),
    radial-gradient(circle at 80% 0%, rgba(26, 86, 176, 0.08), transparent 20%);
  opacity: 0.7;
  z-index: -1;
}

::selection {
  background: rgba(26, 86, 176, 0.16);
  color: var(--navy);
}

/* ── NAVIGATION ── */
.site-nav {
  background: rgba(11, 30, 61, 0.9);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 3px solid var(--gold2);
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.nav-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold2), #f5c518);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--navy);
  flex-shrink: 0;
  letter-spacing: -0.5px;
}

.nav-brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-brand-text {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.nav-brand-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: 0.04em;
}

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

.nav-links a {
  display: block;
  padding: 6px 11px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 12px;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: 4px;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  transform: translateY(-1px);
}

.nav-links a.active {
  background: rgba(212,160,23,0.2);
  color: var(--gold2);
  border-bottom: 2px solid var(--gold2);
}

.nav-dropdown { position: relative; }

.nav-dropdown > a::after {
  content: ' ▾';
  font-size: 9px;
  opacity: 0.7;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  padding: 8px 0;
  z-index: 300;
}

.nav-dropdown:hover .nav-dropdown-menu { display: block; }

.nav-dropdown-menu a {
  display: block;
  padding: 8px 16px;
  color: var(--text2) !important;
  font-size: 12px;
  border-radius: 0;
  background: transparent !important;
  border-bottom: none !important;
}
.nav-dropdown-menu a:hover { background: var(--bg) !important; color: var(--blue) !important; }

.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: #fff; margin: 4px 0; border-radius: 2px; }

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 50%, var(--navy3) 100%);
  padding: 56px 24px 48px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold2), #f5c518, var(--gold2));
}

.page-hero-inner {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold2);
  font-family: var(--font-body);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--gold2);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.page-hero p {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  max-width: 640px;
  font-weight: 300;
  line-height: 1.65;
}

.hero-meta {
  display: flex;
  gap: 20px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.hero-badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-body);
  letter-spacing: 0.04em;
}

.hero-badge strong {
  color: var(--gold2);
  font-weight: 600;
}

/* ── MAIN CONTENT WRAPPER ── */
.content-wrap {
  max-width: 1300px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.content-narrow {
  max-width: 900px;
}

/* ── SECTION TITLES ── */
.section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-body);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 2px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.section-intro {
  font-size: 15px;
  color: var(--text3);
  max-width: 720px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.section-divider {
  height: 1px;
  background: var(--border);
  margin: 48px 0;
}

/* ── STAT CARDS ── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.stat-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: rgba(26, 86, 176, 0.18);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}

.stat-card.navy::before  { background: linear-gradient(90deg, var(--navy), var(--blue)); }
.stat-card.gold::before  { background: linear-gradient(90deg, var(--gold), var(--gold2)); }
.stat-card.teal::before  { background: linear-gradient(90deg, var(--teal), #0d9488); }
.stat-card.green::before { background: linear-gradient(90deg, var(--green), #16a34a); }
.stat-card.blue::before  { background: linear-gradient(90deg, var(--blue), var(--blue2)); }
.stat-card.red::before   { background: linear-gradient(90deg, var(--red), #dc2626); }
.stat-card.purple::before{ background: linear-gradient(90deg, var(--purple), #9333ea); }

.stat-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 12px;
  color: var(--text3);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.stat-note {
  font-size: 11px;
  color: var(--slate3);
  margin-top: 6px;
  font-style: italic;
}

.stat-trend {
  font-size: 11px;
  font-weight: 600;
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.stat-trend.up   { color: var(--green); }
.stat-trend.down { color: var(--red); }
.stat-trend.neutral { color: var(--slate2); }

/* ── PANELS / CARDS ── */
.panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.panel:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(26, 86, 176, 0.18);
}

.panel-header {
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fdfdfe;
}

.panel-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.2px;
}

.panel-subtitle {
  font-size: 11px;
  color: var(--text3);
  margin-top: 1px;
}

.panel-body {
  padding: 22px;
}

.panel-body.no-pad { padding: 0; }

/* ── GRID LAYOUTS ── */
.grid-2   { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3   { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.grid-4   { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.grid-1-2 { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; }

/* ── DISCUSSION / ANALYSIS BLOCKS ── */
.analysis-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--navy);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 24px 28px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.analysis-block.gold   { border-left-color: var(--gold); }
.analysis-block.teal   { border-left-color: var(--teal); }
.analysis-block.green  { border-left-color: var(--green); }
.analysis-block.blue   { border-left-color: var(--blue); }
.analysis-block.red    { border-left-color: var(--red); }
.analysis-block.purple { border-left-color: var(--purple); }

.analysis-block h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.analysis-block p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.8;
  margin-bottom: 10px;
}

.analysis-block p:last-child { margin-bottom: 0; }

.analysis-block p strong { color: var(--navy); font-weight: 600; }

/* ── KEY FINDINGS BOX ── */
.findings-box {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 32px;
  color: rgba(255,255,255,0.85);
}

.findings-box h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--gold2);
  margin-bottom: 16px;
  letter-spacing: -0.2px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 10px;
}

.findings-list {
  list-style: none;
}

.findings-list li {
  padding: 7px 0;
  font-size: 13.5px;
  line-height: 1.6;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.findings-list li:last-child { border-bottom: none; }

.findings-list li::before {
  content: '▸';
  color: var(--gold2);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── TABLES ── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.data-table thead th {
  text-align: left;
  padding: 10px 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text3);
  background: var(--bg);
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}

.data-table tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text2);
  vertical-align: top;
  font-size: 12.5px;
  line-height: 1.5;
}

.data-table tbody tr:last-child td { border-bottom: none; }

.data-table tbody tr:hover td {
  background: var(--bg);
  color: var(--text);
}

.data-table tbody td:first-child {
  font-weight: 600;
  color: var(--text);
}

/* ── TAGS / PILLS ── */
.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 10.5px;
  font-weight: 600;
  margin: 1px 2px;
  white-space: nowrap;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.tag-navy   { background: var(--blue-light); color: var(--navy); }
.tag-gold   { background: var(--gold-light); color: var(--gold); }
.tag-teal   { background: var(--teal-light); color: var(--teal); }
.tag-green  { background: var(--green-light); color: var(--green); }
.tag-red    { background: var(--red-light); color: var(--red); }
.tag-purple { background: var(--purple-light); color: var(--purple); }
.tag-grey   { background: #f1f5f9; color: var(--slate); }
.tag-blue   { background: var(--blue-light); color: var(--blue2); }

/* ── PROGRESS BARS ── */
.progress-row { margin-bottom: 16px; }

.progress-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  font-size: 12.5px;
}

.progress-meta span:first-child { color: var(--text2); }
.progress-meta span:last-child  { color: var(--text); font-weight: 600; font-family: var(--font-display); }

.progress-bar {
  height: 7px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 4px;
}

/* ── CHART WRAPPERS ── */
.chart-wrap    { position: relative; height: 240px; }
.chart-wrap-sm { position: relative; height: 170px; }
.chart-wrap-lg { position: relative; height: 320px; }
.chart-wrap-xl { position: relative; height: 420px; }

/* ── CALLOUT BOXES ── */
.callout {
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 13.5px;
  line-height: 1.65;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.callout-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.callout.info   { background: var(--blue-light);   border-left: 3px solid var(--blue2); }
.callout.warn   { background: var(--gold-light);   border-left: 3px solid var(--gold); }
.callout.good   { background: var(--green-light);  border-left: 3px solid var(--green); }
.callout.alert  { background: var(--red-light);    border-left: 3px solid var(--red); }

.callout .callout-body { color: var(--text2); }
.callout .callout-body strong { color: var(--text); }

/* ── FILTER BAR ── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.filter-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text3);
}

.filter-btn {
  padding: 5px 13px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text3);
  border-radius: 4px;
  cursor: pointer;
  font-size: 11.5px;
  font-family: var(--font-body);
  transition: all 0.15s;
}

.filter-btn:hover { border-color: var(--navy); color: var(--navy); }

.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.filter-select {
  padding: 5px 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text2);
  border-radius: 4px;
  cursor: pointer;
  font-size: 11.5px;
  font-family: var(--font-body);
  outline: none;
}

.filter-select:focus { border-color: var(--navy); }

.search-input {
  padding: 7px 14px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  border-radius: 4px;
  font-size: 13px;
  font-family: var(--font-body);
  outline: none;
  flex: 1;
  min-width: 200px;
}

.search-input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11,30,61,0.08); }
.search-input::placeholder { color: var(--slate3); }

/* ── HORIZON BANDS ── */
.horizon-band {
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  margin-bottom: 16px;
  border-left: 5px solid;
}

.horizon-band.h1 { background: var(--gold-light);  border-color: var(--gold); }
.horizon-band.h2 { background: var(--blue-light);  border-color: var(--blue2); }
.horizon-band.h3 { background: var(--purple-light); border-color: var(--purple); }

.horizon-band h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.horizon-band.h1 h4 { color: var(--gold); }
.horizon-band.h2 h4 { color: var(--blue); }
.horizon-band.h3 h4 { color: var(--purple); }

/* ── KR LIST ── */
.kr-list { list-style: none; }

.kr-list li {
  font-size: 12.5px;
  color: var(--text2);
  padding: 6px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.kr-list li:last-child { border-bottom: none; }

.kr-num {
  flex-shrink: 0;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 3px;
  margin-top: 1px;
  font-family: var(--font-mono);
}

/* ── OUTCOME CARDS ── */
.outcome-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.outcome-card .outcome-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}

.outcome-card h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}

.outcome-card p {
  font-size: 12px;
  color: var(--text3);
  line-height: 1.65;
}

/* ── PROVINCE CARD ── */
.province-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
  border-top: 4px solid;
}

.province-card:hover { box-shadow: var(--shadow); }

.province-card h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.province-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 4px 0;
  border-bottom: 1px solid var(--border);
}

.province-row:last-child { border-bottom: none; }
.province-row span:first-child { color: var(--text3); }
.province-row span:last-child  { color: var(--text); font-weight: 600; }

/* ── ECON METRIC ROW ── */
.econ-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.econ-row:last-child { border-bottom: none; }

.econ-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.econ-body { flex: 1; }

.econ-label { font-size: 12px; color: var(--text3); margin-bottom: 2px; }

.econ-value {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
}

.econ-note { font-size: 11.5px; color: var(--text3); margin-top: 2px; font-style: italic; }

/* ── SDG GRID ── */
.sdg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 8px;
}

.sdg-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 8px;
  text-align: center;
  font-size: 10px;
  color: var(--text2);
  border-top: 3px solid;
  box-shadow: var(--shadow-sm);
}

.sdg-num {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.sdg-label { font-size: 9px; color: var(--text3); line-height: 1.3; }

.sdg-count {
  font-size: 10px;
  font-weight: 700;
  margin-top: 5px;
  color: var(--blue);
}

/* ── PBBM GRID ── */
.pbbm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.pbbm-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
  border-top: 3px solid;
}

.pbbm-card:hover { box-shadow: var(--shadow); }

.pbbm-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}

.pbbm-label {
  font-size: 11px;
  color: var(--text2);
  line-height: 1.4;
  font-weight: 500;
}

.pbbm-count {
  font-size: 10px;
  color: var(--blue);
  font-weight: 700;
  margin-top: 7px;
  font-family: var(--font-mono);
}

/* ── TABLE SCROLL WRAPPER ── */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.table-wrap::-webkit-scrollbar { height: 5px; }
.table-wrap::-webkit-scrollbar-track { background: var(--bg); }
.table-wrap::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text3);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--blue); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--slate3); }

/* ── FOOTER ── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.55);
  padding: 32px 24px;
  margin-top: 0;
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-left {
  font-size: 12px;
  line-height: 1.7;
}

.footer-left strong { color: rgba(255,255,255,0.8); }

.footer-links {
  display: flex;
  gap: 16px;
  list-style: none;
  flex-wrap: wrap;
}

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

.footer-links a:hover { color: var(--gold2); }

/* ── UTILITY ── */
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

.text-center { text-align: center; }
.text-right  { text-align: right; }

.fw-700 { font-weight: 700; }
.font-display { font-family: var(--font-display); }
.font-mono    { font-family: var(--font-mono); }

.color-navy  { color: var(--navy); }
.color-gold  { color: var(--gold); }
.color-teal  { color: var(--teal); }
.color-green { color: var(--green); }
.color-red   { color: var(--red); }
.color-blue  { color: var(--blue); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.badge-navy   { background: var(--blue-light);  color: var(--navy); }
.badge-gold   { background: var(--gold-light);  color: var(--gold); }
.badge-green  { background: var(--green-light); color: var(--green); }
.badge-red    { background: var(--red-light);   color: var(--red); }
.badge-teal   { background: var(--teal-light);  color: var(--teal); }
.badge-purple { background: var(--purple-light);color: var(--purple); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-3  { grid-template-columns: 1fr 1fr; }
  .grid-4  { grid-template-columns: 1fr 1fr; }
  .grid-2-1 { grid-template-columns: 1fr; }
  .grid-1-2 { grid-template-columns: 1fr; }
  .pbbm-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2  { grid-template-columns: 1fr; }
  .grid-3  { grid-template-columns: 1fr; }
  .grid-4  { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .pbbm-grid { grid-template-columns: 1fr 1fr; }
  .content-wrap { padding: 28px 16px 60px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .pbbm-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
}

/* ── PRINT ── */
@media print {
  .site-nav, .site-footer { display: none; }
  .page-hero { background: var(--navy) !important; -webkit-print-color-adjust: exact; }
  .panel { box-shadow: none; border: 1px solid var(--border); }
}

/* â”€â”€ MOTION SYSTEM â”€â”€ */
.js-enabled .reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.js-enabled .reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js-enabled .hero-pop {
  animation: heroPop 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-transition-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  z-index: 9998;
  background:
    radial-gradient(circle at top right, rgba(212, 160, 23, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(7, 22, 45, 0.92), rgba(11, 30, 61, 0.96));
  backdrop-filter: blur(8px);
  transition: opacity 0.24s ease;
}

html.page-leaving .page-transition-overlay {
  opacity: 1;
}

html.page-leaving body {
  opacity: 0.92;
  transform: translateY(-4px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

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

@media (max-width: 480px) {
  .hero-nav-card { padding: 16px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js-enabled .reveal-item,
  .js-enabled .reveal-item.is-visible,
  .js-enabled .hero-pop {
    opacity: 1 !important;
    transform: none !important;
  }
  .page-transition-overlay {
    display: none !important;
  }
}
