/* 装修公司官网 - 大图沉浸式设计系统（大型空间 / 高端公装） */
:root {
  --bg: #f4f1ec;
  --surface: #fffdfa;
  --surface-2: #f7f4ef;
  --text: #1a1712;
  --muted: #6f675c;
  --faint: #a49c90;
  --line: #e4ded3;
  --navy: #031c3b;
  --gold: #d3b684;
  --accent: #9a7442;
  --accent-deep: #6b4c26;
  --accent-soft: #f2e9d9;
  --ink: #17140f;
  --ok: #4e8c6a;
  --warn: #c8873a;
  --danger: #b4513f;
  --r-s: 2px;
  --r-m: 3px;
  --r-l: 8px;
  --shadow: 0 1px 2px rgba(45, 36, 26, 0.04);
  --serif: "Songti SC", "Source Han Serif SC", "Noto Serif SC", Georgia, "SimSun", serif;
  --bar-h: 46px;
  --gutter: 16px;
  --page-w: 640px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.35; }
h1, h2, h3 { font-family: var(--serif); letter-spacing: .01em; }
p { margin: 0; }

.wrap { max-width: var(--page-w); margin: 0 auto; padding: 0 var(--gutter) 104px; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.center { text-align: center; }
.row { display: flex; align-items: center; }
.row.between { justify-content: space-between; }
.row.gap8 > * + * { margin-left: 8px; }
.col { display: flex; flex-direction: column; }
.hide { display: none !important; }
.bleed { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); }

/* 滚动入场 */
html.sreveal .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
html.sreveal .rv.in { opacity: 1; transform: none; }

/* ============ 顶部栏 ============ */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(244, 241, 236, .94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-in { max-width: var(--page-w); margin: 0 auto; height: var(--bar-h); padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 9px; min-width: 0; }
.brand-logo {
  width: 48px; height: 26px; flex: none; border-radius: 2px;
  background: var(--navy); display: flex; align-items: center; justify-content: center; padding: 4px 5px;
}
.brand-logo img { width: 100%; height: auto; }
.brand-name { font-size: 15px; font-weight: 600; font-family: var(--serif); letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-sub { font-size: 11px; color: var(--faint); letter-spacing: .06em; }

/* 桌面主导航：手机端由底部 tabbar 承担，此处隐藏 */
.nav-desk { display: none; }

/* 沉浸式页面：顶栏透出下面的大图 */
.topbar.over {
  background: var(--navy);
  border-bottom-color: rgba(211, 182, 132, .18);
}
.topbar.over .brand-name { color: #fff; }
.topbar.over .brand-sub { color: rgba(255, 255, 255, .55); }
.topbar.over .btn.primary {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .45); color: #fff;
}

/* ============ 按钮 ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 0 18px; height: 42px; border-radius: var(--r-s);
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  font-size: 14px; letter-spacing: .04em; cursor: pointer; transition: .15s;
}
.btn:active { transform: scale(.985); }
.btn.primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.gold { background: var(--gold); border-color: var(--gold); color: #1a1408; }
.btn.dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn.block { width: 100%; }
.btn.sm { height: 34px; padding: 0 13px; font-size: 13px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.ghost { background: transparent; }

/* ============ 卡片 / 通用件 ============ */
.card { background: var(--surface); border-radius: var(--r-m); box-shadow: var(--shadow); overflow: hidden; }
.card.pad { padding: 16px; }
.card.plain { background: transparent; box-shadow: none; border: 1px solid var(--line); }
.list { display: grid; gap: 14px; }

.cover { position: relative; width: 100%; aspect-ratio: 3 / 2; background: var(--ink); overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover .tag, .cover .pct {
  position: absolute; top: 10px; font-size: 11px; padding: 3px 8px;
  background: rgba(23, 20, 15, .66); color: #fff; letter-spacing: .1em;
}
.cover .tag { left: 10px; }
.cover .pct { right: 10px; background: var(--gold); color: #1a1408; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-size: 12px; padding: 4px 11px; border-radius: 2px;
  background: transparent; border: 1px solid var(--line); color: var(--muted); letter-spacing: .04em;
}
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.accent { background: var(--accent-soft); border-color: transparent; color: var(--accent-deep); }

/* 类型筛选：网格铺开，一屏内全部可见，按钮加高便于点击 */
.type-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; margin-bottom: 22px; }
.type-grid .chip {
  height: 44px; display: flex; align-items: center; justify-content: center;
  padding: 0 6px; font-size: 13px; letter-spacing: .04em; text-align: center;
  -webkit-tap-highlight-color: transparent; transition: background .18s, color .18s, border-color .18s;
}
.type-grid .chip:active { background: var(--surface-2); }
.type-grid .chip.on:active { background: var(--ink); }

/* 分区标题 */
.sec { margin: 38px 0 16px; display: flex; align-items: flex-end; justify-content: space-between; }
.sec h2 { font-size: 22px; letter-spacing: .04em; }
.sec .kicker { display: block; font-size: 10px; letter-spacing: .3em; color: var(--accent); margin-bottom: 7px; }
.sec .more { font-size: 12px; color: var(--faint); letter-spacing: .06em; }
.kicker { font-size: 10px; letter-spacing: .26em; color: var(--accent); }
.hair { height: 1px; background: var(--line); border: 0; margin: 0; }

.bar { height: 4px; border-radius: 0; background: var(--line); overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--accent); }

/* 表单 */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; letter-spacing: .04em; }
.input, textarea.input, select.input {
  width: 100%; padding: 11px 12px; border-radius: var(--r-s);
  border: 1px solid var(--line); background: var(--surface); outline: none; font-size: 15px;
}
.input:focus { border-color: var(--accent); }
textarea.input { min-height: 88px; resize: vertical; line-height: 1.6; }
.hint { font-size: 12px; color: var(--danger); margin-top: 5px; }

