/* ============================================================
   了卜 LIAOBU · 官网样式（版式复刻样站 / 淡米宣纸调性）
   ------------------------------------------------------------
   品牌色板 · 2026-09-10 定稿，全站长期沿用
     #FCFAF5  宣纸米    页面主底
     #F6F1E6  素米      交替板块底
     #EEE7D8  深米      图占位 / 页脚
     #E5DDCC  细线
     #1A1A1A  墨        主文字
     #4C4740  次墨      正文
     #8B8478  淡墨      弱化文字
     #C9A876  点缀金    强调 / 按钮 / 小标签
     #6B8068  禅绿      极少量辅助
   ------------------------------------------------------------
   版式层级：h2 26 / h3 22 / h4 18 / 正文 14 / 小标签 10
   首屏叠加：米色宣纸罩染 + 墨字（不用深色压暗 + 白字）
   ============================================================ */

:root {
  --bg:        #FCFAF5;
  --paper:     #F6F1E6;
  --paper-2:   #EEE7D8;
  --line:      #E5DDCC;
  --line-soft: rgba(26, 26, 26, .08);

  --ink:       #1A1A1A;
  --ink-2:     #4C4740;
  --text-soft: #8B8478;
  --gray:      #B0B0B0;

  --gold:      #C9A876;
  --green:     #6B8068;

  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  --sans: "Noto Sans SC", "PingFang SC", -apple-system, "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 2;
  letter-spacing: .05em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ===== 导航 ===== */
.nav {
  position: fixed; top: 0; right: 0; left: 0; z-index: 60;
  height: 80px;
  display: flex; align-items: center;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .4s, border-color .4s;
  color: var(--ink);
}
.nav-inner {
  width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: baseline; gap: 12px; }
.nav-logo .word { font-family: var(--serif); font-size: 1.15rem; letter-spacing: .34em; }
.nav-logo .lat { font-size: .68rem; letter-spacing: .28em; color: var(--text-soft); }
.nav-menu { display: flex; gap: 36px; align-items: center; }
.nav-menu a {
  font-size: .78rem; letter-spacing: .28em;
  padding: 6px 0; position: relative; transition: color .3s;
}
.nav-menu a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width .4s cubic-bezier(.2,.7,.3,1);
}
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.nav-toggle { display: none; background: none; border: none; color: inherit; font-size: .8rem; letter-spacing: .2em; cursor: pointer; }

.nav.solid {
  background: rgba(252, 250, 245, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  border-bottom-color: var(--line);
}

/* ===== 通用 ===== */
section { position: relative; }
.band { padding: 130px 0; }
.band-tight { padding: 90px 0; }

.eyebrow {
  font-size: .7rem; letter-spacing: .34em;
  color: var(--gold); text-transform: uppercase;
  margin-bottom: 30px;
}
.eyebrow.plain { color: var(--text-soft); }

h2.title {
  font-family: var(--serif); font-weight: 700;
  font-size: 26px; line-height: 1.6;
  letter-spacing: .06em;
  margin: 0 0 26px;
}
h3.subtitle {
  font-family: var(--serif); font-weight: 700;
  font-size: 22px; line-height: 1.6;
  letter-spacing: .05em;
  margin: 0 0 20px;
}
p.lead { color: var(--ink-2); margin: 0 0 14px; max-width: 38em; }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--serif); font-weight: 700;
  font-size: 14px; letter-spacing: 2px;
  color: var(--gold);
  padding: 10px 22px;
  border: 1px solid rgba(201, 168, 118, .55);
  border-radius: 3px;
  background: transparent;
  transition: background .35s, color .35s, border-color .35s;
}
.btn::after { content: "\2192"; font-size: 14px; transition: transform .35s; }
.btn:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn:hover::after { transform: translateX(4px); }

.center { text-align: center; }
.center .eyebrow, .center .lead { margin-left: auto; margin-right: auto; }

