/* ==========================================================================
   君临国际 · 中文主站 V4 — 共享样式 /assets/site.css
   夜间决策大厅：墨黑墙、深炭板、石墨缝、鎏金点火、朱砂警示
   ========================================================================== */

/* 1. 变量 ------------------------------------------------------------------ */
:root {
  --ink: #0B0C0E;
  --ink-deep: #07080A;
  --panel: #16181C;
  --panel-lift: #1B1E23;
  --line: #2C3138;
  --line-soft: rgba(195, 201, 208, 0.12);
  --silver: #C3C9D0;
  --mist: #8A939C;
  --gold: #C9A24B;
  --gold-hi: #E7CE8C;
  --cinnabar: #B23A2C;
  --cyan: #6E8C8A;
  --paper: #F3EFE6;

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

  --maxw: 1320px;
  --gutter: 72px;
  --panel-pad: 40px;
  --radius: 2px;
  --shadow-soft: 0 6px 22px rgba(0, 0, 0, 0.45);
  --shadow-deep: 0 24px 56px rgba(0, 0, 0, 0.6);
}

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

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

body {
  margin: 0;
  background-color: var(--ink);
  background-image: radial-gradient(120% 80% at 82% -10%, rgba(201, 162, 75, 0.07), transparent 60%);
  color: var(--silver);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.6em;
  font-family: var(--serif);
  color: var(--paper);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.14;
}

h1 { font-size: clamp(2.75rem, 6vw, 7rem); font-weight: 900; }
h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }

p { margin: 0 0 1.1em; max-width: 68ch; }

a { color: var(--gold-hi); text-decoration: none; transition: color 180ms ease, border-color 180ms ease; }
a:hover { color: var(--gold); }

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

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

button { font: inherit; color: inherit; }

hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

::selection { background: rgba(201, 162, 75, 0.32); color: var(--paper); }

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

/* 3. 排版工具类 ----------------------------------------------------------- */
.label {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
  line-height: 1.5;
}

.section-index {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 18px;
}

.vertical-note {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--serif);
  font-size: 12.5px;
  letter-spacing: 0.34em;
  color: var(--mist);
  line-height: 1;
  padding-top: 6px;
}

.lead {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.7;
  color: var(--silver);
  max-width: 34ch;
}

.rule {
  height: 1px;
  width: 100%;
  border: 0;
  background: linear-gradient(90deg, var(--line), rgba(44, 49, 56, 0));
  margin: 32px 0;
}

/* 4. 布局 ----------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.col-1 { grid-column: span 1; }
.col-2 { grid-column: span 2; }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }
.col-10 { grid-column: span 10; }
.col-11 { grid-column: span 11; }
.col-12 { grid-column: span 12; }

.panel {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--panel-pad);
  box-shadow: var(--shadow-soft);
}

.panel + .panel { margin-top: 20px; }

.section-head {
  display: grid;
  gap: 14px;
  padding-block: 8px 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}

.section-head h2 { margin: 0; }

/* 5. 按钮 ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.btn--gold {
  background: linear-gradient(170deg, var(--gold-hi), var(--gold) 62%);
  border-color: rgba(231, 206, 140, 0.5);
  color: #12130F;
  box-shadow: 0 6px 18px rgba(201, 162, 75, 0.18);
}

.btn--gold:hover,
.btn--gold:focus-visible {
  background: linear-gradient(170deg, #F1DBA3, var(--gold-hi) 66%);
  color: var(--ink-deep);
  box-shadow: 0 8px 26px rgba(201, 162, 75, 0.3);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--silver);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: rgba(201, 162, 75, 0.7);
  color: var(--gold-hi);
}

.btn--cinnabar {
  background: rgba(178, 58, 44, 0.14);
  border-color: rgba(178, 58, 44, 0.62);
  color: #F0CCC6;
}

.btn--cinnabar:hover,
.btn--cinnabar:focus-visible {
  background: rgba(178, 58, 44, 0.26);
  border-color: var(--cinnabar);
  color: var(--paper);
}

/* 6. 标签 / 面包屑 --------------------------------------------------------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(22, 24, 28, 0.85);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--mist);
  line-height: 1.6;
  white-space: nowrap;
}

.tag--gold { border-color: rgba(201, 162, 75, 0.5); color: var(--gold-hi); }
.tag--cyan { border-color: rgba(110, 140, 138, 0.55); color: #A8C2C0; }
.tag--cinnabar { border-color: rgba(178, 58, 44, 0.6); color: #E2A79E; }

.breadcrumbs {
  padding-block: 18px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 8px;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mist);
}

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

.breadcrumbs__item + .breadcrumbs__item::before {
  content: "/";
  color: var(--line);
}

.breadcrumbs__item a { color: var(--mist); }
.breadcrumbs__item a:hover { color: var(--gold-hi); }
.breadcrumbs__item[aria-current="page"] { color: var(--gold); }

/* 7. 图片容器基础规则 ------------------------------------------------------ */
.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--panel-lift);
  background-image:
    linear-gradient(150deg, #1D2126 0%, #0E1013 56%, #171A1F 100%),
    repeating-linear-gradient(118deg, rgba(243, 239, 230, 0.05) 0 1px, transparent 1px 9px);
  background-blend-mode: normal;
  box-shadow: inset 0 0 0 1px rgba(243, 239, 230, 0.03);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(115deg, rgba(243, 239, 230, 0.04) 0 1px, transparent 1px 10px);
  opacity: 0.85;
}

