/* ============================================================
   WUAI STUDIO — Components
   Header / Footer / Section Head / Card / Slider / Stats / News
   ============================================================ */

/* ============================================================
   Header
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--paper-sink);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}

.site-header.is-stuck {
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--stack-md);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  width: 30px;
  height: 30px;
  flex: none;
}

.brand__word {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.brand__word em {
  font-style: normal;
  color: var(--gold-deep);
}

.nav {
  display: flex;
  align-items: center;
  gap: 38px;
}

.nav a {
  position: relative;
  font-size: var(--fs-sm);
  color: var(--ink-2);
  padding: 4px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--gold-deep);
  transition: width var(--dur-fast) var(--ease);
}

.nav a:hover { color: var(--ink); }
.nav a:hover::after,
.nav a[aria-current="page"]::after { width: 100%; }
.nav a[aria-current="page"] { color: var(--ink); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-actions .since {
  font-family: var(--font-en);
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  color: var(--ink-4);
  white-space: nowrap;
}

/* 登录：授权中心入口，排在主按钮之前，权重压到文字层 */
.header-login {
  position: relative;
  font-size: var(--fs-sm);
  color: var(--ink-2);
  padding: 4px 0;
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease);
}

.header-login::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--gold-deep);
  transition: width var(--dur-fast) var(--ease);
}

.header-login:hover { color: var(--ink); }
.header-login:hover::after { width: 100%; }

/* 主题与菜单按钮 */
.icon-btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  border: 1px solid transparent;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.icon-btn:hover { color: var(--gold-deep); border-color: var(--line-strong); }
.icon-btn svg { width: 16px; height: 16px; }

[data-mode="dark"] .icon-btn .i-moon { display: none; }
[data-mode="light"] .icon-btn .i-sun { display: none; }

.menu-toggle { display: none; }

/* 移动端抽屉 */
@media (max-width: 980px) {
  .nav { display: none; }
  .header-actions .since { display: none; }
  .menu-toggle { display: inline-flex; }

  .nav.is-open {
    display: flex;
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px var(--gutter) 32px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -32px rgba(0, 0, 0, 0.28);
  }

  .nav.is-open a {
    width: 100%;
    padding: 16px 0;
    font-size: var(--fs-lead);
    border-bottom: 1px solid var(--line-faint);
  }
  .nav.is-open a::after { display: none; }
}

@media (max-width: 560px) {
  .header-actions .btn { display: none; }
  /* 主按钮收起后，登录是这里唯一的外链动作，间距收紧但不藏 */
  .header-actions { gap: 14px; }
}

/* ============================================================
   Section head
   ============================================================ */

.sec-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: var(--block-gap);
}

.sec-head__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--stack-md);
  flex-wrap: wrap;
}

.sec-head .h2 { max-width: 22em; }

.sec-head__sub {
  font-size: var(--fs-sm);
  color: var(--ink-3);
  line-height: var(--lh-normal);
}

.sec-head__aside {
  font-size: var(--fs-xs);
  color: var(--ink-4);
  padding-bottom: 8px;
  text-align: right;
}

@media (max-width: 700px) {
  .sec-head__aside { text-align: left; padding-bottom: 0; }
}

/* ============================================================
   通用编号卡（灵感设计 / 发展产品线共用）
   ============================================================ */

.ref-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.ref {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.ref__no {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  font-family: var(--font-en);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--gold-deep);
}

.ref__from {
  font-family: var(--font-sans);
  font-size: var(--fs-micro);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink-4);
}

.ref__name {
  font-family: var(--font-serif);
  font-size: var(--fs-lead);
  font-weight: 600;
  color: var(--ink);
}

.ref__desc {
  font-size: var(--fs-xs);
  line-height: var(--lh-loose);
  color: var(--ink-2);
}

.ref__use {
  margin-top: auto;
  font-size: var(--fs-label);
  color: var(--gold-deep);
}

