/* ============================================================
   /assets/site.css — 共享样式：reset / 变量 / 中文排版
   头部浮岛 / 页脚落水台 / 通用按钮 / 面包屑 / 网格 / 组件
   ============================================================ */

/* ---------- 1. 设计变量 ---------- */
:root {
  --ivory: #FBF7EE;
  --cream: #F1E7D3;
  --teal: #0E4D5C;
  --teal-deep: #08343D;
  --gold: #C7A24B;
  --coral: #E2604A;
  --ink: #241B17;
  --mist: #7FA9A7;
  --glass: rgba(255, 255, 255, 0.55);
  --brick: #B94C32;

  --line-ink: rgba(36, 27, 23, 0.14);
  --line-gold: rgba(199, 162, 75, 0.45);
  --line-gold-soft: rgba(199, 162, 75, 0.24);
  --line-light: rgba(251, 247, 238, 0.22);

  --shadow-soft: 0 18px 40px -30px rgba(8, 52, 61, 0.55);
  --shadow-float: 0 26px 60px -34px rgba(8, 52, 61, 0.72);

  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 10px;
  --r-pill: 999px;

  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", Georgia, "Times New Roman", serif;
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;

  --shell: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-pad: clamp(14px, 2.4vw, 28px);
}

/* ---------- 2. reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: var(--ink);
  background-color: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0.02em;
  color: var(--teal-deep);
}

p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }

::selection {
  background: rgba(199, 162, 75, 0.35);
  color: var(--teal-deep);
}

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

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 50%;
  z-index: 300;
  transform: translate(-50%, -180%);
  padding: 12px 24px;
  border-radius: var(--r-pill);
  background: var(--teal-deep);
  color: var(--ivory);
  font-size: 14px;
  letter-spacing: 0.08em;
  border: 1px solid var(--gold);
  transition: transform 0.28s ease;
}

.skip-link:focus {
  transform: translate(-50%, 0);
  outline-offset: 4px;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 220;
  background: rgba(14, 77, 92, 0.10);
  pointer-events: none;
}

.scroll-progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--coral));
  transition: width 0.12s linear;
}

/* ---------- 4. 头部浮岛 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  padding: var(--header-pad) var(--header-pad) 0;
  background:
    linear-gradient(180deg, var(--ivory) 0%, rgba(251, 247, 238, 0.94) 62%, rgba(251, 247, 238, 0.72) 100%);
  color: var(--ink);
  transition: padding 0.32s ease;
}

.site-header[data-condensed="true"] {
  padding-top: 10px;
}

.header-shell {
  width: min(var(--shell), 100%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 24px);
  padding: 9px clamp(12px, 1.7vw, 20px);
  border-radius: var(--r-pill);
  border: 1px solid var(--line-gold);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.78), rgba(241, 231, 211, 0.68));
  box-shadow: var(--shadow-soft);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  backdrop-filter: blur(16px) saturate(1.15);
  transition: padding 0.32s ease, box-shadow 0.32s ease, background 0.32s ease;
}

.site-header[data-condensed="true"] .header-shell {
  padding-block: 5px;
  box-shadow: var(--shadow-float);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.9), rgba(241, 231, 211, 0.82));
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  color: var(--teal-deep);
}

.brand-mark {
  position: relative;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50% 50% 22% 22% / 62% 62% 14% 14%;
  background:
    linear-gradient(180deg, var(--teal) 0%, var(--teal-deep) 100%);
  border: 1px solid rgba(199, 162, 75, 0.85);
  box-shadow: inset 0 -8px 14px -8px rgba(199, 162, 75, 0.95);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 13px;
  height: 13px;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: radial-gradient(circle at 50% 28%, rgba(199, 162, 75, 0.85), rgba(8, 52, 61, 0) 72%);
}

.brand:hover .brand-mark {
  transform: translateY(-2px);
  box-shadow: inset 0 -8px 14px -8px rgba(199, 162, 75, 1), 0 10px 18px -12px rgba(8, 52, 61, 0.9);
}

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

.brand-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--teal-deep);
}

.brand-sub {
  font-family: var(--font-sans);
  font-size: 9.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brick);
}

/* 导航 */
.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1px, 0.5vw, 8px);
}

.nav-item { flex: none; }

.nav-link {
  position: relative;
  display: inline-block;
  padding: 9px 13px;
  border-radius: var(--r-pill);
  font-size: 15px;
  letter-spacing: 0.04em;
  color: rgba(36, 27, 23, 0.82);
  white-space: nowrap;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--coral);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.28s ease;
}

