/* ============================================================
   7南宮品牌 · 数字品牌档案室 · 共享站点样式 /assets/site.css
   ============================================================ */

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

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

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

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

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

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

a { color: inherit; }

/* ---------- 2. 变量 ---------- */
:root {
  --ar-ink-900: #07111C;
  --ar-ink-800: #0D1D30;
  --ar-ink-700: #162F4A;
  --ar-glass-600: #2A4A67;
  --ar-gold-500: #C6A15B;
  --ar-gold-200: #EAD9AE;
  --ar-vermillion: #B54736;
  --ar-celadon: #91A6AE;
  --ar-sand: #D8C6A6;
  --ar-fog: #F5F2EA;

  --ar-font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --ar-font-sans: "Noto Sans SC", "Source Han Sans SC", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --ar-font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;

  --ar-shell: 1180px;
  --ar-gutter: clamp(18px, 4vw, 48px);
  --ar-line: rgba(198, 161, 91, 0.30);
  --ar-line-soft: rgba(145, 166, 174, 0.18);
  --ar-glass: rgba(42, 74, 103, 0.26);
  --ar-radius: 2px;
  --ar-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ar-header-h: 0px;
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--ar-ink-900);
  background-image:
    radial-gradient(90rem 50rem at 84% -14%, rgba(198, 161, 91, 0.14), transparent 62%),
    radial-gradient(70rem 46rem at 2% 4%, rgba(42, 74, 103, 0.52), transparent 66%),
    linear-gradient(180deg, #07111C 0%, #0A1726 42%, #07111C 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--ar-fog);
  font-family: var(--ar-font-sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  z-index: -1;
  top: -26vw;
  right: -18vw;
  width: min(92vw, 1100px);
  aspect-ratio: 1 / 1;
  pointer-events: none;
  background: radial-gradient(circle, rgba(198, 161, 91, 0.16), rgba(198, 161, 91, 0) 62%);
  animation: ar-lamp 8s ease-in-out infinite alternate;
}

@keyframes ar-lamp {
  from { opacity: 0.5; transform: translate3d(0, 0, 0) scale(1); }
  to   { opacity: 0.95; transform: translate3d(-2%, 2%, 0) scale(1.06); }
}

h1, h2, h3, h4 {
  font-family: var(--ar-font-serif);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: 0.02em;
  color: var(--ar-fog);
}

p { line-height: 1.78; }

strong { font-weight: 600; color: var(--ar-gold-200); }

a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
}

::selection { background: rgba(198, 161, 91, 0.32); color: #fff; }

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

/* ---------- 4. 布局基元 ---------- */
.ar-shell {
  width: 100%;
  max-width: var(--ar-shell);
  margin-inline: auto;
  padding-inline: var(--ar-gutter);
}

.ar-main {
  display: block;
  padding-block: clamp(28px, 5vw, 56px) clamp(6px, 2vw, 18px);
}

.ar-sr {
  position: absolute;
  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;
}

.ar-rule {
  height: 1px;
  border: 0;
  margin: clamp(22px, 4vw, 40px) 0;
  background: linear-gradient(90deg, var(--ar-line), rgba(198, 161, 91, 0.04) 70%, transparent);
}

/* ---------- 5. 跳转链接 ---------- */
.ar-skip {
  position: fixed;
  left: 18px;
  top: -80px;
  z-index: 200;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--ar-gold-200), var(--ar-gold-500));
  color: #0A1420;
  font-family: var(--ar-font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: var(--ar-radius);
  box-shadow: 0 12px 30px -16px rgba(0, 0, 0, 0.9);
  transition: top 0.22s var(--ar-ease);
}

.ar-skip:focus,
.ar-skip:focus-visible { top: 14px; }

/* ---------- 6. 头部 · 刊头 ---------- */
.ar-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background:
    linear-gradient(180deg, rgba(7, 17, 28, 0.97), rgba(10, 22, 36, 0.93));
  border-bottom: 1px solid var(--ar-line);
  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  transition: box-shadow 0.28s var(--ar-ease), border-color 0.28s var(--ar-ease);
}

.ar-header[data-scrolled] {
  border-bottom-color: rgba(198, 161, 91, 0.52);
  box-shadow: 0 22px 46px -34px rgba(0, 0, 0, 0.95);
}

.ar-header__meta {
  background: rgba(4, 10, 17, 0.55);
  border-bottom: 1px solid rgba(145, 166, 174, 0.14);
}

.ar-header__meta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 34px;
  padding-block: 6px;
  font-family: var(--ar-font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ar-celadon);
}

.ar-meta__issue {
  color: var(--ar-sand);
  white-space: nowrap;
}

.ar-meta__helper {
  color: var(--ar-celadon);
  opacity: 0.9;
  white-space: nowrap;
}

