/* ============================================================
   锦田官网 · 视觉 v5
   ------------------------------------------------------------
   语言：画册，不是「网页」。
   规则（对齐全幅图片型奢侈品官网）：
     · 图全幅出血，不被容器裹住
     · 大量留白，区块间距 >100px
     · 只用 1px 细线做分隔，无卡片、无圆角、无阴影、无渐变块
     · 字号两级：极小的大字距标签 + 大号细衬线标题
     · 强调色只出现一次一小处
   色板沿用 v2（已定稿）。
   ============================================================ */

/* 自带思源宋体（子集化，见 build_fonts.py） */
@font-face {
  font-family: "Jintian Serif";
  src: url("../fonts/shs-light.woff2") format("woff2");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Jintian Serif";
  src: url("../fonts/shs-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  --bg: #E3DACB;
  --bg-card: #EDE6D8;
  --card: #D0BFA0;
  --card-strong: #C4B392;
  --ink: #33302A;
  --ink-sub: #4A4239;   /* 原值 #5A5248，压在纸色上只有 5.5:1，小字看着发虚 */
  --ink-deep: #2E2A24;
  --accent: #A85A4A;
  --cool: #93A9AC;
  --on-dark: #EDE6D8;

  --hair: rgba(51, 48, 42, .14);
  --hair-2: rgba(51, 48, 42, .26);
  --hair-lt: rgba(237, 230, 216, .24);

  --serif: "Jintian Serif", "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong", Georgia, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --gut: 56px;
}

* { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--card-strong) var(--bg);
}
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--card-strong); border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

