:root {
  color-scheme: dark;
  --bg: #170e17;
  --surface: #211421;
  --surface-raised: #2b1b29;
  --text: #fff4eb;
  --muted: #cfbac5;
  --accent: #ffb594;
  --ink: #27131c;
  --line: #533645;
  --serif: "Baskerville", "Georgia", serif;
  --sans: "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 280px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.5;
}
.shell { width: min(100% - 96px, 1392px); margin: 0 auto; }
.masthead, .footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-block-end: 1px solid var(--line);
}
.masthead { min-height: 77px; }
.wordmark { color: var(--text); text-decoration: none; font: 1.22rem var(--serif); }
.wordmark i { font-size: .88em; }
.spark { margin-right: .5em; color: var(--accent); }
.masthead-note, .eyebrow {
  margin: 0;
  color: var(--accent);
  font: 700 .72rem/1.5 var(--sans);
  letter-spacing: .19em;
  text-transform: uppercase;
}
.masthead-note { color: var(--muted); white-space: nowrap; }
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: min(630px, 78vh);
  border-block-end: 1px solid var(--line);
  overflow: hidden;
}
.hero-visual { position: absolute; z-index: -1; inset: 0 0 0 31%; }
.hero-visual img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 60% 55%; }
.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, var(--bg), rgba(23, 14, 23, .83) 14%, rgba(23, 14, 23, .35) 41%, transparent 73%),
    linear-gradient(0deg, rgba(23, 14, 23, .34), transparent 35%);
}
.hero-content { width: min(780px, 78%); padding: 55px 0 48px clamp(14px, 3.5vw, 52px); }
.eyebrow > span { display: inline-block; width: 22px; height: 1px; margin-right: 7px; vertical-align: middle; background: currentColor; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.03; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.6rem, 5.7vw, 6.3rem); letter-spacing: -.065em; }
h1 em { color: var(--accent); font-weight: 400; }
.hero h1 { margin: 22px 0; }
h2 { font-size: clamp(1.62rem, 3vw, 2.6rem); letter-spacing: -.035em; }
.hero-description { max-width: 415px; margin: 0; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.125rem); }
.event-date { margin: 26px 0 17px; font-size: .86rem; font-weight: 650; letter-spacing: .08em; }
.event-date span { color: var(--accent); margin-right: 5px; }
.response-actions { display: flex; align-items: center; gap: 12px; }
.button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 11px 18px;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 5px;
  font: 700 .88rem/1.2 var(--sans);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.primary { background: var(--accent); color: var(--ink); }
