/* =========================================================
   乔翼设计 QIAOYI DESIGN — 设计系统
   ========================================================= */

:root {
  --paper: #FBF9F5;
  --paper-2: #F3EFE6;
  --paper-3: #EAE4D8;
  --ink: #16140F;
  --ink-2: #3C372D;
  --ink-3: #5B5446;
  --muted: #8C8474;
  --line: #E3DCcd;
  --line-soft: #EFEAE0;
  --brass: #A67C52;
  --brass-deep: #8A6340;
  --white: #FFFFFF;

  --max: 1800px;
  --gutter: clamp(20px, 5vw, 60px);
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
    system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-latin: Georgia, "Times New Roman", "Songti SC", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: inherit; }

::selection { background: #E8DCC8; color: var(--ink); }

/* ---------- 基础排版 ---------- */

.shell { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  font-family: var(--font-latin);
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::after {
  content: "";
  height: 1px;
  width: 46px;
  background: currentColor;
  opacity: .45;
}

h1, h2, h3, h4 {
  margin: 0; font-weight: 400; line-height: 1.28; letter-spacing: .02em;
  text-wrap: balance;
}

.h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 300; letter-spacing: .05em; }
.h3 { font-size: 20px; letter-spacing: .04em; }

.lede {
  font-size: clamp(15px, 1.15vw, 17px);
  color: var(--ink-3);
  line-height: 2;
  max-width: 46em;
  margin: 20px 0 0;
}

.section { padding: clamp(72px, 9vw, 132px) 0; }
.section--soft { background: var(--paper-2); }
.section--ink { background: var(--ink); color: #EFEAE0; }
.section--ink .eyebrow { color: #A79C88; }
.section--ink .lede { color: #B6AC99; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- 按钮 ---------- */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 30px;
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 14px;
  letter-spacing: .08em;
  line-height: 1;
  border-radius: 2px;
  transition: background .45s var(--ease), color .45s var(--ease),
    border-color .45s var(--ease), transform .45s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn .arrow { transition: transform .45s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: #CFC6B5;
}
.btn--ghost:hover { --btn-bd: var(--ink); }

.btn--light {
  --btn-bg: var(--paper);
  --btn-fg: var(--ink);
  --btn-bd: var(--paper);
}
.btn--light:hover { --btn-bg: transparent; --btn-fg: var(--paper); }

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: #F4EFE4;
  --btn-bd: rgba(244, 239, 228, .45);
}
.btn--outline-light:hover { --btn-bd: #F4EFE4; --btn-bg: rgba(255,255,255,.06); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: .12em; color: var(--ink);
  border-bottom: 1px solid #CDC4B3; padding-bottom: 6px;
  transition: border-color .4s var(--ease), gap .4s var(--ease);
}
.link-arrow:hover { border-color: var(--ink); gap: 16px; }

/* ---------- 头部导航 ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  height: 84px;
  display: flex;
  align-items: center;
  color: #F5F0E6;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .5s var(--ease), color .5s var(--ease),
    border-color .5s var(--ease), height .5s var(--ease);
}
.site-header.is-solid {
  height: 72px;
  background: rgba(251, 249, 245, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  color: var(--ink);
  border-bottom-color: var(--line);
}
.site-header .shell {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}

.brand { display: flex; align-items: baseline; gap: 12px; }
.brand__cn {
  font-size: 21px; letter-spacing: .34em; font-weight: 500;
  padding-left: .34em;
}
.brand__en {
  font-family: var(--font-latin);
  font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase;
  opacity: .6;
}

.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 42px); }
.nav a {
  position: relative;
  font-size: 14px;
  letter-spacing: .1em;
  padding: 6px 0;
  opacity: .82;
  transition: opacity .35s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: currentColor;
  transition: right .45s var(--ease);
}
.nav a:hover { opacity: 1; }
.nav a:hover::after, .nav a.is-active::after { right: 0; }
.nav a.is-active { opacity: 1; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.auth-link {
  font-size: 13px;
  letter-spacing: .14em;
  opacity: .82;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: opacity .35s var(--ease), border-color .35s var(--ease);
}
.auth-link:hover { opacity: 1; border-bottom-color: currentColor; }
.header-cta { padding: 12px 22px; font-size: 13px; }

.user-chip {
  display: none;
  align-items: center; gap: 10px;
  padding: 8px 14px 8px 8px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 13px; letter-spacing: .06em;
  opacity: .9;
}
.user-chip.is-on { display: inline-flex; }
.user-chip__avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(166, 124, 82, .18);
  color: inherit;
  display: grid; place-items: center;
  font-size: 12px; letter-spacing: 0;
}

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid currentColor;
  background: transparent; color: inherit;
  border-radius: 2px;
  place-items: center;
}
.nav-toggle span { display: block; width: 18px; height: 1px; background: currentColor; position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1px; background: currentColor;
  transition: transform .4s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------- 首页 Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: #F7F3EA;
  overflow: hidden;
}
.hero__wrap {
  position: relative; z-index: 2;
  width: 100%;
  padding-top: 150px;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04);
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,14,11,.52) 0%, rgba(15,14,11,.18) 34%, rgba(15,14,11,.68) 100%),
    linear-gradient(90deg, rgba(15,14,11,.42) 0%, rgba(15,14,11,0) 62%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(40px, 5vw, 64px); }

.hero .eyebrow { color: #D8CDB8; }
.hero h1 {
  font-size: clamp(36px, 5.6vw, 68px);
  font-weight: 300;
  line-height: 1.24;
  letter-spacing: .06em;
  max-width: 15em;
  margin: 0;
}
.hero h1 em { font-style: normal; color: #E4CFA9; }
.hero__sub {
  margin: 26px 0 0;
  max-width: 34em;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 2.05;
  color: rgba(247, 243, 234, .78);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.hero__meta {
  position: relative; z-index: 2;
  margin-top: clamp(48px, 7vw, 92px);
  border-top: 1px solid rgba(247, 243, 234, .22);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 26px 0 34px;
}
.hero__meta div { font-size: 12.5px; letter-spacing: .16em; color: rgba(247, 243, 234, .72); }
.hero__meta strong {
  display: block;
  font-family: var(--font-latin);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 400;
  letter-spacing: .02em;
  color: #F7F3EA;
  margin-bottom: 6px;
}

/* ---------- 服务列表 ---------- */

.svc-head {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(24px, 6vw, 80px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}

.svc-list { border-top: 1px solid var(--line); }
.svc-item {
  display: grid;
  grid-template-columns: 72px 1.1fr 1.6fr 40px;
  gap: clamp(12px, 3vw, 40px);
  align-items: start;
  padding: clamp(26px, 3.4vw, 40px) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background .5s var(--ease), padding-left .5s var(--ease);
}
.svc-item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0;
  background: var(--paper-3); z-index: -1;
  transition: width .55s var(--ease);
}
.svc-item:hover { padding-left: 16px; }
.svc-item:hover::before { width: 100%; }
.svc-item__no {
  font-family: var(--font-latin);
  font-size: 13px; letter-spacing: .1em; color: var(--brass);
  padding-top: 8px;
}
.svc-item__title { font-size: clamp(19px, 1.7vw, 23px); letter-spacing: .05em; font-weight: 400; }
.svc-item__title small {
  display: block; font-family: var(--font-latin); font-size: 10.5px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
  margin-top: 10px; font-weight: 400;
}
.svc-item__desc { color: var(--ink-3); font-size: 14.5px; line-height: 2; margin: 0; }
.svc-item__arrow { justify-self: end; color: var(--muted); transition: transform .5s var(--ease), color .5s var(--ease); }
.svc-item:hover .svc-item__arrow { transform: translateX(6px); color: var(--brass); }

/* ---------- 作品索引 ---------- */

.works-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }

.works-list { border-top: 1px solid rgba(239, 234, 224, .2); }
.work-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr .8fr .5fr 32px;
  gap: 20px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid rgba(239, 234, 224, .14);
  transition: background .5s var(--ease), padding-left .5s var(--ease), color .5s var(--ease);
}
.work-row:hover { padding-left: 14px; color: #F4E9D5; }
.work-row__name { font-size: clamp(17px, 1.5vw, 21px); letter-spacing: .06em; }
.work-row__meta { font-size: 12.5px; letter-spacing: .12em; color: #9C9384; }
.work-row__year { font-family: var(--font-latin); font-size: 13px; color: #9C9384; }
.work-row__arrow { color: #9C9384; justify-self: end; transition: transform .5s var(--ease); }
.work-row:hover .work-row__arrow { transform: translateX(6px); color: #E4CFA9; }

/* ---------- 关于 ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.about-figure { position: relative; }
.about-figure img { width: 100%; height: clamp(380px, 52vw, 560px); object-fit: cover; }
.about-figure figcaption {
  margin-top: 14px; font-size: 11.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted); font-family: var(--font-latin);
}
.about-figure::after {
  content: ""; position: absolute; top: -16px; left: -16px;
  width: 96px; height: 96px; border-top: 1px solid var(--brass); border-left: 1px solid var(--brass);
  opacity: .5;
}
.about-body p { color: var(--ink-3); line-height: 2.1; margin: 0 0 18px; font-size: 15px; }
.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; margin-top: 36px; }
.about-facts div { border-top: 1px solid var(--line); padding-top: 14px; }
.about-facts strong { font-family: var(--font-latin); font-size: 26px; font-weight: 400; display: block; letter-spacing: .02em; }
.about-facts span { font-size: 12.5px; letter-spacing: .12em; color: var(--muted); }

/* ---------- 流程 ---------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.step { background: var(--paper); padding: clamp(24px, 3vw, 38px) clamp(20px, 2.4vw, 32px); }
.step__no {
  font-family: var(--font-latin); font-size: 12px; letter-spacing: .2em;
  color: var(--brass); margin-bottom: 28px; display: block;
}
.step h4 { font-size: 16.5px; letter-spacing: .06em; margin-bottom: 12px; }
.step p { margin: 0; font-size: 13.5px; line-height: 1.95; color: var(--ink-3); }

/* ---------- 引言 ---------- */

.quote { max-width: 900px; margin: 0 auto; text-align: center; }
.quote blockquote {
  margin: 0; font-size: clamp(21px, 2.6vw, 32px); font-weight: 300;
  line-height: 1.85; letter-spacing: .05em;
}
.quote cite {
  display: block; margin-top: 28px; font-style: normal;
  font-size: 12.5px; letter-spacing: .2em; color: var(--muted);
}

/* ---------- CTA ---------- */

.cta-band {
  position: relative;
  background: var(--ink);
  color: #F4EFE4;
  padding: clamp(64px, 8vw, 112px) 0;
  overflow: hidden;
}
.cta-band::after {
  content: "QIAOYI";
  position: absolute; right: -1%; bottom: -34%;
  font-family: var(--font-latin); font-size: 30vw; line-height: 1;
  color: rgba(244, 239, 228, .035); pointer-events: none;
}
.cta-band__inner { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 42px); font-weight: 300; letter-spacing: .05em; max-width: 20em; }
.cta-band p { color: #B6AC99; margin: 16px 0 0; font-size: 14.5px; }

/* ---------- 页脚 ---------- */

.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding: clamp(52px, 6vw, 80px) 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--ink-3); font-size: 13.5px; line-height: 2; margin: 18px 0 0; max-width: 22em; }
.footer-col h5 {
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 18px; font-weight: 400;
}
.footer-col a, .footer-col p { display: block; font-size: 13.5px; color: var(--ink-2); margin: 0 0 12px; line-height: 1.9; }
.footer-col a:hover { color: var(--brass-deep); }
.footer-bottom {
  margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12px; letter-spacing: .08em; color: var(--muted);
}

.footer-admin {
  color: var(--muted); text-decoration: none;
  opacity: .75; transition: opacity .2s, color .2s;
}

.footer-admin:hover { color: var(--ink-2); opacity: 1; }

/* ---------- 动效 ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .1s; }
[data-reveal][data-delay="2"] { transition-delay: .2s; }
[data-reveal][data-delay="3"] { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero__media img { animation: none; }
}

/* ---------- 顶部信息条 ---------- */

.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 91;
  height: 34px;
  background: #100E0A;
  color: rgba(244, 239, 228, .72);
  font-size: 12px;
  letter-spacing: .1em;
  display: flex; align-items: center;
  transition: transform .5s var(--ease);
}
.topbar.is-hidden { transform: translateY(-100%); }
.topbar .shell { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar__group { display: flex; align-items: center; gap: 22px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #E4CFA9; }
.topbar__dot { width: 5px; height: 5px; border-radius: 50%; background: #8FA37C; }
.topbar__right { display: flex; align-items: center; gap: 18px; }

/* 顶部条存在时，导航条下移；滚动隐藏顶部条后导航回位 */
body.has-topbar .site-header { top: 34px; }
body.has-topbar .site-header.is-top { top: 0; }

/* ---------- 品牌（双行） ---------- */

.brand--stack { display: flex; align-items: center; gap: 13px; }
.brand__mark {
  width: 38px; height: 38px;
  border: 1px solid currentColor;
  display: grid; place-items: center;
  font-family: var(--font-latin);
  font-size: 15px; letter-spacing: 0;
  opacity: .85;
  flex: none;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__text .cn { font-size: 17px; letter-spacing: .26em; font-weight: 500; }
.brand__text .en {
  font-family: var(--font-latin); font-size: 9px; letter-spacing: .26em;
  text-transform: uppercase; opacity: .55; margin-top: 3px;
}

/* ---------- 业务范围三栏 ---------- */

.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.biz-card {
  background: var(--paper);
  padding: clamp(30px, 3.4vw, 44px) clamp(22px, 2.6vw, 34px) clamp(26px, 3vw, 36px);
  display: flex; flex-direction: column;
  min-height: 380px;
  transition: background .55s var(--ease);
}
.biz-card:hover { background: #1B1813; color: #F1EADC; }
.biz-card:hover .biz-card__no,
.biz-card:hover .biz-card__en,
.biz-card:hover .biz-card__text { color: rgba(241, 234, 220, .72); }
.biz-card:hover .link-arrow { color: #F1EADC; border-color: rgba(241,234,220,.4); }
.biz-card__no {
  font-family: var(--font-latin); font-size: 12px; letter-spacing: .2em;
  color: var(--brass); transition: color .5s var(--ease);
}
.biz-card__en {
  font-family: var(--font-latin); font-size: 10.5px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted); margin-top: 30px;
  transition: color .5s var(--ease);
}
.biz-card h3 {
  font-size: clamp(19px, 1.8vw, 23px); letter-spacing: .06em;
  margin: 10px 0 0; font-weight: 400; line-height: 1.5;
}
.biz-card__text {
  font-size: 13.8px; line-height: 2.05; color: var(--ink-3);
  margin: 18px 0 0; transition: color .5s var(--ease);
}
.biz-card .link-arrow { margin-top: auto; padding-top: 26px; align-self: flex-start; transition: color .5s var(--ease), border-color .5s var(--ease); }

/* ---------- 荣誉时间轴 ---------- */

.awards { display: grid; grid-template-columns: .85fr 1.4fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.awards__year {
  font-family: var(--font-latin);
  font-size: 15px; letter-spacing: .16em; color: var(--brass);
  padding-top: 26px;
}
.award-year-block { border-top: 1px solid var(--line); padding: 24px 0 26px; }
.award-year-block__head {
  display: flex; align-items: baseline; gap: 16px; margin-bottom: 12px;
}
.award-year-block__head strong {
  font-family: var(--font-latin); font-size: 17px; letter-spacing: .08em; font-weight: 400;
}
.award-year-block ul { margin: 0; padding: 0; list-style: none; }
.award-year-block li {
  font-size: 14px; color: var(--ink-3); line-height: 2.1;
  display: flex; gap: 12px;
}
.award-year-block li::before { content: "—"; color: #C9BFAE; flex: none; }

/* ---------- 收费 ---------- */

.fee-table { width: 100%; border-collapse: collapse; }
.fee-table th, .fee-table td {
  text-align: left; padding: 22px 12px;
  border-bottom: 1px solid var(--line);
  font-weight: 400; font-size: 14px;
}
.fee-table th {
  font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); border-bottom-color: var(--ink);
  font-family: var(--font-latin);
}
.fee-table td:first-child { font-size: 15.5px; letter-spacing: .04em; }
.fee-table .fee-group td {
  background: var(--paper-3);
  font-size: 14px; letter-spacing: .1em; color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 13px 12px;
}
.fee-table .fee-group td span {
  font-family: var(--font-latin); font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--brass-deep); margin-left: 12px;
}
.fee-table td.num { font-family: var(--font-latin); font-size: 19px; white-space: nowrap; }
.fee-table td.num span { font-family: var(--font-sans); font-size: 12px; color: var(--muted); margin-left: 4px; }
.fee-table tr:last-child td { border-bottom: 0; }
.fee-note { font-size: 12.5px; color: var(--muted); margin: 22px 0 0; line-height: 1.9; }

/* ---------- 流程（五步） ---------- */

.steps--5 { grid-template-columns: repeat(5, 1fr); }

/* ---------- 案例索引（浅色） ---------- */

.work-row--light {
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.work-row--light:hover { background: var(--paper-2); color: var(--ink); padding-left: 14px; }
.work-row--light .work-row__meta { color: var(--muted); }
.work-row--light .work-row__year { color: var(--muted); }
.work-row--light .work-row__arrow { color: var(--muted); }
.work-row--light:hover .work-row__arrow { color: var(--brass); }
.works-list--light { border-top-color: var(--ink); }

/* ---------- 登录弹窗 ---------- */
body.is-locked { overflow: hidden; }

.modal {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease);
  padding: 20px;
}
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal__scrim {
  position: absolute; inset: 0;
  background: rgba(16, 14, 10, .58);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.modal__panel {
  position: relative;
  width: min(440px, 100%);
  max-height: 92vh; overflow-y: auto;
  background: var(--paper);
  padding: clamp(28px, 4vw, 42px);
  border-radius: 2px;
  box-shadow: 0 30px 90px rgba(15, 14, 11, .3);
  transform: translateY(16px);
  transition: transform .5s var(--ease);
}
.modal.is-open .modal__panel { transform: none; }
.modal__close {
  position: absolute; right: 12px; top: 8px;
  width: 36px; height: 36px; border: 0; background: none;
  color: var(--muted); font-size: 22px; line-height: 1;
}
.modal__close:hover { color: var(--ink); }
.modal__title { font-size: 26px; font-weight: 300; letter-spacing: .1em; }
.modal__sub { font-size: 13px; color: var(--ink-3); line-height: 1.9; margin: 10px 0 0; }
.modal__tabs {
  display: flex; gap: 28px;
  border-bottom: 1px solid var(--line);
  margin: 26px 0 22px;
}
.modal__tabs button {
  background: none; border: 0; padding: 0 0 12px;
  font-size: 14px; letter-spacing: .12em; color: var(--muted);
  position: relative; transition: color .3s var(--ease);
}
.modal__tabs button.is-active { color: var(--ink); }
.modal__tabs button.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 1px; background: var(--ink);
}

.field { display: block; margin-bottom: 12px; }
.field > span {
  display: block; font-size: 11.5px; letter-spacing: .12em;
  color: var(--muted); margin-bottom: 5px;
}
.field input, .field textarea, .field select {
  width: 100%; padding: 9px 12px; font-size: 14.5px;
  border: 1px solid var(--line); background: #fff;
  border-radius: 2px; outline: none;
  transition: border-color .3s var(--ease);
  color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: #B4AC9C; }

.form-msg { min-height: 18px; font-size: 12.5px; margin: 2px 0 12px; color: var(--muted); letter-spacing: .02em; }
.form-msg.is-err { color: #B4453A; }
.form-msg.is-ok { color: #4B7A52; }

.modal__submit { width: 100%; justify-content: center; }
.modal__note { font-size: 11.5px; line-height: 1.9; color: var(--muted); margin: 18px 0 0; }

/* ---------- 内页头部 ---------- */

.page-hero {
  position: relative;
  min-height: clamp(420px, 58vh, 620px);
  display: flex; align-items: flex-end;
  padding-top: 120px;
  color: #F7F3EA;
  overflow: hidden;
}
.page-hero--plain {
  background: var(--ink);
  min-height: 0;
  padding-top: 0;
}
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,14,11,.72) 0%, rgba(15,14,11,.36) 46%, rgba(15,14,11,.76) 100%);
}
.page-hero__inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(38px, 5vw, 66px); }
.page-hero .eyebrow { color: #D8CDB8; }
.page-hero h1 {
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 300; letter-spacing: .1em; line-height: 1.3;
}
.page-hero__sub {
  margin: 20px 0 0; max-width: 40em;
  color: rgba(247, 243, 234, .78);
  font-size: clamp(14px, 1.05vw, 15.5px); line-height: 2.05;
}
.crumb {
  position: absolute; right: var(--gutter); bottom: clamp(38px, 5vw, 66px);
  z-index: 2; font-size: 11.5px; letter-spacing: .16em; color: rgba(247,243,234,.55);
}
.crumb a:hover { color: #E4CFA9; }

/* 面包屑（浅色页） */
.page-head { padding: 116px 0 clamp(30px, 4vw, 46px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 300; letter-spacing: .08em; }
.page-head p { color: var(--ink-3); margin: 14px 0 0; font-size: 14.5px; line-height: 2; }

/* ---------- 两栏内容 ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.split--mid { align-items: center; }

.prose p { color: var(--ink-3); line-height: 2.15; margin: 0 0 18px; font-size: 15px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 500; }

.figure-wide { position: relative; }
.figure-wide img { width: 100%; height: clamp(320px, 42vw, 520px); object-fit: cover; }
.figure-wide figcaption {
  margin-top: 12px; font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted); font-family: var(--font-latin);
}

/* ---------- 团队 ---------- */

.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.team-card { background: var(--paper); padding: clamp(24px, 2.6vw, 32px); }
.team-card__avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--paper-3); color: var(--brass-deep);
  display: grid; place-items: center;
  font-family: var(--font-latin); font-size: 16px; letter-spacing: .04em;
  margin-bottom: 22px;
}
.team-card h4 { font-size: 17px; letter-spacing: .08em; }
.team-card em {
  display: block; font-style: normal;
  font-family: var(--font-latin); font-size: 10.5px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
  margin: 9px 0 14px;
}
.team-card p { font-size: 13.5px; line-height: 1.95; color: var(--ink-3); margin: 0; }

/* 主理人（单人卡片 + 头像） */
.team-lead {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(26px, 3.4vw, 52px); align-items: center;
  background: var(--paper); border: 1px solid var(--line);
  padding: clamp(26px, 3.4vw, 48px);
}
.team-lead__avatar {
  width: clamp(128px, 15vw, 188px); height: clamp(128px, 15vw, 188px);
  border-radius: 50%; overflow: hidden; background: var(--paper-3);
  border: 1px solid var(--line);
}
.team-lead__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-lead__body h4 { font-size: clamp(19px, 2vw, 24px); letter-spacing: .12em; margin: 0; }
.team-lead__body em {
  display: block; font-style: normal;
  font-family: var(--font-latin); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
  margin: 10px 0 16px;
}
.team-lead__body p { font-size: 14px; line-height: 2; color: var(--ink-3); margin: 0; max-width: 62ch; }
@media (max-width: 700px) {
  .team-lead { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}

/* ---------- 价值 / 方法 ---------- */

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3.4vw, 44px); }
.value { border-top: 1px solid var(--line); padding-top: 22px; }
.value strong {
  display: block; font-family: var(--font-latin); font-size: 12px;
  letter-spacing: .2em; color: var(--brass); margin-bottom: 16px; font-weight: 400;
}
.value h4 { font-size: 17px; letter-spacing: .06em; margin-bottom: 10px; }
.value p { font-size: 13.8px; line-height: 2; color: var(--ink-3); margin: 0; }

/* ---------- 历程 ---------- */

.timeline { border-left: 1px solid var(--line); margin-left: 5px; }
.tl-item { position: relative; padding: 0 0 34px 30px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -4.5px; top: 8px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--brass);
}
.tl-item time { font-family: var(--font-latin); font-size: 13px; letter-spacing: .16em; color: var(--brass); }
.tl-item h4 { font-size: 16.5px; margin: 8px 0 8px; letter-spacing: .05em; }
.tl-item p { font-size: 13.8px; line-height: 1.95; color: var(--ink-3); margin: 0; }

/* ---------- 服务明细 ---------- */

.svc-block {
  display: grid; grid-template-columns: .9fr 1.1fr;
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(38px, 4.6vw, 60px) 0;
  border-bottom: 1px solid var(--line);
}
.svc-block:first-of-type { border-top: 1px solid var(--ink); }
.svc-block__no { font-family: var(--font-latin); font-size: 12px; letter-spacing: .2em; color: var(--brass); }
.svc-block h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 300; letter-spacing: .06em; margin: 14px 0 8px; }
.svc-block__en {
  font-family: var(--font-latin); font-size: 10.5px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted);
}
.svc-block__body > p { color: var(--ink-3); line-height: 2.1; font-size: 14.5px; margin: 0 0 24px; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.feature-list li {
  font-size: 13.5px; color: var(--ink-2); line-height: 1.8;
  display: flex; gap: 10px; align-items: flex-start;
}
.feature-list li::before {
  content: ""; width: 5px; height: 5px; background: var(--brass);
  margin-top: 9px; flex: none;
}

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  font-size: 15.5px; letter-spacing: .03em; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 17px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { font-size: 14px; line-height: 2.05; color: var(--ink-3); margin: 16px 0 0; max-width: 54em; }

/* ---------- 联系 ---------- */

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 76px); align-items: start; }
.contact-info { display: grid; gap: 24px; }
.ci-item { border-top: 1px solid var(--line); padding-top: 16px; }
.ci-item span {
  display: block; font-family: var(--font-latin); font-size: 11.5px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px;
}
.ci-item strong { display: block; font-size: 17px; font-weight: 400; letter-spacing: .03em; line-height: 1.75; }
.ci-item p { font-size: 13.5px; color: var(--ink-3); margin: 5px 0 0; line-height: 1.95; }
.ci-item a:hover { color: var(--brass-deep); }

.form-card { background: var(--white); border: 1px solid var(--line); padding: clamp(18px, 2.2vw, 30px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-card textarea {
  width: 100%; min-height: 84px; resize: vertical;
  padding: 9px 12px; font-size: 14.5px; border: 1px solid var(--line);
  background: #fff; outline: none; color: var(--ink);
  transition: border-color .3s var(--ease);
}
.form-card textarea:focus { border-color: var(--ink); }
.form-card select { appearance: none; background-image: none; }
.form-hint { font-size: 12px; color: var(--muted); margin: 12px 0 0; line-height: 1.8; }
.form-note {
  font-size: 12.5px; color: var(--ink-3); background: #FBF7EF;
  border-left: 2px solid var(--brass); padding: 10px 12px; margin: 0 0 16px; line-height: 1.8;
}
.form-note a { border-bottom: 1px solid var(--brass); }

/* ---------- 账户 ---------- */

.account-wrap { padding: 110px 0 clamp(60px, 8vw, 110px); background: var(--paper); }
.account-grid { display: grid; grid-template-columns: .8fr 1.5fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.acct-card { background: #fff; border: 1px solid var(--line); padding: clamp(22px, 2.6vw, 32px); }
.acct-card + .acct-card { margin-top: 20px; }
.acct-head { display: flex; gap: 16px; align-items: center; }
.acct-avatar {
  width: 56px; height: 56px; border-radius: 50%; background: var(--paper-3);
  color: var(--brass-deep); display: grid; place-items: center;
  font-family: var(--font-latin); font-size: 17px; flex: none;
}
.acct-meta strong { display: block; font-size: 17px; font-weight: 400; letter-spacing: .04em; }
.acct-meta span { font-size: 12.5px; color: var(--muted); }
.acct-list { list-style: none; padding: 0; margin: 22px 0 0; }
.acct-list li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--line-soft);
  font-size: 13.5px; color: var(--ink-3);
}
.acct-list li:last-child { border-bottom: 0; }
.acct-list strong { color: var(--ink); font-weight: 400; }

.upload-zone {
  display: block;
  border: 1px dashed #CFC6B5; padding: 28px 20px; text-align: center;
  cursor: pointer; transition: border-color .3s var(--ease), background .3s var(--ease);
}
.upload-zone:hover { border-color: var(--brass); background: #FDFBF7; }
.upload-zone p { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.upload-zone small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 8px; }

.file-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.file-item { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--line-soft); background: #fff; }
.file-item__thumb {
  width: 44px; height: 44px; flex: none; background: var(--paper-3);
  display: grid; place-items: center; font-size: 10px; color: var(--muted);
  overflow: hidden; letter-spacing: .04em;
}
.file-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.file-item__info { flex: 1; min-width: 0; }
.file-item__info strong {
  display: block; font-size: 13.5px; font-weight: 400;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.file-item__info span { font-size: 11.5px; color: var(--muted); }
.file-item button { border: 0; background: none; color: var(--muted); font-size: 12.5px; letter-spacing: .08em; }
.file-item button:hover { color: #B4453A; }

/* 施工记录 · 项目内现场照片 */
.rec-photos {
  margin-top: 16px; padding-top: 18px;
  border-top: 1px dashed var(--line-soft);
  transition: background .3s var(--ease);
}
.rec-photos.is-over { background: #FDFBF7; outline: 1px dashed var(--brass); outline-offset: 4px; }
.rec-photos__bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rec-photos__bar b { font-size: 13px; font-weight: 400; letter-spacing: .1em; }
.rec-photos__count { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.rec-photos__add {
  margin-left: auto; font-size: 12.5px; letter-spacing: .06em;
  color: var(--brass); border: 1px solid var(--brass);
  padding: 6px 16px; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.rec-photos__add:hover { background: var(--brass); color: #fff; }
.site-photo-grid { margin-top: 12px; }
.site-photo-grid {
  list-style: none; padding: 0; margin: 18px 0 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px;
}
.site-photo-grid li {
  position: relative; border: 1px solid var(--line-soft);
  background: #fff; padding: 6px;
}
.site-photo-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; height: auto; }
.site-photo-grid .ph-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 6px 2px 2px; font-size: 11.5px; color: var(--muted);
}
.site-photo-grid .ph-meta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-photo-grid button {
  border: 0; background: none; color: var(--muted);
  font-size: 12px; letter-spacing: .06em; cursor: pointer; flex: none;
}
.site-photo-grid button:hover { color: #B4453A; }
.site-photo-empty {
  grid-column: 1 / -1; padding: 28px 0; text-align: center;
  border: 1px dashed var(--line-soft);
  font-size: 13px; color: var(--ink-3);
}

.empty-state { padding: 40px 0; text-align: center; }
.empty-state p { font-size: 14px; color: var(--ink-3); margin: 0 0 20px; }
.list-empty {
  padding: 38px 20px; text-align: center; list-style: none;
  font-size: 13.5px; line-height: 1.9; color: var(--ink-3);
  border: 1px dashed var(--line-soft); background: rgba(0,0,0,.012);
}
.works-grid > .list-empty, .site-grid > .list-empty, .daily-groups > .list-empty { grid-column: 1 / -1; }
.list-empty--records { margin-top: 4px; }
.member-only { max-width: 520px; margin: 0 auto; text-align: center; padding: 60px 0; }

/* ---------- 案例图集 ---------- */

.works-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.works-filters button {
  background: transparent; border: 1px solid #DCD4C4;
  padding: 10px 18px; border-radius: 999px;
  font-size: 12.5px; letter-spacing: .1em; color: var(--ink-3);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.works-filters button:hover { border-color: var(--ink); color: var(--ink); }
.works-filters button.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(24px, 3vw, 40px);
}
.work-card { display: block; background: #fff; }
.work-card.is-hidden { display: none; }
.case-block.is-hidden { display: none; }
.case-filters { display: flex; justify-content: flex-end; margin: 0 0 clamp(26px, 3.4vw, 44px); }
.work-card__media {
  position: relative; margin: 0;
  aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-3);
}
.work-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease), filter .6s var(--ease);
}
.work-card:hover .work-card__media img { transform: scale(1.045); }
.work-card__tag {
  position: absolute; left: 14px; top: 14px;
  padding: 6px 11px;
  background: rgba(251, 249, 245, .93);
  font-size: 11px; letter-spacing: .14em; color: var(--ink-2);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.work-card__body {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px; padding: 18px 2px 16px;
  border-bottom: 1px solid var(--line);
  transition: border-color .4s var(--ease);
}
.work-card:hover .work-card__body { border-bottom-color: var(--ink); }
.work-card__body h3 { font-size: 16.5px; letter-spacing: .05em; font-weight: 400; }
.work-card__body p { margin: 0; font-size: 12px; color: var(--muted); letter-spacing: .06em; white-space: nowrap; }
.works-more { margin-top: clamp(28px, 3.4vw, 44px); text-align: center; }

/* ---------- 效果图灯箱 ---------- */

.lightbox {
  position: fixed; inset: 0; z-index: 210;
  display: grid; place-items: center; padding: clamp(16px, 3vw, 40px);
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__scrim { position: absolute; inset: 0; background: rgba(12, 11, 8, .82); }
.lightbox__panel {
  position: relative;
  width: min(1100px, 100%); max-height: 92vh;
  background: var(--paper);
  display: flex; flex-direction: column;
  transform: translateY(14px);
  transition: transform .5s var(--ease);
}
.lightbox.is-open .lightbox__panel { transform: none; }
.lightbox__media { background: #12110D; overflow: hidden; }
.lightbox__media img { width: 100%; max-height: 68vh; object-fit: contain; }
.lightbox__bar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 18px; flex-wrap: wrap;
  padding: 20px clamp(18px, 2.4vw, 30px);
  border-top: 1px solid var(--line);
}
.lightbox__bar strong { display: block; font-size: 16.5px; font-weight: 400; letter-spacing: .05em; }
.lightbox__bar span { font-size: 12.5px; color: var(--muted); letter-spacing: .06em; }
.lightbox__close {
  position: absolute; right: 10px; top: 10px; z-index: 2;
  width: 38px; height: 38px; border: 0; border-radius: 50%;
  background: rgba(251, 249, 245, .9); color: var(--ink);
  font-size: 20px; line-height: 1;
}

/* ---------- 轮播 ---------- */
.carousel { position: relative; }
.carousel__viewport { overflow: hidden; border-top: 1px solid var(--ink); }
.carousel__track { display: flex; transition: transform .65s var(--ease); }
.car-slide {
  flex: 0 0 100%; min-width: 100%; margin: 0;
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  align-items: stretch;
}
.car-slide__media { overflow: hidden; background: var(--paper-3); }
.car-slide__media img { width: 100%; height: 100%; min-height: clamp(300px, 38vw, 520px); object-fit: cover; display: block; }
.car-slide__body {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(22px, 3vw, 44px); border-right: 1px solid var(--line);
  background: var(--white);
}
.car-slide__no { font-family: var(--font-latin); font-size: 11px; letter-spacing: .24em; color: var(--brass); }
.car-slide__body h3 { font-size: clamp(19px, 2vw, 25px); font-weight: 400; letter-spacing: .03em; margin: 12px 0 6px; }
.car-slide__body em { font-style: normal; font-size: 13px; color: var(--muted); letter-spacing: .05em; }
.car-slide__body p { font-size: 13.8px; line-height: 1.95; color: var(--ink-3); margin: 18px 0 0; }
.car-slide__body .link-arrow { margin-top: 22px; font-size: 13px; }

.carousel__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border: 1px solid rgba(251, 249, 245, .55); border-radius: 50%;
  background: rgba(22, 20, 15, .35); color: #F7F3EA;
  font-size: 17px; line-height: 1; display: grid; place-items: center;
  transition: background .3s var(--ease), border-color .3s var(--ease);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.carousel__nav:hover { background: rgba(22, 20, 15, .7); border-color: #F7F3EA; }
.carousel__nav--prev { left: 14px; }
.carousel__nav--next { right: 14px; }

.carousel__dots { display: flex; justify-content: center; gap: 9px; padding: 18px 0 0; }
.carousel__dots button {
  width: 22px; height: 2px; padding: 0; border: 0;
  background: var(--line); transition: background .3s var(--ease);
}
.carousel__dots button.is-active { background: var(--ink); }

.carousel--plain .carousel__viewport { border-top: 1px solid var(--ink); }

/* ---------- 施工现场 ---------- */
.site-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 30px); }
.site-card { margin: 0; border-top: 1px solid var(--ink); padding-top: 16px; display: flex; flex-direction: column; }
.site-card img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: var(--paper-3); transition: transform 1.1s var(--ease); }
.site-card:hover img { transform: scale(1.025); }
.site-card figcaption { padding: 16px 2px 0; display: grid; gap: 5px; }
.site-card__no { font-family: var(--font-latin); font-size: 10.5px; letter-spacing: .2em; color: var(--brass); text-transform: uppercase; }
.site-card strong { font-size: 16px; font-weight: 500; letter-spacing: .04em; color: var(--ink); }
.site-card em { font-style: normal; font-size: 13px; line-height: 1.85; color: var(--ink-3); }
.site-more { margin: clamp(28px, 4vw, 44px) 0 0; text-align: center; }

/* ---------- 面包屑 ---------- */
.crumbs {
  /* 固定页头高 72-84px，浅色页面包屑需让出头部长度，避免被页头覆盖 */
  padding: 104px 0 0;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--muted);
}
.crumbs__list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.crumbs__list li { display: flex; align-items: center; gap: 8px; }
.crumbs a { opacity: .85; }
.crumbs a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.crumbs .sep { opacity: .45; }

/* 深色大图内的面包屑（置于 page-hero 内） */
.crumbs--light { padding: 0 0 clamp(14px, 2vw, 22px); color: rgba(247, 243, 234, .62); }
.crumbs--light a { color: rgba(247, 243, 234, .95); opacity: 1; }
.crumbs--light a:hover { color: #fff; }

/* ---------- 文章页 ---------- */
.article { padding: clamp(34px, 4vw, 56px) 0 clamp(60px, 8vw, 110px); }
.article__grid { display: grid; grid-template-columns: minmax(0, 1fr) 268px; gap: clamp(32px, 5vw, 80px); align-items: start; }
.article__head { border-bottom: 1px solid var(--ink); padding-bottom: clamp(22px, 3vw, 34px); margin-bottom: clamp(28px, 3.4vw, 44px); }
.article__head h1 {
  font-size: clamp(27px, 3.5vw, 40px);
  font-weight: 300;
  line-height: 1.42;
  letter-spacing: .02em;
  margin: 14px 0 0;
  text-wrap: balance;
}
.article__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }
.article__meta span { display: inline-flex; align-items: center; gap: 6px; }

.prose { max-width: 46em; font-size: 16px; line-height: 1.98; color: var(--ink-2); }
.prose > *:first-child { margin-top: 0; }
.prose h2 {
  font-size: clamp(20px, 2.2vw, 25px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: .03em;
  color: var(--ink);
  margin: 2.5em 0 .85em;
  scroll-margin-top: 110px;
}
.prose h3 { font-size: 16.5px; font-weight: 600; color: var(--ink); margin: 1.9em 0 .55em; }
.prose p { margin: 0 0 1.25em; }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 1.25em; }
.prose li { margin-bottom: .55em; }
.prose li::marker { color: var(--brass); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose em { font-style: normal; color: var(--brass-deep); }
.prose a { color: var(--brass-deep); border-bottom: 1px solid rgba(166, 124, 82, .45); }
.prose a:hover { border-bottom-color: var(--brass-deep); }
.prose blockquote {
  margin: 1.9em 0; padding: 2px 0 2px 20px;
  border-left: 2px solid var(--brass);
  color: var(--ink-3); font-size: 15px; line-height: 1.95;
}
.prose blockquote p:last-child { margin-bottom: 0; }
.table-scroll { margin: 1.5em 0 2em; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prose table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 14px; line-height: 1.75; }
.prose th {
  text-align: left; font-weight: 500; color: var(--ink);
  padding: 10px 12px; border-bottom: 1px solid var(--ink); white-space: nowrap;
}
.prose td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tr:last-child td { border-bottom: none; }
.prose .note {
  font-size: 13px; color: var(--muted); line-height: 1.85;
  border-top: 1px solid var(--line); padding-top: 14px; margin-top: 2.4em;
}

/* 侧栏 */
.article__aside { position: sticky; top: 104px; display: grid; gap: 24px; }
.toc { border: 1px solid var(--line); padding: 22px 20px; background: var(--white); }
.toc h4 { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; font-family: var(--font-latin); font-weight: 400; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; border-top: 1px solid var(--line-soft); }
.toc li:first-child { border-top: none; }
.toc a { display: block; padding: 9px 0; font-size: 13px; color: var(--ink-3); line-height: 1.6; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-latin); font-size: 11px; color: var(--brass); margin-right: 8px; }
.toc a:hover { color: var(--brass-deep); }
.aside-card { background: var(--ink); color: #EFEAE0; padding: 26px 22px; }
.aside-card h4 { font-size: 15px; font-weight: 400; margin: 0 0 10px; letter-spacing: .04em; }
.aside-card p { font-size: 12.8px; line-height: 1.85; color: #B6AC99; margin: 0 0 16px; }
.aside-card .btn { width: 100%; justify-content: center; padding: 12px 14px; font-size: 12.5px; }

/* 文章尾注 + 相关阅读 */
.article__foot { border-top: 1px solid var(--ink); margin-top: clamp(36px, 5vw, 56px); padding-top: 26px; }
.article__foot h3 { font-size: 14px; letter-spacing: .08em; margin: 0 0 14px; font-weight: 500; }
.article__foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.article__foot a { font-size: 14px; color: var(--brass-deep); }

/* ---------- 文章列表 ---------- */
.journal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.post-card { display: flex; flex-direction: column; border-top: 1px solid var(--ink); padding-top: 20px; }
.post-card__cat { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--brass-deep); font-family: var(--font-latin); }
.post-card h3 { font-size: 18.5px; font-weight: 500; line-height: 1.6; margin: 12px 0 10px; letter-spacing: .01em; }
.post-card p { font-size: 13.5px; line-height: 1.9; color: var(--ink-3); margin: 0 0 18px; }
.post-card__meta { margin-top: auto; display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.post-card:hover h3 { color: var(--brass-deep); }

/* 后台文章带封面时的卡片与详情页封面 */
.post-card__cover { margin: 0 0 16px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--paper-3); }
.post-card__cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.post-card:hover .post-card__cover img { transform: scale(1.03); }
.article__cover { margin: 0 0 clamp(26px, 3.4vw, 40px); overflow: hidden; background: var(--paper-3); }
.article__cover img { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- 案例详情 ---------- */
.case-block {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(24px, 4vw, 60px); align-items: stretch;
  padding: clamp(38px, 5vw, 68px) 0; border-top: 1px solid var(--line);
  scroll-margin-top: 100px;
}
.case-block:first-of-type { border-top: none; padding-top: 0; }
.case-block__media { display: block; overflow: hidden; background: var(--paper-3); height: 100%; min-height: 340px; }
.case-block__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.case-block:hover .case-block__media img { transform: scale(1.02); }
.case-block__no { font-family: var(--font-latin); font-size: 12px; letter-spacing: .24em; color: var(--brass); }
.case-block__tag { display: inline-block; margin-left: 12px; font-size: 11px; letter-spacing: .14em; color: var(--ink-3); border: 1px solid var(--line); padding: 2px 8px; }
.case-block h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 400; margin: 12px 0 0; letter-spacing: .02em; }
.case-block__sub { font-size: 13px; color: var(--muted); margin: 8px 0 18px; letter-spacing: .04em; }
.case-block__body > p { font-size: 14.5px; line-height: 1.95; color: var(--ink-3); margin: 0 0 18px; }
.case-meta { list-style: none; margin: 0 0 20px; padding: 0; border-top: 1px solid var(--line); }
.case-meta li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; color: var(--ink-2); }
.case-meta b { font-weight: 400; color: var(--muted); font-size: 12px; letter-spacing: .1em; }

/* ---------- 404 ---------- */
.notfound { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound .h2 { margin: 12px 0 0; }
.notfound p { color: var(--ink-3); font-size: 14.5px; margin: 14px 0 26px; }

/* ---------- 响应式 ---------- */

@media (max-width: 1080px) {
  .article__grid { grid-template-columns: 1fr; }
  .article__aside { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .site-header { height: 68px; }
  .nav {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--paper); color: var(--ink);
    padding: 8px var(--gutter) 28px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform .5s var(--ease);
    visibility: hidden;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a { width: 100%; padding: 16px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
  .nav-toggle { display: grid; }
  .header-cta { display: none; }
  .header-actions { gap: 10px; }
  .header-actions .btn { padding: 11px 18px; font-size: 12.5px; }
  .svc-head { grid-template-columns: 1fr; align-items: start; }
  .about-grid { grid-template-columns: 1fr; }
  .about-figure img { height: clamp(300px, 62vw, 460px); }
  .steps { grid-template-columns: 1fr 1fr; }
  .hero__meta { grid-template-columns: 1fr 1fr; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .works-grid { grid-template-columns: 1fr 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .split, .svc-block, .contact-grid, .account-grid { grid-template-columns: 1fr; }
  .svc-item { grid-template-columns: 48px 1fr 24px; }
  .svc-item__desc { grid-column: 2 / 3; }
  .svc-item__arrow { grid-row: 1; grid-column: 3; }
  .work-row { grid-template-columns: 1.4fr 1fr .5fr; }
  .work-row__type { display: none; }
}

@media (max-width: 760px) {
  .site-header { height: 64px; }
  .awards { grid-template-columns: 1fr; }
  .biz-grid { grid-template-columns: 1fr; }
  .biz-card { min-height: 0; }
  .fee-table th:nth-child(3), .fee-table td:nth-child(3) { display: none; }
  .topbar__group span:nth-child(2) { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .crumb { display: none; }
  .page-hero { min-height: 48vh; }
  .works-grid { grid-template-columns: 1fr; }
  .works-head .works-filters { margin-top: 8px; }
  .lightbox__media img { max-height: 52vh; }
  .account-wrap { padding-top: 92px; }
  .hero { min-height: 92vh; padding-top: 110px; }
  .hero h1 { font-size: clamp(30px, 8.4vw, 42px); }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-band__inner { align-items: flex-start; }
}

/* ---------- SEO 新增页响应式 ---------- */
@media (max-width: 860px) {
  .case-block { grid-template-columns: 1fr; gap: 22px; }
  .journal-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .journal-grid { grid-template-columns: 1fr; }
  .article__aside { grid-template-columns: 1fr; }
  .prose { font-size: 15.5px; }
  .crumbs { padding-top: 86px; font-size: 11.5px; }
}
@media (max-width: 860px) {
  .site-grid { grid-template-columns: 1fr; }
  .car-slide { grid-template-columns: 1fr; }
  .car-slide__body { border-right: none; border-top: 1px solid var(--line); }
  .car-slide__media img { min-height: 240px; max-height: 300px; }
  .carousel__nav { width: 38px; height: 38px; }
}

/* ---------- 施工记录页 ---------- */
.rec-group { border-top: 1px solid var(--ink); padding: clamp(26px, 3.4vw, 40px) 0; }
.rec-group__head { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; flex-wrap: wrap; margin-bottom: 14px; }
.rec-group__head h2 { font-size: clamp(19px, 2.2vw, 24px); font-weight: 400; letter-spacing: .03em; margin: 0; }
.rec-group__head p { font-size: 12.5px; color: var(--muted); letter-spacing: .05em; margin: 0; }
/* 工作日常 · 类型标签（现场记录/项目洽谈/团队日常等） */
.rec-cat {
  font-size: 11px; letter-spacing: .12em; white-space: nowrap;
  color: var(--brass2); border: 1px solid rgba(166, 124, 82, .45);
  padding: 3px 9px;
  margin-left: 14px; margin-right: auto;
}
.rec-list { list-style: none; margin: 0; padding: 0; }
.rec-list li {
  display: grid; grid-template-columns: 76px 104px minmax(0, 1fr) auto;
  gap: 10px 18px; align-items: baseline;
  padding: 13px 0; border-bottom: 1px solid var(--line-soft);
}
.rec-list time { font-family: var(--font-latin); font-size: 12.5px; letter-spacing: .04em; color: var(--brass); white-space: nowrap; }
.rec-list b { font-size: 14px; font-weight: 500; letter-spacing: .04em; color: var(--ink); }
.rec-list p { margin: 0; font-size: 13.5px; line-height: 1.85; color: var(--ink-3); }
.rec-status {
  font-size: 11px; letter-spacing: .1em; white-space: nowrap;
  border: 1px solid var(--line); padding: 3px 9px; color: var(--ink-3);
}
.rec-status.is-done { border-color: rgba(75, 122, 82, .5); color: #4B7A52; }
.rec-status.is-doing { border-color: rgba(166, 124, 82, .6); color: var(--brass2); }
/* 工作日常 · 每日现场照片（宽幅） */
.rec-photo-wide { margin: 16px 0 0; }
.rec-photo-wide img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 3 / 1; object-fit: cover;
}
@media (max-width: 720px) {
  .rec-list li { grid-template-columns: 56px minmax(0, 1fr) auto; }
  .rec-list b { grid-column: 2 / 3; }
  .rec-list p { grid-column: 1 / 3; grid-row: 2; }
}

/* ---------- 案例块内六图轮播 ---------- */
.case-media-carousel { height: 100%; display: flex; flex-direction: column; }
.case-media-carousel .carousel__viewport { flex: 1; border-top: none; background: var(--paper-3); }
.case-media-carousel .carousel__track { height: 100%; }
.case-media-carousel .mini-slide { flex: 0 0 100%; min-width: 100%; margin: 0; height: 100%; }
.case-media-carousel .mini-slide a { display: block; height: 100%; }
.case-media-carousel .mini-slide img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; display: block; }
.case-media-carousel .carousel__dots { padding: 12px 0 0; }
.case-media-carousel .carousel__nav { width: 40px; height: 40px; }

/* ---------- 卡片内多图渐显轮播 ---------- */
.fade-cycle img { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease); }
.fade-cycle img.is-on { opacity: 1; }
.fade-cycle .work-card__tag { z-index: 2; }
.fade-dots {
  position: absolute; left: 0; right: 0; bottom: 10px; z-index: 2;
  display: flex; justify-content: center; gap: 6px;
}
.fade-dots i { width: 14px; height: 2px; background: rgba(251, 249, 245, .5); transition: background .3s var(--ease); }
.fade-dots i.is-on { background: #fff; }
