:root {
  --white: #ffffff;
  --white-soft: #fafafa;
  --surface-border: rgba(0, 0, 0, 0.07);
  --surface-border-gold: rgba(196, 165, 116, 0.35);
  --cream-dark: #ececec;
  --terracotta: #b86f54;
  --terracotta-deep: #8f5240;
  --ink: #2c2826;
  --ink-soft: #5c5652;
  --gold: #b8954a;
  --gold-light: #c9a962;
  --text: #2c2826;
  --text-muted: #6f6964;
  --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  --radius: 10px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

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

html {
  height: 100%;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .countdown-cell::after {
    display: none;
  }
}

body {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

.page-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: var(--white);
  z-index: -1;
}

.page-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.35;
  animation: orb-float 24s ease-in-out infinite;
}

.page-orb--1 {
  width: min(50vw, 280px);
  height: min(50vw, 280px);
  top: 6%;
  left: -10%;
  background: radial-gradient(
    circle,
    rgba(196, 165, 116, 0.12),
    transparent 70%
  );
  animation-duration: 26s;
}

.page-orb--2 {
  width: min(40vw, 220px);
  height: min(40vw, 220px);
  bottom: 15%;
  right: -8%;
  background: radial-gradient(
    circle,
    rgba(0, 0, 0, 0.03),
    transparent 70%
  );
  animation-duration: 22s;
  animation-delay: -6s;
}

.page-orb--3 {
  width: min(32vw, 180px);
  height: min(32vw, 180px);
  top: 48%;
  left: 58%;
  background: radial-gradient(
    circle,
    rgba(196, 165, 116, 0.08),
    transparent 70%
  );
  animation-duration: 28s;
  animation-delay: -12s;
}

@keyframes orb-float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(4%, -6%) scale(1.05);
  }
  66% {
    transform: translate(-5%, 4%) scale(0.95);
  }
}

.page-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23c4a574' stroke-width='0.3' opacity='0.25'%3E%3Cpath d='M40 8c6 12 14 18 14 26s-8 18-14 26M40 8c-6 12-14 18-14 26s8 18 14 26'/%3E%3Ccircle cx='40' cy='40' r='2' fill='%23c4a574'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 120px;
  pointer-events: none;
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.page-scroll {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: none;
  scrollbar-width: thin;
  scrollbar-color: rgba(196, 165, 116, 0.45) transparent;
}

.page-scroll::-webkit-scrollbar {
  width: 6px;
}

.page-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.page-scroll::-webkit-scrollbar-thumb {
  background: rgba(196, 165, 116, 0.35);
  border-radius: 999px;
  border: 1px solid transparent;
  background-clip: padding-box;
}

.page-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(196, 165, 116, 0.55);
}

.page-scroll::-webkit-scrollbar-corner {
  background: transparent;
}

.card {
  max-width: 680px;
  min-height: 100%;
  margin: 0 auto;
  padding: 1.25rem 1rem 4.5rem;
  animation: card-in 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 640px) {
  .card {
    padding: 1.5rem 2rem 5.5rem;
  }
}

.section {
  background: var(--white);
  padding: 1.35rem 1.35rem;
  margin-bottom: 0.85rem;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  border: 1px solid var(--surface-border);
  transition: box-shadow 0.35s ease, transform 0.35s ease,
    border-color 0.35s ease;
}

.section:not(.hero):hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--surface-border-gold);
}

@media (min-width: 640px) {
  .section {
    padding: 1.35rem 1.75rem;
  }
}

.hero {
  text-align: center;
  padding-top: 2rem;
  padding-bottom: 1.75rem;
  background: var(--white);
  border-color: var(--surface-border-gold);
  box-shadow: var(--card-shadow);
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  animation: fade-up 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.names {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.35rem, 8.5vw, 3.45rem);
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.names > span {
  display: block;
  animation: fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.names > span:nth-child(1) {
  animation-delay: 0.15s;
}

.names .ampersand {
  display: block;
  font-size: 0.55em;
  font-style: italic;
  color: var(--gold);
  margin: 0.15em 0;
  animation-delay: 0.3s;
  animation-name: fade-up, ampersand-glow;
  animation-duration: 0.9s, 3s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1), ease-in-out;
  animation-delay: 0.3s, 1.2s;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: both, none;
}

.names > span:nth-child(3) {
  animation-delay: 0.45s;
}

@keyframes ampersand-glow {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.06);
  }
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.5rem auto;
  max-width: 280px;
  animation: fade-up 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold-light),
    transparent
  );
  transform-origin: center;
  animation: line-grow 1s cubic-bezier(0.22, 1, 0.36, 1) 0.65s both;
}

