/* =====================================================================
   婚礼请柬 · 法式优雅
   ===================================================================== */

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
::selection { background: rgba(166, 138, 86, .28); }

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

/* —— 设计变量 —— */
:root {
  --paper: #f7f2e8;
  --paper-warm: #fbf7ef;
  --cream: #f1e9da;
  --ink: #322c25;
  --muted: #7c7265;
  --gold: #a68a56;
  --gold-soft: #c9b28a;
  --olive: #6b7159;
  --olive-deep: #3f4534;
  --line: rgba(50, 44, 37, .16);
  --line-light: rgba(245, 239, 228, .18);
  --serif: "Baskerville", "Iowan Old Style", "Palatino Linotype", "Songti SC", "STSong", "Noto Serif SC", serif;
  --sans: "Optima", "Futura", "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --script: "Snell Roundhand", "Apple Chancery", "Segoe Script", "Brush Script MT", cursive;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

.svg-sprite { position: absolute; overflow: hidden; }

/* 纸张颗粒 */
.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .1em;
  text-decoration: none;
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 16px; }

/* —— 通用排版 —— */
.eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.eyebrow--light { color: var(--gold-soft); }

.section { position: relative; padding: clamp(84px, 11vw, 148px) clamp(22px, 6vw, 80px); }

.section-title {
  margin-top: 18px;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  font-weight: 400;
  letter-spacing: .2em;
  line-height: 1.35;
}
.section-title--left { text-align: left; }

.section-head {
  max-width: 1180px;
  margin: 0 auto clamp(38px, 5vw, 58px);
  text-align: center;
}

.section-sub {
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--muted);
}

.u-ink { color: var(--ink); }

