:root{
  --ink:#2b2019;            /* 深咖啡，主文字 */
  --ink-soft:#6f5b4c;
  --gold:#b98a45;
  --gold-lt:#d8ae63;
  --line:#e8dccd;
  --paper:#fffdf9;
  --paper-2:#fbf4ea;
}
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%;overflow-x:hidden}
body{
  font:14px/1.6 -apple-system,"Segoe UI","Microsoft YaHei","PingFang SC",sans-serif;
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

.stage{
  display:grid;
  grid-template-columns:minmax(0,1.28fr) minmax(430px,.72fr);
  min-height:100vh;
}

/* ══════════════ 左侧：整幅生活方式实景 ══════════════ */
.hero{position:relative;overflow:hidden;isolation:isolate;background:#e7ddd0}
.hero picture{display:block;position:absolute;inset:0}
.hero-img{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:56% 42%;
  animation:breathe 26s ease-in-out infinite alternate;
}
/* 极轻的胶片颗粒，压住数码感 */
.grain{
  position:absolute;inset:0;pointer-events:none;z-index:1;opacity:.16;
  background-image:radial-gradient(rgba(255,255,255,.55) .5px, transparent .6px);
  background-size:3px 3px;
  mix-blend-mode:overlay;
}
@keyframes breathe{from{transform:scale(1)}to{transform:scale(1.045)}}
/* 底部一层薄纱，只压暗 logo 所在区域，保留照片的通透 */
.veil{
  position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(to top,
      rgba(24,16,12,.97) 0%,
      rgba(24,16,12,.92) 10%,
      rgba(24,16,12,.80) 18%,
      rgba(24,16,12,.54) 28%,
      rgba(24,16,12,.28) 38%,
      rgba(24,16,12,.08) 48%,
      rgba(24,16,12,0) 58%);
}

/* 左上：系统标识 + 引文（压在浅色墙面上，用深咖啡字） */
.hero-top{
  position:absolute;z-index:2;left:46px;top:42px;max-width:540px;
  animation:rise .9s cubic-bezier(.22,.7,.3,1) both;
}
.sysmark{
  display:flex;flex-direction:column;gap:7px;
  font-size:10px;font-weight:600;letter-spacing:.3em;
  color:rgba(56,41,30,.62);
}
.sysmark span+span{color:rgba(56,41,30,.38);letter-spacing:.26em}

.quote{max-width:500px;margin-top:34px;padding-top:20px;position:relative}
.quote::before{
  content:"";position:absolute;left:0;top:0;width:46px;height:1px;
  background:linear-gradient(90deg,rgba(160,112,52,.85),rgba(160,112,52,0));
}
.quote p span{display:block}
  font-family:"Songti SC","Noto Serif SC",Georgia,"Times New Roman",serif;
  font-size:15px;line-height:1.95;letter-spacing:.02em;
  color:rgba(44,31,23,.82);
  text-shadow:0 1px 0 rgba(255,255,255,.35);
}
.quote cite{
  display:block;margin-top:15px;font-style:normal;
  font-size:9.5px;letter-spacing:.28em;text-transform:uppercase;
  color:rgba(120,88,52,.75);
}

/* 底部品牌区 */
.hero-foot{
  position:absolute;z-index:2;left:46px;bottom:42px;
  animation:rise 1s cubic-bezier(.22,.7,.3,1) both;
}
.logo{
  display:block;height:96px;width:auto;
  filter:drop-shadow(0 14px 30px rgba(0,0,0,.6)) drop-shadow(0 1px 2px rgba(0,0,0,.4));
}
@keyframes rise{
  from{opacity:0;transform:translateY(16px)}
  to{opacity:1;transform:none}
}

/* ══════════════ 右侧：登录区 ══════════════ */
.panel{
  background:var(--paper);
  display:flex;align-items:center;justify-content:center;
  padding:56px 44px;min-width:0;
  border-left:1px solid rgba(43,32,25,.07);
  box-shadow:-30px 0 80px -46px rgba(60,40,28,.5);
}
.panel-inner{width:100%;max-width:348px}

.eyebrow{
  font-size:9.5px;letter-spacing:.28em;font-weight:600;
  color:#b39a7c;margin-bottom:18px;
}
h1{
  font-family:"Songti SC","Noto Serif SC",Georgia,serif;
  font-size:31px;font-weight:600;letter-spacing:.14em;line-height:1.2;
}
.sub{margin:10px 0 34px;color:var(--ink-soft);font-size:12.5px;letter-spacing:.02em}

.field{display:block;margin-bottom:19px}
.field span{
  display:block;font-size:11.5px;letter-spacing:.1em;
  color:#8d7969;margin-bottom:8px;
}
.field input{
  width:100%;height:48px;padding:0 14px;
  font-size:14px;font-family:inherit;color:var(--ink);
  background:#fff;border:1px solid var(--line);border-radius:9px;
  transition:border-color .18s,box-shadow .18s,background .18s;
}
.field input::placeholder{color:#bca393;font-size:13px}
.field input:hover{border-color:#dccbb6}
.field input:focus{
  outline:none;border-color:var(--gold);background:#fff;
  box-shadow:0 0 0 3px rgba(185,138,69,.14);
}

.err{min-height:18px;font-size:12px;color:#b3402f;margin:-6px 0 10px;letter-spacing:.02em}

.submit{
  width:100%;height:48px;border:none;border-radius:9px;cursor:pointer;
  font-size:13.5px;font-family:inherit;font-weight:600;
  letter-spacing:.34em;text-indent:.34em;color:#fffdf8;
  background:linear-gradient(120deg,#b98c46,#95692b);
  box-shadow:0 14px 26px -14px rgba(130,90,32,.8),inset 0 1px 0 rgba(255,255,255,.22);
  transition:box-shadow .2s,filter .2s,transform .06s;
}
.submit:hover{filter:brightness(1.06);box-shadow:0 18px 32px -16px rgba(130,90,32,.9),inset 0 1px 0 rgba(255,255,255,.26)}
.submit:active{transform:translateY(1px)}
.submit:disabled{opacity:.62;cursor:default;box-shadow:none}
.submit:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.field input:focus-visible{outline:none}

.hint{margin-top:24px;font-size:11.5px;line-height:1.85;color:#a99a8b}
.hint b{color:#7c6553;font-weight:600}

.foot{
  margin-top:46px;padding-top:16px;border-top:1px solid #f0e7da;
  display:flex;justify-content:space-between;
  font-size:10.5px;letter-spacing:.1em;color:#c0b1a1;
}

/* ══════════════ 响应式 ══════════════ */
@media (max-width:1100px){
  .stage{grid-template-columns:minmax(0,1.12fr) minmax(400px,.88fr)}
  .hero-top{left:34px;top:30px;max-width:440px}
  .hero-foot{left:34px;bottom:32px}
  .logo{height:80px}
  .quote{margin-top:26px}
  .quote p{font-size:14px}
}

@media (max-width:900px){
  .stage{grid-template-columns:1fr}
  .hero{height:min(46vh,330px);min-height:230px}
  .hero-img{object-position:52% 40%}
  .hero-top{display:none}
  .hero-foot{left:24px;bottom:20px}
  .logo{height:54px}
  .panel{padding:38px 24px 46px;border-left:0;box-shadow:none}
  .panel-inner{margin:0 auto}
  .sub{margin-bottom:28px}
  .foot{margin-top:34px}
}

@media (max-width:520px){
  .hero{height:206px;min-height:0}
  .logo{height:44px}
  h1{font-size:26px}
  .panel{padding:30px 20px 38px}
}
