/* ============ Mullwise · Editorial Design System ============ */

@font-face {
  font-family: 'Fraunces';
  src: url('../assets/fonts/fraunces-300700-normal-latin.woff2') format('woff2');
  font-weight: 300 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../assets/fonts/fraunces-300700-italic-latin.woff2') format('woff2');
  font-weight: 300 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-400-normal-latin.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-500-normal-latin.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-600-normal-latin.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  --paper: #F5F2EB;
  --paper-deep: #EFEAE0;
  --ink: #1C1A16;
  --ink-soft: #3A362E;
  --muted: #6E675C;
  --faint: #A39A89;
  --hairline: #E3DED2;
  --copper: #A0682F;
  --copper-deep: #7E5223;
  --night: #16140F;
  --night-ink: #EDE7D8;
  --night-muted: #9A917E;

  --serif-cn: "Songti SC", "STSong", "Noto Serif SC", "Noto Serif CJK SC", "SimSun", serif;
  --sans-cn: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --serif-lt: "Fraunces", Georgia, serif;
  --sans-lt: "Inter", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1160px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-synthesis: none; }
body {
  font-family: var(--sans-lt), var(--sans-cn);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* 纸张噪点 */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}
::selection { background: var(--copper); color: #fff; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
section { padding: 120px 0; }

.eyebrow {
  font-family: var(--sans-lt), var(--sans-cn);
  font-size: 11px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 28px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--copper); flex: none; }
.eyebrow .no { color: var(--copper); }

.display-cn {
  font-family: var(--serif-cn);
  font-weight: 500; line-height: 1.25; letter-spacing: .02em;
}
.display-lt {
  font-family: var(--serif-lt);
  font-weight: 400; line-height: 1.15; letter-spacing: 0;
}
.it { font-style: italic; }

