/* ============================================================
   乌鲁木齐程航大厦大白山街亚朵酒店 · 单页宣传
   配色不自造：墨黑 / 暖木 / 黄铜 三色全部取自酒店实拍原片
   ============================================================ */

:root {
  /* 取自实拍原片（vision_colors 实测） */
  --ink:        #07080A;
  --ink-2:      #0C0E10;
  --paper:      #F4F0E8;
  --paper-dim:  rgba(244, 240, 232, 0.62);
  --paper-faint:rgba(244, 240, 232, 0.36);
  --brass:      #C6A667;
  --brass-hi:   #E8D5A4;
  --brass-lo:   #8A7038;
  --bronze:     #6B5A42;
  --wood:       #383028;
  --line:       rgba(198, 166, 103, 0.20);
  --line-soft:  rgba(244, 240, 232, 0.08);

  /* 暖灰：小字信息的颜色。
     金色只留给「大块表达」——主标题金属渐变、区块索引、印章、CTA、品牌字标。
     小字（label / 数字 / 链接 / 元信息）一律走暖灰，避免全页撒金显廉价。 */
  --mute:       #A8A29A;
  --mute-2:     rgba(168, 162, 154, 0.72);

  /* 字号三级：正文 / 导语 / 小字。中间层（导语）是高端叙述腔的落点，
     之前全页只有「超大标题」和「极小灰字」两级，中间是断的。 */
  --t-body:     16px;
  --t-lead:     19px;
  --t-small:    12.5px;

  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", SimSun, Georgia, "Times New Roman", serif;
  --sans:  "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
  --latin: Georgia, "Times New Roman", "Palatino Linotype", serif;

  --shell: min(1152px, 88vw);
  --gut:   clamp(20px, 3.4vw, 56px);
  --sect:  clamp(76px, 10vh, 124px);
  --ease:  cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: clamp(15px, 0.94vw, 16.5px);
  line-height: 1.85;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; list-style: none; }
b, strong { font-weight: 600; }
em { font-style: normal; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: rgba(198, 166, 103, 0.28); color: #fff; }

.svg-filters { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- 全局材质层：颗粒 / 墨晕 / 暗角 ---------- */
.grain, .fog, .vig { position: fixed; inset: 0; pointer-events: none; }
.grain {
  z-index: 80;
  background-image: url("tex/grain.png");
  background-size: 220px;
  opacity: 0.05;
  mix-blend-mode: multiply;
}
.fog {
  z-index: 1;
  background-image: url("tex/ink-fog.png");
  background-size: 1180px;
  opacity: 0.055;
  mix-blend-mode: screen;
}
.vig {
  z-index: 2;
  background:
    radial-gradient(130% 100% at 50% 8%, transparent 42%, rgba(4, 5, 6, 0.62) 100%),
    linear-gradient(180deg, rgba(7, 8, 10, 0.34) 0%, transparent 22%, transparent 74%, rgba(7, 8, 10, 0.68) 100%);
}

/* ---------- 阅读进度 ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 1px; z-index: 95; background: rgba(244, 240, 232, 0.07); }
.progress i {
  display: block; height: 100%; width: 100%;
  transform: scaleX(var(--p, 0)); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--brass-lo), var(--brass-hi));
  transition: transform 0.12s linear;
}

/* ---------- 页头 ---------- */
.site-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 24px var(--gut);
  transition: background 0.45s var(--ease), padding 0.45s var(--ease), backdrop-filter 0.45s;
}
.site-head.is-stuck {
  padding: 13px var(--gut);
  background: rgba(7, 8, 10, 0.74);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line-soft);
}
.brand { display: flex; flex-direction: column; gap: 3px; line-height: 1.15; }
.brand-cn {
  font-family: var(--serif); font-size: 17px; letter-spacing: 0.2em; font-weight: 500;
}
.brand-cn em { color: var(--mute); margin: 0 0.1em; }
.brand-en {
  font-family: var(--latin); font-size: 10px; letter-spacing: 0.34em;
  color: var(--paper-faint); text-transform: uppercase;
}

