/*!
 * 召家班银丝古建 · 视觉精修层 v1.0
 * 纯样式覆盖，不改动页面结构与脚本。
 * 回滚方式：删除 index.html 中的 <link href="assets/zjb-beautify.css"> 一行即可完全还原。
 */

/* =========================================================
   1. 基础排版 / 滚动体验
   ========================================================= */
html {
  scroll-behavior: smooth;
  /* 修复：点击导航锚点后章节标题被固定顶栏遮挡 */
  scroll-padding-top: 132px;
  scrollbar-width: thin;
  scrollbar-color: rgba(168, 130, 29, .45) transparent;
}
section[id] { scroll-margin-top: 132px; }

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(168, 130, 29, .22); color: #1d1d1f; }

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(201, 171, 106, .9), rgba(138, 107, 20, .9));
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #c9a76a, #8a6b14);
}

/* =========================================================
   2. 顶部导航：修复中文标签被压成两行，并加入悬停微动效
   ========================================================= */
header a.nav-link {
  flex-shrink: 0;
  transition: color .25s ease;
}
header a.nav-link > span {
  white-space: nowrap;
}
header a.nav-link > span:first-child {
  position: relative;
  display: inline-block;
  line-height: 1.25;
  letter-spacing: .06em;
}
/* 金色下划线：用 currentColor，深底浅底都成立 */
header a.nav-link > span:first-child::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(.15);
  transform-origin: left center;
  transition: transform .42s cubic-bezier(.16, 1, .3, 1), opacity .3s ease;
}
header a.nav-link:hover > span:first-child::after {
  opacity: .55;
  transform: scaleX(1);
}
/* 英文副标：缩小、拉开字距，悬停时字距再松一点 */
header a.nav-link > span + span {
  font-size: 9px !important;
  line-height: 1.2;
  letter-spacing: .12em !important;
  opacity: .55;
  white-space: nowrap;
  transition: opacity .3s ease, letter-spacing .45s cubic-bezier(.16, 1, .3, 1);
}
header a.nav-link:hover > span + span {
  opacity: .92;
  letter-spacing: .17em !important;
}

/* =========================================================
   3. 首屏：让浅色标题从复杂夜景中"浮"出来
   ========================================================= */
#top :where(h1, h2, h3, h4, p, span, a) {
  text-shadow: 0 1px 2px rgba(0, 0, 0, .32), 0 8px 30px rgba(0, 0, 0, .42);
}

/* =========================================================
   4. 按钮：内高光 + 更柔和的投影，指尖反馈更"实"
   ========================================================= */
.btn-gold {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .20),
    inset 0 -1px 0 rgba(0, 0, 0, .12),
    0 10px 30px rgba(138, 107, 20, .20);
}
.btn-gold:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .30),
    inset 0 -1px 0 rgba(0, 0, 0, .10),
    0 16px 42px rgba(138, 107, 20, .32);
}
.btn-silver {
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .06);
}
.btn-silver:hover {
  box-shadow: 0 10px 30px rgba(138, 107, 20, .16);
}

/* =========================================================
   5. 图片：统一色调（夜间实拍色偏较大，压一档饱和度更成组）
   ========================================================= */
section img.img-lift,
article img.img-lift {
  filter: saturate(.90) contrast(1.04);
  transition: transform .9s cubic-bezier(.16, 1, .3, 1), opacity .8s ease, filter .5s ease;
}
/* 悬停时恢复原色并轻微放大，形成"点亮"感 */
.group:hover img.img-lift {
  filter: saturate(1) contrast(1.04);
}
section:not(#top) .group:hover img.img-lift {
  transform: scale(1.035);
}

/* =========================================================
   6. 宽屏满幅：让内容随屏幕变宽
   ---------------------------------------------------------
   原站所有区块容器固定 1280px（max-w-7xl），在 1920 屏幕上
   两侧各空 320px，视觉上像"漂在中间"。这里按屏幕宽度分档放宽，
   只改容器上限，不碰栅格与字号，所以排版关系不变、只是更舒展。
   ========================================================= */
