/* ============================================================
   /assets/site.css — 共享外壳：reset、变量、中文字体、头尾、通用组件
   ============================================================ */

:root {
  --deep-sea: #0E2A47;
  --deep-sea-2: #173F63;
  --tide-blue: #1F5A78;
  --coral: #E4572E;
  --coral-light: #F58A66;
  --sand: #D8A94B;
  --tide-green: #3F8F82;
  --mist: #F6F4EF;
  --paper: #FFFDF9;
  --rock: #4A5560;
  --slate: #22303C;

  --line-soft: rgba(74, 85, 96, 0.22);
  --line-strong: rgba(14, 42, 71, 0.16);
  --on-dark-soft: rgba(246, 244, 239, 0.72);
  --on-dark-line: rgba(246, 244, 239, 0.18);

  --hard-shadow: 8px 8px 0 rgba(14, 42, 71, 0.12);
  --hard-shadow-sm: 4px 4px 0 rgba(14, 42, 71, 0.16);

  --font-display: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-editorial: "Songti SC", "Source Han Serif SC", "Noto Serif CJK SC", Georgia, "Times New Roman", serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, "Courier New", monospace;

  --w-max: 1240px;
  --gutter: 24px;
  --ease-tide: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--mist);
  color: var(--rock);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; }
img, picture, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: var(--tide-blue); text-underline-offset: 3px; }
a:hover { color: var(--coral); }
strong, b { font-weight: 700; }

::selection { background: var(--coral); color: var(--paper); }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 1px;
}

/* ---------- 中文排版基线 ---------- */
p { text-align: left; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--deep-sea);
  letter-spacing: -0.015em;
  line-height: 1.2;
  text-wrap: balance;
}

/* ---------- 布局工具 ---------- */
.container {
  width: 100%;
  max-width: var(--w-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.layout-aside {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 48px;
  align-items: start;
}

@media (max-width: 960px) {
  .layout-aside { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

/* ---------- 标题与文本层级 ---------- */
.eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tide-blue);
}

.title-display {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--deep-sea);
  margin: 0;
}

.title-section {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.4vw, 2rem);
  line-height: 1.22;
  letter-spacing: -0.018em;
  color: var(--deep-sea);
  margin: 0;
}

.title-sub {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.35;
  color: var(--deep-sea-2);
  margin: 0;
}

.serif-quote {
  font-family: var(--font-editorial);
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  line-height: 1.55;
  color: var(--tide-blue);
  border-left: 3px solid var(--sand);
  padding-left: 20px;
  margin: 0;
}

.prose {
  max-width: 34em;
  font-size: 17px;
  line-height: 1.75;
}

.prose p { margin-bottom: 1.15em; }
.prose p:last-child { margin-bottom: 0; }

.prose p:first-of-type {
  font-weight: 600;
  color: var(--deep-sea);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 2px solid var(--deep-sea);
  background: var(--paper);
  color: var(--deep-sea);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--hard-shadow-sm);
  transition: transform 0.18s var(--ease-tide), box-shadow 0.18s var(--ease-tide),
              background-color 0.18s, color 0.18s, border-color 0.18s;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(14, 42, 71, 0.16);
  color: var(--deep-sea);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(14, 42, 71, 0.16);
}

.btn--primary {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--paper);
}

.btn--primary:hover { color: var(--paper); background: var(--coral-light); border-color: var(--coral-light); }

.btn--ghost {
  background: transparent;
  border-color: var(--deep-sea);
  box-shadow: none;
}

.btn--ghost:hover {
  background: rgba(14, 42, 71, 0.06);
  box-shadow: none;
  transform: none;
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--rock);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "/"; color: var(--sand); }
.breadcrumb a { color: var(--tide-blue); text-decoration: none; }
.breadcrumb a:hover { color: var(--coral); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--deep-sea); font-weight: 700; }

/* ---------- 框景 ---------- */
.exhibit-frame {
  position: relative;
  border: 1.5px solid var(--deep-sea);
  background: var(--paper);
  padding: clamp(24px, 4vw, 56px);
}

.exhibit-frame::before {
  content: "";
  position: absolute;
  inset: 8px;
  pointer-events: none;
  background-image:
    linear-gradient(var(--coral), var(--coral)),
    linear-gradient(var(--coral), var(--coral)),
    linear-gradient(var(--coral), var(--coral)),
    linear-gradient(var(--coral), var(--coral)),
    linear-gradient(var(--coral), var(--coral)),
    linear-gradient(var(--coral), var(--coral)),
    linear-gradient(var(--coral), var(--coral)),
    linear-gradient(var(--coral), var(--coral));
  background-repeat: no-repeat;
  background-size: 22px 2px, 2px 22px, 22px 2px, 2px 22px, 22px 2px, 2px 22px, 22px 2px, 2px 22px;
  background-position:
    left top, left top,
    right top, right top,
    left bottom, left bottom,
    right bottom, right bottom;
}