.ornament {
  display: block;
  width: 124px;
  height: 24px;
  margin: 26px auto 0;
  color: var(--gold);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* —— 启封遮罩 —— */
.seal-screen {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 32px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 36%, #fdfaf3 0%, #f5eee1 48%, #eadfcc 100%);
  transition: opacity 1.15s var(--ease), visibility 1.15s;
}
.seal-screen::before {
  content: "";
  position: absolute;
  inset: clamp(12px, 2.4vw, 22px);
  border: 1px solid rgba(166, 138, 86, .32);
  pointer-events: none;
}
.seal-screen.is-open {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.seal-screen__inner {
  position: relative;
  transition: transform 1.1s var(--ease), opacity .8s var(--ease);
}
.seal-screen.is-open .seal-screen__inner {
  opacity: 0;
  transform: translateY(-30px) scale(1.02);
}

.seal-screen__branch {
  position: absolute;
  width: clamp(150px, 20vw, 260px);
  height: auto;
  color: var(--gold);
  opacity: .28;
  pointer-events: none;
}
.seal-screen__branch--tl {
  top: -18px;
  left: -26px;
  transform: rotate(16deg);
}
.seal-screen__branch--br {
  right: -26px;
  bottom: -24px;
  transform: rotate(196deg);
}

.seal-screen__monogram {
  margin-top: 26px;
  font-size: clamp(2.2rem, 6vw, 3rem);
  letter-spacing: .18em;
  font-weight: 400;
  color: var(--ink);
}
.seal-screen__names {
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: .34em;
  color: var(--muted);
}

.seal-button {
  position: relative;
  display: grid;
  place-items: center;
  gap: 1px;
  width: 126px;
  height: 126px;
  margin: 38px auto 32px;
  border: 0;
  border-radius: 50%;
  color: #fdf8ee;
  background: radial-gradient(circle at 34% 26%, #d9bf8f, #b99c68 52%, #947546 100%);
  box-shadow:
    0 16px 34px rgba(90, 70, 35, .26),
    inset 0 1px 2px rgba(255, 255, 255, .5);
  cursor: pointer;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.seal-button::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(253, 248, 238, .46);
  border-radius: 50%;
}
.seal-button::after {
  content: "";
  position: absolute;
  inset: -9px;
  border: 1px solid rgba(166, 138, 86, .34);
  border-radius: 50%;
  animation: seal-pulse 3.6s ease-out infinite;
}
.seal-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 20px 42px rgba(90, 70, 35, .3),
    inset 0 1px 2px rgba(255, 255, 255, .5);
}
.seal-button:active { transform: scale(.975); }
.seal-button__flower {
  width: 30px;
  height: 30px;
  margin-bottom: 1px;
}
.seal-button span {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: .2em;
  padding-left: .2em;
}

.seal-screen__date {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .34em;
  color: var(--gold);
}
.seal-screen__hint {
  margin-top: 20px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .24em;
  color: var(--muted);
}

@keyframes seal-pulse {
  0% { transform: scale(.97); opacity: 0; }
  40% { opacity: .75; }
  100% { transform: scale(1.18); opacity: 0; }
}

/* —— 顶部栏 —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 5vw, 64px);
  color: var(--ink);
  transition: background .5s var(--ease), padding .5s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  padding-top: 14px;
  padding-bottom: 14px;
  background: rgba(247, 242, 232, .84);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(50, 44, 37, .08);
}
.site-header__mark {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: .18em;
  text-decoration: none;
}
.site-header__date {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--muted);
}

/* —— 封面 —— */
.cover {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(112px, 14vh, 164px) clamp(24px, 7vw, 118px) clamp(64px, 9vh, 110px);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 12% 18%, rgba(255, 252, 245, .9), transparent 55%),
    linear-gradient(160deg, #f9f4ea 0%, #f3ecdf 62%, #eee4d3 100%);
}
.cover__text {
  max-width: 580px;
  position: relative;
  z-index: 1;
}
.cover:focus { outline: none; }
.names {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 .16em;
  margin: 20px 0 24px;
  font-size: clamp(3.1rem, 7vw, 5.6rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: .1em;
}
.names__amp {
  font-family: var(--script);
  font-size: 1.02em;
  color: var(--gold);
  letter-spacing: 0;
}
.cover__type {
  font-size: clamp(14px, 1.6vw, 16px);
  letter-spacing: .3em;
  color: var(--muted);
}
.rule {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 230px;
  margin: 34px 0 30px;
  color: var(--gold);
}
.rule i {
  flex: 1;
  height: 1px;
  background: var(--line);
}
.cover__date {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: .24em;
  color: var(--ink);
}
.cover__place {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--muted);
}
.cover__arch {
  position: relative;
  justify-self: center;
  width: min(100%, 405px);
}
.cover__arch::before {
  content: "";
  position: absolute;
  inset: -15px -15px 14px;
  border: 1px solid var(--gold-soft);
  border-radius: 999px 999px 4px 4px;
  opacity: .75;
}
.cover__arch img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4.05;
  object-fit: cover;
  border-radius: 999px 999px 4px 4px;
}
.cover__branch {
  position: absolute;
  left: -46px;
  bottom: -28px;
  z-index: 0;
  width: clamp(220px, 24vw, 330px);
  height: auto;
  color: var(--olive);
  opacity: .34;
  transform: rotate(-6deg);
  pointer-events: none;
}
.scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: clamp(44px, 7vh, 72px);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .42em;
  color: var(--gold);
}
.scroll-cue i {
  position: relative;
  display: block;
  width: 1px;
  height: 54px;
  background: linear-gradient(to bottom, var(--gold-soft), transparent);
  overflow: hidden;
}
.scroll-cue i::after {
  content: "";
  position: absolute;
  top: -30px;
  left: 0;
  width: 1px;
  height: 24px;
  background: var(--gold);
  animation: scroll-cue 2.8s var(--ease) infinite;
}
@keyframes scroll-cue {
  0% { transform: translateY(0); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: translateY(86px); opacity: 0; }
}

