/* ============================================================
   瓦猫笔记 · 官网
   文艺风 / 湖绿主色 / 留白 / 中英混排
   ============================================================ */

:root {
  /* 主色：苍山绿（沿用） */
  --c-lake-900: #1f4a40;
  --c-lake-700: #2f6b5c;
  --c-lake-500: #4a8878;
  --c-lake-300: #a8c8bf;
  --c-lake-100: #e3efec;

  /* 辅色：宣纸米白 + 屋瓦暖灰 */
  --c-mist: #f8f5ef;
  --c-paper: #fdfbf6;
  --c-ink: #2a2a28;
  --c-ink-soft: #5c5a54;
  --c-ink-light: #8a8780;
  --c-line: #e4ded2;

  /* 点缀色：陶土赭、屋瓦灰 */
  --c-accent-earth: #b86b3a;
  --c-accent-sky: #4a7a8c;
  --c-accent-tile: #5a6363;

  /* 字体 */
  --font-serif: "Noto Serif SC", "Source Han Serif CN", "Songti SC", "STSong", "SimSun", serif;
  --font-en: "Cormorant Garamond", "Noto Serif SC", Georgia, serif;

  /* 节奏 */
  --radius: 4px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 10px rgba(31, 74, 64, 0.05);
  --shadow-md: 0 12px 40px rgba(31, 74, 64, 0.09);
  --shadow-lg: 0 30px 80px rgba(31, 74, 64, 0.15);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ============ Reset ============ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-serif);
  color: var(--c-ink);
  background: var(--c-paper);
  line-height: 1.75;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease), opacity .25s var(--ease); }
h1, h2, h3 { font-weight: 500; letter-spacing: .02em; line-height: 1.3; }
strong { font-weight: 600; color: var(--c-lake-900); }

/* ============ Layout ============ */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 48px;
}
.container.narrow { max-width: 760px; }
.only-mobile { display: none; }
@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .only-mobile { display: inline; }
}

