/* ==========================================================================
   十月 OCTOBER · 婚礼摄影
   全局样式：黑金电影感 / 单一强调色 / 8px 圆角 / 宋体大标题
   ========================================================================== */

/* ---------- 字体 ---------- */
@font-face {
  font-family: "LXGW WenKai";
  src: url("../fonts/lxgw-wenkai-light.woff2") format("woff2");
  font-weight: 200 600;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans SC";
  src: url("../fonts/noto-sans-sc.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* ---------- 设计变量 ---------- */
:root {
  --bg: #070706;
  --bg-soft: #0d0c0a;
  --bg-card: #111009;
  --ink: #f2efe8;
  --ink-dim: #c9c5bb;
  --muted: rgba(242, 239, 232, 0.52);
  --muted-2: rgba(242, 239, 232, 0.34);
  --gold: #c9a558;
  --gold-soft: rgba(201, 165, 88, 0.5);
  --line: rgba(242, 239, 232, 0.13);
  --line-soft: rgba(242, 239, 232, 0.07);

  --serif: "LXGW WenKai", "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-drama: cubic-bezier(0.87, 0, 0.13, 1);

  --pad: clamp(30px, 6.2vw, 104px);
  --radius: 8px;
  --header-h: 84px;
  --shell: 1520px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

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

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
figure { margin: 0; }

::selection { background: var(--gold); color: #08080a; }

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 5px;
}

/* 胶片颗粒 —— 极淡，只做质感，不影响阅读 */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 3;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 6s steps(6) infinite;
}
@keyframes grain-shift {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-2%, 1%); }
  40% { transform: translate(1%, -2%); }
  60% { transform: translate(-1%, 2%); }
  80% { transform: translate(2%, 1%); }
}

/* ---------- 排版工具 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.shell--wide { max-width: 1760px; }

.section { padding-block: clamp(80px, 11vw, 168px); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 104px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow--bare::before { display: none; }

.h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 5.2vw, 76px);
  line-height: 1.14;
  letter-spacing: 0.03em;
  margin-top: 26px;
}

.lead {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 2.05;
  color: var(--ink-dim);
  font-weight: 300;
}
.muted { color: var(--muted); }

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 5vw, 76px);
}
.sec-head__aside {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--muted-2);
  padding-bottom: 10px;
  text-transform: uppercase;
}

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

/* ---------- 按钮 ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 17px 34px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #0a0a08;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1;
  overflow: hidden;
  transition: transform 0.6s var(--ease-back), background 0.45s ease, color 0.45s ease;
  will-change: transform;
}
.btn span { position: relative; z-index: 1; }
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateY(101%);
  transition: transform 0.55s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateY(0); }

.btn--line {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(242, 239, 232, 0.32);
}
.btn--line::after { background: var(--ink); }
.btn--line:hover { color: #0a0a08; border-color: var(--ink); }

.btn--gold {
  background: transparent;
  border: 1px solid var(--gold-soft);
  color: var(--gold);
}
.btn--gold::after { background: var(--gold); }
.btn--gold:hover { color: #0a0a08; border-color: var(--gold); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ink);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  transition: color 0.4s ease, border-color 0.4s ease, gap 0.5s var(--ease-out);
}
.link-arrow svg { width: 14px; height: 14px; transition: transform 0.5s var(--ease-out); }
.link-arrow:hover { color: var(--gold); border-color: var(--gold-soft); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 顶栏 ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: transform 0.7s var(--ease-out), background 0.5s ease, border-color 0.5s ease, height 0.5s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.header__inner {
  width: 100%;
  max-width: 1760px;
  margin-inline: auto;
  padding-inline: var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.header.is-scrolled {
  height: 70px;
  background: rgba(7, 7, 6, 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  backdrop-filter: blur(18px) saturate(1.1);
  border-bottom-color: var(--line-soft);
}
.header.is-hidden { transform: translateY(-100%); }

.brand { display: inline-flex; align-items: baseline; gap: 14px; }
.brand__cn {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1;
}
.brand__en {
  font-size: 9px;
  letter-spacing: 0.4em;
  color: var(--muted-2);
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.nav ul { display: flex; align-items: center; gap: inherit; }
.nav a {
  position: relative;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--ink-dim);
  padding-block: 6px;
  transition: color 0.4s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.55s var(--ease-out);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: var(--gold); }

.header__cta {
  font-size: 12px;
  letter-spacing: 0.16em;
  padding: 12px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  transition: border-color 0.4s ease, color 0.4s ease, background 0.4s ease;
}
.header__cta:hover { border-color: var(--gold); color: var(--gold); }

/* 汉堡按钮 */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  position: relative;
  z-index: 90;
}
.burger span {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.5s var(--ease-out), opacity 0.3s ease, width 0.4s ease;
}
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 25px; width: 16px; }
.burger span:nth-child(3) { top: 32px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 全屏菜单 */
.menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: #050504;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 30px) var(--pad) 40px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.9s var(--ease-drama);
  visibility: hidden;
}
body.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
html.gsap-on .menu { transition: none; }
html.gsap-on .menu__item a { transition: none; }
.menu__list { display: grid; gap: 4px; }
.menu__item {
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}
.menu__item a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(14px, 2.2vw, 26px) 0;
  font-family: var(--serif);
  font-size: clamp(30px, 5.6vw, 64px);
  letter-spacing: 0.06em;
  line-height: 1.2;
  transform: translateY(105%);
  transition: transform 0.8s var(--ease-out), color 0.4s ease;
}
body.menu-open .menu__item a { transform: translateY(0); }
body.menu-open .menu__item:nth-child(1) a { transition-delay: 0.18s; }
body.menu-open .menu__item:nth-child(2) a { transition-delay: 0.24s; }
body.menu-open .menu__item:nth-child(3) a { transition-delay: 0.3s; }
body.menu-open .menu__item:nth-child(4) a { transition-delay: 0.36s; }
body.menu-open .menu__item:nth-child(5) a { transition-delay: 0.42s; }
.menu__item a:hover { color: var(--gold); }
.menu__item small {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.34em;
  color: var(--muted-2);
  text-transform: uppercase;
}
.menu__foot {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: clamp(30px, 5vw, 60px);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  min-height: 640px;
  height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
@media (min-width: 768px) { .hero__media { inset: -5% 0; } }
.hero__media { will-change: transform; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(72% 78% at 6% 94%, rgba(4, 4, 3, 0.7) 0%, rgba(4, 4, 3, 0.28) 46%, transparent 74%),
    linear-gradient(90deg, rgba(5, 5, 4, 0.78) 0%, rgba(5, 5, 4, 0.42) 32%, rgba(5, 5, 4, 0.04) 62%, transparent 100%),
    linear-gradient(180deg, rgba(5, 5, 4, 0.62) 0%, rgba(5, 5, 4, 0.08) 24%, rgba(5, 5, 4, 0.14) 48%, rgba(5, 5, 4, 0.88) 86%, #070706 100%);
}
.hero .eyebrow { text-shadow: 0 2px 16px rgba(0, 0, 0, 0.75); }
.hero__inner { text-shadow: 0 1px 30px rgba(0, 0, 0, 0.45); }
.hero__inner {
  position: relative;
  width: 100%;
  padding-bottom: clamp(56px, 8vh, 96px);
}
.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(72px, 13vw, 208px);
  line-height: 0.92;
  letter-spacing: 0.06em;
  margin-top: clamp(18px, 2.4vw, 32px);
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0 clamp(18px, 3vw, 48px);
}
.hero__title .cn { display: block; }
.hero__title .en {
  display: block;
  font-family: var(--sans);
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 300;
  letter-spacing: 0.62em;
  color: var(--gold);
  padding-bottom: clamp(14px, 2.2vw, 34px);
  text-transform: uppercase;
}
.hero__line {
  font-family: var(--serif);
  font-size: clamp(16px, 1.7vw, 24px);
  letter-spacing: 0.12em;
  color: var(--ink-dim);
  margin-top: clamp(20px, 2.6vw, 34px);
}
.hero__meta {
  margin-top: 14px;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(30px, 4vw, 46px);
}
.hero__scroll {
  position: absolute;
  right: var(--pad);
  bottom: clamp(56px, 8vh, 96px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 9px;
  letter-spacing: 0.4em;
  color: var(--muted-2);
  text-transform: uppercase;
}
.hero__scroll i {
  display: block;
  width: 1px;
  height: 64px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scroll-cue 2.6s var(--ease-out) infinite;
  transform-origin: top;
}
@keyframes scroll-cue {
  0% { transform: scaleY(0); opacity: 0; }
  30% { opacity: 1; }
  70% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(12px); opacity: 0; }
}

/* 首屏文字入场（GSAP 驱动；无 JS 时直接显示） */
.hero-reveal { display: block; overflow: hidden; }
html.js .hero-reveal > * {
  display: block;
  transform: translateY(110%);
}
html.no-gsap .hero-reveal > *,
html.no-motion .hero-reveal > * {
  transform: none !important;
}

/* ---------- 宣言 ---------- */
.manifesto { border-top: 1px solid var(--line-soft); }
.manifesto__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 100px);
  align-items: start;
}
.manifesto__quote {
  position: relative;
  text-wrap: balance;
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 52px);
  line-height: 1.6;
  letter-spacing: 0.04em;
  font-weight: 400;
}
.manifesto__quote::before {
  content: "“";
  position: absolute;
  top: -0.42em;
  left: -0.12em;
  font-family: var(--serif);
  font-size: clamp(120px, 16vw, 240px);
  line-height: 1;
  color: var(--gold);
  opacity: 0.16;
  pointer-events: none;
}
.manifesto__quote em {
  font-style: normal;
  color: var(--gold);
}
.manifesto__body {
  margin-top: clamp(30px, 3.6vw, 52px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 56px);
  max-width: 940px;
}
.manifesto__body p { color: var(--muted); font-size: 14.5px; line-height: 2.1; }
.manifesto__sign {
  margin-top: 34px;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.24em;
  color: var(--ink-dim);
}
.manifesto__sign span { color: var(--gold); margin-left: 10px; font-size: 10px; letter-spacing: 0.36em; }

