/* MapVista — editorial geographic stylesheet
   Palette: deep ocean blues, warm sand, crisp white. Typography: Spectral (serif), Inter Tight (sans), Fraunces (display). */
:root {
  --ocean-deep:  #082c4a;
  --ocean:       #0b3954;
  --ocean-mid:   #1c5d83;
  --ocean-soft:  #d6e3ee;
  --ocean-line:  #c5d3df;
  --sand-deep:   #c2a878;
  --sand:        #e8d8b9;
  --sand-soft:   #f5edd8;
  --cream:       #fbf7ee;
  --paper:       #ffffff;
  --ink:         #0e1a26;
  --ink-mid:     #2c3e50;
  --ink-soft:    #5a6b7a;
  --ink-faint:   #8c98a3;
  --line:        #e6dfd1;
  --line-strong: #cdc4b0;
  --coral:       #d96f4e;
  --coral-soft:  #f4d6c8;
  --leaf:        #2d5d4f;
  --max:         1240px;
  --max-narrow:  920px;
  --radius:      12px;
  --radius-lg:   18px;
  --shadow-sm:   0 1px 0 rgba(8,44,74,.06), 0 4px 12px -8px rgba(8,44,74,.18);
  --shadow:      0 1px 0 rgba(8,44,74,.06), 0 18px 40px -28px rgba(8,44,74,.32);
  --shadow-lg:   0 30px 60px -28px rgba(8,44,74,.45);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Spectral", ui-serif, Georgia, "Iowan Old Style", "Source Serif Pro", serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--ocean-mid); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ocean-deep); text-decoration-thickness: 2px; }

h1, h2, h3, h4 {
  font-family: "Fraunces", "Spectral", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ocean-deep);
  margin-top: 0;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 2.4vw, 2rem); margin-top: 2.4rem; font-variation-settings: "opsz" 96; }
h3 { font-size: 1.2rem; margin-top: 1.6rem; font-variation-settings: "opsz" 24; }
h4 { font-size: 1rem; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: var(--max-narrow); margin: 0 auto; padding: 0 28px; }
.eyebrow {
  font-family: "Inter Tight", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--coral);
  margin: 0 0 8px;
}
.muted { color: var(--ink-soft); }

/* ───── Header ───── */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 1px 0 rgba(8,44,74,.04);
}
.header-grid { display: flex; align-items: center; justify-content: space-between; padding: 16px 28px; gap: 28px; max-width: var(--max); margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ocean-deep); }
.brand:hover { color: var(--ocean); }
.brand-mark { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--ocean-deep); color: var(--sand); font-family: "Fraunces", serif; font-size: 22px; font-weight: 700; box-shadow: inset 0 -2px 0 rgba(255,255,255,.06); }
.brand-name { font-family: "Fraunces", serif; font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; }
.brand-tag { display: block; font-family: "Inter Tight", sans-serif; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink-faint); font-weight: 500; margin-top: -2px; }
.primary-nav { display: flex; gap: 26px; flex-wrap: wrap; font-family: "Inter Tight", system-ui, sans-serif; font-size: 0.93rem; font-weight: 500; }
.primary-nav a { color: var(--ink-mid); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.primary-nav a:hover { color: var(--ocean-deep); border-bottom-color: var(--coral); }
@media (max-width: 720px) {
  .header-grid { flex-direction: column; align-items: flex-start; gap: 14px; padding: 16px 24px 12px; }
  .primary-nav { font-size: 0.88rem; gap: 16px; }
  .brand-tag { display: none; }
}

/* ───── Breadcrumbs ───── */
.breadcrumbs { background: var(--cream); border-bottom: 1px solid var(--line); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 12px 28px; max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 0.85rem; color: var(--ink-soft); font-family: "Inter Tight", sans-serif; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--ink-faint); }
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ocean-deep); text-decoration: underline; }

/* ───── Main ───── */
.site-main { padding: 36px 28px 80px; max-width: var(--max); margin: 0 auto; }
@media (min-width: 900px) { .site-main { padding-top: 48px; } }

