/* Lead capture popup — Attend / Exhibit / Learn */
html.ggce-lead-popup-is-open,
body.ggce-lead-popup-is-open {
  overflow: hidden !important;
}

.ggce-lead-popup[hidden] {
  display: none !important;
}

.ggce-lead-popup {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 8, 7, 0.82);
}

.ggce-lead-popup__dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: min(90vh, 820px);
  overflow: auto;
  padding: 36px 32px 32px;
  background: #111009;
  border: 1px solid rgba(198, 168, 90, 0.35);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.ggce-lead-popup__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--ivory, #f7f4ee);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
}

.ggce-lead-popup__close:hover {
  opacity: 1;
  color: var(--gold, #c6a85a);
}

.ggce-lead-popup__label {
  margin: 0 0 8px;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold, #c6a85a);
}

.ggce-lead-popup__title {
  margin: 0 0 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--ivory, #f7f4ee);
}

.ggce-lead-popup__lede {
  margin: 0 0 24px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--stone, #7c7264);
}

.ggce-lead-popup__grid {
  display: grid;
  gap: 14px;
}

.ggce-lead-popup__name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 520px) {
  .ggce-lead-popup__name-row {
    grid-template-columns: 1fr;
  }
}

.ggce-lead-popup__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone, #7c7264);
}

.ggce-lead-popup__field input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid rgba(198, 168, 90, 0.28);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ivory, #f7f4ee);
  font: inherit;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
}

.ggce-lead-popup__field input:focus {
  outline: none;
  border-color: var(--gold, #c6a85a);
}

.ggce-lead-popup__consent {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--stone, #7c7264);
}

.ggce-lead-popup__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
  margin: 24px 0 0;
}

.ggce-lead-popup__actions .btn {
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  text-align: center;
}

.ggce-lead-popup__actions .btn.btn-ghost {
  background: transparent !important;
  color: var(--ivory, #f7f4ee) !important;
  border: 1px solid rgba(198, 168, 90, 0.5) !important;
}

.ggce-lead-popup__actions .btn.btn-ghost:hover,
.ggce-lead-popup__actions .btn.btn-ghost:focus {
  background: rgba(198, 168, 90, 0.12) !important;
  border-color: var(--gold, #c6a85a) !important;
  color: var(--gold-lt, #e0c878) !important;
}

.ggce-lead-popup__actions .btn.btn-gold {
  background: var(--gold, #c6a85a) !important;
  color: var(--black, #0d0c0a) !important;
  border: 1px solid var(--gold, #c6a85a) !important;
}

.ggce-lead-popup__actions .btn.btn-gold:hover,
.ggce-lead-popup__actions .btn.btn-gold:focus {
  background: var(--gold-lt, #e0c878) !important;
  color: var(--black, #0d0c0a) !important;
}

.ggce-lead-popup__intents {
  display: grid;
  gap: 10px;
}

.ggce-lead-popup__intent {
  text-align: left;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(198, 168, 90, 0.25);
  color: inherit;
  padding: 18px 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font: inherit;
  transition: border-color 0.2s, background 0.2s;
}

.ggce-lead-popup__intent:hover,
.ggce-lead-popup__intent:focus-visible {
  border-color: var(--gold, #c6a85a);
  background: rgba(198, 168, 90, 0.08);
  outline: none;
}

.ggce-lead-popup__intent-kicker {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold, #c6a85a);
}

.ggce-lead-popup__intent strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--ivory, #f7f4ee);
  line-height: 1.15;
}

.ggce-lead-popup__intent span:last-child {
  font-size: 13px;
  line-height: 1.7;
  color: var(--stone, #7c7264);
}

.ggce-lead-popup__status {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--gold, #c6a85a);
}

.ggce-lead-popup__status.is-error {
  color: #e8b4b4;
}

@media (max-width: 700px) {
  .ggce-lead-popup__dialog {
    padding: 28px 20px 22px;
  }

  .ggce-lead-popup__actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .ggce-lead-popup__intent {
    text-align: center;
    align-items: center;
  }
}
