/* ==========================================================================
   奇异果指南 · 共享样式 /assets/site.css
   堆叠画板式外壳：公告带 → 桅杆区 → 目录条 / 暖棕页脚
   ========================================================================== */

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

:root {
  /* 品牌色 */
  --flesh: #8BC34A;
  --deep: #4E7A2A;
  --light: #DFF3C8;
  --mist: #F7FAF1;
  --brown: #795548;
  --seed: #212121;
  --sun: #FFEB3B;
  --moss: #6B7A5E;
  --glow: #B6E27A;

  --ink: #2C2F28;
  --shell-w: 1180px;
  --gutter: clamp(18px, 4vw, 48px);
  --line: 3px solid var(--seed);
  --line-thin: 1px solid rgba(33, 33, 33, 0.16);
  --hard: 8px 8px 0 var(--seed);
  --hard-sm: 6px 6px 0 var(--seed);
  --pill: 999px;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);

  --font-display: "Source Han Sans Rounded", "思源柔黑", "霞鹜尚智黑", "PingFang SC", "Noto Sans SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Source Han Sans SC", "思源黑体", "PingFang SC", "Noto Sans SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

body {
  margin: 0;
  background-color: var(--mist);
  background-image:
    radial-gradient(1100px 560px at 88% -8%, rgba(139, 195, 74, 0.20), transparent 70%),
    radial-gradient(900px 520px at -12% 26%, rgba(223, 243, 200, 0.62), transparent 66%);
  background-repeat: no-repeat;
  color: var(--seed);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0.01em;
  color: var(--seed);
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

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

li { margin: 0; }

a { color: var(--deep); }

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

strong { font-weight: 700; }

#main-content { scroll-margin-top: 24px; }

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

/* ---------- 跳转链 ---------- */
.skip-link {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 200;
  transform: translateY(-180%);
  padding: 10px 20px;
  background: var(--sun);
  color: var(--seed);
  border: var(--line);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.2s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 3px solid var(--deep);
  outline-offset: 3px;
}

/* ---------- 页头 ---------- */
.site-header {
  position: relative;
  z-index: 60;
}

.announce-bar {
  background: var(--seed);
  color: var(--light);
  font-size: 13.5px;
  letter-spacing: 0.02em;
}

.announce-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  min-height: 42px;
  padding-block: 7px;
}

.announce-dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 4px rgba(255, 235, 59, 0.18);
}

.announce-text {
  margin: 0;
  color: var(--light);
  line-height: 1.55;
}

.announce-link {
  margin-left: auto;
  color: var(--sun);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid currentColor;
  padding-bottom: 1px;
  transition: color 0.18s var(--ease);
}

.announce-link:hover { color: #FFFFFF; }

.masthead {
  position: relative;
  border-bottom: var(--line);
  background:
    linear-gradient(180deg, rgba(139, 195, 74, 0.14), rgba(247, 250, 241, 0) 76%),
    var(--mist);
}

.masthead-inner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  min-height: 80px;
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--seed);
}

.brand-mark {
  position: relative;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border: var(--line);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--glow) 0 26%, var(--flesh) 32% 100%);
  box-shadow: 3px 3px 0 var(--deep);
  overflow: hidden;
}

.brand-seed {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: var(--seed);
}

.brand-seed:nth-child(1) { transform: rotate(0deg) translateY(-10px); }
.brand-seed:nth-child(2) { transform: rotate(72deg) translateY(-10px); }
.brand-seed:nth-child(3) { transform: rotate(144deg) translateY(-10px); }
.brand-seed:nth-child(4) { transform: rotate(216deg) translateY(-10px); }
.brand-seed:nth-child(5) { transform: rotate(288deg) translateY(-10px); }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(20px, 2.3vw, 27px);
  letter-spacing: 0.06em;
  color: var(--seed);
}

.brand-tagline {
  margin-top: 5px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--deep);
}

.nav-rail {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 22px);
  margin-left: auto;
}

.rail-note {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--moss);
}

.utility-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.utility-link {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid rgba(78, 122, 42, 0.4);
  border-radius: var(--pill);
  font-size: 13px;
  font-weight: 700;
  color: var(--deep);
  text-decoration: none;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.utility-link:hover {
  background: var(--light);
  border-color: var(--deep);
  color: var(--seed);
}

.nav-cta {
  padding: 10px 18px;
  font-size: 14px;
  box-shadow: 4px 4px 0 var(--seed);
}

.nav-cta:hover { box-shadow: 7px 7px 0 var(--seed); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 9px 14px;
  background: var(--flesh);
  color: var(--seed);
  border: var(--line);
  box-shadow: 4px 4px 0 var(--seed);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.nav-toggle:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--seed); }
.nav-toggle:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--seed); }

.nav-toggle-bars {
  display: grid;
  gap: 3px;
  width: 18px;
}

.nav-toggle-bars span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--seed);
  border-radius: 1px;
  transition: transform 0.22s var(--ease), opacity 0.18s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

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

