/* ============================================================
   问鼎苹果会馆 · 共享站点样式 /assets/site.css
   深空黑侧边轨道 + 陶瓷暖白蓝图阅读面
   ============================================================ */

/* ---------- 1. 重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, p, ul, ol, li, figure, figcaption, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, picture, video { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }

/* ---------- 2. 变量 ---------- */
:root {
  /* 品牌色 */
  --ink: #0B0D0F;
  --graphite: #242A2F;
  --silver: #D7DBDE;
  --porcelain: #F4EFE6;
  --blue: #1E4F8F;
  --cyan: #18B7A0;
  --amber: #F4A51C;
  --violet: #756A99;
  --mist: #E9F0EE;
  --paper: #FFFFFF;

  /* 派生 */
  --ink-70: rgba(11, 13, 15, .7);
  --ink-55: rgba(11, 13, 15, .55);
  --ink-30: rgba(11, 13, 15, .3);
  --line: rgba(11, 13, 15, .14);
  --line-soft: rgba(11, 13, 15, .08);
  --line-light: rgba(215, 219, 222, .16);
  --line-light-soft: rgba(215, 219, 222, .08);
  --paper-70: rgba(244, 239, 230, .7);
  --paper-45: rgba(244, 239, 230, .45);

  /* 字体 */
  --font-display: "Inter Tight", "MiSans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-ui: "Inter", "MiSans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Serif SC", "Songti SC", "Source Han Serif SC", Georgia, serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* 结构 */
  --rail-w: 264px;
  --header-h: 64px;
  --gutter: clamp(20px, 4.5vw, 72px);
  --maxw: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
  --ease: cubic-bezier(.22, .68, .24, 1);
}

/* ---------- 3. 基础中文排版 ---------- */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background-color: var(--porcelain);
  background-image:
    linear-gradient(to right, rgba(36, 42, 47, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(36, 42, 47, .055) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.14;
  color: var(--ink);
}
h1 { font-size: clamp(30px, 4vw, 64px); }
h2 { font-size: clamp(23px, 2.6vw, 40px); }
h3 { font-size: clamp(18px, 1.6vw, 22px); }
h4 { font-size: 16px; }

::selection { background: rgba(24, 183, 160, .28); color: var(--ink); }

#main-content { scroll-margin-block-start: calc(var(--header-h) + 16px); }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- 4. 跳过链接 ---------- */
.skip-link {
  position: fixed;
  inset-block-start: 10px;
  inset-inline-start: 50%;
  transform: translate(-50%, -180%);
  z-index: 200;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--porcelain);
  font-family: var(--font-ui);
  font-size: 14px;
  transition: transform .2s var(--ease);
}
.skip-link:focus-visible { transform: translate(-50%, 0); }

/* ---------- 5. 站点头部：侧边轨道 ---------- */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline-start: 0;
  z-index: 90;
  width: var(--rail-w);
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  color: var(--porcelain);
  background-color: var(--ink);
  background-image:
    linear-gradient(to right, var(--line-light-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-light-soft) 1px, transparent 1px);
  background-size: 56px 56px;
  border-inline-end: 1px solid var(--line-light);
}

/* 滚动进度 */
.scroll-progress {
  position: fixed;
  inset-block-start: 0;
  inset-inline-start: var(--rail-w);
  inset-inline-end: 0;
  height: 2px;
  background: rgba(215, 219, 222, .1);
  pointer-events: none;
  z-index: 95;
}
.scroll-progress-bar {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--blue), var(--cyan) 58%, var(--amber));
  transition: transform .12s linear;
}

