/* 首页：杂志式首屏（左文右图）+ 各版块 */

/* —— 首屏 —— */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + clamp(2rem, 5vw, 3.6rem)) 0 clamp(2.6rem, 6vw, 4.5rem);
  background:
    radial-gradient(ellipse 55% 45% at 78% 12%, rgba(216, 188, 116, 0.26), transparent 66%),
    linear-gradient(180deg, var(--paper-warm) 0%, var(--paper) 62%);
}

/* 背景上淡淡的日期水印 */
.hero-watermark {
  position: absolute;
  bottom: -3.5rem;
  left: -1.5vw;
  font-family: var(--label);
  font-size: clamp(7rem, 20vw, 19rem);
  line-height: 0.8;
  letter-spacing: -0.02em;
  color: rgba(184, 148, 63, 0.045);
  pointer-events: none;
  user-select: none;
}

.hero-grid {
  position: relative;
  width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(16rem, 0.9fr);
  gap: clamp(1.4rem, 4vw, 3.2rem);
  align-items: center;
}

/* 左：姓名与信息 */
.hero-copy > * {
  animation: rise 1.1s var(--ease) both;
}

.hero-kicker { animation-delay: 0.1s; }
.hero-heading { animation-delay: 0.22s; }
.hero-line { animation-delay: 0.4s; }
.hero-lede { animation-delay: 0.5s; }
.hero-actions { animation-delay: 0.6s; }
.hero-meta { animation-delay: 0.7s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--sans);
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.hero-kicker::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: var(--gold);
}

.hero-heading {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.4vw, 2rem);
  margin-top: 1.4rem;
}

.hero-names {
  margin: 0;
  font-weight: 400;
  font-size: clamp(2.9rem, 7.4vw, 5.1rem);
  line-height: 1.06;
  letter-spacing: 0.05em;
}

.hero-names .amp {
  display: block;
  margin: 0.35rem 0;
  font-size: 0.32em;
  font-style: italic;
  letter-spacing: 0.08em;
  background: var(--foil);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: foil-shift 8s ease-in-out infinite;
}

.hero-line {
  width: 4.5rem;
  height: 1px;
  margin: 1.8rem 0;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero-lede {
  max-width: 26rem;
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.hero-actions {
  position: relative;
  z-index: 9;
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-meta {
  margin-top: 2.4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gold-line);
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2.6rem;
  list-style: none;
  font-family: var(--sans);
}

.hero-meta b {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.hero-meta span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
}

/* 右：竖版主图 + 叠放小图 */
.hero-art {
  position: relative;
  z-index: 1;
  min-width: 0;
  animation: rise 1.2s var(--ease) 0.3s both;
}

.hero-main {
  position: relative;
  z-index: 1;
  aspect-ratio: 3 / 4;
  border: 0;
  border-radius: 0;
  background: #1c1812;
  box-shadow: none;
}

.hero-stage {
  position: absolute;
  inset: 0;
}

/* 轮播：交叉淡入，每张缓慢推近 */
.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.85s var(--ease);
}

.hero-slide.is-on {
  z-index: 1;
  opacity: 1;
}

.hero-slide .frame,
.hero-video {
  position: absolute;
  inset: 0;
  border: 0;
}

.hero-slide.is-on .frame > img {
  animation: ken-burns 16s linear both;
}

@keyframes ken-burns {
  from { transform: scale(1.01); }
  to { transform: scale(1.06); }
}

.hero-inset {
  position: relative;
  z-index: 8;
  flex: 0 0 auto;
  width: clamp(8.8rem, 15vw, 13.2rem);
  aspect-ratio: 1 / 1;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  overflow: visible;
  pointer-events: none;
  animation: hero-inset-float 5.6s ease-in-out infinite;
}

.hero-inset > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 50%;
  box-shadow: 0 14px 32px -16px rgba(42, 34, 22, 0.42);
  animation: hero-inset-spin 48s linear infinite;
}

.hero-inset-ring {
  position: absolute;
  inset: -0.55rem;
  border-radius: 50%;
  border: 1px solid rgba(184, 148, 63, 0.48);
  pointer-events: none;
  animation: hero-inset-ring 3.4s ease-out infinite;
}

