/* A quiet, bounded conversation over the immersive world. */
.contact-dialog {
  width: min(680px, calc(100% - 48px)); max-width: none;
  max-height: calc(100dvh - 48px); margin: auto; padding: 0;
  border: 1px solid #D7D7D7; border-radius: 3px;
  background: #FFFFFF; color: #1B1B1B;
  box-shadow: 0 10px 30px #4E4E4E1A; overflow: auto; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: #8A8A8A #FFFFFF;
}
.contact-dialog:not([open]) { display: none; }
.contact-dialog::backdrop { background: #292f2dcc; -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); }
.contact-panel { padding: 20px 38px 0; }
.contact-topline { position: sticky; top: 0; z-index: 1; background: #FFFFFF; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 16px; border-bottom: 1px solid #D7D7D7; }
.contact-wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; line-height: 24px; font-weight: 600; letter-spacing: -.5px; }
.contact-close { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 2px; }
.contact-close span { font-size: 30px; line-height: 1; font-weight: 300; }
.contact-close:hover { background: #F9F9F9; }
.contact-intro { padding: 26px 0; }
.contact-kicker { font: 12px/16px var(--arch-mono, var(--mono, monospace)); letter-spacing: .1em; color: #656565; margin-bottom: 10px; }
.contact-intro h2 { font-size: clamp(32px, 3.3vw, 44px); font-weight: 500; letter-spacing: -.055em; line-height: 1.12; }
/* This static heading receives entry focus for screen readers, not as a control. */
.contact-intro h2:focus { outline: none; }
.contact-intro > p:last-child { margin-top: 14px; max-width: 450px; color: #535353; font-size: 14px; line-height: 20px; }
.contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.contact-field { min-width: 0; }
.contact-field--wide { grid-column: 1 / -1; }
.contact-field label { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 7px; font-size: 12px; line-height: 16px; font-weight: 500; }
.contact-field label span { color: #656565; font-size: 12px; line-height: 16px; font-weight: 400; }
.contact-field input, .contact-field textarea {
  display: block; width: 100%; min-height: 46px; padding: 11px 13px;
  border: 1px solid #8A8A8A; border-radius: 2px;
  font: inherit; font-size: 16px; line-height: 24px; color: #1B1B1B; background: #F9F9F9;
}
.contact-field textarea { min-height: 94px; max-height: 250px; resize: vertical; }
.contact-field input::placeholder, .contact-field textarea::placeholder { color: #696969; font-size: 16px; opacity: 1; }
.contact-field input:focus, .contact-field textarea:focus { outline: 2px solid #1B1B1B; outline-offset: 2px; border-color: #1B1B1B; }
.contact-field [aria-invalid="true"] { border: 2px solid var(--brand-orange); }
.contact-field-error { color: #1B1B1B; font-weight: 600; font-size: 12px; margin-top: 6px; line-height: 16px; }
.contact-submit-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 24px; }
.contact-submit { min-height: 50px; padding-inline: 18px; gap: 28px; font-size: 14px; line-height: 20px; }
.contact-submit:disabled { cursor: wait; opacity: .7; }
.contact-status { margin-top: 14px; font-size: 12px; line-height: 16px; color: #1B1B1B; }
.contact-status:empty { display: none; }
.contact-status[data-state="error"] { color: #1B1B1B; font-weight: 600; }
.contact-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-success { padding: 8px 0 32px; }
.contact-success h3 { font-size: 24px; line-height: 32px; font-weight: 500; letter-spacing: -.02em; }
.contact-success h3:focus { outline: none; }
.contact-success p { margin-top: 8px; color: #535353; font-size: 14px; line-height: 20px; }
.contact-done { margin-top: 24px; min-height: 44px; padding-inline: 18px; }
.grecaptcha-badge { visibility: hidden; }
.contact-footnote { margin-top: 24px; padding: 16px 0 20px; border-top: 1px solid #D7D7D7; display: flex; justify-content: space-between; gap: 10px 20px; flex-wrap: wrap; font-size: 12px; line-height: 16px; color: #656565; }
.contact-recaptcha { margin-top: -8px; padding-bottom: 20px; color: #656565; font-size: 12px; line-height: 16px; }
.contact-recaptcha a { color: #363636; text-underline-offset: 2px; }
.contact-footnote a { color: #1B1B1B; display: inline-flex; align-items: center; gap: 6px; min-height: 30px; text-underline-offset: 3px; }
.contact-footnote a:hover { text-decoration: underline; }
.contact-dialog a:focus-visible, .contact-dialog button:focus-visible { outline: 2px solid #1B1B1B; outline-offset: 2px; }
.contact-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 600px) {
  .contact-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  .contact-panel { padding: 12px 22px 0; }
  .contact-topline { padding-bottom: 10px; }
  .contact-intro { padding: 22px 0; }
  .contact-intro h2 { font-size: 34px; }
  .contact-fields { grid-template-columns: 1fr; gap: 16px; }
  .contact-submit-row { flex-direction: column-reverse; align-items: stretch; gap: 12px; padding-top: 22px; }
  .contact-submit { min-height: 52px; }
  .contact-footnote { margin-top: 18px; padding: 12px 0; font-size: 12px; line-height: 16px; }
  .contact-footnote a { min-height: 44px; }
}
@media (prefers-reduced-motion: no-preference) {
  .contact-dialog[open] { animation: contact-arrive 160ms ease-out; }
  @keyframes contact-arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
}
@media (max-width: 380px) {
  .contact-intro h2 { font-size: 30px; }
  .contact-intro h2 br { display: none; }
}
@media (max-height: 500px) {
  .contact-panel { padding-top: 8px; }
  .contact-topline { padding-bottom: 6px; }
  .contact-intro { padding: 18px 0; }
  .contact-intro h2 { font-size: 30px; }
  .contact-intro h2 br { display: none; }
  .contact-intro > p:last-child { margin-top: 8px; }
}
