/*
  Local webfont support for Le Jour Script.
  Place licensed webfont files in:
  /fonts/le-jour-script.woff2
  /fonts/le-jour-script.woff

  The site will fall back gracefully if those files are not present.
*/
@font-face {
  font-family: "Le Jour Script";
  src:
    url("./fonts/le-jour-script.woff2") format("woff2"),
    url("./fonts/le-jour-script.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --background: #f9f4ec;
  --background-deep: #efe7dc;
  --paper: rgba(255, 252, 246, 0.86);
  --ink: #4e6f9f;
  --ink-deep: #557cad;
  --muted: #6e7f96;
  --ink-soft: #6f7f96;
  --line: rgba(96, 131, 177, 0.2);
  --accent: #86bf96;
  --accent-text: #2f6b43;
  --accent-soft: rgba(134, 191, 150, 0.14);
  --accent-soft-strong: rgba(47, 107, 67, 0.12);
  --focus-ring: rgba(47, 107, 67, 0.48);
  --rouge: #9f5f66;
  --rouge-soft: rgba(159, 95, 102, 0.13);
  --shadow: 0 24px 60px rgba(112, 128, 152, 0.12);
  --card-shadow: 0 18px 46px rgba(112, 128, 152, 0.1);
  --presence-shadow: 0 28px 76px rgba(78, 111, 159, 0.14), 0 8px 28px rgba(134, 191, 150, 0.08);
  --presence-shadow-hover: 0 32px 86px rgba(78, 111, 159, 0.18), 0 10px 32px rgba(134, 191, 150, 0.11);
  --surface-wash: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 249, 241, 0.96));
  --surface-wash-soft: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 249, 241, 0.94));
  --sage: var(--accent-text);
  --card-paper: #fffefa;
  --card-paper-deep: #fffefa;
  --card-line: transparent;
  --card-line-soft: rgba(122, 170, 128, 0.12);
  --card-radius: 24px;
  --card-radius-large: 28px;
  --card-shadow-save-the-date: none;
  --card-shadow-save-the-date-hover: none;
  --card-corner-size: clamp(13rem, 25vw, 21rem);
  --card-corner-offset: clamp(-4.6rem, -7vw, -2.5rem);
  --card-corner-opacity: 0.58;
  --card-corner-opacity-soft: 0.54;
  --small-card-corner-size: clamp(7.5rem, 15vw, 10.5rem);
  --small-card-corner-offset: clamp(-3.4rem, -6vw, -2rem);
  --small-card-corner-opacity: 0.2;
  --floral-top-left: none;
  --floral-bottom-right: none;
  --save-the-date-seed: url("./assets/save-the-date-florals.png");
  --font-script: "Le Jour Script", "Allura", "Snell Roundhand", "Apple Chancery", cursive;
  --font-script-fallback: "Allura", "Snell Roundhand", "Apple Chancery", cursive;
  --font-save-the-date-script: var(--font-script);
  --font-label: "Cinzel", Georgia, serif;
  --floating-nav-top: calc(0.75rem + env(safe-area-inset-top, 0px));
  --floating-nav-reserve: 4.75rem;
  --floating-nav-gap: 0.95rem;
  --floating-nav-z: 2147483000;
  /* Keep the page canvas flat; mobile browser chrome exposes this behind the footer. */
  --page-background-wash: linear-gradient(var(--background), var(--background));
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--floating-nav-reserve) + var(--floating-nav-gap) + 1rem);
  background-color: var(--background);
  background-image: var(--page-background-wash);
  background-size: auto;
  background-position: center;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  background-color: var(--background);
  background-image: var(--page-background-wash);
  background-size: auto;
  background-position: center;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  padding: calc(var(--floating-nav-reserve) + var(--floating-nav-gap)) 0 3.5rem;
}

.page-shell-inner {
  padding-top: calc(var(--floating-nav-reserve) + var(--floating-nav-gap));
  width: min(1500px, calc(100% - 2.5rem));
}

.hero {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.1rem;
  border: 0;
  border-radius: var(--card-radius-large);
  background: var(--card-paper);
  background-size: auto, auto, auto;
  background-position: center, center, center;
  box-shadow: var(--card-shadow-save-the-date);
  overflow: visible;
  position: relative;
}

.hero-topbar,
.page-header-topbar {
  position: fixed;
  top: var(--floating-nav-top);
  left: 50%;
  width: min(calc(100% - 2rem), 72rem);
  transform: translateX(-50%);
  z-index: var(--floating-nav-z);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  pointer-events: none;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 1;
  pointer-events: none;
}

.page-shell,
.page-shell-inner {
  position: relative;
}

.hero::before {
  top: -2.6rem;
  left: -2.4rem;
  width: clamp(17rem, 31vw, 25rem);
  height: clamp(17rem, 31vw, 25rem);
  background-image: var(--floral-top-left);
  opacity: 0.86;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -2.3rem -2.4rem auto;
  width: clamp(17rem, 31vw, 25rem);
  height: clamp(17rem, 31vw, 25rem);
  background: var(--floral-bottom-right) no-repeat center / contain;
  opacity: 0.82;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  text-align: center;
  gap: clamp(0.85rem, 1.4vw, 1.25rem);
  padding: 3rem 1rem 4rem;
}

.hero-copy-home {
  min-height: 72vh;
  align-content: center;
}

.eyebrow,
.section-label {
  margin: 0;
  color: var(--accent-text);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.12;
  max-width: 100%;
  text-wrap: pretty;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

h1 {
  margin: 0;
  font-family: var(--font-save-the-date-script);
  color: var(--ink-deep);
  font-size: clamp(4.9rem, 11vw, 9.2rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.01em;
}

.save-the-date-wordmark {
  display: block;
  width: min(100%, clamp(12.5rem, 24vw, 18rem));
  margin: 0 auto clamp(0.25rem, 0.8vw, 0.6rem);
  color: var(--ink-deep);
  font-size: 0;
  line-height: 0;
  letter-spacing: 0;
  text-shadow: none;
}

.save-the-date-wordmark-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 10px 28px rgba(78, 111, 159, 0.08));
}

.wordmark-name,
.wordmark-amp {
  display: block;
  max-width: 100%;
  line-height: inherit;
  white-space: nowrap;
}

.wordmark-name-ellie {
  font-size: 1em;
  transform: translateX(-0.015em);
}

.wordmark-amp {
  margin-block: 0;
  font-size: 0.5em;
  line-height: 0.8;
  transform: translateX(0.015em) rotate(-1deg);
}

.wordmark-name-byron {
  font-size: 1.04em;
  transform: translateX(0.018em);
}

.script-accent {
  font-family: var(--font-script);
}

.font-test-shell {
  display: grid;
  gap: 1rem;
  max-width: 56rem;
  margin: 0 auto;
}

.font-test-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.font-test-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 252, 247, 0.9);
  box-shadow: 0 16px 40px rgba(112, 128, 152, 0.08);
}

.font-test-card p {
  margin: 0 0 0.5rem;
}

.font-test-script {
  color: var(--ink-deep);
  font-size: clamp(3.6rem, 7vw, 5.4rem);
  line-height: 0.95;
}

.font-test-script--primary {
  font-family: var(--font-script);
}

.font-test-script--fallback {
  font-family: var(--font-script-fallback);
}

.date {
  margin: 0;
  color: var(--ink-deep);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.calendar-cta {
  margin: -0.12rem 0 0;
}

.calendar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(96, 131, 177, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  color: var(--ink-deep);
  font-family: var(--font-label);
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.calendar-link:hover,
.calendar-link:focus-visible {
  border-color: rgba(96, 131, 177, 0.34);
  background: rgba(255, 255, 255, 0.78);
  transform: translateY(-1px);
}

.intro {
  width: min(38rem, 100%);
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.18rem, 2vw, 1.34rem);
  line-height: 1.5;
}

.hero-divider {
  width: min(18rem, 55vw);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(96, 131, 177, 0.15) 12%,
    rgba(96, 131, 177, 0.75) 50%,
    rgba(96, 131, 177, 0.15) 88%,
    transparent 100%
  );
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
  align-items: stretch;
}

.info-grid-home {
  margin-top: 1.6rem;
}

.quick-section,
.section-stack {
  position: relative;
  z-index: 1;
  margin-top: clamp(1.7rem, 4vw, 2.8rem);
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.quick-section::before,
.quick-section::after,
.section-stack::before,
.section-stack::after {
  content: none;
}

.quick-section::before,
.section-stack::before {
  top: -1.35rem;
  left: -1.35rem;
  width: clamp(8.5rem, 18vw, 13rem);
  height: clamp(8.5rem, 18vw, 13rem);
  background-image: var(--floral-top-left);
  opacity: 0.56;
}

.quick-section::after,
.section-stack::after {
  right: -1.35rem;
  bottom: -1.35rem;
  width: clamp(8rem, 17vw, 12rem);
  height: clamp(8rem, 17vw, 12rem);
  background-image: var(--floral-bottom-right);
  opacity: 0.46;
}

.quick-section > *,
.section-stack > * {
  position: relative;
  z-index: 1;
}

.section-intro {
  position: relative;
  text-align: center;
  margin: 0 auto 1.2rem;
  width: min(100%, 56rem);
}

.section-intro h2 {
  margin: 0;
  color: var(--ink-deep);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  max-width: 100%;
  text-wrap: pretty;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-shadow: 0 12px 32px rgba(255, 252, 247, 0.95), 0 4px 18px rgba(78, 111, 159, 0.1);
}

.section-intro::after {
  content: "";
  display: block;
  width: min(14rem, 48vw);
  height: 1px;
  margin: 0.9rem auto 0;
  background: linear-gradient(90deg, transparent, rgba(96, 131, 177, 0.34), transparent);
}

.quick-facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.9rem;
}

.fact-card {
  position: relative;
  overflow: hidden;
  padding: 1.1rem 1rem;
  border: 1px solid rgba(96, 131, 177, 0.24);
  border-radius: 22px;
  background:
    var(--surface-wash-soft),
    rgba(255, 252, 247, 0.9);
  background-size: auto, auto;
  background-position: center, center;
  box-shadow: 0 18px 50px rgba(78, 111, 159, 0.1);
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.fact-label {
  margin: 0 0 0.3rem;
  color: var(--accent-text);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.12;
  max-width: 100%;
  text-wrap: pretty;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.fact-value {
  margin: 0;
  color: var(--ink-deep);
  font-size: 1.2rem;
  line-height: 1.35;
}

.detail-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  position: relative;
  overflow: hidden;
  padding: 1.65rem 1.5rem;
  border: 1px solid rgba(96, 131, 177, 0.24);
  border-radius: 24px;
  background:
    var(--surface-wash-soft),
    rgba(255, 252, 247, 0.9);
  background-size: auto, auto;
  background-position: center, center;
  box-shadow: 0 20px 54px rgba(78, 111, 159, 0.1);
  text-align: center;
  gap: 0.25rem;
  transform: translateZ(0);
}

.detail-link-card {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.detail-link-card:hover,
.detail-link-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--presence-shadow-hover);
  border-color: rgba(134, 191, 150, 0.38);
}

.fact-card:hover,
.fact-card:focus-within {
  transform: translateY(-2px);
  box-shadow: var(--presence-shadow-hover);
  border-color: rgba(134, 191, 150, 0.36);
}

.detail-link-card:active,
.fact-card:active {
  transform: translateY(-1px) scale(0.995);
}

.detail-link-card:focus-visible,
.back-link:focus-visible,
.action-button:focus-visible {
  outline: 2px solid rgba(96, 131, 177, 0.45);
  outline-offset: 4px;
}

.detail-card h2 {
  margin: 0.3rem 0 0.55rem;
  color: var(--ink-deep);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  line-height: 1.2;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.detail-card p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.5;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.detail-link-card .section-label {
  margin-bottom: 0.45rem;
  width: 100%;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  line-height: 1.1;
  white-space: normal;
}

.page-header {
  position: relative;
  padding: 1rem 0 1.5rem;
  text-align: center;
}

.page-header-topbar {
  margin-bottom: 0;
}

.page-header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.header-nav {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.65rem;
  width: fit-content;
  max-width: min(100%, 58rem);
  padding: 0.58rem 0.82rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 249, 241, 0.84)),
    rgba(255, 252, 247, 0.78);
  box-shadow: 0 20px 54px rgba(78, 111, 159, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  pointer-events: auto;
}

.header-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0.42rem 0.7rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink-deep);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(96, 131, 177, 0.28);
  background: rgba(96, 131, 177, 0.08);
}

.header-nav a[aria-current="page"] {
  border-color: rgba(134, 191, 150, 0.35);
  background: rgba(134, 191, 150, 0.14);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--ink-deep);
  font-size: 1.1rem;
}

.header-rsvp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(96, 131, 177, 0.08);
  color: var(--ink-deep);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.header-rsvp-link:hover,
.header-rsvp-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(96, 131, 177, 0.34);
  background: rgba(96, 131, 177, 0.12);
}

.header-rsvp-link[aria-current="page"] {
  background: rgba(134, 191, 150, 0.14);
  border-color: rgba(134, 191, 150, 0.35);
}

.page-title {
  width: min(100%, 18ch);
  margin: 0 auto;
  color: var(--ink-deep);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.8rem, 3.25vw, 3rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-wrap: pretty;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.page-subtitle {
  width: min(44rem, 100%);
  margin: 0.95rem auto 0;
  color: var(--muted);
  font-size: 1.3rem;
  line-height: 1.5;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.content-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.1rem;
  align-items: stretch;
  grid-auto-flow: row dense;
}

.content-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: stretch;
  height: 100%;
  min-width: 0;
  position: relative;
  overflow: hidden;
  padding: 1.7rem;
  border: 1px solid rgba(96, 131, 177, 0.24);
  border-radius: 24px;
  background:
    var(--surface-wash-soft),
    rgba(255, 252, 247, 0.9);
  background-size: auto, auto;
  background-position: center, center;
  box-shadow: 0 20px 56px rgba(78, 111, 159, 0.1);
}

.content-card > :where(p, ul, ol, .action-row, .map-frame, .timeline-layout, .admin-table-wrap, .admin-table-tools, .admin-summary-grid, .admin-insights-grid, .admin-compact-list, .requests-grid, .member-editor-list, .private-form) {
  max-width: 100%;
}

.content-card-wide {
  grid-column: 1 / -1;
}

.content-card h2 {
  margin: 0 0 0.8rem;
  color: var(--ink-deep);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.15rem, 1.85vw, 1.6rem);
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  line-height: 1.2;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.content-card p {
  margin: 0 0 0.9rem;
  font-size: 1.06rem;
  line-height: 1.52;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.content-card p:last-child {
  margin-bottom: 0;
}

.tiny-context-link {
  margin-top: auto;
  padding-top: 0.35rem;
  font-size: 0.82rem;
  line-height: 1.35;
  color: rgba(90, 110, 137, 0.74);
}

.tiny-context-link a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(96, 131, 177, 0.34);
  text-underline-offset: 0.18em;
}

.tiny-context-link a:hover,
.tiny-context-link a:focus-visible {
  color: var(--ink-deep);
  text-decoration-color: currentColor;
}

.venue-context-links {
  width: min(100%, 36rem);
}

.content-card .venue-context-links {
  margin-top: 0.45rem;
  margin-bottom: 0;
  padding-top: 0;
}

.content-card .venue-context-links + .venue-context-links {
  margin-top: 0.3rem;
}

.content-card:not(.content-card-wide) {
  text-align: left;
}

.content-card-wide {
  text-align: left;
}

.menu-modal {
  position: relative;
  overflow: hidden;
  padding: 2rem 1.8rem;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(249, 244, 236, 0.96)),
    rgba(255, 252, 247, 0.92);
  background-size: auto, auto;
  background-position: center, center;
}

.menu-modal::after {
  content: "";
  position: absolute;
  inset: auto -1.35rem -1.5rem auto;
  width: 8.75rem;
  height: 8.75rem;
  background: var(--floral-bottom-right) no-repeat center / contain;
  opacity: 0.4;
  pointer-events: none;
}

