.em-overlay{position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;padding:1rem;background:rgba(3,6,24,.78);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.em-overlay.is-open{display:flex}
.em-modal{position:relative;width:100%;max-width:640px;max-height:calc(100vh - 2rem);max-height:calc(100dvh - 2rem);overflow-y:auto;background:#0A1128;border-radius:20px;-webkit-overflow-scrolling:touch}
.em-modal .lg-form{border-radius:20px}
.em-close{position:absolute;top:.9rem;right:.9rem;z-index:2;width:40px;height:40px;border-radius:50%;border:1px solid rgba(216,188,133,.35);background:rgba(0,0,15,.5);color:#D8BC85;font-size:22px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center}
.em-close:hover{background:rgba(216,188,133,.15)}
.em-modal .lg-form-title{padding-right:2.6rem}
body.em-lock{overflow:hidden}
.em-modal .lg-form{background:linear-gradient(180deg,rgba(255,255,255,.04) 0%,rgba(255,255,255,.02) 100%);border:1px solid rgba(216,188,133,.22);border-radius:18px;padding:clamp(1.6rem,3vw,2.4rem);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);box-shadow:0 30px 80px -40px rgba(0,0,15,.7)}
.em-modal .lg-form-title{font-family:var(--serif);font-weight:500;font-style:italic;font-size:1.4rem;color:#F3EEE3;margin:0 0 .35rem;letter-spacing:-.005em}
.em-modal .lg-form-sub{font-family:var(--sans);font-weight:300;font-size:.92rem;color:rgba(243,238,227,.65);margin:0 0 1.6rem}
.em-modal .lg-row{display:grid;gap:1.05rem}
.em-modal .lg-row.two{grid-template-columns:1fr 1fr}

.em-modal .lg-field{display:flex;flex-direction:column;gap:.4rem}
.em-modal .lg-field label{font-family:var(--sans);font-size:.72rem;font-weight:500;letter-spacing:.18em;text-transform:uppercase;color:#D8BC85}
.em-modal .lg-field input,.lg-field select{font-family:var(--sans);font-size:.98rem;font-weight:400;color:#F3EEE3;background:rgba(0,0,15,.4);border:1px solid rgba(216,188,133,.22);border-radius:10px;padding:.85rem 1rem;transition:border-color .25s ease,background .25s ease,box-shadow .25s ease;width:100%;box-sizing:border-box}
.em-modal .lg-field input::placeholder{color:rgba(243,238,227,.4)}
.em-modal .lg-field input:focus,.lg-field select:focus{outline:none;border-color:#D8BC85;background:rgba(0,0,15,.6);box-shadow:0 0 0 3px rgba(216,188,133,.14)}
.em-modal .lg-field select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1l5 5 5-5' stroke='%23D8BC85' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");background-repeat:no-repeat;background-position:right 1rem center;padding-right:2.4rem;cursor:pointer}
.em-modal .lg-field select option{background:#0A1128;color:#F3EEE3}
.em-modal .lg-submit{margin-top:1.6rem;width:100%;font-family:var(--sans);font-size:.86rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:#0A1128;background:linear-gradient(135deg,#E4CC8E 0%,#D8BC85 60%,#C8A96B 100%);border:0;border-radius:10px;padding:1.05rem 1.4rem;cursor:pointer;transition:transform .25s ease,box-shadow .25s ease,filter .25s ease;box-shadow:0 14px 40px -16px rgba(216,188,133,.5)}
.em-modal .lg-submit:hover{transform:translateY(-2px);filter:brightness(1.06);box-shadow:0 20px 50px -18px rgba(216,188,133,.7)}
.em-modal .lg-submit:active{transform:translateY(0)}
.em-modal .lg-fineprint{font-family:var(--sans);font-size:.74rem;font-weight:300;color:rgba(243,238,227,.55);margin:1.1rem 0 0;line-height:1.6;text-align:center}
.em-modal .lg-fineprint a{color:#D8BC85;text-decoration:underline;text-underline-offset:2px}
.em-modal .lg-success{display:none;padding:1.6rem;border:1px solid rgba(216,188,133,.35);border-radius:14px;background:rgba(216,188,133,.06);text-align:center;font-family:var(--serif);font-style:italic;font-size:1.2rem;color:#D8BC85}
.em-modal .lg-form.is-sent .lg-form-body{display:none}
.em-modal .lg-form.is-sent .lg-success{display:block}

@media (max-width:640px){.em-overlay{padding:0;align-items:flex-end}.em-modal{max-width:none;max-height:92dvh;border-radius:20px 20px 0 0}.em-modal .lg-form{border-radius:20px 20px 0 0;padding:1.4rem 1.1rem 1.6rem}.em-modal .lg-row.two{grid-template-columns:1fr}.em-modal .lg-field input,.em-modal .lg-field select{font-size:16px}}

/* validation message readable on the navy form */
.lg-form .fa-form-error{color:#F6CDD2 !important;background:rgba(176,28,46,.22) !important;border-color:rgba(246,205,210,.45) !important;font-size:15px !important}
