/* ============================================================
   about.css — 关于我们体系四页（/about /about/honor /about/recruit /about/contact）
   依赖 style.css 基础令牌与 matrix.css 卡片组件（.mx-card/.mx-cards）
   文字层：浅区 --t-strong/--t-h3，深底 --td-h/--td-accent（模式无关）
   ============================================================ */

/* ---- Hero 双栏（/about 主页） ---- */
.ab-hero { display: flex; align-items: center; gap: 48px; padding: 46px 0 96px; }
.ab-hero-text { flex: 1; min-width: 0; }
.ab-hero-art { flex: 0 0 380px; display: flex; justify-content: center; }
.ab-orbit { width: 100%; max-width: 360px; height: auto; }
.ab-hero-narrow { max-width: 860px; padding: 46px 0 96px; display: block; }
@media (prefers-reduced-motion: reduce) {
  .ab-hero-art { display: none; }
  .ab-orbit animate, .ab-orbit animateTransform, .ab-orbit animateMotion { display: none; }
}

/* ---- 公司介绍双栏 ---- */
.ab-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.ab-intro-side { display: flex; flex-direction: column; gap: 22px; }
.ab-p { margin: 0 0 16px; color: var(--ink-2); font-size: 15px; line-height: 2; }
.ab-stats { display: flex; gap: 40px; margin-top: 28px; flex-wrap: wrap; }
.ab-stat strong { display: block; font-size: 30px; font-weight: 700; letter-spacing: .5px; color: var(--t-num); }
.ab-stat span { margin-top: 4px; display: block; font-size: 12.5px; letter-spacing: 1px; color: var(--ink-3); }

/* ---- 深底愿景区 ---- */
.section-dark .ab-vision-lede { margin: 26px 0 18px; font-size: 21px; font-weight: 600; letter-spacing: 1px; color: var(--td-h); }
.section-dark .ab-vision-p { max-width: 860px; color: rgba(228, 228, 231, .78); }
.section-dark .ab-vision-lede em { font-style: normal; color: var(--td-accent); }

/* ---- 发展历程时间轴 ---- */
.ab-timeline { position: relative; max-width: 860px; padding-left: 34px; margin-top: 40px; }
.ab-timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.ab-tl-item { position: relative; padding-bottom: 30px; }
.ab-tl-item:last-child { padding-bottom: 0; }
.ab-tl-item::before { content: ""; position: absolute; left: -34px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--paper); }
.ab-tl-date { font-size: 13px; font-weight: 600; letter-spacing: 1px; color: var(--accent-strong); margin-bottom: 8px; }
.ab-tl-card { padding: 24px 26px; }
.ab-tl-card h3 { margin: 0 0 8px; font-size: 15.5px; }
html[data-theme="dark"] .ab-tl-item::before { box-shadow: 0 0 0 4px var(--navy-950); }

/* ---- 核心高管 ---- */
.ab-leader { text-align: center; align-items: center; }
.ab-leader-avatar { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; margin-bottom: 14px; color: var(--accent-2); background: var(--accent-soft); border: 1px solid var(--line-strong); }
.ab-leader-avatar svg { width: 32px; height: 32px; }

