/* ===== 意临福 YILINFU · 东方美学视觉 ===== */
/* 品牌色板(实测 v15):
   宣纸 #F6F1E4 / 茶汤绿 #6F7F68 / 深茶汤绿 #4A5645
   朱砂 #A63B2A / 墨 #262119
   字体:全站思源宋体(衬线) */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --paper: #F6F1E4;
  --tea: #6F7F68;
  --tea-dark: #4A5645;
  --cinnabar: #A63B2A;
  --ink: #262119;
  --ink-soft: #5c554a;
  --line: #d9cfba;
  --paper-2: #efe7d4;
  --font: 'Noto Serif SC', 'Songti SC', 'STSong', 'SimSun', serif;
  --serif: var(--font);
  --maxw: 1080px;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.9;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.02em;
  opacity: 0;
  transition: opacity 0.6s ease;
}
body.loaded { opacity: 1; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ===== 导航 ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(246, 241, 228, 0.0);
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
  padding: 18px 0;
}
.nav.scrolled {
  background: rgba(246, 241, 228, 0.92);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(8px);
  padding: 12px 0;
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-size: 24px; font-weight: 600; color: var(--ink);
  text-decoration: none; letter-spacing: 0.12em;
  display: flex; align-items: baseline; gap: 8px;
}
.nav-logo::after { content: "YILINFU"; font-size: 11px; color: var(--tea); letter-spacing: 0.2em; font-weight: 400; }
.nav-menu { list-style: none; display: flex; gap: 34px; }
.nav-menu a {
  color: var(--ink); text-decoration: none; font-size: 15px;
  letter-spacing: 0.08em; position: relative; padding: 4px 0;
  transition: color 0.3s ease;
}
.nav-menu a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--cinnabar); transition: width 0.3s ease;
}
.nav-menu a:hover { color: var(--cinnabar); }
.nav-menu a:hover::after { width: 100%; }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); transition: 0.3s; }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 75% 20%, rgba(111,127,104,0.14), transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(166,59,42,0.08), transparent 40%),
    linear-gradient(160deg, #f3ecda 0%, #efe7d4 60%, #e9e0cc 100%);
  overflow: hidden;
}
.hero-inner { max-width: 760px; padding: 120px 28px; text-align: center; position: relative; z-index: 2; }
.hero-title {
  font-size: clamp(38px, 6vw, 68px); font-weight: 600; line-height: 1.35;
  color: var(--ink); letter-spacing: 0.06em; margin: 18px 0 28px;
  white-space: pre-line;
}
.hero-subtitle {
  font-size: clamp(15px, 2vw, 18px); color: var(--ink-soft);
  max-width: 600px; margin: 0 auto 30px; line-height: 2;
}
.eyebrow {
  font-size: 13px; letter-spacing: 0.4em; color: var(--tea);
  text-transform: uppercase; font-weight: 500;
}
.hero-quote {
  display: inline-block; font-size: 15px; color: var(--cinnabar);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 10px 22px; margin-bottom: 30px; letter-spacing: 0.1em;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 34px; font-size: 15px;
  text-decoration: none; letter-spacing: 0.1em; border-radius: 2px;
  transition: all 0.3s ease; font-family: var(--font);
}
.btn-primary { background: var(--tea); color: #fff; border: 1px solid var(--tea); }
.btn-primary:hover { background: var(--tea-dark); border-color: var(--tea-dark); }
.btn-secondary { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--paper); }
.hero-seal {
  position: absolute; right: 6%; top: 22%; z-index: 1;
  width: 92px; height: 92px; border: 2px solid var(--cinnabar);
  color: var(--cinnabar); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; font-weight: 600; opacity: 0.85;
  writing-mode: vertical-rl; letter-spacing: 0; transform: rotate(0deg);
  box-shadow: inset 0 0 0 4px rgba(166,59,42,0.08);
}

