/* ============================================================
   /assets/site.css — 共享外壳样式表
   深海墨蓝底 · 暖纸档案卡 · 牌桌绿 / 筹码橙对比
   ============================================================ */

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

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

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, li, figure, blockquote,
dl, dd, hr { margin: 0; }

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

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

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

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

[hidden] { display: none !important; }

/* ---------- 2. 变量 ---------- */
:root {
  /* 色彩 */
  --ink-deep: #071A24;
  --ink-night: #0C2B36;
  --felt: #146B4A;
  --felt-deep: #0E4F38;
  --chip: #F28A2E;
  --palm: #3FB8A0;
  --coral: #F26B6B;
  --paper: #F4E8D0;
  --lamp: #E9B44C;
  --mist: #A9B7B5;
  --ink-black: #051015;
  --coco: #FDF8EE;

  /* 字体 */
  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  --font-head: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* 字号 */
  --text-base: 16.5px;
  --text-sm: 14px;
  --text-xs: 12px;

  /* 节奏 */
  --header-h: 78px;
  --gutter: clamp(18px, 4vw, 48px);
  --stack-gap: 16px;

  /* 边框与阴影 */
  --hair: rgba(244, 232, 208, 0.14);
  --hair-strong: rgba(244, 232, 208, 0.28);
  --shadow-card: 0 30px 60px -48px #000;
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--coco);
  background:
    radial-gradient(120% 80% at 84% -8%, rgba(20, 107, 74, 0.30), transparent 62%),
    radial-gradient(90% 70% at 4% 2%, rgba(242, 138, 46, 0.10), transparent 56%),
    var(--ink-deep);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(32px, 4vw, 56px); }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: clamp(19px, 2vw, 23px); }

p { max-width: 72ch; }

a:not([class]) {
  color: var(--palm);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

strong, b { font-weight: 700; }

::selection {
  background: var(--chip);
  color: var(--ink-black);
}

#main-content { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---------- 4. 焦点与可达性 ---------- */
:focus-visible {
  outline: 2px solid var(--palm);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 10px 18px;
  background: var(--chip);
  color: #20120A;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline-color: var(--paper);
}

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

/* ---------- 5. 容器与网格 ---------- */
.shell {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.reading {
  max-width: 760px;
}

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

.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }
.col-12 { grid-column: span 12; }

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--stack-gap);
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* ---------- 6. 页头 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: var(--coco);
  background: linear-gradient(to bottom, rgba(7, 26, 36, 0.74), rgba(7, 26, 36, 0));
  border-bottom: 1px solid transparent;
  transition:
    background 0.32s ease,
    border-color 0.32s ease,
    box-shadow 0.32s ease,
    backdrop-filter 0.32s ease;
}

.site-header[data-scrolled="true"] {
  background: rgba(8, 28, 38, 0.96);
  border-bottom-color: var(--hair);
  box-shadow: 0 22px 48px -34px #000;
  backdrop-filter: blur(12px) saturate(120%);
}

.site-header[data-open="true"] {
  background: rgba(8, 28, 38, 0.98);
  border-bottom-color: var(--hair-strong);
  backdrop-filter: blur(12px) saturate(120%);
}

.header-shell {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(14px, 2vw, 34px);
  min-height: var(--header-h);
  padding-block: 10px;
}

/* 品牌 */
.header-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-seal {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  background: var(--felt);
  color: var(--coco);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
  border-radius: 4px 14px 4px 14px;
  box-shadow: inset 0 0 0 1px rgba(244, 232, 208, 0.22), 0 10px 22px -14px #000;
  transform: rotate(-3deg);
  transition: transform 0.24s ease, background 0.24s ease;
}

.brand:hover .brand-seal {
  transform: rotate(0deg);
  background: var(--felt-deep);
}

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

.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: 0.03em;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-line {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--mist);
  line-height: 1.3;
  white-space: nowrap;
}

.header-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 18px;
  border-left: 1px dashed var(--hair-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--mist);
  white-space: nowrap;
}

/* 状态点 */
.status-dot {
  display: inline-block;
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mist);
}

