/* ============================================================
   /assets/site.css — 共享外壳：reset / 变量 / 排版 / 头部 / 页脚 / 基础组件
   ============================================================ */

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

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

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

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

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

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

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

main { display: block; }

:focus-visible {
  outline: 2px solid #2FF0D0;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 2. 变量 ---------- */
:root {
  --ink-900: #0A1226;
  --ink-800: #101C36;
  --ink-700: #17264A;
  --line-500: #2C3E66;
  --mist-300: #9FB0CC;
  --paper-050: #EDE6D6;
  --cyan-400: #2FF0D0;
  --cyan-600: #12A38F;
  --gold-400: #E8B44A;
  --chalk-000: #F7F9FC;

  --font-display: "Noto Sans SC", "HarmonyOS Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", 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", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --rail-w: 88px;
  --bar-h: 68px;
  --pad-x: clamp(18px, 4vw, 64px);
  --shell: 1360px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --pill: 999px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --scroll-progress: 0;
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  padding-top: var(--bar-h);
  background-color: var(--ink-900);
  background-image: radial-gradient(120% 90% at 12% -10%, #16244A 0%, rgba(10, 18, 38, 0) 62%);
  background-repeat: no-repeat;
  color: var(--chalk-000);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

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

h1 { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.06; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: 0; }

p { text-wrap: pretty; }

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

/* ---------- 4. 跳到主内容 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 300;
  transform: translate(-50%, -180%);
  padding: 10px 22px;
  border-radius: var(--pill);
  background: var(--cyan-400);
  color: #06121F;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  transition: transform 0.2s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible { transform: translate(-50%, 0); }

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

/* ---------- 5. 头部框架 ---------- */
.site-header {
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }

.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--bar-h);
  padding-inline: var(--pad-x);
  background: rgba(10, 18, 38, 0.95);
  border-bottom: 1px solid var(--line-500);
  box-shadow: 0 1px 0 rgba(47, 240, 208, 0.1);
}

.header-bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan-400) 0%, var(--gold-400) 100%);
  transform: scaleX(var(--scroll-progress));
  transform-origin: left center;
  transition: transform 0.12s linear;
  pointer-events: none;
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--chalk-000);
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 13px;
  border: 1px solid var(--gold-400);
  background: radial-gradient(120% 120% at 20% 0%, rgba(232, 180, 74, 0.2), transparent 70%);
  color: var(--gold-400);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  transition: color 0.24s var(--ease), border-color 0.24s var(--ease);
}
.brand:hover .brand__mark { color: var(--cyan-400); border-color: var(--cyan-400); }
.brand__type { display: flex; flex-direction: column; line-height: 1.16; min-width: 0; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  transform: scaleX(0.98);
  transform-origin: left center;
  white-space: nowrap;
}
.brand__tag {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  color: var(--mist-300);
  white-space: nowrap;
}

/* 头部右侧 */
.header-meta { display: flex; align-items: center; gap: 12px; }

.count-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--pill);
  border: 1px solid var(--line-500);
  background: rgba(23, 38, 74, 0.6);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--mist-300);
  white-space: nowrap;
}
.count-pill__v {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--gold-400);
}
.count-pill__v sup { font-size: 0.6em; margin-left: 1px; vertical-align: super; }

.header-cta { flex: 0 0 auto; }

/* 目录开关 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--pill);
  border: 1px solid var(--line-500);
  color: var(--chalk-000);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-toggle:hover { border-color: var(--cyan-400); color: var(--cyan-400); }
.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: background-color 0.2s var(--ease);
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.24s var(--ease);
}
.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }
.nav-toggle__text {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
}

/* ---------- 6. 竖向轨道 ---------- */
.rail {
  position: fixed;
  top: var(--bar-h);
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 26px 0 22px;
}

/* 左：导航轨道 */
.rail--nav {
  left: 0;
  width: var(--rail-w);
  border-right: 1px solid var(--line-500);
  background: linear-gradient(180deg, rgba(23, 38, 74, 0.55) 0%, rgba(10, 18, 38, 0.92) 100%);
  overflow-y: auto;
  scrollbar-width: none;
}
.rail--nav::-webkit-scrollbar { display: none; }

.rail__head,
.rail__foot {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.26em;
  color: var(--line-500);
  text-transform: uppercase;
}
.rail__foot { color: rgba(44, 62, 102, 0.85); }

.rail__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-block: auto;
}

.rail__item { width: 100%; }

.rail__link {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 11px 0;
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  color: var(--mist-300);
  transition: color 0.2s var(--ease);
}
.rail__link:hover { color: var(--chalk-000); }

.rail__link::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  right: 2px;
  width: 3px;
  border-radius: 3px;
  background: var(--cyan-400);
  opacity: 0;
  transform: scaleY(0.3);
  transform-origin: center;
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease);
}

.rail__link[aria-current="page"] { color: var(--cyan-400); }
.rail__link[aria-current="page"]::before { opacity: 1; transform: none; }

