@font-face { font-family: Arabella; src: url('assets/fonts/arabella/Arabella-Terminal-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
.site-header .contact-icon { display: none; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.contact-dialog {
  box-sizing: border-box;
  width: min(570px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 38px 40px 26px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #fff9;
  border-radius: 20px;
  background: #f6f3ec;
  color: #382f45;
  box-shadow: 0 24px 100px #1e142e42;
  font: 400 14px/1.6 'DM Sans', Arial, sans-serif;
}
.contact-dialog::backdrop { background: #241b38a3; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.contact-dialog[open] { animation: contact-appear .22s ease-out; }
.contact-dialog *, .contact-dialog *::before, .contact-dialog *::after { box-sizing: border-box; }
.contact-dialog [hidden] { display: none !important; }
.contact-dialog :is(button, input, textarea) { font: inherit; }
.contact-dialog :is(button, a, input, textarea):focus-visible { outline: 2px solid #80629f; outline-offset: 4px; }
.contact-dialog button { cursor: pointer; }
.contact-dialog a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.contact-dialog .contact-close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 44px; height: 44px; padding: 11px; border: 1px solid #382f4526; border-radius: 50%; background: transparent; color: inherit; }
.contact-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.contact-dialog .contact-eyebrow { margin: 0 40px 18px 0; font-size: 10px; font-weight: 600; letter-spacing: 1.5px; color: #6c5c7a; }
.contact-dialog h2 { margin: 0 0 16px; font: 400 56px/1 Arabella, cursive; letter-spacing: 0; scale: .9 1.12; transform-origin: left center; outline: none; }
.contact-dialog .contact-intro { margin: 0 0 25px; color: #6c6075; font-size: 14px; line-height: 1.7; }
.contact-fields { min-width: 0; padding: 0; margin: 0; border: 0; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.contact-fields label { display: flex; flex-direction: column; gap: 7px; min-width: 0; font-size: 12px; font-weight: 550; }
.contact-dialog .contact-fields :is(input, textarea) { width: 100%; min-width: 0; min-height: 46px; margin: 0; padding: 11px 12px; border: 1px solid #c6bdcc; border-radius: 7px; background: #fffdf8; color: #382f45; font-size: 16px; font-weight: 400; line-height: 1.5; }
.contact-dialog .contact-fields textarea { display: block; resize: vertical; min-height: 118px; max-height: 300px; }
.contact-fields :is(input, textarea)::placeholder { color: #74667f; opacity: 1; }
.contact-dialog .contact-privacy { margin: 14px 0 20px; color: #736779; font-size: 11px; line-height: 1.6; }
.contact-dialog .contact-send, .contact-dialog .contact-done { display: flex; align-items: center; justify-content: space-between; gap: 15px; width: 100%; min-height: 50px; border: 1px solid #382f45; border-radius: 99px; padding: 12px 22px; background: #382f45; color: #f6f3ec; font-size: 14px; font-weight: 500; }
.contact-send .action-arrow, .contact-done .action-arrow { width: 21px; height: 21px; }
.contact-fields:disabled .contact-send { cursor: wait; opacity: .65; }
.contact-dialog .contact-status { margin: 18px 0 0; padding: 13px 16px; border: 1px solid #c8b9d5; border-radius: 8px; background: #e9e2f1; font-size: 14px; line-height: 1.65; }
.contact-dialog .contact-status:empty { margin: 0; padding: 0; border: 0; }
.contact-dialog .contact-status[data-state=error] { background: #f7e9e0; border-color: #d7b5a3; color: #713e2b; }
.contact-dialog .contact-status[data-state=success] { background: #e9eedf; border-color: #bccaa9; color: #3f5339; }
.contact-success { margin-top: 22px; }
.contact-dialog .contact-direct { margin: 22px 0 0; padding-top: 20px; border-top: 1px solid #382f451c; color: #736779; font-size: 12px; text-align: center; }
.contact-trap, .contact-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .contact-close:hover { background: #e4deed; } .contact-send:hover, .contact-done:hover { background: #51405f; } }
@media (max-width: 600px) {
  .site-header nav .contact-link { display: inline-flex; width: 34px; padding: 8px 5px; }
  .site-header .contact-icon { display: block; }
  .site-header .contact-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
@media (max-width: 480px) {
  .contact-dialog { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); padding: 30px 22px 22px; border-radius: 17px; }
  .contact-dialog h2 { font-size: 50px; }
  .contact-dialog .contact-eyebrow { margin-bottom: 16px; font-size: 9px; }
  .contact-row { grid-template-columns: 1fr; gap: 14px; margin-bottom: 14px; }
  .contact-dialog .contact-intro { margin-bottom: 20px; }
}
@keyframes contact-appear { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .contact-dialog[open] { animation: none; } }
@media (forced-colors: active) { .contact-dialog { border: 2px solid CanvasText; } .contact-dialog::backdrop { background: #000a; } }
.contact-dialog .contact-fields :is(input, textarea){border-color:#8d7d96}
.contact-dialog .contact-direct,.contact-dialog .contact-privacy{overflow-wrap:anywhere}
