/* ===== Globe hero ===== */
.globe-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(96px, 14vh, 150px) clamp(20px, 5vw, 64px) clamp(48px, 8vh, 88px);
  background: var(--bg-dark);
  color: var(--fg-light);
  overflow: hidden;
}

.globe-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}
.globe-stage canvas {
  opacity: 0;
  transition: opacity 1200ms var(--ease-out);
  filter: drop-shadow(0 0 70px oklch(var(--accent-l) var(--accent-c) var(--accent-h) / 0.2));
}
.globe-stage canvas.ready { opacity: 1; }

/* fade the globe edges into the page */
.globe-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 46%, var(--bg-dark) 82%);
  pointer-events: none;
}

.globe-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

/* soft scrim so the copy stays readable over the dot field */
.globe-inner::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 155%;
  height: 150%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center,
    color-mix(in srgb, var(--bg-dark) 92%, transparent) 0%,
    color-mix(in srgb, var(--bg-dark) 78%, transparent) 42%,
    transparent 72%);
  pointer-events: none;
  z-index: -1;
}

.globe-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.75;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-shadow: 0 1px 12px rgba(10,10,10,0.8);
}
.globe-eyebrow .pip {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2.4s infinite;
}

.globe-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(42px, 7.5vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin: 0;
  text-shadow: 0 2px 24px rgba(10,10,10,0.75);
}
.globe-name em {
  color: inherit;
}

.globe-intro {
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.6;
  opacity: 0.9;
  max-width: 56ch;
  margin: 0;
  text-wrap: pretty;
  text-shadow: 0 1px 16px rgba(10,10,10,0.8);
}
.globe-intro strong { color: var(--fg-light); font-weight: 500; }

.globe-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 6px;
}

.globe-scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(22px, 4vh, 40px);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.45;
  z-index: 1;
  pointer-events: none;
}
.globe-scroll .rail {
  width: 1px;
  height: 40px;
  background: rgba(245,242,236,0.18);
  position: relative;
  overflow: hidden;
}
.globe-scroll .rail::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  animation: globeRail 2.4s var(--ease-in-out) infinite;
}
@keyframes globeRail {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

@media (max-width: 720px) {
  /* Sizing lives in styles-mobile.css; only the globe's own fade stays here. */
  .globe-stage::after {
    background: radial-gradient(circle at 50% 50%, transparent 30%, var(--bg-dark) 74%);
  }
}