@media (max-width: 1180px) {
  .ref-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  .ref-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

@media (max-width: 520px) {
  .ref-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   灵感设计 · 设计注记网格（3 × 2）
   ============================================================ */

.notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  margin-top: 4px;
}

.note {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 40px 34px;
  border-bottom: 1px solid var(--line);
}

.note:nth-child(3n + 1) { padding-left: 0; }
.note:nth-child(3n) { padding-right: 0; }

.note:not(:nth-child(3n + 1))::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line-faint);
}

.note__top {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.note__no {
  font-family: var(--font-en);
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--gold-deep);
  transition: color var(--dur-fast) var(--ease);
}

.note__from {
  font-size: var(--fs-2xs);
  letter-spacing: 0.02em;
  color: var(--ink-4);
}

.note__title {
  margin-top: 24px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.note__desc {
  margin-top: 14px;
  font-size: var(--fs-xs);
  line-height: 1.85;
  color: var(--ink-2);
}

.note__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0 9px;
  margin-top: auto;
  padding-top: 30px;
  list-style: none;
  font-size: var(--fs-2xs);
  color: var(--ink-3);
}

.note__tags li + li::before {
  content: "·";
  margin-right: 9px;
  color: var(--ink-5);
}

.note:hover .note__no { color: var(--gold); }

/* 深色下最淡线几乎与纸面同色，注记网格的列线单独提一档 */
[data-mode="dark"] .note:not(:nth-child(3n + 1))::before { background: var(--line); }

@media (max-width: 1080px) {
  .notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .note { padding: 26px 32px 30px; }
  .note:nth-child(3n + 1) { padding-left: 32px; }
  .note:nth-child(3n) { padding-right: 32px; }
  .note:nth-child(odd) { padding-left: 0; }
  .note:nth-child(even) { padding-right: 0; }
  .note:not(:nth-child(3n + 1))::before { display: none; }
  .note:nth-child(even)::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--line-faint);
  }
  .note__title { font-size: 21px; }
}

@media (max-width: 680px) {
  .notes { grid-template-columns: 1fr; }
  .note { padding: 24px 0 26px; }
  .note:nth-child(n)::before { display: none; }
  .note__title { margin-top: 16px; font-size: 20px; }
  .note__tags { padding-top: 20px; }
}

/* ============================================================
   字体样张带
   ============================================================ */

.type-band {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 38px 40px;
  background: var(--card);
}

.type-band__main { display: flex; flex-direction: column; gap: 12px; }
.type-band__specimen { font-family: var(--font-serif); font-size: 28px; font-weight: 600; letter-spacing: 0.04em; }
.type-band__fonts { font-size: var(--fs-label); color: var(--ink-4); line-height: 1.7; }
.type-band__meta { margin-left: auto; display: flex; flex-direction: column; gap: 10px; text-align: right; }
.type-band__meta .k { font-family: var(--font-en); font-size: var(--fs-micro); font-weight: 500; letter-spacing: var(--ls-label); color: var(--gold-deep); }
.type-band__meta .v { font-size: var(--fs-label); color: var(--ink-3); }

@media (max-width: 860px) {
  .type-band { flex-direction: column; align-items: flex-start; gap: 22px; padding: 28px; }
  .type-band__meta { margin-left: 0; text-align: left; }
}

/* ============================================================
   产品索引 · 幻灯片
   ============================================================ */

.slider { position: relative; }

.slider__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--stack-md);
  padding-bottom: 22px;
}

.slider__label {
  font-family: var(--font-en);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--ls-label);
  color: var(--gold-deep);
}

.slider__controls { display: flex; align-items: center; gap: 14px; }

.slider__pager {
  font-family: var(--font-num);
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--ink);
  min-width: 82px;
  text-align: right;
}
.slider__pager b { font-weight: 500; }
.slider__pager i { font-style: normal; color: var(--ink-4); }

.arrow-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.arrow-btn:hover { background: var(--ink); border-color: var(--ink); color: var(--gold-soft); }
.arrow-btn:disabled { opacity: 0.35; cursor: default; }
.arrow-btn:disabled:hover { background: transparent; border-color: var(--line-strong); color: var(--ink); }

.slider__stage {
  position: relative;
  height: auto;
  min-height: 460px;
  background: var(--card);
  border: 1px solid var(--line-faint);
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 470px 1fr;
  opacity: 0;
  visibility: hidden;
  transform: translateX(24px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), visibility 0.55s;
}

