/* ============================================================
   利记 Site Kit V4 — /assets/site.css
   共享层：reset / 变量 / 中文排版 / 头部 / 页脚 / 通用组件
   ============================================================ */

:root {
  --ink: #141210;
  --pine: #0F2E26;
  --amber: #F2A33A;
  --gold: #FFD27A;
  --vermilion: #C8402E;
  --paper: #F4E8D4;
  --mist: #FBF7EF;
  --sage: #6F8179;

  --line-amber: rgba(242, 163, 58, 0.22);
  --line-amber-strong: rgba(242, 163, 58, 0.55);
  --line-mist: rgba(251, 247, 239, 0.14);

  --font-head: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", "Noto Sans Mono CJK SC", "SFMono-Regular", Consolas, monospace;

  --r-pill: 999px;
  --r-lg: 26px;
  --r-md: 16px;
  --r-sm: 6px;

  --wrap: 1240px;
  --gutter: clamp(18px, 4vw, 48px);
  --ease-lamp: cubic-bezier(0.22, 0.8, 0.28, 1);
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

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

button { font: inherit; color: inherit; }

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

hr { border: 0; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: rgba(242, 163, 58, 0.32);
  color: var(--mist);
}

/* ---------------- 中文排版 ---------------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.012em;
  color: var(--mist);
  text-wrap: balance;
}

h1 { font-size: clamp(40px, 6.6vw, 88px); line-height: 1.06; }
h2 { font-size: clamp(30px, 4.4vw, 56px); }
h3 { font-size: clamp(20px, 2.4vw, 28px); }
h4 { font-size: clamp(17px, 1.8vw, 21px); letter-spacing: 0; }

p { text-wrap: pretty; }

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

/* ---------------- 布局基础 ---------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(48px, 7vw, 96px); }
.section--tight { padding-block: clamp(32px, 4.5vw, 60px); }

.section-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.16;
  color: var(--mist);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--amber);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--amber);
  opacity: 0.75;
}

.lead {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.85;
  color: rgba(244, 232, 212, 0.82);
  max-width: 62ch;
}

.rule {
  height: 1px;
  border: 0;
  margin-block: clamp(24px, 4vw, 40px);
  background: linear-gradient(90deg, rgba(242, 163, 58, 0.5), rgba(242, 163, 58, 0.04));
}

.prose {
  max-width: 68ch;
  font-size: 16.5px;
  line-height: 1.92;
  color: rgba(244, 232, 212, 0.84);
}

.prose p + p { margin-top: 1.05em; }
.prose h3 { margin-block: 1.6em 0.6em; }
.prose a {
  color: var(--gold);
  border-bottom: 1px solid rgba(255, 210, 122, 0.42);
}
.prose ul,
.prose ol {
  list-style: disc;
  padding-left: 1.35em;
  margin-block: 1em;
}
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.4em; }

/* ---------------- 跳过链接 ---------------- */
.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 500;
  padding: 11px 20px;
  border-radius: var(--r-pill);
  background: var(--amber);
  color: #1B1508;
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 0.28s var(--ease-lamp);
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--mist);
  outline-offset: 3px;
}

/* ---------------- 头部 ---------------- */
.site-header {
  position: relative;
  z-index: 60;
  background: var(--ink);
  color: var(--mist);
}

/* 第一层：灯点与更新提示 */
.header-top {
  background: var(--ink);
  border-bottom: 1px solid var(--line-amber);
}

.header-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 22px;
  flex-wrap: wrap;
  padding-block: 10px;
}

.header-top__tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: rgba(251, 247, 239, 0.76);
}

.lamp-dot {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 210, 122, 0.14), 0 0 14px 4px rgba(255, 210, 122, 0.5);
  animation: lamp-breathe 4.8s ease-in-out infinite;
}

@keyframes lamp-breathe {
  0%, 100% {
    opacity: 0.72;
    box-shadow: 0 0 0 3px rgba(255, 210, 122, 0.12), 0 0 11px 3px rgba(255, 210, 122, 0.36);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 0 5px rgba(255, 210, 122, 0.18), 0 0 21px 7px rgba(255, 210, 122, 0.6);
  }
}

