/* =========================================================
   全球孝文化基金会 Global Family Harmony Foundation
   视觉：宣纸 · 朱砂 · 徽墨 · 古金 —— 回纹、印章、竖排、长卷
   ========================================================= */
:root {
  --paper: #F6EFE1;
  --paper-2: #EFE4CE;
  --paper-3: #E6D8BC;
  --ink: #1E1914;
  --ink-2: #3D342C;
  --muted: #74685B;
  --cinnabar: #A3302A;
  --cinnabar-d: #7C211C;
  --gold: #A9844A;
  --gold-l: #D8BF8A;
  --jade: #2E4C46;
  --white: #FFFDF8;
  --line: rgba(30, 25, 20, .14);
  --dark-color: #19140F;
  --primary-color: #A3302A;
  --accent-color: #D8BF8A;
  --shadow: 0 18px 40px -22px rgba(40, 24, 10, .45);
  --radius: 4px;
  --transition: .3s ease;
  --serif: 'Noto Serif SC', 'Songti SC', 'STSong', 'SimSun', serif;
  --brush: 'Ma Shan Zheng', 'STXingkai', 'KaiTi', 'Kaiti SC', serif;
  --latin: 'Cormorant Garamond', Georgia, serif;
  --fret: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Cpath d='M0 13h12V1H2v8h6V5H5' fill='none' stroke='%23A9844A' stroke-width='1.3'/%3E%3Cpath d='M14 13h12V1H16v8h6V5h-3' fill='none' stroke='%23A9844A' stroke-width='1.3'/%3E%3C/svg%3E");
  --fret-red: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Cpath d='M0 13h12V1H2v8h6V5H5' fill='none' stroke='%23D8BF8A' stroke-opacity='.55' stroke-width='1.3'/%3E%3Cpath d='M14 13h12V1H16v8h6V5h-3' fill='none' stroke='%23D8BF8A' stroke-opacity='.55' stroke-width='1.3'/%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .27 0 0 0 0 .16 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.95;
  color: var(--ink-2);
  background: var(--paper) var(--grain);
  letter-spacing: .02em;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cinnabar); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--cinnabar-d); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.4; margin: 0 0 .6em; font-weight: 700; letter-spacing: .06em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 900; }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1.1em; }
strong { color: var(--ink); }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 999; }
.skip:focus { left: 12px; top: 12px; }

