/* ============================================================
   小满 · 样式表
   纸感米白 / 水彩薄荷 / 一点点樱粉
   ============================================================ */

:root {
  --paper:      #FBF8F1;
  --paper-2:    #F5EFE3;
  --card:       #FFFDF8;
  --ink:        #3D4A42;
  --ink-2:      #5A675F;
  --muted:      #8C998F;
  --sage:       #8FAF95;
  --sage-d:     #5C7F68;
  --sage-l:     #E6EFE4;
  --blush:      #DFA2A6;
  --blush-l:    #FAEDEA;
  --butter:     #F0D9A8;
  --sky:        #A9C3D6;
  --lav:        #B9AAD0;
  --line:       rgba(92, 127, 104, .16);
  --line-soft:  rgba(92, 127, 104, .09);
  --shadow-sm:  0 4px 14px rgba(84, 104, 88, .05);
  --shadow:     0 14px 38px rgba(84, 104, 88, .09);
  --shadow-lg:  0 26px 60px rgba(84, 104, 88, .13);
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --f-title: 'LXGW WenKai', 'Kaiti SC', 'STKaiti', 'KaiTi', '楷体', 'Songti SC', serif;
  --f-body: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --nav-h: 72px;
  --ease: cubic-bezier(.22, .68, .28, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--f-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.85;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* 纸张颗粒 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

::selection { background: #DCE9DA; color: var(--ink); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }

::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: #CFDCCF; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--sage); }

.wrap { width: min(1100px, 100% - 48px); margin-inline: auto; }
.wrap-narrow { width: min(760px, 100% - 48px); margin-inline: auto; }

/* ---------- 装饰：水彩晕染 ---------- */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(58px);
  opacity: .5;
  pointer-events: none;
  z-index: 0;
  animation: drift 22s var(--ease) infinite alternate;
}
.blob--mint { background: radial-gradient(circle at 40% 40%, #CFE3CB, transparent 68%); }
.blob--blush { background: radial-gradient(circle at 40% 40%, #F6D4CF, transparent 68%); }
.blob--sky { background: radial-gradient(circle at 40% 40%, #CFE0EC, transparent 68%); }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(24px, -30px, 0) scale(1.08); }
}

/* ---------- 导航 ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 900;
  display: flex;
  align-items: center;
  transition: background .45s var(--ease), box-shadow .45s var(--ease), height .45s var(--ease);
}
.nav.scrolled {
  height: 62px;
  background: rgba(251, 248, 241, .92);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line-soft), 0 10px 30px rgba(84, 104, 88, .04);
}
.nav-inner {
  width: min(1100px, 100% - 48px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand svg { width: 32px; height: 32px; }
.brand-name {
  font-family: var(--f-title);
  font-size: 23px;
  letter-spacing: .12em;
  color: var(--ink);
  padding-left: 1px;
}
.brand-sub {
  font-size: 10px;
  letter-spacing: .34em;
  color: var(--muted);
  text-transform: uppercase;
  margin-left: 2px;
  transform: translateY(1px);
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative;
  padding: 8px 16px;
  font-size: 15px;
  color: var(--ink-2);
  letter-spacing: .06em;
  border-radius: 99px;
  transition: color .3s, background .3s;
}
.nav-links a:hover { color: var(--sage-d); background: rgba(230, 239, 228, .6); }
.nav-links a.active { color: var(--sage-d); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 2px;
  width: 16px; height: 3px;
  margin-left: -8px;
  border-radius: 99px;
  background: var(--sage);
  opacity: .7;
}
.nav-toggle { display: none; }

/* ---------- 首页 hero ---------- */
.hero {
  position: relative;
  min-height: min(94vh, 800px);
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 90px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url('../img/hero.webp');
  background-size: cover;
  background-position: center 62%;
  transform: scale(1.02);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(251, 248, 241, .97) 6%, rgba(251, 248, 241, .9) 36%, rgba(251, 248, 241, .42) 62%, rgba(251, 248, 241, .05) 88%),
    linear-gradient(to bottom, rgba(251,248,241,.5), transparent 26%, transparent 68%, rgba(251,248,241,.85) 88%, var(--paper) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 620px; }
.hero-eyebrow {
  font-size: 12.5px;
  letter-spacing: .32em;
  color: var(--muted);
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  width: 40px; height: 1px;
  background: var(--sage);
  opacity: .6;
}
.hero-title {
  font-family: var(--f-title);
  font-size: clamp(42px, 6.4vw, 76px);
  line-height: 1.28;
  font-weight: 400;
  letter-spacing: .02em;
  color: var(--ink);
  margin-bottom: 8px;
}
.hero-title em {
  font-style: normal;
  position: relative;
  color: var(--sage-d);
}
.hero-title em::after {
  content: '';
  position: absolute;
  left: -2%; right: -2%;
  bottom: 8%;
  height: 30%;
  background: linear-gradient(90deg, rgba(240, 217, 168, .55), rgba(240, 217, 168, .28));
  border-radius: 40% 60% 55% 45%;
  z-index: -1;
  transform: rotate(-.8deg);
}
.hero-desc {
  margin-top: 26px;
  font-size: 16px;
  color: var(--ink-2);
  line-height: 2.05;
  max-width: 460px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 28px;
  border-radius: 99px;
  font-size: 15px;
  letter-spacing: .08em;
  background: var(--sage-d);
  color: #FCFBF6;
  box-shadow: 0 10px 24px rgba(92, 127, 104, .22);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(92, 127, 104, .26); background: #54745f; }
.btn svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost {
  background: rgba(255, 255, 255, .58);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(92, 127, 104, .22);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: #fff; color: var(--sage-d); box-shadow: inset 0 0 0 1px rgba(92, 127, 104, .34); }

/* hero 右下小卡 */
.hero-note {
  position: absolute;
  right: max(24px, calc((100vw - 1100px) / 2));
  bottom: 54px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 22px 14px 16px;
  background: rgba(255, 253, 248, .78);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 99px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: .04em;
}
.hero-note .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 4px rgba(143, 175, 149, .22);
  animation: pulse 2.8s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(143, 175, 149, .22); }
  50% { box-shadow: 0 0 0 8px rgba(143, 175, 149, .06); }
}
.hero-note b { font-weight: 600; color: var(--ink); font-family: var(--f-title); font-size: 14px; letter-spacing: .06em; }

/* 飘落的小点 */
.petals { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.petal {
  position: absolute;
  width: 9px; height: 9px;
  border-radius: 60% 40% 55% 45%;
  background: rgba(223, 162, 166, .5);
  animation: fall linear infinite;
}
@keyframes fall {
  0%   { transform: translate3d(0, -10vh, 0) rotate(0deg); opacity: 0; }
  10%  { opacity: .8; }
  90%  { opacity: .5; }
  100% { transform: translate3d(70px, 105vh, 0) rotate(320deg); opacity: 0; }
}

/* ---------- 通用区块 ---------- */
.section { position: relative; padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
}
.section-head .eyebrow {
  font-family: var(--f-title);
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--sage);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-head h2 {
  font-family: var(--f-title);
  font-weight: 400;
  font-size: clamp(26px, 3.1vw, 36px);
  letter-spacing: .04em;
  color: var(--ink);
  line-height: 1.4;
}
.section-head h2 span { color: var(--sage-d); }
.section-head .more {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: .08em;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 6px;
  transition: color .3s, gap .3s;
  white-space: nowrap;
}
.section-head .more:hover { color: var(--sage-d); gap: 11px; }

/* 手绘波浪分隔 */
.divider { display: flex; justify-content: center; padding: 8px 0; opacity: .8; }
.divider svg { width: min(220px, 40vw); height: auto; }

/* ---------- 今日一句 ---------- */
.quote-band {
  position: relative;
  padding: 74px 0;
  text-align: center;
  overflow: hidden;
}
.quote-band::before {
  content: '';
  position: absolute;
  inset: 4% 6%;
  border-radius: 90px;
  background:
    radial-gradient(52% 116% at 26% 50%, rgba(230, 239, 228, .62), transparent 72%),
    radial-gradient(48% 110% at 74% 50%, rgba(250, 237, 234, .58), transparent 72%),
    radial-gradient(40% 90% at 50% 50%, rgba(250, 246, 232, .6), transparent 78%);
  filter: blur(6px);
  z-index: 0;
}
.quote-inner { position: relative; z-index: 1; }
.quote-mark {
  font-family: var(--f-title);
  font-size: 44px;
  color: var(--sage);
  opacity: .45;
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}
#quoteText {
  font-family: var(--f-title);
  font-size: clamp(19px, 2.5vw, 27px);
  line-height: 1.9;
  color: var(--ink);
  letter-spacing: .05em;
  max-width: 720px;
  margin-inline: auto;
}
.quote-src {
  margin-top: 20px;
  font-size: 12px;
  letter-spacing: .26em;
  color: var(--muted);
}

/* ---------- 日志卡片 ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }

.post-card {
  position: relative;
  background: var(--card);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, .9);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  display: flex;
  flex-direction: column;
}
.post-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.post-card:nth-child(3n+1) { transform: rotate(-.35deg); }
.post-card:nth-child(3n+3) { transform: rotate(.3deg); }
.post-card:nth-child(3n+1):hover,
.post-card:nth-child(3n+3):hover { transform: translateY(-7px) rotate(0deg); }

.pc-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.pc-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), filter .6s;
  filter: saturate(.96);
}
.post-card:hover .pc-media img { transform: scale(1.045); filter: saturate(1.04); }
.pc-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(61, 74, 66, .18), transparent 46%);
}
.pc-mood {
  position: absolute;
  left: 14px; top: 14px;
  z-index: 2;
  padding: 5px 12px;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--sage-d);
  background: rgba(255, 253, 248, .9);
  border-radius: 99px;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 10px rgba(80, 100, 85, .1);
}
.pc-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pc-date {
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--muted);
  font-family: var(--f-title);
}
.pc-title {
  font-family: var(--f-title);
  font-size: 21px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: .02em;
  color: var(--ink);
  transition: color .3s;
}
.post-card:hover .pc-title { color: var(--sage-d); }
.pc-excerpt {
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--ink-2);
  opacity: .82;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pc-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .06em;
}
.pc-foot .arrow { transition: transform .4s var(--ease); }
.post-card:hover .pc-foot .arrow { transform: translateX(4px); color: var(--sage-d); }

/* ---------- 首页相册条 ---------- */
.strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.strip a {
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.strip a:nth-child(even) { transform: translateY(16px); }
.strip a:hover { transform: translateY(-4px) scale(1.02); box-shadow: var(--shadow); z-index: 2; }
.strip a:nth-child(even):hover { transform: translateY(10px) scale(1.02); }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.strip a:hover img { transform: scale(1.06); }
.strip a::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(61, 74, 66, .22), transparent 55%);
  opacity: 0;
  transition: opacity .4s;
}
.strip a:hover::after { opacity: 1; }

/* ---------- 内页头部 ---------- */
.page-head {
  position: relative;
  padding: calc(var(--nav-h) + 70px) 0 54px;
  overflow: hidden;
  isolation: isolate;
}
.page-head .wrap { position: relative; z-index: 2; }
.page-head::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 140px;
  background: linear-gradient(to bottom, rgba(251, 248, 241, 0), var(--paper) 88%);
  z-index: 1;
  pointer-events: none;
}
.page-head h1 {
  font-family: var(--f-title);
  font-weight: 400;
  font-size: clamp(32px, 4.6vw, 50px);
  letter-spacing: .04em;
  line-height: 1.4;
  color: var(--ink);
}
.page-head p {
  margin-top: 16px;
  color: var(--ink-2);
  font-size: 15px;
  letter-spacing: .04em;
  max-width: 560px;
}
.page-head .crumb {
  font-size: 12px;
  letter-spacing: .24em;
  color: var(--muted);
  margin-bottom: 18px;
  text-transform: uppercase;
}

/* ---------- 日志页：时间轴 ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 46px;
}
.chip {
  padding: 8px 20px;
  font-size: 13.5px;
  letter-spacing: .08em;
  color: var(--ink-2);
  border-radius: 99px;
  background: rgba(255, 253, 248, .8);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: all .35s var(--ease);
}
.chip:hover { color: var(--sage-d); box-shadow: inset 0 0 0 1px rgba(92, 127, 104, .34); }
.chip.on { background: var(--sage-d); color: #FCFBF6; box-shadow: 0 8px 18px rgba(92, 127, 104, .2); }

.timeline { list-style: none; position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 88px; top: 12px; bottom: 12px;
  width: 1px;
  background: repeating-linear-gradient(to bottom, rgba(92, 127, 104, .3) 0 7px, transparent 7px 14px);
}
.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 30px;
  padding-bottom: 34px;
}
.tl-date {
  text-align: right;
  padding-top: 22px;
  font-family: var(--f-title);
  color: var(--muted);
}
.tl-date .d { display: block; font-size: 26px; line-height: 1; color: var(--ink); letter-spacing: .02em; }
.tl-date .m { display: block; font-size: 10.5px; letter-spacing: .1em; margin-top: 6px; white-space: nowrap; }
.tl-dot {
  position: absolute;
  left: 84px; top: 30px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 1.5px var(--sage);
  transition: background .4s, box-shadow .4s;
}
.tl-item:hover .tl-dot { background: var(--sage); box-shadow: 0 0 0 4px rgba(143, 175, 149, .2); }

.tl-card {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 24px;
  align-items: center;
  background: var(--card);
  border-radius: var(--r);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, .9);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.tl-card:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.tl-thumb { aspect-ratio: 4 / 3; border-radius: 9px; overflow: hidden; background: var(--paper-2); }
.tl-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tl-card:hover .tl-thumb img { transform: scale(1.05); }
.tl-txt { padding: 10px 14px 10px 0; }
.tl-meta {
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 9px;
}
.tl-title {
  font-family: var(--f-title);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .02em;
  color: var(--ink);
  transition: color .3s;
}
.tl-card:hover .tl-title { color: var(--sage-d); }
.tl-excerpt {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--ink-2);
  opacity: .8;
  line-height: 1.9;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tl-empty { color: var(--muted); text-align: center; padding: 60px 0; font-size: 14px; letter-spacing: .1em; }

/* ---------- 文章页 ---------- */
.article { padding: calc(var(--nav-h) + 56px) 0 40px; }
.article-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.article-meta {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  font-size: 12.5px;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: 22px;
  font-family: var(--f-title);
}
.article-meta .tag { color: var(--sage-d); }
.article-title {
  font-family: var(--f-title);
  font-weight: 400;
  font-size: clamp(29px, 4.4vw, 43px);
  line-height: 1.45;
  letter-spacing: .03em;
  color: var(--ink);
  text-wrap: balance;
}
.article-cover {
  position: relative;
  margin: 44px auto 54px;
  max-width: 900px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
  background: var(--paper-2);
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { max-width: 700px; margin-inline: auto; }
.article-body p {
  font-size: 16.5px;
  line-height: 2.15;
  color: var(--ink-2);
  margin-bottom: 26px;
  text-indent: 2em;
  letter-spacing: .02em;
}
.article-body p:first-of-type { color: var(--ink); }
.article-body figure { margin: 40px 0; }
.article-body figure img {
  width: auto;
  max-width: 100%;
  max-height: 620px;
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  margin-inline: auto;
}
.article-body figcaption {
  margin-top: 14px;
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: .1em;
  font-family: var(--f-title);
}
.article-body blockquote {
  position: relative;
  margin: 44px 0;
  padding: 34px 40px 34px 62px;
  font-family: var(--f-title);
  font-size: 19.5px;
  line-height: 1.95;
  color: var(--ink);
  text-indent: 0;
  background: linear-gradient(135deg, rgba(230, 239, 228, .65), rgba(250, 237, 234, .5));
  border-radius: 18px 6px 18px 6px;
}
.article-body blockquote::before {
  content: '“';
  position: absolute;
  left: 22px; top: 10px;
  font-family: var(--f-title);
  font-size: 56px;
  line-height: 1;
  color: var(--sage);
  opacity: .38;
}

.article-foot {
  max-width: 700px;
  margin: 64px auto 0;
  padding-top: 30px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.article-foot .sig {
  font-family: var(--f-title);
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--muted);
}
.pager { display: flex; gap: 12px; flex-wrap: wrap; }
.pager a {
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 99px;
  color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: all .3s;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pager a:hover { color: var(--sage-d); box-shadow: inset 0 0 0 1px rgba(92, 127, 104, .34); background: #fff; }

/* ---------- 相册 ---------- */
.gallery {
  column-count: 3;
  column-gap: 18px;
}
.ph {
  break-inside: avoid;
  margin-bottom: 18px;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--paper-2);
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.ph:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ph img { width: 100%; height: auto; transition: transform 1.1s var(--ease); }
.ph:hover img { transform: scale(1.03); }
.ph-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 16px 14px;
  background: linear-gradient(to top, rgba(45, 58, 50, .62), transparent);
  color: #FDFBF6;
  font-size: 12.5px;
  letter-spacing: .06em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
  font-family: var(--f-title);
}
.ph:hover .ph-cap { opacity: 1; transform: none; }

.lb {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(34, 42, 36, .95);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease);
}
.lb.on { opacity: 1; pointer-events: auto; }
.lb figure { max-width: min(92vw, 1040px); max-height: 86vh; display: flex; flex-direction: column; align-items: center; }
.lb img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 8px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .4);
  transform: scale(.97);
  transition: transform .45s var(--ease);
}
.lb.on img { transform: scale(1); }
.lb figcaption { margin-top: 18px; color: rgba(255, 255, 255, .82); font-size: 13px; letter-spacing: .1em; font-family: var(--f-title); }
.lb-close, .lb-nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .22);
  transition: background .3s, transform .3s;
  font-size: 24px;
  line-height: 1;
  padding-bottom: 3px;
}
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .22); transform: scale(1.06); }
.lb-close { top: 26px; right: 28px; }
.lb-prev { left: 26px; top: 50%; margin-top: -23px; }
.lb-next { right: 26px; top: 50%; margin-top: -23px; }
.lb-count {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .55);
}

