/* =========================================================
   陈瑾涵 · 个人摄影作品集  —  极简现代风格
   配色：暖奶油 #FAF7F1 / 牛油果绿 #E0E6D7 / 浅米咖辅助
   字体：优雅无衬线
   ========================================================= */

:root {
  --cream: #FAF7F1;             /* 暖奶油白：比冷白更治愈 */
  --avocado: #E0E6D7;
  --avocado-deep: #cdd5bd;
  --avocado-text: #74815a;       /* 牛油果绿（可读文字 / 按钮） */
  --avocado-note: #6e8f4d;       /* 题记用：比可读绿略高饱和，仍克制 */
  --avocado-bright: #7cb342;     /* 高饱和牛油果绿：灯箱选中缩略图边框等强调点 */
  --avocado-cta: #78a249;        /* 实心按钮填充绿：比 bright 饱和度低一档，配深墨字对比 4.6:1（可读） */
  --beige: #ece3d4;          /* 浅米咖辅助色 */
  --beige-deep: #ddd0ba;
  --ink: #2c2e29;            /* 主文字 暖炭灰 */
  --ink-soft: #6f7168;       /* 次要文字 */
  --ink-faint: #9a9c92;
  --line: #e4e6df;
  --white: #ffffff;
  --shadow: 0 18px 50px -28px rgba(44, 46, 41, 0.45);
  --shadow-sm: 0 10px 30px -22px rgba(44, 46, 41, 0.4);
  --radius: 14px;
  --radius-lg: 22px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", "STSong",
          "SimSun", "Noto Serif CJK SC", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  background-color: var(--cream);
  /* 极淡纸纹：全站叠加一层柔和颗粒，触感更温润 */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.75;
  font-weight: 300;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

.wrap { width: min(1180px, 92vw); margin-inline: auto; }

/* ---------- 通用排版 ---------- */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 400;
}
.section-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 300;
  font-family: var(--font-serif);
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.section-sub {
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 46ch;
}

/* =========================================================
   导航
   ========================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  z-index: 60;
  transition: background .4s var(--ease), box-shadow .4s var(--ease),
              backdrop-filter .4s var(--ease);
}
.nav.scrolled {
  background: rgba(250, 247, 241, 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.28em;
  color: var(--ink);
}
/* 网名：小而弱化，不抢眼 */
.brand__alias {
  font-size: 0.62em;
  font-weight: 300;
  letter-spacing: 0.06em;
  opacity: 0.45;
}

/* 导航品牌前：光圈标志（线性，含叶片开合动画） */
.brand__logo {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  color: var(--ink);
}
.brand__logo svg { width: 100%; height: 100%; display: block; overflow: visible; }
.aperture .ap-ring,
.aperture .ap-bound,
.aperture .ap-blade,
.aperture .ap-hole { fill: none; stroke: currentColor; stroke-linecap: butt; }
.aperture .ap-ring { stroke-width: 5.4; }
.aperture .ap-bound { stroke-width: 3.6; }
.aperture .ap-blade { stroke-width: 5.4; transform-box: view-box; }
.aperture .ap-hole { stroke-width: 4.4; transform-box: view-box; transform-origin: 60px 60px; }
@keyframes ap-blade {
  0%   { transform: rotate(0deg); }
  30%  { transform: rotate(-21deg); }
  68%  { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}
@keyframes ap-hole {
  0%   { transform: scale(1); }
  30%  { transform: scale(0.166); }
  68%  { transform: scale(1); }
  100% { transform: scale(1); }
}
.aperture.ap-play .ap-blade { animation: ap-blade 1.5s cubic-bezier(.22,.61,.36,1) both; }
.aperture.ap-play .ap-hole  { animation: ap-hole 1.5s cubic-bezier(.22,.61,.36,1) both; }
.nav--light .brand,
.nav--light .nav-link { color: var(--white); }
.nav--light .brand { text-shadow: 0 1px 14px rgba(0,0,0,0.5); }
.nav--light .brand__alias { opacity: 0.7; }
.nav--light .nav-link { text-shadow: 0 1px 10px rgba(0,0,0,0.45); }
.nav--light .nav-toggle span { box-shadow: 0 0 10px rgba(0,0,0,0.55); }

.nav-links { display: flex; gap: 38px; align-items: center; }
.nav-link {
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color .3s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--avocado-deep);
  transition: width .35s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link.active::after, .nav-link:hover::after { width: 100%; }

/* 导航下拉（作品集 → 人像/纪实） */
.nav-item { position: relative; }
.nav-drop {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 132px;
  margin-top: 6px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  z-index: 30;
}
/* 悬停桥接，避免从父链接移动到子菜单时断开 */
.nav-drop::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -12px;
  height: 12px;
}
/* 桌面端（有 hover 能力的鼠标设备）：hover 展开下拉。
   必须包在 (hover: hover) and (pointer: fine) 内——否则触屏设备会把首次
   点按误判为 :hover（iOS 行为），吞掉这次点击，导致要连点几次才展开。 */