.menu-modal::before,
.song-modal-inner::before,
.song-modal-inner::after,
.content-card::before,
.content-card::after,
.detail-card::before,
.detail-card::after,
.page-rsvp-cta::before,
.page-rsvp-cta::after,
.fact-card::before,
.fact-card::after,
.private-card::before,
.private-card::after,
.request-card::before,
.request-card::after {
  content: "";
  position: absolute;
  width: 9.6rem;
  height: 9.6rem;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.3;
  pointer-events: none;
}

.fact-card::before,
.detail-card::before,
.content-card::before {
  opacity: 0.48;
}

.fact-card::after,
.detail-card::after,
.content-card::after {
  opacity: 0.42;
}

.menu-modal > *,
.fact-card > *,
.detail-card > *,
.content-card > *,
.page-rsvp-cta > *,
.song-modal-inner > *,
.private-card > *,
.request-card > * {
  position: relative;
  z-index: 1;
}

.menu-modal::before,
.song-modal-inner::before,
.content-card::before,
.detail-card::before,
.page-rsvp-cta::before,
.fact-card::before,
.private-card::before,
.request-card::before {
  top: -1.35rem;
  left: -1.35rem;
  background-image: var(--floral-top-left);
}

.song-modal-inner::after,
.content-card::after,
.detail-card::after,
.page-rsvp-cta::after,
.fact-card::after,
.private-card::after,
.request-card::after {
  right: -1.35rem;
  bottom: -1.35rem;
  background-image: var(--floral-bottom-right);
  opacity: 0.38;
}

.fact-card::after,
.detail-card::after,
.content-card::after,
.page-rsvp-cta::after {
  opacity: 0.42;
}

.fact-card::before,
.fact-card::after,
.detail-card::before,
.detail-card::after,
.content-card::before,
.content-card::after,
.page-rsvp-cta::before,
.page-rsvp-cta::after,
.private-card::before,
.private-card::after,
.request-card::before,
.request-card::after {
  width: clamp(8.75rem, 19vw, 15.5rem);
  height: clamp(8.75rem, 19vw, 15.5rem);
}

.fact-card::before,
.detail-card::before,
.content-card::before,
.page-rsvp-cta::before,
.private-card::before,
.request-card::before {
  top: clamp(-4.8rem, -9vw, -3.2rem);
  left: clamp(-4.8rem, -9vw, -3.2rem);
}

.fact-card::after,
.detail-card::after,
.content-card::after,
.page-rsvp-cta::after,
.private-card::after,
.request-card::after {
  right: clamp(-4.8rem, -9vw, -3.2rem);
  bottom: clamp(-4.8rem, -9vw, -3.2rem);
}

.menu-modal-kicker {
  margin: 0 0 0.4rem;
  color: var(--accent-text);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.76rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  line-height: 1.12;
  max-width: 100%;
  text-wrap: pretty;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.menu-view-toggle {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
  max-width: 100%;
  margin: 1.15rem auto 0;
  padding: 0.3rem;
  border: 1px solid rgba(96, 131, 177, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.menu-view-button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0.58rem 0.95rem;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.menu-view-button:hover,
.menu-view-button:focus-visible {
  color: var(--ink-deep);
  outline: 2px solid rgba(85, 124, 173, 0.34);
  outline-offset: 3px;
}

.menu-view-button.is-active,
.menu-view-button[aria-pressed="true"] {
  background: rgba(85, 124, 173, 0.12);
  color: var(--ink-deep);
  box-shadow: 0 8px 20px rgba(85, 124, 173, 0.1);
}

.practical-address {
  color: var(--ink-deep);
  font-size: 1.22rem;
  line-height: 1.4;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.menu-course {
  gap: 0.15rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(252, 247, 240, 0.92)),
    rgba(255, 252, 247, 0.9);
  background-size: auto, auto;
  background-position: center, center;
}

.menu-choice + .menu-choice {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(96, 131, 177, 0.12);
}

.menu-choice h3 {
  margin: 0;
  color: var(--ink-deep);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.46rem;
  font-weight: 600;
  line-height: 1.2;
}

.menu-choice p {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.timeline-group + .timeline-group {
  margin-top: 1rem;
}

.timeline-layout {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.timeline-group {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(96, 131, 177, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
}

.timeline-heading {
  margin: 0 0 0.55rem;
  color: var(--accent-text);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.12;
  max-width: 100%;
  text-wrap: pretty;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.timeline-item {
  display: grid;
  grid-template-columns: minmax(6rem, 7.5rem) 1fr;
  gap: 0.7rem;
  align-items: start;
  padding: 0.65rem 0 0.7rem;
  border-top: 1px solid rgba(96, 131, 177, 0.12);
}

.timeline-time,
.timeline-copy {
  margin: 0;
}

.timeline-time {
  color: var(--ink-deep);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline-copy {
  line-height: 1.45;
}

.content-list {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 1.14rem;
  line-height: 1.55;
}

.content-list li + li {
  margin-top: 0.35rem;
}

.map-frame {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
}

.map-frame iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
}

.map-frame-locked iframe {
  pointer-events: none;
}

.map-frame.is-enabled iframe {
  pointer-events: auto;
}

.map-enable-button {
  position: absolute;
  inset: auto 50% 1rem auto;
  transform: translateX(50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  width: min(calc(100% - 2rem), 18rem);
  padding: 0.7rem 1rem;
  border: 1px solid rgba(47, 107, 67, 0.28);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.94);
  color: var(--accent-text);
  cursor: pointer;
  font-family: var(--font-label);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 16px 38px rgba(78, 111, 159, 0.14);
}

.map-enable-button:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.map-note {
  color: var(--muted);
}

.travel-poi-guide {
  width: min(100%, 54rem);
  margin: 0 auto;
  text-align: left;
}

.travel-poi-guide h3 {
  margin: 0 0 0.35rem;
  color: var(--ink-deep);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.travel-poi-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(96, 131, 177, 0.18);
}

.travel-poi-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.78rem 0;
  border-bottom: 1px solid rgba(96, 131, 177, 0.16);
}

.travel-poi-copy {
  display: grid;
  gap: 0.12rem;
}

.travel-poi-copy p,
.travel-poi-links {
  margin: 0;
}

.travel-poi-kicker {
  color: var(--accent-text);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.travel-poi-title {
  color: var(--ink-deep);
  font-size: 1.1rem;
  line-height: 1.28;
}

.travel-poi-copy p:not(.travel-poi-kicker, .travel-poi-title) {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.35;
}

.travel-poi-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.42rem 0.65rem;
  font-size: 0.86rem;
  line-height: 1.2;
}

.travel-poi-links a {
  color: rgba(55, 82, 119, 0.82);
  text-decoration: underline;
  text-decoration-color: rgba(96, 131, 177, 0.28);
  text-underline-offset: 0.24em;
}

.travel-poi-links a:hover,
.travel-poi-links a:focus-visible {
  color: var(--ink-deep);
  text-decoration-color: currentColor;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: start;
}

.action-row-left {
  justify-content: flex-start;
}

.action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 12rem;
  min-height: 2.8rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(96, 131, 177, 0.08);
  color: var(--ink-deep);
  font-family: "Cinzel", Georgia, serif;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.action-button:hover,
.action-button:focus-visible,
.footer-request-button:hover,
.footer-request-button:focus-visible,
.button-quiet:hover,
.button-quiet:focus-visible,
.button-strong:hover,
.button-strong:focus-visible {
  border-color: rgba(96, 131, 177, 0.34);
  background: rgba(96, 131, 177, 0.12);
}

.action-button:hover,
.footer-request-button:hover {
  transform: translateY(-1px);
}

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 1.5rem;
  padding: 1.2rem 0 max(1.15rem, env(safe-area-inset-bottom, 0px));
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  margin-bottom: 0.8rem;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.94rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-nav a[aria-current="page"] {
  color: var(--ink-deep);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.footer-note {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.footer-note + .footer-note {
  margin-top: 0.18rem;
}

.footer-private-access {
  margin: 0.45rem 0 0;
  font-size: 0.92rem;
}

.footer-private-access:empty {
  display: none;
}

.footer-private-link {
  color: var(--muted);
  font-size: 0.92rem;
  opacity: 0.72;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
}

.footer-private-link:hover,
.footer-private-link:focus-visible {
  color: var(--ink-deep);
  opacity: 1;
}

.deployment-stamp {
  margin-top: 0.45rem;
  font-family: var(--font-label);
  font-size: clamp(0.72rem, 1.5vw, 0.86rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-actions {
  margin-bottom: 0.85rem;
}

.footer-request-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(96, 131, 177, 0.08);
  color: var(--ink-deep);
  font: inherit;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.94rem;
  letter-spacing: 0.06em;
  padding: 0.7rem 1.05rem;
  text-transform: uppercase;
  cursor: pointer;
}

.page-rsvp-cta {
  position: relative;
  z-index: 1;
  margin-top: 1.3rem;
  overflow: hidden;
  padding: 1.7rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    var(--surface-wash-soft),
    rgba(255, 252, 247, 0.88);
  background-size: auto, auto;
  background-position: center, center;
  box-shadow: 0 20px 54px rgba(78, 111, 159, 0.1);
  text-align: center;
}

.page-rsvp-cta h2 {
  margin: 0.25rem 0 0.8rem;
  color: var(--ink-deep);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-rsvp-cta p {
  width: min(40rem, 100%);
  margin: 0 auto 1rem;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.5;
}

.page-rsvp-button {
  max-width: 18rem;
  margin: 0 auto;
}

.site-help-note {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
  gap: 0.95rem 1.35rem;
  align-items: center;
  margin-top: 1.15rem;
  padding: 1.05rem 0.2rem;
  border-top: 1px solid rgba(96, 131, 177, 0.14);
}

.site-help-copy .section-label,
.site-help-copy h2,
.site-help-copy p {
  margin: 0;
}

.site-help-copy h2 {
  color: var(--ink-deep);
  font-family: var(--font-label);
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  line-height: 1.18;
  text-transform: uppercase;
}

.site-help-copy p:not(.section-label) {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.38;
}

.site-help-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 0.55rem;
}

.site-help-card {
  display: grid;
  gap: 0.24rem;
  align-content: center;
  min-width: 0;
  min-height: 3.45rem;
  padding: 0.62rem 0.72rem;
  border: 1px solid rgba(96, 131, 177, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.42);
  color: var(--ink-deep);
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.site-help-card-email:hover,
.site-help-card-email:focus-visible {
  border-color: rgba(96, 131, 177, 0.34);
  background: rgba(96, 131, 177, 0.08);
  transform: translateY(-1px);
}

.site-help-card-label,
.site-help-card-value {
  margin: 0;
}

.site-help-card-label {
  color: var(--accent-text);
  font-family: var(--font-label);
  font-size: 0.63rem;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.site-help-card-value {
  min-width: 0;
  color: inherit;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.site-help-card-value a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(96, 131, 177, 0.28);
  text-underline-offset: 0.24em;
}

.song-modal {
  width: min(56rem, calc(100% - 1.5rem));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 249, 241, 0.96)),
    rgba(255, 252, 247, 0.98);
  background-size: auto, auto;
  background-position: center, center;
  box-shadow: 0 24px 60px rgba(112, 128, 152, 0.18);
  z-index: 1000;
}

.song-modal::backdrop {
  background: rgba(78, 111, 159, 0.18);
  backdrop-filter: blur(3px);
}

.song-modal-inner {
  position: relative;
  overflow: hidden;
  padding: 1.55rem 1.6rem;
}

.song-modal-header {
  text-align: center;
  margin-bottom: 1rem;
}

.song-modal-title {
  margin: 0.25rem 0 0;
  color: var(--ink-deep);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.song-modal-copy {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.45;
}

.song-modal-priority-copy {
  margin-top: 0.4rem;
  font-size: 1.02rem;
}

.song-form {
  display: grid;
  gap: 0.85rem;
}

.song-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--ink-deep);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.song-form .song-form-checkbox {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-self: start;
  gap: 0.55rem;
  margin-top: -0.1rem;
  color: var(--accent-text);
  cursor: pointer;
}

.song-form .song-form-checkbox input[type="checkbox"] {
  width: 1.22rem;
  height: 1.22rem;
  margin: 0;
  padding: 0;
  border-radius: 0.35rem;
  accent-color: var(--accent-text);
  -webkit-appearance: checkbox;
  appearance: checkbox;
}

.song-form .song-form-checkbox span {
  line-height: 1.1;
}

.song-form input,
.song-form textarea,
.song-form select,
.admin-filter-grid select,
.private-form textarea,
.private-form select,
.invite-lookup-form input,
.rsvp-form input,
.rsvp-form textarea,
.rsvp-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font: inherit;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.15rem;
  padding: 0.85rem 0.95rem;
}

.song-form input:focus-visible,
.song-form textarea:focus-visible,
.song-form select:focus-visible,
.admin-filter-grid select:focus-visible,
.private-form input:focus-visible,
.private-form textarea:focus-visible,
.private-form select:focus-visible,
.invite-lookup-form input:focus-visible,
.rsvp-form input:focus-visible,
.rsvp-form textarea:focus-visible,
.rsvp-form select:focus-visible {
  border-color: rgba(47, 107, 67, 0.38);
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(47, 107, 67, 0.08);
}

.song-form textarea {
  min-height: 7rem;
  resize: vertical;
}

.song-form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
  padding-top: 0.35rem;
}

.button-quiet,
.button-strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  min-height: 2.9rem;
  padding: 0.7rem 1rem;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.button-quiet {
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink-deep);
}

.button-strong {
  background: rgba(96, 131, 177, 0.1);
  color: var(--ink-deep);
}

.song-form-status {
  margin: 0;
  color: var(--accent-text);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  min-height: 1.2rem;
  text-transform: uppercase;
}

.venue-gallery-modal {
  width: min(70rem, calc(100% - 1.5rem));
  max-height: calc(100vh - 1.5rem);
  max-height: calc(100dvh - 1.5rem);
}

.venue-gallery-modal-inner {
  max-height: calc(100vh - 1.5rem);
  max-height: calc(100dvh - 1.5rem);
  overflow: auto;
  padding: clamp(1.15rem, 2.4vw, 1.75rem);
}

.venue-gallery-modal .venue-gallery-close {
  position: absolute;
  top: 0.95rem;
  right: 0.95rem;
  z-index: 3;
  min-height: 2.35rem;
  padding: 0.45rem 0.8rem;
  background: rgba(255, 255, 255, 0.84);
  font-size: 0.72rem;
}

.modal-bottom-close {
  display: flex;
  justify-content: center;
  margin-top: clamp(1rem, 2vw, 1.35rem);
  padding-top: clamp(0.9rem, 1.8vw, 1.2rem);
  border-top: 1px solid rgba(96, 131, 177, 0.14);
}

.modal-bottom-close .button-quiet {
  min-width: min(100%, 7.5rem);
}

.venue-gallery-modal .modal-bottom-close .venue-gallery-close {
  position: static;
  min-height: 2.35rem;
  padding: 0.45rem 0.8rem;
  background: rgba(255, 255, 255, 0.84);
  font-size: 0.72rem;
}

.venue-gallery-header {
  width: min(42rem, 100%);
  margin: 0 auto 1.05rem;
  padding: 0 3.8rem;
}

.venue-gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) repeat(2, minmax(0, 0.82fr));
  grid-template-rows: repeat(2, minmax(11rem, 1fr));
  gap: 0.75rem;
}

.venue-gallery-grid-compact {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.86fr);
  grid-template-rows: repeat(3, minmax(7.1rem, 1fr));
}

.venue-gallery-item {
  position: relative;
  min-height: 11rem;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(96, 131, 177, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.38);
}

.venue-gallery-card {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
  border-radius: inherit;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  overflow: hidden;
  text-align: inherit;
}

.venue-gallery-card:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: -5px;
}

.venue-gallery-card:hover img,
.venue-gallery-card:focus-visible img {
  transform: scale(1.018);
}

.venue-gallery-feature {
  grid-row: span 2;
  min-height: 22.75rem;
}

.venue-gallery-grid-compact .venue-gallery-feature {
  grid-row: span 3;
  min-height: 22.75rem;
}

.venue-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 220ms ease;
}

.venue-gallery-item::after {
  display: none;
}

.venue-gallery-caption,
.venue-gallery-item figcaption {
  display: none;
}

.venue-gallery-section-panel {
  width: min(52rem, 100%);
  margin: 0 auto;
}

.venue-gallery-section-header {
  display: grid;
  gap: 0.42rem;
  width: min(39rem, 100%);
  margin: 0 auto 0.95rem;
}

.venue-gallery-back {
  justify-self: start;
  min-height: 2.25rem;
  padding: 0.42rem 0.75rem;
  font-size: 0.72rem;
}

.venue-gallery-section-header h3 {
  margin: 0.15rem 0 0;
  color: var(--ink-deep);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.12rem, 2.3vw, 1.42rem);
  letter-spacing: 0.05em;
  line-height: 1.22;
  text-transform: uppercase;
}