.header-top__update {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: rgba(251, 247, 239, 0.66);
}

.header-top__badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 2px 9px;
  border-radius: var(--r-pill);
  background: var(--vermilion);
  color: var(--mist);
}

.header-top__link {
  color: var(--gold);
  padding-bottom: 1px;
  border-bottom: 1px solid rgba(255, 210, 122, 0.42);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.header-top__link:hover {
  color: var(--mist);
  border-color: var(--mist);
}

/* 第二层：招牌与目录 */
.header-main {
  position: relative;
  background: var(--pine);
  border-bottom: 1px solid var(--line-amber);
}

.header-main__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex: none;
}

.brand__lamp {
  position: relative;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%,
      #FFEBC2 0%,
      var(--gold) 30%,
      rgba(242, 163, 58, 0.42) 58%,
      rgba(242, 163, 58, 0) 76%);
}

.brand__lamp::after {
  content: "";
  position: absolute;
  inset: 36%;
  border-radius: 50%;
  background: #FFF3D6;
  box-shadow: 0 0 12px 4px rgba(255, 210, 122, 0.75);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand__name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--mist);
  transition: color 0.2s ease;
}

.brand__sub {
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 1.2;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 210, 122, 0.74);
}

.brand:hover .brand__name { color: var(--gold); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 17px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(242, 163, 58, 0.34);
  background: rgba(242, 163, 58, 0.1);
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(242, 163, 58, 0.2);
  border-color: var(--line-amber-strong);
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.28s var(--ease-lamp), top 0.28s var(--ease-lamp);
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.site-header[data-open] .nav-toggle__bars { background: transparent; }
.site-header[data-open] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.site-header[data-open] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

.site-nav { display: flex; align-items: center; }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.9vw, 16px);
}

.site-nav__link {
  position: relative;
  display: inline-block;
  padding: 9px 8px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(251, 247, 239, 0.8);
  border-radius: var(--r-sm);
  transition: color 0.2s ease;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease-lamp);
}

.site-nav__link:hover { color: var(--mist); }
.site-nav__link:hover::after { transform: scaleX(1); }

.site-nav__link[aria-current="page"] { color: var(--gold); font-weight: 700; }
.site-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--vermilion);
}

/* 第三层：固定工具带 */
.header-tools {
  background: var(--ink);
  border-bottom: 1px solid var(--line-mist);
}

.header-tools__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 11px;
}

.header-tools__label {
  flex: none;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
}

.tool-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 16px 6px 7px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(242, 163, 58, 0.28);
  background: rgba(242, 163, 58, 0.07);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--paper);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tool-chip__k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: rgba(242, 163, 58, 0.16);
  color: var(--amber);
  transition: background 0.2s ease, color 0.2s ease;
}

.tool-chip:hover {
  background: rgba(242, 163, 58, 0.18);
  border-color: var(--line-amber-strong);
  color: var(--mist);
}

.tool-chip:hover .tool-chip__k {
  background: var(--amber);
  color: #1B1508;
}

.header-tools__cta { margin-left: auto; }