@media (hover: hover) and (pointer: fine) {
  .nav-item:hover .nav-drop {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}
/* 键盘可达性：focus-within 保留（触屏点按不会持续聚焦，不吞点击） */
.nav-item:focus-within .nav-drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-drop__link {
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  padding: 9px 12px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav-drop__link:hover { background: var(--avocado); color: var(--ink); }

/* 折叠箭头：移动端显示为可点按钮（桌面端隐藏，hover 展开即可） */
.nav-caret {
  display: none; /* 桌面端隐藏 */
  width: 40px; height: 40px;
  margin: 0; padding: 0;
  border: 0; background: transparent;
  cursor: pointer;
  flex: 0 0 auto;
  position: relative;
  color: inherit;
}
.nav-caret::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translate(-50%, -65%) rotate(45deg);
  transition: transform .3s var(--ease);
}
.nav-item.open .nav-caret::after { transform: translate(-50%, -35%) rotate(225deg); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 1.5px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav--light .nav-toggle span { background: var(--white); }

/* =========================================================
   首页 Hero
   ========================================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink);
  overflow: hidden;
  /* 禁止双击（双击放大）缩放，保留滚动与双指缩放 */
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}
/* 纯色 + 缓慢流动的极淡渐变（v66）
   实现要点：渐变流动用 transform 平移（合成层动画，零重绘），
   绝不用 background-position 动画（每帧重绘整屏，iOS 掉帧又耗电）。
   注：原先另有一层飘逸光斑（.hero__bg::after + heroDrift），已按需求移除。 */
.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-color: var(--avocado);
  /* 静态斜向底纹：只负责"方向感"，不参与动画。
     （流动层必须做成纯横向才能无缝循环，斜向的视觉靠这一层补回来） */
  background-image: linear-gradient(112deg,
    rgba(255,255,255,0.20) 0%,
    rgba(255,255,255,0) 46%,
    rgba(176,186,158,0.24) 100%);
}
/* 第一层：渐变流动 —— 200% 宽的超宽渐变，平移 -50% 后首尾衔接，10s 无缝循环。
   ⚠ 无缝的两个硬条件（v66 修「每 10s 闪一下」）：
   ① 平移量 -50% 元素宽 = 一屏宽，所以渐变必须以 50% 为**周期**重复
      （0%/50%/100% 同色，25%/75% 同色），否则循环回跳时画面突变 = 闪。
   ② 角度必须是 90deg（纯横向）：斜向渐变在水平平移下不存在周期，
      无论色标怎么排都不可能无缝。 */