.nav-link:hover {
  color: var(--teal);
  background-color: rgba(14, 77, 92, 0.08);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-link[aria-current="page"] {
  color: var(--teal-deep);
  font-weight: 700;
  background-color: rgba(199, 162, 75, 0.18);
  box-shadow: inset 0 0 0 1px var(--line-gold-soft);
}

/* 工具区 */
.header-tools {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  margin-left: auto;
}

.tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-gold);
  background: rgba(255, 255, 255, 0.62);
  color: var(--teal);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.tool-btn:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--ivory);
  transform: translateY(-2px);
}

.tool-icon {
  display: block;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.locale-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: var(--r-pill);
  background: rgba(14, 77, 92, 0.10);
  border: 1px solid rgba(14, 77, 92, 0.18);
}

.locale-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  padding: 5px 9px;
  border-radius: var(--r-pill);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(36, 27, 23, 0.6);
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.locale-btn[aria-pressed="true"] {
  background: var(--teal);
  color: var(--ivory);
  box-shadow: inset 0 0 0 1px var(--gold);
}

.locale-btn[aria-pressed="false"] {
  color: var(--brick);
}

.locale-btn[aria-pressed="false"]:hover {
  background: rgba(226, 96, 74, 0.16);
}

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line-gold);
  background: rgba(255, 255, 255, 0.62);
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.nav-toggle-line {
  display: block;
  width: 16px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--teal-deep);
  transition: transform 0.28s ease, opacity 0.2s ease, background-color 0.25s ease;
}

.nav-toggle:hover {
  background: var(--teal);
  border-color: var(--teal);
}

.nav-toggle:hover .nav-toggle-line { background: var(--ivory); }

.site-header[data-open="true"] .nav-toggle {
  background: var(--teal);
  border-color: var(--teal);
}

.site-header[data-open="true"] .nav-toggle-line { background: var(--ivory); }
.site-header[data-open="true"] .nav-toggle-line:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.site-header[data-open="true"] .nav-toggle-line:nth-child(2) { opacity: 0; }
.site-header[data-open="true"] .nav-toggle-line:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- 5. 页脚落水台 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 9vw, 112px);
  color: rgba(251, 247, 238, 0.86);
  background:
    radial-gradient(120% 90% at 8% 0%, rgba(14, 77, 92, 0.92) 0%, rgba(8, 52, 61, 1) 58%),
    var(--teal-deep);
  border-top: 1px solid var(--line-gold);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 22px, transparent 22px 46px);
  opacity: 0.55;
  pointer-events: none;
}

.footer-inner {
  width: min(var(--shell), calc(100% - clamp(32px, 7vw, 88px)));
  margin-inline: auto;
  padding-bottom: clamp(26px, 4vw, 40px);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 60px);
  align-items: start;
  padding-top: clamp(42px, 6vw, 76px);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.brand-mark--footer {
  width: 44px;
  height: 44px;
  margin-bottom: 4px;
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ivory);
}

.footer-brand-line {
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: rgba(251, 247, 238, 0.62);
  max-width: 34ch;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-title {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--r-pill);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--ivory);
  border: 1px solid rgba(199, 162, 75, 0.6);
  background: rgba(251, 247, 238, 0.06);
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.footer-cta:hover {
  background: rgba(199, 162, 75, 0.2);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.footer-cta--primary {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}

.footer-cta--primary:hover {
  background: var(--brick);
  border-color: var(--brick);
}

.footer-contact-note {
  font-size: 12.5px;
  line-height: 1.85;
  color: rgba(251, 247, 238, 0.55);
  max-width: 46ch;
}

.footer-anchor-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px clamp(16px, 2.4vw, 32px);
  margin-top: clamp(28px, 4vw, 44px);
  padding: 18px 0;
  border-top: 1px solid rgba(199, 162, 75, 0.34);
  border-bottom: 1px solid rgba(199, 162, 75, 0.34);
}

.footer-anchor-label {
  flex: none;
  font-size: 10.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px clamp(14px, 2vw, 26px);
}

.footer-link {
  position: relative;
  display: inline-block;
  padding-bottom: 3px;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: rgba(251, 247, 238, 0.78);
  transition: color 0.25s ease;
}

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

.footer-link:hover { color: var(--ivory); }
.footer-link:hover::after { transform: scaleX(1); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 32px;
  padding-top: clamp(20px, 3vw, 28px);
}

