@font-face { font-family: 'Garden Serif'; src: url('assets/fonts/garden-serif-sc.woff2') format('woff2'); font-weight: 400 600; font-display: swap; }
@font-face { font-family: 'Garden Latin'; src: url('assets/fonts/garden-latin.woff2') format('woff2'); font-style: italic; font-weight: 400 500; font-display: swap; }
/* 恬菜的小站 · 森系清透版
   颜色集中在 :root，想整体调绿色深浅时改 --leaf / --paper 即可。 */

:root {
  color-scheme: light;
  --paper: #f4f8ef;
  --paper-deep: #e8f1e0;
  --mist: #e4efe9;
  --ink: #24402f;
  --ink-soft: #4b6552;
  --muted: #7a8f7d;
  --leaf: #5f9a5c;
  --leaf-soft: #a9cf96;
  --sky: #9bbbe3;
  --sun: #f2cc63;
  --rule: #9fbf9a40;
  --glass: rgba(255, 255, 255, .58);
  --glass-line: rgba(255, 255, 255, .85);
  --shadow: 0 1px 2px rgba(50, 90, 60, .05), 0 18px 50px -18px rgba(54, 104, 70, .22);
  --serif: 'Garden Serif', 'Songti SC', 'STSong', 'SimSun', serif;
  --en: 'Garden Latin', 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --ease: cubic-bezier(.22, .8, .28, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1200px 700px at 110% 55%, #e3f0dc 0, transparent 60%),
    radial-gradient(900px 600px at -10% 85%, #e2eee8 0, transparent 60%),
    var(--paper);
}
/* 极淡的纸张颗粒，让整页有一点手作的质感 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .32;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .45 0 0 0 0 .32 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--leaf); outline-offset: 5px; border-radius: 6px; }
h1, h2, h3, p, figure { margin: 0; }
::selection { background: #d4e8c2; color: var(--ink); }

.wrap { width: min(1080px, calc(100% - 96px)); margin-inline: auto; }
.en { font-family: var(--en); font-style: italic; font-size: 19px; letter-spacing: .3px; color: var(--leaf); line-height: 1.2; }

.skip-link { position: absolute; left: 20px; top: -60px; z-index: 50; background: #fff; padding: 8px 18px; border-radius: 99px; }
.skip-link:focus { top: 12px; }

/* —— 顶部导航 —— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  padding: 22px 0;
  transition: padding .4s var(--ease), background .4s, box-shadow .4s, backdrop-filter .4s;
}
.site-header.scrolled {
  padding: 12px 0;
  background: rgba(244, 248, 239, .72);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 1px 0 var(--rule);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.wordmark { font-family: var(--serif); font-size: 21px; font-weight: 500; letter-spacing: 4px; display: inline-flex; align-items: center; }
.wordmark-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px #f2cc6333; margin-left: 2px; }
.site-header nav { display: flex; gap: 6px; padding: 5px; border-radius: 99px; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--shadow); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-header nav a { font-size: 14px; letter-spacing: 2px; padding: 6px 18px; border-radius: 99px; color: var(--ink-soft); transition: background .25s, color .25s; }
.site-header nav a:hover { background: #fff; color: var(--ink); }

/* —— 首屏 —— */
.hero {
  --mx: .7;
  --my: .3;
  position: relative;
  isolation: isolate;
  min-height: max(640px, min(100svh, 920px));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, #e3efec 0%, #ebf4ea 38%, var(--paper) 100%);
}
.hero-light {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(600px 420px at 78% 12%, #fffdf0 0, #fffbe600 70%),
    radial-gradient(500px 360px at 12% 40%, #ffffffb0 0, #ffffff00 70%);
  animation: breathe 9s ease-in-out infinite alternate;
}
.pointer-glow {
  position: absolute;
  z-index: -1;
  left: calc(var(--mx) * 100%);
  top: calc(var(--my) * 100%);
  width: 520px;
  height: 520px;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle, #fffef3c0 0, #fffef300 65%);
  opacity: 0;
  transition: opacity .8s;
  pointer-events: none;
  mix-blend-mode: soft-light;
}
.hero.lit .pointer-glow { opacity: 1; }

.meadow { position: absolute; pointer-events: none; }
.meadow svg { display: block; width: 100%; height: 100%; overflow: visible; }
.meadow-hero {
  z-index: -2;
  left: 0;
  right: 0;
  bottom: 0;
  height: 74%;
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0, #000 82%, transparent 100%);
  transform: translateX(calc((var(--mx) - .5) * -14px));
  transition: transform 1.2s var(--ease);
}
.hero::after {
  /* 文字背后一层柔雾，保证可读 */
  content: '';
  position: absolute;
  z-index: -1;
  left: -10%;
  top: 18%;
  width: 62%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(244, 249, 240, .9), rgba(244, 249, 240, 0));
  pointer-events: none;
}

.sway {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: sway var(--d, 5s) ease-in-out var(--delay, 0s) infinite alternate;
}
@keyframes sway { from { transform: skewX(calc(var(--a, 1deg) * -1)); } to { transform: skewX(var(--a, 1deg)); } }
@keyframes breathe { from { opacity: .75; } to { opacity: 1; } }

.pollen { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.pollen span {
  position: absolute;
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: radial-gradient(circle, #fffef2 0, #fffef2cc 35%, #fffef200 70%);
  box-shadow: 0 0 12px 2px #fffbe080;
  animation: drift var(--d) ease-in-out var(--delay) infinite;
}
.birds { position: absolute; inset: 0; z-index: -2; pointer-events: none; color: #7f9f95; }
.birds span { position: absolute; left: 0; width: var(--s); opacity: .55; animation: fly var(--d) linear var(--delay) infinite; }
.birds svg { display: block; width: 100%; animation: flap var(--flap) ease-in-out infinite alternate; transform-origin: center; }
@keyframes fly { from { transform: translate(-60px, 0); } to { transform: translate(calc(100vw + 60px), var(--rise, -70px)); } }
@keyframes flap { from { transform: scaleY(1); } to { transform: scaleY(.45); } }
@keyframes drift {
  0% { transform: translate(0, 0); opacity: 0; }
  20% { opacity: .95; }
  50% { transform: translate(calc(var(--x) * .5), -40px); opacity: .5; }
  80% { opacity: .9; }
  100% { transform: translate(var(--x), -90px); opacity: 0; }
}

.hero-inner { padding: 120px 0 160px; }
.intro-copy { max-width: 440px; }
.eyebrow .en { font-size: 21px; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.1vw, 36px);
  letter-spacing: 4px;
  line-height: 1.6;
  margin: 14px 0 0 -.55em;
  color: var(--ink);
}
.bio { font-size: 17px; letter-spacing: 2px; line-height: 2; margin-top: 22px; color: var(--ink-soft); }
.email-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 10px 20px 10px 16px;
  border-radius: 99px;
  font-size: 15px;
  letter-spacing: .5px;
  color: var(--ink);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .35s var(--ease), background .3s, box-shadow .35s;
}
.email-pill svg { width: 19px; height: 19px; color: var(--leaf); }
.email-pill .arrow { color: var(--leaf); transition: transform .3s var(--ease); }
.email-pill:hover { transform: translateY(-2px); background: #fff; box-shadow: 0 22px 50px -18px rgba(54, 104, 70, .35); }
.email-pill:hover .arrow { transform: translate(2px, -2px); }
.intro-footnote { margin-top: 34px; font-family: var(--serif); font-size: 15px; letter-spacing: 3px; color: var(--muted); display: flex; align-items: center; gap: 14px; }
.intro-footnote::before { content: ''; width: 34px; height: 1px; background: currentColor; opacity: .6; }

.scroll-note {
  position: absolute;
  left: 50%;
  bottom: 26px;
  translate: -50% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--ink-soft);
  text-shadow: 0 0 10px #f4f9f0;
}
.scroll-stem { width: 1px; height: 30px; background: linear-gradient(var(--leaf), transparent); animation: stem 2.4s ease-in-out infinite; transform-origin: top; }
@keyframes stem { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* —— 通用区块 —— */
.section { padding-block: 72px; position: relative; }
.section-heading { display: flex; align-items: flex-end; gap: 22px; margin-bottom: 38px; }
.section-index { font-family: var(--en); font-size: 64px; line-height: .8; color: transparent; -webkit-text-stroke: 1px #8fbf86; font-weight: 400; }
h2 { font-family: var(--serif); font-size: 30px; letter-spacing: 4px; font-weight: 500; line-height: 1.4; margin-top: 6px; }
.chip { display: inline-block; font-size: 11px; letter-spacing: 2.5px; padding: 3px 12px; border-radius: 99px; color: #3f7f55; background: #dcedd3; border: 1px solid #c7e1bd; }

/* 区块之间一枝细细的分隔草 */
.section + .section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% -50%;
  width: min(420px, 70%);
  height: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 28'%3E%3Cpath d='M0 20H180M240 20H420' stroke='%239fc49a' stroke-opacity='.55'/%3E%3Cpath d='M210 26C209 18 204 10 196 6M210 26C211 16 216 9 224 4M210 26V9' stroke='%237fb36f' fill='none' stroke-linecap='round'/%3E%3Ccircle cx='210' cy='7' r='3.4' fill='%23fff' stroke='%23cfe0c4'/%3E%3Ccircle cx='210' cy='7' r='1.3' fill='%23f2cc63'/%3E%3Ccircle cx='196' cy='6' r='2' fill='%23a8c1ee'/%3E%3Ccircle cx='224' cy='4' r='1.8' fill='%23fff'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* —— 作品 —— */
.project {
  appearance: none;
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: stretch;
  padding: 14px;
  text-align: left;
  border-radius: 30px;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.project:hover { transform: translateY(-4px); box-shadow: 0 30px 70px -26px rgba(54, 104, 70, .38); }
.project-art {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: 20px;
  isolation: isolate;
  background:
    radial-gradient(260px 200px at 82% 14%, #fffdf0 0, #fffdf000 70%),
    linear-gradient(180deg, #dbebe8 0%, #e7f2e2 55%, #eaf3e2 100%);
}
.meadow-mini { inset: 34% 0 0; z-index: -1; }
.meadow-mini svg { transition: transform 1.2s var(--ease); transform-origin: bottom right; }
.project:hover .meadow-mini svg { transform: scale(1.04); }
.project-art-title {
  position: absolute;
  top: 24px;
  right: 26px;
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.9;
  font-weight: 500;
  letter-spacing: 9px;
  color: #3c6b47;
  text-shadow: 0 0 18px #f4faefcc;
}
.project-art-caption { position: absolute; bottom: 14px; left: 18px; font-size: 11px; letter-spacing: 1.5px; color: #3f6e49; background: rgba(255, 255, 255, .7); padding: 2px 10px; border-radius: 99px; }
.project-copy { padding: 34px 34px 30px 42px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.project-copy h3 { font-family: var(--serif); font-size: 26px; letter-spacing: 3px; font-weight: 500; margin-top: 18px; }
.project-description { font-size: 15px; line-height: 1.9; color: var(--muted); margin-top: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; padding: 11px 22px; border-radius: 99px; font-size: 14px; letter-spacing: 1.5px; background: var(--ink); color: #f3f8ee; transition: gap .35s var(--ease), background .3s; }
.text-link .arrow { transition: transform .35s var(--ease); }
.project:hover .text-link { background: #2f5a3d; gap: 18px; }

/* —— 小红书 —— */
.redbook-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 32px;
  border-radius: 26px;
  background:
    radial-gradient(300px 140px at 100% 0, #fdeeee80, transparent 70%),
    var(--glass);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.account { display: flex; align-items: center; gap: 18px; }
.account-mark {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%;
  font-family: var(--serif);
  font-size: 24px;
  color: #fff;
  background: radial-gradient(circle at 30% 28%, #bfe0a8, #6fae6a 70%);
  box-shadow: inset 0 -6px 14px #3f8a5540, 0 10px 24px -10px #4f975d90;
}
.account-name { font-family: var(--serif); font-size: 20px; font-weight: 500; letter-spacing: 3px; }
.account-platform { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); letter-spacing: 2px; margin-top: 2px; }
.xhs-dot { width: 7px; height: 7px; border-radius: 50%; background: #ef7a82; }
.pending-link { font-size: 13px; color: var(--muted); letter-spacing: 1.5px; padding: 9px 18px; border-radius: 99px; border: 1px dashed #a9c7a2; display: inline-flex; gap: 10px; }
.redbook-card .text-link { margin-top: 0; }

/* —— 随拍 —— */
.album-controls {
  --tab: 0;
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 5px;
  margin-bottom: 40px;
  border-radius: 99px;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow);
}
.album-controls::before {
  content: '';
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc(50% - 5px);
  border-radius: 99px;
  background: var(--ink);
  transform: translateX(calc(var(--tab) * 100%));
  transition: transform .5s var(--ease);
}
.album-tab { position: relative; z-index: 1; border: 0; background: transparent; padding: 8px 28px; font-size: 15px; letter-spacing: 2px; color: var(--ink-soft); border-radius: 99px; transition: color .4s; min-height: 44px; }
.album-tab.active { color: #f3f8ee; }

.photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; align-items: start; width: 100%; max-width: 920px; margin-inline: auto; }
.photo-slot {
  margin: 0;
  padding: 12px 12px 14px;
  background: #fffffc;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(40, 70, 45, .05), 0 20px 40px -22px rgba(40, 80, 50, .35);
  rotate: -2deg;
  position: relative;
  animation: settle .7s var(--ease) both;
  transition: rotate .5s var(--ease), transform .5s var(--ease), box-shadow .5s;
}
.photo-grid .photo-slot:nth-child(n) { margin-top: 0; rotate: -.8deg; }
.photo-grid .photo-slot:nth-child(2n) { rotate: .8deg; }
.photo-slot:nth-child(2) { animation-delay: .08s; }
.photo-slot:nth-child(3) { animation-delay: .16s; }
.photo-slot:hover { rotate: 0deg; transform: translateY(-6px); box-shadow: 0 2px 4px rgba(40, 70, 45, .05), 0 30px 50px -24px rgba(40, 80, 50, .45); }
/* 一小段半透明纸胶带 */
.photo-slot::before {
  content: '';
  position: absolute;
  top: -11px;
  left: 50%;
  width: 78px;
  height: 22px;
  translate: -50% 0;
  rotate: -3deg;
  background: repeating-linear-gradient(90deg, #cfe6c3cc 0 6px, #c3dfb6cc 6px 12px);
  opacity: .85;
  z-index: 1;
}
.photo-slot.food::before { background: repeating-linear-gradient(90deg, #f6e3b8cc 0 6px, #f1d9a6cc 6px 12px); }
@keyframes settle { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.photo-placeholder {
  aspect-ratio: 4 / 5;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 3px;
  background: linear-gradient(160deg, #e5f1e4, #eef5e6 60%, #f4f7ea);
}
.photo-slot:nth-child(3n+2) .photo-placeholder { background: linear-gradient(160deg, #e2eef0, #ecf4ea 60%, #f3f7ec); }
.photo-slot.food .photo-placeholder { background: linear-gradient(160deg, #f6f0de, #f4f2e4 60%, #eef3e2); }
.sprig {
  width: 58%;
  aspect-ratio: 1;
  opacity: .9;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%2385b878' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M60 116C60 90 58 66 52 40'/%3E%3Cpath d='M59 92C48 84 40 82 30 84M58 76C68 66 78 62 90 62M55 58C47 52 42 44 40 34'/%3E%3C/g%3E%3Cg fill='%23a6d08f' opacity='.85'%3E%3Cpath d='M30 84c6-8 16-8 22 2-8 4-16 4-22-2z'/%3E%3Cpath d='M90 62c-6-8-18-6-24 6 10 2 18 0 24-6z'/%3E%3C/g%3E%3Cg transform='translate(52 34)'%3E%3Cg fill='%23fff' stroke='%23d5e6cc'%3E%3Cellipse rx='4.5' ry='10' cy='-9'/%3E%3Cellipse rx='4.5' ry='10' cy='-9' transform='rotate(60)'/%3E%3Cellipse rx='4.5' ry='10' cy='-9' transform='rotate(120)'/%3E%3Cellipse rx='4.5' ry='10' cy='-9' transform='rotate(180)'/%3E%3Cellipse rx='4.5' ry='10' cy='-9' transform='rotate(240)'/%3E%3Cellipse rx='4.5' ry='10' cy='-9' transform='rotate(300)'/%3E%3C/g%3E%3Ccircle r='5' fill='%23f2cc63'/%3E%3C/g%3E%3Ccircle cx='40' cy='32' r='4' fill='%23a8c1ee'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 1.4s var(--ease);
}
.photo-slot:nth-child(3n+2) .sprig { transform: scaleX(-1) rotate(-6deg); }
.photo-slot:hover .sprig { transform: rotate(4deg) scale(1.04); }
.photo-placeholder small { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #6f8f72; font-size: 12px; letter-spacing: 2px; }
.photo-slot figcaption { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 4px 0; font-family: var(--serif); font-size: 14px; letter-spacing: 2px; color: var(--ink-soft); }
.photo-slot figcaption span:last-child { font-family: var(--en); font-style: italic; font-size: 17px; color: var(--leaf); letter-spacing: 0; }
.photo-button { display: block; padding: 0; width: 100%; border: 0; background: transparent; border-radius: 3px; overflow: hidden; }
.photo-button img { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
/* 首页统一相框大小；完整显示横竖照片，不继承原图像素高度。 */
.photo-grid .photo-button { aspect-ratio: 4 / 3; display: grid; place-items: center; background: #f5f6ef; }
.photo-grid .photo-button img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.photo-grid .photo-placeholder { aspect-ratio: 4 / 3; }
.album-note[hidden] { display: none; }
.album-note { text-align: center; font-size: 13px; letter-spacing: 2px; color: var(--muted); margin-top: 44px; }

/* —— 页尾 —— */
.footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 40px;
  padding: 90px 0 30px;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, #f4f8ef00 0%, #e6f1e2aa 60%, #dcecd8 100%);
}
.meadow-footer {
  z-index: -1;
  inset: auto 0 0;
  height: 82%;
  opacity: .9;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 35%);
  mask-image: linear-gradient(180deg, transparent 0, #000 35%);
}
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-greeting {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 4px;
  padding: 10px 26px;
  border-radius: 99px;
  background: radial-gradient(closest-side, rgba(244, 249, 240, .92), rgba(244, 249, 240, 0));
}
.footer .email-pill { margin-top: 14px; }
.footer-bottom {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 80px;
  padding: 12px 22px;
  border-radius: 99px;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.back-top:hover { color: var(--ink); }

/* —— 弹窗 —— */
dialog {
  width: min(700px, calc(100% - 32px));
  max-height: 86dvh;
  padding: 0;
  border: 1px solid var(--glass-line);
  border-radius: 26px;
  background: linear-gradient(180deg, #f7fbf3, #eef5e8);
  color: var(--ink);
  box-shadow: 0 40px 120px -30px #1d3a2560;
}
dialog[open] { animation: rise .5s var(--ease); }
dialog::backdrop { background: #23402f40; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.dialog-top { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding: 16px 20px 16px 30px; background: rgba(247, 251, 243, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); font-family: var(--serif); letter-spacing: 2px; }
.close-dialog { width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; font-size: 22px; line-height: 1; box-shadow: var(--shadow); transition: rotate .4s var(--ease); }
.close-dialog:hover { rotate: 90deg; }
.dialog-body { padding: 34px 38px 40px; }
.dialog-body h2 { font-size: 28px; margin-top: 14px; }
.dialog-body h3 { font-family: var(--serif); font-weight: 500; font-size: 18px; letter-spacing: 2px; margin: 30px 0 12px; }
.dialog-body p { color: var(--ink-soft); font-size: 15px; }
.dialog-intro { margin-top: 12px; }
.detail-divider { height: 1px; background: var(--rule); margin-top: 30px; }
.project-photo-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.project-photo-slots > div { aspect-ratio: 1.4; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(160deg, #e2efe2, #edf4e6); border: 1px dashed #b9d4b0; color: #6f8f72; font-size: 13px; letter-spacing: 2px; }
.detail-note { margin-top: 22px; font-size: 13px !important; color: var(--muted) !important; }
.lightbox-figure { padding: 20px; }
.lightbox-figure img { display: block; width: 100%; max-height: 62vh; object-fit: contain; border-radius: 12px; }
.lightbox-figure figcaption { text-align: center; font-size: 14px; margin-top: 14px; color: var(--ink-soft); }
.lightbox-controls { display: flex; justify-content: space-between; align-items: center; padding: 0 20px 20px; font-size: 14px; }
.lightbox-controls button { border: 0; background: #fff; border-radius: 99px; padding: 8px 18px; min-height: 44px; box-shadow: var(--shadow); }

/* —— 滚动浮现 —— */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
.project.reveal.in:hover { transform: translateY(-4px); }

/* —— 响应式 —— */
@media (max-width: 860px) {
  .wrap { width: calc(100% - 56px); }
  .project { grid-template-columns: 1fr; }
  .project-art { min-height: 260px; }
  .project-copy { padding: 26px 18px 18px; }
  .photo-grid { gap: 24px; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .wrap { width: calc(100% - 40px); }
  .site-header { padding: 14px 0; }
  .wordmark { font-size: 18px; letter-spacing: 3px; }
  .site-header nav { gap: 0; padding: 3px; }
  .site-header nav a { font-size: 13px; padding: 5px 12px; letter-spacing: 1px; }
  .hero { min-height: max(620px, 100svh); align-items: flex-start; }
  .hero-inner { padding: 120px 0 0; }
  .hero::after { left: -30%; top: 6%; width: 130%; height: 60%; }
  .meadow-hero { height: 52%; }
  .hero h1 { letter-spacing: 2px; }
  .bio { font-size: 16px; letter-spacing: 1.5px; }
  .section { padding-block: 56px; }
  .section-index { font-size: 50px; }
  h2 { font-size: 25px; letter-spacing: 3px; }
  .section-heading { gap: 16px; margin-bottom: 28px; }
  .en { font-size: 17px; }
  .project { padding: 10px; border-radius: 24px; }
  .project-art { min-height: 240px; border-radius: 16px; }
  .project-art-title { font-size: 19px; right: 22px; }
  .project-copy h3 { font-size: 22px; }
  .redbook-card { flex-direction: column; align-items: flex-start; padding: 22px; }
  .account-mark { width: 52px; height: 52px; font-size: 21px; }
  .photo-grid { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .photo-slot { padding: 8px 8px 10px; }
  .photo-grid .photo-slot:nth-child(n) { margin-top: 0; }
  .photo-slot figcaption { font-size: 12px; letter-spacing: 1px; padding-top: 8px; }
  .photo-placeholder small { font-size: 11px; letter-spacing: 1px; }
  .album-tab { padding: 8px 22px; font-size: 14px; }
  .footer { min-height: 380px; padding-top: 70px; }
  .footer-greeting { font-size: 19px; letter-spacing: 2px; }
  .footer-bottom { flex-direction: column; align-items: center; gap: 2px; border-radius: 20px; margin-top: 60px; }
  .dialog-body { padding: 26px 22px 30px; }
  .dialog-body h2 { font-size: 23px; }
}


/* —— 首页：相册入口、可点击的小红书卡片 —— */
.album-more-wrap { display: flex; justify-content: center; margin-top: 26px; }
.album-more {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px 13px 26px;
  border-radius: 99px;
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 3px;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s, background .3s;
}
.album-more .count { font-family: var(--sans); font-size: 12px; letter-spacing: 1px; color: var(--muted); }
.album-more .arrow { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #f3f8ee; transition: transform .4s var(--ease); }
.album-more:hover { transform: translateY(-2px); background: #fff; box-shadow: 0 24px 50px -20px rgba(54, 104, 70, .4); }
.album-more:hover .arrow { transform: translateX(4px); }
a.redbook-card { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
a.redbook-card:hover { transform: translateY(-3px); box-shadow: 0 30px 70px -26px rgba(54, 104, 70, .38); }
a.redbook-card:hover .text-link { background: #2f5a3d; gap: 18px; }
.account-mark { overflow: hidden; }
.account-mark.has-photo { background: #fff; }
.account-mark img, .mini-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.site-header nav a[aria-current="page"] { background: var(--ink); color: #f3f8ee; }

/* —— 子页面通用 —— */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 130px 0 120px;
  background: linear-gradient(180deg, #e3efec 0%, #ebf4ea 50%, var(--paper) 100%);
}
.meadow-page {
  z-index: -2;
  inset: auto 0 0;
  height: 62%;
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0, #000 70%, transparent 100%);
}
.page-hero-inner { position: relative; }
.back-link { display: inline-flex; gap: 8px; font-size: 13px; letter-spacing: 2px; color: var(--ink-soft); margin-bottom: 26px; padding: 6px 14px 6px 10px; border-radius: 99px; background: rgba(255, 255, 255, .5); transition: background .3s, gap .3s; }
.back-link:hover { background: #fff; gap: 12px; }
.page-hero .en { font-size: 21px; }
.page-hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.6vw, 42px); letter-spacing: 6px; margin-top: 8px; }
.page-sub { margin-top: 12px; font-size: 16px; letter-spacing: 2px; color: var(--ink-soft); }
.page-hero .album-controls { margin: 30px 0 0; }

/* —— 小红书页 —— */
.profile-section { position: relative; margin-top: -60px; z-index: 2; }
.profile-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 44px;
  align-items: center;
  padding: 40px 44px;
  border-radius: 32px;
  background:
    radial-gradient(360px 200px at 100% 0, #fdeeee90, transparent 70%),
    radial-gradient(300px 220px at 0 100%, #e3f1d890, transparent 70%),
    rgba(255, 255, 255, .7);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.profile-avatar { position: relative; width: 170px; height: 170px; display: grid; place-items: center; }
.profile-avatar .account-mark { width: 136px; height: 136px; border-radius: 50%; font-size: 48px; border: 4px solid #fff; }
.avatar-ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed #9fc79a; animation: spin 40s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.daisy {
  position: absolute;
  width: 30px;
  height: 30px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-16 -16 32 32'%3E%3Cg fill='%23fff' stroke='%23d5e6cc' stroke-width='.8'%3E%3Cellipse rx='4' ry='8' cy='-7'/%3E%3Cellipse rx='4' ry='8' cy='-7' transform='rotate(60)'/%3E%3Cellipse rx='4' ry='8' cy='-7' transform='rotate(120)'/%3E%3Cellipse rx='4' ry='8' cy='-7' transform='rotate(180)'/%3E%3Cellipse rx='4' ry='8' cy='-7' transform='rotate(240)'/%3E%3Cellipse rx='4' ry='8' cy='-7' transform='rotate(300)'/%3E%3C/g%3E%3Ccircle r='4.2' fill='%23f2cc63'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 4px 8px rgba(60, 110, 70, .2));
  animation: bob 5s ease-in-out infinite alternate;
}
.daisy.d1 { top: 4px; right: 6px; }
.daisy.d2 { bottom: 10px; left: -2px; width: 22px; height: 22px; animation-delay: -2s; }
.daisy.d3 { bottom: -4px; right: 26px; width: 18px; height: 18px; animation-delay: -3.5s; filter: hue-rotate(190deg) saturate(.6) drop-shadow(0 4px 8px rgba(60, 110, 70, .2)); }
@keyframes bob { from { transform: translateY(0) rotate(0); } to { transform: translateY(-6px) rotate(18deg); } }
.profile-info h2 { font-size: 32px; margin-top: 6px; }
.profile-id { font-size: 13px; letter-spacing: 1.5px; color: var(--muted); }
.profile-bio { margin-top: 14px; font-size: 15px; color: var(--ink-soft); max-width: 420px; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.profile-tags:empty { display: none; }
.profile-actions { margin-top: 22px; }
.profile-actions .text-link { margin-top: 0; }
.profile-qr { text-align: center; font-size: 12px; letter-spacing: 1.5px; color: var(--muted); }
.qr-slot { width: 132px; height: 132px; margin: 0 auto 10px; padding: 10px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; }
.qr-slot span { width: 100%; height: 100%; display: grid; place-items: center; border-radius: 10px; border: 1px dashed #b9d4b0; line-height: 1.6; color: #6f8f72; }
.qr-slot img { width: 100%; height: 100%; object-fit: contain; }

.notes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.note-card { display: block; padding: 10px 10px 14px; border-radius: 20px; background: rgba(255, 255, 255, .7); border: 1px solid var(--glass-line); box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s; }
.note-card:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -26px rgba(54, 104, 70, .4); }
.note-cover { position: relative; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(160deg, #e5f1e4, #eef5e6 60%, #f4f7ea); }
.note-card:nth-child(4n+2) .note-cover { background: linear-gradient(160deg, #e2eef0, #ecf4ea); }
.note-card:nth-child(4n+3) .note-cover { background: linear-gradient(160deg, #f6f0de, #eef3e2); }
.note-card:nth-child(4n) .note-cover { background: linear-gradient(160deg, #f5e9ea, #eef4e8); }
.note-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.note-card:hover .note-cover img { transform: scale(1.04); }
.note-cover small { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; font-size: 12px; letter-spacing: 1.5px; color: #6f8f72; }
.note-title { margin-top: 12px; padding: 0 4px; font-size: 14px; line-height: 1.6; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.note-meta { display: flex; align-items: center; gap: 6px; margin-top: 8px; padding: 0 4px; font-size: 12px; color: var(--muted); }
.mini-avatar { width: 20px; height: 20px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font-family: var(--serif); font-size: 11px; color: #fff; background: radial-gradient(circle at 30% 28%, #bfe0a8, #6fae6a 70%); }
.heart { margin-left: auto; font-size: 15px; color: #e98b92; }

/* —— 相册页 —— */
.album-page { padding: 30px 0 80px; }
.album-page-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 34px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.album-page-head h2 { margin: 0; font-size: 26px; }
.album-count { margin-left: auto; font-size: 13px; letter-spacing: 1.5px; color: var(--muted); }
.album-masonry { columns: 3; column-gap: 28px; }
.album-masonry .photo-slot { break-inside: avoid; margin: 0 0 30px; rotate: -.8deg; }
.album-masonry .photo-slot:nth-child(2n) { rotate: .9deg; }
.album-masonry .photo-slot:nth-child(3n) { rotate: -.3deg; }
.album-masonry .photo-slot:hover { rotate: 0deg; }
.album-masonry .photo-button img { aspect-ratio: auto; height: auto; }
.album-masonry .sprig { width: 46%; }

@media (max-width: 860px) {
  .profile-card { grid-template-columns: auto 1fr; gap: 28px; padding: 32px; }
  .profile-qr { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; text-align: left; }
  .qr-slot { margin: 0; width: 110px; height: 110px; }
  .notes-grid { grid-template-columns: repeat(2, 1fr); }
  .album-masonry { columns: 2; column-gap: 20px; }
}
@media (max-width: 640px) {
  .page-hero { padding: 100px 0 100px; }
  .meadow-page { height: 34%; }
  .page-sub { text-shadow: 0 0 12px #f4f9f0, 0 0 4px #f4f9f0; }
  .page-hero h1 { letter-spacing: 4px; }
  .profile-section { margin-top: -50px; }
  .profile-card { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 30px 22px; gap: 20px; border-radius: 26px; }
  .profile-info .account-platform, .profile-tags { justify-content: center; }
  .profile-bio { margin-inline: auto; }
  .profile-avatar { width: 150px; height: 150px; }
  .profile-avatar .account-mark { width: 118px; height: 118px; font-size: 42px; }
  .profile-info h2 { font-size: 27px; }
  .profile-qr { justify-content: center; }
  .notes-grid { gap: 14px; }
  .note-card { padding: 7px 7px 12px; border-radius: 16px; }
  .note-title { font-size: 13px; }
  .album-masonry { column-gap: 14px; }
  .album-masonry .photo-slot { margin-bottom: 18px; padding: 7px 7px 9px; }
  .album-more { font-size: 15px; letter-spacing: 2px; }
}


/* —— 场景：远山与草地（作品）、青空与白鸟（小红书）、夜晚草地（页尾） —— */
.scene { position: relative; isolation: isolate; padding: 120px 0 150px; }
.scene-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 70px, #000 calc(100% - 70px), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 70px, #000 calc(100% - 70px), transparent 100%);
}
.scene-inner { position: relative; }

.morning-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 420px at 18% 30%, #fff7dfcc, transparent 70%),
    radial-gradient(800px 480px at 85% 55%, #ddf0d6cc, transparent 70%),
    radial-gradient(600px 400px at 50% 100%, #e6f3e4, transparent 70%),
    linear-gradient(180deg, var(--paper), #f1f6e8 50%, #eef5e6);
}
.bokeh span {
  position: absolute;
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: radial-gradient(circle, var(--c) 0, transparent 68%);
  opacity: .75;
  mix-blend-mode: screen;
  animation: float var(--d) ease-in-out var(--delay) infinite alternate;
}
@keyframes float { from { transform: translate(0, 0) scale(1); } to { transform: translate(30px, -24px) scale(1.12); } }
.meadow-fringe { inset: auto 0 0; height: 46%; opacity: .9; }
.motes span { background: radial-gradient(circle, #fffbe6 0, #fff3c0cc 35%, #fff3c000 70%); box-shadow: 0 0 12px 3px #fff1b080; }
.scene-field .project { background: rgba(255, 255, 255, .72); }
.scene-field .section-heading { margin-bottom: 34px; }

.sky-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 380px at 78% 20%, #fffdf2, transparent 70%),
    radial-gradient(900px 500px at 10% 80%, #e2f1ea, transparent 70%),
    linear-gradient(180deg, var(--paper) 0%, #e6f1f2 35%, #dcecef 60%, #e8f2ea 100%);
}
.clouds span {
  position: absolute;
  left: 0;
  width: var(--w);
  height: calc(var(--w) * .32);
  border-radius: 50%;
  background: radial-gradient(closest-side, #ffffffe6, #ffffff00);
  filter: blur(8px);
  animation: drift-cloud var(--d) linear var(--delay) infinite;
}
@keyframes drift-cloud { from { transform: translateX(-40vw); } to { transform: translateX(120vw); } }
.birds.flock span { opacity: .95; filter: drop-shadow(0 3px 6px rgba(70, 110, 120, .35)); }
.birds.flock { z-index: 0; }
.scene-sky .redbook-card { background: rgba(255, 255, 255, .7); }
.scene + .section { padding-top: 40px; }

/* 页尾：夜晚草地、萤火、一只发光的白鸟 */
.footer { background: linear-gradient(180deg, #f4f8ef00 0%, #d9e8d3 8%, #9dbd9a 18%, #5c8565 30%, #2e5039 46%, #1d3a28 70%, #142b1d 100%); color: #eaf3e2; min-height: 560px; padding-top: 170px; }
.meadow-footer { filter: brightness(.62) saturate(.9) contrast(1.05); opacity: 1; }
.footer-greeting { color: #f1f7e9; background: none; text-shadow: 0 0 24px #0e2416; }
.footer .email-pill { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .22); color: #f1f7e9; box-shadow: none; }
.footer .email-pill .arrow { color: #d5ebb9; }
.footer .email-pill:hover { background: rgba(255, 255, 255, .2); }
.footer-bottom { background: rgba(10, 30, 18, .35); color: #cfe2c8; border: 1px solid rgba(255, 255, 255, .08); }
.back-top:hover { color: #fff; }
.fireflies span { background: radial-gradient(circle, #fffbd0 0, #f6ec98 35%, #f6ec9800 70%); box-shadow: 0 0 14px 4px #efe27a66; }
.birds.glider span { filter: drop-shadow(0 0 10px rgba(255, 255, 255, .9)) drop-shadow(0 0 26px rgba(220, 255, 230, .5)); opacity: .95; }
.birds.glider { z-index: -1; }

/* 小红书子页：浅色天空、云与白鸟 */
.page-hero-sky { background: radial-gradient(800px 380px at 78% 10%, #fffdf2, transparent 70%), linear-gradient(180deg, #e2eff1 0%, #dcecef 50%, #e8f2ea 80%, var(--paper) 100%); }

@media (max-width: 640px) {
  .scene { padding: 90px 0 110px; }
  .scene-field { padding-bottom: 170px; }
  .footer { min-height: 440px; }
}


/* —— 首屏 · 逆光黄昏草地 —— */
.hero { background: linear-gradient(180deg, #d7e7e2 0%, #e4ecdc 30%, #f3eccf 58%, #f8e7bf 74%, #f1ead2 88%, var(--paper) 100%); }
.hero-light { background: radial-gradient(700px 500px at 72% 64%, #fff5d480 0, transparent 70%), radial-gradient(520px 380px at 12% 36%, #ffffffa8 0, transparent 70%); }
.sun { position: absolute; z-index: -2; left: 72%; top: 64%; width: 0; height: 0; pointer-events: none; }
.sun-core {
  position: absolute;
  width: 520px;
  height: 520px;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle, #fffef8 0, #fff8de 10%, #ffefb8cc 24%, #ffe6a466 44%, transparent 70%);
  width: 640px;
  height: 640px;
  animation: breathe 7s ease-in-out infinite alternate;
}
.sun-rays {
  position: absolute;
  width: 1700px;
  height: 1700px;
  translate: -50% -50%;
  background: repeating-conic-gradient(from 0deg, #fffae6aa 0deg 3deg, transparent 3deg 11deg, #fffae655 11deg 13deg, transparent 13deg 22deg);
  -webkit-mask-image: radial-gradient(circle, #000 0, #0008 22%, transparent 55%);
  mask-image: radial-gradient(circle, #000 0, #0008 22%, transparent 55%);
  filter: blur(4px);
  mix-blend-mode: screen;
  opacity: .7;
  animation: spin 160s linear infinite;
}
.meadow-hero { height: 80%; -webkit-mask-image: linear-gradient(180deg, #000 0, #000 90%, transparent 100%); mask-image: linear-gradient(180deg, #000 0, #000 90%, transparent 100%); }
.meadow-hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 50% at 72% 30%, #fff1c060, transparent 70%); mix-blend-mode: screen; pointer-events: none; }
.hero-bokeh { position: absolute; inset: 30% 0 0 40%; z-index: -1; pointer-events: none; }
.hero-bokeh span { opacity: .7; --c: #fff2c4 !important; }
.hero-motes { z-index: 0; }
.hero-motes span:nth-child(3n) { --s: 3px !important; }
.hero-glider { z-index: -1; }
.hero-glider span { top: 22% !important; }
.meadow-foreground {
  z-index: 1;
  inset: auto -4% -6% -4%;
  height: 92%;
  filter: blur(8px) brightness(.85);
  opacity: .9;
}
.hero::after { background: radial-gradient(closest-side, rgba(246, 249, 238, .88), rgba(246, 249, 238, 0)); }
.hero .scroll-note { z-index: 2; }

.greeting span {
  display: inline-block;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(10px);
  animation: bloom 1.3s var(--ease) forwards;
  animation-delay: calc(.35s + var(--c) * .09s);
}
@keyframes bloom {
  60% { text-shadow: 0 0 22px #fff3c7; }
  to { opacity: 1; filter: blur(0); transform: none; text-shadow: 0 0 18px #fffbe880; }
}

@media (max-width: 640px) {
  .sun { left: 70%; top: 70%; }
  .sun-core { width: 380px; height: 380px; }
  .meadow-foreground { height: 60%; filter: blur(5px); }
  .hero-bokeh { inset: 50% 0 0 20%; }
}


/* —— 作品：真实封面与照片 —— */
.project-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.project-cover[hidden], .project-art-caption[hidden] { display: none; }
.project-art.has-cover .meadow-mini, .project-art.has-cover .project-art-title { display: none; }
.project-about p + p { margin-top: 10px; }
.project-photo { padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: none; aspect-ratio: 1.4; }
.project-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.project-photo:hover img { transform: scale(1.04); }
.project-link-wrap { margin-top: 26px; }
.project-media-wrap { margin-top: 24px; padding: 17px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.project-media-wrap[hidden] { display: none; }
.project-media-wrap .text-link { margin-top: 0; }
.project-media-count { margin-top: 7px; color: var(--muted); font-size: 12px; letter-spacing: 1px; }
.project-intro-video { margin-top: 24px; }
.project-intro-video[hidden] { display: none; }
.project-intro-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 12px; }
.project-intro-heading h3 { margin: 0; }
.project-intro-heading span { color: var(--muted); font-size: 12px; white-space: nowrap; }
.project-intro-video video { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 360px; object-fit: contain; background: #203c31; border-radius: 13px; }
.gallery-hero h1 { font-family: var(--en); font-style: italic; letter-spacing: 1px; overflow-wrap: anywhere; }
.gallery-jumps { display: flex; justify-content: center; gap: 26px; margin-top: 25px; }
.gallery-jumps a { border-bottom: 1px solid var(--rule); padding: 6px 3px; font-size: 14px; letter-spacing: 2px; }
.gallery-jumps span { margin-left: 8px; font-family: var(--en); font-size: 21px; color: var(--leaf); }
.project-gallery-page .album-page { padding-bottom: 40px; }
.gallery-video-section { padding-bottom: 100px; }
.gallery-videos { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.gallery-introduction { padding-bottom: 46px; }
.gallery-introduction .gallery-videos { grid-template-columns: 1fr; }
.gallery-introduction .gallery-video video { aspect-ratio: 16 / 9; max-height: none; }
.project-photo-columns { --photo-columns: 3; display: grid; grid-template-columns: repeat(var(--photo-columns), minmax(0, 1fr)); columns: auto; align-items: start; }
.project-photo-column { display: flex; flex-direction: column; gap: 30px; min-width: 0; }
.project-photo-columns .photo-slot { margin: 0; rotate: 0deg; }
.project-photo-columns .photo-slot:nth-child(n) { rotate: 0deg; }
@media (max-width: 860px) { .project-photo-columns { --photo-columns: 2; columns: auto; } }
@media (max-width: 640px) { .project-photo-column { gap: 20px; } }
@media (max-width: 420px) { .project-photo-columns { --photo-columns: 1; } }
.gallery-video { min-width: 0; padding: 12px; border-radius: 20px; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--shadow); }
.gallery-video video { display: block; width: 100%; max-height: 420px; aspect-ratio: 16 / 10; object-fit: contain; border-radius: 12px; background: #203c31; }
.gallery-video figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 13px; padding: 13px 2px 3px; }
.gallery-video figcaption a { margin-left: auto; font-size: 11px; color: var(--ink-soft); border-bottom: 1px solid var(--rule); padding: 4px 0; }
@media (max-width: 640px) {
  .gallery-videos { grid-template-columns: 1fr; gap: 22px; }
  .gallery-video { padding: 9px; border-radius: 17px; }
  .gallery-video-section .album-page-head { flex-wrap: wrap; gap: 9px 14px; }
  .gallery-jumps a { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .greeting span { opacity: 1; filter: none; transform: none; }
}

/* 首页小红书：完整的一屏，账号与四篇笔记共同组成画面。 */
#redbook { min-height: 100svh; display: flex; align-items: center; padding: 96px 0 52px; }
.redbook-inner { display: grid; gap: 28px; }
#redbook .section-heading { margin: 0; }
.redbook-content { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 64px; }
.redbook-profile { display: flex; align-items: center; gap: 16px; padding: 12px 0; }
.redbook-profile .account-mark { flex: 0 0 64px; width: 64px; height: 64px; }
.redbook-profile .arrow { margin-left: auto; color: var(--leaf); font-size: 22px; }
.redbook-description { margin-top: 18px; max-width: 250px; color: var(--ink-soft); font-family: var(--serif); font-size: 15px; line-height: 1.9; }
.redbook-more { display: inline-flex; align-items: center; gap: 28px; margin-top: 28px; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 14px; letter-spacing: 2px; }
.home-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.home-notes .note-card { min-width: 0; padding: 8px 8px 10px; border-radius: 14px; box-shadow: 0 12px 32px -24px #3c694f55; }
.home-notes .note-cover { height: clamp(110px, 20svh, 170px); aspect-ratio: auto; border-radius: 9px; background: #f2f4eb; }
.home-notes .note-cover img { object-fit: contain; }
.home-notes .note-title { min-height: 39px; margin-top: 8px; padding: 0 2px; font-size: 13px; line-height: 1.5; }

/* 保留原创草木外观，取消逐草叶动画与大面积实时滤镜。 */
.meadow img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: right bottom; }
body::before { display: none; }
.hero-light, .sun-core, .sun-rays, .bokeh span, .clouds span { animation: none; }
.sun-rays { width: 1000px; height: 1000px; filter: none; opacity: .35; }
.clouds span { left: 48%; filter: none; }
.motion-paused :is(.pollen span, .birds span, .birds svg), .motion-hidden * { animation-play-state: paused !important; }
.note-cover img { height: 100%; }
.greeting span { filter: none; animation-name: greeting-appear; animation-duration: .6s; animation-delay: calc(var(--c) * .025s); }
@keyframes greeting-appear { to { opacity: 1; transform: none; } }
.site-header.scrolled { transition: background .2s; }
@media (max-width: 700px), (pointer: coarse) {
  .sun-rays, .pointer-glow, .meadow-foreground { display: none; }
  .site-header.scrolled { background: #f4f8eff5; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .site-header nav, .profile-card, .project, .email-pill, .dialog-top { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .birds span, .birds svg, .pollen span, .avatar-ring, .daisy, .scroll-stem { animation: none; }
  .birds.glider span { filter: drop-shadow(0 0 6px #ffffffe0); }
  .clouds, .bokeh { opacity: .55; }
  .greeting span, .reveal { opacity: 1; filter: none; transform: none; animation: none; transition: none; }
  .hero .meadow-hero { height: 56%; }
}
@media (max-width: 700px) {
  #redbook { padding: 88px 0 36px; }
  .redbook-inner { gap: 18px; }
  .redbook-content { grid-template-columns: 1fr; gap: 18px; }
  .redbook-profile { gap: 12px; padding: 0; }
  .redbook-profile .account-mark { flex-basis: 48px; width: 48px; height: 48px; }
  .redbook-profile .account-name { font-size: 20px; letter-spacing: 2px; }
  .redbook-profile .account-platform { font-size: 12px; letter-spacing: 1px; }
  .redbook-description { margin-top: 10px; max-width: none; font-family: var(--sans); font-size: 13px; line-height: 1.7; }
  .redbook-more { display: none; }
  .home-notes { gap: 12px; }
  .home-notes .note-cover { height: auto; aspect-ratio: 4 / 3; }
  .home-notes .note-card { padding: 7px 7px 9px; }
  .home-notes .note-title { font-size: 12px; min-height: 36px; }
  #redbook + #moments { padding-top: 64px; }
}
/* 图片脱离网格的最小内容高度约束，始终完整放入封面框。 */
.note-cover img { position: absolute; inset: 0; width: 100%; height: 100%; min-width: 0; min-height: 0; }
#redbook { min-height: calc(100svh - 84px); padding-block: 32px; }
@media (max-width: 700px) and (max-height: 700px) {
  .redbook-inner, .redbook-content { gap: 14px; }
  .home-notes .note-cover { aspect-ratio: 1.7; }
}
