/* ==========================================================================
   金博平台 — /assets/site.css
   共享外壳：reset / 变量 / 中文排版 / 头部 / 页脚 / 通用组件
   ========================================================================== */

/* ---------- 变量 ---------- */
:root {
  --blue-900: #082033;
  --blue-700: #0B2C4A;
  --blue-500: #1F5C7A;
  --gold-500: #C9A24A;
  --gold-300: #E8D39A;
  --coral:    #E8664A;
  --grey-400: #A7B0BA;
  --paper:    #F7F3EA;
  --ink:      #0A1620;
  --mist:     #BFD6D2;

  --shell: 1240px;
  --gutter: clamp(20px, 4.4vw, 56px);
  --header-h: 78px;
  --radius: 4px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system,
    "Segoe UI", Roboto, sans-serif;
  --font-num: "SFMono-Regular", Menlo, Consolas, "Liberation Mono",
    "Courier New", monospace;

  --shadow-card: 0 18px 40px -28px rgba(8, 32, 51, .55);
  --shadow-lift: 0 28px 52px -30px rgba(8, 32, 51, .62);
}

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

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

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

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

button { font: inherit; color: inherit; }

hr { border: 0; height: 1px; background: rgba(10, 22, 32, .12); }

/* ---------- 中文排版与基础色 ---------- */
body {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: .01em;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(180deg, rgba(232, 211, 154, .16) 0 1px, transparent 1px);
  background-size: 100% 128px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -.012em;
  color: var(--blue-900);
  text-wrap: balance;
}

h1 { font-size: clamp(34px, 6vw, 72px); line-height: 1.06; }
h2 { font-size: clamp(26px, 3.6vw, 44px); }
h3 { font-size: clamp(19px, 1.8vw, 24px); line-height: 1.3; }

p { text-wrap: pretty; }

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

strong, b { font-weight: 700; color: var(--blue-900); }

::selection { background: var(--gold-300); color: var(--blue-900); }

/* ---------- 焦点可见 ---------- */
:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  box-shadow: 0 0 0 1px var(--blue-900);
  border-radius: 2px;
}

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 400;
  display: inline-block;
  padding: 12px 20px;
  background: var(--gold-300);
  color: var(--blue-900);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  border-radius: 2px;
  transform: translateY(-180%);
  transition: transform .22s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

/* ---------- 屏幕阅读器专用 ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

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

.page-offset { padding-top: calc(var(--header-h) + clamp(20px, 4vw, 44px)); }

#main-content:focus { outline: none; }

/* ==========================================================================
   头部
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: var(--paper);
  background-color: transparent;
  transition:
    background-color .34s var(--ease),
    box-shadow .34s var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(8, 32, 51, .78) 0%,
    rgba(8, 32, 51, .42) 58%,
    rgba(8, 32, 51, 0) 100%);
  opacity: 1;
  transition: opacity .34s var(--ease);
}

.site-header.is-solid {
  background-color: var(--blue-700);
  box-shadow: 0 14px 34px -22px rgba(8, 32, 51, .95);
}
.site-header.is-solid::before { opacity: 0; }

.site-header.is-solid::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold-500) 0 20px,
    transparent 20px 40px);
  opacity: .6;
  pointer-events: none;
}

.header-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  min-height: var(--header-h);
  padding: 12px var(--gutter);
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 34px);
}

/* 品牌 */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--paper);
}

.brand-mark {
  position: relative;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 2px solid var(--gold-500);
  border-radius: 2px;
  background:
    linear-gradient(140deg, rgba(201, 162, 74, .30), rgba(201, 162, 74, 0) 62%);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.brand-mark::before {
  content: "";
  position: absolute;
  inset: 10px;
  background: var(--gold-500);
  transform: rotate(45deg);
}
.brand:hover .brand-mark { border-color: var(--gold-300); transform: rotate(-4deg); }

.brand-text { display: flex; flex-direction: column; gap: 1px; }

.brand-name {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: .1em;
  line-height: 1.2;
  color: var(--paper);
}

.brand-tagline {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .13em;
  line-height: 1.5;
  color: var(--gold-300);
  white-space: nowrap;
}

/* 导航 */
.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  margin-left: auto;
}

.nav-list {
  counter-reset: navidx;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(6px, 1.5vw, 22px);
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 9px 2px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .05em;
  line-height: 1.4;
  color: rgba(247, 243, 234, .86);
  text-decoration: none;
  white-space: nowrap;
  transition: color .24s var(--ease);
}

.nav-link::before {
  counter-increment: navidx;
  content: counter(navidx, decimal-leading-zero);
  font-family: var(--font-num);
  font-size: 10px;
  letter-spacing: 0;
  vertical-align: 2px;
  margin-right: 5px;
  color: var(--gold-500);
  opacity: .9;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s var(--ease);
}

