/* ==========================================================================
   雅博CN · 共享站点样式 /assets/site.css
   矿彩分屏系统：深靛蓝侧轨 + 羊皮纸正文 + 经幡彩带分区
   ========================================================================== */

/* ---------- 1. 变量 ---------- */
:root {
  --yb-indigo: #101A33;
  --yb-indigo-deep: #0B1226;
  --yb-wine: #5B1B2B;
  --yb-ochre: #8C2F2A;
  --yb-turquoise: #17695F;
  --yb-turquoise-bright: #2E9E8C;
  --yb-gold: #C08A2E;
  --yb-butter: #F2C14E;
  --yb-parchment: #F7F1E3;
  --yb-snow: #FFFDF7;
  --yb-slate: #4A4E5A;
  --yb-mist: #DCE6E4;
  --yb-ink: #2A2E38;

  --yb-rail-w: 256px;
  --yb-rail-w-min: 76px;
  --yb-bar-h: 64px;

  --yb-radius-lg: 28px;
  --yb-radius: 18px;
  --yb-radius-sm: 12px;
  --yb-pill: 999px;

  --yb-band-space: clamp(72px, 8vw, 120px);
  --yb-maxw: 1240px;
  --yb-edge: clamp(20px, 4vw, 48px);

  --yb-font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --yb-font-body: "PingFang SC", "Noto Sans SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --yb-font-num: "IBM Plex Sans", "DIN Alternate", "DIN Condensed", "Helvetica Neue", Arial, sans-serif;

  --yb-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--yb-parchment);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--yb-parchment);
  color: var(--yb-ink);
  font-family: var(--yb-font-body);
  font-size: 17px;
  line-height: 1.85;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; }
a { color: var(--yb-turquoise); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--yb-ochre); }
table { border-collapse: collapse; width: 100%; }

:focus-visible {
  outline: 3px solid var(--yb-butter);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. 通用排版 ---------- */
.yb-h1 {
  font-family: var(--yb-font-display);
  font-weight: 700;
  font-size: clamp(34px, 6vw, 78px);
  line-height: 1.16;
  letter-spacing: .06em;
  color: var(--yb-indigo);
}

.yb-h2 {
  font-family: var(--yb-font-display);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.28;
  letter-spacing: .06em;
  color: var(--yb-indigo);
}

.yb-h3 {
  font-family: var(--yb-font-display);
  font-weight: 700;
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.42;
  letter-spacing: .05em;
  color: var(--yb-indigo);
}

.yb-lede {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.85;
  color: var(--yb-slate);
  max-width: 38em;
}

.yb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--yb-turquoise);
  line-height: 1.6;
}

.yb-eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--yb-gold);
  flex: none;
}

.yb-num {
  font-family: var(--yb-font-num);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
}

.yb-stat { display: grid; gap: 6px; }

.yb-stat__value {
  font-family: var(--yb-font-num);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--yb-indigo);
}

.yb-stat__unit { font-size: .42em; margin-left: .15em; letter-spacing: .04em; }

.yb-stat__label {
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--yb-slate);
  line-height: 1.6;
}

/* ---------- 4. 布局容器 ---------- */
.yb-container {
  width: 100%;
  max-width: var(--yb-maxw);
  margin-inline: auto;
  padding-inline: var(--yb-edge);
}

.yb-section { padding-block: var(--yb-band-space); }

.yb-band { padding-block: clamp(48px, 6vw, 88px); background: var(--yb-parchment); color: var(--yb-ink); }
.yb-band--indigo { background: var(--yb-indigo); color: var(--yb-snow); }
.yb-band--wine { background: var(--yb-wine); color: var(--yb-snow); }
.yb-band--turquoise { background: var(--yb-turquoise); color: var(--yb-snow); }
.yb-band--parchment { background: var(--yb-parchment); color: var(--yb-ink); }
.yb-band--snow { background: var(--yb-snow); color: var(--yb-ink); }

