/* Contact sheet: the same live form, with the page staying exactly underneath. */
.zv-contact-dialog {
  position: fixed; inset: 0; box-sizing: border-box;
  width: min(620px, calc(100vw - 32px)); max-width: none;
  max-height: calc(100svh - 32px); max-height: calc(100dvh - 32px);
  margin: auto; padding: 0; overflow: hidden; overscroll-behavior: contain;
  border: 1px solid #c3a36d; border-radius: 18px;
  color: #182f53; background: #f7f2e9;
  box-shadow: 0 28px 100px #0008, 0 0 60px #d8bc8c12;
}
.zv-contact-dialog::backdrop {
  background: rgb(5 13 25 / 62%);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.zv-contact-dialog[open] { animation: zv-contact-arrive .28s cubic-bezier(.2,.75,.2,1) both; }
.zv-contact-dialog[open]::backdrop { animation: zv-contact-shade .28s ease-out both; }
.zv-contact-content { position: relative; box-sizing: border-box; padding: 40px 44px 32px; max-height: calc(100svh - 34px); max-height: calc(100dvh - 34px); overflow-y: auto; overscroll-behavior: contain; }
.zv-contact-close {
  position: absolute; top: 14px; right: 14px; display: grid; place-items: center;
  width: 40px; height: 40px; padding: 0; cursor: pointer;
  color: #182f53; border: 1px solid #182f5333; border-radius: 50%; background: #f7f2e9f2; z-index: 2;
}
.zv-contact-close:hover { background: #182f530b; border-color: #a6824a; }
.zv-contact-close svg { width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.zv-contact-kicker { display: flex; gap: 9px; align-items: center; padding-right: 30px; color: #8d6938; }
.zv-contact-kicker span { font-size: 12px; line-height: 1.5; letter-spacing: .035em; text-transform: uppercase; }
.zv-contact-kicker svg { width: 20px; height: 20px; flex-shrink: 0; fill: #af8b52; }
.zv-celestial #zv-contact-title {
  font-family: 'Great Vibes', cursive !important; font-weight: 400 !important;
  font-size: 64px; line-height: 1.12; letter-spacing: 0; color: #182f53;
  margin: 22px 0 16px; padding-right: .05em; outline: none;
}
.zv-celestial #zv-contact-description { font-size: 19px; line-height: 1.55; color: #4b586a; margin: 0 0 24px; text-wrap: pretty; }
.zv-contact-dialog #zv-request-form { margin: 0; padding: 24px 0 0; border: 0; border-top: 1px solid #182f5333; border-radius: 0; background: none; box-shadow: none; }
.zv-contact-dialog #zv-request-form > .grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-bottom: 22px; }
.zv-contact-dialog #zv-request-form label { display: block; color: #263b57; font-size: 15px; line-height: 1.3; margin-bottom: 9px; }
.zv-contact-dialog #zv-request-form input {
  box-sizing: border-box; width: 100%; min-width: 0; min-height: 54px; padding: 14px 16px;
  font-size: 18px; line-height: 1.35; color: #182f53; background: #fff9;
  border: 1px solid #182f5338; border-radius: 8px; box-shadow: none;
}
.zv-contact-dialog #zv-request-form input::placeholder { color: #727a87; opacity: 1; }
.zv-contact-dialog #zv-request-form input:focus { outline: 2px solid #b99256; outline-offset: 2px; border-color: #b99256; }
.zv-contact-dialog #f-btn {
  min-height: 54px; padding: 14px 16px; border-radius: 8px;
  color: #182f53; background: linear-gradient(110deg, #e1c692, #ccb17d); box-shadow: none;
  font-size: 17px; line-height: 1.35; letter-spacing: 0;
}
.zv-contact-dialog #f-btn.bg-green-600 { background: #315b45; color: #fff; }
.zv-contact-dialog #f-btn:disabled { cursor: wait; opacity: .7; }
.zv-contact-dialog #zv-request-form > p { color: #596475; font-size: 12px; line-height: 1.5; margin-top: 16px; }
.zv-contact-dialog #plot-row { margin-bottom: 20px; color: #182f53; }
.zv-contact-dialog #plot-row > div { border: 1px solid #b9925655; border-radius: 8px; background: #e9dcc155; }
.zv-contact-dialog #plot-row button { min-width: 32px; min-height: 32px; color: #182f53; }
.zv-contact-dialog :is(button, a):focus-visible { outline: 2px solid #af8549; outline-offset: 3px; }
@keyframes zv-contact-arrive { from { opacity: 0; transform: translateY(22px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes zv-contact-shade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 640px) {
  .zv-contact-dialog { width: calc(100vw - 24px); max-height: calc(100svh - 24px); max-height: calc(100dvh - 24px); border-radius: 14px; }
  .zv-contact-content { padding: 30px 24px 24px; max-height: calc(100svh - 26px); max-height: calc(100dvh - 26px); }
  .zv-contact-kicker { padding-right: 26px; }
  .zv-contact-kicker span { font-size: 10px; letter-spacing: .015em; }
  .zv-contact-kicker svg { width: 16px; }
  .zv-contact-close { top: 10px; right: 10px; width: 34px; height: 34px; }
  .zv-celestial #zv-contact-title { font-size: clamp(40px, 11.5vw, 54px); margin-block: 20px 12px; }
  .zv-celestial #zv-contact-description { font-size: 16px; line-height: 1.5; margin-bottom: 18px; }
  .zv-contact-dialog #zv-request-form { padding-top: 18px; }
  .zv-contact-dialog #zv-request-form > .grid { gap: 14px; margin-bottom: 18px; }
  .zv-contact-dialog #zv-request-form input { min-height: 50px; font-size: 17px; padding: 12px 14px; }
  .zv-contact-dialog #f-btn { font-size: 15px; }
}
@media (max-height: 600px) {
  .zv-contact-content { padding-top: 24px; padding-bottom: 20px; }
  .zv-celestial #zv-contact-title { margin-block: 14px 10px; }
}
@media (prefers-reduced-motion: reduce) { .zv-contact-dialog[open], .zv-contact-dialog[open]::backdrop { animation: none; } }
.zv-motion-paused .zv-contact-dialog[open], .zv-motion-paused .zv-contact-dialog[open]::backdrop { animation: none; }