.rail__num {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.58rem;
  letter-spacing: 0.02em;
  text-orientation: upright;
  color: var(--line-500);
  transition: color 0.2s var(--ease);
}
.rail__link[aria-current="page"] .rail__num { color: var(--gold-400); }

.rail__label { display: block; }

/* 右：进度轨道 */
.rail--track {
  right: 0;
  width: var(--rail-w);
  justify-content: space-between;
  border-left: 1px solid var(--line-500);
  background: linear-gradient(180deg, rgba(23, 38, 74, 0.3) 0%, rgba(10, 18, 38, 0.9) 100%);
}

.rail__scale {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.24em;
  color: var(--line-500);
}

.rail__progress {
  position: relative;
  display: block;
  width: 2px;
  flex: 1 1 auto;
  margin: 12px 0;
  border-radius: 2px;
  background: var(--line-500);
  overflow: hidden;
}
.rail__progress-fill {
  position: absolute;
  inset: 0;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--cyan-400) 0%, var(--gold-400) 100%);
  transform: scaleY(var(--scroll-progress));
  transform-origin: top center;
  transition: transform 0.1s linear;
}

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  padding: 0.66em 1.25em;
  border-radius: var(--pill);
  border: 1px solid var(--line-500);
  background: rgba(23, 38, 74, 0.55);
  color: var(--chalk-000);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  line-height: 1.4;
  letter-spacing: 0.12em;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease),
              background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--gold {
  background: var(--gold-400);
  border-color: var(--gold-400);
  color: #0A1226;
  font-weight: 700;
}
.btn--gold:hover { background: #F2C463; border-color: #F2C463; }

.btn--cyan {
  background: transparent;
  border-color: var(--cyan-400);
  color: var(--cyan-400);
}
.btn--cyan:hover { background: rgba(47, 240, 208, 0.12); }

.btn--ghost {
  background: transparent;
  border-color: var(--line-500);
  color: var(--chalk-000);
}
.btn--ghost:hover { border-color: var(--cyan-400); color: var(--cyan-400); }

/* ---------- 8. 容器 / 网格 / 正文 ---------- */
.wrap {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section { padding-block: clamp(44px, 7vw, 92px); }
.section--tight { padding-block: clamp(26px, 4vw, 52px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cyan-400);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

.prose { max-width: 68ch; }
.prose p + p { margin-top: 1.2em; }
.prose h2, .prose h3 { margin-top: 1.6em; margin-bottom: 0.6em; }
.prose a {
  color: var(--cyan-400);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.prose a:hover { color: var(--gold-400); }
.prose ul, .prose ol { margin: 1.2em 0; padding-left: 1.35em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.4em; }
.prose strong { font-weight: 700; }

.prose--paper { color: var(--ink-900); }
.prose--paper a { color: var(--cyan-600); }
.prose--paper a:hover { color: #0C7A6B; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--mist-300);
}
.breadcrumb a { color: var(--mist-300); transition: color 0.2s var(--ease); }
.breadcrumb a:hover { color: var(--cyan-400); }
.breadcrumb__sep { color: var(--line-500); }
.breadcrumb [aria-current="page"] { color: var(--chalk-000); }

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
}
.grid__main { grid-column: span 7; }
.grid__aside { grid-column: span 3; }
.grid__side { grid-column: span 2; }
.grid__half { grid-column: span 6; }
.grid__full { grid-column: 1 / -1; }

/* ---------- 9. 卡片 / 标签 / 分隔 / 图片容器 ---------- */
.card {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line-500);
  border-radius: var(--r-lg);
  background: var(--ink-800);
}
.card--paper {
  background: var(--paper-050);
  border-color: transparent;
  color: var(--ink-900);
}
.card__label {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan-400);
}
.card--paper .card__label { color: var(--cyan-600); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: var(--pill);
  border: 1px solid var(--line-500);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--mist-300);
}
.tag--gold { border-color: var(--gold-400); color: var(--gold-400); }
.tag--cyan { border-color: var(--cyan-400); color: var(--cyan-400); }

.rule {
  position: relative;
  height: 1px;
  border: 0;
  margin-block: clamp(24px, 4vw, 48px);
  background: var(--line-500);
}
.rule::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 44px;
  height: 5px;
  border-radius: 3px;
  background: var(--gold-400);
}

.media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line-500);
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, var(--ink-700) 0%, var(--ink-800) 55%, #0B152B 100%);
}
.media > img,
.media > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 18, 38, 0) 42%, rgba(10, 18, 38, 0.68) 100%);
}
.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }

.media__caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--mist-300);
}

