:root {
  --tbc-bg: #050608;
  --tbc-bg-2: #090b10;
  --tbc-surface: #0b0d12;
  --tbc-menu-fill: #2f2f2f;
  --tbc-text: #f4f6fb;
  --tbc-muted: #94a0b3;
  --tbc-hover-1: #f6f7fb;
  --tbc-hover-2: #7a88ff;
  --tbc-hover-3: #45d3ff;
}

.tbc-page-shell {
  position: relative;
  z-index: 20;
}

.tbc-hero-header {
  padding: 0;
}

.tbc-header-shape-wrap {
  position: relative;
  width: 100vw;
  height: 140px;
  margin-left: calc(-50vw + 50%);
  left: 0;
}
.tbc-page-shell,
.tbc-hero-header {
  width: 100%;
}
.tbc-header-shape {
  display: block;
  width: 100%;
  height: 100%;
}

.tbc-menu-toggle {
  position: absolute;
  top: 24px;
  right: 18px;
  z-index: 4;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.tbc-menu-toggle:hover {
  background: rgba(255,255,255,0.05);
}

.tbc-menu-toggle:active {
  transform: scale(0.96);
}

.tbc-menu-toggle span {
  display: block;
  width: 15px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
}

.tbc-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  pointer-events: none;
  overflow: hidden;
}

.tbc-menu-overlay.is-open,
.tbc-menu-overlay.is-closing {
  pointer-events: auto;
}

.tbc-menu-fill {
  position: absolute;
  top: var(--tbc-menu-origin-top, 40px);
  left: var(--tbc-menu-origin-left, calc(100% - 40px));
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--tbc-menu-fill);
  z-index: 9999998;
  transform: translate(-50%, -50%) scale(0.15);
  transform-origin: center center;
  opacity: 0;
  transition:
    transform 0.62s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.2s ease;
  will-change: transform, opacity;
}

.tbc-menu-overlay.is-open .tbc-menu-fill {
  opacity: 1;
  transform: translate(-50%, -50%) scale(90);
}

.tbc-menu-overlay.is-closing .tbc-menu-fill {
  opacity: 1;
  transform: translate(-50%, -50%) scale(0.15);
}

.tbc-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10000000;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.96);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s ease,
    background 0.2s ease;
}

.tbc-menu-overlay.is-open .tbc-menu-close {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition-delay: 0.08s;
}

.tbc-menu-close:hover {
  background: rgba(255,255,255,0.08);
}

.tbc-menu-close span {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
}

.tbc-menu-close span:first-child {
  transform: rotate(45deg);
}

.tbc-menu-close span:last-child {
  transform: rotate(-45deg);
}

.tbc-overlay-nav {
  position: relative;
  z-index: 9999999;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 40px 20px;
}

.tbc-nav-link {
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  font-size: clamp(2.4rem, 8vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 780;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #f4f6fb;
  text-decoration: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease,
    border 0.2s ease,
    box-shadow 0.2s ease;
}

.tbc-menu-overlay.is-open .tbc-nav-link {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.tbc-menu-overlay.is-open .tbc-nav-link:nth-child(1) { transition-delay: 0.08s; }
.tbc-menu-overlay.is-open .tbc-nav-link:nth-child(2) { transition-delay: 0.10s; }
.tbc-menu-overlay.is-open .tbc-nav-link:nth-child(3) { transition-delay: 0.12s; }
.tbc-menu-overlay.is-open .tbc-nav-link:nth-child(4) { transition-delay: 0.14s; }

.tbc-nav-link:hover,
.tbc-nav-link:focus-visible {
  outline: none;
  background:
    linear-gradient(#0f1014, #0f1014) padding-box,
    linear-gradient(90deg, var(--tbc-hover-1), var(--tbc-hover-2), var(--tbc-hover-3)) border-box;
  border: 1px solid transparent;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.02),
    0 0 24px rgba(124,140,255,0.15);
}

@media (max-width: 768px) {
  .tbc-header-shape-wrap {
    height: 110px;
  }

  .tbc-menu-toggle {
    top: 18px;
    right: 14px;
  }

  .tbc-menu-overlay.is-open .tbc-menu-fill {
    transform: translate(-50%, -50%) scale(46);
  }

  .tbc-nav-link {
    font-size: clamp(2.1rem, 10vw, 3.4rem);
    padding: 12px 22px;
  }
}


/* Hide Astra default header everywhere */
.ast-builder-header-wrap,
.site-header,
#masthead,
.ast-primary-header-bar,
.main-header-bar,
.ast-desktop-header-wrap,
.ast-mobile-header-wrap {
  display: none !important;
}



.tbc-overlay-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.tbc-overlay-menu-list li {
  margin: 0;
  padding: 0;
}

.tbc-overlay-menu-list a {
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  font-size: clamp(2.4rem, 8vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 780;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #f4f6fb;
  text-decoration: none;
  display: inline-block;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease,
    border 0.2s ease,
    box-shadow 0.2s ease;
}

.tbc-menu-overlay.is-open .tbc-overlay-menu-list a {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.tbc-menu-overlay.is-open .tbc-overlay-menu-list li:nth-child(1) a { transition-delay: 0.08s; }
.tbc-menu-overlay.is-open .tbc-overlay-menu-list li:nth-child(2) a { transition-delay: 0.10s; }
.tbc-menu-overlay.is-open .tbc-overlay-menu-list li:nth-child(3) a { transition-delay: 0.12s; }
.tbc-menu-overlay.is-open .tbc-overlay-menu-list li:nth-child(4) a { transition-delay: 0.14s; }

.tbc-overlay-menu-list a:hover,
.tbc-overlay-menu-list a:focus-visible {
  outline: none;
  background:
    linear-gradient(#0f1014, #0f1014) padding-box,
    linear-gradient(90deg, var(--tbc-hover-1), var(--tbc-hover-2), var(--tbc-hover-3)) border-box;
  border: 1px solid transparent;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.02),
    0 0 24px rgba(124,140,255,0.15);
}

body.admin-bar .tbc-hero-header {
  margin-top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .tbc-hero-header {
    margin-top: 46px;
  }
}




.leaflet-container,
.leaflet-pane,
.leaflet-top,
.leaflet-bottom,
.leaflet-control {
  z-index: 0 !important;
}