/* finesse · register=brand · A=warm-charcoal+safelight-amber · B=800/400+CJK · C=contact-sheet
 * D=CSS-only(R1/R2) · E=darkroom-film · SOUL=7 SPECTACLE=4 DENSITY=5
 *
 * ZXDesk工作台 官网 — 全站唯一样式表。
 *
 * 【这一版的方向：私人暗房】
 * 旧版是「纸白工程图纸 + 靛蓝」。这一版整体换到暗房：近黑的暖炭色墙面、一盏琥珀色安全灯、
 * 六个模块是接触印相表上的六格相框。讲的事和产品卖点是一件事：
 * 底片不出门，冲印都在自己家；数据不出 NAS，处理都在自己设备上。
 * 应用截图本身是浅色靛蓝界面，挂在深色墙上正好被衬亮，所以首屏不放渐变、不放发光字。
 *
 * 【硬约束】
 * 1. 零外部请求：不引 CDN / 网络字体 / 图标库 / 统计。字体只用系统字体栈，图标是内联 SVG。
 * 2. 琥珀是唯一强调色：安全灯光晕、主按钮、相框编号、手写圈注之外，页面保持暖炭 + 暖白。
 *    应用截图里出现的靛蓝属于「照片里的颜色」，不算站点的第二强调色。
 * 3. 截图不套假外壳：不给截图画假浏览器栏或假手机边框，最多一层细边框 + 相框衬纸。
 * 4. 不写没验证过的数字；文案里不拿破折号当停顿。
 */

/* ---------- 令牌（三段式：名字 (值) — 角色） ---------- */
:root {
  /* 暗房墙面 (#14100D) — 页面底色，向暖褐偏的近黑 */
  --bg: #14100d;
  /* 相纸背板 (#1c1712) — 比底色亮一档的面板 */
  --surface: #1c1712;
  /* 台面 (#251e17) — 再亮一档，用于相框内衬与悬浮件 */
  --surface-2: #251e17;
  /* 定影纸白 (#ede5d8) — 正文与标题，暖白，不用纯白 */
  --ink: #ede5d8;
  /* 灰阶 (#a6988a) — 次要文字 */
  --muted: #a6988a;
  /* 暗部 (#6e6154) — 三级文字与弱分隔 */
  --dim: #6e6154;
  /* 发丝线 (rgba(237,229,216,.11)) — 分隔线与描边 */
  --line: rgba(237, 229, 216, 0.11);
  /* 安全灯琥珀 (#e8a33d) — 唯一强调色，拥有整页 */
  --amber: #e8a33d;
  /* 深琥珀 (#b96f24) — 强调色的按压/描边态 */
  --amber-deep: #b96f24;
  /* 灯下墨 (#201204) — 琥珀底上的文字 */
  --on-amber: #201204;
  /* 齿孔圈 (rgba(20,16,13,.9)) — 胶片齿孔的「孔」，透出页面底色 */
  --hole: rgba(20, 16, 13, 0.92);

  --font: -apple-system, 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', 'Noto Sans CJK SC', system-ui, sans-serif;
  --mono: ui-monospace, 'Cascadia Mono', Consolas, 'SF Mono', Menlo, monospace;

  --wrap: 1160px;
  --nav-h: 64px;
  --radius: 14px;
  --radius-sm: 9px;
  --z-nav: 300;
  --z-toast: 400;
}

/* ---------- 基底 ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: clip;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}

/* 颗粒：整页一层静态噪声，暗房质感的地基（动画免谈） */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  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.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  position: relative;
  z-index: 5;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

a {
  color: var(--amber);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--amber);
  color: var(--on-amber);
}

h1,
h2,
h3 {
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
  min-width: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ---------- 顶部导航（全站唯一 sticky） ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  height: var(--nav-h);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(10px);
}

.nav .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand:hover {
  text-decoration: none;
}

.brand svg {
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  padding: 8px 11px;
  border-radius: 999px;
  white-space: nowrap;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

.nav-links a:hover {
  color: var(--ink);
  text-decoration: none;
  background: var(--surface-2);
}

.nav-links a[aria-current='page'] {
  color: var(--amber);
  background: color-mix(in srgb, var(--amber) 12%, transparent);
}

.nav-cta {
  flex-shrink: 0;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 26px;
  min-height: 46px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.2s,
    border-color 0.2s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-amber {
  background: var(--amber);
  color: var(--on-amber);
}

.btn-amber:hover {
  background: #f0b054;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.btn-sm {
  font-size: 13.5px;
  padding: 8px 16px;
  min-height: 36px;
}

/* ---------- 通用文本件 ---------- */
.code {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--amber);
}

.muted {
  color: var(--muted);
}

.sec {
  padding: 96px 0;
}

.sec-head {
  max-width: 640px;
  margin-bottom: 44px;
}

.sec-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-top: 10px;
}

