/* ============================================================
   永兴集团指南 · /assets/site.css
   共享外壳：重置 / 变量 / 排版 / 页头 / 页脚 / 通用组件
   ============================================================ */

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

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--salt);
  background-image:
    radial-gradient(circle at 88% -6%, rgba(156, 207, 227, .42), transparent 44%),
    radial-gradient(circle at -8% 14%, rgba(30, 127, 168, .13), transparent 40%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video, picture { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }

a {
  color: var(--lake);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--ink-700); }

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

/* ---------- 2. 变量 ---------- */
:root {
  --ink-900: #0B1B2B;
  --ink-700: #14395A;
  --lake: #1E7FA8;
  --lake-dark: #17688C;
  --lake-300: #9CCFE3;
  --salt: #F8FAFB;
  --mist: #DFE7EC;
  --flag: #E8631A;
  --flag-dark: #C9500F;
  --amber: #F2A93B;
  --amber-ink: #B8430B;
  --text: #22333F;
  --green: #1E9E6E;
  --green-ink: #13724F;

  --shell-max: 1280px;
  --gutter: clamp(1.15rem, 4vw, 2.75rem);

  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --radius-pill: 999px;

  --font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "IBM Plex Sans SC", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --shadow-pill: 0 12px 34px -22px rgba(11, 27, 43, .62);
  --shadow-card: 0 22px 54px -36px rgba(11, 27, 43, .58);
  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* ---------- 3. 排版基调 ---------- */
.legend-tag {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--lake);
}
.legend-tag::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.14;
  letter-spacing: -.025em;
  color: var(--ink-900);
}
.section-lede {
  max-width: 34ch;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(34, 51, 63, .78);
}
.num-display {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  color: var(--ink-700);
}
.num-display--flag { color: var(--flag); }

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

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(2.25rem, 5vw, 3.5rem); }
.section--mist { background: var(--mist); }
.section--dark { background: var(--ink-900); color: #CDDEE9; }
.section--dark .section-title { color: #F2F7FA; }
.section--dark .section-lede { color: rgba(205, 222, 233, .82); }
.section--dark .legend-tag { color: var(--lake-300); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-bottom: clamp(1.75rem, 3.6vw, 3rem);
}
.section-head > .section-lede { flex: 0 1 34ch; }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-9 { grid-column: span 9; }
.span-12 { grid-column: span 12; }
.span-full { grid-column: 1 / -1; }

/* ---------- 5. 按钮与标签 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .68rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .24s var(--ease), color .24s var(--ease),
              border-color .24s var(--ease), transform .24s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: .54rem 1rem; font-size: .88rem; }
.btn--flag { background: var(--flag); color: #fff; }
.btn--flag:hover { background: var(--flag-dark); color: #fff; }
.btn--lake { background: var(--lake); color: #fff; }
.btn--lake:hover { background: var(--lake-dark); color: #fff; }
.btn--ghost { background: transparent; border-color: rgba(30, 127, 168, .48); color: var(--ink-700); }
.btn--ghost:hover { background: rgba(156, 207, 227, .28); color: var(--ink-900); }
.btn--ghost-light { background: transparent; border-color: rgba(156, 207, 227, .5); color: #E4EFF5; }
.btn--ghost-light:hover { background: rgba(156, 207, 227, .16); color: #fff; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .26rem .68rem;
  border-radius: var(--radius-pill);
  background: rgba(156, 207, 227, .28);
  border: 1px solid rgba(30, 127, 168, .3);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-700);
  white-space: nowrap;
}
.chip--flag { background: rgba(232, 99, 26, .12); border-color: rgba(232, 99, 26, .42); color: var(--amber-ink); }
.chip--green { background: rgba(30, 158, 110, .12); border-color: rgba(30, 158, 110, .38); color: var(--green-ink); }

/* ---------- 6. 页头：悬浮玻璃胶囊 ---------- */
.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 200;
  transform: translate(-50%, -130%);
  padding: .7rem 1.3rem;
  border-radius: 0 0 14px 14px;
  background: var(--ink-900);
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .24s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  padding-top: clamp(.55rem, 1.4vw, .95rem);
}

.header-inner {
  position: relative;
  width: 100%;
  max-width: 1340px;
  margin-inline: auto;
  padding-inline: clamp(.7rem, 2.4vw, 1.5rem);
  padding-bottom: .85rem;
}

.header-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(.6rem, 1.6vw, 1.35rem);
  padding: .5rem .5rem .5rem clamp(.75rem, 1.6vw, 1.05rem);
  border: 1px solid rgba(30, 127, 168, .22);
  border-radius: var(--radius-pill);
  background: rgba(248, 250, 251, .74);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  box-shadow: var(--shadow-pill);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header[data-scrolled] .header-shell {
  background: rgba(248, 250, 251, .93);
  border-color: rgba(30, 127, 168, .3);
  box-shadow: 0 18px 44px -26px rgba(11, 27, 43, .6);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-right: auto;
  min-width: 0;
  color: var(--ink-900);
  text-decoration: none;
}
.brand-text { display: block; min-width: 0; }
.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: linear-gradient(150deg, var(--lake) 0%, var(--ink-700) 100%);
  color: #fff;
  font-family: var(--font-mono);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .06em;
}
.brand-mark::after {
  content: "";
  position: absolute;
  right: -3px;
  top: -3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--flag);
  border: 2px solid var(--salt);
}
.brand-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.15;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.brand-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: .63rem;
  line-height: 1.3;
  letter-spacing: .12em;
  color: var(--lake);
  white-space: nowrap;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: .12rem;
}
.site-nav a {
  display: block;
  padding: .5rem .82rem;
  border-radius: var(--radius-pill);
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink-700);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .24s var(--ease), color .24s var(--ease);
}
.site-nav a:hover { background: rgba(156, 207, 227, .34); color: var(--ink-900); }
.site-nav a[aria-current="page"] { background: var(--lake); color: #fff; }
.site-nav a[aria-current="page"]:hover { background: var(--lake-dark); color: #fff; }

.header-meta {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex: 0 0 auto;
}

.version-badge {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  padding: .34rem .68rem;
  border: 1px dashed rgba(30, 127, 168, .42);
  border-radius: var(--radius-pill);
  background: rgba(223, 231, 236, .7);
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .06em;
  color: var(--ink-700);
  white-space: nowrap;
}
.version-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  position: relative;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(30, 127, 168, .34);
  border-radius: 50%;
  background: rgba(255, 255, 255, .68);
  cursor: pointer;
  transition: background-color .24s var(--ease), border-color .24s var(--ease);
}
.nav-toggle:hover { background: rgba(156, 207, 227, .34); border-color: var(--lake); }
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  margin-left: -9px;
  margin-top: -1px;
  border-radius: 2px;
  background: var(--ink-700);
  transition: transform .3s var(--ease), opacity .2s var(--ease), background-color .24s var(--ease);
}
.nav-toggle-bars::before { content: ""; transform: translateY(-6px); }
.nav-toggle-bars::after { content: ""; transform: translateY(6px); }
.site-header[data-open] .nav-toggle-bars { background: transparent; }
.site-header[data-open] .nav-toggle-bars::before { transform: rotate(45deg); background: var(--flag); }
.site-header[data-open] .nav-toggle-bars::after { transform: rotate(-45deg); background: var(--flag); }