.yb-band--indigo .yb-h2,
.yb-band--wine .yb-h2,
.yb-band--turquoise .yb-h2,
.yb-band--indigo .yb-h3,
.yb-band--wine .yb-h3,
.yb-band--turquoise .yb-h3 { color: var(--yb-snow); }

.yb-band--indigo .yb-lede,
.yb-band--wine .yb-lede,
.yb-band--turquoise .yb-lede { color: rgba(255, 253, 247, .82); }

.yb-band--indigo .yb-stat__value,
.yb-band--wine .yb-stat__value,
.yb-band--turquoise .yb-stat__value { color: var(--yb-butter); }

.yb-band--indigo .yb-stat__label,
.yb-band--wine .yb-stat__label,
.yb-band--turquoise .yb-stat__label { color: rgba(255, 253, 247, .7); }

.yb-band--indigo .yb-eyebrow,
.yb-band--wine .yb-eyebrow,
.yb-band--turquoise .yb-eyebrow { color: var(--yb-butter); }

.yb-split {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  grid-template-columns: minmax(0, 38fr) minmax(0, 62fr);
  align-items: start;
}

.yb-grid { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.yb-grid--2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.yb-grid--split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }

.yb-card {
  background: var(--yb-snow);
  border: 1px solid rgba(192, 138, 46, .24);
  border-radius: var(--yb-radius-lg);
  padding: clamp(22px, 2.4vw, 34px);
  color: var(--yb-ink);
  transition: transform 200ms var(--yb-ease), box-shadow 200ms var(--yb-ease);
}

.yb-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -28px rgba(16, 26, 51, .8); }

.yb-rule { height: 1px; border: 0; background: linear-gradient(90deg, var(--yb-gold), rgba(192, 138, 46, 0)); margin-block: 28px; }

/* ---------- 5. 按钮与标签 ---------- */
.yb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--yb-pill);
  font-family: var(--yb-font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms var(--yb-ease), background-color 180ms var(--yb-ease),
              color 180ms var(--yb-ease), border-color 180ms var(--yb-ease),
              box-shadow 180ms var(--yb-ease);
}

.yb-btn:hover { transform: translateY(-2px); }
.yb-btn:active { transform: translateY(0); }

.yb-btn--primary { background: var(--yb-ochre); color: var(--yb-snow); box-shadow: 0 10px 22px -14px rgba(140, 47, 42, .95); }
.yb-btn--primary:hover { background: #A2392F; color: var(--yb-snow); }

.yb-btn--turquoise { background: var(--yb-turquoise); color: var(--yb-snow); box-shadow: 0 10px 22px -14px rgba(23, 105, 95, .95); }
.yb-btn--turquoise:hover { background: #1B7F72; color: var(--yb-snow); }

.yb-btn--butter { background: var(--yb-butter); color: var(--yb-indigo); box-shadow: 0 10px 20px -14px rgba(242, 193, 78, .95); }
.yb-btn--butter:hover { background: #FFD36B; color: var(--yb-indigo); }

.yb-btn--ghost { background: transparent; color: var(--yb-snow); border-color: rgba(255, 253, 247, .45); }
.yb-btn--ghost:hover { border-color: var(--yb-butter); color: var(--yb-butter); background: rgba(242, 193, 78, .1); }

.yb-btn--outline { background: var(--yb-snow); color: var(--yb-indigo); border-color: rgba(192, 138, 46, .55); }
.yb-btn--outline:hover { border-color: var(--yb-ochre); color: var(--yb-ochre); }

.yb-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--yb-pill);
  background: rgba(23, 105, 95, .1);
  border: 1px solid rgba(23, 105, 95, .26);
  color: var(--yb-turquoise);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.6;
}

.yb-tag--gold { background: rgba(192, 138, 46, .12); border-color: rgba(192, 138, 46, .38); color: #8A6218; }
.yb-tag--butter { background: var(--yb-butter); border-color: transparent; color: var(--yb-indigo); }
.yb-tag--wine { background: rgba(91, 27, 43, .1); border-color: rgba(91, 27, 43, .3); color: var(--yb-wine); }

/* ---------- 6. 面包屑 ---------- */
.yb-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--yb-slate);
  list-style: none;
  padding: 0;
  margin: 0;
}