/* ---------- 关于 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 66px;
  align-items: start;
}
.about-photo { position: relative; }
.about-photo .frame {
  background: #FFFDF8;
  padding: 12px 12px 46px;
  border-radius: 4px;
  box-shadow: var(--shadow);
  transform: rotate(-1.4deg);
  transition: transform .6s var(--ease);
}
.about-photo:hover .frame { transform: rotate(0deg) translateY(-4px); }
.about-photo img { border-radius: 2px; width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-photo .cap {
  position: absolute;
  bottom: 14px; left: 0; right: 0;
  text-align: center;
  font-family: var(--f-title);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .1em;
}
.tape {
  position: absolute;
  width: 92px; height: 26px;
  background: linear-gradient(180deg, rgba(240, 217, 168, .78), rgba(240, 217, 168, .55));
  box-shadow: 0 1px 3px rgba(120, 110, 80, .12);
  top: -13px; left: 50%;
  margin-left: -46px;
  transform: rotate(-3deg);
  opacity: .92;
}
.tape::before, .tape::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 6px;
  background-image: radial-gradient(circle, var(--paper) 45%, transparent 46%);
  background-size: 6px 6px;
}
.tape::before { left: -3px; }
.tape::after { right: -3px; }

.about-text h2 {
  font-family: var(--f-title);
  font-weight: 400;
  font-size: 30px;
  letter-spacing: .04em;
  line-height: 1.65;
  margin-bottom: 24px;
  color: var(--ink);
}
.about-text p { color: var(--ink-2); margin-bottom: 20px; font-size: 15.5px; line-height: 2.1; }
.about-facts {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border-radius: 12px;
  overflow: hidden;
}
.fact { background: var(--card); padding: 18px 22px; }
.fact dt { font-size: 11.5px; letter-spacing: .2em; color: var(--muted); margin-bottom: 6px; }
.fact dd { font-family: var(--f-title); font-size: 16px; color: var(--ink); letter-spacing: .04em; }
.about-mail {
  margin-top: 34px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--sage-d);
  letter-spacing: .06em;
  border-bottom: 1px dashed rgba(92, 127, 104, .4);
  padding-bottom: 4px;
  transition: opacity .3s;
}
.about-mail:hover { opacity: .7; }

/* ---------- 页脚 ---------- */
.footer {
  position: relative;
  margin-top: 40px;
  padding: 0 0 46px;
  overflow: hidden;
}
.footer-wave { display: block; width: 100%; height: 76px; color: rgba(230, 239, 228, .55); }
.footer-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 34px;
}
.footer-logo {
  font-family: var(--f-title);
  font-size: 22px;
  letter-spacing: .3em;
  color: var(--ink);
  margin-bottom: 12px;
}
.footer p { font-size: 12.5px; color: var(--muted); letter-spacing: .1em; }
.footer p + p { margin-top: 6px; font-size: 11.5px; opacity: .8; }
.footer .sprout { display: inline-block; transform: translateY(1px); }

