/* ==========================================================================
   Site Kit · 凯旋官网 — 共享样式表 /assets/site.css
   色彩：深海蓝框架 · 珊瑚橙行动 · 金属金刻度 · 珍珠白留白
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h, 78px) + 26px);
}

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

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

img, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; }

/* ---------- 2. 变量 ---------- */
:root {
  /* 品牌色板 */
  --deep-blue: #0B2C4D;
  --abyss: #06192B;
  --haze: #2E5D84;
  --coral: #F26A4B;
  --coral-soft: #FF8F73;
  --gold: #C7A15A;
  --mist: #AEBBC7;
  --pearl: #F6F2EA;
  --paper: #FFFFFF;
  --ink: #102A3F;

  /* 衍生 */
  --line: rgba(11, 44, 77, .16);
  --line-strong: rgba(11, 44, 77, .34);
  --line-invert: rgba(174, 187, 199, .24);
  --text-muted: rgba(16, 42, 63, .68);
  --text-invert-soft: rgba(246, 242, 234, .76);

  /* 尺寸 */
  --maxw: 1320px;
  --gutter: clamp(18px, 4vw, 48px);
  --header-h: 78px;

  /* 圆角 */
  --r-lg: 32px;
  --r-md: 20px;
  --r-sm: 14px;
  --r-pill: 999px;

  /* 字体 */
  --font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, 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, "Courier New", monospace;

  /* 阴影 */
  --shadow-card: 0 34px 60px -48px rgba(6, 25, 43, .7);
  --shadow-float: 0 20px 46px -28px rgba(6, 25, 43, .85);
}

/* ---------- 3. 中文排版基调 ---------- */
body {
  min-height: 100vh;
  background-color: var(--pearl);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
}

p { max-width: 40em; }

::selection {
  background: var(--coral);
  color: #16202A;
}

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  border-radius: 6px;
}

.site-header :where(a, button):focus-visible,
.site-footer :where(a, button):focus-visible {
  outline-color: var(--gold);
  outline-offset: 4px;
}

#main-content { display: block; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- 4. 跳至主要内容 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  background: var(--coral);
  color: #16202A;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-decoration: none;
  transform: translateY(-220%);
  transition: transform .22s ease;
}

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

/* ---------- 5. 页头：框架式导航横梁 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: linear-gradient(180deg, #0B2C4D 0%, #0A2744 100%);
  color: var(--pearl);
  border-bottom: 1px solid rgba(199, 161, 90, .42);
  box-shadow:
    inset 14px 0 0 -13px rgba(199, 161, 90, .55),
    inset -14px 0 0 -13px rgba(199, 161, 90, .55),
    0 24px 46px -36px rgba(6, 25, 43, .95);
}

.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(199, 161, 90, .95) 12%,
    rgba(199, 161, 90, .35) 50%,
    rgba(199, 161, 90, .95) 88%,
    transparent 100%);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.6vw, 36px);
  width: 100%;
  max-width: var(--maxw);
  min-height: var(--header-h);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* 品牌署名 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  text-decoration: none;
  color: inherit;
}

.brand__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(199, 161, 90, .78);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  color: var(--gold);
}

.brand__mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px dashed rgba(199, 161, 90, .42);
  animation: compass-spin 60s linear infinite;
}

@keyframes compass-spin {
  to { transform: rotate(360deg); }
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
  gap: 3px;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -.02em;
  color: var(--paper);
}

.brand__descriptor {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  color: rgba(174, 187, 199, .82);
}

/* 栏目索引 */
.site-nav {
  margin-inline: auto;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav__list a {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  color: rgba(246, 242, 234, .8);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .22s ease, color .22s ease, border-color .22s ease;
}

.site-nav__list a:hover {
  color: var(--paper);
  background: rgba(46, 93, 132, .44);
  border-color: rgba(199, 161, 90, .34);
}

.site-nav__list a[aria-current="page"] {
  color: var(--paper);
  background: linear-gradient(180deg, rgba(242, 106, 75, .34), rgba(242, 106, 75, .12));
  border-color: rgba(242, 106, 75, .62);
  box-shadow: inset 0 -2px 0 rgba(242, 106, 75, .92);
}

.site-nav__index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--gold);
  opacity: .88;
}

.site-nav__label {
  display: inline-block;
}

/* 右侧工具区 */
.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.header-cta {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(199, 161, 90, .52);
  background: rgba(6, 25, 43, .38);
  color: var(--pearl);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
}

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

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

.nav-toggle__bars span {
  display: block;
  height: 1.5px;
  border-radius: 2px;
  background: var(--gold);
  transition: transform .26s ease, opacity .26s ease;
}

.nav-toggle__text {
  letter-spacing: .16em;
}

.site-header[data-open="true"] .nav-toggle__bars span:first-child {
  transform: translateY(2.75px) rotate(45deg);
}

.site-header[data-open="true"] .nav-toggle__bars span:last-child {
  transform: translateY(-2.75px) rotate(-45deg);
}

.site-header[data-open="true"] .nav-toggle {
  border-color: rgba(242, 106, 75, .7);
  background: rgba(242, 106, 75, .2);
}

