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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 132px;
}

body,
h1, h2, h3, h4,
p, figure, blockquote, dl, dd { margin: 0; }

img, svg, video { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

/* ================= 2. 变量 ================= */
:root {
  --deep: #0B2A45;
  --deep-dark: #061B2E;
  --deep-light: #1D4C74;
  --gold: #C9A227;
  --gold-soft: #F2DC9B;
  --paper: #F7F2E7;
  --paper-2: #E6DCC6;
  --coral: #FF6B4A;
  --mint: #2FBF9B;
  --ink: #16202B;
  --stone: #6B7683;

  --line: rgba(11, 42, 69, .14);
  --line-soft: rgba(11, 42, 69, .08);
  --line-deep: rgba(242, 220, 155, .20);
  --focus: #FF6B4A;

  --shadow-s: 0 1px 2px rgba(6, 27, 46, .07), 0 6px 18px rgba(6, 27, 46, .06);
  --shadow-m: 0 2px 6px rgba(6, 27, 46, .10), 0 20px 44px rgba(6, 27, 46, .14);

  --font-head: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", Menlo, Consolas, "DejaVu Sans Mono", "Courier New", monospace;

  --wrap: 1240px;
  --wrap-wide: 1400px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-pill: 999px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ================= 3. 基础排版 ================= */
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: .012em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.012em;
  color: var(--deep);
}

h1 { font-size: clamp(2rem, 4.6vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.16rem, 1.9vw, 1.5rem); }
h4 { font-size: 1.06rem; }
p { margin-bottom: 1.05em; }

a { color: var(--deep-light); text-decoration: none; }
a:hover { color: var(--coral); }

strong { font-weight: 700; color: var(--deep); }

.mono,
[class*="__mono"] {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .08em;
}

.prose {
  max-width: 42em;
  font-size: 17px;
}
.prose > p { color: var(--ink); }
.prose--wide { max-width: 54em; }

::selection { background: var(--gold-soft); color: var(--deep-dark); }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
.section--deep :focus-visible,
.site-footer :focus-visible,
.panel--deep :focus-visible { outline-color: var(--gold-soft); }

/* ================= 4. 布局原语 ================= */
.wrap {
  width: min(100% - 2.4rem, var(--wrap));
  margin-inline: auto;
}
.wrap--wide { width: min(100% - 2.4rem, var(--wrap-wide)); }

.section { padding: clamp(3rem, 7vw, 6.5rem) 0; position: relative; }
.section--tight { padding: clamp(1.4rem, 3vw, 2.2rem) 0; }
.section--deep { background: var(--deep); color: var(--paper); }
.section--deep h1,
.section--deep h2,
.section--deep h3 { color: var(--paper); }
.section--deep p { color: rgba(247, 242, 231, .82); }
.section--band { background: var(--paper-2); }

.grid { display: grid; gap: clamp(1rem, 2vw, 1.6rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.grid--7-5 { grid-template-columns: 7fr 5fr; }
.grid--5-7 { grid-template-columns: 5fr 7fr; }
.grid--8-4 { grid-template-columns: 8fr 4fr; }

@media (max-width: 1023px) {
  .grid--7-5,
  .grid--5-7,
  .grid--8-4 { grid-template-columns: 1fr; }
}

/* ================= 5. 展览说明牌 · 注脚 ================= */
.plate {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: .8rem;
}
.plate::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  flex: 0 0 auto;
}
.plate--gold { color: var(--gold-soft); }
.plate--coral { color: var(--coral); }
.plate__num {
  font-family: var(--font-mono);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1;
  letter-spacing: .04em;
  color: var(--paper-2);
  display: block;
}
.section--deep .plate__num { color: rgba(242, 220, 155, .3); }

.annot {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .3em;
  color: var(--stone);
  text-transform: uppercase;
}
.section--deep .annot,
.panel--deep .annot { color: var(--gold-soft); }

/* ================= 6. 按钮 · 标签 ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .72rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .94rem;
  line-height: 1.2;
  cursor: pointer;
  background: transparent;
  transition: transform .2s var(--ease), background-color .2s var(--ease),
              color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn--gold { background: var(--gold); color: var(--deep-dark); }
.btn--gold:hover { background: var(--gold-soft); color: var(--deep-dark); transform: translateY(-2px); }
.btn--coral { background: var(--coral); color: #fff; }
.btn--coral:hover { background: #ff5531; color: #fff; transform: translateY(-2px); }
.btn--ghost { border-color: rgba(11, 42, 69, .24); color: var(--deep); }
.btn--ghost:hover { border-color: var(--deep); background: rgba(11, 42, 69, .06); color: var(--deep-dark); }
.btn--outline-gold { border-color: rgba(201, 162, 39, .6); color: var(--gold-soft); }
.btn--outline-gold:hover { background: rgba(201, 162, 39, .16); color: var(--gold-soft); transform: translateY(-2px); }

.chip {
  display: inline-flex;
  align-items: center;
  padding: .34rem .8rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .66);
  font-size: .8rem;
  color: var(--deep);
  white-space: nowrap;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.chip:hover { border-color: var(--gold); background: #fff; color: var(--deep-dark); }

/* ================= 7. 跳转链接 ================= */
.skip-link {
  position: absolute;
  left: 1rem;
  top: .7rem;
  z-index: 120;
  transform: translateY(-180%);
  background: var(--gold);
  color: var(--deep-dark);
  padding: .5rem 1rem;
  border-radius: var(--r-pill);
  font-size: .85rem;
  font-weight: 700;
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; color: var(--deep-dark); }

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

/* 8.1 状态轨 */
.toprail {
  background: var(--deep-dark);
  color: var(--gold-soft);
  overflow: hidden;
  max-height: 60px;
  transition: max-height .3s var(--ease), opacity .3s var(--ease);
}
.toprail__inner {
  width: min(100% - 2.4rem, var(--wrap-wide));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .48rem 0;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .1em;
}
.toprail__status { margin: 0; display: inline-flex; align-items: center; gap: .5rem; }
.pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(47, 191, 155, .55);
  animation: pulse 2.6s infinite;
  flex: 0 0 auto;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 191, 155, .55); }
  70% { box-shadow: 0 0 0 7px rgba(47, 191, 155, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 191, 155, 0); }
}
.toprail__mono { margin: 0; color: rgba(242, 220, 155, .58); }
.toprail__link {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.toprail__link:hover { color: #fff; }

/* 8.2 浮岛胶囊 */
.island {
  position: relative;
  padding: .55rem 0 .8rem;
  background: linear-gradient(to bottom, rgba(247, 242, 231, .97), rgba(247, 242, 231, .86));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  transition: padding .3s var(--ease), box-shadow .3s var(--ease);
}
.island__inner {
  width: min(100% - 2.4rem, var(--wrap-wide));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(.8rem, 2vw, 1.8rem);
}

.site-header[data-scrolled="true"] .toprail {
  max-height: 0;
  opacity: 0;
}
.site-header[data-scrolled="true"] .island {
  padding: .3rem 0;
  box-shadow: 0 12px 32px rgba(6, 27, 46, .09);
}

/* 8.3 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  flex: 0 0 auto;
  color: var(--deep);
}
.brand:hover { color: var(--deep); }
.brand__mark {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 162, 39, .7);
  border-radius: var(--r-sm);
  background: linear-gradient(150deg, var(--deep) 0%, var(--deep-dark) 100%);
  flex: 0 0 auto;
}
.brand__markText {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.16rem;
  line-height: 1;
  color: var(--gold);
}
.brand__meta { display: flex; flex-direction: column; min-width: 0; }
.brand__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.06rem;
  letter-spacing: .02em;
  color: var(--deep);
  line-height: 1.3;
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  color: var(--stone);
  line-height: 1.4;
}

/* 8.4 导航 */
.nav {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  min-width: 0;
}
.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: .12rem;
}
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .48rem .82rem;
  border-radius: var(--r-pill);
  font-size: .93rem;
  font-weight: 600;
  color: var(--deep);
  white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav__link:hover { background: rgba(11, 42, 69, .07); color: var(--deep-dark); }
.nav__link[aria-current="page"] {
  background: rgba(201, 162, 39, .18);
  color: var(--deep-dark);
}
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 18px;
  height: 2px;
  background: var(--gold);
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav__aux {
  display: flex;
  align-items: center;
  gap: .55rem;
  max-height: 44px;
  opacity: 1;
  transition: max-height .3s var(--ease), opacity .25s var(--ease);
}
.site-header[data-scrolled="true"] .nav__aux {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

.searchlink {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .34rem .85rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .72);
  font-size: .8rem;
  color: var(--stone);
  min-width: 220px;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.searchlink:hover { border-color: var(--gold); color: var(--deep); }
.searchlink__icon { color: var(--gold); font-size: .95rem; line-height: 1; }
.searchlink__text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.nav__quick {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: .35rem;
}

.island__cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: .6rem;
  flex: 0 0 auto;
}

/* 8.5 移动导航按钮 */
.nav-toggle {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: .55rem;
  padding: .5rem .85rem;
  border: 1px solid rgba(11, 42, 69, .22);
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--deep);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
}
.nav-toggle__box { display: grid; gap: 4px; width: 18px; }
.nav-toggle__box span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 8.6 平板与移动 */
@media (max-width: 1180px) {
  .searchlink { min-width: 170px; }
  .nav__link { padding: .46rem .66rem; font-size: .88rem; }
}

