/* =========================================================
   Brand-style upgrades for projects / about / spirit pages
   ========================================================= */

/* shared premium blocks */
.brand-soft-panel,
.brand-soft-card{
  border:1px solid #f0e1c3;
  background:linear-gradient(180deg,#fffdf8 0%,#fbf7ef 100%);
  box-shadow:0 18px 46px rgba(55,35,0,.08);
}

/* =========================
   Projects page upgrade
   ========================= */
body[data-page="projects.html"] .project-brand-intro{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:24px;
  margin:10px 0 30px;
}
body[data-page="projects.html"] .project-intro-media{
  position:relative;
  overflow:hidden;
  min-height:460px;
  border-radius:36px;
  background:#111;
  border:1px solid rgba(244,210,138,.16);
  box-shadow:var(--shadow-dark);
}
body[data-page="projects.html"] .project-intro-media img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 42%;
}
body[data-page="projects.html"] .project-intro-media:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.05) 12%,rgba(0,0,0,.72) 100%);
}
body[data-page="projects.html"] .project-intro-badge{
  position:absolute;
  top:24px;
  left:24px;
  z-index:2;
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding:12px 16px;
  border-radius:999px;
  background:rgba(17,17,17,.66);
  border:1px solid rgba(244,210,138,.22);
  backdrop-filter:blur(4px);
}
body[data-page="projects.html"] .project-intro-badge span{
  display:inline-grid;
  place-items:center;
  width:36px;
  height:36px;
  border-radius:50%;
  background:var(--gold2);
  color:#1c1208;
  font-weight:900;
}
body[data-page="projects.html"] .project-intro-badge em{
  color:#fff;
  font-style:normal;
  font-size:13px;
  font-weight:800;
  letter-spacing:.12em;
}
body[data-page="projects.html"] .project-intro-note{
  position:absolute;
  left:28px;
  right:28px;
  bottom:28px;
  z-index:2;
}
body[data-page="projects.html"] .project-intro-note strong{
  display:block;
  color:var(--gold2);
  font-size:42px;
  line-height:1.16;
}
body[data-page="projects.html"] .project-intro-note p{
  margin:14px 0 0;
  max-width:620px;
  color:#f0f0f0;
  font-size:16px;
  line-height:1.95;
}
body[data-page="projects.html"] .project-intro-side{
  display:grid;
  gap:18px;
}
body[data-page="projects.html"] .project-intro-copy{
  padding:34px;
  border-radius:32px;
  background:linear-gradient(135deg,#171717 0%,#222 60%,#181818 100%);
  box-shadow:var(--shadow-dark);
}
body[data-page="projects.html"] .project-intro-copy h3{
  margin:12px 0 16px;
  color:var(--gold2);
  font-size:38px;
  line-height:1.18;
}
body[data-page="projects.html"] .project-intro-copy p:last-child{
  margin:0;
  color:#dfdfdf;
  line-height:1.95;
}
body[data-page="projects.html"] .project-intro-stats{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
body[data-page="projects.html"] .project-intro-stats article{
  padding:22px 22px 20px;
  border-radius:26px;
}
body[data-page="projects.html"] .project-intro-stats strong{
  display:block;
  color:#3d1c0b;
  font-size:32px;
  line-height:1.1;
}
body[data-page="projects.html"] .project-intro-stats span{
  display:block;
  margin-top:10px;
  color:#7d633f;
  font-size:14px;
  font-weight:800;
  line-height:1.7;
}
body[data-page="projects.html"] .project-anchor-ribbon{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  margin:10px 0 34px;
}
body[data-page="projects.html"] .project-anchor-ribbon a{
  display:flex;
  flex-direction:column;
  gap:16px;
  padding:16px;
  border-radius:28px;
  border:1px solid #f0e1c3;
  background:#fff;
  box-shadow:var(--shadow);
  transition:.28s;
}
body[data-page="projects.html"] .project-anchor-ribbon a:hover{
  transform:translateY(-6px);
  box-shadow:0 24px 60px rgba(55,35,0,.14);
}
body[data-page="projects.html"] .project-anchor-ribbon .thumb{
  position:relative;
  overflow:hidden;
  aspect-ratio:16/11;
  border-radius:22px;
  background:#111;
}
body[data-page="projects.html"] .project-anchor-ribbon .thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
body[data-page="projects.html"] .project-anchor-ribbon .meta{
  display:flex;
  align-items:flex-start;
  gap:14px;
}
body[data-page="projects.html"] .project-anchor-ribbon .num{
  display:inline-grid;
  place-items:center;
  width:44px;
  height:44px;
  border-radius:16px;
  background:#171717;
  color:var(--gold2);
  font-weight:900;
  flex:0 0 auto;
}
body[data-page="projects.html"] .project-anchor-ribbon strong{
  display:block;
  color:#111;
  font-size:22px;
  line-height:1.3;
}
body[data-page="projects.html"] .project-anchor-ribbon span:last-child,
body[data-page="projects.html"] .project-anchor-ribbon .meta p{
  display:block;
  margin-top:8px;
  color:#7d633f;
  font-size:14px;
  font-weight:700;
  line-height:1.7;
}
body[data-page="projects.html"] .projects-list{
  gap:30px;
}
body[data-page="projects.html"] .premium-project-card{
  grid-template-columns:360px 1fr !important;
  gap:32px !important;
  padding:18px !important;
  border-radius:34px !important;
  background:linear-gradient(180deg,#fff 0%,#fbf7ef 100%) !important;
}
body[data-page="projects.html"] .projects-list article:nth-child(even) .project-image{
  order:2;
}
body[data-page="projects.html"] .projects-list article:nth-child(even) .project-main{
  order:1;
  padding:18px 0 18px 10px;
}
body[data-page="projects.html"] .premium-project-card .project-image{
  padding:0 !important;
  background:#111 !important;
  border-radius:26px !important;
  overflow:hidden !important;
  aspect-ratio:4 / 5 !important;
}
body[data-page="projects.html"] .premium-project-card .project-image img{
  object-fit:cover !important;
  object-position:center 40% !important;
  border-radius:0 !important;
}
body[data-page="projects.html"] .project-media-badge{
  position:absolute;
  left:18px;
  top:18px;
  z-index:2;
  display:inline-flex;
  flex-direction:column;
  gap:8px;
}
body[data-page="projects.html"] .project-media-badge span{
  display:inline-grid;
  place-items:center;
  width:58px;
  height:58px;
  border-radius:18px;
  background:rgba(17,17,17,.8);
  border:1px solid rgba(244,210,138,.18);
  color:var(--gold2);
  font-weight:900;
  font-size:20px;
  backdrop-filter:blur(6px);
}
body[data-page="projects.html"] .project-media-badge em{
  display:inline-flex;
  align-self:flex-start;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  color:#7d5314;
  font-style:normal;
  font-size:11px;
  font-weight:900;
  letter-spacing:.14em;
}
body[data-page="projects.html"] .project-main{
  padding:18px 10px 18px 0;
  display:flex;
  flex-direction:column;
}
body[data-page="projects.html"] .project-kicker{
  margin:0 0 10px;
  color:#9a6814;
  font-size:12px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}
body[data-page="projects.html"] .premium-project-card .project-head{
  display:block !important;
  margin:0 0 22px !important;
}
body[data-page="projects.html"] .premium-project-card .project-head h2{
  margin:0;
  color:#21150d;
  font-size:38px;
  line-height:1.18;
}
body[data-page="projects.html"] .premium-project-card .project-head p{
  margin:12px 0 0;
  color:#9a6814;
  font-size:19px;
  font-weight:900;
}
body[data-page="projects.html"] .premium-project-card .project-columns{
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:16px !important;
}
body[data-page="projects.html"] .premium-project-card .project-columns > div{
  padding:22px 20px;
  border-radius:24px;
  background:#fffaf1;
  border:1px solid rgba(216,173,92,.20);
}
body[data-page="projects.html"] .premium-project-card .project-columns h4{
  margin:0 0 10px;
  color:#9a6814;
  font-size:18px;
}
body[data-page="projects.html"] .premium-project-card .project-columns p{
  margin:0;
  color:#53453c;
  line-height:1.88;
}
body[data-page="projects.html"] .premium-project-card .pills{
  margin-top:20px;
}
body[data-page="projects.html"] .premium-project-card .pills span{
  background:#fff;
}
body[data-page="projects.html"] .project-document-grid.brand-mosaic{
  display:grid !important;
  grid-template-columns:1.1fr .9fr .9fr !important;
  grid-auto-rows:220px !important;
  gap:20px !important;
  margin-top:34px;
}
body[data-page="projects.html"] .project-document-grid.brand-mosaic figure{
  min-height:0 !important;
  aspect-ratio:auto !important;
}
body[data-page="projects.html"] .project-document-grid.brand-mosaic figure.hero{
  grid-row:span 2;
}
body[data-page="projects.html"] .project-document-grid.brand-mosaic figure.wide{
  grid-column:span 2;
}
body[data-page="projects.html"] .project-document-grid.brand-mosaic figure.hero img{object-position:center 44% !important;}
body[data-page="projects.html"] .project-document-grid.brand-mosaic figure:nth-child(2) img{object-position:center 48% !important;}
body[data-page="projects.html"] .project-document-grid.brand-mosaic figure:nth-child(3) img{object-position:center 38% !important;}
body[data-page="projects.html"] .project-document-grid.brand-mosaic figure:nth-child(4) img{object-position:center 42% !important;}

/* =========================
   About page photo redesign
   ========================= */
body[data-page="about.html"] .about-editorial-grid{
  display:grid;
  grid-template-columns:1.05fr .85fr .8fr;
  grid-template-rows:220px 220px 240px;
  gap:20px;
}
body[data-page="about.html"] .about-editorial-grid figure,
body[data-page="about.html"] .spirit-editorial-grid figure{
  position:relative;
  overflow:hidden;
  margin:0;
  border-radius:30px;
  background:#111;
  border:1px solid rgba(244,210,138,.18);
  box-shadow:var(--shadow-dark);
}
body[data-page="about.html"] .about-editorial-grid figure img,
body[data-page="about.html"] .spirit-editorial-grid figure img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform 1s ease;
}
body[data-page="about.html"] .about-editorial-grid figure:hover img,
body[data-page="about.html"] .spirit-editorial-grid figure:hover img{
  transform:scale(1.04);
}
body[data-page="about.html"] .about-editorial-grid figure:after,
body[data-page="about.html"] .spirit-editorial-grid figure:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.05) 20%,rgba(0,0,0,.76) 100%);
}
body[data-page="about.html"] .about-editorial-grid figcaption,
body[data-page="about.html"] .spirit-editorial-grid figcaption{
  position:absolute;
  left:20px;
  right:20px;
  bottom:18px;
  z-index:2;
}
body[data-page="about.html"] .about-editorial-grid strong,
body[data-page="about.html"] .spirit-editorial-grid strong{
  display:block;
  color:var(--gold2);
  font-size:26px;
  line-height:1.28;
}
body[data-page="about.html"] .about-editorial-grid span,
body[data-page="about.html"] .spirit-editorial-grid span{
  display:block;
  margin-top:8px;
  color:#f2f2f2;
  font-size:14px;
  line-height:1.75;
  font-weight:700;
}
body[data-page="about.html"] .about-editorial-grid figure.hero{
  grid-column:1 / span 2;
  grid-row:1 / span 2;
}
body[data-page="about.html"] .about-editorial-grid .about-note-card{
  grid-column:3;
  grid-row:1;
  padding:28px 24px;
  border-radius:30px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
body[data-page="about.html"] .about-editorial-grid .about-note-card p:first-child{
  margin:0;
  color:#9a6814;
  font-size:12px;
  font-weight:900;
  letter-spacing:.14em;
}
body[data-page="about.html"] .about-editorial-grid .about-note-card h3{
  margin:12px 0 10px;
  color:#3d1c0b;
  font-size:28px;
  line-height:1.35;
}
body[data-page="about.html"] .about-editorial-grid .about-note-card span{
  display:block;
  margin:0;
  color:#625449;
  font-size:15px;
  line-height:1.85;
  font-weight:600;
}
body[data-page="about.html"] .about-editorial-grid figure.side{
  grid-column:3;
  grid-row:2;
}
body[data-page="about.html"] .about-editorial-grid figure.bottom{
  grid-column:1 / span 3;
  grid-row:3;
}
body[data-page="about.html"] .about-editorial-grid figure.hero img{object-position:center 42% !important;}
body[data-page="about.html"] .about-editorial-grid figure.side img{object-position:center 38% !important;}
body[data-page="about.html"] .about-editorial-grid figure.bottom img{object-position:center 36% !important;}

/* =========================
   Spirit page photo redesign
   ========================= */
body[data-page="spirit.html"] .spirit-editorial-grid{
  display:grid;
  grid-template-columns:.86fr 1fr 1fr;
  grid-template-rows:230px 280px;
  gap:20px;
}
body[data-page="spirit.html"] .spirit-editorial-grid figure.tall{
  grid-column:1;
  grid-row:1 / span 2;
}
body[data-page="spirit.html"] .spirit-editorial-grid .spirit-quote-card{
  grid-column:2 / span 2;
  grid-row:1;
  padding:30px 30px 26px;
  border-radius:30px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  background:linear-gradient(135deg,#171717,#262626);
  box-shadow:var(--shadow-dark);
  border:1px solid rgba(244,210,138,.16);
}
body[data-page="spirit.html"] .spirit-editorial-grid .spirit-quote-card p:first-child{
  margin:0;
  color:var(--gold2);
  font-size:12px;
  font-weight:900;
  letter-spacing:.14em;
}
body[data-page="spirit.html"] .spirit-editorial-grid .spirit-quote-card h3{
  margin:14px 0 14px;
  color:#fff;
  font-size:32px;
  line-height:1.35;
}
body[data-page="spirit.html"] .spirit-editorial-grid .spirit-quote-card span{
  display:block;
  color:#dedede;
  font-size:15px;
  line-height:1.88;
}
body[data-page="spirit.html"] .spirit-editorial-grid figure.wide{
  grid-column:2;
  grid-row:2;
}
body[data-page="spirit.html"] .spirit-editorial-grid figure.compact{
  grid-column:3;
  grid-row:2;
}
body[data-page="spirit.html"] .spirit-editorial-grid figure.tall img{object-position:center 42% !important;}
body[data-page="spirit.html"] .spirit-editorial-grid figure.wide img{object-position:center 46% !important;}
body[data-page="spirit.html"] .spirit-editorial-grid figure.compact img{object-position:center 40% !important;}

/* responsive */
@media (max-width:1180px){
  body[data-page="projects.html"] .project-anchor-ribbon,
  body[data-page="projects.html"] .project-intro-stats{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  body[data-page="projects.html"] .project-document-grid.brand-mosaic{
    grid-template-columns:1fr 1fr !important;
  }
  body[data-page="projects.html"] .project-document-grid.brand-mosaic figure.hero,
  body[data-page="projects.html"] .project-document-grid.brand-mosaic figure.wide{
    grid-column:auto;
    grid-row:auto;
  }
}
@media (max-width:1040px){
  body[data-page="projects.html"] .project-brand-intro,
  body[data-page="about.html"] .about-editorial-grid,
  body[data-page="spirit.html"] .spirit-editorial-grid{
    grid-template-columns:1fr !important;
    grid-template-rows:auto !important;
  }
  body[data-page="projects.html"] .premium-project-card,
  body[data-page="projects.html"] .image-project{
    grid-template-columns:1fr !important;
  }
  body[data-page="projects.html"] .projects-list article:nth-child(even) .project-image,
  body[data-page="projects.html"] .projects-list article:nth-child(even) .project-main{
    order:initial;
    padding:0;
  }
  body[data-page="projects.html"] .premium-project-card .project-main{
    padding:10px 0 0;
  }
  body[data-page="projects.html"] .premium-project-card .project-columns{
    grid-template-columns:1fr !important;
  }
  body[data-page="about.html"] .about-editorial-grid .about-note-card,
  body[data-page="about.html"] .about-editorial-grid figure.hero,
  body[data-page="about.html"] .about-editorial-grid figure.side,
  body[data-page="about.html"] .about-editorial-grid figure.bottom,
  body[data-page="spirit.html"] .spirit-editorial-grid .spirit-quote-card,
  body[data-page="spirit.html"] .spirit-editorial-grid figure.tall,
  body[data-page="spirit.html"] .spirit-editorial-grid figure.wide,
  body[data-page="spirit.html"] .spirit-editorial-grid figure.compact,
  body[data-page="projects.html"] .project-document-grid.brand-mosaic figure{
    grid-column:auto !important;
    grid-row:auto !important;
  }
  body[data-page="about.html"] .about-editorial-grid figure,
  body[data-page="spirit.html"] .spirit-editorial-grid figure,
  body[data-page="projects.html"] .project-document-grid.brand-mosaic figure{
    min-height:0;
    aspect-ratio:16 / 10 !important;
  }
  body[data-page="projects.html"] .project-intro-media{
    min-height:380px;
  }
}
@media (max-width:760px){
  body[data-page="projects.html"] .project-intro-note strong,
  body[data-page="projects.html"] .project-intro-copy h3{
    font-size:30px;
  }
  body[data-page="projects.html"] .project-anchor-ribbon,
  body[data-page="projects.html"] .project-intro-stats,
  body[data-page="projects.html"] .project-document-grid.brand-mosaic{
    grid-template-columns:1fr !important;
  }
  body[data-page="projects.html"] .project-intro-copy,
  body[data-page="projects.html"] .project-intro-stats article,
  body[data-page="about.html"] .about-editorial-grid .about-note-card,
  body[data-page="spirit.html"] .spirit-editorial-grid .spirit-quote-card{
    padding:22px;
    border-radius:24px;
  }
  body[data-page="projects.html"] .premium-project-card{
    padding:14px !important;
    border-radius:26px !important;
  }
  body[data-page="projects.html"] .premium-project-card .project-image,
  body[data-page="about.html"] .about-editorial-grid figure,
  body[data-page="spirit.html"] .spirit-editorial-grid figure{
    border-radius:22px !important;
  }
  body[data-page="projects.html"] .premium-project-card .project-head h2{
    font-size:30px;
  }
  body[data-page="projects.html"] .project-intro-media,
  body[data-page="projects.html"] .premium-project-card .project-image,
  body[data-page="about.html"] .about-editorial-grid figure,
  body[data-page="spirit.html"] .spirit-editorial-grid figure{
    aspect-ratio:4 / 3 !important;
  }
  body[data-page="about.html"] .about-editorial-grid strong,
  body[data-page="spirit.html"] .spirit-editorial-grid strong{
    font-size:22px;
  }
  body[data-page="spirit.html"] .spirit-editorial-grid .spirit-quote-card h3{
    font-size:28px;
  }
}

/* 2026-05 微调：去掉过重的视觉感，图片比例改得更自然 */
body[data-page="projects.html"] .project-intro-badge em,
body[data-page="projects.html"] .project-media-badge em{
  letter-spacing:.04em !important;
  font-size:13px !important;
}
body[data-page="projects.html"] .project-kicker{
  display:none !important;
}
body[data-page="projects.html"] .premium-project-card{
  grid-template-columns:420px 1fr !important;
  gap:30px !important;
}
body[data-page="projects.html"] .premium-project-card .project-image{
  aspect-ratio:4 / 3 !important;
  align-self:start !important;
}
body[data-page="projects.html"] .premium-project-card .project-image img{
  object-position:center center !important;
}
body[data-page="projects.html"] .premium-project-card .project-columns > div{
  background:#fffdf7 !important;
}
body[data-page="projects.html"] .project-intro-copy,
body[data-page="spirit.html"] .spirit-editorial-grid .spirit-quote-card{
  background:linear-gradient(135deg,#171717 0%,#202020 100%) !important;
}
body[data-page="about.html"] .about-editorial-grid figure:after,
body[data-page="spirit.html"] .spirit-editorial-grid figure:after,
body[data-page="projects.html"] .project-document-grid figure:after{
  background:linear-gradient(180deg,rgba(0,0,0,.02) 20%,rgba(0,0,0,.64) 100%) !important;
}
body[data-page="about.html"] .about-editorial-grid figure.hero img{object-position:center 45% !important;}
body[data-page="about.html"] .about-editorial-grid figure.side img{object-position:center 50% !important;}
body[data-page="about.html"] .about-editorial-grid figure.bottom img{object-position:center 46% !important;}
body[data-page="spirit.html"] .spirit-editorial-grid figure.tall img{object-position:center 46% !important;}
body[data-page="spirit.html"] .spirit-editorial-grid figure.wide img{object-position:center 48% !important;}
body[data-page="spirit.html"] .spirit-editorial-grid figure.compact img{object-position:center 50% !important;}
@media (max-width:1040px){
  body[data-page="projects.html"] .premium-project-card{grid-template-columns:1fr !important;}
}