body {
  margin: 0;
  /* 不用纯色：整篇从上到下做极小幅的冷暖推移（约 5%），
     长页面滚下来才不会是一整片死平的数码米色 */
  background: linear-gradient(to bottom,
      #E9E1D3 0%, var(--bg) 36%, var(--bg) 68%, #DED5C6 100%) no-repeat,
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.95;
  letter-spacing: .015em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #fff; }

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

/* 胶片颗粒：一层极淡噪点，去掉数码的「平」 */
.grain {
  position: fixed; inset: 0; z-index: 9; pointer-events: none;
  opacity: .045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 顶栏：浮在开屏图之上 ---------- */
.site-head { position: absolute; top: 0; left: 0; right: 0; z-index: 6; }
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-top: 34px; padding-bottom: 28px;
}
.brand {
  font-family: var(--serif); font-size: 19px; letter-spacing: .26em; font-weight: 400;
  color: var(--on-dark); text-shadow: 0 1px 14px rgba(30, 27, 23, .5);
}
.brand small {
  display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .32em;
  font-weight: 400; opacity: .72; margin-top: 7px;
}
.nav { display: flex; gap: 34px; font-size: 12.5px; letter-spacing: .18em; }
.nav a {
  position: relative; color: var(--on-dark); opacity: .78; padding-bottom: 5px;
  text-shadow: 0 1px 14px rgba(30, 27, 23, .5);
  transition: opacity .35s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor;
  transform: scaleX(0); transform-origin: left center;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.nav a:hover, .nav a.on { opacity: 1; }
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }

/* 语言切换器：地球图标 + 三语平铺，浮在开屏图之上（与 nav 同款 on-dark + 细线） */
.nav { margin-left: auto; }
.lang {
  display: flex; align-items: center; gap: 13px;
  margin-left: 30px;
  font-size: 11.5px; letter-spacing: .16em; color: var(--on-dark);
}
.lang .globe { flex: none; opacity: .82; }
.lang a {
  position: relative; color: var(--on-dark); opacity: .68;
  text-shadow: 0 1px 14px rgba(30, 27, 23, .5);
  transition: opacity .35s; padding-bottom: 3px;
}
.lang a:hover, .lang a.on { opacity: 1; }
.lang a.on {
  text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px;
}

/* ---------- 开屏 ---------- */
.hero-photo {
  position: relative; background-size: cover; background-position: center;
  min-height: 86svh; display: flex; align-items: flex-end;
}
.hero-photo.hero--full { min-height: 100svh; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  /* 两层：一层从左压暗（给左侧文字兜底），一层自下而上压暗 */
  background:
    linear-gradient(to right,
      rgba(30, 27, 23, .36) 0%,
      rgba(30, 27, 23, .18) 42%,
      rgba(30, 27, 23, .02) 78%,
      rgba(30, 27, 23, 0) 100%),
    linear-gradient(to bottom,
      rgba(30, 27, 23, .18) 0%,
      rgba(30, 27, 23, .14) 34%,
      rgba(30, 27, 23, .46) 76%,
      rgba(30, 27, 23, .66) 100%);
}
.hero-photo > .wrap {
  position: relative; z-index: 2; width: 100%;
  padding-top: 220px; padding-bottom: 92px;
}

.eyebrow {
  display: flex; align-items: center; gap: 16px;
  font-size: 10.5px; letter-spacing: .4em; color: rgba(237, 230, 216, .7);
  margin-bottom: 30px;
}
.eyebrow::before { content: ""; width: 52px; height: 1px; background: rgba(237, 230, 216, .45); }

.hero-photo h1 {
  font-family: var(--serif); margin: 0 0 24px;
  font-size: clamp(31px, 5.3vw, 64px);
  line-height: 1.32; font-weight: 300; letter-spacing: .03em;
  color: var(--on-dark); max-width: 16em; text-wrap: balance;
}
.hero-photo .lede {
  margin: 0; font-size: 15.5px; line-height: 2.15; letter-spacing: .04em;
  color: rgba(237, 230, 216, .82); max-width: 36em; text-wrap: pretty;
  /* 26em 装不下三十个字的副标题，桌面端会折成两行还把「数字」「拨号」劈开；
     放宽后整行放下。窄屏仍会折行，词内断行由 .nb 兜住。 */
}

/* 栏目词：一行极小的字距文本，不做胶囊标签 */
.hero-tags {
  margin-top: 36px; font-size: 11.5px; letter-spacing: .3em;
  color: rgba(237, 230, 216, .6);
}
.hero-tags span + span::before { content: "·"; margin: 0 .9em; }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }
.btn {
  display: inline-block; padding: 14px 34px;
  font-size: 12.5px; letter-spacing: .24em;
  background: var(--on-dark); color: var(--ink-deep);
  border: 1px solid var(--on-dark);
  transition: background .4s, color .4s, border-color .4s;
}
.btn:hover { background: transparent; color: var(--on-dark); }
.btn.line { background: transparent; color: var(--on-dark); border-color: rgba(237, 230, 216, .42); }
.btn.line:hover { background: var(--on-dark); color: var(--ink-deep); border-color: var(--on-dark); }

.scroll-cue {
  position: absolute; left: var(--gut); bottom: 34px; z-index: 2;
  width: 1px; height: 58px; background: rgba(237, 230, 216, .28); overflow: hidden;
}
.scroll-cue::after {
  content: ""; position: absolute; left: 0; top: -58px;
  width: 1px; height: 58px; background: var(--on-dark);
  animation: cue 2.8s cubic-bezier(.6, 0, .3, 1) infinite;
}
@keyframes cue { 0% { top: -58px; } 55%, 100% { top: 58px; } }

/* ---------- 区块 ---------- */
.section { padding: 118px 0; }
.section--tight { padding: 84px 0; }

/* 区块标签：编号 + 一条通到右边缘的细线 */
.sec-label { display: flex; align-items: center; gap: 20px; }
.sec-label .num { font-family: var(--serif); font-size: 12px; letter-spacing: .18em; color: var(--accent); }
.sec-label .line { flex: 1; height: 1px; background: var(--hair); }
.sec-label .txt { font-size: 11.5px; letter-spacing: .42em; color: var(--ink-sub); }

/* 居中版（用于平台区） */
.sec-label--mid { justify-content: center; }
.sec-label--mid .line { flex: 0 0 90px; }
.sec-label--mid .txt { letter-spacing: .42em; }

/* ---------- 内容条目 ----------
   两个层级，不是两条一样的行：
     头条 = 全幅大图（21:9），标题压在画面下缘
     次条 = 全幅图 + 图下窄栏文字，左栏一个 30px 的大号页码当「页码栏」 */
.entries { display: flex; flex-direction: column; gap: 118px; margin-top: 68px; }

.entry { display: block; }
.entry-ph {
  display: block; position: relative; width: 100%; aspect-ratio: 16 / 9;
  overflow: hidden; background: var(--card);
}
.entry-ph img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.8s cubic-bezier(.16, 1, .3, 1), filter 1.2s ease;
}