.venue-gallery-section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.42;
}

.venue-gallery-section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  grid-auto-rows: minmax(10.5rem, 1fr);
  gap: 0.75rem;
}

.venue-gallery-section-feature {
  grid-row: span 2;
  min-height: 21.75rem;
}

.venue-history-modal {
  width: min(48rem, calc(100% - 1.5rem));
}

.venue-history-modal-inner {
  padding: clamp(1.2rem, 2.5vw, 1.9rem);
}

.venue-history-header {
  width: min(36rem, 100%);
}

.venue-history-timeline {
  display: grid;
  gap: 0.75rem;
  width: min(38rem, 100%);
  margin: 0 auto;
}

.venue-history-entry {
  display: grid;
  grid-template-columns: minmax(7.5rem, 0.32fr) minmax(0, 1fr);
  gap: 0.9rem;
  padding: 0.95rem 0;
  border-top: 1px solid rgba(96, 131, 177, 0.18);
}

.venue-history-date {
  margin: 0;
  color: var(--accent-text);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.venue-history-entry h3 {
  margin: 0 0 0.28rem;
  color: var(--ink-deep);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.98rem;
  letter-spacing: 0.05em;
  line-height: 1.25;
  text-transform: uppercase;
}

.venue-history-entry p:not(.venue-history-date) {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.45;
}

.venue-battlefield-modal {
  width: min(64rem, calc(100% - 1.5rem));
}

.venue-battlefield-modal-inner {
  padding: clamp(1.15rem, 2.4vw, 1.8rem);
}

.venue-battlefield-header {
  width: min(38rem, 100%);
}

.venue-battlefield-story {
  display: grid;
  gap: clamp(0.9rem, 2vw, 1.15rem);
  width: min(56rem, 100%);
  margin: 0 auto;
}

.venue-battlefield-hero,
.venue-battlefield-card-image {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(96, 131, 177, 0.08);
}

.venue-battlefield-hero {
  min-height: clamp(13rem, 32vw, 22rem);
  border-radius: 22px;
}

.venue-battlefield-hero img,
.venue-battlefield-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.venue-battlefield-intro {
  width: min(46rem, 100%);
  margin: 0 auto;
  text-align: center;
}

.venue-battlefield-intro p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.22rem);
  line-height: 1.5;
}

.venue-battlefield-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 0.85rem;
}

.venue-battlefield-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(96, 131, 177, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(78, 111, 159, 0.08);
}

.venue-battlefield-card-image {
  min-height: 10.75rem;
  border-radius: 0;
}

.venue-battlefield-card-image-portrait {
  min-height: 0;
  aspect-ratio: 1 / 1;
}

.venue-battlefield-card-image-portrait img {
  object-position: center top;
}

.venue-battlefield-card-copy {
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
}

.venue-battlefield-card-copy h3 {
  margin: 0;
  color: var(--ink-deep);
  font-family: "Cinzel", Georgia, serif;
  font-size: 1rem;
  letter-spacing: 0.045em;
  line-height: 1.24;
  text-transform: uppercase;
}

.venue-battlefield-card-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.45;
}

.venue-battlefield-quote {
  margin: 0;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(121, 164, 128, 0.22);
  border-radius: 18px;
  background: rgba(232, 241, 230, 0.52);
  color: var(--ink-deep);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.12rem, 2.5vw, 1.34rem);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

.private-shell {
  position: relative;
  z-index: 1;
}

.private-card,
.request-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(255, 249, 241, 0.92)),
    rgba(255, 252, 247, 0.9);
  background-size: auto, auto;
  background-position: center, center;
  box-shadow: 0 16px 40px rgba(112, 128, 152, 0.08);
}

.private-card {
  max-width: 76rem;
  margin: 0 auto 1.25rem;
  padding: 1.7rem;
  text-align: center;
}

.private-form {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.private-form label {
  display: grid;
  gap: 0.35rem;
  text-align: left;
  color: var(--ink-deep);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.private-form input {
  font-size: 1.12rem;
  padding: 0.8rem 0.95rem;
}

.private-error {
  margin: 0;
  color: #8c5c6a;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  min-height: 1.2rem;
  text-transform: uppercase;
}

.private-hint {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.requests-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.requests-grid {
  display: grid;
  gap: 0.9rem;
}

.request-card {
  padding: 1.25rem 1.3rem;
}

.request-card-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.45rem 0.9rem;
  margin-bottom: 0.55rem;
}

.request-guest {
  margin: 0;
  color: var(--ink-deep);
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.request-date,
.request-artist,
.request-note,
.requests-empty {
  margin: 0;
  color: var(--muted);
}

.request-song {
  margin: 0 0 0.3rem;
  color: var(--ink);
  font-size: 1.3rem;
}

.request-note {
  margin-top: 0.65rem;
}

.rsvp-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.1rem;
}

.rsvp-lookup-card {
  text-align: center;
}

.rsvp-lookup-form {
  display: grid;
  gap: 0.95rem;
  margin-top: 1rem;
}

.rsvp-lookup-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--ink-deep);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rsvp-access-card p:last-of-type {
  margin-bottom: 0;
}

.invite-lookup-form,
.rsvp-form {
  display: grid;
  gap: 0.95rem;
}

.rsvp-amendment-note {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.45;
  text-align: center;
}

.rsvp-choice-note {
  margin: -0.35rem auto 0.15rem;
  width: min(42rem, 100%);
  color: var(--accent-text);
  font-size: 1rem;
  line-height: 1.42;
  text-align: center;
}

.rsvp-confirmation-card {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
  padding: 1.1rem;
  border: 1px solid rgba(47, 107, 67, 0.2);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(246, 255, 248, 0.82), rgba(255, 254, 250, 0.94)),
    #fffefa;
  box-shadow: 0 14px 34px rgba(47, 107, 67, 0.07);
}

.rsvp-confirmation-card:focus {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.rsvp-confirmation-header {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.rsvp-confirmation-header .section-label,
.rsvp-confirmation-header h2,
.rsvp-confirmation-copy,
.rsvp-confirmation-next {
  margin: 0;
}

.rsvp-confirmation-header h2 {
  color: var(--ink-deep);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.rsvp-confirmation-mark {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 5.25rem;
  min-height: 2.35rem;
  padding: 0.44rem 0.78rem;
  border-radius: 999px;
  background: var(--accent-soft-strong);
  color: var(--accent-text);
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rsvp-confirmation-copy,
.rsvp-confirmation-next {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.36;
}

.rsvp-confirmation-copy {
  color: var(--ink);
}

.rsvp-confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.15rem;
}

.rsvp-confirmation-actions .button-quiet,
.rsvp-confirmation-actions .button-strong {
  flex: 1 1 12rem;
}

.rsvp-confirmation-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0;
}

.rsvp-confirmation-stats div {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
  padding: 0.75rem 0.8rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.64);
}

.rsvp-confirmation-stats dt {
  color: var(--accent-text);
  font-family: var(--font-label);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rsvp-confirmation-stats dd {
  margin: 0;
  color: var(--ink-deep);
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1;
}

.invite-lookup-form label,
.rsvp-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--ink-deep);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.invite-lookup-form {
  margin-top: 1rem;
}

.rsvp-household-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.rsvp-household-copy,
.admin-card-copy,
.admin-summary-copy {
  color: var(--muted);
}

.rsvp-status-pill,
.admin-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(96, 131, 177, 0.08);
  color: var(--ink-deep);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-status-badge.is-complete {
  background: rgba(134, 191, 150, 0.18);
}

.rsvp-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.member-response-stack {
  display: grid;
  gap: 1rem;
}

.member-response-card {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 249, 241, 0.82)),
    rgba(255, 255, 255, 0.54);
  background-size: auto, auto;
  background-position: center, center;
}

.member-response-summary {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.member-response-summary::-webkit-details-marker {
  display: none;
}

.member-response-summary::after {
  content: "Open";
  flex: 0 0 auto;
  min-width: 3.8rem;
  padding: 0.36rem 0.55rem;
  border-radius: 999px;
  background: rgba(96, 131, 177, 0.08);
  color: var(--ink-deep);
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.member-response-card[open] .member-response-summary::after {
  content: "Close";
}

.member-response-body {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.9rem;
}

.member-response-summary-meta {
  margin-left: auto;
  color: var(--accent-text);
  font-family: var(--font-label);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: right;
  text-transform: uppercase;
}

.member-response-name,
.admin-heading,
.admin-subheading {
  margin: 0;
  color: var(--ink-deep);
  font-family: "Cinzel", Georgia, serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  max-width: 100%;
  text-wrap: pretty;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.admin-heading {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
}

.admin-subheading {
  font-size: 1rem;
}

.member-response-name {
  font-size: 1.35rem;
}

.member-response-badge,
.admin-member-type {
  display: inline-flex;
  align-items: center;
  margin-left: 0.45rem;
  color: var(--sage);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  vertical-align: middle;
}

.admin-inline-child-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.admin-inline-child-toggle input {
  appearance: auto;
  -webkit-appearance: checkbox;
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--ink-deep);
}

.member-attending-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  width: 100%;
  min-height: 3.35rem;
  padding: 0.68rem 0.78rem 0.68rem 0.95rem;
  border: 1px solid rgba(96, 131, 177, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink-deep);
  cursor: pointer;
  font-family: var(--font-label);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.member-attending-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.member-attending-copy {
  display: grid;
  gap: 0.18rem;
}

.member-attending-status {
  color: var(--muted);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.member-attending-switch {
  position: relative;
  flex: 0 0 auto;
  width: 3.2rem;
  height: 1.72rem;
  border-radius: 999px;
  background: rgba(110, 127, 150, 0.22);
  transition: background-color 180ms ease;
}

.member-attending-switch::after {
  content: "";
  position: absolute;
  top: 0.22rem;
  left: 0.24rem;
  width: 1.28rem;
  height: 1.28rem;
  border-radius: 50%;
  background: #fffefa;
  box-shadow: 0 4px 12px rgba(78, 111, 159, 0.16);
  transition: transform 180ms ease;
}

.member-attending-toggle input:checked + .member-attending-switch {
  background: var(--accent-text);
}

.member-attending-toggle input:checked + .member-attending-switch::after {
  transform: translateX(1.42rem);
}

.member-attending-toggle:has(input:focus-visible) {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  border-color: rgba(47, 107, 67, 0.38);
}

.member-response-note {
  margin-top: 0;
  color: var(--muted);
}

.member-response-details[hidden] {
  display: none;
}

.member-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 0.9rem;
}

.rsvp-review-inner {
  width: min(46rem, calc(100vw - 2rem));
  display: flex;
  flex-direction: column;
  max-height: calc(100svh - 2rem);
}

.rsvp-review-list {
  display: grid;
  gap: 0.55rem;
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow: auto;
  padding: 0 0.2rem 0.1rem 0;
}

.rsvp-review-item {
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 249, 241, 0.82)),
    rgba(255, 255, 255, 0.56);
  background-size: auto, auto;
  background-position: center, center;
}

.rsvp-review-item-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.45rem 0.8rem;
  align-items: baseline;
  margin-bottom: 0.45rem;
}

.rsvp-review-item-heading h3 {
  margin: 0;
  color: var(--ink-deep);
  font-family: "Cinzel", Georgia, serif;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rsvp-review-item-heading span,
.rsvp-review-meals dt {
  color: var(--accent-text);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rsvp-review-status {
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--accent-soft-strong);
}

.rsvp-review-status.is-not-attending {
  background: rgba(159, 95, 102, 0.1);
  color: var(--rouge);
}

.rsvp-review-meals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem 0.75rem;
  margin: 0;
}

.rsvp-review-meals div {
  display: grid;
  gap: 0.15rem;
}

.rsvp-review-meals dd,
.rsvp-review-declined,
.rsvp-review-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.28;
}

.rsvp-review-note {
  margin-top: 0.45rem;
}

.rsvp-review-note strong {
  color: var(--ink-deep);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rsvp-review-reminder {
  margin: 0.45rem 0 0;
  color: var(--rouge);
  font-size: 0.86rem;
  line-height: 1.28;
}

.rsvp-review-actions {
  position: sticky;
  bottom: 0;
  margin: 0.7rem -0.35rem -0.35rem;
  padding: 0.8rem 0.35rem 0.35rem;
  background:
    linear-gradient(180deg, rgba(255, 254, 250, 0), #fffefa 28%),
    #fffefa;
  z-index: 2;
}

.admin-dashboard {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.85rem;
}

.admin-toolbar-card {
  text-align: left;
}

.admin-tab-list {
  position: static;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.48rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 249, 241, 0.92)),
    rgba(255, 252, 247, 0.92);
  box-shadow: 0 8px 26px rgba(78, 111, 159, 0.08);
}

.admin-tab-button {
  flex: 1 1 9rem;
  min-height: 2.45rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.admin-tab-button:hover,
.admin-tab-button:focus-visible,
.admin-tab-button.is-active {
  border-color: rgba(96, 131, 177, 0.2);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-deep);
  outline: none;
}

[data-admin-panel][hidden] {
  display: none !important;
}

.admin-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

.admin-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem 1rem;
  margin-top: 0.9rem;
}

.admin-toolbar-status {
  margin: 0;
}

.admin-diagnostics {
  margin-top: 0.9rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(85, 124, 173, 0.18);
  background: rgba(255, 255, 255, 0.82);
  text-align: left;
}

.admin-diagnostics p {
  margin: 0;
  color: var(--ink-soft);
}

.admin-diagnostics p + p {
  margin-top: 0.45rem;
}

.admin-diagnostics-success {
  border-color: rgba(143, 198, 160, 0.32);
  background: rgba(249, 253, 250, 0.92);
}

.admin-diagnostics-error {
  border-color: rgba(171, 108, 108, 0.28);
  background: rgba(255, 248, 247, 0.96);
}

.admin-diagnostics-error p {
  color: #8b5e61;
}

.admin-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.admin-summary-card {
  padding: 0.75rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 249, 241, 0.82)),
    rgba(255, 255, 255, 0.54);
  background-size: auto, auto;
  background-position: center, center;
}

.admin-summary-value {
  margin: 0.18rem 0 0.16rem;
  color: var(--ink-deep);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1;
}

.admin-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.1rem;
}

.admin-insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.admin-list-card,
.admin-editor-card,
.admin-meals-card,
.admin-tables-card,
.admin-music-card,
.admin-insight-card,
.admin-filter-card {
  text-align: left;
}

.admin-insight-card {
  min-height: 100%;
}

.admin-section-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.85rem;
  align-items: start;
}

.admin-section-header-tight {
  align-items: center;
  margin-bottom: 0.65rem;
}

.household-list,
.member-editor-list {
  display: grid;
  gap: 0.9rem;
}