.yb-crumb li { display: inline-flex; align-items: center; gap: 8px; }
.yb-crumb a { color: var(--yb-turquoise); text-decoration: none; }
.yb-crumb a:hover { color: var(--yb-ochre); text-decoration: underline; }
.yb-crumb__sep { color: var(--yb-gold); }
.yb-crumb [aria-current="page"] { color: var(--yb-ink); font-weight: 600; }

/* ---------- 7. 图片容器基础 ---------- */
.yb-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--yb-radius-lg);
  background: var(--yb-mist);
  aspect-ratio: 4 / 3;
  width: 100%;
}

.yb-media > img,
.yb-media > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yb-media--wide { aspect-ratio: 16 / 9; }
.yb-media--portrait { aspect-ratio: 3 / 4; }
.yb-media--square { aspect-ratio: 1 / 1; }
.yb-media--tall { aspect-ratio: 2 / 3; }

.yb-media__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 26, 51, 0) 42%, rgba(16, 26, 51, .76) 100%);
  pointer-events: none;
}

.yb-media__caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  color: var(--yb-snow);
  font-size: 13px;
  letter-spacing: .06em;
  line-height: 1.6;
}

.yb-cut { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 36px), calc(100% - 36px) 100%, 0 100%); }
.yb-cut--tl { clip-path: polygon(36px 0, 100% 0, 100% 100%, 0 100%, 0 36px); }

/* ---------- 8. 折叠面板 ---------- */
.yb-panel {
  background: var(--yb-snow);
  border: 1px solid rgba(192, 138, 46, .28);
  border-radius: var(--yb-radius);
  overflow: hidden;
}

.yb-panel + .yb-panel { margin-top: 12px; }

.yb-panel__head {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--yb-font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--yb-indigo);
  transition: background-color 180ms var(--yb-ease);
}

.yb-panel__head:hover { background: rgba(192, 138, 46, .08); }

.yb-panel__sign {
  position: relative;
  margin-left: auto;
  width: 16px;
  height: 16px;
  flex: none;
}

.yb-panel__sign::before,
.yb-panel__sign::after {
  content: "";
  position: absolute;
  background: var(--yb-ochre);
  border-radius: 2px;
  transition: transform 200ms var(--yb-ease);
}

.yb-panel__sign::before { top: 7px; left: 0; width: 16px; height: 2px; }
.yb-panel__sign::after { left: 7px; top: 0; width: 2px; height: 16px; }
.yb-panel[data-open] .yb-panel__sign::after { transform: scaleY(0); }

.yb-panel__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 200ms var(--yb-ease);
}

.yb-panel__body > * { overflow: hidden; }
.yb-panel[data-open] .yb-panel__body { grid-template-rows: 1fr; }

.yb-panel__inner {
  padding: 0 22px 22px;
  color: var(--yb-slate);
  font-size: 16px;
  line-height: 1.85;
}

/* ---------- 9. 跳转链接 ---------- */
.yb-skip {
  position: fixed;
  left: 12px;
  top: -90px;
  z-index: 200;
  padding: 11px 20px;
  border-radius: var(--yb-pill);
  background: var(--yb-butter);
  color: var(--yb-indigo);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
  text-decoration: none;
  box-shadow: 0 12px 26px -14px rgba(16, 26, 51, .9);
  transition: top 160ms var(--yb-ease);
}

.yb-skip:focus { top: 12px; color: var(--yb-indigo); }

/* ==========================================================================
   10. 头部 — 固定经幡侧轨 / 移动吸顶条
   ========================================================================== */
.yb-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--yb-bar-h);
  padding: 10px 18px;
  background: var(--yb-indigo);
  color: var(--yb-snow);
  border-bottom: 1px solid rgba(192, 138, 46, .3);
}

.yb-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
}

/* 品牌 */
.yb-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--yb-snow);
  min-width: 0;
}

.yb-brand:hover { color: var(--yb-snow); }

