/* ============================================================
   苏伟 & 陈艺瑾 · 结婚邀请函
   设计系统：中国红 × 香槟金 × 象牙纸
   ============================================================ */

/* ---------- 字体 ---------- */
@font-face {
  font-family: 'MaShanZheng';
  src: url('../assets/fonts/mashanzheng-subset.woff2?v=1794718617') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'NotoSerifSC';
  src: url('../assets/fonts/notoserif-subset.woff2?v=1794718617') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'KaiTiSub';
  src: url('../assets/fonts/kaiti-subset.woff2?v=1794718617') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cormorant';
  src: url('../assets/fonts/cormorant-subset.woff2?v=1794718617') format('woff2');
  font-weight: 300 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cormorant';
  src: url('../assets/fonts/cormorant-italic-subset.woff2?v=1794718617') format('woff2');
  font-weight: 300 700; font-style: italic; font-display: swap;
}

/* ---------- Token ---------- */
:root {
  /* 主色：中国红系 */
  --red-900: #5c0f16;
  --red-800: #74141d;
  --red-700: #8c1f28;
  --red-600: #a32832;
  --red-500: #b8343f;

  /* 金 */
  --gold-100: #fdf3d9;
  --gold-200: #f5e3b8;
  --gold-300: #e8cf94;
  --gold-400: #d4b06a;
  --gold-500: #b8913f;
  --gold-600: #8f6c26;

  /* 纸 */
  --paper: #faf5ec;
  --paper-warm: #f4ebdc;
  --paper-deep: #e9dcc6;

  /* 墨 */
  --ink: #2a2118;
  --ink-soft: #5a4a3a;
  --ink-faint: #8b7a66;

  /* 排版 */
  --f-title: 'MaShanZheng', 'STKaiti', 'KaiTi', 'KaiTi_GB2312', serif;
  --f-body: 'NotoSerifSC', 'Songti SC', 'SimSun', 'Source Han Serif SC', serif;
  --f-kai: 'KaiTiSub', 'KaiTi', 'STKaiti', serif;
  --f-serif: 'NotoSerifSC', 'Songti SC', 'SimSun', serif;
  --f-latin: 'Cormorant', 'Cormorant Garamond', Georgia, serif;

  --sp: clamp(16px, 4.6vw, 26px);
  --maxw: 560px;

  --ease-out: cubic-bezier(.22,.61,.36,1);
  --ease-soft: cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--red-800);
  line-height: 1.9;
  letter-spacing: .04em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; height: 100vh; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol, figure, blockquote { margin: 0; padding: 0; list-style: none; }

/* 竖排与中文断行 */
.cn { font-family: var(--f-title); }
h1, h2, h3 { font-weight: 400; margin: 0; line-height: 1.3; }

/* ---------- 通用小节 ---------- */
.s {
  position: relative;
  padding: clamp(56px, 13vw, 96px) var(--sp);
  overflow: hidden;
}
.h2 {
  font-family: var(--f-title);
  font-size: clamp(26px, 7.4vw, 38px);
  color: var(--red-700);
  text-align: center;
  letter-spacing: .12em;
  margin-bottom: clamp(18px, 4vw, 28px);
}
.eyebrow {
  font-family: var(--f-latin);
  font-size: clamp(10px, 2.6vw, 12px);
  letter-spacing: .5em;
  text-transform: uppercase;
  color: var(--gold-500);
  text-align: center;
  margin-bottom: clamp(8px, 2vw, 12px);
  padding-left: .5em; /* 补字距 */
}

/* 入场动画 */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .10s; }
.reveal[data-d="2"] { transition-delay: .20s; }
.reveal[data-d="3"] { transition-delay: .30s; }
.reveal[data-d="4"] { transition-delay: .40s; }
.reveal[data-d="5"] { transition-delay: .50s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* ============================================================
   开场 Gate
   ============================================================ */
.gate {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background:
    radial-gradient(ellipse 120% 80% at 50% 0%, #96222c 0%, #74141d 45%, #4d0c12 100%);
  color: var(--gold-200);
  overflow: hidden;
  transition: opacity 1s var(--ease-soft), visibility 1s;
}
.gate.is-out { opacity: 0; visibility: hidden; pointer-events: none; }

/* 纸纹 + 暗角 */
.gate__grain {
  position: absolute; inset: 0;
  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='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  opacity: .18; mix-blend-mode: overlay; pointer-events: none;
}
.gate::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, transparent 40%, rgba(40,6,10,.55) 100%);
}

.gate__inner {
  position: relative; z-index: 2;
  text-align: center;
  padding: 24px;
  width: min(92vw, 460px);
  animation: gateIn 1.4s var(--ease-out) both .2s;
}
@keyframes gateIn {
  from { opacity: 0; transform: translateY(20px) scale(.985); }
  to   { opacity: 1; transform: none; }
}

.gate__seal { width: clamp(74px, 19vw, 96px); margin: 0 auto clamp(22px, 5vw, 30px); }
.seal { width: 100%; height: auto; color: var(--gold-300); display: block; }
.seal__txt {
  font-family: var(--f-title);
  font-size: 52px; fill: var(--gold-200);
}

