/* ==========================================================
   博鱼中心 · 全站共享样式  /assets/site.css
   高原深青 / 赭石 / 经幡暖橙 / 明黄刻度 / 米白纸面
   技术蓝图网格 + 大圆角胶囊 + 等宽时间刻度
   ========================================================== */

*, *::before, *::after { box-sizing: border-box; }

:root {
  /* 色彩 */
  --c-teal: #0E3B3A;
  --c-teal-dark: #082827;
  --c-ochre: #9A5B3D;
  --c-orange: #E07A3F;
  --c-orange-hi: #EF8C53;
  --c-yellow: #F2C14E;
  --c-paper: #F5F0E6;
  --c-paper-grey: #D9D2C3;
  --c-black: #141414;
  --c-stone: #6F8C8A;
  --c-mist: #DCE8E4;
  --c-white: #FFFFFF;

  /* 字体 */
  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", Georgia, "Times New Roman", serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;

  /* 字号阶梯 */
  --fs-display: clamp(2.5rem, 5vw, 4rem);
  --fs-h2: clamp(1.75rem, 3.2vw, 3rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.75rem);
  --fs-mono: 0.75rem;

  /* 尺度 */
  --w-wrap: 1180px;
  --gutter: 28px;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;

  --line-hair: 1px solid rgba(20, 20, 20, 0.14);
  --line-on-dark: 1px solid rgba(245, 240, 230, 0.16);

  --shadow-soft: 0 22px 48px -32px rgba(8, 40, 39, 0.6);
  --ease: cubic-bezier(0.32, 0.72, 0.28, 1);
  --header-h: 118px;
}

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

body {
  margin: 0;
  background-color: var(--c-paper);
  color: var(--c-black);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }
button { font: inherit; color: inherit; }

/* ---------- 中文排版 ---------- */
h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.26;
  letter-spacing: -0.01em;
  color: var(--c-teal);
}
h1 { font-size: var(--fs-display); line-height: 1.16; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.4; }
h4 { font-size: 1.0625rem; font-weight: 600; letter-spacing: 0.02em; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

strong, b { font-weight: 600; color: var(--c-teal); }

ul, ol { padding-left: 1.25em; }

::selection {
  background: var(--c-yellow);
  color: var(--c-teal-dark);
}

/* ---------- 工具类 ---------- */
.wrap {
  width: 100%;
  max-width: var(--w-wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-ochre);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  display: block;
}

.annotation {
  display: block;
  margin: 0;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--c-stone);
}

.page-main { display: block; }
#main-content { display: block; }

/* ---------- 焦点 ---------- */
:focus-visible {
  outline: 3px solid var(--c-yellow);
  outline-offset: 2px;
}
.site-header :focus-visible,
.site-footer :focus-visible {
  outline: 3px solid var(--c-yellow);
  outline-offset: 3px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
              color 0.18s var(--ease), border-color 0.18s var(--ease),
              box-shadow 0.18s var(--ease);
}
.btn--primary {
  background: var(--c-orange);
  color: var(--c-teal-dark);
  border-color: rgba(8, 40, 39, 0.16);
}
.btn--primary:hover {
  background: var(--c-orange-hi);
  transform: translateY(-2px);
  box-shadow: 0 16px 28px -20px rgba(224, 122, 63, 0.95);
}
.btn--solid {
  background: var(--c-teal);
  color: var(--c-paper);
}
.btn--solid:hover {
  background: var(--c-teal-dark);
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  color: var(--c-teal);
  border-color: var(--c-teal);
}
.btn--ghost:hover {
  background: var(--c-teal);
  color: var(--c-paper);
  transform: translateY(-2px);
}
.btn--quiet {
  background: transparent;
  color: var(--c-black);
  border-color: rgba(20, 20, 20, 0.24);
  padding: 10px 20px;
  font-size: 0.9rem;
}
.btn--quiet:hover {
  border-color: var(--c-orange);
  color: var(--c-ochre);
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.12em;
  color: var(--c-stone);
}
.breadcrumb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.breadcrumb-list li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--c-paper-grey);
}
.breadcrumb-link {
  color: var(--c-teal);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.breadcrumb-link:hover {
  color: var(--c-ochre);
  border-bottom-color: var(--c-orange);
}
.breadcrumb-current { color: var(--c-black); }

/* ---------- 卡片 / 标签 / 提示 ---------- */
.card {
  background: var(--c-white);
  border: 1px solid var(--c-paper-grey);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease),
              box-shadow 0.2s var(--ease);
}
.card:hover,
.card:focus-within {
  transform: translateY(-2px);
  border-color: var(--c-ochre);
  box-shadow: var(--shadow-soft);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--c-mist);
  color: var(--c-teal);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  border: 1px solid transparent;
}
.tag--ochre {
  background: rgba(154, 91, 61, 0.13);
  color: var(--c-ochre);
}
.tag--yellow {
  background: var(--c-yellow);
  color: var(--c-teal-dark);
}