/* ---------- 导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(245, 242, 235, .85);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--hairline);
}
.nav-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 32px;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.wordmark { font-family: var(--serif-lt); font-weight: 600; font-size: 21px; letter-spacing: .01em; }
.wordmark sup { font-size: 10px; color: var(--copper); font-weight: 400; margin-left: 2px; }
.nav-links { display: flex; gap: 34px; font-size: 13.5px; color: var(--ink-soft); }
.nav-links a { position: relative; padding: 4px 0; transition: color .25s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--copper); transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Hero ---------- */
.hero { padding: 190px 0 110px; position: relative; }
.hero-eyebrow { margin-bottom: 34px; }
.hero h1 {
  font-family: var(--serif-cn);
  font-weight: 500;
  font-size: clamp(3rem, 8.4vw, 6.8rem);
  line-height: 1.28; letter-spacing: .03em;
  margin-bottom: 30px;
}
.hero h1 .accent { color: var(--copper-deep); }
.hero-latin {
  font-family: var(--serif-lt); font-style: italic; font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--muted);
  margin-bottom: 34px; letter-spacing: .01em;
}
.hero-sub { max-width: 560px; font-size: 17px; color: var(--ink-soft); margin-bottom: 46px; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 12px 40px;
  border-top: 1px solid var(--hairline); padding-top: 26px;
  font-size: 12px; letter-spacing: .14em; color: var(--faint); text-transform: uppercase;
}
.hero-meta b { color: var(--muted); font-weight: 600; }
.scroll-cue {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  width: 1px; height: 56px; background: var(--hairline); overflow: hidden;
}
.scroll-cue::after {
  content: ""; position: absolute; top: -40%; left: 0; width: 100%; height: 40%;
  background: var(--copper); animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue { to { top: 110%; } }

/* ---------- 通用段首 ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 56px; }
.sec-title {
  font-family: var(--serif-cn); font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.35; letter-spacing: .02em;
}
.sec-title .it { font-family: var(--serif-lt); }
.sec-desc { max-width: 420px; color: var(--muted); font-size: 15px; }
.more-link {
  flex: none; font-size: 13px; letter-spacing: .12em; color: var(--ink-soft);
  border-bottom: 1px solid var(--copper); padding-bottom: 3px;
  transition: color .25s, border-color .25s;
}
.more-link:hover { color: var(--copper-deep); }

/* ---------- 本期长文 ---------- */
.featured { border-top: 1px solid var(--hairline); }
.featured-card {
  display: grid; grid-template-columns: 120px 1fr; gap: 48px;
  padding: 8px 0; align-items: start;
}
.featured-no {
  font-family: var(--serif-lt); font-style: italic; font-weight: 300;
  font-size: clamp(4rem, 7vw, 6rem); line-height: 1; color: var(--hairline);
  -webkit-text-stroke: 1px var(--faint); color: transparent;
}
.featured-meta { display: flex; gap: 18px; font-size: 12.5px; letter-spacing: .1em; color: var(--muted); margin-bottom: 20px; text-transform: uppercase; }
.featured-meta .cat { color: var(--copper-deep); font-weight: 600; }
.featured-title {
  font-family: var(--serif-cn); font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.45; letter-spacing: .02em;
  margin-bottom: 22px; max-width: 16em;
  transition: color .3s;
}
.featured-card:hover .featured-title { color: var(--copper-deep); }
.featured-excerpt { max-width: 620px; color: var(--ink-soft); font-size: 16.5px; margin-bottom: 30px; }
.btn-line {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px; letter-spacing: .08em; font-weight: 500;
  border: 1px solid var(--ink); padding: 13px 30px; border-radius: 999px;
  transition: background .3s var(--ease), color .3s, border-color .3s, transform .3s var(--ease);
}
.btn-line .arr { transition: transform .3s var(--ease); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-line:hover .arr { transform: translateX(5px); }

/* ---------- 实时观察（浅色） ---------- */
.signal { background: var(--paper-deep); border-top: 1px solid var(--hairline); }
.signal-list { border-top: 1px solid var(--hairline); }
.signal-item {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 28px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--hairline);
  transition: padding-left .35s var(--ease);
}
.signal-item:hover { padding-left: 12px; }
.signal-rank { font-family: var(--serif-lt); font-style: italic; color: var(--copper); font-size: 19px; }
.signal-title { font-size: 16.5px; line-height: 1.6; }
.signal-title a { border-bottom: 1px solid transparent; transition: border-color .25s, color .25s; }
.signal-item:hover .signal-title a { border-bottom-color: var(--copper); }
.signal-pts { font-family: var(--serif-lt); font-size: 14px; color: var(--muted); white-space: nowrap; }
.signal-src {
  display: inline-block; font-size: 10.5px; letter-spacing: .14em; line-height: 1;
  color: var(--copper); border: 1px solid rgba(160, 104, 47, .5); border-radius: 20px;
  padding: 4px 9px 3px; margin-left: 10px; vertical-align: 2px; white-space: nowrap;
}
.signal-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: 34px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #7FB069; margin-right: 9px; animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- 正在研究 ---------- */
.questions { border-top: 1px solid var(--hairline); }
.q-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--hairline); }
.q-card { padding: 44px 36px 40px; border-bottom: 1px solid var(--hairline); border-right: 1px solid var(--hairline); transition: background .35s var(--ease); }
.q-card:last-child { border-right: none; }
.q-card:hover { background: var(--paper-deep); }
.q-letter {
  font-family: var(--serif-lt); font-style: italic; font-weight: 300;
  font-size: 44px; line-height: 1; color: var(--copper); margin-bottom: 24px; display: block;
}
.q-card h3 { font-family: var(--serif-cn); font-weight: 500; font-size: 21px; letter-spacing: .02em; margin-bottom: 12px; }
.q-card p { font-size: 14.5px; color: var(--muted); margin-bottom: 30px; min-height: 52px; }
.q-bar { height: 2px; background: var(--hairline); position: relative; margin-bottom: 12px; }
.q-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--copper); transition: width 1.4s var(--ease) .2s; }
.q-pct { font-family: var(--serif-lt); font-size: 13px; color: var(--faint); }

/* ---------- 最近发布 ---------- */
.writing-list { border-top: 1px solid var(--ink); }
.w-item {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 30px; align-items: baseline;
  padding: 34px 0; border-bottom: 1px solid var(--hairline);
  transition: padding-left .35s var(--ease), background .35s;
}
.w-item:hover { padding-left: 14px; }
.w-no { font-family: var(--serif-lt); font-style: italic; color: var(--faint); font-size: 17px; }
.w-item h3 { font-family: var(--serif-cn); font-weight: 500; font-size: 20px; letter-spacing: .02em; margin-bottom: 8px; transition: color .25s; }
.w-item:hover h3 { color: var(--copper-deep); }
.w-item .w-sub { font-size: 14px; color: var(--muted); }
.w-meta { font-size: 12px; letter-spacing: .1em; color: var(--faint); text-transform: uppercase; white-space: nowrap; }
.w-cat { color: var(--copper-deep); font-weight: 600; }