/* 头条 */
.entry--feature { position: relative; }
.entry--feature .entry-ph { aspect-ratio: 2 / 1; }
.entry--feature .entry-ph::after {
  content: ""; position: absolute; inset: 0;
  /* 图片侧只留左层（保左侧标题区的取景）。
     底部压暗改挂在 .entry-caption 上：揭幕动画万一不触发
     （个别 webview 的 IntersectionObserver 不可靠），标题也有自己的
     保底暗底，绝不会浅字落浅底。 */
  background: linear-gradient(to right,
    rgba(26, 23, 20, .58) 0%,
    rgba(26, 23, 20, .20) 46%,
    rgba(26, 23, 20, 0) 78%);
}
.entry-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  /* padding-top 撑高渐变坡（纯内容高度只有 ~240px，坡太陡会显出一条带边） */
  padding-top: 180px;
  background: linear-gradient(to top,
    rgba(26, 23, 20, .88) 0%,
    rgba(26, 23, 20, .55) 52%,
    rgba(26, 23, 20, 0) 100%);
}
/* .wrap 在 span 上是 inline，不吃 max-width / margin:auto，必须显式 block */
.entry-caption-in { display: block; padding-bottom: 78px; }
.entry--feature .entry-meta { color: rgba(237, 230, 216, .7); }
.entry-title-lg {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(25px, 3.3vw, 43px); line-height: 1.46; letter-spacing: .03em;
  color: var(--on-dark); margin: 0 0 24px; max-width: 15em; text-wrap: balance;
}
.entry--feature .entry-more { color: var(--on-dark); border-bottom-color: rgba(237, 230, 216, .42); }
.entry--feature:hover .entry-more { color: var(--on-dark); border-bottom-color: var(--on-dark); }

/* 次条 */
.entry-body {
  display: grid; grid-template-columns: 104px 1fr;
  gap: 44px; margin-top: 38px;
}
.entry-txt { display: block; }
.entry-num {
  font-family: var(--serif); font-size: 30px; font-weight: 300; line-height: 1;
  letter-spacing: .04em; color: var(--card-strong); transition: color .4s;
}
.entry-meta { display: block; font-size: 11.5px; letter-spacing: .3em; color: var(--ink-sub); margin-bottom: 16px; }
.entry h3 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(23px, 2.5vw, 32px); line-height: 1.55; letter-spacing: .035em;
  margin: 0 0 18px; max-width: 21em; text-wrap: balance;
}
.entry p {
  margin: 0 0 26px; color: var(--ink-sub); font-size: 15.5px; line-height: 2;
  max-width: 31em; text-wrap: pretty;
}
.entry-more {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; letter-spacing: .24em; color: var(--ink);
  padding-bottom: 7px; border-bottom: 1px solid var(--hair-2);
  transition: border-color .35s, gap .35s, color .35s;
}
.entry:hover .entry-more { border-bottom-color: var(--accent); color: var(--accent); gap: 18px; }
.entry:hover .entry-num { color: var(--accent); }

/* ---------- 通栏图带 ---------- */
.band {
  position: relative; background-size: cover; background-position: center;
  min-height: 76svh; display: flex; align-items: center; justify-content: center;
}
.band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(30, 27, 23, .44), rgba(30, 27, 23, .64));
}
.band .wrap { position: relative; z-index: 2; text-align: center; padding: 118px var(--gut); }
.band p {
  margin: 0 auto; max-width: 18em;
  font-family: var(--serif); color: var(--on-dark);
  font-size: clamp(23px, 3.2vw, 38px); line-height: 1.8;
  letter-spacing: .06em; font-weight: 300; text-wrap: balance;
}
.band-sub {
  margin: 26px auto 0 !important; max-width: none !important;
  font-family: var(--sans) !important; font-size: 12px !important;
  letter-spacing: .26em !important; font-weight: 400 !important;
  color: rgba(237, 230, 216, .6) !important;
}
.band-cta {
  display: inline-block; margin-top: 46px;
  font-size: 12.5px; letter-spacing: .26em; color: var(--on-dark);
  padding-bottom: 9px; border-bottom: 1px solid rgba(237, 230, 216, .45);
  transition: border-color .4s, letter-spacing .4s;
}
.band-cta:hover { border-bottom-color: var(--on-dark); letter-spacing: .32em; }

/* ---------- 四平台：纸面上的浮码 ----------
   没有白框、没有卡片。二维码的底色就是页面纸色，
   所以它看上去像「印在纸上」而不是「贴上去」。 */
