:root {
  --red-deep: #4a0812;
  --red-mid: #8f1526;
  --red-bright: #c4283d;
  --red-glow: #e04558;
  --gold: #d7b56a;
  --gold-soft: #f0dfb2;
  --gold-deep: #b08a3a;
  --gold-shine: #fff1c8;
  --ivory: #fff6ea;
  --ivory-muted: rgba(255, 246, 234, 0.74);
  --font-display: "Ma Shan Zheng", "Noto Serif SC", serif;
  --font-script: "Great Vibes", "Ma Shan Zheng", cursive;
  --font-body: "Noto Serif SC", "Songti SC", serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  max-width: 100%;
  color: var(--ivory);
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 100% 70% at 50% -15%, rgba(224, 69, 88, 0.5), transparent 58%),
    radial-gradient(ellipse 55% 45% at 110% 20%, rgba(176, 138, 58, 0.18), transparent 52%),
    radial-gradient(ellipse 50% 40% at -10% 75%, rgba(196, 40, 61, 0.4), transparent 55%),
    radial-gradient(ellipse 70% 50% at 50% 110%, rgba(74, 8, 18, 0.9), transparent 60%),
    linear-gradient(168deg, #5d0c18 0%, var(--red-mid) 38%, #6a101d 68%, var(--red-deep) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  line-height: 1.7;
}

.atmosphere,
.frame {
  pointer-events: none;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: drift 16s ease-in-out infinite alternate;
}

.glow-a {
  top: -5%;
  left: -12%;
  width: min(70vw, 520px);
  height: min(70vw, 520px);
  background: var(--red-glow);
  opacity: 0.38;
}

.glow-b {
  right: -14%;
  top: 35%;
  width: min(55vw, 430px);
  height: min(55vw, 430px);
  background: var(--gold-deep);
  opacity: 0.2;
  animation-delay: -7s;
  animation-duration: 20s;
}

.glow-c {
  left: 20%;
  bottom: -18%;
  width: min(65vw, 480px);
  height: min(65vw, 480px);
  background: #ff6b7d;
  opacity: 0.16;
  animation-delay: -3s;
  animation-duration: 18s;
}

.velvet {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      115deg,
      rgba(255, 255, 255, 0.015) 0 1px,
      transparent 1px 7px
    ),
    radial-gradient(circle at 50% 40%, rgba(255, 210, 160, 0.08), transparent 45%);
  mix-blend-mode: soft-light;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.petals {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.petal {
  position: absolute;
  top: -40px;
  width: var(--size);
  height: calc(var(--size) * 0.7);
  border-radius: 70% 10% 70% 10%;
  background: linear-gradient(135deg, rgba(255, 214, 170, 0.85), rgba(212, 70, 90, 0.55));
  opacity: 0.55;
  transform: rotate(var(--spin));
  filter: blur(0.2px);
  animation: petal-fall linear infinite;
  box-shadow: 0 0 12px rgba(255, 200, 140, 0.25);
}

.frame {
  position: fixed;
  inset: 12px;
  z-index: 1;
  color: var(--gold);
}

@media (min-width: 900px) {
  .frame {
    inset: 22px;
  }
}

.frame-edge {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(215, 181, 106, 0.75), transparent);
}

.frame-edge-t,
.frame-edge-b {
  left: 56px;
  right: 56px;
  height: 1px;
}

.frame-edge-t {
  top: 18px;
}

.frame-edge-b {
  bottom: 18px;
}

.frame-edge-l,
.frame-edge-r {
  top: 56px;
  bottom: 56px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(215, 181, 106, 0.75), transparent);
}

.frame-edge-l {
  left: 18px;
}

.frame-edge-r {
  right: 18px;
}

.corner {
  position: absolute;
  width: clamp(58px, 12vw, 92px);
  height: clamp(58px, 12vw, 92px);
  opacity: 0.88;
  filter: drop-shadow(0 0 10px rgba(240, 223, 178, 0.25));
}

.corner-tl {
  top: 0;
  left: 0;
}

.corner-tr {
  top: 0;
  right: 0;
  transform: scaleX(-1);
}

.corner-bl {
  bottom: 0;
  left: 0;
  transform: scaleY(-1);
}

.corner-br {
  bottom: 0;
  right: 0;
  transform: scale(-1);
}

.hero,
.section,
.footer {
  position: relative;
  z-index: 2;
}

.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(3.5rem, 8vw, 5rem) clamp(1.5rem, 6vw, 4rem) 3.5rem;
}