/* 底部导航 */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: rgba(255, 253, 250, .95); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar-in { max-width: var(--page-w); margin: 0 auto; display: flex; }
.tab { flex: 1 1 0; min-width: 0; display: grid; place-items: center; gap: 2px; padding: 8px 0 10px; color: var(--faint); font-size: 11px; letter-spacing: .06em; }
.tab .ico { width: 20px; height: 20px; }
.tab.on { color: var(--text); }
.tab.on .ico { stroke: var(--accent); }

/* 悬浮联系 */
.fab-wrap { position: fixed; right: 16px; bottom: 74px; z-index: 41; max-width: calc(100vw - 32px); }
.fab {
  width: 52px; height: 52px; border-radius: 26px; border: none;
  background: var(--navy); color: var(--gold); display: grid; place-items: center; cursor: pointer;
}

/* 弹层 */
.mask { position: fixed; inset: 0; background: rgba(23, 20, 15, .55); z-index: 50; display: grid; align-items: flex-end; }
.sheet {
  background: var(--surface); border-radius: var(--r-l) var(--r-l) 0 0;
  max-width: 640px; width: 100%; margin: 0 auto; padding: 20px 16px calc(24px + env(safe-area-inset-bottom));
  max-height: 88vh; overflow: auto;
}
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.sheet-title { font-size: 16px; font-weight: 600; font-family: var(--serif); }
.x { border: none; background: none; font-size: 20px; line-height: 1; color: var(--faint); cursor: pointer; padding: 4px; }

#toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: 120px; z-index: 90; display: grid; gap: 8px; width: max-content; max-width: 86vw; }
.toast-item { background: rgba(23, 20, 15, .93); color: #fff; font-size: 13px; padding: 9px 16px; border-radius: 3px; }

.skeleton { background: linear-gradient(90deg, #efece6 25%, #e5e1d9 37%, #efece6 63%); background-size: 400% 100%; animation: sk 1.2s ease infinite; border-radius: 2px; }
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.empty { padding: 48px 16px; text-align: center; color: var(--faint); font-size: 14px; }

/* 内容来源标记：非公司提供、由建站时补写的示例内容 */
.tag-fake {
  font-style: normal; font-weight: 400; font-size: .78em; letter-spacing: 0;
  color: #b04a33; white-space: nowrap;
}
.brandplate .tag-fake, .statbar .tag-fake { color: rgba(240, 178, 156, .95); }

.timeline { position: relative; padding-left: 20px; }
.timeline::before { content: ""; position: absolute; left: 3px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 24px; }
.tl-item::before { content: ""; position: absolute; left: -20px; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.tl-date { font-size: 12px; color: var(--faint); letter-spacing: .1em; }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-s); background: var(--surface-2); cursor: zoom-in; }

.kv { display: grid; grid-template-columns: 84px 1fr; gap: 8px 12px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }

.phone-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 0; border-top: 1px solid var(--line);
  font-family: var(--serif); font-size: 17px; letter-spacing: .04em;
}
.phone-row:first-of-type { border-top: 0; }
.phone-row.main { color: var(--accent-deep); font-size: 19px; }
.phone-row::after { content: '拨打'; font-family: inherit; font-size: 11px; letter-spacing: .1em; color: var(--faint); }

.stat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; }
.stat b { font-family: var(--serif); font-size: 22px; font-weight: 500; display: block; }
.stat span { font-size: 11px; color: var(--faint); }

.scroller { display: flex; gap: 12px; overflow-x: auto; padding: 2px var(--gutter) 6px; margin: 0 calc(var(--gutter) * -1); scroll-snap-type: x mandatory; }
.scroller > * { scroll-snap-align: start; flex: none; width: 236px; }