.ar-meta__code {
  color: var(--ar-gold-500);
  white-space: nowrap;
}

/* 报头 */
.ar-masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(12px, 3vw, 42px);
  padding-block: clamp(14px, 3vw, 24px) clamp(10px, 2vw, 16px);
}

.ar-masthead__rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ar-line));
}

.ar-masthead__rule:last-child {
  background: linear-gradient(270deg, transparent, var(--ar-line));
}

.ar-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: var(--ar-fog);
}

.ar-brand__mark {
  font-family: var(--ar-font-serif);
  font-weight: 700;
  font-size: clamp(26px, 4.4vw, 42px);
  line-height: 1;
  letter-spacing: 0.14em;
  padding-left: 0.14em;
  color: var(--ar-fog);
  text-shadow: 0 0 26px rgba(198, 161, 91, 0.24);
  transition: color 0.26s var(--ar-ease), text-shadow 0.26s var(--ar-ease);
}

.ar-brand:hover .ar-brand__mark {
  color: var(--ar-gold-200);
  text-shadow: 0 0 32px rgba(198, 161, 91, 0.42);
}

.ar-brand__sub {
  font-family: var(--ar-font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.42em;
  padding-left: 0.42em;
  color: var(--ar-gold-500);
}

/* 栏目带 */
.ar-navwrap {
  border-top: 1px solid rgba(145, 166, 174, 0.13);
}

.ar-navwrap__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
}

.ar-nav {
  display: block;
  width: 100%;
}

.ar-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2px clamp(2px, 1.4vw, 10px);
}

.ar-nav__item {
  display: block;
}

.ar-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px clamp(10px, 1.7vw, 20px);
  font-family: var(--ar-font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ar-celadon);
  text-decoration: none;
  transition: color 0.22s var(--ar-ease);
}

.ar-nav__link::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  background: var(--ar-vermillion);
  opacity: 0;
  transform: rotate(45deg) scale(0.6);
  transition: opacity 0.22s var(--ar-ease), transform 0.22s var(--ar-ease);
}

.ar-nav__link::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 9px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ar-gold-500), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.26s var(--ar-ease);
}

.ar-nav__link:hover,
.ar-nav__link:focus-visible {
  color: var(--ar-gold-200);
}

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

.ar-nav__link[aria-current="page"] {
  color: var(--ar-fog);
}

.ar-nav__link[aria-current="page"]::before {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

.ar-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

/* 移动导航按钮 */
.ar-navtoggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  background: rgba(22, 47, 74, 0.4);
  border: 1px solid var(--ar-line);
  border-radius: var(--ar-radius);
  color: var(--ar-gold-200);
  font-family: var(--ar-font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  cursor: pointer;
  transition: border-color 0.22s var(--ar-ease), background 0.22s var(--ar-ease), color 0.22s var(--ar-ease);
}

.ar-navtoggle:hover {
  border-color: var(--ar-gold-500);
  background: rgba(42, 74, 103, 0.5);
  color: var(--ar-fog);
}

.ar-navtoggle__lines {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 16px;
}

.ar-navtoggle__line {
  display: block;
  height: 1px;
  width: 100%;
  background: currentColor;
  transition: transform 0.22s var(--ar-ease), opacity 0.22s var(--ar-ease);
}

.ar-navtoggle__text {
  white-space: nowrap;
}

.ar-header[data-open] .ar-navtoggle {
  border-color: var(--ar-gold-500);
  color: var(--ar-fog);
}

.ar-header[data-open] .ar-navtoggle__line:first-child {
  transform: translateY(2.5px) rotate(45deg);
}

.ar-header[data-open] .ar-navtoggle__line:last-child {
  transform: translateY(-2.5px) rotate(-45deg);
}

/* 阅读进度 */
.ar-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  background: rgba(145, 166, 174, 0.12);
}

.ar-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, rgba(198, 161, 91, 0.18), var(--ar-gold-500) 55%, var(--ar-vermillion));
  will-change: transform;
}

