/* ============================================================
   思庐哲学官网 · 设计系统
   声调一：朱红学术（全站骨架 / 思想 / 关于 / 备考）
   声调二：冷色刊头（philontier · AI 与哲学）
   声调三：黑金仪式（Lab 测试沉浸卡，隔离使用）
   ============================================================ */

:root {
  /* 纸与墨 */
  --ivory:      #F5F1E8;
  --ivory-hi:   #FBF8F2;
  --ivory-deep: #EDE7DA;
  --ink:        #1C1412;
  --ink-soft:   #574C46;
  --muted:      #8C7F76;
  --line:       rgba(28, 20, 18, 0.14);
  --line-soft:  rgba(28, 20, 18, 0.08);

  /* 朱红 */
  --red:        #7b0c00;
  --red-deep:   #5c0a04;
  --red-wash:   rgba(123, 12, 0, 0.07);

  /* 冷色刊头 · philontier */
  --navy:       #1a2744;
  --slate:      #6b7280;
  --journal:    #f8fafc;
  --journal-line: #e5e7eb;

  /* 黑金 · Lab */
  --obsidian:   #0B0B0C;
  --gold:       #B89947;
  --parchment:  #F4F1EA;

  --serif: "Noto Serif SC", "Songti SC", "STSong", serif;
  --sans:  "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --en:    "Cormorant Garamond", Palatino, serif;

  --gut: clamp(24px, 4vw, 52px);
  --maxw: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.page-product { padding-bottom: 72px; }
html { scroll-padding-top: 88px; }
a { color: inherit; text-decoration: none; }
.js-consult { cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: rgba(123, 12, 0, 0.16); }

/* 全站纸纹 */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90;
  pointer-events: none; opacity: 0.045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.86' numOctaves='3'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── 排版基元 ─────────────────────────────── */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.wrap-narrow { max-width: 860px; margin: 0 auto; padding: 0 var(--gut); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; letter-spacing: 0.04em; }
p { line-height: 1.95; }

.kicker {
  display: inline-flex; align-items: center; gap: 13px;
  font-family: var(--en); font-style: italic;
  font-size: 12.5px; letter-spacing: 0.3em; color: var(--red);
}
.kicker::before { content: ""; width: 38px; height: 1px; background: currentColor; opacity: 0.55; }

.sec-num {
  font-family: var(--en); font-size: 12px; letter-spacing: 0.3em;
  color: var(--muted);
}
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 44px;
}
.sec-head h2 { font-size: clamp(24px, 2.6vw, 33px); line-height: 1.35; }
.sec-head .sec-note {
  font-size: 13px; color: var(--muted); line-height: 1.85;
  max-width: 30em; text-align: right; flex-shrink: 0;
}
.sec-head-l { margin-top: 10px; }

section.band { padding: clamp(66px, 8vw, 118px) 0; }
section.band + section.band { border-top: 1px solid var(--line-soft); }

/* ── 导航 ─────────────────────────────────── */
.nav {
  position: fixed; z-index: 60; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gut);
  transition: background 0.4s, border-color 0.4s, padding 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: rgba(245, 241, 232, 0.9);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  padding-top: 16px; padding-bottom: 16px;
}
.brand { display: flex; align-items: baseline; gap: 13px; }
.brand-zh { font-family: var(--serif); font-size: 18px; font-weight: 500; letter-spacing: 0.42em; }
.brand-en { font-family: var(--en); font-style: italic; font-size: 12.5px; letter-spacing: 0.16em; color: var(--muted); }
.nav-links { display: flex; gap: 32px; font-size: 12.5px; letter-spacing: 0.26em; color: var(--ink-soft); }
.nav-links a { position: relative; padding-bottom: 5px; transition: color 0.25s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--red); transition: right 0.35s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.is::after { right: 0; }
.nav-links a.is { color: var(--ink); }

/* ── 按钮 ─────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 30px;
  font-size: 13.5px; letter-spacing: 0.24em; font-weight: 400;
  transition: 0.28s ease; white-space: nowrap;
}
.btn-fill { background: var(--red); color: var(--ivory-hi); }
.btn-fill:hover { background: var(--red-deep); letter-spacing: 0.3em; }
.btn-line { border: 1px solid rgba(28, 20, 18, 0.28); }
.btn-line:hover { border-color: var(--ink); background: rgba(28, 20, 18, 0.04); }
.btn-sm { height: 40px; padding: 0 22px; font-size: 12.5px; letter-spacing: 0.2em; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; letter-spacing: 0.16em; color: var(--red);
  border-bottom: 1px solid currentColor; padding-bottom: 4px;
  transition: gap 0.25s;
}
.link-arrow:hover { gap: 15px; }

/* ── 页面 hero（内页）────────────────────── */
.phero { position: relative; min-height: 62vh; display: flex; align-items: flex-end; padding: 150px 0 62px; }
.phero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.phero .wrap { position: relative; z-index: 2; width: 100%; }
.phero h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.14; margin-top: 24px; }
.phero .phero-lede {
  margin-top: 26px; max-width: 34em; font-size: 15px;
  color: var(--ink-soft); line-height: 2.05;
}
.phero .phero-meta {
  margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px 34px;
  font-size: 11.5px; letter-spacing: 0.22em; color: var(--muted);
}
.phero .phero-meta a:hover { color: var(--red); }

