/* ==========================================================================
   丢笔哥 · Diubige — 科普网站样式
   设计语言：暖纸色 × 朱砂红 × 鎏金 × 墨色，东方韵味 × 现代排版
   ========================================================================== */

/* ---------- 0. 设计令牌 ---------- */
:root {
  --paper:        #f6efe1;   /* 宣纸暖白 */
  --paper-2:      #efe3cb;   /* 深一层的纸色 */
  --paper-3:      #e6d6b8;
  --ink:          #2b2118;   /* 浓墨 */
  --ink-2:        #4d4032;
  --ink-3:        #7c6b55;
  --cinnabar:     #b03a2e;   /* 朱砂 */
  --cinnabar-2:   #8f2c21;
  --gold:         #c2973f;   /* 鎏金 */
  --gold-soft:    #dcbf7d;
  --jade:         #3e7355;
  --plum:         #6b4f8e;
  --line:         rgba(43, 33, 24, .12);
  --shadow-sm:    0 8px 18px -10px rgba(70, 45, 20, .25);
  --shadow:       0 26px 50px -22px rgba(70, 45, 20, .32);
  --serif:  "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans:   "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --cursive: "Ma Shan Zheng", "Kaiti SC", "STKaiti", "KaiTi", cursive;
}

/* ---------- 1. 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(50% 38% at 82% 12%, rgba(214, 168, 98, .18), transparent 70%),
    radial-gradient(42% 36% at 10% 88%, rgba(176, 58, 46, .07), transparent 72%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix type='saturate' values='0'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='0.045'/></svg>");
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--cinnabar); color: #f9efdc; }

h1, h2, h3, h4 { margin: 0; font-family: var(--serif); line-height: 1.25; }
p { margin: 0; }
a { color: inherit; }
ul { margin: 0; padding: 0; }

img, svg { display: block; max-width: 100%; }

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

.container { width: min(1200px, 100% - 2.8rem); margin-inline: auto; }

[id] { scroll-margin-top: 88px; }

/* ---------- 2. 通用组件 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .05em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.btn-cinnabar {
  background: linear-gradient(180deg, #c24234, #9c3023);
  color: #fff6e6;
  box-shadow: 0 12px 22px -10px rgba(156, 48, 35, .55), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn-cinnabar:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -12px rgba(156, 48, 35, .6); }
.btn-cinnabar:active { transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(43, 33, 24, .3);
}
.btn-ghost:hover { border-color: var(--cinnabar); color: var(--cinnabar); transform: translateY(-3px); }

/* 印章 */
.seal {
  display: inline-grid;
  place-items: center;
  background: var(--cinnabar);
  color: #f9efdc;
  font-family: var(--serif);
  font-weight: 900;
  border-radius: .5rem;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14), 0 4px 10px -3px rgba(156, 48, 35, .5);
}

/* 区块标题 */
.section-head {
  display: flex;
  align-items: flex-end;
  gap: 1.3rem;
  margin-bottom: clamp(2.4rem, 5vw, 3.6rem);
}
.sec-no {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(2.2rem, 4.6vw, 3.2rem);
  line-height: 1;
  color: var(--cinnabar);
  border: 2px solid currentColor;
  border-radius: .55rem;
  padding: .32rem .55rem;
  transform: rotate(-4deg);
  flex: none;
  box-shadow: 4px 4px 0 -2px rgba(176, 58, 46, .2);
}
.sec-title { font-size: clamp(1.9rem, 4.6vw, 2.9rem); font-weight: 900; }
.sec-en { font-size: .72rem; letter-spacing: .42em; color: var(--ink-3); margin-top: .4rem; }
.sec-rule {
  flex: 1;
  height: 1px;
  margin-bottom: .7rem;
  background: linear-gradient(90deg, rgba(43, 33, 24, .2), transparent);
  position: relative;
}
.sec-rule::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(194, 151, 63, .25);
}