.gate__eyebrow {
  font-family: var(--f-latin);
  font-size: clamp(9px, 2.4vw, 11px);
  letter-spacing: .48em; padding-left: .48em;
  color: var(--gold-400);
  margin: 0 0 clamp(16px, 4vw, 22px);
}
.gate__names {
  font-family: var(--f-title);
  font-size: clamp(30px, 8.6vw, 44px);
  letter-spacing: .1em;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(8px, 2.4vw, 16px);
  color: var(--gold-100);
  margin-bottom: clamp(12px, 3vw, 18px);
  text-shadow: 0 1px 20px rgba(255,220,150,.28);
}
.gate__names .amp {
  font-family: var(--f-latin);
  font-size: .55em; font-style: italic;
  color: var(--gold-400); opacity: .9;
}
.gate__date {
  font-family: var(--f-latin);
  font-size: clamp(15px, 4vw, 19px);
  letter-spacing: .34em; padding-left: .34em;
  color: var(--gold-300); opacity: .92;
  margin: 0 0 clamp(24px, 6vw, 34px);
}
.gate__line {
  width: 1px; height: clamp(34px, 8vw, 48px);
  margin: 0 auto clamp(22px, 5vw, 30px);
  background: linear-gradient(to bottom, transparent, var(--gold-400), transparent);
  opacity: .75;
}
.gate__btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px clamp(26px, 7vw, 34px);
  font-family: var(--f-body);
  font-size: clamp(14px, 3.8vw, 16px);
  letter-spacing: .22em; padding-left: calc(clamp(26px,7vw,34px) + .22em);
  color: var(--gold-100);
  border: 1px solid rgba(232,207,148,.55);
  border-radius: 2px;
  background: rgba(255,235,190,.05);
  backdrop-filter: blur(2px);
  transition: background .45s var(--ease-soft), border-color .45s, transform .3s, box-shadow .45s;
  overflow: hidden;
}
.gate__btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,236,190,.22) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease-soft);
}
.gate__btn:active { transform: scale(.97); }
.gate__btn:hover { background: rgba(255,235,190,.12); border-color: var(--gold-300); box-shadow: 0 6px 30px rgba(255,210,140,.15); }
.gate__btn:hover::before { transform: translateX(120%); }
.gate__btn svg { width: 17px; height: 17px; flex: none; transition: transform .45s var(--ease-out); }
.gate__btn:hover svg { transform: translateX(4px); }

.gate__to {
  margin: clamp(26px, 6vw, 34px) 0 0;
  font-size: clamp(12px, 3.2vw, 14px);
  letter-spacing: .2em;
  color: var(--gold-300); opacity: .78;
}
.gate__to b { font-weight: 400; color: var(--gold-100); }

/* ============================================================
   工具按钮
   ============================================================ */
.tools {
  position: fixed;
  top: max(14px, env(safe-area-inset-top));
  right: 14px;
  z-index: 60;
  opacity: 0; transform: translateY(-8px);
  transition: opacity .7s var(--ease-soft), transform .7s var(--ease-soft);
  pointer-events: none;
}
.tools.is-on { opacity: 1; transform: none; pointer-events: auto; }

.tool {
  position: relative;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--gold-100);
  background: rgba(92,15,22,.55);
  border: 1px solid rgba(232,207,148,.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(40,6,10,.3);
  transition: background .4s, border-color .4s, box-shadow .4s, color .4s;
}
/* 浅色区（纸面/赴宴页）切换成深色描边，保证对比度 */
body.is-light .tool {
  color: var(--red-700);
  background: rgba(255,253,247,.82);
  border-color: rgba(140,31,40,.28);
  box-shadow: 0 4px 16px rgba(120,90,50,.18);
}
body.is-light .tool__ring { border-color: rgba(140,31,40,.26); }
body.is-light .tool[aria-pressed="true"] .tool__ring {
  border-color: rgba(140,31,40,.4);
}
.tool .ico { width: 20px; height: 20px; position: relative; z-index: 2; }
.tool__ring {
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(232,207,148,.34);
  opacity: 0; transform: scale(.86);
  transition: opacity .5s, transform .5s;
}
.tool[aria-pressed="true"] .tool__ring {
  opacity: 1; transform: scale(1);
  animation: ringPulse 2.6s var(--ease-soft) infinite;
}
@keyframes ringPulse {
  0%,100% { transform: scale(1); opacity: .55; }
  50% { transform: scale(1.12); opacity: .12; }
}
.tool[aria-pressed="true"] .ico--note { animation: noteSway 3s ease-in-out infinite; }
@keyframes noteSway { 0%,100%{transform:rotate(-6deg)} 50%{transform:rotate(6deg)} }

/* ============================================================
   01 封面
   ============================================================ */
.s--cover {
  min-height: 100svh;
  min-height: 100vh;
  padding: 0;
  display: flex; align-items: flex-end;
  color: var(--gold-100);
}
.cover__media { position: absolute; inset: 0; overflow: hidden; }
.cover__media picture { display: block; width: 100%; height: 100%; }
.cover__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
  transform: scale(1.06);
  animation: coverZoom 16s var(--ease-soft) forwards;
}
@keyframes coverZoom { to { transform: scale(1); } }