.site-nav {
  background: var(--light);
  border-top: var(--line);
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  counter-reset: nav-idx;
  width: 100%;
  max-width: var(--shell-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  list-style: none;
}

.nav-item {
  counter-increment: nav-idx;
  flex: 1 1 auto;
  border-right: 1px solid rgba(33, 33, 33, 0.16);
}

.nav-item:first-child { border-left: 1px solid rgba(33, 33, 33, 0.16); }

.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--seed);
  text-decoration: none;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.nav-link::before {
  content: counter(nav-idx, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--deep);
  opacity: 0.8;
}

.nav-link:hover { background: var(--glow); }

.nav-link[aria-current="page"] {
  background: var(--sun);
  color: var(--seed);
  box-shadow: inset 0 -5px 0 var(--seed);
}

.nav-link[aria-current="page"]::before { color: var(--seed); opacity: 1; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  background: var(--flesh);
  color: var(--seed);
  border: var(--line);
  box-shadow: var(--hard-sm);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease);
}

.btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--seed); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--seed); }

.btn--sun { background: var(--sun); }

.btn--ghost {
  background: transparent;
  border-color: var(--seed);
  box-shadow: none;
}

.btn--ghost:hover { background: var(--light); box-shadow: var(--hard-sm); }

.btn--brown {
  background: var(--brown);
  color: var(--mist);
  border-color: var(--seed);
}

/* ---------- 画板面板 ---------- */
.panel {
  position: relative;
  padding: clamp(20px, 3vw, 34px);
  background: var(--mist);
  border: var(--line);
  box-shadow: var(--hard);
}

.panel--light { background: var(--light); }
.panel--sun { background: var(--sun); }
.panel--deep { background: var(--deep); color: var(--mist); border-color: var(--seed); }
.panel--brown { background: var(--brown); color: var(--mist); border-color: var(--seed); }

.panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(33, 33, 33, 0.16);
}

.panel--deep .panel-head,
.panel--brown .panel-head { border-bottom-color: rgba(247, 250, 241, 0.32); }

.panel-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(20px, 2.3vw, 26px);
  line-height: 1.3;
}

.panel--deep .panel-title,
.panel--brown .panel-title { color: var(--mist); }

/* ---------- 排版元件 ---------- */
.display {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(44px, 9vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: var(--seed);
  text-wrap: balance;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.16;
  letter-spacing: 0.01em;
  color: var(--seed);
  text-wrap: balance;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--deep);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--deep);
}

.annot {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--moss);
}

.annot--vertical {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-mono);
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

/* ---------- 数据与标签 ---------- */
.data-figure {
  display: block;
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--deep);
}

.data-figure--xl {
  font-size: clamp(52px, 8vw, 96px);
  color: var(--seed);
}

.panel--deep .data-figure,
.panel--brown .data-figure { color: var(--sun); }

.data-label {
  margin: 10px 0 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--moss);
}

.panel--deep .data-label,
.panel--brown .data-label { color: var(--light); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 13px;
  background: var(--light);
  border: 2px solid var(--seed);
  border-radius: var(--pill);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--seed);
}

.tag--sun { background: var(--sun); }
.tag--deep { background: var(--deep); color: var(--mist); }

/* ---------- 面包屑 ---------- */
.breadcrumb { margin: 0 0 clamp(18px, 3vw, 28px); }

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--moss);
}

.breadcrumb-list li { margin: 0; }

.breadcrumb-list li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: rgba(107, 122, 94, 0.65);
}

.breadcrumb-link {
  color: var(--deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(78, 122, 42, 0.42);
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.breadcrumb-link:hover { color: var(--seed); border-color: var(--seed); }

.breadcrumb-current { color: var(--seed); font-weight: 700; }

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

.page-shell { padding-block: clamp(26px, 5vw, 64px); }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}

.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

/* ---------- 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--light);
  border: var(--line);
  box-shadow: var(--hard-sm);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 3 / 4; }

.media-frame--arc {
  border-radius: 50% 50% 0 0 / 30% 30% 0 0;
  box-shadow: var(--hard);
}

.media-caption {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.65;
  letter-spacing: 0.03em;
  color: var(--moss);
}

/* ---------- 分割装饰 ---------- */
.rule-arc {
  display: block;
  height: clamp(26px, 4vw, 56px);
  margin: 0;
  border: var(--line);
  border-bottom: 0;
  border-radius: 240px 240px 0 0;
  background: transparent;
}

.rule-line {
  border: 0;
  border-top: var(--line);
  margin: clamp(24px, 4vw, 40px) 0;
}

/* ---------- 长文 ---------- */
.prose {
  max-width: 72ch;
  font-size: 17.5px;
  line-height: 1.9;
  color: var(--ink);
}

.prose h2 {
  margin: 2em 0 0.6em;
  font-size: clamp(23px, 2.8vw, 32px);
  line-height: 1.32;
}

.prose h3 {
  margin: 1.7em 0 0.5em;
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.4;
}

.prose p { margin: 0 0 1.15em; }
.prose ul,
.prose ol { margin: 0 0 1.2em; padding-left: 1.35em; }
.prose li { margin-bottom: 0.4em; }

.prose a {
  color: var(--deep);
  text-decoration: none;
  border-bottom: 2px solid var(--light);
  transition: border-color 0.16s var(--ease);
}

.prose a:hover { border-bottom-color: var(--flesh); }

.prose blockquote {
  margin: 1.6em 0;
  padding: 14px 20px;
  background: var(--light);
  border-left: 6px solid var(--flesh);
  font-size: 16.5px;
  color: var(--seed);
}

.prose code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  background: var(--light);
  padding: 1px 6px;
  border-radius: 3px;
}

