.cta-link { appearance: none; font-family: inherit; line-height: 1.2; cursor: pointer; }
.intro-actions { gap: 12px; }
.contact-dialog {
  width: min(580px, calc(100% - 32px));
  max-width: 580px;
  max-height: min(88vh, 780px);
  max-height: min(88dvh, 780px);
  overflow-y: auto;
  padding: 0;
  border: 1px solid #3b4654;
  border-radius: 10px;
  background: #14191f;
  color: var(--text);
  box-shadow: 0 28px 90px rgb(0 0 0 / .55);
}
.contact-dialog::backdrop { background: rgb(5 8 12 / .76); backdrop-filter: blur(3px); }
.contact-dialog-content { padding: clamp(22px, 5vw, 36px); }
.contact-dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.contact-eyebrow { margin: 0 0 11px; color: #88baff; font-size: 10px; font-weight: 650; letter-spacing: .13em; }
.contact-dialog h2 { max-width: 16ch; margin: 0; font-size: clamp(28px, 5vw, 38px); font-weight: 600; line-height: 1.08; letter-spacing: -.045em; }
.contact-intro { margin: 13px 0 22px; color: var(--muted); font-size: 14px; }
.contact-close { display: grid; flex: 0 0 40px; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid #343e4a; border-radius: 6px; background: #191f26; color: #dbe3ec; font: inherit; font-size: 24px; line-height: 1; cursor: pointer; }
.contact-close:hover { border-color: #6a7788; color: var(--text); }
.contact-close:focus-visible, .contact-dialog a:focus-visible, .contact-dialog input:focus-visible, .contact-dialog select:focus-visible, .contact-dialog textarea:focus-visible, .contact-dialog button:focus-visible { outline: 2px solid #88baff; outline-offset: 3px; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-field { display: grid; gap: 7px; min-width: 0; }
.contact-field-wide { grid-column: 1 / -1; }
.contact-field label { color: #e4e9ef; font-size: 13px; font-weight: 540; }
.contact-field input, .contact-field select, .contact-field textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #394451; border-radius: 5px; background: #0e1217; color: var(--text); font: inherit; font-size: 14px; }
.contact-field select { color-scheme: dark; }
.contact-field textarea { min-height: 120px; resize: vertical; }
.contact-field input::placeholder, .contact-field textarea::placeholder { color: #8792a0; }
.contact-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.contact-submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 20px; }
.contact-submit { min-width: 132px; }
.contact-submit:disabled { opacity: .65; cursor: progress; }
.contact-email { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.contact-email a { color: #dfe8f2; text-decoration: underline; text-underline-offset: 3px; }
.contact-status { min-height: 1.5em; margin: 15px 0 0; color: #b8c4d2; font-size: 13px; line-height: 1.5; }
.contact-dialog[aria-busy="true"] .contact-status { color: #d3deeb; }
.contact-dialog[open] { animation: contact-dialog-in .16s ease-out; }
@keyframes contact-dialog-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 520px) {
  .contact-fields { grid-template-columns: minmax(0, 1fr); }
  .contact-field input, .contact-field select, .contact-field textarea { font-size: 16px; }
  .contact-field-wide { grid-column: auto; }
  .contact-submit-row { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-dialog[open] { animation: none; }
}