@media (min-width: 1600px) {
  .max-w-7xl { max-width: 1520px; }
  .max-w-6xl { max-width: 1400px; }
  .max-w-5xl { max-width: 1220px; }
  .max-w-4xl { max-width: 1080px; }
}
@media (min-width: 1900px) {
  .max-w-7xl { max-width: 1720px; }
  .max-w-6xl { max-width: 1560px; }
  .max-w-5xl { max-width: 1340px; }
  .max-w-4xl { max-width: 1180px; }
}
@media (min-width: 2400px) {
  .max-w-7xl { max-width: 2000px; }
  .max-w-6xl { max-width: 1800px; }
  .max-w-5xl { max-width: 1500px; }
  .max-w-4xl { max-width: 1320px; }
}

/* =========================================================
   7. 章节小标题：中英双段居一行，不再折成两行
   ========================================================= */
@media (min-width: 768px) {
  .eyebrow {
    flex-wrap: nowrap;
    white-space: nowrap;
    align-items: baseline;
  }
  .eyebrow > span {
    white-space: nowrap;
  }
}

/* =========================================================
   8. 移动端：字距收紧，避免中英标签在窄屏被挤成碎行
   ========================================================= */
@media (max-width: 767px) {
  .eyebrow {
    letter-spacing: 0.1em;
    font-size: 11px;
    line-height: 1.8;
    gap: 2px 8px;
  }
  .eyebrow > span {
    letter-spacing: 0.1em;
  }
  /* 首屏：大写英文与说明文字不再用超大字距 */
  #top p[class*="tracking-"],
  #top span[class*="tracking-"] {
    letter-spacing: 0.1em !important;
  }
  #top .text-caption {
    font-size: 12px !important;
    line-height: 1.85 !important;
  }
  /* 首屏按钮：中英各占一行，避免一句拆成两截 */
  #top a,
  #top button {
    flex-wrap: wrap;
    row-gap: 3px;
  }
  #top a > span,
  #top button > span {
    letter-spacing: 0.08em !important;
  }
}

/* =========================================================
   9. 移动端导航抽屉（原站 <1024px 无任何导航入口，此处补齐）
   ========================================================= */