.household-card {
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 249, 241, 0.82)),
    rgba(255, 255, 255, 0.54);
  background-size: auto, auto;
  background-position: center, center;
}

.household-dashboard-list .household-card {
  padding: 1.25rem;
}

.household-card-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.85rem;
  align-items: start;
}

.household-member-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.85rem 0;
}

.admin-badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.admin-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  margin: 0.6rem 0 0.85rem;
}

.admin-member-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.34rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.household-actions,
.music-request-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.admin-table-wrap {
  margin-top: 0.75rem;
  overflow-x: auto;
  overflow-y: visible;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(255, 249, 241, 0.84)),
    rgba(255, 255, 255, 0.54);
  background-size: auto, auto;
  background-position: center, center;
}

.admin-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  margin-top: 0.72rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(96, 131, 177, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
}

.admin-pagination[hidden] {
  display: none !important;
}

.admin-pagination-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.2;
  text-align: center;
}

.admin-pagination-status span {
  display: block;
  margin-top: 0.1rem;
  color: var(--accent-text);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-pagination-button {
  min-width: 5.75rem;
  padding-inline: 0.8rem;
}

.admin-pagination-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.admin-household-table {
  width: 100%;
  min-width: 1080px;
  border-collapse: separate;
  border-spacing: 0;
}

.admin-music-table {
  min-width: 900px;
}

.admin-household-table th,
.admin-household-table td {
  padding: 0.34rem 0.48rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(96, 131, 177, 0.14);
  font-size: 0.76rem;
  line-height: 1.24;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.admin-household-table tbody tr {
  position: relative;
}

.admin-household-summary-row.is-menu-open {
  z-index: 60;
}

.admin-household-table th {
  color: var(--accent-text);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

.admin-actions-header,
.admin-table-actions-cell {
  width: 7.25rem;
  text-align: center;
}

.admin-table-actions-cell {
  position: relative;
  vertical-align: top;
  overflow: visible;
}

.admin-household-summary-row.is-menu-open .admin-table-actions-cell {
  z-index: 70;
}

.admin-table-control-cluster {
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.28rem;
  isolation: isolate;
}

.admin-household-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-household-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.28);
}

.admin-table-title {
  margin: 0;
  color: var(--ink-deep);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.7rem;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  line-height: 1.18;
  max-width: 100%;
  text-wrap: pretty;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.admin-table-copy {
  margin: 0.14rem 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.22;
}

.admin-table-tools {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) minmax(10rem, 14rem) auto;
  gap: 0.65rem;
  align-items: end;
  margin-top: 0.85rem;
}

.admin-table-tools label {
  display: grid;
  gap: 0.3rem;
  color: var(--ink-deep);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-table-tools input,
.admin-table-tools select {
  min-height: 2.65rem;
  padding: 0.64rem 0.74rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1rem;
}

.admin-sort-button {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
  text-transform: inherit;
}

.admin-sort-button::after {
  content: attr(data-sort-marker);
  min-width: 0.65rem;
  color: var(--ink-deep);
}

.admin-sort-button:hover,
.admin-sort-button:focus-visible,
.admin-sort-button.is-active {
  color: var(--ink-deep);
  outline: none;
}

.admin-table-note-line {
  margin: 0.12rem 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.24;
}

.admin-table-note-line strong {
  color: var(--ink-deep);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.6rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.admin-priority-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.16rem 0.48rem;
  border: 1px solid rgba(47, 107, 67, 0.2);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.58rem;
  letter-spacing: 0.05em;
  line-height: 1.25;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-note-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 0.28rem 0.48rem;
  border: 1px solid rgba(96, 131, 177, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-deep);
  cursor: pointer;
  font: inherit;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.56rem;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-note-button:hover,
.admin-note-button:focus-visible {
  background: rgba(96, 131, 177, 0.1);
  outline: none;
}

.admin-expand-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.34rem 0.62rem;
  border: 1px solid rgba(96, 131, 177, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-deep);
  cursor: pointer;
  font: inherit;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.56rem;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-expand-button:hover,
.admin-expand-button:focus-visible {
  background: rgba(96, 131, 177, 0.1);
  outline: none;
}

.admin-status-icon-button {
  display: inline-grid;
  place-items: center;
  width: 1.7rem;
  min-width: 1.7rem;
  height: 1.9rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1;
}

.admin-status-icon-button:hover,
.admin-status-icon-button:focus-visible {
  background: rgba(96, 131, 177, 0.1);
  outline: none;
}

.admin-status-pill-button {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  max-width: 100%;
  min-height: 1.85rem;
  padding: 0.28rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.66rem;
  line-height: 1.1;
  text-align: left;
}

.admin-status-pill-button span:first-child {
  display: inline-grid;
  place-items: center;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  background: rgba(96, 131, 177, 0.08);
  color: inherit;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
}

.admin-status-pill-button:hover,
.admin-status-pill-button:focus-visible {
  background: rgba(96, 131, 177, 0.1);
  outline: none;
}

.admin-status-icon-button.has-outstanding,
.admin-status-icon-awaiting {
  color: #8c5c6a;
}

.admin-status-icon-attending,
.admin-status-icon-mixed,
.admin-status-icon-declined {
  color: var(--sage);
}

.admin-table-issues {
  color: #8c5c6a;
}

.button-quiet-compact {
  padding: 0.42rem 0.66rem;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.admin-invite-cell {
  display: grid;
  grid-template-columns: 4.35rem minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
  min-width: 0;
}

.admin-qr-thumb {
  display: grid;
  place-items: center;
  width: 4.2rem;
  height: 4.2rem;
  padding: 0.32rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  cursor: pointer;
}

.admin-qr-thumb svg {
  display: block;
  width: 100%;
  height: auto;
}

.admin-qr-thumb span {
  color: var(--ink);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.admin-invite-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.admin-household-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  margin-top: 0.6rem;
}

.admin-row-menu {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  min-width: 1.7rem;
}

.admin-row-menu[open] {
  z-index: 80;
}

.admin-row-menu-toggle {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  min-width: 1.7rem;
  height: 1.9rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.92rem;
  line-height: 1;
  letter-spacing: 0;
  cursor: pointer;
}

.admin-row-menu-toggle::-webkit-details-marker {
  display: none;
}

.admin-row-menu-panel {
  position: absolute;
  top: calc(100% + 0.32rem);
  right: 0;
  z-index: 90;
  width: min(9.75rem, 72vw);
  margin-top: 0;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 252, 247, 0.98);
  box-shadow: 0 20px 46px rgba(68, 86, 112, 0.18);
  text-align: left;
}

.admin-row-menu-label {
  margin: 0;
  color: var(--accent-text);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-row-menu-copy {
  margin: 0.18rem 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.22;
}

.admin-row-menu-actions {
  display: grid;
  gap: 0.12rem;
  margin-top: 0.45rem;
}

.admin-row-menu-item {
  width: 100%;
  padding: 0.34rem 0.45rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-align: left;
  text-transform: uppercase;
}

.admin-row-menu-item:hover,
.admin-row-menu-item:focus-visible {
  background: rgba(96, 131, 177, 0.1);
  outline: none;
}

.admin-row-menu-item-danger {
  color: #8c5c6a;
}

.admin-household-detail-modal {
  width: min(74rem, calc(100% - 2rem));
}

.admin-household-detail-inner {
  display: grid;
  gap: 1rem;
}

.admin-household-detail-topbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.85rem 1rem;
  align-items: start;
}

.admin-household-detail-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(17rem, 0.8fr);
  align-items: start;
}

.admin-household-detail-panel {
  position: relative;
  overflow: hidden;
  padding: 1.25rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 249, 241, 0.84)),
    rgba(255, 255, 255, 0.6);
  background-size: auto, auto;
  background-position: center, center;
}

.admin-household-detail-panel > * {
  position: relative;
  z-index: 1;
}

.admin-household-detail-panel::before,
.admin-household-detail-panel::after {
  content: "";
  position: absolute;
  width: 6rem;
  height: 6rem;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.12;
  pointer-events: none;
}

.admin-household-detail-panel::before {
  top: -0.8rem;
  left: -0.8rem;
  background-image: var(--floral-top-left);
}

.admin-household-detail-panel::after {
  right: -0.8rem;
  bottom: -0.8rem;
  background-image: var(--floral-bottom-right);
}

.admin-household-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.2rem 0 0.85rem;
}

.admin-household-detail-text,
.admin-household-detail-token {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.admin-household-detail-text,
.admin-household-detail-token {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  white-space: nowrap;
}

.admin-household-detail-token {
  margin-top: 0.5rem;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-household-detail-notes {
  margin-top: 0.75rem;
}

.admin-household-detail-notes p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.admin-household-detail-notes p + p {
  margin-top: 0.45rem;
}

.admin-household-detail-actions {
  justify-content: flex-start;
  margin-top: 1rem;
}

.admin-household-qr-panel {
  text-align: center;
}

.admin-household-qr-frame {
  display: grid;
  place-items: center;
  min-height: 15rem;
  margin-top: 0.35rem;
  padding: 1rem;
  border: 1px solid rgba(96, 131, 177, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
}

.admin-household-qr-frame svg {
  display: block;
  width: min(100%, 18rem);
  height: auto;
}

.admin-household-qr-fallback {
  margin: 0;
  color: var(--muted);
}

.admin-household-qr-copy {
  margin-top: 0.75rem;
}

.admin-household-detail-table-wrap {
  margin-top: 0.85rem;
}

.admin-household-detail-table {
  min-width: 0;
}

#household-table th:nth-child(1),
#household-table td:nth-child(1) { width: 20%; }

#household-table th:nth-child(2),
#household-table td:nth-child(2) { width: 14%; }

#household-table th:nth-child(3),
#household-table td:nth-child(3),
#household-table th:nth-child(4),
#household-table td:nth-child(4),
#household-table th:nth-child(5),
#household-table td:nth-child(5),
#household-table th:nth-child(6),
#household-table td:nth-child(6) { width: 7%; }

#household-table th:nth-child(7),
#household-table td:nth-child(7) { width: 13%; }

#household-table th:nth-child(8),
#household-table td:nth-child(8) { width: 13%; }

#household-table th:nth-child(9),
#household-table td:nth-child(9) { width: 12%; }

.admin-household-detail-row > td {
  padding: 0;
  background: rgba(255, 255, 255, 0.32);
}

.admin-household-inline-detail {
  padding: 0.65rem;
}

.admin-household-member-table {
  min-width: 760px;
  border: 1px solid rgba(96, 131, 177, 0.12);
  border-radius: 16px;
  overflow: hidden;
}

.admin-household-member-table th:nth-child(1),
.admin-household-member-table td:nth-child(1) {
  width: 17%;
}

.admin-household-member-table th:nth-child(3),
.admin-household-member-table td:nth-child(3),
.admin-household-member-table th:nth-child(4),
.admin-household-member-table td:nth-child(4),
.admin-household-member-table th:nth-child(5),
.admin-household-member-table td:nth-child(5) {
  width: 19%;
}

.admin-household-member-table th:nth-child(2),
.admin-household-member-table td:nth-child(2) {
  width: 7%;
}

.admin-note-modal {
  width: min(42rem, calc(100% - 2rem));
}

.admin-response-modal {
  width: min(82rem, calc(100% - 2rem));
}

.admin-editor-modal {
  width: min(58rem, calc(100% - 2rem));
  max-height: calc(100vh - 1.5rem);
  max-height: calc(100svh - 1.5rem);
  overflow: hidden;
}

.admin-response-modal-inner,
.admin-response-form,
.admin-editor-modal-inner {
  display: grid;
  gap: 1rem;
}

.admin-editor-modal-inner {
  max-height: calc(100vh - 1.5rem);
  max-height: calc(100svh - 1.5rem);
  overflow-y: auto !important;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
}

.admin-response-member-list {
  display: grid;
  gap: 0.85rem;
}

.admin-response-member-card {
  position: relative;
  overflow: hidden;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(255, 249, 241, 0.88)),
    rgba(255, 255, 255, 0.72);
}

.admin-response-member-card > * {
  position: relative;
  z-index: 1;
}

.admin-response-member-card::before,
.admin-response-member-card::after {
  content: "";
  position: absolute;
  width: 5.8rem;
  height: 5.8rem;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.11;
  pointer-events: none;
}

.admin-response-member-card::before {
  top: -1rem;
  left: -1rem;
  background-image: var(--floral-top-left);
}

.admin-response-member-card::after {
  right: -1rem;
  bottom: -1rem;
  background-image: var(--floral-bottom-right);
}

.admin-response-member-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 16rem);
  gap: 0.85rem 1rem;
  align-items: end;
}

.admin-response-member-name {
  margin: 0;
  color: var(--blue);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.05rem, 1.8vw, 1.42rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.12;
  text-transform: uppercase;
}

.admin-response-member-copy {
  margin: 0.25rem 0 0;
  color: var(--muted);
  line-height: 1.35;
}

.admin-response-meals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.admin-response-dietary-label {
  margin-top: 0.75rem;
}

.admin-response-member-card:not(.is-attending) .admin-response-meals,
.admin-response-member-card:not(.is-attending) .admin-response-dietary-label {
  display: none;
}

.admin-response-member-card.is-declined {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 246, 246, 0.88)),
    rgba(255, 255, 255, 0.72);
}

.admin-response-member-card.is-pending {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(250, 250, 246, 0.9)),
    rgba(255, 255, 255, 0.72);
}

.admin-note-modal-inner {
  display: grid;
  gap: 1rem;
}

.admin-note-modal-content {
  display: grid;
  gap: 0.85rem;
}

.admin-note-modal-entry {
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
}

.admin-note-modal-entry p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.admin-note-modal-entry .section-label {
  margin-bottom: 0.35rem;
  font-size: 0.7rem;
}

.admin-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.95rem;
  margin-top: 1rem;
}

.admin-filter-grid label {
  display: grid;
  gap: 0.35rem;
  color: var(--ink-deep);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-check-option {
  display: flex !important;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.56);
}

.admin-check-option input {
  width: 1rem;
  height: 1rem;
  margin: 0;
}

.admin-compact-list {
  display: grid;
  gap: 0.8rem;
  max-height: 18rem;
  overflow: auto;
  padding-right: 0.15rem;
}

.admin-meal-total-list {
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  max-height: none;
}

.admin-compact-group + .admin-compact-group {
  margin-top: 0.35rem;
}

.admin-compact-bullets {
  list-style: none;
  padding: 0;
  margin: 0.45rem 0 0;
  display: grid;
  gap: 0.4rem;
}

.admin-compact-item {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: start;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.54);
}

.admin-compact-item-card {
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.54);
}

.admin-compact-title {
  margin: 0 0 0.25rem;
  color: var(--ink-deep);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.admin-compact-copy {
  margin: 0;
  color: var(--muted);
}

.admin-compact-count {
  color: var(--ink-deep);
  font-family: "Cinzel", Georgia, serif;
  font-size: 1rem;
}

.admin-member-response-table {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.95rem;
}

.admin-member-response-head,
.admin-member-response-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.admin-member-response-head {
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(96, 131, 177, 0.14);
  color: var(--accent-text);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-member-response-row {
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.54);
}

.admin-member-response-name,
.admin-member-response-status {
  margin: 0;
}

.admin-member-response-name {
  color: var(--ink-deep);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.98rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.admin-member-response-status {
  color: var(--muted);
}

.admin-member-response-meals,
.admin-member-response-notes {
  display: grid;
  gap: 0.25rem;
}

.admin-member-response-meals p,
.admin-member-response-notes p {
  margin: 0;
}

.admin-household-note,
.admin-issue-list {
  margin-top: 0.95rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
}

.admin-household-note {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.56);
}

.admin-household-note p:last-child {
  margin: 0.35rem 0 0;
}

.admin-issue-list {
  border: 1px solid rgba(140, 92, 106, 0.16);
  background: rgba(140, 92, 106, 0.06);
}

.admin-issue-item {
  margin: 0;
  color: #8c5c6a;
}

.admin-issue-item + .admin-issue-item {
  margin-top: 0.4rem;
}

.household-editor-form {
  margin-top: 0.2rem;
}

.household-editor-form #household-admin-note {
  min-height: 4.65rem;
  resize: vertical;
}