.hero__bg::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 200%; height: 100%;
  background: linear-gradient(90deg,
    rgba(255,255,255,0.32) 0%,
    rgba(214,224,197,0.44) 25%,
    rgba(255,255,255,0.32) 50%,
    rgba(214,224,197,0.44) 75%,
    rgba(255,255,255,0.32) 100%);
  animation: heroFlow 10s linear infinite;
  will-change: transform;
}
@keyframes heroFlow {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
/* 噪点肌理移到 hero 顶层（伪元素会盖住 hero__bg 的 background，故单独一层） */
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
/* 滚出首屏即暂停（省电）；系统开启「减弱动效」时完全静止 */
.hero.is-paused .hero__bg::before { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .hero__bg::before { animation: none; }
}
.hero__inner { position: relative; z-index: 2; padding: 0 20px; }

/* 相机对焦框：细线条 + 淡、轻动画 */
.focus-frame {
  position: relative;
  display: inline-block;
  padding: clamp(30px, 5vw, 60px) clamp(36px, 7vw, 84px);
  animation: focusIn 1.1s var(--ease) both;
}
.focus-corner {
  position: absolute;
  width: clamp(22px, 3.4vw, 38px);
  height: clamp(22px, 3.4vw, 38px);
  border: 0 solid rgba(44, 46, 41, 0.42);
  animation: focusBreath 4.6s ease-in-out 1.1s infinite;
}
.focus-corner.tl { top: 0; left: 0; border-width: 1px 0 0 1px; transform-origin: top left; }
.focus-corner.tr { top: 0; right: 0; border-width: 1px 1px 0 0; transform-origin: top right; }
.focus-corner.bl { bottom: 0; left: 0; border-width: 0 0 1px 1px; transform-origin: bottom left; }
.focus-corner.br { bottom: 0; right: 0; border-width: 0 1px 1px 0; transform-origin: bottom right; }
@keyframes focusIn {
  from { opacity: 0; transform: scale(1.07); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes focusBreath {
  0%, 100% { opacity: 0.5; }
  50%      { opacity: 0.95; }
}

.hero__name {
  font-size: clamp(44px, 9vw, 104px);
  font-weight: 600;
  font-family: var(--font-serif);
  letter-spacing: 0.22em;
  line-height: 1.05;
  text-indent: 0.22em;
  /* 原 #2c2e29 过黑过硬，改为低饱和暖灰，稍微灰一点 */
  color: #4e514b;
}
.hero__alias {
  margin-top: 16px;
  font-size: clamp(11px, 1.4vw, 14px);
  font-weight: 300;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  color: rgba(44, 46, 41, 0.5);
}
.hero__role {
  margin-top: 26px;
  font-size: clamp(14px, 2vw, 18px);
  letter-spacing: 0.4em;
  font-weight: 300;
  text-indent: 0.4em;
  color: var(--ink-soft);
}
.hero__scroll {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero__scroll i {
  width: 1px; height: 46px;
  background: linear-gradient(rgba(44,46,41,0.7), rgba(44,46,41,0));
  animation: scrollPulse 2.4s var(--ease) infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:.3;transform:scaleY(.6)} 50%{opacity:1;transform:scaleY(1)} }

/* 首页下方的引语区 */
.intro {
  padding: clamp(80px, 12vw, 150px) 0;
  text-align: center;
}
.intro p {
  font-size: clamp(17px, 2.4vw, 25px);
  font-weight: 200;
  line-height: 1.9;
  max-width: 22em;
  margin: 26px auto 0;
  color: var(--ink);
}
.intro .accent { color: var(--ink-soft); }
/* 引言区定位句：刻意比主引言小一号、用次级灰，保持克制不抢戏（v66） */
.intro__tagline {
  margin: 18px auto 0;
  font-size: 14px; font-weight: 300;
  letter-spacing: 0.16em; line-height: 1.8;
  color: var(--ink-soft);
}

/* 引言区双胶囊按钮（v66）：主 = 实心牛油果绿，次 = 同色描边 */
.intro__actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-top: 38px;
}
.pill {
  display: inline-block;
  padding: 11px 26px; border-radius: 999px;
  font-size: 14px; letter-spacing: 0.1em; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}
.pill--solid {
  background: var(--avocado-cta);
  border: 1px solid var(--avocado-cta);
  color: var(--ink);                /* 深墨字：与填充绿对比 4.6:1，白字只有 2.8:1 不可读 */
}
.pill--solid:hover { background: #6d9340; border-color: #6d9340; }
.pill--ghost {
  background: transparent;
  border: 1px solid var(--avocado-deep);
  color: var(--avocado-text);
}
.pill--ghost:hover { background: var(--avocado); border-color: var(--avocado-text); }
@media (max-width: 420px) {
  .pill { padding: 10px 20px; font-size: 13px; }
}

/* =========================================================
   作品集
   ========================================================= */
.page-head {
  padding: calc(var(--nav-h) + 70px) 0 30px;
}
.page-head .eyebrow { margin-bottom: 18px; display: block; }
.page-head .section-sub { margin-top: 18px; }

.tabs {
  display: flex;
  gap: 10px;
  margin: 40px 0 10px;
  flex-wrap: wrap;
}
.tab {
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink-soft);
  padding: 11px 26px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.tab:hover { border-color: var(--avocado-deep); color: var(--ink); }
.tab.active {
  background: var(--avocado);
  border-color: var(--avocado);
  color: var(--ink);
  font-weight: 400;
}

/* 作品集：JS masonry 双列瀑布流；JS 加载前退化为普通双列网格 */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(22px, 3vw, 40px);
  padding-bottom: 90px;
  position: relative;
}
.card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--avocado);
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;            /* 兜底：无 ratio 字段时统一比例 */
}
.card.is-landscape { aspect-ratio: 16 / 10; }   /* 横图：半宽扁卡 */
.card.is-portrait  { aspect-ratio: 3 / 4; }     /* 竖图：半宽高卡，与横图交错出节奏 */
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease), filter .6s var(--ease);
  filter: saturate(0.9);
}
.card:hover img { transform: scale(1.06); filter: saturate(1.04); }
.card__meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px 22px 20px;
  background: linear-gradient(0deg, rgba(20,22,18,0.55), rgba(20,22,18,0));
  color: #fff;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}
