/* GanIQ 3D globe background — live pages (founder, index, contact) */

body.theme-globe {
  --bg: #06080d;
  --surface: #0c1018;
  --gold: #f0c040;
  --mark: #5eead4;
  --violet: #a78bfa;
  --globe-text: #eef2f7;
  --globe-muted: #8b9cb3;
  --globe-dim: #5c6b7f;

  --bg-primary: #06080d;
  --bg-secondary: #0c1018;
  --bg-tertiary: #141a24;
  --bg-elevated: #0c1018;
  --text-primary: #eef2f7;
  --text-secondary: #8b9cb3;
  --text-muted: #5c6b7f;
  --accent: #f0c040;
  --accent-hover: #f5d060;
  --accent-subtle: rgba(240, 192, 64, 0.1);
  --accent-border: rgba(240, 192, 64, 0.38);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-default: rgba(255, 255, 255, 0.1);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Mono', monospace;
  --font-mono: 'DM Mono', monospace;
  --font-serif: 'Instrument Serif', serif;

  background: var(--bg);
  color: var(--globe-text);
  font-family: var(--font-mono);
  font-size: 17px;
  line-height: 1.65;
}

body.page-globe-live {
  background: #050810;
  overflow-x: hidden;
  padding-top: calc(var(--site-disclaimer-height) + var(--site-disclaimer-under-gap) + var(--nav-height));
}

#canvas-root {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: auto;
  cursor: grab;
}
#canvas-root.dragging {
  cursor: grabbing;
}
#canvas-root canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.globe-grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.globe-vignette {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse 75% 65% at 50% 48%, transparent 22%, rgba(5, 5, 8, 0.82) 100%);
}

#label-layer {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}

.globe-asset-label {
  position: absolute;
  font-family: 'DM Mono', monospace;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.96);
  white-space: nowrap;
  transform: translate(-50%, -50%);
  text-shadow:
    0 0 18px rgba(0, 0, 0, 1),
    0 1px 3px rgba(0, 0, 0, 0.9),
    0 0 2px rgba(0, 0, 0, 1);
  pointer-events: none;
  transition: opacity 0.2s;
}
.globe-asset-label.hub {
  color: #ffaa66;
  font-weight: 800;
  font-size: 0.88rem;
}
.globe-asset-label.featured {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.globe-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--mark));
  z-index: 100001;
  transition: width 0.05s linear;
  pointer-events: none;
}

.globe-scroll-hint {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--globe-dim);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: opacity 0.5s;
  pointer-events: none;
}
.globe-scroll-hint.hidden {
  opacity: 0;
}
.globe-scroll-hint__line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: globeScrollPulse 2s ease-in-out infinite;
}
@keyframes globeScrollPulse {
  0%, 100% { transform: scaleY(0.6); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

.globe-scroll-root {
  position: relative;
  z-index: 10;
  pointer-events: none;
}
.globe-scroll-root > section,
.globe-scroll-root > .page-hero {
  pointer-events: none;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.globe-scroll-root .container {
  pointer-events: auto;
}

body.page-globe-live .nav-mobile,
body.page-globe-live .footer {
  position: relative;
  z-index: 200;
  pointer-events: auto;
}

body.page-globe-live .nav,
body.page-globe-live .nav.nav--approach {
  z-index: 200;
  pointer-events: auto;
  background: rgba(6, 8, 13, 0.45) !important;
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(240, 192, 64, 0.06) !important;
}
body.page-globe-live .nav.scrolled,
body.page-globe-live.theme-globe .nav.scrolled {
  background: rgba(6, 8, 13, 0.78) !important;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(240, 192, 64, 0.08) !important;
  box-shadow: none;
}

body.page-globe-live .page-hero--home,
body.page-globe-live .page-hero--founder,
body.page-globe-live .page-hero--approach {
  background: transparent !important;
}
body.page-globe-live .section {
  background: transparent !important;
}
body.page-globe-live .section--globe-panel {
  background: rgba(6, 8, 13, 0.58) !important;
  backdrop-filter: blur(12px);
  border-top-color: rgba(255, 255, 255, 0.06) !important;
}

body.page-globe-live .globe-content-panel {
  padding: 36px 40px;
  background: rgba(12, 16, 24, 0.78);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(42, 52, 65, 0.75);
  border-radius: 4px;
}

@media (max-width: 768px) {
  body.page-globe-live .globe-content-panel {
    padding: 28px 24px;
  }
}

body.page-globe-live .section--dark {
  --text-primary: #eef2f7;
  --text-secondary: #8b9cb3;
  --text-muted: #5c6b7f;
  --accent: #f0c040;
  --accent-hover: #f5d060;
  --accent-subtle: rgba(240, 192, 64, 0.1);
  --accent-border: rgba(240, 192, 64, 0.32);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-default: rgba(255, 255, 255, 0.12);
  background: rgba(6, 8, 13, 0.52) !important;
  backdrop-filter: blur(10px);
  color: var(--globe-text);
  border-top-color: rgba(255, 255, 255, 0.06) !important;
}

body.page-globe-live .card,
body.page-globe-live .home-what-card,
body.page-globe-live .home-stat,
body.page-globe-live .edge-vs,
body.page-globe-live .contact-gateway__card {
  background: rgba(12, 16, 24, 0.72) !important;
  backdrop-filter: blur(12px);
  border-color: rgba(42, 52, 65, 0.7) !important;
}
body.page-globe-live .contact-gateway__card--primary {
  border-color: rgba(240, 192, 64, 0.45) !important;
  background: linear-gradient(165deg, rgba(240, 192, 64, 0.1) 0%, rgba(12, 16, 24, 0.78) 52%) !important;
  box-shadow: 0 0 0 1px rgba(240, 192, 64, 0.12);
}

body.theme-globe .brand-iq {
  color: var(--gold);
  letter-spacing: 0.06em;
}

body.theme-globe .nav-logo,
body.theme-globe .footer__logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  letter-spacing: normal;
}
body.theme-globe .nav-logo { font-size: 20px; }
body.theme-globe .footer__logo { font-size: 17.5px; }

body.theme-globe .display-lg {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 5.625vw, 65px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--globe-text);
}
body.theme-globe .display-md {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 3.75vw, 45px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--globe-text);
}