.zjb-mnav-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0 9px;
  border: 1px solid rgba(201, 171, 106, .38);
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
}
.zjb-mnav-btn > span {
  display: block;
  height: 1.5px;
  width: 100%;
  border-radius: 2px;
  background: #c9ab6a;
  transition: transform .2s ease, opacity .2s ease;
}
.zjb-mnav-btn[aria-expanded="true"] > span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.zjb-mnav-btn[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
.zjb-mnav-btn[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 1023px) {
  .zjb-mnav-btn { display: inline-flex; }
}

.zjb-mnav {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
  opacity: 0;
  transition: opacity .28s ease;
}
.zjb-mnav.is-open { pointer-events: auto; opacity: 1; }
.zjb-mnav__mask {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, .58);
  backdrop-filter: blur(3px);
}
.zjb-mnav__panel {
  position: relative;
  width: min(86vw, 380px);
  height: 100%;
  padding: 26px 24px 30px;
  background: linear-gradient(170deg, #0d0d0e 0%, #131214 60%, #0a0a0b 100%);
  border-left: 1px solid rgba(201, 171, 106, .22);
  box-shadow: -24px 0 60px rgba(0, 0, 0, .5);
  display: flex;
  flex-direction: column;
  transform: translateX(28px);
  transition: transform .3s cubic-bezier(.22, .61, .36, 1);
  overflow-y: auto;
}
.zjb-mnav.is-open .zjb-mnav__panel { transform: translateX(0); }

.zjb-mnav__head {
  position: relative;
  padding-bottom: 18px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(201, 171, 106, .22);
}
.zjb-mnav__title {
  display: block;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .14em;
  color: #f2ebdd;
}
.zjb-mnav__sub {
  display: block;
  margin-top: 6px;
  font-size: 8.5px;
  letter-spacing: .26em;
  color: rgba(201, 171, 106, .85);
}
.zjb-mnav__close {
  position: absolute;
  top: 0;
  right: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(201, 171, 106, .3);
  background: transparent;
  cursor: pointer;
}
.zjb-mnav__close > span {
  position: absolute;
  left: 9px;
  top: 16px;
  width: 15px;
  height: 1.4px;
  background: #c9ab6a;
}
.zjb-mnav__close > span:nth-child(1) { transform: rotate(45deg); }
.zjb-mnav__close > span:nth-child(2) { transform: rotate(-45deg); }

.zjb-mnav__list {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.zjb-mnav__list > a,
.zjb-mnav__link {
  display: block !important;
  padding: 11px 2px !important;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  text-decoration: none;
}
.zjb-mnav__link > span {
  display: block;
  color: rgba(240, 233, 220, .62) !important;
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-top: 3px;
}
.zjb-mnav__link > span:first-child {
  color: #efe8db !important;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 16px;
  letter-spacing: .08em;
  text-transform: none;
  margin-top: 0;
}
.zjb-mnav__link:active { background: rgba(201, 171, 106, .1); }

.zjb-mnav__foot {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(201, 171, 106, .22);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.zjb-mnav__cta {
  display: block;
  text-align: center;
  padding: 12px 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #d8bd85, #a8821d);
  color: #16130c;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-decoration: none;
}
.zjb-mnav__plain {
  text-align: center;
  font-size: 11px;
  letter-spacing: .12em;
  color: rgba(201, 171, 106, .82);
  text-decoration: none;
  padding: 4px 0;
}
html.zjb-mnav-lock { overflow: hidden; }

/* =========================================================
   10. 图片悬停 3 秒自动放大（配合 zjb-image-zoom.js）
   ========================================================= */
img.zjb-img-zoomed {
  box-shadow:
    0 28px 64px -12px rgba(0, 0, 0, .42),
    0 0 0 1px rgba(201, 171, 106, .3);
  border-radius: 4px;
  filter: saturate(1.03) contrast(1.04) brightness(1.02);
  will-change: transform;
  cursor: zoom-in;
}

/* =========================================================
   11. 项目案例：筛选结果不足 3 个时不再空半屏
       1 个 → 单条横向大卡（左图右文，占满一行）
       2 个 → 两列居中
   ========================================================= */
@media (min-width: 640px) {
  #projects .grid[data-zjb-count="1"] {
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
  }
  #projects .grid[data-zjb-count="2"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (min-width: 900px) {
  /* 单条项目：卡片转成左图右文的横向布局，一屏看完 */
  #projects .grid[data-zjb-count="1"] > div > button {
    display: grid !important;
    grid-template-columns: 1.28fr 1fr;
    align-items: stretch;
    height: 380px;
  }
  #projects .grid[data-zjb-count="1"] > div > button > div:first-child {
    height: 100% !important;
    aspect-ratio: auto !important;
  }
  #projects .grid[data-zjb-count="1"] > div > button > div:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px 36px !important;
  }
  #projects .grid[data-zjb-count="1"] h3 {
    font-size: 26px !important;
    line-height: 1.32 !important;
  }
  #projects .grid[data-zjb-count="1"] .line-clamp-2 {
    -webkit-line-clamp: 4 !important;
    font-size: 14px !important;
    line-height: 1.85 !important;
  }
  /* 单条时把"查看详情"常显，卡片有明确的点击指向 */
  #projects .grid[data-zjb-count="1"] > div > button > div:last-child > span:last-child {
    margin-top: 26px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition: none !important;
  }
}

/* =========================================================
   12. 合作咨询「送达出口」按钮（配合 zjb-form-relay.js）
   注入在原站浅色弹窗内部，故按浅色调处理
   ========================================================= */