.card__title { font-size: 17px; font-weight: 400; font-family: var(--font-serif); letter-spacing: 0.08em; }
.card__count {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.82);
  white-space: nowrap;
}
/* 封面题记钩子：桌面 hover 浮现并覆盖原标题区；触屏设备常显于图片顶部 */
.card__note {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 22px 22px 54px;
  background: linear-gradient(0deg, rgba(20,22,18,.74), rgba(20,22,18,0));
  color: #fff;
  font-size: 12px;
  line-height: 1.65;
  letter-spacing: .04em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  pointer-events: none;
}
.card:hover .card__note { opacity: 1; transform: translateY(0); }
.card:hover .card__meta { opacity: 0; }
@media (hover: none) {
  .card__note {
    opacity: 1; transform: none;
    top: 0; bottom: auto; left: 0; right: 0;
    padding: 16px 18px 2px;
    background: linear-gradient(180deg, rgba(20,22,18,.55), rgba(20,22,18,0));
  }
}

/* 相册详情（缩略图一行） */
.album {
  padding: calc(var(--nav-h) + 70px) 0 100px;
  animation: fadeUp .5s var(--ease);
}
.album__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0 24px;
  flex-wrap: wrap;
}
.album__title { font-size: clamp(24px, 4vw, 38px); font-weight: 300; font-family: var(--font-serif); letter-spacing: 0.05em; }
/* 注：曾为「返回作品集」加过 .caret 尖角，按需求已去掉，按钮回归纯文字。 */
.album__back {
  border: 1px solid var(--avocado-deep);
  background: var(--cream);
  color: var(--avocado-text);
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.14em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all .3s var(--ease);
}
.album__back:hover { border-color: var(--avocado-text); background: var(--avocado); color: var(--avocado-text); }
.album__desc {
  color: var(--ink-soft);
  max-width: 60ch;
  font-size: 13px;            /* 移到照片下方，比原 15px 再小一号 */
  line-height: 1.85;
  margin-top: 24px;           /* 位于照片最后一排之下 */
  text-align: left;
}
.album__note {
  font-family: var(--font-serif);
  color: var(--avocado-note);
  font-size: 15px;            /* 与描述字同大（原 17px 斜体 → 15px 正体） */
  letter-spacing: 0.04em;
  max-width: 60ch;
  margin-top: 10px;           /* 比之前更贴近标题 */
  margin-bottom: 20px;        /* 与下方操作说明行拉开留白 */
  text-align: left;           /* 不满一行不居中，左对齐 */
}

/* 瀑布流变体：横图通栏占满整行，竖图两个并排一行 */
.album-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
  margin-top: 10px;
}
.aphoto {
  position: relative;
  grid-column: span 1;            /* 默认：竖图，占一格（两个并排一行） */
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: var(--avocado);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease);
}
.aphoto.is-landscape { grid-column: 1 / -1; }   /* 横图：跨满整行 */
.aphoto.is-portrait  { grid-column: span 1; }
.aphoto.is-full      { grid-column: 1 / -1; }   /* 末尾/落单单张竖图：占满整行，不留空缺 */
.aphoto:hover { transform: translateY(-4px); }
.aphoto img {
  width: 100%; height: auto; display: block;
  transition: transform .6s var(--ease);
}
.aphoto:hover img { transform: scale(1.03); }
.aphoto__no {
  position: absolute; top: 8px; left: 8px;
  font-size: 11px; letter-spacing: 0.1em;
  color: #fff; background: rgba(20,22,18,0.4);
  padding: 2px 8px; border-radius: 99px;
  backdrop-filter: blur(4px);
  z-index: 1;
}
.filmstrip-hint {
  font-size: 12px; color: var(--ink-faint);
  opacity: 0.7;             /* 操作说明再淡一点，弱化存在感 */
  letter-spacing: 0.14em; margin-bottom: 6px;
}

/* =========================================================
   灯箱 Lightbox（全屏：主图 + EXIF 行 + 电影带缩略图）
   ========================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(18, 20, 16, 0.96);
  display: none;
  flex-direction: column;
  opacity: 0;
  transition: opacity .35s var(--ease);
  backdrop-filter: blur(6px);
}
.lightbox.open { display: flex; opacity: 1; }

/* 顶部：计数 + 关闭（浮层，压在图片上，不占竖向空间，竖图可满宽） */
.lb-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px 2px;
  pointer-events: none;          /* 仅按钮可点，空白处不挡图片手势 */
}
.lb-top .lb-close, .lb-top .lb-cap { pointer-events: auto; }
/* 页码：Instagram 风格深灰半透明药丸 + 白字 */
.lb-cap {
  background: rgba(0,0,0,0.45);
  color: rgba(255,255,255,0.9);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
  opacity: 1;
  transition: opacity .35s var(--ease), visibility .35s var(--ease);
}
.lb-cap.lb-hidden, .lb-close.lb-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
/* 返回按钮：与页码同款药丸底色和字体颜色，内部为 ‹ 箭头 */
.lb-close {
  width: auto; min-width: 42px; height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  border: none;
  background: rgba(0,0,0,0.45);
  color: rgba(255,255,255,0.9);
  font-size: 0;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 1;
  transition: opacity .35s var(--ease), visibility .35s var(--ease), background .3s var(--ease);
}
.lb-close::before {
  content: "\2039";
  font-size: 22px;
  line-height: 1;
  color: rgba(255,255,255,0.9);
}
.lb-close:hover { background: rgba(0,0,0,0.65); }