.hero-inset-ring--lag {
  inset: -0.55rem;
  animation-delay: 1.7s;
}

@keyframes hero-inset-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-0.55rem); }
}

@keyframes hero-inset-spin {
  to { transform: rotate(360deg); }
}

@keyframes hero-inset-ring {
  0% { transform: scale(0.94); opacity: 0.65; }
  100% { transform: scale(1.14); opacity: 0; }
}

/* 图右侧的竖排日期 */
.hero-vertical {
  position: absolute;
  top: 1.6rem;
  right: -2.1rem;
  writing-mode: vertical-rl;
  font-family: var(--label);
  font-size: 0.68rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-cue {
  position: relative;
  z-index: 1;
  width: var(--shell);
  margin: clamp(2.4rem, 5vw, 3.4rem) auto 0;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
  text-decoration: none;
}

.hero-cue i {
  width: 3.4rem;
  height: 1px;
  background: var(--gold);
  transform-origin: left;
  animation: cue 2.4s var(--ease) infinite;
}

@keyframes cue {
  0%, 100% { transform: scaleX(0.4); opacity: 0.5; }
  50% { transform: scaleX(1); opacity: 1; }
}

/* —— 关键信息条 —— */
.strip {
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
  background: rgba(255, 253, 248, 0.6);
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.strip-item {
  padding: clamp(1.7rem, 3.5vw, 2.5rem) 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.strip-item + .strip-item { border-left: 1px solid var(--gold-line); }

.strip-item .kicker { font-size: 0.76rem; }

.strip-item strong {
  display: block;
  margin-top: 0.6rem;
  font-weight: 400;
  font-size: clamp(1.25rem, 2.6vw, 1.55rem);
  letter-spacing: 0.08em;
}

.strip-item span {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.strip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  padding: clamp(1.5rem, 3vw, 2rem) 1rem clamp(1.8rem, 4vw, 2.4rem);
}

.strip .countdown {
  margin-top: clamp(2.4rem, 5.5vw, 3.6rem);
  margin-bottom: clamp(2.2rem, 5vw, 3.2rem);
}

.mini-cal,
.venue-map {
  width: min(100%, 16.5rem);
  height: 13.4rem;
  box-sizing: border-box;
}

.mini-cal {
  margin-top: 0.7rem;
  padding: 0.75rem 0.7rem 0.8rem;
  background: rgba(255, 253, 248, 0.12);
  border: 1px solid rgba(184, 148, 63, 0.14);
  border-radius: 0.7rem;
  backdrop-filter: blur(3px);
  box-shadow:
    0 16px 32px -18px rgba(42, 34, 22, 0.42),
    0 6px 14px -8px rgba(184, 148, 63, 0.18);
  animation: none;
}

@keyframes cal-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.cal-title {
  font-family: var(--label);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.cal-week,
.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-top: 0.55rem;
}

.cal-week span,
.cal-days span {
  display: grid;
  place-items: center;
  margin-top: 0;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.cal-days span {
  position: relative;
  height: 1.55rem;
  font-family: var(--serif);
  font-size: 0.78rem;
  letter-spacing: 0;
  color: var(--ink-soft);
}

.cal-days .is-heart {
  color: #9d1c1c;
  z-index: 1;
  overflow: visible;
}

.cal-days .is-heart svg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.78rem;
  height: 1.62rem;
  fill: none;
  stroke: #9d1c1c;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
  transform: translate(-50%, -50%);
  transform-origin: 50% 50%;
  animation: heart-beat 1.35s ease-in-out infinite;
}

.cal-days .is-heart svg path:first-child { fill: none; }

.cal-days .is-heart b {
  position: relative;
  font-weight: 500;
  font-size: 0.78rem;
  line-height: 1;
  color: var(--ink);
}

@keyframes heart-beat {
  0%, 100% { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
  16% { transform: translate(-50%, -50%) scale(1.12) rotate(-5deg); }
  32% { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
  48% { transform: translate(-50%, -50%) scale(1.07) rotate(4deg); }
  64% { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
}

.venue-map {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  display: block;
  width: min(100%, 16.5rem);
  margin-top: 0.7rem;
  height: 13.4rem;
  overflow: hidden;
  padding: 0;
  border-radius: 0.7rem;
  border: 1px solid #cfd4dc;
  background-color: #e8eaed;
  background-image: url("../assets/venue-map.jpg?v=20260816d");
  background-size: cover;
  background-position: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.08);
  -webkit-touch-callout: none;
  user-select: none;
  color: inherit;
  font: inherit;
  text-align: left;
}

.venue-map .map-pin,
.venue-map em {
  pointer-events: none;
}

.map-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.15rem;
  height: 1.15rem;
  border: 2px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: #e53935;
  transform: translate(-50%, -88%) rotate(-45deg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

.map-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}

.venue-map em {
  position: absolute;
  left: 0.5rem;
  bottom: 0.45rem;
  padding: 0.2rem 0.55rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-style: normal;
  letter-spacing: 0.04em;
  color: #202124;
  background: #fff;
  border-radius: 0.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
}

.strip-map strong {
  margin-top: 0.7rem;
}

.venue-addr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  max-width: 100%;
  margin-top: 0.35rem;
}

.venue-addr [data-field="address"] {
  display: inline;
  margin-top: 0;
}

.copy-addr {
  appearance: none;
  flex: none;
  border: 0;
  padding: 0.16rem 0.5rem;
  border-radius: 999px;
  background: none;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.copy-addr:hover {
  color: var(--ink);
}

.copy-addr.is-copied {
  color: #fffaf0;
  background: linear-gradient(120deg, #b8943f, #d4b56a);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(184, 148, 63, 0.28);
}

.copy-addr.is-fail {
  color: #9a3b32;
  text-decoration: none;
}

.center-actions {
  margin-top: clamp(2.2rem, 4vw, 2.8rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}

/* —— 倒计时 —— */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(100%, 30rem);
  margin: 0 auto;
  background: var(--gold-line);
  border: 1px solid var(--gold-line);
}

.countdown div {
  background: rgba(255, 253, 248, 0.82);
  padding: 1rem 0.5rem;
  text-align: center;
}

.countdown strong {
  display: block;
  font-weight: 400;
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  font-variant-numeric: tabular-nums;
}

.countdown span {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}

/* —— 横幅照片 —— */
.pano {
  padding: clamp(3rem, 6vw, 4.5rem) 0 0;
}

.pano .frame {
  aspect-ratio: 21 / 9;
  border-left: 0;
  border-right: 0;
}

.pano-caption {
  width: var(--shell);
  margin: 1rem auto 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}

/* —— 敬邀 —— */
.welcome-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.welcome-text h2 {
  margin: 0.9rem 0 1.3rem;
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: 0.14em;
}

.welcome-text p {
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.signature {
  margin-top: 1.8rem;
  font-size: 1.5rem;
  font-style: italic;
  letter-spacing: 0.08em;
  color: var(--gold);
}

/* —— 故事预览：桌面横轴交错，手机竖轴 —— */
.story-rail {
  position: relative;
  width: min(100%, 52rem);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 1.5rem;
  align-items: stretch;
}

/* 横轴：穿过节点、托住两端照片，只在伸出的线头渐隐 */
.story-rail::before {
  content: "";
  position: absolute;
  left: -6rem;
  right: -6rem;
  top: 50%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(184, 148, 63, 0.4) 10%,
    rgba(184, 148, 63, 0.4) 90%,
    transparent 100%
  );
  transform: translateY(-50%);
  pointer-events: none;
}

.rail-item {
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  grid-template-areas: "photo" "mid" "copy";
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.rail-item:nth-child(even) {
  grid-template-areas: "copy" "mid" "photo";
}

/* 日常在 DOM 里占第 3 格但桌面隐藏，领证变成偶数；网页端仍放在线上 */
.rail-item:last-child {
  grid-template-areas: "photo" "mid" "copy";
}

.rail-photo {
  grid-area: photo;
  align-self: end;
  width: 100%;
  border: 0;
  border-radius: 0.9rem;
  overflow: hidden;
  box-shadow: 0 18px 40px -26px rgba(42, 34, 22, 0.42);
  transition: transform 0.55s var(--ease);
}

.rail-item:nth-child(even) .rail-photo { align-self: start; }
.rail-item:last-child .rail-photo { align-self: end; }

.rail-item:hover .rail-photo { transform: translateY(-5px); }
.rail-item:nth-child(even):hover .rail-photo { transform: translateY(5px); }
.rail-item:last-child:hover .rail-photo { transform: translateY(-5px); }

.rail-photo > img {
  transition: transform 0.9s var(--ease);
}

.rail-item:hover .rail-photo > img { transform: scale(1.04); }

.rail-item:last-child .rail-photo > img {
  object-position: center 28%;
}

.rail-mid {
  grid-area: mid;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 2.6rem;
}

.rail-node {
  position: relative;
  z-index: 1;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--paper);
  box-shadow: 0 0 0 5px var(--paper);
}

.rail-copy {
  grid-area: copy;
  align-self: start;
  padding: 0.15rem 0.2rem 0;
}

.rail-item:nth-child(even) .rail-copy {
  align-self: end;
  padding: 0 0.2rem 0.15rem;
}

.rail-item:last-child .rail-copy {
  align-self: start;
  padding: 0.15rem 0.2rem 0;
}

.rail-copy h3 {
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: 0.12em;
}

.rail-copy em {
  display: inline-block;
  margin-left: 0.45rem;
  font-family: var(--label);
  font-size: 0.62rem;
  font-style: normal;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  transform: translateY(-0.12em);
}

.rail-words {
  margin-top: 0.45rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.rail-words span:not(:last-child)::after {
  content: " · ";
}

.rail-daily { display: none; }

/* —— 当日流程：中轴交错 —— */
.flow-day-head {
  text-align: center;
  margin-bottom: clamp(2.2rem, 5vw, 3.4rem);
}

.flow-day-head h2 {
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 2.8rem);
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  color: #5a2e2c;
}

.flow-day-note {
  margin-top: 0.85rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(184, 148, 63, 0.88);
}

.flow-day-note span {
  display: inline-block;
  margin: 0 0.35rem;
  font-size: 0.58rem;
  opacity: 0.85;
}

.flow-day-rule {
  display: block;
  position: relative;
  width: 5.6rem;
  height: 1px;
  margin: 1.15rem auto 0;
  background: rgba(184, 148, 63, 0.42);
}

.flow-day-rule::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  border: 1px solid var(--gold);
  background: var(--paper);
  transform: translate(-50%, -50%) rotate(45deg);
}

.flow-day-list {
  list-style: none;
  position: relative;
  width: min(100%, 38rem);
  margin: 0 auto;
  padding: 0.4rem 0 0.2rem;
}

.flow-day-list::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.4rem;
  bottom: 1.4rem;
  width: 1px;
  background: rgba(184, 148, 63, 0.55);
  transform: translateX(-50%);
}

.flow-day-list li {
  position: relative;
  width: 50%;
  padding: 0 1.35rem 2.65rem;
  box-sizing: border-box;
}

.flow-day-list li:nth-child(odd) {
  text-align: right;
  padding-right: 1.85rem;
}

.flow-day-list li:nth-child(even) {
  margin-left: 50%;
  text-align: left;
  padding-left: 1.85rem;
}

.flow-day-list li::before {
  content: "";
  position: absolute;
  top: 0.62rem;
  width: 0.52rem;
  height: 0.52rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--paper);
  box-sizing: border-box;
  z-index: 1;
}

.flow-day-list li:nth-child(odd)::before {
  right: 0;
  transform: translateX(50%);
}

.flow-day-list li:nth-child(even)::before {
  left: 0;
  transform: translateX(-50%);
}

.flow-day-list li.is-now::before,
.flow-day-list li:hover::before {
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(184, 148, 63, 0.18);
}

.flow-day-list:hover li.is-now:not(:hover)::before {
  background: var(--paper);
  box-shadow: none;
}

.flow-day-list li::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0.35rem;
  width: 200%;
  z-index: 0;
}

.flow-day-list li:nth-child(odd)::after { left: 0; }
.flow-day-list li:nth-child(even)::after { left: -100%; }

.flow-day-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.flow-day-list li:nth-child(odd) .flow-day-card { align-items: flex-end; }
.flow-day-list li:nth-child(even) .flow-day-card { align-items: flex-start; }

.flow-day-time {
  margin: 0 0 0.7rem;
  padding-bottom: 0.28rem;
  border-bottom: 1px solid rgba(184, 148, 63, 0.5);
  color: #5a2e2c;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3.6vw, 1.75rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
}

.flow-day-time small {
  margin-left: 0.28rem;
  font-family: var(--label);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--gold);
  vertical-align: 0.28em;
}

.flow-day-card h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #5a2e2c;
}

