/* ==========================================================================
   博猫 · 共享样式 /assets/site.css
   框架式导航 + 档案卡 + 校准台气质
   ========================================================================== */

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

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

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

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

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

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

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

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

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

hr { border: 0; border-top: 1px solid rgba(15, 34, 51, 0.14); }

main { display: block; }

[id] { scroll-margin-top: 84px; }

/* ---- 2. 设计变量 ---- */
:root {
  /* 色板 */
  --ink: #0F2233;
  --ink-2: #16344E;
  --ink-3: #2C4C6B;
  --copper: #C46B32;
  --copper-lite: #E39A5C;
  --paper: #F5F0E6;
  --paper-lite: #FBF8F2;
  --verify: #3F7A57;
  --verify-lite: #7FAE8C;
  --amber: #B98631;
  --batch: #8C97A3;
  --grad: linear-gradient(135deg, #16344E 0%, #2C4C6B 48%, #C46B32 128%);

  /* 字族 */
  --font-display: "Archivo Narrow", "Oswald", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-num: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* 结构 */
  --rail-w: 252px;
  --rail-h-mobile: 58px;
  --gutter: clamp(18px, 4vw, 56px);
  --content-max: 1180px;

  /* 形状 */
  --radius-card: 28px 4px 28px 4px;
  --radius-chip: 4px 16px 4px 16px;
  --radius-tag: 3px 10px 3px 10px;

  /* 动效 */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 200ms;
  --scroll-progress: 0;
}

/* ---- 3. 中文排版基础 ---- */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.24;
  font-style: normal;
}

h1 { font-size: clamp(28px, 4.4vw, 52px); }
h2 { font-size: clamp(20px, 2.6vw, 30px); }
h3 { font-size: clamp(17px, 1.6vw, 21px); letter-spacing: 0.06em; }
h4 { font-size: 16px; letter-spacing: 0.06em; }

p { line-height: 1.75; }
p + p { margin-top: 1.2em; }

strong, b { font-weight: 700; }

small { font-size: 13px; }

.numeric {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

::selection { background: var(--copper-lite); color: var(--ink); }

/* ---- 4. 焦点与可访问性 ---- */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--copper-lite);
  outline-offset: 2px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: var(--copper-lite);
  border-radius: 4px 14px 4px 14px;
  transform: translateY(-200%);
  transition: transform 180ms var(--ease);
}

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

/* ---- 5. 框架式导航（页面视觉边框的一部分） ---- */
.site-header { position: relative; z-index: 60; }

.site-rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 60;
  width: var(--rail-w);
  display: flex;
  flex-direction: column;
  padding: 20px 0 16px;
  color: var(--paper);
  background-color: var(--ink);
  background-image: linear-gradient(180deg, #0F2233 0%, #12293C 62%, #16344E 100%);
  border-right: 1px solid rgba(245, 240, 230, 0.14);
  overflow: hidden;
}

.rail-track {
  position: absolute;
  top: 0;
  right: -1px;
  bottom: 0;
  width: 2px;
  background: rgba(245, 240, 230, 0.08);
  pointer-events: none;
}

.rail-track__fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--copper-lite) 0%, var(--copper) 100%);
  transform: scaleY(var(--scroll-progress, 0));
  transform-origin: top center;
  transition: transform 120ms linear;
}

/* 品牌署名 —— 全站唯一一次 */
.rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 20px 18px;
  border-bottom: 1px solid rgba(245, 240, 230, 0.14);
}

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

.brand__glyph {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  color: var(--paper);
  background: linear-gradient(135deg, #16344E 0%, #2C4C6B 48%, #C46B32 128%);
  border: 1px solid rgba(227, 154, 92, 0.55);
  border-radius: 4px 14px 4px 14px;
}

.brand__word {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--paper);
}

