/* ============================================================
   昊辰设计 · 网站样式（年鉴 / 杂志风）
   多图少字 · 大留白 · 克制排版 · 翠微 #00A86B 点缀
   ============================================================ */

:root {
  /* 昊辰品牌色 · 翠微 Jade Mist */
  --brand: #00A86B;
  --brand-deep: #007E50;   /* 深翠微 */
  --brand-light: #33BF83;  /* 浅翠微 */
  --brand-pale: #B3E5D1;   /* 淡翠微 */
  --gold: #C8A96E;         /* 香槟金 */
  --deep: #003228;         /* 深绿 */
  --ink: #2C2C2A;          /* 碳黑 */
  --ink-2: #4a4f45;
  --ink-3: #8b9186;
  --paper: #f6f3ec;        /* 偏暖白 */
  --line: #e3e0d8;
  --white: #ffffff;
  --w: 1360px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.serif-num { font-variant-numeric: tabular-nums; }

.wrap { max-width: var(--w); margin: 0 auto; padding: 0 32px; }

/* ---------- 顶栏 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246,243,236,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  max-width: var(--w); margin: 0 auto; padding: 0 32px;
  height: 96px;
  display: flex; align-items: center;
  position: relative;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px; object-fit: contain;
  border-radius: 4px;
}
.brand-logo {
  height: 62px; width: 250px; display: block;
  object-fit: contain;
}
.site-header .brand {
  position: absolute; left: 40px; top: 50%; transform: translateY(-50%);
}
.site-footer .brand-logo { height: 50px; }
.brand-name { line-height: 1.15; }
.brand-name b { font-size: 19px; font-weight: 700; letter-spacing: 3px; display: block; }
.brand-name span { font-size: 9px; letter-spacing: 3.5px; color: var(--ink-3); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a {
  position: relative; display: flex; flex-direction: row; align-items: baseline; gap: 6px;
  padding: 8px 13px; font-size: 16px; color: var(--ink-2);
  letter-spacing: 1px; transition: color .25s;
}
.nav a::before {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px;
  height: 1.5px; background: var(--brand);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.nav a::after {
  content: attr(data-en);
  font-size: 9.5px; letter-spacing: 1.5px; color: #b1b4ab;
  text-transform: uppercase; line-height: 1;
  transition: color .25s;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::before, .nav a.cur::before { transform: scaleX(1); }
.nav a:hover::after, .nav a.cur::after { color: var(--brand); }
.nav a.cur { color: var(--ink); font-weight: 600; }

/* ---------- 通用 ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; letter-spacing: 4px; color: var(--ink-3);
  text-transform: uppercase; margin-bottom: 18px;
}
.eyebrow:before { content: ""; width: 26px; height: 1px; background: var(--brand); }
.sec-title { font-size: clamp(26px,3.2vw,40px); font-weight: 700; letter-spacing: 1px; line-height: 1.25; }
.sec-sub { color: var(--ink-2); margin-top: 12px; font-size: 15px; }
figcaption { font-size: 12px; color: var(--ink-3); letter-spacing: .5px; }

/* 英文点缀：孤独汉字旁 + 区块英文小字 */
.en { font-family: "Helvetica Neue", Arial, sans-serif; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; }
.sec-en { display: block; margin-top: 14px; font-size: 12px; letter-spacing: 3px; color: var(--ink-3); font-family: "Helvetica Neue", Arial, sans-serif; text-transform: uppercase; }
.fact .en { display: block; margin-top: 3px; font-size: 10px; letter-spacing: 2px; color: var(--ink-3); }
.gold-rule { width: 42px; height: 2px; background: var(--gold); margin: 18px 0 6px; }

/* 可点击图：hover 放大 + 角标浮现 */
.zoom { overflow: hidden; background: var(--ink); }
.zoom img { transition: transform .8s cubic-bezier(.2,.6,.2,1), opacity .5s; width: 100%; }
.zoom:hover img { transform: scale(1.04); }
.zoom .hint {
  position: absolute; right: 18px; bottom: 16px;
  color: #fff; font-size: 13px; letter-spacing: 2px;
  opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s;
  display: flex; align-items: center; gap: 8px;
}
.zoom .hint:after { content: "→"; font-size: 16px; }
.zoom:hover .hint { opacity: 1; transform: none; }

/* ---------- HERO ---------- */
.hero { position: relative; height: 100vh; min-height: 620px; overflow: hidden; background: #101010; }
.hero .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero .slide.on { opacity: 1; }
.hero .slide img { width: 100%; height: 100%; }
.hero .slide:after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.14) 0%, rgba(0,0,0,0) 32%, rgba(0,0,0,.18) 74%, rgba(0,0,0,.42) 100%);
}
.hero .caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
}
.hero .caption .inner { max-width: var(--w); margin: 0 auto; padding: 0 32px 44px; }
.hero .line { color: #fff; }
.hero .line b {
  display: block; font-size: clamp(30px,4.6vw,60px);
  font-weight: 700; letter-spacing: 2px; line-height: 1.2;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.hero .line span.sub {
  display: block; margin-top: 16px; font-size: clamp(14px,1.4vw,17px);
  letter-spacing: 3px; color: rgba(255,255,255,.82); font-weight: 400;
}
.hero .dots { display: flex; gap: 8px; margin-top: 24px; }
.hero .dots i {
  width: 22px; height: 2px; background: rgba(255,255,255,.35); cursor: pointer;
  transition: background .3s, width .3s;
}
.hero .dots i.on { background: #fff; width: 34px; }
.hero .scroll-cue {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
  color: rgba(255,255,255,.65); font-size: 11px; letter-spacing: 4px; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero .scroll-cue:after { content: ""; width: 1px; height: 26px; background: rgba(255,255,255,.5); animation: cue 1.8s infinite; }
@keyframes cue { 0%{transform:scaleY(0);transform-origin:top}50%{transform:scaleY(1);transform-origin:top}51%{transform-origin:bottom}100%{transform:scaleY(0);transform-origin:bottom} }

/* ---------- 信息条（hero 下沿） ---------- */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.facts .grid { display: grid; grid-template-columns: repeat(4,1fr); }
.fact { padding: 22px 24px; text-align: center; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact b { font-size: 24px; font-weight: 700; letter-spacing: 1px; }
.fact span { display: block; font-size: 12px; color: var(--ink-3); letter-spacing: 2px; margin-top: 2px; }

/* ---------- 大图区块 ---------- */
.band { padding: 84px 0; }
.band.tight { padding: 60px 0; }
.band-head { margin-bottom: 40px; }

/* 两图并列 */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.duo figure { position: relative; }
.duo .zoom { position: relative; }
.duo figcaption { margin-top: 12px; display: flex; justify-content: space-between; }

/* 图 + 文字 双栏 */
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.split.slim { grid-template-columns: 1fr 1fr; }
.split .zoom { position: relative; }

/* 工艺幕后（图前幕后） */
.craft-band { position: relative; height: 88vh; min-height: 520px; overflow: hidden; }
.craft-band img { width: 100%; height: 100%; object-fit: cover; }
.craft-band:after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(0,0,0,.5) 0%,rgba(0,0,0,0) 55%); }
.craft-band .txt { position: absolute; left:0; top:0; bottom:0; z-index:2; width:100%; }
.craft-band .txt .inner { max-width:var(--w); margin:0 auto; padding:0 32px; height:100%; display:flex; flex-direction:column; justify-content:center; align-items:flex-start; }
.craft-band .txt .inner, .craft-band .txt a { color:#fff; }
.craft-band h3 { font-size: clamp(26px,3.4vw,44px); font-weight:700; letter-spacing:1px; max-width:12em; line-height:1.25; }
.craft-band p { margin-top:16px; font-size:15px; color:rgba(255,255,255,.85); max-width:30em; }
.craft-band .go { margin-top:26px; font-size:14px; letter-spacing:2px; border-bottom:1px solid rgba(255,255,255,.6); padding-bottom:4px; }

/* ---------- 动态小格 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.news-grid .n { border-top: 1px solid var(--line); padding-top: 16px; }
.news-grid .n .tag { font-size: 11px; letter-spacing: 2px; color: var(--brand); }
.news-grid .n h4 { font-size: 16px; font-weight: 600; margin: 8px 0 4px; line-height: 1.4; }
.news-grid .n time { font-size: 12px; color: var(--ink-3); }
.news-grid .n p { font-size: 13px; color: var(--ink-2); margin-top: 6px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #14150f; color: #a2a69a; font-size: 13px; }
.site-footer .grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 40px; max-width: var(--w); margin: 0 auto; padding: 60px 32px 40px; }
.site-footer h5 { color: #fff; font-size: 14px; letter-spacing: 1px; margin-bottom: 16px; }
.site-footer a { color: #a2a69a; }
.site-footer a:hover { color: #fff; }
.site-footer li { margin-bottom: 9px; }
.site-footer .brand b { color: #fff; }
.foot-line { max-width: var(--w); margin: 0 auto; padding: 18px 32px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; font-size: 12px; color: #7b7f70; flex-wrap: wrap; gap: 8px; }

/* ---------- 频道页 Hero ---------- */
.p-hero { padding: 96px 0 40px; }
.p-hero .eyebrow { margin-bottom: 14px; }
.p-hero h1 { font-size: clamp(32px,4.5vw,54px); font-weight: 700; letter-spacing: 2px; line-height: 1.2; }
.p-hero p { color: var(--ink-2); margin-top: 16px; max-width: 34em; }

/* 图墙 */
.wall { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.wall.two { grid-template-columns: repeat(2,1fr); }
.wall figure { position: relative; }
.wall .zoom { position: relative; }
.wall figcaption { margin-top: 10px; }
.wall figcaption b { display: block; font-size: 14px; font-weight: 600; }
.wall figcaption span { font-size: 12px; color: var(--ink-3); letter-spacing: 1px; }

/* 风格分栏 */
.style-b { margin-top: 64px; }
.style-b .st-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 20px; }
.style-b .st-head h3 { font-size: 22px; font-weight: 700; }
.style-b .st-head span { font-size: 13px; color: var(--ink-3); }
.style-b .wall { grid-template-columns: repeat(3,1fr); }

/* 工艺章 */
.craft-sec { padding: 56px 0; border-top: 1px solid var(--line); }
.craft-sec .hd { display: flex; align-items: baseline; gap: 16px; margin-bottom: 8px; }
.craft-sec .hd .no { font-size: 13px; letter-spacing: 2px; color: var(--brand); font-family: Georgia, serif; }
.craft-sec .hd h3 { font-size: 24px; font-weight: 700; }
.craft-sec .desc { color: var(--ink-2); max-width: 46em; margin-bottom: 18px; }
.craft-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.craft-steps .s { background: #fff; border: 1px solid var(--line); }
.craft-steps .s .zoom { position: relative; }
.craft-steps .s .body { padding: 16px 18px 18px; }
.craft-steps .s h4 { font-size: 15px; margin-bottom: 6px; }
.craft-steps .s p { font-size: 13px; color: var(--ink-2); }

/* 案例档案卡 */
.case { border: 1px solid var(--line); background:#fff; }
.case .zoom { position: relative; }
.case .meta { padding: 18px 20px 20px; }
.case .meta .no { font-size: 11px; letter-spacing: 2px; color: var(--brand); font-family: Georgia, serif; }
.case .meta h3 { font-size: 18px; margin: 4px 0 8px; }
.case .meta .spec { font-size: 12px; color: var(--ink-3); line-height: 1.9; }

/* 客服三入口 */
.entry-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.entry { border: 1px solid var(--line); background:#fff; padding: 30px; }
.entry .id { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--brand); color: var(--brand); display:flex; align-items:center; justify-content:center; font-size: 16px; margin-bottom: 18px; }
.entry h3 { font-size: 18px; }
.entry p { font-size: 13px; color: var(--ink-2); margin: 8px 0 16px; min-height: 3em; }
.entry .go { font-size: 13px; letter-spacing: 1px; color: var(--brand); }

/* 表单占位 */
.f-ph { border: 1px dashed #cfcdc4; background: #fff; padding: 34px; text-align: center; color: var(--ink-3); font-size: 13px; }
.f-ph b { display: block; color: var(--ink-2); font-size: 15px; margin-bottom: 6px; }

/* 详情页 */
.d-hero { height: 66vh; min-height: 440px; overflow: hidden; position: relative; background:#101010; }
.d-hero img { width:100%; height:100%; }
.d-body { padding: 56px 0 80px; }
.d-body .proj { border-bottom: 1px solid var(--line); padding-bottom: 22px; display: flex; flex-wrap: wrap; gap: 26px; }
.d-body .proj div { font-size: 13px; }
.d-body .proj b { display: block; color: var(--ink-3); font-weight: 500; font-size: 11px; letter-spacing: 2px; margin-bottom: 2px; }
.d-body .story { max-width: 56em; }
.d-body .story h2 { font-size: 22px; margin: 12px 0; }
.d-body .story p { color: var(--ink-2); margin-bottom: 12px; }
.gallery { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-top: 44px; }

/* contrast pair */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.pair figcaption { margin-top: 10px; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .wrap { padding: 0 20px; }
  .nav { display: none; }
  .site-header .bar { padding: 0 20px; }
  .facts .grid { grid-template-columns: repeat(2,1fr); }
  .fact { border-bottom: 1px solid var(--line); }
  .duo, .split, .split.slim { grid-template-columns: 1fr; gap: 34px; }
  .news-grid, .wall, .wall.two, .style-b .wall, .craft-steps, .entry-grid, .gallery, .pair { grid-template-columns: 1fr; }
  .band { padding: 56px 0; }
  .craft-band { height: auto; min-height: 0; padding: 70px 0; }
  .craft-band img { position: absolute; inset: 0; height: 100%; }
  .site-footer .grid { grid-template-columns: 1fr 1fr; padding: 48px 20px 30px; }
  .hero { height: 82vh; }
  .hero .line span.sub { letter-spacing: 1px; }
}
