/* 合植创投 · 结构基座（styles-base.css）
   布局 / 组件 / 装饰结构，全部走语义 CSS 变量；具体配色、字体、明暗、质感由 theme-<x>.css 定义。 */

:root { --wrap: 1200px; --gutter: clamp(20px, 5vw, 72px); --ease: cubic-bezier(.22, .61, .36, 1); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.72;
  font-size: 16px;
  font-feature-settings: "liga" 1, "kern" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
}
/* 纸张 / 质感层（主题用 --texture 提供，无则透明） */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background-image: var(--texture, none); background-size: var(--texture-size, 180px);
  opacity: var(--texture-opacity, 0); pointer-events: none;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--accent-soft); color: var(--selection-fg, #1c150a); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: var(--head-weight, 600); line-height: 1.16; margin: 0; letter-spacing: var(--head-tracking, .005em); }
em { font-style: italic; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-only:focus { position: fixed; top: 12px; left: 12px; width: auto; height: auto; clip: auto; background: var(--dark-bg); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }

/* 占位符高亮 */
.tbd { color: var(--tbd-fg); background: var(--tbd-bg); box-shadow: inset 0 -1px 0 var(--tbd-underline); padding: 0 .2em; border-radius: 2px; }
.dark .tbd { color: var(--tbd-fg-dark); background: var(--tbd-bg-dark); box-shadow: inset 0 -1px 0 var(--tbd-underline-dark); }

/* 滚动揭示（.js 门控） */
html.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* emblem 配色（跟随语义变量；大号水印用 currentColor） */
.brand-emb .e-ring { stroke: var(--emb-ring); }
.brand-emb .e-ring2 { stroke: var(--emb-ring2); }
.brand-emb .e-stem { stroke: var(--emb-fg); }
.brand-emb .e-a { fill: var(--emb-fg); }
.brand-emb .e-b { fill: var(--emb-b); }
.brand-emb .e-dot { fill: var(--emb-dot); }
.brand-on-dark { --emb-ring: var(--accent-soft); --emb-ring2: var(--on-dark-line); --emb-fg: var(--on-dark); --emb-b: var(--accent-soft); --emb-dot: var(--accent); }
.emblem-big .e-ring, .emblem-big .e-ring2, .emblem-big .e-stem,
.emblem-wm .e-ring, .emblem-wm .e-ring2, .emblem-wm .e-stem { stroke: currentColor; }
.emblem-big .e-a, .emblem-big .e-b, .emblem-big .e-dot,
.emblem-wm .e-a, .emblem-wm .e-b, .emblem-wm .e-dot { fill: currentColor; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--btn-bg); color: var(--btn-fg);
  padding: 13px 24px; border-radius: var(--radius);
  font-family: var(--sans); font-weight: 500; font-size: 15px;
  border: 1px solid var(--btn-border, var(--btn-bg));
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease), color .25s;
}
.btn:hover { background: var(--btn-bg-hover); transform: translateY(-2px); box-shadow: var(--btn-shadow); }
.btn .arw { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.dark .btn { background: var(--btn-dark-bg); color: var(--btn-dark-fg); border-color: var(--btn-dark-bg); }
.dark .btn:hover { background: var(--btn-dark-bg-hover); }

.btn-line { display: inline-flex; align-items: center; gap: 8px; padding: 13px 2px; font-weight: 500; font-size: 15px; color: var(--link-strong); position: relative; }
.btn-line .arw { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn-line::after { content: ""; position: absolute; left: 0; bottom: 6px; width: 100%; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.btn-line:hover::after { transform: scaleX(1); }
.btn-line:hover .arw { transform: translateX(4px); }
.dark .btn-line { color: var(--accent-soft); }

/* ---------- 通用排版 ---------- */
.eyebrow { display: inline-block; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.eyebrow.gold { color: var(--accent-soft); }
.h2 { font-size: clamp(27px, 4.2vw, 44px); margin-top: 18px; letter-spacing: var(--h2-tracking, 0); color: var(--text-strong); }
.dark .h2 { color: var(--on-dark-strong); }
.sec-intro { color: var(--text-muted); max-width: 60ch; margin: 20px 0 0; font-size: 16.5px; }
.dark .sec-intro { color: var(--on-dark-muted); }
.sec-head { position: relative; max-width: 840px; }

/* 超大幽灵章节编号 */
.sec-ghost {
  position: absolute; top: -.42em; left: -.06em; z-index: 0; pointer-events: none;
  font-family: var(--serif); font-weight: 600; line-height: 1;
  font-size: clamp(110px, 19vw, 220px); color: var(--ghost-color);
  letter-spacing: -.03em; user-select: none;
}
.sec-ghost.on-dark { color: var(--ghost-color-dark); }
.sec-head > .eyebrow, .sec-head > .h2 { position: relative; z-index: 1; }

/* ---------- 头部 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-scrolled { background: var(--header-bg-scrolled); border-bottom-color: var(--header-line); }
.bar { max-width: var(--wrap); margin: 0 auto; padding: 16px var(--gutter); display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { flex: none; }
.brand-mark { transition: transform .4s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg); }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word b { font-family: var(--serif); font-weight: 600; font-size: 20px; color: var(--text-strong); letter-spacing: .06em; }
.brand-word i { font-family: var(--sans); font-style: normal; font-size: 9.5px; font-weight: 600; letter-spacing: .28em; color: var(--accent); margin-top: 3px; }
.brand-on-dark .brand-word b { color: var(--on-dark); }
.brand-on-dark .brand-word i { color: var(--accent-soft); }

.main-nav { display: flex; gap: 30px; margin-left: 12px; }
.nav-a { font-size: 15px; color: var(--nav-fg); font-weight: 500; padding: 6px 0; position: relative; transition: color .2s; }
.nav-a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease); }
.nav-a:hover { color: var(--text-strong); }
.nav-a:hover::after { transform: scaleX(1); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.lang { font-size: 12.5px; font-weight: 600; color: var(--text-muted); border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; transition: color .2s, border-color .2s; }
.lang:hover { color: var(--text-strong); border-color: var(--accent); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; justify-content: center; width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 0; }
.menu-toggle span { display: block; width: 22px; height: 1.5px; background: var(--text-strong); margin: 0 auto; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: rotate(-45deg); }
.drawer { display: none; }

/* ---------- 版心 ---------- */
.section { max-width: var(--wrap); margin: 0 auto; padding: clamp(76px, 11vw, 168px) var(--gutter); position: relative; }
.section.dark { max-width: none; padding-left: 0; padding-right: 0; background: var(--dark-bg); color: var(--on-dark); overflow: hidden; }
.section.dark .inner { max-width: var(--wrap); margin: 0 auto; padding: clamp(76px, 11vw, 156px) var(--gutter); position: relative; z-index: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; max-width: none; padding: 0; background: var(--hero-bg, transparent); }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-glow { position: absolute; width: 80vw; height: 80vw; max-width: 1100px; max-height: 1100px; right: -20vw; top: 50%; transform: translateY(-50%); border-radius: 50%; background: var(--hero-glow); filter: blur(30px); opacity: var(--hero-glow-op, 0); }
.hero-inner { position: relative; z-index: 2; max-width: var(--wrap); margin: 0 auto; padding: clamp(90px, 16vh, 184px) var(--gutter) clamp(76px, 13vh, 140px); }
.hero-over { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); }
.hero-over::before { content: ""; width: 34px; height: 1px; background: var(--accent); }
.hero-h1 { font-family: var(--display, var(--serif)); font-size: clamp(38px, 6.6vw, 76px); line-height: 1.1; margin: 26px 0 0; color: var(--hero-h1-color, var(--text-strong)); letter-spacing: var(--display-tracking, -.005em); font-weight: var(--display-weight, 500); }
.hero-h1 .l1, .hero-h1 .l2 { display: block; }
@media (min-width: 720px) { .hero-h1 .l1, .hero-h1 .l2 { white-space: nowrap; } }
.hero-h1 em { color: var(--hero-em-color, var(--accent)); font-style: var(--hero-em-style, italic); }
.hero-sub { color: var(--text-muted); font-size: clamp(16px, 1.7vw, 19px); max-width: 52ch; margin: 28px 0 0; line-height: 1.75; }
.hero-tags { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 30px; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.hero-tags .ht-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 38px; }
.hero-meta { display: flex; align-items: center; gap: 14px; margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--text-muted); font-size: 13.5px; max-width: 640px; }
.hero-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--accent); }
.hero-emblem { position: absolute; right: clamp(-140px, -6vw, -40px); top: 50%; transform: translateY(-50%); z-index: 1; pointer-events: none; color: var(--hero-emb-color); opacity: var(--hero-emb-op); }
.hero-emblem .emblem-big { width: clamp(340px, 44vw, 600px); height: auto; }
.hero-scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2; width: 26px; height: 42px; border: 1px solid var(--accent-line); border-radius: 14px; display: none; }
.hero-scroll span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; border-radius: 2px; background: var(--accent); transform: translateX(-50%); animation: scrolldot 1.9s var(--ease) infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 12px); } 100% { opacity: 0; } }
@media (min-width: 901px) { .hero-scroll { display: block; } }
@media (prefers-reduced-motion: reduce) { .hero-scroll span { animation: none; } }