/* —— 邀请函 —— */
.invitation { background: var(--paper-warm); }
.invitation__inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.invitation__body {
  margin-top: clamp(40px, 5vw, 54px);
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 2.35;
  letter-spacing: .14em;
  color: #4a4339;
}
.invitation__lead {
  margin: 24px 0;
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 2;
  letter-spacing: .14em;
  color: var(--ink);
}
.parents {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(16px, 4vw, 48px);
  max-width: 640px;
  margin: clamp(44px, 6vw, 62px) auto 0;
  padding-top: clamp(28px, 4vw, 38px);
  border-top: 1px solid var(--line);
}
.parents > div:not(.parents__amp) {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.parents span {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .34em;
  color: var(--gold);
}
.parents strong {
  font-size: clamp(22px, 2.6vw, 27px);
  font-weight: 400;
  letter-spacing: .16em;
}
.parents small {
  font-size: 11px;
  line-height: 1.9;
  letter-spacing: .1em;
  color: var(--muted);
}
.parents__amp {
  font-family: var(--script);
  font-size: 2.2rem;
  color: var(--gold-soft);
}

/* —— 倒计时 —— */
.countdown {
  overflow: hidden;
  text-align: center;
  color: var(--cream);
  background: radial-gradient(ellipse at 50% 0%, #5b624b 0%, #474d3b 46%, #393f2e 100%);
}
.countdown::after {
  content: "";
  position: absolute;
  inset: clamp(14px, 3vw, 28px);
  border: 1px solid rgba(245, 239, 228, .12);
  pointer-events: none;
}
.countdown__inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
}
.countdown__title {
  margin: 16px 0 clamp(44px, 6vw, 58px);
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  font-weight: 400;
  letter-spacing: .3em;
  padding-left: .3em;
}
.countdown__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.countdown__item {
  position: relative;
  padding: 6px 0;
}
.countdown__item + .countdown__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(245, 239, 228, .16);
}
.countdown__num {
  display: block;
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}
.countdown__label {
  display: block;
  margin-top: 16px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .4em;
  padding-left: .4em;
  color: rgba(245, 239, 228, .66);
}
.countdown__note {
  margin-top: clamp(36px, 5vw, 48px);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .3em;
  color: rgba(245, 239, 228, .64);
}

/* —— 相册 —— */
.gallery {
  background: var(--cream);
  overflow: hidden;
}
.gallery__track {
  display: flex;
  gap: clamp(14px, 2vw, 26px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: clamp(22px, 6vw, 80px);
  padding: 4px clamp(22px, 6vw, 80px) 28px;
  scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar { display: none; }

.gallery__item {
  position: relative;
  flex: 0 0 auto;
  height: clamp(300px, 42vw, 445px);
  padding: 0;
  border: 0;
  border-radius: 3px;
  overflow: hidden;
  background: var(--paper);
  scroll-snap-align: center;
  cursor: zoom-in;
}
.gallery__item--tall { width: clamp(220px, 24vw, 322px); }
.gallery__item--wide { width: clamp(320px, 38vw, 505px); }
.gallery__item--square { width: clamp(260px, 30vw, 385px); }

.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 52%, rgba(32, 27, 21, .52) 100%);
  pointer-events: none;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s var(--ease);
}
.gallery__item:hover img { transform: scale(1.045); }
.gallery__cap {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 1;
  color: #f8f2e7;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .26em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .3);
}
.gallery__hint {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .34em;
  color: var(--muted);
}
.gallery__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 22px);
  margin-top: 8px;
}
.gallery__arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0 0 3px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--gold);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .35s var(--ease), color .35s, border-color .35s;
}
.gallery__arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

/* —— 流程 —— */
.schedule { background: var(--paper-warm); }
.schedule__inner { max-width: 760px; margin: 0 auto; }
.timeline {
  position: relative;
  margin: clamp(38px, 6vw, 58px) auto 0;
  padding: 6px 0 0 40px;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 14px;
  bottom: 10px;
  width: 1px;
  background: var(--line);
}
.timeline li {
  position: relative;
  padding: 0 0 clamp(32px, 4.5vw, 46px);
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -40px;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--paper-warm);
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 4px var(--paper-warm);
}
.timeline__time {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .26em;
  color: var(--gold);
}
.timeline__title {
  margin-top: 8px;
  font-size: clamp(19px, 2.4vw, 23px);
  font-weight: 400;
  letter-spacing: .14em;
}
.timeline__desc {
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: .08em;
  color: var(--muted);
}

