/* ==========================================================================
   亿兆服务 · firstlook-yizhao.com.cn
   /assets/site.css — 共享层：reset / 设计令牌 / 中文排版 / 页头 / 页脚 /
   通用按钮与组件 / 图片容器 / 响应式 / 动效降级
   ========================================================================== */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 156px; }
body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video, picture { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (max-width: 880px) {
  html { scroll-padding-top: 172px; }
}

/* ---------- 2. 设计令牌 ---------- */
:root {
  --ink-900: #0B1F3A;
  --ink-800: #132B4D;
  --ink-700: #1B3A63;
  --paper: #F6F1E7;
  --snow: #F9FBFF;
  --orange: #FF6A3D;
  --cyan: #2FD4C8;
  --brown: #1C1814;
  --mist: #8EA7C4;
  --warm: #D9D2C5;
  --alert: #D94A3A;

  --font-display: "Space Grotesk", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "IBM Plex Mono", "Noto Sans Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --shell: 1180px;
  --gutter: clamp(18px, 4vw, 56px);
  --radius: 2px;
  --rule: rgba(11, 31, 58, 0.14);
  --rule-soft: rgba(11, 31, 58, 0.08);
  --rule-light: rgba(249, 251, 255, 0.16);
  --dur: 0.22s;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. 基础中文排版 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.68;
  color: var(--brown);
  background-color: var(--paper);
  background-image:
    radial-gradient(rgba(11, 31, 58, 0.05) 1px, transparent 1px),
    radial-gradient(rgba(11, 31, 58, 0.035) 1px, transparent 1px);
  background-size: 72px 72px, 26px 26px;
  background-position: 0 0, 13px 13px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-break: strict;
  word-break: normal;
  overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.18;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.06; letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 3vw, 36px); }
h3 { font-size: clamp(20px, 2vw, 24px); line-height: 1.3; }
p { text-wrap: pretty; }
p + p { margin-top: 0.9em; }

a { text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { text-decoration-color: var(--orange); }

::selection { background: var(--orange); color: #170E08; }

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

#main-content { display: block; }

/* ---------- 4. 容器与工具类 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }

/* ---------- 5. 页头 ---------- */
.skip-link {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 200;
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--ink-900);
  background: var(--snow);
  border: 1px solid var(--ink-900);
  border-radius: var(--radius);
  text-decoration: none;
  transform: translateY(-220%);
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  color: var(--snow);
  background-color: var(--ink-900);
  background-image:
    radial-gradient(120% 170% at 84% -50%, rgba(47, 212, 200, 0.16), transparent 58%),
    radial-gradient(90% 150% at 10% -60%, rgba(255, 106, 61, 0.15), transparent 60%),
    linear-gradient(180deg, #0B1F3A 0%, #0E2544 100%);
  border-bottom: 1px solid var(--rule-light);
}
.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(249, 251, 255, 0.4) 1px, transparent 1px),
    radial-gradient(rgba(249, 251, 255, 0.22) 1px, transparent 1px);
  background-size: 96px 96px, 40px 40px;
  background-position: 0 0, 21px 17px;
  opacity: 0.22;
}

.progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  z-index: 4;
  height: 2px;
  pointer-events: none;
}
.progress__bar {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  transition: transform 0.12s linear;
}

.header-main {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(10px, 2vw, 28px);
  padding-block: clamp(14px, 2vw, 22px);
  transition: padding var(--dur) var(--ease);
}

/* 地域坐标 */
.header-region {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--mist);
  text-transform: uppercase;
}
.header-region__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(47, 212, 200, 0.16);
  flex: none;
}
.header-region__sep { color: rgba(249, 251, 255, 0.28); }
.header-region__label { color: rgba(249, 251, 255, 0.6); letter-spacing: 0.12em; }

/* 品牌报头 */
.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
  text-decoration: none;
  padding-bottom: 6px;
  position: relative;
}
.brand::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 46px; height: 2px;
  margin-left: -23px;
  background: var(--orange);
  transition: width var(--dur) var(--ease), margin var(--dur) var(--ease);
}
.brand:hover::after { width: 78px; margin-left: -39px; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(21px, 2.3vw, 30px);
  line-height: 1;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  color: var(--snow);
  transition: font-size var(--dur) var(--ease), letter-spacing var(--dur) var(--ease);
}
.brand__tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-indent: 0.32em;
  color: var(--mist);
  line-height: 1;
}