@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .island__cta { display: none; }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-top: 1px solid var(--line-soft);
    box-shadow: var(--shadow-m);
    padding: 0 clamp(1.2rem, 5vw, 2rem);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: max-height .32s var(--ease), opacity .24s var(--ease), visibility .24s var(--ease);
  }
  .nav[data-open="true"] {
    max-height: min(80vh, 640px);
    overflow: auto;
    visibility: visible;
    opacity: 1;
    padding-bottom: 1.5rem;
  }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid var(--line-soft); }
  .nav__link {
    justify-content: space-between;
    padding: .95rem .55rem;
    border-radius: 0;
    font-size: 1rem;
  }
  .nav__link:hover { background: rgba(11, 42, 69, .05); }
  .nav__link[aria-current="page"] { background: rgba(201, 162, 39, .16); }
  .nav__link[aria-current="page"]::after { display: none; }

  .nav__aux {
    flex-direction: column;
    align-items: stretch;
    gap: .8rem;
    max-height: none;
    opacity: 1;
    margin-top: 1.1rem;
  }
  .site-header[data-scrolled="true"] .nav__aux {
    max-height: none;
    opacity: 1;
    overflow: visible;
  }
  .searchlink { width: 100%; min-width: 0; }
  .nav__quick { flex-wrap: wrap; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  .toprail__mono { display: none; }
  .toprail__inner { font-size: .7rem; letter-spacing: .06em; }
}
@media (max-width: 479px) {
  .brand__sub { display: none; }
  .brand__mark { width: 36px; height: 36px; }
  .nav-toggle__text { display: none; }
}