.lightbox { position: fixed; inset: 0; background: #000; z-index: 80; display: grid; place-items: center; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }

.authbox { max-width: 420px; margin: 8vh auto; padding: 24px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--surface-2); padding: 4px; border-radius: 3px; margin-bottom: 18px; }
.tabs button { height: 34px; border-radius: 2px; border: none; background: transparent; color: var(--muted); cursor: pointer; font-size: 14px; }
.tabs button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.code-row { display: flex; gap: 8px; }
.code-row .input { flex: 1; }
.code-row .btn { height: 44px; white-space: nowrap; }

.admin-nav { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; }
.badge { font-size: 11px; padding: 2px 7px; border-radius: 2px; background: var(--accent-soft); color: var(--accent-deep); letter-spacing: .06em; }
.badge.ok { background: #e6f1ea; color: var(--ok); }
.badge.gray { background: var(--surface-2); color: var(--muted); }

/* ============================================================
   沉浸式组件
   ============================================================ */

/* 全屏头图（多张缓慢切换） */
.hero-screen {
  position: relative; overflow: hidden; background: var(--ink);
  width: 100%; margin: 0;
  height: calc(100vh - var(--bar-h));
  min-height: 440px; max-height: 780px;
}
@supports (height: 100svh) { .hero-screen { height: calc(100svh - var(--bar-h)); } }
.hero-screen .hs-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  animation: heroCycle 16s ease-in-out infinite both;
}
/* 实景照片略微提亮，品牌帧保持原样 */
.hero-screen .hs-img:not(.hs-brand) { filter: brightness(1.07) saturate(1.04); }
.hero-screen .hs-img:nth-child(1) { animation-delay: 0s; }
.hero-screen .hs-img:nth-child(2) { animation-delay: 4s; }
.hero-screen .hs-img:nth-child(3) { animation-delay: 8s; }
.hero-screen .hs-img:nth-child(4) { animation-delay: 12s; }
@keyframes heroCycle {
  0% { opacity: 0; transform: scale(1.04); }
  4% { opacity: 1; }
  25% { opacity: 1; transform: scale(1); }
  34% { opacity: 0; }
  100% { opacity: 0; }
}
/* 第 1 帧：品牌铭牌（藏青底 + 金色组合标），内容上移把下半屏让给标题 */
.hero-screen .hs-brand {
  display: flex; flex-direction: column; align-items: center;
  padding: clamp(50px, 10vh, 96px) 26px 0; text-align: center;
  background: var(--navy);
}
.hero-screen .hs-brand::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(118% 74% at 50% 30%, rgba(211, 182, 132, .13) 0%, rgba(211, 182, 132, 0) 66%);
}
.hero-screen .hs-brand img {
  position: relative; display: block; width: clamp(230px, 62vw, 420px); height: auto;
}
.hero-screen .hs-brand .hb-rule {
  position: relative; width: 40px; height: 1px; margin: 16px 0 10px;
  background: rgba(211, 182, 132, .55);
}
.hero-screen .hs-brand .hb-en {
  position: relative; font-size: 10px; letter-spacing: .44em; text-indent: .44em;
  color: rgba(211, 182, 132, .92);
}
.hero-screen .hs-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12, 10, 8, .26) 0%, rgba(12, 10, 8, .02) 24%,
              rgba(12, 10, 8, .08) 46%, rgba(12, 10, 8, .34) 68%, rgba(12, 10, 8, .66) 100%);
}
.hero-copy { position: absolute; inset: auto 0 0 0; padding: 0 20px 30px; color: #fff; }
.hero-copy .eyebrow { font-size: 10px; letter-spacing: .34em; color: var(--gold); margin-bottom: 12px; }
.hero-copy h1 {
  font-size: 31px; color: #fff; line-height: 1.28; letter-spacing: .03em; font-weight: 500;
  text-shadow: 0 1px 18px rgba(0, 0, 0, .5), 0 1px 3px rgba(0, 0, 0, .35);
}
.hero-copy p {
  margin-top: 12px; font-size: 13px; color: rgba(255, 255, 255, .82); letter-spacing: .08em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .55);
}
.hero-cta { margin-top: 22px; display: flex; gap: 10px; }
.hero-cta .btn { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .5); color: #fff; }
.hero-cta .btn.gold { background: var(--gold); border-color: var(--gold); color: #1a1408; }
.hero-scroll {
  position: absolute; right: 18px; bottom: 24px; writing-mode: vertical-rl;
  font-size: 9px; letter-spacing: .3em; color: rgba(255, 255, 255, .45);
}
@media (prefers-reduced-motion: reduce) {
  .hero-screen .hs-img { animation: none; opacity: 0; }
  .hero-screen .hs-img:nth-child(2) { opacity: 1; }
}

/* 通栏大图条目（作品 / 在建 / 案例列表通用） */
.feature { position: relative; display: block; margin: 0 calc(var(--gutter) * -1) 22px; background: var(--ink); overflow: hidden; }
.feature:last-child { margin-bottom: 0; }
.feature > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.feature.tall > img { aspect-ratio: 3 / 4; }
.feature .f-scrim {
  position: absolute; inset: auto 0 0 0; height: 74%;
  background: linear-gradient(180deg, rgba(12, 10, 8, 0) 0%, rgba(12, 10, 8, .12) 32%,
              rgba(12, 10, 8, .52) 58%, rgba(12, 10, 8, .9) 100%);
}
.feature .f-copy { position: absolute; left: 16px; right: 16px; bottom: 15px; color: #fff; }
.feature .f-idx {
  position: absolute; top: 12px; left: 14px;
  font-family: var(--serif); font-size: 11px; letter-spacing: .24em;
  color: rgba(255, 255, 255, .66); text-shadow: 0 1px 6px rgba(0, 0, 0, .4);
}
.feature .f-tag {
  position: absolute; top: 12px; right: 14px;
  font-size: 10px; letter-spacing: .16em; padding: 3px 8px;
  background: rgba(255, 255, 255, .14); color: #fff; backdrop-filter: blur(4px);
}
.feature h3 { font-size: 19px; font-weight: 500; letter-spacing: .03em; }
.feature .f-meta { margin-top: 5px; font-size: 11px; letter-spacing: .14em; color: rgba(255, 255, 255, .66); }
.feature .f-tags { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 5px; }
.feature .f-tags i {
  font-style: normal; font-size: 10px; letter-spacing: .06em; padding: 2px 7px;
  background: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .9);
}
.feature .f-bar { margin-top: 10px; }
.feature .f-bar .bar { background: rgba(255, 255, 255, .22); }
.feature .f-bar .bar > i { background: var(--gold); }

/* 详情页头图 */
.case-hero { position: relative; margin: 0 calc(var(--gutter) * -1); overflow: hidden; background: var(--ink); }
.case-hero > img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
.case-hero .hs-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12, 10, 8, .35) 0%, rgba(12, 10, 8, .04) 34%,
              rgba(12, 10, 8, .18) 56%, rgba(12, 10, 8, .82) 100%);
}
.case-hero .ch-copy { position: absolute; inset: auto 0 0 0; padding: 0 18px 26px; color: #fff; }
.case-hero .ch-copy h1 { font-size: 24px; font-weight: 500; color: #fff; letter-spacing: .03em; line-height: 1.35; }
.case-hero .ch-copy .eyebrow { font-size: 10px; letter-spacing: .3em; color: var(--gold); margin-bottom: 10px; }

/* 空间分册 */
.space { margin-bottom: 38px; }
.space-head { margin-bottom: 10px; }
.space-idx { display: block; font-family: var(--serif); font-size: 11px; letter-spacing: .24em; color: var(--accent); }
.space-head h3 { font-size: 19px; font-weight: 500; letter-spacing: .03em; margin-top: 5px; }
.space-desc { font-size: 13px; color: var(--muted); line-height: 1.85; margin-top: 8px; }
.figs { display: grid; gap: 4px; margin-top: 14px; }
.figs img { width: 100%; display: block; background: var(--surface-2); cursor: zoom-in; object-fit: cover; aspect-ratio: 16 / 10; }
.figs.bleed { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); }
.figs.bleed img { aspect-ratio: 3 / 2; }
.figs.two { grid-template-columns: 1fr 1fr; }
.figs.two img { aspect-ratio: 1 / 1; }

.plate { position: relative; background: var(--surface-2); overflow: hidden; }
.plate img { width: 100%; display: block; }

/* 导语 / 引言 */
.lead { font-family: var(--serif); font-size: 14.5px; line-height: 1.95; color: #3a342c; }

/* 品牌铭牌 */
.brandplate { background: var(--navy); color: #efe2c6; margin: clamp(30px, 3.4vw, 48px) calc(var(--gutter) * -1) 0; padding: 36px 22px 40px; text-align: center; }
.brandplate .bp-kw { font-size: 10px; letter-spacing: .17em; line-height: 1.9; color: rgba(211, 182, 132, .62); }
.brandplate .bp-logo { width: 208px; margin: 20px auto 0; }
.brandplate .bp-rule { width: 34px; height: 1px; background: rgba(211, 182, 132, .45); margin: 18px auto 12px; }
.brandplate .bp-en { font-size: 9.5px; letter-spacing: .34em; color: rgba(211, 182, 132, .5); }
.brandplate .statbar { background: transparent; margin: 24px -22px 0; padding: 20px 12px 22px; border-top: 1px solid rgba(211, 182, 132, .14); color: #efe2c6; }

.statbar { background: var(--navy); color: #f2ece1; margin: 0 calc(var(--gutter) * -1); padding: 26px var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
/* 页内锚点滚动时避开吸顶导航 */
#works { scroll-margin-top: calc(var(--bar-h) + 14px); }

/* 首页数据：叠在大图右上角，靠柔和暗角托底 */
.hero-figures {
  position: absolute; top: 28px; right: clamp(18px, 3vw, 44px); z-index: 6;
  text-align: right; letter-spacing: .08em;
  text-shadow: 0 1px 16px rgba(0, 0, 0, .62), 0 1px 3px rgba(0, 0, 0, .42);
}
.hero-figures::before {
  content: ""; position: absolute; inset: -46px -64px -32px -120px; z-index: -1;
  background: radial-gradient(115% 105% at 100% 0%, rgba(3, 20, 38, .62) 0%,
              rgba(3, 20, 38, .28) 45%, rgba(3, 20, 38, 0) 74%);
}
.hero-figures > div {
  display: flex; align-items: baseline; justify-content: flex-end; gap: 11px; padding: 10px 0;
}
.hero-figures > div + div { border-top: 1px solid rgba(211, 182, 132, .22); }
.hero-figures b {
  font-family: var(--serif); font-size: 33px; font-weight: 500;
  color: #f0dcb4; letter-spacing: .02em; line-height: 1;
}
.hero-figures span { font-size: 11.5px; color: rgba(255, 255, 255, .8); letter-spacing: .12em; }
.statbar > div + div { border-left: 1px solid rgba(242, 236, 225, .12); }
.statbar b { display: block; font-family: var(--serif); font-size: 25px; font-weight: 500; letter-spacing: .02em; }
.statbar span { font-size: 10px; letter-spacing: .12em; color: rgba(242, 236, 225, .5); }

/* 服务领域 */
.types { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.type-cell { background: var(--surface); border: 1px solid var(--line); padding: 18px 14px 16px; position: relative; }
.type-cell i { font-style: normal; display: block; font-size: 10px; letter-spacing: .22em; color: var(--accent); margin-bottom: 8px; }
.type-cell b { display: block; font-family: var(--serif); font-size: 16px; font-weight: 600; letter-spacing: .04em; }
.type-cell span { display: block; margin-top: 5px; font-size: 11px; color: var(--faint); line-height: 1.6; }

/* ============================================================
   平板（768–1023）：放宽留白，仍以单列为主
   ============================================================ */
@media (min-width: 768px) {
  :root { --gutter: 28px; --page-w: 760px; }
  .hero-copy { padding: 0 28px 44px; }
  .hero-copy h1 { font-size: 40px; }
  .hero-copy p { font-size: 14px; }
  .feature > img, .case-hero > img { aspect-ratio: 16 / 9; }
  .feature .f-copy, .case-hero .ch-copy { left: 24px; right: 24px; bottom: 24px; }
  .feature h3 { font-size: 23px; }
  .case-hero .ch-copy h1 { font-size: 30px; }
}

/* ============================================================
   桌面大屏（≥1024）：加宽容器、多列网格、详情双栏
   ============================================================ */
@media (min-width: 1024px) {
  :root { --gutter: 36px; --page-w: 1200px; --bar-h: 72px; }

  body { font-size: 16px; }

  /* ---- 顶栏：品牌 + 主导航 + 行动按钮 ---- */
  .topbar-in { gap: 44px; }
  .brand-logo { width: 58px; height: 31px; }
  .brand-name { font-size: 17px; }
  .brand-sub { font-size: 11.5px; }

  .nav-desk { display: flex; align-items: center; gap: 32px; margin-right: auto; }
  .nav-desk a {
    position: relative; font-size: 14.5px; letter-spacing: .08em; color: var(--muted);
    padding: 6px 0; transition: color .18s;
  }
  .nav-desk a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
  }
  .nav-desk a:hover { color: var(--text); }
  .nav-desk a:hover::after, .nav-desk a.on::after { transform: scaleX(1); }
  .nav-desk a.on { color: var(--text); }

  .topbar.over .nav-desk a { color: rgba(255, 255, 255, .72); }
  .topbar.over .nav-desk a:hover, .topbar.over .nav-desk a.on { color: #fff; }
  .topbar.over .nav-desk a::after { background: var(--gold); }

  .topbar-cta { height: 40px; padding: 0 20px; font-size: 14px; }

  /* 底部导航与悬浮按钮是手机专属，桌面由顶栏承担 */
  .tabbar, .fab-wrap { display: none !important; }
  .wrap { padding-bottom: 80px; }

  /* ---- 分区标题 ---- */
  .sec { margin: 62px 0 24px; }
  .sec h2 { font-size: 28px; }
  .sec .kicker { font-size: 11px; margin-bottom: 10px; }
  .sec .more { font-size: 13px; }

  /* ---- 首屏 ---- */
  .hero-screen { max-height: 880px; }
  .hero-copy { padding: 0 var(--gutter) 68px; max-width: 860px; }
  .hero-copy .eyebrow { font-size: 11px; letter-spacing: .42em; margin-bottom: 20px; }
  .hero-copy h1 { font-size: 54px; letter-spacing: .045em; }
  .hero-copy p { font-size: 15px; margin-top: 18px; }
  .hero-cta { margin-top: 32px; gap: 12px; }
  .hero-cta .btn { height: 48px; padding: 0 28px; font-size: 15px; }
  .hero-cta .btn:hover { background: rgba(255, 255, 255, .2); }
  .hero-cta .btn.gold:hover { background: #e2caa2; }
  .hero-scroll { right: var(--gutter); bottom: 34px; }

  /* ---- 通栏大图条目：进入网格后取消出血 ---- */
  #case-list, #proj-list, #list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; align-items: start; }
  #case-list > *, #proj-list > *, #list > * { margin: 0; }
  /* 首条作品跨满整行，形成主次分明的杂志式节奏 */
  #case-list > .feature:first-child, #list > .feature:first-child { grid-column: 1 / -1; }
  #case-list > .feature:first-child > img, #list > .feature:first-child > img { aspect-ratio: 21 / 9; max-height: 640px; }
  #case-list > .feature:first-child h3, #list > .feature:first-child h3 { font-size: 30px; }
  #case-list > .empty, #proj-list > .empty, #list > .empty { grid-column: 1 / -1; }
  .feature > img { aspect-ratio: 3 / 2; transition: transform .9s cubic-bezier(.2, .6, .2, 1); }
  .feature:hover > img { transform: scale(1.035); }
  .feature .f-scrim { height: 66%; }
  .feature .f-copy { left: 26px; right: 26px; bottom: 24px; transition: transform .5s ease; }
  .feature:hover .f-copy { transform: translateY(-3px); }
  .feature h3 { font-size: 23px; }
  .feature .f-meta { font-size: 12px; margin-top: 7px; }
  .feature .f-tags { margin-top: 11px; gap: 6px; }
  .feature .f-tags i { font-size: 11px; padding: 3px 10px; }
  .feature .f-idx { top: 16px; left: 20px; font-size: 12px; }
  .feature .f-tag { top: 16px; right: 20px; font-size: 11px; padding: 4px 10px; }
  .feature.tall > img { aspect-ratio: 3 / 2; }

  /* ---- 筛选：桌面一行排开 ---- */
  .type-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-bottom: 32px; }
  .type-grid .chip { height: 46px; font-size: 14px; cursor: pointer; }
  .type-grid .chip:hover { border-color: var(--accent); color: var(--accent-deep); }
  .type-grid .chip.on:hover { color: #fff; }

  /* ---- 服务领域 ---- */
  .types { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .type-cell { padding: 28px 24px 26px; }
  .type-cell b { font-size: 19px; }
  .type-cell span { font-size: 12.5px; margin-top: 9px; }

  /* ---- 详情页：左内容 + 右信息栏 ---- */
  .detail-grid { display: grid; grid-template-columns: 1fr 352px; gap: 60px; align-items: start; margin-top: 44px; }
  .detail-main { grid-column: 1; grid-row: 1; min-width: 0; }
  .detail-side { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--bar-h) + 26px); display: grid; gap: 18px; }
  .detail-side .sec, .detail-main > .sec:first-child { margin-top: 0; }

  .case-hero > img { aspect-ratio: 21 / 9; max-height: 640px; }
  .case-hero .ch-copy { padding: 0 var(--gutter) 48px; max-width: 900px; }
  .case-hero .ch-copy h1 { font-size: 40px; }
  .case-hero .ch-copy .eyebrow { font-size: 11px; letter-spacing: .36em; margin-bottom: 16px; }

  /* ---- 卡片与文本 ---- */
  .card.pad { padding: 26px 28px; }
  .card:hover { box-shadow: 0 2px 10px rgba(45, 36, 26, .07); }
  .kv { grid-template-columns: 92px 1fr; gap: 13px 18px; font-size: 15px; }
  .lead { font-size: 16px; line-height: 2.05; }
  .space { margin-bottom: 58px; }
  .space-head h3 { font-size: 23px; }
  .space-desc { font-size: 14.5px; max-width: 760px; line-height: 1.95; }

  /* ---- 图集：多图两列，单图通栏 ---- */
  .figs { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .figs.solo { grid-template-columns: 1fr; }
  .figs img { aspect-ratio: 3 / 2; }
  .figs.bleed img { aspect-ratio: 16 / 9; }

  /* ---- 流程：三列网格替代竖排时间轴（施工日记仍保持竖排） ---- */
  .timeline.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px 40px; padding-left: 0; }
  .timeline.flow::before { display: none; }
  .timeline.flow .tl-item { padding: 0 0 0 20px; border-left: 1px solid var(--line); position: relative; }
  .timeline.flow .tl-item::before { left: -4px; top: 9px; }
  .timeline.flow .tl-item b { font-size: 17px; }
  .timeline.flow .tl-item p { font-size: 14px; margin-top: 8px; line-height: 1.8; }

  /* 施工日记：桌面加宽版竖排时间轴 */
  .timeline { padding-left: 28px; }
  .timeline::before { left: 4px; }
  .tl-item { padding-bottom: 32px; }
  .tl-item::before { left: -28px; top: 8px; }
  .tl-item b { font-size: 17px; }
  .tl-item p { font-size: 14px; line-height: 1.85; }

  /* ---- 品牌铭牌 ---- */
  .brandplate { padding: 58px 40px 0; }
  .brandplate .bp-kw { font-size: 11.5px; letter-spacing: .22em; }
  .brandplate .bp-logo { width: 264px; }
  .brandplate .bp-en { font-size: 10.5px; }
  .brandplate .statbar { margin: 38px -40px 0; padding: 30px 20px 34px; }
  .statbar b { font-size: 34px; }
  .statbar span { font-size: 11.5px; }

  /* ---- 联系信息 ---- */
  .phone-row { font-size: 19px; padding: 14px 0; }
  .phone-row.main { font-size: 23px; }
  .phone-row::after { content: '拨打 →'; font-size: 12px; }

  /* ---- 弹层：桌面居中对话框 ---- */
  .mask { align-items: center; padding: 40px 20px; }
  .sheet { max-width: 560px; border-radius: var(--r-m); padding: 26px 28px 30px; max-height: 86vh; }
  .sheet-title { font-size: 18px; }
  .input, textarea.input, select.input { padding: 12px 14px; }

  .gallery { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .empty { padding: 72px 16px; font-size: 15px; }
}

/* 超大屏：进一步放宽，保持阅读行长 */
@media (min-width: 1440px) {
  :root { --gutter: 48px; --page-w: 1360px; }
  .hero-copy h1 { font-size: 60px; }
  .case-hero .ch-copy h1 { font-size: 44px; }
  .detail-grid { grid-template-columns: 1fr 380px; gap: 72px; }
}

/* ============================================================
   团队 / 公司介绍
   ============================================================ */

/* 页头（非全屏，保留大图但不占满一屏） */
.team-hero { position: relative; margin: 0 calc(var(--gutter) * -1); overflow: hidden; background: var(--ink); }
.team-hero > img { width: 100%; aspect-ratio: 4 / 3; max-height: 62vh; object-fit: cover; display: block; }
.team-hero .hs-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12, 10, 8, .46) 0%, rgba(12, 10, 8, .06) 38%,
              rgba(12, 10, 8, .2) 60%, rgba(12, 10, 8, .88) 100%);
}
.team-hero .th-copy { position: absolute; inset: auto 0 0 0; padding: 0 20px 28px; color: #fff; }
.team-hero .eyebrow { font-size: 10px; letter-spacing: .34em; color: var(--gold); margin-bottom: 10px; }
.team-hero h1 { font-size: 26px; font-weight: 500; color: #fff; line-height: 1.32; letter-spacing: .03em; }
.team-hero p { margin-top: 10px; font-size: 12.5px; color: rgba(255, 255, 255, .7); letter-spacing: .07em; }

/* 成员卡 */
.team-grid { display: grid; gap: 20px; }
.member { background: var(--surface); box-shadow: var(--shadow); }
.m-photo { position: relative; overflow: hidden; background: #ded9d1; }
.m-photo img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block;
  transition: transform 1.1s cubic-bezier(.2, .6, .2, 1);
}
.member:hover .m-photo img { transform: scale(1.035); }
.m-idx {
  position: absolute; left: 12px; top: 10px; font-family: var(--serif); font-size: 11px;
  letter-spacing: .24em; color: rgba(255, 255, 255, .82); text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}
.m-body { padding: 16px 16px 18px; }
.m-name { font-family: var(--serif); font-size: 21px; letter-spacing: .08em; font-weight: 600; }
.m-role { font-size: 11px; letter-spacing: .18em; color: var(--accent); margin-top: 6px; }
.m-facts { margin-top: 13px; border-top: 1px solid var(--line); }
.m-facts > div { display: grid; grid-template-columns: 58px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.m-facts .k { font-size: 11.5px; color: var(--faint); letter-spacing: .06em; }
.m-facts .v { font-size: 12.5px; line-height: 1.68; }
.m-honor { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 5px; }.m-honor li { position: relative; padding-left: 11px; font-size: 11.5px; color: var(--muted); line-height: 1.6; }
.m-honor li::before { content: ""; position: absolute; left: 0; top: .68em; width: 5px; height: 1px; background: var(--accent); }
.m-works { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 11px; }
.m-works span { font-size: 11px; padding: 3px 8px; background: var(--surface-2); color: var(--muted); letter-spacing: .02em; }
.m-more { margin-top: 9px; font-size: 11px; color: var(--faint); letter-spacing: .06em; }
.m-bio { margin-top: 12px; font-size: 12.5px; color: var(--muted); line-height: 1.78; }

/* 创始人置顶卡（张荣） */
.member-featured { margin-bottom: 20px; }
.member-featured .m-photo img { aspect-ratio: 4 / 3; }
.member-featured .m-name { font-size: 26px; }
@media (min-width: 768px) {
  .member-featured { display: grid; grid-template-columns: 40% 1fr; margin-bottom: 24px; }
  .member-featured .m-photo { height: 100%; }
  .member-featured .m-photo img { aspect-ratio: auto; height: 100%; object-fit: cover; object-position: 50% 16%; }
  .member-featured .m-body { padding: 26px 28px; }
  .member-featured .m-name { font-size: 30px; }
}
@media (min-width: 1024px) {
  .member-featured { grid-template-columns: 34% 1fr; margin-bottom: 28px; }
  .member-featured .m-body { padding: 34px 38px; }
  .member-featured .m-name { font-size: 34px; }
}

/* 管理体系 */
.rules { display: grid; }
.rule { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 15px 0; border-top: 1px solid var(--line); }
.rule:first-child { border-top: 0; padding-top: 0; }
.rule i { font-style: normal; font-family: var(--serif); font-size: 11px; letter-spacing: .1em; color: var(--accent); padding-top: 3px; }
.rule b { display: block; font-size: 14px; font-weight: 600; letter-spacing: .01em; }
.rule p { margin-top: 4px; font-size: 12.5px; color: var(--muted); line-height: 1.72; }

/* 服务流程 12 步 */
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.step { background: var(--surface); padding: 14px 13px 15px; }
.step i { font-style: normal; font-size: 10px; letter-spacing: .18em; color: var(--accent); }
.step b { display: block; margin-top: 7px; font-size: 13.5px; font-weight: 500; line-height: 1.45; }

/* 首页团队条 */
.team-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ts-cell { position: relative; display: block; overflow: hidden; background: var(--ink); }
.ts-cell img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block;
  transition: transform 1s cubic-bezier(.2, .6, .2, 1);
}
.ts-cell:hover img { transform: scale(1.04); }
.ts-copy {
  position: absolute; inset: auto 0 0 0; padding: 30px 10px 11px; color: #fff;
  background: linear-gradient(180deg, rgba(12, 10, 8, 0) 0%, rgba(12, 10, 8, .8) 100%);
}
.ts-copy b { display: block; font-family: var(--serif); font-size: 15px; font-weight: 500; letter-spacing: .06em; }
.ts-copy span { display: block; margin-top: 3px; font-size: 10px; letter-spacing: .1em; color: rgba(255, 255, 255, .66); }

@media (max-width: 767px) {
  /* 手机上人像限高，避免 6 张竖图把页面拉得过长 */
  .m-photo img { max-height: 420px; object-position: 50% 14%; }
}

@media (min-width: 768px) {
  .team-hero > img { aspect-ratio: 16 / 9; }
  .team-hero .th-copy { padding: 0 28px 40px; }
  .team-hero h1 { font-size: 34px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .team-strip { grid-template-columns: repeat(6, 1fr); }
}

@media (min-width: 1024px) {
  .team-hero > img { aspect-ratio: 21 / 9; max-height: 520px; }
  .team-hero .th-copy { padding: 0 var(--gutter) 54px; max-width: 900px; }
  .team-hero h1 { font-size: 42px; }
  .team-hero p { font-size: 14px; margin-top: 14px; }
  .team-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
  .m-body { padding: 20px 20px 22px; }
  .m-name { font-size: 23px; }
  .rule { grid-template-columns: 34px 1fr; padding: 18px 0; }
  .rule b { font-size: 15.5px; }
  .rule p { font-size: 14px; margin-top: 6px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step { padding: 18px 16px 20px; }
  .step b { font-size: 14.5px; }
  .ts-copy b { font-size: 16px; }
}


/* 首页数据（手机端收小，避免压图） */
@media (max-width: 420px) {
  .hero-figures { top: 14px; right: 16px; }
  .hero-figures > div { padding: 5px 0; gap: 7px; }
  .hero-figures b { font-size: 16px; }
  .hero-figures span { font-size: 9px; letter-spacing: .06em; }
  .hero-figures::before { inset: -18px -26px -14px -60px; }
}