body.theme-globe .section-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mark);
  justify-content: flex-start;
}
body.theme-globe .section-label::before {
  background: var(--mark);
}

body.theme-globe .body-md,
body.theme-globe .text-secondary {
  font-family: var(--font-mono);
  font-size: clamp(0.88rem, 1.2vw, 1rem);
  line-height: 1.75;
  color: var(--globe-muted);
}

body.theme-globe .home-hero-philosophy__headline {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-style: italic;
  font-weight: 400;
  color: var(--globe-muted);
  letter-spacing: 0;
}
body.theme-globe .home-hero-philosophy__neq {
  color: var(--gold);
  font-style: normal;
}
body.theme-globe .home-hero-philosophy__sub {
  font-family: var(--font-mono);
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  font-weight: 400;
  color: var(--globe-dim);
  letter-spacing: 0.04em;
}
body.theme-globe .home-hero-body {
  font-family: var(--font-mono);
  font-size: clamp(0.88rem, 1.2vw, 1rem);
  line-height: 1.75;
  color: var(--globe-muted);
}

body.theme-globe .home-what-card__num {
  color: var(--gold);
  font-family: var(--font-mono);
}
body.theme-globe .home-what-card__title,
body.theme-globe .card__title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--globe-text);
}
body.theme-globe .card__body {
  font-family: var(--font-mono);
  color: var(--globe-muted);
}

body.page-globe-live .edge-vs__cell--market {
  background: rgba(255, 255, 255, 0.03) !important;
  color: var(--globe-muted) !important;
}
body.page-globe-live .edge-vs__cell--ganiq {
  background: rgba(240, 192, 64, 0.06) !important;
  border-color: rgba(240, 192, 64, 0.22) !important;
  color: var(--globe-text) !important;
}
body.theme-globe .home-stat__value {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--gold);
}

body.theme-globe .lead {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--globe-muted);
  margin-top: 1rem;
}

body.theme-globe .btn--ghost {
  color: var(--globe-text);
  border-color: rgba(238, 242, 247, 0.2);
}
body.theme-globe .btn--ghost:hover {
  border-color: var(--mark);
  color: var(--mark);
  background: rgba(94, 234, 212, 0.06);
}

body.theme-globe .contact-direct-link {
  color: var(--mark);
}
body.theme-globe .contact-direct-link:hover {
  color: var(--gold);
}

body.theme-globe .contact-gateway__scarcity {
  color: var(--globe-dim);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

body.theme-globe .heading-lg {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--globe-text);
}

