:root {
  --ink: #16324F;
  --cobalt: #2E72B8;
  --sky: #6FA8DC;
  --pale: #EAF4FC;
  --white: #FFFFFF;
  --line: #D2E6F7;
  --accent: #B98A2E;
  --mapdot: #B7DBF4;
  --max: 1120px;

  --font-display-en: "Fraunces", serif;
  --font-body-en: "IBM Plex Sans", sans-serif;
  --font-display-zh: "Noto Serif SC", serif;
  --font-body-zh: "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

html { background: var(--white); }

body {
  margin: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body-en);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.world-map-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.world-map-layer .world-map-bg {
  width: 100%;
  height: 100%;
}
.world-map-layer .world-map-bg circle {
  fill: var(--mapdot);
}

.site-header, main, .site-footer {
  position: relative;
  z-index: 1;
}

@media (max-width: 860px) {
  .world-map-layer .world-map-bg { opacity: .7; }
}

html[lang="zh"] body { font-family: var(--font-body-zh); }

h1, h2, h3 { font-family: var(--font-display-en); font-weight: 500; margin: 0 0 .4em; letter-spacing: -0.01em; }
html[lang="zh"] h1, html[lang="zh"] h2, html[lang="zh"] h3 { font-family: var(--font-display-zh); font-weight: 600; letter-spacing: 0; }

p { max-width: 62ch; }

a { color: var(--cobalt); }

/* language visibility */
.en, .zh { }
html[lang="en"] .zh { display: none; }
html[lang="zh"] .en { display: none; }
html[lang="zh"] .lang-toggle .zh { display: inline; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--white);
  padding: .6em 1em; z-index: 100;
}
.skip-link:focus { left: 1em; top: 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.mark { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.mark-logo { width: 42px; height: 42px; border-radius: 50%; flex: none; object-fit: cover; }
.mark-text { font-family: var(--font-display-en); font-weight: 600; font-size: 1.05rem; }
html[lang="zh"] .mark-text { font-family: var(--font-display-zh); font-size: .98rem; }

.primary-nav { display: flex; gap: 28px; }
.primary-nav a { color: var(--ink); text-decoration: none; font-size: .95rem; border-bottom: 1px solid transparent; padding-bottom: 2px; }
.primary-nav a:hover { border-bottom-color: var(--cobalt); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-toggle {
  font: inherit; font-size: .9rem; font-weight: 500;
  background: none; border: 1px solid var(--line); border-radius: 3px;
  padding: 7px 14px; cursor: pointer; color: var(--cobalt);
}
.lang-toggle:hover { border-color: var(--cobalt); background: var(--pale); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 88px; }
.hero-inner { position: relative; z-index: 2; max-width: 640px; }
.eyebrow-plain { color: var(--sky); font-size: .95rem; margin: 0 0 20px; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.12; color: var(--ink); }
.hero-lede { font-size: 1.15rem; color: #2B3F58; margin-top: 22px; }
.hero-actions { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }

.btn { display: inline-block; text-decoration: none; padding: 13px 26px; border-radius: 3px; font-size: .98rem; font-weight: 500; }
.btn-primary { background: var(--cobalt); color: var(--white); }
.btn-primary:hover { background: var(--ink); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--cobalt); color: var(--cobalt); }

/* sections */
.section { padding: 84px 0; }
.section-tint { background: var(--pale); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-sub { color: #445A73; margin-top: 8px; }

.about-grid { }
.about-body p { color: #2B3F58; }
.about-body .lead { font-size: 1.2rem; color: var(--ink); font-weight: 500; }

.fact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; margin-top: 32px; }
.fact-list > div { border-top: 1px solid var(--line); padding-top: 12px; }
.fact-list dt { font-size: .82rem; color: var(--sky); margin-bottom: 4px; }
.fact-list dd { margin: 0; color: var(--ink); }

.mission-statement { font-family: var(--font-display-en); font-size: 1.5rem; line-height: 1.5; font-weight: 400; max-width: 46ch; color: var(--ink); }
html[lang="zh"] .mission-statement { font-family: var(--font-display-zh); font-size: 1.3rem; }

.article-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.article-list li { display: flex; gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.article-num { font-family: var(--font-display-en); font-size: 1.1rem; color: var(--accent); flex: none; width: 2.4em; padding-top: 2px; }
.article-list h3 { font-size: 1.15rem; margin-bottom: 6px; }
.article-list p { color: #445A73; margin: 0; max-width: 58ch; }

.where-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.country-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
.country-list li { padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); }
.map-graphic { width: 100%; height: auto; color: var(--line); }
.map-label { font-size: 11px; fill: var(--ink); font-family: var(--font-body-en); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-card .fact-list { grid-template-columns: 1fr; margin-top: 0; }
.contact-card dd a { color: var(--cobalt); }

/* footer */
.site-footer { background: var(--ink); color: #C8D6E8; padding: 48px 0; }
.site-footer p { max-width: 78ch; font-size: .92rem; }
.footer-meta { margin-top: 18px; color: #7C93AF; font-size: .85rem; }

@media (max-width: 860px) {
  .primary-nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 8px 24px 16px;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .fact-list, .where-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-graphic { opacity: .5; right: -220px; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 56px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