.household-editor-start {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: end;
}

.household-editor-start .button-strong {
  min-width: 12rem;
}

.household-editor-details {
  display: grid;
  gap: 0.85rem;
}

.household-editor-details[hidden] {
  display: none;
}

.admin-link-preview {
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.54);
}

.admin-link-preview-text {
  margin: 0.4rem 0 0;
  color: var(--muted);
  display: block;
  max-width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  word-break: normal;
}

.member-editor-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.75rem;
  align-items: end;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.54);
}

.admin-child-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.8rem;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.admin-child-toggle input {
  appearance: auto;
  -webkit-appearance: checkbox;
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--ink-deep);
}

.member-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0;
}

.music-request-status-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.85rem;
  align-items: center;
}

.table-planner-form {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) minmax(7rem, 10rem) auto;
  gap: 0.75rem;
  align-items: end;
  margin-top: 0.9rem;
}

.table-planner-board {
  display: grid;
  gap: 0.62rem;
  margin-top: 0.85rem;
}

.table-planner-blade {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 249, 241, 0.88)),
    rgba(255, 255, 255, 0.64);
}

.table-planner-blade.is-dragging {
  opacity: 0.58;
}

.table-planner-blade.has-unsaved-changes {
  border-color: rgba(174, 108, 72, 0.34);
}

.table-planner-blade[data-drop-position="before"] {
  box-shadow: inset 0 4px 0 rgba(96, 131, 177, 0.7);
}

.table-planner-blade[data-drop-position="after"] {
  box-shadow: inset 0 -4px 0 rgba(96, 131, 177, 0.7);
}

.table-planner-blade-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: stretch;
  padding: 0.42rem;
}

.table-planner-drag-handle {
  display: inline-grid;
  place-items: center;
  width: 2.65rem;
  min-height: 2.65rem;
  border: 1px solid rgba(96, 131, 177, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--accent-text);
  cursor: grab;
  font: inherit;
  touch-action: none;
  user-select: none;
}

.table-planner-drag-handle:active {
  cursor: grabbing;
}

.table-planner-drag-handle:hover,
.table-planner-drag-handle:focus-visible {
  background: rgba(96, 131, 177, 0.1);
  outline: none;
}

.table-planner-drag-handle span {
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.9rem;
  letter-spacing: 0;
  line-height: 1;
  transform: rotate(90deg);
}

.table-planner-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 0.65rem;
  align-items: center;
  width: 100%;
  min-height: 2.65rem;
  padding: 0.48rem 0.7rem;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.table-planner-summary:hover,
.table-planner-summary:focus-visible {
  background: rgba(96, 131, 177, 0.1);
  outline: none;
}

.table-planner-summary::before {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border: 1px solid rgba(96, 131, 177, 0.18);
  border-radius: 999px;
  color: var(--accent-text);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.86rem;
}

.table-planner-blade.is-expanded .table-planner-summary::before {
  content: "-";
}

.table-planner-name {
  min-width: 0;
  color: var(--ink-deep);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  line-height: 1.15;
  text-transform: uppercase;
}

.table-planner-meta,
.table-planner-updated {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.15;
  white-space: nowrap;
}

.table-planner-meta {
  color: var(--accent-text);
  font-family: "Cinzel", Georgia, serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.table-planner-blade.has-unsaved-changes .table-planner-updated {
  color: #8b4c2d;
}

.table-planner-panel {
  display: grid;
  gap: 0.85rem;
  padding: 0.2rem 0.75rem 0.85rem;
}

.table-planner-panel[hidden] {
  display: none;
}

.table-planner-edit-row {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) minmax(7rem, 10rem) auto;
  gap: 0.65rem;
  align-items: end;
}

.table-planner-edit-row label,
.table-seat-picker {
  display: grid;
  gap: 0.3rem;
  color: var(--ink-deep);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.table-planner-edit-row input,
.table-seat-picker select {
  width: 100%;
  min-height: 2.45rem;
  padding: 0.56rem 0.66rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 0.96rem;
}

.table-seat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  gap: 0.55rem;
}

.table-seat-picker {
  padding: 0.65rem;
  border: 1px solid rgba(96, 131, 177, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.48);
}

