/* ═══════════════════════════════════════════════════════
   Indochina Online — main.css  v1.0.0
   ═══════════════════════════════════════════════════════ */

/* ── CSS VARIABLES (overridden by Customizer via inline style) ── */
:root {
  --ink:         #0f1115;
  --ink-mid:     #2b2f36;
  --ink-light:   #6b7280;
  --cream:       #f7f4ef;
  --paper:       #fdfcfa;
  --rule:        #d4cfc9;
  --rule-dark:   #3a3f4a;
  --accent:      #c0392b;
  --accent-dark: #96281b;
  --gold:        #b8943f;
  --gold-light:  #d4aa55;
  --nav-bg:      #12151a;
  --feature-bg:  #1a1f28;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'IBM Plex Sans', sans-serif; background: var(--paper); color: var(--ink); font-size: 15px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ── CONTAINER ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ── LABELS ── */
.label { font-family: 'IBM Plex Sans', sans-serif; font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.label--geo { color: var(--gold); }
.label--biz { color: #1a6b3a; }
.label--culture { color: #6b3fa0; }

/* ── TOP BAR ── */
.top-bar { background: var(--ink); color: #9ca3af; font-size: 11.5px; padding: 7px 0; border-bottom: 1px solid #2a2e36; }
.top-bar__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-bar__date { color: var(--gold-light); font-weight: 500; }
.top-bar__ticker { flex: 1; overflow: hidden; max-width: 700px; min-width: 200px; }
.ticker-label { display: inline-block; background: var(--accent); color: #fff; font-weight: 700; font-size: 9px; letter-spacing: .12em; padding: 2px 7px; margin-right: 12px; vertical-align: middle; }
.ticker-track { display: inline-block; white-space: nowrap; animation: ticker 42s linear infinite; vertical-align: middle; }
.ticker-track a { color: #c9cdd5; text-decoration: none; margin-right: 40px; }
.ticker-track a:hover { color: var(--gold-light); }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.top-bar__links a { color: #9ca3af; text-decoration: none; margin-left: 16px; font-size: 11px; }
.top-bar__links a:hover { color: var(--gold-light); }

/* ── MASTHEAD ── */
.masthead { background: var(--nav-bg); padding: 18px 0 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 20px rgba(0,0,0,.4); }
.masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 14px; }
.logo__wordmark { font-family: 'Playfair Display', Georgia, serif; font-size: 26px; font-weight: 900; color: #fff; line-height: 1; text-decoration: none; }
.logo__wordmark span { color: var(--gold-light); }
.custom-logo { height: 48px; width: auto; }
.logo__tagline { font-size: 9.5px; color: #6b7280; letter-spacing: .16em; text-transform: uppercase; margin-top: 3px; font-weight: 300; }
.masthead__search { display: flex; align-items: center; background: rgba(255,255,255,.06); border: 1px solid #333; border-radius: 3px; padding: 6px 12px; gap: 8px; min-width: 180px; }
.masthead__search input { background: none; border: none; outline: none; color: #c9cdd5; font-size: 12px; width: 100%; font-family: 'IBM Plex Sans', sans-serif; }
.masthead__search input::placeholder { color: #555; }

/* ── PRIMARY NAV ── */
.primary-nav { border-top: 1px solid var(--rule-dark); }
.primary-nav__inner { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; list-style: none; }
.primary-nav__inner::-webkit-scrollbar { display: none; }
.primary-nav__inner li a,
.primary-nav__inner a { display: block; color: #b0b5be; text-decoration: none; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 11px 16px; white-space: nowrap; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.primary-nav__inner li a:hover,
.primary-nav__inner a:hover,
.primary-nav__inner li.current-menu-item a { color: #fff; border-bottom-color: var(--gold-light); }

/* ── REGION STRIP ── */
.region-strip { background: var(--cream); border-bottom: 1px solid var(--rule); overflow-x: auto; scrollbar-width: none; }
.region-strip::-webkit-scrollbar { display: none; }
.region-strip__inner { display: flex; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.region-tag { display: flex; align-items: center; gap: 7px; padding: 8px 16px 8px 0; text-decoration: none; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-light); border-right: 1px solid var(--rule); margin-right: 16px; white-space: nowrap; transition: color .2s; }
.region-tag:last-child { border-right: none; }
.region-tag:hover { color: var(--accent); }
.flag { width: 20px; height: 14px; border-radius: 2px; display: inline-block; flex-shrink: 0; }
.flag-vn { background: #da2820; position: relative; overflow: hidden; }
.flag-vn::after { content: '★'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); color: #ffcf00; font-size: 9px; line-height: 1; }
.flag-th { background: linear-gradient(to bottom, #a51931 33%, #fff 33% 66%, #2d2a4a 66%); }
.flag-kh { background: #032ea1; }
.flag-sg { background: linear-gradient(to bottom, #ef3340 50%, #fff 50%); }
.flag-my { background: linear-gradient(to bottom, #cc0001 0 14%, #fff 14% 28%, #cc0001 28% 43%, #fff 43% 57%, #cc0001 57% 71%, #fff 71% 86%, #cc0001 86%); }

/* ── BREAKING BAND ── */
.breaking-band { background: var(--accent); padding: 9px 0; }
.breaking-band__inner { display: flex; align-items: center; gap: 14px; }
.breaking-badge { background: #fff; color: var(--accent); font-size: 9.5px; font-weight: 800; letter-spacing: .14em; padding: 3px 8px; flex-shrink: 0; }
.breaking-text { color: #fff; font-size: 12.5px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.breaking-text a { color: #fff; text-decoration: none; }
.breaking-text a:hover { text-decoration: underline; }

/* ── DATA BAR ── */
.data-bar { background: #f0ece5; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.data-bar__inner { display: flex; align-items: center; height: 36px; overflow-x: auto; scrollbar-width: none; }
.data-bar__inner::-webkit-scrollbar { display: none; }
.data-point { display: flex; align-items: center; gap: 8px; padding: 0 18px; border-right: 1px solid var(--rule); white-space: nowrap; font-size: 11.5px; height: 100%; flex-shrink: 0; }
.data-point__name { font-weight: 600; color: var(--ink-mid); }
.data-point__chg.up { color: #16a34a; }
.data-point__chg.dn { color: var(--accent); }

/* ── HERO ── */
.hero { background: var(--feature-bg); }
.hero__grid { display: grid; grid-template-columns: 1fr 340px; min-height: 480px; max-width: 1200px; margin: 0 auto; }
.hero__lead { position: relative; overflow: hidden; min-height: 480px; cursor: pointer; }
.hero__lead-img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; filter: brightness(.6) saturate(.9); transition: transform .6s ease; }
.hero__lead:hover .hero__lead-img { transform: scale(1.03); }
.hero__lead-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent 0%, rgba(15,17,21,.85) 60%, rgba(15,17,21,.97) 100%); padding: 40px 36px 36px; }
.hero__lead-title { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(22px, 3.2vw, 36px); font-weight: 700; color: #fff; line-height: 1.22; margin: 10px 0 12px; }
.hero__lead-excerpt { font-family: 'Source Serif 4', Georgia, serif; font-size: 14.5px; color: #b0b8c4; line-height: 1.6; margin-bottom: 18px; font-weight: 300; }
.hero__lead-meta { font-size: 11px; color: #6b7280; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; }
.hero__stack { border-left: 1px solid var(--rule-dark); display: flex; flex-direction: column; }
.hero__stack-item { flex: 1; padding: 18px 22px; border-bottom: 1px solid var(--rule-dark); cursor: pointer; transition: background .2s; display: flex; gap: 14px; align-items: flex-start; }
.hero__stack-item:last-child { border-bottom: none; }
.hero__stack-item:hover { background: rgba(255,255,255,.04); }
.hero__stack-thumb { width: 80px; height: 60px; object-fit: cover; flex-shrink: 0; border-radius: 2px; filter: brightness(.8); }
.hero__stack-title { font-family: 'Playfair Display', Georgia, serif; font-size: 14px; font-weight: 600; color: #d8dce4; line-height: 1.35; margin: 5px 0 5px; }
.hero__stack-meta { font-size: 10.5px; color: #555b68; text-transform: uppercase; letter-spacing: .06em; font-weight: 500; }

/* ── SECTION ── */
.section { padding: 40px 0; }
.section--shaded { background: var(--cream); }
.section__head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 24px; border-bottom: 2px solid var(--ink); padding-bottom: 10px; }
.section__title { font-family: 'Playfair Display', Georgia, serif; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.section__more { margin-left: auto; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); text-decoration: none; flex-shrink: 0; }
.section__more:hover { text-decoration: underline; }

/* ── CARD GRID ── */
.card-grid { display: grid; gap: 24px; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { display: flex; flex-direction: column; }
.card__img-wrap { overflow: hidden; border-radius: 2px; aspect-ratio: 16/9; background: #e5e2dc; }
.card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card__img--placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #e5e2dc 0%, #d4cfc9 100%); }
.card:hover .card__img { transform: scale(1.04); }
.card__body { padding: 14px 0 0; flex: 1; }
.card__title { font-family: 'Playfair Display', Georgia, serif; font-size: 16px; font-weight: 600; line-height: 1.32; color: var(--ink); margin: 7px 0 9px; text-decoration: none; display: block; }
.card__title:hover { color: var(--accent); }
.card__excerpt { font-family: 'Source Serif 4', Georgia, serif; font-size: 13.5px; color: var(--ink-light); line-height: 1.6; font-weight: 300; margin-bottom: 10px; }
.card__meta { font-size: 11px; color: #9ca3af; text-transform: uppercase; letter-spacing: .07em; font-weight: 500; }

/* ── LAYOUT WITH SIDEBAR ── */
.layout-with-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }

/* ── SIDEBAR ── */
.sidebar-widget { background: var(--cream); border: 1px solid var(--rule); border-top: 3px solid var(--ink); padding: 20px; margin-bottom: 24px; border-radius: 2px; }
.sidebar-widget__title { font-family: 'Playfair Display', Georgia, serif; font-size: 14px; font-weight: 700; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
.sidebar-list { list-style: none; }
.sidebar-list li { padding: 9px 0; border-bottom: 1px dotted var(--rule); font-size: 13px; line-height: 1.4; display: flex; gap: 8px; align-items: baseline; }
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list__num { font-size: 11px; font-weight: 700; color: var(--accent); min-width: 16px; }
.sidebar-list a { color: var(--ink-mid); text-decoration: none; font-family: 'Source Serif 4', Georgia, serif; }
.sidebar-list a:hover { color: var(--accent); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.topic-tag { background: var(--cream); border: 1px solid var(--rule); padding: 4px 10px; font-size: 11.5px; border-radius: 2px; text-decoration: none; color: var(--ink-mid); transition: all .2s; }
.topic-tag:hover { border-color: var(--accent); color: var(--accent); }

/* ── NEWSLETTER ── */
.newsletter-widget { background: var(--ink); color: #fff; padding: 22px 20px; border-radius: 2px; margin-bottom: 24px; }
.newsletter-widget__title { font-family: 'Playfair Display', Georgia, serif; font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.newsletter-widget__subtitle { font-size: 12px; color: #718096; margin-bottom: 14px; line-height: 1.5; font-style: italic; font-family: 'Source Serif 4', Georgia, serif; }
.newsletter-widget input[type=email] { width: 100%; background: rgba(255,255,255,.08); border: 1px solid #374151; color: #e5e7eb; padding: 9px 12px; font-size: 13px; border-radius: 2px; margin-bottom: 8px; font-family: 'IBM Plex Sans', sans-serif; outline: none; }
.newsletter-widget input[type=email]::placeholder { color: #4b5563; }

/* ── BUTTONS ── */
.btn { display: inline-block; padding: 9px 18px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; border: none; border-radius: 2px; text-decoration: none; transition: background .2s; font-family: 'IBM Plex Sans', sans-serif; }
.btn--primary { background: var(--accent); color: #fff; width: 100%; text-align: center; }
.btn--primary:hover { background: var(--accent-dark); }
.btn--outline { background: transparent; color: var(--gold-light); border: 1px solid var(--gold-light); }
.btn--outline:hover { background: rgba(184,148,63,.12); }

/* ── ANALYSIS STRIP ── */
.analysis-strip { background: var(--ink); padding: 36px 0; }
.analysis-strip .section__head { border-bottom-color: var(--gold-light); }
.analysis-strip .section__title { color: #fff; }
.analysis-strip .section__more { color: var(--gold-light); }
.analysis-card { background: rgba(255,255,255,.04); border: 1px solid var(--rule-dark); border-top: 3px solid var(--gold); padding: 22px 20px; border-radius: 2px; cursor: pointer; transition: background .2s, transform .2s; }
.analysis-card:hover { background: rgba(255,255,255,.07); transform: translateY(-2px); }
.analysis-card__eyebrow { font-size: 9.5px; color: var(--gold-light); letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin-bottom: 8px; }
.analysis-card__title { font-family: 'Playfair Display', Georgia, serif; font-size: 16px; font-weight: 600; color: #e2e5ea; line-height: 1.35; margin-bottom: 10px; }
.analysis-card__blurb { font-family: 'Source Serif 4', Georgia, serif; font-size: 13px; color: #718096; line-height: 1.6; font-weight: 300; font-style: italic; }

/* ── DATA TEASER ── */
.data-teaser { background: var(--ink); padding: 40px 0; border-top: 3px solid var(--gold); }
.data-teaser .section__head { border-bottom-color: var(--gold); }
.data-teaser .section__title { color: #fff; }
.data-teaser .section__more { color: var(--gold-light); }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.kpi-card { background: rgba(255,255,255,.05); border: 1px solid var(--rule-dark); border-top: 3px solid var(--gold); padding: 18px 16px 14px; border-radius: 2px; }
.kpi-card__country { font-size: 9.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 4px; }
.kpi-card__label { font-size: 11px; color: #6b7280; margin-bottom: 8px; }
.kpi-card__value { font-family: 'Playfair Display', Georgia, serif; font-size: 26px; font-weight: 700; color: #fff; line-height: 1; margin-bottom: 6px; }
.kpi-card__change { font-size: 11.5px; font-weight: 600; }
.kpi-card__change.up { color: #4ade80; }
.kpi-card__change.dn { color: #f87171; }
.kpi-card__sub { font-size: 10px; color: #4b5563; margin-top: 4px; }
.data-cta { text-align: center; padding-top: 24px; border-top: 1px solid var(--rule-dark); }
.data-cta__text { font-family: 'Source Serif 4', Georgia, serif; font-size: 13.5px; color: #6b7280; font-style: italic; margin-bottom: 14px; }

/* ── REGION TABS ── */
.region-tabs { display: flex; border-bottom: 2px solid var(--rule); margin-bottom: 28px; overflow-x: auto; scrollbar-width: none; }
.region-tabs::-webkit-scrollbar { display: none; }
.region-tab { padding: 9px 20px; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; color: var(--ink-light); white-space: nowrap; transition: color .2s, border-color .2s; display: flex; align-items: center; gap: 7px; }
.region-tab.active, .region-tab:hover { color: var(--ink); border-bottom-color: var(--accent); }

/* ── SINGLE ARTICLE ── */
.article-header { margin-bottom: 28px; }
.article-header__meta-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.article-header__date { font-size: 11px; color: var(--ink-light); text-transform: uppercase; letter-spacing: .08em; }
.article-header__title { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(24px, 4vw, 42px); font-weight: 700; line-height: 1.18; margin-bottom: 16px; }
.article-header__excerpt { font-family: 'Source Serif 4', Georgia, serif; font-size: 18px; color: var(--ink-light); line-height: 1.6; font-weight: 300; margin-bottom: 16px; }
.article-header__byline { font-size: 12px; color: var(--ink-light); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.article-header__sep { color: var(--rule); }
.article-hero-img { margin-bottom: 32px; border-radius: 2px; overflow: hidden; }
.article-hero-img__img { width: 100%; }
.article-hero-img__caption { font-size: 12px; color: var(--ink-light); font-style: italic; padding: 8px 0; border-bottom: 1px solid var(--rule); font-family: 'Source Serif 4', Georgia, serif; }
.article-body { font-family: 'Source Serif 4', Georgia, serif; font-size: 17px; line-height: 1.8; color: var(--ink-mid); margin-bottom: 32px; }
.article-body p { margin-bottom: 1.4em; }
.article-body h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 22px; font-weight: 700; margin: 2em 0 .8em; }
.article-body h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 18px; margin: 1.6em 0 .6em; }
.article-body blockquote { border-left: 3px solid var(--gold); padding-left: 20px; margin: 1.5em 0; font-style: italic; color: var(--ink-light); }
.article-body a { color: var(--accent); text-decoration: underline; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 32px; padding-top: 20px; border-top: 1px solid var(--rule); }
.article-tags__label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-light); }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--rule); }
.article-nav__label { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-light); }
.article-nav a { font-family: 'Playfair Display', Georgia, serif; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; }
.article-nav a:hover { color: var(--accent); }

/* ── DASHBOARD PAGE ── */
.dash-hero { background: var(--ink); padding: 32px 0 28px; border-bottom: 3px solid var(--gold); margin-bottom: 32px; }
.dash-hero__title { font-family: 'Playfair Display', Georgia, serif; font-size: 32px; font-weight: 900; color: #fff; margin-bottom: 6px; }
.dash-hero__sub { font-size: 13px; color: #6b7280; font-style: italic; font-family: 'Source Serif 4', Georgia, serif; }
.dash-hero__updated { font-size: 10.5px; color: var(--gold-light); letter-spacing: .08em; margin-top: 10px; font-weight: 500; }
.dashboard-page { padding: 0 0 60px; }
.dash-section-title { font-family: 'Playfair Display', Georgia, serif; font-size: 16px; font-weight: 700; padding-bottom: 8px; border-bottom: 2px solid var(--ink); margin-bottom: 18px; }
.dash-block { margin-bottom: 40px; }
.dash-layout { display: grid; grid-template-columns: 1fr 280px; gap: 32px; align-items: start; }
.source-note { font-size: 10.5px; color: #9ca3af; font-style: italic; margin-top: 8px; font-family: 'Source Serif 4', Georgia, serif; }

/* FX Table */
.fx-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.fx-table th { text-align: left; font-size: 9.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #9ca3af; padding: 8px 12px; border-bottom: 1px solid var(--rule); background: var(--cream); }
.fx-table td { padding: 11px 12px; border-bottom: 1px solid var(--rule); color: var(--ink-mid); }
.fx-table tr:last-child td { border-bottom: none; }
.fx-table tr:hover td { background: var(--cream); }
.flag-cell { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.fx-table .up { color: #16a34a; font-weight: 600; }
.fx-table .dn { color: var(--accent); font-weight: 600; }
.fx-table .val { font-weight: 500; }

/* Index cards */
.index-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.index-card { border: 1px solid var(--rule); border-top: 3px solid var(--ink); padding: 16px; border-radius: 2px; }
.index-card__name { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-light); margin-bottom: 6px; }
.index-card__val { font-family: 'Playfair Display', Georgia, serif; font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.index-card__chg { font-size: 12px; font-weight: 600; }
.index-card__chg.up { color: #16a34a; }
.index-card__chg.dn { color: var(--accent); }
.index-card__range { font-size: 10.5px; color: #9ca3af; margin-top: 6px; }

/* Econ tables */
.econ-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.econ-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.econ-table th { text-align: left; font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #9ca3af; padding: 7px 10px; border-bottom: 1px solid var(--rule); background: var(--cream); }
.econ-table td { padding: 9px 10px; border-bottom: 1px solid var(--rule); color: var(--ink-mid); }
.econ-table .metric { font-weight: 500; color: var(--ink); }
.econ-table .good { color: #16a34a; font-weight: 600; }
.econ-table .warn { color: #d97706; font-weight: 600; }
.econ-table .bad  { color: var(--accent); font-weight: 600; }

/* ── MAP (used in page-map.php with its own head) ── */
.map-fullscreen .map-header { position: fixed; top: 0; left: 0; right: 0; height: 52px; background: var(--nav-bg); border-bottom: 2px solid var(--accent); z-index: 1000; display: flex; align-items: center; padding: 0 16px; gap: 16px; }
.map-header__logo { font-family: 'Playfair Display', Georgia, serif; font-size: 18px; font-weight: 900; color: #fff; text-decoration: none; white-space: nowrap; }
.map-header__logo span { color: var(--gold-light); }
.map-header__title { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #6b7280; border-left: 1px solid #333; padding-left: 16px; white-space: nowrap; }
.map-header__spacer { flex: 1; }
.map-header__back { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #6b7280; text-decoration: none; padding: 5px 12px; border: 1px solid #333; border-radius: 2px; transition: all .2s; }
.map-header__back:hover { color: var(--gold-light); border-color: var(--gold); }

/* ── FOOTER ── */
.footer { background: #0c0e12; color: #6b7280; padding: 50px 0 28px; border-top: 2px solid var(--accent); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid var(--rule-dark); margin-bottom: 24px; }
.footer__brand-name { font-family: 'Playfair Display', Georgia, serif; font-size: 20px; font-weight: 900; color: #fff; margin-bottom: 8px; }
.footer__brand-name span { color: var(--gold-light); }
.footer__brand-desc { font-size: 12.5px; line-height: 1.7; color: #4b5563; margin-bottom: 16px; font-family: 'Source Serif 4', Georgia, serif; font-style: italic; }
.footer__col-title { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 14px; }
.footer__links { list-style: none; }
.footer__links li { margin-bottom: 8px; }
.footer__links a { color: #4b5563; font-size: 12.5px; text-decoration: none; transition: color .2s; }
.footer__links a:hover { color: #9ca3af; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: #374151; flex-wrap: wrap; gap: 12px; }
.footer__bottom a { color: #374151; text-decoration: none; }

/* ── ANIMATIONS ── */
.fade-in { opacity: 0; transform: translateY(16px); animation: fadeUp .5s ease forwards; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.fade-in:nth-child(1) { animation-delay: .05s; }
.fade-in:nth-child(2) { animation-delay: .12s; }
.fade-in:nth-child(3) { animation-delay: .19s; }
.fade-in:nth-child(4) { animation-delay: .26s; }

/* ── NAV TOGGLE ── */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; flex-direction: column; gap: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #b0b5be; border-radius: 1px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__lead { min-height: 340px; }
  .hero__stack { border-left: none; border-top: 1px solid var(--rule-dark); }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-layout { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 900px) {
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .layout-with-sidebar { grid-template-columns: 1fr; }
  .index-grid { grid-template-columns: repeat(2, 1fr); }
  .econ-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .primary-nav__inner { display: none; }
  .primary-nav__inner.open { display: flex; flex-direction: column; }
  .primary-nav__inner a { border-bottom: 1px solid var(--rule-dark); padding: 12px 16px; }
}
@media (max-width: 640px) {
  .card-grid--3, .card-grid--4 { grid-template-columns: 1fr; }
  .top-bar__links { display: none; }
  .masthead__search { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__lead-overlay { padding: 24px 20px 22px; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .index-grid { grid-template-columns: 1fr 1fr; }
}