.site-nav { display: flex; align-items: center; gap: clamp(14px, 2.1vw, 34px); }
.site-nav a {
  position: relative; font-family: var(--serif); font-size: 14px;
  letter-spacing: 0.16em; color: var(--paper-dim);
  transition: color 0.3s var(--ease);
  padding: 4px 0;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: linear-gradient(90deg, var(--brass-lo), var(--brass-hi));
  transition: right 0.42s var(--ease);
}
.site-nav a:hover, .site-nav a.is-active { color: var(--paper); }
.site-nav a:hover::after, .site-nav a.is-active::after { right: 0; }
.site-nav .nav-cta {
  padding: 9px 20px;
  border: 1px solid var(--line);
  color: var(--paper);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.site-nav .nav-cta::after { display: none; }
.site-nav .nav-cta:hover { background: rgba(198, 166, 103, 0.12); border-color: rgba(198, 166, 103, 0.5); }

.nav-toggle { display: none; width: 40px; height: 40px; position: relative; }
.nav-toggle span {
  position: absolute; left: 8px; right: 8px; height: 1px; background: var(--paper);
  transition: transform 0.36s var(--ease), opacity 0.24s;
}
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child  { top: 23px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child  { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- 通用排版 ---------- */
.shell { width: var(--shell); margin-inline: auto; }

.eyebrow {
  font-family: var(--latin); font-size: 10.5px; letter-spacing: 0.44em;
  text-transform: uppercase; color: var(--mute);
  display: flex; align-items: center; gap: 14px;
}
.eyebrow .num { color: var(--paper-faint); font-size: 10px; letter-spacing: 0.2em; }

.h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(30px, 4.4vw, 62px);
  line-height: 1.22; letter-spacing: 0.06em;
  margin: 20px 0 0;
}
.lede {
  margin-top: 20px; max-width: 46ch;
  color: var(--paper-dim); font-size: clamp(14.5px, 1vw, 17px); line-height: 1.95;
}

.rule {
  height: 1px; border: 0; margin: 0; position: relative;
  background: linear-gradient(90deg, rgba(198,166,103,0.65), rgba(198,166,103,0.16) 34%, rgba(244,240,232,0.06));
}
.rule::after {
  content: ""; position: absolute; left: 0; top: -1px; width: 42px; height: 3px;
  background: linear-gradient(90deg, var(--brass-hi), transparent);
  filter: blur(1.5px);
}
.rule-tight { margin: 22px 0; }

.block { position: relative; padding: var(--sect) 0; }
.block-head { margin-bottom: clamp(34px, 5vh, 58px); }

/* ---------- 按钮 ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; font-family: var(--serif); font-size: 14px;
  letter-spacing: 0.14em; border: 1px solid var(--line);
  transition: border-color 0.36s var(--ease), color 0.36s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, var(--brass-lo), var(--brass) 46%, var(--brass-hi));
  transform: translateY(101%);
  transition: transform 0.46s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--ink); border-color: transparent; }
.btn-solid { border-color: rgba(198, 166, 103, 0.45); color: var(--brass-hi); }
.btn-ghost { color: var(--paper-dim); }
.btn-lg { flex-direction: column; gap: 4px; padding: 20px 34px; }
.btn-label { font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.34em; opacity: 0.7; }
.btn-value { font-family: var(--serif); font-size: 17px; letter-spacing: 0.1em; }

/* ---------- 滚动揭示 ---------- */
.reveal { opacity: 0; transform: translateY(30px); }
.reveal-in {
  opacity: 1; transform: none;
  transition: opacity 1.05s var(--ease) var(--d, 0ms), transform 1.15s var(--ease) var(--d, 0ms);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .grain, .fog { display: none; }
}

/* ============================================================
   1. 主视觉
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: -4% 0; will-change: transform; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 46%; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,8,10,0.80) 0%, rgba(7,8,10,0.24) 26%, rgba(7,8,10,0.10) 46%, rgba(7,8,10,0.88) 92%),
    linear-gradient(94deg, rgba(7,8,10,0.74) 0%, rgba(7,8,10,0.18) 52%, transparent 78%);
}

.hero-inner { position: relative; z-index: 3; width: var(--shell); margin-inline: auto; display: flex; align-items: flex-end; gap: clamp(24px, 5vw, 76px); }

/* 竖排主标题：金属渐变 + 可选的墨迹晕染 */
.hero-title {
  /* 齐底 —— 竖排中文两列脚要齐，这是落款的规矩。
     原先没写 align-items，flex 默认 stretch 把两列拉成等高（实测都是 474px），
     而竖排文字从**顶部**起排，「亚朵」脚下因此空出约 320px，看起来就是"歪"。 */
  display: flex; align-items: flex-end;
  gap: clamp(10px, 1.5vw, 28px); margin: 0;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(48px, 8.6vw, 132px);
  line-height: 1; letter-spacing: 0.1em;
}
.hero-title .vt {
  writing-mode: vertical-rl;
  text-orientation: upright;
  padding: 0 0.1em 0.12em;
  background: linear-gradient(168deg, #FFFDF7 0%, var(--brass-hi) 22%, var(--brass) 50%, var(--brass-lo) 78%, #EDE0C0 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  /* 这里原来挂的是 filter: url(#ink) —— feTurbulence + feDisplacementMap scale="7"。
     位移滤镜按 fractalNoise 把笔画整根推偏：小字号上是"手写感"，108px 上就是"歪"。
     而且它的 baseFrequency 是各向异性的（0.012 0.05），在竖排文字上是方向性扭动。
     高级感来自干净的字形和精确的字距，不来自抖动 —— 厚度改用一层落影给。 */
  filter: drop-shadow(0 3px 16px rgba(0, 0, 0, 0.55));
}
/* 落款：品牌名。0.56em + 0.3em 字距，靠齐底线站在"大白山街"脚下。
   这里原来挂 filter: url(#ink-soft)，它的 feDisplacementMap scale="13" ——
   字号只有 67px 时等于把笔画推偏两成，再加 feGaussianBlur，就是"糊"。 */
.hero-title .vt-dim {
  background: none;
  -webkit-text-fill-color: rgba(244, 240, 232, 0.62); color: rgba(244, 240, 232, 0.62);
  font-size: 0.56em; letter-spacing: 0.3em;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.5));
}

.hero-copy { padding-bottom: clamp(14px, 3vh, 40px); max-width: 44ch; }
.hero-tag {
  font-family: var(--serif); font-size: clamp(21px, 2.5vw, 37px);
  letter-spacing: 0.3em; line-height: 1.5; margin: 0 0 22px;
  color: var(--paper); text-shadow: 0 6px 34px rgba(0, 0, 0, 0.62);
}
.hero-copy .rule { width: min(300px, 60%); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 30px; margin: 22px 0 0; }
.hero-facts > div { display: flex; align-items: baseline; gap: 9px; }
.hero-facts dt { font-size: 10px; letter-spacing: 0.24em; color: var(--mute-2); }
.hero-facts dd { margin: 0; font-family: var(--serif); font-size: 15px; color: var(--paper-dim); letter-spacing: 0.04em; }
.hero-facts dd small { font-family: var(--sans); font-size: 11px; letter-spacing: 0.12em; color: var(--mute); margin-left: 5px; }
/* 底部一条：左边定位、右边硬数据。整条留白，不进照片正中，避免与建筑抢焦点 */
.hero-base {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 30px;
  width: var(--shell); margin-inline: auto;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.hero-locate {
  font-family: var(--serif); font-size: 15px; letter-spacing: 0.14em; color: var(--paper-dim);
  display: flex; align-items: center; gap: 11px;
}
.hero-locate .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 4px rgba(198,166,103,0.16); }

.scroll-hint {
  position: absolute; z-index: 3; right: var(--gut); bottom: 28px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 10px; letter-spacing: 0.42em; color: var(--mute-2);
}
.scroll-line { width: 1px; height: 54px; background: linear-gradient(180deg, transparent, rgba(198,166,103,0.7)); position: relative; overflow: hidden; }
.scroll-line::after {
  content: ""; position: absolute; left: 0; top: -60%; width: 100%; height: 60%;
  background: var(--brass-hi); animation: drop 2.6s var(--ease) infinite;
}
@keyframes drop { 0% { top: -60%; } 60%, 100% { top: 108%; } }
.scroll-word { writing-mode: vertical-rl; }

/* ============================================================
   2. 核心差异
   ============================================================ */
.creed { position: relative; padding: var(--sect) 0; border-block: 1px solid var(--line-soft); background: linear-gradient(180deg, var(--ink-2), var(--ink)); }
.creed-lead {
  width: var(--shell); margin: 0 auto clamp(34px, 5vh, 60px);
  font-family: var(--serif); font-size: clamp(22px, 3.1vw, 44px);
  line-height: 1.6; letter-spacing: 0.1em; color: var(--paper);
}
.creed-list { width: var(--shell); margin-inline: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); }
.creed-list li {
  background: var(--ink); padding: clamp(24px, 3.4vh, 46px) clamp(18px, 2vw, 32px);
  display: flex; flex-direction: column; gap: 10px;
  transition: background 0.5s var(--ease);
}
.creed-list li:hover { background: var(--ink-2); }
.creed-list b { font-family: var(--serif); font-weight: 500; font-size: clamp(17px, 1.5vw, 23px); letter-spacing: 0.08em; color: var(--brass-hi); }
.creed-list span { font-size: 12.5px; letter-spacing: 0.1em; color: var(--paper-dim); }