.flow-day-card h3 span {
  display: inline-block;
  margin-left: 0.15rem;
  font-family: var(--label);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--gold);
  vertical-align: 0.12em;
}

.flow-day-desc {
  margin: 0.45rem 0 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(184, 148, 63, 0.92);
}

.flow-day-list li:last-child { padding-bottom: 0.4rem; }

/* —— 相册预览 —— */
.gallery-peek {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.gallery-peek .frame { transition: transform 0.6s var(--ease); }
.gallery-peek a:hover .frame { transform: translateY(-5px); }

/* —— 常见问题 —— */
.faq {
  width: min(100%, 46rem);
  margin: 0 auto;
  border-top: 1px solid var(--gold-line);
}

.faq details { border-bottom: 1px solid var(--gold-line); }

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 2.5rem 1.15rem 0;
  position: relative;
  font-family: var(--sans);
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  position: absolute;
  right: 0.4rem;
  top: 1.55rem;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  transform: rotate(45deg);
  transition: transform 0.4s var(--ease);
}

.faq details[open] summary::after { transform: rotate(-135deg); }

.faq .answer {
  padding: 0 0 1.3rem;
  color: var(--ink-soft);
  animation: fold 0.5s var(--ease) both;
}

@keyframes fold {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* —— 回执引导 —— */
.rsvp-band {
  border: 1px solid var(--gold-line);
  background: rgba(255, 253, 248, 0.7);
  padding: clamp(2.2rem, 5vw, 3.4rem);
  text-align: center;
}

.rsvp-band h2 {
  margin-top: 0.8rem;
  font-weight: 400;
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  letter-spacing: 0.14em;
}

.rsvp-band p {
  margin: 1rem auto 1.8rem;
  max-width: 30rem;
  color: var(--ink-soft);
}

/* —— 联络 —— */
.closing { text-align: center; }

.closing .script {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.closing .thanks {
  margin-top: 0.9rem;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
}

.contact-list {
  list-style: none;
  width: min(100%, 26rem);
  margin: 2.4rem auto 0;
  border-top: 1px solid var(--gold-line);
}

.contact-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--gold-line);
}

