/* ==========================================================================
   新利 CN · 共享站点样式 /assets/site.css
   设计语言：海报式分层 + 侧边轨道 + 档案夹隐喻 + 边地赛场配色
   ========================================================================== */

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

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

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

ul[class],
ol[class] {
  list-style: none;
  padding-left: 0;
}

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

img {
  height: auto;
}

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

button {
  cursor: pointer;
}

a {
  color: inherit;
}

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

/* ---------- 2. 设计变量 ---------- */
:root {
  /* 色板 */
  --ink: #0B0F0E;
  --white: #FFFFFF;
  --cyan: #C9E4E0;
  --sand: #E8D8BE;
  --coral: #FF5A36;
  --blue: #1E6BFF;
  --forest: #123C33;
  --gray: #55635F;
  --gold: #B98A4A;

  /* 字体 */
  --font-sans: "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", ui-monospace,
    SFMono-Regular, Menlo, Consolas, monospace;

  /* 尺度 */
  --rail-w: 88px;
  --header-h: 64px;
  --maxw: 1440px;
  --gutter: 32px;
  --bd: 3px;

  /* 阴影 */
  --shadow-hard: 6px 6px 0 var(--ink);
  --shadow-blue: 5px 5px 0 var(--blue);

  /* 动效 */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: 200ms;
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  padding-left: var(--rail-w);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--ink);
  background-color: var(--cyan);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(32px, 4.8vw, 72px); }
h2 { font-size: clamp(26px, 3.4vw, 48px); }
h3 { font-size: clamp(20px, 2.2vw, 30px); }

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

strong, b {
  font-weight: 700;
}

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

.vnote {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  line-height: 1.4;
  color: var(--gray);
}

/* ---------- 4. 焦点与跳转 ---------- */
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.site-rail :focus-visible,
.site-footer :focus-visible,
.brand-lockup:focus-visible {
  outline-color: var(--coral);
}

.skip-link {
  position: fixed;
  top: -130px;
  left: calc(var(--rail-w) + 16px);
  z-index: 300;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  background-color: var(--coral);
  border: var(--bd) solid var(--ink);
  box-shadow: var(--shadow-hard);
  text-decoration: none;
  transition: top var(--dur) var(--ease);
}

.skip-link:focus {
  top: 12px;
}

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

.section {
  padding-block: clamp(48px, 6vw, 88px);
}

.section--ink {
  background-color: var(--ink);
  color: var(--white);
}

.section--sand {
  background-color: var(--sand);
}

.section--forest {
  background-color: var(--forest);
  color: var(--white);
}

.grid {
  display: grid;
  gap: 24px;
}

.grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.grid--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.grid--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.grid--8-4 { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }

/* ---------- 6. 通用组件 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .02em;
  text-decoration: none;
  color: var(--ink);
  background-color: var(--sand);
  border: var(--bd) solid var(--ink);
  box-shadow: var(--shadow-hard);
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--ink);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

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

.btn--ink {
  background-color: var(--ink);
  color: var(--white);
  box-shadow: 5px 5px 0 var(--coral);
}

.btn--ink:hover { box-shadow: 8px 8px 0 var(--coral); }

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

.btn--ghost:hover {
  transform: none;
  background-color: var(--sand);
  box-shadow: 4px 4px 0 var(--ink);
}

.tag {
  display: inline-block;
  padding: 2px 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.8;
  text-transform: uppercase;
  color: var(--ink);
  background-color: var(--sand);
  border: 2px solid var(--ink);
}

.tag--coral { background-color: var(--coral); }
.tag--blue { background-color: var(--blue); color: var(--white); border-color: var(--white); }
.tag--forest { background-color: var(--forest); color: var(--white); border-color: var(--white); }

.panel {
  padding: clamp(18px, 2.4vw, 32px);
  background-color: var(--white);
  border: var(--bd) solid var(--ink);
  box-shadow: var(--shadow-hard);
}

.panel--sand { background-color: var(--sand); }

.panel--forest {
  background-color: var(--forest);
  color: var(--white);
  border-color: var(--ink);
}

.data-panel {
  padding: clamp(18px, 2.4vw, 32px);
  font-variant-numeric: tabular-nums;
  color: var(--white);
  background-color: var(--forest);
  border: var(--bd) solid var(--ink);
  box-shadow: var(--shadow-hard);
}

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--gray);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.breadcrumb li + li::before {
  content: "/";
  color: var(--gold);
  font-weight: 700;
}

.breadcrumb a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease);
}

.breadcrumb a:hover {
  border-bottom-color: var(--blue);
}

/* ---------- 7. 图片容器基础规则 ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background-color: var(--sand);
  border: var(--bd) solid var(--ink);
  box-shadow: var(--shadow-hard);
}

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

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

.media--tint img {
  filter: grayscale(1) contrast(1.06);
}

.media--tint::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--cyan);
  mix-blend-mode: multiply;
  opacity: .38;
  pointer-events: none;
}

.media__tag {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--ink);
  background-color: var(--coral);
  border-top: var(--bd) solid var(--ink);
  border-right: var(--bd) solid var(--ink);
}

/* ---------- 8. 侧边轨道头部 ---------- */
.site-header {
  position: relative;
  z-index: 100;
}

