/* ==========================================================================
   万博会馆 · 共享站点样式 /assets/site.css
   01 变量与重置 · 02 基础排版 · 03 头部 · 04 页脚 · 05 按钮与徽标
   06 栅格与区块 · 07 图文与面板 · 08 目录与正文 · 09 动效 · 10 响应式
   ========================================================================== */

/* 01 —— 变量与重置 ------------------------------------------------------- */
:root {
  --mh-ink-green: #0E2A22;
  --mh-green: #173D32;
  --mh-moss: #2E6B58;
  --mh-brass: #B98A4B;
  --mh-brass-light: #D8B07A;
  --mh-cinnabar: #A94B3F;
  --mh-paper: #F2EBDD;
  --mh-warm-white: #FBF7EF;
  --mh-ink: #1B1B18;
  --mh-sage: #8FA79D;

  --mh-line-dark: rgba(185, 138, 75, 0.34);
  --mh-line-sage: rgba(143, 167, 157, 0.26);
  --mh-line-light: rgba(27, 27, 24, 0.16);

  --mh-font-display: "Noto Serif SC", "Songti SC", STSong, serif;
  --mh-font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mh-font-index: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --mh-shell: 1240px;
  --mh-gutter: clamp(20px, 4vw, 56px);
  --mh-header-h: 74px;
  --mh-radius: 2px;
  --mh-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--mh-header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--mh-font-body);
  font-size: 16px;
  line-height: 1.85;
  font-weight: 400;
  color: var(--mh-warm-white);
  background-color: var(--mh-ink-green);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
a { color: inherit; }

::selection { background: var(--mh-brass); color: var(--mh-ink-green); }

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible,
[data-toc-link]:focus-visible {
  outline: 2px solid var(--mh-brass-light);
  outline-offset: 3px;
  border-radius: 1px;
}

/* 02 —— 基础排版 --------------------------------------------------------- */
.mh-shell {
  width: 100%;
  max-width: var(--mh-shell);
  margin-inline: auto;
  padding-inline: var(--mh-gutter);
}

.mh-display {
  font-family: var(--mh-font-display);
  font-weight: 300;
  font-size: clamp(56px, 9vw, 132px);
  line-height: 1.02;
  letter-spacing: 0.02em;
}

.mh-h1 {
  font-family: var(--mh-font-display);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.08;
  letter-spacing: 0.03em;
}

.mh-h2 {
  font-family: var(--mh-font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.24;
  letter-spacing: 0.02em;
}

.mh-h3 {
  font-family: var(--mh-font-display);
  font-weight: 600;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.42;
  letter-spacing: 0.02em;
}

.mh-eyebrow {
  font-family: var(--mh-font-index);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.22em;
  color: var(--mh-brass);
  text-transform: uppercase;
}

.mh-lead {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.8;
  letter-spacing: 0.01em;
  color: rgba(251, 247, 239, 0.86);
  max-width: 34em;
}

.mh-caption {
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: var(--mh-sage);
}

.mh-index-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mh-font-index);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.2em;
  color: var(--mh-brass);
  text-transform: uppercase;
}

.mh-index-tag::before {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
}

.mh-rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: var(--mh-line-sage);
}

.mh-rule--brass { background: var(--mh-line-dark); }

.mh-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* 03 —— 头部命令栏 ------------------------------------------------------- */
.mh-skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 11px 18px;
  background: var(--mh-brass);
  color: var(--mh-ink-green);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-radius: var(--mh-radius);
  transform: translateY(-220%);
  transition: transform 0.24s var(--mh-ease);
}

.mh-skip:focus { transform: translateY(0); }

.mh-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 42, 34, 0.97);
  color: var(--mh-warm-white);
  border-bottom: 1px solid var(--mh-line-dark);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.mh-header__bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 2.2vw, 40px);
  min-height: var(--mh-header-h);
}

.mh-scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
  background: transparent;
}

.mh-scroll-progress__bar {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--mh-brass);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.12s linear;
}

.mh-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  padding-block: 8px;
}

.mh-brand__seal {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--mh-brass);
  background: rgba(185, 138, 75, 0.09);
  box-shadow:
    inset 0 0 0 3px var(--mh-ink-green),
    inset 0 0 0 4px rgba(185, 138, 75, 0.34);
  color: var(--mh-brass-light);
  font-family: var(--mh-font-display);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}

