/* 极周内容站 · 旧站视觉体系（UI 返修 20261020-02：以 legacy 为基线恢复 hero/字体/留白/卡片质感） */
:root {
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --line: #d2d2d7;
  --surface: #fff;
  --surface-alt: #f5f5f7;
  --paper: #f8f6f2;
  --atlas-line: #ded8ca;
  --gold: #c4a574;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
time { color: var(--ink-2); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 8vw; }
.about, .biz, .recent { padding: 96px 0; }
.page { padding: 72px 0 96px; }
h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -.02em; font-weight: 650; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.02em; font-weight: 650; line-height: 1.2; margin-bottom: 16px; }
h3 { font-size: 1.45rem; margin-bottom: 10px; }
.kicker { color: var(--ink-2); font-size: 13px; letter-spacing: .16em; margin-bottom: 12px; }
.lede { font-size: 1.12rem; line-height: 1.8; color: var(--ink-2); max-width: 40em; }
.note { font-size: 13px; color: var(--ink-2); }
.eyebrow { color: #775c32; letter-spacing: .28em; font-size: 12px; margin-bottom: 16px; }
.hero .eyebrow { color: var(--gold); }

/* 导航（旧站质感：sticky + 毛玻璃） */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-weight: 650; letter-spacing: .18em; font-size: 15px; text-decoration: none; }
.brand small { color: var(--ink-2); font-weight: 400; margin-left: 6px; letter-spacing: 2px; font-size: 11px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { text-decoration: none; font-size: 14px; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }

/* Hero（旧站 88vh 大图 + 渐变遮罩） */
.hero {
  position: relative; min-height: 88vh;
  display: flex; align-items: flex-end;
  color: #fff;
}
.hero img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.28) 45%, rgba(0,0,0,.12) 100%);
}
.hero-inner { position: relative; z-index: 1; padding: 0 8vw 72px; max-width: 920px; }
.hero h1 {
  font-size: clamp(1.75rem, 8.4vw, 4.4rem);
  font-weight: 650; letter-spacing: -.03em; line-height: 1.08;
  margin-bottom: 18px;
}
.hero h1 span { display: block; white-space: nowrap; }
.hero .sub {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: rgba(255,255,255,.86); line-height: 1.6; max-width: 36em;
  text-wrap: balance;
  margin-bottom: 32px;
}