/* 品牌条 */
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 20px 20px;
  border-block-end: 1px solid var(--line-light);
  flex: 0 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-mark {
  position: relative;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(215, 219, 222, .4);
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  color: var(--paper);
  background: linear-gradient(150deg, rgba(30, 79, 143, .6), rgba(11, 13, 15, 0) 68%);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset-inline-end: -1px;
  inset-block-end: -1px;
  width: 11px;
  height: 11px;
  border-inline-end: 2px solid var(--cyan);
  border-block-end: 2px solid var(--cyan);
  border-end-end-radius: 10px;
}
.brand:hover .brand-mark { border-color: var(--cyan); transform: translateY(-1px); }
.brand-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .01em;
  line-height: 1.2;
  color: var(--paper);
  white-space: nowrap;
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  line-height: 1;
  color: var(--cyan);
}

/* 移动按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid rgba(215, 219, 222, .3);
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 13px;
  line-height: 1;
  color: var(--porcelain);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.nav-toggle:hover { border-color: var(--cyan); background: rgba(24, 183, 160, .12); }
.nav-toggle-bars { position: relative; display: block; width: 16px; height: 10px; }
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform .25s var(--ease), top .25s var(--ease);
}
.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars::after { top: 8px; }
.site-header[data-open="true"] .nav-toggle-bars::before { top: 4px; transform: rotate(45deg); }
.site-header[data-open="true"] .nav-toggle-bars::after { top: 4px; transform: rotate(-45deg); }

/* 导航 */
.site-nav {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  padding: 20px 14px 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: transparent;
}
.nav-title {
  padding: 0 8px 12px;
  margin-block-end: 10px;
  border-block-end: 1px solid var(--line-light);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--paper-45);
}
.nav-list { display: flex; flex-direction: column; gap: 2px; }
.nav-item { display: block; }
.nav-link {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: 8px;
  padding: 10px 10px 10px 12px;
  border-inline-start: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 14.5px;
  line-height: 1.35;
  color: rgba(244, 239, 230, .72);
  transition: background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease);
}
.nav-index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--paper-45);
  transition: color .18s var(--ease);
}
.nav-label { min-width: 0; }
.nav-link:hover {
  background: rgba(255, 255, 255, .06);
  color: var(--paper);
  border-inline-start-color: var(--cyan);
  transform: translateX(2px);
}
.nav-link:hover .nav-index { color: var(--cyan); }
.nav-link[aria-current="page"] {
  background: var(--graphite);
  color: var(--paper);
  border-inline-start-color: var(--cyan);
}
.nav-link[aria-current="page"] .nav-index { color: var(--cyan); }

/* 轨道底部 */
.nav-foot {
  margin-block-start: auto;
  padding-block-start: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.header-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
}
.header-cta::after {
  content: "→";
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
}
.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(244, 165, 28, .3);
}
.nav-note {
  padding-inline: 2px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .05em;
  line-height: 1.5;
  color: var(--paper-45);
}

/* 遮罩 */
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(11, 13, 15, .58);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
@media (min-width: 1024px) { .nav-scrim { display: none; } }

/* 桌面端内容让位 */
@media (min-width: 1024px) {
  body { padding-inline-start: var(--rail-w); }
}

/* ---------- 6. 平板 / 手机 ---------- */
@media (max-width: 1023px) {
  body {
    padding-inline-start: 0;
    padding-block-start: var(--header-h);
    background-size: 48px 48px;
  }
  .site-header {
    width: 100%;
    height: var(--header-h);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-inline: clamp(16px, 4vw, 28px);
    background-image: none;
    border-inline-end: 0;
    border-block-end: 1px solid var(--line-light);
  }
  .header-bar { padding: 0; border: 0; flex: 0 0 auto; }
  .nav-toggle { display: inline-flex; }
  .brand-mark { width: 36px; height: 36px; font-size: 16px; }
  .brand-name { font-size: 14px; }
  .brand-sub { font-size: 9.5px; letter-spacing: .16em; }

  .scroll-progress {
    inset-inline-start: 0;
    inset-block-start: var(--header-h);
    background: rgba(215, 219, 222, .12);
  }

  .site-nav {
    position: fixed;
    inset-inline-start: 0;
    inset-block-start: var(--header-h);
    z-index: 80;
    width: min(340px, 86vw);
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    padding: 20px 16px 24px;
    background-color: var(--ink);
    background-image:
      linear-gradient(to right, var(--line-light-soft) 1px, transparent 1px),
      linear-gradient(to bottom, var(--line-light-soft) 1px, transparent 1px);
    background-size: 48px 48px;
    border-inline-end: 1px solid var(--line-light);
    box-shadow: 18px 0 40px rgba(11, 13, 15, .28);
    transform: translateX(-104%);
    visibility: hidden;
    transition: transform .34s var(--ease), visibility .34s var(--ease);
  }
  .site-header[data-open="true"] .site-nav {
    transform: translateX(0);
    visibility: visible;
  }
  .site-header[data-open="true"] .nav-scrim {
    opacity: 1;
    pointer-events: auto;
  }
  .nav-link { font-size: 15px; padding-block: 12px; }
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
}