/* ---------- 10. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 9vw, 120px);
  border-top: 1px solid var(--line-500);
  background: linear-gradient(180deg, var(--ink-800) 0%, var(--ink-900) 74%);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-400) 0%, var(--cyan-400) 42%, rgba(47, 240, 208, 0) 82%);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 0.9fr 1.3fr;
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(38px, 6vw, 72px) clamp(26px, 4vw, 44px);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.footer-brand__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--gold-400);
  background: radial-gradient(120% 120% at 20% 0%, rgba(232, 180, 74, 0.18), transparent 70%);
  color: var(--gold-400);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}
.footer-brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
}
.footer-brand__note {
  max-width: 30ch;
  color: var(--mist-300);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-col__title {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--mist-300);
}
.footer-col__list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-col--reach .footer-col__list { gap: 13px; }

.footer-link {
  color: var(--chalk-000);
  font-size: 0.95rem;
  transition: color 0.2s var(--ease);
}
.footer-link:hover { color: var(--cyan-400); }

.copy-btn {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 3px 0;
  border-bottom: 1px dashed var(--line-500);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--chalk-000);
  text-align: left;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.copy-btn:hover { color: var(--cyan-400); border-bottom-color: var(--cyan-400); }
.copy-btn[data-copied="true"] { color: var(--gold-400); border-bottom-color: var(--gold-400); }
.copy-btn__label { display: inline-block; word-break: break-all; }

.footer-addr {
  display: block;
  max-width: 30ch;
  color: var(--mist-300);
  font-size: 0.88rem;
  line-height: 1.65;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 26px;
  padding-block: 20px 28px;
  border-top: 1px solid var(--line-500);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--mist-300);
}
.footer-base__legal { display: inline-flex; align-items: center; gap: 10px; }
.footer-base .footer-link {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--mist-300);
}
.footer-base .footer-link:hover { color: var(--cyan-400); }
.footer-base__sep { color: var(--line-500); }
.footer-base__copy { color: var(--mist-300); }
.footer-base__icp { color: var(--mist-300); }

/* ---------- 11. 动效协议 ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.36s var(--ease), transform 0.36s var(--ease);
  transition-delay: calc(var(--i, 0) * 60ms);
}
html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 12. 断点 ---------- */
@media (max-width: 1200px) {
  :root { --rail-w: 80px; }
  .rail__link { font-size: 0.8rem; letter-spacing: 0.1em; }
  .footer-inner { grid-template-columns: 1.3fr 0.9fr 0.9fr 1.2fr; }
}

@media (min-width: 901px) {
  body { padding-left: var(--rail-w); padding-right: var(--rail-w); }
  .header-bar {
    padding-left: calc(var(--rail-w) + var(--pad-x));
    padding-right: calc(var(--rail-w) + var(--pad-x));
  }
}

@media (max-width: 1100px) {
  .grid__main { grid-column: span 8; }
  .grid__aside { grid-column: span 4; }
  .grid__side { grid-column: 1 / -1; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root {
    --rail-w: 0px;
    --bar-h: 62px;
    --pad-x: clamp(16px, 5vw, 32px);
  }

  body { padding-left: 0; padding-right: 0; }

  .header-bar { padding-inline: var(--pad-x); }

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

  .rail--track { display: none; }

  .rail--nav {
    top: var(--bar-h);
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    z-index: 110;
    padding: 14px var(--pad-x) 30px;
    border-right: 0;
    border-top: 1px solid var(--line-500);
    background: linear-gradient(180deg, #0B152A 0%, #0A1226 100%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s linear;
  }
  .rail--nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .rail__head {
    writing-mode: horizontal-tb;
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    color: var(--mist-300);
    margin-bottom: 4px;
  }

  .rail__list {
    width: 100%;
    gap: 0;
    margin-block: 0;
  }
  .rail__item {
    width: 100%;
    border-bottom: 1px solid var(--line-500);
  }
  .rail__item:first-child { border-top: 1px solid var(--line-500); }

  .rail__link {
    writing-mode: horizontal-tb;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding: 15px 8px;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
  }
  .rail__link::before {
    top: 10px;
    bottom: 10px;
    left: 0;
    right: auto;
    transform: scaleY(0.3);
  }
  .rail__num {
    text-orientation: initial;
    font-size: 0.72rem;
    color: var(--mist-300);
  }

  .rail__foot {
    writing-mode: horizontal-tb;
    margin-top: auto;
    padding-top: 22px;
    font-size: 0.6rem;
    letter-spacing: 0.3em;
  }

  body.nav-open { overflow: hidden; }

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

@media (max-width: 640px) {
  .header-cta { display: none; }
  .count-pill { padding: 5px 11px; gap: 6px; }
  .count-pill__k { display: none; }
  .brand__tag { display: none; }
  .brand__mark { width: 36px; height: 36px; border-radius: 12px; font-size: 0.66rem; }

  .grid { grid-template-columns: 1fr; }
  .grid__main,
  .grid__aside,
  .grid__side,
  .grid__half,
  .grid__full { grid-column: 1 / -1; }

  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer-base { flex-direction: column; align-items: flex-start; gap: 8px; }
  .media--wide { aspect-ratio: 16 / 10; }
}

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

  html.js [data-reveal] {
    opacity: 1;
    transform: none;
    transition-delay: 0ms !important;
  }

  .rail--nav {
    transition: none;
  }
  .rail__progress-fill {
    transition: none;
    background: var(--gold-400);
  }
  .btn:hover { transform: none; }
}
