/* ============================================================
   在宥 OTIZOU × 华享汇数科 · 融合官网高保真设计
   Design System v1.0 · 双主题：在宥（东方美学）/ 华享汇（theme-hxh）
   ============================================================ */

/* ---------- 1. 主题变量 ---------- */
:root {
  /* 在宥 · 东方美学 */
  --ink: #26201A;               /* 墨色文字 */
  --ink-soft: #57503F;
  --text: #4C4438;              /* 正文 */
  --muted: #988D7C;
  --bg: #F7F3EA;                /* 宣纸米白 */
  --bg-paper: #FFFFFF;
  --bg-alt: #FBF8F1;
  --gold: #A0814E;               /* 铜金主色 */
  --gold-deep: #6F5432;
  --gold-pale: #F0E7D6;
  --seal: #B14A38;               /* 朱砂印 */
  --line: #E5DCC8;               /* 发丝线 */
  --line-soft: #EFE8D8;
  --navy: #1F3A5F;               /* 华享汇桥接色 */
  --navy-pale: #EAF0F7;
  --purple: #6D4BD8;
  --shadow: 0 10px 40px rgba(60, 45, 20, .08);

  --font-display: "Noto Serif SC", "Songti SC", "STZhongsong", "SimSun", serif;
  --font-latin: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;

  --radius: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* 华享汇子站主题覆盖 */
body.theme-hxh {
  --bg: #F3F6FA;
  --bg-paper: #FFFFFF;
  --bg-alt: #F3F6FA;
  --ink: #14233A;
  --ink-soft: #33455F;
  --text: #3B4A63;
  --muted: #7C8BA3;
  --gold: #1F3A5F;               /* 主色变海军蓝 */
  --gold-deep: #14263F;
  --gold-pale: #E7EEF7;
  --seal: #6D4BD8;               /* 点缀变数字紫 */
  --line: #D7E1EE;
  --line-soft: #E6EDF6;
  --shadow: 0 10px 40px rgba(20, 45, 90, .10);
}

/* ---------- 2. 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id], div[id], [id] { scroll-margin-top: 88px; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.85;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { padding-left: 1.2em; }
::selection { background: var(--gold); color: #fff; }

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.4;
}
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3, html[lang="en"] h4 {
  font-family: var(--font-latin), var(--font-display);
  font-weight: 500;
  letter-spacing: .2px;
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 32px; }

/* ---------- 3. 顶部双实体工具条 ---------- */
.topbar {
  background: #1D1812;
  color: #B5A88E;
  font-size: 12px;
  letter-spacing: .4px;
}
body.theme-hxh .topbar { background: #0F1B2C; color: #8FA7C6; }
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap;
}
.topbar-inner > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-right { display: flex; gap: 18px; align-items: center; white-space: nowrap; }
.topbar-right a { color: #E4C87E; transition: opacity .2s; }
body.theme-hxh .topbar-right a { color: #F0C75E; }
.topbar-right a:hover { opacity: .75; }

/* ---------- 4. 主导航 ---------- */
.site-header {
  background: rgba(247, 243, 234, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
  position: sticky; top: 0; z-index: 200;
  transition: box-shadow .3s, background .3s;
}
body.theme-hxh .site-header {
  background: rgba(243, 246, 250, 0.94);
}
.site-header.scrolled { box-shadow: 0 6px 30px rgba(40, 30, 10, .07); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 76px;
}

.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand-logo {
  width: 44px; height: 44px; object-fit: contain; display: block; flex-shrink: 0;
}
.brand-seal {
  width: 46px; height: 46px; background: var(--seal); color: #FBF6EC;
  font-family: var(--font-display); font-size: 26px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28), 0 2px 8px rgba(150, 60, 40, .25);
  letter-spacing: 0;
}
body.theme-hxh .brand-seal { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.25), 0 2px 8px rgba(20, 40, 70, .3); }
body.theme-hxh .footer-logo {
  width: 48px; height: 48px; object-fit: contain;
  background: #ffffff; border-radius: 8px; padding: 4px;
  margin-bottom: 16px; box-sizing: border-box;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  display: block;
}
.brand-name b {
  display: block; font-family: var(--font-display); font-size: 24px;
  color: var(--ink); letter-spacing: 8px; font-weight: 700; line-height: 1.15;
}
.brand-name small {
  display: block; font-size: 10px; letter-spacing: 3px;
  color: var(--muted); margin-top: 2px; font-family: var(--font-latin);
}

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav > a, .nav-dd > .dd-t {
  font-size: 14.5px; color: var(--ink-soft); letter-spacing: 1px;
  position: relative; padding: 6px 0; white-space: nowrap;
  transition: color .25s;
}
.main-nav > a::after, .nav-dd > .dd-t::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1.5px; background: var(--gold);
  transition: right .35s var(--ease);
}
.main-nav > a:hover, .nav-dd > .dd-t:hover { color: var(--gold-deep); }
.main-nav > a:hover::after, .nav-dd > .dd-t:hover::after,
.main-nav > a.cur::after, .nav-dd > .dd-t.cur::after { right: 0; }
.main-nav > a.cur, .nav-dd > .dd-t.cur { color: var(--gold-deep); font-weight: 600; }

.nav-dd { position: relative; }
.dd-caret { font-size: 10px; margin-left: 3px; color: var(--muted); }
.dd-panel {
  position: absolute; top: calc(100% + 14px); left: -18px;
  min-width: 200px; background: var(--bg-paper);
  border: 1px solid var(--line); border-top: 2px solid var(--gold);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .28s var(--ease); z-index: 50;
}
.nav-dd:hover .dd-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.dd-panel a {
  display: block; padding: 10px 20px; font-size: 13.5px; color: var(--ink-soft);
  border-bottom: 1px solid var(--line-soft); transition: all .2s;
}
.dd-panel a:last-child { border-bottom: 0; }
.dd-panel a:hover { background: var(--bg-alt); color: var(--gold-deep); padding-left: 26px; }

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.lang-switch {
  display: inline-flex; border: 1px solid var(--line); border-radius: 20px;
  overflow: hidden; font-size: 11px; font-weight: 600; letter-spacing: 1px;
}
.lang-switch a { padding: 4px 12px; color: var(--muted); transition: all .2s; }
.lang-switch a.active { background: var(--gold); color: #fff; }
.lang-switch a:not(.active):hover { color: var(--gold-deep); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  width: 42px; height: 42px; border-radius: 6px; cursor: pointer;
  color: var(--ink); font-size: 18px;
}

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; font-size: 14px; letter-spacing: 2px;
  border: 1px solid var(--gold); border-radius: var(--radius);
  transition: all .3s var(--ease); cursor: pointer; white-space: nowrap;
  font-family: var(--font-body); font-weight: 500;
}
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(120, 90, 40, .22); }
.btn-line { background: transparent; color: var(--gold-deep); }
.btn-line:hover { background: var(--gold-pale); transform: translateY(-2px); }
.btn-ink { background: var(--ink); color: #F5EFE0; border-color: var(--ink); }
.btn-ink:hover { transform: translateY(-2px); opacity: .92; }
.btn-hxh { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-hxh:hover { background: #16324F; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30, 60, 100, .25); }
.btn-sm { padding: 8px 20px; font-size: 12.5px; letter-spacing: 1.5px; }
.btn-ghost { border-color: var(--line); color: var(--ink-soft); background: var(--bg-paper); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-deep); }
.btn + .btn { margin-left: 4px; }

/* ---------- 6. 面包屑 ---------- */
.crumb-bar {
  background: var(--bg); border-bottom: 1px solid var(--line-soft);
  font-size: 12.5px; color: var(--muted); margin-bottom: 36px;
}
.crumb-inner { display: flex; align-items: center; gap: 8px; padding-top: 11px; padding-bottom: 11px; }
.crumb-inner a { color: var(--muted); transition: color .2s; }
.crumb-inner a:hover { color: var(--gold-deep); }
.crumb-sep { color: var(--line); }

/* ---------- 7. 首页 Hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
  max-width: 1240px; margin: 0 auto; padding: 64px 32px;
  background: var(--bg); position: relative;
}
.hero-body {
  padding: 16px 0;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 2;
}
.eyebrow {
  font-size: 12px; letter-spacing: 5px; color: var(--gold);
  font-weight: 600; margin-bottom: 26px; display: flex; align-items: center; gap: 16px;
}
.eyebrow::before { content: ""; width: 44px; height: 1px; background: var(--gold); }
.hero-title {
  font-size: clamp(26px, 3.2vw, 46px); font-weight: 700;
  letter-spacing: 1.5px; line-height: 1.35; margin-bottom: 26px;
}
.hero-title-brand { display: block; margin-bottom: 6px; }
.hero-title-tagline { display: block; white-space: nowrap; }
.hero-title .hl { color: var(--gold-deep); }
.hero-sub { max-width: 560px; font-size: 15.5px; line-height: 2.05; color: var(--text); }
.hero-sub strong { color: var(--ink); }
.hero-cta { display: flex; gap: 14px; margin-top: 42px; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-size: 12.5px; color: var(--muted); letter-spacing: 1px; }
.hero-media {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.01); transition: transform 6s ease-out;
}
.hero:hover .hero-media img { transform: scale(1.05); }
.hero-media::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(247, 243, 234, 0) 26%);
}
body.theme-hxh .hero {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 1240px;
  min-height: 580px;
  margin: 0 auto;
  padding: 64px 32px;
  overflow: hidden;
}
body.theme-hxh .hero-body {
  position: relative;
  z-index: 3;
  max-width: min(780px, calc(100% - 370px));
  padding: 24px 0;
}
body.theme-hxh .hero-title {
  white-space: nowrap;
}
body.theme-hxh .hero-sub {
  max-width: 720px;
  font-size: 15.5px;
  line-height: 1.95;
}
body.theme-hxh .hero-note {
  max-width: 720px;
}
body.theme-hxh .hero-cta {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  margin-top: 38px;
}
body.theme-hxh .hero-cta .btn {
  padding: 13px 22px;
  letter-spacing: 1px;
  white-space: nowrap;
  flex-shrink: 0;
}
body.theme-hxh .hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 78%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}
body.theme-hxh .hero-media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: right center;
  transform: none;
  display: block;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.15) 2%, rgba(0, 0, 0, 0.7) 6%, black 12%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.15) 2%, rgba(0, 0, 0, 0.7) 6%, black 12%);
}
body.theme-hxh .hero:hover .hero-media img {
  transform: none;
}
body.theme-hxh .hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  display: block !important;
  background: linear-gradient(
    90deg,
    var(--bg) 0%,
    rgba(243, 246, 250, 0.96) 24%,
    rgba(243, 246, 250, 0.82) 42%,
    rgba(243, 246, 250, 0.38) 64%,
    rgba(243, 246, 250, 0.08) 82%,
    rgba(243, 246, 250, 0) 95%
  );
}
.hero-vert {
  position: absolute; right: 26px; top: 60px; z-index: 3;
  writing-mode: vertical-rl; font-family: var(--font-display);
  font-size: 15px; letter-spacing: 12px; color: rgba(255, 252, 245, .92);
  text-shadow: 0 1px 10px rgba(40, 30, 10, .45);
}
.hero-vert-seal {
  display: inline-block; margin-top: 14px; width: 30px; height: 30px;
  background: var(--seal); color: #FBF6EC; border-radius: 4px;
  font-size: 15px; writing-mode: horizontal-tb;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- 8. 内页页首 ---------- */
.page-hero { padding: 68px 0 0; background: var(--bg); }
.page-hero-inner { max-width: 880px; }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-title { font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; letter-spacing: 2px; margin-bottom: 22px; }
.page-lede { font-size: 15.5px; line-height: 2.05; max-width: 760px; }
.page-hero-rule {
  margin-top: 54px; height: 1px;
  background: linear-gradient(90deg, var(--gold) 0, var(--gold) 120px, var(--line) 120px, var(--line) 100%);
}

/* ---------- 9. TL;DR 直答摘要 ---------- */
.tldr {
  position: relative; background: var(--gold-pale);
  border-left: 3px solid var(--gold);
  padding: 26px 30px 24px 34px; margin: 30px 0 8px;
  font-size: 15px; line-height: 2.05; color: var(--ink-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.tldr::before {
  content: attr(data-label); display: block;
  font-size: 11px; letter-spacing: 4px; color: var(--gold-deep);
  font-weight: 700; margin-bottom: 10px; font-family: var(--font-body);
}
.tldr strong { color: var(--ink); }

/* ---------- 10. 分区 ---------- */
.sec { padding: 0 0 86px; background: var(--bg); }
.sec-alt { background: var(--bg-alt); }
.sec-paper { background: var(--bg-paper); }

/* 全站所有板块统一底色，杜绝斑马切块（东方美学站统一宣纸米白，数科站统一浅灰底色） */
.sec,
.sec-alt,
.sec-paper,
.page-hero,
.crumb-bar {
  background: var(--bg);
}
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 46px; }
.sec-head-text { max-width: 720px; }
.sec-head-text:only-child { max-width: 100%; }
html[lang="en"] .sec-head-text { max-width: 960px; flex: 1; }
html[lang="en"] .sec-head-text:only-child { max-width: 100%; }
.sec-eyebrow {
  font-size: 12px; letter-spacing: 4px; color: var(--gold); font-weight: 700;
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.sec-eyebrow::after { content: ""; width: 52px; height: 1px; background: var(--gold); }
.sec-title { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; letter-spacing: 1.5px; margin-bottom: 14px; }
html[lang="en"] .sec-title { letter-spacing: 0.25px; }
html[lang="en"] .hero-title { letter-spacing: 0.5px; }
html[lang="en"] .hero-title-tagline { white-space: normal; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.3; }
html[lang="en"] .card-title, html[lang="en"] .step-title, html[lang="en"] .feature-title { letter-spacing: 0.2px; }
.sec-sub { font-size: 14px; color: var(--muted); letter-spacing: .5px; }
html[lang="en"] .sec-sub { letter-spacing: 0.1px; }
.sec-link { flex-shrink: 0; }

/* ---------- 11. 网格 ---------- */
.grid { display: grid; gap: 26px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 12. 卡片 ---------- */
.card {
  background: var(--bg-paper); border: 1px solid var(--line-soft);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line); }
.card-media {
  overflow: hidden; aspect-ratio: 1 / 1;
  background: #FAF7F0; position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 14px; box-sizing: border-box;
}
.card-media img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain; transition: transform .4s var(--ease);
}
.card:hover .card-media img { transform: scale(1.02); }
.card-media.cover-media,
.card-media.tall {
  aspect-ratio: 4 / 3; padding: 0; background: var(--gold-pale);
}
.card-media.tall { aspect-ratio: 1 / 1; }
.card-media.cover-media img,
.card-media.tall img { width: 100%; height: 100%; object-fit: cover; }
.card-media .card-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(29, 22, 14, .72); color: #F3E9D2; backdrop-filter: blur(4px);
  font-size: 11px; letter-spacing: 1.5px; padding: 4px 12px; border-radius: 2px;
}
.card-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.card-title { font-size: 18px; font-weight: 700; letter-spacing: 1px; margin-bottom: 10px; color: var(--ink); }
.card-text { font-size: 13.5px; line-height: 1.95; color: var(--text); flex: 1; }
.card-meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.card-foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft); }

