.rsvp-layout {
  max-width: 1320px;
  margin: auto;
  padding: 0 4%;
}
.rsvp-nav {
  font-family: var(--mono);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  font-size: 10px;
  color: var(--muted);
}
.rsvp-nav a,
.rsvp-meta span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.rsvp-nav a:hover {
  color: var(--ink);
}
.rsvp-nav svg {
  width: 16px;
  height: 16px;
}
.rsvp-intro {
  padding: 20px 0 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}
.rsvp-intro h1 {
  font-size: 64px;
}
.rsvp-intro-copy {
  min-width: 0;
}
.record-art {
  margin: 0;
  width: 100%;
  max-width: 420px;
  justify-self: end;
}
.record-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}
.record-art figcaption {
  font-family: var(--mono);
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  font-size: 9px;
  color: var(--muted);
}
.record-reverse {
  display: block;
  width: 128px;
  height: 128px;
  margin-top: 24px;
}
.rsvp-description {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin: 22px 0;
}
.rsvp-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 26px;
  padding: 18px 0;
}
.event-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
}
.event-detail > svg {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  color: var(--acid);
}
.event-detail > span {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.event-detail small {
  color: var(--muted);
  font-size: 9px;
}
.event-location {
  padding: 0;
}
.event-location .location-link {
  color: var(--ink);
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.event-detail .location-city {
  color: var(--muted);
}
.registration {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 48px;
  padding: 36px 0 48px;
  border-top: 1px solid var(--line);
}
.registration-heading .eyebrow {
  color: var(--muted);
}
.registration h2 {
  font: 700 30px/1.2 var(--mono);
  margin: 18px 0 12px;
}
.registration-heading p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
#rsvp-form > label {
  display: block;
  font-size: 12px;
  font-family: var(--mono);
  font-weight: 600;
  margin-bottom: 10px;
}
.email-row {
  display: flex;
  gap: 10px;
}
.email-row input {
  min-width: 0;
  width: 100%;
  height: 56px;
  padding: 0 16px;
  border: 1px solid #93998a;
  border-radius: 0;
  color: var(--ink);
  background: white;
  font: 400 16px var(--body);
}
.email-row input:focus-visible,
.consent input:focus-visible {
  outline: 3px solid #f7f5f0;
  outline-offset: 3px;
}
.email-row input::placeholder {
  color: #777d70;
}
.email-row button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-width: 140px;
  min-height: 56px;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--acid);
  color: white;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
}
.email-row button:hover {
  background: var(--ink);
  color: var(--acid);
}
.preferred-day {
  min-width: 0;
  margin: 24px 0 0;
  padding: 0;
  border: 0;
}
.preferred-day legend {
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
}
.day-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.day-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease;
}
.day-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.day-option:has(input:checked) {
  border-color: var(--acid);
  background: var(--surface);
  color: var(--ink);
}
.day-option:has(input:focus-visible) {
  outline: 3px solid #f7f5f0;
  outline-offset: 3px;
}
.day-option:hover {
  border-color: var(--acid);
}
#rsvp-form .consent {
  font-family: var(--body);
  display: flex;
  align-items: start;
  gap: 10px;
  margin: 20px 0 10px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  cursor: pointer;
}
.consent input {
  accent-color: var(--ink);
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  flex-shrink: 0;
}
.rsvp-note {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  margin: 12px 0 0;
}
.rsvp-status {
  font-size: 12px;
  line-height: 1.6;
  padding: 12px 14px;
  border-left: 3px solid #af3434;
  background: #f8e8e8;
  color: #802525;
}
.rsvp-success {
  border-left: 3px solid #438257;
  padding-left: 24px;
}
.rsvp-success > svg {
  width: 32px;
  height: 32px;
  color: #438257;
}
.rsvp-success h3 {
  font: 400 38px/1 var(--display);
  margin: 12px 0;
}
.rsvp-success p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
.rsvp-success a {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  padding: 10px 0;
}
.rsvp-link {
  margin-top: 18px;
  width: fit-content;
}
@media (prefers-reduced-motion: no-preference) {
  .rsvp-intro,
  .registration {
    animation: reveal 0.55s ease-out both;
  }
  .registration {
    animation-delay: 0.08s;
  }
}
@media (max-width: 800px) {
  .rsvp-intro {
    gap: 24px;
  }
  .registration {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .rsvp-intro h1 {
    font-size: 48px;
  }
}
@media (max-width: 600px) {
  .rsvp-layout {
    padding: 0 5%;
  }
  .rsvp-nav {
    padding: 20px 0;
  }
  .rsvp-nav > span {
    display: none;
  }
  .rsvp-intro {
    padding: 16px 0 30px;
    grid-template-columns: minmax(0, 1fr);
  }
  .record-art {
    max-width: 330px;
    justify-self: center;
  }
  .record-reverse {
    display: none;
  }
  .rsvp-intro h1 {
    font-size: 40px;
  }
  .rsvp-description {
    font-size: 12px;
    margin: 18px 0;
  }
  .rsvp-meta {
    gap: 14px;
  }
  .registration {
    padding: 28px 0 36px;
  }
  .registration h2 {
    font-size: 28px;
    margin-top: 12px;
  }
  .email-row {
    flex-wrap: wrap;
  }
  .email-row button {
    width: 100%;
    justify-content: space-between;
  }
}
