/* ============================================
   68海里·两面 · 国家地理风格视觉系统
   National Geographic Editorial Theme
============================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700;800&family=Noto+Serif+SC:wght@300;400;500;600;700;900&family=Noto+Sans+SC:wght@300;400;500;700&family=Noto+Serif+TC:wght@300;400;500;600;700&display=swap');

:root {
  /* 国家地理标志色 */
  --ng-yellow: #ffd200;       /* 国家地理黄色边框 */
  --ng-yellow-soft: #f4c430;

  /* 主色板 */
  --paper: #f7f1e3;            /* 米白纸张 */
  --paper-deep: #ede4cc;       /* 深米白 */
  --cream: #faf6ec;            /* 奶油白 */
  --ink: #1a1612;              /* 墨黑 */
  --ink-soft: #2c2620;
  --sepia: #4a3825;            /* 深棕 */
  --sepia-light: #6b5638;

  /* 重音色 */
  --terracotta: #c2562a;       /* 陶土橘红 */
  --terracotta-deep: #9a3f1f;
  --ocean: #1f4e5f;            /* 深海绿 */
  --ocean-deep: #143442;
  --moss: #4a6741;             /* 苔绿 */
  --gold: #b8860b;             /* 暗金 */
  --gold-light: #d4a937;
  --rust: #8b3a1f;             /* 锈红 */

  /* 字体 */
  --serif-cn: "Noto Serif SC", "Songti SC", "Source Han Serif CN", serif;
  --serif-tc: "Noto Serif TC", "Songti TC", serif;
  --sans-cn: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif-en: "Cormorant Garamond", "Garamond", "Times New Roman", serif;
  --sans-en: "Inter", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif-cn);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern" 1, "liga" 1;
}

/* 经典国家地理黄色边框 */
.ng-frame {
  position: fixed;
  inset: 16px;
  border: 4px solid var(--ng-yellow);
  pointer-events: none;
  z-index: 1000;
}

/* 三语切换器 */
.lang-switcher {
  position: fixed;
  top: 32px;
  right: 32px;
  z-index: 1001;
  display: flex;
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 0;
  font-family: var(--sans-en);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.lang-switcher button {
  padding: 8px 14px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: var(--sepia);
  letter-spacing: 1px;
  font-family: inherit;
  border-right: 1px solid var(--ink);
  transition: all .2s;
}
.lang-switcher button:last-child { border-right: none; }
.lang-switcher button:hover { background: var(--paper-deep); }
.lang-switcher button.active {
  background: var(--ink);
  color: var(--ng-yellow);
}

/* 国家地理风导航栏 */
.ng-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  font-family: var(--sans-en);
}
.ng-nav .logo {
  display: flex; align-items: center; gap: 12px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--ink);
  text-transform: uppercase;
}
.ng-nav .logo .badge {
  background: var(--ng-yellow);
  padding: 6px 10px;
  font-size: 11px;
  letter-spacing: 2px;
}
.ng-nav .nav-links { display: flex; gap: 28px; font-size: 12px; letter-spacing: 2px; }
.ng-nav .nav-links a {
  color: var(--sepia);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  transition: color .2s;
}
.ng-nav .nav-links a:hover { color: var(--terracotta); }

/* 通用排版 */
h1, h2, h3, h4 {
  font-family: var(--serif-cn);
  color: var(--ink);
  font-weight: 700;
}
h1 { font-size: 64px; line-height: 1.1; letter-spacing: -1px; }
h2 { font-size: 36px; line-height: 1.2; }
h3 { font-size: 22px; line-height: 1.4; }

.serif-en { font-family: var(--serif-en); font-style: italic; }
.kicker {
  font-family: var(--sans-en);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 700;
  margin-bottom: 12px;
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--terracotta);
}
.dropcap::first-letter {
  font-family: var(--serif-en);
  font-size: 5em;
  float: left;
  line-height: .85;
  margin: 8px 12px 0 0;
  color: var(--terracotta);
  font-weight: 700;
}
p { line-height: 1.8; color: var(--ink-soft); font-size: 16px; }


/* 复用 UI 组件 */
.btn-ng {
  display: inline-block;
  padding: 14px 28px;
  background: var(--ink);
  color: var(--ng-yellow);
  border: none;
  font-family: var(--sans-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all .2s;
  border-radius: 0;
}
.btn-ng:hover {
  background: var(--terracotta);
  color: var(--paper);
}
.btn-ng-outline {
  display: inline-block;
  padding: 12px 26px;
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
  font-family: var(--sans-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

/* 卡片 */
.ng-card {
  background: var(--cream);
  border: 1px solid rgba(74,56,37,.15);
  padding: 28px;
  position: relative;
}
.ng-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 60px; height: 4px;
  background: var(--ng-yellow);
}

/* 数字 */
.big-stat {
  font-family: var(--serif-en);
  font-size: 64px;
  font-weight: 700;
  color: var(--terracotta);
  line-height: 1;
}
.stat-label {
  font-family: var(--sans-en);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sepia);
  margin-top: 8px;
}

/* 滚动条 */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--paper-deep); }
::-webkit-scrollbar-thumb { background: var(--sepia); }
::-webkit-scrollbar-thumb:hover { background: var(--terracotta); }