/* 诊断用：?nostrip=1 隐藏底部信息区，帮助判断残留抖动是否来自底部 */
.lb-nostrip .lb-exif,
.lb-nostrip .lb-strip,
.lb-nostrip .lb-hint { display: none; }

/* 主图舞台 */
.lb-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;            /* 裁掉分页时露出的上/下一张 */
  /* 注意：这里不能再写 touch-action: none —— 它会沿祖先链限制，
     把内部 .lb-scroller 的原生横向滚动也一起禁掉。交给 scroller 自己声明。 */
}
/* 横向滚动容器：跟手拖拽交给浏览器原生滚动（合成器承载，不掉帧、无 transform 抖动）。
   注意：这里 **不能** 再用 scroll-snap-type —— 原生吸附的时长和缓动由系统决定，
   iOS 上是「一瞬间硬吸」，没有自然减速，且 CSS 无法配置。改为 snap:none，
   松手后的吸附由 JS 用自定义缓动曲线动画 scrollLeft（见 main.js animateScrollTo）。 */
.lb-scroller {
  position: absolute;
  inset: 0;
  display: flex;
  flex-flow: row nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;   /* 防止滚动链传导到页面 / 触发边缘返回手势 */
  /* v58：手势全部自己接管。原先 touch-action: pan-x 依赖系统原生滚动跟手，
     但 iOS 会在手势起始做「方向归属判定」——单手拇指滑动天然是弧线、带明显
     纵向分量，系统判定失败或施加阻尼 → 画面不跟手，表现为「滑不动、要滑好几次」。
     改成 none 后由 main.js 在 touchmove 里按手指位移 1:1 写 scrollLeft：
     100% 跟手可控，且仍是滚动层（不是 transform），保留 v51 以来的抗抖效果。 */
  touch-action: none;
  scrollbar-width: none;
}
.lb-scroller::-webkit-scrollbar { display: none; }
/* 三张分页轨道：上一张 / 当前 / 下一张 横向排布 */
.lb-track {
  display: flex;
  flex: 0 0 300%;
  width: 300%;
  height: 100%;
}
.lb-slide {
  flex: 0 0 33.3333%;
  width: 33.3333%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  scroll-snap-align: center;      /* 每张居中吸附 */
}
.lb-slide-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 0;
  /* 首次出图淡入（v66/v75）：空白画布 → 有图时用 0.34s 浮现，避免「黑背景后猛弹出」。
     v75 由 0.24s 放缓：线上偶发「图未就绪黑一格再出现」时，稍长的浮现让出现
     更柔和，不再像闪现。只过渡 opacity（合成层属性，不触发布局，不会复现 iOS 纵向抖动）。 */
  transition: opacity .34s ease;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.8);
  -webkit-user-select: none; user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  pointer-events: none;        /* 不抢手势，全部交给 stage 处理 */
}
.lb-btn {
  position: absolute;
  z-index: 6;              /* 压在 .lb-scroller 之上，否则 prev 会被滚动内容盖住 */
  top: 50%;
  transform: translateY(-50%);
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .3s var(--ease);
  z-index: 2;
}
.lb-btn:hover { background: rgba(255,255,255,0.18); }
.lb-prev { left: 2.5vw; }
.lb-next { right: 2.5vw; }

/* EXIF：位于主图与缩略带之间，一行小字，低调不抢眼 */
.lb-exif {
  flex: 0 0 auto;
  /* 关键：**必须用固定 height，不能用 min-height**。EXIF 是异步返回的，空/满两态
     高度只要差一点，就会从 flex:1 的 .lb-stage 抢走高度 → 主图重新居中 → 抖动。
     （v52 曾用 min-height:25px，但被本块后面的 min-height:20px 覆盖而失效，
      导致空态 20px / 满态 25px 差 5px —— 就是残留那一下抖。现改为固定 height，
      box-sizing:border-box 下含 padding，无论内容有无、media query 怎么改 padding 都恒定。） */
  height: 25px;
  line-height: 15px;
  padding: 5px 18px;
  text-align: center;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}