/* ---------- 滚动进度条 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 100%;
  height: 4px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--deep), var(--flesh), var(--sun));
  pointer-events: none;
  transition: transform 0.1s linear;
}

/* ---------- 滚入显现 ---------- */
.has-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.has-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(40px, 7vw, 88px);
  background:
    radial-gradient(760px 320px at 12% 0%, rgba(182, 226, 122, 0.20), transparent 70%),
    var(--brown);
  color: var(--mist);
  border-top: 6px solid var(--flesh);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.9fr);
  gap: clamp(26px, 5vw, 64px);
  padding-block: clamp(38px, 6vw, 68px) clamp(24px, 4vw, 38px);
}

.footer-brand { min-width: 0; }

.footer-wordmark {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 5.6vw, 62px);
  line-height: 1.02;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.footer-line {
  margin: 0 0 16px;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--light);
}

.footer-note {
  margin: 0;
  padding-left: 14px;
  border-left: 3px solid var(--sun);
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(247, 250, 241, 0.76);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 36px);
  min-width: 0;
}

.footer-col { min-width: 0; }

.footer-col-title {
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(255, 235, 59, 0.45);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sun);
}

.footer-links {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-link {
  display: inline-block;
  padding-bottom: 2px;
  font-size: 15px;
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.footer-link:hover {
  color: var(--sun);
  border-bottom-color: var(--sun);
}

.footer-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(16px, 3vw, 32px);
  padding-block: clamp(22px, 4vw, 32px);
  border-top: 1px solid rgba(247, 250, 241, 0.26);
  border-bottom: 1px solid rgba(247, 250, 241, 0.26);
}

.contact-item { min-width: 0; }

.contact-label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--glow);
}

.contact-value {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--mist);
  overflow-wrap: anywhere;
}

.contact-value--tel {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--sun);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding-block: clamp(18px, 3vw, 26px) clamp(24px, 4vw, 38px);
  font-size: 13px;
  color: rgba(247, 250, 241, 0.78);
}

.footer-legal {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-legal-link {
  color: rgba(247, 250, 241, 0.85);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.footer-legal-link:hover {
  color: var(--sun);
  border-bottom-color: var(--sun);
}

/* ---------- 平板 ---------- */
@media (max-width: 1040px) {
  .rail-note { display: none; }
}

@media (max-width: 900px) {
  .nav-rail { display: none; }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 70;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    border-bottom: var(--line);
    box-shadow: 0 16px 0 rgba(33, 33, 33, 0.12);
    transition: max-height 0.32s var(--ease), opacity 0.24s var(--ease),
      transform 0.24s var(--ease), visibility 0.24s var(--ease);
  }

  .site-nav[data-open] {
    max-height: min(72vh, 540px);
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-list {
    flex-direction: column;
    flex-wrap: nowrap;
    max-width: none;
  }

  .nav-item {
    flex: 0 0 auto;
    border-right: 0;
    border-bottom: 1px solid rgba(33, 33, 33, 0.16);
  }

  .nav-item:first-child { border-left: 0; }
  .nav-item:last-child { border-bottom: 0; }

  .nav-link {
    justify-content: flex-start;
    padding: 15px 4px;
    font-size: 17px;
  }

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

  .col-3, .col-4, .col-5 { grid-column: span 3; }
  .col-6, .col-7, .col-8 { grid-column: span 6; }

  .grid-12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* ---------- 手机 ---------- */
@media (max-width: 600px) {
  body { font-size: 16.5px; }

  .announce-inner { gap: 6px 10px; }
  .announce-text { font-size: 12.5px; }
  .announce-link { margin-left: 0; font-size: 12.5px; }

  .masthead-inner { min-height: 68px; gap: 12px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-tagline { letter-spacing: 0.18em; font-size: 10.5px; }

  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }

  .grid-12 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .col-3, .col-4, .col-5, .col-6, .col-7, .col-8 { grid-column: span 2; }

  .btn { width: 100%; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

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

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

  .btn:hover,
  .nav-toggle:hover { transform: none; }
}

/* ---------- 打印 ---------- */
@media print {
  body { background: #FFFFFF; color: #000000; font-size: 12pt; }

  .skip-link,
  .announce-bar,
  .nav-toggle,
  .site-nav,
  .scroll-progress { display: none !important; }

  .site-footer {
    background: #FFFFFF;
    color: #000000;
    border-top: 1px solid #000000;
    margin-top: 24px;
  }

  .footer-wordmark,
  .footer-line,
  .footer-note,
  .footer-link,
  .contact-value,
  .footer-legal,
  .footer-legal-link { color: #000000; }

  .panel { box-shadow: none; }
}