.seal {
  position: relative;
  width: clamp(72px, 16vw, 96px);
  height: clamp(72px, 16vw, 96px);
  margin-bottom: 1.35rem;
  display: grid;
  place-items: center;
  opacity: 0;
  animation: seal-in 1.2s ease forwards 0.1s;
}

.seal-ring,
.seal-ring-inner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(240, 223, 178, 0.75);
  box-shadow:
    0 0 0 5px rgba(140, 28, 42, 0.35),
    inset 0 0 18px rgba(255, 210, 140, 0.12),
    0 0 24px rgba(215, 181, 106, 0.28);
}

.seal-ring {
  animation: seal-pulse 3.6s ease-in-out infinite;
}

.seal-ring-inner {
  inset: 8px;
  border-width: 1px;
  opacity: 0.7;
  animation: none;
}

.seal-char {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.55rem);
  color: var(--gold-soft);
  text-shadow: 0 0 18px rgba(240, 223, 178, 0.45);
  line-height: 1;
}

.hero-label {
  margin: 0 0 1.1rem;
  font-size: 0.78rem;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 300;
  opacity: 0;
  animation: rise 1.1s ease forwards 0.25s;
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: min(100%, 360px);
  color: var(--gold);
  opacity: 0;
  animation: rise 1s ease forwards 0.4s;
}

.ornament-mid {
  margin: 1.35rem 0 0;
  animation-delay: 0.9s;
}

.section-ornament,
.footer-ornament {
  margin: 0 auto 1.5rem;
  animation: none;
  opacity: 1;
}

.ornament-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(215, 181, 106, 0.85), transparent);
}

.ornament-motif {
  width: 52px;
  height: 18px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(240, 223, 178, 0.35));
}

.ornament-diamond {
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--gold-shine), var(--gold-deep));
  box-shadow: 0 0 10px rgba(240, 223, 178, 0.45);
  flex-shrink: 0;
}

.names {
  margin: 0.35rem 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05rem;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
}

.name {
  font-size: clamp(3.6rem, 15vw, 7rem);
  background: linear-gradient(
    180deg,
    #fff8ec 0%,
    var(--gold-soft) 42%,
    #fff3d4 58%,
    var(--gold) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 10px 28px rgba(42, 8, 14, 0.45));
  opacity: 0;
  animation: rise 1.25s ease forwards;
}

.name:nth-child(1) {
  animation-delay: 0.5s;
}

.name:nth-child(3) {
  animation-delay: 0.85s;
}

.ampersand-wrap {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 2.2rem;
  margin: 0.1rem 0 0.2rem;
  opacity: 0;
  animation: rise 1s ease forwards 0.7s;
}

.ampersand-script {
  font-family: var(--font-script);
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  color: var(--gold-soft);
  line-height: 1;
  text-shadow: 0 0 20px rgba(240, 223, 178, 0.35);
}

.hero-line {
  margin: 1.5rem 0 0;
  max-width: 22em;
  font-size: clamp(1rem, 2.6vw, 1.18rem);
  font-weight: 300;
  color: var(--ivory-muted);
  letter-spacing: 0.08em;
  opacity: 0;
  animation: rise 1.1s ease forwards 1.05s;
}

.hero-date {
  margin: 1.25rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 4.2vw, 2rem);
  letter-spacing: 0.2em;
  background: linear-gradient(90deg, var(--gold), var(--gold-shine), var(--gold));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rise 1.1s ease forwards 1.2s, shimmer 5s ease-in-out infinite 2.2s;
  opacity: 0;
}

.scroll-cue {
  margin-top: 2.8rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  color: var(--gold-soft);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  opacity: 0;
  animation: rise 1.1s ease forwards 1.4s;
}

.scroll-cue span:first-child {
  border-bottom: 1px solid rgba(215, 181, 106, 0.5);
  padding-bottom: 0.3rem;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.scroll-cue:hover span:first-child {
  color: var(--gold-shine);
  border-color: var(--gold-shine);
}

.scroll-arrow {
  width: 10px;
  height: 10px;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  transform: rotate(45deg);
  animation: soft-bob 2.6s ease-in-out infinite;
}

.section {
  padding: clamp(4rem, 11vw, 7rem) clamp(1.75rem, 7vw, 3.5rem);
  text-align: center;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.95s ease, transform 0.95s ease;
  max-width: 100%;
  overflow-x: clip;
}

.section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6vw, 2.9rem);
  font-weight: 400;
  color: var(--gold-soft);
  letter-spacing: 0.14em;
  text-shadow: 0 0 24px rgba(240, 223, 178, 0.2);
}