/* ================= 9. 页脚 ================= */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(3rem, 8vw, 6rem);
  background: var(--deep-dark);
  color: var(--paper);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 85% at 10% -20%, rgba(29, 76, 116, .95), transparent 62%),
    radial-gradient(80% 60% at 100% 110%, rgba(201, 162, 39, .16), transparent 60%),
    repeating-linear-gradient(90deg, rgba(242, 220, 155, .05) 0 1px, transparent 1px 76px);
  pointer-events: none;
}
.site-footer::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    var(--gold) 0 22%,
    var(--coral) 22% 34%,
    var(--mint) 34% 40%,
    rgba(242, 220, 155, .22) 40% 100%);
}

.footer__grid {
  position: relative;
  z-index: 1;
  width: min(100% - 2.4rem, var(--wrap-wide));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr 1.2fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(2.6rem, 6vw, 4.4rem) 0 2rem;
}
@media (max-width: 1023px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 639px) {
  .footer__grid { grid-template-columns: 1fr; gap: 1.8rem; }
}

.footer__brand { display: grid; gap: .9rem; align-content: start; }
.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: .02em;
  color: var(--paper);
}
.footer__logoMark {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 162, 39, .7);
  border-radius: var(--r-sm);
  background: rgba(11, 42, 69, .6);
  color: var(--gold);
  font-size: .98rem;
  line-height: 1;
}
.footer__about {
  margin: 0;
  max-width: 34em;
  font-size: .94rem;
  line-height: 1.8;
  color: rgba(247, 242, 231, .78);
}
.footer__stamp { margin: 0; }
.footer__mono {
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .12em;
  color: rgba(242, 220, 155, .72);
}

