/* =================================================================
   大红鹰CN官方品牌站 — /assets/site.css
   共享外壳：reset / tokens / 中文排版 / 页头 / 页脚 / 按钮 /
   面包屑 / 容器 / 网格 / 基础组件
   目录型内容地图 · 双层信息导航 · 非对称斜向构图
   ================================================================= */

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--graphite);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg,
video { max-width: 100%; }
img { height: auto; border: 0; }

[hidden] { display: none !important; }

button { font: inherit; color: inherit; }

/* ---------- 2. 设计令牌 ---------- */
:root {
  /* 色彩：米白 55% / 深红 25% / 暗金 10% / 青蓝与中性 < 10% */
  --eagle-red: #8E1B22;
  --eagle-red-deep: #5C0F16;
  --gold: #B9893A;
  --gold-bright: #E3B65C;
  --paper: #F5F1E8;
  --paper-warm: #EDE7DB;
  --cool-gray: #C9CDD2;
  --graphite: #17181C;
  --ink-soft: #4A4F58;
  --state-blue: #2E8FA6;
  --state-blue-soft: #E4F1F4;

  /* 结构 */
  --shell: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --head-h-top: 48px;
  --head-h-main: 64px;
  --head-h: 112px;
  --head-h-sm: 64px;

  --radius: 18px;
  --radius-lg: 30px;
  --skew: -18deg;

  /* 字体 */
  --font-head: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC",
    "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas,
    "Courier New", monospace;
}

/* ---------- 3. 中文排版与基础元素 ---------- */
h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.03em;
  color: var(--graphite);
}

h1 { font-size: clamp(38px, 6vw, 76px); letter-spacing: -0.045em; }
h2 { font-size: clamp(27px, 3.4vw, 44px); }
h3 { font-size: clamp(20px, 2.1vw, 26px); letter-spacing: -0.02em; }
h4 { font-size: 18px; letter-spacing: -0.01em; }

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

a { color: var(--eagle-red); text-decoration: none; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }

strong, b { font-weight: 700; color: var(--graphite); }

code, kbd, samp { font-family: var(--font-mono); font-size: 0.92em; }

hr {
  border: 0;
  height: 1px;
  background: rgba(23, 24, 28, 0.12);
  margin: clamp(32px, 5vw, 64px) 0;
}

::selection { background: var(--eagle-red); color: var(--paper); }

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

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- 4. 焦点可见 ---------- */
:focus-visible {
  outline: 2px solid var(--eagle-red);
  outline-offset: 3px;
  border-radius: 3px;
}

.site-head__top :focus-visible,
.site-foot :focus-visible {
  outline-color: var(--gold-bright);
}

/* ---------- 5. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  left: clamp(12px, 3vw, 28px);
  top: -80px;
  z-index: 200;
  padding: 10px 20px;
  background: var(--graphite);
  color: var(--paper);
  font-size: 14px;
  letter-spacing: 0.06em;
  border-radius: 0 0 14px 14px;
  transition: top 0.22s ease;
}

.skip-link:focus {
  top: 0;
  outline-offset: 0;
}

/* ---------- 6. 顶部阅读进度 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 140;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--eagle-red) 0%, var(--gold) 62%, var(--gold-bright) 100%);
  pointer-events: none;
}

/* ---------- 7. 页头 ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 120;
  background: var(--paper);
  border-bottom: 1px solid rgba(23, 24, 28, 0.1);
}

/* 7.1 上层品牌条 */
.site-head__top {
  background: var(--eagle-red-deep);
  color: rgba(245, 241, 232, 0.86);
  border-bottom: 1px solid rgba(227, 182, 92, 0.32);
}