.zjb-contact-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed rgba(201, 171, 106, .5);
}
.zjb-contact-link:hover { border-bottom-color: #c9ab6a; }

.zjb-relay-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 20px 0 8px;
  width: 100%;
}
.zjb-relay-actions__btn {
  flex: 1 1 160px;
  max-width: 240px;
  text-align: center;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(168, 130, 29, .45);
  background: transparent;
  color: #7d5f12;
  font-size: 13px;
  letter-spacing: .04em;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.zjb-relay-actions__btn:hover {
  background: rgba(201, 171, 106, .14);
  border-color: rgba(168, 130, 29, .8);
  transform: translateY(-1px);
}
.zjb-relay-actions__btn.is-primary {
  background: linear-gradient(135deg, #d8bd85, #a8821d);
  border-color: transparent;
  color: #16130c;
  font-weight: 600;
}
@media (max-width: 520px) {
  .zjb-relay-actions__btn { flex: 1 1 100%; max-width: none; }
}

/* 改写后的成功弹窗里，原「关闭」按钮弱化为次级样式 */
.zjb-relay-close {
  background: transparent !important;
  background-image: none !important;
  color: #7d5f12 !important;
  border: 1px solid rgba(168, 130, 29, .32) !important;
  box-shadow: none !important;
  font-weight: 500 !important;
}
.zjb-relay-close:hover { background: rgba(168, 130, 29, .1) !important; }

/* =========================================================
   13. 页脚合规信息行：ICP 备案号 + 技术支持（阿里云）
   ========================================================= */
.zjb-footer-meta {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: .08em;
  color: rgba(110, 110, 115, .9);
}
.zjb-footer-meta__item { display: inline-flex; align-items: center; }
.zjb-footer-meta a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .25s ease, border-color .25s ease;
}
.zjb-footer-meta a:hover {
  color: #1d1d1f;
  border-bottom-color: rgba(29, 29, 31, .32);
}
.zjb-footer-meta__dot {
  margin: 0 12px;
  color: rgba(110, 110, 115, .4);
}
@media (max-width: 420px) {
  .zjb-footer-meta { font-size: 10px; letter-spacing: .04em; }
  .zjb-footer-meta__dot { margin: 0 8px; }
}

/* =========================================================
   14. 板块补图带：工厂/夜游/昼夜三组实景
   ========================================================= */
.zjb-band { margin-top: 58px; }
.zjb-band__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.zjb-band__rule {
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(29, 29, 31, .14), transparent);
}
.zjb-band__title {
  flex: 0 0 auto;
  font-size: 12px;
  letter-spacing: .2em;
  color: #8a6d2f;
  white-space: nowrap;
}
.zjb-band__title-en {
  flex: 0 0 auto;
  font-size: 9px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(110, 110, 115, .72);
  white-space: nowrap;
}
.zjb-band__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.zjb-band__grid[data-cols="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.zjb-band__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(29, 29, 31, .09);
  border-radius: 3px;
  background: #f0efec;
  transition: border-color .5s ease, box-shadow .5s ease;
}
.zjb-band__frame img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(.2, .7, .2, 1);
}
.zjb-band__grid[data-cols="2"] .zjb-band__frame img { aspect-ratio: 16 / 9; }
/* 14.4 两组以上图带叠加时的间距 + 首图通栏（办公场所等 5 图组） */
.zjb-band + .zjb-band { margin-top: 54px; }
.zjb-band__grid[data-feature="1"] > .zjb-band__item:first-child { grid-column: 1 / -1; }
.zjb-band__grid[data-feature="1"] > .zjb-band__item:first-child .zjb-band__frame img {
  aspect-ratio: 16 / 9;
}
@media (max-width: 767px) {
  .zjb-band__grid[data-feature="1"] > .zjb-band__item:first-child .zjb-band__frame img {
    aspect-ratio: 4 / 3;
  }
}
.zjb-band__item:hover .zjb-band__frame {
  border-color: rgba(168, 130, 29, .55);
  box-shadow: 0 14px 34px -18px rgba(29, 29, 31, .35);
}
.zjb-band__item:hover .zjb-band__frame img { transform: scale(1.035); }
.zjb-band__item figcaption {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 1px 10px;
  margin-top: 12px;
}
.zjb-band__no {
  grid-row: 1 / 3;
  align-self: start;
  font-size: 10px;
  letter-spacing: .16em;
  color: #a8821d;
  padding-top: 2px;
}
.zjb-band__zh {
  font-size: 13px;
  letter-spacing: .03em;
  color: #1d1d1f;
}
.zjb-band__en {
  font-size: 8px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(110, 110, 115, .78);
}
@media (max-width: 900px) {
  .zjb-band { margin-top: 44px; }
  .zjb-band__head { gap: 10px; }
  .zjb-band__title-en { display: none; }
  .zjb-band__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .zjb-band__grid[data-cols="2"] { grid-template-columns: minmax(0, 1fr); }
  .zjb-band__grid[data-cols="3"] .zjb-band__item:nth-child(3) { grid-column: 1 / -1; }
  .zjb-band__grid[data-cols="3"] .zjb-band__item:nth-child(3) .zjb-band__frame img { aspect-ratio: 16 / 7; }
}
@media (max-width: 560px) {
  .zjb-band__grid { grid-template-columns: minmax(0, 1fr); }
  .zjb-band__grid[data-cols="3"] .zjb-band__item:nth-child(3) .zjb-band__frame img { aspect-ratio: 4 / 3; }
  .zjb-band__zh { font-size: 12px; }
}