body.theme-globe .form-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--globe-dim);
}
body.theme-globe .form-input,
body.theme-globe .form-textarea {
  font-family: var(--font-mono);
  background: rgba(12, 16, 24, 0.85) !important;
  border-color: rgba(42, 52, 65, 0.8) !important;
  color: var(--globe-text);
}
body.theme-globe .form-input:focus,
body.theme-globe .form-textarea:focus {
  border-color: var(--mark) !important;
  outline: none;
}

body.page-globe-live .home-founder-highlight {
  padding: 20px 24px;
  background: rgba(12, 16, 24, 0.72);
  border-left: 3px solid var(--gold);
  border-radius: 0 6px 6px 0;
  backdrop-filter: blur(12px);
}

body.theme-globe .btn {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
}
body.theme-globe .btn--primary {
  background: var(--gold);
  color: var(--bg);
  border: 1px solid var(--gold);
  box-shadow: none;
}
body.theme-globe .btn--primary:hover {
  background: var(--accent-hover);
  color: var(--bg);
  border-color: var(--accent-hover);
  box-shadow: 0 8px 32px rgba(240, 192, 64, 0.2);
  transform: translateY(-2px);
}
body.theme-globe .btn--outline {
  color: var(--globe-text);
  border-color: rgba(238, 242, 247, 0.2);
  background: transparent;
}
body.theme-globe .btn--outline:hover {
  border-color: var(--mark);
  color: var(--mark);
  background: rgba(94, 234, 212, 0.06);
}

body.theme-globe .nav-links a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--globe-muted);
}
body.theme-globe .nav-links a:hover,
body.theme-globe .nav-links a.active {
  color: var(--gold);
}

body.theme-globe .mono-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mark);
}

body.theme-globe .founder-hero-sub {
  font-family: var(--font-mono);
  font-size: clamp(0.85rem, 1.3vw, 1rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--globe-muted);
  margin-top: 1.25rem;
}

body.theme-globe .contact-gateway__eyebrow {
  color: var(--gold);
  font-family: var(--font-mono);
}
body.theme-globe .contact-gateway__title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--globe-text);
}
body.theme-globe .contact-gateway__desc {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--globe-muted);
}

body.theme-globe .footer {
  background: rgba(6, 8, 13, 0.85);
  border-top-color: rgba(42, 52, 65, 0.5);
}

body.page-globe-live.page-globe-sub .globe-scroll-root > section:not(.page-hero),
body.page-globe-live.page-globe-sub .globe-scroll-root > .page-hero {
  min-height: auto;
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}
body.page-globe-live.page-globe-sub .globe-scroll-root > .page-hero {
  min-height: 72vh;
}

body.page-globe-live .page-hero {
  padding-top: 2.5rem;
}

body.page-globe-live .founder-highlight {
  padding: 24px 28px;
  background: rgba(12, 16, 24, 0.72);
  border-left: 3px solid var(--gold);
  border-radius: 0 6px 6px 0;
  backdrop-filter: blur(12px);
}

body.page-globe-live .founder-background-list {
  padding-left: 20px;
  line-height: 2;
  margin-bottom: 48px;
}

.section--founder-content {
  padding-top: 48px;
}

.founder-cards {
  display: grid;
  gap: 20px;
  text-align: left;
}
.founder-cards--intro {
  grid-template-columns: repeat(2, 1fr);
  max-width: 1180px;
  margin: 0 auto;
}
.founder-cards--narrative {
  grid-template-columns: 1fr;
  max-width: 900px;
  margin: 48px auto 0;
}
.founder-cards__heading {
  max-width: 1180px;
  margin: 48px auto 24px;
  justify-content: flex-start;
}
.section--founder-content .contact-gateway {
  margin-top: 0;
  max-width: 1180px;
}

@media (max-width: 900px) {
  .founder-cards--intro {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body.theme-globe .display-lg {
    font-size: clamp(32px, 8vw, 48px);
  }
  .globe-asset-label { font-size: 0.72rem; }
  .globe-asset-label.hub { font-size: 0.78rem; }
  .globe-asset-label.featured { font-size: 0.84rem; }
}

@media (prefers-reduced-motion: reduce) {
  .globe-scroll-hint__line {
    animation: none;
  }
}

/* Index: solid tiles only — no backdrop blur (globe shows through edges, text stays readable) */
body.page-globe-live.page-home .section--globe-panel,
body.page-globe-live.page-home .section--dark,
body.page-globe-live.page-home .globe-content-panel,
body.page-globe-live.page-home .card,
body.page-globe-live.page-home .home-what-card,
body.page-globe-live.page-home .home-stat,
body.page-globe-live.page-home .edge-vs,
body.page-globe-live.page-home .home-founder-highlight {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
