/* RSVP form. Copied from e-display/styles.css (.reserve block); home.css has no form rules. Keep the two in step. */
/* --line and --error are the palette A tokens in chrome.css: input borders #76766F, errors #B3261E (they were --rule and --seal here). */
.rsvp { background: var(--surface); margin-top: var(--section); padding: var(--section) 0; }
.field { margin: 0 0 24px; }
fieldset.field { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 8px; font-weight: 500; }
.field > label { display: block; font-weight: 500; margin-bottom: 8px; }
.field > label[for] { cursor: pointer; }
.hint { display: block; margin: -4px 0 8px; }
input[type="email"], input[type="text"], textarea {
  display: block; width: 100%; min-height: 48px; padding: 10px 12px;
  font: inherit; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 4px;
}
textarea { resize: vertical; }
[aria-invalid="true"] { border-color: var(--error); }
.check { display: flex; align-items: flex-start; gap: 0; margin: 0 0 8px; }
.check input { width: 20px; height: 20px; margin: 12px 0 0; flex: none; accent-color: var(--ink); cursor: pointer; }
.check input:hover { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) { .check input:active { transform: scale(.95); } }
.check label { padding: 9px 0 9px 12px; min-height: 44px; cursor: pointer; flex: 1; font-weight: 400; margin: 0; display: block; }
.check.field { flex-wrap: wrap; margin-top: 24px; }
.check.field .error { flex-basis: 100%; }
.error { display: block; color: var(--error); font-weight: 500; }
.error:empty { display: none; }
.send-error { margin: 0 0 16px; }
.submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin: 8px 0 16px; }
button[type="submit"] { cursor: pointer; }
button[type="submit"]:disabled { cursor: not-allowed; opacity: .55; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.thanks h2:focus { outline: 2px solid var(--ink); outline-offset: 4px; }
