/* Section headings - responsive clamp so long headlines never bleed past
   the section container at narrow widths. */
section h2 {
  font-size: clamp(1.5rem, 2.4vw + 0.6rem, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
  hyphens: auto;
}
section h3 {
  font-size: clamp(1.05rem, 1vw + 0.7rem, 1.4rem);
  line-height: 1.25;
  overflow-wrap: anywhere;
}
section .lead {
  font-size: clamp(0.95rem, 0.6vw + 0.75rem, 1.125rem);
  overflow-wrap: anywhere;
}
section p {
  overflow-wrap: anywhere;
}

/* Floating section label that follows the cursor over the WebGL hex logo.
   No background - clean floating text, brand-blue, with subtle white halo for
   readability on the white hero. */
.hero-logo-label {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99;
  opacity: 0;
  transform: translate(-50%, -120%);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-align: center;
  white-space: nowrap;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
}
.hero-logo-label.is-visible {
  opacity: 1;
  transform: translate(-50%, -160%);
}
.hero-logo-label .hl-num {
  font-size: 10px;
  letter-spacing: 0.4em;
  color: #2D4A9A;
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase;
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.95),
    0 0 4px rgba(255, 255, 255, 0.95);
}
.hero-logo-label .hl-name {
  font-size: 28px;
  letter-spacing: -0.005em;
  font-weight: 800;
  color: #2D4A9A;
  line-height: 1;
  text-transform: uppercase;
  text-shadow:
    0 0 16px rgba(255, 255, 255, 0.98),
    0 0 6px rgba(255, 255, 255, 0.98),
    0 1px 0 rgba(255, 255, 255, 0.98);
}