.slide.is-active { position: relative; opacity: 1; visibility: visible; transform: none; }

.slide__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 56px 44px 44px 64px;
}

.slide__eyebrow {
  font-family: var(--font-en);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--ls-label);
  color: var(--gold-deep);
}

.slide__title {
  margin-top: 26px;
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.slide__en {
  margin-top: 10px;
  font-family: var(--font-en);
  font-size: var(--fs-label);
  letter-spacing: var(--ls-wide);
  color: var(--ink-4);
}

.slide__tagline {
  margin-top: 30px;
  max-width: 460px;
  font-size: var(--fs-body);
  line-height: var(--lh-loose);
  color: var(--ink-2);
}

.slide__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--gold-deep);
}

.slide__specs {
  width: 100%;
  max-width: 360px;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
}

.slide__specs > div {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--line-faint);
}

.slide__specs dt {
  flex: 0 0 74px;
  font-size: var(--fs-2xs);
  color: var(--ink-5);
}

.slide__specs dd {
  font-size: var(--fs-2xs);
  color: var(--ink-2);
}
.slide__link span { transition: transform var(--dur-fast) var(--ease); }
.slide__link:hover span { transform: translateX(4px); }

.slide__visual {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 26px 28px 22px;
  background: var(--visual);
  overflow: hidden;
}

.slide__vtop {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.slide__no {
  font-family: var(--font-num);
  font-size: 42px;
  line-height: 1;
  color: var(--gold-deep);
  margin-left: -2px;
}

.slide__vlabel {
  font-family: var(--font-en);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--ls-label);
  color: var(--ink-4);
}

.slide__domain {
  margin-left: auto;
  font-family: var(--font-en);
  font-size: var(--fs-xs);
  color: var(--ink-2);
}

.slide__shot {
  margin-top: 16px;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line-strong);
  background: var(--card);
  overflow: hidden;
}

.slide__shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide__vfoot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 16px;
}

.slide__status { font-size: var(--fs-2xs); color: var(--ink-4); }

.ticks { display: flex; gap: 8px; }
.ticks i { display: block; width: 48px; height: 3px; background: var(--line-strong); }
.ticks i.on { background: var(--gold-deep); }

.slider__tabs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  padding-top: 20px;
}

.tab {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: auto;
  padding: 14px 16px 18px;
  background: var(--card);
  border: 1px solid var(--line-faint);
  text-align: left;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.tab__bar { width: 100%; height: 2px; background: var(--line); transition: background-color var(--dur-fast) var(--ease); }
.tab__no { font-family: var(--font-en); font-size: var(--fs-label); font-weight: 500; color: var(--ink-5); transition: color var(--dur-fast) var(--ease); }
.tab__name { font-size: var(--fs-body); color: var(--ink-3); letter-spacing: .01em; transition: color var(--dur-fast) var(--ease); }

.tab:hover { background: var(--paper); border-color: var(--line); }
.tab:hover .tab__bar { background: var(--line-strong); }
.tab:hover .tab__name { color: var(--ink-2); }

.tab:focus-visible { outline: 1px solid var(--gold-deep); outline-offset: 2px; }

.tab.is-active { background: var(--paper-sink); border-color: var(--line-strong); }
.tab.is-active .tab__bar { background: var(--gold-deep); }
.tab.is-active .tab__no { color: var(--gold-deep); }
.tab.is-active .tab__name { color: var(--ink); }

.slider__note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--stack-md);
  padding-top: 28px;
  font-size: var(--fs-2xs);
  color: var(--ink-4);
  flex-wrap: wrap;
}

.kbd-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.kbd-hint kbd {
  font-family: var(--font-en);
  font-size: var(--fs-micro);
  border: 1px solid var(--line-strong);
  color: var(--ink-3);
  padding: 2px 7px;
  line-height: 1.4;
}

@media (max-width: 1180px) {
  .slide { grid-template-columns: 1fr 400px; }
  .slide__copy { padding: 44px 32px 36px 44px; }
  .slide__no { font-size: 36px; }
  .slide__domain { font-size: var(--fs-2xs); }
}