/* ===== 通用 section ===== */
.section { padding: 96px 0; }
.section-tea { background: var(--paper-2); }
.section-calm { background: linear-gradient(180deg, #f3ecda, #efe7d4); }
.section-stories { background: var(--paper-2); }
.section-world { background: var(--tea-dark); color: var(--paper); }
.section-world .eyebrow,
.section-world .sub-title { color: #c9d2c2; }
.section-world .section-title { color: var(--paper); }
.section-world .section-lead { color: #d3ccbc; }
.section-contact { background: linear-gradient(180deg, #efe7d4, #f3ecda); }

.section-title {
  font-size: clamp(28px, 4vw, 40px); font-weight: 600;
  text-align: center; letter-spacing: 0.08em; color: var(--ink);
  margin-bottom: 22px; position: relative; padding-bottom: 18px;
}
.section-title::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 54px; height: 2px; background: var(--cinnabar);
}
.section-lead {
  font-size: 17px; color: var(--ink-soft); text-align: center;
  max-width: 720px; margin: 0 auto 46px; line-height: 2;
}
.sub-title {
  font-size: 21px; font-weight: 500; text-align: center;
  margin: 56px 0 30px; color: var(--tea-dark); letter-spacing: 0.06em;
}
.section-world .sub-title { color: #c9d2c2; }

/* ===== 缘起 ===== */
.about-text { max-width: 720px; margin: 0 auto; text-align: center; }
.about-text p {
  font-size: 17px; color: var(--ink-soft); margin-bottom: 18px; line-height: 2.1;
}
.promises {
  display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 40px;
}
.promises span {
  border: 1px solid var(--tea); color: var(--tea-dark);
  padding: 10px 24px; font-size: 15px; letter-spacing: 0.08em; border-radius: 2px;
  background: rgba(111,127,104,0.06);
}

/* ===== 茶缘计划 ===== */
.tea-card {
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px;
  background: var(--paper); border: 1px solid var(--line);
  padding: 40px; border-radius: 4px; align-items: center; margin-bottom: 34px;
}
.tea-card-visual { display: flex; align-items: center; justify-content: center; }
.tea-cup {
  width: 160px; height: 200px; border-radius: 0 0 80px 80px;
  background: linear-gradient(180deg, #fbf8f0, #ece2cf);
  border: 2px solid var(--tea); position: relative;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 -20px 30px rgba(111,127,104,0.1);
}
.tea-cup::before {
  content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 14px; border: 2px solid var(--tea); border-radius: 50%;
}
.tea-cup-label { font-size: 15px; font-weight: 600; color: var(--tea-dark); writing-mode: vertical-rl; letter-spacing: 0.2em; }
.tea-craft { font-size: 16px; color: var(--ink-soft); margin-bottom: 14px; }
.tea-desc { font-size: 16px; color: var(--ink); margin-bottom: 18px; line-height: 2; }
.tea-price {
  font-size: 16px; color: var(--cinnabar); font-weight: 500;
  border-left: 3px solid var(--cinnabar); padding-left: 14px;
}
.tea-get {
  font-size: 15px; color: var(--ink-soft); text-align: center;
  max-width: 760px; margin: 0 auto 38px; line-height: 2;
  border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line);
  padding: 24px 0;
}
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.principle {
  background: var(--paper); border: 1px solid var(--line); border-radius: 4px;
  padding: 28px 22px; text-align: center;
}
.principle .pn { font-size: 30px; color: var(--cinnabar); display: block; margin-bottom: 10px; }
.principle h4 { font-size: 18px; font-weight: 600; margin-bottom: 10px; color: var(--ink); }
.principle p { font-size: 14px; color: var(--ink-soft); line-height: 1.9; }

/* ===== 静心 ===== */
.breath-ring {
  width: 180px; height: 180px; margin: 0 auto; border-radius: 50%;
  border: 2px solid var(--tea); display: flex; align-items: center; justify-content: center;
  color: var(--tea-dark); font-size: 15px; letter-spacing: 0.08em;
  background: rgba(255,255,255,0.35);
  box-shadow: 0 0 0 10px rgba(111,127,104,0.06);
  transition: transform 0.5s ease;
}
.breath-ring span { text-align: center; line-height: 1.5; padding: 0 12px; }
.breath-stage { padding: 20px 0; }
.six-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.six-item {
  text-align: center; padding: 26px 16px; border: 1px solid var(--line);
  border-radius: 4px; background: rgba(255,255,255,0.4);
}
.six-item .sname { font-size: 20px; font-weight: 600; color: var(--ink); }
.six-item .sdesc { font-size: 13px; color: var(--tea); margin-top: 4px; letter-spacing: 0.1em; }
.six-item .sen { font-size: 11px; color: var(--ink-soft); letter-spacing: 0.15em; margin-top: 6px; opacity: 0.7; }
.seven-days {
  font-size: 15px; color: var(--ink-soft); text-align: center;
  max-width: 640px; margin: 30px auto 0; line-height: 2;
  background: rgba(111,127,104,0.06); padding: 22px 26px; border-radius: 4px;
}
.quotes { display: flex; flex-direction: column; gap: 16px; max-width: 720px; margin: 0 auto; }
.quote {
  font-size: 18px; color: var(--ink); line-height: 2;
  border-left: 3px solid var(--cinnabar); padding: 8px 0 8px 20px; text-align: left;
}

/* ===== 故事馆 ===== */
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.story-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 4px;
  padding: 30px 26px; position: relative; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.story-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(38,33,25,0.1); }
.story-code {
  display: inline-block; font-size: 12px; letter-spacing: 0.2em; color: var(--cinnabar);
  border: 1px solid var(--cinnabar); padding: 3px 10px; border-radius: 2px; margin-bottom: 14px;
}
.story-card h4 { font-size: 18px; font-weight: 600; margin-bottom: 12px; color: var(--ink); }
.story-card p { font-size: 14px; color: var(--ink-soft); line-height: 2; }
.story-cta {
  text-align: center; font-size: 15px; color: var(--tea-dark); margin-top: 40px;
  border: 1px dashed var(--tea); padding: 20px; border-radius: 4px;
  max-width: 760px; margin-left: auto; margin-right: auto;
}

/* 影像墙 */
.gallery-block { margin-top: 64px; border-top: 1px solid var(--line); padding-top: 52px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
.gallery-item {
  margin: 0; cursor: pointer; overflow: hidden; border-radius: 4px;
  border: 1px solid var(--line); background: var(--paper);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(38,33,25,0.12); }
.gallery-item img { display: block; width: 100%; height: 190px; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  font-size: 13px; color: var(--ink-soft); padding: 10px 12px; line-height: 1.6;
  border-top: 1px solid var(--line); background: var(--paper);
}
.gallery-empty { text-align: center; color: var(--ink-soft); font-size: 15px; margin-top: 26px; letter-spacing: 0.05em; }

/* 灯箱 */
#ylf-lightbox { position: fixed; inset: 0; z-index: 999; display: none; }
#ylf-lightbox.open { display: block; }
#ylf-lightbox .lb-mask { position: absolute; inset: 0; background: rgba(38,33,25,0.88); }
#ylf-lightbox .lb-inner { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  max-width: 90vw; max-height: 90vh; text-align: center; }
#ylf-lightbox .lb-inner img { max-width: 90vw; max-height: 80vh; border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
#ylf-lightbox .lb-inner p { color: #e6dcc8; font-size: 14px; margin-top: 14px; letter-spacing: 0.05em; }
#ylf-lightbox .lb-close { position: absolute; top: -42px; right: 0; color: #e6dcc8;
  font-size: 34px; cursor: pointer; line-height: 1; }

/* ===== 世界 ===== */
.verses { display: flex; flex-direction: column; gap: 14px; max-width: 620px; margin: 0 auto 50px; }
.verse {
  text-align: center; font-size: 18px; color: var(--paper); letter-spacing: 0.06em;
  padding: 12px 0; border-bottom: 1px solid rgba(246,241,228,0.16);
}
.lines-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.line-item {
  text-align: center; padding: 24px 14px; border: 1px solid rgba(246,241,228,0.2);
  border-radius: 4px;
}
.line-item .lname { font-size: 22px; font-weight: 600; color: var(--paper); }
.line-item .len { font-size: 11px; letter-spacing: 0.2em; color: #aab6a2; margin: 4px 0 10px; }
.line-item .ldesc { font-size: 13px; color: #d3ccbc; line-height: 1.8; }
.house {
  text-align: center; font-size: 16px; color: #e6dcc8; max-width: 640px;
  margin: 46px auto 0; line-height: 2;
}
.world-cta {
  text-align: center; font-size: 20px; color: #fff; margin: 30px auto 0;
  max-width: 600px; font-weight: 500; letter-spacing: 0.05em;
}

/* ===== 同行者 ===== */
.section-partner { background: var(--paper-2); }
.partner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.partner-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 4px;
  padding: 36px 30px; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.partner-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(38,33,25,0.1); }
.partner-card .pname { font-size: 24px; font-weight: 600; color: var(--tea-dark); letter-spacing: 0.06em; }
.partner-card .pen { font-size: 12px; letter-spacing: 0.22em; color: var(--cinnabar); margin: 4px 0 16px; text-transform: uppercase; }
.partner-card .pdesc { font-size: 15px; color: var(--ink-soft); line-height: 2; margin-bottom: 20px; }
.partner-card .ppoints { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.partner-card .ppoints li {
  border: 1px solid var(--tea); color: var(--tea-dark); font-size: 13px;
  padding: 6px 14px; border-radius: 2px; background: rgba(111,127,104,0.06); letter-spacing: 0.05em;
}
.partner-note {
  text-align: center; font-size: 15px; color: var(--ink-soft); max-width: 720px;
  margin: 42px auto 0; line-height: 2; border-top: 1px dashed var(--line); padding-top: 26px;
}
.partner-cta {
  text-align: center; font-size: 17px; color: var(--tea-dark); font-weight: 500;
  margin: 26px auto 0; max-width: 640px; letter-spacing: 0.04em; line-height: 2;
}

/* 同行者报名表单 */
.partner-form-wrap { margin: 40px auto 0; max-width: 640px; }
.pf-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 4px;
  padding: 38px 36px; box-shadow: 0 8px 26px rgba(38,33,25,0.06);
}
.pf-title { font-family: var(--serif); font-size: 23px; font-weight: 600; color: var(--tea-dark); letter-spacing: 0.06em; text-align: center; }
.pf-lead { text-align: center; font-size: 14px; color: var(--ink-soft); line-height: 1.9; margin: 10px 0 26px; }
.pf-form label { display: block; font-size: 14px; color: var(--ink); margin-bottom: 16px; letter-spacing: 0.03em; }
.pf-form input[type="text"], .pf-form textarea {
  display: block; width: 100%; margin-top: 7px; padding: 11px 13px;
  font-family: var(--serif); font-size: 15px; color: var(--ink);
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 3px;
  box-sizing: border-box; transition: border-color 0.2s ease, background 0.2s ease;
}
.pf-form input[type="text"]:focus, .pf-form textarea:focus {
  outline: none; border-color: var(--tea); background: var(--paper);
}
.pf-form textarea { resize: vertical; line-height: 1.7; }
.pf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pf-label { display: block; font-size: 14px; color: var(--ink); margin-bottom: 12px; letter-spacing: 0.03em; }
.pf-types { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.pf-type {
  cursor: pointer; font-size: 14px; color: var(--ink-soft); user-select: none;
  border: 1px solid var(--line); border-radius: 2px; padding: 9px 16px; background: var(--paper-2);
  transition: all 0.2s ease; letter-spacing: 0.04em;
}
.pf-type input { display: none; }
.pf-type.on { border-color: var(--tea); color: var(--tea-dark); background: rgba(111,127,104,0.1); font-weight: 500; }
.pf-submit { width: 100%; margin-top: 8px; }
.pf-error { color: var(--cinnabar); font-size: 13px; text-align: center; min-height: 18px; margin: 12px 0 0; }
.pf-result { text-align: center; }
.pf-ok-seal {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--cinnabar); color: #fff; font-family: var(--serif);
  display: flex; align-items: center; justify-content: center; font-size: 28px;
}
.pf-ok h4 { font-size: 20px; color: var(--tea-dark); font-weight: 600; letter-spacing: 0.05em; margin-bottom: 10px; }
.pf-ok p { font-size: 14px; color: var(--ink-soft); line-height: 1.9; }
.pf-fallback h4 { font-size: 18px; color: var(--tea-dark); font-weight: 600; margin-bottom: 10px; }
.pf-fallback p { font-size: 14px; color: var(--ink-soft); line-height: 1.9; margin-bottom: 16px; }
.pf-fallback pre {
  text-align: left; background: var(--paper-2); border: 1px dashed var(--line); border-radius: 3px;
  padding: 14px 16px; font-family: var(--serif); font-size: 13.5px; color: var(--ink); line-height: 1.9;
  white-space: pre-wrap; word-break: break-word; margin-bottom: 16px;
}
.pf-fb-actions { text-align: center; }

/* ===== 结缘 ===== */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 36px; }
.contact-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 4px;
  padding: 32px 24px; text-align: center;
}
.contact-card .clabel { font-size: 13px; letter-spacing: 0.3em; color: var(--tea); margin-bottom: 12px; }
.contact-card .cvalue { font-size: 17px; color: var(--ink); font-weight: 500; line-height: 1.7; }
.contact-card .cnote { font-size: 12px; color: var(--ink-soft); margin-top: 10px; }
.contact-address {
  text-align: center; font-size: 15px; color: var(--ink-soft);
  max-width: 640px; margin: 0 auto; line-height: 2;
  border-top: 1px solid var(--line); padding-top: 30px;
}

/* ===== 页脚 ===== */
.footer { background: var(--ink); color: var(--paper); padding: 56px 0 40px; }
.footer-inner { text-align: center; }
.footer-slogan {
  font-size: 16px; color: #e6dcc8; letter-spacing: 0.1em; margin-bottom: 26px;
  max-width: 560px; margin-left: auto; margin-right: auto;
}
.footer-meta { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: #9c9485; letter-spacing: 0.05em; }

.calm-intro {
  max-width: 760px; margin: 0 auto 50px; text-align: center;
  font-size: 16px; color: var(--ink-soft); line-height: 2;
}

/* 练习标签页 */
.practice-tabs {
  display: flex; justify-content: center; gap: 10px; flex-wrap: wrap;
  margin-bottom: 30px;
}
.practice-tab {
  padding: 10px 20px; border: 1px solid var(--line); background: rgba(255,255,255,0.45);
  color: var(--tea-dark); font-family: inherit; font-size: 15px; cursor: pointer;
  border-radius: 4px; transition: all .2s ease;
}
.practice-tab:hover { background: rgba(255,255,255,0.75); }
.practice-tab.active { background: var(--tea); color: #fff; border-color: var(--tea); }

.practice-panel { display: none; max-width: 720px; margin: 0 auto 40px; }
.practice-panel.active { display: block; animation: fadeIn .4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.calm-btn {
  display: inline-block; padding: 11px 24px; background: var(--tea); color: #fff;
  border: none; border-radius: 4px; font-size: 15px; font-family: inherit; cursor: pointer;
  letter-spacing: 0.05em; transition: background .2s ease;
}
.calm-btn:hover { background: var(--tea-dark); }
.calm-btn-soft { background: transparent; color: var(--tea-dark); border: 1px solid var(--line); }
.calm-btn-soft:hover { background: rgba(111,127,104,0.08); }
.calm-btn:disabled { opacity: .6; cursor: default; }

.breath-controls, .timer-controls { text-align: center; margin-top: 22px; }
.breath-tip, .practice-guide {
  text-align: center; font-size: 15px; color: var(--ink-soft); margin-top: 18px; line-height: 1.9;
}

/* 静坐计时 */
.timer-display {
  font-size: 64px; font-weight: 300; color: var(--tea-dark); text-align: center;
  font-variant-numeric: tabular-nums; letter-spacing: 0.05em; margin: 20px 0;
}

/* 引导冥想 */
.med-intro {
  text-align: center; font-size: 14.5px; color: var(--ink-soft);
  max-width: 560px; margin: 0 auto 20px; line-height: 1.9;
}
.med-durations { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; transition: opacity 0.3s ease; }
.dur-pill {
  cursor: pointer; font-family: inherit; font-size: 14px; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 2px; padding: 8px 18px;
  background: rgba(255,255,255,0.4); transition: all 0.2s ease; letter-spacing: 0.04em;
}
.dur-pill:hover { background: rgba(255,255,255,0.7); }
.dur-pill.on { border-color: var(--tea); color: var(--tea-dark); background: rgba(111,127,104,0.1); font-weight: 500; }
.med-stage {
  text-align: center; font-size: 15px; letter-spacing: 0.5em; color: var(--cinnabar);
  margin-top: 18px; padding-left: 0.5em;
}
.med-text {
  text-align: center; font-size: 16px; color: var(--ink); max-width: 520px;
  margin: 0 auto; line-height: 2.1; min-height: 68px;
}

.med-audio { max-width: 520px; margin: 34px auto 0; padding-top: 26px; border-top: 1px solid var(--line); }
.med-audio-title { text-align: center; font-size: 17px; color: var(--ink); letter-spacing: 2px; margin-bottom: 8px; }
.med-audio-intro { text-align: center; font-size: 14px; color: var(--ink-soft); line-height: 1.9; margin-bottom: 16px; }
.med-audio-track { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.med-audio-name { font-size: 14px; color: var(--ink-soft); }
.med-audio-track audio { width: 100%; height: 36px; }

/* 打卡 */
.checkin-card {
  background: rgba(255,255,255,0.45); border: 1px solid var(--line); border-radius: 4px;
  padding: 34px 28px; text-align: center;
}
.checkin-numbers {
  display: flex; justify-content: center; gap: 60px; margin-bottom: 24px;
}
.checkin-numbers div { display: flex; flex-direction: column; align-items: center; }
.checkin-numbers span {
  font-size: 42px; font-weight: 600; color: var(--cinnabar); line-height: 1.1;
}
.checkin-numbers label { font-size: 14px; color: var(--ink-soft); margin-top: 6px; }
.checkin-msg { font-size: 14px; color: var(--tea-dark); margin-top: 14px; min-height: 20px; }

/* 测评 */
.quiz-q { margin-bottom: 28px; }
.quiz-question { font-size: 17px; color: var(--ink); margin-bottom: 14px; font-weight: 500; }
.quiz-options { display: flex; flex-direction: column; gap: 10px; }
.quiz-opt {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  background: rgba(255,255,255,0.4); border: 1px solid var(--line); border-radius: 4px;
  cursor: pointer; transition: all .2s ease; font-size: 15px; color: var(--ink-soft);
}
.quiz-opt:hover { background: rgba(255,255,255,0.7); }
.quiz-opt.selected { border-color: var(--tea); background: rgba(111,127,104,0.1); color: var(--ink); }
.quiz-opt input { accent-color: var(--tea); }
.quiz-result {
  background: rgba(255,255,255,0.5); border: 1px solid var(--line); border-radius: 4px;
  padding: 34px 28px; text-align: center; margin-top: 24px;
}
.result-name { font-size: 32px; font-weight: 600; color: var(--cinnabar); margin-bottom: 8px; }
.result-tagline { font-size: 18px; color: var(--tea-dark); margin-bottom: 20px; }
.result-suggest { font-size: 15px; color: var(--ink); line-height: 1.9; margin-bottom: 14px; }
.result-quote { font-size: 16px; color: var(--tea); font-style: italic; margin-bottom: 26px; }
.share-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* 古法静心库 */
.methods-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.method-card {
  background: rgba(255,255,255,0.45); border: 1px solid var(--line); border-radius: 4px;
  padding: 26px 22px;
}
.method-head { margin-bottom: 12px; }
.mname { font-size: 22px; font-weight: 600; color: var(--ink); }
.mdesc { font-size: 13px; color: var(--tea); letter-spacing: 0.08em; margin-top: 4px; }
.method-meta { display: flex; gap: 12px; font-size: 12px; color: var(--ink-soft); margin-bottom: 14px; flex-wrap: wrap; }
.method-steps { margin: 0; padding-left: 18px; color: var(--ink-soft); font-size: 14px; line-height: 1.9; }
.method-steps li { margin-bottom: 6px; }

/* ===== 响应式 ===== */
@media (max-width: 860px) {
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: rgba(246,241,228,0.98);
    box-shadow: 0 8px 20px rgba(38,33,25,0.12); max-height: 0; overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .nav-menu.open { max-height: min(560px, calc(100vh - 70px)); overflow-y: auto; }
  .nav-menu li { border-bottom: 1px solid var(--line); }
  .nav-menu a { display: block; padding: 16px 28px; }
  .nav-menu a::after { display: none; }
  .nav-toggle { display: flex; }
  .tea-card { grid-template-columns: 1fr; }
  .tea-card-visual { margin-bottom: 10px; }
  .principles, .six-grid, .methods-grid, .story-grid, .contact-grid, .partner-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .pf-row { grid-template-columns: 1fr; gap: 0; }
  .pf-card { padding: 28px 22px; }
  .lines-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
  .hero-seal { width: 64px; height: 64px; font-size: 32px; right: 4%; top: 16%; }
  .timer-display { font-size: 48px; }
  .checkin-numbers { gap: 34px; }
}
@media (max-width: 480px) {
  .lines-grid { grid-template-columns: 1fr; }
  .promises { flex-direction: column; align-items: center; }
}
