:root {
  --rz-merlot: #340416;
  --rz-wine: #5a2132;
  --rz-rose: #ad7370;
  --rz-rose-dark: #8d5f63;
  --rz-plaster: #f0dfdb;
  --rz-paper: #f8f1eb;
  --rz-ivory: #fffaf5;
  --rz-ink: #210f15;
  --rz-muted: #735f63;
  --rz-line: rgba(52, 4, 22, .22);
  --rz-success: #375748;
  --rz-shadow: 0 32px 80px rgba(52, 4, 22, .12);
  --rz-max: 1260px;
}

.rz-rsvp-shell,
.rz-rsvp-shell * { box-sizing: border-box; }

.rz-rsvp-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  color: var(--rz-ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(173,115,112,.14), transparent 25rem),
    linear-gradient(115deg, #fffaf5 0 47%, #f3e6e1 47% 100%);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.rz-rsvp-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .32;
  background-image:
    radial-gradient(rgba(52,4,22,.24) .65px, transparent .7px),
    radial-gradient(rgba(255,255,255,.85) .65px, transparent .7px);
  background-position: 0 0, 3px 3px;
  background-size: 6px 6px;
  mask-image: linear-gradient(90deg, black, transparent 46%, black);
}

.rz-rsvp-shell::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 46vw;
  height: 76vh;
  min-width: 620px;
  right: -9vw;
  top: -18vh;
  background: var(--rz-rose);
  transform: rotate(-4deg);
  opacity: .13;
}

.rz-rsvp-header {
  width: min(calc(100% - 40px), var(--rz-max));
  margin: 0 auto;
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--rz-line);
}

.rz-rsvp-logo {
  display: block;
  width: 178px;
  max-width: 38vw;
  height: auto;
}

.rz-rsvp-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
  font-weight: 650;
  color: var(--rz-wine);
}

.rz-rsvp-kicker::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
}

.rz-rsvp-main {
  width: min(calc(100% - 40px), var(--rz-max));
  margin: 0 auto;
  padding: 64px 0 82px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(560px, 1.14fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: start;
}

.rz-event-panel {
  position: sticky;
  top: 30px;
  min-height: 720px;
  padding: 0;
  display: flex;
  flex-direction: column;
  color: var(--rz-ivory);
  background: var(--rz-merlot);
  box-shadow: var(--rz-shadow);
  overflow: visible;
}

.rz-event-panel::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  z-index: -1;
  border: 1px solid rgba(52,4,22,.26);
  background: rgba(173,115,112,.24);
}

.rz-event-panel::after { content: none; }

.rz-sensory-mark {
  position: absolute;
  z-index: 0;
  left: -180px;
  top: 330px;
  width: 360px;
  height: 360px;
  opacity: .16;
  clip-path: inset(0 0 0 50%);
  pointer-events: none;
}

.rz-sensory-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.rz-event-hero {
  position: relative;
  min-height: 285px;
  padding: clamp(54px, 6vw, 76px) clamp(38px, 5vw, 70px) 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.rz-event-number {
  position: absolute;
  top: 22px;
  right: -20px;
  color: rgba(255,250,245,.08);
  font-size: clamp(190px, 18vw, 270px);
  font-weight: 520;
  line-height: .8;
  letter-spacing: -.08em;
  user-select: none;
}

.rz-event-eyebrow,
.rz-form-eyebrow {
  margin: 0 0 24px;
  text-transform: uppercase;
  letter-spacing: .19em;
  font-size: 11px;
  font-weight: 700;
}

.rz-event-eyebrow { color: var(--rz-plaster); }
.rz-form-eyebrow { color: var(--rz-rose-dark); }

.rz-event-title {
  position: relative;
  z-index: 1;
  margin: 0;
  width: 100%;
  text-align: center;
  color: var(--rz-ivory);
  font-size: clamp(50px, 5.6vw, 76px);
  line-height: .96;
  letter-spacing: -.045em;
  font-weight: 300;
}

.rz-event-title-years {
  display: block;
  font-size: .72em;
  margin-bottom: .22em;
  font-weight: 300;
}

.rz-event-title-logo {
  display: block;
  width: 3.05em;
  max-width: 72%;
  height: auto;
  margin: 0 auto;
  filter: brightness(0) invert(1);
  opacity: .96;
}

.rz-event-copy {
  position: relative;
  z-index: 1;
  padding: 0 clamp(38px, 5vw, 70px);
}

.rz-event-intro,
.rz-event-statement,
.rz-event-limited {
  max-width: 42ch;
  color: rgba(255,250,245,.84);
  font-size: 16px;
  line-height: 1.66;
}

.rz-event-intro { margin: 0; }
.rz-event-statement { margin: 24px 0 0; }
.rz-event-limited { margin: 24px 0 0; }

.rz-event-meta {
  position: relative;
  z-index: 1;
  margin: 38px clamp(38px, 5vw, 70px) 0;
  padding: 26px 0 clamp(38px, 5vw, 62px);
  display: grid;
  gap: 23px;
  border-top: 1px solid rgba(255,250,245,.22);
}

.rz-meta-row { display: grid; grid-template-columns: 28px 1fr; gap: 16px; align-items: start; }
.rz-meta-icon { width: 24px; height: 24px; margin-top: 1px; opacity: .8; }
.rz-meta-label { display:block; margin-bottom:4px; color: var(--rz-plaster); text-transform:uppercase; letter-spacing:.14em; font-size:10px; font-weight:700; }
.rz-meta-value { color: var(--rz-ivory); font-size: 16px; line-height: 1.45; }
.rz-meta-value a { color: inherit; text-underline-offset: 4px; }

.rz-form-panel {
  position: relative;
  padding: clamp(32px, 5vw, 66px);
  border: 1px solid var(--rz-line);
  background: rgba(255,250,245,.94);
  box-shadow: 0 24px 70px rgba(52,4,22,.08);
  backdrop-filter: blur(8px);
}

.rz-form-panel::before {
  content: "";
  position: absolute;
  width: 88px;
  height: 88px;
  top: -1px;
  right: -1px;
  background-image: radial-gradient(var(--rz-rose-dark) 1px, transparent 1.2px);
  background-size: 10px 10px;
  opacity: .42;
}

.rz-form-title {
  margin: 0;
  max-width: 13ch;
  font-size: clamp(40px, 5vw, 64px);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 560;
}

.rz-form-title strong { color: var(--rz-merlot); font-weight: 750; }

.rz-form-intro {
  margin: 23px 0 42px;
  max-width: 55ch;
  color: var(--rz-muted);
  font-size: 16px;
  line-height: 1.7;
}

.rz-personalised { color: var(--rz-merlot); font-weight: 650; }

.rz-fieldset {
  min-width: 0;
  margin: 0 0 38px;
  padding: 0;
  border: 0;
}

.rz-legend {
  width: 100%;
  margin: 0 0 18px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--rz-line);
  color: var(--rz-ink);
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: 11px;
  font-weight: 750;
}