@media (max-width: 900px) {
  .slider__stage { height: auto; }
  .slide { position: absolute; grid-template-columns: 1fr; }
  .slide.is-active { position: relative; }
  .slide__copy { padding: 36px 26px 6px; }
  .slide__tagline { margin-top: 20px; }
  .slide__link { margin-top: 24px; }
  .slide__visual { padding: 22px 22px 20px; }
  .slide__no { font-size: 34px; }
  .slide__vtop { gap: 10px; }
  .slide__vfoot { flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 14px; }
  .ticks { gap: 6px; }
  .ticks i { width: 28px; }
  .slider__tabs { grid-template-columns: repeat(2, 1fr); }
  .tab { min-height: 0; }
}

@media (max-width: 640px) {
  .slider__tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin-right: calc(var(--gutter) * -1);
    padding-right: var(--gutter);
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .slider__tabs::-webkit-scrollbar { display: none; }
  .tab {
    flex: 0 0 152px;
    min-height: 88px;
    scroll-snap-align: start;
  }
  .tab__name { font-size: var(--fs-xs); }
  .slider__bar { flex-wrap: wrap; gap: 12px; }
}

/* ============================================================
   站点事实
   ============================================================ */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat { display: flex; flex-direction: column; gap: 14px; padding: 8px 0; }
.stat + .stat { padding-left: 40px; border-left: 1px solid var(--line); }

.stat__num {
  font-family: var(--font-num);
  font-size: 96px;
  line-height: 0.92;
  font-weight: 500;
  color: var(--gold-deep);
  letter-spacing: -0.01em;
}

.stat__label { font-size: var(--fs-xs); color: var(--ink-3); }

@media (max-width: 980px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
  .stat + .stat { padding-left: 28px; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat__num { font-size: 72px; }
}

@media (max-width: 520px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 34px 0; }
  .stat + .stat { padding-left: 0; border-left: 0; }
  .stat:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .stat__num { font-size: 56px; }
}

/* ============================================================
   更新记录
   ============================================================ */

.news { display: flex; flex-direction: column; }

.news__item {
  display: grid;
  grid-template-columns: 150px 1fr 160px;
  gap: var(--stack-md);
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.news__date { display: flex; flex-direction: column; gap: 8px; }
.news__date .d { font-family: var(--font-num); font-size: 18px; letter-spacing: 0.03em; color: var(--ink); }
.news__date .tag {
  align-self: flex-start;
  font-family: var(--font-en);
  font-size: var(--fs-micro);
  letter-spacing: 1px;
  color: var(--ink-4);
  border: 1px solid var(--line-strong);
  padding: 2px 7px;
}
.news__date .tag--new { color: var(--gold-deep); border-color: var(--gold); }

.news__body { display: flex; flex-direction: column; gap: 10px; }
.news__kicker { font-family: var(--font-en); font-size: var(--fs-micro); letter-spacing: var(--ls-label); color: var(--gold-deep); }
.news__title { font-family: var(--font-serif); font-size: var(--fs-h5); font-weight: 600; line-height: 1.35; }
.news__desc { font-size: var(--fs-sm); line-height: var(--lh-loose); color: var(--ink-2); max-width: 620px; }

.news__link { justify-self: end; font-family: var(--font-en); font-size: var(--fs-2xs); color: var(--ink-3); white-space: nowrap; }
.news__link:hover { color: var(--gold-deep); }

/* 动态数据来源说明：只在列表末尾出现一次，不重复 */
.sync-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: var(--fs-2xs);
  line-height: 1.6;
  color: var(--ink-4);
}

.sync-line::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: var(--gold-deep);
}

/* 动态条目：由快照渲染后逐个浮起，不用滚动观察器 */
@keyframes live-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.is-live > * {
  animation: live-in 0.5s var(--ease) both;
}
.is-live > *:nth-child(1) { animation-delay: 0.02s; }
.is-live > *:nth-child(2) { animation-delay: 0.08s; }
.is-live > *:nth-child(3) { animation-delay: 0.14s; }
.is-live > *:nth-child(4) { animation-delay: 0.2s; }
.is-live > *:nth-child(5) { animation-delay: 0.26s; }
.is-live > *:nth-child(n+6) { animation-delay: 0.3s; }