.yb-brand__mark {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 12px;
  background: conic-gradient(from 135deg,
      var(--yb-ochre) 0deg,
      var(--yb-gold) 72deg,
      var(--yb-butter) 132deg,
      var(--yb-turquoise-bright) 200deg,
      var(--yb-wine) 280deg,
      var(--yb-ochre) 360deg);
  box-shadow: inset 0 0 0 2px rgba(255, 253, 247, .22);
}

.yb-brand__text { display: flex; flex-direction: column; min-width: 0; }

.yb-brand__name {
  font-family: var(--yb-font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .1em;
  line-height: 1.25;
  color: var(--yb-snow);
  white-space: nowrap;
}

.yb-brand__tag {
  font-size: 11px;
  letter-spacing: .18em;
  line-height: 1.5;
  color: var(--yb-butter);
  white-space: nowrap;
}

/* 开关 */
.yb-navtoggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  padding: 0;
  border: 1px solid rgba(242, 193, 78, .4);
  border-radius: 14px;
  background: rgba(255, 253, 247, .06);
  cursor: pointer;
  transition: background-color 180ms var(--yb-ease), border-color 180ms var(--yb-ease);
}

.yb-navtoggle:hover { background: rgba(242, 193, 78, .16); border-color: var(--yb-butter); }

.yb-navtoggle__bars { display: flex; flex-direction: column; gap: 4px; width: 18px; }

.yb-navtoggle__bars i {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--yb-butter);
  transition: transform 200ms var(--yb-ease), opacity 200ms var(--yb-ease);
}

/* 导航面板：移动端抽屉 */
.yb-header__panel {
  position: fixed;
  top: var(--yb-bar-h);
  left: 0;
  right: 0;
  z-index: 59;
  display: none;
  max-height: calc(100dvh - var(--yb-bar-h));
  overflow-y: auto;
  padding: 14px 18px 26px;
  background: linear-gradient(180deg, var(--yb-indigo) 0%, var(--yb-indigo-deep) 100%);
  border-top: 1px solid rgba(192, 138, 46, .3);
  box-shadow: 0 26px 48px -30px rgba(0, 0, 0, .9);
}

.yb-header__panel[data-open] { display: block; animation: yb-drop 200ms var(--yb-ease) both; }

@keyframes yb-drop {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 经幡索引 */
.yb-nav__list { list-style: none; display: flex; flex-direction: column; gap: 2px; }

.yb-nav__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px 13px 22px;
  border-radius: 14px;
  color: rgba(255, 253, 247, .74);
  font-size: 15px;
  letter-spacing: .05em;
  line-height: 1.5;
  text-decoration: none;
  transition: color 180ms var(--yb-ease), background-color 180ms var(--yb-ease);
}

.yb-nav__link::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 50%;
  width: 3px;
  height: 15px;
  border-radius: 2px;
  transform: translateY(-50%);
  background: var(--yb-gold);
  opacity: .5;
  transition: height 200ms var(--yb-ease), opacity 200ms var(--yb-ease);
}

.yb-nav__item:nth-child(1) .yb-nav__link::before { background: var(--yb-ochre); }
.yb-nav__item:nth-child(2) .yb-nav__link::before { background: var(--yb-gold); }
.yb-nav__item:nth-child(3) .yb-nav__link::before { background: var(--yb-turquoise-bright); }
.yb-nav__item:nth-child(4) .yb-nav__link::before { background: var(--yb-butter); }
.yb-nav__item:nth-child(5) .yb-nav__link::before { background: var(--yb-turquoise-bright); }
.yb-nav__item:nth-child(6) .yb-nav__link::before { background: var(--yb-ochre); }

.yb-nav__label { min-width: 0; }
.yb-nav__index {
  margin-left: auto;
  font-family: var(--yb-font-num);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .1em;
  color: rgba(255, 253, 247, .38);
  transition: color 180ms var(--yb-ease);
}

.yb-nav__link:hover,
.yb-nav__link:focus-visible {
  color: var(--yb-snow);
  background: rgba(255, 253, 247, .07);
}

