/* Keyport Group newsletter popup. Preview only; do not deploy until Chris approves.
   Modal and timing mirror the live Chattanooga popup (kc.css / kc-light.css).
   z-index is 400 so the overlay sits above this site's fixed nav (z-index 200). */

.kc-popup{position:fixed;inset:0;z-index:400;display:flex;align-items:center;justify-content:center;padding:20px;background:transparent}
.kc-popup[hidden]{display:none!important}
.kc-popup-backdrop{position:absolute;inset:0;background:rgba(7,12,20,.4)}
.kc-popup-dialog{position:relative;z-index:1;width:min(480px,100%);max-height:min(90vh,calc(100dvh - 24px));background:rgba(14,63,108,.5);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff;border-radius:16px;border:1px solid rgba(201,165,92,.28);box-shadow:0 24px 64px rgba(7,12,20,.4);display:flex;flex-direction:column;overflow:auto;padding:.35rem .35rem .2rem}
.kc-popup-close{position:absolute;top:.45rem;right:.45rem;z-index:2;width:2.25rem;height:2.25rem;border:0;border-radius:999px;background:transparent;color:#C9A55C;font-size:1.7rem;line-height:1;cursor:pointer}
.kc-popup-close:hover,.kc-popup-close:focus-visible{background:rgba(201,165,92,.16);outline:2px solid #C9A55C;outline-offset:2px}
.kc-popup-frame{flex:0 0 auto;overflow:visible;padding:0;background:transparent}
.kc-popup-frame .kc-ccm-embed{width:100%;background:transparent;border-radius:0;overflow:visible;box-shadow:none}
.kc-popup-frame iframe{width:100%;max-width:100%;height:622px;border:0;display:block;background:transparent}
.kc-popup-loading{margin:.75rem 1rem;font-size:.9rem;color:rgba(255,255,255,.7)}
.kc-popup-loading a{color:#C9A55C;text-decoration:underline}
.kc-popup-loading.is-ready{display:none}
body.kc-popup-open{overflow:hidden}
@media (max-width:30rem){
  .kc-popup{padding:12px;align-items:center}
  .kc-popup-dialog{width:100%;max-width:480px;max-height:calc(100dvh - 16px);border-radius:16px;padding:.25rem .15rem .1rem}
}

.footer-btm a{color:rgba(255,255,255,.4);text-decoration:none;transition:color .2s}
.footer-btm a:hover,.footer-btm a:focus-visible{color:#C9A55C}