.status-dot.is-ok {
  background: var(--palm);
  box-shadow: 0 0 0 3px rgba(63, 184, 160, 0.18);
}

.status-dot.is-warn {
  background: var(--coral);
  box-shadow: 0 0 0 3px rgba(242, 107, 107, 0.18);
}

.status-dot.is-idle {
  background: var(--lamp);
  box-shadow: 0 0 0 3px rgba(233, 180, 76, 0.16);
}

/* 导航 */
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 20px);
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.6vw, 8px);
}

.nav-item { display: block; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.3;
  color: rgba(253, 248, 238, 0.82);
  border-radius: 3px;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--palm);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-link:hover {
  color: var(--coco);
  background: rgba(244, 232, 208, 0.06);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

.nav-link[aria-current="page"] {
  color: var(--ink-black);
  background: var(--paper);
  font-weight: 700;
}

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

.nav-cta {
  white-space: nowrap;
}

/* 移动按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 10px 14px;
  border: 1px solid var(--hair-strong);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--coco);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav-toggle:hover {
  border-color: var(--palm);
  background: rgba(63, 184, 160, 0.1);
}

.nav-toggle-bars {
  display: grid;
  gap: 4px;
  width: 18px;
}

.nav-toggle-bars i {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header[data-open="true"] .nav-toggle-bars i:first-child {
  transform: translateY(3px) rotate(45deg);
}

.site-header[data-open="true"] .nav-toggle-bars i:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.nav-toggle-text {
  min-width: 2.4em;
  text-align: left;
}

/* 阅读进度 */
.scroll-meter {
  height: 2px;
  background: rgba(244, 232, 208, 0.10);
  overflow: hidden;
}

.scroll-meter-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--felt), var(--palm) 55%, var(--chip));
}

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-align: center;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.btn-cta {
  background: var(--chip);
  color: #20120A;
  box-shadow: 0 12px 26px -18px rgba(242, 138, 46, 0.95);
}

.btn-cta:hover {
  background: var(--lamp);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--coco);
  border-color: var(--hair-strong);
}

.btn-ghost:hover {
  border-color: var(--palm);
  color: var(--palm);
}

.btn-paper {
  background: var(--paper);
  color: var(--ink-black);
}

.btn-paper:hover {
  background: var(--coco);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 13px;
}

/* ---------- 8. 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid rgba(63, 184, 160, 0.35);
  border-radius: 999px;
  background: rgba(63, 184, 160, 0.14);
  color: var(--palm);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.6;
  white-space: nowrap;
}

.tag--chip {
  background: rgba(242, 138, 46, 0.14);
  color: var(--chip);
  border-color: rgba(242, 138, 46, 0.42);
}

.tag--felt {
  background: rgba(20, 107, 74, 0.42);
  color: #BFE9D8;
  border-color: rgba(20, 107, 74, 0.75);
}

.tag--coral {
  background: rgba(242, 107, 107, 0.14);
  color: var(--coral);
  border-color: rgba(242, 107, 107, 0.42);
}

.tag--ink {
  background: rgba(244, 232, 208, 0.12);
  color: var(--paper);
  border-color: rgba(244, 232, 208, 0.3);
}

.ledger-label {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 6px;
  border-radius: 2px;
  background: rgba(244, 232, 208, 0.14);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  line-height: 1.7;
}

/* ---------- 9. 卡片与正文组件 ---------- */
.card {
  position: relative;
  padding: clamp(18px, 2.2vw, 28px);
  background: rgba(12, 43, 54, 0.74);
  border: 1px solid var(--hair);
  border-radius: 6px 6px 24px 6px;
  box-shadow: var(--shadow-card);
}

.card--panel {
  background: var(--ink-night);
  border-color: rgba(244, 232, 208, 0.10);
}

.card--felt {
  background: linear-gradient(152deg, var(--felt), var(--felt-deep));
  border-color: rgba(253, 248, 238, 0.22);
}

.card--paper {
  background: var(--paper);
  color: var(--ink-black);
  border-color: rgba(5, 16, 21, 0.14);
  box-shadow: 0 30px 60px -46px rgba(0, 0, 0, 0.9);
}