/* ---------- 理念 ---------- */
.phi-top { display: grid; grid-template-columns: minmax(220px, .82fr) 1.18fr; gap: clamp(28px, 6vw, 88px); align-items: start; }
.phi-lead { position: relative; font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 3.1vw, 34px); line-height: 1.44; color: var(--text-strong); margin: 0; padding-left: clamp(20px, 3vw, 34px); }
.phi-lead::before { content: ""; position: absolute; left: 0; top: .12em; bottom: .12em; width: 2px; background: var(--accent); }
.phi-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 52px); margin-top: clamp(56px, 8vw, 100px); border-top: 1px solid var(--line); padding-top: clamp(40px, 5vw, 64px); }
.phi-item { position: relative; }
.phi-no { font-family: var(--serif); font-size: 15px; font-weight: 600; color: var(--accent); letter-spacing: .12em; }
.phi-item h3 { font-size: clamp(19px, 2vw, 23px); color: var(--text-strong); margin: 14px 0 12px; }
.phi-item p { margin: 0; color: var(--text-muted); font-size: 15.5px; line-height: 1.76; }

/* ---------- 投资方向（深色宣言） ---------- */
.focus-inner { max-width: var(--wrap); }
.focus-watermark { position: absolute; right: -6%; top: 50%; transform: translateY(-50%); z-index: 0; color: var(--wm-color); opacity: var(--wm-op); pointer-events: none; }
.focus-watermark .emblem-wm { width: clamp(360px, 46vw, 660px); height: auto; }
.focus .sec-ghost { top: -.5em; }
.focus-statement { font-family: var(--display, var(--serif)); font-weight: var(--display-weight, 500); font-size: clamp(34px, 6vw, 66px); line-height: 1.16; color: var(--on-dark-strong); margin: clamp(20px, 3vw, 32px) 0 0; max-width: 18ch; letter-spacing: var(--display-tracking, -.008em); position: relative; z-index: 1; }
.focus-statement em { font-style: normal; color: var(--accent-soft); position: relative; white-space: nowrap; }
.focus-statement em::after { content: ""; position: absolute; left: 0; bottom: .06em; width: 100%; height: 2px; background: var(--accent); opacity: .55; }
.focus-support { font-size: clamp(16.5px, 1.9vw, 21px); color: var(--on-dark-muted); max-width: 46ch; margin: clamp(24px, 3vw, 34px) 0 0; line-height: 1.72; position: relative; z-index: 1; }