/* ============ Nav ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 48px;
  background: rgba(253, 251, 246, 0);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  border-bottom: 1px solid transparent;
  transition: all .35s var(--ease);
}
.nav.nav-solid {
  background: rgba(253, 251, 246, .85);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--c-line);
  padding: 12px 48px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; color: var(--c-paper); }
.nav.nav-solid .nav-brand { color: var(--c-ink); }
.nav-logo { width: 32px; height: 32px; border-radius: 50%; box-shadow: var(--shadow-sm); }
.nav-title { font-size: 18px; font-weight: 500; letter-spacing: .1em; }
/* 首屏 Hero 已有大标题「瓦猫笔记」，顶栏只留图标，避免重复；滚动后毛玻璃顶栏再显示全称（链接本身有 aria-label） */
.nav:not(.nav-solid) .nav-title {
  display: none;
}
.nav.nav-solid .nav-title {
  display: inline;
}
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { font-size: 15px; color: rgba(253, 251, 246, .85); letter-spacing: .05em; }
.nav.nav-solid .nav-links a { color: var(--c-ink-soft); }
.nav-links a:hover { color: var(--c-paper); }
.nav.nav-solid .nav-links a:hover { color: var(--c-lake-700); }
.nav-cta {
  padding: 8px 20px;
  border: 1px solid rgba(253, 251, 246, .6);
  border-radius: 999px;
  font-size: 14px !important;
  transition: all .3s var(--ease);
}
.nav.nav-solid .nav-cta {
  border-color: var(--c-lake-700);
  color: var(--c-lake-700) !important;
}
.nav-cta:hover {
  background: var(--c-paper);
  color: var(--c-lake-900) !important;
  border-color: var(--c-paper);
}
.nav.nav-solid .nav-cta:hover {
  background: var(--c-lake-700);
  color: var(--c-paper) !important;
}
@media (max-width: 768px) {
  .nav { padding: 14px 24px; }
  .nav.nav-solid { padding: 10px 24px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-links { gap: 16px; }
}

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-paper);
  text-align: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg-layer {
  position: absolute; left: 0; right: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
/* 天空渐变：薄暮时分的大理 —— 从暖米到深绿（沿用山海版本的色调） */
.layer-sky {
  top: 0; bottom: 0;
  background: linear-gradient(180deg,
    #efe4cd 0%,
    #e0d0b0 14%,
    #c9bc9a 28%,
    #8fa79a 48%,
    #487a70 72%,
    #255247 100%);
}
/* 晨光薄雾，横向淡光带 */
.layer-sky::after {
  content: "";
  position: absolute;
  left: -10%; right: -10%;
  top: 35%;
  height: 80px;
  background: radial-gradient(ellipse at center, rgba(253,251,246,.22), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
}
/* 远山剪影：拉得更远更浅，让位给前景的屋脊 */
.layer-mountain {
  bottom: 28%;
  height: 32%;
  opacity: .8;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 400' preserveAspectRatio='none'><path fill='%232f5a52' opacity='0.55' d='M0,400 L0,280 L80,220 L160,260 L240,180 L320,230 L420,150 L520,200 L620,130 L720,190 L820,160 L920,210 L1040,170 L1140,220 L1200,200 L1200,400 Z'/><path fill='%231f4a40' opacity='0.7' d='M0,400 L0,320 L100,290 L200,310 L320,270 L440,300 L560,260 L680,295 L800,270 L920,305 L1040,280 L1200,310 L1200,400 Z'/></svg>");
  background-size: 100% 100%;
}
/* 屋脊：白族民居飞檐起翘的轮廓（取代原湖面层） */
.layer-roof {
  bottom: 0;
  height: 28%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 240' preserveAspectRatio='none'><defs><linearGradient id='g' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%23262d2d'/><stop offset='1' stop-color='%23161b1b'/></linearGradient></defs><path fill='url(%23g)' d='M0,240 L0,160 C 30,165 60,165 90,160 C 130,150 170,140 220,135 C 280,128 360,135 440,140 L 540,118 Q 600,98 660,118 L 760,140 C 840,135 920,128 980,135 C 1030,140 1070,150 1110,160 C 1140,165 1170,165 1200,160 L 1200,240 Z'/><path fill='%2300000022' d='M0,168 C 240,155 480,148 600,128 C 720,148 960,155 1200,168 L 1200,178 C 960,165 720,158 600,138 C 480,158 240,165 0,178 Z'/></svg>");
  background-size: 100% 100%;
  filter: drop-shadow(0 -8px 24px rgba(0,0,0,.18));
}

/* 屋脊正中蹲着的小瓦猫（用 logo） */
.hero-wamao {
  position: absolute;
  left: 50%;
  bottom: 22%;
  transform: translate(-50%, 0);
  width: clamp(120px, 14vw, 180px);
  height: auto;
  z-index: 1;
  filter:
    drop-shadow(0 6px 18px rgba(0,0,0,.35))
    drop-shadow(0 0 30px rgba(253, 251, 246, .12));
  animation: wamaoFloat 6s var(--ease) infinite;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
@keyframes wamaoFloat {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -6px); }
}
@media (max-width: 560px) {
  .hero-wamao { bottom: 19%; width: 110px; }
}

/* 颗粒噪点 */
.hero-grain {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    radial-gradient(rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 3px 3px, 5px 5px;
  background-position: 0 0, 1px 1px;
  mix-blend-mode: overlay;
  opacity: .6;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-eyebrow {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: .5em;
  text-transform: uppercase;
  opacity: .78;
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}
.hero-title {
  font-size: clamp(44px, 9vw, 96px);
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: 28px;
  text-shadow: 0 2px 40px rgba(0,0,0,.25);
}
.title-zh {
  display: block;
  letter-spacing: .14em;
  margin-left: .14em;
}
.title-en {
  display: block;
  /* 兜底：即便 Google Fonts 未加载，也用系统英文衬线，避免被浏览器回落到中文宋体后与中文标题撞脸 */
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-style: normal;
  font-size: .18em;
  letter-spacing: .5em;
  opacity: .7;
  margin-top: 18px;
  text-indent: .5em;
}

/* 主标语：风花雪月·慢慢记（字距略收，避免窄屏断成「…慢慢 / 记」） */
.hero-main-slogan {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(17px, 3.4vw, 34px);
  letter-spacing: clamp(0.06em, 0.9vw, 0.28em);
  margin: 0 auto 34px;
  padding: 18px 0;
  max-width: 96%;
  position: relative;
  display: inline-block;
  line-height: 1.35;
  text-shadow: 0 2px 20px rgba(0,0,0,.2);
  white-space: nowrap;
}
.hero-main-slogan > span {
  display: inline-block;
}
.hero-main-slogan .slogan-dot {
  font-family: var(--font-en);
  margin: 0 .12em;
  opacity: .72;
  transform: translateY(-.06em);
}
.hero-main-slogan::before,
.hero-main-slogan::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(253,251,246,.55), transparent);
}
.hero-main-slogan::before { top: 0; }
.hero-main-slogan::after { bottom: 0; }

.hero-sub {
  font-size: clamp(15px, 1.7vw, 17px);
  font-weight: 300;
  letter-spacing: .16em;
  opacity: .88;
  line-height: 1.9;
  margin-bottom: 12px;
}
.hero-cats {
  font-family: var(--font-en);
  font-size: clamp(12px, 1.2vw, 14px);
  letter-spacing: .45em;
  opacity: .6;
  margin-bottom: 54px;
  text-indent: .45em; /* 抵消末尾 letter-spacing */
}
.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 36px;
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: .15em;
  border-radius: 999px;
  cursor: pointer;
  transition: all .35s var(--ease);
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--c-paper);
  color: var(--c-lake-900);
}
.btn-primary:hover {
  background: var(--c-lake-100);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,.25);
}
.btn-ghost {
  border-color: rgba(253, 251, 246, .5);
  color: var(--c-paper);
}
.btn-ghost:hover {
  border-color: var(--c-paper);
  background: rgba(253, 251, 246, .1);
}