.route-progress {
  position: absolute;
  left: clamp(.7rem, 2.4vw, 1.5rem);
  right: clamp(.7rem, 2.4vw, 1.5rem);
  bottom: 3px;
  height: 3px;
  border-radius: var(--radius-pill);
  background: rgba(30, 127, 168, .13);
  overflow: hidden;
  pointer-events: none;
}
.route-progress-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--lake) 0%, var(--lake-300) 52%, var(--flag) 100%);
  transition: width .12s linear;
}

/* ---------- 7. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding-block: clamp(2.75rem, 6vw, 4.5rem) 1.5rem;
  background: var(--ink-900);
  color: #C9DCE8;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(115deg, rgba(156, 207, 227, .07) 0 1px, transparent 1px 24px),
    radial-gradient(circle at 84% 6%, rgba(30, 127, 168, .38), transparent 48%);
}
.footer-wrap { position: relative; z-index: 1; }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.7fr) minmax(0, 1.15fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}

.footer-mark {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  border: 1px solid rgba(156, 207, 227, .42);
  background: linear-gradient(150deg, var(--lake) 0%, var(--ink-700) 100%);
  color: #fff;
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
}
.footer-name {
  margin-top: .9rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.16rem;
  letter-spacing: -.01em;
  color: #F1F7FA;
}
.footer-tag {
  margin-top: .2rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  color: rgba(156, 207, 227, .92);
}

.footer-routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}
.footer-heading {
  margin-bottom: .9rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(156, 207, 227, .86);
}
.footer-links { display: grid; gap: .52rem; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .95rem;
  color: #D7E6EF;
  text-decoration: none;
  transition: color .22s var(--ease);
}
.footer-links a::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(156, 207, 227, .55);
  transition: background-color .22s var(--ease), transform .22s var(--ease);
}
.footer-links a:hover { color: #fff; }
.footer-links a:hover::before { background: var(--flag); transform: scale(1.4); }

.footer-contact-list { display: grid; gap: .85rem; }
.footer-label {
  display: block;
  margin-bottom: .12rem;
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(156, 207, 227, .72);
}
.footer-value {
  display: block;
  font-size: .92rem;
  line-height: 1.5;
  color: #E4EFF5;
  word-break: break-word;
}
.footer-note {
  margin-top: 1.1rem;
  padding-top: .9rem;
  border-top: 1px dashed rgba(156, 207, 227, .26);
  font-size: .82rem;
  line-height: 1.7;
  color: rgba(201, 220, 232, .72);
  max-width: 34ch;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .7rem 1.5rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.25rem;
  border-top: 1px solid rgba(156, 207, 227, .18);
}
.footer-legal,
.footer-meta {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .05em;
  color: rgba(201, 220, 232, .7);
}

/* ---------- 8. 通用内容组件 ---------- */
.glass {
  border: 1px solid rgba(30, 127, 168, .22);
  border-radius: var(--radius-l);
  background: rgba(248, 250, 251, .72);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
}

