/* Public guest pages: a guest's photo and the event gallery. Scoped to .guest-page because
   the dashboard stylesheet tag loads every file in this folder. */
.guest-page {
  --ivory: #f4efe9;
  --paper: #fffdf9;
  --ink: #17191b;
  --muted: #5d625d;
  --line: #d8d4cb;
  --accent: #17424b;
  --accent-ink: #ffffff;
  --serif: "Baskerville", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  margin: 0;
  min-height: 100vh;
  background: var(--ivory);
  color: var(--ink);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-color-scheme: dark) {
  .guest-page {
    --ivory: #121315;
    --paper: #1b1d20;
    --ink: #f1ede7;
    --muted: #a7aaa6;
    --line: #34373a;
    --accent: #d8bc96;
    --accent-ink: #17191b;
  }
}
.guest-page * { box-sizing: border-box; }
.guest-page a { color: inherit; }
.guest-page :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.guest-main { width: min(960px, 100% - 32px); margin-inline: auto; padding: 40px 0 56px; }
.guest-header { text-align: center; margin-bottom: 24px; }
.guest-header h1, .guest-notice h1 { font: 400 clamp(30px, 6vw, 44px)/1.15 var(--serif); margin: 0; }
.guest-eyebrow { margin: 0 0 6px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.guest-muted { color: var(--muted); }
.guest-photo { margin: 0; }
.guest-photo img { display: block; width: 100%; height: auto; max-height: 78vh; object-fit: contain; background: var(--paper); border-radius: 6px; box-shadow: 0 10px 40px #0000001f; }
.guest-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 24px 0; }
.guest-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--accent); color: var(--accent-ink) !important; text-decoration: none; font-weight: 600; }
.guest-button-quiet { background: transparent; color: var(--ink) !important; border: 1px solid var(--line); }
.guest-singles h2 { font: 400 22px/1.2 var(--serif); margin: 32px 0 12px; text-align: center; }
.guest-singles ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.guest-singles img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.guest-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 14px; }
.guest-grid a { display: block; border-radius: 6px; overflow: hidden; background: var(--paper); box-shadow: 0 4px 18px #00000014; }
.guest-grid img { display: block; width: 100%; height: auto; }
.guest-pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 28px; font-weight: 600; }
.guest-pager a { text-decoration: none; padding: 10px 0; }
.guest-footnote { text-align: center; font-size: 14px; margin-top: 28px; }
.guest-notice { max-width: 34rem; margin: 12vh auto 0; text-align: center; }
.guest-notice h1 { margin-bottom: 14px; }
.guest-spinner { width: 36px; height: 36px; margin: 0 auto 22px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: guest-spin 1s linear infinite; }
@keyframes guest-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .guest-spinner { animation: none; } }