/* 滚动入场 */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 3. 页头 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(246, 239, 225, .88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-block: .85rem;
}
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand-seal { width: 2.5rem; height: 2.5rem; font-size: 1.3rem; }
.brand-name { font-weight: 900; font-size: 1.28rem; letter-spacing: .08em; font-family: var(--serif); }
.brand-en { display: block; font-size: .58rem; letter-spacing: .44em; color: var(--ink-3); margin-top: .08rem; }

.main-nav { display: flex; gap: 1.9rem; margin-left: auto; }
.nav-link {
  text-decoration: none;
  color: var(--ink-2);
  font-size: .95rem;
  font-weight: 500;
  padding-block: .4rem;
  position: relative;
  transition: color .25s;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  border-radius: 2px;
  background: var(--cinnabar);
  transition: width .3s ease;
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { width: 100%; }

.btn-open { margin-left: 1.2rem; padding: .62rem 1.35rem; font-size: .92rem; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: .6rem;
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, .7);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: 3.7rem;
  left: 0;
  right: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: .8rem 1.4rem 1.2rem;
  background: rgba(246, 239, 225, .97);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity .28s ease, transform .28s ease;
}
body.nav-open .mobile-nav { opacity: 1; transform: none; pointer-events: auto; }
.mobile-nav a {
  text-decoration: none;
  padding: .75rem .4rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink-2);
  border-bottom: 1px dashed var(--line);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav .js-drop { margin-top: .7rem; justify-content: center; }

/* ---------- 4. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 5.5rem;
  background:
    radial-gradient(58% 44% at 76% 26%, rgba(214, 168, 98, .3), transparent 70%),
    radial-gradient(46% 40% at 12% 76%, rgba(176, 58, 46, .09), transparent 72%),
    radial-gradient(32% 30% at 90% 80%, rgba(62, 115, 85, .1), transparent 70%),
    linear-gradient(180deg, #f9f3e6, #f1e6cf);
}

/* 背景水印字 */
.hero-wm {
  position: absolute;
  right: 1%;
  top: 10%;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(220px, 36vw, 480px);
  line-height: 1;
  color: rgba(43, 33, 24, .045);
  pointer-events: none;
  user-select: none;
}

/* 右侧竖排题字 */
.hero-vertical {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  letter-spacing: .52em;
  font-family: var(--serif);
  font-size: .92rem;
  color: var(--ink-3);
  opacity: .65;
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: min(1200px, 100% - 2.8rem);
  margin-inline: auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(.98rem, 2vw, 1.2rem);
  color: var(--ink-2);
  background: rgba(255, 250, 240, .75);
  border: 1px solid var(--line);
  padding: .5rem 1.2rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  animation: riseIn .7s ease .1s both;
}
.eyebrow-pa { color: var(--cinnabar); font-weight: 900; font-size: 1.2em; }

.hero-title {
  font-weight: 900;
  font-size: clamp(3.8rem, 12vw, 9rem);
  line-height: 1.02;
  letter-spacing: .03em;
  margin: 1.5rem 0 .7rem;
  animation: riseIn .85s ease .25s both;
}
.hero-title .char-d { color: var(--cinnabar); display: inline-block; position: relative; }

.hero-seal {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(1.1rem, 2.6vw, 1.7rem);
  color: #f9efdc;
  background: var(--cinnabar);
  padding: .3rem .55rem;
  border-radius: .55rem;
  transform: rotate(-10deg) translateY(-.9em);
  margin-left: 1rem;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), 0 8px 16px -6px rgba(156, 48, 35, .55);
  animation: riseIn .85s ease .45s both;
}

.hero-en {
  font-size: .76rem;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: var(--ink-3);
  animation: riseIn .8s ease .35s both;
}

.hero-tagline {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.6vw, 1.7rem);
  color: var(--ink-2);
  max-width: 32ch;
  margin: 1.3rem 0 2.1rem;
  animation: riseIn .8s ease .5s both;
}
.hero-tagline .hl {
  font-style: normal;
  font-weight: 700;
  background: linear-gradient(transparent 64%, rgba(194, 151, 63, .4) 0);
  padding: 0 .1em;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; animation: riseIn .8s ease .62s both; }