/* ---------- 7. 页脚 ---------- */
.ar-footer {
  margin-top: clamp(48px, 8vw, 96px);
  padding-top: clamp(36px, 6vw, 70px);
  background:
    linear-gradient(180deg, rgba(7, 17, 28, 0.35) 0%, #050C14 58%, #040A11 100%);
  border-top: 1px solid var(--ar-line);
}

.ar-footer__grid {
  display: grid;
  grid-template-columns: minmax(250px, 1.55fr) repeat(3, minmax(140px, 1fr));
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: clamp(30px, 4.5vw, 54px);
}

.ar-footer__brand {
  font-family: var(--ar-font-serif);
  font-size: clamp(19px, 2.3vw, 25px);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.5;
  color: var(--ar-fog);
  margin-bottom: 12px;
}

.ar-footer__brandsep {
  color: var(--ar-gold-500);
  margin-inline: 7px;
}

.ar-footer__summary {
  font-size: 15px;
  color: var(--ar-sand);
  margin-bottom: 8px;
}

.ar-footer__note {
  max-width: 34ch;
  font-size: 13px;
  color: var(--ar-celadon);
  margin-bottom: 20px;
}

.ar-footer__title {
  font-family: var(--ar-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ar-gold-500);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(145, 166, 174, 0.14);
}

.ar-footer__list {
  display: grid;
  gap: 9px;
}

.ar-footer__list a {
  display: inline-block;
  font-size: 14px;
  color: var(--ar-celadon);
  text-decoration: none;
  transition: color 0.2s var(--ar-ease), transform 0.2s var(--ar-ease);
}

.ar-footer__list a:hover,
.ar-footer__list a:focus-visible {
  color: var(--ar-gold-200);
  transform: translateX(2px);
}

.ar-footer__contact {
  font-family: var(--ar-font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  line-height: 1.95;
  color: var(--ar-celadon);
  margin-top: 16px;
  word-break: break-word;
}

.ar-footer__address {
  font-size: 12.5px;
  line-height: 1.85;
  color: rgba(145, 166, 174, 0.82);
  margin-top: 8px;
  max-width: 26ch;
}

.ar-footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 22px;
  padding-block: 18px 26px;
  border-top: 1px solid rgba(145, 166, 174, 0.14);
  font-family: var(--ar-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ar-celadon);
}

.ar-footer__legal {
  color: var(--ar-celadon);
}

.ar-footer__copy {
  color: rgba(145, 166, 174, 0.75);
}

.ar-footer__link {
  color: var(--ar-gold-500);
  text-decoration: none;
  border-bottom: 1px solid rgba(198, 161, 91, 0.35);
  padding-bottom: 2px;
  transition: color 0.2s var(--ar-ease), border-color 0.2s var(--ar-ease);
}

.ar-footer__link:hover,
.ar-footer__link:focus-visible {
  color: var(--ar-gold-200);
  border-color: var(--ar-gold-200);
}

/* ---------- 8. 通用组件 ---------- */
.ar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--ar-radius);
  font-family: var(--ar-font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ar-ease), box-shadow 0.2s var(--ar-ease),
              background 0.2s var(--ar-ease), border-color 0.2s var(--ar-ease), color 0.2s var(--ar-ease);
}

.ar-btn--gold {
  background: linear-gradient(135deg, var(--ar-gold-200), var(--ar-gold-500));
  border-color: rgba(234, 217, 174, 0.5);
  color: #0B1724;
  box-shadow: 0 10px 26px -18px rgba(198, 161, 91, 0.95);
}

.ar-btn--gold:hover,
.ar-btn--gold:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px -18px rgba(198, 161, 91, 1);
}

.ar-btn--ghost {
  background: rgba(42, 74, 103, 0.22);
  border-color: var(--ar-line);
  color: var(--ar-gold-200);
}

.ar-btn--ghost:hover,
.ar-btn--ghost:focus-visible {
  background: rgba(42, 74, 103, 0.42);
  border-color: var(--ar-gold-500);
  color: var(--ar-fog);
}

.ar-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--ar-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ar-celadon);
}

.ar-breadcrumb a {
  color: var(--ar-celadon);
  text-decoration: none;
  transition: color 0.2s var(--ar-ease);
}

.ar-breadcrumb a:hover,
.ar-breadcrumb a:focus-visible { color: var(--ar-gold-200); }

.ar-breadcrumb__sep {
  color: rgba(145, 166, 174, 0.45);
}

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

.ar-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ar-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ar-gold-500);
}

.ar-eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--ar-gold-500);
}

.ar-lede {
  max-width: 62ch;
  font-size: clamp(16px, 1.9vw, 20px);
  line-height: 1.8;
  color: var(--ar-sand);
}

.ar-section-head {
  display: grid;
  gap: 10px;
  margin-bottom: clamp(20px, 3vw, 32px);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ar-line-soft);
}

.ar-section-head__title {
  font-family: var(--ar-font-serif);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ar-fog);
}

.ar-section-head__note {
  font-size: 14px;
  color: var(--ar-celadon);
}

