/* ==========================================================
   杏悦地址服务 · 共享样式 /assets/site.css
   暖纸底 + 深墨绿结构 + 杏橙信号 · 内行手册气质
   ========================================================== */

/* ---------- 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) + 14px);
}

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, video { display: block; max-width: 100%; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

a { color: inherit; text-decoration: none; }

table { border-collapse: collapse; width: 100%; }

/* ---------- 变量 ---------- */
:root {
  /* 色彩 */
  --apricot: #F28C38;
  --apricot-deep: #DB7620;
  --apricot-soft: rgba(242, 140, 56, 0.12);
  --ink: #1F3B32;
  --ink-deep: #14251F;
  --steel: #5B6E8C;
  --steel-soft: rgba(91, 110, 140, 0.12);
  --paper: #F7F1E7;
  --sage: #E8EDE6;
  --line: #C9BFB0;
  --ok: #4F8A5B;
  --warn: #D9A441;
  --quote-bg: #EDF1F7;
  --white: #FFFDF8;
  --stamp: #B95B45;

  /* 尺寸 */
  --wrap: 1240px;
  --gutter: clamp(1.15rem, 4vw, 3.25rem);
  --header-h: 74px;
  --radius: 4px;
  --shadow-soft: 0 22px 48px -32px rgba(20, 37, 31, 0.6);
  --shadow-lift: 0 14px 30px -24px rgba(20, 37, 31, 0.55);

  /* 字体 */
  --font-sans: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-quote: "LXGW WenKai", "霞鹜文楷", "KaiTi", "STKaiti", "Songti SC", serif;
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
}

/* ---------- 中文排版与基础底色 ---------- */
body {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.96rem + 0.18vw, 1.075rem);
  line-height: 1.75;
  color: var(--ink-deep);
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 10% 4%, rgba(242, 140, 56, 0.07), transparent 42%),
    radial-gradient(circle at 92% 0%, rgba(91, 110, 140, 0.08), transparent 46%),
    repeating-linear-gradient(0deg, rgba(20, 37, 31, 0.018) 0 1px, transparent 1px 3px);
  background-attachment: scroll;
  padding-top: var(--header-h);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.012em;
  color: var(--ink-deep);
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5vw, 5.6rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; letter-spacing: 0; }

p { text-wrap: pretty; }

strong { font-weight: 700; }

main { display: block; }

/* ---------- 焦点与可访问性 ---------- */
:focus-visible {
  outline: 2px solid var(--apricot);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 300;
  transform: translateY(-180%);
  background: var(--ink-deep);
  color: var(--paper);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease;
}

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