.section-lead {
  margin: 1.15rem auto 0;
  max-width: 28em;
  color: var(--ivory-muted);
  font-weight: 300;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.venue-photo {
  margin: 2.4rem auto 0;
  width: min(100%, 760px);
  max-width: 100%;
  padding: 0;
  box-sizing: border-box;
}

.venue-photo img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 42%;
  border: 1px solid rgba(215, 181, 106, 0.38);
  box-shadow: 0 18px 40px rgba(42, 8, 14, 0.38);
}

.venue-photo figcaption {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  color: var(--gold);
  font-weight: 300;
}

.detail-stage {
  margin: 3rem auto 0;
  max-width: 760px;
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 760px) {
  .detail-stage {
    grid-template-columns: 1fr auto 1fr;
    gap: 1.25rem 2rem;
    text-align: center;
  }
}

.detail {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s ease, transform 0.85s ease;
  padding: 0.5rem 0.25rem;
}

.detail.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.detail-place {
  transition-delay: 0.12s;
}

.detail-kicker {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  letter-spacing: 0.42em;
  color: var(--gold);
}

.detail-calendar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.cal-year {
  font-size: 0.95rem;
  letter-spacing: 0.35em;
  color: var(--gold-soft);
  font-weight: 300;
}

.cal-divider {
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.cal-main {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
}

.cal-month {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 1.9rem);
  color: var(--ivory);
}

.cal-day {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 10vw, 4.6rem);
  line-height: 0.9;
  background: linear-gradient(180deg, var(--gold-shine), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 8px 18px rgba(42, 8, 14, 0.35));
}

.cal-weekday {
  font-size: 0.92rem;
  letter-spacing: 0.28em;
  color: var(--ivory-muted);
  font-weight: 300;
}

.detail-venue {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.5vw, 2.2rem);
  letter-spacing: 0.08em;
  color: var(--ivory);
}

.detail-address {
  margin: 0.55rem 0 0;
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  color: var(--gold-soft);
  font-weight: 400;
}

.detail-sub {
  margin: 0.7rem 0 0;
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--ivory-muted);
  letter-spacing: 0.08em;
}

.detail-divider {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  height: 100%;
  min-height: 140px;
  justify-content: center;
}

@media (min-width: 760px) {
  .detail-divider {
    display: flex;
  }
}

.detail-divider span:not(.detail-divider-dot) {
  width: 1px;
  flex: 1;
  background: linear-gradient(180deg, transparent, rgba(215, 181, 106, 0.7), transparent);
}

.detail-divider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--gold-shine), var(--gold-deep));
  box-shadow: 0 0 12px rgba(240, 223, 178, 0.45);
}

.banquet-greeting {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  letter-spacing: 0.28em;
  color: var(--gold);
  font-weight: 300;
}

.route {
  padding-top: clamp(2.5rem, 7vw, 4rem);
}

.route-stage {
  margin: 2.4rem auto 0;
  width: min(100%, 920px);
  max-width: 100%;
  display: grid;
  gap: 1.25rem;
  box-sizing: border-box;
}

.route-map {
  width: 100%;
  max-width: 100%;
  border: 1px solid rgba(215, 181, 106, 0.22);
  box-shadow:
    inset 0 0 0 1px rgba(74, 8, 18, 0.25),
    0 18px 40px rgba(42, 8, 14, 0.28);
  overflow: hidden;
  background: #3a0710;
  box-sizing: border-box;
}

.route-svg {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  overflow: hidden;
}

.route-trace {
  stroke-dasharray: 7 11;
  animation: route-dash 22s linear infinite;
}

.route-trace-2 {
  animation-delay: -4s;
}

.route-trace-3 {
  animation-delay: -8s;
}

.route-trace-4 {
  stroke-dasharray: 4 6;
  animation-duration: 10s;
}

.route-live {
  position: relative;
  border: 1px solid rgba(215, 181, 106, 0.28);
  overflow: hidden;
  background: rgba(74, 8, 18, 0.45);
  max-width: 100%;
  box-sizing: border-box;
}

.route-map-canvas {
  width: 100%;
  max-width: 100%;
  height: clamp(240px, 56vw, 360px);
  background: #2a0a10;
  z-index: 0;
}