.hero-scroll {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, transparent, rgba(253,251,246,.6));
}
.hero-scroll span {
  position: absolute; top: 0; left: -3px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--c-paper);
  animation: scrollDot 2.2s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { top: 0; opacity: 0; }
  30% { opacity: 1; }
  100% { top: 60px; opacity: 0; }
}

/* ============ Common Section ============ */
section { padding: 140px 0; position: relative; }
.section-head { text-align: center; margin-bottom: 80px; }
.section-head.left { text-align: left; }
.section-mark {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: .5em;
  color: var(--c-ink-light);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 500;
  color: var(--c-lake-900);
  letter-spacing: .05em;
  line-height: 1.4;
}
.section-lead {
  margin-top: 24px;
  font-size: 17px;
  color: var(--c-ink-soft);
  line-height: 2.1;
  letter-spacing: .05em;
}
@media (max-width: 768px) {
  section { padding: 90px 0; }
  .section-head { margin-bottom: 50px; }
}

/* ============ Story ============ */
.story {
  background: var(--c-mist);
  text-align: center;
  position: relative;
}
.story::before,
.story::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: var(--c-lake-300);
}
.story::before { top: 0; }
.story::after { bottom: 0; }
.story-mark {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: .4em;
  color: var(--c-lake-500);
  margin-bottom: 24px;
}
.story .section-title { margin-bottom: 60px; }
.story-body p {
  font-size: 17px;
  line-height: 2.35;
  color: var(--c-ink-soft);
  letter-spacing: .06em;
  margin-bottom: 36px;
}
.story-body em {
  font-style: normal;
  color: var(--c-lake-900);
  font-weight: 500;
  position: relative;
  padding: 0 .1em;
}
.story-body em::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 6px;
  background: linear-gradient(90deg, rgba(168, 200, 191, .45), rgba(168, 200, 191, 0));
  z-index: -1;
  border-radius: 3px;
}
.story-body strong {
  font-weight: 500;
  color: var(--c-lake-900);
  position: relative;
  white-space: nowrap;
}
.story-sign {
  margin-top: 52px !important;
  font-family: var(--font-serif);
  color: var(--c-lake-700) !important;
  font-style: normal;
  font-size: 16px !important;
  letter-spacing: .35em !important;
  text-indent: .35em;
}