/* —— 地点 —— */
.venue { background: var(--cream); }
.venue__inner {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 90px);
  max-width: 1120px;
  margin: 0 auto;
}
.venue__arch {
  position: relative;
  margin: 0;
}
.venue__arch::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(251, 247, 239, .5);
  border-radius: 999px 999px 4px 4px;
  pointer-events: none;
}
.venue__arch img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 999px 999px 4px 4px;
}
.venue__name {
  margin-top: clamp(26px, 3.6vw, 36px);
  font-size: clamp(24px, 3vw, 31px);
  letter-spacing: .12em;
  line-height: 1.5;
}
.venue__hall {
  margin-top: 8px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--gold);
}
.venue__addr {
  margin-top: 18px;
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--muted);
}
.venue__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: clamp(24px, 3.4vw, 32px) 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .2em;
  text-decoration: none;
  cursor: pointer;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s;
}
.btn:hover { background: var(--gold); color: #fff; }
.btn--solid {
  background: var(--olive-deep);
  border-color: var(--olive-deep);
  color: var(--paper-warm);
}
.btn--solid:hover {
  background: var(--olive);
  border-color: var(--olive);
  color: #fff;
}
.venue__map {
  position: relative;
  height: 118px;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  background: #f2ebdf;
}
.venue__map svg { width: 100%; height: 100%; display: block; }
.venue__map-label {
  position: absolute;
  left: 14px;
  bottom: 10px;
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: .3em;
  color: var(--muted);
}
.venue__note {
  margin-top: 20px;
  font-size: 12px;
  font-style: italic;
  letter-spacing: .08em;
  color: var(--muted);
}

/* —— 结尾 —— */
.outro {
  position: relative;
  padding: clamp(88px, 12vw, 150px) 24px 52px;
  text-align: center;
  color: var(--cream);
  background: radial-gradient(ellipse at 50% 0%, #4c5340 0%, #3d4333 48%, #33392a 100%);
  overflow: hidden;
}
.outro::before {
  content: "";
  position: absolute;
  inset: clamp(14px, 3vw, 28px);
  border: 1px solid rgba(245, 239, 228, .1);
  pointer-events: none;
}
.outro__inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.outro__script {
  margin: 20px 0 26px;
  font-family: var(--script);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.3;
  color: var(--gold-soft);
}
.outro__names {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  letter-spacing: .3em;
}
.outro__names span[aria-hidden] {
  font-family: var(--script);
  color: var(--gold-soft);
  letter-spacing: 0;
}
.outro__date {
  margin-top: 16px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .42em;
  color: rgba(245, 239, 228, .58);
}
.outro__contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 42px;
  font-size: 12px;
  letter-spacing: .12em;
}
.outro__contact a {
  color: rgba(245, 239, 228, .82);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(245, 239, 228, .22);
  transition: color .3s, border-color .3s;
}
.outro__contact a:hover {
  color: #fff;
  border-bottom-color: rgba(245, 239, 228, .6);
}
.outro__dot { color: rgba(245, 239, 228, .32); }
.outro__fine {
  margin-top: 58px;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .26em;
  color: rgba(245, 239, 228, .34);
}

/* —— 音乐按钮 —— */
.music-toggle {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 58px;
  height: 58px;
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  background: rgba(251, 247, 239, .92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(50, 44, 37, .14);
  transition: background .4s var(--ease), color .4s, transform .4s var(--ease);
}
.music-toggle[hidden] { display: none; }
.music-toggle:hover { transform: translateY(-2px); }
.music-toggle[aria-pressed="true"] {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.music-toggle[aria-hidden="true"] { display: none; }
.music-toggle__bars {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 16px;
}
.music-toggle__bars i {
  display: block;
  width: 2px;
  height: 10px;
  border-radius: 2px;
  background: currentColor;
  transform-origin: bottom;
  opacity: .85;
}
.music-toggle__bars i:nth-child(2) { height: 15px; }
.music-toggle__bars i:nth-child(3) { height: 8px; }
.music-toggle__bars i:nth-child(4) { height: 12px; }
.music-toggle[aria-pressed="true"] .music-toggle__bars i {
  animation: equalize .95s ease-in-out infinite alternate;
}
.music-toggle[aria-pressed="true"] .music-toggle__bars i:nth-child(2) { animation-delay: .18s; }
.music-toggle[aria-pressed="true"] .music-toggle__bars i:nth-child(3) { animation-delay: .32s; }
.music-toggle[aria-pressed="true"] .music-toggle__bars i:nth-child(4) { animation-delay: .1s; }
.music-toggle__text {
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: .12em;
  opacity: .8;
}
@keyframes equalize {
  from { transform: scaleY(.3); }
  to { transform: scaleY(1); }
}

/* —— 提示条 —— */
.toast {
  position: fixed;
  left: 50%;
  bottom: 38px;
  z-index: 95;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .14em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* —— 灯箱 —— */
.lightbox {
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cream);
  overflow: visible;
}
.lightbox::backdrop {
  background: rgba(26, 23, 18, .93);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.lightbox__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px;
}
.lightbox img {
  max-width: min(90vw, 1080px);
  max-height: 76vh;
  object-fit: contain;
  border-radius: 3px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.lightbox__caption {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .3em;
  color: rgba(245, 239, 228, .7);
}
.lightbox button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(245, 239, 228, .28);
  border-radius: 50%;
  background: rgba(30, 26, 20, .4);
  color: var(--cream);
  cursor: pointer;
  transition: background .3s, border-color .3s;
}
.lightbox button:hover {
  background: rgba(245, 239, 228, .16);
  border-color: rgba(245, 239, 228, .55);
}
.lightbox__close {
  position: fixed;
  top: 20px;
  right: 22px;
  font-size: 24px;
  line-height: 1;
}
.lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  line-height: 1;
  padding-bottom: 4px;
}
.lightbox__nav--prev { left: 22px; }
.lightbox__nav--next { right: 22px; }

/* —— 响应式 —— */
@media (max-width: 960px) {
  .cover {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 48px;
    padding-top: 116px;
    padding-bottom: 76px;
    min-height: auto;
  }
  .cover__text { max-width: 560px; }
  .names { justify-content: center; }
  .rule { margin-inline: auto; }
  .cover__arch {
    width: min(74vw, 340px);
    order: 2;
  }
  .cover__branch {
    left: -70px;
    bottom: 6%;
    opacity: .2;
  }
  .scroll-cue { margin-top: 40px; }

  .venue__inner {
    grid-template-columns: 1fr;
    max-width: 620px;
  }
  .venue__arch { max-width: 440px; margin: 0 auto; }
  .section-title--left { text-align: center; }
  .venue__body { text-align: center; }
  .venue__actions { justify-content: center; }
  .venue__map { text-align: left; }
}

@media (max-width: 720px) {
  .section { padding: 76px 22px; }
  .site-header { padding: 16px 20px; }
  .venue__actions { gap: 8px; }
  .btn { padding: 11px 16px; letter-spacing: .14em; }

  .names { font-size: clamp(2.9rem, 12vw, 4.2rem); }
  .cover__type { font-size: 13px; letter-spacing: .22em; }
  .cover__date { font-size: 12px; letter-spacing: .16em; }

  .parents {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .parents > div:not(.parents__amp) { gap: 6px; }
  .parents__amp { font-size: 1.7rem; line-height: 1; }

  .gallery__item { height: clamp(280px, 64vw, 380px); }
  .gallery__item--tall { width: clamp(190px, 54vw, 260px); }
  .gallery__item--wide { width: clamp(290px, 78vw, 380px); }
  .gallery__item--square { width: clamp(240px, 66vw, 320px); }

  .lightbox__nav {
    top: auto;
    bottom: 18px;
    transform: none;
  }
  .lightbox__nav--prev { left: calc(50% - 64px); }
  .lightbox__nav--next { right: calc(50% - 64px); }
  .lightbox img { max-height: 68vh; }
  .lightbox__inner { gap: 12px; padding-bottom: 82px; }

  .outro__contact { flex-direction: column; align-items: center; gap: 10px; }
  .outro__dot { display: none; }
  .seal-screen__branch { width: 140px; }
}

@media (max-width: 380px) {
  .countdown__num { font-size: 2.3rem; }
  .countdown__label { letter-spacing: .3em; }
  .cover__place { font-size: 11px; }
}

/* —— 减少动态效果 —— */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