/* 特性块（无图编号卡） */
.feature {
  background: var(--bg-paper); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 32px 28px; position: relative; transition: all .3s var(--ease);
}
.feature:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-num {
  font-family: var(--font-latin); font-size: 15px; color: var(--gold);
  letter-spacing: 2px; display: block; margin-bottom: 14px; font-weight: 600;
}
.feature-title { font-size: 17px; font-weight: 700; margin-bottom: 12px; letter-spacing: .5px; }
.feature p { font-size: 13.5px; line-height: 1.95; color: var(--text); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-deep); margin-bottom: 18px; font-size: 20px; font-family: var(--font-display);
  background: var(--bg-alt);
}
body.theme-hxh .feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid rgba(31, 58, 95, 0.12);
  background: #EAF1F8;
  color: #1F3A5F;
  transition: all .3s var(--ease);
}
body.theme-hxh .feature-icon svg { display: block; }
body.theme-hxh .feature:hover .feature-icon {
  background: #1F3A5F;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(31, 58, 95, 0.22);
}
body.theme-hxh .feature:nth-child(2) .feature-icon {
  background: #F0EBFC;
  color: #6D4BD8;
  border-color: rgba(109, 75, 216, 0.14);
}
body.theme-hxh .feature:nth-child(2):hover .feature-icon {
  background: #6D4BD8;
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(109, 75, 216, 0.25);
}
body.theme-hxh .feature:nth-child(3) .feature-icon {
  background: #FDF4E7;
  color: #B47828;
  border-color: rgba(180, 120, 40, 0.16);
}
body.theme-hxh .feature:nth-child(3):hover .feature-icon {
  background: #B47828;
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(180, 120, 40, 0.22);
}
body.theme-hxh .feature:nth-child(4) .feature-icon {
  background: #E8F5F7;
  color: #0E7490;
  border-color: rgba(14, 116, 144, 0.16);
}
body.theme-hxh .feature:nth-child(4):hover .feature-icon {
  background: #0E7490;
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(14, 116, 144, 0.22);
}

