/* Shared subscriber gate + book-a-call, used by every map. */

/* Locked company chips */
a.chip.tntm-locked {
  filter: blur(5px);
  pointer-events: none;
  user-select: none;
  opacity: 0.85;
}
a.chip.tntm-locked .tooltip { display: none !important; }

/* Fade veil over the locked region */
.tntm-veil {
  position: relative;
  display: block;
  width: 100%;
  height: 1px;
}

/* Persistent unlock bar (appears once gated) */
.tntm-unlock-bar {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 40;
  display: none;
  align-items: center;
  gap: 14px;
  background: #1a1410;
  color: #faf7ef;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(26, 20, 16, 0.28);
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-size: 14px;
}
.tntm-unlock-bar.show { display: inline-flex; }
.tntm-unlock-bar button {
  background: #faf7ef;
  color: #1a1410;
  border: none;
  border-radius: 999px;
  padding: 7px 16px;
  font-weight: 600;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
}
.tntm-unlock-bar button:hover { background: #fff; }

/* Modal overlay */
.tntm-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(26, 20, 16, 0.55);
  backdrop-filter: blur(4px);
}
.tntm-overlay.tntm-open { display: flex; }

.tntm-card {
  position: relative;
  background: #faf7ef;
  border: 1px solid rgba(26, 20, 16, 0.12);
  border-radius: 18px;
  max-width: 460px;
  width: 100%;
  padding: 40px 34px 30px;
  text-align: center;
  box-shadow: 0 24px 70px rgba(26, 20, 16, 0.35);
  font-family: 'Inter Tight', system-ui, sans-serif;
  color: #1a1410;
}
.tntm-card .tntm-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6b6259;
  margin-bottom: 14px;
}
.tntm-card h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.tntm-card h2 em { font-style: italic; }
.tntm-card p {
  font-size: 15px;
  line-height: 1.55;
  color: #3f372f;
  margin-bottom: 22px;
}
.tntm-card form { display: flex; flex-direction: column; gap: 10px; }
.tntm-card input[type="email"] {
  padding: 14px 16px;
  border: 1.5px solid rgba(26, 20, 16, 0.18);
  border-radius: 11px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: #1a1410;
  outline: none;
}
.tntm-card input[type="email"]:focus {
  border-color: #1a1410;
  box-shadow: 0 0 0 4px rgba(26, 20, 16, 0.08);
}
.tntm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.tntm-card button.tntm-submit {
  padding: 14px 16px;
  border: none;
  border-radius: 11px;
  background: #1a1410;
  color: #faf7ef;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.18s ease;
}
.tntm-card button.tntm-submit:hover { background: #000; }
.tntm-card button.tntm-submit:disabled { opacity: 0.6; cursor: default; }
.tntm-fine { margin-top: 14px; font-size: 12px; color: #6b6259; }
.tntm-err { color: #b91c1c; font-size: 13px; min-height: 16px; margin-top: 4px; }
.tntm-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; font-size: 24px; line-height: 1;
  color: #6b6259; cursor: pointer;
}
.tntm-close:hover { color: #1a1410; }
.tntm-book-link {
  display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 600;
  color: #1a1410; text-decoration: underline; text-underline-offset: 3px;
}

/* Investor-services note in the map header */
.tntm-services-note {
  max-width: 720px;
  margin: 22px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  background: rgba(26, 20, 16, 0.04);
  border: 1px solid rgba(26, 20, 16, 0.12);
  border-radius: 12px;
  padding: 12px 18px;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: #3f372f;
}
.tntm-services-note strong { color: #1a1410; font-weight: 600; }
.tntm-services-note a.tntm-services-cta {
  flex-shrink: 0;
  background: #1a1410;
  color: #faf7ef;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.16s ease;
}
.tntm-services-note a.tntm-services-cta:hover { background: #000; }

/* Add-your-startup button (header) */
.tntm-add-btn {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 18px auto 0;
  background: #fff; color: #1a1410;
  border: 1.5px solid rgba(26, 20, 16, 0.2);
  border-radius: 999px; padding: 9px 18px;
  font-family: 'Inter Tight', system-ui, sans-serif; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all 0.16s ease;
}
.tntm-add-btn:hover { border-color: #1a1410; background: #faf7ef; }

/* Community badge on submitted chips */
.chip .badge.community,
.badge.community {
  background: rgba(99, 102, 241, 0.14) !important;
  color: #4338ca !important;
}

/* Floating book-a-call button (every map) */
.tntm-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 35;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1a1410;
  color: #faf7ef;
  text-decoration: none;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(26, 20, 16, 0.25);
  transition: transform 0.16s ease, background 0.16s ease;
}
.tntm-fab:hover { transform: translateY(-2px); background: #000; }
@media (max-width: 600px) {
  /* Move the FAB to the left so it never overlaps the centered unlock bar. */
  .tntm-fab { left: 16px; right: auto; font-size: 13px; padding: 10px 14px; }
  .tntm-unlock-bar { width: calc(100% - 32px); justify-content: space-between; gap: 8px; font-size: 13px; padding: 11px 14px; }
  .tntm-card { padding: 32px 22px 24px; }
  .tntm-card h2 { font-size: 25px; }
  .tntm-services-note { font-size: 13px; padding: 12px 14px; margin-top: 18px; }
  .tntm-services-note a.tntm-services-cta { width: 100%; text-align: center; }
}