.nav-link:hover,
.nav-link:focus-visible { color: #ffffff; }
.nav-link:hover::after { transform: scaleX(1); }

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

.nav-cta { flex: 0 0 auto; white-space: nowrap; }

/* 移动按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 11px 14px;
  background: rgba(8, 32, 51, .38);
  border: 1px solid rgba(232, 211, 154, .45);
  border-radius: 2px;
  color: var(--paper);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .16em;
  cursor: pointer;
  transition: background-color .24s var(--ease), border-color .24s var(--ease);
}
.nav-toggle:hover { background: rgba(201, 162, 74, .22); border-color: var(--gold-300); }

.nav-toggle-icon {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gold-300);
  transition: background-color .22s var(--ease);
}
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--gold-300);
  transition: transform .26s var(--ease), top .26s var(--ease);
}
.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after { top: 6px; }

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

/* 移动端抽屉 */
@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; }

  .primary-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 26px var(--gutter) 48px;
    background: var(--blue-900);
    border-top: 1px solid rgba(232, 211, 154, .32);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-14px);
    transition:
      opacity .28s var(--ease),
      transform .28s var(--ease),
      visibility .28s linear;
  }

  .primary-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav-list > li { border-bottom: 1px solid rgba(167, 176, 186, .18); }

  .nav-link {
    display: block;
    padding: 16px 2px;
    font-size: 17px;
    letter-spacing: .07em;
    color: rgba(247, 243, 234, .92);
  }
  .nav-link::after { display: none; }
  .nav-link::before { font-size: 11px; margin-right: 10px; }
  .nav-link[aria-current="page"] { color: var(--gold-300); }

  .nav-cta {
    margin-top: 28px;
    width: 100%;
    padding-block: 16px;
  }
}

body.nav-open { overflow: hidden; }
body.nav-open .site-header {
  background-color: var(--blue-900);
  box-shadow: 0 14px 34px -22px rgba(8, 32, 51, .95);
}
body.nav-open .site-header::before { opacity: 0; }

/* ==========================================================================
   通用组件
   ========================================================================== */

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition:
    background-color .24s var(--ease),
    color .24s var(--ease),
    border-color .24s var(--ease),
    transform .24s var(--ease),
    box-shadow .24s var(--ease);
}

.btn-primary {
  background: var(--coral);
  color: var(--blue-900);
  box-shadow: 0 14px 26px -18px rgba(232, 102, 74, .95);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: #f07a5f;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(232, 211, 154, .58);
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--gold-300);
  background: rgba(232, 211, 154, .14);
  color: #ffffff;
}

.btn-dark {
  background: var(--blue-700);
  color: var(--paper);
}
.btn-dark:hover,
.btn-dark:focus-visible {
  background: var(--blue-900);
  transform: translateY(-2px);
}

/* 面包屑 */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding-block: 12px;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--blue-500);
}
.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.breadcrumbs li + li::before {
  content: "›";
  color: var(--grey-400);
  font-size: 14px;
}
.breadcrumbs a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.breadcrumbs a:hover {
  color: var(--blue-900);
  border-bottom-color: var(--gold-500);
}
.breadcrumbs [aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

/* 区块节奏 */
.section { padding-block: clamp(52px, 7.5vw, 104px); }

.section--deep {
  background: var(--blue-900);
  color: rgba(247, 243, 234, .84);
}
.section--deep :is(h1, h2, h3) { color: var(--paper); }
.section--deep .section-lede { color: rgba(247, 243, 234, .74); }

.section--mint { background: var(--mist); color: var(--ink); }

.section--edge {
  background: linear-gradient(180deg, var(--paper) 0%, #FFFDF7 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue-500);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--gold-500);
  flex: 0 0 auto;
}

.section-title {
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.14;
}

.section-lede {
  max-width: 62ch;
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.85;
  color: #33444f;
}

/* 网格 */
.grid {
  display: grid;
  gap: clamp(20px, 3vw, 40px);
}
.grid--split { grid-template-columns: 1.15fr .85fr; align-items: start; }
.grid--thirds { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--steps { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

@media (max-width: 960px) {
  .grid--split,
  .grid--thirds { grid-template-columns: 1fr; }
}

/* 卡片 */
.card {
  position: relative;
  padding: clamp(20px, 3vw, 32px);
  background: #FFFDF8;
  border: 1px solid rgba(10, 22, 32, .10);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition:
    transform .3s var(--ease),
    border-color .3s var(--ease),
    box-shadow .3s var(--ease);
}
.card:hover,
.card:focus-within {
  transform: translateY(-4px);
  border-color: var(--gold-500);
  box-shadow: var(--shadow-lift);
}

/* 标签与编号 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1.5;
  color: var(--blue-700);
  background: var(--mist);
  border-radius: 2px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding-inline: 8px;
  font-family: var(--font-num);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--gold-500);
  border: 1.5px solid var(--gold-500);
  border-radius: 2px;
  background: rgba(232, 211, 154, .1);
}

/* 长文 */
.prose {
  max-width: 70ch;
  font-size: 17px;
  line-height: 1.85;
  color: #22323d;
}
.prose > * + * { margin-top: 1.05em; }
.prose h2 {
  margin-top: 1.9em;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.25;
}
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul li { list-style: square; }
.prose ol li { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--blue-700); }
.prose blockquote {
  padding: 16px 0 16px 22px;
  border-left: 3px solid var(--gold-500);
  color: var(--blue-700);
  font-weight: 500;
}

/* 图像容器基础规则 */
.media {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, var(--blue-700) 0%, var(--blue-900) 100%);
}
.media img,
.media picture,
.media video,
.media svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201, 162, 74, .38);
  border-radius: inherit;
  pointer-events: none;
}