.footer-facts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: rgba(251, 247, 238, 0.7);
}

.footer-fact {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-fact-label {
  display: inline-block;
  min-width: 34px;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.footer-legal {
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: rgba(251, 247, 238, 0.5);
}

/* ---------- 6. 页面容器与分区 ---------- */
.container {
  width: min(var(--shell), calc(100% - clamp(32px, 7vw, 88px)));
  margin-inline: auto;
}

.section {
  padding-block: clamp(40px, 6vw, 80px);
}

.section--cream { background-color: var(--cream); }
.section--teal {
  background:
    radial-gradient(110% 80% at 12% 0%, rgba(14, 77, 92, 0.96), var(--teal-deep) 65%);
  color: rgba(251, 247, 238, 0.9);
}
.section--teal h1,
.section--teal h2,
.section--teal h3,
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--ivory); }

.section--dark {
  background-color: var(--teal-deep);
  color: rgba(251, 247, 238, 0.88);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 62ch;
  margin-bottom: clamp(24px, 3.5vw, 40px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brick);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
}

.section--teal .eyebrow,
.section--dark .eyebrow { color: var(--gold); }

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 0.03em;
}

.section-lead {
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.85;
  color: rgba(36, 27, 23, 0.72);
  max-width: 58ch;
}

.section--teal .section-lead,
.section--dark .section-lead { color: rgba(251, 247, 238, 0.74); }

.rule-water {
  height: 1px;
  border: 0;
  margin: clamp(24px, 4vw, 44px) 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.65;
}

/* ---------- 7. 正文与面包屑 ---------- */
.prose {
  max-width: 70ch;
  font-size: 16.5px;
  line-height: 1.9;
  color: rgba(36, 27, 23, 0.86);
}

.prose > * + * { margin-top: 1.05em; }

.prose h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  margin-top: 1.8em;
}

.prose h3 {
  font-size: clamp(18px, 2vw, 21px);
  margin-top: 1.5em;
}

.prose ul,
.prose ol {
  list-style: disc;
  padding-left: 1.35em;
}

.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.45em; }

.prose a {
  color: var(--brick);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.prose a:hover { color: var(--coral); }

.breadcrumb {
  padding-top: clamp(20px, 3vw, 32px);
  padding-bottom: 4px;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: rgba(36, 27, 23, 0.5);
}

.breadcrumb-item { display: inline-flex; align-items: center; gap: 8px; }

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--line-gold);
}

.breadcrumb-link {
  color: rgba(36, 27, 23, 0.62);
  transition: color 0.2s ease;
}

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

.breadcrumb-item[aria-current="page"] { color: var(--teal-deep); }

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn--primary {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
  box-shadow: 0 14px 26px -20px rgba(226, 96, 74, 0.9);
}

.btn--primary:hover {
  background: var(--brick);
  border-color: var(--brick);
  transform: translateY(-2px);
}

.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--teal-deep);
}

.btn--gold:hover {
  background: #d8b459;
  border-color: #d8b459;
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(14, 77, 92, 0.4);
  color: var(--teal);
}

.btn--ghost:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--ivory);
  transform: translateY(-2px);
}

.section--teal .btn--ghost,
.section--dark .btn--ghost {
  border-color: rgba(199, 162, 75, 0.6);
  color: var(--ivory);
}

.section--teal .btn--ghost:hover,
.section--dark .btn--ghost:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--teal-deep);
}

/* ---------- 9. 网格 / 卡片 / 标签 ---------- */
.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
}

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

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 2.6vw, 30px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-gold-soft);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.92), rgba(241, 231, 211, 0.72));
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-gold);
  box-shadow: var(--shadow-float);
}

.card--flat {
  background: transparent;
  box-shadow: none;
  border-color: var(--line-ink);
}

.card--flat:hover {
  box-shadow: none;
  border-color: var(--gold);
}

.section--teal .card,
.section--dark .card {
  background: rgba(251, 247, 238, 0.06);
  border-color: rgba(199, 162, 75, 0.34);
  box-shadow: none;
}

.section--teal .card-title,
.section--dark .card-title { color: var(--ivory); }

.section--teal .card-text,
.section--dark .card-text { color: rgba(251, 247, 238, 0.74); }

.card-title {
  font-family: var(--font-serif);
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--teal-deep);
}