/* ============================================================
   3. 区位
   ============================================================ */
.place-grid { display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); gap: clamp(30px, 5vw, 90px); align-items: start; }
.place-card { border: 1px solid var(--line-soft); padding: clamp(26px, 3.2vw, 46px); background: linear-gradient(160deg, rgba(255,255,255,0.035), transparent 62%); }
.place-label { font-size: 10.5px; letter-spacing: 0.38em; color: var(--mute); text-transform: uppercase; }
.place-value { margin-top: 14px; font-family: var(--serif); font-size: clamp(17px, 1.5vw, 22px); line-height: 1.8; letter-spacing: 0.06em; }
.place-coord { margin-top: 12px; font-family: var(--latin); font-size: 15px; letter-spacing: 0.16em; color: var(--paper-dim); }
.place-coord em { color: var(--brass); margin: 0 0.35em; }
.place-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.place-list { display: grid; gap: 1px; background: var(--line-soft); }
.place-list li { background: var(--ink); padding: clamp(20px, 2.4vw, 30px) 0 clamp(20px, 2.4vw, 30px) clamp(16px, 2vw, 28px); display: grid; grid-template-columns: minmax(120px, 0.34fr) minmax(0, 1fr); gap: clamp(14px, 2vw, 34px); align-items: baseline; }
.place-list b { font-family: var(--serif); font-weight: 500; font-size: 15.5px; letter-spacing: 0.1em; color: var(--brass-hi); }
.place-list b + span b { color: var(--paper); font-size: inherit; }
.place-list span { font-size: 13.5px; line-height: 2; color: var(--paper-dim); }

/* ============================================================
   4. 公区
   ============================================================ */
.spaces { width: var(--shell); margin-inline: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 40px); }
.space { position: relative; overflow: hidden; border: 1px solid var(--line-soft); background: var(--ink-2); }
.space-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr); }
.space .media { overflow: hidden; }
.space .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease), filter 1.3s var(--ease); filter: saturate(0.92) contrast(1.04); }
.space:hover .media img { transform: scale(1.035); filter: saturate(1) contrast(1.06); }
.space:not(.space-wide) .media img { aspect-ratio: 4 / 3; }
.space-wide .media img { aspect-ratio: 16 / 10; }

.space-body { padding: clamp(24px, 2.8vw, 42px); display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.space-num { font-family: var(--serif); font-size: 12px; letter-spacing: 0.5em; color: var(--brass); }
.space-body h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(19px, 1.9vw, 30px); line-height: 1.5; letter-spacing: 0.05em; }
.space-body > p { font-size: var(--t-body); line-height: 2; color: var(--paper-dim); max-width: 42ch; }
.space-meta { font-size: 11px !important; letter-spacing: 0.2em; color: var(--paper-faint) !important; border-top: 1px solid var(--line-soft); padding-top: 14px; margin-top: 4px; }

/* ============================================================
   5. 房型
   ============================================================ */
.block-rooms { background: linear-gradient(180deg, var(--ink), var(--ink-2) 46%, var(--ink)); }
.rooms-ui { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr); gap: clamp(22px, 3.4vw, 62px); align-items: stretch; }
.rooms-frame { position: relative; overflow: hidden; border: 1px solid var(--line-soft); height: 100%; background: #0A0B0D; }
.rooms-frame img { width: 100%; height: 100%; min-height: clamp(340px, 58vh, 660px); object-fit: cover; transition: opacity 0.6s var(--ease), transform 0.9s var(--ease); }
.rooms-frame.is-swap img { opacity: 0; transform: scale(1.02); }
.rooms-count {
  position: absolute; left: 22px; bottom: 20px;
  font-family: var(--latin); font-size: 12px; letter-spacing: 0.3em;
  color: var(--paper-dim); text-shadow: 0 2px 16px rgba(0,0,0,0.8);
}
.rooms-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(7,8,10,0.66));
}

.rooms-panel { display: flex; flex-direction: column; border: 1px solid var(--line-soft); background: rgba(255,255,255,0.022); }
.rooms-tabs { flex: 0 0 auto; }
.rooms-tabs li + li { border-top: 1px solid var(--line-soft); }
.rooms-tabs button {
  width: 100%; display: flex; align-items: baseline; gap: 16px;
  padding: 14px clamp(16px, 1.8vw, 26px); text-align: left;
  transition: background 0.4s var(--ease), padding-left 0.4s var(--ease);
}
.rooms-tabs button i { font-family: var(--latin); font-style: normal; font-size: 10.5px; letter-spacing: 0.2em; color: var(--paper-faint); transition: color 0.4s; }
.rooms-tabs button span { font-family: var(--serif); font-size: 15.5px; letter-spacing: 0.08em; color: var(--paper-dim); transition: color 0.4s; }
.rooms-tabs button:hover { background: rgba(255,255,255,0.03); padding-left: clamp(20px, 2.3vw, 33px); }
.rooms-tabs button[aria-selected="true"] { background: linear-gradient(90deg, rgba(198,166,103,0.14), transparent 78%); }
.rooms-tabs button[aria-selected="true"] i { color: var(--brass); }
.rooms-tabs button[aria-selected="true"] span { color: var(--paper); }

.room-detail { padding: clamp(24px, 2.8vw, 40px); border-top: 1px solid var(--line); flex: 1 1 auto; }
.room-detail h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.2vw, 33px); letter-spacing: 0.06em; }
.room-bed { margin-top: 10px; font-size: 12px; letter-spacing: 0.28em; color: var(--mute); }
.room-desc { margin-top: 18px; font-size: var(--t-body); line-height: 2.05; color: var(--paper-dim); max-width: 40ch; }
.room-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.room-tags li {
  font-size: 11.5px; letter-spacing: 0.14em; color: var(--paper-dim);
  padding: 6px 13px; border: 1px solid var(--line-soft); border-radius: 100px;
  transition: border-color 0.3s, color 0.3s;
}
.room-tags li:hover { border-color: var(--line); color: var(--paper); }
.room-for { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: 12.5px; letter-spacing: 0.1em; color: var(--paper-faint); }
.room-for b { color: var(--brass); font-weight: 500; letter-spacing: 0.24em; margin-right: 10px; }

