/* site.css — 干净骨架（不含 WordPress / Elementor / Astra 规则）
   供 layouts/clean/ 下的页面使用。旧页面仍走 baseof.html + 旧 CSS。 */

@font-face {
  font-family: 'Be Vietnam Pro';
  src: url('/fonts/be-vietnam-pro/QdVMSTAyLFyeg_IDWvOJmVES_HToIW81Rb0.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito Sans';
  src: url('/fonts/nunito-sans/pe0TMImSLYBIv1o4X1M8ce2xCx3yop4tQpF_MeTm0lfGWVpNn64CL7U8upHZIbMV51Q42ptCp7t1R-s.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --gold: #DCA54A;
  --gold-strong: #D09A40;
  --gold-text: #8A5E0A;
  --ink: #0F172A;
  --text: #4A4A4A;
  --muted: #6B6459;
  --cream: #FAF5E5;
  --sand: #F0E6C5;
  --paper: #FFFFFF;
  --line: #E6DCC0;
  --green: #2F5D50;
  --green-soft: #E6EFEB;
  --blue: #1F4A70;
  --blue-soft: #DCE8F3;
  --warn: #B3261E;
  --radius: 12px;
  --wrap: 1200px;
  --font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --font-head: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; vertical-align: middle; }
img { height: auto; }
a { color: var(--gold-text); }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--font-head); font-weight: 700; line-height: 1.3; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 8px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---- 页头 ---- */
.site-head { background: var(--cream); position: relative; z-index: 20; }
.site-head__in { display: flex; align-items: center; gap: 24px; min-height: 112px; }
.brand { display: inline-flex; flex: none; padding: 14px 0; }
.brand img { width: 89px; height: 80px; }
.site-nav { display: flex; flex: 1; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px 8px; padding-right: 89px; }
.site-nav a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  color: var(--ink); text-decoration: none;
  font-size: 14px; font-weight: 700; letter-spacing: .5px;
  transition: color .2s;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold-strong); }
.nav-toggle { display: none; }

@media (max-width: 921px) {
  .site-head__in { min-height: 0; justify-content: space-between; }
  .brand img { width: 67px; height: 60px; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0; padding: 0;
    background: var(--paper); border-top: 1px solid var(--line);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 24px; font-size: 16px; border-bottom: 1px solid #F3EEDD; }
}

/* ---- 页脚 ---- */
.site-foot { background: var(--cream); border-top: 1px solid var(--line); padding: 24px 0; text-align: center; font-size: 14px; color: var(--muted); }

/* ---- 通用组件 ---- */
.section { padding: 64px 0; }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: #E9E4D6; }
.section--ink h2, .section--ink h3 { color: #fff; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--gold-text); text-transform: uppercase; }
.section--ink .eyebrow { color: var(--gold); }
.section__head { margin-bottom: 32px; max-width: 760px; }
.section__head h2 { font-size: clamp(24px, 3vw, 34px); margin-top: 6px; }
.section__head p { margin-top: 12px; }
.note { font-size: 14px; color: var(--muted); margin-top: 16px; }
.section--ink .note { color: #B9B3A4; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 26px; border-radius: 30px; border: 2px solid var(--ink);
  background: var(--ink); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 16px; line-height: 1.4; transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--gold-strong); border-color: var(--gold-strong); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--gold); }
.btn--ghost:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #fff; border-color: #fff; color: var(--ink); }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 921px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } .section { padding: 36px 0; } .section__head { margin-bottom: 22px; } }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.section--paper .card { background: var(--cream); }
.card h3 { font-size: 20px; margin-bottom: 8px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 4px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 14px; color: var(--ink); }

.tbl th, .tbl td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.tbl thead th { background: var(--ink); color: #fff; font-weight: 700; }
.tbl tbody th { color: var(--gold-text); font-weight: 700; white-space: nowrap; }
@media (max-width: 640px) {
  .tbl thead { display: none; }
  .tbl, .tbl tbody { display: block; width: 100%; }
  .tbl tr { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; padding: 8px 0 10px; }
  .tbl th, .tbl td { display: block; border: 0; padding: 2px 14px; }
  .tbl tbody th { grid-column: 1 / -1; padding-bottom: 6px; }
  .tbl td { font-size: 15px; line-height: 1.55; }
  .tbl td + td { border-left: 1px solid var(--line); }
  .tbl td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700; color: var(--muted); }
}

/* ---- 内容页通用（旧页面迁移用） ---- */
.section--tight { padding: 28px 0; }
.page-title { text-align: center; color: #AA8038; font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 28px; }
.h-gold { color: #AA8038; font-size: clamp(20px, 2.2vw, 24px); margin-bottom: 20px; }
.figure-center { display: block; width: 100%; max-width: 768px; margin: 0 auto; }
.figure-wide { display: block; width: 100%; }
.gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; align-items: stretch; }
.split__main { display: grid; gap: 36px; grid-template-rows: auto 1fr; }
.split__side { align-content: space-between; }
.split__side { display: grid; gap: 20px; }
.split__side img { display: block; width: 100%; }
.prose { line-height: 1.9; }
.prose p + p { margin-top: 24px; }
.wash {
  margin: 0 -20px; padding: 28px 20px;
  display: flex; flex-direction: column; justify-content: center;
  background:
    radial-gradient(ellipse 52% 115% at 100% 100%, #D2EAE3 0 99.6%, transparent 100%),
    radial-gradient(ellipse 100% 135% at 100% 100%, #E4EDE3 0 99.7%, transparent 100%);
}
.leaf-rule { display: flex; align-items: center; gap: 16px; color: #B48B44; padding: 8px 0; }
.leaf-rule::before, .leaf-rule::after { content: ""; flex: 1; border-top: 1px solid currentColor; }
@media (max-width: 921px) { .split { grid-template-columns: 1fr; gap: 24px; } .split__side { grid-template-columns: repeat(2, 1fr); gap: 12px; } .leaf-rule { display: none; } }
@media (max-width: 640px) { .section--tight { padding: 20px 0; } .gallery.grid--3 { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