/* ============ Wamao Story ============ */
.wamao {
  background: var(--c-paper);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.wamao::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(168, 200, 191, 0.18), transparent 38%),
    radial-gradient(circle at 82% 78%, rgba(184, 107, 58, 0.10), transparent 42%);
  pointer-events: none;
  z-index: 0;
}
.wamao .container { position: relative; z-index: 1; }
.wamao-mark {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: .4em;
  color: var(--c-lake-500);
  margin-bottom: 24px;
}
.wamao .section-title { margin-bottom: 48px; }
.wamao-portrait {
  width: clamp(180px, 28vw, 260px);
  margin: 0 auto 50px;
  position: relative;
}
.wamao-portrait::before {
  content: "";
  position: absolute;
  inset: -10% -8% -8% -8%;
  background: radial-gradient(circle at 50% 55%, rgba(168, 200, 191, .35), transparent 70%);
  filter: blur(10px);
  z-index: -1;
}
.wamao-portrait img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow:
    0 24px 60px rgba(31, 74, 64, .18),
    0 0 0 1px rgba(31, 74, 64, .05) inset;
  background: var(--c-paper);
}
.wamao-body p {
  font-size: 17px;
  line-height: 2.35;
  color: var(--c-ink-soft);
  letter-spacing: .06em;
  margin-bottom: 32px;
}
.wamao-body em {
  font-style: normal;
  color: var(--c-accent-earth);
  font-weight: 500;
  position: relative;
  padding: 0 .1em;
}
.wamao-body em::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 6px;
  background: linear-gradient(90deg, rgba(184, 107, 58, .35), rgba(184, 107, 58, 0));
  z-index: -1;
  border-radius: 3px;
}
.wamao-body strong {
  font-weight: 500;
  color: var(--c-lake-900);
  white-space: nowrap;
}
@media (max-width: 600px) {
  .wamao-body p { font-size: 16px; line-height: 2.15; margin-bottom: 26px; }
  .wamao-portrait { margin-bottom: 36px; }
}

/* ============ Feed (Masonry) ============ */
.feed { background: var(--c-mist); }
.masonry {
  column-count: 4;
  column-gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
}
@media (max-width: 1100px) { .masonry { column-count: 3; } }
@media (max-width: 780px) { .masonry { column-count: 2; column-gap: 16px; } }
@media (max-width: 480px) { .masonry { column-count: 1; } }