.ar-grid {
  display: grid;
  gap: clamp(14px, 2vw, 24px);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.ar-grid--two {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.ar-card {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  background: linear-gradient(180deg, rgba(22, 47, 74, 0.92), rgba(13, 29, 48, 0.86));
  border: 1px solid var(--ar-line-soft);
  border-radius: var(--ar-radius);
  transition: transform 0.2s var(--ar-ease), border-color 0.2s var(--ar-ease),
              background 0.2s var(--ar-ease), box-shadow 0.2s var(--ar-ease);
}

.ar-card:hover {
  transform: translateY(-2px);
  border-color: rgba(198, 161, 91, 0.55);
  background: linear-gradient(180deg, rgba(28, 58, 88, 0.95), rgba(13, 29, 48, 0.9));
  box-shadow: 0 22px 40px -32px rgba(0, 0, 0, 0.95);
}

.ar-card__no {
  display: block;
  font-family: var(--ar-font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ar-gold-500);
}

.ar-card__title {
  font-family: var(--ar-font-serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ar-fog);
  margin-top: 10px;
  margin-bottom: 8px;
}

.ar-card__text {
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--ar-celadon);
}

.ar-tag {
  display: inline-block;
  padding: 4px 9px;
  border: 1px solid rgba(216, 198, 166, 0.35);
  border-radius: 1px;
  font-family: var(--ar-font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.5;
  color: var(--ar-sand);
}

/* 图片容器基础规则（页面阶段填充 img） */
.ar-figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--ar-line-soft);
  border-radius: var(--ar-radius);
  background:
    linear-gradient(145deg, rgba(42, 74, 103, 0.55), rgba(7, 17, 28, 0.92) 78%);
}

.ar-figure::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(198, 161, 91, 0.22);
  pointer-events: none;
}

.ar-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ar-figure--wide { aspect-ratio: 16 / 9; }

.ar-figure--tall { aspect-ratio: 3 / 4; }

.ar-figure__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 22px 16px 12px;
  font-family: var(--ar-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ar-sand);
  background: linear-gradient(180deg, transparent, rgba(4, 10, 17, 0.9));
}

/* 页内锚点索引（页面阶段使用） */
.ar-index-rail {
  display: grid;
  gap: 2px;
  padding-left: 14px;
  border-left: 1px solid var(--ar-line-soft);
}

.ar-index-rail__link {
  margin-left: -16px;
  padding: 6px 0 6px 14px;
  border-left: 2px solid transparent;
  font-family: var(--ar-font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ar-celadon);
  text-decoration: none;
  transition: color 0.2s var(--ar-ease), border-color 0.2s var(--ar-ease), background 0.2s var(--ar-ease);
}

.ar-index-rail__link:hover,
.ar-index-rail__link:focus-visible {
  color: var(--ar-gold-200);
  background: rgba(42, 74, 103, 0.24);
}

.ar-index-rail__link[aria-current="true"] {
  color: var(--ar-fog);
  border-left-color: var(--ar-vermillion);
}

/* ---------- 9. 滚动显现 ---------- */
.ar-js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ar-ease), transform 0.5s var(--ar-ease);
}

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

/* ---------- 10. 响应式 ---------- */
@media (max-width: 1024px) {
  .ar-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .ar-navwrap__inner {
    flex-wrap: wrap;
    justify-content: space-between;
    min-height: 56px;
  }

  .ar-navtoggle {
    display: inline-flex;
  }

  .ar-nav {
    display: none;
  }

  .ar-header[data-open] .ar-nav {
    display: block;
    flex: 1 1 100%;
    order: 3;
    margin-top: 8px;
    padding-block: 6px 10px;
    border-top: 1px solid var(--ar-line-soft);
  }

  .ar-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .ar-nav__link {
    width: 100%;
    justify-content: flex-start;
    padding: 14px 2px;
    font-size: 15px;
    border-bottom: 1px solid rgba(145, 166, 174, 0.1);
  }

  .ar-nav__link::after {
    display: none;
  }

  .ar-nav__link[aria-current="page"] {
    background: rgba(181, 71, 54, 0.12);
  }

  .ar-header__meta-inner {
    font-size: 10.5px;
    letter-spacing: 0.1em;
  }
}

@media (max-width: 640px) {
  .ar-meta__helper {
    display: none;
  }

  .ar-masthead {
    grid-template-columns: 1fr;
    padding-block: 16px 14px;
  }

  .ar-masthead__rule {
    display: none;
  }

  .ar-footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ar-footer__base {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .ar-btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .ar-navtoggle__text {
    font-size: 10px;
    letter-spacing: 0.12em;
  }
}

/* ---------- 11. 动效偏好 ---------- */
@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;
    scroll-behavior: auto !important;
  }

  body::after { animation: none; opacity: 0.6; }

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

  .ar-card:hover,
  .ar-btn:hover,
  .ar-footer__list a:hover {
    transform: none;
  }
}

/* ---------- 12. 打印 ---------- */
@media print {
  body {
    background: #fff;
    color: #111;
  }

  body::after,
  .ar-header,
  .ar-footer,
  .ar-skip,
  .ar-progress { display: none !important; }

  .ar-main { padding: 0; }

  .ar-card,
  .ar-figure {
    border-color: #bbb;
    background: #fff;
    color: #111;
  }
}