.rooms-all { margin-top: clamp(30px, 4vh, 52px); padding-top: clamp(22px, 3vh, 36px); border-top: 1px solid var(--line-soft); }
.rooms-all-h { font-size: 13.5px; line-height: 1.9; letter-spacing: 0.08em; color: var(--paper-dim); }
.rooms-all-h b { font-family: var(--serif); font-weight: 500; font-size: 17px; letter-spacing: 0.1em; color: var(--brass); margin: 0 4px; }
.rooms-all-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 20px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.rooms-all-grid li { display: flex; flex-direction: column; gap: 10px; padding: clamp(16px, 2vw, 24px); background: var(--ink); }
.rooms-all-grid .rk { font-family: var(--serif); font-size: clamp(15px, 1.2vw, 18px); font-weight: 500; letter-spacing: 0.08em; color: var(--paper); }
.rooms-all-grid .rv { font-size: 12px; line-height: 1.9; letter-spacing: 0.1em; color: var(--paper-faint); }
.rooms-all-note { margin-top: 16px; font-size: 11.5px; letter-spacing: 0.12em; color: var(--paper-faint); }
.rooms-foot { margin-top: clamp(26px, 3.4vh, 44px); font-size: 11.5px; letter-spacing: 0.16em; color: var(--paper-faint); }

/* ============================================================
   6. 设施
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.svc-grid li {
  background: var(--ink); padding: clamp(24px, 3vw, 42px) clamp(18px, 2vw, 32px);
  position: relative; overflow: hidden;
  transition: background 0.5s var(--ease);
}
.svc-grid li::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 2px;
  background: linear-gradient(90deg, var(--brass-hi), var(--brass-lo));
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 0.55s var(--ease);
}
.svc-grid li:hover { background: var(--ink-2); }
.svc-grid li:hover::before { transform: scaleX(1); }
.svc-grid h3 { margin: 0 0 12px; font-family: var(--serif); font-weight: 500; font-size: clamp(16px, 1.35vw, 20px); letter-spacing: 0.08em; color: var(--paper); }
.svc-grid p { font-size: var(--t-body); line-height: 2; color: var(--paper-dim); }

/* ============================================================
   7. 联系
   ============================================================ */
.contact { position: relative; padding: var(--sect) 0; border-top: 1px solid var(--line-soft); background: linear-gradient(180deg, var(--ink-2), var(--ink)); }
.contact::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(72% 58% at 22% 12%, rgba(198,166,103,0.10), transparent 68%);
}
.contact-inner { position: relative; display: grid; gap: clamp(34px, 5vh, 58px); }
.contact-acts { display: flex; flex-wrap: wrap; gap: 16px; }
.contact-note { display: grid; gap: 12px; padding-top: clamp(22px, 3vh, 34px); border-top: 1px solid var(--line-soft); }
.contact-note p { font-size: var(--t-body); line-height: 2; color: var(--paper-dim); }
.contact-note b { font-family: var(--serif); color: var(--brass-hi); font-weight: 500; letter-spacing: 0.2em; margin-right: 14px; }

/* ---------- 页脚 ---------- */
.site-foot { position: relative; padding: clamp(38px, 5vh, 62px) 0; border-top: 1px solid var(--line-soft); background: var(--ink); }
.foot-inner { display: grid; gap: 10px; }
.foot-brand { font-family: var(--serif); font-size: 15px; letter-spacing: 0.16em; }
.foot-meta { font-size: 11.5px; letter-spacing: 0.2em; color: var(--mute); }
.foot-legal { margin-top: 12px; font-size: 11px; letter-spacing: 0.1em; line-height: 2; color: var(--paper-faint); max-width: 62ch; }

/* ============================================================
   自适应
   ============================================================ */
@media (max-width: 1180px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .creed-list { grid-template-columns: repeat(2, 1fr); }
}

/* ---- 桌面档：给底部信息条让位 ----
   .hero-base 在这一档是绝对定位的浮层（bottom:30px、高约 28px），
   它盖在 .hero-inner 的底边上，而竖排标题正好也贴着那条底边往下长 ——
   于是标题最后一个字扎进地址行。实测（把两列字单独渲染、数墨迹像素）：
     1265×922（业主自己的窗口）：标题墨迹底部 y899，地址文字顶部 y867，
                                  横竖都真压上，重叠区 100×32
     1440×1000                ：标题墨迹底部 y973，地址文字顶部 y945
   .hero-inner 底部留出 84px，正文整体上移，两者就不碰了。
   （min-width:1001px 限定，不干扰下面两档窄屏的堆叠布局。） */
@media (min-width: 1001px) {
  .hero-inner { padding-bottom: 84px; }
  /* 视口特别矮的时候标题会从顶部顶出去，用高度再兜一道底。
     4 个字 × 字高 × (1 + letter-spacing .1) + 下 padding .12 ≈ 4.6 倍字号。 */
  .hero-title { font-size: min(clamp(48px, 8.6vw, 132px), calc((100svh - 110px) / 4.6)); }
}

@media (max-width: 1000px) {
  .place-grid, .rooms-ui, .space-wide { grid-template-columns: minmax(0, 1fr); }
  .space-wide .media img { aspect-ratio: 4 / 3; }
  .hero-inner { flex-direction: column; align-items: flex-start; gap: 26px; padding-bottom: 44px; margin-top: auto; }
  .hero-title { font-size: clamp(44px, 12vw, 84px); }
  .hero-copy { padding-bottom: 0; }
  /* 竖排标题与底部信息条并排会撞车，窄屏改成堆叠。
     关键：光改 flex-direction 不够 —— .hero-base 的 position:absolute 必须一起撤掉。
     它原本钉在 .hero-inner 的底边，而 .hero-inner 在这一档已经改成竖排往下流，
     两者必然重叠：实测 768 / 843 / 900 / 1000 四个宽度下 .hero-tag 与 .hero-locate
     的框都重叠 26px，「一场雪，一室春」整个压在地址行上。
     760px 块里早有这个修正，1000px 块漏了 —— 于是 761-1000px 整段都是坏的。 */
  .hero { min-height: 100svh; height: auto; align-items: flex-start; }
  .hero-base {
    position: static; width: auto; margin: 0; bottom: auto; left: auto; right: auto;
    flex-direction: column; align-items: flex-start; gap: 14px;
  }
  .rooms-frame img { min-height: clamp(260px, 44vh, 440px); }
  .rooms-panel { border-top: 0; }
}

