/* =========================================================
   legend-weisi.com.cn — Site Kit 共享样式
   霓虹夜色游戏大厅 / 堆叠画板 / 玻璃层 + 实色内容层
   ========================================================= */

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

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

body {
  margin: 0;
}

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

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img, svg, video {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* ---------- 2. 变量 ---------- */
:root {
  /* 底色 */
  --sky: #061226;
  --deep: #0B1E3A;
  --panel: #122B52;
  --line: #1A3A66;

  /* 强调 */
  --cyan: #00E5FF;
  --coral: #FF6B4A;
  --gold: #D4AF37;

  /* 文字 */
  --ice: #E8F4FF;
  --mist: #93A7C4;

  /* 状态 */
  --ok: #2EE6A8;
  --warn: #FFB020;

  /* 字体 */
  --font-display: "Montserrat", "Avenir Next", "Segoe UI", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;

  /* 尺寸 */
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --header-h: 88px;

  /* 阴影 */
  --shadow-panel: 0 26px 64px -34px rgba(2, 8, 20, 0.95);
  --shadow-cyan: 0 0 26px -6px rgba(0, 229, 255, 0.55);
}

/* ---------- 3. 排版与页面底色 ---------- */
body {
  padding-top: clamp(80px, 8vw, 104px);
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.78;
  letter-spacing: 0.01em;
  color: var(--ice);
  background-color: var(--sky);
  background-image:
    radial-gradient(940px 620px at 10% -10%, rgba(0, 229, 255, 0.14), transparent 62%),
    radial-gradient(760px 520px at 94% 2%, rgba(255, 107, 74, 0.10), transparent 60%),
    radial-gradient(700px 600px at 50% 108%, rgba(212, 175, 55, 0.07), transparent 66%),
    linear-gradient(180deg, #061226 0%, #0B1E3A 48%, #061226 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.16;
  color: var(--ice);
}

h1 { font-size: clamp(34px, 5.2vw, 56px); }
h2 { font-size: clamp(26px, 3.4vw, 40px); }
h3 { font-size: clamp(20px, 2.2vw, 28px); }
h4 { font-size: clamp(17px, 1.6vw, 20px); }

p {
  max-width: 72ch;
}

strong, b {
  color: var(--ice);
  font-weight: 500;
}

small {
  font-size: 12.5px;
  color: var(--mist);
}

hr {
  border: 0;
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  font-feature-settings: "tnum" 1;
}

/* ---------- 4. 焦点 ---------- */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--cyan);
  color: #061226;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.22s ease;
}

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

/* ---------- 5. 布局容器 ---------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.container--narrow {
  max-width: 940px;
}

.section {
  padding-block: clamp(52px, 7vw, 104px);
}

.section--tight {
  padding-block: clamp(30px, 4vw, 56px);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 36px);
  flex-wrap: wrap;
  margin-block-end: clamp(24px, 3.4vw, 44px);
}

.section-head-main {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.section-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--mist);
}

.stack-rule {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.38), rgba(212, 175, 55, 0.3), transparent);
  opacity: 0.8;
}

/* ---------- 6. 展签 ---------- */
.exhibit-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}

.exhibit-label::before {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
}

/* ---------- 7. 面板 ---------- */
.panel {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(26, 58, 102, 0.95);
  background: linear-gradient(165deg, rgba(18, 43, 82, 0.94), rgba(11, 30, 58, 0.97));
  padding: clamp(20px, 3vw, 34px);
  box-shadow: var(--shadow-panel);
}

.panel--glass {
  background: rgba(11, 30, 58, 0.5);
  border-color: rgba(0, 229, 255, 0.2);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}

.panel--plain {
  background: rgba(6, 18, 38, 0.56);
  box-shadow: none;
}

.panel--gold {
  border-color: rgba(212, 175, 55, 0.42);
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.12),
    0 28px 64px -36px rgba(212, 175, 55, 0.55);
}