.media-frame__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.06) brightness(0.94);
  position: relative;
  z-index: 1;
}

.media-frame--16x9 { aspect-ratio: 16 / 9; }
.media-frame--4x3 { aspect-ratio: 4 / 3; }
.media-frame--1x1 { aspect-ratio: 1 / 1; }
.media-frame--3x4 { aspect-ratio: 3 / 4; }
.media-frame--21x9 { aspect-ratio: 21 / 9; }

.media-frame--bleed {
  margin-inline: calc(var(--panel-pad) * -1);
  border-inline: 0;
  border-radius: 0;
}

/* 8. 跳转链接 ------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: 8px;
  z-index: 300;
  transform: translateY(-180%);
  padding: 10px 16px;
  background: var(--gold);
  color: var(--ink-deep);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-radius: var(--radius);
  transition: transform 180ms ease;
}

.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); color: var(--ink-deep); }

/* 9. 头部命令栏 ----------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(11, 12, 14, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow 200ms ease;
}

.site-header[data-scrolled] { box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55); }

.scroll-rail {
  position: relative;
  height: 2px;
  width: 100%;
  background: rgba(201, 162, 75, 0.12);
  overflow: hidden;
}

.scroll-rail__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-hi) 100%);
  transition: width 120ms linear;
}

.command-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-height: 76px;
}

/* 品牌章 */
.command-bar__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 6px 0;
}

.command-bar__seal {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 1px solid rgba(201, 162, 75, 0.72);
  border-radius: 1px;
  background: linear-gradient(158deg, rgba(201, 162, 75, 0.2), rgba(201, 162, 75, 0.02) 70%);
  color: var(--gold-hi);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(11, 12, 14, 0.7);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.command-bar__brand:hover .command-bar__seal {
  border-color: var(--gold-hi);
  box-shadow: inset 0 0 0 1px rgba(11, 12, 14, 0.7), 0 0 18px rgba(201, 162, 75, 0.28);
}

.command-bar__brand-text {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.command-bar__name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--paper);
}

.command-bar__sub {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--mist);
  text-transform: uppercase;
}

/* 导航 */
.command-bar__nav { justify-self: center; min-width: 0; }

.nav-index {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-index__item { display: flex; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 10px 12px 12px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--silver);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.nav-link__num {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--mist);
  transition: color 180ms ease;
}

.nav-link__label { white-space: nowrap; }

.nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--gold-hi));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 200ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--paper);
  background: rgba(22, 24, 28, 0.9);
  border-color: var(--line);
}

.nav-link:hover .nav-link__num,
.nav-link:focus-visible .nav-link__num { color: var(--gold); }