/* ==========================================================
   头部 / 透明叠加步骤条
   ========================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background 0.36s ease,
    border-color 0.36s ease,
    box-shadow 0.36s ease,
    backdrop-filter 0.36s ease;
}

.site-header[data-scrolled="true"],
html.nav-open .site-header {
  background: rgba(247, 241, 231, 0.94);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 32px -28px rgba(20, 37, 31, 0.95);
}

.header-inner {
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2.5vw, 2.25rem);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: 0 0 auto;
  padding-block: 0.35rem;
}

.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 3px;
  background: var(--apricot);
  color: var(--ink-deep);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  box-shadow: inset 0 -2px 0 rgba(20, 37, 31, 0.16);
  transition: transform 0.24s ease;
}

.brand:hover .brand-mark { transform: rotate(-4deg); }

.brand-text {
  display: grid;
  gap: 0.12rem;
  line-height: 1.1;
}

.brand-name {
  font-size: 0.99rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink-deep);
  white-space: nowrap;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--steel);
  white-space: nowrap;
}

/* 导航 */
.primary-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.nav-item { display: flex; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.78rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(20, 37, 31, 0.76);
  border-radius: 3px;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.78rem;
  right: 0.78rem;
  bottom: 0.6rem;
  height: 2px;
  background: var(--apricot);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.nav-link:hover { color: var(--ink-deep); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-link[aria-current="page"] {
  color: var(--ink-deep);
  font-weight: 700;
}

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

/* 右侧动作区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: 0 0 auto;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.05rem;
  border-radius: 3px;
  background: var(--apricot);
  color: var(--ink-deep);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 10px 20px -16px rgba(242, 140, 56, 1);
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover { background: #F79B4E; transform: translateY(-1px); }
.nav-cta:active { transform: translateY(0); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0 0.75rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(255, 253, 248, 0.72);
  color: var(--ink-deep);
  font-size: 0.82rem;
  font-weight: 600;
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink-deep);
  transition: background 0.22s ease;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink-deep);
  transition: transform 0.26s ease, top 0.26s ease;
}

.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

.nav-toggle-text { line-height: 1; }

/* ---------- 移动端导航 ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }

  .primary-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: block;
    flex: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    transition: max-height 0.38s cubic-bezier(0.2, 0.7, 0.3, 1), opacity 0.28s ease;
  }

  .primary-nav[data-open="true"] {
    max-height: min(76vh, 560px);
    overflow-y: auto;
    opacity: 1;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem var(--gutter) 1.3rem;
  }

  .nav-item { display: block; }

  .nav-link {
    display: flex;
    justify-content: flex-start;
    min-height: 50px;
    padding: 0.9rem 0.2rem;
    font-size: 1.03rem;
    border-bottom: 1px solid rgba(201, 191, 176, 0.55);
    border-radius: 0;
  }

  .nav-link::after {
    left: 0.2rem;
    right: auto;
    bottom: 0.55rem;
    width: 26px;
  }

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

  .header-actions { margin-left: auto; }
}

@media (max-width: 480px) {
  .brand-sub { display: none; }
  .nav-cta { padding: 0 0.8rem; font-size: 0.8rem; }
  .nav-toggle-text { display: none; }
}

/* ==========================================================
   页脚 / 封底
   ========================================================== */
.site-footer {
  position: relative;
  margin-top: clamp(3rem, 7vw, 6.5rem);
  padding-top: clamp(2.8rem, 5vw, 4.4rem);
  background: var(--ink);
  color: rgba(247, 241, 231, 0.8);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 16px;
  background: linear-gradient(90deg,
    var(--apricot) 0 30%,
    var(--steel) 30% 54%,
    rgba(247, 241, 231, 0.22) 54% 100%);
  clip-path: polygon(0 0, 100% 0, 100% 16%, 0 100%);
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 16px 0 auto;
  height: 220px;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, rgba(247, 241, 231, 0.05) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(247, 241, 231, 0.045) 0 1px, transparent 1px 64px);
  opacity: 0.55;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 1.05fr;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: start;
}

.footer-mark {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 3px;
  background: var(--apricot);
  color: var(--ink-deep);
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: inset 0 -2px 0 rgba(20, 37, 31, 0.2);
}

.footer-brand-name {
  margin-top: 0.95rem;
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.footer-brand-desc {
  margin-top: 0.55rem;
  max-width: 30ch;
  font-size: 0.93rem;
  line-height: 1.72;
  color: rgba(247, 241, 231, 0.68);
}

.footer-note {
  margin-top: 1.15rem;
  padding-left: 0.85rem;
  border-left: 2px solid rgba(242, 140, 56, 0.6);
  font-size: 0.85rem;
  line-height: 1.72;
  color: rgba(247, 241, 231, 0.6);
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.footer-col-title {
  margin-bottom: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--apricot);
}

.footer-links { display: grid; gap: 0.1rem; }

.footer-links a {
  display: inline-block;
  padding: 0.3rem 0;
  font-size: 0.92rem;
  color: rgba(247, 241, 231, 0.72);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
  color: var(--apricot);
  transform: translateX(3px);
}

.contact-list {
  display: grid;
  gap: 0.72rem;
}

.contact-row {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 0.55rem;
  align-items: baseline;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 241, 231, 0.44);
}

.contact-value {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(247, 241, 231, 0.87);
  overflow-wrap: anywhere;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 1.15rem var(--gutter) 1.7rem;
  border-top: 1px solid rgba(247, 241, 231, 0.14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem 1.5rem;
  font-size: 0.79rem;
  color: rgba(247, 241, 231, 0.55);
}

.footer-copy { letter-spacing: 0.02em; }

.footer-icp {
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}

@media (max-width: 980px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom { font-size: 0.76rem; }
}

/* ==========================================================
   通用排版工具
   ========================================================== */
.prose {
  max-width: 66ch;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(20, 37, 31, 0.86);
}

.prose p + p { margin-top: 1rem; }
.prose h2, .prose h3 { margin-top: 2rem; margin-bottom: 0.7rem; }
.prose ul, .prose ol { margin: 1rem 0; padding-left: 1.15rem; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.4rem; }

.grid-split-57,
.grid-split-48 {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.grid-split-57 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.grid-split-48 { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }

@media (max-width: 900px) {
  .grid-split-57,
  .grid-split-48 { grid-template-columns: minmax(0, 1fr); }
}

.hero-bleed {
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + clamp(1.6rem, 4vw, 3.2rem));
}

/* ==========================================================
   展览说明牌
   ========================================================== */
.section-label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem 1rem;
  margin-bottom: clamp(1.1rem, 2vw, 1.6rem);
}

.label-index {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--apricot-deep);
  background: var(--apricot-soft);
  border: 1px solid rgba(242, 140, 56, 0.4);
  border-radius: 2px;
  padding: 0.24rem 0.6rem;
  line-height: 1.4;
}