/* ── 卡片 ─────────────────────────────────── */
.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--ivory);
  padding: 34px 30px 30px;
  display: flex; flex-direction: column;
  position: relative;
  transition: background 0.35s;
  min-height: 236px;
}
.card:hover { background: var(--ivory-hi); }
.card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 100%;
  width: 2px; background: var(--red); transition: bottom 0.45s cubic-bezier(.2,.7,.2,1);
}
.card:hover::before { bottom: 0; }

.card-tag {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.26em; color: var(--red);
  margin-bottom: 20px;
}
.card-tag .src { color: var(--muted); letter-spacing: 0.16em; }
.card h3 {
  font-size: 19px; line-height: 1.6; font-weight: 500;
  letter-spacing: 0.02em;
}
.card .sub {
  margin-top: 9px; font-size: 12.5px; color: var(--red);
  letter-spacing: 0.06em; font-family: var(--serif);
}
.card p.abs {
  margin-top: 15px; font-size: 13.5px; line-height: 1.95;
  color: var(--muted); flex: 1;
}
.card-foot {
  margin-top: 22px; padding-top: 15px; border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; letter-spacing: 0.18em; color: var(--muted);
}
.album-row {
  display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 28px;
}
.album-row a {
  font-size: 14px; letter-spacing: 0.02em;
  border-bottom: 1px solid var(--line); padding-bottom: 4px;
}
.album-row a:hover { color: var(--red); border-bottom-color: var(--red); }
.journal .album-row a:hover { color: var(--navy); border-bottom-color: var(--navy); }

/* 四维徽记：把 Brand OS 做成可见结构 */
.dims { display: flex; gap: 7px; align-items: center; }
.dim {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10.5px; letter-spacing: 0.12em; color: var(--muted);
}
.dim i {
  width: 5px; height: 5px; border-radius: 50%;
  border: 1px solid rgba(28, 20, 18, 0.3); display: block;
}
.dim.on { color: var(--red); }
.dim.on i { background: var(--red); border-color: var(--red); }

/* 角标 */
.corner {
  position: absolute; top: 0; right: 0;
  font-size: 10px; letter-spacing: 0.2em;
  padding: 7px 12px; color: var(--muted);
  border-left: 1px solid var(--line); border-bottom: 1px solid var(--line);
}

