/* ==========================================================================
   内蒙古工业文化数据库 · 全站样式
   现代数据平台风格 / 响应式 / 移动端优先
   ========================================================================== */

:root {
  /* 色彩 */
  --ink:          #101820;
  --ink-2:        #1C2A36;
  --ink-3:        #2E3F4E;
  --body:         #33414E;
  --muted:        #6B7885;
  --muted-2:      #8C97A3;
  --line:         #E2E6EB;
  --line-2:       #EFF1F4;
  --bg:           #F4F6F8;
  --paper:        #FFFFFF;
  --paper-2:      #FAFBFC;

  --rust:         #B4501E;
  --rust-soft:    #FBF1EB;
  --rust-line:    #EBD3C5;
  --steel:        #1F6C82;
  --steel-soft:   #EAF3F6;
  --moss:         #4B7A47;
  --moss-soft:    #EDF4EC;
  --gold:         #9A7420;
  --gold-soft:    #FBF5E7;
  --plum:         #6B4C7A;
  --plum-soft:    #F4EFF7;

  /* 尺度 */
  --wrap: 1220px;
  --wrap-narrow: 880px;
  --r-sm: 6px;
  --r:    10px;
  --r-lg: 16px;
  --shadow-1: 0 1px 2px rgba(16,24,32,.05), 0 1px 3px rgba(16,24,32,.04);
  --shadow-2: 0 2px 6px rgba(16,24,32,.06), 0 8px 24px rgba(16,24,32,.06);

  --font: "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC",
          "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system,
          "Segoe UI", Roboto, sans-serif;
  --font-num: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.35; font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--rust-soft); color: var(--rust); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: var(--wrap-narrow); }

.mono { font-family: var(--font-num); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }

/* ---------------------------------------------------------------- 顶部导航 */

.topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-in {
  display: flex; align-items: center; gap: 18px;
  height: 62px;
}
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 8px; flex: none;
  background: linear-gradient(145deg, var(--ink-2), var(--ink));
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .02em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.09);
}
.brand-txt { display: flex; flex-direction: column; line-height: 1.25; }
.brand-txt b { font-size: 15px; color: var(--ink); font-weight: 600; letter-spacing: .01em; }
.brand-txt span { font-size: 10.5px; color: var(--muted-2); letter-spacing: .16em; text-transform: uppercase; }

.nav { display: flex; gap: 2px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a {
  padding: 7px 12px; border-radius: var(--r-sm); font-size: 14px;
  color: var(--muted); white-space: nowrap; transition: .18s;
}
.nav a:hover { color: var(--ink); background: var(--line-2); }
.nav a.on { color: var(--rust); background: var(--rust-soft); font-weight: 500; }
.nav-exit {
  align-self: center;
  margin-left: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
  transition: .18s;
}
.nav-exit:hover { color: var(--rust); border-color: var(--rust-line); background: var(--rust-soft); }
.nav-exit:disabled { cursor: progress; opacity: .6; }

.nav-toggle {
  display: none; margin-left: auto; width: 40px; height: 40px; flex: none;
  border: 1px solid var(--line); background: var(--paper); border-radius: var(--r-sm);
  cursor: pointer; padding: 0; place-items: center;
}
.nav-toggle i {
  display: block; width: 16px; height: 1.5px; background: var(--ink-2); position: relative;
}
.nav-toggle i::before, .nav-toggle i::after {
  content: ''; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--ink-2);
}
.nav-toggle i::before { top: -5px; }
.nav-toggle i::after  { top: 5px; }

/* ---------------------------------------------------------------- 通用区块 */

.section { padding: 62px 0; }
.section-sm { padding: 42px 0; }
.section-alt { background: var(--paper); border-block: 1px solid var(--line); }

.sec-head { margin-bottom: 28px; max-width: 760px; }
.sec-head .eyebrow {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--rust); font-weight: 600; margin-bottom: 8px;
  font-family: var(--font-num);
}
.sec-head h2 { font-size: 25px; letter-spacing: -0.01em; }
.sec-head p { margin-top: 10px; color: var(--muted); font-size: 14.5px; }
.sec-head-row { display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap; }

.page-head { padding: 46px 0 8px; }
.page-head h1 { font-size: 30px; letter-spacing: -0.02em; }
.page-head .lead { margin-top: 12px; color: var(--muted); font-size: 15px; max-width: 760px; }
.page-head .lead strong { color: var(--body); font-weight: 600; }

.crumbs { font-size: 12.5px; color: var(--muted-2); margin-bottom: 16px; font-family: var(--font-num); }
.crumbs a:hover { color: var(--rust); }
.crumbs span { margin: 0 6px; opacity: .6; }

/* ---------------------------------------------------------------- 标签 */

.chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 100px;
  font-size: 11.5px; line-height: 1.6; white-space: nowrap;
  background: var(--line-2); color: var(--muted); border: 1px solid transparent;
}
.chip-rust  { background: var(--rust-soft);  color: var(--rust);  border-color: var(--rust-line); }
.chip-steel { background: var(--steel-soft); color: var(--steel); border-color: #CFE2E8; }
.chip-moss  { background: var(--moss-soft);  color: var(--moss);  border-color: #D3E2D1; }
.chip-gold  { background: var(--gold-soft);  color: var(--gold);  border-color: #EADFC4; }
.chip-plum  { background: var(--plum-soft);  color: var(--plum);  border-color: #E0D5E7; }
.chip-solid { background: var(--ink-2); color: #fff; }
.chip-line  { background: transparent; border-color: var(--line); color: var(--muted); }

.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }

/* 核验状态 */
.verified { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.verified::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--moss); flex: none;
}
.verified.warn::before { background: var(--gold); }
.verified.partial::before { background: var(--rust); }

/* ---------------------------------------------------------------- 按钮 */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 18px; border-radius: var(--r-sm); font-size: 14px; font-weight: 500;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink-2);
  cursor: pointer; transition: .18s; white-space: nowrap;
}
.btn:hover { border-color: var(--muted-2); transform: translateY(-1px); }
.btn-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn-rust { background: var(--rust); border-color: var(--rust); color: #fff; }
.btn-rust:hover { background: #9C4419; border-color: #9C4419; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-ghost { background: transparent; }

/* ---------------------------------------------------------------- 数值卡 */

.stat-grid {
  display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
}
.stat { background: var(--paper); padding: 20px 18px; }
.stat b {
  display: block; font-family: var(--font-num); font-size: 27px; font-weight: 600;
  color: var(--ink); line-height: 1.15; letter-spacing: -0.02em;
}
.stat b small { font-size: 13px; font-weight: 500; color: var(--muted-2); margin-left: 3px; }
.stat span { display: block; margin-top: 5px; font-size: 12.5px; color: var(--muted); }

/* ---------------------------------------------------------------- 卡片 */

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; transition: .2s; display: flex; flex-direction: column;
}
.card:hover { border-color: #CBD3DB; box-shadow: var(--shadow-2); transform: translateY(-2px); }
.card-body { padding: 16px 17px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.card-body h3 { font-size: 15.5px; line-height: 1.45; }
.card-body p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.card-body > .chip { align-self: flex-start; }
.card-meta {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: auto; padding-top: 11px; border-top: 1px solid var(--line-2);
  font-size: 11.5px; color: var(--muted-2); font-family: var(--font-num);
}
.card-id { color: var(--muted-2); }

.card-media { position: relative; aspect-ratio: 16/9; background: var(--ink-2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; opacity: .95; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.045); }
.card-media .badge {
  position: absolute; left: 10px; top: 10px; padding: 3px 9px; border-radius: 100px;
  font-size: 11px; background: rgba(16,24,32,.72); color: #fff; backdrop-filter: blur(6px);
  font-family: var(--font-num);
}

/* 紧凑清单卡 */
.list-card {
  display: flex; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.list-card:last-child { border-bottom: 0; }
.list-card .idx {
  font-family: var(--font-num); font-size: 12px; color: var(--muted-2);
  padding-top: 3px; flex: none; width: 62px;
}
.list-card .body { flex: 1; min-width: 0; }
.list-card h4 { font-size: 15px; margin-bottom: 3px; }
.list-card p { font-size: 13px; color: var(--muted); margin: 0; }

/* ---------------------------------------------------------------- 首页 Hero */

.hero {
  position: relative; background: var(--ink); color: #fff; overflow: hidden;
  border-bottom: 1px solid var(--ink-3);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .34; filter: grayscale(.35) contrast(1.05); }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(1100px 520px at 12% 8%, rgba(180,80,30,.34), transparent 62%),
    linear-gradient(180deg, rgba(16,24,32,.72) 0%, rgba(16,24,32,.9) 62%, var(--ink) 100%);
}
.hero-in { position: relative; padding: 88px 0 54px; }
.hero .kicker {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-num);
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: #E9B58F; margin-bottom: 18px;
}
.hero .kicker::before { content: ''; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.hero h1 {
  color: #fff; font-size: clamp(28px, 4.4vw, 46px); line-height: 1.24;
  letter-spacing: -0.02em; max-width: 15em; font-weight: 600;
}
.hero h1 em { font-style: normal; color: #E9A472; }
.hero .sub {
  margin-top: 20px; font-size: 15.5px; color: rgba(255,255,255,.74);
  max-width: 44em; line-height: 1.85;
}
.hero .cta { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.hero .cta .btn { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.07); color: #fff; }
.hero .cta .btn:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); }
.hero .cta .btn-rust { background: var(--rust); border-color: var(--rust); }
.hero .cta .btn-rust:hover { background: #C25C26; border-color: #C25C26; }

.hero-stats {
  position: relative; display: grid; gap: 1px; background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.13); border-radius: var(--r); overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); margin-top: 46px;
}
.hero-stats div { background: rgba(16,24,32,.55); padding: 16px 17px; backdrop-filter: blur(4px); }
.hero-stats b {
  display: block; font-family: var(--font-num); font-size: 24px; font-weight: 600; color: #fff;
}
.hero-stats b small { font-size: 12px; color: rgba(255,255,255,.55); margin-left: 2px; font-weight: 400; }
.hero-stats span { font-size: 12px; color: rgba(255,255,255,.6); }

/* ---------------------------------------------------------------- 筛选器 */

.filterbar {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 15px 17px; position: sticky; top: 62px; z-index: 40;
  box-shadow: var(--shadow-1);
}
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.filter-row + .filter-row { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }

.search-box { position: relative; flex: 1 1 250px; min-width: 200px; }
.search-box input {
  width: 100%; padding: 9px 12px 9px 34px; border: 1px solid var(--line);
  border-radius: var(--r-sm); font-size: 14px; font-family: var(--font);
  background: var(--paper-2); color: var(--ink-2); outline: none; transition: .18s;
}
.search-box input:focus { border-color: var(--steel); background: #fff; box-shadow: 0 0 0 3px var(--steel-soft); }
.search-box svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); opacity: .42; }

.select-wrap { position: relative; flex: none; }
.select-wrap select {
  appearance: none; padding: 9px 30px 9px 12px; border: 1px solid var(--line);
  border-radius: var(--r-sm); font-size: 13.5px; font-family: var(--font);
  background: var(--paper-2); color: var(--ink-2); cursor: pointer; outline: none; min-width: 118px;
}
.select-wrap select:focus { border-color: var(--steel); box-shadow: 0 0 0 3px var(--steel-soft); }
.select-wrap::after {
  content: ''; position: absolute; right: 12px; top: 50%; width: 6px; height: 6px;
  border-right: 1.5px solid var(--muted-2); border-bottom: 1.5px solid var(--muted-2);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}

.seg { display: inline-flex; background: var(--line-2); border-radius: var(--r-sm); padding: 2px; gap: 2px; }
.seg button {
  border: 0; background: transparent; padding: 7px 13px; border-radius: 5px;
  font-size: 13.5px; color: var(--muted); cursor: pointer; transition: .16s; white-space: nowrap;
}
.seg button.on { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-1); font-weight: 500; }

.filter-count { font-size: 13px; color: var(--muted); font-family: var(--font-num); margin-left: auto; }
.filter-count b { color: var(--rust); font-weight: 600; }

.active-filters { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.active-filters .af {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px;
  background: var(--ink-2); color: #fff; border-radius: 100px; font-size: 11.5px;
}
.active-filters .af button {
  border: 0; background: transparent; color: rgba(255,255,255,.7);
  cursor: pointer; padding: 0; font-size: 13px; line-height: 1;
}
.active-filters .af button:hover { color: #fff; }

/* ---------------------------------------------------------------- 表格 */

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
table.data { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 600px; }
table.data th {
  text-align: left; padding: 11px 14px; background: var(--paper-2);
  border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink);
  font-size: 12.5px; white-space: nowrap; position: sticky; top: 0;
}
table.data td { padding: 11px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: var(--paper-2); }
table.data td.num { font-family: var(--font-num); text-align: right; white-space: nowrap; }
table.data td.id { font-family: var(--font-num); color: var(--muted-2); white-space: nowrap; font-size: 12.5px; }
table.data a.link { color: var(--steel); border-bottom: 1px solid transparent; }
table.data a.link:hover { border-bottom-color: currentColor; }

/* ---------------------------------------------------------------- 时间轴 */

.timeline { position: relative; padding-left: 26px; }
.timeline::before {
  content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 1.5px;
  background: linear-gradient(180deg, var(--rust-line), var(--line) 30%, var(--line));
}
.tl-item { position: relative; padding: 0 0 22px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ''; position: absolute; left: -24px; top: 6px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--paper); border: 2px solid var(--rust);
}
.tl-item .tl-date {
  font-family: var(--font-num); font-size: 12px; color: var(--rust);
  letter-spacing: .02em; display: flex; align-items: center; gap: 8px;
}
.tl-item .tl-date .prec {
  font-size: 10.5px; color: var(--muted-2); background: var(--line-2);
  padding: 1px 6px; border-radius: 100px;
}
.tl-item h4 { font-size: 15px; margin: 4px 0 5px; }
.tl-item p { font-size: 13.5px; color: var(--muted); margin: 0; }
.tl-item .tl-src { margin-top: 6px; font-size: 11.5px; font-family: var(--font-num); color: var(--muted-2); }

/* ---------------------------------------------------------------- 图表 */

.bar-list { display: flex; flex-direction: column; gap: 11px; }
.bar-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: baseline; }
.bar-item .lab { font-size: 13.5px; color: var(--ink-2); }
.bar-item .val { font-family: var(--font-num); font-size: 13px; color: var(--ink); white-space: nowrap; }
.bar-item .val small { color: var(--muted-2); font-size: 11.5px; margin-left: 5px; }
.bar-track {
  grid-column: 1 / -1; height: 7px; background: var(--line-2); border-radius: 100px; overflow: hidden;
}
.bar-fill {
  height: 100%; border-radius: 100px; background: var(--steel);
  transition: width .8s cubic-bezier(.22,.68,0,1); width: 0;
}
.bar-fill.rust { background: var(--rust); }
.bar-fill.moss { background: var(--moss); }
.bar-fill.gold { background: var(--gold); }
.bar-fill.grey { background: var(--muted-2); }