/* 工具组 */
.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.qsearch { position: relative; display: block; }
.qsearch::before {
  content: "";
  position: absolute;
  left: 11px; top: 50%;
  width: 10px; height: 10px;
  border: 1.5px solid rgba(249, 251, 255, 0.5);
  border-radius: 50%;
  transform: translateY(-72%);
  pointer-events: none;
  z-index: 1;
}
.qsearch::after {
  content: "";
  position: absolute;
  left: 19px; top: 50%;
  width: 5px; height: 1.5px;
  background: rgba(249, 251, 255, 0.5);
  transform: rotate(45deg);
  transform-origin: 0 50%;
  pointer-events: none;
  z-index: 1;
}
.qsearch__input {
  width: clamp(146px, 17vw, 232px);
  height: 36px;
  padding: 0 10px 0 30px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--snow);
  background: rgba(249, 251, 255, 0.07);
  border: 1px solid rgba(249, 251, 255, 0.22);
  border-radius: var(--radius);
  appearance: none;
  -webkit-appearance: none;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), width var(--dur) var(--ease);
}
.qsearch__input::-webkit-search-decoration,
.qsearch__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.qsearch__input::placeholder { color: rgba(249, 251, 255, 0.46); }
.qsearch__input:hover { border-color: rgba(249, 251, 255, 0.4); }
.qsearch__input:focus {
  outline: none;
  background: rgba(249, 251, 255, 0.13);
  border-color: var(--cyan);
  box-shadow: 0 0 0 2px rgba(47, 212, 200, 0.22);
}

.qsearch__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  width: min(320px, 82vw);
  padding: 14px;
  color: var(--brown);
  background: var(--snow);
  border: 1px solid var(--warm);
  border-top: 2px solid var(--orange);
  border-radius: var(--radius);
  box-shadow: 0 26px 54px -30px rgba(11, 31, 58, 0.72);
}
.qsearch__hint {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #6B6357;
  margin-bottom: 8px;
}
.qsearch__list { display: grid; gap: 1px; }
.qsearch__list a {
  display: block;
  padding: 8px 10px;
  font-size: 14px;
  color: var(--ink-900);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: background-color 0.14s var(--ease), border-color 0.14s var(--ease);
}
.qsearch__list a:hover,
.qsearch__list a:focus-visible {
  background: rgba(11, 31, 58, 0.06);
  border-left-color: var(--orange);
}
.qsearch__empty {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: #6B6357;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 15px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: #1C1814;
  background: var(--orange);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.header-cta::after {
  content: "";
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #1C1814;
  transform: rotate(-90deg);
}
.header-cta:hover { background: #FF8355; transform: translateY(-1px); }
.header-cta:focus-visible { outline-color: var(--snow); }

/* 栏目带 */
.navrow {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(249, 251, 255, 0.13);
}
.navrow__inner {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav {
  flex: 1 1 auto;
  min-width: 0;
}
.nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 4px;
}
.nav__link {
  position: relative;
  display: inline-block;
  padding: 13px 11px;
  font-family: var(--font-display);
  font-size: 14.5px;
  letter-spacing: 0.06em;
  color: rgba(249, 251, 255, 0.78);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 11px; right: 11px; bottom: 7px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.2s var(--ease), background-color var(--dur) var(--ease);
}
.nav__link:hover { color: var(--snow); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--snow); font-weight: 600; }
.nav__link[aria-current="page"]::after { transform: scaleX(1); background: var(--cyan); }

.navtoggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 12px 12px 12px 4px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--snow);
}
.navtoggle__bars {
  position: relative;
  display: block;
  width: 18px; height: 2px;
  background: currentColor;
  transition: background-color 0.16s linear;
}
.navtoggle__bars::before,
.navtoggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 2px;
  background: currentColor;
  transition: transform 0.2s var(--ease);
}
.navtoggle__bars::before { top: -6px; }
.navtoggle__bars::after { top: 6px; }
.navtoggle[aria-expanded="true"] .navtoggle__bars { background: transparent; }
.navtoggle[aria-expanded="true"] .navtoggle__bars::before { transform: translateY(6px) rotate(45deg); }
.navtoggle[aria-expanded="true"] .navtoggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* 收拢态 */
.site-header[data-condensed="true"] .header-main { padding-block: 9px; }
.site-header[data-condensed="true"] .brand { padding-bottom: 0; }
.site-header[data-condensed="true"] .brand::after { display: none; }
.site-header[data-condensed="true"] .brand__name { font-size: 19px; letter-spacing: 0.1em; text-indent: 0.1em; }
.site-header[data-condensed="true"] .brand__tag { display: none; }
.site-header[data-condensed="true"] .nav__link { padding-block: 10px; }
.site-header[data-condensed="true"]::after { opacity: 0.1; }