/* ── 冷色刊头区（philontier）──────────────── */
.journal { background: var(--journal); color: var(--navy); }
.journal .sec-head { border-bottom-color: var(--journal-line); }
.journal .sec-num, .journal .sec-note { color: var(--slate); }
.journal .kicker { color: var(--navy); }
.journal .grid { background: var(--journal-line); border-color: var(--journal-line); }
.journal .card { background: var(--journal); }
.journal .card:hover { background: #fff; }
.journal .card::before { background: var(--navy); }
.journal .card-tag { color: var(--navy); }
.journal .card .sub { color: var(--slate); }
.journal .card p.abs { color: var(--slate); }
.journal .card-foot { color: var(--slate); border-top-color: var(--journal-line); }
.journal .link-arrow { color: var(--navy); }
.journal blockquote {
  border-left: 3px solid var(--navy); padding-left: 20px;
  font-family: var(--serif); font-size: 17px; line-height: 1.85; color: var(--navy);
}

/* ── 黑金区（Lab 沉浸卡）──────────────────── */
.ritual {
  background: var(--obsidian); color: var(--parchment);
  position: relative; overflow: hidden;
}
.ritual .kicker { color: var(--gold); }
.ritual .sec-head { border-bottom-color: rgba(184, 153, 71, 0.25); }
.ritual .sec-num, .ritual .sec-note { color: rgba(244, 241, 234, 0.5); }
.ritual .btn-fill { background: var(--gold); color: var(--obsidian); }
.ritual .btn-fill:hover { background: #cfae55; }
.ritual .btn-line { border-color: rgba(244, 241, 234, 0.32); color: var(--parchment); }
.ritual .btn-line:hover { border-color: var(--parchment); background: rgba(244, 241, 234, 0.06); }
.ritual .link-arrow { color: var(--gold); }

/* ── 可视化：点阵矩阵 ─────────────────────── */
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.matrix { width: 100%; border-collapse: collapse; font-size: 13px; }
.matrix th, .matrix td {
  border-bottom: 1px solid var(--line); padding: 15px 12px;
  text-align: left; font-weight: 400;
}
.matrix thead th {
  font-size: 11px; letter-spacing: 0.2em; color: var(--muted);
  border-bottom-color: var(--ink); padding-bottom: 11px;
}
.matrix td:first-child, .matrix th:first-child { padding-left: 0; }
.matrix .cellname { font-family: var(--serif); font-size: 15px; }
.matrix .cellname small { display: block; color: var(--muted); font-size: 11px; letter-spacing: 0.14em; margin-top: 5px; font-family: var(--sans); }
.matrix td.c { text-align: center; }
.dot-yes, .dot-no, .dot-half {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%;
}
.dot-yes { background: var(--red); }
.dot-half { background: transparent; border: 1px solid var(--red); }
.dot-no { background: transparent; border: 1px solid rgba(28, 20, 18, 0.2); }

/* 星级 */
.stars { color: var(--red); letter-spacing: 0.25em; font-size: 11px; }

/* ── 可视化：阶段时间轴 ───────────────────── */
.phases { position: relative; padding-top: 34px; }
.phases::before {
  content: ""; position: absolute; top: 44px; left: 0; right: 0;
  height: 1px; background: var(--line);
}
.phases-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; }
.phase { position: relative; padding: 34px 18px 0; }
.phase::before {
  content: ""; position: absolute; top: 7px; left: 18px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--ivory); border: 1px solid var(--red);
}
.phase.hot::before { background: var(--red); }
.phase .pname { font-family: var(--serif); font-size: 17px; }
.phase .pdate { font-size: 11px; letter-spacing: 0.16em; color: var(--muted); margin-top: 8px; }
.phase .pnote { font-size: 12.5px; color: var(--ink-soft); line-height: 1.85; margin-top: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.chip {
  font-size: 10.5px; letter-spacing: 0.06em; color: var(--ink-soft);
  border: 1px solid var(--line); padding: 3px 8px; line-height: 1.6;
}
.chip.exam { color: var(--red); border-color: rgba(123,12,0,0.28); background: var(--red-wash); }

/* ── 产品入口带 ───────────────────────────── */
.product-enter {
  display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center;
  padding: 32px 36px; margin-bottom: 28px;
  background: var(--ink); color: var(--ivory-hi);
  position: relative; overflow: hidden;
}
.product-enter::after {
  content: ""; position: absolute; right: -40px; top: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  border: 1px solid rgba(251,248,242,0.08);
}
.product-enter .pe-k {
  font-family: var(--en); font-style: italic; font-size: 12px;
  letter-spacing: 0.28em; color: rgba(251,248,242,0.55);
}
.product-enter h3 {
  font-size: clamp(22px, 2.4vw, 30px); margin-top: 10px; color: var(--ivory-hi);
}
.product-enter p {
  margin-top: 12px; font-size: 13.5px; line-height: 1.9;
  color: rgba(251,248,242,0.62); max-width: 42em;
}
.product-enter .pe-nums {
  display: flex; gap: 22px; margin-top: 18px;
  font-size: 11px; letter-spacing: 0.12em; color: rgba(251,248,242,0.5);
}
.product-enter .pe-nums b {
  display: block; font-family: var(--serif); font-size: 22px;
  font-weight: 500; color: var(--ivory-hi); letter-spacing: 0.04em; margin-bottom: 4px;
}
.product-enter .btn-fill { background: var(--red); color: var(--ivory-hi); position: relative; z-index: 1; }
.product-enter .btn-fill:hover { background: #9a1208; }

a.plan { display: flex; flex-direction: column; height: 100%; }
a.plan:hover { background: var(--ivory-hi); }
.plan .hook {
  font-family: var(--serif); font-size: 14px; line-height: 1.7;
  color: var(--red); margin-top: 10px;
}
.plan .digits {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); margin: 18px 0 8px;
}
.plan .digits div { background: var(--ivory); padding: 12px 8px; text-align: center; }
.plan .digits b {
  display: block; font-family: var(--serif); font-size: 18px;
  font-weight: 500; color: var(--red); line-height: 1.2;
}
.plan .digits span { font-size: 10px; letter-spacing: 0.12em; color: var(--muted); margin-top: 6px; display: block; }
.plan.hot .digits div { background: var(--ivory-hi); }
.meter { display: flex; gap: 5px; align-items: center; margin-top: 8px; }
.meter i {
  width: 18px; height: 4px; background: rgba(28,20,18,0.12);
}
.meter i.on { background: var(--red); }
.plan .go {
  margin-top: 8px; font-size: 12px; letter-spacing: 0.16em; color: var(--red);
}

/* ── 可视化：四维/两极条 ──────────────────── */
.poles { display: grid; gap: 22px; }
.pole-row { display: grid; grid-template-columns: 92px 1fr 92px; align-items: center; gap: 16px; }
.pole-row .pl, .pole-row .pr { font-family: var(--serif); font-size: 14px; }
.pole-row .pr { text-align: right; }
.pole-bar { position: relative; height: 1px; background: var(--line); }
.pole-bar span {
  position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px;
  background: var(--red); border-radius: 50%;
}
.pole-bar::before, .pole-bar::after {
  content: ""; position: absolute; top: -3px; width: 1px; height: 7px; background: var(--line);
}
.pole-bar::before { left: 0; } .pole-bar::after { right: 0; }

/* ── 可视化：16 型网格 ────────────────────── */
.type-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(184,153,71,0.22); border: 1px solid rgba(184,153,71,0.22); }
.type-cell {
  background: var(--obsidian); padding: 20px 16px; min-height: 104px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: background 0.3s;
}
.type-cell:hover { background: #14140f; }
.type-cell .code { font-family: var(--en); font-size: 12px; letter-spacing: 0.22em; color: var(--gold); }
.type-cell .zh { font-family: var(--serif); font-size: 16px; color: var(--parchment); margin-top: 12px; }
.type-cell .en { font-size: 10.5px; letter-spacing: 0.1em; color: rgba(244,241,234,0.4); margin-top: 5px; }

/* ── 可视化：沿革时间线 ───────────────────── */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px;
  width: 1px; background: var(--line);
}
.tl-item { position: relative; padding: 0 0 44px; }
.tl-item::before {
  content: ""; position: absolute; left: -30px; top: 8px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--ivory); border: 1px solid var(--red);
}
.tl-item.key::before { background: var(--red); box-shadow: 0 0 0 4px var(--red-wash); }
.tl-year { font-family: var(--en); font-size: 13px; letter-spacing: 0.24em; color: var(--red); }
.tl-title { font-family: var(--serif); font-size: 19px; margin-top: 9px; }
.tl-body { font-size: 13.5px; color: var(--muted); line-height: 1.95; margin-top: 10px; max-width: 46em; }