.site-head__top-inner {
  height: var(--head-h-top);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-head__brandline {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 13px;
  letter-spacing: 0.06em;
}

.site-head__motto {
  color: var(--gold-bright);
  font-weight: 700;
  letter-spacing: 0.24em;
  white-space: nowrap;
}

.site-head__divider {
  width: 30px;
  height: 1px;
  flex: 0 0 auto;
  background: rgba(227, 182, 92, 0.6);
  transform: skewX(-30deg);
}

.site-head__cn {
  color: rgba(245, 241, 232, 0.55);
  font-size: 12px;
  letter-spacing: 0.16em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 7.2 工具导航 */
.utility-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.utility-nav__link {
  position: relative;
  display: inline-block;
  padding: 6px 13px;
  font-size: 13px;
  letter-spacing: 0.09em;
  color: rgba(245, 241, 232, 0.78);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.utility-nav__link::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 2px;
  height: 1px;
  background: var(--gold-bright);
  transform: scaleX(0) skewX(var(--skew));
  transform-origin: 0 50%;
  transition: transform 0.24s ease;
}

.utility-nav__link:hover,
.utility-nav__link:focus-visible { color: #FFFFFF; }

.utility-nav__link:hover::after,
.utility-nav__link:focus-visible::after { transform: scaleX(1) skewX(var(--skew)); }

/* 7.3 主栏目条 */
.site-head__main-inner {
  height: var(--head-h-main);
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
}

/* 7.4 品牌标识 */
.brand-mark {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  color: var(--graphite);
  text-decoration: none;
}

.brand-mark__glyph {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  background:
    linear-gradient(138deg,
      var(--eagle-red) 0%,
      var(--eagle-red) 54%,
      var(--gold) 54%,
      var(--gold-bright) 100%);
  clip-path: polygon(0 0, 100% 22%, 76% 100%, 0 78%);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.brand-mark:hover .brand-mark__glyph {
  transform: translateX(3px) skewX(-6deg);
}

.brand-mark__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-mark__name {
  font-family: var(--font-head);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--graphite);
}

.brand-mark__sub {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.26em;
  color: var(--gold);
}

/* 7.5 主导航 */
.site-nav { margin-left: auto; }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__link {
  position: relative;
  display: block;
  padding: 10px 15px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 6px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0) skewX(var(--skew));
  transform-origin: 0 50%;
  transition: transform 0.26s ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible { color: var(--graphite); }

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after { transform: scaleX(1) skewX(var(--skew)); }

.site-nav__link[aria-current="page"] {
  color: var(--eagle-red);
  font-weight: 700;
}

.site-nav__link[aria-current="page"]::after {
  background: var(--eagle-red);
  transform: scaleX(1) skewX(var(--skew));
}

/* 7.6 移动目录按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border: 1px solid rgba(23, 24, 28, 0.18);
  border-radius: 999px;
  background: transparent;
  color: var(--graphite);
  font-size: 13px;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.nav-toggle:hover { border-color: var(--gold); background: rgba(185, 137, 58, 0.08); }

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  width: 16px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  background: var(--eagle-red);
  transform-origin: 50% 50%;
  transition: transform 0.24s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child {
  transform: translateY(3.5px) rotate(45deg) scaleX(1.1);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child {
  transform: translateY(-3.5px) rotate(-45deg) scaleX(1.1);
}

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 12px 24px;
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  color: var(--paper);
  background: var(--eagle-red);
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 100%, 0 100%);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn:hover { background: var(--eagle-red-deep); transform: translateX(2px); }
.btn:active { transform: translateX(0); }

.btn--enter::before {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--gold-bright);
  transform: skewX(-30deg);
}

.btn--ghost {
  background: var(--paper);
  color: var(--eagle-red);
  box-shadow: inset 0 0 0 1.5px rgba(142, 27, 34, 0.45);
}

.btn--ghost:hover {
  background: var(--paper-warm);
  color: var(--eagle-red-deep);
}

/* ---------- 9. 页脚 ---------- */
.site-foot {
  position: relative;
  margin-top: clamp(64px, 9vw, 140px);
  background: var(--eagle-red-deep);
  color: rgba(245, 241, 232, 0.8);
  overflow: hidden;
}

.site-foot::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    115deg,
    rgba(227, 182, 92, 0.075) 0 1px,
    transparent 1px 28px
  );
}

.site-foot__edge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    var(--gold-bright) 0%,
    var(--gold) 42%,
    rgba(227, 182, 92, 0.12) 100%);
}

.site-foot__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) minmax(0, 1.9fr) minmax(230px, 1.05fr);
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(48px, 6vw, 84px) clamp(36px, 4vw, 58px);
}

.site-foot__wordmark {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-size: clamp(30px, 3.8vw, 42px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--paper);
}

.site-foot__tagline {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
}

.site-foot__cue {
  margin: 18px 0 0;
  max-width: 32ch;
  font-size: 13.5px;
  line-height: 1.85;
  color: rgba(245, 241, 232, 0.6);
}

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