/* 电影带缩略图 */
.lb-strip {
  flex: 0 0 auto;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 14px 10px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.lb-strip::-webkit-scrollbar { height: 0; display: none; }
/* 居中（v95）：照片少时缩略带只有几百 px，靠左看着像"没排好"。
   这里**不能用 justify-content:center** —— 内容超出容器时居中会把左侧推到
   「负空间」，开头那几张永远滚不到（经典 overflow + center 坑）。改用首尾自动外边距：
   有余量时两条 auto 平分空白 = 居中；溢出时 auto 塌成 0 = 正常左起、可完整滚动。*/
.lb-strip .lb-thumb:first-child { margin-left: auto; }
.lb-strip .lb-thumb:last-child { margin-right: auto; }
.lb-thumb {
  flex: 0 0 auto;
  width: 74px;
  height: 52px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  opacity: .42;
  border: 2px solid transparent;
  background: rgba(255,255,255,0.06);
  transition: opacity .25s var(--ease), border-color .25s var(--ease);
}
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lb-thumb.is-active { opacity: 1; border-color: var(--avocado-bright); }

/* PC 放大按钮（v95）：悬浮在图片右下角。
   只在「有鼠标」的设备上出现 —— hover:hover + pointer:fine 正好排除手机/平板，
   同时把「触屏笔记本（又有鼠标）」也覆盖进来（那台机器上按钮确实该有）。
   显隐由 JS 的 showChrome 计时控制：动鼠标显示，静止 4 秒淡出。
   定位（right/bottom）由 main.js 的 placeZoomBtn 按图像框算，写在行内样式里。 */
.lb-zoom {
  display: none;
  position: absolute;
  z-index: 7;
  width: 42px; height: 42px;
  padding: 0;
  border-radius: 50%;
  /* v97：亮度对齐左右翻页按钮（用户反馈「放大按钮亮度过高」）。
     原先这里是「深色实心盘 + 92% 白图标」（rgba(0,0,0,0.45)），压在照片上是一块
     很扎眼的深色圆饼；而 .lb-btn 是「几乎透明的白底 + 30% 白描边 + 纯白图标」。
     现在两组按钮**共用同一套配方**（border / background / color / hover 逐项对齐），
     视觉重量一致 —— 放大按钮只是小一号（42 vs 50）且贴在图像右下角。 */
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.06);
  color: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: none;              /* 隐藏时不吃点击 */
  opacity: 0;
  transition: opacity .35s var(--ease), background .25s var(--ease), transform .2s var(--ease);
}
.lb-zoom.is-shown { opacity: 1; pointer-events: auto; }
.lb-zoom:hover { background: rgba(255,255,255,0.18); transform: scale(1.06); }
.lb-zoom:active { transform: scale(0.94); }
.lb-zoom svg { width: 21px; height: 21px; display: block; }
/* 图标二选一：未放大显示「放大镜+」，已放大显示「放大镜−」（点它回原始尺寸） */
.lb-zoom .lb-zoom__out { display: none; }
.lb-zoom.is-on .lb-zoom__in { display: none; }
.lb-zoom.is-on .lb-zoom__out { display: block; }
@media (hover: hover) and (pointer: fine) { .lb-zoom { display: flex; } }

/* 放大后可拖动：给个抓手光标，让"能拖"这件事自己说出来 */
.lightbox.is-zoomed .lb-stage { cursor: grab; }
.lightbox.is-zoomed .lb-stage.is-panning { cursor: grabbing; }

/* 底部操作提示 */
.lb-hint {
  flex: 0 0 auto;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.34);
  padding: 0 0 12px;
}

/* 横屏（手机转过来）时，让照片更顶天立地地铺满 */
@media (orientation: landscape) {
  .lb-stage #lbImg { max-width: 96vw; }
  .lb-thumb { width: 64px; height: 44px; }
  .lb-exif { font-size: 11px; padding-top: 4px; }
  .lb-hint { display: none; }
}

/* =========================================================
   关于我
   ========================================================= */
.about {
  padding: 0 0 100px;
}
/* 关于我：居中标题头（删去照片） */
.about__head {
  text-align: center;
  padding: calc(var(--nav-h) + 100px) 0 6px;
}
.about__name {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 400;
  font-family: var(--font-serif);
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  color: var(--ink);
}
/* 网名：小而弱化 */
.about__alias {
  font-size: 0.5em;
  font-weight: 300;
  letter-spacing: 0.04em;
  opacity: 0.45;
}
.about__role {
  font-size: 16px;
  letter-spacing: 0.16em;
  font-weight: 300;
  text-indent: 0.16em;
  color: var(--ink-soft);
  margin-top: 16px;       /* 与首行紧凑 */
}
/* 关于我：横构图海雾图气氛带（位于标题与正文之间） */
.about__hero {
  max-width: 920px;
  margin: 44px auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--avocado);
  aspect-ratio: 3 / 2;
}
.about__hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.about__text {
  max-width: 720px;
  margin: 48px auto 0;
}
.about__text p {
  font-size: 17px;
  line-height: 2;
  color: var(--ink);
  font-weight: 300;
  margin-bottom: 22px;
  text-align: left;        /* 左对齐 */
}
.about__tags {
  display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px;
  justify-content: center;   /* 标签居中（v66） */
}
.about__tags span {
  border: 1px solid var(--avocado-deep);
  color: var(--ink-soft);
  padding: 8px 18px; border-radius: 999px;
  font-size: 13px; letter-spacing: 0.12em;
}