.contact-list .k {
  font-family: var(--sans);
  font-size: 0.84rem;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.contact-list .v {
  letter-spacing: 0.06em;
  text-align: right;
  line-height: 1.45;
}
.contact-list .v.empty { color: var(--ink-faint); }

.contact-list .v a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.contact-list .v a:hover { border-bottom-color: var(--gold); }

/* —— 响应式 —— */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: clamp(2.4rem, 6vw, 3.6rem);
  }

  .hero-art {
    width: min(100%, 26rem);
    justify-self: center;
  }

  .hero-inset {
    width: clamp(6.8rem, 28vw, 9.2rem);
  }

  .hero-vertical { display: none; }
  .hero-watermark { top: 22%; font-size: clamp(7rem, 30vw, 14rem); }

  .welcome-grid { grid-template-columns: 1fr; }

  /* grid 子项用 auto 外边距会退化成按内容宽度，这里用 justify-self 居中 */
  .welcome-grid .frame {
    width: min(100%, 24rem);
    justify-self: center;
  }

  .story-rail {
    width: min(100%, 26rem);
    display: flex;
    flex-direction: column;
    gap: 2.1rem;
  }

  .story-rail::before {
    left: 50%;
    right: auto;
    top: 0.2rem;
    bottom: 0.2rem;
    width: 1px;
    height: auto;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(184, 148, 63, 0.34) 12%,
      rgba(184, 148, 63, 0.34) 88%,
      transparent 100%
    );
    transform: translateX(-50%);
  }

  .rail-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto;
    grid-template-areas: "photo node copy";
    align-items: center;
    gap: 0 0.85rem;
    text-align: left;
  }

  .rail-item:nth-child(even) {
    grid-template-rows: none;
    grid-template-areas: "copy node photo";
    text-align: right;
  }

  .rail-item:nth-child(even):hover .rail-photo { transform: translateY(-5px); }

  .rail-photo,
  .rail-item:nth-child(even) .rail-photo { align-self: center; }

  .rail-copy,
  .rail-item:nth-child(even) .rail-copy {
    align-self: center;
    padding: 0;
  }

  .rail-photo { grid-area: photo; }
  .rail-mid { grid-area: node; width: auto; height: auto; }
  .rail-copy { grid-area: copy; }
  .rail-mid::before { display: none; }
  .rail-daily { display: grid; }

  .rail-words {
    display: grid;
    grid-template-columns: auto auto auto;
    width: max-content;
    column-gap: 0.15em;
    row-gap: 0.28em;
  }

  .rail-words span:nth-child(1) { grid-column: 1; grid-row: 1; }
  .rail-words span:nth-child(2) { grid-column: 2; grid-row: 1; }
  .rail-words span:nth-child(3) { grid-column: 2; grid-row: 2; }
  .rail-words span:nth-child(4) { grid-column: 3; grid-row: 2; }

  .rail-words span:not(:last-child)::after { content: none; }

  .rail-words span:nth-child(1)::after {
    content: "·";
    margin-left: 0.4em;
  }

  .rail-words span:nth-child(4)::before {
    content: "·";
    margin-right: 0.4em;
  }

  .rail-item:nth-child(even) .rail-words {
    margin-left: auto;
  }
}