.card-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.card--paper .card-title { color: var(--ink-black); }

.card-text {
  font-size: 15.5px;
  line-height: 1.78;
  color: rgba(253, 248, 238, 0.78);
}

.card--paper .card-text { color: rgba(5, 16, 21, 0.78); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.6;
  color: var(--lamp);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.28;
  letter-spacing: 0.01em;
}

.lead {
  max-width: 62ch;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.8;
  color: rgba(253, 248, 238, 0.8);
}

.num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.stat-num {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
  color: var(--chip);
  font-variant-numeric: tabular-nums;
}

.meter {
  position: relative;
  height: 34px;
  border-radius: 2px;
  border-bottom: 1px solid rgba(244, 232, 208, 0.22);
  background: repeating-linear-gradient(
    90deg,
    rgba(244, 232, 208, 0.28) 0 1px,
    transparent 1px 24px
  );
}

.paper-zone {
  background: var(--paper);
  color: var(--ink-black);
}

.footnote {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--mist);
}

/* ---------- 10. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 24px 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.breadcrumb a {
  color: rgba(253, 248, 238, 0.75);
  transition: color 0.18s ease;
}

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

.breadcrumb-sep {
  color: rgba(244, 232, 208, 0.32);
}

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

/* ---------- 11. 筛选与折叠 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block: 18px;
}

.filter-btn {
  padding: 8px 14px;
  border: 1px solid var(--hair-strong);
  border-radius: 2px 10px 2px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: rgba(253, 248, 238, 0.8);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.filter-btn:hover {
  border-color: var(--palm);
  color: var(--palm);
}

.filter-btn[aria-pressed="true"] {
  background: var(--felt);
  border-color: var(--felt);
  color: var(--coco);
}

.disclose {
  padding-top: 14px;
  border-top: 1px dashed rgba(244, 232, 208, 0.2);
}

.disclose-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 6px 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  color: var(--coco);
}

.disclose-icon {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1;
  color: var(--chip);
  transition: transform 0.2s ease;
}

.disclose-btn[aria-expanded="true"] .disclose-icon {
  transform: rotate(45deg);
}

.disclose-panel {
  padding-block: 10px 4px;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(253, 248, 238, 0.76);
}

.card--paper .disclose-btn { color: var(--ink-black); }
.card--paper .disclose-panel { color: rgba(5, 16, 21, 0.78); }

/* ---------- 12. 媒体框（图片占位基础） ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(244, 232, 208, 0.16);
  border-radius: 4px 4px 22px 4px;
  background: linear-gradient(150deg, var(--ink-night), var(--ink-deep));
}

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

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(253, 248, 238, 0.1) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.45;
  mix-blend-mode: overlay;
}

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--square { aspect-ratio: 1 / 1; }

.media-caption {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mist);
}

/* ---------- 13. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 110px);
  padding-block: clamp(40px, 5vw, 72px) 28px;
  color: var(--coco);
  background:
    linear-gradient(to bottom, rgba(20, 107, 74, 0.20), rgba(20, 107, 74, 0) 42%),
    var(--ink-night);
  border-top: 1px solid var(--hair);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 10px;
  background: repeating-linear-gradient(
    90deg,
    rgba(244, 232, 208, 0.28) 0 1px,
    transparent 1px 14px
  );
  opacity: 0.55;
  pointer-events: none;
}

.footer-shell {
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 3.4vw, 46px);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 40ch;
}

.footer-ledger {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--lamp);
}

.footer-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.footer-summary {
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(253, 248, 238, 0.72);
}

.footer-season {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--palm);
}

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

.footer-head {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.6;
  color: rgba(244, 232, 208, 0.52);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 2px 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(253, 248, 238, 0.8);
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.footer-list a::before {
  content: "";
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  background: rgba(63, 184, 160, 0.5);
  transform: rotate(45deg);
  transition: background 0.18s ease;
}

.footer-list a:hover {
  color: var(--paper);
  border-bottom-color: rgba(242, 138, 46, 0.6);
}

.footer-list a:hover::before { background: var(--chip); }

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

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.contact-key {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: rgba(244, 232, 208, 0.48);
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.contact-val {
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--coco);
  word-break: break-word;
}

.copy-btn {
  padding: 3px 9px;
  border: 1px solid rgba(63, 184, 160, 0.45);
  border-radius: 2px;
  background: rgba(63, 184, 160, 0.08);
  color: var(--palm);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  line-height: 1.7;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.copy-btn:hover {
  background: rgba(63, 184, 160, 0.2);
  border-color: var(--palm);
}

.copy-btn[data-copied="true"] {
  background: var(--palm);
  border-color: var(--palm);
  color: #04211C;
}

.footer-hour-note {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.06em;
  color: rgba(169, 183, 181, 0.9);
}

.footer-watermark {
  margin-top: clamp(24px, 4vw, 44px);
  overflow: hidden;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(64px, 14vw, 180px);
  line-height: 0.82;
  letter-spacing: 0.06em;
  text-align: right;
  white-space: nowrap;
  color: rgba(244, 232, 208, 0.035);
  pointer-events: none;
  user-select: none;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  margin-top: clamp(28px, 3.4vw, 44px);
  padding-top: 18px;
  border-top: 1px dashed rgba(244, 232, 208, 0.18);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: rgba(169, 183, 181, 0.88);
}

.footer-icp { color: rgba(253, 248, 238, 0.82); }

.footer-copy,
.footer-hours { color: rgba(169, 183, 181, 0.82); }

/* ---------- 14. 显现动画 ---------- */
.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.has-js [data-reveal][data-revealed="true"] {
  opacity: 1;
  transform: none;
}

