/* Demo pages (/demo/*): the product as guests and hosts will see it, built
   on the tokens in style.css. Sample data only; demo.js makes the controls
   work in the browser and sends nothing anywhere. */

html { scroll-padding-top: 140px; }

/* Demo navigation: second row of the sticky header. */
.demo-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--gold-pale);
  color: var(--gold-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.demo-flag i { width: 7px; height: 7px; border-radius: 999px; background: var(--rose); }
.demo-nav { background: rgba(251, 239, 228, 0.7); }
.demo-nav__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 4px 22px;
  overflow-x: auto;
  scrollbar-width: none;
}
.demo-nav__inner::-webkit-scrollbar { display: none; }
.demo-nav__group { font-size: 11px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.demo-nav__group:not(:first-child) { margin-left: 14px; }
.demo-nav a {
  position: relative;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}
.demo-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.35s var(--ease);
}
.demo-nav a:hover { color: var(--ink); }
.demo-nav a:hover::after, .demo-nav a[aria-current="page"]::after { transform: scaleX(1); }
.demo-nav a[aria-current="page"] { color: var(--bronze); font-weight: 800; }
.demo-nav__note { margin-left: auto; font-size: 13px; color: var(--muted); white-space: nowrap; }
@media (max-width: 860px) {
  .demo-nav__note { display: none; }
}
@media (max-width: 640px) {
  .site-header .demo-flag { display: none; }
  .demo-nav__group { display: none; }
  .demo-nav__inner { justify-content: space-between; gap: 16px; }
  .hide-sm { display: none; }
}