/* =========================================================
   联系方式
   ========================================================= */
.contact {
  padding: calc(var(--nav-h) + 90px) 0 100px;
}
.contact__lead {
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 200;
  max-width: 26ch;
  margin: 26px 0 50px;
  line-height: 1.7;
}
.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.contact__card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: all .35s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact__card:hover {
  border-color: var(--avocado-deep);
  background: var(--avocado);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}
.contact__card .ic { font-size: 22px; opacity: .8; }
.contact__card .k { font-size: 13px; letter-spacing: 0.2em; color: var(--ink-faint); }
.contact__card .v { font-size: 16px; font-weight: 400; letter-spacing: 0.02em; color: var(--ink); word-break: normal; overflow-wrap: break-word; }
.contact__card .tip { font-size: 12px; color: var(--ink-soft); }

/* =========================================================
   页脚
   ========================================================= */
.footer {
  background: var(--avocado);
  color: var(--ink);
  padding: 54px 0 40px;
  margin-top: 40px;
}
.footer .wrap { display: block; }
/* 页脚：居中三段式，弱化小字体 */
.footer__center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer__name {
  font-size: 15px;
  letter-spacing: 0.22em;
  font-weight: 400;
  color: var(--ink);
}
/* 网名：小而弱化 */
.footer__alias {
  font-size: 0.62em;
  font-weight: 300;
  letter-spacing: 0.04em;
  opacity: 0.45;
}
.footer__role {
  font-size: 13px;
  letter-spacing: 0.18em;
  font-weight: 300;
  color: var(--ink-soft);
  margin-top: 6px;       /* 与首行紧凑 */
}
.footer__copy {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  margin-top: 24px;       /* 隔一行 */
}
/* 备案号：与版权行同色（不抢视觉），悬停才浮出下划线。
   工信部要求备案号必须链接回备案系统，故做成 <a>；此处只去掉默认的蓝字下划线。
   ⚠️ 上下 13px 的 padding 不是留白，是**点按热区**：手机实测该 <a> 的行盒只有
      134×18px，`elementFromPoint` 在中心 ±16px 处就已经落到 <footer>（点不中）——
      而拇指接触面近 40px，极难点准，症状就是「手机上点备案号没反应、电脑上正常」。
      inline 元素的 vertical padding **不参与行高计算**，所以热区撑到 44px
      （iOS HIG 的最小推荐值）而文字位置与行距**一字不动**（父行盒仍是 21px）。
   ⚠️ 下划线因此改用 text-decoration：`border-bottom` 会被 padding 推到文字下方 13px 处。 */