/* ---------- 6. 页脚 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(52px, 8vw, 88px);
  background: var(--abyss);
  color: var(--text-invert-soft);
  isolation: isolate;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(199, 161, 90, .85), transparent);
  pointer-events: none;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(174, 187, 199, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(174, 187, 199, .07) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(circle at 72% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(circle at 72% 0%, #000 0%, transparent 72%);
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(200px, 262px) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 64px);
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.footer-brand__name {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 3vw, 30px);
  letter-spacing: -.03em;
  color: var(--paper);
  text-decoration: none;
}

.footer-brand__descriptor {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .18em;
  color: var(--gold);
  max-width: none;
}

.footer-brand__meta {
  margin-top: 20px;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(174, 187, 199, .7);
  max-width: none;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 40px);
}

.footer-col__title {
  position: relative;
  margin: 0 0 16px;
  padding-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--gold);
}

.footer-col__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 1px;
  background: rgba(199, 161, 90, .55);
}

.footer-col__list {
  display: grid;
  gap: 9px;
}

.footer-col__link {
  display: inline-block;
  width: fit-content;
  font-size: 14.5px;
  color: rgba(246, 242, 234, .76);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}

.footer-col__link:hover {
  color: var(--paper);
  border-bottom-color: var(--coral);
}

.footer-contact {
  gap: 8px;
}

.footer-contact__line {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(246, 242, 234, .64);
  word-break: break-word;
}

.footer-legal {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 28px;
  width: 100%;
  max-width: var(--maxw);
  margin: clamp(36px, 5vw, 64px) auto 0;
  padding: 20px var(--gutter) 28px;
  border-top: 1px solid var(--line-invert);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .07em;
  color: rgba(174, 187, 199, .66);
}

.footer-legal__note {
  display: inline-block;
}

/* ---------- 7. 版面容器 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(56px, 9vw, 128px);
}

.section--deep {
  background: var(--deep-blue);
  color: var(--pearl);
}

.section--tint {
  background: rgba(46, 93, 132, .075);
}

.layout-split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(26px, 4vw, 60px);
  align-items: start;
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 32px);
}

.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }

/* ---------- 8. 排版组件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--haze);
}

.eyebrow::before {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.section--deep .eyebrow {
  color: var(--gold);
}

.display-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(46px, 8.5vw, 120px);
  line-height: .95;
  letter-spacing: -.035em;
  color: var(--ink);
}

.section--deep .display-title {
  color: var(--paper);
}

.lede {
  max-width: 38em;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.7;
  color: var(--text-muted);
}

.section--deep .lede {
  color: var(--text-invert-soft);
}

.meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: rgba(16, 42, 63, .62);
}

.section--deep .meta-strip {
  color: rgba(174, 187, 199, .8);
}

.section-rule {
  width: 100%;
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, var(--gold), rgba(199, 161, 90, 0));
}

.wave-divider {
  display: block;
  width: 100%;
  height: clamp(42px, 7vw, 84px);
  background: var(--deep-blue);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

/* ---------- 9. 按钮与胶囊标签 ---------- */
.btn {
  --btn-bg: var(--deep-blue);
  --btn-fg: var(--paper);
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease,
              border-color .2s ease, box-shadow .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  --btn-bg: var(--coral);
  --btn-fg: #16202A;
  box-shadow: 0 14px 28px -18px rgba(242, 106, 75, .95);
}

.btn--primary:hover {
  --btn-bg: var(--coral-soft);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--deep-blue);
  --btn-bd: rgba(11, 44, 77, .3);
}

.btn--ghost:hover {
  --btn-bd: var(--deep-blue);
  background: rgba(11, 44, 77, .06);
}

.section--deep .btn--ghost {
  --btn-fg: var(--pearl);
  --btn-bd: rgba(199, 161, 90, .55);
}

.section--deep .btn--ghost:hover {
  --btn-bd: var(--gold);
  background: rgba(199, 161, 90, .14);
}

.btn--sm {
  padding: 9px 18px;
  font-size: 13.5px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .72);
  color: var(--haze);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  white-space: nowrap;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}

.pill:hover {
  transform: translateY(-2px);
}

.pill--coral {
  background: var(--coral);
  border-color: var(--coral);
  color: #16202A;
}

.pill--gold {
  background: transparent;
  border-color: rgba(199, 161, 90, .78);
  color: #7A5C24;
}

.pill--mist {
  background: rgba(46, 93, 132, .1);
  border-color: transparent;
  color: var(--deep-blue);
}

.section--deep .pill {
  border-color: rgba(199, 161, 90, .38);
  background: rgba(246, 242, 234, .08);
  color: rgba(246, 242, 234, .88);
}