/* ───── Hero ───── */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean) 55%, var(--ocean-mid) 100%);
  color: var(--sand-soft);
  border-radius: var(--radius-lg);
  padding: 56px 48px 48px;
  overflow: hidden;
  margin-bottom: 56px;
  box-shadow: var(--shadow-lg);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 400px at 90% 0%, rgba(216,176,100,.18), transparent 60%),
    radial-gradient(600px 360px at 10% 100%, rgba(255,255,255,.07), transparent 60%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { color: var(--paper); font-size: clamp(2.4rem, 4.6vw, 3.8rem); font-weight: 700; margin: 14px 0 18px; }
.hero .lede { color: rgba(255,253,247,.84); font-size: 1.18rem; max-width: 36em; line-height: 1.55; }
.hero .eyebrow { color: var(--sand-deep); }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 28px 0 30px; }
.hero-stats div { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); border-radius: 10px; padding: 14px 16px; backdrop-filter: blur(6px); }
.hero-stats strong { display: block; font-family: "Fraunces", serif; font-size: 1.7rem; color: var(--sand); font-weight: 700; line-height: 1; margin-bottom: 4px; }
.hero-stats span { font-size: 0.78rem; color: rgba(255,255,255,.7); font-family: "Inter Tight", sans-serif; text-transform: uppercase; letter-spacing: 0.1em; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  background: var(--coral);
  color: var(--paper);
  text-decoration: none;
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform .12s ease, background .12s ease;
}
.btn:hover { background: #c45f3f; transform: translateY(-1px); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--sand); border: 1.5px solid rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.08); color: var(--paper); border-color: var(--paper); }
.btn-solid { background: var(--ocean-deep); color: var(--paper); }
.btn-solid:hover { background: #061f33; color: var(--paper); }
.btn-outline { background: transparent; color: var(--ocean-deep); border: 1.5px solid var(--ocean-deep); }
.btn-outline:hover { background: var(--ocean-deep); color: var(--paper); }

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
}
.hero-map {
  width: 100%;
  height: auto;
  max-height: 420px;
  filter: drop-shadow(0 18px 32px rgba(0,0,0,.35));
}
.hero-map .land { fill: var(--sand); stroke: var(--sand-deep); stroke-width: 0.5; opacity: 0.95; }
.hero-map .grid-line { stroke: rgba(255,255,255,.08); stroke-width: 0.4; fill: none; }
.hero-map .equator { stroke: rgba(216,176,100,.55); stroke-dasharray: 4 4; stroke-width: 0.7; }
.hero-map .marker { fill: var(--coral); stroke: var(--paper); stroke-width: 1.5; filter: drop-shadow(0 2px 4px rgba(0,0,0,.3)); }

@media (max-width: 900px) {
  .hero { padding: 40px 28px 36px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ───── Sections ───── */
.section { margin: 64px 0; }
.section-head { margin-bottom: 28px; max-width: 60ch; }
.section-head h2 { margin-top: 0; }
.section-head p { color: var(--ink-soft); margin: 8px 0 0; font-size: 1.05rem; }
.section-divider { height: 1px; background: var(--line); margin: 56px 0; border: none; }

.page-head { padding: 16px 0 24px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.page-head .eyebrow { margin-bottom: 6px; }
.page-head h1 { margin: 0 0 12px; }
.page-head .lede { color: var(--ink-soft); font-size: 1.18rem; max-width: 70ch; margin: 0; }
.page-head .stats-row { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 16px; font-family: "Inter Tight", sans-serif; font-size: 0.92rem; color: var(--ink-mid); }
.page-head .stats-row strong { color: var(--ocean-deep); font-weight: 700; }

/* ───── Region/Continent cards ───── */
.card-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.region-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.country-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  overflow: hidden;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--ocean-line); }
.card-link { display: block; padding: 22px 22px 24px; text-decoration: none; color: var(--ink); }
.card-link h2, .card-link h3 { margin: 0 0 8px; color: var(--ocean-deep); }
.card-meta { font-family: "Inter Tight", sans-serif; font-size: 0.85rem; color: var(--ink-soft); margin: 0 0 12px; }
.card-meta strong { color: var(--ocean-deep); font-weight: 600; }
.card-body { color: var(--ink-mid); font-size: 0.97rem; margin: 0 0 14px; line-height: 1.55; }
.card-cta { font-family: "Inter Tight", sans-serif; font-size: 0.88rem; color: var(--coral); font-weight: 600; letter-spacing: 0.02em; }
.card-cta::after { content: " →"; transition: margin .15s ease; }
.card-link:hover .card-cta::after { margin-left: 4px; }

.region-card { display: grid; grid-template-rows: auto 1fr auto; }
.region-card .card-flag-strip { display: flex; gap: 4px; padding: 14px 22px 0; flex-wrap: nowrap; overflow: hidden; }
.region-card .card-flag-strip img { width: 28px; height: 20px; object-fit: cover; border-radius: 3px; border: 1px solid var(--line); }

.country-card .flag-thumb { aspect-ratio: 3/2; background: var(--cream); border-radius: 8px; overflow: hidden; margin-bottom: 14px; border: 1px solid var(--line); }
.country-card .flag-thumb img { width: 100%; height: 100%; object-fit: cover; }
.country-card h3 { font-size: 1.1rem; }

/* ───── Featured spotlight ───── */
.spotlight { background: linear-gradient(135deg, var(--paper) 0%, var(--sand-soft) 100%); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.spotlight-grid { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: center; }
.spotlight-flag { aspect-ratio: 3/2; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.spotlight-flag img { width: 100%; height: 100%; object-fit: cover; }
.spotlight-text h3 { font-size: 2rem; margin: 0 0 8px; color: var(--ocean-deep); }
.spotlight-meta { font-family: "Inter Tight", sans-serif; color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 14px; }
.spotlight-text p { color: var(--ink-mid); margin: 10px 0; }
.spotlight-stats { display: flex; flex-wrap: wrap; gap: 14px 28px; margin: 16px 0; font-family: "Inter Tight", sans-serif; font-size: 0.9rem; }
.spotlight-stats div strong { display: block; color: var(--ocean-deep); font-size: 1.1rem; font-family: "Fraunces", serif; }
.spotlight-stats div span { color: var(--ink-soft); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }
@media (max-width: 760px) { .spotlight-grid { grid-template-columns: 1fr; } }

/* ───── Stat / pitch grids ───── */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.feature {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--coral);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.feature h3 { margin: 0 0 8px; color: var(--ocean-deep); font-size: 1.1rem; }
.feature p { margin: 0; color: var(--ink-mid); font-size: 0.97rem; }
.feature-icon { font-family: "Fraunces", serif; font-size: 1.6rem; color: var(--coral); margin-bottom: 8px; display: block; }

.pitch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 800px) { .pitch-grid { grid-template-columns: 1fr; gap: 28px; } }
.check-list { list-style: none; padding: 0; margin: 16px 0 0; }
.check-list li { padding-left: 28px; position: relative; margin-bottom: 8px; color: var(--ink-mid); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--coral-soft);
  background-image: linear-gradient(135deg, transparent 30%, var(--coral) 30% 70%, transparent 70%);
}

/* ───── Country tables ───── */
.data-table-wrap { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.data-table { width: 100%; border-collapse: collapse; font-family: "Inter Tight", sans-serif; font-size: 0.92rem; }
.data-table thead { background: var(--ocean-deep); color: var(--sand-soft); }
.data-table th { text-align: left; padding: 12px 16px; font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }
.data-table th button { background: none; border: none; color: inherit; font: inherit; cursor: pointer; padding: 0; text-transform: inherit; letter-spacing: inherit; display: inline-flex; align-items: center; gap: 4px; }
.data-table th button:hover { color: var(--sand); }
.data-table th[aria-sort="ascending"] button::after { content: "▲"; font-size: 0.7em; color: var(--coral); }
.data-table th[aria-sort="descending"] button::after { content: "▼"; font-size: 0.7em; color: var(--coral); }
.data-table tbody tr { border-bottom: 1px solid var(--line); transition: background .1s; }
.data-table tbody tr:last-child { border-bottom: none; }
.data-table tbody tr:hover { background: var(--cream); }
.data-table td { padding: 11px 16px; vertical-align: middle; color: var(--ink); }
.data-table .num { font-variant-numeric: tabular-nums; color: var(--ink-mid); text-align: right; }
.data-table .country-cell { display: flex; align-items: center; gap: 12px; min-width: 200px; }
.data-table .country-cell a { color: var(--ocean-deep); text-decoration: none; font-weight: 600; }
.data-table .country-cell a:hover { color: var(--coral); }
.flag-tiny { width: 32px; height: 22px; object-fit: cover; border-radius: 3px; border: 1px solid var(--line); flex-shrink: 0; }
.flag-mini { width: 22px; height: 16px; object-fit: cover; border-radius: 2px; border: 1px solid var(--line); flex-shrink: 0; }
@media (max-width: 720px) {
  .data-table .hide-sm { display: none; }
  .data-table th, .data-table td { padding: 10px 10px; font-size: 0.85rem; }
}

/* ───── Subregion chips ───── */
.chip-grid { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--ocean-line);
  color: var(--ocean-deep);
  text-decoration: none;
  font-family: "Inter Tight", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
}
.chip:hover { background: var(--ocean-deep); color: var(--paper); border-color: var(--ocean-deep); }
.chip span { background: var(--coral-soft); color: var(--coral); border-radius: 999px; padding: 1px 9px; font-size: 0.75rem; font-weight: 600; }
.chip:hover span { background: var(--coral); color: var(--paper); }

/* ───── Layout with aside ───── */
.layout-with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
@media (max-width: 980px) { .layout-with-aside { grid-template-columns: 1fr; } }

.aside { display: flex; flex-direction: column; gap: 18px; }
.aside-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.aside-card h3 { margin: 0 0 12px; font-size: 1rem; color: var(--ocean-deep); padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.aside-list, .aside-facts { list-style: none; padding: 0; margin: 0; font-family: "Inter Tight", sans-serif; font-size: 0.92rem; }
.aside-list li + li { margin-top: 8px; }
.aside-list a { color: var(--ocean-deep); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.aside-list a:hover { color: var(--coral); }
.aside-facts li { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; border-bottom: 1px dashed var(--line); gap: 12px; }
.aside-facts li:last-child { border-bottom: none; }
.aside-facts strong { color: var(--ink-soft); font-weight: 500; font-size: 0.85rem; }
.aside-facts span, .aside-facts a { color: var(--ink); font-weight: 600; text-align: right; }

/* Editorial recommendations card (PBN slot host) */
.recommend-card { background: var(--sand-soft); border: 1px solid var(--sand-deep); }
.recommend-card h3 { color: var(--ocean-deep); border-bottom-color: var(--sand-deep); }
.recommend-card .recommend-blurb { font-family: "Spectral", serif; font-style: italic; color: var(--ink-mid); font-size: 0.92rem; margin: -4px 0 12px; }
.recommend-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-family: "Inter Tight", sans-serif; font-size: 0.93rem; }
.recommend-list li { padding-left: 18px; position: relative; line-height: 1.4; }
.recommend-list li::before { content: "→"; position: absolute; left: 0; top: 0; color: var(--coral); font-weight: 700; }
.recommend-list a { color: var(--ocean-deep); text-decoration: none; border-bottom: 1px solid transparent; }
.recommend-list a:hover { color: var(--coral); border-bottom-color: var(--coral); }

/* ───── Country page ───── */
.country-head { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: center; padding: 8px 0 32px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.country-flag { position: relative; }
.country-flag img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.country-flag .flag-caption { font-family: "Inter Tight", sans-serif; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint); margin-top: 10px; text-align: center; }
.country-head-text .eyebrow { color: var(--coral); }
.country-head-text h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin: 6px 0 8px; }
.country-head-text .official-name { font-style: italic; color: var(--ink-soft); margin: 0 0 16px; font-size: 1.05rem; }
.country-head-text .lede { color: var(--ink-mid); font-size: 1.1rem; max-width: 60ch; margin: 0 0 24px; }
.quick-facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px 24px; font-family: "Inter Tight", sans-serif; }
.quick-facts li { display: flex; flex-direction: column; gap: 2px; padding-left: 14px; border-left: 2px solid var(--coral); }
.quick-facts strong { font-weight: 500; color: var(--ink-soft); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; }
.quick-facts span { color: var(--ocean-deep); font-size: 1.05rem; font-weight: 600; }
@media (max-width: 760px) {
  .country-head { grid-template-columns: 1fr; gap: 24px; }
  .country-flag { max-width: 360px; }
}

.country-body section { margin-bottom: 36px; }
.country-body section h2 { display: flex; align-items: center; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.country-body section h2::before { content: ""; width: 28px; height: 3px; background: var(--coral); display: inline-block; flex-shrink: 0; }
.country-body p { margin: 0 0 1.05em; font-size: 1.04rem; line-height: 1.7; }
.country-body p strong { color: var(--ocean-deep); }

.kv-grid { list-style: none; padding: 0; margin: 14px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.kv-grid li {
  display: flex; flex-direction: column; padding: 12px 14px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 8px;
  font-family: "Inter Tight", sans-serif; font-size: 0.95rem;
}
.kv-grid strong { font-weight: 600; color: var(--ocean-deep); }
.kv-grid span { color: var(--ink-soft); font-size: 0.85rem; margin-top: 2px; }

.border-grid { list-style: none; padding: 0; margin: 14px 0; display: flex; flex-wrap: wrap; gap: 10px; }
.border-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 10px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
  text-decoration: none; color: var(--ocean-deep);
  font-family: "Inter Tight", sans-serif; font-size: 0.92rem; font-weight: 500;
  transition: all .12s;
}
.border-chip:hover { border-color: var(--coral); background: var(--coral-soft); color: var(--ocean-deep); }

.download-list { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 10px; }
.download-list li {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 16px;
  padding: 14px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px;
  font-family: "Inter Tight", sans-serif; font-size: 0.95rem; align-items: center;
}
.download-list strong { color: var(--ocean-deep); }
.download-list a { white-space: nowrap; color: var(--coral); font-weight: 600; }
.download-list .meta { grid-column: 1 / -1; font-size: 0.8rem; color: var(--ink-faint); margin-top: 2px; }

/* OSM iframe */
.osm-frame { position: relative; aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin: 14px 0; background: var(--cream); }
.osm-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.osm-attrib { font-size: 0.78rem; color: var(--ink-faint); margin: 6px 0 0; font-family: "Inter Tight", sans-serif; }

/* In-content recommendation block (smaller, inline) */
.inline-recommend { background: var(--sand-soft); border-left: 3px solid var(--coral); padding: 14px 18px; margin: 24px 0; border-radius: 6px; font-family: "Spectral", serif; font-size: 0.97rem; color: var(--ink-mid); }
.inline-recommend strong { color: var(--ocean-deep); }
.inline-recommend a { color: var(--coral); font-weight: 600; }

/* ───── Alphabet index ───── */
.search-wrap { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 28px; box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 14px; }
.search-wrap label { font-family: "Inter Tight", sans-serif; font-size: 0.85rem; color: var(--ink-soft); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.search-wrap input { flex: 1; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--cream); font-family: "Inter Tight", sans-serif; font-size: 1rem; color: var(--ink); }
.search-wrap input:focus { outline: none; border-color: var(--ocean-mid); background: var(--paper); }
.alpha-jump { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 0 28px; border-bottom: 1px solid var(--line); margin-bottom: 32px; font-family: "Inter Tight", sans-serif; }
.alpha-jump a { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ocean-deep); font-weight: 600; font-size: 0.9rem; }
.alpha-jump a:hover { background: var(--ocean-deep); color: var(--sand); border-color: var(--ocean-deep); }
.alpha-section { margin-bottom: 40px; scroll-margin-top: 100px; }
.alpha-section h2 { font-size: 1.6rem; padding: 0 0 8px; border-bottom: 3px solid var(--coral); display: inline-block; margin: 0 0 16px; }
.alpha-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 6px; }
.alpha-row { display: grid; grid-template-columns: 36px 1.4fr 1fr; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font-family: "Inter Tight", sans-serif; font-size: 0.94rem; }
.alpha-row:hover { background: var(--paper); box-shadow: var(--shadow-sm); }
.alpha-row .row-name { font-weight: 600; color: var(--ocean-deep); }
.alpha-row .row-meta { color: var(--ink-soft); font-size: 0.85rem; text-align: right; }
.alpha-empty { display: none; padding: 40px 20px; text-align: center; color: var(--ink-soft); font-family: "Inter Tight", sans-serif; }