.panel--cyan {
  border-color: rgba(0, 229, 255, 0.36);
  box-shadow:
    0 0 0 1px rgba(0, 229, 255, 0.12),
    0 28px 64px -36px rgba(0, 229, 255, 0.55);
}

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background-color 0.25s ease,
    color 0.25s ease, border-color 0.25s ease;
}

.btn--primary {
  background: var(--coral);
  color: #061226;
  box-shadow: 0 14px 32px -16px rgba(255, 107, 74, 0.95);
}

.btn--primary:hover {
  background: #ff8264;
  transform: translateY(-1px);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--ghost {
  color: var(--ice);
  border-color: rgba(0, 229, 255, 0.44);
  background: rgba(0, 229, 255, 0.06);
}

.btn--ghost:hover {
  background: rgba(0, 229, 255, 0.15);
  border-color: var(--cyan);
}

.btn--quiet {
  color: var(--mist);
  border-color: rgba(147, 167, 196, 0.3);
  background: transparent;
}

.btn--quiet:hover {
  color: var(--ice);
  border-color: rgba(147, 167, 196, 0.55);
}

.btn--sm {
  padding: 9px 18px;
  font-size: 12.5px;
  letter-spacing: 0.1em;
}

/* ---------- 9. 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.5;
  white-space: nowrap;
}

.tag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

.tag--cyan  { color: var(--cyan); background: rgba(0, 229, 255, 0.1);  border-color: rgba(0, 229, 255, 0.34); }
.tag--coral { color: #FFB9A8;       background: rgba(255, 107, 74, 0.14); border-color: rgba(255, 107, 74, 0.42); }
.tag--gold  { color: var(--gold);   background: rgba(212, 175, 55, 0.12); border-color: rgba(212, 175, 55, 0.42); }
.tag--ok    { color: var(--ok);     background: rgba(46, 230, 168, 0.12); border-color: rgba(46, 230, 168, 0.38); }
.tag--warn  { color: var(--warn);   background: rgba(255, 176, 32, 0.12); border-color: rgba(255, 176, 32, 0.38); }
.tag--muted { color: var(--mist);   background: rgba(147, 167, 196, 0.1); border-color: rgba(147, 167, 196, 0.3); }

/* ---------- 10. 面包屑 ---------- */
.breadcrumb {
  font-size: 13px;
  color: var(--mist);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-list li + li::before {
  content: "/";
  color: rgba(147, 167, 196, 0.45);
}

.breadcrumb a {
  color: var(--mist);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--cyan);
}

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

/* ---------- 11. 网格 ---------- */
.grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 26px);
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fill, minmax(min(100%, 264px), 1fr)); }
.grid--auto-sm { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }

/* ---------- 12. 图片容器（页面阶段放置 img） ---------- */
.img-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 229, 255, 0.16);
  background:
    radial-gradient(120% 100% at 82% 0%, rgba(0, 229, 255, 0.16), transparent 58%),
    radial-gradient(100% 100% at 0% 100%, rgba(255, 107, 74, 0.14), transparent 62%),
    linear-gradient(150deg, #0d2247, #061226);
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.img-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 78% 0%, rgba(0, 229, 255, 0.12), transparent 60%),
    radial-gradient(90% 90% at 0% 100%, rgba(255, 107, 74, 0.1), transparent 62%);
}

.img-frame__label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ice);
  background: rgba(6, 18, 38, 0.74);
  border: 1px solid rgba(0, 229, 255, 0.3);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.img-frame--wide   { aspect-ratio: 21 / 9; }
.img-frame--square { aspect-ratio: 1 / 1; }
.img-frame--tall   { aspect-ratio: 9 / 14; }
.img-frame--badge  { aspect-ratio: 4 / 3; }

/* ---------- 13. 作品说明牌 ---------- */
.specimen {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(26, 58, 102, 0.95);
  background: rgba(6, 18, 38, 0.5);
  transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
}

.specimen:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 229, 255, 0.46);
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.14), 0 24px 48px -30px rgba(0, 229, 255, 0.7);
}

.specimen-media {
  border-radius: 14px;
  overflow: hidden;
}

.specimen-body {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 0 4px 4px;
}

.specimen-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: var(--ice);
}