.footer__beian {
  color: inherit;
  text-decoration: none;
  padding: 13px 0;
  touch-action: manipulation;    /* 去掉双击缩放的判定延迟，点按更跟手 */
}
.footer__beian:hover { text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================
   动画
   ========================================================= */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   响应式
   ========================================================= */
/* 相册照片：尽量阻止保存（禁选 / 禁长按 / 禁拖拽；右键另存由 JS 兜底拦截） */
.card img, .thumb img, .album img, .lightbox img {
  -webkit-user-select: none; user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none; user-drag: none;
  pointer-events: none;
}

@media (max-width: 900px) {
  .about__text { margin-top: 40px; }
}

@media (max-width: 720px) {
  :root { --nav-h: 62px; }
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    /* 不用 backdrop-filter：iOS 上毛玻璃容器会为内容单独维护合成快照，
       静止一段时间后偶发不重绘（同类「类名切了但画面不动」的元凶之一）。
       底色本就是 0.97 不透明，去掉模糊肉眼看不出差别。 */
    background: #f7f9f5;
    padding: 18px 8vw 26px;
    box-shadow: 0 18px 30px -24px rgba(0,0,0,0.4);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-link { color: var(--ink); font-size: 16px; padding: 10px 0; width: 100%; }
  /* 作品集：移动端默认折叠，点击展开子菜单 */
  .nav-item { width: 100%; }
  .nav-item > .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .nav-caret {
    display: block;
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    color: var(--ink);
  }
  .nav-item.open .nav-caret::after { transform: translate(-50%, -35%) rotate(225deg); }
  .nav-drop {
    position: static;
    /* 移动端下拉：高度用 max-height（px，由 JS 量真实内容高度写入）过渡，
       **不用 grid-template-rows 0fr→1fr**——fr 插值依赖浏览器过渡实现，
       iOS Safari 上页面静止后偶发把过渡卡在起始值 0fr（高度 0），
       表现就是「尖角会转、菜单不出来」。px 是确定值，不会卡。 */
    display: none;
    overflow: hidden;          /* 滑下来必须有：高度收起时裁掉内容 */
    max-height: 0;
    opacity: 0;
    transform: none;
    visibility: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;                /* 内边距移到 inner：折叠时不能残留高度 */
    margin-top: 0;
    /* 收起态过渡（离开 .open 时生效）：可以干脆一点
       注意 —— CSS transition 取的是「变化后目标态」的值，所以收起走基础规则、
       展开走 .nav-item.open 规则，两者时长天然分开。 */
    transition: max-height .30s cubic-bezier(.4, 0, .2, 1), opacity .20s ease-out;
  }
  .nav-drop__inner {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 2px 0 8px 4px;
  }
  /* 展开：display 由 JS 置 block 并写 max-height/opacity（见 main.js）。
     这里只兜底「JS 未介入」的情况（例如从桌面尺寸缩回移动端）。 */
  .nav-item.open .nav-drop {
    display: block;
    max-height: 220px;
    opacity: 1;
    /* 展开态过渡（进入 .open 时生效）：比收起慢，且尾段拉得很长
       （cubic-bezier 的第二个控制点 0.86 高抬 → 前段快、后段极缓），
       观感是「滑下来后轻轻落定」，而不是弹到位。
       高度过渡由 JS 写入的真实 px 驱动（见 main.js），时长与这里一致。 */
    transition: max-height .48s cubic-bezier(.32, .86, .36, 1), opacity .36s ease-out;
  }
  .nav-drop::before { display: none; }
  .nav-drop__link {
    display: block;
    width: 100%;
    padding: 8px 0;
  }
  .nav-toggle { display: flex; }
  /* 触屏：消除点击延迟与双击缩放干扰，菜单点按更跟手 */
  .nav-links, .nav-link, .nav-caret, .nav-drop__link, .nav-drop__inner { touch-action: manipulation; }
  .nav--light.nav:not(.scrolled) .nav-links { background: #1c1e18; }
  .nav--light.nav:not(.scrolled) .nav-link { color: #fff; }
  .grid {
    grid-template-columns: 1fr;
  }
  /* 手机：隐藏封面题记（不影响观感，标题+张数保留在底部） */
  .card__note { display: none; }
  /* 手机：相册内照片左上角的「第几张」圆圈标注隐藏 */
  .aphoto__no { display: none; }
  /* 手机：灯箱内左右翻图按钮隐藏（翻图改由滑动手势完成） */
  .lb-prev, .lb-next { display: none; }
  /* 手机：页码与关闭按钮位置互换——关闭到左上、页码到右上；等比例缩小药丸 */
  .lb-top .lb-cap { order: 2; font-size: 11px; padding: 5px 12px; }
  .lb-close { order: 1; min-width: 34px; height: 28px; padding: 0 11px; }
  .lb-close::before { font-size: 18px; }
  .lb-thumb { width: 64px; height: 46px; }
  /* 手机：缩略带 / EXIF 行收一收，给矮屏竖图满宽留余量 */
  .lb-strip { padding: 8px 12px; }
  .lb-exif { padding: 6px 16px 2px; }
  .footer .wrap { flex-direction: column; align-items: flex-start; }
  /* 手机：页脚底部多留 24px。未加时备案号底边距视口底仅 41px，正落在 Safari
     底部工具栏 / Home 指示条那一带；撑高热区后再留出余量，整条链接都远离手势区。 */
  .footer { padding-bottom: 64px; }
}

/* 回到顶部按钮（作品集页滚动时出现） */
.to-top {
  position: fixed;
  right: 20px; bottom: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(44,46,41,0.12);
  background: rgba(247,249,245,0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px -12px rgba(0,0,0,0.35);
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background .3s var(--ease), color .3s var(--ease);
  z-index: 60;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 20px; height: 20px; }
.to-top:hover { background: var(--avocado-text); color: #fff; }

/* 首页底部：继续下滑进入作品集 提示 */
.page-cue {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%) translateY(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(44, 46, 41, 0.5);
  font-size: 12px;
  letter-spacing: 0.22em;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  z-index: 5;
}
.page-cue.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.page-cue i {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  animation: cueBob 1.8s var(--ease) infinite;
}
@keyframes cueBob {
  0%, 100% { transform: rotate(45deg) translate(0, 0); }
  50% { transform: rotate(45deg) translate(3px, 3px); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
}