.media--4x3  { aspect-ratio: 4 / 3; }
.media--3x2  { aspect-ratio: 3 / 2; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--1x1  { aspect-ratio: 1 / 1; }
.media--tall { aspect-ratio: 3 / 4; }

.media-caption {
  margin-top: 10px;
  font-family: var(--font-num);
  font-size: 12.5px;
  letter-spacing: .05em;
  color: var(--blue-500);
}

/* 滚动显现（由 JS 添加 .js-reveal） */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js-reveal [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* 阅读进度与回到顶部（由 JS 注入） */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 300;
  height: 3px;
  background: transparent;
  pointer-events: none;
}
.scroll-progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-500), var(--coral));
}

.to-top {
  position: fixed;
  right: clamp(14px, 2.6vw, 30px);
  bottom: clamp(14px, 2.6vw, 30px);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-family: var(--font-num);
  font-size: 18px;
  line-height: 1;
  color: var(--gold-300);
  background: var(--blue-700);
  border: 1px solid var(--gold-500);
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity .28s var(--ease),
    transform .28s var(--ease),
    visibility .28s linear,
    background-color .24s var(--ease);
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.to-top:hover { background: var(--blue-900); }

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 110px);
  padding-top: clamp(46px, 6.5vw, 84px);
  background: var(--blue-900);
  color: rgba(247, 243, 234, .78);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold-500) 0 26px,
    transparent 26px 52px);
  opacity: .55;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .85fr .85fr .85fr 1.15fr;
  gap: clamp(22px, 3vw, 46px);
  align-items: start;
  padding-bottom: clamp(30px, 4vw, 54px);
  border-bottom: 1px solid rgba(232, 211, 154, .2);
}

.footer-brand { max-width: 40ch; }

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1.2;
  color: var(--paper);
  text-decoration: none;
}
.footer-logo::before {
  content: "";
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  background: var(--gold-500);
  transform: rotate(45deg);
}

.footer-tagline {
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1.7;
  color: var(--gold-300);
}

.footer-note {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(247, 243, 234, .58);
}

.footer-cta { margin-top: 22px; }

.footer-col-title {
  margin-bottom: 14px;
  font-family: var(--font-num);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .22em;
  line-height: 1.4;
  color: var(--gold-300);
  text-transform: uppercase;
}

.footer-links { display: grid; gap: 11px; }

.footer-link {
  display: inline-block;
  padding-bottom: 2px;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(247, 243, 234, .76);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .22s var(--ease), border-color .22s var(--ease);
}
.footer-link:hover,
.footer-link:focus-visible {
  color: var(--gold-300);
  border-bottom-color: var(--gold-500);
}

.footer-contact-list { display: grid; gap: 13px; }
.footer-contact-list li {
  display: grid;
  gap: 3px;
  font-size: 14px;
  line-height: 1.65;
}

.footer-key {
  font-family: var(--font-num);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-300);
}

.footer-value { color: rgba(247, 243, 234, .8); }
.footer-value--wrap { word-break: break-all; }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 26px;
  padding-block: 22px 26px;
  font-size: 12.5px;
  letter-spacing: .05em;
  line-height: 1.7;
  color: rgba(247, 243, 234, .52);
}

.footer-copy { font-family: var(--font-num); }
.footer-icp { font-family: var(--font-num); }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.footer-legal a {
  color: inherit;
  text-decoration: none;
  transition: color .22s var(--ease);
}
.footer-legal a:hover,
.footer-legal a:focus-visible { color: var(--gold-300); }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1180px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; max-width: 60ch; }
}

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

@media (max-width: 680px) {
  :root { --header-h: 66px; }

  body { font-size: 16px; }

  .brand-mark { width: 32px; height: 32px; }
  .brand-mark::before { inset: 8px; }
  .brand-name { font-size: 17px; }
  .brand-tagline { display: none; }

  .header-inner { gap: 10px; padding-block: 10px; }

  .nav-toggle { padding: 10px 12px; font-size: 11.5px; letter-spacing: .12em; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  .footer-base {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .to-top { width: 44px; height: 44px; }
}

/* ==========================================================================
   减少动态
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
  }

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

  .card:hover,
  .card:focus-within,
  .btn:hover,
  .to-top.is-visible {
    transform: none;
  }

  .site-header::before { transition: none; }
}