/* ---------- 系列卡片 ---------- */
.series-list { display: grid; gap: clamp(16px, 2vw, 28px); }

.series-card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  background: #0b0a08;
}
.series-card__img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94) brightness(0.92);
  transition: filter 0.9s ease;
  will-change: transform;
}
.series-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 4, 3, 0.42) 0%, rgba(4, 4, 3, 0.02) 38%, rgba(4, 4, 3, 0.55) 66%, rgba(4, 4, 3, 0.9) 100%);
  transition: opacity 0.8s ease;
}
.series-card:hover .series-card__img { filter: saturate(1) brightness(1); }
.series-card:hover .series-card__arrow { background: var(--gold); border-color: var(--gold); color: #0a0a08; transform: rotate(0deg); }

.series-card__top {
  position: absolute;
  top: clamp(20px, 3vw, 40px);
  left: clamp(20px, 3.4vw, 48px);
  right: clamp(20px, 3.4vw, 48px);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  z-index: 2;
  font-size: 10.5px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(242, 239, 232, 0.72);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.65);
}
.series-card__top b { color: var(--gold); font-weight: 400; }
.series-card__bottom {
  position: absolute;
  z-index: 2;
  left: clamp(20px, 3.4vw, 48px);
  right: clamp(20px, 3.4vw, 48px);
  bottom: clamp(22px, 3.2vw, 44px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}
.series-card__title {
  font-family: var(--serif);
  font-size: clamp(30px, 4.4vw, 66px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: 0.06em;
  transition: color 0.5s ease;
}
.series-card__desc {
  margin-top: 12px;
  max-width: 44ch;
  font-size: 13px;
  line-height: 1.9;
  color: rgba(242, 239, 232, 0.62);
}
.series-card__side {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  flex-shrink: 0;
  padding-bottom: 6px;
}
  .series-card__title, .series-card__desc, .series-card__count { text-shadow: 0 1px 18px rgba(0, 0, 0, 0.55); }
.series-card__count {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gold);
  white-space: nowrap;
}
.series-card__arrow {
  width: clamp(44px, 4.4vw, 60px);
  aspect-ratio: 1;
  border: 1px solid rgba(242, 239, 232, 0.28);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transform: rotate(-45deg);
  transition: transform 0.6s var(--ease-back), background 0.5s ease, border-color 0.5s ease, color 0.5s ease;
}
.series-card__arrow svg { width: 16px; height: 16px; }

/* 深色区块 */
.plate {
  background: linear-gradient(180deg, #0a0908, #0c0b09 40%, #0a0908);
  border-block: 1px solid var(--line-soft);
}

/* ---------- 婚礼日 ---------- */
.story-band {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0b0a08;
  margin-bottom: clamp(34px, 4.6vw, 66px);
}
.story-band__img { width: 100%; height: 100%; object-fit: cover; }
.story-band figcaption {
  position: absolute;
  left: clamp(16px, 2vw, 28px);
  bottom: clamp(14px, 1.6vw, 22px);
  font-size: 9.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(242, 239, 232, 0.68);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}
@media (max-width: 620px) { .story-band { aspect-ratio: 4 / 3; } }

.story-teaser__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.story-teaser__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
}
.story-teaser__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--ease-out);
}
.story-teaser__media:hover img { transform: scale(1.04); }
.story-teaser__media figcaption {
  position: absolute;
  left: 20px;
  bottom: 18px;
  font-size: 10px;
  letter-spacing: 0.32em;
  color: rgba(255, 255, 255, 0.66);
  text-transform: uppercase;
}
.chapters { margin-top: 34px; border-top: 1px solid var(--line-soft); }
.chapter-row {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: padding-left 0.6s var(--ease-out), border-color 0.5s ease;
}
.chapter-row:hover { padding-left: 10px; border-color: var(--line); }
.chapter-row__no { font-size: 10px; letter-spacing: 0.24em; color: var(--gold); }
.chapter-row__t { font-family: var(--serif); font-size: clamp(17px, 1.5vw, 21px); letter-spacing: 0.08em; }
.chapter-row__c { font-size: 11px; letter-spacing: 0.22em; color: var(--muted-2); text-transform: uppercase; }

/* ---------- 荣誉 ---------- */
.awards { border-top: 1px solid var(--line); }
.award {
  display: grid;
  grid-template-columns: minmax(120px, 0.22fr) 1fr auto;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(22px, 2.6vw, 34px) 0;
  border-bottom: 1px solid var(--line-soft);
  transition: padding-left 0.7s var(--ease-out), background 0.5s ease;
}
.award:hover { padding-left: 14px; }
.award__org {
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.award__title {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 27px);
  letter-spacing: 0.05em;
  line-height: 1.5;
}
.award__title small {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted-2);
  margin-top: 6px;
}
.award__no { font-size: 11px; letter-spacing: 0.2em; color: var(--muted-2); }

/* ---------- 关于 ---------- */
.about-strip__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 96px);
  align-items: center;
}
.about-strip__media {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
}
.about-strip__media img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 40%; }
.about-strip__body p { margin-top: 22px; color: var(--muted); max-width: 52ch; }
.about-strip__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--ink-dim);
}
.about-strip__facts span::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--gold);
  vertical-align: 2px;
}

/* ---------- 联系 ---------- */
.contact { position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: end;
}
.contact__title {
  font-family: var(--serif);
  font-size: clamp(38px, 6.4vw, 96px);
  line-height: 1.16;
  letter-spacing: 0.04em;
  font-weight: 500;
}
.contact__title em { font-style: normal; color: var(--gold); }
.contact__sub { margin-top: 26px; color: var(--muted); max-width: 40ch; }
.contact__lines { margin-top: 40px; display: grid; gap: 2px; }
.contact-line {
  display: flex;
  width: 100%;
  text-align: left;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  letter-spacing: 0.06em;
  transition: color 0.4s ease, border-color 0.4s ease;
}
.contact-line span:first-child { font-size: 10px; letter-spacing: 0.3em; color: var(--muted-2); text-transform: uppercase; }
.contact-line:hover { color: var(--gold); border-color: var(--gold-soft); }
.qr-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 2.4vw, 30px);
  background: rgba(255, 255, 255, 0.015);
  text-align: center;
}
.qr-card img {
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
  border-radius: 4px;
  background: #f3eee2;
  padding: 6px;
  border: 1px solid rgba(201, 165, 88, 0.32);
}
.qr-card p { margin-top: 18px; font-size: 11.5px; letter-spacing: 0.18em; color: var(--muted); }
.qr-card__phone {
  display: inline-block;
  margin-top: 12px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
  transition: color 0.4s ease, border-color 0.4s ease;
}
.qr-card__phone:hover { color: var(--gold); border-color: var(--gold-soft); }

/* ---------- 页脚 ---------- */
.footer {
  border-top: 1px solid var(--line-soft);
  padding-block: clamp(48px, 6vw, 76px) 34px;
  background: #060605;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(0, 0.8fr);
  gap: clamp(28px, 5vw, 72px);
  padding-bottom: clamp(34px, 4vw, 56px);
  border-bottom: 1px solid var(--line-soft);
}
.footer__brand .brand__cn { font-size: 30px; }
.footer__brand p { margin-top: 16px; font-size: 12px; letter-spacing: 0.14em; color: var(--muted-2); max-width: 34ch; line-height: 2; }
.footer__col h4 {
  font-size: 10px;
  letter-spacing: 0.34em;
  color: var(--muted-2);
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 400;
}
.footer__col a, .footer__col p {
  display: block;
  font-size: 13px;
  color: var(--ink-dim);
  padding: 5px 0;
  transition: color 0.4s ease;
}
.footer__col a:hover { color: var(--gold); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 24px;
  padding-right: clamp(52px, 5vw, 76px);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--muted-2);
}