/* ---- 团队成员 ---- */
.ab-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 22px; margin-top: 36px; }
.ab-team-card { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out); }
.ab-team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ab-team-card img { display: block; width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.ab-team-ph { display: flex; align-items: center; justify-content: center; aspect-ratio: 1/1; color: var(--ink-3); background: var(--paper-2); }
.ab-team-ph svg { width: 44px; height: 44px; }
.ab-team-card figcaption { padding: 12px 14px; text-align: center; font-size: 13.5px; font-weight: 600; color: var(--t-h3); }

/* ---- 空态/提示 ---- */
.ab-empty { margin: 30px 0 0; padding: 34px; text-align: center; color: var(--ink-3); font-size: 14px; border: 1px dashed var(--line-strong); border-radius: 12px; }
.ab-empty a { color: var(--accent-strong); font-weight: 600; }
html[data-theme="dark"] .ab-empty a { color: var(--td-accent); }

/* ---- CTA 收尾区 ---- */
.ab-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.ab-cta-title { margin: 0 0 10px; font-size: 26px; font-weight: 700; letter-spacing: 1px; color: var(--td-h); }
.ab-cta-sub { margin: 0; max-width: 620px; color: rgba(228, 228, 231, .72); font-size: 14.5px; line-height: 1.9; }
.ab-mail { color: var(--td-accent); font-weight: 600; }

/* ---- 荣誉产权：筛选 + 网格 ---- */
.ab-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.ab-filter-btn { padding: 9px 20px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 13.5px; font-weight: 600; color: var(--ink-2); text-decoration: none; transition: all .2s var(--ease-out); box-shadow: var(--shadow-sm); }
.ab-filter-btn span { font-weight: 500; opacity: .75; }
.ab-filter-btn:hover { border-color: var(--accent); color: var(--accent-strong); transform: translateY(-1px); }
.ab-filter-btn.is-active { background: var(--gold-grad); border-color: transparent; color: #F2EFE6; box-shadow: 0 6px 18px rgba(35, 44, 110, .3); }
html[data-theme="dark"] .ab-filter-btn.is-active { background: var(--accent-2); color: var(--brand-deep); }
html[data-theme="dark"] .ab-filter-btn { background: var(--glass); border-color: var(--glass-line); color: var(--ink-2); }

.ab-honor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ab-honor-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .2s ease; }
.ab-honor-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.ab-honor-img { display: flex; align-items: center; justify-content: center; background: var(--paper-2); line-height: 0; min-height: 120px; }
.ab-honor-img img { width: 100%; height: auto; display: block; transition: transform .35s var(--ease-out); }
.ab-honor-card:hover .ab-honor-img img { transform: scale(1.05); }
.ab-honor-img svg { width: 44px; height: 44px; color: var(--ink-3); margin: 38px 0; }
.ab-honor-info { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; }
.ab-honor-title { font-size: 13.5px; font-weight: 600; line-height: 1.6; color: var(--t-h3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ab-honor-card:hover .ab-honor-title { color: var(--accent-strong); }
.ab-honor-cate { align-self: flex-start; padding: 2px 10px; border-radius: 999px; font-size: 11.5px; color: var(--ink-3); background: var(--paper-2); }
html[data-theme="dark"] .ab-honor-card { background: var(--glass); border-color: var(--glass-line); box-shadow: none; }
html[data-theme="dark"] .ab-honor-img { background: rgba(255, 255, 255, .04); }
html[data-theme="dark"] .ab-honor-cate { background: rgba(255, 255, 255, .06); }

/* ---- 招聘：理念 / 福利 / 岗位 ---- */
.ab-idea { padding: 34px 38px; text-align: center; }
.ab-idea-quote { margin: 0 0 14px; font-size: 21px; font-weight: 700; letter-spacing: 2px; color: var(--accent-strong); font-family: var(--serif); }
.ab-idea .mx-card-desc { max-width: 680px; margin: 0 auto; }
html[data-theme="dark"] .ab-idea-quote { color: var(--td-accent); }

.ab-benefit { text-align: center; align-items: center; }
.ab-benefit-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 14px; color: var(--accent-2); background: var(--accent-soft); border: 1px solid var(--line-strong); }
.ab-benefit-icon svg { width: 26px; height: 26px; }

.ab-jobs { display: grid; grid-template-columns: 216px 1fr; gap: 26px; align-items: start; margin-top: 40px; }
.ab-jobs-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 6px; padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); }
.ab-jobs-cate { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 8px; font-size: 13.5px; color: var(--ink-2); text-decoration: none; transition: background .18s ease, color .18s ease; }
.ab-jobs-cate span { min-width: 26px; text-align: center; padding: 1px 7px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: var(--paper-2); color: var(--ink-3); }
.ab-jobs-cate:hover { background: var(--accent-soft); color: var(--accent-strong); }
.ab-jobs-cate.is-active { background: var(--gold-grad); color: #F2EFE6; font-weight: 600; }
.ab-jobs-cate.is-active span { background: rgba(255, 255, 255, .22); color: #F2EFE6; }
html[data-theme="dark"] .ab-jobs-side { background: var(--glass); border-color: var(--glass-line); box-shadow: none; }
html[data-theme="dark"] .ab-jobs-cate.is-active { background: var(--accent-2); color: var(--brand-deep); }
html[data-theme="dark"] .ab-jobs-cate.is-active span { background: rgba(28, 36, 96, .25); color: var(--brand-deep); }

.ab-jobs-list { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ab-job { padding: 26px 30px; }
.ab-job-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 4px; }
.ab-job-head h3 { margin: 0 0 10px; font-size: 17px; }
.ab-job-link { color: inherit; text-decoration: none; }
.ab-job-link:hover { color: var(--accent-strong); }
.ab-job-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.ab-job-detail { font-size: 13.5px; font-weight: 600; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.ab-job-detail:hover { color: var(--accent-strong); }
.ab-job-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--ink-3); }
.ab-job-salary { color: var(--accent-strong); font-weight: 700; }
.ab-job-cate { padding: 2px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); font-size: 12px; font-weight: 600; }
.ab-job-apply { flex-shrink: 0; }
.ab-job .mx-card-desc { margin-top: 10px; padding-top: 12px; border-top: 1px dashed var(--line); }
html[data-theme="dark"] .ab-job .mx-card-desc { border-top-color: var(--glass-line); }
html[data-theme="dark"] .ab-job-salary, html[data-theme="dark"] .ab-job-cate { color: var(--td-accent); }
html[data-theme="dark"] .ab-job-cate { background: rgba(255, 255, 255, .07); }