.hero-hint {
  margin-top: 1.7rem;
  font-size: .85rem;
  color: var(--ink-3);
  letter-spacing: .06em;
  animation: riseIn .8s ease .75s both;
}
.hero-hint b { color: var(--cinnabar); }

@keyframes riseIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* 讲台（桌面） */
.desk {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: clamp(70px, 13vh, 120px);
  background: linear-gradient(180deg, #9c6b3c 0%, #7c5230 20%, #5f3d22 58%, #4a2f1a);
  box-shadow: 0 -6px 18px rgba(62, 36, 15, .12);
}
.desk::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 7px;
  background: linear-gradient(180deg, rgba(255, 236, 200, .8), rgba(255, 236, 200, 0));
}
.desk::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg,
    rgba(0, 0, 0, .06) 0 2px, transparent 2px 11px,
    rgba(255, 255, 255, .03) 11px 13px, transparent 13px 28px);
}

/* 丢笔舞台（覆盖全 hero，接收不了指针事件） */
.hero-stage {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

/* ---------- 4.1 笔 ---------- */
.pen {
  position: absolute;
  width: clamp(10px, 1.5vw, 15px);
  height: clamp(96px, 17vw, 168px);
  transform: translateX(-50%);
  z-index: 7;
  will-change: transform;
}
.pen-top {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 7%;
  background: linear-gradient(180deg, #c2483a, #8f2c21);
  border-radius: 3px 3px 2px 2px;
}
.pen-barrel {
  position: absolute;
  inset: 6% 0 20% 0;
  background: linear-gradient(90deg, #3a2d20, #55432e 20%, #2a2118 45%, #55432e 70%, #3a2d20);
  border-radius: 3px;
  box-shadow: 0 3px 8px rgba(20, 12, 5, .45), inset 0 0 2px rgba(255, 255, 255, .14);
}
.pen-barrel::before {
  content: '';
  position: absolute;
  left: -1px;
  right: -1px;
  top: 56%;
  height: 14%;
  border-radius: 2px;
  background: linear-gradient(180deg, #e8cd84, #b8943e 45%, #8a6a2a);
}
.pen-barrel::after {
  content: '';
  position: absolute;
  right: -2px;
  top: 22%;
  width: 4px;
  height: 30%;
  border-radius: 2px 0 0 2px;
  background: linear-gradient(180deg, #e8cd84, #a9863c);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .3);
}
.pen-tip {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 20px solid #c8a34e;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .3));
}
.pen-nib {
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 11px solid #241c13;
}

/* CSS 兜底动画（WAAPI 不可用时） */
.pen.css-fall { animation: penFall .85s cubic-bezier(.55, .06, .9, .45) forwards; }
@keyframes penFall {
  0%   { transform: translate(calc(-50% + 150px), -380px) rotate(-70deg); }
  40%  { transform: translate(calc(-50% + 70px), -160px) rotate(-26deg); }
  55%  { transform: translate(-50%, 0) rotate(0deg); }
  68%  { transform: translate(-50%, 2px) rotate(0deg) scale(1, .8); }
  82%  { transform: translate(-50%, -4px) rotate(0deg) scale(1, 1.1); }
  100% { transform: translate(-50%, 0) rotate(0deg) scale(1, 1); }
}

/* ---------- 4.2 撞击特效 ---------- */
.fx { position: absolute; transform: translate(-50%, -50%); pointer-events: none; }

.fx-flash {
  z-index: 8;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(36px, 6vw, 58px);
  color: var(--cinnabar);
  text-shadow: 0 2px 0 rgba(0, 0, 0, .14), 0 0 26px rgba(176, 58, 46, .35);
  animation: flashPop .65s ease-out forwards;
}
@keyframes flashPop {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(.35) rotate(-10deg); }
  28%  { opacity: 1; transform: translate(-50%, -50%) scale(1.18) rotate(3deg); }
  100% { opacity: 0; transform: translate(-50%, -70%) scale(1) rotate(0deg); }
}

.fx-ring {
  z-index: 6;
  width: 16px;
  height: 16px;
  border: 3px solid rgba(176, 58, 46, .6);
  border-radius: 50%;
  animation: ringPop .7s ease-out forwards;
}
@keyframes ringPop {
  0%   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(7); }
}

.fx-dust {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a8773f;
  animation: dustFly .55s ease-out forwards;
}
@keyframes dustFly {
  to {
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(.25);
    opacity: 0;
  }
}

/* ---------- 4.3 台词气泡 ---------- */
#bubble {
  position: absolute;
  z-index: 9;
  pointer-events: none; /* 气泡永不拦截点击，按钮始终可点 */
  width: 320px;
  max-width: calc(100vw - 32px);
  background: #fffdf6;
  border: 1px solid rgba(43, 33, 24, .15);
  border-radius: 16px;
  padding: 16px 20px 18px;
  box-shadow: 0 26px 52px -22px rgba(43, 33, 24, .45);
  opacity: 0;
  transform: translate(-50%, 8px) scale(.94);
  transform-origin: 50% 100%;
  transition: opacity .3s ease, transform .3s ease;
}
#bubble.show { opacity: 1; transform: translate(-50%, 0) scale(1); }
#bubble.hide { opacity: 0; transform: translate(-50%, 10px) scale(.92); }
#bubble::before {
  content: '';
  position: absolute;
  bottom: -13px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 14px solid rgba(43, 33, 24, .15);
}
#bubble::after {
  content: '';
  position: absolute;
  bottom: -11px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 12px solid #fffdf6;
}
#bubble .bubble-crack { color: var(--cinnabar); font-weight: 900; margin-right: .45rem; font-family: var(--serif); }
#bubble strong {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: .02em;
}
#bubble p { margin: .35rem 0 0; font-size: .93rem; color: var(--ink-2); }

