body { background-color: #fdf8ee; color: #2b2a26; font-family: 'Inter', system-ui, sans-serif; overflow-x: hidden; }
h1, h2, h3, .font-display { font-family: 'Source Serif 4', Georgia, serif; }
[x-cloak] { display: none !important; }
.rsvp-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1.05rem;
  border-radius: 0.5rem;
  border: 1px solid #d6cfbf;
  background: #fff;
  color: #2b2a26;
}
.rsvp-input:focus {
  outline: 2px solid #2d6a4f;
  outline-offset: 1px;
}
.rsvp-radio { margin-right: 0.5rem; }
.btn-primary {
  background: #2d6a4f; color: white; padding: 0.75rem 1.5rem; border-radius: 9999px;
  font-weight: 600; transition: background-color 150ms ease;
}
.btn-primary:hover { background: #1f4e3a; }
.btn-ghost {
  border: 1px solid #2d6a4f; color: #2d6a4f; padding: 0.6rem 1.4rem;
  border-radius: 9999px; font-weight: 600;
}
.btn-ghost:hover { background: #2d6a4f; color: white; }

/* Lightbox control pills — Download / Edit / Delete / Close plus the prev/next
 * arrows. A translucent dark background keeps them legible over any photo,
 * light or dark. */
.lightbox-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  color: #fdf8ee;
  border-radius: 9999px;
  font-size: 0.875rem;
  padding: 0.4rem 0.9rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background-color 150ms ease;
}
.lightbox-btn:hover { background: rgba(0, 0, 0, 0.82); }
.lightbox-btn:focus-visible { outline: 2px solid #fdf8ee; outline-offset: 2px; }
.lightbox-btn--danger:hover { background: #dc2626; }
.lightbox-btn--nav { width: 3rem; height: 3rem; padding: 0; font-size: 1.875rem; }

/* Lightbox <dialog>s — the edit-caption and delete-confirm modals. Both open
 * from inside the lightbox, so they're styled as a translucent dark glass
 * card rather than a solid white box, which looked jarring against the dark
 * lightbox backdrop. */
.lightbox-dialog {
  color: #fdf8ee;
  background: rgba(31, 30, 26, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(253, 248, 238, 0.14);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.65);
}
.lightbox-dialog::backdrop {
  background: rgba(0, 0, 0, 0.45);
}