/* 按钮（旧站胶囊体系） */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.cta-center { justify-content: center; margin-top: 40px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 22px; border-radius: 980px;
  text-decoration: none; font-size: 15px; font-weight: 500;
}
.btn-light { background: #fff; color: var(--ink); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost-dark { background: transparent; color: var(--ink); border: 1px solid var(--line); }

/* 首页文章中心横幅 */
.banner { padding: 88px 8vw; background: var(--surface-alt); }
.banner .btn { margin-top: 20px; }

/* About（旧站双栏 + 数据条） */
.about { background: var(--surface); }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.about-photo {
  border-radius: 22px; overflow: hidden;
  box-shadow: 0 1px 3px rgb(0 0 0 / .05), 0 18px 48px rgb(0 0 0 / .08);
}
.about-photo img { width: 100%; height: 420px; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.facts dt { font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.facts dd { font-size: 1.15rem; font-weight: 600; }

/* 卡片（旧站圆角阴影 + 深色卡变体） */
.biz { background: var(--surface-alt); }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; }
.cards-three { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border-radius: 22px; overflow: hidden;
  box-shadow: 0 1px 2px rgb(0 0 0 / .04), 0 10px 28px rgb(0 0 0 / .05);
  display: flex; flex-direction: column;
}
.card img { width: 100%; height: 280px; object-fit: cover; }
.card-body { padding: 28px 28px 32px; }
.card-body-tall { padding: 40px 32px 44px; }
.card p { color: var(--ink-2); line-height: 1.75; margin-bottom: 20px; }
.card-dark { background: var(--ink); color: #f5f5f7; }
.card-dark p { color: #a1a1a6; }
.card-plain { box-shadow: 0 1px 2px rgb(0 0 0 / .04), 0 10px 28px rgb(0 0 0 / .05); }
.card h3 { color: var(--ink); }
.card-dark h3 { color: #f5f5f7; }

/* 极周图则：入口卡同系列 KV（20261021 方向 C；20261022-03 起由服务清单驱动，数量不锁） */
.atlas { background: var(--paper); }
.atlas-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr;
  gap: 1px; background: var(--ink); border: 1px solid var(--ink);
  border-radius: 22px; overflow: hidden; margin-top: 40px;
}
.entry-card { min-width: 0; background: #fff; display: flex; flex-direction: column; }
.atlas-card img {
  display: block; width: 100%; height: auto; aspect-ratio: 3 / 2;
  border-bottom: 1px solid var(--atlas-line); background: #fff;
}
.atlas-card-body { padding: 24px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.atlas-no { color: #8a6d3b; font-size: 11px; letter-spacing: .18em; margin-bottom: 9px; }
.atlas-card h3 { font-size: 22px; margin-bottom: 9px; }
.atlas-card p { color: var(--ink-2); font-size: 15px; line-height: 1.7; margin-bottom: 20px; }
.atlas-more {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center;
  min-height: 40px; padding: 0 18px; border: 1px solid var(--ink);
  border-radius: 980px; color: var(--ink); font-size: 14px; text-decoration: none;
}
.atlas-more:hover { background: var(--ink); color: #fff; }
.atlas-hero { background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); }
.atlas-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 52px; align-items: center;
}
.atlas-hero-kv {
  width: 100%; height: auto; display: block; background: #fff;
  border: 1px solid var(--ink); border-radius: 22px; overflow: hidden;
  box-shadow: 0 1px 2px rgb(0 0 0 / .04), 0 16px 40px rgb(0 0 0 / .06);
}
.atlas-list { background: var(--surface); padding-top: 0; }

/* 文章列表与分类 */
.recent { background: var(--surface); }
.post-list { list-style: none; margin: 24px 0 0; padding: 0; }
.post-list li { display: flex; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.post-list a { flex: 1; color: var(--ink); text-decoration: none; }
.post-list a:hover { color: var(--gold); }
.post-list time { color: var(--ink-2); font-size: 13px; white-space: nowrap; }
.more { text-align: right; margin-top: 20px; }
.more a { color: var(--ink-2); text-decoration: none; font-size: 14px; }
.more a:hover { color: var(--ink); }

.cat { font-size: 12px; padding: 2px 10px; border-radius: 999px; background: var(--surface-alt); color: var(--ink-2); white-space: nowrap; }
.cat-clinical { background: #fdf6ec; color: #8a6d3b; }
.cat-industry { background: #eef4fa; color: #33557a; }
.cat-management { background: #eef7f0; color: #3d6b4f; }
.cat-product_edu { background: #f4f0fa; color: #5d4a7a; }

.cat-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 8px; }
.cat-tabs .tab { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; font-size: 14px; }
.cat-tabs .tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* 空态（人工复核中——不是故障） */
.empty-state {
  margin-top: 32px; padding: 48px 40px;
  background: var(--surface-alt); border-radius: 22px;
  text-align: center;
}
.empty-state .eyebrow { margin-bottom: 12px; }
.empty-state h2 { margin-bottom: 12px; }
.empty-state p { color: var(--ink-2); max-width: 42em; margin: 0 auto 8px; }
.empty-state .note { margin-top: 16px; }
.empty-state .note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* 过渡页 */
.crumb { margin-bottom: 24px; }
.crumb a { color: var(--ink-2); text-decoration: none; font-size: 14px; }
.crumb a:hover { color: var(--ink); }
.tool-hero { background: var(--surface); padding-bottom: 24px; }
.tool-hero h1 { margin-bottom: 16px; }
.tool-hero .cta-row { margin-top: 28px; }

/* 文章详情页 */
.detail { background: var(--surface-alt); padding: 72px 0 96px; }
.article {
  background: #fff; border-radius: 22px; padding: 44px 48px;
  box-shadow: 0 1px 2px rgb(0 0 0 / .04), 0 10px 28px rgb(0 0 0 / .05);
}
.article h1 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.35; margin: 8px 0 10px; }
.article .meta { color: var(--ink-2); font-size: 13px; margin: 0; }
.article .digest { color: var(--ink-2); background: var(--surface-alt); border-radius: 14px; padding: 12px 16px; margin-top: 14px; }
.article .body { margin-top: 20px; }
.article .body > * + * { margin-top: 14px; }
.article .body p { margin-bottom: 0; }
.article .body figure { margin: 18px 0; }
.article .body img { max-width: 100%; height: auto; display: block; margin: 0 auto; border-radius: 12px; }
.article .body h2, .article .body h3 { color: var(--ink); margin: 24px 0 8px; }
.trim-note {
  background: #fdf6ec; border: 1px solid #ecd9b0; color: #8a6d3b;
  border-radius: 14px; padding: 12px 16px; font-size: 14px; margin: 16px 0;
}
.trim-note a { color: inherit; }
.origin { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 14px; color: var(--ink-2); font-size: 14px; }

/* 页脚（旧站深色 + 双备案） */
footer.site { background: var(--ink); color: #a1a1a6; padding: 40px 0 28px; font-size: 13px; }
.foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.foot strong { color: #f5f5f7; font-weight: 600; letter-spacing: .12em; }
.foot a { color: #a1a1a6; text-decoration: none; }
.foot a:hover { color: #f5f5f7; }
.icp {
  max-width: 1120px; margin: 16px auto 0; padding: 0 8vw;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 8px 16px; text-align: center;
}
.icp a { color: #a1a1a6; text-decoration: none; }
.icp a:hover { color: #f5f5f7; }
.icp .mps { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.icp .mps img { display: block; width: 16px; height: 16px; flex-shrink: 0; }

/* 平板中间档：四卡两列防挤压 */
@media (max-width: 1100px) and (min-width: 861px) {
  .atlas-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 移动端（390 适配） */
@media (max-width: 860px) {
  .wrap { padding: 0 20px; }
  .nav-inner { height: 56px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 13px; }
  .brand small { display: none; }
  .hero { min-height: 78vh; }
  .hero-inner { padding: 0 20px 48px; }
  .about, .biz, .recent { padding: 64px 0; }
  .page { padding: 56px 0 72px; }
  .about-grid, .cards, .cards-three, .facts { grid-template-columns: 1fr; }
  .atlas-grid { grid-template-columns: 1fr; border-radius: 18px; }
  .atlas-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .atlas-hero-kv { border-radius: 18px; }
  .about-photo img, .card img { height: 240px; }
  .article { padding: 28px 22px; }
  .foot { flex-direction: column; gap: 18px; }
}