.note {
  background: var(--c-mist);
  border-left: 3px solid var(--c-ochre);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 18px 22px;
  font-size: 0.95rem;
  color: var(--c-teal);
}

/* ---------- 图片容器基础规则 ---------- */
.media {
  position: relative;
  display: block;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-paper-grey);
  background-color: var(--c-mist);
  background-image: linear-gradient(135deg, var(--c-mist) 0%, var(--c-paper-grey) 100%);
}
.media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media--wide { aspect-ratio: 16 / 9; }
.media--film { aspect-ratio: 3 / 2; }
.media--tall { aspect-ratio: 4 / 5; }
.media--square { aspect-ratio: 1 / 1; }
.media-caption {
  margin: 10px 0 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--c-stone);
}

/* ==========================================================
   跳转链接
   ========================================================== */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--c-yellow);
  color: var(--c-teal-dark);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.18s var(--ease);
}
.skip-link:focus {
  transform: translateY(0);
}

/* ==========================================================
   页头
   ========================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(8, 40, 39, 0.74);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px) saturate(120%);
  border-bottom: 1px solid rgba(245, 240, 230, 0.12);
  color: var(--c-paper);
  transition: background-color 0.28s var(--ease), border-color 0.28s var(--ease),
              box-shadow 0.28s var(--ease);
}
.site-header[data-scrolled="true"] {
  background: var(--c-teal);
  border-bottom-color: rgba(242, 193, 78, 0.32);
  box-shadow: 0 16px 34px -26px rgba(8, 40, 39, 0.95);
}

/* 索引轨道 */
.header-rail {
  max-width: var(--w-wrap);
  margin: 0 auto;
  padding: 9px var(--gutter) 8px;
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: rgba(245, 240, 230, 0.55);
  border-bottom: 1px dashed rgba(245, 240, 230, 0.18);
}
.rail-index {
  flex: 0 0 auto;
  color: var(--c-yellow);
  letter-spacing: 0.2em;
}
.rail-hint {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.rail-time {
  flex: 0 0 auto;
  color: rgba(245, 240, 230, 0.42);
}

/* 主栏 */
.header-inner {
  max-width: var(--w-wrap);
  margin: 0 auto;
  padding: 13px var(--gutter);
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--c-orange);
  color: var(--c-teal-dark);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: inset 0 0 0 2px rgba(242, 193, 78, 0.55);
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease);
}
.brand:hover .brand-mark {
  background: var(--c-yellow);
  transform: rotate(-4deg);
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.15;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c-paper);
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: rgba(242, 193, 78, 0.88);
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid rgba(245, 240, 230, 0.3);
  border-radius: 14px;
  background: rgba(245, 240, 230, 0.07);
  color: var(--c-paper);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.nav-toggle:hover { background: rgba(245, 240, 230, 0.16); }
.nav-toggle[aria-expanded="true"] {
  background: var(--c-yellow);
  border-color: var(--c-yellow);
  color: var(--c-teal-dark);
}
.nav-toggle-bars {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: background-color 0.18s var(--ease);
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.22s var(--ease), top 0.22s var(--ease);
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.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); }

