/* Let's talk: the contact form (Formspree), shared by every page */
.cm { position: fixed; inset: 0; z-index: 96; display: grid; place-items: center; padding: 24px; visibility: hidden; pointer-events: none; }
.cm.is-open { visibility: visible; pointer-events: auto; }
.cm__scrim { position: absolute; inset: 0; background: rgba(5, 5, 7, 0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity 360ms ease; }
.cm.is-open .cm__scrim { opacity: 1; }
.cm__panel {
  position: relative; width: min(100%, 580px); max-height: calc(100svh - 48px); overflow: auto; overscroll-behavior: contain;
  background: #121216; color: #ECEDE9; border-radius: 28px; box-shadow: inset 0 0 0 1px rgba(236,237,233,0.12), 0 60px 120px -40px rgba(0,0,0,0.9);
  padding: 36px; font-family: 'Geist', system-ui, sans-serif;
  opacity: 0; transform: translateY(24px) scale(0.98); transition: opacity 320ms ease, transform 520ms cubic-bezier(0.23, 1, 0.32, 1);
}
.cm.is-open .cm__panel { opacity: 1; transform: none; }
.cm__head { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.cm__title { font-family: 'Archivo', 'Geist', sans-serif; font-weight: 800; font-stretch: 100%; font-size: clamp(2.2rem, 6vw, 3.2rem); line-height: 0.95; letter-spacing: -0.04em; margin: 0; }
.cm__intro { margin: 14px 0 0; font-size: 16px; line-height: 1.55; color: rgba(236,237,233,0.8); max-width: 40ch; }
.cm__close { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(236,237,233,0.08); color: inherit; border: 0; cursor: pointer; transition: background-color 200ms ease; }
.cm__close:hover { background: rgba(236,237,233,0.16); }
.cm__close svg { width: 16px; height: 16px; }
.cm form { margin-top: 28px; display: grid; gap: 18px; }
.cm__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cm__field { display: grid; gap: 8px; }
.cm__label { font-size: 13px; font-weight: 500; letter-spacing: 0.02em; color: rgba(236,237,233,0.8); display: flex; justify-content: space-between; }
.cm__opt { color: rgba(236,237,233,0.5); font-weight: 400; }
.cm input, .cm textarea {
  width: 100%; font: inherit; font-size: 16px; color: #ECEDE9; background: rgba(236,237,233,0.05); border: 0; border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(236,237,233,0.14); padding: 14px 16px; min-height: 52px; transition: box-shadow 200ms ease, background-color 200ms ease;
}
.cm textarea { min-height: 132px; resize: vertical; line-height: 1.5; }
.cm input::placeholder, .cm textarea::placeholder { color: rgba(236,237,233,0.6); }
.cm input:focus, .cm textarea:focus { outline: none; background: rgba(236,237,233,0.08); box-shadow: inset 0 0 0 1.5px #ECEDE9; }
.cm [aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px #FF6B6B; }
.cm__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cm__chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; cursor: pointer; font: inherit; font-size: 14px; font-weight: 500; color: inherit; background: transparent; box-shadow: inset 0 0 0 1px rgba(236,237,233,0.25); transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease; }
.cm__chip:hover { box-shadow: inset 0 0 0 1px rgba(236,237,233,0.6); }
.cm__chip[aria-checked="true"] { background: #ECEDE9; color: #09090B; box-shadow: none; }
.cm__foot { display: grid; gap: 12px; margin-top: 4px; }
.cm__send { min-height: 52px; border-radius: 999px; border: 0; cursor: pointer; font: inherit; font-size: 16px; font-weight: 600; background: #ECEDE9; color: #09090B; transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), opacity 200ms ease; }
.cm__send:active { transform: scale(0.98); }
.cm__send:disabled { opacity: 0.6; cursor: progress; }
.cm__error { display: none; margin: 0; font-size: 14px; color: #FF8A8A; }
.cm__error.is-visible { display: block; }
.cm__fallback { margin: 0; font-size: 14px; color: rgba(236,237,233,0.6); text-align: center; }
.cm__fallback a { color: #ECEDE9; text-decoration: underline; text-underline-offset: 3px; }
.cm__done { display: none; text-align: center; padding: 24px 0 8px; }
.cm__done.is-visible { display: block; }
.cm__done-icon { width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: #ECEDE9; color: #09090B; }
.cm__done-icon svg { width: 22px; height: 22px; }
.cm__done-title { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 1.8rem; letter-spacing: -0.03em; margin: 0; }
.cm__done-body { margin: 10px 0 24px; color: rgba(236,237,233,0.8); }
.cm__done .cm__send { width: 100%; }
.cm :focus-visible { outline: 2px solid #ECEDE9; outline-offset: 3px; }
@media (max-width: 600px) {
  .cm { place-items: end stretch; padding: 0; }
  .cm__panel { width: 100%; max-height: 92svh; border-radius: 24px 24px 0 0; padding: 26px 20px calc(22px + env(safe-area-inset-bottom)); transform: translateY(40px); }
  .cm__row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .cm__panel, .cm__scrim { transition: none; } }