/* ---------- 翻页过渡 ---------- */
.pt {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--bg);
  transform: translateY(100%);
  pointer-events: none;
  will-change: transform;
  display: grid;
  place-items: center;
}
.pt::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 165, 88, 0.85), transparent);
}
.pt__mark {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.62em;
  text-indent: 0.62em;
  color: var(--gold);
  opacity: 0.5;
}
html.pt-enter .pt { transform: translateY(0); }

/* 回到顶部 */
.to-top {
  position: fixed;
  right: clamp(16px, 2.4vw, 34px);
  bottom: clamp(16px, 2.4vw, 34px);
  z-index: 50;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(10, 10, 8, 0.7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.6s var(--ease-back), border-color 0.4s ease, color 0.4s ease;
}
.to-top.is-on { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top:hover { border-color: var(--gold); color: var(--gold); }
.to-top svg { width: 15px; height: 15px; }

/* ---------- 滚动入场 ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }

/* 没有 GSAP / 用户要求减少动态时，内容直接呈现 */
html.no-gsap [data-reveal],
html.no-motion [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
}

/* ---------- 自定光标（桌面） ---------- */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  pointer-events: none;
  opacity: 0;
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out), background 0.3s ease;
  mix-blend-mode: normal;
}
.cursor.is-on { opacity: 1; }
.cursor.is-hover { width: 44px; height: 44px; background: rgba(201, 165, 88, 0.18); border: 1px solid var(--gold-soft); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ==========================================================================
   二级页
   ========================================================================== */
.page-hero {
  position: relative;
  height: min(86svh, 880px);
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.page-hero--short { height: min(62svh, 620px); min-height: 420px; }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 768px) {
  .series-card__img { top: -6%; height: 112%; }
  .page-hero__media img { top: -6%; height: 112%; }
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(5, 5, 4, 0.74) 0%, rgba(5, 5, 4, 0.1) 34%, rgba(5, 5, 4, 0.55) 72%, #070706 100%);
}
.page-hero__inner { position: relative; width: 100%; padding-bottom: clamp(40px, 6vh, 72px); }
.page-hero__back {
  position: absolute;
  top: calc(var(--header-h) + 18px);
  left: var(--pad);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 13px;
  border: 1px solid rgba(242, 239, 232, 0.18);
  border-radius: 999px;
  background: rgba(6, 6, 5, 0.32);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(242, 239, 232, 0.82);
  transition: color 0.4s ease, gap 0.5s var(--ease-out), border-color 0.4s ease;
}
.page-hero__back:hover { color: var(--gold); gap: 14px; border-color: var(--gold-soft); }
.page-hero__back svg { width: 13px; height: 13px; }
.page-hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(44px, 7.4vw, 118px);
  line-height: 1.08;
  letter-spacing: 0.05em;
  margin-top: 22px;
}
.page-hero__sub {
  margin-top: 18px;
  font-size: 13.5px;
  letter-spacing: 0.08em;
  color: rgba(242, 239, 232, 0.68);
  max-width: 56ch;
  line-height: 2;
}
.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
  margin-top: 26px;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--muted-2);
  text-transform: uppercase;
}
.page-hero__meta b { color: var(--gold); font-weight: 400; }

/* 系列页引言 */
.series-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.3fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 80px);
  padding-block: clamp(56px, 7vw, 100px);
  border-bottom: 1px solid var(--line-soft);
}
.series-intro__meta { font-size: 11px; letter-spacing: 0.2em; color: var(--muted-2); line-height: 2.4; text-transform: uppercase; }
.series-intro__meta b { display: block; color: var(--gold); font-weight: 400; letter-spacing: 0.28em; margin-bottom: 10px; }
.series-intro__text {
  font-family: var(--serif);
  font-size: clamp(19px, 1.9vw, 27px);
  line-height: 1.95;
  letter-spacing: 0.03em;
  color: var(--ink-dim);
  max-width: 40ch;
}

/* ---------- 画廊（两端对齐的杂志式行排版，不裁切、不留缺口） ---------- */
.gallery-wrap { padding-block: clamp(40px, 5vw, 76px) clamp(70px, 9vw, 130px); }
.gallery { display: grid; gap: clamp(8px, 0.9vw, 13px); }
.gallery__row {
  display: flex;
  gap: clamp(8px, 0.9vw, 13px);
  aspect-ratio: var(--ar);
  width: 100%;
}
.gallery__item {
  position: relative;
  flex: var(--ar, 1) 1 0%;
  min-width: 0;
  overflow: hidden;
  border-radius: 3px;
  background: #0b0a08;
  cursor: zoom-in;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out), filter 0.8s ease;
  filter: saturate(0.96);
}
.gallery__item:hover img { transform: scale(1.035); filter: saturate(1.06); }
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(0, 0, 0, 0.4));
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.gallery__item:hover::after { opacity: 1; }
.gallery__no {
  position: absolute;
  left: 14px;
  bottom: 11px;
  z-index: 2;
  font-size: 10px;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.85);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s ease, transform 0.5s var(--ease-out);
}
.gallery__item:hover .gallery__no { opacity: 1; transform: none; }

/* 系列页底部 */
.series-cta {
  border-top: 1px solid var(--line);
  padding-block: clamp(56px, 7vw, 100px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.series-cta h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.5;
}
.series-cta p { margin-top: 12px; color: var(--muted); font-size: 13.5px; }

.next-series {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(40px, 6vw, 72px) var(--pad);
  border-top: 1px solid var(--line-soft);
  overflow: hidden;
  isolation: isolate;
}
.next-series img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.55;
  transition: transform 1.4s var(--ease-out), opacity 0.8s ease;
}
.next-series::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(7, 7, 6, 0.86) 0%, rgba(7, 7, 6, 0.35) 60%, rgba(7, 7, 6, 0.15) 100%);
}
.next-series:hover img { transform: scale(1.05); opacity: 0.68; }
.next-series span { font-size: 10px; letter-spacing: 0.34em; color: var(--gold); text-transform: uppercase; }
.next-series h3 { font-family: var(--serif); font-size: clamp(28px, 4vw, 58px); font-weight: 400; letter-spacing: 0.06em; margin-top: 12px; }

/* ---------- 婚礼日 ---------- */
.story-hero .page-hero__inner { padding-bottom: clamp(50px, 7vh, 90px); }
.chapter {
  padding-block: clamp(60px, 8vw, 120px);
  border-top: 1px solid var(--line-soft);
}
.chapter__head {
  display: grid;
  grid-template-columns: minmax(0, 0.28fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 60px);
  align-items: start;
  margin-bottom: clamp(34px, 4vw, 60px);
}
.chapter__no {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 72px);
  color: var(--gold);
  line-height: 1;
  opacity: 0.85;
}
.chapter__no small {
  display: block;
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.36em;
  color: var(--muted-2);
  margin-top: 14px;
}
.chapter__title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 50px);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.35;
}
.chapter__lead { margin-top: 18px; color: var(--muted); max-width: 46ch; font-size: 14px; line-height: 2.05; }
.chapter__media { display: grid; gap: clamp(10px, 1.4vw, 20px); grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.chapter__media figure { overflow: hidden; border-radius: 4px; background: #0b0a08; }
.chapter__media img { width: 100%; height: auto; }
.chapter__media--full { grid-template-columns: 1fr; }
.chapter__media--offset { grid-template-columns: 0.86fr 1fr; }
.chapter__quote {
  margin: clamp(34px, 4vw, 56px) auto 0;
  max-width: 22ch;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.chapter__quote::before, .chapter__quote::after {
  content: "";
  display: block;
  width: 1px;
  height: 40px;
  margin: 0 auto 22px;
  background: linear-gradient(180deg, transparent, var(--gold-soft));
}
.chapter__quote::after { margin: 22px auto 0; background: linear-gradient(0deg, transparent, var(--gold-soft)); }
.chapter__closing {
  position: relative;
  margin-top: clamp(30px, 4vw, 56px);
  border-radius: 4px;
  overflow: hidden;
  background: #0b0a08;
}
.chapter__closing img {
  width: 100%;
  height: min(78vh, 760px);
  object-fit: cover;
  object-position: center 26%;
}
.chapter__closing figcaption {
  position: absolute;
  left: clamp(16px, 2vw, 26px);
  bottom: clamp(14px, 1.6vw, 22px);
  font-size: 9.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(242, 239, 232, 0.62);
}

/* ---------- 关于页 ---------- */
.about-page__lead {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: start;
}
.about-page__portrait { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.about-page__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 45%; }
.prose p { margin-bottom: 22px; color: var(--ink-dim); font-size: 15px; line-height: 2.1; }
.prose p:last-child { margin-bottom: 0; }
.prose .dropcap::first-letter {
  float: left;
  font-family: var(--serif);
  font-size: 3.4em;
  line-height: 0.86;
  padding: 0.06em 0.14em 0 0;
  color: var(--gold);
}
.gear-list { display: grid; gap: 0; margin-top: 30px; border-top: 1px solid var(--line-soft); }
.gear-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13.5px;
  color: var(--ink-dim);
}
.gear-list li span { color: var(--muted-2); font-size: 11px; letter-spacing: 0.16em; }

/* 关于页器材区 / 服务页 FAQ 区：两栏，窄屏自动单栏 */
.gear-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
}
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
}
.behind { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1vw, 14px); }
.behind figure { overflow: hidden; border-radius: 4px; }
.behind img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; transition: transform 1.2s var(--ease-out); }
.behind figure:hover img { transform: scale(1.04); }

