/* ============================================================
   澳门新萄京中心 · 共享样式 / assets/site.css
   档案室暗调 · 鎏金细线 · 精密网格 · 展览画册节奏
   ============================================================ */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body, h1, h2, h3, h4, h5, p, ul, ol, li, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }

/* ---------- 2. 设计变量 ---------- */
:root {
  --wine: #4A0D1B;
  --ink: #0B0909;
  --wine-focus: #7A1C2E;
  --gold: #C9A227;
  --gold-hi: #F2D98A;
  --mist: #EDE6DA;
  --steel: #9A9188;
  --teal: #1F8A86;
  --teal-deep: #0F4B4E;
  --dusk: #C2703A;

  --line: rgba(201, 162, 39, .30);
  --line-soft: rgba(154, 145, 136, .24);
  --line-strong: rgba(201, 162, 39, .55);

  --rail-w: 78px;
  --head-h: 78px;
  --radius: 2px;
  --wrap: 1280px;
  --gutter: 24px;

  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", "Courier New", monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
}
@media (max-width: 1080px) { :root { --head-h: 64px; --gutter: 18px; } }

body[data-rail="closed"] { --rail-w: 0px; }
body[data-nav-open="true"] { overflow: hidden; }

/* ---------- 3. 基础中文排版 ---------- */
body {
  min-height: 100vh;
  color: var(--mist);
  background-color: var(--ink);
  background-image:
    radial-gradient(900px 520px at 88% -8%, rgba(74, 13, 27, .78), transparent 62%),
    radial-gradient(720px 460px at 4% 6%, rgba(15, 75, 78, .30), transparent 60%),
    linear-gradient(180deg, #0B0909 0%, #120A0C 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.85;
  letter-spacing: .012em;
  -webkit-font-smoothing: antialiased;
}
@media (max-width: 640px) { body { font-size: 16px; line-height: 1.8; } }

h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -.01em;
  color: var(--mist);
}
h1 { font-size: clamp(30px, 4.6vw, 56px); }
h2 { font-size: clamp(24px, 3vw, 38px); }
h3 { font-size: clamp(19px, 2vw, 26px); }
h4 { font-size: 18px; font-weight: 600; }
p { color: rgba(237, 230, 218, .86); }
strong { color: var(--gold-hi); font-weight: 600; }
::selection { background: rgba(201, 162, 39, .32); color: #fff; }

.mono, code, kbd, samp {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}
.lead { font-size: 18px; line-height: 1.9; color: rgba(237, 230, 218, .92); }
.kicker, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); }
.note-vertical {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 12px;
  letter-spacing: .34em;
  color: var(--steel);
}

/* ---------- 4. 布局与网格 ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(48px, 8vw, 112px) 0; }
.section--tight { padding: clamp(28px, 4vw, 56px) 0; }
.grid { display: grid; gap: clamp(20px, 3vw, 40px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .grid--2, .grid--12 { grid-template-columns: 1fr; } }

.rule { height: 1px; background: var(--gold); opacity: .55; border: 0; }
.rule--soft { background: var(--line-soft); opacity: 1; }
.stack > * + * { margin-top: 18px; }
.stack--tight > * + * { margin-top: 10px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- 5. 按钮 / 标签 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--mist);
  background: rgba(11, 9, 9, .4);
  font-size: 15px;
  letter-spacing: .1em;
  transition: color .22s var(--ease), background .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease);
}
.btn:hover { color: var(--ink); background: var(--gold-hi); border-color: var(--gold-hi); transform: translateY(-2px); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: #1A1206; font-weight: 600; }
.btn--gold:hover { background: var(--gold-hi); border-color: var(--gold-hi); }
.btn--teal { border-color: rgba(31, 138, 134, .7); color: var(--mist); }
.btn--teal:hover { background: var(--teal); border-color: var(--teal); color: #04120F; }
.btn--ghost { border-color: var(--line-soft); color: rgba(237, 230, 218, .8); }
.btn--ghost:hover { background: rgba(201, 162, 39, .12); border-color: var(--gold); color: var(--gold-hi); }
.btn--block { width: 100%; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--gold-hi);
  background: rgba(201, 162, 39, .07);
}
.chip--teal { color: #8FE3DE; border-color: rgba(31, 138, 134, .5); background: rgba(31, 138, 134, .12); }
.chip--dusk { color: #F0BE96; border-color: rgba(194, 112, 58, .5); background: rgba(194, 112, 58, .12); }

/* ---------- 6. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--steel);
}
.breadcrumb a { color: rgba(237, 230, 218, .78); }
.breadcrumb a:hover { color: var(--gold-hi); }
.breadcrumb__sep { color: rgba(201, 162, 39, .5); }

/* ---------- 7. 卡片 / 面板 ---------- */
.card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(20, 8, 12, .92), rgba(11, 9, 9, .92));
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), transparent);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 22px 44px -28px rgba(0, 0, 0, .95); }
.card:hover::before { opacity: 1; }
.card--wine { background: linear-gradient(160deg, rgba(122, 28, 46, .55), rgba(74, 13, 27, .35)); }
.card--teal { background: linear-gradient(160deg, rgba(15, 75, 78, .55), rgba(11, 9, 9, .5)); }
.card__cap { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; color: var(--gold); }
.card__title { margin-top: 10px; font-family: var(--font-serif); font-size: 22px; font-weight: 700; color: var(--mist); }
.card__meta { margin-top: 12px; font-size: 14px; color: var(--steel); }