.plats-band {
  background: var(--bg);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  padding: 92px 0 96px;
}
.plats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 72px; }
.plat {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 0 28px; transition: opacity .45s;
}
.plat + .plat { border-left: 1px solid var(--hair); }
.plat:hover { opacity: .6; }
.plat-rule {
  width: 34px; height: 2px; background: var(--dot, var(--card-strong));
  opacity: .9; margin-bottom: 38px;
  transition: width .5s cubic-bezier(.2, .8, .2, 1);
}
.plat:hover .plat-rule { width: 68px; }
.plat-art { width: 100px; height: 100px; margin-bottom: 30px; }
.plat-art img { width: 100%; height: 100%; object-fit: contain; }
.plat-name {
  font-family: var(--serif); font-size: 16px; letter-spacing: .26em;
  color: var(--ink); padding-left: .26em; margin-bottom: 10px;
}
.plat-line {
  font-size: 12px; color: var(--ink-sub); letter-spacing: .08em; line-height: 1.95;
  white-space: nowrap;
}
.plat-douyin { --dot: #6D28D9; }
.plat-xhs { --dot: #FF2442; }
.plat-mp { --dot: #07C160; }
.plat-channels { --dot: #E87722; }

/* ---------- 即将发布：一句话，不做列表 ---------- */
.upcoming-note {
  margin: 40px 0 0; max-width: 36em;
  font-size: 15px; line-height: 2.15; color: var(--ink-sub); text-wrap: pretty;
}
.upcoming-note b { color: var(--ink); font-weight: 400; }
.upcoming-list { margin: 14px 0 0; max-width: 40em; }
.upcoming-list span {
  font-family: var(--serif); font-size: 17px; letter-spacing: .07em; color: var(--ink);
  white-space: nowrap;
}
.upcoming-list span + span::before { content: "·"; margin: 0 .75em; color: var(--card-strong); }

/* ---------- 文章页 ---------- */
.figcap-top {
  font-size: 12.5px; color: var(--ink-sub);
  padding-top: 18px; margin: 0 0 68px; border-top: 1px solid var(--hair);
}

.tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--hair); margin-bottom: 48px; }
.tab {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  font-family: var(--sans); font-size: 13px; color: var(--ink-sub);
  padding: 15px 22px; letter-spacing: .18em;
  border-bottom: 1px solid transparent; margin-bottom: -1px;
  transition: color .3s, border-color .3s;
}
.tab:hover { color: var(--ink); }
.tab.on { color: var(--ink); border-bottom-color: var(--accent); }
.panel { display: none; }
.panel.on { display: block; }
.panel-note {
  font-size: 13px; color: var(--ink-sub); line-height: 1.9;
  border-left: 1px solid var(--hair-2); padding: 2px 0 2px 20px;
  margin-bottom: 40px;
}

.prose { font-family: var(--serif); font-size: 17px; line-height: 2.15; letter-spacing: .02em; max-width: 32em; }
.prose h2 {
  font-family: var(--serif); font-size: 21px; margin: 62px 0 20px;
  font-weight: 400; letter-spacing: .07em; text-wrap: balance;
}
.prose h3 { font-size: 17px; margin: 40px 0 14px; font-weight: 400; letter-spacing: .05em; }
.prose p { margin: 0 0 22px; text-wrap: pretty; }
/* 首段当导语：大一档、墨色深一档，是杂志的起手式 */
.prose > p:first-child {
  font-size: 18.5px; line-height: 2.02; letter-spacing: .015em; color: var(--ink);
  margin-bottom: 30px;
}
.prose ul, .prose ol { margin: 0 0 24px; padding-left: 1.3em; }
.prose li { margin-bottom: 9px; }
.prose hr { border: 0; border-top: 1px solid var(--hair); margin: 46px 0; }
.prose blockquote {
  font-family: var(--serif); font-size: 20px; line-height: 1.85;
  margin: 42px 0; padding: 2px 0 2px 26px;
  border-left: 1px solid var(--accent); color: var(--ink);
}
.prose strong { font-weight: 600; }
.script {
  font-family: var(--serif); background: var(--bg-card); padding: 32px 34px; margin: 0 0 30px;
  white-space: pre-wrap; font-size: 15.5px; line-height: 2.1; letter-spacing: .02em;
}
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 32px; font-size: 14.5px; }
.prose th, .prose td { border-bottom: 1px solid var(--hair); padding: 14px 12px; text-align: left; vertical-align: top; }
.prose th {
  background: transparent; font-weight: 400; font-size: 12px;
  letter-spacing: .18em; color: var(--ink-sub); border-bottom-color: var(--card);
}
/* 话题标签 / 短代码不许从中间断行 ——「#东坡书院」断成「#东坡书 / 院」最难看。
   nowrap 只是不让词内断，整行放不下时浏览器会把整个标签挪到下一行，不会溢出。 */
.prose code { font-family: var(--sans); font-size: 14px; background: var(--bg-card); padding: 1px 6px; white-space: nowrap; }
.nb { white-space: nowrap; }

figure { margin: 0 0 48px; }
figure img { width: 100%; }
figure figcaption {
  font-size: 12.5px; color: var(--ink-sub); line-height: 1.9;
  margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--hair);
}
/* 画廊：尺寸一律由**容器**统一，不靠原片。
   手机竖拍和横拍混在一起时，原图比例各不相同（4:3 / 3:4 / 16:9），
   直接 width:100% 排出来必然是「大大小小」。所以这里给每张图钉死同一个
   aspect-ratio，再用 object-fit: cover 去裁——画面尺寸就齐了。
   竖构图的主体位置由 build_site.py 里每条 gallery 的第三项（object-position）指定。 */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 36px; margin: 34px 0 6px; align-items: start; }