/* ---------- 权威资质证书卡片与缩略图 ---------- */
.cert-card {
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--bg-paper);
  border: 1px solid var(--line-soft);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(31, 58, 95, 0.12);
  border-color: rgba(31, 58, 95, 0.25);
}
.cert-media {
  aspect-ratio: 4 / 3;
  background: #F8F9FA;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  cursor: zoom-in;
}
.cert-media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform .35s var(--ease);
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.08));
}
.cert-card:hover .cert-media img {
  transform: scale(1.05);
}
.cert-body {
  padding: 20px 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cert-body .card-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.45;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.cert-body .card-text {
  font-size: 13px;
  line-height: 1.85;
  color: var(--text);
  margin: 0;
  flex: 1;
}

/* 5列资质网格与响应式规则 */
.g5 {
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.g5 .cert-body {
  padding: 16px 14px 20px;
}
.g5 .cert-body .card-title {
  font-size: 14.5px;
  min-height: 48px;
}
.g5 .cert-body .card-text {
  font-size: 12.5px;
  line-height: 1.75;
}
@media (max-width: 1200px) {
  .g5 {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .g5 {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 480px) {
  .g5 {
    grid-template-columns: 1fr;
  }
}

/* 6列软著证书网格与响应式规则 */
.g6 {
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.g6 .cert-media {
  aspect-ratio: 3 / 4;
  padding: 10px;
}
.g6 .cert-body {
  padding: 14px 12px 16px;
}
.g6 .cert-body .card-title {
  font-size: 13.5px;
  line-height: 1.4;
  min-height: 38px;
  margin-bottom: 4px;
}
.g6 .cert-body .card-text {
  font-size: 11.5px;
  line-height: 1.6;
}
@media (max-width: 1200px) {
  .g6 {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .g6 {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}
@media (max-width: 480px) {
  .g6 {
    grid-template-columns: 1fr;
  }
}

/* 另起一行的横向资质卡片 (如区块链备案) */
.cert-card-row {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  align-items: stretch;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-paper);
  border: 1px solid var(--line-soft);
  margin-top: 26px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.cert-card-row:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(31, 58, 95, 0.12);
  border-color: rgba(31, 58, 95, 0.25);
}
.cert-media-row {
  aspect-ratio: auto;
  min-height: 180px;
  background: #F8F9FA;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
  overflow: hidden;
  border-left: 1px solid var(--line-soft);
  border-bottom: none;
  cursor: zoom-in;
}
.cert-media-row img {
  max-width: 100%;
  max-height: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform .35s var(--ease);
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.08));
}
.cert-card-row:hover .cert-media-row img {
  transform: scale(1.03);
}

@media (max-width: 900px) {
  .cert-card-row {
    grid-template-columns: 1fr;
  }
  .cert-media-row {
    border-left: none;
    border-top: 1px solid var(--line-soft);
    padding: 16px;
  }
}

/* ---------- 13. 徽章 / 标签 ---------- */
.filter-tabs {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px;
  align-items: center;
}
.filter-tab {
  padding: 8px 20px; font-size: 13.5px; letter-spacing: 1px;
  border: 1px solid var(--line); border-radius: 20px;
  background: var(--bg-paper); color: var(--ink-soft);
  cursor: pointer; transition: all .25s var(--ease); font-family: var(--font-body);
}
.filter-tab:hover {
  border-color: var(--gold); color: var(--gold-deep);
}
.filter-tab.active {
  background: var(--gold); color: #fff; border-color: var(--gold);
  box-shadow: 0 4px 14px rgba(160, 129, 78, 0.25);
}
.card-media .card-img-count {
  position: absolute; bottom: 12px; right: 12px; z-index: 2;
  background: rgba(29, 22, 14, 0.75); color: #F3E9D2; backdrop-filter: blur(4px);
  font-size: 11px; letter-spacing: 1px; padding: 3px 10px; border-radius: 2px;
}
.chip {
  display: inline-flex; align-items: center; padding: 3px 13px;
  border: 1px solid var(--line); border-radius: 20px;
  font-size: 12px; color: var(--ink-soft); background: var(--bg-alt);
  letter-spacing: .5px; margin-right: 8px; margin-bottom: 8px;
  white-space: nowrap;
}
.chip-gold { background: var(--gold-pale); border-color: transparent; color: var(--gold-deep); }
.chip-navy { background: var(--navy-pale); border-color: transparent; color: var(--navy); }
.chip-purple { background: #F0EBFC; border-color: transparent; color: #55349F; }

/* ---------- 14. 规格表 ---------- */
.spec-table-wrap { overflow-x: auto; }
.spec-table {
  width: 100%; border-collapse: collapse; font-size: 13.5px;
  background: var(--bg-paper); border: 1px solid var(--line);
}
.spec-table th, .spec-table td {
  padding: 15px 20px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--line-soft); line-height: 1.8;
}
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th {
  background: var(--bg-alt); color: var(--ink); font-weight: 600;
  width: 168px; white-space: nowrap; letter-spacing: 1px;
  font-family: var(--font-body);
}
.spec-table td { color: var(--text); }
.spec-table td a { color: var(--gold-deep); border-bottom: 1px dashed var(--gold); }
.spec-table thead th {
  background: var(--gold-pale); color: var(--gold-deep); font-size: 12.5px;
  letter-spacing: 2px; white-space: normal; width: auto;
}
.spec-table td strong { color: var(--ink); }

/* ---------- 15. 步骤 ---------- */
.steps { display: grid; gap: 22px; }
.steps-3 { grid-template-columns: repeat(3, 1fr); }
.steps-4 { grid-template-columns: repeat(4, 1fr); }
.step {
  background: var(--bg-paper); border: 1px solid var(--line-soft);
  border-top: 2px solid var(--gold); border-radius: var(--radius);
  padding: 30px 26px; position: relative; transition: all .3s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-img-box {
  background: #FFFFFF; border-radius: 6px; border: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; box-shadow: inset 0 0 12px rgba(0,0,0,0.02);
}
.step-img-box img { max-height: 100%; max-width: 100%; object-fit: contain; transition: transform .35s var(--ease); }
.step:hover .step-img-box img { transform: scale(1.025); }
.step-no {
  font-family: var(--font-latin); font-size: 34px; color: var(--gold);
  line-height: 1; display: block; margin-bottom: 16px; font-weight: 500; opacity: .85;
}
.step-title { font-size: 15.5px; font-weight: 700; margin-bottom: 12px; letter-spacing: 1px; color: var(--ink); }
.step p { font-size: 13.5px; line-height: 1.95; color: var(--text); }
.step-arrow { position: absolute; right: -17px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 15px; z-index: 2; }

/* ---------- 16. 双实体桥接带 ---------- */
.bridge {
  position: relative; border-radius: var(--radius);
  background: linear-gradient(100deg, #F5EFE1 0%, #F2F1EC 46%, #E9EFF7 100%);
  border: 1px solid var(--line);
  padding: 54px 56px; overflow: hidden;
}
body.theme-hxh .bridge { background: linear-gradient(100deg, #E9EFF7 0%, #F0EAF8 55%, #F5EFE1 100%); }
.bridge::before, .bridge::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px;
}
.bridge::before { top: 0; background: linear-gradient(90deg, var(--gold) 0 18%, transparent 18%); }
.bridge::after { bottom: 0; background: linear-gradient(90deg, transparent 82%, var(--navy) 82%); }
.bridge-label {
  font-size: 11.5px; letter-spacing: 4px; color: #0E7490; font-weight: 700;
  margin-bottom: 14px; display: flex; align-items: center; gap: 10px;
}
.bridge-label::before { content: "⇄"; font-size: 15px; }
.bridge h2, .bridge h3 { margin-bottom: 16px; }
.bridge p { color: var(--ink-soft); }
.bridge .btn-row { margin-top: 26px; }
body.theme-hxh .bridge-title {
  font-size: clamp(17px, 1.55vw, 21px);
  white-space: nowrap;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

/* ---------- 16.5 Process Banner ---------- */
.process-banner {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(109, 75, 216, 0.16);
  background: var(--bg-paper);
  box-shadow: 0 14px 40px rgba(20, 30, 60, 0.06);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.process-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(109, 75, 216, 0.12);
}

/* ---------- 17. FAQ ---------- */
.faq-list { max-width: 860px; }
.faq-item {
  background: var(--bg-paper); border: 1px solid var(--line-soft);
  border-radius: var(--radius); margin-bottom: 14px; overflow: hidden;
  transition: border-color .3s;
}
.faq-item.open { border-color: var(--gold); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 26px; cursor: pointer; user-select: none;
  font-family: var(--font-display); font-size: 16.5px; font-weight: 700;
  color: var(--ink); letter-spacing: .5px; line-height: 1.6;
}
.faq-q .faq-icon {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 400; transition: all .3s var(--ease); font-family: var(--font-body);
}
.faq-item.open .faq-icon { background: var(--gold); color: #fff; transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .45s var(--ease);
  font-size: 14px; line-height: 2; color: var(--text);
}
.faq-a-inner { padding: 2px 26px 24px; border-top: 1px dashed var(--line); margin: 0 0; padding-top: 18px; }
.faq-a strong { color: var(--ink); }
.faq-a a { color: var(--gold-deep); border-bottom: 1px dashed var(--gold); }

/* ---------- 18. 合规声明框 ---------- */
.callout-warn {
  background: #FFFDF6; border: 1px solid #E8D9B0; border-left: 4px solid #C89B3C;
  border-radius: var(--radius); padding: 32px 36px;
}
.callout-warn h2, .callout-warn h3 { color: #8F6B1F; font-size: 17px; margin-bottom: 14px; letter-spacing: 1px; }
.callout-warn li { margin-bottom: 8px; font-size: 14px; line-height: 2; color: var(--ink-soft); }
.callout-warn strong { color: var(--ink); }

/* ---------- 19. 页脚 ---------- */
.site-footer { background: #211B13; color: #A99C82; margin-top: 0; }
body.theme-hxh .site-footer { background: #101C2E; color: #93A6C2; }
.site-footer::before {
  content: ""; display: block; height: 3px;
  background: linear-gradient(90deg, var(--seal) 0 8%, var(--gold) 8% 26%, #211B13 26%);
}
body.theme-hxh .site-footer::before {
  background: linear-gradient(90deg, var(--purple) 0 8%, var(--navy) 8% 26%, #101C2E 26%);
}
.footer-main { padding: 64px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand-header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px; flex-wrap: wrap;
}
.footer-seal {
  background: var(--seal); color: #FBF6EC;
  font-family: var(--font-display); font-size: 18px; font-weight: 700;
  letter-spacing: 3px; padding: 5px 14px 5px 17px; border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25), 0 2px 8px rgba(150, 60, 40, .25);
  white-space: nowrap; display: inline-flex; align-items: center; justify-content: center;
  line-height: 1.2;
}
body.theme-hxh .footer-seal {
  background: var(--navy);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 2px 8px rgba(20, 40, 70, .3);
}
.footer-brand-en {
  font-family: var(--font-latin); font-size: 12.5px; letter-spacing: 2.5px;
  color: #B5A78E; white-space: nowrap;
}
body.theme-hxh .footer-brand-en { color: #8FA7C6; }
.footer-brand .brand-seal { margin-bottom: 16px; }
.footer-slogan {
  font-family: var(--font-display); font-size: 16px; color: #E8DCC2; letter-spacing: 3px;
  margin-bottom: 10px; line-height: 1.8;
}
body.theme-hxh .footer-slogan { color: #C9D8EC; }
.footer-slogan-en { font-family: var(--font-latin); font-size: 12px; letter-spacing: 2.5px; color: #857A63; }
body.theme-hxh .footer-slogan-en { color: #6D7F9C; }
.footer-grid h4 {
  color: #EDE3CB; font-size: 14.5px; letter-spacing: 3px; margin-bottom: 18px; font-weight: 600;
}
body.theme-hxh .footer-grid h4 { color: #D4E0F0; }
.footer-grid a { display: block; font-size: 13px; line-height: 2.3; color: #A3977E; transition: color .2s, padding-left .2s; }
body.theme-hxh .footer-grid a { color: #8FA3C0; }
.footer-grid a:hover { color: #F0DFB4; padding-left: 5px; }
body.theme-hxh .footer-grid a:hover { color: #BFD5F2; }
.footer-grid p { font-size: 13px; line-height: 2.3; }
.legal {
  border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0 30px;
  font-size: 11.5px; line-height: 2.1; color: #7A6F5B; letter-spacing: .3px;
}
body.theme-hxh .legal { color: #67789A; }
.legal a { color: #B8A87F; }
body.theme-hxh .legal a { color: #9FB4D6; }

/* ---------- 20. 表单 ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 13px; color: var(--ink); letter-spacing: 1px; font-weight: 600; }
.field label em { color: var(--seal); font-style: normal; margin-left: 2px; }
.field input, .field select, .field textarea {
  border: 1px solid var(--line); background: var(--bg-paper);
  padding: 13px 16px; font-size: 14px; color: var(--ink);
  border-radius: var(--radius); font-family: var(--font-body);
  transition: border-color .25s, box-shadow .25s; outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-pale);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; }

/* ---------- 21. 其他组件 ---------- */
.note { font-size: 12.5px; color: var(--muted); letter-spacing: .5px; }
.qr-box {
  width: 120px; height: 120px; border: 1px solid var(--line); border-radius: var(--radius);
  background:
    radial-gradient(circle at center, var(--ink) 0 18%, transparent 18.5%) ,
    repeating-linear-gradient(0deg, transparent 0 6px, rgba(38, 32, 26, .12) 6px 7px),
    repeating-linear-gradient(90deg, transparent 0 6px, rgba(38, 32, 26, .12) 6px 7px),
    #FBF8F1;
  position: relative;
}
.qr-box::after {
  content: "扫码Placeholder"; position: absolute; bottom: -24px; left: 50%; transform: translateX(-50%);
  font-size: 10.5px; color: var(--muted); white-space: nowrap; letter-spacing: 1px;
}
.channel-card {
  background: var(--bg-paper); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 34px 22px 30px; text-align: center; transition: all .3s var(--ease);
}
.channel-card:hover { border-color: var(--gold); transform: translateY(-5px); box-shadow: var(--shadow); }
.channel-title { font-size: 15.5px; font-weight: 700; margin: 32px 0 4px; }
.channel-sub { font-size: 12px; color: var(--gold-deep); letter-spacing: 1px; margin-bottom: 10px; }
.channel-card p { font-size: 12.5px; color: var(--muted); }

.media-frame {
  border: 1px solid var(--line); padding: 10px; background: var(--bg-paper);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }

.stat-card { text-align: center; padding: 26px 16px; }
.stat-num {
  font-family: var(--font-latin); font-size: 42px; color: var(--gold); line-height: 1.1;
  display: block; margin-bottom: 8px; font-weight: 500;
}
.stat-num small { font-size: 18px; }
.stat-label { font-size: 13px; color: var(--ink-soft); letter-spacing: 2px; }

.crumbs-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }

/* ---------- 22. 动效 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero-body > * { animation: fadeUp .9s var(--ease) both; }
.hero-body > *:nth-child(2) { animation-delay: .12s; }
.hero-body > *:nth-child(3) { animation-delay: .24s; }
.hero-body > *:nth-child(4) { animation-delay: .36s; }
.hero-body > *:nth-child(5) { animation-delay: .48s; }

.back-top {
  position: fixed; right: 26px; bottom: 30px; z-index: 300;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold); color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 17px;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .35s var(--ease); box-shadow: 0 6px 20px rgba(120, 90, 40, .3);
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--gold-deep); }

/* ---------- 23. HXH 主题特有 ---------- */
body.theme-hxh .step { border-top-color: var(--navy); }
.hxh-pattern {
  background-image:
    linear-gradient(rgba(31, 58, 95, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 58, 95, .045) 1px, transparent 1px);
  background-size: 34px 34px;
}

/* ---------- 24. 响应式 ---------- */
@media (max-width: 1080px) {
  .main-nav { gap: 20px; }
  .header-inner { height: 68px; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding: 36px 24px 56px; }
  body.theme-hxh .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    padding: 36px 24px 56px;
  }
  .hero-media { order: -1; height: auto; aspect-ratio: 4 / 3; }
  body.theme-hxh .hero-media {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: 260px;
    aspect-ratio: 16 / 9;
    order: -1;
    margin-bottom: 24px;
    justify-content: center;
  }
  .hero-media::before { background: linear-gradient(0deg, var(--bg) 0%, rgba(247, 243, 234, 0) 40%); }
  body.theme-hxh .hero-media::before { background: linear-gradient(0deg, var(--bg) 0%, rgba(243, 246, 250, 0) 40%); }
  body.theme-hxh .hero-media img {
    -webkit-mask-image: none;
    mask-image: none;
    object-position: center center;
  }
  body.theme-hxh .hero-body { max-width: 100%; padding: 0; }
  body.theme-hxh .hero-cta { flex-wrap: wrap; }
  .hero-body { padding: 0; }
  .hero-vert { display: none; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .steps-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 24px 20px; box-shadow: var(--shadow); max-height: 70vh; overflow-y: auto;
  }
  .main-nav.open { display: flex; }
  .main-nav > a, .nav-dd > .dd-t { padding: 13px 4px; border-bottom: 1px solid var(--line-soft); }
  .main-nav > a::after, .nav-dd > .dd-t::after { display: none; }
  .dd-panel {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; margin-left: 16px; min-width: 0;
  }
  body.theme-hxh .hero-title { white-space: normal; }
  .dd-panel a { border-bottom: 1px solid var(--line-soft); }
  .g2, .g3 { grid-template-columns: 1fr; }
  .steps-3, .steps-4 { grid-template-columns: 1fr; }
  .sec { padding: 0 0 56px; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .bridge { padding: 34px 24px; }
  body.theme-hxh .bridge-grid { grid-template-columns: 1fr !important; }
  body.theme-hxh .bridge-title { white-space: normal; font-size: 19px; line-height: 1.45; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .spec-table th { width: 110px; }
  .topbar-inner > span:first-child { display: none; }
  .faq-q { font-size: 15px; padding: 16px 18px; }
  .faq-a-inner { padding: 14px 18px 18px; }
}

@media (max-width: 480px) {
  .hero-body { padding: 36px 20px 54px; }
  .hero-title { font-size: clamp(20px, 6vw, 26px); letter-spacing: 1px; }
}

/* ---------- 24. 全局高清画作灯箱预览 (Lightbox) ---------- */
.zoomable, [data-zoom], .lightbox-gallery .card-media {
  cursor: zoom-in;
  position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.zoomable:hover, [data-zoom]:hover, .lightbox-gallery .card-media:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(40, 30, 20, .18);
}

/* 艺术家档案画廊专属卡片 */
.artist-archive-item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: zoom-in;
  transition: all .32s var(--ease);
  box-shadow: 0 2px 10px rgba(40, 30, 20, .05);
  position: relative;
}
.artist-archive-item:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 12px 28px rgba(40, 30, 20, .14);
}
.artist-archive-cover {
  position: relative;
  background: #FAF8F5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.artist-archive-cover img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform .4s var(--ease);
}
.artist-archive-item:hover .artist-archive-cover img {
  transform: scale(1.02);
}
.artist-archive-cover .zoom-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(26, 20, 14, .75);
  color: #F8F3EA;
  font-size: 11px;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 14px;
  opacity: 0;
  transform: translateY(-4px);
  transition: all .25s ease;
  backdrop-filter: blur(4px);
  pointer-events: none;
  z-index: 2;
}
.artist-archive-item:hover .zoom-badge {
  opacity: 1;
  transform: translateY(0);
}
.artist-archive-info {
  padding: 12px 12px 14px;
  background: var(--bg-paper);
  border-top: 1px solid var(--line-soft);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 1;
}
.artist-archive-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 1px;
  line-height: 1.3;
}
.artist-archive-title {
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.site-lightbox.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 11, 8, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 94vw;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  outline: none;
}
.lightbox-img-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .12);
  transform: scale(.95);
  opacity: 0;
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1), opacity .25s ease;
  user-select: none;
}
.site-lightbox.active .lightbox-img {
  transform: scale(1);
  opacity: 1;
}
.lightbox-caption {
  margin-top: 14px;
  color: #EDE4D4;
  font-size: 13.5px;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(24, 19, 14, .7);
  padding: 6px 20px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
  max-width: 90vw;
  text-align: center;
}
.lightbox-counter {
  color: var(--gold);
  font-family: var(--font-latin);
  font-size: 13px;
  font-weight: 600;
  border-left: 1px solid rgba(255, 255, 255, .15);
  padding-left: 12px;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(36, 28, 20, .7);
  color: #F8F3EA;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s var(--ease);
  z-index: 10;
  line-height: 1;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(186, 140, 78, .4);
}
.lightbox-close {
  top: -50px;
  right: 0;
  width: 38px;
  height: 38px;
  font-size: 17px;
}
.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  font-size: 28px;
  padding-bottom: 3px;
}
.lightbox-prev { left: -72px; }
.lightbox-next { right: -72px; }

@media (max-width: 860px) {
  .lightbox-prev { left: 8px; width: 42px; height: 42px; font-size: 24px; background: rgba(24, 19, 14, .82); }
  .lightbox-next { right: 8px; width: 42px; height: 42px; font-size: 24px; background: rgba(24, 19, 14, .82); }
  .lightbox-close { top: 14px; right: 14px; position: fixed; }
  .lightbox-img { max-height: 72vh; }
  .lightbox-caption { font-size: 12px; padding: 5px 14px; }
}


/* 视频播放容器规范 */
.video-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0D0A08;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(40, 30, 20, .14);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(26, 20, 14, .78);
  color: #F8F3EA;
  font-size: 11px;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 4px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .1);
}

/* 官方渠道白名单与二维码矩阵 */
.qr-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
@media (max-width: 1024px) {
  .qr-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .qr-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}
.qr-card {
  background: var(--bg-paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 22px 14px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: all .35s var(--ease);
  box-shadow: 0 2px 8px rgba(40, 30, 20, .04);
}
.qr-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.qr-frame {
  width: 130px;
  height: 130px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 6px;
  box-sizing: border-box;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(40, 30, 20, .06);
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.qr-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.3;
}
.qr-desc {
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.5;
  margin-bottom: 10px;
}

/* ---------- 25. 预约提交与专属顾问引导弹窗 (Consult Modal) ---------- */
.consult-modal-mask {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(24, 19, 14, 0.72); backdrop-filter: blur(5px);
  z-index: 9999; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
  padding: 20px; box-sizing: border-box;
}
.consult-modal-mask.active {
  opacity: 1; visibility: visible;
}
.consult-modal {
  background: #FAF8F5; border: 1px solid var(--gold);
  border-radius: 12px; width: 100%; max-width: 450px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  position: relative; overflow: hidden;
  transform: translateY(20px) scale(0.96);
  transition: transform .35s var(--ease);
  padding: 32px 26px 26px; box-sizing: border-box; text-align: center;
}
.consult-modal-mask.active .consult-modal {
  transform: translateY(0) scale(1);
}
.consult-modal-close {
  position: absolute; top: 12px; right: 14px;
  background: none; border: none; font-size: 22px; line-height: 1;
  color: var(--text-soft); cursor: pointer; padding: 6px;
  transition: color .2s ease;
}
.consult-modal-close:hover { color: var(--gold-deep); }
.consult-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(184, 148, 91, 0.12); color: var(--gold-deep);
  border: 1px solid rgba(184, 148, 91, 0.35);
  font-size: 12.5px; font-weight: 700; padding: 4px 14px; border-radius: 20px;
  margin-bottom: 12px;
}
.consult-title {
  font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 8px; letter-spacing: .5px;
}
.consult-desc {
  font-size: 13px; line-height: 1.7; color: var(--text); margin-bottom: 16px;
}
.consult-qr-card {
  background: #FFFFFF; border: 1px solid var(--line-soft);
  border-radius: 8px; padding: 18px 16px; margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.consult-qr-box {
  width: 165px; height: 165px; margin: 0 auto 10px;
  border-radius: 6px; overflow: hidden; border: 1px solid var(--line-soft);
  background: #fff; padding: 4px; box-sizing: border-box;
}
.consult-qr-box img {
  width: 100%; height: 100%; object-fit: contain; display: block;
}
.consult-name {
  font-size: 14.5px; font-weight: 700; color: var(--ink); margin-bottom: 3px;
}
.consult-role {
  font-size: 11.5px; color: var(--gold-deep); font-weight: 600; margin-bottom: 6px;
}
.consult-tips {
  font-size: 12px; color: var(--text-soft); line-height: 1.55;
}
.consult-foot {
  display: flex; gap: 10px; justify-content: center;
}


/* Accessibility: Skip to main content */
.skip-link {
  position: absolute;
  top: -120px;
  left: 20px;
  background: #181818;
  color: #D4AF37;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 0 0 6px 6px;
  z-index: 99999;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: top 0.2s ease-in-out;
}
.skip-link:focus {
  top: 0;
  outline: 2px solid #D4AF37;
}

/* Product Card Material Tag (Warm Paper Silk Capsule Style) */
.card-material-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  background: #FBF8F1;
  border: 1px solid #E7DFCC;
  color: #57503F;
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.3px;
  line-height: 1.5;
  margin-left: 8px;
  vertical-align: middle;
  white-space: nowrap;
  font-family: var(--font-sans);
}
.product-card .card-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
}