/* ---------------- 通用按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-align: center;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease,
              box-shadow 0.22s ease, transform 0.16s ease;
}

.btn:active { transform: translateY(1px); }

.btn--amber {
  background: var(--amber);
  color: #1B1508;
  box-shadow: 0 8px 20px -10px rgba(242, 163, 58, 0.95);
}

.btn--amber:hover {
  background: var(--gold);
  box-shadow: 0 12px 26px -10px rgba(255, 210, 122, 0.95);
}

.btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(251, 247, 239, 0.3);
}

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

.btn--ink {
  background: var(--ink);
  color: var(--mist);
  border-color: rgba(20, 18, 16, 0.6);
}

.btn--ink:hover { background: var(--pine); }

.btn--sm {
  padding: 10px 20px;
  font-size: 13px;
}

/* ---------------- 标签与胶囊 ---------------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(242, 163, 58, 0.28);
  background: rgba(242, 163, 58, 0.1);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--gold);
}

.tag--pine {
  background: rgba(15, 46, 38, 0.72);
  border-color: rgba(111, 129, 121, 0.45);
  color: var(--paper);
}

.tag--red {
  background: rgba(200, 64, 46, 0.16);
  border-color: rgba(200, 64, 46, 0.5);
  color: #F0A99E;
}

/* ---------------- 档案类容器 ---------------- */
.card {
  position: relative;
  padding: clamp(20px, 2.6vw, 32px);
  border-radius: var(--r-lg);
  border: 1px solid rgba(242, 163, 58, 0.16);
  background: linear-gradient(158deg, #12352A 0%, #0C2620 58%, #101A16 100%);
  color: var(--paper);
}

.plate {
  padding: clamp(16px, 2vw, 26px);
  border-radius: var(--r-md);
  border: 1px solid rgba(20, 18, 16, 0.14);
  background: var(--paper);
  color: #201A12;
}

.plate__no {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #8A5B18;
}

.archive-card {
  position: relative;
  overflow: hidden;
  padding: 20px 22px 20px 26px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(20, 18, 16, 0.14);
  background: var(--paper);
  color: #201A12;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.archive-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--amber);
}

.archive-card:hover {
  border-color: rgba(242, 163, 58, 0.85);
  box-shadow: 0 10px 24px -16px rgba(0, 0, 0, 0.8);
}

/* ---------------- 图片容器基础规则 ---------------- */
.figure {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid rgba(242, 163, 58, 0.16);
  background:
    radial-gradient(circle at 68% 18%, rgba(255, 210, 122, 0.22), rgba(255, 210, 122, 0) 58%),
    linear-gradient(150deg, #173229 0%, #0F2E26 52%, #141210 100%);
}

.figure > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-lamp);
}

.figure:hover > img { transform: scale(1.03); }

.figure--wide { aspect-ratio: 16 / 9; }
.figure--panorama { aspect-ratio: 21 / 9; }
.figure--4x3 { aspect-ratio: 4 / 3; }
.figure--square { aspect-ratio: 1 / 1; }
.figure--tall { aspect-ratio: 3 / 4; }

.figure__cap {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  max-width: calc(100% - 28px);
  padding: 6px 13px;
  border-radius: var(--r-pill);
  background: rgba(20, 18, 16, 0.74);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.figure__no {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: rgba(20, 18, 16, 0.62);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: rgba(251, 247, 239, 0.82);
}

/* ---------------- 面包屑 ---------------- */
.breadcrumb { padding-block: 16px; }

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: rgba(251, 247, 239, 0.58);
}

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

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: rgba(242, 163, 58, 0.55);
}

.breadcrumb__link { transition: color 0.2s ease; }
.breadcrumb__link:hover { color: var(--gold); }

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