/* ───── Stats hub ───── */
.stats-hero { background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-mid) 100%); color: var(--sand-soft); border-radius: var(--radius-lg); padding: 40px 36px; margin-bottom: 40px; }
.stats-hero h1 { color: var(--paper); margin: 0 0 10px; }
.stats-hero p { color: rgba(255,255,255,.82); margin: 0; max-width: 60ch; }
.stats-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.stats-cards .card { padding: 0; }
.stats-cards .card-link { padding: 22px 24px; }
.stats-cards .card-icon { font-family: "Fraunces", serif; font-size: 2rem; color: var(--coral); display: block; margin-bottom: 6px; }

.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 28px 0 36px; }
@media (max-width: 760px) { .podium { grid-template-columns: 1fr; } }
.podium-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; text-align: center; position: relative; }
.podium-item.rank-1 { background: linear-gradient(180deg, var(--sand) 0%, var(--paper) 50%); border-color: var(--sand-deep); }
.podium-item.rank-2 { background: linear-gradient(180deg, var(--ocean-soft) 0%, var(--paper) 50%); }
.podium-item .rank-num { font-family: "Fraunces", serif; font-size: 3rem; color: var(--ocean-deep); font-weight: 700; line-height: 1; opacity: 0.4; }
.podium-item img { width: 80px; height: 56px; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); margin: 12px auto 8px; }
.podium-item h3 { margin: 4px 0; font-size: 1.2rem; }
.podium-item .stat { font-family: "Fraunces", serif; font-size: 1.4rem; font-weight: 700; color: var(--coral); margin-top: 6px; }
.podium-item .stat-label { font-family: "Inter Tight", sans-serif; font-size: 0.78rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 2px; }
.podium-item a { color: inherit; text-decoration: none; }
.podium-item a:hover h3 { color: var(--coral); }