.route-map-canvas .leaflet-control-attribution {
  background: rgba(74, 8, 18, 0.72);
  color: rgba(240, 223, 178, 0.55);
  font-size: 10px;
  letter-spacing: 0.04em;
  border: 0;
  max-width: 70%;
}

.route-map-canvas .leaflet-control-attribution a {
  color: rgba(240, 223, 178, 0.7);
}

.route-map-canvas .leaflet-bar {
  border: 1px solid rgba(215, 181, 106, 0.4);
  box-shadow: 0 8px 20px rgba(42, 8, 14, 0.35);
}

.route-map-canvas .leaflet-bar a {
  background: rgba(74, 8, 18, 0.92);
  color: var(--gold-soft);
  border-bottom-color: rgba(215, 181, 106, 0.25);
  width: 34px;
  height: 34px;
  line-height: 34px;
}

.route-map-canvas .leaflet-bar a:hover {
  background: rgba(143, 21, 38, 0.95);
  color: var(--gold-shine);
}

.hotel-marker {
  background: transparent;
  border: 0;
}

.hotel-marker-inner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #8f1526;
  border: 1.5px solid #fff1c8;
  color: #fff1c8;
  font-family: "Ma Shan Zheng", "Noto Serif SC", serif;
  font-size: 15px;
  box-shadow: 0 0 0 6px rgba(215, 181, 106, 0.18), 0 10px 22px rgba(42, 8, 14, 0.45);
}

.route-live-caption {
  margin: 0;
  padding: 0.7rem 1rem 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--ivory-muted);
  font-weight: 300;
  text-align: center;
  background: linear-gradient(180deg, rgba(74, 8, 18, 0.2), rgba(74, 8, 18, 0.55));
}

.route-ways {
  margin: 2.2rem auto 0;
  max-width: 920px;
  display: grid;
  gap: 1.8rem;
}

@media (min-width: 760px) {
  .route-ways {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 1.75rem;
  }
}

.route-way {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}

.route-way.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.route-way:nth-child(2) {
  transition-delay: 0.1s;
}

.route-way:nth-child(3) {
  transition-delay: 0.18s;
}

.route-way-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.76rem;
  letter-spacing: 0.4em;
  color: var(--gold);
}

.route-way-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3.2vw, 1.45rem);
  letter-spacing: 0.08em;
  color: var(--ivory);
  line-height: 1.4;
}

.route-way-meta {
  margin: 0.45rem 0 0;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  color: var(--gold-soft);
  font-weight: 400;
}

.route-way-text {
  margin: 0.55rem auto 0;
  max-width: 18em;
  font-size: 0.92rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--ivory-muted);
  line-height: 1.85;
}