@media (max-width: 760px) {
  .table-planner-form,
  .table-planner-edit-row,
  .table-planner-blade-top,
  .table-planner-summary {
    grid-template-columns: 1fr;
  }

  .table-planner-drag-handle {
    width: 100%;
  }

  .table-planner-summary::before {
    display: none;
  }

  .table-planner-meta,
  .table-planner-updated {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .quick-section,
  .section-stack,
  .page-rsvp-cta {
    animation: surface-rise 560ms ease both;
  }

  .quick-section {
    animation-delay: 70ms;
  }

  .section-stack {
    animation-delay: 140ms;
  }

  .quick-facts-grid .fact-card,
  .info-grid-home .detail-link-card {
    animation: card-arrive 520ms ease both;
  }

  .quick-facts-grid .fact-card:nth-child(2),
  .info-grid-home .detail-link-card:nth-child(2) {
    animation-delay: 60ms;
  }

  .quick-facts-grid .fact-card:nth-child(3),
  .info-grid-home .detail-link-card:nth-child(3) {
    animation-delay: 110ms;
  }

  .quick-facts-grid .fact-card:nth-child(4),
  .info-grid-home .detail-link-card:nth-child(4) {
    animation-delay: 160ms;
  }

  @keyframes surface-rise {
    from {
      opacity: 0.001;
      transform: translateY(14px) scale(0.992);
    }

    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  @keyframes card-arrive {
    from {
      opacity: 0.001;
      transform: translateY(12px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (min-width: 980px) {
  .rsvp-page .page-shell-inner {
    width: min(1180px, calc(100% - 7rem));
    padding-top: calc(var(--floating-nav-reserve) + var(--floating-nav-gap));
  }

  .rsvp-page .page-header {
    padding: 0.5rem 0 1.15rem;
  }

  .rsvp-page .page-title {
    font-size: clamp(2.1rem, 2.65vw, 2.8rem);
  }

  .rsvp-page .page-subtitle {
    width: min(54rem, 100%);
    margin-top: 0.65rem;
    font-size: 1.12rem;
    line-height: 1.38;
  }

  .rsvp-page .rsvp-shell {
    width: 100%;
    max-width: 74rem;
    margin-inline: auto;
    gap: 0.8rem;
  }

  .rsvp-page .rsvp-shell .content-card {
    padding: 1.25rem 1.35rem;
    border-radius: 22px;
  }

  .rsvp-page .rsvp-form {
    gap: 0.75rem;
  }

  .rsvp-page .rsvp-amendment-note {
    font-size: 0.98rem;
    line-height: 1.34;
  }

  .rsvp-page .member-response-stack {
    gap: 0.75rem;
  }

  .rsvp-page .member-response-card {
    padding: 1rem 1.1rem;
    border-radius: 18px;
  }

  .rsvp-page .member-response-summary {
    align-items: center;
    gap: 0.65rem 1rem;
  }

  .rsvp-page .member-response-name {
    font-size: 1.1rem;
  }

  .rsvp-page .member-attending-toggle {
    min-height: 3rem;
    font-size: 0.7rem;
  }

  .rsvp-page .member-menu-grid {
    gap: 0.55rem 0.75rem;
    margin-bottom: 0.65rem;
  }

  .rsvp-page .rsvp-form label {
    gap: 0.25rem;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
  }

  .rsvp-page .rsvp-form input,
  .rsvp-page .rsvp-form textarea,
  .rsvp-page .rsvp-form select {
    border-radius: 12px;
    font-size: 1rem;
    padding: 0.62rem 0.72rem;
  }

  .rsvp-page .rsvp-form textarea {
    min-height: 5.25rem;
  }

  .content-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .content-card {
    grid-column: span 4;
  }

  .content-card-wide,
  .content-card-span-12 {
    grid-column: 1 / -1;
  }

  .content-card-span-8 {
    grid-column: span 8;
  }

  .content-card-span-9 {
    grid-column: span 9;
  }

  .content-card-span-7 {
    grid-column: span 7;
  }

  .content-card-span-6 {
    grid-column: span 6;
  }

  .content-card-span-5 {
    grid-column: span 5;
  }

  .content-card-span-4 {
    grid-column: span 4;
  }

  .content-card-span-3 {
    grid-column: span 3;
  }

  .timeline-layout {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .timeline-group + .timeline-group {
    margin-top: 0;
  }

  .admin-summary-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .household-editor-form {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }

  .household-editor-form > input[type="hidden"],
  .household-editor-form > .admin-link-preview,
  .household-editor-form > div:not(.admin-link-preview),
  .household-editor-form > .song-form-status,
  .household-editor-form > .song-form-actions {
    grid-column: 1 / -1;
  }

  .requests-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .rsvp-page .page-shell-inner {
    width: min(1160px, calc(100% - 10rem));
  }

  .rsvp-page .rsvp-shell {
    max-width: 70rem;
  }

  .page-shell-inner {
    width: min(1580px, calc(100% - 4rem));
  }

  .content-grid {
    gap: 1.35rem;
  }

  .content-card {
    padding: 1.8rem 1.75rem;
  }

  .admin-dashboard .content-card {
    padding: 1.25rem;
  }

  .content-card h2 {
    font-size: clamp(1.08rem, 1.4vw, 1.45rem);
  }

  .content-card p,
  .content-list {
    font-size: 1.02rem;
  }

  .action-row {
    justify-content: flex-start;
  }

  .action-row .action-button {
    flex: 0 1 15rem;
    max-width: 17rem;
  }

  .page-rsvp-cta {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) auto;
    grid-template-areas:
      "label button"
      "heading button"
      "copy button";
    align-items: center;
    gap: 0.35rem 1.75rem;
    padding: 1.85rem 2rem;
    text-align: left;
  }

  .page-rsvp-cta .section-label {
    grid-area: label;
  }

  .page-rsvp-cta h2 {
    grid-area: heading;
    margin: 0.1rem 0 0.35rem;
  }

  .page-rsvp-cta p {
    grid-area: copy;
    width: 100%;
    margin: 0;
  }

  .page-rsvp-button {
    grid-area: button;
    justify-self: end;
    align-self: center;
    min-width: 15rem;
    max-width: none;
    margin: 0;
  }

  .song-modal {
    width: min(64rem, calc(100% - 2rem));
  }

  .song-modal-inner {
    padding: 1.85rem 1.95rem;
  }

  .private-card {
    max-width: 88rem;
    padding: 1.9rem;
  }

  .admin-insights-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .admin-insight-card {
    grid-column: span 4;
  }

  .admin-table-wrap {
    margin-top: 1.15rem;
  }
}

@media (max-width: 720px) {
  :root {
    --floating-nav-top: calc(0.45rem + env(safe-area-inset-top, 0px));
    --floating-nav-reserve: 6.85rem;
    --floating-nav-gap: 0.7rem;
  }

  html,
  body {
    background-size: auto;
    background-position: center;
  }

  .page-shell {
    width: min(100% - 1rem, 1100px);
    padding-top: calc(var(--floating-nav-reserve) + var(--floating-nav-gap));
  }

  .hero-topbar,
  .page-header-topbar {
    width: min(calc(100% - 1rem), 58rem);
    align-items: center;
  }

  .header-nav {
    width: 100%;
    max-width: 100%;
    padding: 0.45rem 0.55rem;
    gap: 0.25rem 0.35rem;
    border-radius: 22px;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 249, 241, 0.9)),
      rgba(255, 252, 247, 0.88);
    box-shadow: 0 18px 50px rgba(78, 111, 159, 0.16);
  }

  .header-nav a {
    min-height: 2rem;
    padding: 0.35rem 0.48rem;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }

  .page-rsvp-button {
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding: 0.85rem;
    border-radius: var(--card-radius);
    background-size: auto;
    background-position: center;
  }

  .hero-copy {
    padding: clamp(1.1rem, 5vw, 1.65rem) 0.45rem clamp(1.45rem, 6vw, 2rem);
    gap: 0.72rem;
  }

  .hero-copy-home {
    min-height: clamp(22rem, 50svh, 29rem);
    align-content: center;
  }

  h1 {
    font-size: clamp(4.7rem, 19vw, 6.8rem);
  }

  .intro {
    font-size: clamp(1.22rem, 5vw, 1.5rem);
    line-height: 1.44;
  }

  .hero::before {
    top: -2rem;
    left: -2.2rem;
    width: clamp(11.5rem, 48vw, 16rem);
    height: clamp(11.5rem, 48vw, 16rem);
    transform: none;
    opacity: 0.76;
  }

  .hero::after {
    right: -2.3rem;
    bottom: -2.2rem;
    width: clamp(12rem, 50vw, 16.5rem);
    height: clamp(12rem, 50vw, 16.5rem);
    opacity: 0.68;
  }

  .page-header {
    padding-top: 0.7rem;
  }

  .page-title {
    width: min(100%, 16ch);
    font-size: clamp(1.55rem, 7.9vw, 2.2rem);
    letter-spacing: 0.035em;
  }

  .quick-facts-grid,
  .content-grid,
  .info-grid {
    gap: 0.85rem;
  }

  .quick-section,
  .section-stack {
    margin-top: 1.35rem;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .quick-section::before,
  .quick-section::after,
  .section-stack::before,
  .section-stack::after {
    content: none;
  }

  .fact-card {
    min-height: 8.25rem;
    padding: 1rem 0.8rem;
    border-radius: var(--card-radius);
    background-size: auto;
    box-shadow: var(--card-shadow-save-the-date);
  }

  .fact-value {
    font-size: clamp(1.02rem, 4.7vw, 1.28rem);
    line-height: 1.25;
  }

  .content-card,
  .detail-card {
    padding: 1.3rem;
    background-size: auto;
    box-shadow: var(--card-shadow-save-the-date);
  }

  .fact-card::before,
  .fact-card::after,
  .detail-card::before,
  .detail-card::after,
  .content-card::before,
  .content-card::after,
  .page-rsvp-cta::before,
  .page-rsvp-cta::after,
  .private-card::before,
  .private-card::after,
  .request-card::before,
  .request-card::after {
    width: clamp(7.6rem, 34vw, 10.5rem);
    height: clamp(7.6rem, 34vw, 10.5rem);
  }

  .fact-card::before,
  .detail-card::before,
  .content-card::before,
  .page-rsvp-cta::before,
  .private-card::before,
  .request-card::before {
    top: -3.65rem;
    left: -3.65rem;
  }

  .fact-card::after,
  .detail-card::after,
  .content-card::after,
  .page-rsvp-cta::after,
  .private-card::after,
  .request-card::after {
    right: -3.65rem;
    bottom: -3.65rem;
  }

  .detail-card {
    min-height: 12.4rem;
    justify-content: center;
  }

  .detail-card h2 {
    font-size: clamp(1.18rem, 6.2vw, 1.56rem);
  }

  .detail-card p {
    font-size: clamp(1.1rem, 4.8vw, 1.3rem);
  }

  .action-button {
    flex-basis: 100%;
  }

  .page-subtitle {
    font-size: 1.15rem;
  }

  .rsvp-review-modal .song-modal-inner {
    padding: 1.3rem 1.1rem;
  }

  .rsvp-review-modal .song-modal-header {
    gap: 0.35rem;
  }

  .rsvp-review-modal .song-modal-title {
    font-size: 1.25rem;
  }

  .rsvp-review-modal .song-modal-copy {
    font-size: 0.98rem;
    line-height: 1.28;
  }

  .rsvp-review-list {
    max-height: min(62vh, 32rem);
  }

  .rsvp-review-item {
    padding: 0.62rem 0.68rem;
  }

  .rsvp-review-item-heading h3 {
    font-size: 0.88rem;
  }

  .rsvp-review-item-heading span,
  .rsvp-review-meals dt {
    font-size: 0.62rem;
    letter-spacing: 0.07em;
  }

  .rsvp-review-meals {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.3rem;
  }

  .rsvp-review-meals dd,
  .rsvp-review-note,
  .rsvp-review-declined {
    font-size: 0.82rem;
    line-height: 1.22;
  }

  .content-card p,
  .content-list {
    font-size: 1.08rem;
  }

  .rsvp-form-grid,
  .member-menu-grid,
  .admin-summary-grid,
  .admin-layout-grid,
  .admin-household-detail-grid,
  .admin-member-response-head,
  .admin-member-response-row {
    grid-template-columns: 1fr;
  }

  .admin-toolbar-actions,
  .admin-badge-row {
    justify-content: stretch;
  }

  .admin-toolbar-actions .button-quiet,
  .admin-badge-row .admin-status-badge {
    width: 100%;
  }

  .admin-table-wrap {
    border-radius: 18px;
  }

  .admin-tab-list {
    position: static;
    border-radius: 20px;
  }

  .admin-tab-button {
    flex-basis: calc(50% - 0.25rem);
  }

  .admin-table-tools {
    grid-template-columns: 1fr;
  }

  .household-editor-start {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .household-editor-start .button-strong {
    width: 100%;
    min-width: 0;
  }

  .admin-household-table {
    min-width: 980px;
  }

  .member-response-card,
  .household-card,
  .member-editor-row {
    grid-template-columns: 1fr;
    align-items: stretch;
    padding: 1.15rem;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .section-intro h2 {
    font-size: 1.35rem;
  }

  .footer-nav {
    gap: 0.55rem 0.9rem;
    font-size: 0.88rem;
  }

  .song-modal {
    width: calc(100% - 1rem);
  }

  .song-modal-inner,
  .private-card,
  .request-card,
  .admin-household-detail-panel {
    padding: 1.2rem;
  }

  .venue-gallery-modal {
    width: calc(100% - 0.75rem);
    max-height: calc(100vh - 0.75rem);
    max-height: calc(100dvh - 0.75rem);
  }

  .venue-gallery-modal-inner {
    max-height: calc(100vh - 0.75rem);
    max-height: calc(100dvh - 0.75rem);
    padding: 1rem;
  }

  .venue-gallery-modal .venue-gallery-close {
    top: 0.75rem;
    right: 0.75rem;
  }

  .venue-gallery-header {
    padding: 2.2rem 0 0;
    text-align: left;
  }

  .venue-gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 0.7rem;
  }

  .venue-gallery-grid-compact {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .venue-gallery-feature {
    grid-row: auto;
    min-height: 15rem;
  }

  .venue-gallery-item {
    min-height: 13rem;
    border-radius: 16px;
  }

  .venue-gallery-section-header {
    margin-bottom: 0.8rem;
  }

  .venue-gallery-section-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 0.7rem;
  }

  .venue-gallery-section-feature {
    grid-row: auto;
    min-height: 15rem;
  }

  .venue-history-entry {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 0.8rem 0;
  }

  .venue-history-date {
    font-size: 0.72rem;
  }

  .venue-battlefield-story {
    gap: 0.85rem;
  }

  .venue-battlefield-hero {
    min-height: 12.75rem;
    border-radius: 18px;
  }

  .venue-battlefield-grid {
    grid-template-columns: 1fr;
  }

  .venue-battlefield-card-image {
    min-height: 10rem;
  }

  .venue-battlefield-card-copy {
    padding: 0.9rem;
  }

  .travel-poi-row {
    grid-template-columns: 1fr;
    gap: 0.42rem;
    align-items: start;
  }

  .travel-poi-links {
    justify-content: flex-start;
  }

  .song-form-actions,
  .requests-toolbar {
    justify-content: stretch;
  }

  .song-form-actions .button-quiet,
  .song-form-actions .button-strong,
  .requests-toolbar .button-quiet {
    width: 100%;
  }

  .map-frame iframe {
    min-height: 300px;
  }
}

/* Clean card base with only the real Save The Date seed artwork layered back in. */
.hero,
.fact-card,
.detail-card,
.content-card,
.page-rsvp-cta,
.song-modal,
.private-card,
.request-card,
.member-response-card,
.rsvp-review-item,
.admin-summary-card,
.household-card,
.admin-household-detail-panel,
.admin-response-member-card,
.admin-link-preview,
.member-editor-row {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 0 !important;
  border-radius: 24px !important;
  background: #fffefa !important;
  background-image: none !important;
  box-shadow: 0 14px 34px rgba(78, 111, 159, 0.045) !important;
}

.hero,
.song-modal {
  border-radius: 28px !important;
}

.detail-link-card:hover,
.detail-link-card:focus-visible,
.fact-card:hover,
.fact-card:focus-within {
  box-shadow: 0 16px 38px rgba(78, 111, 159, 0.065) !important;
}

.hero > *,
.fact-card > *,
.detail-card > *,
.content-card > *,
.page-rsvp-cta > *,
.song-modal-inner > *,
.private-card > *,
.request-card > *,
.member-response-card > *,
.rsvp-review-item > *,
.admin-summary-card > *,
.household-card > *,
.admin-household-detail-panel > *,
.admin-response-member-card > *,
.admin-link-preview > *,
.member-editor-row > * {
  position: relative;
  z-index: 1;
}

.hero::before,
.hero::after,
.fact-card::before,
.fact-card::after,
.detail-card::before,
.detail-card::after,
.content-card::before,
.content-card::after,
.menu-modal::before,
.menu-modal::after,
.page-rsvp-cta::before,
.page-rsvp-cta::after,
.song-modal-inner::before,
.song-modal-inner::after,
.private-card::before,
.private-card::after,
.request-card::before,
.request-card::after,
.member-response-card::before,
.member-response-card::after,
.rsvp-review-item::before,
.rsvp-review-item::after,
.admin-summary-card::before,
.admin-summary-card::after,
.household-card::before,
.household-card::after,
.admin-household-detail-panel::before,
.admin-household-detail-panel::after,
.admin-response-member-card::before,
.admin-response-member-card::after,
.admin-link-preview::before,
.admin-link-preview::after,
.member-editor-row::before,
.member-editor-row::after {
  content: none !important;
}

:where(body:not(.newlywed-page)) .hero::before,
:where(body:not(.newlywed-page)) .hero::after,
:where(body:not(.newlywed-page)) .fact-card::after,
:where(body:not(.newlywed-page)) .detail-card::before,
:where(body:not(.newlywed-page)) .detail-card::after,
:where(body:not(.newlywed-page)) .content-card::before,
:where(body:not(.newlywed-page)) .content-card::after,
:where(body:not(.newlywed-page)) .page-rsvp-cta::before,
:where(body:not(.newlywed-page)) .page-rsvp-cta::after,
:where(body:not(.newlywed-page)) .private-card::before,
:where(body:not(.newlywed-page)) .private-card::after,
:where(body:not(.newlywed-page)) .request-card::before,
:where(body:not(.newlywed-page)) .request-card::after {
  content: "" !important;
  position: absolute;
  z-index: 0;
  background-image: var(--save-the-date-seed);
  background-repeat: no-repeat;
  pointer-events: none;
  mix-blend-mode: multiply;
}

:where(body:not(.newlywed-page)) .hero::before {
  top: 0;
  left: 0;
  width: clamp(17rem, 28vw, 23rem);
  height: clamp(17rem, 28vw, 23rem);
  background-position: left top;
  background-size: clamp(46rem, 77vw, 62rem) auto;
  opacity: 0.54;
}

:where(body:not(.newlywed-page)) .hero::after {
  right: 0;
  bottom: 0;
  width: clamp(18rem, 32vw, 26rem);
  height: clamp(22rem, 40vw, 32rem);
  background-position: right bottom;
  background-size: clamp(48rem, 80vw, 65rem) auto;
  opacity: 0.58;
}

:where(body:not(.newlywed-page)) .detail-card::before,
:where(body:not(.newlywed-page)) .content-card::before,
:where(body:not(.newlywed-page)) .page-rsvp-cta::before,
:where(body:not(.newlywed-page)) .private-card::before,
:where(body:not(.newlywed-page)) .request-card::before {
  top: 0;
  left: 0;
  width: clamp(8rem, 18vw, 14rem);
  height: clamp(8rem, 18vw, 14rem);
  background-position: left top;
  background-size: clamp(25rem, 48vw, 38rem) auto;
  opacity: 0.22;
}

:where(body:not(.newlywed-page)) .fact-card::after,
:where(body:not(.newlywed-page)) .detail-card::after,
:where(body:not(.newlywed-page)) .content-card::after,
:where(body:not(.newlywed-page)) .page-rsvp-cta::after,
:where(body:not(.newlywed-page)) .private-card::after,
:where(body:not(.newlywed-page)) .request-card::after {
  right: 0;
  bottom: 0;
  width: clamp(9rem, 21vw, 16rem);
  height: clamp(11rem, 26vw, 20rem);
  background-position: right bottom;
  background-size: clamp(26rem, 52vw, 42rem) auto;
  opacity: 0.34;
}

:where(body:not(.newlywed-page)) .fact-card::after {
  width: clamp(7rem, 15vw, 9.5rem);
  height: clamp(8rem, 18vw, 11rem);
  background-size: clamp(22rem, 38vw, 30rem) auto;
  opacity: 0.24;
}

.hero-topbar,
.page-header-topbar {
  position: fixed !important;
  top: var(--floating-nav-top) !important;
  left: 50% !important;
  width: min(calc(100% - 2rem), 72rem) !important;
  transform: translateX(-50%) !important;
  z-index: 9999 !important;
  isolation: isolate !important;
  pointer-events: none !important;
}

.hero-topbar::before,
.page-header-topbar::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: calc(var(--floating-nav-top) + var(--floating-nav-reserve) + var(--floating-nav-gap) + 0.8rem);
  background:
    linear-gradient(180deg, #f9f4ec 0%, #f9f4ec 72%, rgba(249, 244, 236, 0) 100%),
    linear-gradient(90deg, rgba(134, 191, 150, 0.08), #fffefa, rgba(134, 191, 150, 0.07));
  pointer-events: none;
  z-index: 0;
}

.newlywed-page .page-shell {
  padding-top: 1rem !important;
}

.newlywed-page .page-header-topbar {
  position: static !important;
  top: auto !important;
  left: auto !important;
  width: 100% !important;
  transform: none !important;
  z-index: auto !important;
  margin-bottom: 1rem;
  pointer-events: auto !important;
}

.newlywed-page .page-header-topbar::before {
  content: none;
}

.header-nav {
  position: relative !important;
  z-index: 1 !important;
  border: 1px solid rgba(96, 131, 177, 0.18) !important;
  border-radius: 999px !important;
  background:
    linear-gradient(145deg, #ffffff, #fff9f1),
    #fffefa !important;
  background-clip: padding-box !important;
  box-shadow: 0 18px 48px rgba(78, 111, 159, 0.14) !important;
  pointer-events: auto !important;
}

.quick-section,
.section-stack,
.page-section,
.content-section {
  scroll-margin-top: calc(var(--floating-nav-top) + var(--floating-nav-reserve) + var(--floating-nav-gap) + 1.5rem);
}

@media (max-width: 720px) {
  .hero,
  .song-modal {
    border-radius: 24px !important;
  }

  .fact-card,
  .detail-card,
  .content-card,
  .page-rsvp-cta,
  .private-card,
  .request-card,
  .member-response-card,
  .rsvp-review-item,
  .admin-summary-card,
  .household-card,
  .admin-household-detail-panel,
  .admin-response-member-card,
  .admin-link-preview,
  .member-editor-row {
    border-radius: 18px !important;
  }
}

@media (max-width: 720px) {
  :root {
    --floating-nav-reserve: 4.35rem;
    --floating-nav-gap: 0.55rem;
  }

  html {
    scroll-padding-top: calc(var(--floating-nav-reserve) + 1rem);
  }

  .page-shell,
  .page-shell-inner {
    padding-top: calc(var(--floating-nav-reserve) + var(--floating-nav-gap));
  }

  .guest-page-home .page-shell {
    padding-top: calc(var(--floating-nav-top) + 2.35rem);
  }

  .hero-topbar,
  .page-header-topbar {
    width: min(calc(100% - 0.7rem), 58rem) !important;
  }

  .header-nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    max-width: 100%;
    min-height: 3.05rem;
    padding: 0.36rem 0.42rem !important;
    gap: 0.24rem;
    border-radius: 999px !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .header-nav::-webkit-scrollbar {
    display: none;
  }

  .header-nav a {
    flex: 0 0 auto;
    order: 3;
    min-height: 2.08rem;
    padding: 0.34rem 0.48rem;
    font-size: 0.64rem;
    letter-spacing: 0.045em;
    white-space: nowrap;
  }

  .header-nav a[href="./index.html"] {
    order: 0;
  }

  .header-nav [data-rsvp-context-link] {
    order: 1;
  }

  .header-nav [data-admin-dashboard-link] {
    order: 2;
  }

  .header-nav [data-rsvp-context-link],
  .header-nav [data-admin-dashboard-link] {
    background: var(--accent-soft-strong);
    color: var(--accent-text);
  }

  .header-nav [data-admin-dashboard-link] {
    border-color: rgba(47, 107, 67, 0.2);
  }

  .member-response-summary {
    align-items: flex-start;
    gap: 0.55rem;
  }

  .member-response-name {
    font-size: 1.05rem;
  }

  .member-response-summary-meta {
    font-size: 0.64rem;
    line-height: 1.25;
  }

  .member-response-summary::after {
    min-width: 3.2rem;
    font-size: 0.58rem;
  }

  .member-attending-toggle {
    align-items: center;
    padding: 0.62rem 0.68rem;
  }

  .member-attending-status {
    font-size: 0.94rem;
  }

  .rsvp-confirmation-card {
    padding: 1rem;
  }

  .rsvp-confirmation-header {
    align-items: flex-start;
  }

  .rsvp-confirmation-header h2 {
    font-size: 1.25rem;
  }

  .rsvp-confirmation-mark {
    width: 3.8rem;
    min-height: 2.1rem;
    font-size: 0.62rem;
  }

  .rsvp-confirmation-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rsvp-confirmation-stats div {
    padding: 0.68rem;
  }

  .rsvp-confirmation-stats dd {
    font-size: 1.25rem;
  }

  .rsvp-review-modal {
    width: calc(100% - 0.75rem);
    max-height: calc(100svh - 0.75rem);
  }

  .rsvp-review-inner {
    max-height: calc(100svh - 0.75rem);
  }

  .rsvp-review-list {
    gap: 0.68rem;
  }

  .rsvp-review-meals {
    grid-template-columns: 1fr;
    gap: 0.48rem;
  }

  .rsvp-review-meals div {
    padding: 0.52rem 0.58rem;
    border-radius: 14px;
    background: rgba(96, 131, 177, 0.06);
  }

  .rsvp-review-actions {
    justify-content: stretch;
  }

  .rsvp-review-actions .button-quiet,
  .rsvp-review-actions .button-strong {
    width: 100%;
  }
}

/* Compact inner-page chrome: more filebar, less zeppelin. */
body:not(.newlywed-page) .page-shell-inner {
  padding-top: calc(3.85rem + env(safe-area-inset-top, 0px)) !important;
}

body:not(.newlywed-page) .page-header {
  display: grid;
  gap: 0.34rem;
  padding: 0.05rem 0 0.95rem !important;
}

body:not(.newlywed-page) .page-header .eyebrow {
  color: rgba(47, 107, 67, 0.54);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
}

body:not(.newlywed-page) .page-title {
  width: min(100%, 32rem) !important;
  font-size: clamp(1.18rem, 2.1vw, 1.78rem) !important;
  line-height: 1.08 !important;
  letter-spacing: 0.105em !important;
  text-shadow: 0 5px 18px rgba(255, 252, 247, 0.82);
}

body:not(.newlywed-page) .page-subtitle {
  width: min(37rem, 100%) !important;
  margin: 0.25rem auto 0 !important;
  font-size: clamp(1rem, 1.45vw, 1.12rem) !important;
  line-height: 1.36 !important;
}

.guest-page-venue .page-header > .eyebrow,
.guest-page-venue .page-header > .page-title,
.guest-page-accommodation .page-header > .eyebrow,
.guest-page-accommodation .page-header > .page-title,
.guest-page-menu .page-header > .eyebrow,
.guest-page-menu .page-header > .page-title,
.guest-page-travel .page-header > .eyebrow,
.guest-page-travel .page-header > .page-title {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.guest-page-venue .page-header,
.guest-page-accommodation .page-header,
.guest-page-menu .page-header,
.guest-page-travel .page-header {
  gap: 0 !important;
  padding-bottom: clamp(0.7rem, 2vw, 1.05rem) !important;
}

.guest-page-venue .page-subtitle,
.guest-page-accommodation .page-subtitle,
.guest-page-menu .page-subtitle,
.guest-page-travel .page-subtitle {
  margin-top: 0 !important;
}

body:not(.newlywed-page) .hero-topbar::before,
body:not(.newlywed-page) .page-header-topbar::before {
  height: calc(var(--floating-nav-top) + 3.7rem);
  background:
    linear-gradient(180deg, #f9f4ec 0%, rgba(249, 244, 236, 0.97) 62%, rgba(249, 244, 236, 0) 100%),
    linear-gradient(90deg, rgba(134, 191, 150, 0.06), #fffefa, rgba(134, 191, 150, 0.05));
}

body:not(.newlywed-page) .header-nav {
  gap: 0.14rem 0.32rem !important;
  padding: 0.28rem 0.52rem !important;
  border-radius: 18px !important;
  box-shadow: 0 9px 24px rgba(78, 111, 159, 0.1) !important;
}

body:not(.newlywed-page) .header-nav a {
  min-height: 1.78rem !important;
  padding: 0.23rem 0.5rem !important;
  border-radius: 14px !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.07em !important;
}

@media (max-width: 720px) {
  body:not(.newlywed-page) .page-shell-inner {
    padding-top: calc(3.65rem + env(safe-area-inset-top, 0px)) !important;
  }

  body:not(.newlywed-page) .page-header {
    padding-bottom: 0.78rem !important;
  }

  body:not(.newlywed-page) .page-title {
    width: min(100%, 22rem) !important;
    font-size: clamp(1.12rem, 5.2vw, 1.48rem) !important;
    letter-spacing: 0.08em !important;
  }

  body:not(.newlywed-page) .page-subtitle {
    font-size: 1rem !important;
    line-height: 1.34 !important;
  }

  body:not(.newlywed-page) .hero-topbar::before,
  body:not(.newlywed-page) .page-header-topbar::before {
    height: calc(var(--floating-nav-top) + 3.45rem);
  }

  body:not(.newlywed-page) .header-nav {
    min-height: 2.45rem !important;
    padding: 0.28rem 0.35rem !important;
    border-radius: 16px !important;
  }

  body:not(.newlywed-page) .header-nav a {
    min-height: 1.78rem !important;
    padding: 0.22rem 0.42rem !important;
    font-size: 0.61rem !important;
  }
}

/* Compact home facts: these are quick particulars, not feature panels. */
body:not(.newlywed-page) .quick-section {
  margin-top: clamp(1.05rem, 2.4vw, 1.75rem);
}

body:not(.newlywed-page) .quick-section .section-intro {
  margin-bottom: clamp(0.72rem, 1.45vw, 0.98rem);
}

body:not(.newlywed-page) .quick-section .section-intro h2 {
  font-size: clamp(1.36rem, 2.25vw, 1.86rem);
  letter-spacing: 0.075em;
}

body:not(.newlywed-page) .quick-section .section-intro::after {
  width: min(12rem, 42vw);
  margin-top: clamp(0.45rem, 0.9vw, 0.62rem);
}

body:not(.newlywed-page) .quick-facts-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.56rem, 1.25vw, 0.86rem);
  align-items: stretch;
}

body:not(.newlywed-page) .quick-facts-grid .fact-card {
  display: grid;
  align-content: center;
  min-height: clamp(5.1rem, 7.5vw, 6.5rem) !important;
  padding: clamp(0.78rem, 1.35vw, 1rem) clamp(0.65rem, 1.3vw, 0.95rem) !important;
  border-radius: clamp(18px, 2vw, 24px) !important;
}

body:not(.newlywed-page) .quick-facts-grid .fact-label {
  margin-bottom: 0.2rem;
  font-size: clamp(0.66rem, 0.9vw, 0.75rem);
  letter-spacing: 0.14em;
}

body:not(.newlywed-page) .quick-facts-grid .fact-value {
  font-size: clamp(1.04rem, 1.72vw, 1.4rem);
  line-height: 1.18;
}

body:not(.newlywed-page) .quick-facts-grid .fact-card::after {
  width: clamp(4.8rem, 9.5vw, 6.7rem);
  height: clamp(5.4rem, 11vw, 7.7rem);
  background-size: clamp(16rem, 29vw, 22rem) auto;
  opacity: 0.16;
}

@media (max-width: 960px) {
  body:not(.newlywed-page) .quick-facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:not(.newlywed-page) .quick-facts-grid .fact-card {
    min-height: clamp(5rem, 18vw, 6.2rem) !important;
  }
}

@media (max-width: 380px) {
  body:not(.newlywed-page) .quick-facts-grid {
    grid-template-columns: 1fr;
  }

  body:not(.newlywed-page) .quick-facts-grid .fact-card {
    min-height: 0 !important;
    padding: 0.82rem 0.74rem !important;
  }
}

/* Floating nav layer: topmost, self-masking, and still softer than a banner. */
body:not(.newlywed-page) .hero-topbar::before,
body:not(.newlywed-page) .page-header-topbar::before {
  position: absolute !important;
  inset: -0.52rem auto auto 50% !important;
  width: min(calc(100% + 1rem), 62rem);
  height: clamp(3rem, 5.2vw, 3.75rem) !important;
  transform: translateX(-50%);
  border-radius: 999px;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 252, 247, 0.62) 0%,
    rgba(249, 244, 236, 0.34) 48%,
    rgba(249, 244, 236, 0) 76%
  ) !important;
  filter: blur(10px);
  pointer-events: none;
}

body:not(.newlywed-page) .hero-topbar,
body:not(.newlywed-page) .page-header-topbar {
  z-index: 2147483000 !important;
  will-change: transform;
}

body:not(.newlywed-page) .header-nav {
  isolation: isolate;
  border-color: rgba(96, 131, 177, 0.14) !important;
  background:
    linear-gradient(145deg, #ffffff, #fff9f1),
    #fffefa !important;
  box-shadow: 0 10px 28px rgba(78, 111, 159, 0.085) !important;
  backdrop-filter: blur(10px) saturate(1.04);
  -webkit-backdrop-filter: blur(10px) saturate(1.04);
}

body:not(.newlywed-page) .header-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 249, 241, 0.96)),
    #fffefa;
  pointer-events: none;
}

body:not(.newlywed-page) .header-nav > * {
  position: relative;
  z-index: 1;
}

/* RSVP review modal: use the panel, preserve the choices, keep actions clear. */
.rsvp-review-modal {
  width: min(82rem, calc(100vw - 1.5rem)) !important;
  max-width: none;
  max-height: calc(100svh - 1.5rem) !important;
  overflow: hidden;
}

.rsvp-review-modal .rsvp-review-inner {
  width: 100%;
  height: min(52rem, calc(100svh - 1.5rem));
  max-height: calc(100svh - 1.5rem) !important;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(0.85rem, 1.5vw, 1.2rem);
  overflow: hidden;
  padding: clamp(1.1rem, 2vw, 1.75rem) !important;
}

.rsvp-review-modal .song-modal-header {
  width: min(58rem, 100%);
  margin: 0 auto;
}

.rsvp-review-modal .song-modal-title {
  font-size: clamp(1.45rem, 3vw, 2.35rem);
}

.rsvp-review-modal .song-modal-copy {
  max-width: 58rem;
  margin-inline: auto;
  font-size: clamp(1.02rem, 1.7vw, 1.24rem);
  line-height: 1.36;
}

.rsvp-review-modal .rsvp-review-list {
  min-height: 0;
  max-height: none !important;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: grid;
  align-content: start;
  gap: clamp(0.7rem, 1.1vw, 0.95rem);
  padding: 0.08rem 0.28rem 0.2rem 0;
  scrollbar-gutter: stable;
}

.rsvp-review-modal .rsvp-review-item {
  overflow: visible !important;
  padding: clamp(0.95rem, 1.45vw, 1.25rem) !important;
  border-radius: 20px !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 249, 241, 0.9)),
    #fffefa !important;
}

.rsvp-review-modal .rsvp-review-item-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.65rem 1rem;
}

.rsvp-review-modal .rsvp-review-item-heading h3 {
  min-width: 0;
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
  overflow-wrap: anywhere;
}

.rsvp-review-modal .rsvp-review-status {
  justify-self: end;
  white-space: nowrap;
}

.rsvp-review-modal .rsvp-review-meals {
  grid-template-columns: repeat(3, minmax(9rem, 1fr)) !important;
  gap: clamp(0.55rem, 1vw, 0.8rem);
}

.rsvp-review-modal .rsvp-review-meals div {
  min-width: 0;
  padding: 0.62rem 0.68rem;
  border-radius: 14px;
  background: rgba(96, 131, 177, 0.055);
}

.rsvp-review-modal .rsvp-review-meals dd,
.rsvp-review-modal .rsvp-review-note,
.rsvp-review-modal .rsvp-review-declined {
  font-size: clamp(0.94rem, 1.35vw, 1.08rem);
  line-height: 1.34;
  overflow-wrap: anywhere;
}

.rsvp-review-modal .rsvp-review-actions {
  position: static;
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin: 0;
  padding: clamp(0.75rem, 1.2vw, 0.95rem) 0 0;
  border-top: 1px solid rgba(96, 131, 177, 0.14);
  background: transparent;
  z-index: auto;
}

.rsvp-review-modal .rsvp-review-actions .button-quiet,
.rsvp-review-modal .rsvp-review-actions .button-strong {
  width: auto;
  min-width: min(100%, 13rem);
}

@media (max-width: 820px) {
  .rsvp-review-modal {
    width: calc(100vw - 0.75rem) !important;
    max-height: calc(100svh - 0.75rem) !important;
    border-radius: 22px !important;
  }

  .rsvp-review-modal .rsvp-review-inner {
    height: calc(100svh - 0.75rem);
    max-height: calc(100svh - 0.75rem) !important;
    gap: 0.75rem;
    padding: 0.9rem !important;
  }

  .rsvp-review-modal .song-modal-header {
    text-align: left;
  }

  .rsvp-review-modal .song-modal-title {
    font-size: clamp(1.18rem, 7vw, 1.58rem);
    line-height: 1.08;
  }

  .rsvp-review-modal .song-modal-copy {
    font-size: 0.98rem;
    line-height: 1.3;
  }

  .rsvp-review-modal .rsvp-review-list {
    gap: 0.7rem;
    padding-right: 0.12rem;
  }

  .rsvp-review-modal .rsvp-review-item {
    padding: 0.82rem !important;
    border-radius: 18px !important;
  }

  .rsvp-review-modal .rsvp-review-item-heading {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .rsvp-review-modal .rsvp-review-status {
    justify-self: start;
  }

  .rsvp-review-modal .rsvp-review-meals {
    grid-template-columns: 1fr !important;
    gap: 0.48rem;
  }

  .rsvp-review-modal .rsvp-review-meals div {
    padding: 0.56rem 0.62rem;
  }

  .rsvp-review-modal .rsvp-review-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
    padding-top: 0.72rem;
  }

  .rsvp-review-modal .rsvp-review-actions .button-quiet,
  .rsvp-review-modal .rsvp-review-actions .button-strong {
    width: 100%;
    min-width: 0;
  }
}

/* Guest-facing layout rail and responsive polish. */
.guest-page {
  --guest-content-rail: min(100%, 1500px);
  overflow-x: hidden;
}

.guest-page .page-shell,
.guest-page .page-shell-inner {
  padding-bottom: 0;
}

.guest-page :where(.content-grid, .page-rsvp-cta, .site-help-note, .site-footer, .quick-section, .section-stack) {
  width: var(--guest-content-rail);
  margin-left: auto;
  margin-right: auto;
}

.guest-page a:not(.header-nav a) {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.guest-page :where(
  .page-shell,
  .page-shell-inner,
  .content-grid,
  .info-grid,
  .quick-facts-grid,
  .timeline-layout,
  .timeline-group,
  .timeline-item,
  .content-card,
  .detail-card,
  .page-rsvp-cta,
  .site-help-note,
  .action-row,
  .map-frame,
  .rsvp-shell,
  .rsvp-form,
  .rsvp-form-grid,
  .member-response-stack,
  .member-response-card,
  .member-response-summary,
  .member-response-body,
  .member-menu-grid,
  .member-attending-toggle
) {
  min-width: 0;
  max-width: 100%;
}

.guest-page :where(
  .page-title,
  .page-subtitle,
  .section-intro h2,
  .content-card h2,
  .content-card p,
  .content-list,
  .practical-address,
  .timeline-heading,
  .timeline-time,
  .timeline-copy,
  .menu-choice h3,
  .menu-choice p,
  .action-button,
  .page-rsvp-button,
  .map-note,
  .rsvp-amendment-note,
  .rsvp-choice-note,
  .rsvp-household-copy,
  .member-response-name,
  .member-response-summary-meta,
  .member-attending-copy,
  .member-attending-status
) {
  overflow-wrap: anywhere;
  word-break: normal;
}

.guest-page .info-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  grid-auto-flow: row;
}

@media (min-width: 1200px) {
  .guest-page-home .info-grid-home {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(0.85rem, 1.05vw, 1.15rem);
  }

  .guest-page-home .info-grid-home .detail-link-card {
    min-height: clamp(13.25rem, 15vw, 15.4rem);
    padding: clamp(1.18rem, 1.35vw, 1.45rem) clamp(0.9rem, 1.15vw, 1.18rem);
    border-radius: clamp(20px, 1.7vw, 24px);
  }

  .guest-page-home .info-grid-home .detail-link-card h2 {
    margin-block: 0.24rem 0.42rem;
    font-size: clamp(1.04rem, 1.24vw, 1.32rem);
    line-height: 1.14;
  }

  .guest-page-home .info-grid-home .detail-link-card p:not(.section-label) {
    font-size: clamp(0.95rem, 1.02vw, 1.06rem);
    line-height: 1.38;
  }

  .guest-page-home .info-grid-home .detail-link-card .section-label {
    margin-bottom: 0.32rem;
    font-size: clamp(0.64rem, 0.68vw, 0.72rem);
  }
}

.guest-page .content-grid > *,
.guest-page .info-grid > * {
  min-width: 0;
}

.guest-page .action-row {
  width: 100%;
}

.guest-page .action-button {
  flex: 1 1 min(100%, 12rem);
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.18;
}

.guest-page:not(.rsvp-page) .content-card {
  text-align: center;
}

.guest-page:not(.rsvp-page) .content-card :where(
  h2,
  h3,
  p,
  .section-label,
  .menu-modal-kicker,
  .practical-address,
  .map-note,
  .tiny-context-link
) {
  margin-left: auto;
  margin-right: auto;
}

.guest-page:not(.rsvp-page) .content-card :where(.content-list) {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  padding-left: 0;
  list-style: none;
  text-align: center;
}

.guest-page:not(.rsvp-page) .content-card .content-list li {
  max-width: min(100%, 42rem);
}

.guest-page:not(.rsvp-page) .content-card .content-list li + li {
  margin-top: 0;
}

.guest-page:not(.rsvp-page) .content-card .content-list li::before {
  content: "\2022";
  margin-right: 0.45rem;
  color: var(--ink-deep);
}

.guest-page:not(.rsvp-page) .content-card :where(.action-row, .action-row-left) {
  justify-content: center;
}

.guest-page:not(.rsvp-page) .timeline-group,
.guest-page:not(.rsvp-page) .timeline-item {
  text-align: center;
}

.guest-page:not(.rsvp-page) .timeline-item {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 0.25rem;
}

.guest-page:not(.rsvp-page) .timeline-copy {
  max-width: 22rem;
}

.guest-page :where(.content-card, .page-rsvp-cta, .quick-section, .section-stack, .travel-map-card) {
  scroll-margin-top: calc(var(--floating-nav-top) + var(--floating-nav-reserve) + var(--floating-nav-gap) + 1.25rem);
}

.guest-page-travel .travel-map-card {
  gap: clamp(0.65rem, 1.4vw, 1rem);
  scroll-margin-top: calc(var(--floating-nav-top) + var(--floating-nav-reserve) + var(--floating-nav-gap) + 2rem);
}

.guest-page-travel .map-frame {
  display: grid;
  gap: 0;
  margin-top: clamp(1.4rem, 2.4vw, 2rem);
  background: rgba(255, 255, 255, 0.76);
}

.guest-page-travel .map-frame iframe {
  display: block;
  height: clamp(19rem, 42vw, 29rem);
  min-height: 0;
}

.guest-page-travel .map-enable-button {
  position: static;
  width: min(calc(100% - 1.5rem), 19rem);
  margin: 0.75rem auto 0.9rem;
  transform: none;
  white-space: normal;
  line-height: 1.15;
}

.guest-page-travel .map-note {
  margin-top: 0.2rem;
}

.guest-page-travel .travel-poi-guide {
  margin-top: 0.1rem;
  text-align: center;
}

.guest-page-travel .travel-poi-links {
  justify-content: center;
}

.guest-page-travel .travel-map-card .action-row {
  justify-content: center;
}

.rsvp-page .member-response-summary > *,
.rsvp-page .member-response-body > *,
.rsvp-page .member-menu-grid > *,
.rsvp-page .rsvp-form-grid > * {
  min-width: 0;
}

.rsvp-page .member-response-name {
  line-height: 1.16;
}

.rsvp-page .member-response-badge {
  white-space: normal;
}

.rsvp-page .member-menu-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}

@media (max-width: 979px) {
  .guest-page .content-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)) !important;
  }

  .guest-page :where(
    .content-card,
    .content-card-span-3,
    .content-card-span-4,
    .content-card-span-5,
    .content-card-span-6,
    .content-card-span-7,
    .content-card-span-8,
    .content-card-span-9
  ) {
    grid-column: auto !important;
  }

  .guest-page :where(.content-card-wide, .content-card-span-12) {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 720px) {
  .guest-page .page-shell,
  .guest-page .page-shell-inner {
    width: min(100% - 0.75rem, 1100px);
  }

  .guest-page .content-grid,
  .guest-page .info-grid {
    grid-template-columns: 1fr !important;
  }

  .guest-page .content-card,
  .guest-page .detail-card,
  .guest-page .page-rsvp-cta {
    padding: clamp(1rem, 4.2vw, 1.25rem);
  }

  .guest-page .site-help-note {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-top: 0.9rem;
    padding: 0.95rem 0.15rem 1rem;
    text-align: center;
  }

  .guest-page .site-help-actions {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .guest-page .site-help-card {
    min-height: 3.25rem;
    padding: 0.52rem 0.62rem;
  }

  .guest-page .action-row {
    justify-content: stretch;
  }

  .guest-page .action-button {
    flex-basis: 100%;
    width: 100%;
  }

  .guest-page-home .hero {
    padding: 0.72rem;
  }

  .guest-page-home .hero-copy {
    gap: 0.58rem;
    padding: clamp(0.9rem, 4vw, 1.25rem) 0.35rem clamp(1.05rem, 4.8vw, 1.55rem);
  }

  .guest-page-home .hero-copy-home {
    min-height: clamp(17.75rem, 42svh, 23.5rem);
  }

  .guest-page-home .save-the-date-wordmark {
    width: min(100%, clamp(11.25rem, 42vw, 14rem));
  }

  .guest-page-home .date {
    font-size: clamp(1.02rem, 4.3vw, 1.32rem);
    letter-spacing: 0.16em;
  }

  .guest-page-home .hero-divider {
    width: min(13rem, 48vw);
  }

  .guest-page-home .intro {
    width: min(31rem, 100%);
    font-size: clamp(1.02rem, 4.15vw, 1.18rem);
    line-height: 1.34;
  }

  .guest-page-travel .map-frame iframe {
    height: clamp(16rem, 58svh, 22rem);
  }

  .rsvp-page .rsvp-form-grid,
  .rsvp-page .member-menu-grid {
    grid-template-columns: 1fr !important;
  }

  .rsvp-page .member-response-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 0.45rem 0.65rem;
  }

  .rsvp-page .member-response-summary-meta {
    grid-column: 1 / -1;
    margin-left: 0;
    text-align: left;
  }

  .rsvp-page .member-response-summary::after {
    justify-self: end;
  }

  .rsvp-page .member-response-name {
    font-size: clamp(1rem, 5vw, 1.18rem);
  }

  .rsvp-page .member-attending-toggle {
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.72rem;
  }

  .rsvp-page .member-attending-copy {
    min-width: 0;
  }

  .rsvp-page .song-form-actions {
    justify-content: stretch;
  }

  .rsvp-page .song-form-actions .button-quiet,
  .rsvp-page .song-form-actions .button-strong {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .guest-page .page-shell,
  .guest-page .page-shell-inner {
    width: min(100% - 0.5rem, 1100px);
  }

  .guest-page-home .hero-copy-home {
    min-height: clamp(16.8rem, 39svh, 21.5rem);
  }

  .guest-page-home .save-the-date-wordmark {
    width: min(100%, clamp(10.5rem, 44vw, 12.5rem));
  }

  .rsvp-page .member-response-summary {
    grid-template-columns: 1fr;
  }

  .rsvp-page .member-response-summary::after {
    justify-self: start;
  }

  .rsvp-page .member-attending-toggle {
    align-items: flex-start;
  }
}

@media (max-width: 430px) {
  .guest-page {
    --floating-nav-reserve: 5.35rem;
  }

  body.guest-page:not(.newlywed-page) .hero-topbar,
  body.guest-page:not(.newlywed-page) .page-header-topbar {
    width: min(calc(100% - 0.55rem), 58rem) !important;
  }

  body.guest-page:not(.newlywed-page) .header-nav {
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-content: center;
    overflow: visible !important;
    min-height: 0 !important;
    gap: 0.16rem 0.12rem !important;
    padding: 0.3rem 0.3rem !important;
    border-radius: 18px !important;
  }

  body.guest-page:not(.newlywed-page) .header-nav a {
    flex: 0 1 auto !important;
    min-height: 1.55rem !important;
    padding: 0.17rem 0.29rem !important;
    font-size: 0.56rem !important;
    letter-spacing: 0.035em !important;
  }
}

body.guest-page:not(.newlywed-page) {
  --floating-nav-height-at-rest: 2.47rem;
  --floating-nav-content-gap: clamp(0.52rem, 1.05vw, 0.72rem);
}

body.guest-page:not(.newlywed-page) .page-shell,
body.guest-page:not(.newlywed-page) .page-shell-inner {
  padding-top: calc(
    var(--floating-nav-top) + var(--floating-nav-height-at-rest) + var(--floating-nav-content-gap)
  ) !important;
}

@media (max-width: 430px) {
  body.guest-page.rsvp-page:not(.newlywed-page) {
    --floating-nav-height-at-rest: 4.42rem;
  }
}

@media (max-width: 344px) {
  body.guest-page:not(.newlywed-page) {
    --floating-nav-height-at-rest: 4.42rem;
  }
}

/* Scrolled guest chrome: the nav should become the top edge, not float below stray content. */
body.guest-page:not(.newlywed-page).nav-is-scrolled .hero-topbar,
body.guest-page:not(.newlywed-page).nav-is-scrolled .page-header-topbar {
  top: env(safe-area-inset-top, 0px) !important;
}

body.guest-page:not(.newlywed-page).nav-is-scrolled .hero-topbar::before,
body.guest-page:not(.newlywed-page).nav-is-scrolled .page-header-topbar::before {
  position: fixed !important;
  inset: 0 0 auto 0 !important;
  width: 100vw !important;
  height: calc(env(safe-area-inset-top, 0px) + 3.45rem) !important;
  transform: none !important;
  border-radius: 0 0 18px 18px !important;
  background:
    linear-gradient(180deg, #f9f4ec 0%, rgba(249, 244, 236, 0.98) 72%, rgba(249, 244, 236, 0) 100%),
    linear-gradient(90deg, rgba(134, 191, 150, 0.05), #fffefa, rgba(134, 191, 150, 0.05)) !important;
  filter: none !important;
}

body.guest-page:not(.newlywed-page).nav-is-scrolled .header-nav {
  box-shadow: 0 8px 22px rgba(78, 111, 159, 0.12) !important;
}

/* Guest footer: quiet utility, not another hero navigation block. */
body.guest-page:not(.newlywed-page) .site-footer {
  overflow: visible;
  margin-top: clamp(1.6rem, 3vw, 2.4rem) !important;
  padding: clamp(0.85rem, 1.6vw, 1.05rem) 0 max(0.85rem, env(safe-area-inset-bottom, 0px)) !important;
  border-top: 1px solid rgba(96, 131, 177, 0.12);
  background: var(--background) !important;
  box-shadow: 0 0 0 100vmax var(--background) !important;
  clip-path: inset(0 -100vmax);
}

body.guest-page:not(.newlywed-page) .footer-nav {
  gap: 0.2rem clamp(0.45rem, 1.3vw, 0.85rem) !important;
  margin-bottom: 0.55rem !important;
  font-size: clamp(0.58rem, 0.9vw, 0.7rem) !important;
  letter-spacing: 0.12em !important;
  line-height: 1.1 !important;
}

body.guest-page:not(.newlywed-page) .footer-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.45rem;
  padding: 0.16rem 0.22rem;
  color: var(--muted);
  opacity: 0.78;
  text-decoration: none !important;
}

body.guest-page:not(.newlywed-page) .footer-nav a[aria-current="page"] {
  color: var(--ink-deep);
  opacity: 1;
}

body.guest-page:not(.newlywed-page) .footer-actions {
  margin: 0.15rem 0 0.42rem !important;
}

body.guest-page:not(.newlywed-page) .footer-request-button {
  min-height: 1.85rem;
  padding: 0.38rem 0.7rem !important;
  border-color: rgba(96, 131, 177, 0.16) !important;
  background: rgba(255, 255, 255, 0.46) !important;
  color: var(--muted) !important;
  font-size: clamp(0.58rem, 0.9vw, 0.68rem) !important;
  letter-spacing: 0.12em !important;
  box-shadow: none !important;
}

body.guest-page:not(.newlywed-page) .footer-request-button:hover,
body.guest-page:not(.newlywed-page) .footer-request-button:focus-visible {
  color: var(--ink-deep) !important;
  background: rgba(96, 131, 177, 0.08) !important;
}

body.guest-page:not(.newlywed-page) .footer-note,
body.guest-page:not(.newlywed-page) .footer-private-access,
body.guest-page:not(.newlywed-page) .footer-private-link {
  color: var(--muted);
  font-size: clamp(0.78rem, 1.4vw, 0.9rem) !important;
  line-height: 1.25;
}

body.guest-page:not(.newlywed-page) .footer-note {
  opacity: 0.78;
}

@media (max-width: 720px) {
  body.guest-page:not(.newlywed-page).nav-is-scrolled .hero-topbar::before,
  body.guest-page:not(.newlywed-page).nav-is-scrolled .page-header-topbar::before {
    height: calc(env(safe-area-inset-top, 0px) + 3.05rem) !important;
    border-radius: 0 0 16px 16px !important;
  }

  body.guest-page:not(.newlywed-page) .site-footer {
    margin-top: 1.45rem !important;
    padding-inline: 0.25rem !important;
  }

  body.guest-page:not(.newlywed-page) .footer-nav {
    gap: 0.12rem 0.34rem !important;
    margin-bottom: 0.45rem !important;
    font-size: clamp(0.5rem, 2.35vw, 0.62rem) !important;
    letter-spacing: 0.1em !important;
  }

  body.guest-page:not(.newlywed-page) .footer-nav a {
    min-height: 1.2rem;
    padding: 0.08rem 0.12rem;
  }

  body.guest-page:not(.newlywed-page) .footer-request-button {
    min-height: 1.62rem;
    padding: 0.28rem 0.55rem !important;
    font-size: 0.56rem !important;
  }

  body.guest-page:not(.newlywed-page) .footer-note,
  body.guest-page:not(.newlywed-page) .footer-private-access,
  body.guest-page:not(.newlywed-page) .footer-private-link {
    font-size: 0.78rem !important;
  }
}

/* RSVP belongs in the guest chrome again: prominent, centered, and still gentle. */
body.guest-page:not(.newlywed-page) .header-nav {
  justify-content: center !important;
  margin-inline: auto !important;
}

body.guest-page:not(.newlywed-page) .header-nav [data-rsvp-context-link] {
  order: 99 !important;
  margin-left: clamp(0.18rem, 0.7vw, 0.45rem);
  border-color: rgba(47, 107, 67, 0.26) !important;
  background:
    linear-gradient(145deg, rgba(134, 191, 150, 0.28), rgba(255, 252, 247, 0.94)),
    rgba(134, 191, 150, 0.18) !important;
  color: var(--accent-text) !important;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.38), 0 8px 20px rgba(47, 107, 67, 0.1);
}

body.guest-page:not(.newlywed-page) .header-nav [data-rsvp-context-link]:hover,
body.guest-page:not(.newlywed-page) .header-nav [data-rsvp-context-link]:focus-visible {
  border-color: rgba(47, 107, 67, 0.36) !important;
  background:
    linear-gradient(145deg, rgba(134, 191, 150, 0.34), rgba(255, 252, 247, 0.98)),
    rgba(134, 191, 150, 0.22) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.46), 0 10px 24px rgba(47, 107, 67, 0.13);
}

