/* Modal styles + sticky polish — appended */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 11, 11, 0.78);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 200ms ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal {
  background: var(--bone);
  color: var(--ink);
  width: 100%;
  max-width: 480px;
  padding: 36px 32px 32px;
  border: 1px solid var(--ink);
  position: relative;
  animation: riseIn 280ms cubic-bezier(.2,.7,.2,1);
}
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  background: transparent;
  border: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 14px;
  cursor: pointer;
  color: var(--ink);
}
.modal-close:hover { background: var(--ink); color: var(--yellow); }
.modal .eyebrow { color: var(--ink); }
.modal .eyebrow::before { background: var(--ink); }

.modal-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}
.modal-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.modal-form label span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(11,11,11,0.6);
}
.modal-form input,
.modal-form select {
  border: 1px solid var(--ink);
  background: var(--paper);
  padding: 12px 14px;
  font-family: var(--text);
  font-size: 15px;
  color: var(--ink);
  border-radius: 0;
  outline: none;
}
.modal-form input:focus,
.modal-form select:focus {
  border-color: var(--yellow-deep);
  box-shadow: 0 0 0 2px var(--yellow);
}

/* Tweaks panel position offset for sticky cta */
.tweaks-panel { z-index: 200 !important; }
