/* Lumen motion + LED visual chrome (pairs with lumen-visuals.js) */

.lm-hero__fx {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.9;
}
.lm-hero__canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.lm-hero--lux .lm-hero__media-img { z-index: 0; }
.lm-hero--lux .lm-hero__veil,
.lm-hero--lux .lm-hero__beam,
.lm-hero--lux .lm-hero__grain { z-index: 2; }
.lm-hero--lux .lm-hero__content,
.lm-hero--lux .lm-hero__scroll { z-index: 3; }
.lm-hero--lux .lm-hero__fx { z-index: 1; opacity: 0.55; }

/* Sticky header chrome + page progress */
.lm-header {
  transition: box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.lm-header.is-scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 10px 30px rgba(12, 18, 32, 0.08);
  border-bottom-color: rgba(var(--theme-accent-rgb), 0.18);
}
.lm-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 80;
  background: linear-gradient(90deg, var(--theme-accent), var(--theme-accent-2, #ed1d26));
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}

.lm-uretim__flow-item.is-active {
  background: var(--theme-blue-light, #e8f0fe);
  color: var(--lm-cyan);
}
.lm-uretim__flow-item.is-active span { color: var(--lm-brand, var(--theme-accent-2)); }

.lm-hero__stage {
  outline: none;
  transition: box-shadow .35s ease, border-color .35s ease, opacity .45s ease;
  opacity: 0.92;
}
.lm-hero__stage.is-ready { opacity: 1; }
.lm-hero__stage:focus-visible {
  box-shadow: 0 0 0 2px rgba(var(--theme-accent-rgb), 0.45), 0 30px 80px rgba(0,0,0,0.45);
}
.lm-hero__stage-ui strong {
  transition: opacity .25s ease;
}

.lm-contact__field.is-focused .lm-input {
  border-color: var(--lm-cyan);
  box-shadow: 0 0 0 3px rgba(var(--theme-accent-rgb), 0.18);
}


/* Reveal */
.lm-reveal {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(4px);
  transition:
    opacity .7s cubic-bezier(.22, 1, .36, 1),
    transform .7s cubic-bezier(.22, 1, .36, 1),
    filter .7s ease;
}
.lm-reveal.is-in {
  opacity: 1;
  transform: none;
  filter: none;
}
.lm-pillar.lm-reveal { transition-delay: calc(var(--lm-i, 0) * 60ms); }

/* Magnetic accent buttons */
body.theme-lumen .lm-btn--accent {
  --lm-mx: 50%;
  --lm-my: 50%;
  background:
    radial-gradient(120px 80px at var(--lm-mx) var(--lm-my), rgba(255,255,255,0.35), transparent 55%),
    var(--lm-cyan) !important;
}

/* Pillars live circuit */
.lm-pillars__track--live .lm-pillar {
  position: relative;
}
.lm-pillars__track--live .lm-pillar::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(var(--theme-accent-rgb), 0.55), transparent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .9s cubic-bezier(.22, 1, .36, 1);
}
.lm-pillars__track--live.is-live .lm-pillar::after { transform: scaleY(1); }
.lm-pillars__track--live .lm-pillar:last-child::after { display: none; }
.lm-pillars__track--live.is-live .lm-pillar span {
  text-shadow: 0 0 18px rgba(var(--theme-accent-rgb), 0.45);
}

/* Spectrum lab styles live in css/spectrum-lab.css */

@media (prefers-reduced-motion: reduce) {
  .lm-reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .lm-hero__fx { display: none; }
}