/* ---------- 10. 卡片与专题研究板 ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(20px, 2.6vw, 34px);
  box-shadow: var(--shadow-card);
}

.section--deep .card {
  background: rgba(255, 255, 255, .06);
  border-color: var(--line-invert);
  color: var(--pearl);
}

.board {
  display: grid;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.board__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 15px clamp(20px, 3vw, 32px);
  background: linear-gradient(90deg, rgba(11, 44, 77, .07), rgba(199, 161, 90, .16));
  border-bottom: 1px solid var(--line);
}

.board__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--haze);
}

.board__summary {
  padding: clamp(20px, 3vw, 32px);
  font-size: clamp(16.5px, 1.4vw, 19px);
  line-height: 1.72;
  color: var(--ink);
  max-width: 42em;
}

.board__scope {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  padding: 0 clamp(20px, 3vw, 32px) clamp(20px, 3vw, 28px);
}

.board__terms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px clamp(20px, 3vw, 32px);
  border-top: 1px dashed var(--line);
}

.board__term {
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: rgba(46, 93, 132, .1);
  border: 1px solid transparent;
  color: var(--deep-blue);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
}

.board__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin: 0 clamp(20px, 3vw, 32px) clamp(20px, 3vw, 28px);
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  color: var(--coral);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-decoration: none;
}

.board__more:hover {
  color: var(--deep-blue);
}

/* ---------- 11. 图片容器基础规则（页面阶段放置占位图） ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--r-lg);
  background:
    linear-gradient(150deg, var(--haze) 0%, var(--deep-blue) 58%, var(--abyss) 100%);
  aspect-ratio: 4 / 3;
  width: 100%;
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(246, 242, 234, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 242, 234, .1) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(circle at 30% 20%, #000, transparent 78%);
  mask-image: radial-gradient(circle at 30% 20%, #000, transparent 78%);
}

.media-frame::after {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -26%;
  width: 74%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(199, 161, 90, .45);
  animation: compass-spin 60s linear infinite;
  pointer-events: none;
}

.media-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.media-frame__inner {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  padding: clamp(18px, 3vw, 30px);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: rgba(246, 242, 234, .78);
}

.media-frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 16px clamp(16px, 2.4vw, 24px);
  background: linear-gradient(180deg, rgba(6, 25, 43, 0) 0%, rgba(6, 25, 43, .88) 100%);
  color: rgba(246, 242, 234, .92);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
}

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

/* ---------- 12. 面包屑与长文 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 18px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: rgba(16, 42, 63, .55);
}

.breadcrumb a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}

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

.breadcrumb__sep {
  color: rgba(199, 161, 90, .9);
}

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

.prose {
  max-width: 42em;
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
}

.prose > * + * { margin-top: 1.05em; }

.prose h2 {
  margin-top: 2em;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.18;
}

.prose h3 {
  margin-top: 1.8em;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.25;
}

.prose ul,
.prose ol {
  padding-left: 1.4em;
  list-style: revert;
}

.prose li + li { margin-top: .4em; }

.prose a {
  color: var(--coral);
  text-underline-offset: 4px;
}

.prose blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 20px;
  border-left: 2px solid var(--gold);
  color: var(--text-muted);
}

/* ---------- 13. 动效协议 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2, .8, .2, 1);
}

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

/* JS 注入：滚动进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  width: 0;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--gold), var(--coral-soft));
  transition: width .12s linear;
}

/* JS 注入：返回顶部 */
.scroll-top {
  position: fixed;
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 34px);
  z-index: 70;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(199, 161, 90, .62);
  background: rgba(11, 44, 77, .95);
  color: var(--pearl);
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  box-shadow: var(--shadow-float);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease,
              background-color .2s ease, border-color .2s ease;
}

.scroll-top:hover {
  background: var(--haze);
  border-color: var(--gold);
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* 章节索引链接状态（供页面阶段使用 data-index-link） */
[data-index-link].is-active {
  color: var(--coral);
  font-weight: 600;
}

/* ---------- 14. 响应式 ---------- */
@media (max-width: 1023px) {
  :root { --header-h: 66px; }

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

  .site-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 95;
    max-height: 74vh;
    overflow: auto;
    margin-inline: 0;
    padding: 16px;
    border-radius: 30px;
    border: 1px solid rgba(199, 161, 90, .42);
    background: rgba(6, 25, 43, .97);
    box-shadow: 0 -22px 60px -30px rgba(0, 0, 0, .9);
    transform: translateY(calc(100% + 28px));
    opacity: 0;
    visibility: hidden;
    transition: transform .38s cubic-bezier(.2, .85, .25, 1),
                opacity .28s ease,
                visibility .38s ease;
  }

  .site-header[data-open="true"] .site-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-nav__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .site-nav__list a {
    justify-content: flex-start;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(46, 93, 132, .26);
    font-size: 15px;
  }

  .site-nav__list a:hover {
    background: rgba(46, 93, 132, .48);
  }

  .scroll-top {
    bottom: 86px;
  }

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

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

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

  .span-4,
  .span-5,
  .span-6,
  .span-7,
  .span-8 {
    grid-column: span 12;
  }
}

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

  .brand__descriptor { display: none; }

  .header-cta { display: none; }

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

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

  .scroll-top {
    width: 44px;
    height: 44px;
  }
}

/* ---------- 15. 减少动态效果 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

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

  .brand__mark::after,
  .media-frame::after {
    animation: none;
  }
}