.gallery figure { margin: 0; }
.gallery figure img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
/* 第一张跨两列当引图：给画廊一个层级，不是六张一样大的平铺 */
.gallery figure:first-child { grid-column: 1 / -1; }
.gallery figure:first-child img { aspect-ratio: 21 / 9; }
.gallery figure figcaption { min-height: 3.8em; }

.signoff {
  margin-top: 84px; padding-top: 34px; border-top: 1px solid var(--hair);
  font-size: 12.5px; letter-spacing: .26em; line-height: 2.2; color: var(--ink-sub);
}

/* 阅读进度线：文章页顶部一条 2px，随阅读推进 */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 20; pointer-events: none; }
.progress > i { display: block; height: 100%; width: 0; background: var(--accent); }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 92px; align-items: start; }
.qr-label { font-size: 11.5px; letter-spacing: .32em; color: var(--ink-sub); margin: 0 0 26px; }
.qr { width: 152px; height: 152px; }
.qr img { width: 100%; height: 100%; object-fit: contain; }
.qr-hint { font-size: 12.5px; color: var(--ink-sub); margin: 22px 0 0; line-height: 1.9; max-width: 18em; }
.dial {
  display: inline-block; margin-top: 6px;
  font-family: var(--serif); font-size: clamp(22px, 2.4vw, 29px);
  letter-spacing: .08em; color: var(--ink);
  padding-bottom: 9px; border-bottom: 1px solid var(--hair-2);
  transition: color .35s, border-color .35s;
}
.dial:hover { color: var(--accent); border-bottom-color: var(--accent); }
.copy-btn {
  appearance: none; border: 1px solid var(--hair-2); cursor: pointer;
  font-family: var(--sans); background: transparent; color: var(--ink-sub);
  padding: 12px 26px; font-size: 12px; letter-spacing: .24em;
  margin-top: 26px; transition: color .35s, border-color .35s;
}
.copy-btn:hover { color: var(--ink); border-color: var(--ink); }
.contact-block + .contact-block { margin-top: 62px; }

.notice p {
  margin: 0; padding: 24px 0; border-top: 1px solid var(--hair);
  font-size: 14.5px; line-height: 2; color: var(--ink-sub);
}
.notice p:last-child { border-bottom: 1px solid var(--hair); }
.notice strong {
  display: block; color: var(--ink); font-weight: 400;
  font-size: 11.5px; letter-spacing: .32em; margin-bottom: 12px;
}