/* 导航 */
.site-nav { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-link {
  display: inline-block;
  position: relative;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  color: rgba(245, 240, 230, 0.82);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.nav-link:hover {
  color: var(--c-white);
  background: rgba(245, 240, 230, 0.1);
}
.nav-link[aria-current="page"] {
  color: var(--c-teal-dark);
  background: var(--c-yellow);
  font-weight: 600;
}

/* 页头行动按钮 */
.header-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: var(--c-orange);
  color: var(--c-teal-dark);
  border: 1px solid rgba(242, 193, 78, 0.5);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.header-cta:hover {
  background: var(--c-yellow);
  transform: translateY(-1px);
}

/* 阅读进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-orange), var(--c-yellow));
  transition: width 0.08s linear;
}

/* ==========================================================
   悬浮快捷条
   ========================================================== */
.quick-rail {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 6px;
  border-radius: var(--radius-pill);
  background: rgba(8, 40, 39, 0.88);
  border: 1px solid rgba(242, 193, 78, 0.28);
  box-shadow: 0 24px 44px -28px rgba(8, 40, 39, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.quick-link {
  display: block;
  padding: 16px 9px;
  border-radius: var(--radius-pill);
  color: rgba(245, 240, 230, 0.78);
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.34em;
  line-height: 1;
  text-decoration: none;
  writing-mode: vertical-rl;
  text-orientation: upright;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.quick-link:hover,
.quick-link:focus-visible {
  background: var(--c-yellow);
  color: var(--c-teal-dark);
}

/* ==========================================================
   页脚
   ========================================================== */
.site-footer {
  position: relative;
  margin-top: 96px;
  padding: 0 0 28px;
  background: var(--c-teal-dark);
  color: var(--c-paper);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(245, 240, 230, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(245, 240, 230, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.9;
}
.footer-shell {
  position: relative;
  z-index: 1;
  max-width: var(--w-wrap);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.footer-index {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 20px 0 16px;
  border-bottom: 1px solid rgba(245, 240, 230, 0.15);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: rgba(217, 210, 195, 0.62);
}
.footer-index span:first-child {
  color: var(--c-yellow);
  letter-spacing: 0.22em;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(0, 1.5fr);
  gap: 56px;
  padding: 52px 0 44px;
  border-bottom: 1px solid rgba(245, 240, 230, 0.15);
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--c-paper);
}
.footer-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--c-orange);
  color: var(--c-teal-dark);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: inset 0 0 0 2px rgba(242, 193, 78, 0.55);
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.footer-summary {
  margin: 22px 0 0;
  max-width: 38ch;
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(245, 240, 230, 0.72);
}
.footer-hours {
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--c-yellow);
}
.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 26px;
  padding: 11px 24px;
  border: 1px solid rgba(242, 193, 78, 0.55);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--c-paper);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
              transform 0.18s var(--ease), border-color 0.18s var(--ease);
}
.footer-cta:hover {
  background: var(--c-yellow);
  border-color: var(--c-yellow);
  color: var(--c-teal-dark);
  transform: translateY(-1px);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.footer-col-title {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: rgba(217, 210, 195, 0.72);
  text-transform: uppercase;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  display: inline-block;
  color: rgba(245, 240, 230, 0.82);
  font-size: 0.95rem;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.footer-links a:hover {
  color: var(--c-yellow);
  border-bottom-color: var(--c-yellow);
}

.footer-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.7fr);
  gap: 28px;
  padding: 32px 0 34px;
  border-bottom: 1px solid rgba(245, 240, 230, 0.15);
}
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.contact-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: rgba(217, 210, 195, 0.6);
}
.contact-value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  color: var(--c-paper);
  word-break: break-word;
}
.contact-value--text {
  font-family: var(--font-body);
  letter-spacing: 0;
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px 24px;
  padding: 24px 0 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(217, 210, 195, 0.62);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: 0;
}
.footer-icp { color: rgba(242, 193, 78, 0.9); }
.footer-copy { margin: 0; }
.footer-coord {
  margin: 0;
  letter-spacing: 0.18em;
  color: rgba(217, 210, 195, 0.42);
}

/* ==========================================================
   响应式
   ========================================================== */
@media (max-width: 1279px) {
  .quick-rail { display: none; }
}

@media (max-height: 700px) {
  .quick-rail { display: none; }
}

@media (max-width: 1080px) {
  .header-inner { gap: 18px; }
  .nav-link { padding: 9px 11px; font-size: 0.875rem; }
  .footer-main { gap: 40px; }
}

@media (max-width: 960px) {
  :root { --gutter: 22px; }

  .header-rail { display: none; }

  .header-inner { padding: 12px var(--gutter); gap: 14px; }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    padding: 0 var(--gutter);
    max-height: 0;
    overflow: hidden;
    background: var(--c-teal-dark);
    border-top: 1px solid rgba(242, 193, 78, 0.22);
    border-bottom: 1px solid rgba(242, 193, 78, 0.22);
    box-shadow: 0 22px 40px -28px rgba(0, 0, 0, 0.85);
    transition: max-height 0.28s var(--ease), padding 0.28s var(--ease);
  }
  .site-nav[data-open="true"] {
    max-height: 78vh;
    overflow-y: auto;
    padding: 14px var(--gutter) 20px;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .nav-link {
    display: block;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 1rem;
  }

  .header-cta { display: none; }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 0 36px;
  }
  .footer-contact {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 620px) {
  body { font-size: 16px; }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 20px;
  }
  .footer-index {
    font-size: 0.64rem;
    letter-spacing: 0.12em;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-coord { display: none; }
}

@media (max-width: 420px) {
  .brand-sub { display: none; }
  .brand-name { font-size: 1.0625rem; }
  .brand-mark { width: 38px; height: 38px; border-radius: 12px; font-size: 1.1rem; }
  .footer-nav { grid-template-columns: 1fr; }
}

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

  .skip-link { transition: none; }
  .scroll-progress { transition: none; }
}