.panel {
  padding: clamp(22px, 3vw, 40px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(11, 9, 9, .9), rgba(74, 13, 27, .32));
}
.panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
}

/* ---------- 8. 档案键值行 ---------- */
.data-list { border-top: 1px solid var(--line-soft); }
.data-list__row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}
.data-list__k { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; color: var(--steel); }
.data-list__v { font-size: 15px; color: rgba(237, 230, 218, .9); word-break: break-word; }
@media (max-width: 560px) { .data-list__row { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- 9. 图片容器基座（供页面阶段放占位图） ---------- */
.imgbox {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, #160A0E 0%, #4A0D1B 46%, #0F4B4E 100%);
}
.imgbox img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.94) contrast(1.06); }
.imgbox::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11, 9, 9, .10), rgba(11, 9, 9, .58)),
    repeating-linear-gradient(90deg, rgba(201, 162, 39, .10) 0 1px, transparent 1px 80px);
}
.imgbox--wide { aspect-ratio: 16 / 7; }
.imgbox--4x3 { aspect-ratio: 4 / 3; }
.imgbox--square { aspect-ratio: 1 / 1; }
.imgbox--tall { aspect-ratio: 3 / 4; }
.imgbox__cap {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--gold-hi);
  background: linear-gradient(90deg, rgba(11, 9, 9, .88), rgba(11, 9, 9, 0));
}
.figure-band {
  width: 100%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(100deg, rgba(74, 13, 27, .55), rgba(15, 75, 78, .35) 68%, rgba(194, 112, 58, .22));
}
@media (max-width: 640px) { .imgbox--wide { aspect-ratio: 16 / 10; } }

/* ---------- 10. 标签页 / 分段切换 ---------- */
.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px solid var(--line-soft);
}
.tabs__btn {
  padding: 12px 18px;
  font-size: 14px;
  letter-spacing: .1em;
  color: rgba(237, 230, 218, .64);
  border-bottom: 2px solid transparent;
  transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.tabs__btn:hover { color: var(--gold-hi); background: rgba(201, 162, 39, .07); }
.tabs__btn[aria-selected="true"] {
  color: var(--gold-hi);
  border-bottom-color: var(--gold);
  background: rgba(201, 162, 39, .08);
}
.tabs__panel { padding-top: 26px; }

/* ---------- 11. 入场渐显 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .44s var(--ease), transform .44s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 12. 焦点可见 ---------- */
:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 3px;
  border-radius: var(--radius);
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  font-size: 14px;
  color: #1A1206;
  background: var(--gold-hi);
  border-radius: var(--radius);
  transform: translateY(-160%);
  transition: transform .24s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ============================================================
   13. 页头
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 80; }

.headband {
  position: relative;
  background: linear-gradient(180deg, rgba(11, 9, 9, .96) 0%, rgba(30, 8, 15, .93) 100%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header[data-scrolled="true"] .headband {
  background: linear-gradient(180deg, rgba(8, 6, 6, .99) 0%, rgba(20, 6, 11, .98) 100%);
  box-shadow: 0 18px 40px -30px rgba(0, 0, 0, .98);
}

.headband__grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(240px, 1fr);
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: var(--wrap);
  min-height: var(--head-h);
  margin: 0 auto;
  padding: 8px var(--gutter);
}

/* 品牌署名 */
.brandlock { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brandlock__mark { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brandlock__glyph {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-hi);
  background: linear-gradient(150deg, rgba(122, 28, 46, .55), rgba(11, 9, 9, .8));
}
.brandlock__names { display: flex; flex-direction: column; min-width: 0; }
.brandlock__cn {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--mist);
  white-space: nowrap;
}
.brandlock__code {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .24em;
  color: var(--steel);
  white-space: nowrap;
}
.brandlock__mark:hover .brandlock__cn { color: var(--gold-hi); }

/* 版本徽标 */
.versbadge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding: 6px 10px;
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--gold);
  border-radius: var(--radius);
  background: rgba(201, 162, 39, .07);
  transition: border-color .22s var(--ease), background .22s var(--ease);
}
.versbadge:hover { background: rgba(201, 162, 39, .16); border-color: var(--line-strong); }
.versbadge__key { font-size: 11px; letter-spacing: .18em; color: var(--steel); }
.versbadge__num { font-size: 13px; font-weight: 700; color: var(--gold-hi); }
.versbadge__txt { font-size: 12px; letter-spacing: .1em; color: rgba(237, 230, 218, .82); }