.label-title {
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--ink-deep);
}

.label-note {
  flex: 1 1 100%;
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(20, 37, 31, 0.58);
}

/* ==========================================================
   按钮
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.68rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 3px;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.18s ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--apricot);
  color: var(--ink-deep);
  box-shadow: 0 12px 24px -18px rgba(242, 140, 56, 1);
}

.btn-primary:hover { background: #F79B4E; }

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

.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(31, 59, 50, 0.06);
}

.btn-steel {
  background: var(--steel);
  color: #fff;
}

.btn-steel:hover { background: #6B7E9C; }

.btn-mini {
  min-height: 36px;
  padding: 0.35rem 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
}

.btn.is-copied {
  background: var(--ok);
  border-color: var(--ok);
  color: #fff;
}

/* ==========================================================
   编号卡片
   ========================================================== */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.05rem, 2.2vw, 1.55rem);
  box-shadow: var(--shadow-lift);
}

.card-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.4rem 1rem;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.05rem, 2.2vw, 1.5rem);
  box-shadow: var(--shadow-lift);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card-step:hover {
  border-color: rgba(242, 140, 56, 0.55);
  transform: translateY(-2px);
}

.card-enter {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1rem, 2vw, 1.35rem);
  overflow: hidden;
}

.card-enter::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 46px;
  height: 46px;
  background: linear-gradient(225deg, rgba(242, 140, 56, 0.28) 0 50%, transparent 50%);
}

.card-term {
  background: var(--sage);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1rem, 2vw, 1.3rem);
}

.num {
  display: inline-grid;
  place-items: center;
  min-width: 2.35rem;
  padding: 0.42rem 0.5rem;
  border: 1px solid rgba(242, 140, 56, 0.45);
  border-radius: 2px;
  background: var(--apricot-soft);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--apricot-deep);
}

/* ==========================================================
   标签与状态灯
   ========================================================== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.26rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  line-height: 1.4;
  color: rgba(20, 37, 31, 0.72);
}

.tag-stable {
  color: var(--ok);
  border-color: rgba(79, 138, 91, 0.45);
  background: rgba(79, 138, 91, 0.1);
}

.tag-test {
  color: var(--steel);
  border-color: rgba(91, 110, 140, 0.45);
  background: var(--steel-soft);
}

.tag-note {
  color: #8A6A18;
  border-color: rgba(217, 164, 65, 0.5);
  background: rgba(217, 164, 65, 0.12);
}

.status-dot {
  display: inline-block;
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(79, 138, 91, 0.18);
  animation: breathe 3.6s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { box-shadow: 0 0 0 4px rgba(79, 138, 91, 0.18); }
  50% { box-shadow: 0 0 0 9px rgba(79, 138, 91, 0.05); }
}

/* ==========================================================
   手写感引用便签
   ========================================================== */