/* 移动端索引按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--paper);
  background: rgba(245, 240, 230, 0.05);
  border: 1px solid rgba(245, 240, 230, 0.3);
  border-radius: 4px 14px 4px 14px;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease);
}

.nav-toggle:hover { border-color: var(--copper-lite); }

.nav-toggle__glyph {
  position: relative;
  width: 16px;
  height: 10px;
  flex: none;
}

.nav-toggle__glyph::before,
.nav-toggle__glyph::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  transition: transform 180ms var(--ease);
}

.nav-toggle__glyph::before { top: 0; }
.nav-toggle__glyph::after { bottom: 0; }

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

/* 索引内容体 */
.rail-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px 20px 8px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(245, 240, 230, 0.24) transparent;
}

.rail-body::-webkit-scrollbar { width: 6px; }
.rail-body::-webkit-scrollbar-thumb { background: rgba(245, 240, 230, 0.22); border-radius: 3px; }

.rail-nav__title,
.rail-lines__title {
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--batch);
  margin-bottom: 10px;
}

.rail-nav__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rail-nav__list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px 9px 12px;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: rgba(245, 240, 230, 0.78);
  border-left: 2px solid transparent;
  border-radius: 3px 12px 3px 12px;
  transition: background-color 180ms var(--ease),
              color 180ms var(--ease),
              transform 180ms var(--ease),
              border-color 180ms var(--ease);
}

.rail-nav__list a::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border: 1px solid var(--ink-3);
  border-radius: 50%;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease);
}

.rail-nav__list a:hover {
  color: var(--paper);
  background: rgba(196, 107, 50, 0.16);
  transform: translateX(2px);
}

.rail-nav__list a:hover::before { border-color: var(--copper-lite); }

.rail-nav__list a[aria-current="page"] {
  color: var(--paper);
  background: linear-gradient(90deg, rgba(196, 107, 50, 0.34) 0%, rgba(196, 107, 50, 0) 100%);
  border-left-color: var(--copper);
}

.rail-nav__list a[aria-current="page"]::before {
  background: var(--copper-lite);
  border-color: var(--copper-lite);
}

/* 三条维护线快捷入口 */
.rail-lines__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.line-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--paper);
  background: rgba(245, 240, 230, 0.03);
  border: 1px solid rgba(245, 240, 230, 0.16);
  border-radius: 4px 16px 4px 16px;
  transition: border-color 180ms var(--ease),
              background-color 180ms var(--ease),
              transform 180ms var(--ease);
}

.line-chip:hover {
  transform: translateY(-2px);
  background: rgba(245, 240, 230, 0.07);
}

.line-chip__bar {
  width: 14px;
  height: 3px;
  flex: none;
  border-radius: 2px;
}

.line-chip--net .line-chip__bar { background: var(--ink-3); }
.line-chip--net:hover { border-color: var(--ink-3); }

.line-chip--warranty .line-chip__bar { background: var(--copper); }
.line-chip--warranty:hover { border-color: var(--copper); }

.line-chip--record .line-chip__bar { background: var(--verify); }
.line-chip--record:hover { border-color: var(--verify-lite); }

/* 索引栏页脚 */
.rail-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(245, 240, 230, 0.12);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.rail-quarter {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.rail-quarter__dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--verify-lite);
  border: 1px solid var(--verify);
}

.rail-quarter__label {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--batch);
}

.rail-quarter__value {
  font-size: 13px;
  color: var(--paper);
}

.rail-foot__code {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--copper-lite);
}

.rail-foot__text {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--batch);
}

/* ---- 6. 页面骨架（导航为边框，内容在其右侧） ---- */
body { padding-left: var(--rail-w); }