/* ---------- 关于（单栏机构陈述） ---------- */
.about-copy { position: relative; max-width: 760px; }
.about-body { color: var(--text); margin-top: 24px; font-size: clamp(17px, 1.7vw, 19px); line-height: 1.85; max-width: 58ch; }

/* ---------- 联系（深色） ---------- */
.contact-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.contact-card { background: var(--card-bg); border: 1px solid var(--card-line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--card-shadow, none); }
.cc-label { display: block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-soft); }
.cc-email { display: inline-block; margin-top: 14px; font-family: var(--serif); font-size: clamp(20px, 2.5vw, 28px); color: var(--on-dark-strong); transition: color .2s; word-break: break-all; }
a.cc-email:hover { color: var(--accent-soft); }
.cc-email.tbd { color: var(--tbd-fg-dark); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--dark-bg-2); color: var(--on-dark-muted); border-top: 1px solid var(--dark-line); }
.foot-inner { max-width: var(--wrap); margin: 0 auto; padding: clamp(48px, 6vw, 72px) var(--gutter) 40px; display: grid; grid-template-columns: 1.4fr 1fr auto; gap: clamp(28px, 5vw, 64px); align-items: start; }
.foot-brand .brand { margin-bottom: 16px; }
.foot-tag { margin: 0; font-family: var(--serif); font-size: 16px; line-height: 1.6; color: var(--on-dark-muted); max-width: 34ch; }
.foot-nav { display: flex; flex-direction: column; gap: 12px; }
.foot-nav a { font-size: 14.5px; color: var(--on-dark-muted); width: fit-content; transition: color .2s; }
.foot-nav a:hover { color: var(--accent-soft); }
.foot-meta { display: flex; flex-direction: column; gap: 10px; font-size: 13px; text-align: right; }
.foot-meta a { transition: color .2s; }
.foot-meta a:hover { color: var(--accent-soft); }

/* ---------- 404 ---------- */
.nf { max-width: var(--wrap); margin: 0 auto; padding: clamp(120px, 20vh, 200px) var(--gutter); text-align: center; }
.nf h1 { font-size: clamp(34px, 6vw, 56px); color: var(--text-strong); margin: 16px 0 24px; }
.nf .btn-line { color: var(--link-strong); }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-right .btn-sm { display: none; }
  .menu-toggle { display: flex; }
  .phi-top { grid-template-columns: 1fr; gap: 22px; }
  .phi-list { grid-template-columns: 1fr; gap: 34px; }
  .contact-inner { grid-template-columns: 1fr; }
  .foot-inner { grid-template-columns: 1fr; gap: 32px; }
  .foot-meta { text-align: left; }
  .hero-emblem { opacity: calc(var(--hero-emb-op) * .7); right: -160px; }
  .sec-ghost { font-size: clamp(90px, 26vw, 150px); }
  .drawer[hidden] { display: none; }
  .drawer { display: flex; flex-direction: column; padding: 6px var(--gutter) 22px; border-top: 1px solid var(--line); background: var(--drawer-bg, var(--bg)); }
  .drawer a { padding: 15px 2px; border-bottom: 1px solid var(--line-soft); font-weight: 500; font-size: 16px; color: var(--text); }
  .drawer a:last-child { border-bottom: none; }
}
@media (max-width: 560px) {
  .hero-meta { flex-wrap: wrap; }
  .brand-word b { font-size: 18px; }
}