/* ---------- 5. 跑马灯 ---------- */
.ticker {
  background: #241b12;
  color: #e8d9b8;
  overflow: hidden;
  border-block: 1px solid rgba(255, 220, 160, .16);
}
.ticker-track {
  display: flex;
  width: max-content;
  padding: .8rem 0;
  font-family: var(--serif);
  font-size: .95rem;
  letter-spacing: .1em;
  animation: ticker 34s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; white-space: nowrap; }
.ticker-sep { color: var(--cinnabar); font-weight: 900; margin-inline: 2.6rem; animation: sepBeat 2.4s ease-in-out infinite; }
@keyframes sepBeat { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- 6. 区块通用 ---------- */
.section { padding: clamp(4.6rem, 9vw, 7.5rem) 0; }
.section-alt { background: linear-gradient(180deg, #f0e5cd, #f6efe1); }

/* ---------- 7. 六大板块 ---------- */
.grid-six { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }

.card-section {
  position: relative;
  overflow: hidden;
  background: rgba(255, 250, 240, .78);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1.9rem 1.7rem 1.7rem;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent, var(--cinnabar));
  opacity: .85;
}
.card-section::after {
  content: '讲';
  position: absolute;
  right: 12px;
  bottom: -26px;
  font-family: var(--cursive);
  font-size: 6.2rem;
  line-height: 1;
  color: rgba(176, 58, 46, .05);
  transform: rotate(-12deg);
  transition: transform .45s ease, color .45s ease;
  pointer-events: none;
}
.card-section:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent, var(--cinnabar)) 40%, transparent); }
.card-section:hover::after { transform: rotate(0deg); color: color-mix(in srgb, var(--accent, var(--cinnabar)) 10%, transparent); }