.cover__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(60,8,12,.55) 0%, transparent 26%, transparent 40%, rgba(48,6,10,.72) 78%, rgba(40,5,9,.93) 100%);
}
.cover__vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 95% 78% at 50% 42%, transparent 42%, rgba(38,4,8,.6) 100%);
}
/* 柔光斑（叠加层，让画面有呼吸） */
.cover__bokeh {
  position: absolute; inset: 0;
  background-image: url('../assets/deco/bokeh.png?v=1794718617');
  background-size: 110% auto;
  background-position: 50% 18%;
  background-repeat: no-repeat;
  opacity: .26;
  mix-blend-mode: screen;
  animation: bokehDrift 26s ease-in-out infinite alternate;
  pointer-events: none;
  overflow: hidden;
}
@keyframes bokehDrift {
  from { transform: translate3d(0, 0, 0) scale(1.01); }
  to   { transform: translate3d(0, -1.2%, 0) scale(1.04); }
}
/* 顶部细金线（装帧感） */
.cover__rule-top {
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, rgba(232,207,148,.55) 22%, rgba(232,207,148,.55) 78%, transparent);
  opacity: .6;
}
/* 花瓣飘落 */
.petals {
  position: absolute; inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
  /* 花瓣自带投影，红底上更有层次 */
  filter: drop-shadow(0 1px 3px rgba(60,10,14,.28));
}
.petal {
  position: absolute;
  top: -10vh;
  width: var(--sz, 14px);
  height: auto;
  opacity: 0;
  animation:
    petalFall var(--dur, 16s) linear infinite,
    petalSway calc(var(--dur, 16s) / 7) ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s), var(--delay, 0s);
  will-change: transform, opacity;
  backface-visibility: hidden;
}
/* 主轨迹：下落 + 水平漂移 + 旋转 */
@keyframes petalFall {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg) rotateY(0deg);
    opacity: 0;
  }
  6%   { opacity: var(--op, .55); }
  50%  { opacity: calc(var(--op, .55) * 0.82); }
  90%  { opacity: var(--op, .55); }
  100% {
    transform: translate3d(var(--dx, 40px), 118vh, 0)
               rotate(var(--rot, 320deg)) rotateY(420deg);
    opacity: 0;
  }
}
/* 次轨迹：左右轻摆，模拟气流 */
@keyframes petalSway {
  from { translate: calc(var(--sway, 12deg) * -1) 0; }
  to   { translate: var(--sway, 12deg) 0; }
}
@media (prefers-reduced-motion: reduce) {
  .petals { display: none; }
}

.cover__content {
  position: relative; z-index: 3;
  width: 100%;
  padding: 0 var(--sp) clamp(72px, 16vw, 96px);
  text-align: center;
}
.cover__kicker {
  font-family: var(--f-latin);
  font-size: clamp(9px, 2.4vw, 11px);
  letter-spacing: .55em; padding-left: .55em;
  color: var(--gold-300);
  margin: 0 0 clamp(12px, 3vw, 18px);
  opacity: .85;
}
.cover__zh { margin-bottom: clamp(14px, 3.6vw, 22px); }
.cover__zh-1 {
  font-family: var(--f-title);
  font-size: clamp(17px, 4.6vw, 22px);
  letter-spacing: .34em; padding-left: .34em;
  color: var(--gold-200);
}
.cover__title {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(10px, 3vw, 20px);
  font-family: var(--f-title);
  font-size: clamp(30px, 8.4vw, 44px);
  letter-spacing: .06em;
  margin-bottom: clamp(16px, 4vw, 24px);
  text-shadow: 0 2px 26px rgba(20,2,4,.6);
}
.cover__amp {
  width: clamp(20px, 5.4vw, 28px); height: clamp(20px, 5.4vw, 28px);
  color: var(--gold-400); flex: none;
  opacity: .92;
  animation: beat 2.8s var(--ease-soft) infinite;
}
@keyframes beat { 0%,100%{transform:scale(1)} 12%{transform:scale(1.12)} 24%{transform:scale(1)} }

.cover__date {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(10px, 3vw, 16px);
  margin: 0 0 8px;
}
.cover__date .num {
  font-family: var(--f-latin);
  font-size: clamp(30px, 8vw, 40px);
  line-height: 1; font-weight: 300;
  letter-spacing: .02em;
  color: var(--gold-100);
}
.cover__date .sep {
  width: 1px; height: clamp(20px, 5vw, 26px);
  background: rgba(232,207,148,.5);
}
.cover__date .txt {
  font-family: var(--f-body);
  font-size: clamp(12px, 3.2vw, 14px);
  letter-spacing: .16em;
  color: var(--gold-200);
}
.cover__lunar {
  font-size: clamp(11px, 3vw, 13px);
  letter-spacing: .24em; padding-left: .24em;
  color: var(--gold-300); opacity: .8;
  margin: 0;
}

.scroll-hint {
  position: absolute; left: 50%; bottom: max(18px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--gold-300); opacity: .68;
  font-size: 10px; letter-spacing: .3em;
}
.scroll-hint i {
  display: block; width: 1px; height: 26px;
  background: linear-gradient(to bottom, var(--gold-300), transparent);
  animation: hintDrop 2.2s var(--ease-soft) infinite;
}
@keyframes hintDrop {
  0% { transform: scaleY(.2); transform-origin: top; opacity: 0; }
  40% { opacity: 1; }
  100% { transform: scaleY(1); transform-origin: top; opacity: 0; }
}

/* ============================================================
   02 邀请函（纸）
   ============================================================ */