/* ---------- 服务 / 报价 ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.service-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 40px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.024), transparent);
  transition: border-color 0.5s ease, background 0.5s ease, transform 0.7s var(--ease-out);
}
.service-card:hover { border-color: var(--gold-soft); transform: translateY(-4px); }
.service-card__no { font-size: 10px; letter-spacing: 0.3em; color: var(--gold); }
.service-card h3 { font-family: var(--serif); font-size: clamp(21px, 2vw, 27px); font-weight: 400; letter-spacing: 0.06em; margin-top: 18px; line-height: 1.5; }
.service-card p { margin-top: 14px; font-size: 13.5px; line-height: 2; color: var(--muted); }
.service-card ul { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-soft); display: grid; gap: 9px; }
.service-card li { font-size: 12.5px; color: var(--ink-dim); padding-left: 16px; position: relative; }
.service-card li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 5px; height: 1px; background: var(--gold); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 30px); }
.step { position: relative; padding-top: 26px; border-top: 1px solid var(--line); }
.step__no { font-family: var(--serif); font-size: 13px; letter-spacing: 0.2em; color: var(--gold); }
.step h3 { font-family: var(--serif); font-size: 20px; font-weight: 400; letter-spacing: 0.08em; margin-top: 14px; }
.step p { margin-top: 10px; font-size: 13px; line-height: 2; color: var(--muted); }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(18px, 2vw, 24px) 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(16px, 1.5vw, 19px);
  letter-spacing: 0.05em;
  transition: color 0.4s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold); }
.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 200;
  color: var(--gold);
  transition: transform 0.5s var(--ease-out);
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--muted); font-size: 13.5px; line-height: 2.05; max-width: 74ch; }

/* 表单 */
.inquiry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.75fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 9px; }
.field label { font-size: 10px; letter-spacing: 0.28em; color: var(--muted-2); text-transform: uppercase; }
.field input, .field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 10px 0 12px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.4s ease;
  border-radius: 0;
}
.field textarea { min-height: 90px; resize: vertical; line-height: 1.9; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field input::placeholder, .field textarea::placeholder { color: rgba(242, 239, 232, 0.24); }
.form__note { font-size: 11.5px; color: var(--muted-2); line-height: 1.9; }
.form__done {
  margin-top: 6px;
  padding: 16px 18px;
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  font-size: 12.5px;
  color: var(--gold);
  display: none;
}
.form__done.is-on { display: block; }
.form__done pre {
  margin: 10px 0 0;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-dim);
  white-space: pre-wrap;
  line-height: 1.9;
}

/* ---------- 微信浮层 ---------- */
.wx {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 4, 3, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s;
}
.wx.is-open { opacity: 1; visibility: visible; }
.wx__box {
  position: relative;
  width: min(380px, 100%);
  background: #0d0c0a;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: clamp(24px, 4vw, 36px);
  text-align: center;
  transform: translateY(16px) scale(0.985);
  transition: transform 0.6s var(--ease-out);
}
.wx.is-open .wx__box { transform: none; }
.wx__box h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.08em;
  margin: 16px 0 20px;
}
.wx__box img {
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
  padding: 9px;
  background: #fff;
  border-radius: 4px;
}
.wx__box p { margin-top: 18px; font-size: 11.5px; line-height: 2; color: var(--muted); }
.wx__box p a { color: var(--gold); }
.wx__box .btn { margin-top: 20px; width: 100%; }
.wx__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--muted);
  border-radius: 50%;
  transition: color 0.4s ease, background 0.4s ease;
}
.wx__close:hover { color: var(--gold); background: rgba(255, 255, 255, 0.05); }

/* ---------- 404 ---------- */
.error-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--header-h) var(--pad) 80px;
}
.error-page__no { font-family: var(--serif); font-size: clamp(100px, 22vw, 260px); line-height: 1; color: var(--gold); opacity: 0.9; }
.error-page p { margin-top: 10px; color: var(--muted); }

/* ==========================================================================
   灯箱
   ========================================================================== */
.lb {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(4, 4, 3, 0.985);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s;
}
.lb.is-open { opacity: 1; visibility: visible; }
.lb__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(16px, 3vw, 36px);
  border-bottom: 1px solid var(--line-soft);
}
.lb__count { font-size: 11px; letter-spacing: 0.3em; color: var(--muted); font-variant-numeric: tabular-nums; }
.lb__count b { color: var(--gold); font-weight: 400; }
.lb__tools { display: flex; align-items: center; gap: 6px; }
.lb__btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: rgba(242, 239, 232, 0.7);
  transition: color 0.35s ease, background 0.35s ease;
}
.lb__btn:hover { color: var(--gold); background: rgba(255, 255, 255, 0.05); }
.lb__btn svg { width: 17px; height: 17px; }

.lb__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 2vw, 26px) clamp(54px, 8vw, 110px);
  min-height: 0;
  overflow: hidden;
}
html.gsap-on .lb__img { transition: none; }
.lb__img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.55s ease, transform 0.7s var(--ease-out);
  border-radius: 3px;
}
.lb__img.is-shown { opacity: 1; transform: none; }
.lb__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink);
  background: rgba(10, 10, 8, 0.4);
  transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease, opacity 0.4s ease;
}
.lb__nav:hover { background: var(--gold); border-color: var(--gold); color: #0a0a08; }
.lb__nav svg { width: 18px; height: 18px; }
.lb__nav--prev { left: clamp(8px, 2vw, 24px); }
.lb__nav--next { right: clamp(8px, 2vw, 24px); }
.lb__nav[disabled] { opacity: 0.25; pointer-events: none; }

.lb__strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px clamp(16px, 3vw, 36px);
  border-top: 1px solid var(--line-soft);
  scrollbar-width: thin;
}
.lb__thumb {
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  border-radius: 3px;
  overflow: hidden;
  opacity: 0.42;
  transition: opacity 0.35s ease, outline-color 0.35s ease;
  outline: 1px solid transparent;
  outline-offset: -1px;
}
.lb__thumb img { width: 100%; height: 100%; object-fit: cover; }
.lb__thumb:hover { opacity: 0.8; }
.lb__thumb.is-active { opacity: 1; outline-color: var(--gold); }
.lb__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 10px clamp(16px, 3vw, 36px) 16px;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted-2);
}
.lb__foot kbd {
  font-family: var(--sans);
  font-size: 10px;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1px 5px;
  margin: 0 3px;
  color: var(--muted);
}
.lb__cta { color: var(--gold); letter-spacing: 0.2em; }
.lb__cta:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1100px) {
  .service-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}


/* 菜单展开时，顶栏浮在遮罩之上，只保留品牌与关闭按钮 */
body.menu-open .header {
  z-index: 95;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom-color: transparent;
  transform: none;
}
body.menu-open .header .nav,
body.menu-open .header .header__cta {
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
body.menu-open .header .brand { opacity: .55; }@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .manifesto__grid,
  .story-teaser__grid,
  .about-strip__grid,
  .contact__grid,
  .about-page__lead,
  .inquiry { grid-template-columns: 1fr; }
  .manifesto__body { grid-template-columns: 1fr; }
  .series-card { aspect-ratio: 4 / 5; }
  .series-card__bottom { flex-direction: column; align-items: flex-start; gap: 18px; }
  .series-card__side { padding-bottom: 0; }
  .series-card__desc { display: none; }
  .award { grid-template-columns: 1fr auto; }
  .award__org { grid-column: 1 / -1; }
  .award__no { display: none; }
  .chapter__head { grid-template-columns: 1fr; }
  .chapter__media, .chapter__media--offset { grid-template-columns: 1fr; }
  .chapter__media--offset figure:first-child { margin-top: 0; }
  .behind { grid-template-columns: 1fr 1fr; }
  .behind figure:last-child { display: none; }
  .lb__stage { padding: 8px; }
  .lb__nav { width: 42px; height: 42px; }
  .lb__nav--prev { left: 6px; }
  .lb__nav--next { right: 6px; }
  .contact__grid { align-items: start; }
  .gear-layout, .faq-layout { grid-template-columns: 1fr; }
  .qr-card { max-width: 320px; }
}