.sec-head p {
  color: var(--muted);
  margin-top: 14px;
}

/* ---------- 首页 · 首屏（暗房 + 安全灯） ---------- */
.hero {
  position: relative;
  padding: 88px 0 0;
}

/* 安全灯：右上角一盏，进场时呼吸一次然后常亮（动态只在 JS 与「未减少动态」时加） */
.safelight {
  position: absolute;
  top: -180px;
  right: -120px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--amber) 26%, transparent) 0%,
    color-mix(in srgb, var(--amber) 9%, transparent) 34%,
    transparent 68%
  );
  filter: blur(6px);
  opacity: 0.82;
}

.js .safelight {
  animation: lamp-on 2.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes lamp-on {
  from {
    opacity: 0.12;
  }
  60% {
    opacity: 1;
  }
  to {
    opacity: 0.82;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .safelight {
    animation: none;
    opacity: 0.82;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(38px, 5.2vw, 62px);
  line-height: 1.14;
  margin: 18px 0 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--amber);
}

.hero .lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-meta {
  margin-top: 26px;
  color: var(--dim);
  font-size: 13px;
  font-family: var(--mono);
  letter-spacing: 0.06em;
}

/* 首屏桌面：桌面截图为主，手机截图搭在右下 */
.hero-shot {
  position: relative;
  min-width: 0;
}

.shot-desktop {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.shot-desktop img {
  border-radius: calc(var(--radius) - 5px);
}

.shot-phone {
  position: absolute;
  right: -18px;
  bottom: -64px;
  width: clamp(150px, 21%, 208px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  padding: 7px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.shot-phone img {
  border-radius: 12px;
}

/* 胶片齿孔条：暗房的身份纹样，只用在首屏底部与印相表上下 */
.sprocket {
  height: 18px;
  margin-top: 84px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background-image: radial-gradient(circle at 9px 9px, var(--hole) 3.4px, transparent 4px);
  background-size: 26px 18px;
  background-position: center;
}

/* ---------- 事实带 ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fact {
  padding: 30px 26px;
  border-left: 1px solid var(--line);
}

.fact:first-child {
  border-left: none;
  padding-left: 0;
}

.fact b {
  display: block;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.fact span {
  display: block;
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 6px;
  line-height: 1.6;
}

/* ---------- 暗房论（隐私主张） ---------- */
.creed {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 64px;
  align-items: start;
}

.creed h2 {
  font-size: clamp(26px, 3.6vw, 36px);
  line-height: 1.3;
}

.creed h2 em {
  font-style: normal;
  color: var(--amber);
}

.creed-points {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
}

.creed-point {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.creed-point:first-child {
  border-top: none;
  padding-top: 0;
}

.creed-point svg {
  margin-top: 4px;
}

.creed-point b {
  display: block;
  font-size: 16.5px;
}

.creed-point p {
  color: var(--muted);
  font-size: 14.5px;
  margin-top: 5px;
}

/* 暗房示意：一只 NAS，线都收在家里（纯 SVG，零请求） */
.den-boy {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 26px;
}

.den-boy svg {
  width: 100%;
  height: auto;
}

.den-boy figcaption {
  margin-top: 16px;
  color: var(--dim);
  font-size: 12.5px;
  font-family: var(--mono);
  letter-spacing: 0.05em;
  text-align: center;
}

/* ---------- 接触印相表（六个模块） ---------- */
.contact-sheet {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0 18px;
}

.sheet-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 22px;
  padding: 26px 4px;
}

.frame {
  position: relative;
  display: block;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  padding: 10px 10px 14px;
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.25s;
}

.frame:hover {
  text-decoration: none;
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--amber) 55%, var(--line));
}

.frame img {
  border-radius: 6px;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  width: 100%;
  background: #fff;
}

.frame-meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 12px;
  padding: 0 4px;
}

.frame-meta .code {
  flex-shrink: 0;
}

.frame-meta b {
  font-size: 16.5px;
  font-weight: 800;
}

.frame p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 5px 4px 0;
}

/* 手写圈注：暗房里挑中那格的蜡笔圈 */
.frame-pick::after {
  content: '';
  position: absolute;
  inset: -9px -7px;
  border: 2.5px solid var(--amber);
  border-radius: 14px / 22px;
  transform: rotate(-1.6deg);
  pointer-events: none;
  opacity: 0.9;
}

.frame-pick .pick-note {
  position: absolute;
  top: -34px;
  right: -6px;
  transform: rotate(2.4deg);
  color: var(--amber);
  font-size: 13px;
  font-weight: 700;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
}

/* ---------- 双端 ---------- */
.duo {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 60px;
  align-items: center;
}

.duo-shot {
  position: relative;
  min-width: 0;
}

.duo-shot .shot-desktop {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.duo-shot .shot-phone {
  position: absolute;
  left: -26px;
  bottom: -46px;
  right: auto;
}

.duo h2 {
  font-size: clamp(26px, 3.6vw, 36px);
  margin-top: 10px;
}

.duo p {
  color: var(--muted);
  margin-top: 16px;
}

.duo ul {
  margin-top: 22px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.duo li {
  color: var(--muted);
  font-size: 14.5px;
  padding-left: 22px;
  position: relative;
}

.duo li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--amber);
  transform: rotate(45deg);
}

/* ---------- 路线图 ---------- */
.road {
  border-top: 1px solid var(--line);
}

.road-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: baseline;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
}