/* ===== 首屏：米色宣纸罩染 ===== */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center;
  color: var(--ink); text-align: center;
  isolation: isolate;
}
.hero::before {
  /* 米色罩染：上浓下淡 + 文字区局部提浓
     椭圆形光晕只在文字所在的高度区间生效，让图片下半部可以放到很透，
     同时保证中部墨字对比度仍在 10:1 以上。 */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(62% 42% at 50% 46%,
      rgba(252, 250, 245, .58) 0%,
      rgba(252, 250, 245, 0) 72%),
    linear-gradient(180deg,
      rgba(252, 250, 245, .90) 0%,
      rgba(248, 244, 235, .72) 24%,
      rgba(245, 240, 228, .52) 50%,
      rgba(242, 236, 223, .36) 76%,
      rgba(252, 250, 245, .26) 100%);
}
.hero::after {
  /* 纸张颗粒，避免罩染死板 */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.hero > .wrap { position: relative; z-index: 2; }
.hero .welcome {
  font-size: .72rem; letter-spacing: .34em;
  color: var(--text-soft);
  margin: 0 0 38px;
}
.hero h2 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  letter-spacing: .14em; line-height: 1.8;
  color: var(--ink);
  margin: 0 0 36px;
}
.hero .desc {
  color: var(--ink-2);
  font-size: .92rem; letter-spacing: .12em; line-height: 2;
  margin: 0 0 14px;
}
.hero .desc + .desc { margin-bottom: 50px; }
.hero .btn-row { display: flex; justify-content: center; }
.scroll-hint {
  position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); z-index: 3;
  font-size: .62rem; letter-spacing: .32em; color: var(--ink-2);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-hint i { display: block; width: 1px; height: 38px; background: linear-gradient(var(--gold), transparent); opacity: .85; }

/* ===== 品牌（About） ===== */
.sec-about { background: var(--bg); }
.sec-about .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.sec-about .image {
  aspect-ratio: 1 / 1;
  background: var(--paper-2) center / cover no-repeat;
}