.card {
  position: relative;
  padding: clamp(1.1rem, 2.4vw, 1.6rem);
  border: 1px solid var(--mist);
  border-radius: var(--radius-m);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.card-index {
  display: block;
  margin-bottom: .55rem;
  font-family: var(--font-mono);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--lake);
}
.card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  line-height: 1.3;
  color: var(--ink-900);
}
.card-text {
  margin-top: .5rem;
  font-size: .96rem;
  line-height: 1.75;
  color: rgba(34, 51, 63, .8);
}

.index-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--mist);
  border-radius: var(--radius-m);
  background: var(--mist);
  overflow: hidden;
}
.index-list a {
  display: flex;
  align-items: baseline;
  gap: .8rem;
  padding: .92rem 1.1rem;
  background: #fff;
  color: var(--ink-900);
  font-weight: 600;
  font-size: .98rem;
  text-decoration: none;
  transition: background-color .22s var(--ease), padding-left .22s var(--ease);
}
.index-list a:hover { background: rgba(156, 207, 227, .24); padding-left: 1.35rem; }
.index-list .index-num {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .06em;
  color: var(--lake);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 1.15rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .07em;
  color: rgba(34, 51, 63, .62);
}
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.breadcrumb li { display: inline-flex; align-items: center; gap: .45rem; }
.breadcrumb li + li::before {
  content: "/";
  color: rgba(30, 127, 168, .55);
}
.breadcrumb a { color: var(--ink-700); text-decoration: none; }
.breadcrumb a:hover { color: var(--flag); text-decoration: underline; }

