@charset "UTF-8";

:root {
  color-scheme: dark;
  --night: #111624;
  --night-deep: #0a0d17;
  --night-soft: #1a2030;
  --plum: #291827;
  --plum-soft: #392539;
  --ivory: #f5eedf;
  --ivory-muted: #d3c9b8;
  --gold: #d9bd82;
  --gold-bright: #ead49d;
  --gold-deep: #ad8952;
  --line: rgba(217, 189, 130, .24);
  --line-light: rgba(245, 238, 223, .13);
  --danger: #f0a49b;
  --success: #b7d4b5;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  color: var(--ivory);
  background: var(--night);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { color: inherit; }
:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 4px; }
::selection { color: var(--night); background: var(--gold-bright); }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  padding: 12px 16px;
  color: var(--night);
  background: var(--gold-bright);
  border-radius: 6px;
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }
.site-header {
  width: min(100%, 1240px);
  min-height: 76px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  z-index: 4;
}
.wordmark {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ivory);
  text-decoration: none;
}
.wordmark-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--ivory);
  font: 13px/1 var(--serif);
  letter-spacing: -.025em;
}
.wordmark-mark span { color: var(--gold); font: 8px/1 var(--sans); margin: 0 1px; }
.wordmark-label { color: var(--ivory-muted); font-size: 11px; letter-spacing: .11em; text-transform: uppercase; }
.header-cta {
  min-height: 44px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(217, 189, 130, .56);
  border-radius: 2px;
  color: var(--gold-bright);
  text-decoration: none;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .03em;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.header-cta:hover { color: var(--night); background: var(--gold); border-color: var(--gold); }
.section-wrap { width: min(100% - 40px, 1000px); margin-inline: auto; }
.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  line-height: 1.5;
  text-transform: uppercase;
}