/* ---------- 潮线 ---------- */
.tide-rule {
  position: relative;
  height: 1px;
  margin: clamp(56px, 8vw, 96px) 0;
  background: rgba(74, 85, 96, 0.32);
  border: 0;
}

.tide-rule::after {
  content: "";
  position: absolute;
  left: 0;
  top: -3px;
  width: min(320px, 60%);
  height: 7px;
  background-image: repeating-linear-gradient(
    to right,
    rgba(74, 85, 96, 0.5) 0 1px,
    transparent 1px 26px
  );
}

/* ---------- 序号方块 ---------- */
.num-block {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 9px;
  background: var(--coral);
  color: var(--sand);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  box-shadow: var(--hard-shadow-sm);
  transition: transform 0.2s var(--ease-tide), box-shadow 0.2s var(--ease-tide);
}

.num-block:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(14, 42, 71, 0.18);
}

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid currentColor;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-transform: uppercase;
  white-space: nowrap;
}

.tag--coral { color: var(--coral); background: rgba(228, 87, 46, 0.07); }
.tag--green { color: var(--tide-green); background: rgba(63, 143, 130, 0.09); }
.tag--sand { color: #A97F27; background: rgba(216, 169, 75, 0.12); }

/* ---------- 面板 ---------- */
.panel {
  background: var(--paper);
  border: 2px solid var(--deep-sea);
  box-shadow: var(--hard-shadow);
  padding: clamp(22px, 3vw, 32px);
}

.panel--dark {
  background: var(--slate);
  border-color: var(--deep-sea-2);
  color: var(--mist);
}

.panel--dark .title-sub,
.panel--dark h2,
.panel--dark h3 { color: var(--paper); }

.panel--dark a { color: var(--coral-light); }
.panel--dark a:hover { color: var(--sand); }

.panel--aside {
  position: sticky;
  top: 96px;
}

@media (max-width: 960px) {
  .panel--aside { position: static; top: auto; }
}

/* ---------- 图片容器 ---------- */
.media-frame {
  position: relative;
  margin: 0;
  border: 2px solid var(--deep-sea);
  background: var(--deep-sea-2);
  box-shadow: var(--hard-shadow);
  overflow: hidden;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.03) brightness(1.02);
}

.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--panorama { aspect-ratio: 21 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }

.media-frame figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 10px 16px;
  background: rgba(14, 42, 71, 0.82);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

/* ---------- 章节跟随目录 ---------- */
.section-index {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--line-strong);
}

.section-index li { margin: 0; }

.section-index a {
  position: relative;
  display: block;
  padding: 10px 0 10px 18px;
  color: var(--rock);
  font-size: 15px;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.2s var(--ease-tide);
}

.section-index a::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 50%;
  width: 2px;
  height: 0;
  background: var(--coral);
  transform: translateY(-50%);
  transition: height 0.2s var(--ease-tide);
}

.section-index a:hover { color: var(--deep-sea); }

.section-index a[aria-current="true"] {
  color: var(--deep-sea);
  font-weight: 700;
}

.section-index a[aria-current="true"]::before { height: 72%; }

/* ============================================================
   Skip link
   ============================================================ */
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 200;
  padding: 10px 20px;
  background: var(--coral);
  color: var(--paper);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--hard-shadow-sm);
  transition: top 0.22s var(--ease-tide);
}

.skip-link:focus {
  top: 16px;
  color: var(--paper);
}

/* ============================================================
   页头
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--paper);
  border-bottom: 2px solid var(--deep-sea);
}

.header-inner {
  width: 100%;
  max-width: var(--w-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* 上层：品牌说明条 */
.header-top {
  background: var(--deep-sea);
  color: var(--mist);
  overflow: hidden;
  max-height: 140px;
  opacity: 1;
  transition: max-height 0.34s var(--ease-tide), opacity 0.24s var(--ease-tide);
}

.site-header[data-stuck="true"] .header-top {
  max-height: 0;
  opacity: 0;
}

.header-top-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  min-height: 54px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  color: var(--paper);
  text-decoration: none;
}

.brand-mark:hover { color: var(--paper); }

.brand-glyph {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: var(--coral);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.brand-line {
  flex: 1 1 240px;
  min-width: 0;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--on-dark-soft);
}

.status-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--sand);
  white-space: nowrap;
}

.status-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--tide-green);
  box-shadow: 0 0 0 3px rgba(63, 143, 130, 0.28);
}

.status-code { color: var(--mist); font-weight: 700; }

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.header-action {
  display: inline-block;
  padding: 5px 12px;
  color: var(--on-dark-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: color 0.18s, border-color 0.18s, background-color 0.18s;
}

.header-action:hover {
  color: var(--paper);
  border-color: var(--on-dark-line);
}

.header-action--accent {
  color: var(--paper);
  border-color: var(--coral);
  background: rgba(228, 87, 46, 0.16);
}

.header-action--accent:hover {
  color: var(--paper);
  background: var(--coral);
  border-color: var(--coral);
}

/* 下层：主栏目条 */
.header-main { position: relative; background: var(--paper); }

.header-main-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 62px;
}