.specimen-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.specimen-meta b {
  color: var(--cyan);
  font-weight: 700;
}

/* ---------- 14. 数据块 ---------- */
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.08;
  letter-spacing: 0.02em;
  color: var(--cyan);
  font-feature-settings: "tnum" 1;
}

.stat-value--gold { color: var(--gold); }
.stat-value--coral { color: var(--coral); }

.stat-label {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--mist);
}

/* ---------- 15. 长文 ---------- */
.prose p {
  margin-block-end: 1.05em;
  color: var(--mist);
}

.prose p:last-child {
  margin-block-end: 0;
}

.prose h3 {
  margin-block: 1.6em 0.6em;
}

.prose strong {
  color: var(--ice);
  font-weight: 500;
}

.prose ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-block-end: 1.05em;
}

.prose ul li {
  position: relative;
  padding-inline-start: 18px;
  color: var(--mist);
}

.prose ul li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.7;
}

/* ---------- 16. 筛选 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.filter-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(26, 58, 102, 0.95);
  background: rgba(11, 30, 58, 0.62);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  line-height: 1.4;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-btn:hover {
  color: var(--ice);
  border-color: rgba(0, 229, 255, 0.5);
}

.filter-btn.is-active,
.filter-btn[aria-pressed="true"] {
  color: #061226;
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 24px -8px rgba(0, 229, 255, 0.85);
}

.filter-status {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.is-filtered-out {
  display: none !important;
}

/* ---------- 17. 动效 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.62s ease, transform 0.62s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 18. 页头 ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 120;
  padding: clamp(10px, 1.4vw, 16px) clamp(12px, 3vw, 28px);
  transition: padding 0.3s ease;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  max-width: 1240px;
  margin-inline: auto;
  padding: 9px clamp(14px, 2vw, 22px);
  border-radius: 999px;
  border: 1px solid rgba(0, 229, 255, 0.16);
  background: rgba(11, 30, 58, 0.42);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 14px 44px -22px rgba(2, 8, 20, 0.95);
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header[data-scrolled="true"] .header-inner {
  background: rgba(9, 25, 48, 0.95);
  border-color: rgba(26, 58, 102, 0.95);
  box-shadow: 0 16px 38px -20px rgba(2, 8, 20, 0.9);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ice);
  text-decoration: none;
  flex: none;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0;
  color: #061226;
  background: linear-gradient(135deg, var(--cyan), #47f0cf);
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.55), 0 0 24px -4px rgba(0, 229, 255, 0.6);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.07em;
  line-height: 1.25;
  color: var(--ice);
  white-space: nowrap;
}

.brand-tagline {
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: var(--mist);
  white-space: nowrap;
}

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-inline-start: auto;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid rgba(0, 229, 255, 0.36);
  background: rgba(0, 229, 255, 0.07);
  color: var(--ice);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(0, 229, 255, 0.15);
  border-color: var(--cyan);
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 18px;
  height: 10px;
  flex: none;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transition: transform 0.25s ease, top 0.25s ease;
}

.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars::after { top: 8px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 4px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 4px;
  transform: rotate(-45deg);
}

/* 导航 */
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 22px);
  margin-inline-start: auto;
  min-width: 0;
}

.site-nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: var(--mist);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover {
  color: var(--ice);
  background: rgba(0, 229, 255, 0.08);
}

.nav-link[aria-current="page"] {
  color: var(--ice);
  background: rgba(0, 229, 255, 0.13);
}

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.header-cta {
  flex: none;
}