.footer__col { display: grid; gap: .8rem; align-content: start; }
.footer__colTitle {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .1rem;
}
.footer__link {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: .3rem 0;
  font-size: .93rem;
  color: rgba(247, 242, 231, .82);
  transition: color .2s var(--ease), gap .2s var(--ease);
}
.footer__link::before {
  content: "";
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width .22s var(--ease);
  flex: 0 0 auto;
}
.footer__link:hover { color: var(--gold-soft); gap: .5rem; }
.footer__link:hover::before { width: 14px; }

.footer__contact { display: grid; gap: .9rem; align-content: start; }
.footer__contactList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .7rem;
}
.footer__contactItem { display: grid; gap: .18rem; }
.footer__contactLabel {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .18em;
  color: rgba(242, 220, 155, .55);
}
.footer__contactValue {
  font-size: .92rem;
  color: var(--paper);
  word-break: break-word;
  line-height: 1.6;
}
.footer__note {
  margin: 0;
  padding-left: .8rem;
  border-left: 2px solid var(--coral);
  font-size: .84rem;
  line-height: 1.7;
  color: rgba(247, 242, 231, .68);
}
.footer__cta { margin: 0; }

.footer__base {
  position: relative;
  z-index: 1;
  width: min(100% - 2.4rem, var(--wrap-wide));
  margin-inline: auto;
  border-top: 1px solid var(--line-deep);
  padding: 1.1rem 0 2.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem 1.4rem;
  font-size: .82rem;
  color: rgba(247, 242, 231, .62);
}
.footer__baseText { margin: 0; }
.footer__baseLinks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}
.footer__baseLink { color: rgba(247, 242, 231, .72); }
.footer__baseLink:hover { color: var(--gold-soft); }

/* ================= 10. 返回顶部 ================= */
.totop {
  --circ: 151;
  --progress: 0;
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 162, 39, .5);
  border-radius: 50%;
  background: var(--deep-dark);
  color: var(--gold-soft);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .26s var(--ease), transform .26s var(--ease), visibility .26s var(--ease);
  z-index: 90;
}
.totop[data-visible="true"] { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--deep); color: var(--gold-soft); }
.totop__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.totop__ring circle { fill: none; stroke-width: 2; }
.totop__ringTrack { stroke: rgba(242, 220, 155, .2); }
.totop__ringBar {
  stroke: var(--gold);
  stroke-dasharray: var(--circ);
  stroke-dashoffset: calc(var(--circ) * (1 - var(--progress)));
}
.totop__glyph { position: relative; font-size: 1rem; line-height: 1; }

/* ================= 11. 面包屑 ================= */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .12em;
  color: var(--stone);
}
.crumbs a { color: var(--stone); }
.crumbs a:hover { color: var(--coral); }
.crumbs__sep { color: rgba(107, 118, 131, .5); }
.crumbs__current { color: var(--deep); }

/* ================= 12. 数据面板 · 指标 ================= */
.panel {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-s);
  padding: clamp(1.1rem, 2.2vw, 1.8rem);
}
.panel--deep {
  background: linear-gradient(160deg, var(--deep) 0%, var(--deep-dark) 100%);
  border-color: var(--line-deep);
  color: var(--paper);
  box-shadow: var(--shadow-m);
}
.panel--deep h2,
.panel--deep h3 { color: var(--paper); }
.panel--float { box-shadow: var(--shadow-m); }
.panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .6rem;
  padding-bottom: .7rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line-soft);
}
.panel--deep .panel__head { border-color: var(--line-deep); }
.panel__title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.04rem;
}
.panel__note {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .12em;
  color: var(--stone);
}
.panel--deep .panel__note { color: rgba(242, 220, 155, .68); }