/* 横向导航带 */
.bandnav { min-width: 0; }
.bandnav__list { display: flex; align-items: center; justify-content: center; }
.bandnav__list > li + li { border-left: 1px solid var(--line-soft); }
.bandnav__link {
  position: relative;
  display: inline-block;
  padding: 12px 15px;
  font-size: 14.5px;
  letter-spacing: .1em;
  color: rgba(237, 230, 218, .78);
  white-space: nowrap;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.bandnav__link:hover { color: var(--gold-hi); background: rgba(201, 162, 39, .09); }
.bandnav__link[aria-current="page"] { color: var(--gold-hi); }
.bandnav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 4px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
}
.bandnav__link.rail__link { padding: 0; }

/* 右侧工具区 */
.headtools { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }

.toolkey {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  font-size: 12.5px;
  letter-spacing: .14em;
  color: rgba(237, 230, 218, .8);
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.toolkey:hover { color: var(--gold-hi); border-color: var(--line-strong); background: rgba(201, 162, 39, .08); }
.toolkey__bars { display: inline-flex; flex-direction: column; gap: 3px; }
.toolkey__bars i { display: block; height: 1px; background: currentColor; }
.toolkey__bars i:nth-child(1) { width: 14px; }
.toolkey__bars i:nth-child(2) { width: 10px; }
.toolkey__bars i:nth-child(3) { width: 14px; }

.cta-key {
  display: none;
  align-items: center;
  padding: 10px 18px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  font-size: 14px;
  letter-spacing: .1em;
  color: var(--gold-hi);
  background: rgba(201, 162, 39, .08);
  transition: background .22s var(--ease), color .22s var(--ease);
}
.cta-key:hover { background: var(--gold-hi); color: #1A1206; }

.drawerbtn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--mist);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.drawerbtn:hover { color: var(--gold-hi); border-color: var(--line-strong); }
.drawerbtn__bars { display: inline-flex; flex-direction: column; gap: 4px; }
.drawerbtn__bars i { display: block; width: 16px; height: 1px; background: currentColor; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.drawerbtn[aria-expanded="true"] .drawerbtn__bars i:nth-child(1) { transform: translateY(2.5px) rotate(45deg); }
.drawerbtn[aria-expanded="true"] .drawerbtn__bars i:nth-child(2) { transform: translateY(-2.5px) rotate(-45deg); }

/* 滚动进度 */
.headprog { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: transparent; }
.headprog i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--gold-hi));
  transition: width .12s linear;
}

/* ============================================================
   14. 移动抽屉
   ============================================================ */
.drawer {
  position: fixed;
  top: var(--head-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  padding: 24px var(--gutter) 40px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(165deg, #0B0909 0%, #2A0812 55%, #4A0D1B 100%);
  border-top: 1px solid var(--line);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
}
.drawer[data-open="true"] { visibility: visible; opacity: 1; transform: none; }

.drawer__cap {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--gold);
}
.drawer__list { margin-top: 16px; border-top: 1px solid var(--line-soft); }
.drawer__list > li { border-bottom: 1px solid var(--line-soft); }
.drawer__link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  transition: padding-left .24s var(--ease), color .24s var(--ease);
}
.drawer__no { font-size: 12px; color: var(--steel); }
.drawer__label { font-family: var(--font-serif); font-size: 21px; font-weight: 600; color: var(--mist); }
.drawer__link:hover, .drawer__link:focus-visible { padding-left: 12px; }
.drawer__link:hover .drawer__label, .drawer__link[aria-current="page"] .drawer__label { color: var(--gold-hi); }
.drawer__link[aria-current="page"] .drawer__no { color: var(--gold); }
.drawer__meta {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--steel);
}

/* ============================================================
   15. 桌面侧边轨道
   ============================================================ */
.rail {
  display: none;
  position: fixed;
  top: var(--head-h);
  left: 0;
  bottom: 0;
  z-index: 60;
  width: var(--rail-w);
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 20px 0 18px;
  overflow: hidden auto;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8, 6, 6, .97), rgba(24, 7, 13, .94) 58%, rgba(8, 6, 6, .97));
  transition: width .32s var(--ease), opacity .32s var(--ease);
}
.rail::after {
  content: "";
  position: absolute;
  top: 0;
  right: 3px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(201, 162, 39, .45), transparent);
}
body[data-rail="closed"] .rail { opacity: 0; pointer-events: none; }