.s--invite {
  background: var(--red-800);
  padding-top: clamp(20px, 5vw, 30px);
  padding-bottom: clamp(34px, 8vw, 56px);
}
/* 金箔纸面 */
.paper {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(24px, 6vw, 34px) clamp(20px, 5.6vw, 34px) clamp(26px, 6.6vw, 38px);
  background:
    linear-gradient(180deg, #fdf9f1 0%, var(--paper) 38%, var(--paper-warm) 100%);
  border-radius: 3px;
  box-shadow:
    0 1px 0 rgba(255,255,255,.7) inset,
    0 18px 50px rgba(38,4,8,.42),
    0 2px 8px rgba(38,4,8,.3);
  overflow: hidden;
}
/* 纸纹：极克制，只保留细腻颗粒，不叠加金箔纹理到整块纸面 */
.paper::before {
  content: ''; position: absolute; inset: 0; border-radius: 3px; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23p)' opacity='.55'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  opacity: .18;
  mix-blend-mode: multiply;
}
/* 边角微暗 + 顶部柔光，营造纸张厚度 */
.paper::after {
  content: ''; position: absolute; inset: 0; border-radius: 3px; pointer-events: none;
  background:
    radial-gradient(ellipse 118% 104% at 50% 50%, transparent 58%, rgba(168,138,98,.13) 100%),
    linear-gradient(180deg, rgba(255,253,247,.5) 0%, transparent 18%);
}
.paper__border {
  position: absolute;
  inset: clamp(9px, 2.4vw, 13px);
  border: 1px solid rgba(184,145,63,.42);
  border-radius: 1px;
  pointer-events: none;
}
.paper__border::before {
  content: ''; position: absolute; inset: 4px;
  border: 1px solid rgba(184,145,63,.2);
}
/* 金色描边的金属光泽：只在两条细边框上做纹理裁切 */
.paper__border::after {
  content: ''; position: absolute; inset: -1px;
  border: 1px solid transparent;
  background: url('../assets/deco/gold-foil.jpg?v=1794718617') center / 240px 240px;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box exclude,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box exclude,
    linear-gradient(#000 0 0);
  padding: 1px;
  opacity: .55;
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* 四角缠枝纹 */
.paper__corner {
  position: absolute;
  width: clamp(34px, 9vw, 48px);
  height: auto;
  pointer-events: none;
  opacity: .72;
  z-index: 1;
}
.paper__corner--tl { top: 10px; left: 10px; }
.paper__corner--tr { top: 10px; right: 10px; transform: scaleX(-1); }
.paper__corner--bl { bottom: 10px; left: 10px; transform: scaleY(-1); }
.paper__corner--br { bottom: 10px; right: 10px; transform: scale(-1, -1); }

.invite__head {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(12px, 3.4vw, 18px);
  margin-bottom: clamp(16px, 4vw, 22px);
  position: relative; z-index: 2;
}
.invite__head .rule {
  flex: 1; max-width: 74px; height: 1px;
  background: linear-gradient(to right, transparent, rgba(184,145,63,.62), transparent);
}
.invite__seal {
  font-family: var(--f-title);
  font-size: clamp(26px, 6.6vw, 32px);
  line-height: 1;
  color: var(--red-700);
  letter-spacing: 0;
}
.invite__xi {
  width: clamp(42px, 11vw, 54px);
  height: auto;
  flex: none;
  opacity: .92;
  filter: drop-shadow(0 1px 1px rgba(140,31,40,.14));
}
/* 云纹分隔 */
.deco-divider {
  position: relative; z-index: 2;
  display: flex; justify-content: center;
  margin: clamp(4px, 1.4vw, 8px) 0 clamp(2px, 1vw, 4px);
  opacity: .9;
}
.deco-divider img {
  width: min(320px, 78%);
  height: auto;
  opacity: .85;
}
.invite__en {
  position: relative; z-index: 2;
  font-family: var(--f-latin);
  font-size: clamp(9px, 2.4vw, 11px);
  letter-spacing: .52em; padding-left: .52em;
  color: var(--gold-600);
  text-align: center;
  margin: 0 0 clamp(20px, 5vw, 26px);
  opacity: .8;
}

.invite__body {
  position: relative; z-index: 2;
  text-align: center;
  font-size: clamp(14px, 3.9vw, 16px);
  line-height: 2.5;
  color: var(--ink-soft);
}
.invite__body p { margin: 0; }
.invite__body .dim {
  font-size: .86em; color: var(--ink-faint);
  letter-spacing: .1em;
  margin-top: -0.3em;
}
.invite__body em {
  font-style: normal;
  color: var(--red-700);
  font-weight: 400;
  letter-spacing: .08em;
}
.invite__solemn {
  margin-top: clamp(14px, 3.4vw, 18px) !important;
  font-size: 1.06em;
  color: var(--ink);
  letter-spacing: .1em;
}
.guest-inline {
  color: var(--gold-600);
  font-weight: 400;
  border-bottom: 1px solid rgba(184,145,63,.42);
  padding-bottom: 1px;
}

.invite__meta {
  position: relative; z-index: 2;
  margin: clamp(22px, 5.4vw, 30px) auto 0;
  padding-top: clamp(18px, 4.4vw, 24px);
  border-top: 1px solid rgba(184,145,63,.28);
  max-width: 320px;
}
.meta {
  display: flex; align-items: baseline;
  gap: clamp(12px, 3.6vw, 18px);
  padding: clamp(7px, 2vw, 9px) 0;
  font-size: clamp(13px, 3.6vw, 15px);
}
.meta__k {
  flex: none; width: 3.6em;
  color: var(--gold-600);
  font-size: .92em;
  letter-spacing: .16em;
}
.meta__v {
  color: var(--ink);
  letter-spacing: .04em;
  text-align: left;
  line-height: 1.7;
}
.meta__v small {
  display: block;
  font-size: .78em;
  color: var(--ink-faint);
  letter-spacing: .1em;
}

.invite__sign {
  position: relative; z-index: 2;
  margin: clamp(24px, 6vw, 32px) 0 0;
  text-align: right;
  font-family: var(--f-title);
  font-size: clamp(17px, 4.4vw, 21px);
  color: var(--red-700);
  letter-spacing: .08em;
}
.invite__sign .dot { color: var(--gold-500); margin: 0 .35em; font-size: .8em; }
.invite__sign small {
  display: block;
  font-family: var(--f-body);
  font-size: clamp(11px, 3vw, 12.5px);
  color: var(--ink-faint);
  letter-spacing: .34em; padding-left: .34em;
  margin-top: 4px;
}

/* ============================================================
   03 倒计时
   ============================================================ */
.s--count {
  background: var(--red-900);
  color: var(--gold-200);
  text-align: center;
  padding-top: clamp(56px, 14vw, 88px);
  padding-bottom: clamp(56px, 14vw, 88px);
}
.count__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(184,52,63,.42) 0%, transparent 56%),
    radial-gradient(circle at 50% 100%, rgba(140,31,40,.5) 0%, transparent 60%);
  pointer-events: none;
}
.count__bg::after {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23c)' opacity='.4'/%3E%3C/svg%3E");
  opacity: .16; mix-blend-mode: overlay;
}
.s--count .h2 { color: var(--gold-100); }
.count__inner { position: relative; z-index: 2; }

