body.contact-modal-open { overflow: hidden; }
.contact-modal {
  width: min(1020px, calc(100% - 48px));
  max-width: none;
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 0;
  border: 1px solid #ffffff38;
  border-radius: 16px;
  background: #faf9f6;
  color: #202124;
  box-shadow: 0 32px 120px #08061066;
  overflow: auto;
  overscroll-behavior: contain;
  font-family: Manrope, 'Helvetica Neue', sans-serif;
}
.contact-modal::backdrop { background: #13101fc2; backdrop-filter: blur(7px); }
.contact-modal[open] { animation: enquiry-enter .22s ease-out; }
.contact-modal-layout { display: grid; grid-template-columns: .8fr 1.4fr; }
.contact-modal-story { display: flex; flex-direction: column; overflow: hidden; position: relative; isolation: isolate; padding: 35px; background: #1d1926; color: #f7f3fc; }
.contact-modal-logo { width: 93px; height: auto; filter: brightness(0) invert(1); }
.contact-modal-story-copy { margin-top: 48px; }
.contact-modal-story .overline { font-size: 8px; color: #bbaccb; letter-spacing: .15em; margin-bottom: 18px; }
.contact-modal .contact-modal-story h2 { font-size: 33px; line-height: 1.2; letter-spacing: -.045em; font-weight: 450; }
.contact-modal-story h2 em { font-family: Georgia, serif; font-weight: 400; color: #d3b5f5; }
.contact-modal-story-copy > p:last-child { color: #bdb4c9; font-size: 12px; line-height: 1.9; margin-top: 22px; max-width: 245px; }
.contact-modal-art { position: relative; width: 164px; height: 164px; margin: auto; min-height: 145px; }
.contact-modal-art > span { width: 140px; height: 140px; border: 1px solid #6c4e824d; position: absolute; left: 50%; top: 50%; border-radius: 30px; transform: translate(-50%, -50%) rotate(45deg); }
.contact-modal-art > span:nth-child(2) { width: 104px; height: 104px; border-color: #85629480; border-radius: 25px; }
.contact-modal-art > span:nth-child(3) { width: 72px; height: 72px; border-radius: 20px; background: #a86cb211; border-color: #be89d57a; }
.contact-modal-art img { position: absolute; width: 40px; height: auto; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.contact-modal-story-foot { border-top: 1px solid #b295ce26; padding-top: 20px; margin-top: 24px; }
.contact-modal-story-foot > span { display: block; color: #aa98b9; font-size: 8px; letter-spacing: .1em; }
.contact-modal-story-foot a { color: #ede2f7; font-size: 12px; display: flex; justify-content: space-between; gap: 20px; margin-top: 10px; }
.contact-modal-main { position: relative; padding: 32px 34px 26px; min-width: 0; }
.contact-modal-close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; padding: 0; width: 32px; height: 32px; border: 1px solid #dcd6df; border-radius: 50%; background: #f2edf6; color: #64536f; cursor: pointer; }
.contact-modal-close:hover { background: #e4d7ef; border-color: #b99cce; }
.contact-modal-close svg { width: 17px; height: 17px; }
.contact-modal-heading { padding-right: 20px; margin-bottom: 23px; }
.contact-modal-heading .overline { font-size: 8px; margin-bottom: 9px; color: #9773a7; }
.contact-modal .contact-modal-heading h2 { font-size: 25px; font-weight: 650; letter-spacing: -.045em; line-height: 1.2; }
.contact-modal-heading > p:last-child { font-size: 11px; margin-top: 10px; color: #7a727f; line-height: 1.7; }
.enquiry-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 14px; }
.enquiry-field { min-width: 0; }
.enquiry-field label, .enquiry-budget legend { display: block; font-size: 10px; font-weight: 650; line-height: 1.5; color: #4c4353; margin-bottom: 6px; }
.enquiry-field label > span:not(.field-optional) { color: #89629e; }
.field-optional { font-size: 8px; font-weight: 450; color: #847b8b; margin-left: 5px; }
.enquiry-field input, .enquiry-field select, .enquiry-field textarea {
  display: block; width: 100%; min-width: 0; border: 1px solid #ded8e3; border-radius: 5px; background: #fff; color: #2e2835; font: inherit; font-size: 12px; line-height: 1.5; min-height: 40px; padding: 9px 11px; box-shadow: none; transition: border-color .15s, box-shadow .15s;
}
.enquiry-field select { padding-right: 23px; cursor: pointer; }
.enquiry-field select:has(option[value=""]:checked) { color: #8e8495; }
.enquiry-field input::placeholder, .enquiry-field textarea::placeholder { color: #938a99; opacity: 1; }
.enquiry-field input:focus, .enquiry-field select:focus, .enquiry-field textarea:focus { outline: 0; border-color: #a77abd; box-shadow: 0 0 0 3px #ac77c51a; }
.enquiry-field .is-invalid { border-color: #b6526b; }
.enquiry-field textarea { resize: vertical; min-height: 83px; max-height: 200px; }
.enquiry-budget { min-width: 0; padding: 0; margin: 18px 0; border: 0; }
.budget-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.budget-options label { position: relative; cursor: pointer; }
.budget-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.budget-options span { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 35px; padding: 7px 4px; border: 1px solid #ded8e3; border-radius: 5px; font-size: 10px; line-height: 1.4; white-space: nowrap; color: #716779; background: #fff; }
.budget-options input:checked + span { color: #67308a; border-color: #ae7eca; background: #f0e6f7; }
.budget-options input:focus-visible + span { outline: 2px solid #a16dbc; outline-offset: 3px; }
.budget-options label:hover span { border-color: #ba9dcc; }
.enquiry-message-meta { display: flex; justify-content: space-between; align-items: start; gap: 14px; margin-top: 6px; font-size: 8px; line-height: 1.6; color: #8a808e; }
.enquiry-message-meta > span:last-child { white-space: nowrap; }
.enquiry-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #e2dbe6; padding-top: 17px; margin-top: 18px; }
.enquiry-form-footer p { max-width: 240px; color: #817688; font-size: 9px; line-height: 1.7; }
.enquiry-form-footer p a { text-decoration: underline; text-underline-offset: 2px; }
.enquiry-form-footer .button { min-height: 42px; flex-shrink: 0; font: inherit; font-size: 11px; padding: 0 16px; }
.enquiry-form-footer .button span { margin-left: 3px; }
.enquiry-form-error { color: #9c2948; font-size: 11px; margin-top: 13px; }
.enquiry-handoff { padding: 13px; background: #eae2f2; border-radius: 5px; font-size: 11px; line-height: 1.7; margin-top: 14px; color: #574062; }
.enquiry-handoff a { display: block; text-decoration: underline; margin-top: 5px; font-weight: 650; }
.contact-form-launch { margin-top: 24px; margin-bottom: 8px; }
@keyframes enquiry-enter { from { opacity: 0; transform: translateY(12px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 850px) {
  .contact-modal { width: min(660px, calc(100% - 36px)); }
  .contact-modal-layout { grid-template-columns: 1fr; }
  .contact-modal-story { display: none; }
  .contact-modal-main { padding: 32px; }
}
@media (max-width: 520px) {
  .contact-modal { width: calc(100% - 24px); max-height: calc(100dvh - 24px); border-radius: 12px; }
  .contact-modal-main { padding: 26px 20px 22px; }
  .contact-modal-close { position: sticky; float: right; z-index: 2; top: 12px; right: auto; width: 30px; height: 30px; margin: -14px -8px 0 0; }
  .contact-modal-heading { padding-right: 20px; margin-bottom: 22px; }
  .contact-modal .contact-modal-heading h2 { font-size: 24px; }
  .contact-modal-heading > p:last-child { font-size: 12px; }
  .enquiry-fields { grid-template-columns: 1fr; gap: 14px; }
  .enquiry-field label, .enquiry-budget legend { font-size: 11px; }
  .enquiry-field input, .enquiry-field select, .enquiry-field textarea { font-size: 16px; min-height: 44px; }
  .field-optional { font-size: 9px; }
  .budget-options { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .budget-options span { min-height: 42px; font-size: 12px; }
  .enquiry-message-meta { font-size: 9px; }
  .enquiry-form-footer { flex-direction: column-reverse; align-items: stretch; gap: 12px; }
  .enquiry-form-footer .button { min-height: 46px; font-size: 13px; }
  .enquiry-form-footer p { max-width: none; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .contact-modal[open] { animation: none; } }