@media (max-width: 620px) {
  body { font-size: 14.5px; }
  .hero { min-height: 560px; }
  .hero__scroll { display: none; }
  .hero::after {
    background:
      linear-gradient(180deg, rgba(5, 5, 4, .58) 0%, rgba(5, 5, 4, .04) 16%, rgba(5, 5, 4, .42) 40%, rgba(5, 5, 4, .93) 66%, #070706 100%);
  }
  .sec-head__aside { display: none; }
  .hero .eyebrow { font-size: 9px; letter-spacing: 0.26em; gap: 10px; }
  .hero .eyebrow::before { width: 20px; }
  .hero__title { font-size: clamp(58px, 17vw, 96px); }
  .hero__title .en { letter-spacing: 0.4em; }
  .hero__actions .btn { flex: 1 1 auto; padding: 15px 20px; }
  .sec-head { margin-bottom: 32px; }
  .series-card__top span:last-child { display: none; }
  .awards .award__title small { font-size: 10px; }
  .form__row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .gallery__row { display: block; aspect-ratio: auto; }
  .gallery__row + .gallery__row { margin-top: 8px; }
  .gallery__item { margin-bottom: 8px; }
  .gallery__item img { height: auto; }
  .series-intro { grid-template-columns: 1fr; }
  .page-hero__sub { font-size: 12.5px; }
  .behind { grid-template-columns: 1fr; }
  .behind figure:nth-child(2) { display: none; }
  .lb__strip { padding: 10px 12px; }
  .lb__thumb { width: 48px; height: 48px; }
  .lb__foot { display: none; }
  .footer__top { grid-template-columns: 1fr; }
}

/* ---------- 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-reveal > * { transform: none; }
  .grain { display: none; }
}

/* ==========================================================================
   一屏一屏：全屏面板 + 滚动吸附
   规则：面板最小高度 100svh、内容垂直居中、吸附在面板顶部；
   屏幕太矮（横屏手机）时自动关闭吸附并改为自然高度，避免内容被截断。
   ========================================================================== */

/* 桌面：强制吸附；手机内容更长，保留柔和吸附 */
@media (min-width: 900px) and (min-height: 640px) {
  }


.panel {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(52px, 8vh, 88px);
}

/* 面板里的排版节奏收紧 */
.panel .sec-head { margin-bottom: clamp(18px, 3vh, 34px); }
.panel .h2 { font-size: clamp(28px, 3.7vw, 52px); margin-top: 12px; }
.panel .lead { font-size: clamp(13.5px, 1vw, 15.5px); line-height: 1.95; }
.panel .eyebrow { font-size: 10px; }

@media (max-height: 640px) {
    .panel { min-height: auto; padding-block: 48px; }
}

/* ---------- 作品：2×2 面板 ---------- */
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 14px);
  height: min(60vh, 600px);
}
.work-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: #0b0a08;
}
.work-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94) brightness(0.9);
  transition: transform 1.4s var(--ease-out), filter 0.8s ease;
}
.work-card:hover .work-card__img { transform: scale(1.04); filter: saturate(1) brightness(1); }
.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 4, 3, 0.4) 0%, transparent 42%, rgba(4, 4, 3, 0.84) 100%);
}
.work-card__top {
  position: absolute;
  z-index: 2;
  top: clamp(12px, 1.5vw, 20px);
  left: clamp(12px, 1.5vw, 20px);
  right: clamp(12px, 1.5vw, 20px);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 9.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(242, 239, 232, 0.7);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}
.work-card__top b { color: var(--gold); font-weight: 400; }
.work-card__body {
  position: absolute;
  z-index: 2;
  left: clamp(12px, 1.5vw, 20px);
  right: clamp(12px, 1.5vw, 20px);
  bottom: clamp(12px, 1.5vw, 18px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.work-card__title {
  font-family: var(--serif);
  font-size: clamp(19px, 1.9vw, 28px);
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.55);
}
.work-card__count {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--gold);
  white-space: nowrap;
}
.work-card__arrow {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border: 1px solid rgba(242, 239, 232, 0.28);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transform: rotate(-45deg);
  transition: transform 0.6s var(--ease-back), background 0.5s ease, border-color 0.5s ease, color 0.5s ease;
}
.work-card__arrow svg { width: 13px; height: 13px; }
.work-card:hover .work-card__arrow { background: var(--gold); border-color: var(--gold); color: #0a0a08; transform: rotate(0deg); }

/* ---------- 婚礼日：封面式面板 ---------- */
.story-cover {
  padding-block: 0;
  justify-content: flex-end;
  overflow: hidden;
}
.story-cover__media { position: absolute; inset: 0; z-index: 0; }
.story-cover__media img { width: 100%; height: 100%; object-fit: cover; }
.story-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(5, 5, 4, 0.55) 0%, rgba(5, 5, 4, 0.05) 34%, rgba(5, 5, 4, 0.72) 76%, #070706 100%);
}
.story-cover__inner { position: relative; z-index: 2; padding-bottom: clamp(38px, 6vh, 64px); }
.story-cover__chapters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 28px);
  margin-top: clamp(18px, 3vh, 30px);
  max-width: 880px;
}
.story-cover__chapter { border-top: 1px solid rgba(242, 239, 232, 0.18); padding-top: 10px; }
.story-cover__chapter b {
  display: block;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin-bottom: 5px;
}
.story-cover__chapter span { font-family: var(--serif); font-size: clamp(13px, 1.1vw, 16px); letter-spacing: 0.04em; }

/* ---------- 关于页 ---------- */
.about-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.8fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}
.about-hero__portrait {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  max-height: 56vh;
}
.about-hero__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 42%; }
.about-hero h1 { font-size: clamp(38px, 5.4vw, 76px); }
.about-bio { columns: 2; column-gap: clamp(28px, 4vw, 56px); }
.about-bio p { margin: 0 0 18px; break-inside: avoid; color: var(--ink-dim); font-size: 14.5px; line-height: 2; }
.about-bio p:first-child::first-letter { color: var(--gold); }
.about-bio { margin-top: clamp(12px, 2vh, 22px); }
.ga-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
}
.panel .award { padding-block: clamp(12px, 1.6vh, 18px); }
.panel .award__title { font-size: clamp(16px, 1.5vw, 21px); }
.panel .behind img { aspect-ratio: 4 / 3; }
.panel .behind { max-height: 46vh; }

/* ---------- 服务页 ---------- */
.panel .service-grid { gap: clamp(10px, 1.2vw, 16px); }
.panel .service-card { padding: clamp(18px, 2vw, 28px); }
.panel .service-card h3 { font-size: clamp(18px, 1.7vw, 23px); margin-top: 10px; }
.panel .service-card p { font-size: 12.5px; line-height: 1.9; margin-top: 10px; }
.panel .service-card ul { margin-top: 14px; padding-top: 12px; gap: 6px; }
.panel .service-card li { font-size: 11.5px; }
.panel .steps { gap: clamp(14px, 2vw, 26px); }
.panel .step { padding-top: 18px; }
.panel .step h3 { font-size: 18px; margin-top: 10px; }
.panel .step p { font-size: 12px; line-height: 1.85; margin-top: 8px; }

.faq-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 60px); }
.faq-two .faq { border-top: 1px solid var(--line); }
.panel .faq summary { padding: clamp(11px, 1.5vh, 16px) 0; font-size: clamp(14px, 1.2vw, 16px); }
.panel .faq details p { font-size: 12.5px; line-height: 1.9; padding-bottom: 16px; }

.panel .inquiry { gap: clamp(28px, 4vw, 64px); }
.panel .form { gap: 12px; }
.panel .qr-card { padding: clamp(16px, 2vw, 24px); }
.panel .qr-card img { max-width: 180px; }