.road-row .code {
  color: var(--dim);
}

.road-row b {
  font-size: 17px;
  font-weight: 700;
}

.road-row p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 3px;
}

.pill {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 13px;
  color: var(--muted);
  white-space: nowrap;
}

.pill-live {
  color: var(--on-amber);
  background: var(--amber);
  border-color: var(--amber);
  font-weight: 700;
}

.pill-now {
  color: var(--amber);
  border-color: color-mix(in srgb, var(--amber) 55%, var(--line));
}

/* ---------- 行动区 ---------- */
.cta {
  text-align: center;
  padding: 120px 0;
}

.cta h2 {
  font-size: clamp(32px, 5vw, 52px);
}

.cta p {
  color: var(--muted);
  margin: 18px auto 34px;
  max-width: 52ch;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.cta-note {
  margin-top: 22px;
  color: var(--dim);
  font-size: 13px;
}

/* ---------- 页脚 ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 52px;
}

.foot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  align-items: center;
}

.foot-grid .brand {
  font-size: 15.5px;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-left: auto;
}

.foot-links a {
  color: var(--muted);
  font-size: 13.5px;
  white-space: nowrap;
}

.foot-links a:hover {
  color: var(--ink);
}

.foot-line {
  margin-top: 26px;
  color: var(--dim);
  font-size: 12.5px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}

.foot-line a {
  color: var(--dim);
}

.foot-line a:hover {
  color: var(--muted);
}

/* ---------- 模块页 ---------- */
.mod-hero {
  padding: 76px 0 56px;
}

.mod-hero .code {
  display: block;
}

.mod-hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  margin: 14px 0 16px;
}

.mod-hero .lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 56ch;
}

.mod-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* 主截图：相框衬纸 */
.plate {
  margin: 8px 0 0;
}

.plate .shot-desktop {
  padding: 14px;
}

.plate figcaption {
  display: flex;
  gap: 14px;
  align-items: baseline;
  margin-top: 14px;
  color: var(--dim);
  font-size: 12.5px;
  font-family: var(--mono);
  letter-spacing: 0.05em;
}

.plate figcaption b {
  color: var(--muted);
  font-weight: 400;
}

/* 功能清单 */
.feats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 56px;
}

.feat {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.feat .code {
  color: var(--dim);
  letter-spacing: 0.1em;
  padding-top: 3px;
}

.feat b {
  display: block;
  font-size: 16px;
}

.feat p {
  color: var(--muted);
  font-size: 14.5px;
  margin-top: 5px;
}

/* 洗印须知：诚实边界 */
.notice {
  border: 1px solid color-mix(in srgb, var(--amber) 38%, var(--line));
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--amber) 7%, var(--surface));
  padding: 30px 34px;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 16px 48px;
}

.notice h3 {
  font-size: 19px;
  color: var(--amber);
}

.notice h3 small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  margin-top: 8px;
  line-height: 1.7;
}

.notice ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notice li {
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
}

.notice li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 9px;
  height: 2px;
  background: var(--amber);
}

/* 相邻模块：一条底片 */
.neighbors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.neighbor {
  display: flex;
  align-items: baseline;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  color: var(--ink);
  transition: border-color 0.2s;
}

.neighbor:hover {
  text-decoration: none;
  border-color: color-mix(in srgb, var(--amber) 55%, var(--line));
}