.card-text {
  font-size: 15.5px;
  line-height: 1.85;
  color: rgba(36, 27, 23, 0.74);
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: auto;
  padding-top: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(36, 27, 23, 0.48);
}

.section--teal .card-meta,
.section--dark .card-meta { color: rgba(251, 247, 238, 0.55); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-gold-soft);
  background: rgba(255, 255, 255, 0.55);
  font-family: var(--font-sans);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.tag--gold {
  border-color: var(--gold);
  color: #8a6d24;
  background: rgba(199, 162, 75, 0.14);
}

.tag--coral {
  border-color: rgba(226, 96, 74, 0.5);
  color: var(--brick);
  background: rgba(226, 96, 74, 0.12);
}

.section--teal .tag,
.section--dark .tag {
  color: var(--ivory);
  border-color: rgba(199, 162, 75, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.keyword {
  padding: 0 0.12em;
  color: inherit;
  background: linear-gradient(180deg, transparent 62%, rgba(199, 162, 75, 0.46) 62%);
}

/* ---------- 10. 图片容器（页面阶段放占位） ---------- */
.media-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-gold-soft);
  background:
    radial-gradient(120% 90% at 22% 0%, rgba(127, 169, 167, 0.38), rgba(241, 231, 211, 0.92) 58%),
    var(--cream);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 38%;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(199, 162, 75, 0.26) 0 1px, transparent 1px 11px);
  opacity: 0.55;
  z-index: 2;
}

.media-frame > img,
.media-frame > svg,
.media-frame > picture > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--arch { border-radius: 999px 999px var(--r-lg) var(--r-lg); }

/* ---------- 11. 可展开内容组 ---------- */
.disclosure {
  border: 1px solid var(--line-gold-soft);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.66);
  padding: 4px 20px;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.disclosure + .disclosure { margin-top: 12px; }

.disclosure[open] {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.9);
}

.disclosure summary {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 0;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 17px;
  letter-spacing: 0.02em;
  color: var(--teal-deep);
  list-style: none;
}

.disclosure summary::-webkit-details-marker { display: none; }

.disclosure summary::after {
  content: "+";
  margin-left: auto;
  flex: none;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line-gold);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--brick);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.disclosure[open] summary::after {
  content: "−";
  background: rgba(226, 96, 74, 0.14);
}

.disclosure-body {
  padding-bottom: 18px;
  font-size: 15.5px;
  line-height: 1.9;
  color: rgba(36, 27, 23, 0.78);
}

/* ---------- 12. 显现协议 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

/* ---------- 13. 响应式 ---------- */
@media (max-width: 1100px) {
  .nav-link { font-size: 14px; padding: 8px 10px; }
  .brand-name { font-size: 16.5px; }
  .brand-mark { width: 34px; height: 34px; }
}

@media (max-width: 960px) {
  :root { --header-pad: 12px; }

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

  .site-nav {
    position: absolute;
    left: var(--header-pad);
    right: var(--header-pad);
    top: calc(100% - 2px);
    display: block;
    padding: 14px;
    border-radius: 24px;
    border: 1px solid var(--line-gold);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(241, 231, 211, 0.96));
    box-shadow: var(--shadow-float);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.985);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
    max-height: 72vh;
    overflow-y: auto;
  }

  .site-header[data-open="true"] .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
  }

  .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    border-radius: 14px;
    font-size: 16px;
  }

  .nav-link::after {
    left: auto;
    right: 16px;
    bottom: 12px;
    transform: scaleX(0);
    transform-origin: right;
  }

  .nav-link:hover::after,
  .nav-link[aria-current="page"]::after { transform: scaleX(1); }

  .nav-link[aria-current="page"] { box-shadow: inset 3px 0 0 var(--coral); }

  .header-shell { padding: 8px 10px 8px 12px; }

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

  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand-sub { letter-spacing: 0.22em; font-size: 9px; }
  .brand-name { font-size: 15.5px; letter-spacing: 0.06em; }
  .brand-mark { width: 30px; height: 30px; }
  .locale-switch { padding: 2px; }
  .locale-btn { padding: 4px 7px; font-size: 10px; }
  .tool-btn,
  .nav-toggle { width: 36px; height: 36px; }
  .section-title { font-size: clamp(24px, 7vw, 30px); }
  .footer-anchor-bar { gap: 10px 16px; }
  .footer-links { gap: 8px 14px; }
}

/* ---------- 14. 减少动态偏好 ---------- */
@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;
  }

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

  .scroll-progress { display: none; }
}
