/* FUNDINGGAUG≡™ shared static wordmark system
   Logo = /FUNDINGGAUG___Wordmark_cocaine_slim_.png
   Favicon = white bars only. Do not mix favicon into wordmark.
*/

.fg-wordmark-wrap,
.hero-wordmark-container {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  isolation: isolate !important;
  padding: 0 !important;
}

.fg-wordmark-wrap::before,
.hero-wordmark-container::before {
  content: "" !important;
  position: absolute !important;
  inset: -44px -92px !important;
  z-index: -2 !important;
  pointer-events: none !important;
  background:
    radial-gradient(ellipse at center,
      rgba(220,235,245,0.075) 0%,
      rgba(220,235,245,0.034) 36%,
      rgba(5,7,8,0.00) 74%) !important;
  filter: blur(26px) !important;
  opacity: 0.82 !important;
}

.fg-wordmark-wrap::after,
.hero-wordmark-container::after {
  content: "" !important;
  position: absolute !important;
  inset: -28px -66px !important;
  z-index: 2 !important;
  pointer-events: none !important;
  background:
    linear-gradient(90deg,
      #050708 0%,
      rgba(5,7,8,0.88) 5%,
      rgba(5,7,8,0.24) 17%,
      rgba(5,7,8,0.00) 34%,
      rgba(5,7,8,0.00) 66%,
      rgba(5,7,8,0.24) 83%,
      rgba(5,7,8,0.88) 95%,
      #050708 100%),
    linear-gradient(180deg,
      #050708 0%,
      rgba(5,7,8,0.74) 9%,
      rgba(5,7,8,0.20) 22%,
      rgba(5,7,8,0.00) 38%,
      rgba(5,7,8,0.00) 62%,
      rgba(5,7,8,0.20) 78%,
      rgba(5,7,8,0.74) 91%,
      #050708 100%) !important;
  mix-blend-mode: multiply !important;
}

.fg-wordmark-png,
.fg-logo-img {
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
  height: auto !important;
  object-fit: contain !important;
  opacity: 0.94 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter:
    brightness(0.96)
    contrast(1.04)
    drop-shadow(0 0 8px rgba(255,255,255,0.14))
    drop-shadow(0 0 22px rgba(220,245,255,0.08)) !important;
}

.fg-wordmark-hero,
.fg-hero-logo {
  width: min(560px, 58vw) !important;
}

.fg-wordmark-header,
.fg-header-logo,
header .fg-logo-img,
header .fg-wordmark-png {
  width: 170px !important;
  opacity: 0.88 !important;
  filter:
    brightness(0.94)
    contrast(1.02)
    drop-shadow(0 0 6px rgba(255,255,255,0.10)) !important;
}

.hero-logo-glow {
  opacity: 0.42 !important;
  filter: blur(58px) !important;
}

/* ============================================================
   HOMEPAGE LOGO UNCLIP PATCH
   Stops PNG blend slab from covering subtitle.
   Keep partner/vault pages intact.
   ============================================================ */

body:has(section.hero#home) .hero-wordmark {
  margin-bottom: 44px !important;
  overflow: visible !important;
}

body:has(section.hero#home) .hero-wordmark .fg-wordmark-wrap::after,
body:has(section.hero#home) .hero-wordmark .fg-wordmark-wrap::before {
  content: none !important;
  display: none !important;
}

body:has(section.hero#home) .hero-wordmark .fg-logo-img,
body:has(section.hero#home) .hero-wordmark .fg-hero-logo {
  width: min(560px, 58vw) !important;
  max-width: 560px !important;
  opacity: 0.96 !important;
  filter:
    brightness(0.98)
    contrast(1.04)
    drop-shadow(0 0 8px rgba(255,255,255,0.13))
    drop-shadow(0 0 26px rgba(220,245,255,0.10)) !important;
}

body:has(section.hero#home) .hero-tagline {
  position: relative !important;
  z-index: 20 !important;
  margin-top: 0 !important;
  clear: both !important;
}

/* HOMEPAGE ONLY — native chrome logo wins over boxed PNG */
body:has(section.hero#home) .hero-wordmark-container {
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  filter:
    drop-shadow(0 0 7px rgba(255,255,255,0.12))
    drop-shadow(0 0 22px rgba(220,245,255,0.06)) !important;
}

body:has(section.hero#home) .hero-wordmark-container::before,
body:has(section.hero#home) .hero-wordmark-container::after {
  content: none !important;
  display: none !important;
}

body:has(section.hero#home) .hero-tagline {
  position: relative !important;
  z-index: 20 !important;
  margin-top: 0 !important;
}