.site-rail {
  position: fixed;
  top: 0;
  right: auto;
  bottom: 0;
  left: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: var(--rail-w);
  padding: 20px 0 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  color: var(--white);
  background-color: var(--ink);
}

.site-rail::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.rail-head {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 0 6px;
  text-align: center;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--white);
}

.brand-cn {
  writing-mode: vertical-rl;
  text-orientation: upright;
  padding: 10px 6px;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .1em;
  color: var(--ink);
  background-color: var(--coral);
  border: var(--bd) solid var(--white);
  box-shadow: 4px 4px 0 var(--blue);
}

.brand-suffix {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24em;
  color: var(--gold);
}

.brand-subline {
  width: 72px;
  margin: 0;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .58);
}

.rail-status {
  max-width: 100%;
  margin: 0;
  padding: 5px 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .04em;
  color: var(--cyan);
  border: 1px solid rgba(201, 228, 224, .35);
  border-left: 3px solid var(--coral);
}

.rail-nav {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-height: 0;
}

.rail-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rail-item {
  width: 100%;
}

.rail-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 100%;
  padding: 10px 4px;
  text-decoration: none;
  color: rgba(255, 255, 255, .74);
  border-left: 3px solid transparent;
  transition: color var(--dur) var(--ease),
              background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

.rail-link .rail-index {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--gold);
  transition: color var(--dur) var(--ease);
}

.rail-link .rail-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.35;
}

.rail-link:hover {
  color: var(--white);
  background-color: rgba(201, 228, 224, .14);
}

.rail-link[aria-current="page"] {
  color: var(--ink);
  background-color: var(--coral);
  border-left-color: var(--white);
}

.rail-link[aria-current="page"] .rail-index {
  color: var(--ink);
}

.rail-link[aria-current="page"]:hover {
  color: var(--ink);
  background-color: var(--coral);
}

.rail-foot {
  display: flex;
  flex: 0 0 auto;
  justify-content: center;
  width: 100%;
}

.rail-cta {
  display: block;
  width: 58px;
  margin: 0 auto;
  padding: 14px 6px;
  writing-mode: vertical-rl;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-decoration: none;
  color: var(--ink);
  background-color: var(--coral);
  border: var(--bd) solid var(--white);
  box-shadow: 4px 4px 0 var(--blue);
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.rail-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--blue);
}

/* ---------- 9. 抽屉按钮与进度条 ---------- */
.nav-toggle {
  display: none;
}

.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: var(--rail-w);
  z-index: 95;
  height: 4px;
  background-color: transparent;
  pointer-events: none;
}

.scroll-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  background-color: var(--coral);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 80ms linear;
}

/* ---------- 10. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 112px);
  color: var(--cyan);
  background-color: var(--forest);
  border-top: var(--bd) solid var(--ink);
}

.footer-rule {
  height: 10px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--coral) 0 48px,
    var(--ink) 48px 96px
  );
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 56px var(--gutter) 44px;
  border-bottom: 1px solid rgba(201, 228, 224, .2);
}

.footer-brandline {
  margin-bottom: 14px;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 900;
  line-height: 1.3;
  color: var(--white);
}

.footer-summary {
  max-width: 40ch;
  margin-bottom: 22px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(201, 228, 224, .82);
}

.footer-feedback {
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  color: var(--ink);
  background-color: var(--coral);
  border: var(--bd) solid var(--white);
  box-shadow: var(--shadow-blue);
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.footer-feedback:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--blue);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.footer-col-title {
  display: inline-block;
  margin: 0 0 18px;
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: .14em;
  color: var(--ink);
  background-color: var(--sand);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--blue);
}

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

.footer-links li + li {
  margin-top: 10px;
}

.footer-links a {
  display: inline-block;
  font-size: 15px;
  line-height: 1.6;
  text-decoration: none;
  color: rgba(201, 228, 224, .88);
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

.footer-links a:hover {
  color: var(--white);
  border-bottom-color: var(--coral);
}

.footer-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 32px var(--gutter);
  border-bottom: 1px solid rgba(201, 228, 224, .2);
}

.footer-contact-label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  color: var(--gold);
}

.footer-contact-value {
  display: block;
  font-size: 15px;
  line-height: 1.7;
  color: var(--white);
  overflow-wrap: anywhere;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 22px var(--gutter) 30px;
}

.footer-base-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(201, 228, 224, .72);
}

.footer-icp {
  color: var(--cyan);
}

.footer-top-btn {
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--ink);
  background-color: var(--cyan);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--coral);
  transition: transform var(--dur) var(--ease);
}

.footer-top-btn:hover {
  transform: translate(-2px, -2px);
}

/* ---------- 11. 显现 / 筛选状态 ---------- */
[data-reveal] {
  transition: opacity 280ms var(--ease), transform 280ms var(--ease);
}