@media (max-width: 860px) {
  .news__item { grid-template-columns: 110px 1fr; }
  .news__link { grid-column: 2; justify-self: start; }
}

@media (max-width: 520px) {
  .news__item { grid-template-columns: 1fr; gap: 14px; }
  .news__link { grid-column: 1; }
  .news__title { font-size: var(--fs-h6); }
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: var(--paper-sink);
  padding: 130px 0 56px;
}

.footer__closing {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--stack-md);
  padding-bottom: 90px;
  flex-wrap: wrap;
}

.footer__word {
  font-family: var(--font-serif);
  font-size: var(--fs-h1);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
}

.footer__meta { margin-top: 22px; font-size: var(--fs-sm); color: var(--ink-3); }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 260px);
  gap: 200px;
  padding: 56px 0 72px;
}

.footer__col { display: flex; flex-direction: column; gap: 16px; }
.footer__col .k {
  font-size: var(--fs-label);
  letter-spacing: 0.06em;
  color: var(--ink-4);
  margin-bottom: 2px;
}
.footer__col a, .footer__col span { font-size: var(--fs-xs); color: var(--ink-2); }
.footer__col a:hover { color: var(--gold-deep); }
.footer__col .pending { color: var(--gold-deep); }

/* ---------- 产业集群：页脚内的站群入口 ----------
   一格里一站，点哪格进哪站。线由 1px 网格缝隙露出，不另画边框。 */
.cluster { padding-bottom: 66px; }

.cluster__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-strong);
}

.cluster__title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.cluster__en {
  margin-left: 14px;
  font-family: var(--font-en);
  font-size: var(--fs-micro);
  letter-spacing: 0.18em;
  color: var(--ink-4);
}

.cluster__hint { font-size: var(--fs-2xs); color: var(--ink-3); }

.cluster__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.cl {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 104px;
  padding: 21px 22px 19px;
  background: var(--paper-sink);
  transition: background var(--dur-fast) var(--ease);
}

.cl__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-en);
  font-size: var(--fs-micro);
  letter-spacing: 0.1em;
  color: var(--ink-4);
}

.cl__name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  transition: color var(--dur-fast) var(--ease);
}

.cl__host {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.03em;
  color: var(--ink-4);
}

/* 箭头只在悬停时露头，静置时整块干净 */
.cl__go {
  position: absolute;
  right: 20px;
  bottom: 18px;
  font-family: var(--font-en);
  font-size: 13px;
  line-height: 1;
  color: var(--gold-deep);
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.cl:hover { background: var(--paper); }
.cl:hover .cl__name { color: var(--gold-deep); }
.cl:hover .cl__go { opacity: 1; transform: none; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--stack-md);
  padding-top: 28px;
  flex-wrap: wrap;
}

@media (max-width: 1180px) {
  .footer__cols { gap: 90px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-footer { padding-top: 80px; }
  .cluster__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__cols { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; padding: 40px 0 48px; }
  .footer__word { font-size: var(--fs-h2); }
  .footer__closing { padding-bottom: 52px; }
}

@media (max-width: 420px) {
  .cluster__head { flex-direction: column; align-items: flex-start; gap: 8px; padding-bottom: 16px; }
  .cl { min-height: 0; padding: 17px 15px 15px; gap: 6px; }
  .cl__name { font-size: 15px; }
  .cl__go { display: none; }
  .footer__cols { grid-template-columns: 1fr; }
}

/* ---------- 置顶按钮（右侧） ---------- */
.back-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 60;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 6px 20px rgba(18, 18, 17, 0.10);
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, color .2s ease, border-color .2s ease, background .2s ease;
}
.back-top svg { width: 18px; height: 18px; }
.back-top.is-show { opacity: 1; transform: none; pointer-events: auto; }
.back-top:hover { color: var(--gold-deep); border-color: var(--gold); }
[data-mode="dark"] .back-top {
  background: var(--card);
  color: var(--ink-2);
  border-color: var(--line-strong);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.42);
}
@media (max-width: 560px) {
  .back-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .back-top { transition: none; }
}