.donut-row { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.donut { flex: none; position: relative; width: 132px; height: 132px; }
.donut svg { transform: rotate(-90deg); }
.donut .mid {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
}
.donut .mid b { display: block; font-family: var(--font-num); font-size: 20px; color: var(--ink); line-height: 1.1; }
.donut .mid span { font-size: 11px; color: var(--muted-2); }
.legend { display: flex; flex-direction: column; gap: 7px; flex: 1; min-width: 168px; }
.legend div { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.legend i { width: 9px; height: 9px; border-radius: 2px; flex: none; }
.legend b { margin-left: auto; font-family: var(--font-num); font-weight: 500; }

/* ---------------------------------------------------------------- 提示 / 注释 */

.note {
  border-left: 3px solid var(--gold); background: var(--gold-soft);
  padding: 13px 16px; border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: 13.5px; color: #6E5218;
}
.note.steel { border-color: var(--steel); background: var(--steel-soft); color: #17505F; }
.note.rust  { border-color: var(--rust);  background: var(--rust-soft);  color: #8A3D16; }
.note.moss  { border-color: var(--moss);  background: var(--moss-soft);  color: #395C36; }
.note b { color: inherit; }
.note p + p { margin-top: 8px; }

.limit-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.limit-list li {
  display: flex; gap: 10px; font-size: 13.5px; color: var(--body);
  padding-left: 0; line-height: 1.7;
}
.limit-list li::before {
  content: ''; flex: none; width: 5px; height: 5px; border-radius: 50%;
  background: var(--rust); margin-top: 9px;
}

/* ---------------------------------------------------------------- 定义列表 */

.deflist { display: grid; grid-template-columns: 128px 1fr; gap: 0; font-size: 14px; }
.deflist dt {
  padding: 11px 0; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line-2);
}
.deflist dd {
  padding: 11px 0; margin: 0; color: var(--ink-2); border-top: 1px solid var(--line-2);
}
.deflist dt:first-of-type, .deflist dd:first-of-type { border-top: 0; }

/* ---------------------------------------------------------------- 富文本区 */

.prose { font-size: 15px; line-height: 1.9; color: var(--body); }
.prose p + p { margin-top: 12px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .srcref { font-family: var(--font-num); font-size: 12.5px; }

.panel {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px 24px;
}
.panel-rust { border-left: 3px solid var(--rust); }
.panel-steel { border-left: 3px solid var(--steel); }
.panel-moss { border-left: 3px solid var(--moss); }
.panel-gold { border-left: 3px solid var(--gold); }

.panel h3 {
  font-size: 15px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}
.panel h3 .tag {
  font-family: var(--font-num); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted-2); font-weight: 500;
}

/* ---------------------------------------------------------------- 详情页布局 */

.detail-layout {
  display: grid; grid-template-columns: minmax(0,1fr) 296px; gap: 34px; align-items: start;
}
.detail-main { min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.detail-side { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 14px; }
.side-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
}
.side-card h4 {
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2);
  padding: 13px 16px 10px; font-weight: 600; font-family: var(--font-num);
}
.side-card .side-body { padding: 0 16px 16px; }

.detail-hero { position: relative; border-radius: var(--r); overflow: hidden; background: var(--ink-2); }
.detail-hero img { width: 100%; aspect-ratio: 21/9; object-fit: cover; opacity: .8; }
.detail-hero .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,24,32,.1) 30%, rgba(16,24,32,.88)); }
.detail-hero .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; }
.detail-hero .cap .id {
  font-family: var(--font-num); font-size: 12px; color: #E9A472; letter-spacing: .1em;
}
.detail-hero .cap h1 { color: #fff; font-size: clamp(21px, 2.8vw, 30px); margin: 7px 0 10px; letter-spacing: -0.015em; }
.detail-hero .cap .chip-row .chip { background: rgba(255,255,255,.13); color: rgba(255,255,255,.9); border-color: transparent; }

.img-credit {
  font-size: 11px; color: var(--muted-2); margin-top: 7px; font-family: var(--font-num);
  display: flex; gap: 6px; align-items: baseline;
}

/* 事实条目 */
.fact-item {
  display: grid; grid-template-columns: 62px 1fr; gap: 14px;
  padding: 13px 0; border-bottom: 1px dashed var(--line);
}
.fact-item:last-child { border-bottom: 0; }
.fact-item .fid { font-family: var(--font-num); font-size: 12px; color: var(--steel); padding-top: 2px; }
.fact-item .ftext { font-size: 14.5px; color: var(--ink-2); line-height: 1.8; }
.fact-item .fmeta { margin-top: 5px; font-size: 11.5px; color: var(--muted-2); font-family: var(--font-num); }

/* 重点案例补全模块 */
.detail-subtitle { margin: 0 0 10px; color: var(--rust); font-size: 17px; font-weight: 600; }
.case-question { margin-top: 18px; padding: 15px 17px; border-left: 3px solid var(--rust); background: var(--rust-soft); }
.case-question span { display: block; color: var(--rust); font: 10.5px var(--font-num); letter-spacing: .12em; text-transform: uppercase; }
.case-question p { margin: 6px 0 0; color: var(--ink-2); font-size: 14px; line-height: 1.75; }
.evidence-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
.evidence-item { padding: 15px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper-2); }
.evidence-item > span { color: var(--steel); font: 11px var(--font-num); }
.evidence-item blockquote { margin: 9px 0 8px; color: var(--ink-2); font-size: 13.5px; line-height: 1.7; }
.evidence-item p { margin: 0; color: var(--muted); font-size: 12px; }
.evidence-note { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.evidence-note summary { color: var(--steel); cursor: pointer; font-size: 13px; font-weight: 600; }
.evidence-note p { margin: 10px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.75; }
.case-path-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr; gap: 8px; align-items: center; }
.case-path-flow span { padding: 10px 8px; border-radius: var(--r-sm); background: var(--moss-soft); color: var(--moss); text-align: center; font-size: 12px; }
.case-path-flow i { color: var(--muted-2); font-style: normal; }
.entry-app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 4px; }
.entry-app { padding: 17px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper-2); }
.entry-app > span { color: var(--rust); font: 10.5px var(--font-num); }
.entry-app h4 { margin-top: 9px; font-size: 14px; }
.entry-app p { margin: 8px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.7; }