/* ── 纸本图带 ─────────────────────────────── */
.paper-band {
  position: relative; overflow: hidden;
  min-height: 380px; display: flex; align-items: center;
  background: #2a120f;
}
.paper-band .bg {
  position: absolute; inset: 0;
  background: url("../img/paper.jpg") center / cover no-repeat;
}
.paper-band .bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(24,12,9,0.78) 0%, rgba(24,12,9,0.42) 55%, rgba(123,12,0,0.28) 100%);
}
.paper-band .wrap { position: relative; z-index: 2; }
.paper-band blockquote {
  font-family: var(--serif); color: var(--ivory-hi);
  font-size: clamp(23px, 3vw, 38px); line-height: 1.6; letter-spacing: 0.04em;
  max-width: 20em;
}
.paper-band cite {
  display: block; margin-top: 26px; font-style: normal;
  font-size: 11.5px; letter-spacing: 0.24em; color: rgba(251, 248, 242, 0.6);
}

/* ── 架构四块图 ───────────────────────────── */
.arch { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.arch-cell { background: var(--ivory); padding: 30px 24px; min-height: 220px; }
.arch-cell .an { font-family: var(--serif); font-size: 18px; }
.arch-cell .ae { font-family: var(--en); font-size: 11px; letter-spacing: 0.2em; color: var(--muted); margin-top: 6px; }
.arch-cell ul { list-style: none; margin-top: 18px; }
.arch-cell li {
  font-size: 12.5px; color: var(--ink-soft); line-height: 2.1;
  padding-left: 15px; position: relative;
}
.arch-cell li::before {
  content: ""; position: absolute; left: 0; top: 12px;
  width: 4px; height: 4px; border-radius: 50%; background: var(--red); opacity: 0.55;
}

/* ── 数字 ─────────────────────────────────── */
.figs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.fig { background: var(--ivory); padding: 34px 26px; }
.fig .n { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 44px); color: var(--red); line-height: 1; }
.fig .l { font-size: 12.5px; color: var(--ink-soft); margin-top: 14px; letter-spacing: 0.06em; }
.fig .s { font-size: 10.5px; color: var(--muted); margin-top: 8px; letter-spacing: 0.12em; }