.mh-brand__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.mh-brand__name {
  font-family: var(--mh-font-display);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.16em;
  color: var(--mh-warm-white);
}

.mh-brand__tagline {
  font-family: var(--mh-font-index);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.16em;
  color: var(--mh-sage);
  white-space: nowrap;
}

.mh-nav { min-width: 0; }

.mh-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.5vw, 26px);
  flex-wrap: nowrap;
}

.mh-nav__item { position: relative; }

.mh-nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 7px 2px;
  font-size: 14px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-decoration: none;
  color: rgba(251, 247, 239, 0.8);
  transition: color 0.22s var(--mh-ease);
}

.mh-nav__index {
  font-family: var(--mh-font-index);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--mh-brass);
  opacity: 0.85;
}

.mh-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--mh-brass);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--mh-ease);
}

.mh-nav__link:hover { color: var(--mh-warm-white); }
.mh-nav__link:hover::after { transform: scaleX(1); }

.mh-nav__link[aria-current="page"] { color: var(--mh-warm-white); }
.mh-nav__link[aria-current="page"]::after { transform: scaleX(1); }

.mh-nav__link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: -11px;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--mh-brass);
}

.mh-nav__link[aria-current="page"] .mh-nav__index { color: var(--mh-brass-light); }

.mh-nav__actions { display: none; }

.mh-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mh-nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  background: transparent;
  color: var(--mh-warm-white);
  border: 1px solid var(--mh-line-dark);
  border-radius: var(--mh-radius);
  font-family: var(--mh-font-index);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  cursor: pointer;
  transition: border-color 0.22s var(--mh-ease), background-color 0.22s var(--mh-ease);
}

.mh-nav-toggle:hover {
  border-color: var(--mh-brass);
  background: rgba(185, 138, 75, 0.12);
}

.mh-nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 16px;
}

.mh-nav-toggle__bars span {
  display: block;
  height: 1px;
  width: 100%;
  background: currentColor;
  transition: transform 0.26s var(--mh-ease), opacity 0.26s var(--mh-ease);
}

.mh-header[data-open] .mh-nav-toggle__bars span:nth-child(1) { transform: translateY(2.5px) rotate(45deg); }
.mh-header[data-open] .mh-nav-toggle__bars span:nth-child(2) { transform: translateY(-2.5px) rotate(-45deg); }
.mh-header[data-open] .mh-nav-toggle {
  border-color: var(--mh-brass);
  background: rgba(185, 138, 75, 0.14);
}

/* 04 —— 页脚目录册 ------------------------------------------------------- */
.mh-footer {
  position: relative;
  background: var(--mh-ink-green);
  color: rgba(251, 247, 239, 0.78);
  border-top: 1px solid var(--mh-line-dark);
  padding-top: clamp(48px, 6vw, 86px);
}

.mh-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: min(220px, 40%);
  background: var(--mh-brass);
}

.mh-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(28px, 4vw, 64px);
  padding-bottom: clamp(32px, 4vw, 56px);
  border-bottom: 1px solid var(--mh-line-sage);
}

.mh-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.mh-footer__mark {
  font-family: var(--mh-font-display);
  font-weight: 300;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.2;
  letter-spacing: 0.16em;
  color: var(--mh-warm-white);
}

.mh-footer__summary {
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: var(--mh-sage);
  max-width: 24em;
}

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

.mh-footer__col { min-width: 0; }

.mh-footer__col-title {
  display: block;
  margin-bottom: 14px;
  font-family: var(--mh-font-index);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.22em;
  color: var(--mh-brass);
}

.mh-footer__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.mh-footer__link {
  display: inline-block;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: rgba(251, 247, 239, 0.78);
  text-decoration: none;
  transition: color 0.2s var(--mh-ease), transform 0.2s var(--mh-ease);
}

.mh-footer__list .mh-footer__link:hover {
  color: var(--mh-brass-light);
  transform: translateX(3px);
}

.mh-footer__meta .mh-footer__link {
  font-family: var(--mh-font-index);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.mh-footer__meta .mh-footer__link:hover { color: var(--mh-brass-light); }

.mh-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.mh-footer__contact-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.mh-footer__contact-label {
  flex: 0 0 auto;
  min-width: 2.4em;
  font-family: var(--mh-font-index);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--mh-sage);
}

.mh-footer__value {
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: rgba(251, 247, 239, 0.9);
  overflow-wrap: anywhere;
}