/* Shared bits */
.facts { margin: 0; display: flex; flex-wrap: wrap; gap: 18px 36px; }
.facts div { display: flex; flex-direction: column; gap: 2px; }
.facts dt { font-size: 11px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-ink); }
.facts dd { margin: 0; font-family: var(--serif); font-size: 20px; font-variation-settings: "SOFT" 0, "WONK" 0; line-height: 1.3; }
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-whisper);
  padding: clamp(22px, 3vw, 36px);
}
.card--tonal { background: var(--surface-low); box-shadow: none; }
.card__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 14px 20px; }
.card__title { margin: 0; font-family: var(--serif); font-size: 28px; font-weight: 520; font-variation-settings: "SOFT" 0, "WONK" 0; line-height: 1.15; letter-spacing: -0.02em; }
.card__sub { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.btn--block { width: 100%; }
.status { font-size: 14px; color: var(--muted); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  background: var(--surface-mid);
  color: var(--gold-ink);
}
.badge--rose { background: var(--blush); color: var(--blush-ink); }
.badge--gold { background: var(--gold-pale); color: var(--gold-ink); }
.badge--green { background: #dff1e6; color: #1f6a41; }
.badge--dark { background: rgba(43, 31, 26, 0.78); color: #fff; }

/* Forms, Stitch style: no boxes, a soft fill and a line underneath. */
.field { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > label, .field > legend {
  padding: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}
.field > legend { margin-bottom: 8px; }
.input {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 0;
  border-bottom: 2px solid var(--gold-light);
  border-radius: 12px 12px 4px 4px;
  background: var(--surface-low);
  font-size: 17px;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.input::placeholder { color: #9c8a7f; }
.input:focus { outline: none; background: var(--card); border-bottom-color: var(--bronze); box-shadow: 0 0 0 3px rgba(178, 145, 111, 0.25); }
.input[aria-invalid="true"] { border-bottom-color: var(--rose); }
textarea.input { resize: vertical; min-height: 96px; line-height: 1.5; }
select.input {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2375593b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
.field__error { margin: 0; font-size: 14px; font-weight: 600; color: var(--rose-deep); }
.field__error[hidden] { display: none; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 480px) { .field-row { grid-template-columns: minmax(0, 1fr); } }
.toggles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 12px;
  border: 0;
  border-radius: 14px;
  background: var(--card);
  box-shadow: inset 0 0 0 1.5px var(--ghost);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.toggle:hover { box-shadow: inset 0 0 0 1.5px var(--gold); }
@media (max-width: 420px) { .toggle { gap: 6px; letter-spacing: 0.06em; font-size: 13px; } }
.toggle[aria-pressed="true"] { background: var(--gold-dust); color: #fff; box-shadow: 0 10px 22px rgba(117, 89, 59, 0.25); }
.toggle[data-attend="yes"][aria-pressed="true"] { background: var(--rose); box-shadow: 0 10px 22px rgba(214, 51, 108, 0.25); }

/* ---------- Invite page ---------- */
.invite-hero { position: relative; overflow: hidden; }
.invite-hero::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 44%;
  height: 86%;
  background: linear-gradient(180deg, var(--gold-pale), rgba(247, 232, 214, 0));
  border-bottom-right-radius: 220px;
}
.invite-hero__inner {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 88px) var(--gutter) clamp(56px, 7vw, 104px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}
.invite-hero__photo { position: relative; padding: 14px; }
.invite-hero__photo .arch-frame { max-width: 440px; }
.invite-hero__photo .arch { object-position: 50% 20%; }
.invite-hero__caption {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 12%;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow-card);
  transform: rotate(-3deg);
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.invite-hero__caption small { font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-ink); }
.invite-hero__caption span { font-family: var(--serif); font-style: italic; font-size: 20px; font-variation-settings: "SOFT" 100; }
.invite-hero__copy { display: flex; flex-direction: column; gap: 26px; }
.invite-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(50px, 7vw, 104px);
  font-weight: 540;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  line-height: 0.96;
  letter-spacing: -0.04em;
}
.invite-title > span { display: block; }
.invite-title .display { font-weight: 460; letter-spacing: -0.03em; }
@media (max-width: 900px) {
  .invite-hero::before { width: 80%; height: 50%; }
  .invite-hero__inner { grid-template-columns: minmax(0, 1fr); }
  .invite-hero__photo { max-width: 420px; width: 100%; margin: 0 auto; }
}

.program { display: flex; flex-direction: column; gap: 48px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.timeline li { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px 24px 28px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-whisper); }
.timeline time { font-family: var(--serif); font-style: italic; font-size: 30px; font-variation-settings: "SOFT" 100; line-height: 1.1; color: var(--bronze); }
.timeline h3 { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.3; }
.timeline p { margin: 0; font-size: 15px; color: var(--muted); }
@media (max-width: 1000px) { .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .timeline li { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 2px 12px; padding: 18px 16px 20px; }
  .timeline time { grid-row: span 2; font-size: 22px; white-space: nowrap; }
}

.reply__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "info form";
  align-items: start;
  gap: clamp(40px, 6vw, 88px);
}
.reply__info { grid-area: info; display: flex; flex-direction: column; gap: 28px; }
.reply__form { grid-area: form; }
@media (max-width: 900px) { .reply__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "form" "info"; } }
.notes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.notes li { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.65); }
.notes h3 { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; }
.notes h3 .icon { color: var(--bronze); }
.notes p { margin: 0; font-size: 15px; color: var(--muted); }
@media (max-width: 560px) { .notes { grid-template-columns: minmax(0, 1fr); } }

.respond {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(26px, 4vw, 48px);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 30px 70px rgba(117, 89, 59, 0.16);
}
.respond[hidden] { display: none; }
.respond__head { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; margin-bottom: 6px; }
.respond__title { margin: 0; font-family: var(--serif); font-size: clamp(32px, 3.4vw, 42px); font-weight: 500; font-variation-settings: "SOFT" 0, "WONK" 0; letter-spacing: -0.02em; line-height: 1.1; }
.respond__sub { margin: 0; color: var(--muted); }
.respond__fine { margin: 0; text-align: center; font-size: 13px; color: var(--muted); }
[data-when-yes][hidden], [data-when-no][hidden] { display: none; }
.respond-done {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: clamp(32px, 5vw, 56px) clamp(24px, 4vw, 48px);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 30px 70px rgba(117, 89, 59, 0.16);
  text-align: center;
}
.respond-done[hidden] { display: none; }
.respond-done:focus { outline: none; }
.respond-done h2 { margin: 0; font-size: clamp(32px, 3.6vw, 44px); line-height: 1.1; }
.respond-done p { margin: 0; max-width: 380px; color: var(--muted); }
.respond-done__summary { margin: 4px 0 6px; padding: 14px 18px; border-radius: 14px; background: var(--surface-low); font-size: 15px; color: var(--ink); }
.respond-done .actions { justify-content: center; }

/* ---------- Host dashboard ---------- */
.dash-hero {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 88px) var(--gutter) clamp(32px, 4vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
}
.dash-hero__copy { display: flex; flex-direction: column; gap: 24px; }
.dash-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 6.6vw, 96px);
  font-weight: 520;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--bronze-deep);
}
.dash-title > span { display: block; }
.dash-title .display { font-weight: 460; letter-spacing: -0.03em; }
.dash-hero__photo { position: relative; }
.dash-hero__photo::before {
  content: "";
  position: absolute;
  inset: 24px -18px -18px 24px;
  border-radius: var(--radius);
  background: var(--gold-pale);
}
.dash-hero__photo img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-photo); }
@media (max-width: 800px) {
  .dash-hero { grid-template-columns: minmax(0, 1fr); }
  .dash-hero__photo { max-width: min(360px, calc(100% - 20px)); }
  .dash-hero__photo img { aspect-ratio: 5 / 4; }
}

