:root {
  color-scheme: dark;
  --ink: #101127;
  --paper: #fff7ea;
  --soft: #cbcce0;
  --orange: #ff694b;
  --line: #424364;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--ink); color: var(--paper); }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.skip { position: absolute; top: 0; left: 1rem; transform: translateY(-110%); background: var(--ink); padding: .75rem; z-index: 2; }
.skip:focus { transform: none; }
.shell { width: min(1240px, calc(100% - 6rem)); margin-inline: auto; }
.bar { height: 5.25rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); gap: 1rem; }
.bar a { text-decoration: none; }
.bar nav { display: flex; gap: 2.25rem; }
.bar nav a:hover, .venue-link:hover { color: var(--orange); }
.brand { display: flex; align-items: center; gap: .45rem; font-size: 1.15rem; font-weight: 850; letter-spacing: -.03em; }
.brand span { display: grid; place-items: center; background: var(--orange); color: var(--ink); width: 2rem; height: 2rem; border-radius: 50%; }
.nav-rsvp { border: 1px solid #777998; border-radius: 2rem; padding: .6rem 1rem; }
.nav-rsvp:hover { background: var(--paper); color: var(--ink); }
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; padding-block: clamp(4rem, 7vw, 7.5rem); }
.eyebrow { font-size: .9rem; font-weight: 800; color: var(--orange); letter-spacing: .13em; text-transform: uppercase; margin: 0 0 1.25rem; }
h1,h2,h3,p,figure { margin: 0; }
h1 { font-size: clamp(3.8rem, 7.5vw, 8rem); line-height: .9; letter-spacing: -.082em; font-weight: 850; }
h1 span { color: var(--orange); white-space: nowrap; }
h2 { font-size: clamp(2.4rem, 5.25vw, 5rem); letter-spacing: -.065em; line-height: .98; font-weight: 820; }
h3 { font-size: clamp(1.5rem, 3vw, 2.6rem); letter-spacing: -.045em; line-height: 1.08; }
.lead { font-size: clamp(1.05rem, 1.65vw, 1.3rem); color: var(--soft); line-height: 1.55; max-width: 31rem; margin: 1.65rem 0 1.35rem; }
.stamp { display: grid; gap: .25rem; margin-bottom: 1.6rem; font-weight: 750; }
.stamp span { color: var(--soft); font-weight: 500; }
.button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 2rem; padding: .8rem 1.25rem; min-height: 3rem; font-weight: 760; text-decoration: none; transition: background .2s, color .2s; }
.primary { background: var(--orange); color: #171228; }
.primary:hover { background: #ff967d; }
.secondary { color: var(--paper); background: transparent; border-color: #777998; }
.secondary:hover { background: var(--paper); color: var(--ink); }
.hero-art { background: #24204b; aspect-ratio: 1.12; overflow: hidden; border-radius: 50% 50% .4rem .4rem; }
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 59% center; }
.letter { background: #ff694b; color: #171228; padding-block: clamp(3rem, 7vw, 7rem); }
.letter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.letter p,.place p,.reply p { font-size: 1.1rem; line-height: 1.55; }
.letter p + p { margin-top: 1rem; }
.sign { font-weight: 800; }
.program { padding-block: clamp(4rem, 8vw, 8rem); }
.agenda { margin-top: 2rem; border-top: 1px solid var(--line); }
.agenda article { display: grid; grid-template-columns: 12rem 1fr; padding-block: 1.5rem; gap: 1.25rem; border-bottom: 1px solid var(--line); }
.agenda-label { color: var(--orange); font-weight: 780; padding-top: .25rem; }
.agenda article p { color: var(--soft); margin-top: .45rem; line-height: 1.55; }
.place { background: #252654; padding-block: clamp(3rem, 6vw, 6rem); }
.place-grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; }
.place h2 + p { margin-top: 1rem; color: var(--soft); }
.place-actions { display: grid; gap: .75rem; justify-items: stretch; }
.venue-link { text-align: center; text-underline-offset: .2rem; }
.reply { padding-block: clamp(3rem, 7vw, 7rem); }
.reply h2 + p { margin-top: 1rem; max-width: 40rem; color: var(--soft); }
.reply-actions { display: flex; gap: .65rem; flex-wrap: wrap; margin-top: 1.3rem; }
.reply .feedback,.reply .manual { margin-top: .8rem; }
.feedback:empty { display: none; }
.manual { user-select: all; color: var(--paper); }
.footer { border-top: 1px solid var(--line); padding-block: 1.6rem; display: flex; justify-content: space-between; gap: .6rem 1.5rem; flex-wrap: wrap; color: var(--soft); }
@media (max-width: 900px) {
  .shell { width: calc(100% - 3rem); }
  .hero { gap: 1rem; }
  h1 { font-size: clamp(3.3rem, 8vw, 5.5rem); }
}
@media (max-width: 650px) {
  .shell { width: calc(100% - 2.25rem); }
  .bar { height: 4.25rem; }
  .bar nav { gap: .75rem; font-size: .875rem; }
  .nav-rsvp { padding: .45rem .65rem; font-size: .875rem; }
  .brand { font-size: .92rem; }
  .brand span { width: 1.65rem; height: 1.65rem; }
  .hero,.letter-grid,.place-grid { grid-template-columns: 1fr; }
  .hero { padding-block: 2.8rem 3rem; gap: 2rem; }
  h1 { font-size: clamp(3.25rem, 11.2vw, 5rem); }
  .hero-art { max-height: 29rem; }
  .letter-grid { gap: 1.3rem; }
  .agenda article { grid-template-columns: 1fr; gap: .4rem; }
  .place-actions { justify-items: start; }
}
@media (max-width: 355px) { .bar nav { gap: .45rem; } }
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .button { transition: none; }
}
.address { margin-top: 1rem; color: var(--soft); }
.travel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-block: 2rem; }
.travel-grid article { border-top: 1px solid #777998; padding-top: 1rem; }
.travel-grid h3 { font-size: 1.45rem; }
.travel-grid p { margin-block: .6rem; color: var(--soft); font-size: 1rem; }
.travel-grid a { display: block; width: fit-content; margin-top: .6rem; text-underline-offset: .2em; }
.rsvp-form { max-width: 34rem; display: grid; gap: 1rem; margin-top: 1.4rem; }
.rsvp-form label { display: grid; gap: .4rem; font-weight: 680; }
.rsvp-form input:not([type=radio]) { width: 100%; padding: .7rem .85rem; border: 1px solid #777998; border-radius: .5rem; background: #202143; color: var(--paper); font: inherit; }
.rsvp-form fieldset { border: 1px solid #777998; border-radius: .5rem; display: flex; gap: 1.3rem; flex-wrap: wrap; }
.rsvp-form .choice { display: flex; align-items: center; font-weight: 500; }
.rsvp-form button { justify-self: start; }
.rsvp-form .form-note { font-size: .92rem; color: var(--soft); }
.rsvp-status { margin-top: 1rem; padding: .75rem 1rem; border-left: .25rem solid var(--orange); background: #252654; max-width: 34rem; }
.admin-list { border-collapse: collapse; width: 100%; margin-top: 1.5rem; }
.admin-list th,.admin-list td { text-align: left; padding: .6rem; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
@media (max-width: 650px) { .travel-grid { grid-template-columns: 1fr; gap: 1rem; } }

:root {
  --ink: #0b1c4d;
  --paper: #fff2cf;
  --soft: #e3e8ff;
  --orange: #ffab39;
  --line: #5270a8;
  --yellow: #ffda55;
  --cream: #fff2cf;
}
body { background: #102660; }
.bar { border-color: #5472ab; }
.brand span { background: var(--yellow); }
.nav-rsvp { border-color: #98a9dc; }
.hero { grid-template-columns: 1.13fr .87fr; min-height: min(680px, 80vh); gap: clamp(1rem, 3vw, 4rem); padding-block: clamp(3rem, 6vw, 6.5rem); }
.hero h1 { font-size: clamp(3.4rem, 7.15vw, 7.7rem); line-height: .92; }
.hero h1 strong { color: var(--yellow); font-weight: inherit; white-space: nowrap; }
.hero h1 span { font-size: .56em; vertical-align: 8%; color: var(--yellow); letter-spacing: -.045em; }
.hero .eyebrow { color: var(--yellow); }
.hero-art { position: relative; aspect-ratio: 1.08; border: 2px solid var(--yellow); border-radius: 48% 48% 1rem 1rem; background: #1f4081; box-shadow: .55rem .55rem 0 #ff8f36; }
.hero-art img { object-position: 50% center; }
.event-facts { display: flex; flex-wrap: wrap; gap: .65rem 1.6rem; padding-block: .95rem; border-block: 1px solid #728bd0; margin: 1.35rem 0; }
.event-facts dt { font-size: .9rem; color: #d7e1fa; margin-bottom: .2rem; }
.event-facts dd { font-size: 1rem; font-weight: 800; margin: 0; }
.primary { background: var(--yellow); color: #0b1c4d; }
.primary:hover { background: #ffe58e; }
.letter { background: #ff8f36; color: #10244e; }
.program { color: var(--paper); }
.agenda-label { color: var(--yellow); }
.place { background: var(--cream); color: #152858; }
.place .eyebrow { color: #9a3a18; }
.place :is(.address,.travel-grid p) { color: #293b62; }
.travel-grid article { border-color: #b3a783; }
.place .secondary { color: #152858; border-color: #526588; }
.place .secondary:hover { background: #152858; color: var(--cream); }
.place a:focus-visible { outline-color: #152858; }
.rsvp-form input:not([type=radio]) { background: #182f70; border-color: #8b9ccc; }
@media (max-width: 870px) {
  .hero h1 { font-size: clamp(3.1rem, 7.85vw, 5rem); }
  .event-facts { gap: .6rem 1rem; }
}
@media (max-width: 650px) {
  .hero { grid-template-columns: 1fr; gap: 1.7rem; min-height: 0; }
  .hero h1 { font-size: clamp(3.15rem, 11.8vw, 5.3rem); }
  .hero-art { width: calc(100% - .55rem); max-width: 31rem; margin-inline: auto; }
  .bar { gap: .5rem; }
  .bar nav { gap: .65rem; }
}
@media (max-width: 375px) { .bar nav a:first-child { display: none; } }

.footer-note { flex-basis: 100%; font-size: .8125rem; line-height: 1.5; color: var(--soft); }

.conversation { padding-block: clamp(3rem, 7vw, 6rem); background: #0b1c4d; }
.conversation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.conversation-grid h2 { color: var(--yellow); }
.conversation-grid h2 + p { max-width: 27rem; margin-top: 1rem; color: var(--soft); line-height: 1.55; }
.conversation-card { background: var(--cream); color: var(--ink); border: 2px solid var(--yellow); border-radius: 1.25rem; padding: clamp(1.3rem, 4vw, 2.5rem); box-shadow: .45rem .45rem 0 #ff8f36; }
.conversation-card p { font-size: clamp(1.45rem, 2.9vw, 2.15rem); line-height: 1.15; letter-spacing: -.04em; font-weight: 800; min-height: 4.9em; }
.conversation-card button { margin-top: 1rem; }
.conversation-card button[hidden] { display: none; }
.conversation-card button:focus-visible { outline-color: #152858; }
.loft-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; margin-top: 1.6rem; }
.loft-gallery figure { min-width: 0; }
.loft-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .7rem; background: #eeddb5; }
.loft-gallery figcaption { margin-top: .45rem; font-weight: 730; }
.place .loft-credit { margin-top: .7rem; font-size: .85rem; }
@media (max-width: 650px) {
  .conversation-grid { grid-template-columns: 1fr; }
  .conversation-card p { min-height: 3.7em; }
  .loft-gallery { grid-template-columns: 1fr 1fr; }
  .loft-gallery img { aspect-ratio: 4 / 3; }
}

.hero-art img { object-position: center; }