/* ---------- 页脚 ---------- */
.site-foot { background: var(--ink-deep); color: var(--on-dark); padding: 96px 0 56px; }
.foot-mark { font-family: var(--serif); font-size: clamp(27px, 3.4vw, 42px); letter-spacing: .28em; font-weight: 300; margin: 0 0 14px; }
.foot-sub { font-size: 11px; letter-spacing: .34em; opacity: .55; margin: 0 0 62px; }
.site-foot .cols {
  display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between;
  padding-top: 36px; border-top: 1px solid var(--hair-lt);
}
.site-foot h4 { font-size: 10.5px; letter-spacing: .34em; margin: 0 0 18px; opacity: .5; font-weight: 400; }
.site-foot p, .site-foot li { font-size: 13.5px; margin: 0 0 10px; opacity: .86; line-height: 1.95; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot a:hover { opacity: 1; border-bottom: 1px solid var(--hair-lt); }
.site-foot .fine { font-size: 11px; opacity: .4; margin-top: 52px; letter-spacing: .14em; }
.site-foot .beian { font-size: 12px; opacity: .62; margin-top: 18px; letter-spacing: .06em; }
.site-foot .beian a { color: inherit; border-bottom: 1px solid var(--hair-lt); }

.entry-ph .hint { font-size: 13px; letter-spacing: .1em; color: var(--on-dark); padding: 40px; }

/* 窄屏：顶栏再收一档，保证「品牌 + 四个导航」不挤在一起 */
@media (max-width: 560px) {
  .brand { font-size: 14px; letter-spacing: .1em; }
  .brand small { font-size: 9px; letter-spacing: .24em; margin-top: 5px; }
  .nav { gap: 12px; font-size: 11px; letter-spacing: .06em; }
  .lang { font-size: 10.5px; gap: 10px; letter-spacing: .12em; }
  .hero-photo h1 { font-size: 27px; letter-spacing: .04em; }
  .hero-photo .lede { font-size: 15px; }
}

/* ---------- 入场动效 ----------
   两条线索：
     .reveal  文字类 —— 淡入上移
     .mask    图片类 —— 从下往上「揭幕」，同时图内部从 1.08 缩回 1
   两个类都由 JS 添加，所以脚本没跑时内容照常显示，不会白屏。 */
.reveal { opacity: 0; transform: translateY(24px); }
.reveal.in {
  opacity: 1; transform: none;
  transition: opacity 1s cubic-bezier(.2, .7, .2, 1), transform 1s cubic-bezier(.2, .7, .2, 1);
}

.mask { clip-path: inset(0 0 100% 0); }
.mask.in {
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.35s cubic-bezier(.22, .9, .24, 1);
}
.mask img { transform: scale(1.08); }
.mask.in img { transform: scale(1); transition: transform 1.9s cubic-bezier(.16, 1, .3, 1); }

/* 悬停放大放最后：特异性和 .mask.in img 相同，靠顺序取胜 */
.entry:hover .entry-ph img { transform: scale(1.045); filter: brightness(1.06); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .mask { opacity: 1; transform: none; clip-path: none; }
  .mask img { transform: none; }
  .scroll-cue::after { animation: none; }
}

/* ---------- 移动端 ---------- */
@media (max-width: 880px) {
  :root { --gut: 24px; }
  body { font-size: 16px; line-height: 1.9; }
  .hero-photo, .hero-photo.hero--full { min-height: 88svh; }
  .hero-photo > .wrap { padding-top: 168px; padding-bottom: 62px; }
  .site-head .wrap { padding-top: 24px; padding-bottom: 20px; gap: 14px; flex-wrap: wrap; }
  .brand { font-size: 15px; letter-spacing: .14em; }
  .nav { gap: 13px; font-size: 11.5px; letter-spacing: .08em; }
  /* 窄屏：语言切换器落到第二行、靠右，避免与 nav 挤在一起 */
  .lang { flex-basis: 100%; justify-content: flex-end; margin-left: 0; gap: 12px; padding-top: 12px; }
  .scroll-cue { display: none; }

  .section { padding: 76px 0; }
  .section--tight { padding: 60px 0; }
  .entries { gap: 78px; margin-top: 46px; }
  .entry-ph { aspect-ratio: 4 / 3; }
  .entry--feature .entry-ph { aspect-ratio: 4 / 3; }
  .entry-caption-in { padding-bottom: 30px; }
  .entry-title-lg { margin-bottom: 16px; }
  .entry-body { grid-template-columns: 1fr; gap: 10px; margin-top: 26px; }
  .entry-num { font-size: 22px; }
  .band { min-height: 62svh; }
  .band .wrap { padding: 76px var(--gut); }

  .plats-band { padding: 64px 0 68px; }
  .plats { grid-template-columns: 1fr; margin-top: 48px; }
  .plat { padding: 36px 0; }
  .plat:first-child { padding-top: 0; }
  .plat:last-child { padding-bottom: 0; }
  .plat + .plat { border-left: 0; border-top: 1px solid var(--hair); }
  .plat-art { width: 96px; height: 96px; }

  .contact-grid, .gallery { grid-template-columns: 1fr; }
  .contact-grid { gap: 62px; }
  .contact-block + .contact-block { margin-top: 48px; }
  .site-foot { padding: 66px 0 46px; }
  .site-foot .cols { gap: 34px; }
  .script { padding: 24px 20px; font-size: 15px; }
  .tab { padding: 13px 15px; font-size: 12.5px; letter-spacing: .12em; }
  .prose { font-size: 16.5px; line-height: 2.05; }
}