/* ---------- 7. 站点页脚 ---------- */
.site-footer {
  position: relative;
  margin-block-start: clamp(32px, 6vw, 72px);
  padding: clamp(40px, 6vw, 76px) var(--gutter) clamp(24px, 3vw, 34px);
  color: var(--paper-70);
  font-family: var(--font-ui);
  background-color: var(--ink);
  background-image:
    linear-gradient(to right, var(--line-light-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-light-soft) 1px, transparent 1px);
  background-size: 56px 56px;
  border-block-start: 1px solid var(--line-light);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan) 36%, rgba(24, 183, 160, 0) 74%);
}

.footer-grid {
  max-width: var(--maxw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.5fr .9fr .9fr 1.25fr;
  gap: clamp(28px, 4vw, 52px);
}

.footer-brand { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.brand--footer { align-items: center; }
.footer-tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.45;
  letter-spacing: -.01em;
  color: var(--paper);
  max-width: 22ch;
}
.footer-seal {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .22em;
  color: var(--paper-45);
}

.footer-col { display: flex; flex-direction: column; min-width: 0; }
.footer-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-block-end: 16px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .22em;
  line-height: 1.4;
  color: var(--cyan);
}
.footer-title::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--line-light);
}

.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-block: 2px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--paper-70);
  transition: color .18s var(--ease), gap .18s var(--ease);
}
.footer-link::before {
  content: "";
  flex: 0 0 auto;
  width: 12px;
  height: 1px;
  background: rgba(215, 219, 222, .35);
  transition: background-color .18s var(--ease), width .18s var(--ease);
}
.footer-link:hover { color: var(--paper); gap: 14px; }
.footer-link:hover::before { width: 18px; background: var(--cyan); }

.footer-contact { display: flex; flex-direction: column; gap: 13px; }
.footer-contact li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}
.contact-label {
  padding-block-start: 2px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  line-height: 1.6;
  color: var(--paper-45);
}
.contact-value {
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(244, 239, 230, .84);
  word-break: break-word;
}

.footer-base {
  max-width: var(--maxw);
  margin-inline: auto;
  margin-block-start: clamp(32px, 5vw, 56px);
  padding-block-start: 18px;
  border-block-start: 1px solid var(--line-light);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 26px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  line-height: 1.7;
  color: rgba(215, 219, 222, .42);
}
.footer-copy, .footer-icp, .footer-coord { margin: 0; }

@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-base { justify-content: flex-start; }
}