/* ===== 静坐之道（Paths） ===== */
.sec-paths { background: var(--paper); }
.sec-paths .head { text-align: center; max-width: 720px; margin: 0 auto 70px; }
.sec-paths .row-top {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center;
  margin-bottom: 90px;
}
.sec-paths .portrait {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.sec-paths .portrait .img {
  aspect-ratio: 2 / 3; background: var(--paper-2) center / cover no-repeat;
}
.sec-paths .steps {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 80px;
}
.sec-paths .step {
  display: grid; grid-template-columns: 90px 1fr; gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.sec-paths .step:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.sec-paths .step h4 {
  font-family: var(--serif); font-weight: 500;
  font-size: 18px; letter-spacing: .08em;
  margin: 0;
}
.sec-paths .step p { color: var(--ink-2); font-size: 14px; margin: 0; line-height: 1.9; }
.sec-paths .btn-row { text-align: center; margin-top: 60px; }

/* ===== 静室（Space）：同样米纱罩染 ===== */
.sec-space {
  background: center / cover no-repeat;
  color: var(--ink); text-align: center;
  position: relative; isolation: isolate;
}
.sec-space::before {
  /* 与首屏同一套：上浓下淡 + 文字区局部提浓 */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(58% 46% at 50% 50%,
      rgba(252, 250, 245, .52) 0%,
      rgba(252, 250, 245, 0) 74%),
    linear-gradient(180deg,
      rgba(252, 250, 245, .88) 0%,
      rgba(248, 244, 235, .70) 24%,
      rgba(245, 240, 228, .50) 50%,
      rgba(242, 236, 223, .34) 76%,
      rgba(252, 250, 245, .24) 100%);
}
.sec-space > .wrap { position: relative; z-index: 2; }
.sec-space .eyebrow { color: var(--gold); }
.sec-space h2, .sec-space h3 { color: var(--ink); }
.sec-space .lead { color: var(--ink-2); margin-left: auto; margin-right: auto; }
.sec-space .btn-row { margin-top: 36px; }

/* ===== 静观（Blog） ===== */
.sec-blog { background: var(--bg); }
.sec-blog .head { text-align: center; margin-bottom: 60px; }
.sec-blog .post {
  display: grid; grid-template-columns: 1fr 2fr; gap: 80px;
  padding: 30px 0; border-top: 1px solid var(--line); align-items: start;
}
.sec-blog .post:last-child { border-bottom: 1px solid var(--line); }
.sec-blog .date { font-size: 12px; letter-spacing: .18em; color: var(--text-soft); padding-top: 6px; }
.sec-blog h4 { font-family: var(--serif); font-weight: 500; font-size: 18px; letter-spacing: .06em; margin: 0 0 10px; }
.sec-blog p { color: var(--ink-2); margin: 0 0 8px; max-width: 36em; }
.sec-blog .more { color: var(--gold); font-weight: 700; font-size: .8rem; letter-spacing: .2em; }
.sec-blog .btn-row { text-align: center; margin-top: 50px; }

/* ===== 最新消息（News） ===== */
.sec-news { background: var(--paper); }
.sec-news .head { text-align: center; margin-bottom: 60px; }
.sec-news .list { max-width: 880px; margin: 0 auto; }
.sec-news .item {
  display: grid; grid-template-columns: 140px 1fr; gap: 30px;
  padding: 24px 0; border-top: 1px solid var(--line); align-items: center;
}
.sec-news .item:last-child { border-bottom: 1px solid var(--line); }
.sec-news .date { font-size: 12px; letter-spacing: .18em; color: var(--text-soft); }
.sec-news .title { font-family: var(--serif); font-weight: 500; font-size: 16px; letter-spacing: .04em; }
.sec-news .item:hover .title { color: var(--gold); }
.sec-news .btn-row { text-align: center; margin-top: 50px; }

/* ===== 页脚 ===== */
.footer { border-top: 1px solid var(--line); padding: 80px 0 40px; background: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 50px; }
.footer h4 { font-size: .72rem; letter-spacing: .3em; color: var(--text-soft); font-weight: 400; margin: 0 0 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; font-size: .86rem; color: var(--ink-2); }
.footer li { margin-bottom: 8px; }
.footer li a:hover { color: var(--gold); }

/* 页脚品牌区：竖版 logo 与文字并排 */
.f-lockup { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.f-lockup .f-logo { height: 84px; width: auto; flex: none; }
.f-lockup .f-word { font-family: var(--serif); font-size: 1.1rem; letter-spacing: .3em; color: var(--ink); }
.f-lockup .f-lat { font-size: .66rem; letter-spacing: .28em; color: var(--text-soft); margin-top: 8px; }
.footer .f-desc { font-size: .84rem; color: var(--ink-2); margin: 0; }
.footer-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .72rem; letter-spacing: .16em; color: var(--text-soft); }

/* ===== 响应式 ===== */
@media (max-width: 980px) {
  .sec-paths .row-top, .sec-blog .post { grid-template-columns: 1fr; gap: 40px; }
  /* 品牌区：单列时改为文上图下（.image 仅品牌区有，不影响联系板块） */
  .sec-about .grid { grid-template-columns: 1fr; gap: 48px; }
  .sec-about .reve { order: 1; }
  .sec-about .image { order: 2; }
  .sec-paths .steps { grid-template-columns: 1fr; gap: 0; }
  .sec-paths .step:nth-last-child(-n+2) { border-bottom: none; }
  .sec-paths .step:last-child { border-bottom: 1px solid var(--line); }
  .sec-news .item { grid-template-columns: 100px 1fr; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 24px; }
  .band { padding: 80px 0; }
  .nav-inner { padding: 0 24px; }
  .nav-menu {
    position: fixed; top: 80px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 8px 24px 20px;
    color: var(--ink); display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .sec-paths .portrait { grid-template-columns: 1fr 1fr; }
  .sec-about .grid { gap: 36px; }
  .f-lockup .f-logo { height: 68px; }
}
