.bm {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 23, 48, 0.78);
  backdrop-filter: blur(4px);
}
.bm.open {
  display: flex;
}
.bm-box {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 100%;
  overflow: auto;
  background: #faf6ec;
  border: 1px solid rgba(182, 144, 47, 0.5);
  border-top: 4px solid #b6902f;
  padding: 40px 36px 34px;
  animation: bmIn 0.3s ease;
}
@keyframes bmIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.bm-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 30px;
  line-height: 1;
  color: #10203f;
  cursor: pointer;
  padding: 4px 8px;
}
.bm-eyebrow {
  font:
    500 11.5px "Jost",
    sans-serif;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #b6902f;
}
.bm-box h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 32px;
  color: #10203f;
  margin: 8px 0 6px;
  line-height: 1.1;
}
.bm-box .bm-sub {
  font-size: 14px;
  color: #6b6455;
  margin-bottom: 22px;
}
.bm-box .field {
  margin-bottom: 16px;
}
.bm-box .field label {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #10203f;
  margin-bottom: 6px;
  font-weight: 500;
}
.bm-box .field input {
  width: 100%;
  font:
    400 15px "Jost",
    sans-serif;
  padding: 12px 14px;
  border: 1px solid rgba(16, 32, 63, 0.25);
  background: #fff;
  color: #1b1b18;
  border-radius: 0;
}
.bm-box .field input:focus {
  outline: 2px solid #b6902f;
  border-color: #b6902f;
}
.bm-box .btn {
  width: 100%;
  cursor: pointer;
  font-family: "Jost", sans-serif;
  margin-top: 6px;
  display: block;
  text-align: center;
  padding: 15px 34px;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid #b6902f;
  background: #b6902f;
  color: #0a1730;
}
.bm-box .btn:hover {
  background: #e8c874;
  border-color: #e8c874;
}
.bm-box .btn:disabled {
  opacity: 0.6;
  cursor: wait;
}
.bm-box .form-status {
  margin-top: 16px;
  font-size: 14.5px;
}
.bm-box .form-status.ok {
  color: #1d6b3a;
  border-left: 3px solid #1d6b3a;
  padding: 10px 14px;
  background: #eef7f0;
}
.bm-box .form-status.err {
  color: #8a1f1f;
  border-left: 3px solid #8a1f1f;
  padding: 10px 14px;
  background: #fbefef;
}
.bm-box .hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
@media (max-width: 480px) {
  .bm-box {
    padding: 34px 22px 26px;
  }
}