/* ---------- 婚礼日章节：左右分栏整屏 ---------- */
.chapter-spread {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.chapter-spread__no {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 56px);
  color: var(--gold);
  line-height: 1;
}
.chapter-spread__no small {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.34em;
  color: var(--muted-2);
  margin-top: 10px;
}
.chapter-spread__title {
  font-family: var(--serif);
  font-size: clamp(24px, 2.8vw, 40px);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.35;
  margin-top: 18px;
}
.chapter-spread__lead { margin-top: 14px; color: var(--muted); font-size: 13.5px; line-height: 1.95; max-width: 34ch; }
.chapter-spread__quote {
  margin-top: 22px;
  padding-left: 16px;
  border-left: 1px solid var(--gold-soft);
  font-family: var(--serif);
  font-size: clamp(15px, 1.3vw, 19px);
  line-height: 1.8;
  color: var(--ink-dim);
}
.chapter-spread__media {
  display: grid;
  gap: clamp(8px, 1vw, 12px);
  height: min(70vh, 620px);
  grid-template-rows: 1fr 1fr;
}
.chapter-spread__media figure { overflow: hidden; border-radius: 4px; background: #0b0a08; }
.chapter-spread__media img { width: 100%; height: 100%; object-fit: cover; }
.chapter-spread__media--single { grid-template-rows: 1fr; }

/* 结尾 */
.story-end { padding-block: 0; overflow: hidden; justify-content: flex-end; }
.story-end__media { position: absolute; inset: 0; }
.story-end__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.story-end::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 4, 0.6), rgba(5, 5, 4, 0.35) 40%, #070706 100%);
}
.story-end__inner { position: relative; z-index: 2; padding-bottom: clamp(40px, 6vh, 70px); }

/* ---------- 系列页：每排图片吸附居中 ---------- */

@media (max-width: 900px) {
  .works-grid { grid-template-columns: 1fr; grid-template-rows: repeat(4, minmax(0, 1fr)); height: min(64vh, 560px); }
  .work-card__title { font-size: 17px; }
  .work-card__arrow, .work-card__count { display: none; }
  .story-cover__chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }
  .story-cover__chapter span { font-size: 13px; }
  .about-hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .about-hero__portrait { aspect-ratio: 4 / 3; max-height: 34vh; }
  .about-bio { columns: 1; }
  .ga-grid { grid-template-columns: 1fr; gap: 26px; }
  .faq-two { grid-template-columns: 1fr; }
  .chapter-spread { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .chapter-spread__media { height: min(38vh, 340px); grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
  .chapter-spread__media--single { grid-template-columns: 1fr; }
  .chapter-spread__no { font-size: 30px; }
  .chapter-spread__title { margin-top: 10px; }
  .chapter-spread__lead { margin-top: 10px; }
  .chapter-spread__quote { display: none; }
  .panel .behind { display: none; }
}

@media (max-height: 640px) {
  .works-grid { height: auto; }
  .story-cover { min-height: 100svh; }
  .chapter-spread__media { height: 52vh; }
}

/* ---------- 面板内容填充度微调（全屏吸附版） ---------- */
.about-hero__portrait { aspect-ratio: 3 / 4; max-height: 72vh; }
.about-bio--single { columns: 1; }
.about-bio--single p { font-size: 14.5px; line-height: 2.05; }
.behind-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: clamp(8px, 1vw, 12px);
  height: min(64vh, 580px);
}
.behind-stack figure { overflow: hidden; border-radius: 4px; background: #0b0a08; }
.behind-stack img { width: 100%; height: 100%; object-fit: cover; }

.panel .manifesto__quote { font-size: clamp(30px, 4vw, 58px); }
.panel .manifesto__body p { font-size: 14.5px; }
.panel .service-card { min-height: min(44vh, 360px); display: flex; flex-direction: column; }
.panel .service-card ul { margin-top: auto; }
.panel .award { padding-block: clamp(22px, 3.4vh, 32px); }
.panel .award__title { font-size: clamp(19px, 2vw, 27px); }

@media (max-width: 900px) {
  .about-hero__portrait { aspect-ratio: 4 / 3; max-height: 36vh; }
  .behind-stack { height: min(34vh, 300px); grid-template-rows: 1fr; grid-template-columns: 1fr 1fr; }
  .behind-stack figure:last-child { display: none; }
  .panel .service-card { min-height: 0; }
  .panel .service-card ul { margin-top: 14px; }
}

@media (max-height: 640px) {
  .behind-stack { height: 46vh; }
  .about-hero__portrait { max-height: 56vh; }
}

/* 婚礼日章节：左右留白与对齐 */
.panel.chapter-spread { padding-inline: var(--pad); align-items: center; }
.panel.chapter-spread > div:first-child { padding-right: clamp(0px, 2vw, 24px); }

/* 横屏 / 矮屏：压缩首屏与面板，去掉吸附加载 */
@media (max-height: 640px) {
  .hero { height: auto; min-height: 100svh; }
  .hero__title { font-size: clamp(38px, 11vh, 84px); margin-top: 10px; }
  .hero__title .en { font-size: 9px; letter-spacing: .4em; padding-bottom: 8px; }
  .hero__line { font-size: 14px; margin-top: 10px; }
  .hero__meta { font-size: 10px; margin-top: 8px; }
  .hero__actions { margin-top: 14px; }
  .hero__actions .btn { padding: 12px 20px; font-size: 12px; }
  .hero__scroll { display: none; }
  .hero__inner { padding-bottom: 22px; }
  .manifesto__quote { font-size: clamp(22px, 5.2vh, 34px); }
  .manifesto__body { margin-top: 18px; }
  .works-grid { height: auto; }
  .work-card { aspect-ratio: 16 / 7; }
  .story-cover { min-height: 100svh; }
  .story-cover__inner { padding-bottom: 20px; }
  .story-cover__chapters { display: none; }
}

.page-hero--full { height: 100svh; }
@media (max-height: 640px) {
  .page-hero, .page-hero--full { height: auto; min-height: 100svh; }
  .page-hero__title { font-size: clamp(28px, 8.4vh, 60px); margin-top: 10px; }
  .page-hero__sub { font-size: 12px; line-height: 1.7; margin-top: 10px; }
  .page-hero__meta { font-size: 9.5px; margin-top: 12px; gap: 8px 18px; }
  .page-hero__inner { padding-bottom: 18px; }
  .chapter-spread__media { height: 56vh; }
  .chapter-spread { padding-block: 28px; }
}

/* 最后一屏的紧凑页脚 */
.panel.contact { padding-bottom: clamp(64px, 10vh, 96px); }
.panel-foot {
  position: absolute;
  z-index: 3;
  left: var(--pad);
  right: var(--pad);
  bottom: clamp(14px, 2.4vh, 26px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
}
.panel-foot .brand { gap: 10px; }
.panel-foot .brand__cn { font-size: 15px; }
.panel-foot .brand__en { font-size: 7.5px; letter-spacing: 0.3em; }
.panel-foot__nav { display: flex; gap: 16px; }
.panel-foot__nav a { color: var(--muted); transition: color 0.3s ease; }
.panel-foot__nav a:hover { color: var(--gold); }

@media (max-width: 620px) {
  .panel-foot__nav { display: none; }
  .panel.contact { padding-bottom: clamp(72px, 12vh, 104px); }
}

.panel--foot { padding-bottom: clamp(64px, 10vh, 96px); }

/* ---------- 面板背景：一层压暗的大图，用渐变淡出 ---------- */
.panel { isolation: isolate; }
.panel > .panel-foot { z-index: 3; }
.panel-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  filter: brightness(0.32) saturate(0.8) blur(2px);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 55%, transparent 100%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 55%, transparent 100%);
}

/* ---------- 作品卡：完整显示 + 模糊垫底 ---------- */
.work-card__bg {
  position: absolute;
  inset: -12%;
  z-index: 0;
  background-size: cover;
  background-position: center;
  filter: blur(26px) brightness(0.4) saturate(0.9);
}
.work-card__img { object-fit: contain; }

/* ---------- 婚礼日章节图：完整显示 + 模糊垫底 ---------- */
.media-fit { position: relative; overflow: hidden; background: #0b0a08; }
.media-fit::before {
  content: "";
  position: absolute;
  inset: -12%;
  background-image: var(--bg, none);
  background-size: cover;
  background-position: center;
  filter: blur(26px) brightness(0.4) saturate(0.9);
}
.media-fit img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; }

/* 作品网格：3:2 卡片，保留封面原构图 */
.works-grid {
  width: min(880px, 100%);
  margin-inline: auto;
  height: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: none;
  gap: clamp(10px, 1.2vw, 16px);
}
.work-card { aspect-ratio: 3 / 2; }
.work-card__img { object-fit: cover; }
.work-card__bg { display: none; }
.work-card__title { font-size: clamp(18px, 1.6vw, 24px); }
.work-card__top { font-size: 8.5px; letter-spacing: 0.26em; }