.js-reveal [data-reveal]:not(.is-revealed) {
  opacity: 0;
  transform: translateY(8px);
}

[data-filter].is-active {
  color: var(--white);
  background-color: var(--blue);
  border-color: var(--blue);
  box-shadow: 4px 4px 0 var(--ink);
}

[data-filter-item].is-filtered-out {
  opacity: .18;
  border-left-color: var(--gray);
}

[data-filter-item] {
  transition: opacity 180ms var(--ease), border-color 180ms var(--ease);
}

/* ---------- 12. 平板 ---------- */
@media (max-width: 1099px) {
  :root {
    --gutter: 26px;
  }

  body {
    font-size: 16px;
    line-height: 1.8;
  }

  .grid--7-5,
  .grid--5-7,
  .grid--8-4 {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-top {
    gap: 36px;
  }
}

/* ---------- 13. 移动端：轨道收进抽屉 ---------- */
@media (max-width: 899px) {
  :root {
    --gutter: 20px;
  }

  body {
    padding-left: 0;
    font-size: 16px;
  }

  body.is-nav-open {
    overflow: hidden;
  }

  .skip-link {
    left: 12px;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 110;
  }

  .site-rail {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    z-index: 105;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    height: var(--header-h);
    padding: 0 66px 0 16px;
    overflow: visible;
    border-bottom: var(--bd) solid var(--ink);
  }

  .rail-head {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 0;
    text-align: left;
  }

  .brand-lockup {
    flex-direction: row;
    gap: 6px;
  }

  .brand-cn {
    writing-mode: horizontal-tb;
    padding: 3px 9px;
    font-size: 16px;
    letter-spacing: .06em;
    border-width: 2px;
    box-shadow: 3px 3px 0 var(--blue);
  }

  .brand-suffix {
    font-size: 10px;
  }

  .brand-subline {
    display: none;
  }

  .rail-status {
    max-width: 44vw;
    padding: 3px 8px;
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 1px solid rgba(201, 228, 224, .35);
    border-left: 3px solid var(--coral);
  }

  .rail-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 106;
    display: block;
    width: auto;
    padding: 12px 16px 130px;
    overflow-y: auto;
    background-color: var(--ink);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity var(--dur) var(--ease),
                transform var(--dur) var(--ease),
                visibility var(--dur) linear;
  }

  .site-rail[data-open] .rail-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .rail-list {
    gap: 0;
  }

  .rail-link {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 14px;
    padding: 15px 12px;
    font-size: 18px;
    border-left: 4px solid transparent;
    border-bottom: 1px solid rgba(201, 228, 224, .16);
    color: rgba(255, 255, 255, .84);
  }

  .rail-link .rail-index {
    font-size: 12px;
    color: var(--gold);
  }

  .rail-link .rail-label {
    font-size: 18px;
  }

  .rail-link:hover {
    background-color: rgba(201, 228, 224, .1);
    color: var(--white);
  }

  .rail-link[aria-current="page"] {
    color: var(--white);
    background-color: rgba(255, 90, 54, .16);
    border-left-color: var(--coral);
  }

  .rail-link[aria-current="page"] .rail-index {
    color: var(--coral);
  }

  .rail-foot {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 107;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background-color: var(--ink);
    border-top: 1px solid rgba(201, 228, 224, .2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity var(--dur) var(--ease),
                transform var(--dur) var(--ease),
                visibility var(--dur) linear;
  }

  .site-rail[data-open] .rail-foot {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .rail-cta {
    display: block;
    width: auto;
    flex: 1 1 auto;
    padding: 11px 14px;
    writing-mode: horizontal-tb;
    font-size: 14px;
    letter-spacing: .08em;
    border-width: 2px;
    box-shadow: 3px 3px 0 var(--blue);
  }

  .nav-toggle {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 120;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--ink);
    background-color: var(--coral);
    border: 2px solid var(--white);
  }

  .nav-toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    background-color: currentColor;
    transition: transform var(--dur) var(--ease),
                opacity var(--dur) var(--ease);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(.4);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .scroll-progress {
    left: 0;
    top: calc(var(--header-h) - 1px);
    height: 3px;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    padding-top: 40px;
    padding-bottom: 34px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }
}

/* ---------- 14. 小屏 ---------- */
@media (max-width: 639px) {
  .footer-nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-base {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .rail-status {
    max-width: 38vw;
  }

  .media {
    aspect-ratio: 4 / 3;
  }
}

/* ---------- 15. 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

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

  .rail-nav,
  .rail-foot,
  .site-rail[data-open] .rail-nav,
  .site-rail[data-open] .rail-foot {
    transform: none;
  }
}