.metric { display: grid; gap: .3rem; }
.metric__label {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .18em;
  color: var(--stone);
}
.metric__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.1;
  letter-spacing: .04em;
  color: var(--deep);
}
.panel--deep .metric__value,
.section--deep .metric__value { color: var(--gold-soft); }
.metric__delta {
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .06em;
  color: var(--mint);
}
.metric__delta--down { color: var(--coral); }

/* ================= 13. 表格 ================= */
.tbl-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--shadow-s);
}
.tbl {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: .92rem;
}
.tbl caption {
  caption-side: top;
  text-align: left;
  padding: .9rem 1rem 0;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .14em;
  color: var(--stone);
}
.tbl th {
  background: var(--deep-light);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: .73rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-align: left;
  padding: .72rem .9rem;
  white-space: nowrap;
}
.tbl td {
  padding: .68rem .9rem;
  border-top: 1px solid var(--line-soft);
  vertical-align: top;
}
.tbl tbody tr:nth-child(even) { background: var(--paper-2); }
.tbl tbody tr:hover { background: rgba(201, 162, 39, .12); }
.tbl .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
}

/* ================= 14. 卡面 ================= */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: clamp(1.1rem, 2vw, 1.6rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 39, .7);
  box-shadow: var(--shadow-m);
}
.card__title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--deep);
}
.card__text {
  margin: 0;
  font-size: .93rem;
  line-height: 1.75;
  color: var(--stone);
}
.card__link {
  margin-top: auto;
  padding-top: .6rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .12em;
  color: var(--deep);
}
.card__link::after { content: " →"; color: var(--gold); }
.card__link:hover { color: var(--coral); }
.card--deep {
  background: linear-gradient(160deg, var(--deep) 0%, var(--deep-dark) 100%);
  border-color: var(--line-deep);
}
.card--deep .card__title { color: var(--paper); }
.card--deep .card__text { color: rgba(247, 242, 231, .78); }
.card--deep .card__link { color: var(--gold-soft); }

/* ================= 15. 图片容器 ================= */
.figure { display: grid; gap: .7rem; margin: 0; }
.figure__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(140deg, rgba(11, 42, 69, .94), rgba(29, 76, 116, .78)),
    repeating-linear-gradient(45deg, rgba(242, 220, 155, .09) 0 2px, transparent 2px 15px);
}
.figure__frame img,
.figure__frame > svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.figure__frame--21x9 { aspect-ratio: 21 / 9; }
.figure__frame--4x3 { aspect-ratio: 4 / 3; }
.figure__frame--1x1 { aspect-ratio: 1 / 1; }
.figure__caption {
  display: flex;
  gap: .6rem;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: .73rem;
  letter-spacing: .12em;
  color: var(--stone);
}
.figure__caption::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
  flex: 0 0 auto;
  transform: translateY(-3px);
}
@media (max-width: 639px) {
  .figure__frame { aspect-ratio: 3 / 2; }
  .figure__frame--1x1 { aspect-ratio: 1 / 1; }
}

/* ================= 16. 章节目录 ================= */
.toc {
  position: sticky;
  top: 136px;
  display: grid;
  gap: .1rem;
  align-content: start;
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}
.toc__title {
  margin-bottom: .45rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .24em;
  color: var(--stone);
}
.toc__link {
  display: block;
  padding: .32rem 0 .32rem .8rem;
  margin-left: -1px;
  border-left: 2px solid transparent;
  font-size: .88rem;
  color: var(--stone);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.toc__link:hover { color: var(--deep); }
.toc__link[aria-current="true"] {
  color: var(--deep);
  border-left-color: var(--gold);
  font-weight: 600;
}
@media (max-width: 1023px) {
  .toc { position: static; border-left: 0; padding-left: 0; }
}

/* ================= 17. 数据注释条 ================= */
.databar {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  padding: .8rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .12em;
  color: var(--stone);
}
.databar__item { display: inline-flex; align-items: center; gap: .45rem; }
.databar__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--mint);
}
.databar__dot--gold { background: var(--gold); }
.databar__dot--coral { background: var(--coral); }

/* ================= 18. 入场动效 ================= */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .24s var(--ease), transform .24s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

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