.quote-note {
  position: relative;
  padding: 1rem 1.15rem 1rem 1.7rem;
  border: 1px solid rgba(143, 160, 184, 0.55);
  border-left: 3px solid var(--steel);
  border-radius: 2px;
  background: var(--quote-bg);
  font-family: var(--font-quote);
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.78;
  color: #26364A;
  box-shadow: 0 10px 22px -24px rgba(20, 37, 31, 0.9);
}

.quote-note::before {
  content: "\201C";
  position: absolute;
  top: -0.2rem;
  left: 0.4rem;
  font-family: var(--font-quote);
  font-size: 2.5rem;
  line-height: 1;
  color: rgba(143, 160, 184, 0.55);
}

/* ==========================================================
   图片容器
   ========================================================== */
.figure-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(140deg, var(--sage) 0%, #DCE4D9 100%);
  box-shadow: var(--shadow-lift);
}

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

.figure-frame[data-ratio="16x9"] { aspect-ratio: 16 / 9; }
.figure-frame[data-ratio="4x3"] { aspect-ratio: 4 / 3; }
.figure-frame[data-ratio="3x4"] { aspect-ratio: 3 / 4; }
.figure-frame[data-ratio="1x1"] { aspect-ratio: 1 / 1; }

.figure-caption {
  margin-top: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  line-height: 1.6;
  color: rgba(20, 37, 31, 0.58);
}

/* ==========================================================
   面包屑
   ========================================================== */
.breadcrumb { font-size: 0.78rem; }

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  color: rgba(20, 37, 31, 0.55);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "\FF0F";
  color: var(--line);
}

.breadcrumb-item a {
  color: var(--steel);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.breadcrumb-item a:hover {
  color: var(--ink-deep);
  border-bottom-color: var(--apricot);
}

.breadcrumb-item[aria-current="page"] {
  color: var(--ink-deep);
  font-weight: 600;
}

/* ==========================================================
   主题筛选（只筛当前页已有内容）
   ========================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: clamp(1.1rem, 2vw, 1.6rem);
}

.filter-btn {
  min-height: 44px;
  padding: 0.5rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 0.87rem;
  font-weight: 600;
  color: rgba(20, 37, 31, 0.72);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.16s ease;
}

.filter-btn:hover {
  border-color: var(--steel);
  color: var(--steel);
}

.filter-btn:active { transform: scale(0.97); }

.filter-btn[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.is-filtered-out { display: none !important; }

/* ==========================================================
   手风琴
   ========================================================== */
.faq { border-top: 1px solid var(--line); }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 54px;
  padding: 1rem 0.2rem;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink-deep);
  transition: color 0.2s ease;
}

.faq-trigger:hover { color: var(--apricot-deep); }

.faq-trigger::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  line-height: 1;
  color: var(--apricot);
  transition: transform 0.26s ease;
}

.faq-trigger[aria-expanded="true"]::after { transform: rotate(45deg); }

.faq-panel {
  padding: 0 0.2rem 1.25rem;
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(20, 37, 31, 0.78);
}

.faq-panel[hidden] { display: none; }

/* ==========================================================
   入场显现
   ========================================================== */
[data-reveal] { opacity: 1; }

.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.7, 0.3, 1);
}

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

/* ==========================================================
   减少动态
   ========================================================== */
@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;
  }

  .status-dot { animation: none; }

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

  .brand:hover .brand-mark { transform: none; }
  .footer-links a:hover { transform: none; }
  .card-step:hover { transform: none; }
}