@media (max-width: 760px) {
  :root { --shell: 90vw; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; gap: 26px;
    background: rgba(7, 8, 10, 0.97);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; z-index: 91; }
  .site-nav a { font-size: 21px; letter-spacing: 0.24em; }
  .site-nav .nav-cta { padding: 14px 34px; }

  .spaces { grid-template-columns: minmax(0, 1fr); }
  .creed-list, .svc-grid, .rooms-all-grid { grid-template-columns: minmax(0, 1fr); }
  .place-list li { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-inline: 0; }
  /* 英雄区放不下时让内容撑开高度；窄屏用紧凑堆叠
     关键：必须把 hero-base 从 absolute 拉回文档流，否则它会整个压在下方的文案上 */
  .hero { min-height: 100svh; height: auto; align-items: flex-start; }
  .hero-inner {
    flex-direction: column; align-items: flex-start;
    justify-content: flex-start; gap: 20px;
    padding-bottom: 22px; margin-top: auto;
  }
  .hero-title { margin-bottom: -0.06em; }
  .hero-base {
    position: static; width: auto; margin: 0; bottom: auto; left: auto; right: auto;
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: 12px; padding: 0;
  }
  .hero-locate { font-size: 9.5px; letter-spacing: 0.12em; white-space: nowrap; }
  .hero-facts { gap: 8px 16px; margin-top: 0; }
  .hero-facts dt { font-size: 10px; letter-spacing: 0.18em; }
  .hero-facts dd { font-size: 15px; }
  /* 窄屏没有角落可站，改为文档流里的一根小横线 */
  .hero-base .scroll-hint { position: static; flex-direction: row; align-items: center; gap: 10px; align-self: flex-start; }
  .scroll-line { width: 34px; height: 1px; background: linear-gradient(90deg, transparent, rgba(198,166,103,0.7)); }
  .scroll-line::after { left: -60%; top: 0; width: 60%; height: 100%; animation: drop-x 2.6s var(--ease) infinite; }
  .scroll-word { writing-mode: horizontal-tb !important; }
  .btn-lg { flex: 1 1 100%; }
}
@keyframes drop-x { 0% { left: -60%; } 60%, 100% { left: 108%; } }

/* ============================================================
   图片管道 v2：hero 分流 / 街景满屏带 / 公区缩略条 / 设施区配图
   量出来的病根：改版前整页图片只覆盖 27% 面积，而 #creed #place
   #services 三个区块一架相机都没出现过 —— 连续六屏零图像。
   ============================================================ */

/* hero 现在用 <picture> 分流（窄屏一张 820×1640 的竖裁图）。
   picture 默认是 inline，会让里面 img 的 height:100% 失去参照，
   而 .hero-media 是绝对定位铺满的媒体框，补一条 block 铺满即可。 */
.hero-media picture { position: absolute; inset: 0; display: block; }

/* 公区卡片里的 <picture> 同理：让它撑满 .media，img 的 height:100% 才有意义 */
.space .media picture { display: block; height: 100%; }

/* ---------- 街景满屏带 ---------- */
.street-band { position: relative; }
.street-band .band-figure { position: relative; margin: 0; }
.street-band img {
  width: 100%; height: clamp(320px, 62vh, 720px);
  object-fit: cover; object-position: 50% 52%;
  display: block; filter: saturate(0.94) contrast(1.05);
}
/* 顶部留一点压暗接住上一段，底部重一点托住文字 */
.street-band .band-figure::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(7,8,10,0.34) 0%, transparent 30%,
              rgba(7,8,10,0.10) 54%, rgba(7,8,10,0.88) 100%);
}
.street-band figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  width: var(--shell); margin-inline: auto;
  padding-bottom: clamp(22px, 5vh, 54px);
  display: flex; align-items: baseline; gap: 18px;
}
.street-band .band-name {
  font-family: var(--serif); font-size: clamp(20px, 2.2vw, 32px);
  letter-spacing: 0.22em; color: var(--paper);
  text-shadow: 0 6px 30px rgba(0,0,0,0.82);
}
.street-band .band-note {
  font-size: var(--t-small); letter-spacing: 0.16em; color: var(--paper-dim);
  text-shadow: 0 4px 22px rgba(0,0,0,0.82);
}

/* ---------- 公区缩略条 ---------- */
/* 条子挂在卡片底部、横跨整个卡片宽度，而不是挤在右侧文字栏里。
   挤在文字栏里时每格只有 143 px，等于没放图 —— 这是实测出来的。 */
.media-strip {
  list-style: none; display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; margin: 0; padding: 0; background: var(--line-soft);
}
.space-wide .media-strip { grid-column: 1 / -1; }
.media-strip--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.media-strip picture { display: block; overflow: hidden; }
.media-strip img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block;
  filter: saturate(0.92) contrast(1.04);
  transition: filter 0.7s var(--ease), transform 0.9s var(--ease);
}
.media-strip img:hover { filter: saturate(1.02) contrast(1.06); transform: scale(1.04); }

/* ---------- 设施区那唯一一张图 ---------- */
.svc-photo { margin: 0 0 clamp(26px, 4vh, 52px); }
.svc-photo img {
  width: 100%; height: clamp(220px, 34vh, 400px);
  object-fit: cover; display: block; filter: saturate(0.94) contrast(1.04);
}
.svc-photo figcaption {
  margin-top: 14px; font-size: var(--t-small);
  letter-spacing: 0.04em; color: var(--mute);
}

/* ---------- 窄屏 ---------- */
@media (max-width: 1000px) {
  .street-band .band-figure::after {
    background: linear-gradient(180deg, rgba(7,8,10,0.26) 0%, transparent 26%,
                rgba(7,8,10,0.16) 48%, rgba(7,8,10,0.92) 100%);
  }
}

@media (max-width: 760px) {
  .street-band img { height: clamp(260px, 46vh, 430px); }
  .street-band figcaption { flex-direction: column; align-items: flex-start; gap: 6px; }
  .street-band .band-name { font-size: 20px; letter-spacing: 0.18em; }
  .media-strip { gap: 5px; }
  .svc-photo img { height: clamp(180px, 30vh, 300px); }
}

/* ============================================================
   交互 v4 · 资料浮卡（dossier）
   碰哪个控件，就把那个控件「相关的资料」托到光标边。
   一个组件服务三处：英雄区数据条 / 房型标签 / 设施格。
   内容全部写在 HTML 的 data-* 上，JS 只负责搬运、定位与开关 ——
   以后想再加一个浮出点，加一个属性就行，不用碰 JS。
   ============================================================ */

/* 外层只被 JS 用 transform 定位；缩放与模糊交给内层。
   两层分开是必须的：位移和出场动画都写在 transform 上会互相覆盖。 */
.dossier {
  position: fixed; top: 0; left: 0; z-index: 90;
  width: 312px; max-width: calc(100vw - 32px);
  pointer-events: none;
  will-change: transform;
}
.dossier-in {
  position: relative;
  overflow: hidden;
  background: rgba(12, 14, 16, 0.95);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  backdrop-filter: blur(16px) saturate(1.15);
  border: 1px solid rgba(198, 166, 103, 0.22);
  box-shadow: 0 30px 78px -22px rgba(0, 0, 0, 0.94),
              inset 0 1px 0 rgba(244, 240, 232, 0.05);
  opacity: 0; visibility: hidden;
  transform: translateY(12px) scale(0.965);
  filter: blur(9px);
  transition: opacity 0.3s var(--ease), filter 0.3s var(--ease),
              transform 0.44s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0s linear 0.44s;
}
.dossier.is-out .dossier-in {
  opacity: 1; visibility: visible; filter: blur(0);
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}
/* 顶边一道黄铜发丝线，打开时从左向右「画」出来 */
.dossier-in::after {
  content: ''; position: absolute; top: -1px; left: -1px; right: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass), transparent);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 0.62s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}
