/* ==========================================================================
   ASME SA225/SA225M 专题站 · 视觉系统
   Theme: Astryx · Editorial Foundry
   --------------------------------------------------------------------------
   取 Astryx 设计系统的令牌化思路（design tokens / 中性底色 / 8pt 间距 /
   可访问排版 / 组件状态完整），在"铸造厂编辑部"方向上重组：
   纸感浅底 + 墨色标题 + 发丝分隔线 + 等宽数据标签 + 单一橙色强调。
   主色 #FF6100 · 辅助 #007175 · 点缀 #F7D260
   ========================================================================== */

:root {
  --brand: #FF6100;
  --brand-ink: #C94A00;
  --teal: #007175;
  --teal-ink: #00565A;
  --gold: #F7D260;

  --ink: #121A1D;
  --ink-2: #24343A;
  --muted: #5C6B70;
  --muted-2: #7C888C;

  --paper: #F6F4EF;
  --paper-2: #EFEBE1;
  --surface: #FFFFFF;
  --line: #DCD5C7;
  --line-2: #C7BDAA;

  --ok: #2F7A4F;

  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 48px;
  --s6: 64px;
  --s7: 96px;

  --r-sm: 4px;
  --r: 8px;
  --r-lg: 14px;

  --shadow-1: 0 1px 2px rgba(18, 26, 29, .06);
  --shadow-2: 0 12px 34px rgba(18, 26, 29, .10);
  --maxw: 1240px;

  --font-sans: "Inter", "Helvetica Neue", "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", "SFMono-Regular", Consolas,
    "Liberation Mono", monospace;
  --font-serif: "Songti SC", "SimSun", "Noto Serif SC", Georgia, serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--brand); }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s3); }

.mono { font-family: var(--font-mono); }
.en { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: 16px; top: -100px; z-index: 999;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- 顶部信息条 ---------- */
.utility {
  background: var(--ink);
  color: #A9B4B8;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.utility-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s3);
  min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: var(--s2);
}
.utility a { color: #D7DEE0; }
.utility .dot { width: 5px; height: 5px; background: var(--brand); display: inline-block; vertical-align: middle; margin-right: 8px; }

/* ---------- 主导航 ---------- */
.masthead {
  position: sticky; top: 0; z-index: 120;
  background: rgba(18,26,29,.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.masthead-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s3);
  min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; flex: 0 0 auto; }
.brand:hover { color: #fff; }
.brand-mark {
  width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.28);
  display: grid; place-items: center; position: relative;
  background: linear-gradient(160deg, rgba(255,97,0,.22), rgba(0,113,117,.18));
}
.brand-mark::after {
  content: ""; position: absolute; right: -3px; bottom: -3px;
  width: 12px; height: 12px; background: var(--brand);
}
.brand-mark span { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: #fff; }
.brand-text strong { display: block; font-size: 15px; letter-spacing: .06em; font-weight: 600; }
.brand-text small { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; color: #9BA8AC; text-transform: uppercase; margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav-group { position: relative; }
.nav-group > button,
.nav > a {
  appearance: none; border: 0; background: none; cursor: pointer;
  color: #E4E9EA; font-family: var(--font-sans); font-size: 13.5px;
  padding: 10px 13px; display: inline-flex; align-items: center; gap: 7px;
  border-bottom: 2px solid transparent;
}
.nav-group > button:hover, .nav > a:hover { color: #fff; border-bottom-color: rgba(255,97,0,.6); }
.nav > a.active, .nav-group.active > button { color: var(--gold); border-bottom-color: var(--brand); }
.nav-group > button .caret {
  width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor; opacity: .7; transition: transform .2s ease;
}
.nav-group.open > button .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 300px; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); box-shadow: var(--shadow-2);
  padding: 10px; display: none; z-index: 50;
}
.nav-group.open .dropdown { display: block; }
.dropdown::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 3px; background: var(--brand);
}
.dropdown a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 10px 12px; color: var(--ink); font-size: 14px; border-radius: var(--r-sm);
}
.dropdown a span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; color: var(--muted-2); text-transform: uppercase; }
.dropdown a:hover { background: var(--paper); color: var(--brand-ink); }