/* ---------- 6. 页脚 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  color: rgba(249, 251, 255, 0.78);
  background-color: var(--ink-900);
  background-image:
    radial-gradient(120% 130% at 6% 0%, rgba(47, 212, 200, 0.13), transparent 55%),
    radial-gradient(90% 130% at 94% 8%, rgba(255, 106, 61, 0.14), transparent 58%),
    linear-gradient(180deg, #0E2544 0%, #0B1F3A 58%, #081527 100%);
  border-top: 1px solid var(--rule-light);
  padding-top: clamp(40px, 6vw, 74px);
}

.footer-ridge {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: clamp(64px, 9vw, 124px);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(47, 212, 200, 0.13), rgba(47, 212, 200, 0));
  clip-path: polygon(0% 100%, 0% 64%, 7% 50%, 14% 62%, 22% 36%, 30% 54%, 38% 42%, 47% 60%, 56% 32%, 65% 52%, 74% 44%, 83% 62%, 91% 48%, 100% 60%, 100% 100%);
  opacity: 0.75;
}

.footer-inner { position: relative; z-index: 1; }

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.6fr);
  gap: clamp(26px, 4vw, 60px);
  padding-bottom: clamp(26px, 3vw, 40px);
}

.footer-brand__name {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--snow);
  line-height: 1.1;
}
.footer-brand__tag {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.3em;
  color: var(--cyan);
}
.footer-lede {
  margin-top: 16px;
  max-width: 32ch;
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.8;
  color: rgba(249, 251, 255, 0.72);
}
.footer-region {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 5px 11px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--mist);
  border: 1px solid rgba(249, 251, 255, 0.2);
}
.footer-region__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 36px);
}
.footer-col__title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--snow);
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(249, 251, 255, 0.16);
}
.footer-links { display: grid; gap: 2px; }
.footer-link {
  display: inline-block;
  padding: 5px 0;
  font-size: 14.5px;
  color: rgba(249, 251, 255, 0.75);
  text-decoration: none;
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.footer-link:hover,
.footer-link:focus-visible {
  color: var(--cyan);
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding-block: 20px 26px;
  border-top: 1px solid rgba(249, 251, 255, 0.14);
}
.footer-contact {
  flex: 1 1 420px;
  max-width: 74ch;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: rgba(249, 251, 255, 0.62);
}
.footer-contact__sep {
  margin-inline: 0.6em;
  color: rgba(249, 251, 255, 0.32);
}
.footer-legal {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 38px;
  padding: 0 15px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--snow);
  border: 1px solid rgba(249, 251, 255, 0.28);
  border-radius: var(--radius);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.to-top::before {
  content: "";
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 6px solid var(--cyan);
}
.to-top:hover { background: rgba(249, 251, 255, 0.1); border-color: var(--cyan); }

/* ---------- 7. 通用组件 ---------- */
.panel { position: relative; padding-block: clamp(34px, 5.5vw, 84px); }
.panel--paper { background: var(--paper); }
.panel--dark {
  color: rgba(249, 251, 255, 0.84);
  background-color: var(--ink-900);
  background-image:
    radial-gradient(110% 140% at 88% -30%, rgba(47, 212, 200, 0.14), transparent 58%),
    linear-gradient(180deg, var(--ink-900), var(--ink-800));
}
.panel--dark h1, .panel--dark h2, .panel--dark h3 { color: var(--snow); }
.panel--dark a { color: var(--cyan); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-800);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--orange);
  flex: none;
}
.panel--dark .eyebrow { color: var(--mist); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-800);
  background: rgba(11, 31, 58, 0.05);
  border: 1px solid rgba(11, 31, 58, 0.22);
  border-radius: var(--radius);
}
.tag--cyan { color: #0C6A63; background: rgba(47, 212, 200, 0.14); border-color: rgba(47, 212, 200, 0.62); }
.tag--orange { color: #9E3A16; background: rgba(255, 106, 61, 0.13); border-color: rgba(255, 106, 61, 0.56); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.btn--primary { color: #1C1814; background: var(--orange); }
.btn--primary:hover { background: #FF8355; transform: translateY(-1px); }
.btn--line { color: var(--ink-900); background: transparent; border-color: rgba(11, 31, 58, 0.3); }
.btn--line:hover { border-color: var(--ink-900); background: rgba(11, 31, 58, 0.05); transform: translateY(-1px); }
.btn--cyan { color: #08211F; background: var(--cyan); }
.btn--cyan:hover { background: #57E2D8; transform: translateY(-1px); }
.panel--dark .btn--line { color: var(--snow); border-color: rgba(249, 251, 255, 0.4); }
.panel--dark .btn--line:hover { border-color: var(--snow); background: rgba(249, 251, 255, 0.1); }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: #6B6357;
}
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs li::after { content: "/"; color: rgba(11, 31, 58, 0.3); }
.breadcrumbs li:last-child::after { content: none; }
.breadcrumbs a { color: var(--ink-800); text-decoration: none; }
.breadcrumbs a:hover { color: var(--orange); }
.breadcrumbs [aria-current="page"] { color: var(--brown); }

.grid { display: grid; gap: clamp(20px, 3vw, 38px); }
.grid--split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.grid--duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* 图片容器基础（页面阶段放置 <img class="figure__media"> ） */
.figure { display: block; margin: 0; }
.figure__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background-color: var(--paper);
  background-image:
    repeating-linear-gradient(0deg, rgba(11, 31, 58, 0.09) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, rgba(11, 31, 58, 0.09) 0 1px, transparent 1px 26px);
}
.figure__frame--wide { aspect-ratio: 21 / 9; }
.figure__frame--square { aspect-ratio: 1 / 1; }
.figure__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.figure__caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.7;
  letter-spacing: 0.08em;
  color: #6B6357;
}
.panel--dark .figure__frame {
  border-color: rgba(249, 251, 255, 0.18);
  background-color: var(--ink-800);
  background-image:
    repeating-linear-gradient(0deg, rgba(249, 251, 255, 0.08) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, rgba(249, 251, 255, 0.08) 0 1px, transparent 1px 26px);
}
.panel--dark .figure__caption { color: var(--mist); }

/* 显现协议 */
html.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease);
}
html.js-ready [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 8. 响应式 ---------- */
@media (max-width: 1024px) {
  .header-region__label { display: none; }
  .header-region__sep { display: none; }
}

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

@media (max-width: 880px) {
  .header-main {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-block: 12px;
    align-items: center;
  }
  .header-region { display: none; }
  .brand { align-items: flex-start; text-align: left; padding-bottom: 4px; }
  .brand::after { left: 0; margin-left: 0; width: 34px; }
  .brand:hover::after { width: 56px; margin-left: 0; }
  .brand__name { font-size: 20px; letter-spacing: 0.12em; text-indent: 0.12em; }
  .brand__tag { font-size: 9.5px; letter-spacing: 0.24em; text-indent: 0.24em; }
  .site-header[data-condensed="true"] .brand__name { font-size: 18px; }

  .qsearch__input { width: 118px; padding-left: 28px; }
  .qsearch__input::placeholder { color: transparent; }
  .header-cta { padding: 0 12px; font-size: 12.5px; }

  .navrow__inner { flex-wrap: wrap; padding-block: 0; }
  .navtoggle { display: inline-flex; }
  .nav { flex-basis: 100%; display: none; }
  .nav[data-open] { display: block; }
  .nav__list {
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding-bottom: 12px;
  }
  .nav__link {
    display: block;
    padding: 12px 2px;
    font-size: 15.5px;
    border-bottom: 1px solid rgba(249, 251, 255, 0.1);
  }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--cyan); }
  .nav__link[aria-current="page"]::before {
    content: "";
    display: inline-block;
    width: 6px; height: 6px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--cyan);
    vertical-align: middle;
  }
  .site-header[data-condensed="true"] .nav__link { padding-block: 12px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; line-height: 1.72; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { padding-bottom: 30px; }
  .footer-contact { flex-basis: 100%; }
  .to-top { order: 3; }
  .qsearch__panel { width: min(300px, 88vw); }
}

@media (max-width: 420px) {
  .header-cta { padding: 0 10px; font-size: 12px; }
  .qsearch__input { width: 96px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 9. 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  html.js-ready [data-reveal] { opacity: 1; transform: none; }
  .progress__bar { transition: none; }
  .nav__link:hover::after { transform: scaleX(1); }
}