.dossier.is-out .dossier-in::after { transform: scaleX(1); }

.dossier-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--ink-2); }
.dossier-media[hidden] { display: none; }
.dossier-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(0.95) contrast(1.04);
  transform: scale(1.09);
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.dossier.is-out .dossier-media img { transform: scale(1); }

.dossier-body { padding: 17px 19px 19px; }
/* 没有实拍图的条目：用一枚大号黄铜序号当版面主体，
   比塞一张不相干的图诚实，读起来也像图录的一个条目 */
.dossier-mark {
  margin: 0 0 4px; font-family: var(--latin);
  font-size: 44px; line-height: 1; letter-spacing: 0.02em;
  color: rgba(198, 166, 103, 0.34);
}
.dossier-mark[hidden] { display: none; }
.dossier-eyebrow {
  margin: 0; font-size: 9.5px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--mute-2);
}
.dossier-eyebrow[hidden] { display: none; }
.dossier-title {
  margin: 7px 0 0; font-family: var(--serif); font-weight: 500;
  font-size: 19px; line-height: 1.45; letter-spacing: 0.07em; color: var(--paper);
}
.dossier-rule { height: 1px; margin: 14px 0; border: 0; background: var(--line-soft); }
.dossier-rows {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 16px; margin: 0;
}
.dossier-rows[hidden] { display: none; }
.dossier-rows dt {
  font-size: 10.5px; letter-spacing: 0.18em; color: var(--mute-2); line-height: 1.85;
}
.dossier-rows dd {
  margin: 0; font-size: 13px; letter-spacing: 0.03em;
  line-height: 1.7; color: var(--paper-dim);
}
.dossier-note {
  margin: 14px 0 0; padding-top: 13px; border-top: 1px solid var(--line-soft);
  font-size: 12px; line-height: 1.8; letter-spacing: 0.03em; color: var(--mute);
}
.dossier-note[hidden] { display: none; }
.dossier-note b { color: var(--brass); font-weight: 500; letter-spacing: 0.08em; }

/* 可浮出的元素：右缘一道竖发丝线，高度从 0 长到 22px。
   「这里还有东西」这件事，不用加图标就能说清楚。 */
[data-dossier] { position: relative; }
[data-dossier]::after {
  content: ''; position: absolute; right: 0; top: 50%; width: 1px; height: 0;
  background: var(--brass); opacity: 0; transform: translateY(-50%);
  transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s var(--ease);
  pointer-events: none;
}
[data-dossier]:hover::after,
[data-dossier].is-hot::after,
[data-dossier]:focus-visible::after { height: 22px; opacity: 0.85; }

/* 正在被浮出的那一格，自己也要有反应 */
.hero-facts > div.is-hot dt { color: var(--brass); }
.hero-facts > div.is-hot dd { color: var(--paper); }
.rooms-tabs button.is-hot i { color: var(--brass); }
.rooms-tabs button.is-hot span { color: var(--paper); }
.svc-grid li.is-hot { background: var(--ink-2); }
.svc-grid li.is-hot::before { transform: scaleX(1); }
.svc-grid li.is-hot h3 { color: var(--brass-hi); }