@media (max-width: 720px) {
  body.guest-page:not(.newlywed-page) .header-nav {
    justify-content: center !important;
  }
}

@media (max-width: 430px) {
  body.guest-page:not(.newlywed-page) .header-nav [data-rsvp-context-link] {
    flex-basis: auto !important;
    margin-left: 0.08rem;
  }
}

/* Open dialogs own the viewport; the page behind them should stay still. */
html.has-open-modal {
  overflow: hidden;
  overscroll-behavior: none;
}

body.has-open-modal {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

body.has-open-modal .song-modal {
  max-height: calc(100dvh - 1rem) !important;
  margin: auto;
  overscroll-behavior: contain;
}

body.has-open-modal .song-modal:not(.rsvp-review-modal) .song-modal-inner {
  max-height: calc(100dvh - 1rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

body.has-open-modal .rsvp-review-modal .rsvp-review-inner {
  height: min(52rem, calc(100dvh - 1rem));
  max-height: calc(100dvh - 1rem) !important;
}

body.has-open-modal .rsvp-review-modal .rsvp-review-list {
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 720px) {
  body.has-open-modal .song-modal {
    width: calc(100vw - 0.75rem) !important;
    max-height: calc(100dvh - 0.75rem) !important;
  }

  body.has-open-modal .song-modal:not(.rsvp-review-modal) .song-modal-inner {
    max-height: calc(100dvh - 0.75rem);
  }

  body.has-open-modal .rsvp-review-modal .rsvp-review-inner {
    height: calc(100dvh - 0.75rem);
    max-height: calc(100dvh - 0.75rem) !important;
  }
}