.neighbor .code {
  color: var(--dim);
}

.neighbor b {
  font-size: 15.5px;
}

/* ---------- 提示条（下载链接未开放等） ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  transform: translate(-50%, 16px);
  z-index: var(--z-toast);
  background: var(--surface-2);
  border: 1px solid var(--amber);
  color: var(--ink);
  font-size: 14px;
  border-radius: 999px;
  padding: 11px 22px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s,
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- 滚动显影：相纸在显影液里浮现 ----------
   终态优先：元素默认就是可见的；只有 JS 就绪且未要求减少动态时，才先藏后显。 */
.js.rm-ok .rv {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.js.rm-ok .rv.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js.rm-ok .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1020px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .hero {
    padding-top: 56px;
  }

  .shot-phone {
    bottom: -34px;
  }

  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact {
    padding: 24px 18px;
    border-top: 1px solid var(--line);
  }

  .fact:first-child {
    padding-left: 18px;
  }

  .fact:nth-child(odd) {
    border-left: none;
    padding-left: 0;
  }

  .fact:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .creed,
  .duo {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .sheet-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feats {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .notice {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .wrap {
    padding: 0 18px;
  }

  .sec {
    padding: 64px 0;
  }

  .nav .wrap {
    gap: 12px;
  }

  /* 胶囊行可横滑：右缘淡出提示「还有」 */
  .nav-links {
    mask-image: linear-gradient(90deg, #000 86%, transparent 99%);
    -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent 99%);
    padding-right: 18px;
  }

  .nav-cta {
    display: none;
  }

  .sheet-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .road-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .road-row .pill {
    justify-self: start;
  }

  .shot-phone {
    display: none;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .duo-shot .shot-phone {
    display: block;
    left: 10px;
    bottom: -30px;
  }

  .cta {
    padding: 84px 0;
  }

  .neighbors {
    grid-template-columns: minmax(0, 1fr);
  }

  .plate .shot-desktop {
    padding: 8px;
  }
}

/* ---------- 动效层（动效四拍，零库，全部尊重「减少动态」） ----------
   拍子：① 进场＝安全灯点亮 + 首屏文字依次浮起 ② 滚动＝区块显影（.rv）
   ③ 交互＝印相表的相纸悬停显影 ④ 交互＝琥珀光斑跟着手在印相表上移动。
   全部以「终态已写好」为前提：关掉 JS、触屏、或系统要求减少动态时，页面就是完整的静止版。 */

/* 拍① 进场：首屏元素依次浮起 */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.js.rm-ok .stagger > * {
  opacity: 0;
  animation: rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(140ms + var(--i, 0) * 90ms);
}

.js.rm-ok .hero-shot {
  opacity: 0;
  animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

/* 拍③ 相纸显影：印相表里的截图默认「未显影」（降饱和偏暗），
   鼠标停留或键盘聚焦时，一道显影液自上而下扫过，相纸显出本色。
   只在「有悬停指针」的设备上启用未显影初始态；触屏永远看到显影完成的相纸。 */
.fshot {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 6px;
}

.fshot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 18%,
    color-mix(in srgb, var(--amber) 16%, transparent) 50%,
    transparent 82%
  );
  transform: translateY(-105%);
  opacity: 0;
  pointer-events: none;
}

@keyframes develop {
  0% {
    transform: translateY(-105%);
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  100% {
    transform: translateY(105%);
    opacity: 0;
  }
}

@media (hover: hover) {
  .js.rm-ok .frame .fshot img {
    filter: saturate(0.55) brightness(0.8);
    transition: filter 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .js.rm-ok .frame:hover .fshot img,
  .js.rm-ok .frame:focus-visible .fshot img {
    filter: none;
  }

  .js.rm-ok .frame:hover .fshot::after,
  .js.rm-ok .frame:focus-visible .fshot::after {
    animation: develop 0.9s ease-out;
  }
}

/* 拍④ 手电灯：光斑位置由 site.js 写入 --lx / --ly，只跟悬停指针走 */
.contact-sheet {
  position: relative;
}

.sheet-light {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s;
  background: radial-gradient(
    320px circle at var(--lx, 50%) var(--ly, 40%),
    color-mix(in srgb, var(--amber) 14%, transparent),
    transparent 72%
  );
  mix-blend-mode: screen;
}

.contact-sheet:hover .sheet-light,
.contact-sheet:focus-within .sheet-light {
  opacity: 1;
}

@media (hover: none) {
  .sheet-light {
    display: none;
  }
}

/* ---------- 减少动态：整体兜底 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