/* ---------- 顶部信息条 ---------- */
.topbar { background: var(--ink); color: rgba(255, 253, 248, .78); font-size: .82rem; letter-spacing: .08em; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar a { color: var(--gold-l); }
.topbar a:hover { color: #fff; }
.topbar .tb-contact { display: flex; gap: 22px; white-space: nowrap; }
.topbar .tb-motto { opacity: .85; }

/* ---------- 页头 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 239, 225, .94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition);
}
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 6px; background: var(--fret) repeat-x center / 28px 6px; opacity: .55; pointer-events: none; }
.site-header.scrolled { box-shadow: 0 8px 26px -16px rgba(40, 24, 10, .4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 20px; }
.logo a { display: flex; align-items: center; gap: 14px; color: var(--primary-color); text-decoration: none; transition: opacity .3s; }
.logo a:hover { opacity: .85; }
.seal {
  flex: 0 0 auto; width: 54px; height: 54px; display: grid; place-items: center;
  background: var(--cinnabar); color: #FBF2E4; border-radius: 6px;
  font-family: var(--brush); font-size: 38px; line-height: 1;
  box-shadow: inset 0 0 0 3px var(--cinnabar), inset 0 0 0 4.5px rgba(251, 242, 228, .85);
  transform: rotate(-3deg);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-text b { font-size: 1.32rem; color: var(--ink); letter-spacing: .14em; font-weight: 900; }
.logo-text span { font-family: var(--latin); font-size: .9rem; color: var(--gold); letter-spacing: .06em; font-style: italic; }

.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.main-nav li { position: relative; }
.main-nav a, .main-nav .dd-btn {
  display: block; padding: 10px 13px; color: var(--ink); font-size: .98rem; letter-spacing: .1em;
  background: none; border: 0; font-family: inherit; cursor: pointer; position: relative;
}
.main-nav a:hover, .main-nav .dd-btn:hover, .main-nav a.active, .main-nav .has-dd.active > .dd-btn { color: var(--cinnabar); }
.main-nav a.active::after, .main-nav .has-dd.active > .dd-btn::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 6px; height: 6px; margin-left: -3px; background: var(--cinnabar); transform: rotate(45deg); }
.dd-btn .caret { display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.dropdown {
  list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; left: 50%; min-width: 236px;
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--cinnabar);
  box-shadow: var(--shadow); transform: translate(-50%, 8px); opacity: 0; visibility: hidden; transition: all .25s ease;
}
.has-dd:hover > .dropdown, .has-dd:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { padding: 8px 22px; font-size: .93rem; letter-spacing: .06em; white-space: nowrap; }
.dropdown a:hover { background: var(--paper); }
.dropdown a.active::after { display: none; }
.main-nav .nav-cta { background: var(--cinnabar); color: #FBF2E4; margin-left: 10px; padding: 9px 20px; border-radius: 2px; }
.main-nav .nav-cta:hover { background: var(--cinnabar-d); color: #fff; }
.main-nav .nav-cta.active { color: #FBF2E4; }
.main-nav .nav-cta.active::after { display: none; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); width: 44px; height: 44px; padding: 9px; color: var(--ink); cursor: pointer; border-radius: 2px; }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 30px; font-family: var(--serif); font-size: 1rem; letter-spacing: .14em; border-radius: 2px; border: 1px solid transparent; cursor: pointer; transition: all var(--transition); }
.btn-red { background: var(--cinnabar); color: #FBF2E4; }
.btn-red:hover { background: var(--cinnabar-d); color: #fff; transform: translateY(-2px); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-gold { background: var(--gold-l); color: var(--ink); }
.btn-gold:hover { background: #fff; color: var(--cinnabar); }
.btn-line { border-color: rgba(251, 242, 228, .6); color: #FBF2E4; }
.btn-line:hover { background: #FBF2E4; color: var(--cinnabar); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.8em; }

/* ---------- 首页主视觉 ---------- */
.hero { position: relative; overflow: hidden; padding: 70px 0 0; background: radial-gradient(ellipse at 78% 30%, rgba(255, 252, 244, .9), transparent 60%), var(--paper) var(--grain); }
.hero-art { position: absolute; right: -4%; top: 0; width: 62%; height: 100%; object-fit: cover; opacity: .42; mix-blend-mode: multiply; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%, #000 80%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 38%, #000 80%, transparent 100%); }
.hero-grid { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 48px; align-items: center; min-height: 560px; }
.hero-poem { writing-mode: vertical-rl; font-family: var(--brush); font-size: 1.7rem; color: var(--ink); letter-spacing: .32em; line-height: 1.9; display: flex; gap: 10px; align-self: start; padding-top: 10px; border-left: 1px solid var(--line); padding-left: 18px; }
.hero-poem small { font-family: var(--serif); font-size: .82rem; color: var(--muted); letter-spacing: .3em; margin-top: 1.4em; }
.hero-copy .kicker { display: inline-flex; align-items: center; gap: 12px; font-size: .9rem; letter-spacing: .32em; color: var(--cinnabar); margin-bottom: 18px; }
.hero-copy .kicker::before { content: ""; width: 40px; height: 1px; background: var(--cinnabar); }
.hero-copy h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); letter-spacing: .14em; margin-bottom: .2em; }
.hero-copy .en { font-family: var(--latin); font-style: italic; font-size: clamp(1.1rem, 2vw, 1.45rem); color: var(--gold); letter-spacing: .05em; margin-bottom: 1.2em; }
.hero-copy .lead { font-size: 1.12rem; max-width: 34em; color: var(--ink-2); }
.hero-xiao { position: relative; width: 300px; height: 360px; display: grid; place-items: center; }
.hero-xiao .char { font-family: var(--brush); font-size: 300px; line-height: 1; color: var(--ink); opacity: .9; text-shadow: 0 0 1px rgba(0, 0, 0, .2); }
.hero-xiao .stamp i { font-style: normal; }
.hero-xiao .stamp { position: absolute; right: 12px; bottom: 24px; width: 64px; height: 64px; background: var(--cinnabar); color: #FBF2E4; display: grid; grid-template-columns: 1fr 1fr; place-items: center; font-family: var(--brush); font-size: 24px; line-height: 1; padding: 6px; border-radius: 3px; transform: rotate(4deg); font-style: normal; box-shadow: inset 0 0 0 2px rgba(251, 242, 228, .8); }
.hero-xiao .circle { position: absolute; inset: 20px; border-radius: 50%; border: 1px solid rgba(169, 132, 74, .45); }
.hero-xiao .circle::after { content: ""; position: absolute; inset: 14px; border-radius: 50%; border: 1px dashed rgba(169, 132, 74, .35); }

/* 长卷 */
.scroll-band { position: relative; margin-top: 50px; padding: 18px 0; background: linear-gradient(#5B3A22, #3E2615); }
.scroll-band::before, .scroll-band::after { content: ""; position: absolute; top: -6px; bottom: -6px; width: 22px; z-index: 3; background: linear-gradient(90deg, #2A190D, #8A6A44 45%, #2A190D); border-radius: 6px; }
.scroll-band::before { left: 0; }
.scroll-band::after { right: 0; }
.scroll-track { overflow: hidden; background: #EFE3C8; border-top: 4px solid var(--gold); border-bottom: 4px solid var(--gold); }
.scroll-reel { display: flex; width: max-content; animation: unroll 90s linear infinite; }
.scroll-reel img { height: 220px; width: auto; flex: 0 0 auto; mix-blend-mode: multiply; }
.scroll-band:hover .scroll-reel { animation-play-state: paused; }
.scroll-cap { text-align: center; font-size: .8rem; color: rgba(255, 253, 248, .7); margin-top: 8px; letter-spacing: .12em; }
@keyframes unroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 内页页首 ---------- */
.page-hero { position: relative; overflow: hidden; color: #FBF2E4; background: var(--ink); padding: 92px 0 82px; }
.page-hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .36; filter: sepia(.35); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25, 20, 15, .92) 0%, rgba(25, 20, 15, .7) 55%, rgba(25, 20, 15, .35) 100%); }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: var(--fret-red) repeat-x center / 28px 14px; }
.page-hero .container { position: relative; }
.crumbs { font-size: .85rem; letter-spacing: .12em; color: rgba(251, 242, 228, .7); margin-bottom: 18px; }
.crumbs a { color: var(--gold-l); }
.crumbs span { margin: 0 8px; }
.page-hero .eyebrow { font-family: var(--latin); font-style: italic; font-size: 1.15rem; color: var(--gold-l); letter-spacing: .08em; }
.page-hero h1 { color: #FFF8EC; letter-spacing: .16em; margin: .2em 0 .35em; }
.page-hero .sub { max-width: 40em; font-size: 1.1rem; color: rgba(251, 242, 228, .86); margin: 0; }
.page-hero .ghost-char { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); font-family: var(--brush); font-size: clamp(150px, 22vw, 300px); line-height: 1; color: rgba(216, 191, 138, .14); pointer-events: none; }

/* ---------- 区块 ---------- */
section { padding: 96px 0; position: relative; }
.sec-paper2 { background: var(--paper-2) var(--grain); }
.sec-ink { background: var(--ink); color: rgba(251, 242, 228, .82); }
.sec-ink h2, .sec-ink h3 { color: #FFF8EC; }
.sec-red { background: var(--cinnabar); color: #FBF2E4; }
.sec-red::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(216, 191, 138, .45); pointer-events: none; }
.sec-red h2 { color: #FFF8EC; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.sec-head.left { text-align: left; margin-left: 0; }
.sec-label { display: inline-flex; align-items: center; gap: 12px; font-size: .86rem; color: var(--cinnabar); letter-spacing: .3em; margin-bottom: 12px; }
.sec-label::before, .sec-label::after { content: ""; width: 26px; height: 7px; background: var(--fret) repeat-x center / 14px 7px; }
.sec-ink .sec-label, .sec-red .sec-label { color: var(--gold-l); }
.sec-head p { color: var(--muted); font-size: 1.05rem; }
.sec-ink .sec-head p { color: rgba(251, 242, 228, .7); }
.divider { height: 14px; background: var(--fret) repeat-x center / 28px 14px; opacity: .6; margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.wide-l { grid-template-columns: 1.15fr .85fr; }
.split.wide-r { grid-template-columns: .85fr 1.15fr; }

/* 画框 */
.frame { position: relative; background: var(--white); padding: 12px; box-shadow: var(--shadow); border: 1px solid var(--paper-3); }
.frame::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(169, 132, 74, .45); pointer-events: none; }
.frame img { width: 100%; }
.frame.tall img { max-height: 620px; object-fit: cover; }
figure { margin: 0; }
figcaption { font-size: .82rem; color: var(--muted); padding-top: 10px; letter-spacing: .05em; line-height: 1.6; }

/* 卡片 */
.cards { display: grid; gap: 26px; }
.c2 { grid-template-columns: repeat(2, 1fr); }
.c3 { grid-template-columns: repeat(3, 1fr); }
.c4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; background: var(--white); border: 1px solid var(--paper-3); padding: 34px 30px 30px;
  transition: transform var(--transition), box-shadow var(--transition); color: var(--ink-2); display: block;
}
.card::before, .card::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--gold); transition: all var(--transition); }
.card::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.card::after { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }
a.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: var(--ink-2); }
a.card:hover::before, a.card:hover::after { border-color: var(--cinnabar); width: 26px; height: 26px; }
.card h3 { margin-bottom: .45em; }
.card p { font-size: .97rem; margin-bottom: .8em; }
.card .more { font-size: .9rem; color: var(--cinnabar); letter-spacing: .12em; }
.card .num { font-family: var(--brush); font-size: 2.4rem; color: var(--cinnabar); line-height: 1; display: block; margin-bottom: 12px; }
.card-img { padding: 0; overflow: hidden; }
.card-img .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.card-img .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
a.card-img:hover .thumb img { transform: scale(1.06); }
.card-img .body { padding: 24px 26px 26px; }
.card-img .tag { font-size: .78rem; letter-spacing: .2em; color: var(--gold); display: block; margin-bottom: 6px; }

/* 五大使命：印章编号 */
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border: 1px solid var(--line); background: var(--white); }
.pillar { padding: 40px 26px 34px; border-right: 1px solid var(--line); text-align: center; transition: background var(--transition); color: var(--ink-2); display: block; }
.pillar:last-child { border-right: 0; }
.pillar:hover { background: var(--paper); color: var(--ink-2); }
.pillar .seal-num { width: 58px; height: 58px; margin: 0 auto 18px; display: grid; place-items: center; background: var(--cinnabar); color: #FBF2E4; font-family: var(--brush); font-size: 30px; border-radius: 50%; box-shadow: inset 0 0 0 3px var(--cinnabar), inset 0 0 0 4.5px rgba(251, 242, 228, .8); }
.pillar h3 { font-size: 1.08rem; letter-spacing: .1em; }
.pillar p { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.8; }

/* 引文 */
.quote { position: relative; text-align: center; max-width: 900px; margin: 0 auto; }
.quote blockquote { margin: 0; font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.9; color: var(--ink); font-weight: 700; letter-spacing: .12em; }
.quote cite { display: block; margin-top: 20px; font-style: normal; color: var(--muted); letter-spacing: .2em; font-size: .95rem; }
.sec-ink .quote blockquote, .sec-red .quote blockquote { color: #FFF8EC; }
.sec-ink .quote cite, .sec-red .quote cite { color: var(--gold-l); }
.quote .mark { font-family: var(--brush); font-size: 5rem; line-height: .5; color: var(--cinnabar); opacity: .5; display: block; height: 40px; }

/* 竖排诗文框 */
.vertical-verse { writing-mode: vertical-rl; font-family: var(--brush); font-size: 1.6rem; letter-spacing: .3em; line-height: 2; color: var(--ink); margin: 0 auto; height: 440px; padding: 20px 26px; border: 1px solid rgba(169, 132, 74, .5); outline: 1px solid rgba(169, 132, 74, .3); outline-offset: 6px; background: var(--white); }
.vertical-verse .src { font-family: var(--serif); font-size: .85rem; color: var(--cinnabar); letter-spacing: .2em; }

/* 列表 */
.checks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checks li { position: relative; padding-left: 28px; margin-bottom: .7em; }
.checks li::before { content: ""; position: absolute; left: 4px; top: .78em; width: 8px; height: 8px; background: var(--cinnabar); transform: rotate(45deg); }
.sec-ink .checks li::before { background: var(--gold-l); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.steps li { counter-increment: s; position: relative; padding: 22px 24px 22px 84px; background: var(--white); border: 1px solid var(--paper-3); }
.steps li::before { content: counter(s, cjk-ideographic); position: absolute; left: 22px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; font-family: var(--brush); font-size: 1.4rem; color: var(--cinnabar); border: 1px solid var(--cinnabar); border-radius: 50%; }
.steps li strong { display: block; margin-bottom: 2px; }

/* 正文排版 */
.prose { font-size: 1.06rem; }
.prose h2 { margin-top: 1.6em; padding-bottom: .4em; border-bottom: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; color: var(--cinnabar-d); }
.prose .dropcap::first-letter { float: left; font-family: var(--brush); font-size: 3.6em; line-height: 1; color: var(--cinnabar); margin: .05em .12em 0 0; }
.note-box { background: var(--white); border-left: 4px solid var(--gold); padding: 18px 22px; font-size: .95rem; color: var(--muted); margin: 1.6em 0; }
.note-box strong { color: var(--ink); }
.callout { position: relative; background: var(--white); border: 1px solid var(--paper-3); padding: 34px 36px; margin: 2em 0; }
.callout::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--cinnabar); }
.classic { font-size: 1.2rem; color: var(--ink); line-height: 2.1; letter-spacing: .1em; font-weight: 700; margin-bottom: .4em; }
.classic-src { font-size: .9rem; color: var(--cinnabar); letter-spacing: .14em; }

/* 二十四孝 */
.paragons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.paragon { padding: 22px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.paragon b { display: block; font-size: 1.08rem; color: var(--ink); letter-spacing: .14em; }
.paragon span { font-size: .85rem; color: var(--muted); }
.paragon i { font-style: normal; font-family: var(--brush); color: var(--cinnabar); font-size: 1.1rem; margin-right: 6px; }

/* 画廊 */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery figure { background: var(--white); padding: 10px; border: 1px solid var(--paper-3); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* 状态徽标 */
.status { display: inline-block; font-size: .8rem; letter-spacing: .16em; padding: 3px 12px; border: 1px solid var(--cinnabar); color: var(--cinnabar); border-radius: 30px; margin-bottom: 14px; }
.sec-ink .status, .page-hero .status { border-color: var(--gold-l); color: var(--gold-l); }

/* 项目侧栏 */
.prog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 60px; align-items: start; }
.side { position: sticky; top: 120px; display: grid; gap: 22px; }
.side-box { background: var(--white); border: 1px solid var(--paper-3); padding: 26px 24px; }
.side-box h3 { font-size: 1.05rem; letter-spacing: .14em; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.side-box ul { list-style: none; padding: 0; margin: 0; }
.side-box li a { display: block; padding: 7px 0; font-size: .93rem; color: var(--ink-2); border-bottom: 1px dashed var(--line); }
.side-box li a:hover, .side-box li a.on { color: var(--cinnabar); }
.side-box.red { background: var(--cinnabar); color: #FBF2E4; border: 0; }
.side-box.red h3 { color: #FFF8EC; border-color: rgba(251, 242, 228, .3); }
.side-box.red a.tel { font-size: 1.4rem; color: #FFF8EC; letter-spacing: .06em; display: block; margin: 4px 0 10px; }
.side-box.red p { font-size: .92rem; margin-bottom: .6em; }

/* CTA 带 */
.cta-band { text-align: center; padding: 86px 0; }
.cta-band h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); letter-spacing: .16em; }
.cta-band p { max-width: 640px; margin: 0 auto; color: rgba(251, 242, 228, .86); }
.cta-band .btn-row { justify-content: center; }

/* 联系 */
.contact-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: start; }
.contact-card { position: relative; background: var(--ink); color: rgba(251, 242, 228, .82); padding: 46px 40px; overflow: hidden; }
.contact-card::after { content: "孝"; position: absolute; right: -20px; bottom: -60px; font-family: var(--brush); font-size: 240px; color: rgba(216, 191, 138, .08); line-height: 1; }
.contact-card h2 { color: #FFF8EC; }
.contact-card .big { display: block; font-size: 1.7rem; color: var(--gold-l); letter-spacing: .06em; margin-bottom: 6px; }
.contact-card .mail { color: var(--gold-l); font-size: 1.15rem; }
.contact-card .lbl { font-size: .82rem; letter-spacing: .24em; color: rgba(251, 242, 228, .55); display: block; margin-top: 22px; }
.contact-form { background: var(--white); border: 1px solid var(--paper-3); padding: 40px 38px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .9rem; color: var(--ink); margin-bottom: 6px; letter-spacing: .08em; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 12px 14px; font-family: var(--serif); font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--paper-3); border-radius: 2px; transition: border-color var(--transition);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--cinnabar); background: #fff; }
.contact-form textarea { min-height: 150px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .84rem; color: var(--muted); margin-top: 14px; }

/* 动效 */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-reel { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 页脚 ---------- */
footer { background: var(--dark-color); color: var(--white); padding: 4rem 0 1rem; margin-top: 0; position: relative; }
footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: var(--fret-red) repeat-x center / 28px 14px; opacity: .7; }
.footer-content { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2.4rem; margin-bottom: 2rem; }
.footer-section h3 { color: var(--white); margin-bottom: 1rem; font-size: 1.1rem; letter-spacing: .16em; }
.footer-section p, .footer-section a { color: rgba(255, 255, 255, .72); line-height: 1.8; font-size: .94rem; }
.footer-section p { margin-bottom: .45em; }
.footer-section a:hover { color: var(--accent-color); }
.footer-brand .logo a { margin-bottom: 18px; }
.footer-brand .logo-text b { color: #FFF8EC; }
.footer-motto { font-family: var(--brush); font-size: 1.35rem !important; color: var(--gold-l) !important; letter-spacing: .2em; margin-top: 12px; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .55); font-size: .88rem; }
.footer-bottom p { margin-bottom: .5rem; }
.footer-partner { margin-top: 1rem; font-size: .86rem; color: rgba(255, 255, 255, .62); }
.footer-partner a { color: var(--accent-color); text-decoration: none; transition: var(--transition); }
.footer-partner a:hover { color: var(--white); }

/* ---------- 响应式 ---------- */
@media (max-width: 1200px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-nav { position: fixed; left: 0; right: 0; top: var(--nav-top, 122px); bottom: 0; background: var(--paper); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s ease, transform .3s ease, visibility .3s; border-top: 1px solid var(--line); }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .main-nav > ul { flex-direction: column; align-items: stretch; padding: 16px 24px 40px; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .main-nav a, .main-nav .dd-btn { padding: 14px 4px; font-size: 1.05rem; width: 100%; text-align: left; }
  .main-nav a.active::after, .main-nav .has-dd.active > .dd-btn::after { display: none; }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 10px 16px; display: none; min-width: 0; background: transparent; }
  .has-dd:hover > .dropdown, .has-dd:focus-within > .dropdown { transform: none; }
  .has-dd.open > .dropdown { display: block; }
  .dropdown a { padding: 9px 4px; white-space: normal; }
  .main-nav .nav-cta { margin: 18px 0 0; text-align: center; }
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .pillar:nth-child(3) { border-right: 0; }
  .pillar:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .footer-content { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  section { padding: 72px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; min-height: 0; text-align: center; }
  .hero-poem { writing-mode: horizontal-tb; flex-direction: column; gap: 0; border: 0; padding: 0; font-size: 1.3rem; letter-spacing: .2em; order: 3; align-self: center; }
  .hero-poem small { margin-top: .4em; }
  .hero-copy .kicker { justify-content: center; }
  .hero-copy .lead { margin: 0 auto; }
  .hero-copy .btn-row { justify-content: center; }
  .hero-xiao { display: none; }
  .hero-art { width: 100%; right: 0; opacity: .18; }
  .split, .split.wide-l, .split.wide-r, .contact-wrap, .prog-layout { grid-template-columns: 1fr; gap: 40px; }
  .side { position: static; }
  .c3, .c4 { grid-template-columns: repeat(2, 1fr); }
  .paragons { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .page-hero { padding: 70px 0 64px; }
  .vertical-verse { height: 360px; font-size: 1.35rem; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .topbar .tb-motto { display: none; }
  .topbar .container { justify-content: center; }
  .topbar .tb-contact { gap: 14px; font-size: .78rem; }
  .header-inner { min-height: 70px; }
  .seal { width: 44px; height: 44px; font-size: 30px; }
  .logo-text b { font-size: 1.05rem; letter-spacing: .08em; }
  .logo-text span { font-size: .74rem; }
  .c2, .c3, .c4, .row2 { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .paragons { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1fr; }
  .scroll-reel img { height: 150px; }
  .contact-form, .contact-card, .callout { padding: 30px 22px; }
  .steps li { padding: 20px 18px 20px 72px; }
  .steps li::before { left: 16px; }
  .footer-content { grid-template-columns: 1fr; }
  .page-hero .ghost-char { right: -6%; opacity: .7; }
  .vertical-verse { height: 300px; font-size: 1.15rem; padding: 16px 18px; }
}