.site-foot__col-title {
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(227, 182, 92, 0.28);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.site-foot__list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-foot__link {
  position: relative;
  display: inline-block;
  padding-left: 16px;
  font-size: 14.5px;
  color: rgba(245, 241, 232, 0.78);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.site-foot__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 8px;
  height: 1.5px;
  background: var(--gold);
  transform: skewX(-30deg);
  transition: width 0.2s ease, background-color 0.2s ease;
}

.site-foot__link:hover {
  color: var(--paper);
  padding-left: 21px;
}

.site-foot__link:hover::before {
  width: 13px;
  background: var(--gold-bright);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 0;
}

.contact-list__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
}

.contact-list dt {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--gold);
  white-space: nowrap;
}

.contact-list dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(245, 241, 232, 0.84);
  overflow-wrap: anywhere;
}

.site-foot__legal {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(245, 241, 232, 0.14);
  background: rgba(23, 24, 28, 0.24);
}

.site-foot__legal-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  padding-block: 18px;
  font-size: 12.5px;
  color: rgba(245, 241, 232, 0.58);
}

.site-foot__legal-inner p { margin: 0; }

.site-foot__icp {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

.site-foot__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.site-foot__legal-links a {
  color: rgba(245, 241, 232, 0.72);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-foot__legal-links a:hover {
  color: var(--gold-bright);
  border-bottom-color: rgba(227, 182, 92, 0.5);
}

.to-top {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px;
  background: transparent;
  border: 1px solid rgba(227, 182, 92, 0.35);
  border-radius: 999px;
  color: rgba(245, 241, 232, 0.72);
  font-size: 12px;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.to-top:hover {
  color: var(--paper);
  border-color: var(--gold-bright);
  background: rgba(227, 182, 92, 0.14);
}

.to-top__mark {
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-left: 1.5px solid currentColor;
  transform: rotate(45deg) translate(1px, 1px);
}

/* ---------- 10. 面包屑 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 clamp(20px, 3vw, 34px);
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}

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

.crumbs li + li::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--gold);
  transform: skewX(-30deg);
}

.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--eagle-red); }
.crumbs [aria-current="page"] { color: var(--eagle-red); }

/* ---------- 11. 正文容器与页面头部 ---------- */
.prose {
  max-width: 40em;
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.prose h2,
.prose h3 { color: var(--graphite); margin-top: 1.6em; }

.prose a {
  color: var(--eagle-red);
  border-bottom: 1px solid rgba(142, 27, 34, 0.38);
}

.prose a:hover { border-bottom-color: var(--eagle-red); }

.lede {
  max-width: 44em;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.8;
  color: var(--ink-soft);
}

.page-head {
  position: relative;
  padding-block: clamp(40px, 6vw, 88px) clamp(28px, 4vw, 52px);
}

.page-head__eyebrow {
  display: block;
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--gold);
}

.page-head__title {
  margin: 0 0 0.5em;
  max-width: 20em;
}

.page-head__lede {
  margin: 0;
  max-width: 40em;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.85;
  color: var(--ink-soft);
}

/* ---------- 12. 章节头 ---------- */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 20px;
  margin: 0 0 clamp(22px, 3vw, 36px);
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(23, 24, 28, 0.12);
}

.section-head__index {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--eagle-red);
}

.section-head__title {
  margin: 0;
  font-size: clamp(24px, 2.8vw, 36px);
}

.section-head__aside {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
}

/* ---------- 13. 旁注 / 标签 / 面板 / 指标 ---------- */
.annot {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gold);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.annot--tilt {
  writing-mode: horizontal-tb;
  transform: rotate(-7deg);
  transform-origin: 0 50%;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  line-height: 1.6;
  color: var(--gold);
  background: rgba(185, 137, 58, 0.12);
}

.tag--gold {
  color: var(--eagle-red-deep);
  background: rgba(227, 182, 92, 0.35);
}

.tag--state {
  color: var(--state-blue);
  background: var(--state-blue-soft);
}

.tag--muted {
  color: var(--ink-soft);
  background: rgba(201, 205, 210, 0.42);
}

.panel {
  padding: clamp(22px, 3vw, 38px);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.45);
}

.panel--warm { background: var(--paper-warm); border-radius: var(--radius-lg); }

.panel--ink {
  background: var(--graphite);
  color: rgba(245, 241, 232, 0.86);
}

.panel--ink h2,
.panel--ink h3 { color: var(--paper); }

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

.stat__value {
  font-family: var(--font-mono);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--eagle-red);
}

