/* Texture + ambient details ------------------------------------ */

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

.spotlight {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  width: 520px;
  height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle, rgba(166, 165, 138, 0.09), rgba(52, 75, 60, 0.04) 42%, transparent 68%);
  transition: opacity 0.8s ease;
  will-change: transform;
}

.has-pointer .spotlight {
  opacity: 1;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 260;
  width: 100%;
  height: 2px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--olive);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--olive);
  box-shadow: 0 0 0 0 rgba(166, 165, 138, 0.45);
  animation: pulse 2.8s ease-out infinite;
}

.micro-label {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
}
