:root {
  color-scheme: light;
  --paper: #fff;
  --linen: #faf8f3;
  --ink: #302d27;
  --muted: #6a665d;
  --accent: #b99b59;
  --accent-dark: #776034;
  --accent-soft: #f7f1e4;
  --line: #e7e1d6;
  --control-line: #c7bda9;
  --positive: #36543d;
  --positive-soft: #edf4ee;
  --pending: #786032;
  --pending-soft: #f7f1e2;
  --declined: #925846;
  --declined-soft: #f8efeb;
  --danger: #9b2f2a;
  --danger-soft: #fff0ee;
  --disabled: #8a867e;
  --disabled-soft: #f3f1ed;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --form-space: var(--space-6);
  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", sans-serif;
  --container: 1100px;
  --header-height: 72px;
  --radius: 4px;
  --section-space: 72px;
  --title-display: clamp(40px, 6vw, 72px);
  --title-section: clamp(34px, 4vw, 48px);
  --title-subsection: clamp(22px, 2.2vw, 28px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.7 var(--sans); }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.14; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: var(--title-display); }
h2 { font-size: var(--title-section); }
a { color: inherit; text-underline-offset: 5px; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 5px; }
[tabindex="-1"]:focus { outline: none; }
.small { font-size: 14px; color: var(--muted); line-height: 1.75; }
.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: .19em; text-transform: uppercase; color: var(--accent-dark); }
.lead { color: var(--muted); line-height: 1.85; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 50; padding: 12px 20px; background: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.topbar {
  position: sticky; top: 0; z-index: 20;
  min-height: var(--header-height); padding: 12px max(24px, calc((100vw - var(--container)) / 2));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.topbar__title { font-family: var(--serif); font-size: 16px; letter-spacing: .06em; white-space: nowrap; }
.topbar__nav { display: flex; flex-wrap: wrap; gap: 8px; }
.navlink { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 0; background: transparent; font-size: 13px; color: var(--muted); text-decoration: none; border-radius: var(--radius); }
.navlink:hover { background: var(--linen); color: var(--ink); }
.navlink[aria-current] { background: var(--accent-soft); color: var(--ink); }
.is-privacy .topbar {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center;
}
.is-privacy .topbar__brand { grid-column: 2; justify-self: center; }
.is-privacy .topbar__nav { display: none; }
.privacy-back {
  grid-column: 1; justify-self: start; display: inline-flex; align-items: center; gap: 7px;
  min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: var(--muted);
  font-size: 13px; line-height: 1.4;
}
.privacy-back:hover { color: var(--ink); }
.privacy-back svg { width: 18px; height: 18px; flex: 0 0 auto; }
.app { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.footer { padding: 32px 24px 40px; text-align: center; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer__nav { margin-top: 8px; }
.footer__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 10px; color: var(--muted); }
.footer__nav a:hover { color: var(--ink); }
.is-gated .topbar__nav, .is-gated .footer { display: none; }
.is-gated .topbar { justify-content: center; border-bottom-color: transparent; }
.noscript { max-width: 500px; margin: 40px auto; padding: 24px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  min-height: 50px; padding: 13px 26px; border: 1px solid var(--accent);
  border-radius: var(--radius); background: var(--accent); color: #241e11;
  text-decoration: none; font-size: 14px; font-weight: 500; line-height: 1.5;
  transition: background .2s, border-color .2s;
}
.btn:hover { background: #c6ad76; border-color: #c6ad76; }
.btn:disabled { cursor: not-allowed; border-color: var(--line); background: var(--disabled-soft); color: var(--disabled); opacity: 1; }
.btn--outline { background: transparent; border-color: var(--control-line); color: var(--ink); }
.btn--outline:hover { background: var(--linen); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; font-size: 14px; color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.text-link:hover { text-decoration-thickness: 2px; }
.text-button--danger { color: var(--danger); }
.text-button--danger:hover { color: #76221e; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.state-mark {
  display: inline-flex; align-items: center; min-height: 28px; padding: 4px 9px;
  border: 0; border-radius: var(--radius); background: var(--paper); color: var(--muted);
  font-size: 11px; font-weight: 600; line-height: 1.2; letter-spacing: .07em; text-transform: uppercase;
}
.state-mark--positive, .state-mark--saved { background: var(--positive-soft); color: var(--positive); }
.state-mark--pending { background: var(--pending-soft); color: var(--pending); }
.state-mark--declined { background: var(--declined-soft); color: var(--declined); }
.state-mark--error { background: var(--danger-soft); color: var(--danger); }
.state-mark--selected { background: var(--accent-soft); color: var(--accent-dark); }
.state-mark--disabled { background: var(--disabled-soft); color: var(--disabled); }
/* The welcome reads like a short letter: space separates its three parts. */
.gate { position: relative; max-width: 520px; margin: 0 auto; padding: 20px 0 40px; text-align: center; }
.gate .eyebrow { margin-bottom: 18px; }
.gate h1 { font-size: clamp(34px, 5vw, 46px); }
.gate__guest-name { color: var(--accent-dark); font-style: italic; }
.gate__intro { max-width: 400px; margin: 20px auto 0; color: var(--muted); text-wrap: pretty; }
.gate__form { max-width: 400px; margin: 30px auto 0; text-align: left; }
.gate__form label { display: block; font: 400 23px/1.35 var(--serif); letter-spacing: -.02em; margin-bottom: 16px; text-align: center; }
.gate__question-clue { display: block; max-width: 320px; margin: 8px auto 0; color: var(--muted); font: 400 14px/1.65 var(--sans); letter-spacing: 0; text-wrap: pretty; }
.gate__form input {
  display: block; width: 100%; min-height: 54px; padding: 13px 16px;
  border: 1px solid var(--control-line); border-radius: var(--radius); background: var(--paper); color: var(--ink);
  font-size: 16px; line-height: 1.55; /* Avoid automatic zoom on iPhone. */
}
.gate__form input::placeholder { color: #797267; opacity: 1; }
.gate__form input:focus {
  outline: none;
  border-color: var(--accent-dark);
  box-shadow: inset 0 0 0 .5px var(--accent-dark);
}
.gate__form input { transition: border-color .2s, box-shadow .2s; }
.gate__form input[aria-invalid="true"] { border-color: var(--danger); background: var(--danger-soft); box-shadow: inset 0 0 0 .5px var(--danger); }
.gate__error { display: block; margin-top: 8px; text-align: left; }
.gate__hint { margin: 16px 0 0; font-size: 13px; text-align: center; color: var(--muted); line-height: 1.75; }
.gate__hint--revealed { margin-top: 16px; padding: 18px 20px; background: var(--linen); border-radius: var(--radius); text-wrap: pretty; }
.gate__hint-title { display: block; margin-bottom: 6px; font-family: var(--serif); font-size: 18px; line-height: 1.4; color: var(--accent-dark); }
.gate__form .btn { width: 100%; }
.gate__hint-button { display: flex; margin: 12px auto 18px; padding: 0 8px; border: 0; background: transparent; }
.gate__hint-button:disabled { color: var(--muted); text-decoration: none; cursor: default; }
.gate__welcome { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 12px; pointer-events: none; }
.illustration.gate__seal { width: 96px; height: 60px; margin: 0 auto 32px; }
.gate__welcome-title { font: 400 clamp(28px, 5vw, 36px)/1.2 var(--serif); letter-spacing: -.025em; text-wrap: balance; }
.gate .status { text-align: center; }
.status { font-size: 14px; color: var(--accent-dark); line-height: 1.65; }
.status:not(:empty) { margin-top: 16px; }
.gate__help { margin: 32px auto 0; padding-top: 24px; border-top: 1px solid var(--line); max-width: 400px; font-size: 13px; color: var(--muted); }
.gate__help p { color: var(--ink); margin-bottom: 4px; }

/* Personalized invitation loading and error states. */
.invitation-state {
  min-height: calc(100svh - 56px); max-width: 620px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 64px 0; text-align: center;
}
.invitation-state .eyebrow { margin: 24px 0 14px; }
.invitation-state h1 { font-size: clamp(36px, 6vw, 56px); }
.invitation-state .small, .invitation-state .lead { max-width: 470px; margin-top: 18px; }
.invitation-state__emblem { width: 72px; height: 72px; }
.invitation-state__actions { margin-top: 28px; }
.invitation-state__actions > .contact-links { justify-content: center; margin-top: 18px; }


/* Invitation: real text and a decorative crop of the original illustration. */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: start; padding: var(--section-space) 0; }
.hero__copy { padding-top: clamp(8px, 2vw, 24px); }
.hero .eyebrow { margin-bottom: 22px; }
.hero h1 { white-space: nowrap; }
.hero__eyebrow strong { color: var(--ink); font-weight: 500; }
.hero__greeting { margin-top: 13px; color: var(--accent-dark); font: italic 400 clamp(21px, 2.6vw, 28px)/1.4 var(--serif); }
.hero__greeting + .hero__date { margin-top: 18px; }
.hero__date { margin-top: 24px; font-size: 17px; }
.hero__venue { color: var(--muted); font-size: 14px; margin-top: 3px; }
.hero__intro { max-width: 360px; color: var(--muted); margin: 24px 0 28px; }
/* The optimized asset is already cropped. Preserve the whole illustration. */
.hero__art { width: 100%; mix-blend-mode: multiply; }
.hero__art img { display: block; width: 100%; height: auto; }
.hero__caption { text-align: center; margin-top: 20px; font: italic 400 18px/1.5 var(--serif); color: var(--accent-dark); }
.section { padding: var(--section-space) 0; border-top: 1px solid var(--line); }
.section .eyebrow { margin-bottom: 20px; }
.section h2 { margin-bottom: 24px; }
.section__copy .lead { max-width: 410px; }
.section__copy > .small { max-width: 370px; margin-top: 20px; }
.place, .agenda, .contact-section { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 7vw, 100px); row-gap: 48px; }
.rsvp { display: grid; grid-template-columns: 1fr; row-gap: 32px; }
.rsvp:has(.rsvp-summary--confirmed) { padding-bottom: 16px; }
.place__details { background: var(--paper); padding: 39px 0 0; }
.details { margin: 0 0 24px; }
.details > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.details > div:first-child { padding-top: 0; }
.details > div:last-child { border: 0; padding-bottom: 0; }
.details dt { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 6px; }
.details dd { margin: 0; font-size: 15px; }
.details dd span { display: block; color: var(--muted); font-size: 14px; }
.place__actions { margin-top: 28px; }
.timeline { padding: 0; margin: 0; list-style: none; }
.event { position: relative; display: grid; grid-template-columns: 65px minmax(0, 1fr); gap: 28px; padding: 0 0 32px 24px; }
.event::before { content: ""; position: absolute; left: 3px; top: 13px; bottom: -13px; border-left: 1px solid var(--line); }
.event::after { content: ""; position: absolute; left: 0; top: 10px; width: 7px; height: 7px; border: 1px solid var(--accent); border-radius: 50%; background: var(--paper); }
.event:last-child { padding-bottom: 0; }
.event:last-child::before { display: none; }
.event time { font: 400 23px/1.5 var(--serif); color: var(--accent-dark); }
.event h3 { font-size: 16px; font-weight: 500; }
.event p { font-size: 14px; color: var(--muted); }
.personal-note {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr);
  gap: clamp(40px, 8vw, 110px); align-items: center;
  padding-bottom: 0;
}
.personal-note__portrait { width: 52px; height: auto; margin-bottom: 20px; mix-blend-mode: multiply; }
.personal-note .eyebrow { margin-bottom: 18px; }
.personal-note h3 { max-width: 300px; margin: 0; font: 400 var(--title-subsection)/1.25 var(--serif); letter-spacing: -.025em; text-wrap: balance; }
.personal-note blockquote { margin: 0; padding: 8px 0 8px clamp(26px, 4vw, 48px); border-left: 1px solid var(--accent); }
.personal-note blockquote p { font: italic 350 var(--title-subsection)/1.5 var(--serif); letter-spacing: -.018em; text-wrap: pretty; }
.personal-note blockquote footer { margin-top: 22px; color: var(--accent-dark); font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.rsvp__details { display: grid; justify-items: center; text-align: center; }
.rsvp__eyebrow { grid-column: 1 / -1; margin: 0; text-align: left; }
.rsvp .section__copy { width: min(100%, 720px); justify-self: center; text-align: center; }
.rsvp .section__copy .lead { max-width: none; }
.contact-section { align-items: center; }
.contact-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.contact-button { gap: 10px; padding: 12px 18px; }
.gate__help .contact-links { justify-content: center; }
.travel { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 32px; }
.travel > h3 { font: 400 var(--title-subsection)/1.3 var(--serif); letter-spacing: -.02em; }
.travel__options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 24px 0 0; }
.travel__options dt { display: flex; flex-direction: row; align-items: center; gap: 12px; font-weight: 500; margin-bottom: 8px; }
.travel__options .illustration { width: 40px; height: 40px; }
.travel__options dd { margin: 0; font-size: 14px; line-height: 1.75; color: var(--muted); }
.rsvp__calendar { max-width: 440px; margin: 0; }
.rsvp__calendar .small { margin: 0 0 20px; }
.rsvp__calendar-actions { justify-content: center; gap: 12px; }

/* RSVP: an editorial continuation of the invitation, separated only by rhythm and fine rules. */
.rsvp__workspace {
  --rsvp-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
  --rsvp-gap: clamp(40px, 7vw, 96px);
  grid-column: 1 / -1; min-width: 0;
}
.rsvp-card__title { margin: 0; font: 400 var(--title-subsection)/1.25 var(--serif); letter-spacing: -.035em; text-wrap: balance; }
.rsvp-closed {
  max-width: 760px; margin: 0 auto; overflow: hidden;
  border: 0; background: var(--paper);
}
.guest-editor {
  width: 100%; margin: 0;
  display: block;
}
.guest-editor__heading { max-width: 720px; padding: 8px 0 0; margin-bottom: var(--form-space); }
.rsvp-closed { padding: 30px clamp(22px, 4vw, 32px); }
.guest-editor__heading .eyebrow, .rsvp-summary__heading .eyebrow, .rsvp-closed .eyebrow { margin-bottom: 12px; }
.guest-editor__heading > p:last-child, .rsvp-closed > p:last-child,
.rsvp-summary__intro { margin-top: 12px; color: var(--muted); font-size: 14px; }
.participant-editor__name { display: grid; gap: 5px; margin-bottom: var(--form-space); padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.participant-editor__name span { color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.participant-editor__name strong { font: 400 22px/1.25 var(--serif); }
.participant-editor__comments { margin-top: var(--form-space); }
.guest-editor > .field, .guest-editor > .field-group { margin-right: 0; margin-left: 0; }
.field { display: grid; gap: 8px; color: var(--ink); font-size: 14px; font-weight: 400; }
.field > span:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-weight: 500; }
.field > span:first-child small { color: var(--muted); font-size: 10px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; }
.field > span:first-child .field__required { color: var(--accent-dark); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 13px 16px;
  border: 1px solid var(--control-line); border-radius: var(--radius); background: var(--paper); color: var(--ink);
  font-size: 16px; font-weight: 400; line-height: 1.55;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 118px; resize: vertical; }
.field select { appearance: none; padding-right: 44px; background-image: linear-gradient(45deg, transparent 50%, var(--accent-dark) 50%), linear-gradient(135deg, var(--accent-dark) 50%, transparent 50%); background-position: calc(100% - 19px) 24px, calc(100% - 14px) 24px; background-size: 5px 5px; background-repeat: no-repeat; }
.field input::placeholder, .field textarea::placeholder { color: #797267; opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-dark); box-shadow: inset 0 0 0 .5px var(--accent-dark); }
.field input:disabled, .field select:disabled, .field textarea:disabled { cursor: not-allowed; border-color: var(--line); background: var(--disabled-soft); color: var(--disabled); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); background: var(--danger-soft); box-shadow: inset 0 0 0 .5px var(--danger); }
.field-error { margin-top: 2px; color: var(--danger); font-size: 13px; font-weight: 500; line-height: 1.5; }
.field-error:empty { display: none; }
.field-group > .field-error { margin-top: 10px; }
.guest-editor > .field { margin-bottom: var(--form-space); }
.field-group { min-width: 0; margin-top: 0; margin-bottom: var(--form-space); padding: 0; border: 0; }
.field-group legend { margin-bottom: 12px; padding: 0; font: 400 20px/1.35 var(--serif); letter-spacing: -.015em; }
.field-help { margin: -5px 0 15px; color: var(--muted); font-size: 13px; }
.choice-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice-pair label { position: relative; cursor: pointer; }
.choice-pair input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice-pair span {
  display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 12px 18px;
  border: 1px solid var(--control-line); border-radius: var(--radius); background: var(--paper); color: var(--muted);
  font-size: 14px; font-weight: 500; transition: border-color .2s, color .2s, box-shadow .2s;
}
.choice-pair input:checked + span { border-color: var(--accent-dark); background: var(--accent-soft); color: var(--ink); }
.choice-pair input:focus-visible + span { outline: 2px solid var(--accent-dark); outline-offset: 3px; }
.choice-pair input:disabled + span { cursor: not-allowed; border-color: var(--line); background: var(--disabled-soft); color: var(--disabled); }
.option-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 10px; }
.option-choice { position: relative; display: block; cursor: pointer; }
.option-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.option-choice__content {
  display: grid; align-content: start; min-height: 100%; padding: 14px 16px;
  border: 1px solid var(--control-line); border-radius: var(--radius); background: var(--paper);
  color: var(--muted); transition: border-color .2s, background .2s, box-shadow .2s, color .2s;
}
.option-choice__content strong { color: var(--ink); font: 400 17px/1.35 var(--serif); }
.option-choice__content small { margin-top: 4px; color: inherit; font-size: 12px; line-height: 1.5; }
.option-choice input:checked + .option-choice__content { border-color: var(--accent-dark); background: var(--accent-soft); color: var(--accent-dark); }
.option-choice input:focus-visible + .option-choice__content { outline: 2px solid var(--accent-dark); outline-offset: 3px; }
.option-choice input:disabled + .option-choice__content { cursor: not-allowed; border-color: var(--line); background: var(--disabled-soft); color: var(--disabled); }
.guest-editor > .attendance-fieldset { margin-bottom: 0; }
.guest-preferences {
  grid-column: 1 / -1; display: grid; grid-template-columns: var(--rsvp-columns); column-gap: var(--rsvp-gap);
  margin-top: var(--form-space); padding: var(--form-space) 0 0; border-top: 1px solid var(--line);
}
.preference-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px var(--rsvp-gap); align-items: start; }
.preference-grid > .field, .preference-grid > .field-group { margin: 0; }
.dietary-restrictions-detail { grid-column: 1 / -1; }
.dietary-restrictions-detail:not([hidden]) { animation: dietary-expand .22s ease-out both; }
.dietary-restrictions-help { display: block; margin: 0; font-weight: 400; line-height: 1.6; }
.save-toast { position: fixed; z-index: 35; right: 24px; bottom: 24px; margin: 0; padding: 9px 12px; border-radius: var(--radius); background: var(--positive-soft); color: var(--positive); font-size: 13px; font-weight: 500; animation: toast-in .2s ease-out both; }
.bus-fieldset { grid-column: 1 / -1; margin-top: var(--form-space); margin-bottom: 0; }
.bus-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.bus-choice { min-width: 0; }
.bus-choice legend { margin-bottom: 10px; font-size: 18px; }
.guest-editor__actions {
  display: flex; justify-content: flex-end; flex-wrap: nowrap; align-items: center; gap: 12px;
  margin-top: var(--form-space); padding: 0;
}
.guest-editor__status { width: 100%; }
.rsvp-privacy-notice { max-width: 680px; margin: 16px 0 0 auto; color: var(--muted); font-size: 12px; line-height: 1.65; text-align: right; }
.rsvp-privacy-notice a { color: var(--ink); }
.text-button { min-height: 44px; padding: 6px 3px; border: 0; background: transparent; color: var(--ink); font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.text-button:hover { color: var(--accent-dark); text-decoration-thickness: 2px; }
.rsvp-summary__heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.rsvp-summary__heading-actions { display: grid; flex: 0 0 auto; gap: 12px; justify-items: end; }
.rsvp-summary__count { color: var(--muted); font-size: 13px; white-space: nowrap; }
.guest-summary { position: relative; min-width: 0; padding: 24px 0; border-bottom: 1px solid var(--line); }
.guest-summary-list > .guest-summary:last-child { border-bottom: 0; }
.guest-summary__actions { position: absolute; top: 22px; right: 0; display: flex; gap: 8px; }
.icon-button { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: var(--radius); background: transparent; color: var(--ink); }
.icon-button svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon-button:hover { box-shadow: inset 0 0 0 1px var(--line); }
.icon-button--danger { color: var(--danger); }
.guest-summary--editable .guest-summary__decline { padding-right: 112px; }
.guest-summary__topline { min-width: 0; }
.guest-summary__topline > div { min-width: 0; }
.guest-summary__number { display: block; margin-bottom: 5px; color: var(--accent-dark); font-size: 10px; letter-spacing: .15em; }
.guest-summary__name-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.guest-summary h4 { overflow-wrap: anywhere; margin: 0; font: 400 22px/1.25 var(--serif); letter-spacing: -.02em; }
.guest-summary__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 1fr)); gap: 18px 28px; margin: 18px 0 0; }
.guest-summary__facts > div { min-width: 0; }
.guest-summary__facts dt, .guest-summary__comment dt { color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.guest-summary__facts dd, .guest-summary__comment dd { min-width: 0; margin: 4px 0 0; overflow-wrap: anywhere; font-size: 14px; }
.guest-summary__comment { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.guest-summary__decline { margin-top: 14px; color: var(--muted); font-size: 13px; }
.add-person-button { min-height: 44px; padding: 10px 18px; }
.add-person-button span { font-size: 18px; font-weight: 300; }
.rsvp-summary--confirmed { width: 100%; max-width: none; margin: 0; }
.rsvp-summary--confirmed .rsvp-summary__heading { padding: 8px 0 30px; border-bottom: 1px solid var(--line); }
.rsvp-summary--confirmed .rsvp-summary__heading .btn { flex: 0 0 auto; }
.rsvp-summary--confirmed .guest-summary { display: block; padding: 28px 0; }
.rsvp-summary--confirmed .guest-summary__topline { min-height: 44px; padding-right: 104px; }
.rsvp-summary--confirmed .guest-summary__topline > div { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: start; }
.rsvp-summary--confirmed .guest-summary__number { margin: 7px 0 0; }
.rsvp-summary--confirmed .guest-summary__decline { margin-top: 16px; }
.rsvp-summary--confirmed > .state-mark { margin-top: 20px; }
.rsvp-closed { text-align: center; }
.rsvp-closed > p:last-child { max-width: 540px; margin-inline: auto; }
.dev-tools {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
  gap: 20px 32px; padding: 24px 28px; margin: 16px 0 40px;
  background: var(--linen); border-radius: var(--radius);
  box-shadow: inset 3px 0 0 var(--accent);
}
.dev-tools > div { min-width: 0; }
.dev-tools .eyebrow { margin-bottom: 8px; }
.dev-tools .btn { background: var(--paper); }
.dev-tools .btn:hover { background: #eee8da; }
.dev-tools .status { grid-column: 1 / -1; margin: 0; }
.dev-tools .status:empty { display: none; }

/* One family of quiet, decorative pen drawings. */
.illustration { display: block; width: 48px; height: 48px; flex: 0 0 auto; color: var(--accent-dark); stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.contact-button .illustration { width: 22px; height: 22px; color: currentColor; stroke-width: 2.5; }
.gate__emblem { width: 72px; height: 45px; margin: 0 auto 20px; }
.rsvp__emblem { width: 56px; height: 56px; margin: 0 auto 20px; }
.footer__portrait { display: block; width: min(100px, 100%); height: auto; margin: 0 auto 20px; mix-blend-mode: multiply; }

/* Privacy: broad editorial rows, without card-like containers. */
.privacy-page { padding: var(--section-space) 0 96px; }
.privacy-page__header {
  display: block; padding-bottom: 48px;
}
.privacy-page__header h1 { font-size: clamp(36px, 4.5vw, 52px); }
.privacy-page__intro { max-width: 650px; color: var(--muted); line-height: 1.85; text-wrap: pretty; }
.privacy-page__header h1 + .privacy-page__intro { margin-top: 28px; }
.privacy-page__intro strong { color: var(--ink); font-weight: 500; }
.privacy-page__updated { margin-bottom: 16px; color: var(--accent-dark); font-size: 12px; font-weight: 500; letter-spacing: .04em; }
.privacy-section {
  display: grid; grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr);
  gap: clamp(40px, 8vw, 112px); padding: 36px 0; border-top: 1px solid var(--line);
}
.privacy-section h2 { max-width: 360px; font-size: var(--title-subsection); line-height: 1.3; }
.privacy-section > div { max-width: 680px; color: var(--muted); line-height: 1.85; text-wrap: pretty; }
.privacy-section p + p { margin-top: 16px; }

@media (max-width: 760px) {
  :root { --header-height: 88px; --section-space: 56px; --form-space: 28px; }
  .topbar { flex-direction: column; justify-content: center; gap: 0; padding: 6px 16px 4px; }
  .topbar__nav { width: 100%; max-width: 100%; flex-wrap: nowrap; justify-content: flex-start; gap: 2px; overflow-x: auto; scrollbar-width: none; }
  .topbar__nav::-webkit-scrollbar { display: none; }
  .navlink { padding: 8px; font-size: 12px; }
  .is-gated .topbar { min-height: 56px; padding: 14px; }
  .app { padding: 0 24px; }
  .privacy-page { padding-top: 48px; padding-bottom: 64px; }
  .privacy-page__header, .privacy-section { grid-template-columns: 1fr; gap: 24px; }
  .privacy-page__header { align-items: start; padding-bottom: 40px; }
  .privacy-section { padding: 32px 0; }
  .privacy-section h2 { max-width: none; }
  .hero { grid-template-columns: 1fr; gap: 20px; padding: 48px 0 52px; text-align: center; }
  .hero__copy { padding-top: 0; }
  .hero h1 { font-size: clamp(42px, 10vw, 64px); white-space: normal; }
  .hero__intro { margin-left: auto; margin-right: auto; }
  .hero .actions { justify-content: center; }
  .hero__illustration { width: min(100%, 440px); margin: auto; }
  .hero__caption { margin-top: 14px; }
  .hero .eyebrow { margin-bottom: 14px; }
  .hero__date { margin-top: 18px; }
  .hero__intro { margin-top: 18px; margin-bottom: 20px; }
  .hero .actions { gap: 4px 16px; }

  .place, .agenda, .rsvp, .contact-section { grid-template-columns: 1fr; gap: 40px; }
  .place__details { padding-top: 0; }
  .section__copy .lead, .section__copy > .small { max-width: none; }
  .travel__options { grid-template-columns: 1fr; gap: 32px; }
  .travel__options dd { margin-top: 10px; }
  .event { grid-template-columns: 60px minmax(0, 1fr); gap: 18px; padding-bottom: 40px; }
  .gate { padding-top: 24px; padding-bottom: 40px; }
  .gate__intro { font-size: 15px; }
  .dev-tools { grid-template-columns: minmax(0, 1fr); padding: 24px; gap: 20px; }
  .dev-tools .btn { width: 100%; }
  .personal-note { grid-template-columns: 1fr; gap: 30px; }
  .personal-note__heading { text-align: center; }
  .personal-note__portrait { margin-left: auto; margin-right: auto; }
  .personal-note h3 { margin-inline: auto; }
  .personal-note blockquote { padding: 4px 0 4px 24px; }
  .rsvp__workspace { --rsvp-columns: minmax(0, 1fr); --rsvp-gap: 12px; }
  .guest-editor { display: block; }
  .guest-editor__heading { padding-top: 0; margin-bottom: var(--form-space); }
  .guest-editor > .field, .guest-editor > .field-group { margin-right: 0; margin-left: 0; }
  .guest-preferences { display: block; padding-top: 28px; }
  .preference-grid, .bus-grid { grid-template-columns: 1fr; gap: 32px; }
  .preference-grid { gap: 32px; }
  .guest-editor__actions { align-items: stretch; }
  .guest-editor__actions .btn { flex: 1 1 0; min-width: 0; padding-inline: 12px; }
  .rsvp-privacy-notice { margin-left: 0; text-align: left; }
  .rsvp-summary__heading { align-items: start; flex-direction: column; gap: 24px; }
  .rsvp-summary__heading-actions { width: 100%; }
  .guest-summary__actions { top: 26px; }
  .guest-summary--editable .guest-summary__topline { min-height: 44px; padding-right: 104px; }
  .guest-summary__facts { column-gap: 18px; }
  .guest-summary--editable .guest-summary__decline { padding-right: 0; }
  .rsvp-summary--confirmed .guest-summary__decline { margin-top: 16px; }
}
@media (max-width: 400px) {
  .choice-pair { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 360px) {
  .app { padding: 0 20px; }
  .navlink { padding-inline: 6px; font-size: 12px; }
  .gate h1 { font-size: 32px; }
  .gate__form label { font-size: 21px; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .text-link { justify-content: center; }
  .rsvp-summary__heading-actions { justify-items: stretch; }
}
/* Shared transition: the rings drawn when the welcome question is answered. */
.loading-state { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px; padding: 48px 24px; text-align: center; }
.loading-state__seal, .illustration.gate__seal, .request-transition__seal { width: 96px; height: 60px; flex: 0 0 auto; }
.loading-state__title, .gate__welcome-title, .request-transition__title { font: 400 clamp(28px, 5vw, 36px)/1.2 var(--serif); letter-spacing: -.025em; text-wrap: balance; }
.rsvp__workspace { position: relative; }
.rsvp-loading { background: var(--paper); }
.loading-layer { position: fixed; z-index: 40; inset: var(--header-height) 0 0; min-height: 0; background: rgb(255 255 255 / 97%); }
@media (prefers-reduced-motion: no-preference) {
  .gate, .rsvp__workspace > :not(.rsvp-loading):not(dialog) { animation: arrive .45s ease-out both; }
  .loading-state__seal circle, .gate__seal circle, .request-transition__seal circle { stroke-dasharray: 82; animation: trace-ring .65s ease-out both; }
  .loading-state__seal circle + circle, .gate__seal circle + circle, .request-transition__seal circle + circle { animation-delay: .12s; }
  .loading-state__title, .gate__welcome-title, .request-transition__title { animation: arrive .45s ease-out .22s both; }
  @keyframes trace-ring { from { stroke-dashoffset: 82; opacity: 0; } to { stroke-dashoffset: 0; opacity: 1; } }
  @keyframes arrive { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
  @keyframes dietary-expand { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
  @keyframes toast-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