.wrap {
  width: min(var(--content-max), 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---- 7. 通用按钮 ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: 4px 18px 4px 18px;
  transition: transform 180ms var(--ease),
              box-shadow 180ms var(--ease),
              background-color 180ms var(--ease),
              border-color 180ms var(--ease),
              color 180ms var(--ease);
}

.btn--copper {
  color: var(--paper);
  background: var(--copper);
  box-shadow: 0 6px 16px rgba(196, 107, 50, 0.24);
}

.btn--copper:hover {
  background: #AE5E2B;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(196, 107, 50, 0.32);
}

.btn--ink {
  color: var(--paper);
  background: var(--ink-2);
  box-shadow: 0 6px 16px rgba(15, 34, 51, 0.22);
}

.btn--ink:hover {
  background: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(15, 34, 51, 0.28);
}

.btn--ghost {
  color: var(--ink-2);
  border-color: rgba(15, 34, 51, 0.28);
  background: transparent;
}

.btn--ghost:hover {
  color: var(--copper);
  border-color: var(--copper);
  transform: translateY(-2px);
}

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

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}

.breadcrumb__list a {
  color: var(--ink-2);
  border-bottom: 1px solid rgba(15, 34, 51, 0.2);
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}

.breadcrumb__list a:hover {
  color: var(--copper);
  border-bottom-color: var(--copper);
}

.breadcrumb__sep {
  font-family: var(--font-num);
  color: var(--batch);
}

/* ---- 9. 档案卡与 bento 网格基础 ---- */
.card {
  position: relative;
  padding: clamp(18px, 2.2vw, 26px);
  background: var(--paper-lite);
  border: 1px solid rgba(15, 34, 51, 0.1);
  border-radius: var(--radius-card);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 34, 51, 0.1);
}

.card--dark {
  color: var(--paper);
  background: var(--ink-2);
  border-color: rgba(245, 240, 230, 0.14);
}

.card--focus {
  background-image: linear-gradient(135deg, #16344E 0%, #2C4C6B 48%, #C46B32 128%);
  color: var(--paper);
  border-color: transparent;
}

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

.grid-bento__focus { grid-column: span 7; }

/* ---- 10. 校准章 ---- */
.seal {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 76px;
  height: 76px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--verify-lite);
  background: rgba(63, 122, 87, 0.08);
  color: var(--verify);
  text-align: center;
}

.seal::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 1px dashed var(--verify-lite);
}

.seal__text {
  font-family: var(--font-num);
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.08em;
}

.seal--pending {
  color: var(--amber);
  border-color: rgba(185, 134, 49, 0.55);
  background: rgba(185, 134, 49, 0.08);
}

.seal--pending::before { border-color: rgba(185, 134, 49, 0.45); }

/* ---- 11. 批次编号条 ---- */
.batch-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 8px;
  border-top: 1px solid rgba(196, 107, 50, 0.55);
  border-bottom: 1px solid rgba(196, 107, 50, 0.55);
}

.batch-bar__label {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--batch);
  white-space: nowrap;
}

.batch-bar__line {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--copper);
}

/* ---- 12. 旁注 ---- */
.note {
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: var(--ink-3);
  background: rgba(44, 76, 107, 0.06);
  border-left: 2px solid var(--ink-3);
  border-radius: 0 12px 12px 0;
}

.note__label {
  display: block;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--batch);
  margin-bottom: 4px;
}

/* ---- 13. 状态标识 ---- */
.state-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: var(--radius-tag);
  border: 1px solid transparent;
}

.state-tag--verified {
  color: var(--verify);
  background: rgba(127, 174, 140, 0.16);
  border-color: var(--verify-lite);
}

.state-tag--pending {
  color: var(--amber);
  background: rgba(185, 134, 49, 0.14);
  border-color: rgba(185, 134, 49, 0.5);
}

/* ---- 14. 图片容器基础规则 ---- */
.figure-frame {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-card);
  background-color: var(--ink-2);
  background-image: linear-gradient(135deg, #16344E 0%, #2C4C6B 48%, #C46B32 128%);
  box-shadow: inset 0 0 0 1px rgba(245, 240, 230, 0.14);
}

.figure-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.figure-frame__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 16px 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--paper);
  background: linear-gradient(180deg, rgba(15, 34, 51, 0) 0%, rgba(15, 34, 51, 0.82) 100%);
}

/* ---- 15. 页脚（一条窄色带收束，不做深色大块） ---- */
.site-footer {
  margin-top: clamp(48px, 8vw, 96px);
  color: var(--ink);
  background: var(--paper-lite);
  border-top: 1px solid rgba(15, 34, 51, 0.12);
}