@media (max-width: 720px) {
  .nav-admin { display: none; }
  .hero-meta { gap: 1.1rem 2rem; }
  .strip-grid { grid-template-columns: 1fr; }

  .strip-item + .strip-item {
    border-left: 0;
    border-top: 1px solid var(--gold-line);
  }

  .pano {
    padding-top: clamp(1.4rem, 5vw, 2.2rem);
  }

  .pano .frame {
    aspect-ratio: 16 / 9;
  }

  .pano .frame > img {
    object-fit: cover;
    object-position: center 42%;
  }

  .gallery-peek { grid-template-columns: repeat(2, 1fr); }

  .flow-day-head { margin-bottom: 1.45rem; }
  .flow-day-head h2 { font-size: 1.85rem; }
  .flow-day-note { font-size: 0.7rem; }
  .flow-day-list li { padding-bottom: 1.55rem; }
  .flow-day-list li:nth-child(odd) { padding-right: 1.1rem; }
  .flow-day-list li:nth-child(even) { padding-left: 1.1rem; }
  .flow-day-time { font-size: 1.28rem; margin-bottom: 0.45rem; padding-bottom: 0.18rem; }
  .flow-day-card h3 { font-size: 0.92rem; letter-spacing: 0.08em; }
  .flow-day-card h3 span { display: block; margin: 0.12rem 0 0; font-size: 0.52rem; }
  .flow-day-desc {
    margin-top: 0.28rem;
    font-size: 0.64rem;
    letter-spacing: 0;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy > *,
  .hero-art,
  .hero-slide.is-on .frame > img,
  .hero-cue i,
  .hero-names .amp,
  .hero-inset,
  .hero-inset > img,
  .hero-inset-ring,
  .faq .answer,
  .cal-days .is-heart svg,
  .mini-cal {
    animation: none;
  }
}