/* 关联关系 */
.rel-item {
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px;
  background: var(--paper-2); font-size: 13.5px;
}
.rel-item .rel-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--muted-2); font-family: var(--font-num); margin-bottom: 6px; }
.rel-item .rel-body { color: var(--ink-2); }
.rel-item .rel-body a { color: var(--steel); font-weight: 500; }
.rel-item .rel-note { margin-top: 6px; font-size: 12px; color: var(--muted); }
.rel-arrow { color: var(--rust); font-family: var(--font-num); font-size: 12px; }

/* 档案章节锚点导航 */
.anchor-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.anchor-nav a {
  font-size: 12.5px; color: var(--muted); padding: 4px 10px; border-radius: 100px;
  border: 1px solid var(--line); background: var(--paper);
}
.anchor-nav a:hover { color: var(--rust); border-color: var(--rust-line); background: var(--rust-soft); }

/* ---------------------------------------------------------------- 空态 */

.empty {
  padding: 60px 20px; text-align: center; color: var(--muted);
  background: var(--paper); border: 1px dashed var(--line); border-radius: var(--r);
}
.empty b { display: block; color: var(--ink-2); margin-bottom: 6px; font-size: 15px; }

/* ---------------------------------------------------------------- 页脚 */

.footer { background: var(--ink); color: rgba(255,255,255,.6); margin-top: 60px; }
.footer-in { padding: 48px 0 30px; display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 32px; }
.footer h5 { color: #fff; font-size: 13px; margin: 0 0 13px; font-weight: 600; letter-spacing: .04em; }
.footer a { font-size: 13px; color: rgba(255,255,255,.6); display: block; padding: 3.5px 0; }
.footer a:hover { color: #E9A472; }
.footer p { font-size: 13px; line-height: 1.8; margin: 0; }
.footer .fbrand { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.footer .fbrand .brand-mark { background: rgba(255,255,255,.1); }
.footer .fbrand b { color: #fff; font-size: 15px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0 26px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12px; color: rgba(255,255,255,.42); font-family: var(--font-num);
}
.footer-bottom .footer-beian a {
  display: inline;
  padding: 0;
  color: inherit;
  font-size: inherit;
}
.footer-bottom .footer-beian a:hover { color: #E9A472; }

/* ---------------------------------------------------------------- 响应式 */

@media (max-width: 1080px) {
  .detail-layout { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-in { grid-template-columns: 1fr 1fr; gap: 26px; }
}

@media (max-width: 860px) {
  body { font-size: 14.5px; }
  .nav { display: none; position: absolute; top: 62px; left: 0; right: 0; background: var(--paper);
    border-bottom: 1px solid var(--line); padding: 8px; box-shadow: var(--shadow-2);
    flex-direction: column; margin: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 11px 13px; font-size: 15px; }
  .nav-toggle { display: grid; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 46px 0; }
  .hero-in { padding: 62px 0 42px; }
  .page-head { padding: 34px 0 4px; }
  .page-head h1 { font-size: 24px; }
  .sec-head h2 { font-size: 21px; }
  .filterbar { position: static; }
  .deflist { grid-template-columns: 1fr; gap: 0; }
  .deflist dt { padding-bottom: 2px; border-top: 1px solid var(--line-2); }
  .deflist dd { padding-top: 2px; border-top: 0; }
  .detail-hero .cap { padding: 16px 18px; }
}

@media (max-width: 620px) {
  .wrap { padding: 0 15px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 27px; }
  .hero .cta { flex-direction: column; align-items: stretch; }
  .hero .cta .btn { width: 100%; }
  .footer-in { grid-template-columns: 1fr; gap: 24px; }
  .fact-item { grid-template-columns: 1fr; gap: 4px; }
  .evidence-grid, .entry-app-grid { grid-template-columns: 1fr; }
  .case-path-flow { grid-template-columns: 1fr; }
  .case-path-flow i { transform: rotate(90deg); text-align: center; }
  .list-card .idx { width: 54px; font-size: 11px; }
  .section { padding: 38px 0; }
  .panel { padding: 18px 17px; }
  .donut { width: 112px; height: 112px; }
  .tl-item { padding-bottom: 18px; }
}

/* ---------------------------------------------------------------- 图形占位卡
   未放入图片时显示按对象编号与产业生成的图形卡，保证版式完整。 */

.tile {
  position: absolute; inset: 0; overflow: hidden;
  display: flex; align-items: flex-end;
  background: linear-gradient(150deg, #1B2733 0%, #131C26 55%, #0E151D 100%);
}
.tile::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(120% 100% at 78% 8%, #000 8%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 100% at 78% 8%, #000 8%, transparent 78%);
}
.tile::after {
  content: ''; position: absolute; right: -18%; top: -30%;
  width: 78%; height: 150%; transform: rotate(24deg);
  background: linear-gradient(180deg, rgba(255,255,255,.05), transparent 70%);
}
.tile-lines {
  position: absolute; left: 0; right: 0; bottom: 34%;
  height: 1px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.16) 0 5px, transparent 5px 13px);
}
.tile-body { position: relative; padding: 14px 16px; z-index: 1; }
.tile-id {
  display: block; font-family: var(--font-num); font-size: 12px; font-weight: 500;
  letter-spacing: .16em; color: rgba(255,255,255,.5);
}
.tile-ind {
  display: block; margin-top: 3px; font-size: 12.5px; color: rgba(255,255,255,.82);
}
.tile-steel { background: linear-gradient(150deg, #1C2C39 0%, #14202B 55%, #0D151C 100%); }
.tile-steel .tile-id { color: #7FB2C4; }
.tile-rust  { background: linear-gradient(150deg, #33231A 0%, #241812 55%, #16100C 100%); }
.tile-rust .tile-id  { color: #D08B5C; }
.tile-moss  { background: linear-gradient(150deg, #1D2A20 0%, #151F18 55%, #0D1410 100%); }
.tile-moss .tile-id  { color: #8DBE85; }

.card-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 2;
}
.card-media.noimg .tile-body { padding-bottom: 16px; }

.detail-hero { position: relative; aspect-ratio: 21/9; min-height: 230px; overflow: hidden; }
.detail-hero .tile { position: absolute; inset: 0; }
.detail-hero img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1;
}
.detail-hero.image-contain::before { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, var(--ink), var(--ink-3)); }
.detail-hero.image-contain img { object-fit: contain; object-position: center; }
.detail-hero .tile-body { padding: 18px 22px; }
.detail-hero .overlay { z-index: 2; }
.detail-hero .cap { z-index: 3; }

/* ---------------------------------------------------------------- 题组 */

.q-list { display: flex; flex-direction: column; gap: 10px; }
.q-item {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden;
}
.q-item[open] { box-shadow: var(--shadow-1); }
.q-item summary {
  display: grid; grid-template-columns: 46px 1fr auto; gap: 12px; align-items: center;
  padding: 14px 17px; cursor: pointer; list-style: none;
}
.q-item summary::-webkit-details-marker { display: none; }
.q-item summary:hover { background: var(--paper-2); }
.q-no { font-size: 12.5px; color: var(--rust); font-weight: 600; }
.q-text { font-size: 14.5px; color: var(--ink); line-height: 1.5; }
.q-meta { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.q-body { padding: 4px 17px 20px; border-top: 1px dashed var(--line); padding-top: 16px; }

/* ---------------------------------------------------------------- 来源条目 */

.src-list { display: flex; flex-direction: column; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.src-item { display: grid; grid-template-columns: 62px 1fr; gap: 14px; background: var(--paper); padding: 16px 18px; }
.src-item:target, .src-item.flash { background: var(--rust-soft); }
.src-id { font-size: 13px; color: var(--rust); font-weight: 600; padding-top: 2px; }
.src-body h3 { font-size: 15px; line-height: 1.5; }
.src-meta { margin-top: 6px; display: flex; gap: 7px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.src-locate { margin: 7px 0 0; font-size: 13px; color: var(--muted); }
.src-url { display: inline-block; margin-top: 7px; font-size: 11.5px; color: var(--steel);
  word-break: break-all; border-bottom: 1px solid transparent; }
.src-url:hover { border-bottom-color: currentColor; }

/* ---------------------------------------------------------------- 主题块 */

.theme-block { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px 22px; margin-bottom: 14px; scroll-margin-top: 84px; }
.theme-block:target { border-color: var(--rust-line); box-shadow: 0 0 0 3px var(--rust-soft); }
.theme-head { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: start; margin-bottom: 14px; }
.theme-no { font-size: 13px; color: var(--rust); font-weight: 600; padding-top: 3px; }
.theme-head h3 { font-size: 17px; margin-bottom: 4px; }
.theme-head p { margin: 0; font-size: 13.5px; color: var(--muted); }
.theme-n { font-size: 13px; color: var(--muted-2); white-space: nowrap; padding-top: 3px; }

/* ---------------------------------------------------------------- 转型专题 */

.trans-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px 24px; margin-bottom: 16px; }
.trans-top { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.trans-no { font-size: 20px; color: var(--rust-line); font-weight: 700; line-height: 1.2; }
.trans-top h3 { font-size: 18px; }
.trans-top h3 a:hover { color: var(--rust); }
.trans-cover { display: block; margin-top: 18px; border-radius: var(--r-sm); overflow: hidden; background: var(--ink-2); }
.trans-cover img { width: 100%; height: 230px; object-fit: cover; transition: transform .4s; }
.trans-cover:hover img { transform: scale(1.025); }
.trans-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; margin: 18px 0 14px; }
.trans-step { background: var(--paper-2); padding: 14px 15px; }
.ts-no { font-family: var(--font-num); font-size: 10.5px; letter-spacing: .14em; color: var(--rust); }
.trans-step h4 { font-size: 13.5px; margin: 6px 0 6px; }
.trans-step p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ---------------------------------------------------------------- 盟市格 */

.city-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.city-cell { background: var(--paper); padding: 15px 14px; display: flex; flex-direction: column;
  gap: 2px; transition: .18s; }
.city-cell b { font-size: 20px; color: var(--ink); line-height: 1.1; }
.city-cell span { font-size: 12.5px; color: var(--muted); }
.city-cell:hover { background: var(--rust-soft); }
.city-cell.is-empty b { color: var(--muted-2); }
.city-cell.is-empty:hover { background: var(--paper-2); }

/* ---------------------------------------------------------------- 首页 3.0：资源图谱与活化应用 */

.home-page .section { scroll-margin-top: 62px; }
.home-page .sec-head { max-width: 810px; }
.home-page .sec-head-row { max-width: none; justify-content: space-between; }

.hero-home { min-height: 620px; }
.hero-home .hero-bg img { opacity: .19; filter: grayscale(.5) contrast(1.18); }
.hero-home .hero-bg::after {
  background:
    radial-gradient(800px 520px at 12% 18%, rgba(180,80,30,.31), transparent 68%),
    radial-gradient(700px 460px at 82% 42%, rgba(31,108,130,.2), transparent 70%),
    linear-gradient(90deg, rgba(16,24,32,.98) 0%, rgba(16,24,32,.91) 48%, rgba(16,24,32,.77) 100%);
}
.hero-layout {
  position: relative; min-height: 620px; padding-top: 70px; padding-bottom: 58px;
  display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(430px, .94fr); gap: 38px; align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.hero-home h1 { max-width: 13em; font-size: clamp(34px, 4.5vw, 56px); line-height: 1.18; }
.hero-home h1 em { display: inline-block; margin-top: 4px; }
.hero-lead { margin: 20px 0 0; color: rgba(255,255,255,.94); font-size: 19px; letter-spacing: .02em; }
.hero-home .sub { max-width: 43em; margin-top: 13px; color: rgba(255,255,255,.68); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; color: rgba(255,255,255,.52); font-size: 12px; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof span::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: #d6804e; box-shadow: 0 0 0 4px rgba(214,128,78,.1); }

.hero-network { position: relative; min-height: 455px; isolation: isolate; }
.hero-map-stage { position: absolute; left: -6%; top: 3%; width: 112%; aspect-ratio: 2388 / 1687; }
.hero-map-shape { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: .62; filter: drop-shadow(0 24px 30px rgba(0,0,0,.25)); }
.network-core {
  position: absolute; z-index: 4; left: 39%; top: 48%; transform: translate(-50%,-50%);
  width: 180px; height: 180px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: #fff; background: rgba(16,24,32,.82); border: 1px solid rgba(233,164,114,.42);
  box-shadow: 0 0 0 13px rgba(180,80,30,.08), 0 0 54px rgba(180,80,30,.17); backdrop-filter: blur(8px);
}
.network-core::before, .network-core::after { content: ''; position: absolute; border-radius: 50%; border: 1px solid rgba(143,176,187,.2); }
.network-core::before { inset: -44px; }
.network-core::after { inset: -93px; }
.network-core span { font: 10px var(--font-num); letter-spacing: .16em; color: #e9a472; text-transform: uppercase; }
.network-core b { margin-top: 8px; font-size: 17px; font-weight: 500; }
.network-node {
  position: absolute; z-index: 5; padding: 7px 10px 7px 25px; min-width: 112px; border: 1px solid rgba(255,255,255,.14);
  border-radius: 5px; background: rgba(16,24,32,.76); color: #fff; backdrop-filter: blur(7px); box-shadow: 0 8px 24px rgba(0,0,0,.2); transition: .2s;
}
.network-node:hover { transform: translateY(-3px); border-color: rgba(233,164,114,.58); background: rgba(28,42,54,.94); }
.network-node i { position: absolute; left: 10px; top: 13px; width: 7px; height: 7px; border-radius: 50%; background: #e9a472; box-shadow: 0 0 0 5px rgba(233,164,114,.13); }
.network-node b, .network-node small { display: block; line-height: 1.45; }
.network-node b { font-size: 12px; font-weight: 500; }
.network-node small { font-size: 10px; color: rgba(255,255,255,.5); }
.network-node[data-lon] { transform: translate(-7px,-13px); }
.network-node[data-lon]:hover { transform: translate(-7px,-16px); }
.network-node.node-label-left { transform: translate(calc(-100% + 7px),-13px); }
.network-node.node-label-left:hover { transform: translate(calc(-100% + 7px),-16px); }
.network-line { position: absolute; z-index: 3; height: 1px; transform-origin: left; background: linear-gradient(90deg, rgba(233,164,114,.1), rgba(233,164,114,.7), rgba(233,164,114,.1)); }
.nl-1 { width: 240px; left: 40%; top: 49%; transform: rotate(-31deg); }
.nl-2 { width: 220px; left: 40%; top: 52%; transform: rotate(27deg); }
.nl-3 { width: 185px; left: 38%; top: 51%; transform: rotate(137deg); }

.home-capabilities { padding-top: 50px; padding-bottom: 54px; }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.capability-card { min-height: 126px; padding: 22px 24px; display: grid; grid-template-columns: 42px 1fr; gap: 15px; align-items: start; background: var(--paper); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: .2s; }
.capability-card:hover { background: var(--paper-2); box-shadow: inset 3px 0 var(--rust); }
.capability-no { padding-top: 2px; font: 12px var(--font-num); color: var(--rust); letter-spacing: .08em; }
.capability-card h3 { font-size: 17px; }
.capability-card p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.case-matrix { display: grid; grid-template-columns: 1.32fr 1fr 1fr; grid-template-rows: repeat(2, minmax(180px, 1fr)); gap: 14px; }
.case-feature { position: relative; grid-row: 1 / 3; min-height: 390px; overflow: hidden; background: var(--ink); border-radius: var(--r); color: #fff; }
.case-feature::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,24,32,.05) 18%, rgba(16,24,32,.92) 100%); }
.case-feature img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: .5s; }
.case-feature:hover img { transform: scale(1.035); }
.case-feature > div { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 27px; }
.case-feature small { font: 10px var(--font-num); letter-spacing: .18em; color: #e9a472; }
.case-feature h3 { color: #fff; font-size: 24px; margin-top: 6px; }
.case-feature p { margin: 8px 0 0; color: rgba(255,255,255,.68); font-size: 13.5px; }
.case-type { position: absolute; z-index: 2; top: 18px; left: 18px; padding: 5px 10px; border-radius: 100px; background: rgba(16,24,32,.72); color: #fff; font-size: 11px; backdrop-filter: blur(6px); }
.case-item { padding: 24px; display: grid; grid-template-columns: 48px 1fr; gap: 17px; align-items: start; background: var(--steel-soft); border: 1px solid #cfe2e8; border-radius: var(--r); transition: .2s; }
.case-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.case-item .case-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(31,108,130,.12); color: var(--steel); font-size: 15px; font-weight: 600; }
.case-item small { color: var(--steel); font-size: 11px; }
.case-item h3 { margin-top: 6px; font-size: 17px; }
.case-item p { margin: 7px 0 0; font-size: 13px; color: var(--muted); line-height: 1.65; }
.case-item.case-green { background: var(--moss-soft); border-color: #d3e2d1; }
.case-item.case-green .case-icon { background: rgba(75,122,71,.12); color: var(--moss); }
.case-item.case-green small { color: var(--moss); }
.case-item.case-blue { background: #eef4f6; border-color: #d8e4e8; }
.case-item.case-rust { background: var(--rust-soft); border-color: var(--rust-line); }
.case-item.case-rust .case-icon { background: rgba(180,80,30,.12); color: var(--rust); }
.case-item.case-rust small { color: var(--rust); }
.case-item.case-with-image { position: relative; padding: 0; display: block; overflow: hidden; background: var(--ink-2); border-color: transparent; color: #fff; }
.case-item.case-with-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,24,32,.93) 0%, rgba(16,24,32,.8) 53%, rgba(16,24,32,.22) 100%); }
.case-item.case-with-image > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: transform .4s; }
.case-item.case-with-image:hover > img { transform: scale(1.04); }
.case-item.case-with-image > div { position: relative; z-index: 2; width: 72%; min-height: 100%; padding: 24px; }
.case-item.case-with-image small { color: #e9a472; }
.case-item.case-with-image h3 { color: #fff; }
.case-item.case-with-image p { color: rgba(255,255,255,.65); }

.section-map { position: relative; overflow: hidden; background: #101820; color: rgba(255,255,255,.7); }
.section-map::before { content: ''; position: absolute; inset: 0; background: radial-gradient(800px 500px at 25% 55%, rgba(31,108,130,.17), transparent 70%), linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px); background-size: auto, 48px 48px, 48px 48px; }
.section-map .wrap { position: relative; }
.map-heading h2 { color: #fff; }
.map-heading p { color: rgba(255,255,255,.58); }
.atlas-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .65fr); gap: 28px; align-items: stretch; }
.atlas-map { position: relative; min-height: 500px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.018); border-radius: var(--r); overflow: hidden; }
.atlas-map-stage { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); height: 92%; aspect-ratio: 2388 / 1687; }
.atlas-map-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: .94; }
.atlas-node { position: absolute; z-index: 3; display: flex; align-items: center; gap: 6px; padding: 6px 8px; border: 0; background: transparent; color: rgba(255,255,255,.74); cursor: pointer; transition: .18s; transform: translate(-7px,-50%); }
.atlas-node span { font-size: 10.5px; white-space: nowrap; text-shadow: 0 2px 5px #101820; }
.atlas-node i, .atlas-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #8aa0ad; box-shadow: 0 0 0 4px rgba(138,160,173,.13); flex: none; }
[data-kind="coal"] { background: #bd7b51 !important; }
[data-kind="steel"], [data-kind="industry"] { background: #64a2b3 !important; }
[data-kind="light"], [data-kind="food"] { background: #d3aa57 !important; }
[data-kind="energy"] { background: #7aa8c0 !important; }
[data-kind="ecology"] { background: #79a874 !important; }
[data-kind="resource"] { background: #a89877 !important; }
.atlas-node:hover, .atlas-node.is-active { color: #fff; transform: translate(-7px,calc(-50% - 2px)); }
.atlas-node.is-active i { box-shadow: 0 0 0 5px rgba(233,164,114,.18), 0 0 18px rgba(233,164,114,.8); }
.atlas-node.is-active span { font-weight: 600; }
.atlas-node.label-left { flex-direction: row-reverse; transform: translate(calc(-100% + 7px),-50%); }
.atlas-node.label-left:hover, .atlas-node.label-left.is-active { transform: translate(calc(-100% + 7px),calc(-50% - 2px)); }
.atlas-node.label-above, .atlas-node.label-below { padding: 3px; }
.atlas-node.label-above span, .atlas-node.label-below span { position: absolute; left: 50%; transform: translateX(-50%); }
.atlas-node.label-above span { bottom: 19px; }.atlas-node.label-below span { top: 19px; }
.atlas-detail { display: flex; flex-direction: column; padding: 30px; border-radius: var(--r); background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.11); }
.atlas-kicker { color: #e9a472; font: 10px var(--font-num); text-transform: uppercase; letter-spacing: .18em; }
.atlas-detail h3 { margin-top: 9px; color: #fff; font-size: 27px; }
.atlas-detail > p { margin-top: 13px; color: rgba(255,255,255,.61); font-size: 13.5px; line-height: 1.8; }
.atlas-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0 22px; }
.atlas-tags span { padding: 4px 9px; border-radius: 100px; border: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.68); font-size: 11px; }
.atlas-case { display: grid; gap: 3px; margin-top: auto; padding: 18px; border-radius: var(--r-sm); background: rgba(255,255,255,.07); border-left: 3px solid var(--rust); transition: .18s; }
.atlas-case:hover { background: rgba(255,255,255,.1); transform: translateX(3px); }
.atlas-case small { color: #e9a472; font-size: 10px; }.atlas-case b { color: #fff; font-size: 14px; }.atlas-case span { margin-top: 5px; color: rgba(255,255,255,.46); font-size: 11px; }
.atlas-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 8px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); }
.atlas-legend span { display: flex; align-items: center; gap: 8px; font-size: 10.5px; color: rgba(255,255,255,.47); }
.atlas-legend i { width: 7px; height: 7px; box-shadow: none; }

.spectrum-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.spectrum-group { position: relative; min-height: 270px; padding: 27px 24px 23px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
.spectrum-group::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--steel); }
.spectrum-group .spectrum-index { font: 34px var(--font-num); color: var(--line); }
.spectrum-group h3 { margin-top: 18px; font-size: 18px; }.spectrum-group p { margin-top: 9px; min-height: 66px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.spectrum-group div { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.spectrum-group div span { padding: 4px 9px; border-radius: 100px; background: var(--line-2); color: var(--body); font-size: 11px; }
.spectrum-dark::before { background: var(--ink-3); }.spectrum-rust::before { background: var(--rust); }.spectrum-gold::before { background: var(--gold); }.spectrum-green::before { background: var(--moss); }
.spectrum-rust div span { background: var(--rust-soft); color: var(--rust); }.spectrum-gold div span { background: var(--gold-soft); color: var(--gold); }.spectrum-green div span { background: var(--moss-soft); color: var(--moss); }

.activation-section { background: #eaf0f2; }
.activation-heading { margin-left: auto; margin-right: auto; text-align: center; }
.activation-flow { display: grid; grid-template-columns: 1fr 38px 1fr 38px 1fr 38px 1fr 38px 1fr; align-items: stretch; margin-top: 34px; }
.flow-step { min-height: 218px; padding: 23px 20px; border: 1px solid #d5e0e4; background: rgba(255,255,255,.72); }
.flow-step:first-child { border-radius: var(--r) 0 0 var(--r); }.flow-step:last-child { border-radius: 0 var(--r) var(--r) 0; }
.flow-step > span { font: 11px var(--font-num); color: var(--steel); }.flow-step small { display: block; margin-top: 28px; color: var(--muted-2); font-size: 11px; }
.flow-step b { display: block; margin-top: 4px; color: var(--ink); font-size: 16px; }.flow-step p { margin: 13px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.flow-arrow { display: grid; place-items: center; color: var(--steel); background: rgba(255,255,255,.36); border-block: 1px solid #d5e0e4; font-style: normal; font-size: 18px; }
.activation-paths { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 18px; }
.activation-paths span { padding: 13px 15px; border-radius: var(--r-sm); background: var(--ink-2); color: #fff; text-align: center; font-size: 13px; }
.activation-paths i { margin-right: 8px; color: #e9a472; font: normal 10px var(--font-num); }

.application-section { background: var(--ink); color: rgba(255,255,255,.7); }
.application-section .eyebrow { color: #e9a472; }
.application-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: end; margin-bottom: 28px; }
.application-intro h2 { color: #fff; font-size: 30px; }.application-intro p { margin: 0; color: rgba(255,255,255,.55); font-size: 14px; }
.application-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.14); border-left: 1px solid rgba(255,255,255,.14); }
.application-grid a { min-height: 240px; padding: 25px 23px; display: flex; flex-direction: column; border-right: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); transition: .2s; }
.application-grid a:hover { background: rgba(255,255,255,.055); box-shadow: inset 0 -3px var(--rust); }
.application-grid span { color: #e9a472; font: 11px var(--font-num); }.application-grid h3 { color: #fff; margin-top: 38px; font-size: 17px; }
.application-grid p { margin-top: 11px; color: rgba(255,255,255,.5); font-size: 12.5px; line-height: 1.75; }.application-grid b { margin-top: auto; color: rgba(255,255,255,.72); font-size: 12px; font-weight: 500; }
.method-note { margin-top: 20px; padding: 14px 18px; border-left: 2px solid var(--rust); color: rgba(255,255,255,.46); background: rgba(255,255,255,.035); font-size: 12px; }

@media (max-width: 1080px) {
  .hero-layout { grid-template-columns: minmax(0, 1fr) minmax(370px, .8fr); }
  .hero-network { transform: scale(.92); transform-origin: center; }
  .atlas-layout { grid-template-columns: 1fr; }
  .atlas-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .atlas-detail .atlas-case, .atlas-detail .atlas-legend { margin-top: 18px; }
  .spectrum-grid { grid-template-columns: repeat(2, 1fr); }
  .activation-flow { grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .flow-arrow { display: none; }
  .flow-step, .flow-step:first-child, .flow-step:last-child { border-radius: var(--r-sm); }
}

@media (max-width: 860px) {
  .hero-home, .hero-layout { min-height: auto; }
  .hero-layout { grid-template-columns: 1fr; padding-top: 62px; }
  .hero-copy { max-width: 690px; }
  .hero-network { min-height: 400px; width: min(620px, 100%); margin: -10px auto 0; transform: none; }
  .hero-map-stage { left: 0; width: 100%; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .case-matrix { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .case-feature { grid-row: auto; grid-column: 1 / -1; min-height: 360px; }
  .atlas-map { min-height: 430px; }
  .activation-flow { grid-template-columns: 1fr 1fr; }
  .activation-paths { grid-template-columns: repeat(3, 1fr); }
  .application-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .hero-layout { padding-top: 48px; padding-bottom: 35px; gap: 20px; }
  .hero-home h1 { font-size: 33px; }
  .hero-lead { font-size: 16px; }
  .hero-proof { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 14px; }
  .hero-network { min-height: 245px; margin-top: 8px; }
  .network-core { width: 120px; height: 120px; left: 43%; }
  .network-core::before { inset: -24px; }.network-core::after { inset: -52px; }.network-core span { font-size: 8px; }.network-core b { font-size: 13px; }
  .network-node { min-width: auto; padding: 5px 7px 5px 20px; }.network-node i { left: 8px; top: 10px; width: 5px; height: 5px; }.network-node b { font-size: 10px; }.network-node small { display: none; }
  .capability-grid { grid-template-columns: 1fr; }
  .case-matrix { grid-template-columns: 1fr; }
  .case-feature { grid-column: auto; min-height: 310px; }
  .case-item { min-height: 150px; }
  .atlas-map { min-height: 230px; overflow: visible; margin-bottom: 5px; }
  .atlas-node { padding: 3px; }.atlas-node span { display: none; }.atlas-node i { width: 7px; height: 7px; }
  .atlas-detail { display: flex; padding: 22px; }
  .atlas-legend { grid-template-columns: repeat(2, 1fr); }
  .spectrum-grid, .activation-flow, .application-grid, .application-intro { grid-template-columns: 1fr; }
  .spectrum-group { min-height: auto; }
  .activation-flow { gap: 9px; }.flow-step { min-height: auto; }.flow-step small { margin-top: 15px; }
  .activation-paths { grid-template-columns: 1fr 1fr; }
  .application-intro { gap: 14px; }
  .application-grid a { min-height: 195px; }
}

@media (max-width: 900px) {
  .trans-flow { grid-template-columns: repeat(2, 1fr); }
  .city-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 620px) {
  .trans-flow { grid-template-columns: 1fr; }
  .trans-cover img { height: 190px; }
  .city-grid { grid-template-columns: repeat(3, 1fr); }
  .q-item summary { grid-template-columns: 40px 1fr; gap: 8px; }
  .q-meta { grid-column: 2; justify-content: flex-start; margin-top: 4px; }
  .src-item { grid-template-columns: 1fr; gap: 4px; }
  .theme-head { grid-template-columns: 1fr; gap: 6px; }
  .theme-n { padding-top: 0; }
}

@media print {
  .topbar, .footer, .filterbar, .hero .cta, .nav-toggle { display: none; }
  body { background: #fff; }
  .card:hover, .detail-hero { box-shadow: none; }
}