/* ---------- 19. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-block-start: clamp(64px, 9vw, 120px);
  border-block-start: 1px solid rgba(26, 58, 102, 0.95);
  background:
    radial-gradient(720px 340px at 6% 0%, rgba(0, 229, 255, 0.1), transparent 66%),
    radial-gradient(640px 320px at 90% 8%, rgba(212, 175, 55, 0.09), transparent 64%),
    linear-gradient(180deg, rgba(11, 30, 58, 0.92), rgba(4, 12, 26, 0.99));
}

.site-footer::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--gold), transparent);
  opacity: 0.55;
}

.footer-inner {
  padding-block: clamp(40px, 5vw, 74px) clamp(22px, 3vw, 34px);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 56px);
  padding-block-end: clamp(26px, 3.4vw, 40px);
  border-block-end: 1px solid rgba(26, 58, 102, 0.7);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.footer-brand-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  line-height: 1.4;
  color: var(--ice);
}

.footer-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 9px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: #061226;
  background: linear-gradient(135deg, var(--cyan), #47f0cf);
  box-shadow: 0 0 18px -6px rgba(0, 229, 255, 0.9);
}

.footer-desc {
  font-size: 14px;
  color: var(--mist);
  max-width: 34ch;
}

.footer-note {
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(147, 167, 196, 0.82);
  max-width: 32ch;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-block-end: 14px;
}

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

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
}

.footer-link {
  display: inline-block;
  padding-block: 3px;
  font-size: 14px;
  color: var(--mist);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-link:hover {
  color: var(--cyan);
  transform: translateX(2px);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-block-end: 16px;
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.footer-key {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(147, 167, 196, 0.72);
}

.footer-value {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ice);
  word-break: break-word;
}

.footer-cta {
  align-self: flex-start;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 22px;
  padding-block-start: clamp(16px, 2vw, 24px);
  font-size: 12.5px;
  color: rgba(147, 167, 196, 0.8);
}

.footer-copy {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer-legal-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
}

.footer-legal-link {
  color: rgba(147, 167, 196, 0.88);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-link:hover {
  color: var(--cyan);
}

.footer-icp {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(147, 167, 196, 0.7);
}

/* ---------- 20. 回到顶部 ---------- */
.to-top {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 110;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 255, 0.42);
  background: rgba(11, 30, 58, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--cyan);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.26s ease, transform 0.26s ease, visibility 0.26s ease,
    border-color 0.2s ease, background-color 0.2s ease;
}

.to-top[data-visible="true"] {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  border-color: var(--cyan);
  background: rgba(0, 229, 255, 0.16);
}

/* ---------- 21. 响应式 ---------- */
@media (max-width: 1100px) {
  .nav-link {
    padding: 8px 9px;
    font-size: 13.5px;
  }
  .brand-tagline {
    display: none;
  }
}

@media (max-width: 1024px) {
  .site-header {
    padding: 10px clamp(10px, 2.6vw, 18px);
  }

  .header-inner {
    border-radius: 20px;
    flex-wrap: nowrap;
    gap: 12px;
  }

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

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-inline-start: 0;
    padding: 16px;
    border-radius: 20px;
    border: 1px solid rgba(26, 58, 102, 0.95);
    background: rgba(6, 18, 38, 0.97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 34px 74px -24px rgba(2, 8, 20, 0.95);
  }

  .site-nav[data-open="true"] {
    display: flex;
  }

  .site-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-link {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 15px;
  }

  .nav-link[aria-current="page"] {
    background: rgba(0, 229, 255, 0.1);
    box-shadow: inset 3px 0 0 0 var(--cyan);
  }

  .nav-link[aria-current="page"]::after {
    display: none;
  }

  .header-cta {
    width: 100%;
  }

  .brand-name {
    font-size: 14px;
  }
}

@media (max-width: 900px) {
  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  body {
    background-attachment: scroll;
    font-size: 15px;
    line-height: 1.75;
  }

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

  .footer-links {
    gap: 8px 14px;
  }

  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 620px) {
  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

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

  .btn {
    padding: 11px 20px;
  }
}

@media (max-width: 420px) {
  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  .nav-toggle-text {
    display: none;
  }

  .nav-toggle {
    padding: 10px 12px;
  }
}

/* ---------- 22. 减少动效 ---------- */
@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;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .specimen:hover,
  .footer-link:hover,
  .btn--primary:hover {
    transform: none;
  }
}

/* ---------- 23. 打印 ---------- */
@media print {
  body {
    background: #ffffff;
    color: #101820;
    padding-top: 0;
  }

  .site-header,
  .site-footer,
  .to-top,
  .skip-link {
    display: none !important;
  }
}