@media (max-width: 900px) {
  .works-grid {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    height: auto;
  }
  .work-card { aspect-ratio: 3 / 2; }
  .work-card__title { font-size: 14px; }
  .work-card__top { font-size: 7.5px; letter-spacing: 0.18em; }
  .work-card__top span:last-child { display: none; }
}

/* 婚礼日章节：单张主图完整显示 */
.chapter-spread__media { grid-template-rows: 1fr; height: min(72vh, 640px); gap: 0; }
.chapter-spread__media img {
  object-fit: contain;
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
.chapter-spread__media figure { background: transparent; border-radius: 0; }
.chapter-spread__media--single { grid-template-rows: 1fr; }

/* 作品区：标题与网格同宽 */
.works-shell { max-width: calc(880px + 2 * var(--pad)); }

@media (max-width: 900px) {
  .chapter-spread__media { height: min(42vh, 380px); grid-template-columns: 1fr; }
  .works-shell { max-width: none; }
}





/* 工作现场：一大一小拼贴，两张都按原比例完整显示 */
.behind-collage {
  position: relative;
  width: 100%;
  height: min(56vh, 520px);
}
.behind-collage figure {
  position: absolute;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.behind-collage img { width: 100%; height: 100%; object-fit: cover; }
.behind-collage__big {
  top: 0;
  right: 0;
  width: 76%;
  aspect-ratio: 4 / 3;
}
.behind-collage__small {
  left: 0;
  bottom: 0;
  width: 40%;
  aspect-ratio: 3 / 4;
  border: 6px solid #070706;
}

@media (max-width: 900px) {
  .behind-collage { display: none; }
}

.behind-collage { margin-top: clamp(10px, 4vh, 40px); }
.behind-collage__cap {
  position: absolute;
  right: 0;
  bottom: -26px;
  font-size: 9.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* 内页封面：铺满一屏，暗场人像把人放在画面里 */
.page-hero { height: 100svh; }
.page-hero--dark .page-hero__media img { object-position: center 64%; }

/* 侧边快速导航 */
.pager {
  position: fixed;
  right: clamp(14px, 1.8vw, 26px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 45;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}
.pager__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 3px 0;
}
.pager__label {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--muted-2);
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.4s ease, transform 0.5s var(--ease-out), color 0.4s ease;
  white-space: nowrap;
}
.pager__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(242, 239, 232, 0.26);
  transition: background 0.4s ease, transform 0.5s var(--ease-back);
}
.pager__item:hover .pager__label,
.pager__item.is-active .pager__label { opacity: 1; transform: none; color: var(--ink-dim); }
.pager__item.is-active .pager__dot { background: var(--gold); transform: scale(1.7); }
.pager__item:hover .pager__dot { background: var(--gold); }
@media (max-width: 1100px) { .pager { display: none; } }

/* 婚礼日章节：与全站同一个内容容器 */
.panel.chapter-spread { display: flex; padding-inline: 0; }
.chapter-spread__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
@media (max-width: 900px) {
  .chapter-spread__grid { grid-template-columns: 1fr; gap: 20px; }
}

/* 右侧导航：像音量滑条一样的进度条 */
.pager {
  position: fixed;
  right: clamp(16px, 2vw, 30px);
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: min(46vh, 380px);
  z-index: 45;
}
.pager__rail {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  border-radius: 2px;
  background: rgba(242, 239, 232, 0.16);
  cursor: pointer;
}
.pager__rail::before {
  content: "";
  position: absolute;
  inset: -10px -12px;
}
.pager__fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--gold), rgba(201, 165, 88, 0.55));
}
.pager__thumb {
  position: absolute;
  right: -5px;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-50%);
  box-shadow: 0 0 0 5px rgba(201, 165, 88, 0.16);
  cursor: grab;
  transition: box-shadow 0.3s ease, width 0.3s ease, height 0.3s ease;
}
.pager__thumb::after {
  content: "";
  position: absolute;
  inset: -12px -10px;
}
.pager.is-dragging .pager__thumb {
  cursor: grabbing;
  box-shadow: 0 0 0 9px rgba(201, 165, 88, 0.22);
}
.pager__item {
  position: absolute;
  right: 22px;
  transform: translateY(-50%);
  padding: 2px 0;
  white-space: nowrap;
}
.pager__label {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-dim);
  opacity: 0.62;
  transition: color 0.35s ease, opacity 0.35s ease;
}
.pager__item:hover .pager__label { opacity: 1; color: var(--ink); }
.pager__item.is-active .pager__label { opacity: 1; color: var(--gold); }
@media (max-width: 1199px) { .pager { display: none; } }

/* 手机端底部进度滑条 */
.mpager {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 44;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 18px calc(22px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(7, 7, 6, 0) 0%, rgba(7, 7, 6, 0.82) 38%, rgba(7, 7, 6, 0.97) 100%);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: opacity 0.3s ease;
}
body.is-locked .mpager, body.menu-open .mpager { opacity: 0; pointer-events: none; }
.mpager__labels { display: flex; justify-content: space-between; gap: 4px; }
.mpager__item { padding: 2px 0; }
.mpager__label {
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
  opacity: 0.5;
  transition: color 0.3s ease, opacity 0.3s ease;
}
.mpager__item.is-active .mpager__label { color: var(--gold); opacity: 1; }
.mpager__track {
  position: relative;
  height: 34px;
  display: flex;
  align-items: center;
  touch-action: none;
  cursor: pointer;
}
.mpager__track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: rgba(242, 239, 232, 0.16);
}
.mpager__fill {
  position: absolute;
  left: 0;
  top: 50%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(201, 165, 88, 0.5), var(--gold));
  transform: translateY(-50%);
}
.mpager__thumb {
  position: absolute;
  top: 50%;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px rgba(201, 165, 88, 0.16);
  transition: box-shadow 0.3s ease;
}
.mpager.is-dragging .mpager__thumb { box-shadow: 0 0 0 8px rgba(201, 165, 88, 0.22); }
body.has-mpager { padding-bottom: 92px; }

@media (min-width: 1200px) {
  .mpager { display: none; }
  body.has-mpager { padding-bottom: 0; }
}

/* 手机端：首屏内容抬高，避开底部进度条 */
@media (max-width: 1199px) {
  body.has-mpager .hero,
  body.has-mpager .page-hero { padding-bottom: 74px; }
  body.has-mpager .panel.contact,
  body.has-mpager .panel--foot { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
}

@media (max-width: 1199px) {
  body.has-mpager .to-top { bottom: calc(104px + env(safe-area-inset-bottom)); }
  body.has-mpager .mpager__labels { padding-right: 44px; }
}

/* 荣誉：每项右侧的获奖图 */
.award { grid-template-columns: minmax(80px, 0.14fr) minmax(0, 1fr) auto auto; }
.award__shots {
  display: flex;
  align-items: center;
  gap: 6px;
}
.award__shots img {
  width: auto;
  height: 92px;
  border-radius: 2px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(242, 239, 232, 0.07);
  opacity: 0.92;
  transition: opacity 0.4s ease, border-color 0.4s ease;
}
.award:hover .award__shots img { border-color: rgba(201, 165, 88, 0.28); }
.award:hover .award__shots img { opacity: 1; }
.award:hover .award__shots img:first-child { transform: translateX(-3px); }

@media (max-width: 760px) {
  .award {
    grid-template-columns: 1fr auto;
    row-gap: 12px;
    align-items: start;
  }
  .award__org { grid-column: 1; grid-row: 1; }
  .award__no { grid-column: 2; grid-row: 1; text-align: right; }
  .award__title { grid-column: 1 / -1; grid-row: 2; }
  .award__shots { grid-column: 1 / -1; grid-row: 3; }
  .award__shots img { width: auto; height: 74px; }
}

.award--plain { grid-template-columns: minmax(80px, 0.14fr) minmax(0, 1fr) auto; }

/* 第一项是 MyWed 个人页截图：铺满方形框更好看 */
.award__shots img { cursor: zoom-in; }

/* 图片放大浮层 */
.zoom {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: clamp(24px, 5vw, 72px);
  background: rgba(4, 4, 3, 0.97);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
  cursor: zoom-out;
}
.zoom.is-open { opacity: 1; visibility: visible; }
.zoom figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 100%;
  max-height: 100%;
}
.zoom img {
  max-width: min(1500px, 94vw);
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
  transform: scale(0.97);
  transition: transform 0.5s var(--ease-out);
}
.zoom.is-open img { transform: none; }
.zoom figcaption {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--muted);
}
.zoom__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink-dim);
  background: rgba(10, 10, 8, 0.55);
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  z-index: 2;
}
.zoom__nav:hover { color: var(--gold); border-color: var(--gold); background: rgba(14, 14, 11, 0.85); }
.zoom__nav svg { width: 18px; height: 18px; }
.zoom__nav--prev { left: clamp(10px, 2vw, 32px); }
.zoom__nav--next { right: clamp(10px, 2vw, 32px); }
.zoom__nav[hidden] { display: none; }
.zoom__count { font-size: 11px; letter-spacing: 0.24em; color: var(--muted); }