.nav-toggle {
  display: none; appearance: none; background: none; border: 1px solid rgba(255,255,255,.3);
  color: #fff; padding: 8px 11px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em;
  cursor: pointer; border-radius: var(--r-sm);
}

/* ---------- 横幅 Banner 360px ---------- */
.hero {
  position: relative; height: 360px; overflow: hidden; background: var(--ink);
  display: flex; align-items: flex-end;
}
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(12,18,21,.92) 0%, rgba(12,18,21,.74) 46%, rgba(12,18,21,.30) 100%),
    linear-gradient(180deg, rgba(12,18,21,.35) 0%, rgba(12,18,21,0) 40%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 2; opacity: .16;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.5) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.28) 0 1px, transparent 1px 80px);
  mask-image: linear-gradient(90deg, rgba(0,0,0,.9), transparent 72%);
}
.hero-inner {
  position: relative; z-index: 3; width: 100%; max-width: var(--maxw);
  margin: 0 auto; padding: 0 var(--s3) 86px; color: #fff;
}
.hero-kicker {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px; max-width: 100%;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.hero-kicker::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.hero h1 {
  font-size: clamp(28px, 4.2vw, 46px); line-height: 1.16; font-weight: 650;
  letter-spacing: -.01em; max-width: 820px; margin-bottom: 12px;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-en {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em;
  color: #C6D0D2; text-transform: uppercase; max-width: 760px; line-height: 1.7;
}
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.hero-tags span {
  border: 1px solid rgba(255,255,255,.26); background: rgba(255,255,255,.06);
  padding: 5px 10px; font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: .1em; color: #E6ECEE;
}
.hero-tags span.hot { border-color: rgba(255,97,0,.7); background: rgba(255,97,0,.16); color: #FFD3B8; }
.hero-index {
  position: absolute; right: var(--s3); bottom: 44px; z-index: 4;
  font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.55);
  writing-mode: vertical-rl; letter-spacing: .2em;
}
@media (max-width: 860px) { .hero-index { display: none; } }

/* ---------- 数据条 ---------- */
.rail { position: relative; z-index: 5; margin-top: -34px; }
.rail-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1);
}
.rail-item { padding: 20px 22px; border-right: 1px solid var(--line); }
.rail-item:last-child { border-right: 0; }
.rail-item .k {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted-2); display: block; margin-bottom: 6px;
}
.rail-item .v { font-size: 22px; font-weight: 650; letter-spacing: -.01em; line-height: 1.2; }
.rail-item .v small { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 4px; }
.rail-item .d { font-size: 12px; color: var(--muted); margin-top: 3px; }

/* ---------- 页面骨架 ---------- */
.page { padding: var(--s5) 0 var(--s6); }
.layout { display: grid; grid-template-columns: 212px minmax(0, 1fr); gap: var(--s5); align-items: start; }
.layout > div { min-width: 0; }

