/* =========================================================
   HERO — WebGL form + kinetic manifesto headline
   ========================================================= */
.hero {
  min-height: 100svh;
  padding: clamp(96px, 12vh, 140px) var(--pad) clamp(36px, 6vh, 56px);
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(20px, 3vh, 36px);
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.3s ease;
}

.hero-canvas.ready {
  opacity: 0.7;
}

/* readability scrim — sits between the WebGL ball (z1) and the text (z3) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(100deg, var(--bg) 0%, color-mix(in oklch, var(--bg) 55%, transparent) 26%, transparent 56%),
    linear-gradient(0deg, var(--bg) 0%, color-mix(in oklch, var(--bg) 45%, transparent) 22%, transparent 50%);
}

.hero .orb {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-2), transparent 60%);
  filter: blur(90px);
  opacity: 0.14;
  bottom: -22%;
  left: -16%;
  z-index: 0;
  animation: drift 26s ease-in-out infinite alternate;
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(-40px, 30px, 0) scale(1.08);
  }

  100% {
    transform: translate3d(20px, -30px, 0) scale(0.96);
  }
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: end;
  position: relative;
  z-index: 3;
  color: var(--ink-2);
  font-size: 11px;
}

.hero-meta .row {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}

.hero-meta .row span::before {
  content: "→ ";
  color: var(--accent);
}

.hero-title {
  position: relative;
  z-index: 3;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  letter-spacing: -0.03em;
  font-size: clamp(64px, 13vw, 232px);
  line-height: 0.82;
  text-align: left;
}

.hero-title .line {
  display: block;
  overflow: visible;
}

.hero-title .line .word {
  display: inline-block;
  transform: translateY(110%);
}

.hero-title .line .word.amp {
  color: var(--accent);
  font-style: italic;
}

.hero-title .italic {
  font-style: italic;
}

.hero-title .sub-line {
  display: flex;
  align-items: flex-end;
  gap: 0.32em;
  margin-top: -0.08em;
  line-height: 0.78;
  margin-bottom: -0.06em;
}

.hero-title .star {
  display: inline-block;
  color: var(--accent);
  font-size: 0.5em;
  transform: translateY(-0.28em);
  animation: spin 14s linear infinite;
}

@keyframes spin {
  to {
    transform: translateY(-0.18em) rotate(360deg);
  }
}

.hero-bottom {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: end;
}

.hero-bottom .lede-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}

.hero-bottom .lede {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.4;
  max-width: 32ch;
  color: var(--ink);
}

.hero-bottom .lede em {
  color: var(--accent);
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 1.12em;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  background: color-mix(in oklch, var(--ink) 6%, transparent);
  border: 1px solid var(--line);
  border-radius: 999px;

  padding: 10px 20px;
  min-height: 44px;

  font-size: 12px;
  line-height: 1.2;

  color: var(--ink);
  overflow: hidden;
}

.status-chip .rotator,
.status-chip .item {
  line-height: 1.8;
}


.status-chip .live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--good);
  position: relative;
}

.status-chip .live::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--good);
  opacity: .5;
  animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
  0% {
    transform: scale(.6);
    opacity: .6;
  }

  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.status-chip .lbl {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.status-chip .rotator {
  position: relative;
  display: inline-block;
  height: 1.8em;
  overflow: hidden;
  vertical-align: bottom;
  min-width: 15ch;
}

.status-chip .rotator .item {
  display: block;
  color: var(--accent);
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 16px;
  line-height: 1.25;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 17px 26px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  font-size: 15px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: transform .3s, background .3s, color .3s;
}

.hero-cta:hover {
  background: var(--accent);
  color: var(--accent-ink);
}

.hero-cta .arrow {
  display: inline-block;
  transition: transform .4s var(--ease);
}

.hero-cta:hover .arrow {
  transform: translateX(5px) rotate(-45deg);
}

.hero-bottom .facts {
  display: grid;
  gap: 14px;
  color: var(--ink-2);
}

.hero-bottom .facts .row {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 8px;
  font-size: 14px;
}

.hero-bottom .facts .row b {
  color: var(--ink);
  font-weight: 500;
}

.scroll-hint {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-3);
  z-index: 3;
}

.scroll-hint .line {
  width: 36px;
  height: 1px;
  background: var(--ink-3);
  position: relative;
  overflow: hidden;
}

.scroll-hint .line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-100%);
  animation: scrollPulse 2.4s ease-in-out infinite;
}

@keyframes scrollPulse {
  0% {
    transform: translateX(-100%);
  }

  60%,
  100% {
    transform: translateX(100%);
  }
}

@media (max-width: 900px) {
  .hero-bottom {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-meta .row:last-child {
    display: none;
  }
}

.hero-title .small {
  font-size: 0.62em;
  display: inline-block;
  transform: translateY(-0.04em);
}