/* ───── Prose ───── */
.prose { max-width: 70ch; font-size: 1.05rem; }
.prose p { margin: 0 0 1.1em; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose ul, .prose ol { color: var(--ink-mid); }

/* ───── Footer ───── */
.site-footer { background: var(--ocean-deep); color: rgba(255,255,255,.78); padding: 56px 0 24px; margin-top: 80px; }
.site-footer .brand { color: var(--paper); }
.site-footer .brand-mark { background: var(--coral); color: var(--paper); }
.site-footer .brand-name { color: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr; gap: 32px; padding: 0 28px; max-width: var(--max); margin: 0 auto; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { color: var(--sand); margin: 0 0 14px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; font-family: "Inter Tight", sans-serif; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; font-family: "Inter Tight", sans-serif; font-size: 0.92rem; }
.site-footer li + li { margin-top: 8px; }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer a:hover { color: var(--sand); text-decoration: underline; }
.site-footer p { color: rgba(255,255,255,.65); margin: 0; max-width: 36ch; font-size: 0.95rem; }
.footer-base { padding: 28px 28px 0; border-top: 1px solid rgba(255,255,255,.1); margin: 36px auto 0; max-width: var(--max); color: rgba(255,255,255,.55); font-size: 0.85rem; font-family: "Inter Tight", sans-serif; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* Footer recommendation row */
.footer-recommend { background: rgba(255,255,255,.04); padding: 24px 0; margin-top: 36px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-recommend .container { padding: 0 28px; }
.footer-recommend h4 { color: var(--sand); margin: 0 0 12px; font-family: "Inter Tight", sans-serif; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; }
.footer-recommend ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 24px; list-style: none; padding: 0; margin: 0; font-family: "Inter Tight", sans-serif; font-size: 0.88rem; }
.footer-recommend a { color: rgba(255,255,255,.75); text-decoration: none; border-bottom: 1px solid transparent; }
.footer-recommend a:hover { color: var(--sand); border-bottom-color: var(--sand); }

/* ───── Utility ───── */
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-family: "Inter Tight", sans-serif; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.tag-ocean { background: var(--ocean-soft); color: var(--ocean-deep); }
.tag-coral { background: var(--coral-soft); color: var(--coral); }
.tag-sand { background: var(--sand); color: var(--ocean-deep); }
.tag-leaf { background: #d8e8d4; color: var(--leaf); }

.wfull { width: 100%; }
.text-center { text-align: center; }
.print-only { display: none; }