.yb-nav__link:hover::before,
.yb-nav__link:focus-visible::before { height: 26px; opacity: 1; }

.yb-nav__link[aria-current="page"] {
  color: var(--yb-butter);
  background: rgba(242, 193, 78, .12);
}

.yb-nav__link[aria-current="page"]::before { height: 30px; opacity: 1; }
.yb-nav__link[aria-current="page"] .yb-nav__index { color: var(--yb-butter); }

/* 侧轨底部行动区 */
.yb-header__foot {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(192, 138, 46, .26);
}

.yb-header__cta { width: 100%; justify-content: center; }

.yb-util { display: flex; flex-direction: column; gap: 6px; }

.yb-util__link {
  font-size: 13px;
  letter-spacing: .1em;
  line-height: 1.7;
  color: rgba(255, 253, 247, .58);
  text-decoration: none;
  transition: color 160ms var(--yb-ease), padding-left 160ms var(--yb-ease);
}

.yb-util__link:hover { color: var(--yb-butter); padding-left: 4px; }

/* 阅读进度 */
.yb-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(255, 253, 247, .12);
  pointer-events: none;
}

.yb-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--yb-gold), var(--yb-butter));
}

/* 移动端抽屉开合图标 */
@media (max-width: 1023px) {
  .yb-navtoggle[aria-expanded="true"] .yb-navtoggle__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .yb-navtoggle[aria-expanded="true"] .yb-navtoggle__bars i:nth-child(2) { opacity: 0; }
  .yb-navtoggle[aria-expanded="true"] .yb-navtoggle__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

/* ==========================================================================
   11. 桌面端侧轨
   ========================================================================== */
@media (min-width: 1024px) {
  body {
    padding-left: var(--yb-rail-w);
    transition: padding-left 240ms var(--yb-ease);
  }

  html[data-rail="collapsed"] body { padding-left: var(--yb-rail-w-min); }

  .yb-header {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--yb-rail-w);
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    padding: 26px 20px 24px;
    border-bottom: 0;
    border-right: 1px solid rgba(192, 138, 46, .3);
    overflow-x: hidden;
    overflow-y: auto;
    transition: width 240ms var(--yb-ease), padding 240ms var(--yb-ease);
  }

  .yb-header__top {
    flex: none;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .yb-header__panel {
    position: static;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    gap: 0;
    max-height: none;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
    background: none;
    border-top: 0;
    box-shadow: none;
    animation: none;
  }

  .yb-header__panel[data-open] { display: flex; animation: none; }

  .yb-header__foot { margin-top: auto; }

  .yb-progress {
    top: 0;
    bottom: 0;
    right: 0;
    left: auto;
    width: 3px;
    height: auto;
  }

  .yb-progress span {
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, var(--yb-butter), var(--yb-gold));
  }

  /* —— 折叠态 —— */
  html[data-rail="collapsed"] .yb-header { width: var(--yb-rail-w-min); padding-inline: 12px; }
  html[data-rail="collapsed"] .yb-brand__text { display: none; }
  html[data-rail="collapsed"] .yb-header__top { flex-direction: column; gap: 14px; }
  html[data-rail="collapsed"] .yb-nav__label { display: none; }
  html[data-rail="collapsed"] .yb-nav__link {
    justify-content: center;
    padding: 14px 0;
    gap: 0;
  }
  html[data-rail="collapsed"] .yb-nav__link::before { display: none; }
  html[data-rail="collapsed"] .yb-nav__index { margin-left: 0; font-size: 13px; color: rgba(255, 253, 247, .78); }
  html[data-rail="collapsed"] .yb-header__foot { display: none; }
  html[data-rail="collapsed"] .yb-navtoggle { width: 40px; height: 40px; }
}

/* ==========================================================================
   12. 页脚
   ========================================================================== */
.yb-footer {
  position: relative;
  background: var(--yb-indigo);
  color: rgba(255, 253, 247, .78);
  overflow: hidden;
}