.rz-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rz-choice { position: relative; }
.rz-choice input { position: absolute; opacity: 0; pointer-events: none; }
.rz-choice label {
  min-height: 88px;
  padding: 19px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  border: 1px solid var(--rz-line);
  background: #fff;
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease, color .18s ease;
}
.rz-choice label:hover { transform: translateY(-2px); border-color: var(--rz-rose); }
.rz-choice input:focus-visible + label { outline: 3px solid rgba(173,115,112,.28); outline-offset: 2px; }
.rz-choice input:checked + label { color: var(--rz-ivory); border-color: var(--rz-merlot); background: var(--rz-merlot); }
.rz-choice-title { display:block; margin-bottom:3px; font-size:17px; font-weight:700; }
.rz-choice-sub { display:block; font-size:12px; opacity:.72; }
.rz-choice-dot { width:19px; height:19px; flex:0 0 auto; border:1px solid currentColor; border-radius:50%; box-shadow: inset 0 0 0 5px transparent; }
.rz-choice input:checked + label .rz-choice-dot { background: currentColor; box-shadow: inset 0 0 0 5px var(--rz-merlot); }

.rz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 23px 18px; }
.rz-field { min-width: 0; }
.rz-field.rz-full { grid-column: 1 / -1; }
.rz-field label { display:block; margin:0 0 8px; color:var(--rz-wine); font-size:12px; font-weight:700; letter-spacing:.02em; }
.rz-optional { color:var(--rz-muted); font-weight:450; }
.rz-field input,
.rz-field select,
.rz-field textarea {
  width: 100%;
  min-height: 51px;
  padding: 13px 14px;
  color: var(--rz-ink);
  border: 1px solid rgba(52,4,22,.24);
  border-radius: 0;
  background: #fff;
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.rz-field textarea { min-height: 104px; resize: vertical; line-height:1.55; }
.rz-field input::placeholder,
.rz-field textarea::placeholder { color: #a9989b; }
.rz-field input:focus,
.rz-field select:focus,
.rz-field textarea:focus { border-color:var(--rz-rose-dark); box-shadow:0 0 0 3px rgba(173,115,112,.13); background:var(--rz-ivory); }
.rz-field [aria-invalid="true"] { border-color:#a23c4a; box-shadow:0 0 0 3px rgba(162,60,74,.11); }
.rz-help { margin:7px 0 0; color:var(--rz-muted); font-size:11px; line-height:1.45; }


.rz-check { position: relative; display:grid; grid-template-columns:20px 1fr; gap:11px; align-items:start; margin:5px 0 25px; }
.rz-check input { width:18px; height:18px; margin:2px 0 0; accent-color:var(--rz-merlot); }
.rz-check label { color:var(--rz-muted); font-size:12px; line-height:1.55; }
.rz-check a { color:var(--rz-merlot); text-underline-offset:3px; }

.rz-submit-row { display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.rz-submit {
  min-width: 224px;
  min-height: 56px;
  padding: 15px 25px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  color: var(--rz-ivory);
  border: 1px solid var(--rz-merlot);
  border-radius: 0;
  background: var(--rz-merlot);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.rz-submit:hover { transform:translateY(-2px); background:var(--rz-wine); box-shadow:0 14px 30px rgba(52,4,22,.17); }
.rz-submit:focus-visible { outline:3px solid rgba(173,115,112,.36); outline-offset:3px; }
.rz-submit:disabled { opacity:.55; cursor:wait; transform:none; }
.rz-submit-arrow { font-size:21px; line-height:1; font-weight:400; }
.rz-submit-note { max-width: 260px; color: var(--rz-muted); font-size:11px; line-height:1.45; }

.rz-status {
  display:none;
  margin: 28px 0 0;
  padding: 18px 20px;
  border-left: 3px solid var(--rz-merlot);
  background: var(--rz-plaster);
  color: var(--rz-ink);
  font-size: 14px;
  line-height: 1.55;
}
.rz-status.is-visible { display:block; }
.rz-status.is-error { border-color:#9a3041; background:#f7e3e6; }
.rz-status.is-success { border-color:var(--rz-success); background:#e7efe9; }

.rz-success-card { display:none; padding: 18px 0 0; }
.rz-success-card.is-visible { display:block; }
.rz-success-mark { width:62px; height:62px; margin-bottom:25px; display:grid; place-items:center; color:var(--rz-ivory); background:var(--rz-merlot); border-radius:50%; font-size:27px; }
.rz-success-card h2 { margin:0 0 16px; font-size:clamp(34px,5vw,54px); line-height:1; letter-spacing:-.04em; }
.rz-success-card p { max-width:52ch; color:var(--rz-muted); line-height:1.7; }
.rz-calendar-row { display:flex; flex-wrap:wrap; gap:11px; margin-top:28px; }
.rz-calendar-link { display:inline-flex; align-items:center; min-height:46px; padding:11px 15px; color:var(--rz-merlot); border:1px solid var(--rz-line); background:#fff; text-decoration:none; font-size:12px; font-weight:700; }
.rz-calendar-link:hover { border-color:var(--rz-merlot); }

.rz-honeypot { position:absolute !important; left:-10000px !important; width:1px !important; height:1px !important; overflow:hidden !important; }

.rz-rsvp-footer {
  width: min(calc(100% - 40px), var(--rz-max));
  margin: 0 auto;
  padding: 28px 0 36px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  border-top:1px solid var(--rz-line);
  color:var(--rz-muted);
  font-size:11px;
  line-height:1.5;
}
.rz-rsvp-footer a { color:inherit; }

@media (max-width: 980px) {
  .rz-rsvp-main { grid-template-columns: 1fr; padding-top:38px; }
  .rz-event-panel { position:relative; top:auto; min-height:0; }
  .rz-event-title { max-width:none; }
}

@media (max-width: 640px) {
  .rz-rsvp-header { min-height:92px; width:min(calc(100% - 28px), var(--rz-max)); }
  .rz-rsvp-logo { width:132px; }
  .rz-rsvp-kicker { letter-spacing:.1em; font-size:9px; text-align:right; }
  .rz-rsvp-kicker::before { display:none; }
  .rz-rsvp-main { width:min(calc(100% - 28px), var(--rz-max)); padding:27px 0 54px; gap:48px; }
  .rz-event-panel { min-height:0; padding:0; }
  .rz-event-panel::before { inset:10px -10px -10px 10px; }
  .rz-event-number { right:-10px; font-size:180px; }
  .rz-event-title { font-size:52px; }
  .rz-event-hero { min-height:240px; padding:42px 28px 32px; }
  .rz-sensory-mark { left:-120px; top:300px; width:240px; height:240px; }
  .rz-event-copy { padding:0 28px; }
  .rz-event-meta { margin:34px 28px 0; padding-bottom:34px; }
  .rz-event-intro, .rz-event-statement, .rz-event-limited { font-size:15px; }
  .rz-form-panel { padding:34px 22px; }
  .rz-form-panel::before { width:62px; height:62px; }
  .rz-form-title { font-size:42px; }
  .rz-form-intro { margin-bottom:34px; }
  .rz-choice-grid, .rz-grid { grid-template-columns:1fr; }
  .rz-field.rz-full { grid-column:auto; }
  .rz-choice label { min-height:76px; }
  .rz-submit { width:100%; }
  .rz-submit-note { max-width:none; }
  .rz-rsvp-footer { width:min(calc(100% - 28px), var(--rz-max)); flex-direction:column; }
}

@media (prefers-reduced-motion: reduce) {
  .rz-rsvp-shell *, .rz-rsvp-shell *::before, .rz-rsvp-shell *::after { scroll-behavior:auto !important; transition:none !important; animation:none !important; }
}