.dash-grid {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(56px, 7vw, 96px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.dash-grid > .card { display: flex; flex-direction: column; gap: 24px; }
.tracker { grid-column: span 2; }
@media (max-width: 1000px) {
  .dash-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tracker { grid-column: 1 / -1; }
}
@media (max-width: 680px) { .dash-grid { grid-template-columns: minmax(0, 1fr); } }

.tracker__body { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 40px; }
.ring { position: relative; width: 168px; height: 168px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring__track { fill: none; stroke: var(--surface-mid); stroke-width: 10; }
.ring__value { fill: none; stroke: var(--rose); stroke-width: 10; stroke-linecap: round; transition: stroke-dasharray 0.9s var(--ease); animation: ring-in 1.4s var(--ease) both; }
@keyframes ring-in { from { stroke-dasharray: 0 339.3; } }
@media (prefers-reduced-motion: reduce) { .ring__value { animation: none; transition: none; } }
.ring__label { position: absolute; inset: 0; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring__label strong { font-family: var(--serif); font-size: 40px; font-weight: 480; line-height: 1; }
.ring__label span { margin-top: 6px; font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.stats { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 240px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stats li { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 16px; background: var(--surface-low); }
.stats .icon { color: var(--bronze); }
.stats li:first-child .icon { color: var(--rose); }
.stats strong { font-family: var(--serif); font-size: 32px; font-weight: 480; line-height: 1; }
.stats span { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 480px) { .stats li { padding: 14px 12px; } .stats strong { font-size: 26px; } .stats span { letter-spacing: 0.08em; } }
.tracker__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }

.activity { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.activity li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; }
.activity__icon { width: 40px; height: 40px; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: var(--card); color: var(--bronze); }
.activity__icon--rose { background: var(--blush); color: var(--rose-deep); }
.activity__icon--gold { background: var(--gold-pale); color: var(--gold-ink); }
.activity p { margin: 0; font-size: 15px; line-height: 1.45; }
.activity small { display: block; margin-top: 2px; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.activity li.is-new { animation: arrive 0.8s var(--ease) both; }
@keyframes arrive { from { opacity: 0; translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) { .activity li.is-new { animation: none; } }
.live-dot { display: inline-block; width: 8px; height: 8px; margin-left: 8px; border-radius: 999px; background: var(--rose); vertical-align: middle; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

.meals { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.meals li { display: flex; flex-direction: column; gap: 8px; }
.meals__row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 600; }
.meals__row span:last-child { font-family: var(--serif); font-weight: 500; }
.meals .bar span { background: var(--gold-dust); }
.meals .bar--fish span { width: 41%; }
.meals .bar--beef span { width: 35%; }
.meals .bar--veg span { width: 24%; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.seat-teaser .mini-floor { flex: none; border-radius: 16px; }
.dash-section { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) clamp(72px, 9vw, 120px); display: flex; flex-direction: column; gap: 32px; }
.dash-section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.highlights { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.highlights li { position: relative; display: flex; flex-direction: column; gap: 12px; }
.highlights .badge { position: absolute; top: 12px; left: 12px; }
.highlights img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.highlights__meta { display: block; }
.highlights h3 { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.3; }
.highlights p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Wishlist ---------- */
.wish-hero {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 88px) var(--gutter) clamp(48px, 6vw, 88px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
}
.wish-hero__copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 0; }
.wish-hero__copy .eyebrow { margin-bottom: 18px; }
.wish-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 6.6vw, 96px);
  font-weight: 520;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--bronze-deep);
}
.wish-title > span { display: block; }
.wish-title .display { font-weight: 460; letter-spacing: -0.03em; }
.wish-hero__note {
  /* Stitch's overlapping card: paper laid over the headline. */
  max-width: 470px;
  margin: 22px 0 0 clamp(0px, 3vw, 32px);
  padding: 26px 28px;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-card);
  color: var(--muted);
}
.wish-hero__note p { margin: 0; }
.wish-hero__note p + p { margin-top: 10px; font-family: var(--serif); font-style: italic; font-variation-settings: "SOFT" 100; color: var(--bronze); }
.wish-hero__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 240px 240px 24px 24px; box-shadow: var(--shadow-photo); }
@media (max-width: 800px) {
  .wish-hero { grid-template-columns: minmax(0, 1fr); }
  .wish-hero__photo { order: -1; max-width: 340px; }
  .wish-hero__photo img { aspect-ratio: 1; }
}

.fund-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) clamp(72px, 9vw, 120px); }
.fund {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow-card);
}
.fund__media { position: relative; min-height: 320px; }
.fund__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fund__body { display: flex; flex-direction: column; gap: 18px; padding: clamp(26px, 4vw, 52px); }
.fund__title { margin: 0; font-family: var(--serif); font-size: clamp(32px, 3.4vw, 44px); font-weight: 520; font-variation-settings: "SOFT" 0, "WONK" 0; line-height: 1.08; letter-spacing: -0.03em; }
.fund__body > p { margin: 0; color: var(--muted); }
.fund__progress { display: flex; flex-direction: column; gap: 10px; }
.fund__numbers { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; color: var(--muted); }
.fund__numbers strong { font-family: var(--serif); font-size: 32px; font-weight: 500; color: var(--ink); }
.fund .bar { height: 10px; }
.fund .bar span { width: 49%; background: var(--gold-dust); transition: width 0.9s var(--ease); }
.amounts { display: flex; flex-wrap: wrap; gap: 8px; }
.amount {
  min-width: 72px;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--surface-low);
  font-weight: 700;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.amount:hover { box-shadow: inset 0 0 0 1.5px var(--gold); }