.card-icon { font-size: 2rem; filter: drop-shadow(0 6px 10px rgba(70, 45, 20, .2)); }
.card-title {
  display: flex;
  align-items: baseline;
  gap: .55rem;
  margin: 1rem 0 .3rem;
  font-weight: 900;
  font-size: 1.32rem;
}
.card-en { font-family: var(--sans); font-size: .6rem; letter-spacing: .34em; color: var(--ink-3); }
.card-sub { font-weight: 700; font-size: .95rem; color: var(--accent, var(--cinnabar)); }
.card-desc { margin-top: .55rem; font-size: .94rem; color: var(--ink-3); }
.card-more {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: 1.05rem;
  font-size: .9rem;
  font-weight: 700;
  color: var(--accent, var(--cinnabar));
  text-decoration: none;
  transition: gap .3s ease;
}
.card-section:hover .card-more { gap: .7rem; }

/* ---------- 8. 精选文章 ---------- */
.grid-articles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

.article-card {
  position: relative;
  overflow: hidden;
  background: #fffaf0;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  padding: 1.7rem 1.8rem 1.55rem;
  transition: transform .3s ease, box-shadow .3s ease;
}
.article-card::after {
  content: '丢';
  position: absolute;
  right: -12px;
  bottom: -22px;
  font-family: var(--cursive);
  font-size: 7rem;
  line-height: 1;
  color: rgba(176, 58, 46, .05);
  transform: rotate(-14deg);
  transition: transform .45s ease, color .45s ease;
  pointer-events: none;
}
.article-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.article-card:hover::after { transform: rotate(0deg); color: color-mix(in srgb, var(--cat, var(--cinnabar)) 12%, transparent); }