/* ---------- 关于 ---------- */
.about { border-top: 1px solid var(--hairline); background: var(--paper-deep); }
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 70px; align-items: start; }
.about-pull {
  font-family: var(--serif-cn); font-weight: 500;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.5; letter-spacing: .02em;
}
.about-pull .it { font-family: var(--serif-lt); color: var(--copper-deep); }
.about-body p { color: var(--ink-soft); margin-bottom: 20px; font-size: 16px; max-width: 34em; }
.about-body p strong { color: var(--ink); font-weight: 600; }

/* ---------- 页脚 ---------- */
.footer { padding: 110px 0 46px; border-top: 1px solid var(--ink); }
.footer-cta { margin-bottom: 90px; }
.footer-cta .eyebrow { margin-bottom: 22px; }
.footer-cta a.big {
  font-family: var(--serif-cn); font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.4; letter-spacing: .02em;
  border-bottom: 2px solid var(--copper); padding-bottom: 6px;
  transition: color .3s, border-color .3s;
}
.footer-cta a.big:hover { color: var(--copper-deep); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  border-top: 1px solid var(--hairline); padding-top: 30px;
  font-size: 12.5px; letter-spacing: .08em; color: var(--faint);
}
.footer-bottom .wordmark { font-size: 17px; }

/* ---------- 文章页 ---------- */
.article-hero { padding: 170px 0 70px; }
.article-hero .wrap { max-width: 820px; }
.article-meta { display: flex; gap: 18px; font-size: 12.5px; letter-spacing: .1em; color: var(--muted); margin-bottom: 26px; text-transform: uppercase; }
.article-meta .cat { color: var(--copper-deep); font-weight: 600; }
.article-hero h1 {
  font-family: var(--serif-cn); font-weight: 500;
  font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.45; letter-spacing: .02em;
  margin-bottom: 26px;
}
.article-lede { font-size: 18px; color: var(--ink-soft); border-left: 2px solid var(--copper); padding-left: 24px; }
.article-body { padding: 20px 0 100px; }
.article-body .wrap { max-width: 820px; }
.article-body p { font-size: 17px; color: var(--ink-soft); margin-bottom: 26px; max-width: 38em; }
.article-body p:first-of-type::first-letter {
  font-family: var(--serif-cn); font-size: 3.4em; float: left;
  line-height: .95; padding: 6px 12px 0 0; color: var(--ink); font-weight: 500;
}
.article-body h2 {
  font-family: var(--serif-cn); font-weight: 500; font-size: 24px;
  letter-spacing: .02em; margin: 56px 0 22px;
}
.article-body blockquote {
  font-family: var(--serif-cn); font-size: 21px; line-height: 1.7;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--hairline);
  padding: 30px 0; margin: 44px 0; color: var(--ink);
}
.article-back { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 40px; transition: color .25s; }
.article-back:hover { color: var(--copper-deep); }
.article-nav { border-top: 1px solid var(--ink); padding: 44px 0 0; display: flex; justify-content: space-between; gap: 24px; }
.article-nav a { max-width: 44%; }
.article-nav .lbl { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.article-nav .t { font-family: var(--serif-cn); font-size: 18px; transition: color .25s; }
.article-nav a:hover .t { color: var(--copper-deep); }
.article-nav .next { text-align: right; }

/* ---------- 动效 ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  section { padding: 84px 0; }
  .nav-links { display: none; }
  .featured-card { grid-template-columns: 1fr; gap: 8px; }
  .featured-no { font-size: 3.4rem; }
  .q-grid { grid-template-columns: 1fr; }
  .q-card { border-right: none; padding: 36px 0; }
  .q-card p { min-height: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .w-item { grid-template-columns: 1fr; gap: 10px; }
  .w-no { display: none; }
  .signal-item { grid-template-columns: 40px 1fr; }
  .signal-pts { display: none; }
  .article-nav a { max-width: 100%; }
  .article-nav { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; }
}