.mh-footer__note {
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: var(--mh-sage);
  max-width: 26em;
}

.mh-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 22px 28px;
}

.mh-footer__legal-text {
  font-family: var(--mh-font-index);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--mh-sage);
}

.mh-footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 2vw, 26px);
}

/* 05 —— 按钮、复制与状态 ------------------------------------------------ */
.mh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-family: var(--mh-font-body);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--mh-radius);
  background: none;
  cursor: pointer;
  transition:
    background-color 0.22s var(--mh-ease),
    color 0.22s var(--mh-ease),
    border-color 0.22s var(--mh-ease);
}

.mh-btn--solid {
  background: var(--mh-brass);
  border-color: var(--mh-brass);
  color: var(--mh-ink-green);
}

.mh-btn--solid:hover {
  background: var(--mh-brass-light);
  border-color: var(--mh-brass-light);
}

.mh-btn--ghost {
  border-color: var(--mh-line-dark);
  color: var(--mh-brass-light);
}

.mh-btn--ghost:hover {
  background: var(--mh-brass-light);
  border-color: var(--mh-brass-light);
  color: var(--mh-ink-green);
}

.mh-btn--quiet {
  padding: 6px 0;
  border: 0;
  border-bottom: 1px solid var(--mh-line-dark);
  border-radius: 0;
  color: var(--mh-brass);
}

.mh-btn--quiet:hover {
  color: var(--mh-brass-light);
  border-bottom-color: var(--mh-brass-light);
}

.mh-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  background: transparent;
  border: 1px solid var(--mh-line-sage);
  border-radius: var(--mh-radius);
  font-family: var(--mh-font-index);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--mh-brass-light);
  cursor: pointer;
  transition:
    background-color 0.2s var(--mh-ease),
    color 0.2s var(--mh-ease),
    border-color 0.2s var(--mh-ease);
}

.mh-copy:hover {
  border-color: var(--mh-brass);
  background: rgba(185, 138, 75, 0.16);
  color: var(--mh-warm-white);
}

.mh-copy[data-state="done"] {
  background: var(--mh-brass-light);
  border-color: var(--mh-brass-light);
  color: var(--mh-ink-green);
}

.mh-copy[data-state="error"] {
  background: var(--mh-cinnabar);
  border-color: var(--mh-cinnabar);
  color: var(--mh-warm-white);
}

/* 06 —— 主体、区块与栅格 ------------------------------------------------ */
.mh-main {
  display: block;
  background: var(--mh-ink-green);
  color: var(--mh-warm-white);
}

.mh-band {
  position: relative;
  padding-block: clamp(52px, 7vw, 108px);
}

.mh-band--dark { background: var(--mh-ink-green); color: var(--mh-warm-white); }
.mh-band--green { background: var(--mh-green); color: var(--mh-warm-white); }

.mh-band--paper {
  background: var(--mh-paper);
  color: var(--mh-ink);
}

.mh-band--paper .mh-display,
.mh-band--paper .mh-h1,
.mh-band--paper .mh-h2,
.mh-band--paper .mh-h3 { color: var(--mh-ink); }

.mh-band--paper .mh-lead { color: rgba(27, 27, 24, 0.8); }
.mh-band--paper .mh-caption { color: rgba(27, 27, 24, 0.58); }
.mh-band--paper .mh-eyebrow,
.mh-band--paper .mh-index-tag { color: var(--mh-cinnabar); }
.mh-band--paper .mh-rule { background: var(--mh-line-light); }
.mh-band--paper .mh-section__head { border-bottom-color: var(--mh-line-light); }

.mh-band--paper .mh-btn--ghost {
  color: var(--mh-ink);
  border-color: var(--mh-line-light);
}

.mh-band--paper .mh-btn--ghost:hover {
  background: var(--mh-ink-green);
  border-color: var(--mh-ink-green);
  color: var(--mh-warm-white);
}

.mh-band--paper .mh-btn--quiet { color: var(--mh-cinnabar); border-bottom-color: var(--mh-line-light); }
.mh-band--paper .mh-btn--quiet:hover { color: var(--mh-ink); border-bottom-color: var(--mh-ink); }

.mh-section { padding-block: clamp(40px, 5vw, 80px); }

.mh-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: clamp(24px, 3vw, 44px);
  border-bottom: 1px solid var(--mh-line-sage);
}

.mh-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