/* ---------------- 页脚 ---------------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0F2E26 0%, #131A16 46%, #141210 100%);
  border-top: 1px solid var(--line-amber);
  color: rgba(251, 247, 239, 0.74);
}

.footer-glow {
  position: absolute;
  top: -160px;
  left: 50%;
  width: min(560px, 90vw);
  height: 420px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 163, 58, 0.2) 0%, rgba(242, 163, 58, 0.06) 44%, rgba(242, 163, 58, 0) 72%);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 2fr;
  gap: clamp(28px, 5vw, 64px);
  padding-block: clamp(44px, 6vw, 76px) clamp(26px, 4vw, 46px);
}

.footer-brand .brand__name { color: var(--mist); }
.footer-brand .brand { margin-bottom: 18px; }

.brand--footer .brand__sub { color: rgba(255, 210, 122, 0.6); }

.footer-brand__note {
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(244, 232, 212, 0.68);
}

.footer-brand__hours {
  margin-top: 16px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--amber);
}

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

.footer-col__title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  padding-bottom: 10px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(242, 163, 58, 0.24);
}

.footer-col__list { display: grid; gap: 10px; }

.footer-col__link {
  display: inline-block;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(251, 247, 239, 0.74);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-col__link:hover {
  color: var(--gold);
  transform: translateX(3px);
}

.footer-contact {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 40px);
  padding-block: clamp(26px, 4vw, 38px);
  border-top: 1px solid var(--line-mist);
  border-bottom: 1px solid var(--line-mist);
}

.footer-contact__k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 8px;
}

.footer-contact__v {
  font-size: 15px;
  line-height: 1.7;
  color: var(--mist);
  word-break: break-word;
}

.footer-contact__block:nth-child(2) .footer-contact__v {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

.footer-contact__note {
  grid-column: 1 / -1;
  max-width: 72ch;
  font-size: 13px;
  line-height: 1.85;
  color: rgba(244, 232, 212, 0.6);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 26px;
  padding-block: 22px clamp(24px, 4vw, 38px);
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(244, 232, 212, 0.56);
}

.footer-bottom__closing { letter-spacing: 0.02em; }

.footer-bottom__legal {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
}

/* ---------------- 滚动进度与显现 ---------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 400;
  pointer-events: none;
  background: rgba(242, 163, 58, 0.1);
}

.scroll-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--amber) 0%, var(--gold) 60%, var(--vermilion) 100%);
  box-shadow: 0 0 12px rgba(242, 163, 58, 0.65);
}

.has-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease-lamp);
}

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

/* ---------------- 响应式 ---------------- */
@media (max-width: 1180px) {
  .site-nav__link { font-size: 14.5px; padding: 9px 6px; }
  .site-nav__link::after { left: 6px; right: 6px; }
}

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 80;
    display: block;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    background: linear-gradient(180deg, #12352A 0%, #0F2E26 44%, #141210 100%);
    border-top: 1px solid rgba(242, 163, 58, 0.26);
    border-bottom: 1px solid rgba(242, 163, 58, 0.18);
    box-shadow: 0 28px 52px -18px rgba(0, 0, 0, 0.72);
    transition: max-height 0.44s var(--ease-lamp), opacity 0.3s ease, visibility 0.44s;
  }

  .site-header[data-open] .site-nav {
    max-height: min(78vh, 560px);
    overflow-y: auto;
    visibility: visible;
    opacity: 1;
  }

  .site-nav__list {
    display: grid;
    gap: 0;
    padding: 8px var(--gutter) 22px;
  }

  .site-nav__item { border-bottom: 1px solid rgba(251, 247, 239, 0.09); }

  .site-nav__link {
    display: block;
    padding: 15px 38px 15px 4px;
    font-size: 17px;
    color: var(--paper);
    border-radius: 0;
  }

  .site-nav__link::after { display: none; }

  .site-nav__link::before {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    width: 8px;
    height: 8px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--amber);
    opacity: 0;
    transition: opacity 0.2s ease;
  }

  .site-nav__link:hover::before { opacity: 0.55; }

  .site-nav__link[aria-current="page"] { color: var(--gold); }
  .site-nav__link[aria-current="page"]::before {
    opacity: 1;
    background: var(--vermilion);
  }

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

@media (max-width: 860px) {
  .header-tools__label { display: none; }

  .header-tools__inner {
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .header-tools__inner::-webkit-scrollbar { display: none; }

  .tool-chip,
  .header-tools__cta { flex: 0 0 auto; }

  .header-tools__cta { margin-left: 0; }
}

@media (max-width: 760px) {
  body { font-size: 16.5px; }

  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-contact { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 560px) {
  .header-top__inner { gap: 6px; padding-block: 9px; }
  .header-top__tag { font-size: 11.5px; letter-spacing: 0.02em; }
  .header-top__update span:nth-child(2) { display: none; }
  .header-top__update { font-size: 11.5px; }

  .brand__lamp { width: 32px; height: 32px; }
  .brand__name { font-size: 22px; }
  .brand__sub { font-size: 8.5px; letter-spacing: 0.18em; }
  .nav-toggle { padding: 9px 14px; font-size: 12px; }

  .tool-chip { font-size: 12.5px; padding: 6px 13px 6px 6px; }
  .btn--sm { padding: 9px 16px; font-size: 12.5px; }

  .footer-brand__note { font-size: 13px; }
  .footer-col__link { font-size: 14px; }
}

/* ---------------- 动效降级 ---------------- */
@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;
  }

  .lamp-dot { animation: none; opacity: 1; }

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

  .figure:hover > img { transform: none; }
  .footer-col__link:hover { transform: none; }
}