.card {
  display: inline-block;
  width: 100%;
  margin-bottom: 24px;
  background: var(--c-paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  break-inside: avoid;
  border: 1px solid var(--c-line);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.card-cover {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cover-1 { aspect-ratio: 4/5; background: linear-gradient(135deg, #a8c8bf 0%, #2f6b5c 100%); }
.cover-2 { aspect-ratio: 3/4; background: linear-gradient(150deg, #e8cfaa 0%, #b86b3a 100%); }
.cover-3 { aspect-ratio: 1/1; background: linear-gradient(145deg, #c9b8d4 0%, #6b4a7a 100%); }
.cover-4 { aspect-ratio: 4/5; background: linear-gradient(135deg, #a8c4cf 0%, #4a7a8c 100%); }
.cover-5 { aspect-ratio: 3/4; background: linear-gradient(160deg, #b8d4b0 0%, #5a8a5a 100%); }
.cover-6 { aspect-ratio: 1/1; background: linear-gradient(140deg, #d4b89c 0%, #a0765a 100%); }
.cover-7 { aspect-ratio: 4/5; background: linear-gradient(150deg, #d4c8a8 0%, #6b5a3a 100%); }
.cover-8 { aspect-ratio: 3/4; background: linear-gradient(135deg, #a8c0d4 0%, #3a6b8a 100%); }

.card-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 6px 6px;
  opacity: .4;
}
.cover-emoji {
  font-size: 64px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.15));
  position: relative;
  z-index: 1;
  transform: translateY(-4px);
}
.cover-tag {
  position: absolute;
  top: 14px; left: 14px;
  padding: 4px 12px;
  background: rgba(253, 251, 246, .92);
  color: var(--accent, var(--c-lake-700));
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .15em;
  border-radius: 999px;
  z-index: 2;
  backdrop-filter: blur(6px);
}
.card-body {
  padding: 20px 22px 22px;
}
.card-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 10px;
  line-height: 1.5;
  letter-spacing: .02em;
}
.card-text {
  font-size: 14px;
  font-weight: 300;
  color: var(--c-ink-soft);
  line-height: 1.85;
  margin-bottom: 16px;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--c-line);
  font-size: 12px;
  color: var(--c-ink-light);
  letter-spacing: .05em;
}
.card-meta .likes { color: var(--accent, var(--c-lake-700)); }

.feed-footnote {
  text-align: center;
  margin-top: 60px;
  font-size: 14px;
  color: var(--c-ink-light);
  letter-spacing: .2em;
  font-style: italic;
}

/* ============ Scenes ============ */
.scenes {
  background: linear-gradient(180deg, var(--c-paper) 0%, var(--c-mist) 100%);
}
.scene-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}
@media (max-width: 900px) { .scene-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 480px) { .scene-grid { grid-template-columns: 1fr; } }

.scene {
  position: relative;
  padding: 48px 28px;
  text-align: center;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  transition: all .4s var(--ease);
}
.scene:hover {
  transform: translateY(-4px);
  border-color: var(--c-lake-300);
  box-shadow: var(--shadow-md);
}
.scene-num {
  position: absolute;
  top: 20px; right: 24px;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--c-lake-300);
}
.scene-icon {
  font-size: 40px;
  margin-bottom: 20px;
  filter: grayscale(0.1);
}
.scene-title {
  font-size: 22px;
  font-weight: 500;
  color: var(--c-lake-900);
  margin-bottom: 12px;
  letter-spacing: .15em;
}
.scene-desc {
  font-size: 14px;
  color: var(--c-ink-soft);
  line-height: 2;
  font-weight: 300;
}
.scenes-note {
  text-align: center;
  font-size: 14px;
  color: var(--c-ink-light);
  letter-spacing: .15em;
  font-style: italic;
  line-height: 2;
}

/* ============ Creed ============ */
.creed {
  background: var(--c-mist);
  position: relative;
}
.creed-list {
  list-style: none;
  margin-top: 20px;
}
.creed-list li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  padding: 28px 0;
  border-bottom: 1px solid var(--c-line);
  align-items: baseline;
}
.creed-list li:last-child { border-bottom: none; }
.creed-k {
  font-size: 28px;
  font-weight: 500;
  color: var(--c-lake-900);
  letter-spacing: .3em;
}
.creed-v {
  font-size: 16px;
  color: var(--c-ink-soft);
  letter-spacing: .05em;
  line-height: 1.9;
}
@media (max-width: 600px) {
  .creed-list li { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .creed-k { font-size: 22px; }
}

/* ============ Download ============ */
.download {
  background: linear-gradient(135deg, var(--c-lake-900) 0%, var(--c-lake-700) 100%);
  color: var(--c-paper);
  position: relative;
  overflow: hidden;
}
.download::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 800'><path fill='rgba(255,255,255,0.03)' d='M0,600 Q300,500 600,550 T1200,580 L1200,800 L0,800 Z'/><path fill='rgba(255,255,255,0.02)' d='M0,680 Q400,620 800,660 T1200,680 L1200,800 L0,800 Z'/></svg>");
  background-size: cover;
  pointer-events: none;
}
.download-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 30px 0;
}
.download .section-mark { color: rgba(253,251,246,.7); }
.download .section-title {
  color: var(--c-paper);
  margin-bottom: 32px;
}
.download-lead {
  font-size: 18px;
  line-height: 2;
  margin-bottom: 36px;
  letter-spacing: .05em;
}
.download-lead strong {
  color: var(--c-paper);
  font-weight: 600;
  padding: 2px 8px;
  background: rgba(253,251,246,.12);
  border-radius: var(--radius);
}
.download-steps {
  list-style: none;
  margin-bottom: 32px;
}
.download-steps li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(253,251,246,.12);
  font-size: 15px;
  letter-spacing: .05em;
  opacity: .88;
}
.download-steps li:last-child { border-bottom: none; }
.download-steps span {
  font-family: var(--font-en);
  font-size: 14px;
  color: var(--c-lake-300);
  letter-spacing: .2em;
  flex-shrink: 0;
}
.download-host-line {
  padding: 20px 24px;
  background: rgba(253,251,246,.08);
  border-left: 2px solid var(--c-lake-300);
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: .05em;
  opacity: .88;
}

.download-right {
  display: flex;
  justify-content: center;
}
.qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.qr-frame {
  position: relative;
  width: 260px; height: 260px;
  background: var(--c-paper);
  border-radius: 18px;
  padding: 14px;
  box-shadow:
    0 30px 80px rgba(0,0,0,.35),
    0 2px 0 rgba(255,255,255,.05) inset;
  transition: transform .4s var(--ease);
}
.qr-frame::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(31, 74, 64, .08);
  border-radius: 12px;
  pointer-events: none;
}
.qr-frame:hover {
  transform: translateY(-4px) rotate(-.4deg);
}
.qr-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 10px;
}
.qr-caption {
  margin-top: 22px;
  font-size: 14px;
  letter-spacing: .3em;
  opacity: .78;
  font-family: var(--font-en);
  text-indent: .3em;
}

@media (max-width: 860px) {
  .download-card { grid-template-columns: 1fr; gap: 50px; text-align: center; }
  .download .section-head.left, .download-lead, .download-steps, .download-host-line { text-align: left; }
  .download-steps li { justify-content: flex-start; }
}

/* ============ Footer ============ */
.footer {
  background: var(--c-paper);
  border-top: 1px solid var(--c-line);
  padding: 80px 0 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
@media (max-width: 780px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}
.footer-col a, .footer-muted {
  color: var(--c-ink-soft);
  font-weight: 300;
  letter-spacing: .05em;
}
.footer-col a:hover { color: var(--c-lake-700); }
.footer-muted { color: var(--c-ink-light); }
.footer-h {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .25em;
  color: var(--c-lake-900);
  margin-bottom: 8px;
}
.footer-brand { }
.footer-logo { width: 44px; height: 44px; border-radius: 50%; margin-bottom: 10px; }
.footer-name {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--c-lake-900);
}
.footer-tag {
  font-family: var(--font-en);
  font-size: 13px;
  font-style: italic;
  letter-spacing: .2em;
  color: var(--c-ink-light);
}
.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--c-line);
  text-align: center;
  font-size: 13px;
  color: var(--c-ink-light);
  letter-spacing: .15em;
}
.footer-bottom .dot { margin: 0 12px; color: var(--c-lake-300); }
.footer-slogan {
  color: var(--c-lake-700);
  letter-spacing: .3em;
  font-weight: 500;
}

/* ============ Reveal animation ============ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: .12s; }
.reveal.delay-2 { transition-delay: .24s; }
.reveal.delay-3 { transition-delay: .36s; }
.reveal.delay-4 { transition-delay: .48s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero-scroll span { animation: none; }
}

/* ============ Selection ============ */
::selection {
  background: var(--c-lake-700);
  color: var(--c-paper);
}

/* ================================================================
   Mobile polish (手机端专属优化)
   ================================================================ */

/* 平板/小桌面（≤ 900px） */
@media (max-width: 900px) {
  section { padding: 100px 0; }
  .section-head { margin-bottom: 60px; }
  .story-body p { font-size: 16px; line-height: 2.2; }
}

/* 手机横屏 / 小平板（≤ 768px） */
@media (max-width: 768px) {
  /* iOS 刘海安全区 */
  .hero, .nav { padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
  .nav { padding-top: max(14px, env(safe-area-inset-top)); }

  /* Hero：更紧凑 */
  .hero { padding-top: 100px; padding-bottom: 60px; min-height: 100svh; }
  .hero-eyebrow { margin-bottom: 20px; letter-spacing: .4em; }
  .hero-eyebrow::before, .hero-eyebrow::after { width: 20px; }
  .hero-title { margin-bottom: 24px; }
  .title-en { font-size: .2em; letter-spacing: .42em; margin-top: 12px; text-indent: .42em; }
  .hero-main-slogan {
    margin-bottom: 28px;
    padding: 14px 0;
    font-size: clamp(16px, 4.6vw, 26px);
    letter-spacing: clamp(0.05em, 0.55vw, 0.2em);
  }
  .hero-sub { line-height: 1.85; }
  .hero-cats {
    letter-spacing: .3em;
    margin-bottom: 40px;
    text-indent: .3em;
  }

  .hero-actions { gap: 14px; flex-direction: column; width: 100%; max-width: 320px; margin: 0 auto; }
  .btn { width: 100%; justify-content: center; padding: 16px 28px; font-size: 15px; }

  .hero-scroll { display: none; }
}

/* 手机竖屏（≤ 560px） */
@media (max-width: 560px) {
  section { padding: 80px 0; }
  .section-head { margin-bottom: 44px; }

  .hero-eyebrow { font-size: 11px; letter-spacing: .35em; }
  .hero-eyebrow::before, .hero-eyebrow::after { width: 16px; }

  .hero-sub { font-size: 14px; letter-spacing: .12em; }
  .hero-cats { font-size: 11px; letter-spacing: .35em; }

  /* 内容 padding */
  .container { padding: 0 22px; }

  /* UGC 瀑布改为单列（小屏上 2 列挤成小邮票） */
  .masonry { column-count: 1 !important; }
  .card { margin-bottom: 20px; }
  .card-title { font-size: 16px; }
  .card-text { font-size: 14px; line-height: 1.9; }

  /* Story 段落间距收紧 */
  .story-body p { margin-bottom: 28px; line-height: 2.15; }
  .story-sign { margin-top: 36px !important; font-size: 15px !important; }

  /* Scenes 单列 */
  .scene-grid { grid-template-columns: 1fr; gap: 20px; }
  .scene { padding: 40px 26px; }
  .scene-icon { font-size: 36px; margin-bottom: 16px; }
  .scene-title { font-size: 20px; }

  /* Creed 单列 */
  .creed-list li { padding: 22px 0; }
  .creed-k { font-size: 22px; letter-spacing: .25em; }
  .creed-v { font-size: 15px; }

  /* Download：QR 稍小，字改左对齐 */
  .download { padding: 90px 0; }
  .download-card { gap: 40px; }
  .download-lead { font-size: 16px; }
  .download-steps li { font-size: 14px; gap: 14px; padding: 12px 0; }
  .qr-frame { width: 220px; height: 220px; padding: 12px; }
  .qr-caption { font-size: 13px; margin-top: 18px; }
  .download-host-line { font-size: 13px; padding: 18px 20px; line-height: 1.85; }

  /* Footer */
  .footer { padding: 60px 0 30px; padding-bottom: max(30px, env(safe-area-inset-bottom)); }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; margin-bottom: 44px; }
  .footer-bottom { font-size: 12px; }
  .footer-bottom .dot { margin: 0 8px; }
  .footer-bottom span { display: inline-block; }

  /* Nav：紧凑一点 */
  .nav { padding: 12px 22px; }
  .nav.nav-solid { padding: 10px 22px; }
  .nav-title { font-size: 17px; letter-spacing: .16em; }
  .nav-cta { padding: 7px 14px; font-size: 13px !important; letter-spacing: .1em !important; }
}

/* 超小屏（≤ 380px，老款 iPhone SE 等） */
@media (max-width: 380px) {
  .hero-title { font-size: 40px; }
  .hero-main-slogan {
    font-size: 15px;
    letter-spacing: 0.06em;
    transform: scale(0.97);
    transform-origin: center top;
  }
  .section-title { font-size: 26px !important; }
  .container { padding: 0 18px; }
}

/* 极窄屏：若仍溢出则允许换行（优先保可读，不裁字） */
@media (max-width: 330px) {
  .hero-main-slogan {
    white-space: normal;
    transform: none;
    font-size: 15px;
    letter-spacing: 0.14em;
    line-height: 1.55;
    max-width: 100%;
  }
}