.clock {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(6px, 2vw, 12px);
  max-width: 420px;
  margin: clamp(22px, 5.4vw, 32px) auto clamp(18px, 4.4vw, 24px);
}
.clock__cell {
  position: relative;
  padding: clamp(12px, 3.2vw, 16px) 2px;
  border: 1px solid rgba(232,207,148,.3);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(255,235,190,.06), rgba(255,235,190,.015));
  backdrop-filter: blur(2px);
}
.clock__cell::before {
  content: ''; position: absolute; inset: 3px;
  border: 1px solid rgba(232,207,148,.1);
  border-radius: 1px;
  pointer-events: none;
}
.clock__cell b {
  display: block;
  font-family: var(--f-latin);
  font-size: clamp(24px, 7vw, 34px);
  font-weight: 300;
  line-height: 1;
  color: var(--gold-100);
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
  transition: color .3s;
}
.clock__cell span {
  display: block;
  margin-top: clamp(5px, 1.4vw, 7px);
  font-size: clamp(10px, 2.6vw, 11px);
  letter-spacing: .22em; padding-left: .22em;
  color: var(--gold-300);
  opacity: .8;
}
.count__date {
  font-size: clamp(11.5px, 3.1vw, 13px);
  letter-spacing: .16em;
  color: var(--gold-300);
  opacity: .82;
  margin: 0;
}
.is-today .clock__cell { border-color: rgba(232,207,148,.65); }

/* ============================================================
   04 我们的故事
   ============================================================ */
.s--story {
  background: linear-gradient(180deg, var(--red-800) 0%, var(--red-700) 100%);
  color: var(--paper);
  text-align: center;
}
.s--story .h2 { color: var(--gold-100); }
.s--story .eyebrow { color: var(--gold-400); opacity: .9; }
.story__lead {
  font-family: var(--f-kai);
  display: flex;
  flex-direction: column;
  gap: .55em;
  max-width: 22em;
  margin: 0 auto clamp(30px, 7.4vw, 42px);
  font-size: clamp(14px, 3.9vw, 16px);
  line-height: 1.95;
  color: rgba(253,243,217,.88);
  letter-spacing: .06em;
}
.story__lead span { display: block; }

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(10px, 3vw, 16px);
  max-width: var(--maxw);
  margin: 0 auto;
}
.duo--wide {
  grid-template-columns: 1fr;
  gap: clamp(12px, 3.4vw, 18px);
  margin-top: clamp(24px, 6vw, 34px);
}
.frame {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(0,0,0,.18);
  box-shadow: 0 10px 28px rgba(30,4,8,.36);
}
.frame::after {
  content: ''; position: absolute; inset: 0;
  border: 1px solid rgba(253,243,217,.2);
  border-radius: 2px;
  pointer-events: none;
}
.frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.duo__item:nth-child(1) .frame { aspect-ratio: 3/4; }
.duo__item:nth-child(2) .frame { aspect-ratio: 3/4; }
.frame--wide { aspect-ratio: 4/3; }
.duo figcaption {
  margin-top: clamp(9px, 2.4vw, 12px);
  font-size: clamp(12px, 3.2vw, 13.5px);
  letter-spacing: .14em;
  color: rgba(253,243,217,.72);
}
.duo figcaption b {
  font-family: var(--f-title);
  font-weight: 400;
  font-size: 1.28em;
  color: var(--gold-200);
  margin-left: .3em;
  letter-spacing: .08em;
}

.vow {
  font-family: var(--f-kai);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .3em;
  max-width: 20em;
  margin: clamp(32px, 8vw, 44px) auto 0;
  padding: clamp(20px, 5vw, 26px) clamp(20px, 5.4vw, 30px);
  font-size: clamp(15px, 4.1vw, 18px);
  line-height: 1.9;
  letter-spacing: .1em;
  color: var(--gold-100);
  border-top: 1px solid rgba(232,207,148,.28);
  border-bottom: 1px solid rgba(232,207,148,.28);
  text-align: center;
}
.vow span { display: block; }
/* 引号用纯 CSS 绘制，不依赖字体里是否含该字符 */
.vow__mark {
  position: absolute;
  width: 18px; height: 18px;
  opacity: .3;
  pointer-events: none;
}
.vow__mark::before,
.vow__mark::after {
  content: '';
  position: absolute;
  width: 6.5px; height: 6.5px;
  border-radius: 50% 50% 50% 0;
  background: var(--gold-400);
  transform: rotate(-45deg);
}
.vow__mark::before { left: 0; top: 0; }
.vow__mark::after  { left: 8.5px; top: 0; }
.vow__mark--l { top: 14px; left: 16px; }
.vow__mark--r {
  bottom: 14px; right: 16px;
  transform: rotate(180deg);
  opacity: .3;
}
@media (min-width: 720px) {
  .vow__mark--l { top: 18px; left: 22px; }
  .vow__mark--r { bottom: 18px; right: 22px; }
}

/* ============================================================
   05 流程
   ============================================================ */