.side { position: sticky; top: 116px; }
.side .label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted-2); padding-bottom: 10px;
  border-bottom: 1px solid var(--line-2); margin-bottom: 12px;
}
.side ol { list-style: none; }
.side li { margin: 0; }
.side a {
  display: flex; gap: 10px; padding: 8px 0; font-size: 13px; color: var(--muted);
  border-bottom: 1px dashed transparent; line-height: 1.5;
}
.side a .n { font-family: var(--font-mono); font-size: 10.5px; color: var(--line-2); padding-top: 2px; }
.side a:hover, .side a.on { color: var(--ink); }
.side a.on .n { color: var(--brand); }
.side .side-cta {
  margin-top: 22px; padding: 16px; background: var(--ink); color: #fff;
}
.side .side-cta p { font-size: 12px; color: #B5C0C3; line-height: 1.6; }
.side .side-cta a { color: var(--gold); font-family: var(--font-mono); font-size: 13px; display: block; margin-top: 8px; }

.breadcrumb {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted-2); margin-bottom: 26px;
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb span { color: var(--line-2); }

.standfirst {
  margin: 6px 0 var(--s5); padding-left: 20px;
  border-left: 2px solid var(--brand);
}
.standfirst .lede {
  font-size: 17.5px; line-height: 1.82; color: var(--ink-2); max-width: 80ch;
}

/* ---------- 章节 ---------- */
.block { padding-top: 8px; margin-bottom: var(--s6); scroll-margin-top: 100px; }
.block-head { display: flex; gap: 20px; align-items: flex-start; margin-bottom: var(--s3); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.block-head .num {
  font-family: var(--font-mono); font-size: 26px; line-height: 1; color: var(--brand);
  padding-top: 6px; flex: 0 0 auto; letter-spacing: -.04em;
}
.block-head h2 { font-size: 24px; line-height: 1.3; letter-spacing: -.01em; font-weight: 650; }
.block-head h2 .en { display: block; margin-top: 4px; font-size: 10.5px; letter-spacing: .16em; }
.block-head .dek { color: var(--muted); font-size: 14px; margin-top: 6px; }

.prose { max-width: 78ch; }
.prose p { margin-bottom: 16px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { font-weight: 650; }
.prose em { font-style: normal; background: linear-gradient(transparent 62%, rgba(247,210,96,.55) 62%); padding: 0 1px; }

h3.sub-h {
  font-size: 17px; font-weight: 650; margin: 28px 0 12px;
  display: flex; align-items: baseline; gap: 10px;
}
h3.sub-h::before { content: ""; width: 6px; height: 6px; background: var(--teal); display: inline-block; transform: translateY(-2px); }
h3.sub-h .en { font-size: 10px; letter-spacing: .14em; }

/* ---------- 网格与卡片 ---------- */
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--line); padding: 22px;
  position: relative; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
.card .icon {
  width: 40px; height: 40px; border: 1px solid var(--line); display: grid; place-items: center;
  margin-bottom: 14px; color: var(--teal); background: var(--paper);
}
.card .icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 16.5px; font-weight: 650; line-height: 1.4; margin-bottom: 6px; }
.card h3 .en { display: block; margin-top: 3px; font-size: 9.5px; letter-spacing: .12em; }
.card p { font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.card .more { margin-top: 14px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-ink); display: inline-flex; gap: 8px; }

.spec {
  background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--teal);
  padding: 20px 22px;
}
.spec .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.spec .v { font-size: 26px; font-weight: 650; letter-spacing: -.02em; line-height: 1.2; margin: 6px 0 2px; }
.spec .v span { font-size: 12.5px; font-weight: 400; color: var(--muted); margin-left: 5px; letter-spacing: 0; }
.spec .d { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.spec.orange { border-top-color: var(--brand); }
.spec.gold { border-top-color: var(--gold); }

/* ---------- 表格 ---------- */
.table-wrap { max-width: 100%; min-width: 0; } border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 560px; }
table.data caption {
  caption-side: top; text-align: left; padding: 14px 18px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
table.data thead th {
  background: var(--ink); color: #F2F5F5; font-weight: 500; text-align: left;
  padding: 11px 14px; font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,.12);
}
table.data thead th:last-child { border-right: 0; }
table.data td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data td.num, table.data th.num { text-align: right; font-family: var(--font-mono); font-size: 12.5px; white-space: nowrap; }
table.data td.c, table.data th.c { text-align: center; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:nth-child(even) { background: #FBFAF6; }
table.data tbody tr:hover { background: #F6F1E5; }
table.data .grp { background: var(--paper-2); font-weight: 600; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }
.table-note { font-size: 12.5px; color: var(--muted); padding: 12px 18px; border-top: 1px dashed var(--line-2); }
.swipe { display: none; }

/* ---------- 提示与引用 ---------- */
.note {
  border-left: 3px solid var(--teal); background: var(--surface);
  padding: 16px 20px; font-size: 14px; color: var(--ink-2);
  margin: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-right: 1px solid var(--line);
}
.note.warn { border-left-color: var(--brand); }
.note .t {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted-2); display: block; margin-bottom: 6px;
}

.quote {
  padding: 26px 28px; background: var(--ink); color: #EDF1F2;
  font-family: var(--font-serif); font-size: 17px; line-height: 1.9;
  position: relative; margin: 26px 0;
}
.quote::before { content: ""; position: absolute; left: 0; top: 0; width: 56px; height: 3px; background: var(--gold); }
.quote small { display: block; margin-top: 12px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: #93A1A5; text-transform: uppercase; }

/* ---------- 流程步骤 ---------- */
.steps { display: grid; gap: 0; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.step .no {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--muted-2);
  border-right: 1px solid var(--line); padding-right: 12px; align-self: start; padding-top: 2px;
}
.step h4 { font-size: 15.5px; font-weight: 650; margin-bottom: 4px; }
.step p { font-size: 13.5px; color: var(--muted); line-height: 1.7; }

/* ---------- 对比条 ---------- */
.bars { display: grid; gap: 14px; }
.bar-row { display: grid; grid-template-columns: 120px minmax(0,1fr) 120px; gap: 14px; align-items: center; font-size: 13px; }
.bar-track { height: 10px; background: var(--paper-2); position: relative; border: 1px solid var(--line); }
.bar-fill { position: absolute; inset: 0 auto 0 0; background: var(--teal); }
.bar-fill.alt { background: var(--brand); }
.bar-row .val { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); text-align: right; }
.bar-row .name { font-weight: 600; font-size: 13px; }

/* ---------- 企业 ---------- */
.company {
  display: grid; grid-template-columns: 40px minmax(0,1fr) auto; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start;
}
.company:last-child { border-bottom: 0; }
.company .idx { font-family: var(--font-mono); font-size: 11px; color: var(--teal); padding-top: 3px; }
.company h3 { font-size: 15.5px; font-weight: 650; line-height: 1.5; }
.company h3 .en { display: block; font-size: 9.5px; margin-top: 2px; letter-spacing: .1em; }
.company p { font-size: 13px; color: var(--muted); margin-top: 5px; line-height: 1.7; }
.company .tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em;
  border: 1px solid var(--line-2); padding: 4px 8px; color: var(--muted); white-space: nowrap;
}

/* ---------- 关键词 ---------- */
.keywords { margin-top: var(--s5); padding-top: 22px; border-top: 1px solid var(--line-2); }
.keywords .k-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.keywords .k-head h3 { font-size: 13px; font-weight: 650; letter-spacing: .02em; }
.keywords .k-head .en { font-size: 9.5px; }
.kw-list { display: flex; flex-wrap: wrap; gap: 8px; }
.kw-list a {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); background: var(--surface); padding: 7px 12px;
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-2);
  transition: all .15s ease;
}
.kw-list a::before { content: "#"; color: var(--line-2); }
.kw-list a:hover { border-color: var(--brand); color: var(--brand-ink); background: #FFF9F4; }
.kw-list a:hover::before { color: var(--brand); }

/* ---------- 相关阅读 ---------- */
.related { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.related a { background: var(--surface); padding: 18px 20px; display: block; }
.related a:hover { background: var(--paper-2); }
.related .en { display: block; font-size: 9.5px; margin-bottom: 5px; }
.related strong { font-size: 14px; font-weight: 600; color: var(--ink); }
.related span.arrow { font-family: var(--font-mono); font-size: 11px; color: var(--brand); }

/* ---------- 图库 ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.gallery figure { background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.gallery img { width: 100%; height: 210px; object-fit: cover; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { padding: 10px 14px; font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; gap: 10px; }
.gallery figcaption em { font-style: normal; font-family: var(--font-mono); font-size: 9.5px; color: var(--line-2); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 0; display: flex; gap: 18px; align-items: flex-start;
  font-size: 15px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { font-family: var(--font-mono); font-size: 11px; color: var(--brand); padding-top: 2px; }
.faq summary .plus { margin-left: auto; font-family: var(--font-mono); color: var(--muted-2); font-size: 15px; }
.faq details[open] summary .plus { color: var(--brand); }
.faq .a { padding: 0 0 18px 34px; font-size: 14px; color: var(--muted); line-height: 1.8; max-width: 74ch; }

/* ---------- CTA 联系 ---------- */
.cta-band {
  background: var(--ink); color: #fff; padding: 34px 36px;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3); flex-wrap: wrap;
  border-left: 4px solid var(--brand);
}
.cta-band h3 { font-size: 19px; font-weight: 650; margin-bottom: 4px; }
.cta-band p { font-size: 13px; color: #B4C0C3; }
.cta-band .act { display: flex; gap: 10px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.3); color: #fff;
}
.btn:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.solid { background: var(--brand); border-color: var(--brand); }
.btn.solid:hover { background: var(--brand-ink); border-color: var(--brand-ink); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--ink); color: #C2CCCF; margin-top: var(--s6); }
.footer-main { padding: var(--s5) 0 var(--s4); display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--s4); }
.footer-main h4 {
  color: #fff; font-size: 13px; font-weight: 600; margin-bottom: 14px;
  padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.14);
  font-family: var(--font-mono); letter-spacing: .1em; text-transform: uppercase;
}
.footer-main p { font-size: 13px; line-height: 1.8; color: #A6B2B6; }
.footer-main ul { list-style: none; }
.footer-main li { margin-bottom: 9px; }
.footer-main a { color: #C2CCCF; font-size: 13px; }
.footer-main a:hover { color: var(--gold); }
.footer-contact {
  border: 1px solid rgba(255,97,0,.35); background: rgba(255,97,0,.10);
  padding: 14px 16px; margin-top: 16px; font-size: 13px; color: #FFE3D2; line-height: 1.8;
}
.footer-contact strong { color: #fff; }
.footer-bar {
  border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0 26px;
  display: flex; justify-content: space-between; gap: var(--s2); flex-wrap: wrap;
  font-size: 11.5px; color: #86949A; font-family: var(--font-mono); letter-spacing: .04em;
}

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line-2); color: var(--ink);
  cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .layout { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
  .side { position: static; display: none; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .g4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 860px) {
  .container { padding: 0 20px; }
  .utility-inner { padding: 0 20px; font-size: 9.5px; letter-spacing: .06em; }
  .utility-inner span:first-child { display: none; }
  .masthead-inner { padding: 0 20px; min-height: 64px; }
  .nav-toggle { display: block; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-text strong { font-size: 13px; }
  .brand-text small { font-size: 9px; letter-spacing: .08em; }

  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ink); border-top: 1px solid rgba(255,255,255,.12);
    padding: 10px 20px 22px; flex-direction: column; align-items: stretch;
    max-height: calc(100vh - 100px); overflow-y: auto;
  }
  .nav.open { display: flex; }
  .nav-group > button, .nav > a { width: 100%; justify-content: space-between; padding: 13px 2px; border-bottom: 1px solid rgba(255,255,255,.09); }
  .dropdown { position: static; display: none; box-shadow: none; border: 0; background: rgba(255,255,255,.04); margin: 4px 0 8px; padding: 4px; }
  .nav-group.open .dropdown { display: block; }
  .dropdown a { color: #DCE3E5; padding: 9px 10px; }
  .dropdown a span { color: #8D9A9E; }
  .dropdown a:hover { background: rgba(255,255,255,.06); color: var(--gold); }

  .hero { height: 360px; }
  .hero-inner { padding-bottom: 68px; }
  .hero h1 { font-size: 27px; }
  .hero-en { font-size: 10.5px; }
  .rail { margin-top: -26px; }
  .rail-inner { grid-template-columns: 1fr 1fr; }
  .rail-item { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .rail-item:nth-child(2n) { border-right: 0; }

  .page { padding-top: var(--s4); }
  .standfirst .lede { font-size: 16px; }
  .block-head .num { font-size: 20px; }
  .block-head h2 { font-size: 20px; }
  .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery img { height: 150px; }
  .related { grid-template-columns: minmax(0, 1fr); }
  .footer-main { grid-template-columns: minmax(0, 1fr); gap: var(--s3); }
  .table-scroll { overflow-x: auto; }
  .swipe { display: block; font-family: var(--font-mono); font-size: 9.5px; color: var(--muted-2); padding: 8px 14px 0; letter-spacing: .08em; }
  .cta-band { padding: 24px; }
  .bar-row { grid-template-columns: 88px minmax(0,1fr) 92px; gap: 10px; }
}

@media (max-width: 520px) {
  .rail-inner { grid-template-columns: 1fr; }
  .rail-item { border-right: 0; }
  .gallery { grid-template-columns: 1fr; }
  .hero h1 { font-size: 23px; }
  .hero-tags span { font-size: 9.5px; padding: 4px 8px; }
  .company { grid-template-columns: 30px 1fr; }
  .company .tag { grid-column: 2; justify-self: start; margin-top: 4px; }
  .kw-list a { font-size: 10.5px; }
}

@media print {
  .masthead, .utility, .side, .to-top, .hero-grid, .site-footer { display: none; }
  body { background: #fff; }
  .hero { height: 200px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