/* 14.5 产品海报墙（挂 #systems 章节尾）：中英双语 + 自动轮换
   竖版横版统一高度、宽度随原比例，整幅显示不裁切书法字与落款 */
.zjb-band--poster { margin-top: 64px; }
.zjb-poster__track {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 2px 2px 8px;
  scrollbar-width: none;
}
.zjb-poster__track::-webkit-scrollbar { display: none; }
.zjb-poster__item {
  flex: 0 0 auto;
  width: max-content;
  max-width: 76vw;
  margin: 0;
  scroll-snap-align: start;
}
.zjb-poster__frame {
  height: 420px;
  width: max-content;
  border: 1px solid rgba(29, 29, 31, .09);
  border-radius: 3px;
  background: #f0efec;
  overflow: hidden;
  transition: border-color .5s ease, box-shadow .5s ease;
}
.zjb-poster__frame img {
  display: block;
  height: 100%;
  width: auto;
  object-fit: contain;
  transition: transform 1.1s cubic-bezier(.2, .7, .2, 1);
}
.zjb-poster__item:hover .zjb-poster__frame {
  border-color: rgba(168, 130, 29, .55);
  box-shadow: 0 14px 34px -18px rgba(29, 29, 31, .35);
}
.zjb-poster__item:hover .zjb-poster__frame img { transform: scale(1.02); }
/* 图注宽度锁死在图片宽度内（0 + min-width:100%），长标题单行省略 */
.zjb-poster__item figcaption {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 1px 10px;
  width: 0;
  min-width: 100%;
  margin-top: 10px;
}
.zjb-poster__item .zjb-band__zh {
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.zjb-poster__item .zjb-band__en {
  font-size: 7px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.zjb-poster__nav {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 16px;
}
.zjb-poster__btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(29, 29, 31, .16);
  background: #fff;
  color: #1d1d1f;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}
.zjb-poster__btn:hover { border-color: #a8821d; color: #a8821d; }
@media (max-width: 1120px) {
  .zjb-poster__frame { height: 380px; }
}
@media (max-width: 900px) {
  .zjb-band--poster { margin-top: 44px; }
  .zjb-poster__track { gap: 12px; }
  .zjb-poster__frame { height: 320px; }
  .zjb-poster__nav { margin-top: 12px; }
}
@media (max-width: 560px) {
  .zjb-poster__frame { height: 260px; }
  .zjb-poster__item { max-width: 84vw; }
}

/* 14.1 移动端：章节小标题（中/英）各占一行，避免中文被拆成「故/事」 */
@media (max-width: 767px) {
  .eyebrow { flex-wrap: wrap; row-gap: 2px; }
  .eyebrow > span { white-space: nowrap; }
}

/* 14.2 四列图墙（项目案例底部「更多实景记录」） */
.zjb-band__grid[data-cols="4"] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.zjb-band__grid[data-cols="4"] .zjb-band__zh { font-size: 12px; }
.zjb-band__grid[data-cols="4"] .zjb-band__no { font-size: 9px; }
@media (max-width: 1120px) {
  .zjb-band__grid[data-cols="4"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .zjb-band__grid[data-cols="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
@media (max-width: 560px) {
  .zjb-band__grid[data-cols="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zjb-band__grid[data-cols="4"] .zjb-band__zh { font-size: 11px; }
  .zjb-band__grid[data-cols="4"] .zjb-band__en { font-size: 7px; letter-spacing: .14em; }
}

/* 14.3 实景图集：紧凑模式（无图注，仅右下角编号角标） */
.zjb-band--compact .zjb-band__grid { gap: 10px; }
.zjb-band--compact .zjb-band__frame { border-color: rgba(29, 29, 31, .07); }
.zjb-band__badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 2px 6px;
  font-size: 9px;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .92);
  background: rgba(18, 18, 20, .4);
  border-radius: 2px;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  pointer-events: none;
}
@media (max-width: 560px) {
  .zjb-band--compact .zjb-band__grid { gap: 8px; }
  .zjb-band__badge { right: 5px; bottom: 5px; font-size: 8px; padding: 1px 4px; }
}
/* 14.9 品牌书法鎏金字 —— 页头 / 侧栏抽屉 / 页脚 / 首屏品牌行 */
@font-face {
  font-family: "ZJB Calligraphy";
  src: url("fonts/zjb-calligraphy.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
.zjb-logo-ca {
  font-family: "ZJB Calligraphy", "Ma Shan Zheng", "Noto Serif SC", serif;
  font-weight: 400;
  letter-spacing: 0.08em;
  background-image: linear-gradient(178deg, #fff7dc 4%, #f8e7ae 26%, #e9c876 46%, #c99a33 62%, #a87718 76%, #e3c169 96%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 14px rgba(212, 165, 58, 0.28));
}
.zjb-logo-ca span {
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.zjb-logo-ca--header { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; }
.zjb-logo-ca--drawer { font-size: clamp(30px, 4vw, 42px); line-height: 1.15; }
.zjb-logo-ca--footer { font-size: 30px; line-height: 1.15; }
.zjb-logo-ca--hero { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.15; }
/* 页头/页脚会落在浅色背景上：换更深的古铜鎏金，深浅背景都清晰 */
.zjb-logo-ca--header,
.zjb-logo-ca--footer {
  background-image: linear-gradient(178deg, #fbe9ae 0%, #d9b45a 34%, #a87d1e 68%, #7c5c14 100%);
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.25));
}
.zjb-logo-ca > span { font-size: 0.66em; margin-left: 0.18em; }
/* 14.10 今日上新角标 */
.zjb-poster__item { position: relative; }
.zjb-poster__new {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 3px 9px;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #1b1408;
  background-image: linear-gradient(135deg, #f8e7ae 0%, #e2c072 48%, #c49a3a 100%);
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}
@media (max-width: 640px) {
  .zjb-poster__new { font-size: 9px; padding: 2px 7px; top: 8px; left: 8px; }
}
/* 14.11 首屏：左图右文（桌面端） */
@media (min-width: 1024px) {
  #top { background-color: #0b0b10; }
  #top > div.absolute.inset-0 { right: 54%; overflow: hidden; top: var(--zjb-header-h, 76px); }
  #top .scrim-hero { opacity: 0.4; }
  #top > div.relative.z-10 {
    position: absolute;
    left: 54%;
    right: 0;
    top: var(--zjb-header-h, 76px);
    bottom: 0;
    width: auto;
    max-width: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 12px 48px 112px;
    text-align: left;
    background-color: #0b0b10;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
  }
  #top > div.relative.z-10 > p.eyebrow { justify-content: flex-start; }
  #top > div.relative.z-10 > div { justify-content: flex-start; align-items: flex-start; }
  #top .h-hero { font-size: clamp(22px, 2.4vw, 38px); line-height: 1.26; margin-top: 4px !important; }
  #top > div.relative.z-10 > p.mt-5 { letter-spacing: 0.18em; margin-top: 6px !important; }
  #top > div.relative.z-10 > div.mt-10 { margin-top: 10px !important; }
  #top > div.relative.z-10 > div.mt-12 { margin-top: 10px !important; }
  #top .zjb-logo-ca--hero { font-size: clamp(24px, 2.7vw, 36px); line-height: 1.15; }
  #top > div.relative.z-10 div.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 5px !important; }
  #top > div.relative.z-10 p.pt-3 { padding-top: 0 !important; }

  /* 图注条：右栏底部两行（紧凑） */
  #top > div.absolute.inset-x-0.bottom-0 { left: 54%; right: 0; }
  #top > div.absolute.inset-x-0.bottom-0 > div {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 40px;
    padding-right: 40px;
  }
  #top > div.absolute.inset-x-0.bottom-0 > div > div:last-child {
    width: 100% !important;
    justify-content: space-between !important;
  }
  #top > div.absolute.inset-x-0.bottom-0 button[aria-label^="第"] { width: 13px; }
  #top > div.absolute.inset-x-0.bottom-0 .tabular-nums { white-space: nowrap; }

  /* 导航压图区顶部暗渐变，保证可读 */
  #top > div.absolute.inset-0::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to bottom, rgba(8, 8, 12, 0.62) 0%, rgba(8, 8, 12, 0.18) 14%, transparent 26%);
    pointer-events: none;
  }
}

/* 14.12 页头：深色渐变实底（不透明、不压图） + 首屏下移 + 导航文字提亮 */
header.fixed {
  background-color: #0b0b10 !important;
  background-image: linear-gradient(180deg, #0a0a0e 0%, #15151d 62%, #101018 100%) !important;
  border-bottom-color: rgba(198, 163, 90, 0.3) !important;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5);
}
header.fixed nav a,
header.fixed nav a span { color: rgba(240, 236, 228, 0.88) !important; }
header.fixed nav a:hover,
header.fixed nav a:hover span { color: #e2c072 !important; }
#top { padding-top: var(--zjb-header-h, 76px); }
#top > div.absolute.inset-0 { top: var(--zjb-header-h, 76px); }

/* 14.13 首页轮播旋转入场：激活 slide 以 3D 摆旋转入，叠加原有 kenburns 缓推 */
img.object-contain.animate-kenburns {
  animation: kenburns 26s cubic-bezier(.4, 0, .2, 1) infinite alternate,
    zjb-hero-spin 1.1s cubic-bezier(.2, .7, .3, 1);
  transform-origin: center center;
  will-change: transform, opacity;
}
@keyframes zjb-hero-spin {
  from { transform: perspective(1500px) rotateY(-32deg) scale(.94); opacity: .35; }
  60%  { opacity: 1; }
  to   { transform: perspective(1500px) rotateY(0deg) scale(1); opacity: 1; }
}

/* =========================================================
   15. 企业级大气化改版
   ========================================================= */

/* 15.1 页头「合作咨询」按钮：竖排圆形 → 横排大气胶囊 */
header button.btn-gold {
  height: auto !important;
  min-height: 44px;
  flex-direction: row !important;
  flex-wrap: nowrap;
  white-space: nowrap;
  border-radius: 9999px !important;
  padding: 11px 30px !important;
  gap: 10px;
  letter-spacing: .14em;
}
header button.btn-gold > span { display: inline !important; font-size: 11px; }

/* 15.2 导航：更舒展的间距、更清晰的层级（窄屏自动收紧防溢出） */
header nav { gap: 30px !important; }
header nav a.nav-link > span:first-child { font-size: 13.5px; letter-spacing: .08em; }
@media (max-width: 1680px) {
  header nav { gap: 18px !important; }
  header nav a.nav-link > span:first-child { font-size: 12.5px; letter-spacing: .04em; }
  header button.btn-gold { padding: 10px 22px !important; letter-spacing: .08em; }
}

/* 15.3 页头企业信息条 */
.zjb-topbar {
  background: linear-gradient(90deg, #0a0a12, #11101a 50%, #0a0a12);
  border-bottom: 1px solid rgba(212, 169, 67, .22);
  font-size: 12px;
  color: rgba(226, 192, 114, .82);
  letter-spacing: .14em;
}
.zjb-topbar__in {
  max-width: 1520px; margin: 0 auto; padding: 8px 32px;
  display: flex; justify-content: space-between; align-items: center;
  white-space: nowrap;
}
.zjb-topbar__contact b { color: #e2c072; font-weight: 700; letter-spacing: .08em; margin-left: 6px; }
.zjb-topbar__contact i {
  display: inline-block; width: 1px; height: 12px;
  background: rgba(212, 169, 67, .4); margin: 0 14px; vertical-align: -1px;
}
@media (max-width: 1023px) {
  .zjb-topbar__contact { display: none; }
  .zjb-topbar__in { justify-content: center; padding: 6px 16px; font-size: 11px; }
}

/* 15.4 首屏实力信任条 */
.zjb-trust {
  background:
    radial-gradient(1100px 220px at 50% 0%, rgba(212, 169, 67, .10), transparent 62%),
    linear-gradient(180deg, #0b0b13, #08080e);
  border-top: 1px solid rgba(212, 169, 67, .28);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.zjb-trust__in {
  max-width: 1520px; margin: 0 auto; padding: 36px 32px;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.zjb-trust__item { text-align: center; position: relative; padding: 4px 0; }
.zjb-trust__item + .zjb-trust__item::before {
  content: ""; position: absolute; left: 0; top: 14%; height: 72%; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(212, 169, 67, .38), transparent);
}
.zjb-trust__zh { font-size: 19px; font-weight: 700; color: #f0ece4; letter-spacing: .2em; }
.zjb-trust__en { margin-top: 8px; font-size: 10px; letter-spacing: .3em; color: rgba(212, 169, 67, .85); text-transform: uppercase; }
@media (max-width: 1023px) {
  .zjb-trust__in { grid-template-columns: repeat(2, 1fr); gap: 22px 0; padding: 26px 16px; }
  .zjb-trust__item:nth-child(3)::before { display: none; }
  .zjb-trust__zh { font-size: 15px; }
}

/* 15.5 版面节奏：章节上下留白放大，铺陈更从容 */
section.py-section {
  padding-top: clamp(100px, 11vw, 150px) !important;
  padding-bottom: clamp(100px, 11vw, 150px) !important;
}

/* 15.6 章节标题：更大更有分量 */
.h-section { font-size: clamp(30px, 3.3vw, 48px) !important; line-height: 1.16 !important; letter-spacing: .015em; }
.zjb-band__title { font-size: clamp(28px, 3vw, 42px) !important; line-height: 1.2 !important; }

/* 15.7 图片卡片精修：圆角、投影、悬停上浮 */
.zjb-band__frame {
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 18px 44px rgba(10, 10, 16, .14);
  transition: transform .55s cubic-bezier(.16, 1, .3, 1), box-shadow .55s ease;
}
.zjb-band__item:hover .zjb-band__frame {
  transform: translateY(-6px);
  box-shadow: 0 30px 62px rgba(10, 10, 16, .24);
}

/* 15.8 全站按钮：字距更正式 */
.btn-gold, .btn-silver { letter-spacing: .12em; }

/* 15.9 首屏主标题：更有分量 */
#top h1 { font-size: clamp(30px, 3vw, 46px) !important; line-height: 1.18 !important; }

/* 15.10 页脚：更深邃的墨色底 */
footer { background: linear-gradient(180deg, #0b0b13, #060609) !important; }
footer h3 { letter-spacing: .12em; }