/* ---------- 15. 响应式 ---------- */
@media (max-width: 1199px) {
  .header-status { display: none; }
}

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

  .site-nav {
    position: fixed;
    top: calc(var(--header-h) + 10px);
    right: max(14px, 4vw);
    left: auto;
    z-index: 120;
    width: min(340px, calc(100vw - 28px));
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin-left: 0;
    padding: 18px;
    background: rgba(9, 31, 41, 0.98);
    border: 1px solid var(--hair-strong);
    border-radius: 6px 6px 22px 6px;
    box-shadow: 0 40px 80px -44px #000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.985);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .site-header[data-open="true"] .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

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

  .nav-link {
    justify-content: flex-start;
    padding: 12px 14px;
    border-radius: 4px;
    font-size: 15.5px;
  }

  .nav-link::after { display: none; }

  .nav-link[aria-current="page"] {
    box-shadow: inset 3px 0 0 var(--chip);
  }

  .nav-cta {
    margin-top: 10px;
    justify-content: center;
  }

  .grid-12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

  [class*="col-"] { grid-column: span 6; }
}

@media (min-width: 720px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: span 2; }
  .footer-contact { grid-column: span 2; }
}

@media (min-width: 1080px) {
  .footer-grid {
    grid-template-columns: 1.55fr 0.85fr 0.85fr 0.85fr 1.25fr;
    align-items: start;
  }
  .footer-brand,
  .footer-contact { grid-column: auto; }
}

@media (max-width: 560px) {
  :root {
    --text-base: 16px;
    --header-h: 68px;
  }

  .brand-seal {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    font-size: 19px;
  }

  .brand-name { font-size: 16.5px; }
  .brand-line { font-size: 9.5px; letter-spacing: 0.12em; }

  .nav-toggle { padding: 9px 11px; }
  .nav-toggle-text { display: none; }

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

  [class*="col-"] { grid-column: span 2; }

  .footer-watermark { text-align: left; }

  .footer-base { font-size: 11px; }
}

/* ---------- 16. 减少动效 ---------- */
@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;
  }

  .has-js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .brand-seal { transform: none; }
}

/* ---------- 17. 打印 ---------- */
@media print {
  .site-header,
  .scroll-meter,
  .footer-watermark,
  .skip-link { display: none !important; }

  body {
    background: #fff;
    color: #000;
  }

  .site-footer {
    background: #fff;
    color: #000;
    border-top: 1px solid #999;
  }
}