.amount[aria-pressed="true"] { background: var(--ink); color: #fff; }
.fund__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.fund__thanks { margin: 0; display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--green); }
.fund__thanks[hidden] { display: none; }
@media (max-width: 800px) {
  .fund { grid-template-columns: minmax(0, 1fr); }
  .fund__media { min-height: 240px; }
}

.registry { display: flex; flex-direction: column; gap: 40px; }
.registry__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; background: var(--surface-low); }
.filter {
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.filter:hover { color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow-whisper); }
.gifts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.gifts li[hidden] { display: none; }
@media (max-width: 1000px) { .gifts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gifts { grid-template-columns: minmax(0, 1fr); } .gift__media img { aspect-ratio: 4 / 3; } }
.gift { display: flex; flex-direction: column; gap: 14px; }
.gift__media { position: relative; }
.gift__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; transition: filter 0.4s var(--ease); }
.gift__media .badge { position: absolute; top: 14px; left: 14px; }
.gift.is-reserved .gift__media img { filter: grayscale(0.7) brightness(0.92); }
.gift__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.gift h3 { margin: 0; font-family: var(--serif); font-size: 21px; font-weight: 520; font-variation-settings: "SOFT" 0, "WONK" 0; line-height: 1.2; }
.gift__price { font-family: var(--serif); font-size: 19px; color: var(--bronze); white-space: nowrap; }
.gift__meta { margin: -8px 0 0; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.gift__btn {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--card);
  box-shadow: inset 0 0 0 1.5px var(--ghost);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.gift__btn:hover { box-shadow: inset 0 0 0 1.5px var(--gold); }
.gift__btn[aria-pressed="true"] { background: var(--surface-low); box-shadow: none; color: var(--green); }
.gift__btn:disabled { cursor: default; background: var(--surface-low); box-shadow: none; color: var(--muted); }
.registry__count { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- Seating plan ---------- */
.seat-head {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  align-items: end;
  gap: 28px 64px;
}
.seat-head__copy { display: flex; flex-direction: column; gap: 18px; }
.seat-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(44px, 5.6vw, 80px);
  font-weight: 520;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.seat-title > span { display: block; }
.seat-title .display { font-weight: 460; }
.progress { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-whisper); }
.progress__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.progress__row > span:first-child { font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }
.progress__row strong { font-family: var(--serif); font-size: 26px; font-weight: 500; }
.progress .bar span { width: 79%; background: var(--gold-dust); transition: width 0.6s var(--ease); }
.progress p { margin: 0; font-size: 14px; color: var(--muted); }
@media (max-width: 800px) { .seat-head { grid-template-columns: minmax(0, 1fr); } }

.seat-layout {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(72px, 9vw, 120px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  grid-template-areas: "floor list";
  align-items: start;
  gap: 24px;
}
@media (max-width: 960px) { .seat-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "list" "floor"; } }

.floor {
  --size: 236px;
  --seat: 42px;
  grid-area: floor;
  position: relative;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 24px;
  background-color: var(--card);
  background-image: radial-gradient(rgba(178, 145, 111, 0.32) 1px, transparent 1.5px);
  background-size: 22px 22px;
  box-shadow: var(--shadow-whisper);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-items: center;
  gap: 40px 24px;
}
.floor__label { position: absolute; top: 16px; left: 20px; font-size: 11px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 640px) {
  .floor { --size: 156px; --seat: 32px; gap: 28px 8px; padding: 40px 10px 24px; }
}

.table { position: relative; width: var(--size); height: var(--size); }
.table__top {
  position: absolute;
  inset: 21%;
  margin: 0;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--gold-light), 0 10px 24px rgba(117, 89, 59, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
  line-height: 1.15;
}
.table__name { font-family: var(--serif); font-size: 20px; font-variation-settings: "SOFT" 0, "WONK" 0; }
.table__group { font-size: 13px; color: var(--muted); }
.table__count { margin-top: 6px; padding: 2px 10px; border-radius: 999px; background: var(--surface-low); font-size: 12px; font-weight: 700; }
@media (max-width: 640px) {
  .table__name { font-size: 15px; }
  .table__group { font-size: 11px; }
  .table__count { margin-top: 3px; font-size: 10px; padding: 1px 7px; }
}

.seat {
  position: absolute;
  top: calc(50% - var(--seat) / 2);
  left: calc(50% - var(--seat) / 2);
  width: var(--seat);
  height: var(--seat);
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--card);
  box-shadow: inset 0 0 0 1.5px var(--gold-light), 0 0 0 3px var(--card);
  font-size: calc(var(--seat) * 0.32);
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
  transform: rotate(var(--a)) translateY(calc(var(--size) * -0.41)) rotate(calc(var(--a) * -1));
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.table--8 .seat:nth-of-type(1) { --a: 0deg; }
.table--8 .seat:nth-of-type(2) { --a: 45deg; }
.table--8 .seat:nth-of-type(3) { --a: 90deg; }
.table--8 .seat:nth-of-type(4) { --a: 135deg; }
.table--8 .seat:nth-of-type(5) { --a: 180deg; }
.table--8 .seat:nth-of-type(6) { --a: 225deg; }
.table--8 .seat:nth-of-type(7) { --a: 270deg; }
.table--8 .seat:nth-of-type(8) { --a: 315deg; }
.table--6 .seat:nth-of-type(1) { --a: 0deg; }
.table--6 .seat:nth-of-type(2) { --a: 60deg; }
.table--6 .seat:nth-of-type(3) { --a: 120deg; }
.table--6 .seat:nth-of-type(4) { --a: 180deg; }
.table--6 .seat:nth-of-type(5) { --a: 240deg; }
.table--6 .seat:nth-of-type(6) { --a: 300deg; }
.seat:not([data-name]) { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--gold-light), 0 0 0 3px var(--card); }
.seat:not([data-name])::after { content: "+"; font-size: calc(var(--seat) * 0.44); font-weight: 400; color: var(--gold); }
.seat:hover { box-shadow: inset 0 0 0 2px var(--bronze), 0 0 0 3px var(--card); }
.floor.is-placing .seat:not([data-name]) { background: var(--gold-pale); box-shadow: inset 0 0 0 2px var(--bronze), 0 0 0 3px var(--card), 0 0 0 7px rgba(178, 145, 111, 0.28); animation: beckon 1.6s ease-in-out infinite; }
@keyframes beckon { 50% { box-shadow: inset 0 0 0 2px var(--bronze), 0 0 0 3px var(--card), 0 0 0 10px rgba(178, 145, 111, 0.12); } }
@media (prefers-reduced-motion: reduce) { .floor.is-placing .seat:not([data-name]) { animation: none; } }
.seat.is-new { animation: pop 0.5s var(--ease); }
@keyframes pop { 40% { scale: 1.18; } }