.fold {
  border: 1px solid var(--mist);
  border-radius: var(--radius-m);
  background: #fff;
  overflow: hidden;
  transition: border-color .24s var(--ease), box-shadow .24s var(--ease);
}
.fold[data-open] { border-color: rgba(30, 127, 168, .42); box-shadow: var(--shadow-card); }
.fold-head {
  display: flex;
  align-items: center;
  gap: .85rem;
  width: 100%;
  padding: 1rem 1.1rem;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  transition: background-color .22s var(--ease);
}
.fold-head:hover { background: rgba(156, 207, 227, .16); }
.fold-index {
  flex: 0 0 auto;
  min-width: 2.1rem;
  font-family: var(--font-mono);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--lake);
}
.fold-title {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink-900);
}
.fold-mark {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
}
.fold-mark::before,
.fold-mark::after {
  content: "";
  position: absolute;
  background: var(--lake);
  border-radius: 2px;
  transition: transform .28s var(--ease), background-color .24s var(--ease);
}
.fold-mark::before { left: 0; top: 10px; width: 22px; height: 2px; }
.fold-mark::after { left: 10px; top: 0; width: 2px; height: 22px; }
.fold[data-open] .fold-mark::before { background: var(--flag); }
.fold[data-open] .fold-mark::after { transform: scaleY(0); }
.fold-body { border-top: 1px dashed var(--mist); }
.fold-body[hidden] { display: none; }
.fold-inner {
  padding: 1rem 1.1rem 1.2rem;
  font-size: .96rem;
  line-height: 1.78;
  color: rgba(34, 51, 63, .82);
}

/* 图片容器基础规则（页面阶段直接放入 <img>） */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-m);
  border: 1px solid rgba(30, 127, 168, .16);
  background-color: var(--mist);
  background-image:
    linear-gradient(140deg, rgba(30, 127, 168, .16), rgba(11, 27, 43, .06)),
    repeating-linear-gradient(115deg, rgba(30, 127, 168, .08) 0 1px, transparent 1px 16px);
  aspect-ratio: 16 / 10;
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame > img,
.media-frame > picture,
.media-frame > picture > img,
.media-frame > svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: .8rem 1rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .08em;
  color: #EAF3F8;
  background: linear-gradient(to top, rgba(11, 27, 43, .78), transparent);
}
.media-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.7rem, 1.6vw, 1.1rem);
}

/* ---------- 9. 动效 ---------- */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js-reveal [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .fold-body:not([hidden]) { animation: fold-in .28s var(--ease) both; }
}
@keyframes fold-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js-reveal [data-reveal] { opacity: 1; transform: none; }
  .route-progress-fill { transition: none; }
}

/* ---------- 10. 响应式 ---------- */
@media (max-width: 1180px) {
  .version-badge { display: none; }
}

@media (max-width: 1080px) {
  .nav-toggle { display: block; margin-left: auto; }
  .header-shell { border-radius: 22px; }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    display: none;
    padding: .7rem;
    border: 1px solid rgba(30, 127, 168, .24);
    border-radius: 22px;
    background: rgba(248, 250, 251, .96);
    -webkit-backdrop-filter: blur(20px) saturate(170%);
    backdrop-filter: blur(20px) saturate(170%);
    box-shadow: var(--shadow-card);
  }
  .site-header[data-open] .site-nav { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: .15rem; }
  .site-nav a {
    padding: .74rem .9rem;
    border-radius: 14px;
    font-size: 1rem;
  }

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

@media (max-width: 900px) {
  .span-3, .span-4, .span-5, .span-7, .span-8, .span-9 { grid-column: span 12; }
  .span-6 { grid-column: span 12; }
  .section-head > .section-lede { flex: 1 1 100%; }
}

@media (max-width: 680px) {
  .footer-routes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .media-stack { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand-tag { display: none; }
  .brand-mark { width: 34px; height: 34px; font-size: .7rem; }
  .brand-name { font-size: .96rem; }
  .header-shell { padding-left: .7rem; }
  .span-12, .span-6, .span-4, .span-3, .span-5, .span-7, .span-8, .span-9 { grid-column: 1 / -1; }
}

@media (max-width: 440px) {
  .header-meta .btn { display: none; }
  .footer-routes { grid-template-columns: minmax(0, 1fr); }
}