.zoom__close {
  position: absolute;
  top: clamp(14px, 2.6vw, 30px);
  right: clamp(14px, 2.6vw, 30px);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink-dim);
  background: rgba(10, 10, 8, 0.6);
  transition: color 0.3s ease, border-color 0.3s ease;
}
.zoom__close:hover { color: var(--gold); border-color: var(--gold); }
.zoom__close svg { width: 18px; height: 18px; }

/* 作品页：返回按钮常驻（婚礼日页仍随首屏滚走，避免压住章节标题） */
main > .page-hero__back {
  position: fixed;
  top: calc(var(--header-h) + 16px);
  left: var(--pad);
  z-index: 40;
  background: rgba(8, 8, 7, 0.62);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.page-hero__back:hover { background: rgba(12, 12, 10, 0.85); }

/* 关于页荣誉：小号缩略图 */
.ga-grid .award {
  grid-template-columns: 56px minmax(0, 1fr) auto auto;
  gap: clamp(10px, 1.4vw, 18px);
}
.ga-grid .award__shots { position: relative; padding-left: 0; }
.ga-grid .award__shots img {
  width: auto;
  height: 54px;
  position: relative;
  border: 2px solid #0b0a08;
  border-radius: 3px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}
.ga-grid .award__shots img + img { margin-left: -30px; }
.ga-grid .award__shots img:nth-child(1) { z-index: 5; }
.ga-grid .award__shots img:nth-child(2) { z-index: 4; transform: translateY(2px); }
.ga-grid .award__shots img:nth-child(3) { z-index: 3; transform: translateY(4px); }
.ga-grid .award__shots img:nth-child(4) { z-index: 2; transform: translateY(6px); }
.ga-grid .award:hover .award__shots img + img { margin-left: -18px; }
.ga-grid .award__shots img { transition: margin 0.45s var(--ease-out), transform 0.45s var(--ease-out); }
.ga-grid .award__title { font-size: clamp(15px, 1.32vw, 19px); letter-spacing: 0.02em; }
.ga-grid .award__title small { letter-spacing: 0.1em; }
/* 荣誉这屏左栏略宽一点，给标题留空间 */
.ga-grid:has(.award) { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
.ga-grid .award__title small { font-size: 10px; margin-top: 3px; }
.ga-grid .award__org { font-size: 9.5px; letter-spacing: 0.2em; }

@media (max-width: 760px) {
  .page-hero__back { top: calc(var(--header-h) + 10px); }
  .ga-grid .award__shots { grid-column: 1 / -1; grid-row: 3; }
  .ga-grid .award__shots img { height: 52px; }
}

/* ==========================================================================
   竖屏修正
   ========================================================================== */
@media (max-width: 760px) {
  /* 宣言：引号不再压到上方的小标签 */
  .manifesto__quote { margin-top: 26px; }
  .manifesto__quote::before {
    font-size: 74px;
    top: -0.58em;
    left: -0.06em;
    opacity: 0.13;
  }
  .manifesto__body { margin-top: 20px; gap: 16px; }
  .manifesto__sign { margin-top: 22px; }

  /* 婚礼日章节：图片按原比例铺满宽度，不再躲在小框里 */
  .chapter-spread__media {
    height: auto;
    grid-template-rows: none;
  }
  .chapter-spread__media figure { height: auto; }
  .chapter-spread__media img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .chapter-spread__grid { gap: 18px; }

  /* 关于页：自述与器材之间收紧 */
  .ga-grid { gap: 22px; }
  .about-bio p { margin-bottom: 12px; }

  /* 荣誉行：标题别被挤断 */
  .award { row-gap: 10px; }
  .ga-grid .award { grid-template-columns: minmax(0, 1fr) auto; }
  .award__title { font-size: 17px; line-height: 1.45; }

  /* 手机底部进度条会盖住内容，给面板留出空间 */
  body.has-mpager .panel,
  body.has-mpager .page-hero,
  body.has-mpager .story-end {
    padding-bottom: calc(132px + env(safe-area-inset-bottom));
  }

  /* 宣言：字号收一点，句子断得更自然 */
  .panel .manifesto__quote { font-size: clamp(21px, 5.6vw, 26px); line-height: 1.65; }
  body.has-mpager .hero { padding-bottom: calc(116px + env(safe-area-inset-bottom)); }
}

/* 关于页荣誉：手机上必须单列（:has 规则优先级别高，要显式覆盖） */
@media (max-width: 900px) {
  .ga-grid:has(.award) { grid-template-columns: minmax(0, 1fr); }
  .ga-grid .award__title { font-size: 16.5px; }
}

/* 手机上返回按钮收成圆形，少挡照片 */
@media (max-width: 760px) {
  main > .page-hero__back {
    width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
    gap: 0;
  }
  .page-hero__back-text { display: none; }
}

/* ICP 备案号 */
.beian {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.beian:hover { color: var(--gold); border-bottom-color: rgba(201, 165, 88, 0.6); }
.panel-foot__copy .beian { margin-left: 2px; }
/* 手机：流程屏压进一屏，按钮不放到底部条下面 */
@media (max-width: 760px) {
  .panel { padding-top: 42px; }
  .steps { gap: 9px; }
  .panel .step { padding-top: 15px; }
  .step h3 { margin-top: 8px; font-size: 18px; }
  .step p { margin-top: 6px; line-height: 1.75; }
}

/* ==========================================================================
   竖屏专项：大图一律完整显示，不裁切
   ========================================================================== */
@media (max-width: 760px) {
  /* 首屏 / 婚礼日封面 / 作品页封面 统一改成海报式：图在上，字在下 */
  .hero,
  .page-hero,
  .story-cover {
    display: block;
    height: auto;
    min-height: 0;
    padding-top: calc(var(--header-h) + 6px);
    overflow: visible;
  }

  .hero__media,
  .page-hero__media,
  .story-cover__media {
    position: relative;
    inset: auto;
    z-index: 0;
    height: auto;
    overflow: visible;
    will-change: auto;
  }

  .hero__media img,
  .page-hero__media img,
  .story-cover__media img {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    object-fit: contain;
    will-change: auto;
  }

  .hero::after,
  .page-hero::after,
  .story-cover::after { display: none; }

  .hero__inner,
  .page-hero__inner,
  .story-cover__inner {
    padding: 22px var(--pad) 34px;
  }

  .hero__scroll { display: none; }
  .hero__title { margin-top: 10px; }

  /* 标题压在图片下，不需要那么大的字号 */
  .page-hero__title { font-size: clamp(34px, 10.5vw, 54px); }
  .page-hero__meta { margin-top: 14px; }
  .story-cover__chapters { margin-top: 18px; }

  /* 婚礼日页的返回按钮：放在图片下面，不压照片 */
  .page-hero > .page-hero__back {
    position: static;
    margin: 14px var(--pad) 0;
    width: fit-content;
  }
}

/* 竖屏：人物照按原比例完整显示，不裁切 */
@media (max-width: 760px) {
  .about-hero__portrait {
    aspect-ratio: auto;
    max-height: none;
    margin-top: 18px;
  }
  .about-hero__portrait img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }
  .about-strip__media {
    aspect-ratio: auto;
    max-height: none;
  }
  .about-strip__media img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }
  .about-strip__grid { gap: 20px; }
}

/* 竖屏：面板高度跟着内容走，去掉大片空区 */
@media (max-width: 760px) {
  .panel { min-height: auto; padding-top: 62px; }
  .panel.story-end { min-height: 100svh; }
  .panel.contact { padding-top: 54px; }
}

/* 微信抓取缩略图用：页面里的第一张图必须是微信能解码的 baseline JPEG */
.wx-thumb {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ---- 竖屏：去掉不必要的空挡（底部条只在最后一屏留位置） ---- */
@media (max-width: 760px) {
  .panel { padding-top: 46px !important; }
  body.has-mpager .panel,
  body.has-mpager .page-hero,
  body.has-mpager .story-end,
  body.has-mpager .panel.contact { padding-bottom: 54px !important; }
  body.has-mpager main > .panel:last-child,
  body.has-mpager .panel.story-end,
  body.has-mpager .panel.contact:last-child {
    padding-bottom: calc(128px + env(safe-area-inset-bottom)) !important;
  }
  body.has-mpager .hero { padding-bottom: calc(70px + env(safe-area-inset-bottom)) !important; }
  .panel .sec-head { margin-bottom: 18px; }
}