/* ---- 联系页：联系卡 / 平台矩阵 / 生态公司 / 合作伙伴 ---- */
.ab-contact-card { flex-direction: row; align-items: center; gap: 16px; padding: 24px 22px; }
.ab-contact-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; color: var(--accent-2); background: var(--accent-soft); border: 1px solid var(--line-strong); }
.ab-contact-icon svg { width: 22px; height: 22px; }
.ab-contact-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ab-contact-k { font-size: 12.5px; letter-spacing: 1px; color: var(--ink-3); }
.ab-contact-body strong { font-size: 14.5px; color: var(--t-strong); word-break: break-all; }

.ab-platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ab-platform { text-align: center; align-items: center; }
.ab-platform-logo { width: 52px; height: 52px; object-fit: contain; border-radius: 12px; background: var(--paper-2); padding: 6px; margin-bottom: 6px; }
.ab-platform h3 { margin: 0; font-size: 15.5px; }
.ab-platform .mx-card-desc { font-size: 12.5px; }
.ab-platform-qr { width: 132px; height: 132px; object-fit: contain; margin-top: 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); padding: 6px; }

.ab-matrix-sub { margin: 46px 0 20px; font-size: 17px; font-weight: 700; letter-spacing: 1px; color: var(--t-strong); }
.ab-mini-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.ab-mini { text-align: center; align-items: center; padding: 22px 16px; }
.ab-mini img { width: 96px; height: 96px; object-fit: contain; border-radius: 10px; background: #fff; border: 1px solid var(--line); padding: 5px; }
.ab-mini h3 { margin: 10px 0 0; font-size: 13px; }

.ab-company h3 { font-size: 15.5px; }
.ab-company-loc { margin: 0 0 8px; font-size: 13px; color: var(--accent-strong); font-weight: 600; }
html[data-theme="dark"] .ab-company-loc { color: var(--td-accent); }
.ab-worktime { margin: 30px 0 0; padding: 14px; text-align: center; font-size: 13.5px; color: var(--ink-2); background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px; }
html[data-theme="dark"] .ab-worktime { background: var(--glass); border-color: var(--glass-line); }

.ab-partner .mx-go { color: var(--accent-strong); }
html[data-theme="dark"] .ab-partner .mx-go { color: var(--td-accent); }

/* ---- 响应式 ---- */
@media (max-width: 1024px) {
  .ab-honor-grid { grid-template-columns: repeat(3, 1fr); }
  .ab-mini-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .ab-hero { flex-direction: column; gap: 20px; text-align: left; }
  .ab-hero-art { flex: 0 0 auto; width: 100%; max-width: 300px; }
  .ab-intro { grid-template-columns: 1fr; }
  .ab-jobs { grid-template-columns: 1fr; }
  .ab-jobs-side { position: static; flex-direction: row; flex-wrap: wrap; }
  .ab-job-head { flex-direction: column; align-items: flex-start; }
  .ab-platform-grid { grid-template-columns: repeat(2, 1fr); }
  .ab-cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .ab-honor-grid { grid-template-columns: repeat(2, 1fr); }
  .ab-mini-grid { grid-template-columns: repeat(2, 1fr); }
  .ab-stats { gap: 26px; }
  .ab-stat strong { font-size: 24px; }
  .ab-hero-art { display: none; }
}

/* ---- 暗色主题可读性重映射 ----
   内联主题体系把 --ink-3 / --accent-strong 映射为「主题亮档」，深蓝系主题（如克莱因蓝）下
   该档约 2:1 对比，deep 底上不可读。次级说明统一提为白系弱化档，强调统一提为点缀金。 */
html[data-theme="dark"] .ab-stat span,
html[data-theme="dark"] .ab-team-ph,
html[data-theme="dark"] .ab-empty,
html[data-theme="dark"] .ab-honor-img svg,
html[data-theme="dark"] .ab-honor-cate,
html[data-theme="dark"] .ab-jobs-cate span,
html[data-theme="dark"] .ab-job-meta,
html[data-theme="dark"] .ab-contact-k {
  color: var(--ink-4);
}
html[data-theme="dark"] .ab-tl-date,
html[data-theme="dark"] .ab-empty a,
html[data-theme="dark"] .ab-idea-quote,
html[data-theme="dark"] .ab-job-salary,
html[data-theme="dark"] .ab-job-cate,
html[data-theme="dark"] .ab-honor-card:hover .ab-honor-title,
html[data-theme="dark"] .ab-filter-btn:hover,
html[data-theme="dark"] .ab-jobs-cate:hover {
  color: var(--fg-accent);
}