.yb-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 8%, rgba(46, 158, 140, .16), transparent 46%),
    radial-gradient(circle at 88% 92%, rgba(192, 138, 46, .14), transparent 52%);
}

.yb-footer > * { position: relative; z-index: 1; }

.yb-footer__band {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  height: 6px;
}

.yb-footer__band span:nth-child(1) { background: var(--yb-ochre); }
.yb-footer__band span:nth-child(2) { background: var(--yb-gold); }
.yb-footer__band span:nth-child(3) { background: var(--yb-turquoise); }
.yb-footer__band span:nth-child(4) { background: var(--yb-butter); }
.yb-footer__band span:nth-child(5) { background: var(--yb-turquoise-bright); }
.yb-footer__band span:nth-child(6) { background: var(--yb-wine); }

.yb-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(32px, 5vw, 64px);
  max-width: var(--yb-maxw);
  margin-inline: auto;
  padding: clamp(44px, 5.5vw, 78px) var(--yb-edge) clamp(30px, 3.5vw, 48px);
}

.yb-footer__brandlink {
  display: inline-block;
  font-family: var(--yb-font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.4vw, 30px);
  letter-spacing: .12em;
  line-height: 1.3;
  color: var(--yb-snow);
  text-decoration: none;
}

.yb-footer__brandlink:hover { color: var(--yb-butter); }

.yb-footer__tag {
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--yb-butter);
}

.yb-footer__contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.7;
}

.yb-footer__label {
  display: block;
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--yb-gold);
  margin-bottom: 3px;
}

.yb-footer__value {
  display: block;
  color: rgba(255, 253, 247, .9);
  word-break: break-word;
}

.yb-footer__hint {
  margin-top: 18px;
  font-size: 12px;
  line-height: 1.75;
  color: rgba(255, 253, 247, .52);
  max-width: 32em;
}

.yb-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}

.yb-footer__coltitle {
  font-family: var(--yb-font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .14em;
  color: var(--yb-snow);
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(192, 138, 46, .3);
}

.yb-footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 15px;
}

.yb-footer__link {
  display: inline-block;
  color: rgba(255, 253, 247, .72);
  text-decoration: none;
  line-height: 1.6;
  transition: color 160ms var(--yb-ease), padding-left 160ms var(--yb-ease);
}

.yb-footer__link:hover,
.yb-footer__link:focus-visible { color: var(--yb-butter); padding-left: 6px; }

.yb-footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  max-width: var(--yb-maxw);
  margin-inline: auto;
  padding: 20px var(--yb-edge) 32px;
  border-top: 1px solid rgba(192, 138, 46, .22);
  font-size: 13px;
  letter-spacing: .04em;
  color: rgba(255, 253, 247, .55);
}

.yb-footer__icp { color: rgba(255, 253, 247, .72); }
.yb-footer__copy { margin-left: auto; }

/* ==========================================================================
   13. 滚动显现
   ========================================================================== */
html[data-reveal-ready] [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 240ms var(--yb-ease), transform 240ms var(--yb-ease);
}

html[data-reveal-ready] [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   14. 响应式
   ========================================================================== */
@media (max-width: 1023px) {
  .yb-split,
  .yb-grid--split { grid-template-columns: minmax(0, 1fr); }

  .yb-footer__inner { grid-template-columns: minmax(0, 1fr); }
  .yb-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yb-footer__copy { margin-left: 0; }
}

@media (max-width: 600px) {
  body { font-size: 15px; line-height: 1.8; }
  .yb-brand__name { font-size: 18px; }
  .yb-footer__cols { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .yb-footer__meta { flex-direction: column; align-items: flex-start; gap: 8px; }
  .yb-btn { padding: 12px 22px; font-size: 14px; }
  .yb-panel__head { padding: 16px 18px; font-size: 15px; }
  .yb-panel__inner { padding: 0 18px 18px; font-size: 15px; }
}

/* ==========================================================================
   15. 降低动效
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  html[data-reveal-ready] [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .yb-btn:hover,
  .yb-card:hover { transform: none; }
}