.stat__label {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}

/* ---------- 14. 网格 ---------- */
.grid {
  display: grid;
  gap: clamp(20px, 3vw, 44px);
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, 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); }

/* ---------- 15. 台账表格 ---------- */
.ledger {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.ledger caption {
  caption-side: top;
  text-align: left;
  padding-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.ledger th,
.ledger td {
  padding: 13px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(23, 24, 28, 0.1);
  vertical-align: top;
}

.ledger thead th {
  background: var(--paper-warm);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  border-bottom-color: rgba(23, 24, 28, 0.18);
}

.ledger tbody tr:hover { background: rgba(227, 182, 92, 0.09); }

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

.ledger .num { text-align: right; }

/* ---------- 16. 图片容器基类 ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--paper-warm);
  border-radius: var(--radius-lg);
}

.media__frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.media__frame img,
.media__frame > * {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media--wide .media__frame { aspect-ratio: 16 / 9; }
.media--tall .media__frame { aspect-ratio: 3 / 4; }
.media--band .media__frame { aspect-ratio: 21 / 9; }

.media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 38%;
  background: linear-gradient(180deg, rgba(23, 24, 28, 0) 0%, rgba(23, 24, 28, 0.55) 100%);
  pointer-events: none;
}

.media--plain::after { display: none; }

.media__caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: rgba(245, 241, 232, 0.9);
}

/* ---------- 17. 滚动显现（JS 加 .has-reveal 后启用） ---------- */
html.has-reveal [data-reveal] {
  opacity: 0;
  transform: translate3d(-16px, 18px, 0);
  transition: opacity 0.62s ease, transform 0.62s cubic-bezier(0.2, 0.7, 0.3, 1);
}

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

/* ---------- 18. 响应式 ---------- */
@media (max-width: 1200px) {
  .site-head__cn { display: none; }
}

@media (max-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .site-foot__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .site-foot__brand { grid-column: 1 / -1; }
  .site-foot__contact { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  /* 抽屉式目录 */
  .site-head__top { display: none; }

  .site-head__main-inner { height: var(--head-h-sm); }

  .nav-toggle { display: inline-flex; margin-left: auto; }

  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--head-h-sm);
    margin: 0;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    background: var(--paper);
    border-bottom: 1px solid rgba(23, 24, 28, 0.12);
    box-shadow: 0 30px 46px -34px rgba(23, 24, 28, 0.75);
    transition: max-height 0.34s ease, visibility 0.34s ease;
  }

  .site-nav[data-open="true"] {
    max-height: min(74vh, 560px);
    overflow-y: auto;
    visibility: visible;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 0 20px;
  }

  .site-nav__item { border-bottom: 1px solid rgba(23, 24, 28, 0.08); }
  .site-nav__item:last-child { border-bottom: 0; }

  .site-nav__link {
    padding: 16px var(--gutter);
    font-size: 17px;
    font-weight: 600;
    color: var(--graphite);
  }

  .site-nav__link::after {
    left: var(--gutter);
    right: auto;
    width: 28px;
    bottom: 13px;
  }

  .site-nav__link[aria-current="page"] { color: var(--eagle-red); }
}

@media (max-width: 900px) {
  .grid--2,
  .grid--7-5,
  .grid--5-7,
  .grid--3 { grid-template-columns: minmax(0, 1fr); }
}

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

  .brand-mark__name { font-size: 20px; }
  .brand-mark__sub { font-size: 8.5px; letter-spacing: 0.2em; }

  .btn { padding: 11px 16px; font-size: 13px; letter-spacing: 0.04em; }
  .btn--enter::before { display: none; }

  .nav-toggle { padding: 8px 13px; font-size: 12px; letter-spacing: 0.1em; }

  .site-foot__inner { grid-template-columns: minmax(0, 1fr); }
  .site-foot__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-foot__brand,
  .site-foot__contact { grid-column: auto; }

  .site-foot__legal-inner { justify-content: flex-start; }
  .to-top { margin-left: 0; }

  .media__frame { aspect-ratio: 3 / 2; }
  .media--band .media__frame { aspect-ratio: 16 / 9; }
}

@media (max-width: 420px) {
  .site-foot__nav { grid-template-columns: minmax(0, 1fr); }
  .nav-toggle__label { display: none; }
}

/* ---------- 19. 降低动效 ---------- */
@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.has-reveal [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