.footer-strip {
  height: 5px;
  background: linear-gradient(90deg,
    #C46B32 0%,
    #E39A5C 22%,
    #2C4C6B 62%,
    #0F2233 100%);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(0, 2.6fr);
  gap: clamp(24px, 4vw, 56px);
  width: min(var(--content-max), 100%);
  margin-inline: auto;
  padding: clamp(30px, 4.5vw, 48px) var(--gutter) clamp(22px, 3vw, 30px);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-brand__name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--ink);
  line-height: 1.2;
}

.footer-brand__kicker {
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
}

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

.footer-group__title {
  padding-bottom: 8px;
  margin-bottom: 12px;
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  border-bottom: 1px solid rgba(15, 34, 51, 0.12);
}

.footer-group__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-group__list a {
  display: inline-block;
  padding: 4px 0;
  font-size: 15px;
  color: var(--ink-2);
  border-bottom: 1px solid transparent;
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}

.footer-group__list a:hover {
  color: var(--copper);
  border-bottom-color: var(--copper);
}

.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(15, 34, 51, 0.14);
}

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

.footer-contact__address {
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  max-width: 34ch;
}

.footer-note {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-3);
  text-align: right;
}

/* 一键复制 */
.copy-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  background: transparent;
  border: 1px dashed rgba(15, 34, 51, 0.3);
  border-radius: var(--radius-tag);
  transition: color 180ms var(--ease),
              border-color 180ms var(--ease),
              background-color 180ms var(--ease);
}

.copy-chip::after {
  content: "复制";
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--batch);
}

.copy-chip:hover {
  color: var(--copper);
  border-color: var(--copper);
  background: rgba(196, 107, 50, 0.06);
}

.copy-chip[data-copied] {
  color: var(--verify);
  border-color: var(--verify-lite);
  background: rgba(127, 174, 140, 0.14);
}

.copy-chip[data-copied]::after {
  content: "已复制";
  color: var(--verify);
}

/* ---- 16. 条目落位 ---- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 240ms var(--ease), transform 240ms var(--ease);
}

html.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ---- 17. 响应式 ---- */
@media (max-width: 1100px) and (min-width: 920px) {
  :root { --rail-w: 224px; }
  .rail-body { padding-inline: 16px; }
  .rail-head { padding-inline: 16px; }
  .rail-foot { padding-inline: 0; }
}

@media (max-width: 919px) {
  :root { --gutter: clamp(16px, 5vw, 28px); }

  body {
    padding-left: 0;
    padding-top: var(--rail-h-mobile);
  }

  .site-rail {
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    padding: 0;
    overflow: visible;
    border-right: 0;
    border-bottom: 1px solid rgba(245, 240, 230, 0.18);
  }

  .rail-track { display: none; }

  .rail-head {
    height: var(--rail-h-mobile);
    padding: 0 16px;
    border-bottom: 0;
  }

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

  .rail-body {
    max-height: 0;
    overflow: hidden;
    gap: 14px;
    padding: 0 16px;
    transition: max-height 220ms var(--ease), padding 220ms var(--ease);
  }

  .site-rail[data-open] .rail-body {
    max-height: calc(100vh - var(--rail-h-mobile));
    overflow-y: auto;
    padding: 8px 16px 24px;
    border-top: 1px solid rgba(245, 240, 230, 0.12);
  }

  .rail-foot { margin-top: 6px; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-groups {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

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

  .grid-bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .grid-bento__focus { grid-column: span 6; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }

  .brand__word { font-size: 20px; letter-spacing: 0.16em; }

  .footer-groups { grid-template-columns: 1fr; gap: 20px; }

  .footer-contact { flex-direction: column; align-items: flex-start; }
}

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

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

  .rail-track__fill { transition: none; }

  .card:hover,
  .btn:hover,
  .line-chip:hover {
    transform: none;
  }
}
