.contact-modal {
  margin: auto;
  width: min(620px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow-y: auto;
  border: 1px solid rgba(184,150,62,0.32);
  border-radius: 4px;
  background: #1E0808;
  color: #F5EFE4;
  font-family: 'Jost', Arial, sans-serif;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.contact-modal::backdrop { background: rgba(10,6,6,0.78); backdrop-filter: blur(4px); }
.contact-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px 0;
}
.contact-modal__eyebrow {
  color: #D4AF5A;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.contact-modal__title {
  margin-top: 8px;
  color: #fff;
  font: 300 clamp(1.8rem, 5vw, 2.5rem)/1.12 'Cormorant Garamond', Georgia, serif;
}
.contact-modal__close {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(184,150,62,0.3);
  background: transparent;
  color: #F5EFE4;
  font: 300 1.6rem/1 Arial, sans-serif;
  cursor: pointer;
}
.contact-modal__close:hover { border-color: #D4AF5A; color: #D4AF5A; }
.contact-modal__intro {
  margin: 12px 32px 0;
  color: rgba(245,239,228,0.72);
  font-size: 0.9rem;
  line-height: 1.7;
}
.contact-modal__form { display: grid; gap: 16px; padding: 22px 32px 28px; }
.contact-modal__form label {
  display: block;
  margin-bottom: 7px;
  color: #D4AF5A;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.contact-modal__form input, .contact-modal__form textarea {
  display: block;
  width: 100%;
  border: 1px solid rgba(184,150,62,0.3);
  border-radius: 2px;
  background: rgba(30,8,8,0.8);
  color: #F5EFE4;
  font: 300 0.95rem 'Jost', Arial, sans-serif;
  padding: 12px 14px;
}
.contact-modal__form input:focus, .contact-modal__form textarea:focus { outline: 1px solid #B8963E; border-color: #B8963E; }
.contact-modal__form textarea { min-height: 120px; resize: vertical; }
.contact-modal__submit {
  justify-self: start;
  border: 0;
  background: #B8963E;
  color: #fff;
  padding: 13px 24px;
  font: 500 0.68rem 'Jost', Arial, sans-serif;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
}
.contact-modal__submit:hover { background: #D4AF5A; }
.contact-modal__submit:disabled { cursor: wait; opacity: 0.7; }
.contact-modal__status { min-height: 1.4em; color: #F5EFE4; font-size: 0.88rem; line-height: 1.5; }
.contact-modal__status[data-state="error"] { color: #F0A59C; }
.contact-modal__status[data-state="success"] { color: #D4AF5A; }
.contact-modal__email {
  margin: -12px 32px 28px;
  color: rgba(245,239,228,0.65);
  font-size: 0.82rem;
}
.contact-modal__email a { color: #D4AF5A; }
@media (max-width: 600px) {
  .contact-modal__header { padding: 22px 22px 0; }
  .contact-modal__intro { margin-inline: 22px; }
  .contact-modal__form { padding: 20px 22px 24px; }
  .contact-modal__email { margin: -8px 22px 24px; }
}