.nav-link:hover::after,
.nav-link:focus-visible::after { transform: scaleX(1); }

.nav-link[aria-current="page"] {
  color: var(--gold-hi);
  background: rgba(201, 162, 75, 0.08);
  border-color: rgba(201, 162, 75, 0.34);
}

.nav-link[aria-current="page"] .nav-link__num { color: var(--gold); }

.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--gold-hi);
}

.nav-link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(201, 162, 75, 0.8);
}

/* 右尾 */
.command-bar__tail {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  justify-self: end;
}

.status-lamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--mist);
  line-height: 1;
}

.status-lamp__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: lamp-breathe 2.4s ease-in-out infinite;
}

.status-lamp__text { white-space: nowrap; }

@keyframes lamp-breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 162, 75, 0.55); opacity: 0.82; }
  50% { box-shadow: 0 0 0 6px rgba(201, 162, 75, 0); opacity: 1; }
}

.command-bar__cta {
  padding: 9px 16px;
  font-size: 13px;
  letter-spacing: 0.08em;
}

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(22, 24, 28, 0.8);
  color: var(--silver);
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease;
}

.nav-toggle:hover { border-color: rgba(201, 162, 75, 0.6); color: var(--gold-hi); }

.nav-toggle__bars {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: background-color 180ms ease;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 200ms ease;
}

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

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

/* 变更摘要带 */
.command-bar__ticker {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 7px var(--gutter) 8px;
  border-top: 1px solid rgba(44, 49, 56, 0.72);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--mist);
}

.ticker__key {
  flex: 0 0 auto;
  color: var(--gold);
  letter-spacing: 0.18em;
  font-size: 10px;
}

.ticker__note {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--silver);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: none;
}

.ticker__ver {
  flex: 0 0 auto;
  padding-left: 16px;
  border-left: 1px solid var(--line);
  color: var(--mist);
  font-size: 10px;
  letter-spacing: 0.18em;
}

/* 10. 页脚 ---------------------------------------------------------------- */
.site-footer {
  position: relative;
  margin-top: 96px;
  background-color: var(--panel);
  background-image:
    repeating-linear-gradient(90deg, rgba(243, 239, 230, 0.022) 0 1px, transparent 1px 96px),
    radial-gradient(90% 120% at 8% 0%, rgba(201, 162, 75, 0.08), transparent 62%);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 75, 0.5), transparent);
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 64px;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 64px var(--gutter) 0;
}

.footer__col { min-width: 0; }

.footer__col--main { display: grid; gap: 28px; align-content: start; }

.footer__col--aside { display: grid; gap: 0; align-content: start; }

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.footer__seal {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border: 1px solid rgba(201, 162, 75, 0.6);
  border-radius: 1px;
  background: linear-gradient(158deg, rgba(201, 162, 75, 0.18), rgba(201, 162, 75, 0.02) 72%);
  color: var(--gold-hi);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.footer__brand-text { display: grid; gap: 5px; line-height: 1.2; }

.footer__name {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--paper);
}

.footer__sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--mist);
}

.footer-nav { padding-top: 22px; border-top: 1px solid var(--line); }

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

.footer-nav__link {
  display: inline-block;
  padding: 3px 0;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--silver);
  border-bottom: 1px solid transparent;
  text-decoration: none;
}

.footer-nav__link:hover,
.footer-nav__link:focus-visible {
  color: var(--gold-hi);
  border-bottom-color: rgba(201, 162, 75, 0.55);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--mist);
}

.footer__legal a { color: var(--mist); text-decoration: none; }
.footer__legal a:hover,
.footer__legal a:focus-visible { color: var(--gold-hi); }

.footer__icp { color: var(--mist); }

/* 旧版反馈面板 */
.feedback-box {
  position: relative;
  padding: 26px 26px 28px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--cinnabar);
  border-radius: var(--radius);
  background: linear-gradient(200deg, #1C2025 0%, #121417 72%);
  box-shadow: var(--shadow-soft);
}

.feedback-box__eyebrow {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: #D9776A;
  text-transform: uppercase;
  max-width: none;
}

