/* ============================================================
   首页 · 东方墨染（仅 index.html 引入）
   ============================================================ */

/* ---------- 底纸 ---------- */
.hero{
  position:relative;display:flex;flex-direction:column;
  min-height:100svh;overflow:hidden;isolation:isolate;background:#FBF2E4;
}
.hero-paper{
  position:absolute;inset:0;z-index:0;
  background:radial-gradient(120% 85% at 50% 0%,#FFFBF2 0%,#FBF2E4 44%,#F0E0CB 100%);
}
.hero-paper::after{
  content:"";position:absolute;inset:0;opacity:.5;
  background:linear-gradient(180deg,rgba(255,255,255,.6),rgba(255,255,255,0) 18%,
             rgba(255,255,255,0) 70%,rgba(214,210,194,.28));
}

/* ---------- 实拍大图槽位 ---------- */
.hero-photo-wrap{position:absolute;inset:0;z-index:2;pointer-events:none}
.hero-photo{
  display:block;width:100%;height:100%;
  object-fit:cover;object-position:center 40%;
}
.hero-photo-scrim{
  position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(248,241,229,.4) 0%,rgba(248,241,229,0) 26%,
             rgba(248,241,229,0) 64%,rgba(248,241,229,.5) 100%);
}

/* ---------- 画心 ---------- */
.hero-art{position:absolute;inset:0;z-index:1;pointer-events:none}
.hero-art svg{display:block;width:100%;height:100%}
.hero-art .scene-mobile{display:none}
@media (max-width:900px){
  .hero-art .scene-desktop{display:none}
  .hero-art .scene-mobile{display:block}
}

/* ---------- 首屏文字 ---------- */
.hero-inner{
  position:relative;z-index:3;flex:1;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;padding:104px var(--pad) clamp(120px,16vh,170px);
}
.hero-inner::before{
  content:"";position:absolute;left:50%;top:47%;transform:translate(-50%,-50%);
  width:min(1020px,110vw);height:min(600px,68vh);z-index:-1;pointer-events:none;
  background:radial-gradient(ellipse at center,
             rgba(250,248,239,.95) 0%,rgba(250,248,239,.72) 42%,rgba(250,248,239,0) 70%);
}
.hero-mark{
  width:1px;height:34px;margin-bottom:20px;
  background:linear-gradient(180deg,rgba(42,33,26,0),rgba(42,33,26,.42));
}
.hero-title{
  font-size:clamp(4rem,11.5vw,8.4rem);font-weight:400;line-height:1.04;
  letter-spacing:.17em;text-indent:.17em;
  margin:clamp(8px,1.6vh,20px) 0 clamp(4px,.8vh,8px);
}
.hero-latin{
  font-family:var(--sans);font-size:clamp(9px,1vw,11px);
  letter-spacing:.8em;text-indent:.8em;color:rgba(42,33,26,.48);
}
.hero-tag{
  margin-top:clamp(20px,3.6vh,38px);font-size:clamp(.9rem,1.3vw,1.06rem);
  letter-spacing:.26em;text-indent:.26em;color:rgba(42,33,26,.84);
}
.hero-sub{
  margin-top:12px;font-size:clamp(.74rem,.98vw,.82rem);
  letter-spacing:.16em;color:rgba(42,33,26,.46);
}
.hero-cta{display:flex;gap:14px;margin-top:clamp(24px,4.2vh,44px);flex-wrap:wrap;justify-content:center}

/* ---------- 页脚行 ---------- */
.hero-foot{
  position:absolute;left:0;right:0;bottom:0;z-index:4;
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  padding:0 var(--pad) clamp(18px,2.8vh,30px);
}
.hero-foot .hero-loc{color:rgba(42,33,26,.5)}

/* ---------- 章节标题 · 毛笔短划 ---------- */
.sec-head h2{position:relative;padding-bottom:16px}
.sec-head h2::after{
  content:"";position:absolute;left:0;bottom:0;width:46px;height:2px;border-radius:2px;
  background:linear-gradient(90deg,rgba(42,33,26,.72),rgba(42,33,26,0));
}
.sec-num{display:flex;align-items:center;gap:10px}
.sec-num::before{
  content:"";width:18px;height:1px;background:rgba(169,124,78,.8);display:inline-block;
}

/* ---------- 手机 ---------- */
@media (max-width:640px){
  .hero-inner::before{background:radial-gradient(ellipse at center,rgba(250,248,239,.92) 0%,rgba(250,248,239,.55) 44%,rgba(250,248,239,0) 72%)}
  .hero-inner{padding-top:92px;padding-bottom:clamp(120px,18vh,190px)}
  .hero-title{letter-spacing:.1em;text-indent:.1em}
  .hero-latin{letter-spacing:.6em;text-indent:.6em}
  .hero-cta .btn{height:46px;padding:0 24px}
  .hero-foot .scroll-cue{display:none}
  .hero-foot{justify-content:center}
}
