/* Interspace contact form modal — shared by all pages */
.cf-overlay {
  position: fixed; inset: 0; z-index: 120; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(3, 24, 32, .72); backdrop-filter: blur(5px);
}
.cf-overlay.open { display: flex; }
body.cf-lock { overflow: hidden; }
.cf-panel {
  width: min(460px, 100%); background: var(--paper, #fffdf8);
  border: 1px solid rgba(5, 33, 45, .12); border-radius: 12px;
  box-shadow: 0 40px 100px rgba(3, 24, 32, .45);
  padding: clamp(24px, 4vw, 38px); position: relative;
  font-family: var(--serif, Georgia, serif);
}
.cf-close {
  position: absolute; top: 14px; right: 14px; background: none; border: none;
  color: rgba(5, 33, 45, .55); cursor: pointer; padding: 6px; line-height: 0;
}
.cf-close:hover { color: var(--night, #05212d); }
.cf-eyebrow {
  margin: 0 0 8px; font-family: var(--sans, sans-serif); font-size: 11px;
  font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--red, #a01a3d);
}
.cf-title {
  margin: 0 0 6px; font-family: var(--sans, sans-serif); font-size: clamp(26px, 4vw, 34px);
  font-weight: 500; letter-spacing: -.03em; line-height: 1.02; color: var(--night, #05212d);
}
.cf-sub { margin: 0 0 22px; color: rgba(5, 33, 45, .68); font-size: 15px; line-height: 1.5; }
.cf-field { display: block; margin-bottom: 16px; }
.cf-field label {
  display: block; margin-bottom: 7px; font-family: var(--sans, sans-serif);
  font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(5, 33, 45, .7);
}
.cf-field input {
  width: 100%; padding: 12px 14px; border: 1px solid rgba(5, 33, 45, .18);
  border-radius: 7px; background: #fff; font-family: var(--serif, Georgia, serif);
  font-size: 16px; color: var(--night, #05212d);
}
.cf-field input:focus { outline: none; border-color: var(--orange, #ed5223); box-shadow: 0 0 0 3px rgba(237, 82, 35, .14); }
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* interest choice buttons */
.cf-choices { display: flex; gap: 8px; margin-top: 2px; }
.cf-choice {
  flex: 1; min-height: 46px; padding: 0 6px; border: 1px solid rgba(5, 33, 45, .18);
  border-radius: 7px; background: #fff; font-family: var(--sans, sans-serif);
  font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--night, #05212d); cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.cf-choice:hover { border-color: var(--orange, #ed5223); }
.cf-choice.active { background: var(--night, #05212d); border-color: var(--night, #05212d); color: #fff; }
.cf-collapsed { display: none !important; }
/* themed select */
.cf-select { position: relative; }
.cf-select select {
  width: 100%; appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding: 12px 40px 12px 14px; border: 1px solid rgba(5, 33, 45, .18); border-radius: 7px;
  background: #fff; font-family: var(--serif, Georgia, serif); font-size: 16px;
  color: var(--night, #05212d); cursor: pointer;
}
.cf-select select:focus { outline: none; border-color: var(--orange, #ed5223); box-shadow: 0 0 0 3px rgba(237, 82, 35, .14); }
.cf-select::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px;
  border-right: 2px solid rgba(5, 33, 45, .5); border-bottom: 2px solid rgba(5, 33, 45, .5);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.cf-submit {
  width: 100%; min-height: 50px; margin-top: 6px; border: 1px solid var(--orange, #ed5223);
  border-radius: 7px; background: var(--orange, #ed5223); color: #fff; cursor: pointer;
  font-family: var(--sans, sans-serif); font-size: 12px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  transition: background .18s ease, border-color .18s ease;
}
.cf-submit:hover { background: var(--night, #05212d); border-color: var(--night, #05212d); }
.cf-submit[disabled] { opacity: .6; cursor: default; }
.cf-msg { margin: 14px 0 0; font-size: 14px; line-height: 1.5; min-height: 1px; }
.cf-msg.error { color: var(--red, #a01a3d); }
.cf-note { margin: 16px 0 0; font-size: 12.5px; color: rgba(5, 33, 45, .55); }
.cf-note a { color: var(--night, #05212d); }
.cf-success { text-align: center; padding: 10px 0 4px; }
.cf-success svg { color: var(--orange, #ed5223); margin-bottom: 12px; }
.cf-success h3 { margin: 0 0 8px; font-family: var(--sans, sans-serif); font-weight: 500; font-size: 24px; color: var(--night, #05212d); }
.cf-success p { margin: 0; color: rgba(5, 33, 45, .68); font-size: 15px; }