.s--flow {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-warm) 100%);
}
.timeline {
  --tl-num: 3.6em;          /* 时间列宽 */
  --tl-gap: clamp(26px, 6.4vw, 34px);   /* 时间与内容之间的空隙，圆点落其中 */
  max-width: 380px;
  margin: clamp(22px, 5.4vw, 30px) auto 0;
  position: relative;
  padding-left: 0;
}
/* 竖线穿过圆点中心：时间列右边界 + gap/2 */
.timeline::before {
  content: ''; position: absolute;
  left: calc(var(--tl-num) + var(--tl-gap) / 2);
  top: 1.1em; bottom: 1.1em;
  width: 1px;
  background: linear-gradient(to bottom,
    transparent,
    rgba(184,145,63,.45) 8%,
    rgba(184,145,63,.45) 92%,
    transparent);
}
.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: var(--tl-num) 1fr;
  align-items: start;
  gap: var(--tl-gap);
  padding: clamp(10px, 2.6vw, 13px) 0;
}
.timeline__time {
  font-family: var(--f-latin);
  font-size: clamp(14px, 3.7vw, 16px);
  letter-spacing: .02em;
  color: var(--gold-600);
  text-align: right;
  line-height: 1.75;
  font-variant-numeric: tabular-nums;
  padding-top: 1px;
}
.timeline__dot {
  position: absolute;
  left: calc(var(--tl-num) + var(--tl-gap) / 2);
  top: calc(clamp(10px, 2.6vw, 13px) + .78em);
  width: 9px; height: 9px;
  margin-left: -4.5px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--gold-500);
  box-shadow: 0 0 0 3px rgba(250,245,236,1);
  z-index: 2;
}
.timeline__body { padding-left: 0; }
.timeline__body b {
  display: block;
  font-weight: 400;
  font-family: var(--f-body);
  font-size: clamp(14px, 3.9vw, 16px);
  color: var(--ink);
  letter-spacing: .08em;
}
.timeline__body small {
  display: block;
  font-size: clamp(11px, 3vw, 12.5px);
  color: var(--ink-faint);
  letter-spacing: .06em;
  margin-top: 2px;
}

/* ============================================================
   06 相册
   ============================================================ */
.s--gallery {
  background: linear-gradient(180deg, var(--red-700) 0%, var(--red-800) 100%);
  color: var(--paper);
  padding-left: 0; padding-right: 0;
}
.s--gallery .h2 { color: var(--gold-100); }
.s--gallery .eyebrow { color: var(--gold-400); }
.s--gallery > .eyebrow,
.s--gallery > .h2,
.s--gallery > .gallery__hint { padding-left: var(--sp); padding-right: var(--sp); }
.gallery__hint {
  text-align: center;
  font-size: clamp(11px, 3vw, 12.5px);
  letter-spacing: .12em;
  color: rgba(253,243,217,.6);
  margin: 0 0 clamp(18px, 4.4vw, 24px);
}

.strip {
  display: flex;
  gap: clamp(10px, 2.8vw, 14px);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: clamp(4px, 1.4vw, 8px) var(--sp) clamp(14px, 3.4vw, 20px);
  scroll-padding-left: var(--sp);
  cursor: grab;
}
.strip::-webkit-scrollbar { display: none; }
.strip.is-drag { cursor: grabbing; scroll-snap-type: none; }
.strip__item {
  flex: 0 0 auto;
  width: clamp(150px, 40vw, 198px);
  scroll-snap-align: start;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(30,4,8,.38);
  position: relative;
  /* 统一画框高度，横竖图都按 2:3 裁切，视觉节奏一致 */
  aspect-ratio: 2 / 3;
  background: rgba(0,0,0,.16);
}
.strip__item::after {
  content: ''; position: absolute; inset: 0;
  border: 1px solid rgba(253,243,217,.2);
  pointer-events: none;
  border-radius: 2px;
}
.strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  transition: transform 1.1s var(--ease-out);
  pointer-events: none;
}
.strip__item:nth-child(3n) img { object-position: 50% 30%; }
.strip__item:active img { transform: scale(1.03); }