/* ---------- 入场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.post-card.reveal.in:nth-child(3n+1) { transform: rotate(-.35deg); }
.post-card.reveal.in:nth-child(3n+3) { transform: rotate(.3deg); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 300px 1fr; gap: 44px; }
  .gallery { column-count: 2; }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .strip a:nth-child(even) { transform: none; }
  .hero-note { display: none; }
}

@media (max-width: 460px) {
  .brand-sub { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .wrap, .wrap-narrow, .nav-inner { width: calc(100% - 40px); }
  .nav-links {
    position: fixed;
    inset: 62px 16px auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    background: rgba(255, 253, 248, .96);
    border-radius: 16px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
    border: 1px solid var(--line-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: all .35s var(--ease);
  }
  .nav.open .nav-links { opacity: 1; pointer-events: auto; transform: none; }
  .nav-links a { padding: 12px 16px; font-size: 16px; }
  .nav-links a.active::after { display: none; }
  .nav-toggle {
    display: grid;
    place-items: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .6);
    box-shadow: inset 0 0 0 1px var(--line);
  }
  .nav-toggle span { display: block; width: 17px; height: 1.6px; background: var(--ink); border-radius: 2px; position: relative; transition: .3s; }
  .nav-toggle span::before, .nav-toggle span::after {
    content: ''; position: absolute; left: 0; width: 17px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: .3s;
  }
  .nav-toggle span::before { top: -5px; }
  .nav-toggle span::after { top: 5px; }
  .nav.open .nav-toggle span { background: transparent; }
  .nav.open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
  .nav.open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

  .hero { min-height: auto; padding: calc(var(--nav-h) + 60px) 0 60px; }
  .hero::after { background: linear-gradient(to bottom, rgba(251,248,241,.86), rgba(251,248,241,.6) 58%, var(--paper)); }
  .hero-bg { background-position: 58% center; opacity: .9; }
  .hero-desc { font-size: 15px; }
  .section { padding: 66px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 30px; }
  .cards, .cards--2 { grid-template-columns: 1fr; gap: 22px; }
  .post-card:nth-child(3n+1), .post-card:nth-child(3n+3) { transform: none; }
  .strip { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .strip a:nth-child(n+5) { display: none; }

  .page-head { padding: calc(var(--nav-h) + 46px) 0 40px; }

  .timeline::before { left: 8px; }
  .tl-item { grid-template-columns: 1fr; gap: 0; padding-left: 34px; padding-bottom: 26px; }
  .tl-date { text-align: left; padding: 0 0 10px; display: flex; align-items: baseline; gap: 8px; }
  .tl-date .d { font-size: 19px; }
  .tl-date .m { display: inline; margin: 0; }
  .tl-dot { left: 4px; top: 8px; }
  .tl-card { grid-template-columns: 116px 1fr; gap: 14px; padding: 10px; }
  .tl-txt { padding: 6px 8px 6px 0; }
  .tl-title { font-size: 17px; }
  .tl-excerpt { display: none; }
  .tl-meta { margin-bottom: 5px; font-size: 11px; gap: 8px; }
  .tl-meta span:nth-child(3) { display: none; }

  .gallery { column-count: 2; column-gap: 12px; }
  .ph { margin-bottom: 14px; overflow: visible; background: none; box-shadow: none; }
  .ph:hover { transform: none; box-shadow: none; }
  .ph img { border-radius: 9px; box-shadow: var(--shadow-sm); }
  .ph-cap {
    position: static;
    opacity: 1;
    transform: none;
    background: none;
    padding: 7px 2px 0;
    color: var(--ink-2);
    font-size: 11.5px;
    line-height: 1.65;
    font-family: var(--f-body);
    letter-spacing: .02em;
  }

  .article-title { font-size: 26px; line-height: 1.5; }
  .article-meta { gap: 6px 12px; font-size: 11.5px; margin-bottom: 16px; }
  .article-cover { aspect-ratio: 4/3; margin: 26px auto 32px; border-radius: var(--r); }
  .article-body p { font-size: 16px; line-height: 2.1; }
  .article-foot { flex-direction: column; align-items: flex-start; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { max-width: 320px; margin-inline: auto; }
  .about-facts { grid-template-columns: 1fr; }
  .lb { padding: 16px; }
  .lb-nav { width: 40px; height: 40px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}