.primary:hover { background: #ffc8af; }
.secondary { background: var(--surface); border-color: #906476; color: var(--text); }
.secondary:hover { background: var(--surface-raised); border-color: var(--accent); }
.button:disabled { cursor: default; opacity: .65; }
:where(a, button, input):focus-visible { outline: 2px solid #ffd4b8; outline-offset: 4px; }
.decline-space { position: relative; align-self: stretch; min-width: 205px; }
.decline-space button { position: absolute; left: 0; top: 0; white-space: nowrap; z-index: 1; }
.decline-note { color: var(--muted); font-size: .77rem; margin: 25px 0 0; }
.itinerary { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 36px; padding: 30px clamp(14px, 3.5vw, 52px); }
.itinerary article:last-child { padding-left: 10%; }
.itinerary article h2 { margin-top: 5px; }
.itinerary article > p:last-child { margin: 5px 0 0; font-size: .88rem; color: var(--muted); }
.itinerary-spark { color: var(--accent); font-size: 1.4rem; }
.footer { justify-content: space-between; min-height: 57px; margin: 4px 0 0; border-block-start: 1px solid var(--line); border-block-end: 0; color: var(--muted); font-size: .74rem; }
.footer [aria-hidden] { color: var(--accent); margin: 0 4px; }
.standalone { margin: 0 auto; width: min(100%, 680px); padding: clamp(56px, 10vw, 110px) 0; }
.standalone.compact { width: min(100%, 510px); }
.standalone .eyebrow { margin-bottom: 14px; }
.standalone h1 { font-size: clamp(2.85rem, 6.7vw, 5.4rem); }
.standalone p:not(.eyebrow) { color: var(--muted); max-width: 500px; }
.large-spark { display: block; color: var(--accent); font-size: 2.15rem; margin-bottom: 12px; }
.page-head { padding: 52px 0 28px; }
.page-head h1 { margin-top: 10px; font-size: clamp(2.8rem, 6.5vw, 5.75rem); }
.admin-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 24px; }
.guest-panels { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; }
.panel { min-width: 0; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: clamp(18px, 3.2vw, 32px); }
.panel h2 { margin-bottom: 12px; }
.panel p:not(.eyebrow) { color: var(--muted); margin: 0 0 15px; }
.panel .eyebrow { margin-bottom: 8px; }
.panel .button + .muted { margin-top: 11px; }
.muted { color: var(--muted); }
.stack { display: grid; gap: 8px; }
.stack .button { justify-self: start; margin-top: 5px; }
.text-link { display: inline-block; margin-top: 20px; color: var(--accent); text-underline-offset: .19em; }
label { display: block; font-weight: 650; font-size: .89rem; }
input {
  min-height: 44px;
  width: 100%;
  min-width: 0;
  padding: 8px 11px;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid #906476;
  border-radius: 5px;
}
input::placeholder { color: #c0a2b0; opacity: 1; }
input[readonly] { font-size: .83rem; }
.input-action { display: flex; gap: 8px; min-width: 0; align-items: center; }
.input-action .button { flex-shrink: 0; }
.confirm-form { width: min(100%, 510px); }
.confirm-form label { margin: 0 0 5px; }
.invite-list { display: grid; gap: 15px; margin-top: 14px; }
.invite-caption { display: flex; align-items: center; gap: 9px; margin-bottom: 5px; }
.pill { border: 1px solid #906476; border-radius: 999px; padding: 1px 8px; color: var(--accent); font-size: .69rem; }
.pill-used { color: var(--muted); }
.separated { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.attendees { margin-bottom: 25px; }
table { width: 100%; border-collapse: collapse; text-align: left; }
td, th { overflow-wrap: anywhere; padding: 10px 7px; border-bottom: 1px solid var(--line); }
td:first-child, th:first-child { padding-left: 0; }
th { font-size: .82rem; color: var(--muted); }
.notice { color: #ffd0c3; padding: 9px 12px; border: 1px solid #9c5868; border-radius: 5px; background: #351b29; }
.notice.success { color: #c9e5c8; border-color: #61795e; }
.sr-only { position: absolute; overflow: hidden; clip-path: inset(50%); width: 1px; height: 1px; white-space: nowrap; }
@media (max-width: 900px) {
  .shell { width: calc(100% - 54px); }
  .hero { min-height: 525px; }
}
@media (max-width: 650px) {
  .shell { width: calc(100% - 36px); }
  .masthead { min-height: 61px; gap: 8px; }
  .masthead-note { font-size: .59rem; letter-spacing: .10em; }
  .wordmark { font-size: 1rem; }
  .hero { align-items: start; min-height: 0; }
  .hero-content { padding: 26px 0 20px; width: 100%; }
  .hero-visual { inset: 0 -18px 0 -18px; }
  .hero-visual img { object-position: 65% 52%; }
  .hero-visual::after {
    background: linear-gradient(90deg, rgba(23,14,23,.96), rgba(23,14,23,.77) 62%, rgba(23,14,23,.30)),
      linear-gradient(0deg, var(--bg), transparent 60%, rgba(23,14,23,.20));
  }
  .hero h1 { font-size: clamp(2.65rem, 11vw, 4.35rem); margin: 14px 0; letter-spacing: -.069em; }
  .hero-description { max-width: 335px; }
  .desktop-break { display: none; }
  .decline-space { min-width: 145px; }
  .itinerary { gap: 10px; padding: 22px 0; }
  .itinerary article:last-child { padding-left: 0; }
  .itinerary h2 { font-size: clamp(1.3rem, 6vw, 2rem); }
  .itinerary article > p:last-child { font-size: .75rem; }
  .panels, .guest-panels { grid-template-columns: minmax(0, 1fr); }
  .confirm-form .input-action { align-items: stretch; flex-direction: column; }
  .footer { font-size: .67rem; gap: 5px; }
}
@media (max-width: 330px) {
  .shell { width: calc(100% - 28px); }
  .button { padding-inline: 12px; gap: 8px; }
  .masthead-note { font-size: .52rem; }
}