/* 触屏没有光标可跟，改成从底部托出的一张卡，点别处收回 */
@media (hover: none), (pointer: coarse) {
  .dossier { width: min(400px, calc(100vw - 24px)); }
  .dossier-in { transform: translateY(26px) scale(0.98); }
  .dossier.is-out .dossier-in { transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .dossier-in, .dossier-media img, .dossier-in::after { transition-duration: 0.01s; }
}

/* ==== 落雪 ==== */
/* 改编自 Bolt（StackBlitz）生成方案：纯 CSS 关键帧，JS 只负责撒节点。
   三处改动见 tools/patch-snow-and-groups.py 文件头。 */
.hero-snow { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.hero-snow i {
  position: absolute; top: -8px; display: block;
  border-radius: 50%; background: #F4F0E8;
  animation: snowfall linear infinite;
  will-change: transform, opacity;
}
@keyframes snowfall {
  0%   { transform: translate3d(0, -8px, 0); opacity: 0; }
  9%   { opacity: 1; }
  86%  { opacity: 0.7; }
  100% { transform: translate3d(var(--sx, 28px), 100svh, 0); opacity: 0; }
}
/* 注意：雪层 z-index 2 落在压暗层之上、文字（z-index 3）之下 */

/* ==== 房型分组 ==== */
/* 思路取自 v0 by Vercel；本页 tab 是竖排列表，分组标签插在两组之间 */
.rooms-tabs .rooms-group {
  padding: 15px 0 7px;
  font-family: var(--sans); font-size: 9.5px;
  letter-spacing: 0.24em; color: var(--mute-2);
  /* 自己带边框：第一条分组标签是列表首项，命中不了 li + li 那条规则，会缺分隔线 */
  border-top: 1px solid var(--line-soft);
}
/* 分组标签自带的上边框就够当分隔线，紧跟其后的第一个房型不要再画一条 */
.rooms-tabs .rooms-group + li { border-top: 0; }

/* 关掉动效的用户也要看得到雪 —— 只是它不动。
   早先这里写的是 display:none，等于把业主点名要的特效整个删掉，
   于是系统开着「减少动态效果」的人首屏一片雪都看不到。
   现在由 JS 生成一层静止的雪（app.js 第 7 节的 still 分支），
   CSS 这边只负责停住动画，那条规则在本文件末尾的 prefers-reduced-motion 块里。 */


/* ============================================================
   设计手法补充包（tools/patch-polish.py 生成）
   七件：滚动条 / 排版细节 / 图片淡入 / 区块头三拍 / 满屏带视差 /
        回到顶部 / 光标暖光。每件单独可删，互相不依赖。
   ============================================================ */

/* ---- 1. 滚动条：细黄铜 ------------------------------------
   standard 属性给 Chromium 121+ 与 Firefox；老 Chromium 走 ::-webkit-* 兜底。
   支持 standard 的浏览器会自动忽略 ::-webkit-*，两条并存不冲突。 */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(198, 166, 103, 0.32) transparent;
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb {
  background: rgba(198, 166, 103, 0.22);
  border: 3px solid var(--ink);
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(198, 166, 103, 0.40); }

/* ---- 2. 排版细节 ------------------------------------------ */
/* 标题断行交给浏览器平衡，避免末行只剩一两个字 */
.h2, .creed-lead, .hero-tag, .place-value, .space-body h3 { text-wrap: balance; }
/* 正文段落用 pretty：只避免末行孤字，不像 balance 那样重排整段 */
.space-body > p, .svc-grid p, .room-desc, .lede { text-wrap: pretty; }
/* 数字等宽：房型序号从 01 跳到 08 时宽度不抖 */
.rooms-count, .place-coord, .hero-facts dd, .rooms-all-h b,
.rooms-tabs button i, .dossier-mark, .eyebrow .num { font-variant-numeric: tabular-nums; }

/* ---- 3. 图片淡入 ------------------------------------------
   用 @media (scripting: enabled) 兜底：脚本被禁用时这条整块不生效，图照常显示。
   本页的 .reveal 本来就依赖 JS，所以这里的假设和全页一致。 */
@media (scripting: enabled) {
  img[loading="lazy"] { opacity: 0; transition: opacity 0.9s var(--ease); }
  img[loading="lazy"].is-ready { opacity: 1; }
}

/* ---- 4. 区块头三拍 + 标题幕布上提 --------------------------
   原来 .block-head 自己是 .reveal，整块一起淡入，眉标/标题/导语没有先后。
   这里让 .block-head 本身不再淡入，把节奏交给三个子元素。 */
.block-head.reveal { opacity: 1; transform: none; }
@media (scripting: enabled) {
  .block-head.reveal .eyebrow,
  .block-head.reveal .lede {
    opacity: 0; transform: translateY(22px);
    transition: opacity 1s var(--ease), transform 1.05s var(--ease);
  }
  .block-head.reveal-in .eyebrow { transition-delay: 0ms; }
  .block-head.reveal-in .lede    { transition-delay: 210ms; }
  .block-head.reveal-in .eyebrow,
  .block-head.reveal-in .lede { opacity: 1; transform: none; }

  /* 标题用 clip-path 自下而上揭开 —— 像幕布上提，比淡入有印刷感。
     终值取负数 inset 是为了留出字形外扩（衬线字的溢出部分不会被切到）。 */
  .block-head.reveal .h2 {
    clip-path: inset(0 0 108% 0);
    transition: clip-path 1.2s cubic-bezier(0.16, 1, 0.3, 1) 90ms;
  }
  .block-head.reveal-in .h2 { clip-path: inset(-32% -32% -32% -32%); }
}

/* ---- 5. 满屏带视差 ----------------------------------------
   .band-figure 收口，img 放大 7.5% 留出位移余量（±3.75% 不会露边）。 */
.street-band .band-figure { overflow: hidden; }
.street-band img { will-change: transform; }

/* ---- 6. 回到顶部 ------------------------------------------ */
.to-top {
  position: fixed; right: clamp(16px, 2.4vw, 30px); bottom: clamp(16px, 2.4vw, 30px);
  z-index: 88; width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  background: rgba(12, 14, 16, 0.82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: var(--brass-hi);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(0.94);
  transition: opacity 0.5s var(--ease), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0s linear 0.55s, border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.to-top.is-on {
  opacity: 1; visibility: visible; transform: none;
  transition-delay: 0s, 0s, 0s, 0s, 0s;
}
.to-top:hover { border-color: rgba(198, 166, 103, 0.5); color: var(--paper); }
.to-top svg { width: 15px; height: 15px; display: block; }

/* ---- 7. 光标暖光 ------------------------------------------ */
.cursor-glow {
  position: fixed; top: 0; left: 0; z-index: 4;
  width: 640px; height: 640px; margin: -320px 0 0 -320px;
  pointer-events: none; opacity: 0;
  background: radial-gradient(circle closest-side,
    rgba(198, 166, 103, 0.075), rgba(198, 166, 103, 0.030) 46%, rgba(198, 166, 103, 0) 72%);
  transition: opacity 1.2s var(--ease);
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
  .cursor-glow.is-on { opacity: 1; }
}

/* ---- 补充：窄屏收口 ----------------------------------------
   390px 下 shell 右边缘是 366px，46px 的圆钮会压到最后一行法务小字上，
   所以钮缩到 40px、页脚多留 72px 底距。 */
@media (max-width: 760px) {
  .to-top { width: 40px; height: 40px; right: 14px; bottom: 14px; }
  .site-foot { padding-bottom: 72px; }
}

/* ---- 补充：关动效时全部退化为静态 ---------------------------- */
@media (prefers-reduced-motion: reduce) {
  .block-head.reveal .eyebrow,
  .block-head.reveal .lede { opacity: 1; transform: none; }
  .block-head.reveal .h2 { clip-path: none; }
  img[loading="lazy"] { opacity: 1; }
  .to-top { transition-duration: 0.01s; }
  .cursor-glow { display: none; }
}


/* ============================================================
   GLM-4.5 版式（tools/patch-format.py）
   区块头居中 + 内容栏收到 1152 + 房型横向胶囊 + 服务 3 列 + 联系两栏
   ============================================================ */

/* ---------- 区块头 ---------- */
.block-head { text-align: center; }
.block-head .eyebrow { justify-content: center; }
.block-head .lede { margin-inline: auto; max-width: 720px; }

/* 标题下那条短横线：两端透明，中间黄铜，像刻上去的一道 */
.sec-line {
  display: block; width: 46px; height: 1px;
  margin: clamp(18px, 2.6vh, 30px) auto 0;
  background: linear-gradient(90deg, transparent, var(--brass), transparent);
}

/* ---------- 信条 ---------- */
.creed { text-align: center; }
.creed-lead { margin-inline: auto; max-width: 760px; }
.creed-list { width: min(1040px, 88vw); }

/* ---------- 房型：横向胶囊 ---------- */
.rooms-pills {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 8px;
  max-width: 1000px;
  margin: 0 auto clamp(24px, 3.4vh, 42px);
  padding: 0; list-style: none;
}
/* 分组小标签自占一行，居中 —— 不可点，只是把 4+4 说清楚 */
.rooms-pills .rooms-group {
  flex: 0 0 100%;
  padding: 10px 0 2px;
  font-family: var(--sans); font-size: 9.5px; letter-spacing: 0.24em;
  color: var(--mute-2); text-align: center;
}
.rooms-pills .rooms-group:first-child { padding-top: 0; }
.rooms-pills li { list-style: none; }
.rooms-pills button {
  display: inline-flex; align-items: baseline; gap: 9px;
  padding: 9px 17px;
  border: 1px solid var(--line-soft); border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--serif); font-size: 14.5px; letter-spacing: 0.06em;
  color: var(--paper-dim); cursor: pointer;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease),
              color 0.4s var(--ease), transform 0.4s var(--ease);
}
.rooms-pills button i {
  font-family: var(--latin); font-style: normal; font-size: 10px;
  letter-spacing: 0.14em; color: var(--paper-faint);
}
.rooms-pills button:hover {
  border-color: var(--line); background: rgba(198, 166, 103, 0.06);
  color: var(--paper); transform: translateY(-1px);
}
.rooms-pills button[aria-selected="true"] {
  border-color: var(--brass); background: rgba(198, 166, 103, 0.12); color: var(--paper);
}
.rooms-pills button[aria-selected="true"] i { color: var(--brass); }

/* 图 3 : 文 2 —— GLM-4.5 是 col-span-3 / col-span-2 */
@media (min-width: 1001px) {
  .rooms-ui { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
}

/* 胶囊搬走后 .rooms-panel 里只剩详情，横线由外框负责 */
.room-detail { border-top: 0; }

/* ---------- 联系：桌面两栏 ---------- */
@media (min-width: 1001px) {
  .contact-inner {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: start;
  }
  /* 头照旧通栏居中 */
  .contact-inner > .reveal:first-child { grid-column: 1 / -1; }
  .contact-acts { flex-direction: column; align-items: stretch; }
  .contact-acts .btn { justify-content: space-between; }
  .contact-note { padding-top: 0; border-top: 0; }
}

.contact-inner > .reveal:first-child { text-align: center; }
.contact-inner > .reveal:first-child .eyebrow { justify-content: center; }
.contact-inner > .reveal:first-child .lede { margin-inline: auto; max-width: 720px; }

/* ---------- 页脚居中 ---------- */
@media (min-width: 761px) {
  .foot-inner { justify-items: center; text-align: center; }
  .foot-legal { margin-inline: auto; }
}

/* ---------- 窄屏兜底 ---------- */
@media (max-width: 760px) {
  .rooms-pills { gap: 7px; max-width: none; }
  .rooms-pills button { padding: 8px 13px; font-size: 13.5px; }
  .rooms-pills button i { display: none; }
}


/* ============================================================
   场景特效（tools/patch-fx.py）
   乌鲁木齐·天山北麓 —— 八个房型的「景观」一栏写的都是山景，这组特效全部落在这件事上
   ============================================================ */

/* ---------- FX1 天山雪线 ---------- */
.hero-range {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: clamp(108px, 19vh, 236px);
  z-index: 2; pointer-events: none;
}
.hero-range svg { display: block; width: 100%; height: 100%; }
.hero-range .rg-far {
  fill: url(#rgFar);
  stroke: rgba(244, 240, 232, 0.14);   /* 那道岭上的雪脊 */
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.hero-range .rg-near { fill: url(#rgNear); }

/* ---------- FX2 暖光呼吸 ---------- */
.hero-glow {
  position: absolute; z-index: 1; pointer-events: none;
  left: -8%; top: 4%; width: 64%; height: 82%;
  /* 三代参数的来历（都用 tools/_glow_probe.py 量过叠加色）：
     · 0.17 / 52%×46% 金色 → 视觉「几乎看不见」
     · 0.28 / 58%×52% 金色 → 像素差 13.66%，判语「发脏、像蒙了一层黄雾」
     · 0.26 / 46%×40% 金色 → 像素差 3.26%，仍被判「黄雾」
     探针给出根因：金 (198,166,103) 饱和度 48%，叠在蓝黑夜色上会把蓝压掉 ——
     圆心处合成色从 [57,63,78] 的蓝灰变成 [89,86,83] 的中性灰，等于把天空抹灰。
     改用低饱和暖白 (255,233,200)：同样提亮，合成后仍是 [91,92,98]，蓝色留住了，
     这才像灯光而不像雾。 */
  background: radial-gradient(46% 40% at 33% 42%,
              rgba(255, 233, 200, 0.18),
              rgba(255, 233, 200, 0.02) 38%,
              transparent 68%);
  animation: glow-breathe 19s ease-in-out infinite;
  will-change: opacity, transform;
}
@keyframes glow-breathe {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  46%      { opacity: 1;   transform: scale(1.05); }
}

/* ---------- FX3/4/5 落雪：三层景深 + 阵风 + 六角雪晶 ---------- */
/* 阵风：整层雪 26s 一次明暗起伏，像风一阵一阵吹过来 */
.hero-snow { animation: gust 26s ease-in-out infinite; }
@keyframes gust {
  0%, 100% { opacity: 0.62; }
  34%      { opacity: 1; }
  58%      { opacity: 0.46; }
  79%      { opacity: 0.88; }
}

.hero-snow .sl { position: absolute; inset: 0; }

/* 深浅走颜色 alpha。关键帧里的 opacity 会盖掉内联 opacity，绝不能写在那 */
.hero-snow i { background: var(--sfc, #F4F0E8); }

/* 六角雪晶：圆点换成六边形，并且自己慢慢转 */
.hero-snow i.crystal { background: transparent; border-radius: 0; }
.hero-snow i.crystal::before {
  content: ""; position: absolute; inset: 0;
  background: var(--sfc, #F4F0E8);
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  animation: flake-spin 12s linear infinite;
}
@keyframes flake-spin { to { transform: rotate(360deg); } }

/* 近景大颗虚焦 —— 景深最重要的一笔 */
.hero-snow .sn i { filter: blur(0.9px); }

/* ---------- FX6 黄铜扫光（入场一次，不循环） ---------- */
.hero-sheen {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: linear-gradient(102deg,
              transparent 38%,
              rgba(232, 213, 164, 0.07) 47%,
              rgba(244, 240, 232, 0.12) 50%,
              rgba(232, 213, 164, 0.07) 53%,
              transparent 62%);
  transform: translate3d(-120%, 0, 0);
  animation: sheen 2.8s 700ms cubic-bezier(0.22, 0.61, 0.36, 1) 1 both;
}
@keyframes sheen {
  0%   { transform: translate3d(-120%, 0, 0); opacity: 0; }
  12%  { opacity: 1; }
  100% { transform: translate3d(120%, 0, 0); opacity: 0; }
}

/* ---------- 关了动效的用户 ---------- */
/* 山和暖光是「景」，可以留；一切会动的一律停掉 */
@media (prefers-reduced-motion: reduce) {
  .hero-snow { animation: none !important; }
  .hero-glow { animation: none !important; opacity: 0.7; }
  .hero-snow i.crystal::before { animation: none !important; }
  .hero-sheen { display: none !important; }
}

/* ---------- 窄屏 ---------- */
@media (max-width: 760px) {
  .hero-range { height: clamp(92px, 17vh, 190px); }
  .hero-glow { left: -18%; top: 2%; width: 96%; height: 70%; }
}