.g-family { background: var(--gold-light); color: var(--bronze-deep); }
.g-friends { background: var(--blush); color: var(--blush-ink); }
.g-books { background: var(--sage-soft); color: var(--sage-ink); }
.g-neighbours { background: var(--apricot-soft); color: var(--apricot-ink); }
.seat.g-family, .seat.g-friends, .seat.g-books, .seat.g-neighbours { box-shadow: 0 0 0 3px var(--card); }

.seat-list { grid-area: list; display: flex; flex-direction: column; gap: 18px; padding: 24px; border-radius: 24px; background: var(--surface-low); }
@media (min-width: 961px) { .seat-list { position: sticky; top: 140px; } }
.seat-list h2 { margin: 0; font-family: var(--serif); font-size: 26px; font-weight: 520; font-variation-settings: "SOFT" 0, "WONK" 0; line-height: 1.15; }
.seat-list > p { margin: -10px 0 0; font-size: 14px; color: var(--muted); }
.guests-left { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
/* A plus-one sits indented under the guest who brings them, joined by a soft gold hook. */
.guests-left .is-plus { position: relative; margin-left: 26px; }
.guests-left .is-plus::before {
  content: "";
  position: absolute;
  left: -16px;
  top: -10px;
  width: 12px;
  height: 38px;
  border-left: 1.5px solid var(--gold-light);
  border-bottom: 1.5px solid var(--gold-light);
  border-bottom-left-radius: 10px;
}
.guest {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 0;
  border-radius: 14px;
  background: var(--card);
  text-align: left;
  transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}
.guest:hover { box-shadow: inset 0 0 0 1.5px var(--gold); }
.guest[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--bronze), var(--shadow-card); }
/* Already seated, kept in the list only while their partner still waits. */
.guest:disabled { cursor: default; background: rgba(255, 255, 255, 0.45); box-shadow: none; color: var(--muted); }
.guest:disabled .guest__dot { filter: grayscale(0.9); opacity: 0.55; }
.guest:disabled .guest__text small { color: var(--gold-ink); }
.guest__dot { flex: none; width: 36px; height: 36px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; }
.guest__text { display: flex; flex-direction: column; line-height: 1.3; font-weight: 700; font-size: 15px; }
.guest__text small { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.seat-list__done { margin: 0; padding: 16px; border-radius: 14px; background: var(--card); font-weight: 600; text-align: center; }
.seat-list__done[hidden] { display: none; }
.seat-hint { margin: 0; min-height: 1.5em; font-size: 14px; font-weight: 600; color: var(--bronze); }
.legend--seat { flex-wrap: wrap; gap: 8px 14px; }
.legend--seat i { width: 12px; height: 12px; }
.legend--seat .g-family { background: var(--gold-light); }
.legend--seat .g-friends { background: var(--blush); }
.legend--seat .g-books { background: var(--sage-soft); }
.legend--seat .g-neighbours { background: var(--apricot-soft); }

/* Closing card on every demo page: the landing page's golden-hour CTA. */
.demo-end { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) clamp(56px, 7vw, 96px); }
.band + .demo-end { padding-top: clamp(56px, 7vw, 96px); }
.demo-end__inner {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  background: var(--golden-hour);
  color: #fff;
  padding: clamp(36px, 6vw, 72px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 48px;
}
.demo-end__copy { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.demo-end__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 70% at 85% 0%, rgba(255, 224, 138, 0.2), rgba(255, 224, 138, 0));
  pointer-events: none;
}
.demo-end__copy, .demo-end__next { position: relative; }
.demo-end .h2 { font-size: clamp(32px, 3.8vw, 50px); }
.demo-end .h2 .display { color: var(--gold-light); }
.demo-end .eyebrow { color: var(--gold-light); }
.demo-end .lead { color: rgba(255, 255, 255, 0.84); }
.demo-end .link-arrow { color: #fff; }
.demo-end__next { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.footer--slim .footer__inner { padding: 28px var(--gutter); }
