.contact-feedback-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(4, 7, 12, .72);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
}

.contact-feedback-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.contact-feedback-dialog {
  width: min(100%, 520px);
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 26px;
  background: var(--paper, #f4f0e8);
  color: var(--ink, #090b0f);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .46);
  transform: translateY(12px) scale(.98);
  transition: transform .22s ease;
}

.contact-feedback-modal.is-open .contact-feedback-dialog { transform: none; }
.contact-feedback-modal[data-state="error"] .contact-feedback-dialog { border-color: rgba(217, 65, 102, .5); }

.contact-feedback-kicker {
  display: block;
  margin-bottom: 18px;
  color: var(--blue, #315fe1);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.contact-feedback-modal[data-state="error"] .contact-feedback-kicker { color: #c12f56; }

.contact-feedback-title {
  margin: 0 0 14px;
  font-size: clamp(30px, 5vw, 52px);
  line-height: .95;
  letter-spacing: -.055em;
}

.contact-feedback-message {
  margin: 0;
  color: #5e626b;
  font-size: 17px;
  line-height: 1.55;
}

.contact-feedback-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  margin-top: 28px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--ink, #090b0f);
  color: var(--paper, #f4f0e8);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-feedback-close:focus-visible,
.contact-feedback-close:hover { outline: 3px solid rgba(49, 95, 225, .28); outline-offset: 3px; }

.contact-form-status {
  min-height: 20px;
  margin: 12px 0 0;
  color: #c12f56;
  font-size: 13px;
  line-height: 1.4;
}

.contact-field-invalid { border-color: #c12f56 !important; box-shadow: 0 0 0 3px rgba(193, 47, 86, .12); }
.contact-field-error { margin: -2px 0 0; color: #c12f56; font-size: 12px; line-height: 1.35; }
.contact-form-submit.is-loading { cursor: wait; opacity: .7; }

.contact-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

body.contact-modal-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .contact-feedback-modal,
  .contact-feedback-dialog { transition: none; }
}