/* ---------- 8. 通用布局 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.page-main {
  display: block;
  padding-block: clamp(26px, 4.5vw, 54px) clamp(40px, 6vw, 80px);
}
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

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

.rule { height: 1px; border: 0; margin: 0; background: var(--line); }
.rule--dark { background: var(--line-light); }

/* ---------- 9. 文字工具 ---------- */
.prose {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--ink);
}
.prose p { max-width: 68ch; }
.prose p + p { margin-block-start: 1em; }
.prose h2 { margin-block: 1.5em .55em; }
.prose h3 { margin-block: 1.3em .45em; }
.prose ul { padding: 0; list-style: none; }
.prose li {
  position: relative;
  padding-inline-start: 20px;
  margin-block: 8px;
  max-width: 64ch;
}
.prose li::before {
  content: "";
  position: absolute;
  inset-inline-start: 2px;
  inset-block-start: .74em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--cyan);
  transform: rotate(45deg);
}
.prose a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .18s var(--ease);
}
.prose a:hover { color: var(--cyan); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue);
}
.section-index {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-block-end: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
}
.section-index::after {
  content: "";
  flex: 0 1 84px;
  height: 1px;
  background: var(--line);
}
.mono, .num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ---------- 10. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-block-end: 18px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--ink-55);
}
.breadcrumb a { color: var(--blue); transition: color .18s var(--ease); }
.breadcrumb a:hover { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb .sep { color: var(--ink-30); }
.breadcrumb [aria-current="page"] { color: var(--ink); }

/* ---------- 11. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              color .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--ink); color: var(--porcelain); }
.btn--primary:hover { background: var(--graphite); box-shadow: 0 10px 22px rgba(11, 13, 15, .2); }
.btn--amber { background: var(--amber); color: var(--ink); }
.btn--amber:hover { box-shadow: 0 10px 22px rgba(244, 165, 28, .3); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--cyan); background: rgba(24, 183, 160, .08); }
.btn--on-dark { background: transparent; border-color: rgba(215, 219, 222, .32); color: var(--porcelain); }
.btn--on-dark:hover { border-color: var(--cyan); background: rgba(24, 183, 160, .12); }

/* ---------- 12. 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .08em;
  background: var(--mist);
  color: var(--graphite);
}
.tag--cyan { background: rgba(24, 183, 160, .16); color: #0A6E60; }
.tag--amber { background: rgba(244, 165, 28, .18); color: #8A5A00; }
.tag--violet { background: rgba(117, 106, 153, .16); color: #4D4470; }
.tag--blue { background: rgba(30, 79, 143, .12); color: var(--blue); }

/* ---------- 13. 卡片（档案系统） ---------- */
.card {
  position: relative;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
  box-shadow: 0 14px 30px rgba(11, 13, 15, .08);
}
.card--archive { border-inline-start: 3px solid var(--blue); }
.card--data { background: var(--mist); border-color: rgba(30, 79, 143, .12); }
.card--rail {
  background: var(--graphite);
  border-color: transparent;
  color: var(--porcelain);
}
.card--rail:hover { border-color: var(--cyan); }
.card--index { background: transparent; border-style: dashed; }
.card-title {
  margin-block-end: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -.01em;
}
.card-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--ink-55);
}
.card--rail .card-meta { color: var(--paper-45); }

/* ---------- 14. 图片容器基础 ---------- */
.figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--mist);
}
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure--wide { aspect-ratio: 16 / 9; }
.figure--square { aspect-ratio: 1 / 1; }
.figure--portrait { aspect-ratio: 4 / 5; }
.figure--micro { aspect-ratio: 3 / 2; }
.figure--plate {
  background:
    radial-gradient(120% 90% at 15% 0%, rgba(30, 79, 143, .16), rgba(30, 79, 143, 0) 62%),
    linear-gradient(145deg, var(--mist), var(--paper) 58%, rgba(24, 183, 160, .12));
}
.figure-cap {
  padding-block-start: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--ink-55);
}

/* ---------- 15. 显现（页面阶段加 data-reveal） ---------- */
.has-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.has-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 16. 减少动态 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .has-reveal [data-reveal] { opacity: 1 !important; transform: none !important; }
  .card:hover, .btn:hover, .header-cta:hover, .nav-link:hover, .brand:hover .brand-mark { transform: none !important; }
  .scroll-progress-bar { transition: none !important; }
}