.route-actions {
  margin: 2.6rem auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.route-btn {
  appearance: none;
  border: 1px solid rgba(215, 181, 106, 0.55);
  background: linear-gradient(180deg, rgba(196, 40, 61, 0.35), rgba(74, 8, 18, 0.45));
  color: var(--gold-shine);
  font-family: var(--font-body);
  font-size: 0.88rem;
  letter-spacing: 0.22em;
  padding: 0.85rem 1.35rem;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.route-btn:hover {
  border-color: var(--gold-shine);
  color: var(--ivory);
  transform: translateY(-1px);
}

.route-btn-ghost {
  background: rgba(74, 8, 18, 0.72);
  color: var(--gold-soft);
}

.route-note {
  margin: 0.9rem 0 0;
  min-height: 1.2em;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  font-weight: 300;
}

@keyframes route-dash {
  to {
    stroke-dashoffset: -220;
  }
}

.blessing {
  padding-top: clamp(1.5rem, 5vw, 2.5rem);
  padding-bottom: clamp(3.5rem, 9vw, 5.5rem);
}

.blessing-panel {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(2.4rem, 6vw, 3.4rem) clamp(1.4rem, 5vw, 2.8rem);
  background:
    linear-gradient(180deg, rgba(120, 20, 34, 0.35), rgba(74, 8, 18, 0.2)),
    radial-gradient(ellipse at 50% 0%, rgba(215, 181, 106, 0.12), transparent 60%);
  box-shadow:
    inset 0 0 0 1px rgba(215, 181, 106, 0.28),
    0 24px 60px rgba(42, 8, 14, 0.28);
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  transition: opacity 0.95s ease, transform 0.95s ease;
}

.blessing-panel.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.panel-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: rgba(240, 223, 178, 0.7);
  border-style: solid;
}

.panel-tl {
  top: 10px;
  left: 10px;
  border-width: 1px 0 0 1px;
}

.panel-tr {
  top: 10px;
  right: 10px;
  border-width: 1px 1px 0 0;
}

.panel-bl {
  bottom: 10px;
  left: 10px;
  border-width: 0 0 1px 1px;
}

.panel-br {
  bottom: 10px;
  right: 10px;
  border-width: 0 1px 1px 0;
}

.blessing-text {
  margin: 1.6rem auto 0;
  max-width: 22em;
  font-size: clamp(1.05rem, 2.8vw, 1.2rem);
  font-weight: 300;
  color: var(--ivory-muted);
  letter-spacing: 0.08em;
  line-height: 2.15;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s ease 0.15s, transform 0.9s ease 0.15s;
}

.blessing-text.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.closing {
  margin: 2.2rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4vw, 2.05rem);
  letter-spacing: 0.14em;
  background: linear-gradient(90deg, var(--gold), var(--gold-shine), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s ease 0.28s, transform 0.9s ease 0.28s;
}

.closing.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.footer {
  padding: 1rem 1.25rem 3.4rem;
  text-align: center;
}

.footer-ornament {
  margin-bottom: 1.1rem;
  width: min(100%, 220px);
}

.footer p {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  color: rgba(240, 223, 178, 0.55);
  font-weight: 300;
}

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

@keyframes seal-in {
  from {
    opacity: 0;
    transform: scale(0.7) rotate(-8deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes seal-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 5px rgba(140, 28, 42, 0.35),
      inset 0 0 18px rgba(255, 210, 140, 0.12),
      0 0 24px rgba(215, 181, 106, 0.28);
  }
  50% {
    box-shadow:
      0 0 0 7px rgba(140, 28, 42, 0.28),
      inset 0 0 22px rgba(255, 210, 140, 0.18),
      0 0 36px rgba(240, 223, 178, 0.42);
  }
}

@keyframes soft-bob {
  0%,
  100% {
    transform: rotate(45deg) translateY(0);
  }
  50% {
    transform: rotate(45deg) translateY(5px);
  }
}

@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(28px, 20px) scale(1.08);
  }
}

@keyframes shimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes petal-fall {
  0% {
    transform: translate3d(0, -10vh, 0) rotate(var(--spin));
    opacity: 0;
  }
  12% {
    opacity: 0.55;
  }
  88% {
    opacity: 0.4;
  }
  100% {
    transform: translate3d(var(--drift), 110vh, 0) rotate(calc(var(--spin) + 220deg));
    opacity: 0;
  }
}

@media (max-width: 700px) {
  .frame {
    inset: 10px;
  }

  /* 手机端去掉左右通栏金线，避免穿进按钮 */
  .frame-edge-l,
  .frame-edge-r {
    display: none;
  }

  .frame-edge-t,
  .frame-edge-b {
    left: 44px;
    right: 44px;
  }

  .corner {
    width: 48px;
    height: 48px;
  }

  .section {
    padding-left: max(1.5rem, calc(env(safe-area-inset-left, 0px) + 1.25rem));
    padding-right: max(1.5rem, calc(env(safe-area-inset-right, 0px) + 1.25rem));
  }

  .section-lead {
    max-width: 100%;
    padding-inline: 0.2rem;
    word-break: break-word;
  }

  .venue-photo,
  .route-stage,
  .detail-stage,
  .blessing-panel {
    width: 100%;
    max-width: 100%;
  }

  .route-actions {
    flex-direction: column;
    align-items: stretch;
    width: min(100%, 280px);
    margin-left: auto;
    margin-right: auto;
    gap: 0.7rem;
  }

  .route-btn {
    width: 100%;
    letter-spacing: 0.16em;
    padding: 0.8rem 1rem;
    text-align: center;
    box-sizing: border-box;
  }

  .route-map-canvas .leaflet-bottom.leaflet-right {
    right: 4px;
    bottom: 4px;
  }

  .route-map-canvas .leaflet-top.leaflet-left {
    left: 4px;
    top: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-label,
  .name,
  .ampersand-wrap,
  .hero-line,
  .hero-date,
  .scroll-cue,
  .ornament,
  .seal,
  .section,
  .detail,
  .blessing-text,
  .closing,
  .blessing-panel {
    opacity: 1;
    transform: none;
  }

  .petals {
    display: none;
  }
}