.nav-caption {
  flex: none;
  margin: 0;
  padding-right: 18px;
  border-right: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(74, 85, 96, 0.72);
  line-height: 1.4;
}

.site-nav { flex: 1 1 auto; }

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item { margin: 0; }

.nav-link {
  position: relative;
  display: inline-block;
  padding: 19px 14px 21px;
  color: var(--rock);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s var(--ease-tide);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  height: 3px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s var(--ease-tide);
}

.nav-link:hover { color: var(--deep-sea); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-link[aria-current="page"] {
  color: var(--deep-sea);
  font-weight: 800;
}

.nav-link[aria-current="page"]::after { transform: scaleX(1); }

/* 移动端切换按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 2px solid var(--deep-sea);
  background: var(--paper);
  color: var(--deep-sea);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--hard-shadow-sm);
  transition: transform 0.18s var(--ease-tide), box-shadow 0.18s var(--ease-tide);
}

.nav-toggle:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 rgba(14, 42, 71, 0.16); }

.nav-toggle-box {
  display: grid;
  gap: 3px;
  width: 18px;
  flex: none;
}

.nav-toggle-box span {
  display: block;
  height: 2px;
  background: var(--deep-sea);
  transition: transform 0.22s var(--ease-tide), opacity 0.16s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(1) { transform: translateY(5px) 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(-5px) rotate(-45deg); }

.nav-toggle-text { line-height: 1; }

/* 滚动进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: transparent;
  pointer-events: none;
}

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

/* 页头响应式 */
@media (max-width: 1080px) {
  .brand-line { display: none; }
}

@media (max-width: 900px) {
  .header-top-inner { gap: 14px; min-height: 48px; }
  .header-main-inner { min-height: 58px; justify-content: space-between; }
  .nav-caption { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions { display: none; }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 5;
    background: var(--paper);
    border-top: 2px solid var(--deep-sea);
    border-bottom: 2px solid var(--deep-sea);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.34s var(--ease-tide);
  }

  .site-nav[data-open="true"] {
    max-height: min(74vh, 560px);
    overflow-y: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
  }

  .nav-item { border-bottom: 1px solid rgba(74, 85, 96, 0.14); }
  .nav-item:last-child { border-bottom: 0; }

  .nav-link {
    display: block;
    padding: 14px var(--gutter) 16px;
    font-size: 16px;
  }

  .nav-link::after {
    left: var(--gutter);
    right: auto;
    bottom: 10px;
    width: 22px;
  }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; }
  body { font-size: 16px; }
  .status-line { font-size: 11px; letter-spacing: 0.02em; white-space: normal; }
  .brand-name { font-size: 15px; }
}

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  margin-top: clamp(72px, 10vw, 120px);
  background: var(--slate);
  color: var(--mist);
  border-top: 6px solid var(--coral);
}

.footer-inner {
  width: 100%;
  max-width: var(--w-max);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 72px) var(--gutter) 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) repeat(3, minmax(0, 1fr));
  gap: 40px 32px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--on-dark-line);
}

.footer-brand { min-width: 0; }

.footer-logo {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--paper);
  text-decoration: none;
  border-bottom: 2px solid var(--coral);
  padding-bottom: 4px;
}

.footer-logo:hover { color: var(--paper); }

.footer-tagline {
  margin: 18px 0 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--sand);
  line-height: 1.7;
}

.footer-note {
  max-width: 30em;
  font-size: 14px;
  line-height: 1.75;
  color: var(--on-dark-soft);
  margin: 0;
}

.footer-col { min-width: 0; }

.footer-col-title {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--coral-light);
  text-transform: uppercase;
  line-height: 1.5;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list li { margin: 0 0 10px; }
.footer-list li:last-child { margin-bottom: 0; }

.footer-list a {
  color: var(--mist);
  font-size: 15px;
  line-height: 1.6;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}

.footer-list a:hover {
  color: var(--sand);
  border-bottom-color: var(--sand);
}

.footer-contact {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--on-dark-line);
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.contact-key {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--coral-light);
  line-height: 1.7;
}

.contact-val {
  font-size: 14px;
  line-height: 1.7;
  color: var(--on-dark-soft);
  word-break: break-word;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 32px;
  padding-top: 28px;
  font-size: 13px;
}

.footer-legal {
  flex: 1 1 320px;
  margin: 0;
  color: var(--on-dark-soft);
  line-height: 1.7;
}

.footer-year {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--on-dark-soft);
}

.footer-top-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 2px solid var(--sand);
  color: var(--sand);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: background-color 0.18s, color 0.18s;
}

.footer-top-link:hover {
  background: var(--sand);
  color: var(--slate);
}

@media (max-width: 900px) {
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .contact-list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-top-link { width: 100%; justify-content: center; }
}

/* ============================================================
   减少动效
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .num-block:hover,
  .btn:hover,
  .btn:active { transform: none; }
}