.divider-line:last-child {
  animation-delay: 0.75s;
}

@keyframes line-grow {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

.divider-gem {
  color: var(--gold);
  font-size: 0.65rem;
  animation: gem-spin 8s linear infinite;
}

@keyframes gem-spin {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
    opacity: 1;
  }
  50% {
    transform: rotate(180deg) scale(1.15);
    opacity: 0.9;
  }
}

.hero-date {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text-muted);
  animation: fade-up 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both;
}

.countdown-section {
  text-align: center;
}

.countdown {
  position: relative;
  margin: 0;
  padding: 0.25rem 0.5rem 0;
}

.countdown[hidden] {
  display: none;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
  max-width: 24rem;
  margin: 0 auto;
}

.countdown-cell {
  --cell-i: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 0.3rem 0.65rem;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--surface-border);
  box-shadow:
    0 4px 16px rgba(61, 48, 44, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  overflow: hidden;
  animation: countdown-cell-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(0.95s + var(--cell-i) * 0.08s);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.countdown-cell::after {
  content: "";
  position: absolute;
  inset: -50% -50% auto;
  height: 120%;
  background: linear-gradient(
    105deg,
    transparent 42%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 58%
  );
  transform: translateX(-120%) rotate(8deg);
  animation: countdown-sheen 5s ease-in-out infinite;
  animation-delay: calc(var(--cell-i) * 0.7s);
  pointer-events: none;
}

@keyframes countdown-sheen {
  0%,
  70%,
  100% {
    transform: translateX(-120%) rotate(8deg);
  }
  85% {
    transform: translateX(120%) rotate(8deg);
  }
}

@keyframes countdown-cell-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.countdown-cell:hover {
  transform: translateY(-2px);
  box-shadow:
    0 10px 28px rgba(61, 48, 44, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.countdown-cell--secs {
  animation-name: countdown-cell-in, countdown-secs-pulse;
  animation-duration: 0.75s, 1s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1), ease-in-out;
  animation-delay: calc(0.95s + var(--cell-i) * 0.08s), 0s;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: both, none;
}

@keyframes countdown-secs-pulse {
  0%,
  100% {
    border-color: rgba(196, 165, 116, 0.35);
    box-shadow:
      0 4px 16px rgba(61, 48, 44, 0.06),
      inset 0 1px 0 rgba(255, 255, 255, 0.85);
  }
  50% {
    border-color: rgba(196, 165, 116, 0.5);
    box-shadow:
      0 6px 22px rgba(196, 165, 116, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }
}

.countdown-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 5.5vw, 2rem);
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.countdown-value.is-ticking {
  animation: countdown-digit 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes countdown-digit {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: blur(0);
  }
  35% {
    transform: translateY(-10px) scale(0.96);
    opacity: 0;
    filter: blur(1px);
  }
  36% {
    transform: translateY(12px) scale(1.02);
    opacity: 0;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: blur(0);
  }
}

.countdown-unit {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.countdown-done {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.5rem 0 0;
}

.countdown-done[hidden],
.countdown-grid[hidden] {
  display: none;
}

#countdown-heading[hidden] {
  display: none;
}

.countdown-done-text {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.6vw, 1.5rem);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.countdown-done-gem {
  font-size: 1rem;
  color: var(--gold);
}

.countdown-done.is-live .countdown-done-text {
  animation: fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.countdown-done.is-live .countdown-done-gem {
  animation: gem-spin 6s linear infinite, fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.6vw, 1.5rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.2;
  text-align: center;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.section-title::before {
  content: "✦";
  font-family: var(--font-body);
  font-size: 0.5rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.35em;
  color: var(--gold);
  line-height: 1;
}

.section-title::after {
  content: "";
  width: min(4.5rem, 28vw);
  height: 1px;
  margin-top: 0.1rem;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(196, 165, 116, 0.35),
    var(--gold),
    rgba(196, 165, 116, 0.35),
    transparent
  );
}

.body-text {
  margin: 0;
  text-align: center;
  color: var(--text-muted);
  max-width: 36em;
  margin-inline: auto;
}

.hidden {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid rgba(196, 165, 116, 0.55);
  margin-left: 0.5rem;
}

.timeline li {
  position: relative;
  padding: 0 0 1rem 1.25rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll.is-visible .timeline li {
  opacity: 1;
  transform: translateX(0);
}

.reveal-on-scroll.is-visible .timeline li:nth-child(1) {
  transition-delay: 0.08s;
}

.reveal-on-scroll.is-visible .timeline li:nth-child(2) {
  transition-delay: 0.16s;
}

.reveal-on-scroll.is-visible .timeline li:nth-child(3) {
  transition-delay: 0.24s;
}

.reveal-on-scroll.is-visible .timeline li:nth-child(4) {
  transition-delay: 0.32s;
}

.reveal-on-scroll.is-visible .timeline li:nth-child(5) {
  transition-delay: 0.4s;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1px var(--gold-light);
}

.reveal-on-scroll.is-visible .timeline li::before {
  animation: dot-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.reveal-on-scroll.is-visible .timeline li:nth-child(1)::before {
  animation-delay: 0.12s;
}

.reveal-on-scroll.is-visible .timeline li:nth-child(2)::before {
  animation-delay: 0.2s;
}

.reveal-on-scroll.is-visible .timeline li:nth-child(3)::before {
  animation-delay: 0.28s;
}

@keyframes dot-pop {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.timeline-time {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
}

.timeline-note {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.venue {
  font-style: normal;
  text-align: center;
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

.venue strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.25s ease, color 0.25s ease,
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--surface-border-gold);
  width: 100%;
  text-align: center;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.btn-primary:hover {
  background: var(--white-soft);
  color: var(--ink);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.btn-gold {
  position: relative;
  overflow: hidden;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--surface-border-gold);
  width: 100%;
  text-align: center;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.btn-gold:hover {
  background: var(--white-soft);
  color: var(--ink);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08);
}

.btn-gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 60%
  );
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.btn-gold:hover::after {
  transform: translateX(120%);
}

.rsvp-section {
  text-align: center;
}

.rsvp-section .body-text {
  margin-bottom: 1.25rem;
}

.rsvp-dialog {
  position: relative;
  width: min(100% - 2rem, 420px);
  max-height: calc(100vh - 2rem);
  margin: auto;
  padding: 2rem 1.5rem 1.5rem;
  border: 1px solid rgba(184, 149, 74, 0.35);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  box-shadow: var(--card-shadow);
  overflow-y: auto;
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  scrollbar-width: thin;
  scrollbar-color: rgba(196, 165, 116, 0.4) transparent;
}

.rsvp-dialog::-webkit-scrollbar {
  width: 6px;
}

.rsvp-dialog::-webkit-scrollbar-track {
  background: transparent;
}

.rsvp-dialog::-webkit-scrollbar-thumb {
  background: rgba(196, 165, 116, 0.35);
  border-radius: 999px;
}

.rsvp-dialog[open] {
  animation: dialog-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes dialog-in {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.rsvp-dialog::backdrop {
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  animation: backdrop-in 0.35s ease forwards;
}

@keyframes backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.rsvp-dialog-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.rsvp-dialog-close:hover {
  color: var(--ink);
  background: var(--white-soft);
}

.rsvp-dialog-title {
  margin: 0 2rem 0.5rem 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  color: var(--ink);
}

.rsvp-dialog-lead {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  text-align: center;
  color: var(--text-muted);
}

.rsvp-form {
  text-align: left;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.field textarea {
  resize: vertical;
  min-height: 4.5rem;
}

.rsvp-form .btn-gold {
  margin-top: 0.5rem;
}

.rsvp-form .btn-gold:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.rsvp-status {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.rsvp-status--success {
  color: var(--ink);
}

.rsvp-status--error {
  color: #8b3a3a;
}

.footer {
  text-align: center;
  background: var(--white);
  margin-bottom: 0;
  padding-bottom: 0.5rem;
}

.footer-blessing {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-names {
  margin: 0.5rem 0 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
}

.music-toggle {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 100;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1.5px solid rgba(196, 165, 116, 0.65);
  background: var(--white);
  box-shadow: var(--card-shadow);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: transform 0.2s, background 0.2s;
}

.music-toggle:hover {
  transform: scale(1.08);
  background: #fff;
}

.music-toggle[aria-pressed="true"] {
  animation: music-pulse 1.8s ease-in-out infinite;
  border-color: var(--gold);
}

@keyframes music-pulse {
  0%,
  100% {
    box-shadow: var(--card-shadow), 0 0 0 0 rgba(184, 149, 74, 0.4);
  }
  50% {
    box-shadow: var(--card-shadow), 0 0 0 10px rgba(184, 149, 74, 0);
  }
}

.music-toggle[aria-pressed="true"] .music-icon--off {
  display: none;
}

.music-toggle[aria-pressed="false"] .music-icon--on {
  display: none;
}

@media print {
  .page-bg,
  .music-toggle {
    display: none !important;
  }

  body {
    background: white;
  }

  .section {
    box-shadow: none;
    break-inside: avoid;
  }
}