.feedback-box__eyebrow::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 1px;
  margin-right: 8px;
  vertical-align: middle;
  background: var(--cinnabar);
}

.feedback-box__title {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--paper);
  line-height: 1.3;
}

.feedback-box__desc {
  margin: 0 0 20px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--mist);
  max-width: 34ch;
}

.feedback-box__btn { width: 100%; }

/* 联络清单 */
.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.contact-list__item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
}

.contact-list__key {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.contact-list__value {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--silver);
  word-break: break-word;
}

/* 页脚底栏 */
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  width: 100%;
  max-width: var(--maxw);
  margin: 56px auto 0;
  padding: 18px var(--gutter) 28px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--mist);
}

.footer__bottom-note { color: var(--mist); }

/* 11. 显现动效 ------------------------------------------------------------ */
.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 280ms ease-out, transform 280ms ease-out;
  will-change: opacity, transform;
}

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

/* 12. 响应式 -------------------------------------------------------------- */
@media (max-width: 1279px) {
  :root { --gutter: 40px; --panel-pad: 32px; }

  .command-bar { gap: 16px; }
  .nav-link { padding: 10px 9px 12px; font-size: 13px; }
  .nav-link::after { left: 9px; right: 9px; }
  .status-lamp { display: none; }
}

@media (max-width: 1023px) {
  :root { --gutter: 28px; --panel-pad: 28px; }

  .command-bar {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 66px;
    gap: 12px;
  }

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

  .command-bar__nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    padding: 8px var(--gutter) 22px;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-deep);
    max-height: 78vh;
    overflow-y: auto;
  }

  .site-header[data-open] .command-bar__nav { display: block; }

  .nav-index { flex-direction: column; align-items: stretch; gap: 0; }

  .nav-index__item { width: 100%; border-bottom: 1px solid rgba(44, 49, 56, 0.68); }
  .nav-index__item:last-child { border-bottom: 0; }

  .nav-link {
    display: flex;
    width: 100%;
    align-items: baseline;
    gap: 14px;
    padding: 15px 4px;
    font-size: 16px;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .nav-link::after { left: 4px; right: auto; width: 44px; bottom: 8px; }
  .nav-link::before { display: none; }
  .nav-link[aria-current="page"] { background: transparent; border: 0; }

  .command-bar__ticker { display: none; }

  .footer__inner { grid-template-columns: minmax(0, 1fr); gap: 44px; padding-top: 52px; }
  .footer-nav__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__bottom { margin-top: 40px; }

  .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .col-1, .col-2, .col-3 { grid-column: span 3; }
  .col-4, .col-5, .col-6, .col-7, .col-8,
  .col-9, .col-10, .col-11, .col-12 { grid-column: span 6; }
}

@media (max-width: 767px) {
  :root { --gutter: 20px; --panel-pad: 22px; }

  body { font-size: 15.5px; }

  .command-bar { min-height: 62px; }

  .command-bar__name { font-size: 16px; letter-spacing: 0.1em; }
  .command-bar__sub { display: none; }
  .command-bar__seal { width: 32px; height: 32px; flex-basis: 32px; font-size: 16px; }
  .command-bar__tail { gap: 10px; }
  .command-bar__cta { padding: 8px 13px; font-size: 12.5px; }

  .footer__inner { padding-top: 44px; gap: 36px; }
  .footer-nav__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; }
  .contact-list__item { grid-template-columns: 46px minmax(0, 1fr); }
  .feedback-box { padding: 22px 20px 24px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .grid { grid-template-columns: minmax(0, 1fr); }
  .grid > [class*="col-"] { grid-column: 1 / -1; }

  .panel { padding: 22px 20px; }
  .media-frame--bleed { margin-inline: -20px; }
  .vertical-note { display: none; }
}

/* 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;
  }

  .has-js [data-reveal] { transform: none; }
  .status-lamp__dot { animation: none; box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.22); }
}

@media print {
  .site-header, .skip-link, .scroll-rail, .nav-toggle { display: none !important; }
  body { background: #fff; color: #111; }
}