/* Public hero */
.public-page {
  background:
    radial-gradient(ellipse at 85% 10%, rgba(79, 49, 72, .24), transparent 32rem),
    radial-gradient(ellipse at 2% 37%, rgba(74, 80, 100, .12), transparent 24rem),
    var(--night);
}
.hero {
  min-height: 580px;
  padding-top: 38px;
  padding-bottom: 56px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 34px;
}
.hero-copy { position: relative; z-index: 2; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 9px; }
.eyebrow-star { font-size: 15px; color: var(--gold-bright); }
.hero-monogram {
  margin: 25px 0 13px;
  color: var(--gold-bright);
  font: 20px/1 var(--serif);
  letter-spacing: .16em;
}
.hero-monogram span { margin-inline: 6px; color: var(--ivory-muted); font: 11px/1 var(--sans); }
.hero h1 {
  max-width: 680px;
  margin: 0;
  font: 400 clamp(52px, 13vw, 88px)/.88 var(--serif);
  letter-spacing: -.065em;
}
.hero h1 span { display: block; margin-top: 7px; color: var(--gold); font-style: italic; letter-spacing: -.06em; }
.hero-date { margin: 24px 0 3px; color: var(--ivory); font-size: 14px; letter-spacing: .015em; }
.hero-date span { padding: 0 4px; color: var(--gold); }
.hero-host { margin: 0; color: var(--ivory-muted); font: italic 17px/1.4 var(--serif); }
.button {
  min-height: 48px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, opacity .18s ease;
}
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:disabled { cursor: not-allowed; opacity: .52; }
.button-gold { color: #15151a; background: var(--gold); border-color: var(--gold); }
.button-gold:hover:not(:disabled) { color: #111; background: var(--gold-bright); border-color: var(--gold-bright); }
.button-outline { color: var(--gold-bright); background: transparent; border-color: rgba(217, 189, 130, .65); }
.button-outline:hover:not(:disabled) { color: var(--night); background: var(--gold); }
.button-quiet { color: var(--ivory-muted); background: transparent; border-color: var(--line-light); }
.button-quiet:hover:not(:disabled) { color: var(--ivory); border-color: var(--gold); }
.button-full { width: 100%; }
.hero-button { margin-top: 26px; min-height: 54px; padding-inline: 20px; }
.hero-capacity { min-height: 28px; margin-top: 16px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--ivory-muted); font-size: 12px; }
.capacity-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px rgba(217, 189, 130, .45); }
.capacity-dot.is-closed { background: var(--danger); box-shadow: 0 0 10px rgba(240, 164, 155, .35); }
.text-button { min-height: 44px; padding: 8px; border: 0; color: var(--gold); background: transparent; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.hero-art-frame {
  min-height: 240px;
  aspect-ratio: 1 / .92;
  margin: 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(217, 189, 130, .55);
  background:
    radial-gradient(ellipse at 45% 55%, rgba(90, 62, 79, .72), transparent 58%),
    linear-gradient(145deg, #343044, #191b2b 55%, #292032);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .27);
}
.hero-art-frame::before { content: ""; position: absolute; z-index: 1; inset: 0; border: 8px solid rgba(13, 16, 27, .12); pointer-events: none; }
.hero-art-frame::after { content: "✦"; position: absolute; z-index: 2; top: 13%; left: 50%; color: var(--gold-bright); font-size: 18px; text-shadow: 0 0 20px rgba(234, 212, 157, .7); }
.hero-art { width: 100%; height: 100%; position: absolute; inset: 0; display: block; object-fit: cover; opacity: .84; mix-blend-mode: screen; }
.art-caption { position: absolute; z-index: 2; right: 15px; bottom: 13px; color: rgba(245, 238, 223, .88); font: italic 12px/1.3 var(--serif); letter-spacing: .04em; text-shadow: 0 1px 9px #090b14; }
.art-corner { position: absolute; z-index: 2; color: var(--gold-bright); font-size: 14px; }
.art-corner-top { top: 12px; left: 15px; }
.art-corner-bottom { right: 14px; top: 12px; }
.hero-star { position: absolute; z-index: 2; color: var(--gold); pointer-events: none; }
.hero-star-one { right: 0; top: 46%; font-size: 15px; }
.hero-star-two { right: 10%; bottom: 21%; font-size: 12px; opacity: .7; }

.intro-band {
  min-height: 130px;
  padding: 28px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(41, 24, 39, .58), rgba(17, 22, 36, .85), rgba(41, 24, 39, .58));
  text-align: center;
}
.intro-band p { margin: 0; font: italic 19px/1.35 var(--serif); }
.intro-band .intro-signature { color: var(--gold); font: 10px/1.6 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.intro-rule { width: 36px; height: 1px; margin-block: 3px; background: var(--gold-deep); }

.details-section { padding-block: 78px 68px; }
.section-heading { margin-bottom: 30px; }
.section-heading h2, .address-copy h2, .rsvp-heading h2 {
  margin: 10px 0 0;
  font: 400 clamp(38px, 9vw, 62px)/.98 var(--serif);
  letter-spacing: -.045em;
}
.section-heading h2 em, .rsvp-heading h2 em { color: var(--gold); font-weight: 400; }
.details-list { display: flex; flex-direction: column; gap: 12px; }
.detail-card {
  min-height: 168px;
  padding: 22px 23px;
  position: relative;
  border: 1px solid var(--line-light);
  background: linear-gradient(135deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01));
}
.detail-card::before { content: ""; position: absolute; top: 0; left: 22px; width: 36px; height: 1px; background: var(--gold); }
.detail-kicker { color: var(--ivory-muted); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.detail-price-value { margin: 4px 0 0; color: var(--gold-bright); font: 50px/.95 var(--serif); letter-spacing: -.05em; }
.detail-price-value span { font: 15px/1 var(--sans); letter-spacing: 0; vertical-align: 14px; }
.detail-card p:not(.detail-price-value) { max-width: 35ch; margin: 11px 0 0; color: var(--ivory-muted); font-size: 13px; line-height: 1.65; }
.detail-card h3 { margin: 12px 0 0; font: 24px/1.15 var(--serif); }
.detail-icon { color: var(--gold); font-size: 20px; line-height: 1; }
.detail-deadline .detail-icon { font: 16px/1 var(--serif); }
.detail-card strong { color: var(--ivory); font-weight: 650; }
.payment-note { margin: 18px 0 0; color: #b7ac9c; font-size: 11px; }

.address-section {
  margin-bottom: 78px;
  padding: 28px 25px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 94% 8%, rgba(117, 74, 88, .23), transparent 17rem),
    linear-gradient(145deg, rgba(41, 24, 39, .78), rgba(24, 25, 37, .88));
}
.address-copy h2 { font-size: clamp(35px, 8vw, 50px); }
.address-copy address { margin-top: 19px; color: var(--ivory-muted); font-size: 14px; font-style: normal; line-height: 1.75; }
.map-link { margin-top: 22px; min-height: 48px; }
.address-ornament {
  min-height: 190px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(217, 189, 130, .2);
  color: var(--gold);
}
.orbit { width: 155px; height: 155px; position: absolute; border: 1px solid rgba(217, 189, 130, .42); border-radius: 50%; }
.orbit-one { transform: rotate(30deg) scaleX(.6); }
.orbit-two { transform: rotate(-30deg) scaleX(.6); }
.address-star { position: absolute; top: 24px; font-size: 15px; }
.address-mark { z-index: 1; color: var(--ivory); font: 30px/1 var(--serif); letter-spacing: .08em; }
.address-mark i { color: var(--gold); font: normal 13px/1 var(--sans); }
.address-small { position: absolute; bottom: 25px; color: var(--ivory-muted); font-size: 8px; letter-spacing: .2em; }

/* RSVP */
.rsvp-section {
  padding-block: 72px 78px;
  position: relative;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 6% 12%, rgba(75, 49, 70, .43), transparent 30rem),
    linear-gradient(180deg, #191725, #111624 72%);
}
.rsvp-inner { display: flex; flex-direction: column; gap: 32px; }
.rsvp-heading h2 { font-size: clamp(42px, 10vw, 65px); }
.rsvp-heading > p:not(.eyebrow) { max-width: 32ch; margin: 14px 0 0; color: var(--ivory-muted); font-size: 14px; }
.rsvp-capacity-card {
  max-width: 360px;
  min-height: 113px;
  margin-top: 24px;
  padding: 17px 19px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  border: 1px solid var(--line);
  background: rgba(9, 12, 21, .25);
}
.capacity-label { color: var(--ivory-muted); font-size: 11px; letter-spacing: .06em; }
.capacity-number { grid-column: 2; grid-row: 1 / span 2; color: var(--gold-bright); font: 45px/.95 var(--serif); }
.capacity-caption { color: var(--ivory); font-size: 12px; }
.capacity-track { height: 2px; margin-top: 12px; grid-column: 1 / -1; overflow: hidden; background: rgba(245, 238, 223, .16); }
.capacity-track span { width: 0; height: 100%; display: block; background: var(--gold); transition: width .4s ease; }
.rsvp-panel {
  min-width: 0;
  padding: 24px 20px;
  border: 1px solid rgba(217, 189, 130, .3);
  background: rgba(12, 15, 25, .52);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .17);
}
.form-step { display: flex; flex-direction: column; align-items: stretch; }
.step-label { margin: 0 0 8px; color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.step-label span { color: var(--ivory-muted); font-weight: 500; }
.form-step h3, .receipt-view h3 { margin: 0; font: 30px/1.12 var(--serif); letter-spacing: -.025em; }
.step-intro { margin: 9px 0 22px; color: var(--ivory-muted); font-size: 13px; line-height: 1.65; }
.field-label { display: block; margin: 0 0 7px; color: var(--ivory); font-size: 12px; font-weight: 650; }
input[type="text"], input[type="tel"], input[type="password"], input[type="search"] {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid rgba(245, 238, 223, .23);
  border-radius: 2px;
  outline: 0;
  color: var(--ivory);
  background: rgba(255, 255, 255, .045);
  font-size: 16px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
input::placeholder { color: #8f8b8e; opacity: 1; }
input:focus { border-color: var(--gold); background: rgba(255, 255, 255, .065); box-shadow: 0 0 0 3px rgba(217, 189, 130, .12); }
input[aria-invalid="true"] { border-color: var(--danger); }
#responsible-phone { margin-top: 0; }
#responsible-name { margin-bottom: 0; }
.field-hint { margin: 7px 0 0; color: #aaa2a0; font-size: 11px; line-height: 1.5; }
.field-error { min-height: 0; margin: 5px 0 17px; color: var(--danger); font-size: 12px; line-height: 1.45; }
.field-error:empty { display: none; }
#continue-contact { margin-top: 9px; }
.extras-list { display: flex; flex-direction: column; gap: 14px; }
.extra-row { padding: 13px; position: relative; border: 1px solid rgba(245, 238, 223, .15); background: rgba(255, 255, 255, .025); }
.extra-row-head { margin-bottom: 7px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.extra-row-head label { color: var(--ivory-muted); font-size: 11px; font-weight: 650; }
.remove-extra { min-width: 44px; min-height: 44px; padding: 8px; border: 0; color: var(--ivory-muted); background: transparent; cursor: pointer; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.extra-row input { min-height: 48px; }
.extra-error { margin: 5px 0 0; color: var(--danger); font-size: 11px; }
.button-add { width: 100%; margin-top: 14px; color: var(--gold-bright); background: rgba(217, 189, 130, .08); border-color: rgba(217, 189, 130, .35); }
.button-add:hover:not(:disabled) { background: rgba(217, 189, 130, .14); }
.button-add span { color: var(--gold); font-size: 18px; }
.group-capacity-note { min-height: 20px; margin: 9px 0 0; color: var(--ivory-muted); font-size: 11px; }
.step-actions { margin-top: 20px; display: flex; justify-content: space-between; gap: 10px; }
.step-actions .button { flex: 1 1 50%; padding-inline: 10px; }
.review-names { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-light); }
.review-names li { padding: 11px 2px; display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line-light); font-size: 13px; }
.review-names li span:first-child { min-width: 0; overflow-wrap: anywhere; }
.review-names li span:last-child { flex: 0 0 auto; color: var(--gold); font-size: 10px; }
.review-total { padding: 16px 0; display: flex; justify-content: space-between; align-items: center; gap: 8px; border-bottom: 1px solid var(--line-light); }
.review-total span { color: var(--ivory-muted); font-size: 12px; }
.review-total strong { color: var(--gold-bright); font: 24px/1 var(--serif); }
.review-deadline { margin: 13px 0 0; color: #bdb3a7; font-size: 11px; line-height: 1.55; }
.form-status { min-height: 0; margin: 0; color: var(--danger); font-size: 12px; line-height: 1.5; }
.form-status:not(:empty) { margin-top: 14px; }
.form-status.is-success { color: var(--success); }
.receipt-view { position: relative; }
.receipt-spark { margin-bottom: 13px; display: block; color: var(--gold-bright); font-size: 22px; }
.receipt-view .eyebrow { margin-bottom: 9px; }
.receipt-intro { margin: 10px 0 0; color: var(--ivory-muted); font-size: 13px; }
.receipt-reminder { margin: 12px 0 22px; padding: 12px; border-left: 2px solid var(--gold); color: var(--ivory-muted); background: rgba(217, 189, 130, .06); font-size: 11px; line-height: 1.55; }
.invitation-list { display: flex; flex-direction: column; gap: 11px; }
.invitation-item { min-width: 0; padding: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.invitation-item-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.invitation-item-name { min-width: 0; margin: 0; color: var(--ivory); font: 19px/1.2 var(--serif); overflow-wrap: anywhere; }
.invitation-code { color: var(--gold); font: 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .07em; overflow-wrap: anywhere; text-align: right; }
.invitation-actions { margin-top: 13px; display: flex; flex-wrap: wrap; gap: 8px; }
.invitation-actions .button { min-height: 44px; flex: 1 1 130px; font-size: 12px; }
.invitation-status { min-height: 0; margin: 7px 0 0; color: var(--ivory-muted); font-size: 11px; line-height: 1.45; }
.invitation-status:empty { display: none; }
.invitation-preview { display: block; width: 100%; height: auto; margin-top: 14px; border: 1px solid var(--line); border-radius: 2px; }
.saved-receipt { margin-top: 20px; padding: 16px; display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line); background: rgba(217, 189, 130, .05); }
.saved-receipt strong { font: 18px/1.2 var(--serif); }
.saved-receipt p { margin: 5px 0 0; color: var(--ivory-muted); font-size: 12px; }
.saved-receipt .button { width: 100%; }

.site-footer {
  min-height: 77px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line-light);
  color: var(--ivory-muted);
  font-size: 10px;
  letter-spacing: .03em;
}
.site-footer span span { padding-inline: 4px; color: var(--gold); }
.site-footer a { min-height: 44px; padding: 10px 4px; display: inline-flex; align-items: center; color: var(--ivory-muted); text-decoration-color: rgba(217, 189, 130, .4); text-underline-offset: 4px; }
.site-footer a:hover { color: var(--gold-bright); }

/* Admin */
.admin-page { min-height: 100vh; background: radial-gradient(ellipse at 78% 3%, rgba(79, 49, 72, .24), transparent 29rem), var(--night); }
.admin-header { border-bottom: 1px solid var(--line-light); }
.admin-main { min-height: calc(100vh - 154px); padding-block: 42px 70px; }
.admin-intro { margin-bottom: 28px; }
.admin-intro h1 { margin: 8px 0 0; font: 400 clamp(42px, 10vw, 62px)/1 var(--serif); letter-spacing: -.05em; }
.admin-intro > p:last-child { margin: 10px 0 0; color: var(--ivory-muted); font-size: 13px; }
.admin-panel { max-width: 460px; padding: 26px 22px; border: 1px solid var(--line); background: rgba(12, 15, 25, .56); }
.login-mark { display: block; margin-bottom: 10px; color: var(--gold); font-size: 21px; }
.admin-panel h2 { margin: 0; font: 30px/1.1 var(--serif); }
.admin-panel > p { margin: 8px 0 22px; color: var(--ivory-muted); font-size: 13px; }
.admin-panel input { margin-bottom: 15px; }
.admin-status { min-height: 0; margin: 10px 0 0; color: var(--danger); font-size: 12px; line-height: 1.5; }
.admin-status:empty { display: none; }
.dashboard-heading { display: flex; flex-direction: column; gap: 18px; }
.dashboard-heading h2 { margin: 7px 0 0; font: 32px/1.1 var(--serif); }
.dashboard-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.dashboard-actions .button { flex: 1 1 104px; padding-inline: 10px; font-size: 12px; }
.dashboard-actions .logout-button { flex: 0 0 70px; }
.admin-metrics { margin: 22px 0; display: grid; grid-template-columns: 1fr; gap: 10px; }
.metric-card { min-height: 122px; padding: 18px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; border: 1px solid var(--line-light); background: rgba(255, 255, 255, .03); }
.metric-card span { color: var(--ivory-muted); font-size: 11px; }
.metric-card strong { margin: 4px 0; color: var(--gold-bright); font: 38px/.95 var(--serif); }
.metric-card small { color: #aaa2a0; font-size: 10px; }
.metric-accent { background: rgba(217, 189, 130, .07); border-color: var(--line); }
.attendees-toolbar { margin: 0 0 15px; }
.attendees-toolbar input { margin-top: 0; }
.dashboard-status { margin: 0 0 12px; }
.attendee-list { display: flex; flex-direction: column; gap: 11px; }
.attendee-card { padding: 16px; border: 1px solid var(--line-light); background: rgba(255, 255, 255, .025); }
.attendee-card-header { padding-bottom: 12px; display: flex; flex-direction: column; gap: 5px; border-bottom: 1px solid var(--line-light); }
.attendee-card h3 { margin: 0; font: 23px/1.15 var(--serif); overflow-wrap: anywhere; }
.attendee-phone { color: var(--gold-bright); font-size: 12px; overflow-wrap: anywhere; }
.attendee-meta { color: var(--ivory-muted); font-size: 10px; }
.attendee-guests { margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 7px; list-style: none; }
.attendee-guest { padding: 8px 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 9px; border-bottom: 1px solid rgba(245, 238, 223, .07); font-size: 12px; }
.attendee-guest:last-child { border-bottom: 0; }
.attendee-guest-name { min-width: 0; overflow-wrap: anywhere; }
.attendee-guest-code { max-width: 45%; color: var(--gold); font: 10px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; text-align: right; }
.admin-empty { margin-top: 14px; padding: 30px 20px; border: 1px dashed var(--line); text-align: center; }
.admin-empty > span { color: var(--gold); font-size: 24px; }
.admin-empty h3 { margin: 6px 0; font: 24px/1.2 var(--serif); }
.admin-empty p { margin: 0; color: var(--ivory-muted); font-size: 12px; }
.admin-footer { justify-content: space-between; }

/* PNG invitation DOM; width stays fixed at 1080px for export. */
.invitation-render-root { position: fixed; z-index: -10; top: 0; left: -20000px; width: 1080px; pointer-events: none; transform: none; }
.invitation-sheet {
  width: 1080px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  color: #f5eedf;
  background: #111624;
  font-family: Georgia, "Times New Roman", serif;
  border: 2px solid #d9bd82;
}
.invitation-border { min-height: 100%; padding: 52px; display: flex; flex-direction: column; border: 1px solid rgba(217, 189, 130, .48); }
.invite-topline { display: flex; align-items: center; justify-content: space-between; color: #d9bd82; font: 15px/1.3 Arial, sans-serif; letter-spacing: .2em; text-transform: uppercase; }
.invite-monogram { color: #f5eedf; font: 28px/1 Georgia, serif; letter-spacing: .08em; }
.invite-monogram span { color: #d9bd82; font: 13px/1 Arial, sans-serif; }
.invite-art { height: 420px; margin: 34px 0 32px; position: relative; overflow: hidden; border: 1px solid rgba(217, 189, 130, .55); background: radial-gradient(ellipse at center, #49334c, #1b1d2b 70%); }
.invite-art img { width: 100%; height: 100%; display: block; object-fit: cover; opacity: .9; }
.invite-art-caption { position: absolute; right: 24px; bottom: 18px; color: #f5eedf; font: italic 20px/1.2 Georgia, serif; text-shadow: 0 1px 8px #090b14; }
.invite-title-block { text-align: center; }
.invite-eyebrow { margin: 0; color: #d9bd82; font: 15px/1.4 Arial, sans-serif; letter-spacing: .28em; text-transform: uppercase; }
.invite-title { margin: 8px 0 0; color: #f5eedf; font: 72px/.96 Georgia, serif; letter-spacing: -.045em; }
.invite-title span { color: #d9bd82; font-style: italic; }
.invite-guest-label { margin: 27px 0 3px; color: #cfc4b4; font: 15px/1.35 Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.invite-guest-name { margin: 0; color: #f5eedf; font: 44px/1.1 Georgia, serif; overflow-wrap: anywhere; }
.invite-divider { width: 72px; height: 1px; margin: 25px auto; background: #ad8952; }
.invite-date { margin: 0; color: #f5eedf; font: 25px/1.3 Georgia, serif; }
.invite-venue { margin: 8px 0 0; color: #d2c7b9; font: 19px/1.4 Arial, sans-serif; }
.invite-info-grid { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.invite-info { min-height: 122px; padding: 19px; border: 1px solid rgba(217, 189, 130, .28); background: rgba(255, 255, 255, .035); }
.invite-info-label { margin: 0 0 8px; color: #d9bd82; font: 13px/1.3 Arial, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.invite-info p:last-child { margin: 0; color: #f5eedf; font: 19px/1.4 Georgia, serif; }
.invite-address { grid-column: 1 / -1; }
.invite-bottom { margin-top: 32px; padding-top: 23px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-top: 1px solid rgba(217, 189, 130, .38); }
.invite-code-block { min-width: 0; }
.invite-code-label { margin: 0 0 9px; color: #d9bd82; font: 13px/1.3 Arial, sans-serif; letter-spacing: .17em; text-transform: uppercase; }
.invite-code { margin: 0; color: #f5eedf; font: 30px/1.2 "Courier New", monospace; letter-spacing: .08em; overflow-wrap: anywhere; }
.invite-qr { width: 192px; height: 192px; padding: 8px; flex: 0 0 192px; background: #fff; image-rendering: pixelated; }
.invite-notice { margin: 28px 0 0; color: #d9bd82; font: 16px/1.5 Arial, sans-serif; text-align: center; letter-spacing: .03em; }
.invite-payment-note { margin: 5px 0 0; color: #b8ad9c; font: 13px/1.45 Arial, sans-serif; text-align: center; }

@media (min-width: 620px) {
  .site-header { padding-inline: 32px; }
  .section-wrap { width: min(100% - 64px, 1000px); }
  .hero { min-height: 600px; padding-top: 58px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(250px, .95fr); align-items: center; gap: 34px; }
  .hero-copy { padding-block: 25px; }
  .hero-art-frame { width: 100%; min-height: 320px; aspect-ratio: .83 / 1; }
  .hero-star-one { right: -15px; top: 34%; }
  .hero-star-two { right: 40%; bottom: 12%; }
  .intro-band { min-height: 146px; }
  .intro-band p { font-size: 22px; }
  .details-section { padding-block: 98px 82px; }
  .section-heading { margin-bottom: 36px; }
  .details-list { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; }
  .detail-price { grid-row: span 2; min-height: 100%; padding: 30px; display: flex; flex-direction: column; justify-content: center; }
  .detail-price-value { margin-top: 12px; font-size: 72px; }
  .detail-card:not(.detail-price) { min-height: 186px; padding: 24px; }
  .address-section { min-height: 345px; padding: 34px; flex-direction: row; align-items: center; justify-content: space-between; gap: 28px; }
  .address-copy { flex: 1 1 56%; }
  .address-ornament { width: 37%; min-height: 260px; flex: 0 0 37%; }
  .rsvp-section { padding-block: 92px 98px; }
  .rsvp-inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(360px, 1fr); align-items: start; gap: 48px; }
  .rsvp-heading { position: sticky; top: 25px; }
  .rsvp-panel { padding: 30px; }
  .saved-receipt { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
  .saved-receipt .button { width: auto; flex: 0 0 auto; }
  .admin-main { padding-top: 56px; }
  .dashboard-heading { flex-direction: row; align-items: end; justify-content: space-between; }
  .dashboard-actions .button { flex: 0 0 auto; min-width: 105px; }
  .admin-metrics { grid-template-columns: 1fr 1fr; }
  .attendee-card { padding: 20px; }
  .attendee-card-header { flex-direction: row; align-items: baseline; justify-content: space-between; flex-wrap: wrap; }
}

@media (min-width: 900px) {
  .hero { min-height: 660px; grid-template-columns: minmax(0, 1.15fr) minmax(350px, .85fr); gap: 56px; }
  .hero h1 { font-size: clamp(84px, 9vw, 110px); }
  .hero-art-frame { min-height: 420px; }
  .hero-date { font-size: 15px; }
  .hero-host { font-size: 19px; }
  .details-list { grid-template-columns: 1.05fr 1fr 1fr; }
  .detail-price { grid-row: auto; }
  .detail-card:not(.detail-price) { min-height: 220px; }
  .rsvp-inner { grid-template-columns: minmax(0, .85fr) minmax(420px, 1fr); gap: 72px; }
}

@media (max-width: 359px) {
  .site-header { padding-inline: 14px; }
  .wordmark { gap: 7px; }
  .wordmark-label { max-width: 84px; font-size: 9px; line-height: 1.2; }
  .header-cta { padding-inline: 10px; font-size: 11px; }
  .section-wrap { width: calc(100% - 32px); }
  .hero { padding-top: 31px; }
  .hero h1 { font-size: 49px; }
  .hero-date { font-size: 12px; }
  .rsvp-panel { padding-inline: 16px; }
  .invitation-item { padding: 12px; }
  .invitation-item-top { flex-direction: column; align-items: flex-start; }
  .invitation-code { text-align: left; }
  .site-footer { padding-inline: 14px; font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