/* 分类配色 */
.article-card[data-cat="金融证券"]        { --cat: #b03a2e; }
.article-card[data-cat="AI前沿"]          { --cat: #35637c; }
.article-card[data-cat="Web3探索"]        { --cat: #8a6a2f; }
.article-card[data-cat="东方智慧"]        { --cat: #3e7355; }
.article-card[data-cat="丢笔哥解经"]      { --cat: #8e5a2b; }
.article-card[data-cat="丢笔哥实验室"]    { --cat: #6b4f8e; }

.article-meta { display: flex; align-items: center; gap: .7rem; margin-bottom: .95rem; }
.tag {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: #fff;
  background: var(--cat, var(--cinnabar));
  padding: .2rem .72rem;
  border-radius: 999px;
  box-shadow: 0 4px 10px -4px color-mix(in srgb, var(--cat, var(--cinnabar)) 60%, transparent);
}
.article-date { font-size: .82rem; color: var(--ink-3); }

.article-title { font-weight: 900; font-size: clamp(1.15rem, 2.4vw, 1.4rem); line-height: 1.45; transition: color .3s; }
.article-card:hover .article-title { color: var(--cat, var(--cinnabar)); }

.article-summary { margin-top: .7rem; font-size: .94rem; color: var(--ink-2); }

.article-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--line);
  font-size: .84rem;
  color: var(--ink-3);
}
.read-more { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; color: var(--cat, var(--cinnabar)); transition: gap .3s ease; }
.article-card:hover .read-more { gap: .7rem; }

/* ---------- 9. 关于 / 使命 ---------- */
.about { background: linear-gradient(180deg, #efe3cb, #f6efe1); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.18fr;
  gap: clamp(2.6rem, 6vw, 5rem);
  align-items: center;
}

/* 桌面小景（CSS 插画） */
.about-art { position: relative; padding-left: 1.8rem; }
.desk-scene {
  position: relative;
  aspect-ratio: 4 / 3.1;
  background: radial-gradient(72% 62% at 50% 38%, rgba(214, 168, 98, .3), transparent 76%);
  border-radius: 1.4rem;
}
.ds-desk {
  position: absolute;
  left: 3%;
  right: 3%;
  bottom: 7%;
  height: 36%;
  background: linear-gradient(180deg, #a06c3c, #7a4f2a 40%, #5b3a1f);
  border-radius: 12px 12px 6px 6px;
  box-shadow: 0 22px 34px -16px rgba(62, 36, 15, .5);
}
.ds-desk::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(180deg, rgba(255, 238, 205, .85), rgba(255, 238, 205, 0));
}
.ds-desk::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: repeating-linear-gradient(90deg,
    rgba(0, 0, 0, .07) 0 2px, transparent 2px 11px,
    rgba(255, 255, 255, .04) 11px 13px, transparent 13px 27px);
}
.ds-book { position: absolute; left: 7%; bottom: 38%; width: 37%; aspect-ratio: 7 / 5; z-index: 2; }
.ds-book::before {
  content: '';
  position: absolute;
  inset: -4px -7px -7px;
  background: linear-gradient(180deg, #7c3f2e, #5c2d1f);
  border-radius: 12px;
  z-index: -1;
}
.ds-book .page {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background: linear-gradient(180deg, #fdf7e8, #f1e5c8);
  box-shadow: 0 8px 14px -6px rgba(62, 36, 15, .4);
}
.ds-book .page.l { left: 0; border-radius: 10px 2px 2px 8px; transform: skewY(4deg); transform-origin: 100% 100%; }
.ds-book .page.r { right: 0; border-radius: 2px 10px 8px 2px; transform: skewY(-4deg); transform-origin: 0 100%; }
.ds-book .page::after {
  content: '';
  position: absolute;
  left: 16%;
  right: 16%;
  top: 32%;
  bottom: 22%;
  border-radius: 2px;
  background: repeating-linear-gradient(180deg, rgba(43, 33, 24, .16) 0 2px, transparent 2px 10px);
}
.ds-brush {
  position: absolute;
  left: 63%;
  bottom: 36%;
  width: 9px;
  height: 45%;
  background: linear-gradient(180deg, #d9b26a, #a8813e 60%, #8a6a2c);
  border-radius: 4px;
  transform: rotate(-16deg);
  transform-origin: 50% 100%;
  box-shadow: 0 10px 16px -8px rgba(62, 36, 15, .45);
}
.ds-brush::before {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 27px;
  background: linear-gradient(180deg, #6b4c2a, #2c241b 70%);
  border-radius: 0 0 3px 3px;
}
.ds-inkstone {
  position: absolute;
  left: 77%;
  bottom: 35%;
  width: 16%;
  aspect-ratio: 11 / 7;
  background: radial-gradient(ellipse at 38% 30%, #5f6a78, #2b323b 72%);
  border-radius: 46% 46% 50% 50%;
  box-shadow: inset 0 -6px 10px rgba(0, 0, 0, .35), 0 12px 18px -10px rgba(30, 20, 10, .5);
}
.ds-inkstone::before {
  content: '';
  position: absolute;
  left: 22%;
  top: 26%;
  width: 56%;
  height: 44%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 40% 35%, #10141a, #05070a);
}
.ds-lantern {
  position: absolute;
  left: 45%;
  bottom: 92%;
  width: 11%;
  aspect-ratio: 1 / 1.35;
  background: radial-gradient(ellipse at 50% 30%, #e2694f, #a03025 72%);
  border-radius: 45% 45% 48% 48%;
  box-shadow: 0 0 22px rgba(226, 105, 79, .5), inset 0 0 8px rgba(0, 0, 0, .22);
}
.ds-lantern::before {
  content: '';
  position: absolute;
  top: -18%;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 26%;
  background: #8a6a2c;
}

/* 印章与竖排字 */
.stamp {
  position: absolute;
  right: 1.2rem;
  bottom: 1rem;
  font-family: var(--serif);
  font-weight: 900;
  font-size: .98rem;
  letter-spacing: .14em;
  color: #f9efdc;
  background: var(--cinnabar);
  padding: .4rem .62rem;
  border-radius: .45rem;
  transform: rotate(-7deg);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .16), 0 8px 16px -6px rgba(156, 48, 35, .55);
}
.about-art .v-text {
  position: absolute;
  left: 0;
  top: 6%;
  writing-mode: vertical-rl;
  letter-spacing: .48em;
  font-family: var(--serif);
  font-weight: 700;
  font-size: .95rem;
  color: var(--ink-3);
  opacity: .72;
}

.about-kicker { font-size: .8rem; font-weight: 700; letter-spacing: .34em; color: var(--cinnabar); }
.about-title {
  margin: .7rem 0 1.3rem;
  font-weight: 900;
  font-size: clamp(1.9rem, 4.4vw, 2.7rem);
  line-height: 1.3;
}
.about-lead {
  font-family: var(--serif);
  font-size: 1.12rem;
  color: var(--ink-2);
  line-height: 2;
}
.about-lead b { color: var(--cinnabar); }
.about-copy p.plain { margin-top: 1.1rem; color: var(--ink-3); font-size: .97rem; }

blockquote.mission {
  margin: 1.6rem 0 0;
  padding: .9rem 0 .9rem 1.3rem;
  border-left: 3px solid var(--cinnabar);
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  color: var(--ink);
  line-height: 1.7;
  background: linear-gradient(90deg, rgba(176, 58, 46, .06), transparent);
  border-radius: 0 10px 10px 0;
}
blockquote.mission small { display: block; margin-top: .45rem; font-family: var(--sans); font-weight: 500; font-size: .82rem; letter-spacing: .2em; color: var(--gold); }

.about-values { list-style: none; display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }
.about-values li {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, .7);
  border-radius: 999px;
  padding: .5rem 1.05rem;
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink-2);
}
.about-values li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cinnabar);
  box-shadow: 0 0 0 3px rgba(176, 58, 46, .16);
}

/* ---------- 10. 页脚 ---------- */
.site-footer { background: #221a12; color: #cfc0a3; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 2.8rem;
  padding: 4rem 0 2.6rem;
}
.footer-brand { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.1rem; }
.footer-brand .seal { width: 2.5rem; height: 2.5rem; font-size: 1.3rem; }
.footer-brand-name { font-family: var(--serif); font-weight: 900; font-size: 1.3rem; color: #f0e4c8; letter-spacing: .1em; }
.footer-desc { font-size: .93rem; color: #a99572; max-width: 34ch; }
.footer-col h4 { color: #f0e4c8; font-size: 1rem; letter-spacing: .14em; margin-bottom: 1.1rem; }
.footer-links { list-style: none; display: grid; gap: .62rem; }
.footer-links a { color: #b8a888; text-decoration: none; font-size: .93rem; transition: color .25s, padding-left .25s; }
.footer-links a:hover { color: var(--gold-soft); padding-left: 4px; }
.footer-note p { font-size: .9rem; color: #9d8c6d; line-height: 1.9; }
.footer-note .email { color: var(--gold-soft); text-decoration: none; }
.footer-bar {
  border-top: 1px solid rgba(255, 220, 160, .13);
  padding: 1.4rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .84rem;
  color: #8d7c5e;
}
.back-top { color: var(--gold-soft); text-decoration: none; font-weight: 700; letter-spacing: .08em; }
.back-top:hover { color: #fff; }

/* ---------- 11. 响应式 ---------- */
@media (max-width: 960px) {
  .grid-six { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .hero-vertical { display: none; }
}

@media (max-width: 820px) {
  .main-nav, .btn-open { display: none; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
}

@media (max-width: 620px) {
  .grid-six { grid-template-columns: 1fr; }
  .grid-articles { grid-template-columns: 1fr; }
  .section-head { flex-wrap: wrap; }
  .sec-rule { display: none; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .desk-scene { aspect-ratio: 4 / 3.4; }
  .about-art { padding-left: 0; }
  .about-art .v-text { display: none; }
}

/* ---------- 12. 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001s !important;
  }
  .ticker-track { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .pen.css-fall { animation: none; transform: translateX(-50%); }
}