.mh-span-4 { grid-column: span 4; }
.mh-span-5 { grid-column: span 5; }
.mh-span-6 { grid-column: span 6; }
.mh-span-7 { grid-column: span 7; }
.mh-span-8 { grid-column: span 8; }
.mh-span-12 { grid-column: span 12; }

/* 07 —— 图文容器与面板 -------------------------------------------------- */
.mh-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--mh-green);
  border: 1px solid var(--mh-line-dark);
  border-radius: 0;
}

.mh-media img,
.mh-media svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.mh-media--corner::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 46px;
  height: 46px;
  z-index: 2;
  border-top: 1px solid var(--mh-brass);
  border-right: 1px solid var(--mh-brass);
  background: linear-gradient(225deg, rgba(185, 138, 75, 0.5), rgba(185, 138, 75, 0) 58%);
  pointer-events: none;
}

.mh-media--corner::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1px;
  height: 42%;
  z-index: 2;
  background: var(--mh-brass);
  opacity: 0.55;
  pointer-events: none;
}

.mh-media__caption {
  display: block;
  margin-top: 10px;
  font-family: var(--mh-font-index);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.12em;
  color: var(--mh-sage);
}

.mh-band--paper .mh-media__caption { color: rgba(27, 27, 24, 0.55); }

.mh-panel {
  background: var(--mh-green);
  border: 1px solid var(--mh-line-sage);
  border-radius: 0;
  padding: clamp(20px, 2.6vw, 34px);
  color: var(--mh-warm-white);
}

.mh-panel--paper {
  background: var(--mh-paper);
  border-color: var(--mh-line-light);
  color: var(--mh-ink);
}

/* 08 —— 面包屑、目录与正文 ---------------------------------------------- */
.mh-breadcrumb { padding-top: 20px; }

.mh-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--mh-font-index);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.12em;
  color: var(--mh-sage);
}

.mh-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mh-breadcrumb__link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--mh-ease);
}

.mh-breadcrumb__link:hover { color: var(--mh-brass-light); }

.mh-breadcrumb__sep {
  color: rgba(143, 167, 157, 0.45);
}

.mh-breadcrumb [aria-current="page"] { color: var(--mh-brass-light); }

.mh-band--paper .mh-breadcrumb__list { color: rgba(27, 27, 24, 0.6); }
.mh-band--paper .mh-breadcrumb__link:hover { color: var(--mh-cinnabar); }
.mh-band--paper .mh-breadcrumb [aria-current="page"] { color: var(--mh-ink); }

.mh-toc {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 16px;
  border-left: 1px solid var(--mh-line-sage);
}

.mh-toc__title {
  margin-bottom: 12px;
  font-family: var(--mh-font-index);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--mh-brass);
  text-transform: uppercase;
}

.mh-toc__link {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 0;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: rgba(251, 247, 239, 0.68);
  text-decoration: none;
  transition: color 0.2s var(--mh-ease);
}

.mh-toc__link:hover { color: var(--mh-warm-white); }
.mh-toc__link[aria-current] { color: var(--mh-brass-light); }
.mh-toc__link[aria-current] .mh-toc__num { color: var(--mh-brass-light); }

.mh-toc__num {
  font-family: var(--mh-font-index);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--mh-brass);
  opacity: 0.9;
}

.mh-band--paper .mh-toc { border-left-color: var(--mh-line-light); }
.mh-band--paper .mh-toc__title { color: var(--mh-cinnabar); }
.mh-band--paper .mh-toc__link { color: rgba(27, 27, 24, 0.66); }
.mh-band--paper .mh-toc__link:hover { color: var(--mh-ink); }
.mh-band--paper .mh-toc__link[aria-current] { color: var(--mh-cinnabar); }
.mh-band--paper .mh-toc__num { color: var(--mh-cinnabar); }

.mh-prose {
  max-width: 68ch;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.01em;
}

.mh-prose > * + * { margin-top: 1.1em; }