/* ── 节奏条 ───────────────────────────────── */
.rhythm { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.rd { background: var(--ivory); padding: 20px 14px 22px; min-height: 128px; }
.rd .dow { font-size: 10.5px; letter-spacing: 0.2em; color: var(--muted); }
.rd .slot { margin-top: 14px; font-family: var(--serif); font-size: 15px; }
.rd .time { font-size: 10.5px; color: var(--muted); margin-top: 7px; letter-spacing: 0.1em; }
.rd.empty .slot { color: rgba(28,20,18,0.18); }

/* ── 页脚 ─────────────────────────────────── */
.foot { border-top: 1px solid var(--line); padding: 68px 0 40px; }
.foot-top { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 40px; }
.foot h4 { font-size: 12px; letter-spacing: 0.24em; color: var(--muted); font-weight: 400; font-family: var(--sans); margin-bottom: 20px; }
.foot ul { list-style: none; }
.foot li { font-size: 13px; line-height: 2.35; color: var(--ink-soft); }
.foot li a:hover { color: var(--red); }
.foot ul.mx { text-align: left; }
.foot ul.mx .mx-plat { letter-spacing: 0.02em; color: var(--muted); font-size: 11px; line-height: 1.7; }
button.js-wx {
  border: 0; background: none; padding: 0; margin: 0;
  color: var(--red); cursor: pointer;
  font: inherit; letter-spacing: inherit;
}
button.js-wx:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot li.wx-line { max-width: 148px; }
.foot .fbrand .brand-zh { font-size: 20px; }
.foot .fbrand p { margin-top: 18px; font-size: 13px; color: var(--muted); max-width: 24em; line-height: 2; }
.foot-bot {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 14px;
  font-size: 11px; letter-spacing: 0.16em; color: var(--muted);
}
.foot-bot a.beian:hover { color: var(--red); }
body.embed #site-beian { display: none; }

/* ── 问一问 · 黄昏起飞 ────────────────────── */
.askw {
  position: fixed; right: 22px; bottom: 22px; z-index: 65;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
  pointer-events: none;
}
.askw > * { pointer-events: auto; }
.ask-fab {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 8px;
  border: 1px solid var(--ink); background: var(--ivory-hi); color: var(--ink);
  cursor: pointer; font-family: var(--sans);
}
.ask-fab:hover { border-color: var(--red); color: var(--red); }
.ask-fab.is-open { background: var(--red); color: var(--ivory-hi); border-color: var(--red); }
.ask-fab-icon {
  width: 48px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ivory); border: 1px solid var(--line);
}
.ask-fab.is-open .ask-fab-icon { background: var(--ivory-hi); border-color: rgba(251,248,242,0.35); }
.ask-fab-label {
  font-size: 12.5px; letter-spacing: 0.22em;
}
.ask-owl { display: block; overflow: visible; }
.ask-owl-soar { transform-origin: 44px 36px; animation: ask-soar 3.2s ease-in-out infinite; }
.ask-wing-l { transform-origin: 32px 32px; animation: ask-flap-l 1.6s ease-in-out infinite; }
.ask-wing-r { transform-origin: 56px 32px; animation: ask-flap-r 1.6s ease-in-out infinite; }
@keyframes ask-soar {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-7px) rotate(-2deg); }
}
@keyframes ask-flap-l {
  0%, 100% { transform: rotate(6deg); }
  50% { transform: rotate(-14deg); }
}
@keyframes ask-flap-r {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(12deg); }
}
.ask-panel {
  width: min(380px, calc(100vw - 32px));
  max-height: min(72vh, 560px);
  display: flex; flex-direction: column;
  background: var(--ivory); border: 1px solid var(--ink);
}
.ask-panel[hidden] { display: none; }
.ask-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; padding: 16px 16px 12px; border-bottom: 1px solid var(--line);
}
.ask-head-main { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ask-head .ask-owl { width: 52px; height: 42px; }
.ask-kicker {
  font-family: var(--en); font-style: italic; font-size: 11px;
  letter-spacing: 0.22em; color: var(--red);
}
.ask-head h2 { font-size: 22px; margin-top: 4px; }
.ask-x {
  width: 36px; height: 36px; border: 0; background: transparent;
  font-size: 22px; color: var(--muted); cursor: pointer; flex: none;
}
.ask-x:hover { color: var(--ink); }
.ask-body { flex: 1; overflow: auto; padding: 14px 16px 8px; }
.ask-welcome { font-size: 13.5px; line-height: 1.9; color: var(--ink-soft); }
.ask-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ask-chip {
  border: 1px solid var(--line); background: transparent; color: var(--ink-soft);
  font-size: 12px; padding: 6px 10px; cursor: pointer; font-family: var(--sans); text-align: left;
}
.ask-chip:hover { border-color: var(--red); color: var(--red); }
.ask-thread { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.ask-msg-user { align-self: flex-end; max-width: 92%; }
.ask-msg-assistant { align-self: flex-start; max-width: 92%; }
.ask-meta { font-size: 10.5px; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 4px; }
.ask-bubble {
  padding: 10px 12px; font-size: 13.5px; line-height: 1.85; color: var(--ink-soft);
  border: 1px solid var(--line); background: var(--ivory-hi);
}
.ask-msg-user .ask-bubble { background: var(--red-wash); border-color: rgba(123,12,0,0.22); color: var(--ink); }
.ask-link {
  display: inline-block; margin-top: 6px; padding: 0; border: 0; background: none;
  color: var(--red); font-size: 12.5px; letter-spacing: 0.06em; cursor: pointer; font-family: var(--sans);
}
.ask-link:hover { text-decoration: underline; }
.ask-form {
  display: flex; border-top: 1px solid var(--line); background: var(--ivory-hi);
}
.ask-input {
  flex: 1; border: 0; background: transparent; padding: 12px 14px;
  font-size: 14px; font-family: var(--sans); color: var(--ink); outline: none;
}
.ask-send {
  border: 0; border-left: 1px solid var(--line); background: var(--red); color: var(--ivory-hi);
  padding: 0 16px; letter-spacing: 0.16em; font-size: 13px; cursor: pointer; font-family: var(--sans);
}
.ask-send:hover { background: var(--red-deep); }
.ask-foot {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  padding: 8px 14px 10px; border-top: 1px solid var(--line-soft);
}
.ask-advisor {
  border: 0; background: none; color: var(--red); cursor: pointer;
  font-size: 12px; letter-spacing: 0.12em; font-family: var(--sans); padding: 0;
}
.ask-advisor:hover { text-decoration: underline; }
.ask-hint { font-size: 11px; color: var(--muted); letter-spacing: 0.04em; }
body.page-product .askw { bottom: 78px; }
@media (max-width: 620px) {
  .askw { right: 14px; bottom: 14px; }
  body.page-product .askw { bottom: 128px; }
}
@media (prefers-reduced-motion: reduce) {
  .ask-owl-soar, .ask-wing-l, .ask-wing-r { animation: none; }
}

/* ── 咨询二维码弹窗 ───────────────────────── */
.consult-modal {
  position: fixed; inset: 0; z-index: 80;
  display: none; align-items: center; justify-content: center;
  padding: 24px; background: rgba(28, 20, 18, 0.62);
  backdrop-filter: blur(8px);
}
.consult-modal.on { display: flex; }
.consult-card {
  position: relative; width: min(360px, 92vw);
  background: var(--ivory-hi); padding: 36px 32px 28px; text-align: center;
}
.consult-card img {
  width: 220px; height: 220px; margin: 18px auto 0;
  object-fit: contain; background: #fff;
}
.consult-card .ck {
  font-family: var(--en); font-style: italic; font-size: 12px;
  letter-spacing: 0.28em; color: var(--red);
}
.consult-card h3 { font-size: 22px; margin-top: 10px; }
.consult-card p {
  margin-top: 10px; font-size: 13px; color: var(--ink-soft); line-height: 1.85;
}
.consult-x {
  position: absolute; top: 12px; right: 14px;
  width: 36px; height: 36px; border: 0; background: transparent;
  font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer;
}
.consult-x:hover { color: var(--ink); }

/* ── 产品页深色首屏 ───────────────────────── */
.qhero {
  position: relative; min-height: 92vh;
  display: flex; align-items: flex-end;
  padding: 132px 0 56px;
  background: #2a120f; color: var(--ivory-hi);
  overflow: hidden;
}
.qhero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 78% 18%, rgba(123,12,0,0.45), transparent 52%),
    radial-gradient(ellipse at 8% 86%, rgba(251,248,242,0.05), transparent 46%);
}
.qhero .wrap { position: relative; z-index: 2; width: 100%; }
.qhero .crumb { color: rgba(251,248,242,0.45); }
.qhero .crumb a:hover { color: var(--ivory-hi); }
.qhero .kicker { color: #e8c9b4; }
.qhero h1 {
  font-size: clamp(36px, 5.4vw, 68px); line-height: 1.16;
  margin-top: 18px; color: var(--ivory-hi); max-width: 14em;
}
.qhero .ribbon {
  display: inline-block; margin-top: 22px;
  background: var(--red); color: var(--ivory-hi);
  font-family: var(--serif); font-size: clamp(15px, 1.7vw, 18px);
  letter-spacing: 0.12em; padding: 10px 22px; line-height: 1.5;
}
.qhero .phero-lede {
  margin-top: 26px; max-width: 38em; font-size: 15px;
  color: rgba(251,248,242,0.72); line-height: 2.05;
}
.qhero .phero-meta { color: rgba(251,248,242,0.48); }
.qhero .btn-fill { background: var(--ivory-hi); color: var(--red-deep); }
.qhero .btn-fill:hover { background: #fff; }
.qhero .btn-line { border-color: rgba(251,248,242,0.35); color: var(--ivory-hi); }
.qhero .btn-line:hover { border-color: var(--ivory-hi); background: rgba(251,248,242,0.06); }

body.page-product .nav:not(.solid) .brand-zh,
body.page-product .nav:not(.solid) .nav-links a { color: var(--ivory-hi); }
body.page-product .nav:not(.solid) .brand-en { color: rgba(251,248,242,0.5); }
body.page-product .nav:not(.solid) .nav-links a.is { color: var(--ivory-hi); }
body.page-product .nav:not(.solid) .nav-links a::after { background: var(--ivory-hi); }

.have {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1px; background: rgba(251,248,242,0.14);
  border: 1px solid rgba(251,248,242,0.14); margin-top: 44px;
}
.have article { background: rgba(24,12,9,0.35); padding: 22px 18px 20px; min-height: 168px; }
.have .hn {
  font-family: var(--en); font-size: 11px; letter-spacing: 0.28em; color: #e8c9b4;
}
.have h3 { font-size: 16px; margin-top: 10px; color: var(--ivory-hi); }
.have p { font-size: 12.5px; color: rgba(251,248,242,0.55); margin-top: 10px; line-height: 1.8; }

.trust-strip {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.trust-strip div { background: var(--ivory); padding: 28px 20px; }
.trust-strip b {
  display: block; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 500; color: var(--red); line-height: 1.1;
}
.trust-strip span {
  display: block; margin-top: 10px; font-size: 12px; color: var(--ink-soft); letter-spacing: 0.04em;
}

.awards { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.awards > div { background: var(--ivory); padding: 36px 32px; }
.awards h3 { font-size: 22px; }
.awards ul { list-style: none; margin-top: 18px; }
.awards li {
  font-size: 13.5px; line-height: 2.15; color: var(--ink-soft);
  padding-left: 14px; position: relative;
}
.awards li::before {
  content: ""; position: absolute; left: 0; top: 13px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--red);
}

.why5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.why5 article { background: var(--ivory); padding: 28px 22px; min-height: 210px; }
.why5 .wn { font-family: var(--en); font-size: 18px; letter-spacing: 0.08em; color: var(--red); }
.why5 h3 { font-size: 18px; margin-top: 12px; }
.why5 p { font-size: 13px; color: var(--ink-soft); margin-top: 12px; line-height: 1.9; }

.teachers3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.teachers3 article { background: var(--ivory); padding: 32px 28px; min-height: 200px; }
.teachers3 .tn { font-family: var(--en); font-size: 11px; letter-spacing: 0.26em; color: var(--red); }
.teachers3 h3 { font-size: 22px; margin-top: 10px; }
.teachers3 p { font-size: 13.5px; color: var(--ink-soft); margin-top: 12px; line-height: 1.9; }

.steps5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.steps5 article { background: var(--ivory); padding: 26px 20px; min-height: 180px; }
.steps5 .sn { font-family: var(--en); font-size: 11px; letter-spacing: 0.24em; color: var(--red); }
.steps5 h3 { font-size: 22px; margin-top: 8px; }
.steps5 p { font-size: 13px; color: var(--ink-soft); margin-top: 12px; line-height: 1.85; }

.tl-alt { position: relative; }
.tl-alt::before {
  content: ""; position: absolute; left: 18px; top: 8px; bottom: 8px;
  width: 1px; background: var(--line);
}
.tl-node { position: relative; padding: 0 0 28px 52px; }
.tl-node:last-child { padding-bottom: 0; }
.tl-node::before {
  content: ""; position: absolute; left: 14px; top: 8px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--ivory); border: 1px solid var(--red);
}
.tl-node.hot::before { background: var(--red); }
.tl-node .td { font-size: 11px; letter-spacing: 0.16em; color: var(--muted); }
.tl-node h3 { font-size: 20px; margin-top: 6px; }
.tl-node p { font-size: 13.5px; color: var(--ink-soft); margin-top: 8px; line-height: 1.9; max-width: 46em; }

.who-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.who-row {
  display: grid; grid-template-columns: 148px 1fr;
  background: var(--ivory); min-height: 64px; align-items: center;
}
.who-row b {
  padding: 16px 20px; font-family: var(--serif); font-size: 16px; font-weight: 500;
  border-right: 1px solid var(--line-soft);
}
.who-row span { padding: 16px 22px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.8; }

.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.vs article { padding: 28px 26px; }
.vs .us { background: #2a120f; color: var(--ivory-hi); }
.vs .them { background: var(--ivory); }
.vs h3 { font-size: 18px; }
.vs .us h3 { color: var(--ivory-hi); }
.vs ul { list-style: none; margin-top: 16px; }
.vs li { font-size: 13px; line-height: 2.1; }
.vs .us li { color: rgba(251,248,242,0.72); }
.vs .them li { color: var(--ink-soft); }
.vs .k { font-family: var(--en); font-size: 11px; letter-spacing: 0.22em; margin-bottom: 10px; }
.vs .us .k { color: #e8c9b4; }
.vs .them .k { color: var(--muted); }

.yantu {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.yantu article { background: var(--ivory); padding: 36px 32px; min-height: 220px; }
.yantu .yk { font-size: 11px; letter-spacing: 0.22em; color: var(--red); }
.yantu h3 { font-size: 24px; margin-top: 10px; }
.yantu p { font-size: 14px; color: var(--ink-soft); margin-top: 14px; line-height: 1.95; }

.faculty-block { margin-top: 28px; }
.faculty-lab {
  display: inline-block; font-size: 12px; letter-spacing: 0.2em;
  padding: 6px 12px; color: var(--ivory-hi); margin-bottom: 1px;
}
.faculty-lab.zh { background: var(--red); }
.faculty-lab.xi { background: #1a2744; }
.faculty-lab.ma { background: #2d5a3d; }
.faculty-lab.zhg { background: #8a6a1a; }
.faculty-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.faculty-grid article { background: var(--ivory); padding: 18px 20px; }
.faculty-grid b { font-family: var(--serif); font-size: 16px; font-weight: 500; }
.faculty-grid p { font-size: 12.5px; color: var(--ink-soft); margin-top: 6px; line-height: 1.75; }
.advisors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.advisors article { background: var(--ivory); padding: 26px 24px; }
.advisors .ak { font-size: 11px; letter-spacing: 0.18em; color: var(--red); }
.advisors h3 { font-size: 20px; margin-top: 8px; }
.advisors p { font-size: 13px; color: var(--ink-soft); margin-top: 10px; line-height: 1.9; }

/* 完整对照：占 1–2 屏，内部滑动 */
.fulltable-shell { position: relative; }
.fulltable-hint {
  font-size: 12px; color: var(--muted); letter-spacing: 0.08em;
  margin-bottom: 12px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.fulltable-view {
  height: min(92vh, 880px);
  overflow: auto;
  border: 1px solid var(--line);
  background: var(--ivory-hi);
  -webkit-overflow-scrolling: touch;
}
.full { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 720px; }
.full th, .full td {
  padding: 11px 12px; border-bottom: 1px solid var(--line-soft);
  text-align: left; font-weight: 400; vertical-align: top;
}
.full thead th {
  position: sticky; top: 0; z-index: 2;
  background: #2a120f; color: var(--ivory-hi);
  font-size: 12px; letter-spacing: 0.14em; border-bottom: 0;
}
.full thead th.c { text-align: center; width: 22%; }
.full td:first-child, .full thead th:first-child {
  position: sticky; left: 0; z-index: 1;
  background: var(--ivory-hi);
}
.full thead th:first-child { z-index: 3; background: #2a120f; }
.full td.c { text-align: center; font-size: 12.5px; color: var(--ink-soft); line-height: 1.7; }
.full .ghead td {
  background: var(--red-wash); color: var(--red);
  font-family: var(--serif); font-size: 14px; letter-spacing: 0.08em;
  padding: 12px 12px;
  position: sticky; left: 0; z-index: 1;
}
.full .subhead td {
  background: var(--ivory-deep); font-size: 11.5px; letter-spacing: 0.16em; color: var(--muted);
}
.full .item { font-family: var(--serif); font-size: 14px; }
.full .item small {
  display: block; font-family: var(--sans); font-size: 11px;
  color: var(--muted); margin-top: 4px; letter-spacing: 0.02em; font-weight: 300;
}
.full .y { color: var(--red); }
.full .n { color: rgba(28,20,18,0.28); }
.full tbody tr:hover td { background: rgba(123,12,0,0.03); }
.full tbody tr.ghead:hover td, .full tbody tr.subhead:hover td { background: inherit; }

.buybar {
  position: fixed; z-index: 50; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 12px var(--gut);
  background: rgba(28,20,18,0.94); color: var(--ivory-hi);
  backdrop-filter: blur(10px);
}
.buybar p { font-size: 12.5px; letter-spacing: 0.06em; color: rgba(251,248,242,0.7); }
.buybar b { color: var(--ivory-hi); font-weight: 400; }
.buybar .btn-fill { background: var(--red); height: 42px; }

.note-yantu {
  background: var(--ivory); border: 1px solid var(--line);
  padding: 22px 26px; font-size: 13.5px; line-height: 2; color: var(--ink-soft);
}
.note-yantu strong { color: var(--red); font-weight: 500; }

/* ── 入场 ─────────────────────────────────── */
.rise { opacity: 0; transform: translateY(18px); }
.rise.in { opacity: 1; transform: none; transition: opacity 0.9s cubic-bezier(.2,.7,.2,1), transform 0.9s cubic-bezier(.2,.7,.2,1); }

/* ── 响应式 ───────────────────────────────── */
@media (max-width: 1040px) {
  .product-enter { grid-template-columns: 1fr; }
  .grid-4, .arch, .figs { grid-template-columns: repeat(2, 1fr); }
  .type-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .phases-row { grid-template-columns: repeat(2, 1fr); }
  .phases::before { display: none; }
  .rhythm { grid-template-columns: repeat(4, 1fr); }
  .have, .why5, .steps5, .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .teachers3, .advisors, .awards, .yantu, .vs, .faculty-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links { gap: 18px; font-size: 11px; letter-spacing: 0.14em; }
  .brand-en { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .sec-head .sec-note { text-align: left; }
  .matrix { font-size: 12px; min-width: 560px; }
  .matrix th, .matrix td { padding: 12px 7px; }
  .pole-row { grid-template-columns: 72px 1fr 72px; gap: 10px; }
}
@media (max-width: 620px) {
  .grid-4, .arch, .figs, .type-grid, .phases-row, .rhythm, .foot-top,
  .have, .why5, .steps5, .trust-strip, .teachers3 { grid-template-columns: 1fr; }
  .phero { min-height: 54vh; padding-top: 124px; }
  .qhero { min-height: 0; padding: 108px 0 40px; }
  .nav { padding: 15px 20px; }
  .brand-zh { font-size: 15px; letter-spacing: 0.2em; }
  .nav-links { gap: 14px; font-size: 10.5px; letter-spacing: 0.02em; }
  .card { padding: 28px 22px 26px; min-height: 0; }
  .btn { height: 44px; padding: 0 22px; font-size: 12.5px; letter-spacing: 0.18em; }
  .paper-band { min-height: 300px; }
  .paper-band .wrap { padding-top: 44px; padding-bottom: 44px; }
  .who-row { grid-template-columns: 1fr; }
  .who-row b { border-right: 0; border-bottom: 1px solid var(--line-soft); padding-bottom: 8px; }
  .fulltable-view { height: calc(100svh - 128px); min-height: 72vh; }
  .buybar { flex-direction: column; align-items: stretch; }
  .buybar .btn { width: 100%; }
  body.page-product { padding-bottom: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; transform: none; }
}