.strip__bar {
  width: min(46%, 200px);
  height: 2px;
  margin: 0 auto clamp(22px, 5.4vw, 30px);
  background: rgba(232,207,148,.18);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.strip__bar i {
  display: block; height: 100%;
  width: 30%;
  background: linear-gradient(to right, var(--gold-400), var(--gold-200));
  border-radius: 2px;
  transition: transform .18s var(--ease-out), width .18s var(--ease-out);
  transform-origin: left center;
  will-change: transform, width;
}

/* ============================================================
   07 赴宴
   ============================================================ */
.s--venue {
  background: linear-gradient(180deg, var(--paper-warm) 0%, var(--paper) 42%, var(--paper-deep) 100%);
  text-align: center;
}
/* ── 地点卡：信息分三层，导航按钮为主行动 ───────────── */
.venue {
  max-width: 400px;
  margin: 0 auto clamp(30px, 7.4vw, 42px);
  padding: clamp(24px, 6vw, 34px) clamp(20px, 5.2vw, 28px) clamp(22px, 5.4vw, 28px);
  background: linear-gradient(180deg, rgba(255,255,255,.72) 0%, rgba(255,255,255,.46) 100%);
  border: 1px solid rgba(184,145,63,.34);
  border-radius: 3px;
  box-shadow:
    0 1px 0 rgba(255,255,255,.85) inset,
    0 10px 30px rgba(120,90,50,.13);
  position: relative;
  overflow: hidden;
}
.venue::before {
  content: ''; position: absolute; inset: 5px;
  border: 1px solid rgba(184,145,63,.16);
  border-radius: 2px; pointer-events: none;
}
/* 顶部金色细条，视觉锚点 */
.venue::after {
  content: ''; position: absolute; top: 0; left: 50%;
  width: 58px; height: 2px; transform: translateX(-50%);
  background: linear-gradient(to right, transparent, var(--gold-400), transparent);
  border-radius: 0 0 2px 2px;
}

/* 第一层：店名 */
.venue__name {
  position: relative; z-index: 1;
  font-family: var(--f-title);
  font-size: clamp(21px, 5.8vw, 27px);
  color: var(--red-700);
  letter-spacing: .08em;
  line-height: 1.25;
  margin-bottom: clamp(4px, 1.2vw, 6px);
}
.venue__name span {
  display: block;
  font-family: var(--f-body);
  font-size: clamp(12px, 3.2vw, 13.5px);
  color: var(--ink-faint);
  letter-spacing: .22em;
  margin-top: clamp(7px, 1.8vw, 9px);
}

/* 第二层：地址（带定位图标） */
.venue__addr {
  position: relative; z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: clamp(12.5px, 3.5vw, 14px);
  color: var(--ink-soft);
  letter-spacing: .06em;
  line-height: 1.7;
  margin-bottom: clamp(14px, 3.6vw, 18px);
  padding: 0 2px;
}
.venue__addr svg {
  width: 14px; height: 14px; flex: none;
  color: var(--gold-500);
  opacity: .85;
  margin-top: -1px;
}

/* 第三层：日期时间（做成标签条） */
.venue__time {
  position: relative; z-index: 1;
  display: inline-block;
  font-size: clamp(11.5px, 3.1vw, 13px);
  color: var(--gold-600);
  letter-spacing: .06em;
  padding: clamp(6px, 1.8vw, 8px) clamp(12px, 3.2vw, 16px);
  background: rgba(184,145,63,.09);
  border: 1px solid rgba(184,145,63,.24);
  border-radius: 2px;
  margin-bottom: clamp(18px, 4.4vw, 24px);
}

/* 导航按钮：整行主行动 */
.venue__acts {
  position: relative; z-index: 1;
  display: flex;
  justify-content: center;
}
.btn--nav {
  width: 100%;
  gap: 9px;
  padding: clamp(13px, 3.6vw, 16px) clamp(18px, 4.6vw, 22px);
  padding-left: calc(clamp(18px,4.6vw,22px) + 0px);
  font-size: clamp(14px, 3.8vw, 15.5px);
  letter-spacing: .1em;
  color: var(--gold-100);
  background: linear-gradient(180deg, var(--red-600) 0%, var(--red-700) 100%);
  border: 1px solid var(--red-800);
  border-radius: 3px;
  box-shadow:
    0 1px 0 rgba(255,215,160,.22) inset,
    0 6px 20px rgba(140,31,40,.32);
  transition: transform .28s var(--ease-out), box-shadow .35s, filter .3s;
}
.btn--nav svg { width: 17px; height: 17px; }
.btn--nav .btn__arrow {
  width: 15px; height: 15px;
  margin-left: auto;
  opacity: .78;
  transition: transform .3s var(--ease-out);
}
.btn--nav:hover {
  filter: brightness(1.06);
  box-shadow:
    0 1px 0 rgba(255,215,160,.28) inset,
    0 9px 26px rgba(140,31,40,.4);
}
.btn--nav:hover .btn__arrow { transform: translateX(3px); }
.btn--nav:active { transform: scale(.985); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 7px;
  padding: 10px clamp(18px, 4.8vw, 24px);
  font-size: clamp(12.5px, 3.4vw, 14px);
  letter-spacing: .14em; padding-left: calc(clamp(18px,4.8vw,24px) + .14em);
  border-radius: 2px;
  transition: transform .3s var(--ease-out), background .35s, box-shadow .35s, border-color .35s;
  min-height: 42px;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:active { transform: scale(.97); }

.btn--solid {
  background: var(--red-700);
  color: var(--gold-100);
  border: 1px solid var(--red-700);
  box-shadow: 0 5px 18px rgba(140,31,40,.28);
}
.btn--solid:hover { background: var(--red-600); box-shadow: 0 7px 22px rgba(140,31,40,.36); }

.btn--ghost {
  color: var(--red-700);
  border: 1px solid rgba(140,31,40,.4);
  background: transparent;
}
.btn--ghost:hover { background: rgba(140,31,40,.06); border-color: var(--red-700); }

/* 结语（原留言位，改为静态致谢） */
.bless--note {
  padding-top: clamp(24px, 5.8vw, 32px);
  padding-bottom: clamp(4px, 1.4vw, 8px);
}
.bless--note .bless__title {
  margin-bottom: clamp(6px, 1.8vw, 10px);
}
.bless__orn {
  display: block;
  width: min(260px, 72%);
  height: auto;
  margin: 0 auto clamp(10px, 2.6vw, 14px);
  opacity: .7;
}
.bless__orn--flip {
  transform: scaleY(-1);
  margin: clamp(10px, 2.6vw, 14px) auto 0;
  opacity: .55;
}

/* 页脚 */
.foot {
  margin-top: clamp(38px, 9vw, 52px);
  padding-top: clamp(26px, 6.4vw, 34px);
  border-top: 1px solid rgba(184,145,63,.26);
  text-align: center;
}
.foot__sealimg {
  display: block;
  width: clamp(44px, 11vw, 56px);
  height: auto;
  margin: 0 auto clamp(12px, 3vw, 16px);
  opacity: .92;
}
.foot__seal {
  display: inline-block;
  font-family: var(--f-title);
  font-size: 34px;
  line-height: 1;
  color: var(--red-700);
  opacity: .9;
  margin-bottom: clamp(10px, 2.6vw, 14px);
}
.foot__names {
  font-family: var(--f-title);
  font-size: clamp(17px, 4.6vw, 21px);
  color: var(--red-700);
  letter-spacing: .08em;
  margin: 0 0 6px;
}
.foot__date {
  font-family: var(--f-latin);
  font-size: clamp(12px, 3.2vw, 14px);
  letter-spacing: .32em; padding-left: .32em;
  color: var(--gold-600);
  margin: 0 0 clamp(10px, 2.6vw, 14px);
}
.foot__tiny {
  font-size: clamp(11px, 3vw, 12.5px);
  color: var(--ink-faint);
  letter-spacing: .18em;
  margin: 0;
  opacity: .82;
}
.foot__share {
  margin: clamp(16px, 4vw, 20px) 0 clamp(14px, 3.4vw, 18px);
  display: flex;
  justify-content: center;
}
.btn--sm {
  padding: 8px clamp(16px, 4.2vw, 20px);
  padding-left: calc(clamp(16px,4.2vw,20px) + .14em);
  font-size: clamp(12px, 3.2vw, 13px);
  min-height: 38px;
}
.foot__credit {
  margin: clamp(14px, 3.6vw, 18px) 0 0;
  font-family: var(--f-kai);
  font-size: clamp(11px, 3vw, 12.5px);
  color: var(--gold-600);
  letter-spacing: .2em;
  opacity: .62;
}

/* ============================================================
   灯箱 / Toast
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  padding: 20px;
  background: rgba(20,3,6,.94);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .4s var(--ease-soft);
}
.lightbox[hidden] { display: none; }
.lightbox.is-in { opacity: 1; }
.lightbox img {
  max-width: 100%; max-height: 86vh;
  object-fit: contain;
  border-radius: 2px;
  transform: scale(.96);
  transition: transform .45s var(--ease-out);
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.lightbox.is-in img { transform: scale(1); }
.lightbox__close {
  position: absolute;
  top: max(14px, env(safe-area-inset-top));
  right: 16px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  font-size: 26px; line-height: 1;
  color: rgba(253,243,217,.85);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(253,243,217,.2);
}

.toast {
  position: fixed;
  left: 50%; bottom: max(28px, calc(env(safe-area-inset-bottom) + 18px));
  transform: translate(-50%, 14px);
  z-index: 300;
  padding: 9px 18px;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--gold-100);
  background: rgba(92,15,22,.94);
  border: 1px solid rgba(232,207,148,.34);
  border-radius: 2px;
  box-shadow: 0 8px 26px rgba(30,4,8,.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease-soft), transform .35s var(--ease-out);
  white-space: nowrap;
  max-width: 88vw;
  overflow: hidden;
  text-overflow: ellipsis;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================
   响应式：平板 / 桌面
   ============================================================ */
@media (min-width: 720px) {
  :root { --maxw: 620px; }
  .s--cover { align-items: center; padding-top: 0; }
  .cover__content { padding-bottom: 0; text-align: center; }
  .cover__img { object-position: 50% 40%; }
  .scroll-hint { left: auto; right: 32px; bottom: 32px; transform: none; }
  .duo { gap: 20px; }
  .clock { max-width: 480px; }
  .timeline { max-width: 460px; }
}

@media (min-width: 1024px) {
  body { font-size: 17px; }
  .s { padding-top: clamp(80px, 9vw, 120px); padding-bottom: clamp(80px, 9vw, 120px); }
  .s--cover { min-height: 100vh; padding-top: 0; padding-bottom: 0; }
  .cover__img { object-position: 50% 40%; }
  /* 桌面端封面字级放大，避免缩成一条 */
  .cover__content { padding-bottom: clamp(96px, 10vh, 140px); max-width: 900px; margin: 0 auto; }
  .cover__kicker { font-size: 12px; letter-spacing: .6em; margin-bottom: 22px; }
  .cover__zh-1 { font-size: 26px; letter-spacing: .48em; }
  .cover__title { font-size: clamp(56px, 5.2vw, 76px); gap: 28px; margin-bottom: 30px; }
  .cover__amp { width: 36px; height: 36px; }
  .cover__date .num { font-size: 60px; }
  .cover__date .txt { font-size: 18px; letter-spacing: .2em; }
  .cover__date .sep { height: 36px; }
  .cover__lunar { font-size: 15px; letter-spacing: .3em; }
  .scroll-hint { left: auto; right: 40px; bottom: 44px; transform: none; }

  .duo { gap: 22px; }
  .clock { max-width: 560px; }
  .clock__cell b { font-size: 44px; }
  .timeline { max-width: 520px; }
  .timeline__time { font-size: 19px; }
  .timeline__body b { font-size: 17px; }
  .paper { padding: 60px 54px; }
  .invite__body { font-size: 17px; }

  /* 桌面端相册：固定 3 列网格，消除 wrap 后的底部空白 */
  .s--gallery { padding-left: 0; padding-right: 0; }
  .strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    overflow: visible;
    scroll-snap-type: none;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 var(--sp) 4px;
    cursor: default;
    align-items: start;
  }
  .strip__item { width: auto; aspect-ratio: 3 / 4; }
  .strip__item img { height: 100%; }
  .strip__bar { display: none; }
  .gallery__hint { display: none; }
  .duo--wide { grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
  .frame--wide { aspect-ratio: 4/3; }
}

/* 横屏矮屏（手机横放） */
@media (max-height: 500px) and (orientation: landscape) {
  .gate__inner { width: min(78vw, 520px); }
  .gate__seal { width: 56px; margin-bottom: 12px; }
  .gate__line { height: 20px; margin-bottom: 14px; }
  .gate__date { margin-bottom: 14px; }
  .gate__to { margin-top: 14px; }
  .cover__content { padding-bottom: 40px; }
  .scroll-hint { display: none; }
}

/* 超宽屏 */
@media (min-width: 1600px) {
  --maxw: 680px;
}