.rail__cap {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--gold);
  opacity: .85;
}
.rail__list { display: flex; flex-direction: column; gap: 2px; width: 100%; }
.rail__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 11px 4px;
  border-left: 2px solid transparent;
  transition: color .22s var(--ease), background .22s var(--ease), border-color .22s var(--ease);
}
.rail__no { font-size: 10px; color: var(--steel); letter-spacing: .1em; }
.rail__label { font-size: 12.5px; letter-spacing: .16em; color: rgba(237, 230, 218, .72); }
.rail__link:hover { background: rgba(201, 162, 39, .09); border-left-color: var(--gold); }
.rail__link:hover .rail__label { color: var(--gold-hi); }
.rail__link[aria-current="page"] { border-left-color: var(--teal); background: rgba(31, 138, 134, .14); }
.rail__link[aria-current="page"] .rail__label { color: var(--gold-hi); }
.rail__note {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--steel);
}

/* ============================================================
   16. 页脚
   ============================================================ */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 110px);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(720px 340px at 92% 0%, rgba(74, 13, 27, .55), transparent 66%),
    linear-gradient(180deg, #0B0909 0%, #140509 100%);
  color: var(--mist);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr;
  gap: clamp(24px, 4vw, 56px);
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(38px, 6vw, 68px) var(--gutter) clamp(28px, 4vw, 44px);
}
.foot-col { min-width: 0; }
.foot-col--brand { border-left: 2px solid var(--gold); padding-left: 18px; }

.foot-brand { display: inline-flex; align-items: center; gap: 12px; }
.foot-brand__glyph {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--gold-hi);
  background: linear-gradient(150deg, rgba(122, 28, 46, .6), rgba(11, 9, 9, .8));
}
.foot-brand__cn { font-family: var(--font-serif); font-size: 19px; font-weight: 700; letter-spacing: .08em; }
.foot-brand:hover .foot-brand__cn { color: var(--gold-hi); }

.foot-tag { margin-top: 16px; max-width: 34ch; font-size: 15px; line-height: 1.85; color: rgba(237, 230, 218, .74); }
.foot-vers { margin-top: 14px; font-size: 13px; letter-spacing: .08em; color: var(--gold); }
.foot-jump {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-bottom: 3px;
  font-size: 14px;
  letter-spacing: .1em;
  color: var(--mist);
  border-bottom: 1px solid var(--line-strong);
  transition: color .22s var(--ease), border-color .22s var(--ease);
}
.foot-jump::after { content: "→"; font-family: var(--font-mono); }
.foot-jump:hover { color: var(--gold-hi); border-color: var(--gold-hi); }

.foot-cap {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .26em;
  color: var(--gold);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.foot-list { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.foot-list a {
  font-size: 15px;
  color: rgba(237, 230, 218, .82);
  transition: color .2s var(--ease), padding-left .2s var(--ease);
}
.foot-list a:hover { color: var(--gold-hi); padding-left: 6px; }

.foot-list--data { gap: 12px; }
.foot-list--data > li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.foot-list--data .k { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .16em; color: var(--steel); }
.foot-list--data .v { font-size: 14px; color: rgba(237, 230, 218, .9); word-break: break-word; }

.foot-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 18px var(--gutter) 26px;
  border-top: 1px solid var(--line-soft);
}
.foot-legal, .foot-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--steel);
}
.foot-legal a { color: rgba(237, 230, 218, .8); border-bottom: 1px solid transparent; }
.foot-legal a:hover { color: var(--gold-hi); border-bottom-color: var(--gold); }
.foot-sep { color: rgba(201, 162, 39, .5); }

/* ============================================================
   17. 响应式
   ============================================================ */
@media (min-width: 1080px) {
  .bandnav { display: block; }
  .toolkey { display: inline-flex; }
  .cta-key { display: inline-flex; }
  .drawerbtn { display: none; }
  .drawer { display: none; }
  .rail { display: flex; }
}
@media (max-width: 1079px) {
  .bandnav { display: none; }
  .rail { display: none; }
  .cta-key { display: none; }
  .headband__grid { grid-template-columns: minmax(0, 1fr) auto; gap: 14px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-col--brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .brandlock__glyph { width: 36px; height: 36px; font-size: 18px; }
  .brandlock__cn { font-size: 16px; }
  .versbadge__txt { display: none; }
  .drawer__label { font-size: 19px; }
}
@media (max-width: 430px) {
  .brandlock__code { display: none; }
  .drawerbtn__label { display: none; }
  .drawerbtn { padding: 10px; }
}

/* ============================================================
   18. 降低动效
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .card:hover, .btn:hover { transform: none; }
}