.mh-prose h2 {
  margin-top: 1.9em;
  font-family: var(--mh-font-display);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.mh-prose h3 {
  margin-top: 1.7em;
  font-family: var(--mh-font-display);
  font-size: clamp(19px, 1.6vw, 23px);
  font-weight: 600;
  line-height: 1.4;
}

.mh-prose ul,
.mh-prose ol {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mh-prose ul li { position: relative; padding-left: 22px; }

.mh-prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.92em;
  width: 9px;
  height: 1px;
  background: var(--mh-brass);
}

.mh-prose ol { counter-reset: mh-ol; }

.mh-prose ol li {
  position: relative;
  padding-left: 30px;
  counter-increment: mh-ol;
}

.mh-prose ol li::before {
  content: counter(mh-ol, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.1em;
  font-family: var(--mh-font-index);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--mh-brass);
}

.mh-prose blockquote {
  padding-left: 18px;
  border-left: 2px solid var(--mh-cinnabar);
  font-family: var(--mh-font-display);
  font-size: 1.14em;
  font-weight: 300;
  line-height: 1.7;
}

.mh-prose a {
  color: var(--mh-brass);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.mh-prose a:hover { color: var(--mh-brass-light); }

.mh-band--paper .mh-prose a { color: var(--mh-cinnabar); }
.mh-band--paper .mh-prose a:hover { color: var(--mh-ink); }
.mh-band--paper .mh-prose ul li::before { background: var(--mh-cinnabar); }
.mh-band--paper .mh-prose ol li::before { color: var(--mh-cinnabar); }

/* 09 —— 动效 ------------------------------------------------------------ */
html[data-motion="on"] [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.62s var(--mh-ease),
    transform 0.62s var(--mh-ease);
}

html[data-motion="on"] [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

html[data-motion="on"] [data-reveal][data-stagger="1"] { transition-delay: 0.06s; }
html[data-motion="on"] [data-reveal][data-stagger="2"] { transition-delay: 0.12s; }
html[data-motion="on"] [data-reveal][data-stagger="3"] { transition-delay: 0.18s; }
html[data-motion="on"] [data-reveal][data-stagger="4"] { transition-delay: 0.24s; }
html[data-motion="on"] [data-reveal][data-stagger="5"] { transition-delay: 0.3s; }
html[data-motion="on"] [data-reveal][data-stagger="6"] { transition-delay: 0.36s; }

/* 10 —— 响应式 ---------------------------------------------------------- */
@media (max-width: 1080px) {
  :root { --mh-header-h: 66px; }

  .mh-header__bar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .mh-actions { display: none; }

  .mh-nav-toggle { display: inline-flex; }

  .mh-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    max-height: calc(100vh - var(--mh-header-h));
    overflow-y: auto;
    padding: 8px var(--mh-gutter) 24px;
    background: var(--mh-green);
    border-top: 1px solid var(--mh-line-dark);
    border-bottom: 1px solid var(--mh-line-dark);
    box-shadow: 0 18px 40px rgba(6, 20, 16, 0.45);
  }

  .mh-header[data-open] .mh-nav { display: block; }

  .mh-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .mh-nav__item { border-bottom: 1px solid rgba(143, 167, 157, 0.16); }

  .mh-nav__link {
    display: flex;
    padding: 14px 2px;
    font-size: 15px;
    letter-spacing: 0.08em;
  }

  .mh-nav__link[aria-current="page"] {
    padding-left: 12px;
    box-shadow: inset 3px 0 0 var(--mh-brass);
  }

  .mh-nav__link[aria-current="page"]::before { display: none; }

  .mh-nav__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 20px;
  }

  .mh-nav__actions .mh-btn { width: 100%; padding-block: 12px; }

  .mh-footer__top { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .mh-span-4,
  .mh-span-5,
  .mh-span-6,
  .mh-span-7,
  .mh-span-8 { grid-column: span 12; }

  .mh-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mh-footer__cols .mh-footer__col:last-child { grid-column: span 2; }
}

@media (max-width: 620px) {
  :root { --mh-header-h: 62px; }

  .mh-brand__seal { width: 32px; height: 32px; font-size: 16px; }
  .mh-brand__name { font-size: 17px; letter-spacing: 0.12em; }
  .mh-brand__tagline { font-size: 9px; letter-spacing: 0.12em; }
  .mh-nav-toggle { padding: 8px 11px; font-size: 10px; }

  .mh-footer__cols { grid-template-columns: minmax(0, 1fr); }
  .mh-footer__cols .mh-footer__col:last-child { grid-column: span 1; }

  .mh-footer__legal { flex-direction: column; align-items: flex-start; }

  .mh-section__head { flex-direction: column; align-items: flex-start; gap: 10px; }

  .mh-prose { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }

  html[data-motion="on"] [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .mh-skip { transition: none; }
  .mh-scroll-progress__bar { transition: none; }
}
