/* ===========================================================
   PulseLab Production — Synthwave / pixel-art portfolio
   =========================================================== */

:root {
  --cyan:    #00F3FF;
  --magenta: #FF00D4;
  --yellow:  #FFE600;
  --orange:  #FF6C00;
  --blue:    #004BFF;
  --white:   #FFFFFF;
  --black:   #000000;
  --ink:     #0A0A0F;
  --ink-2:   #12121A;

  --f-pixel: 'Press Start 2P', system-ui, monospace;
  --f-mono:  'VT323', ui-monospace, monospace;
  --f-body:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { overflow-x: hidden; }
html { scroll-behavior: smooth; background: var(--black); }
body {
  font-family: var(--f-body);
  color: var(--white);
  background: var(--black);
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}
@media (max-width: 900px) { body { cursor: auto; } }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ============ Global overlays ============ */
.crt {
  position: fixed; inset: 0; pointer-events: none; z-index: 100;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.03) 0 1px,
    transparent 1px 3px
  );
  mix-blend-mode: overlay;
  opacity: 0.6;
}
.vignette {
  position: fixed; inset: 0; pointer-events: none; z-index: 99;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,0.65) 100%);
}

/* Custom cursor */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 200;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px; background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan), 0 0 16px var(--cyan);
}
.cursor-ring {
  width: 26px; height: 26px; border: 2px solid var(--magenta);
  box-shadow: 0 0 12px rgba(255,0,212,.6);
  transition: transform .12s ease, width .18s ease, height .18s ease, border-color .18s ease;
  transform: translate(-50%, -50%);
}
.cursor-ring.hover { width: 44px; height: 44px; border-color: var(--yellow); box-shadow: 0 0 18px rgba(255,230,0,.7); }
@media (max-width: 900px) { .cursor-dot, .cursor-ring { display: none; } }

/* ============ Nav ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px;
  background: linear-gradient(180deg, rgba(0,0,0,.75), rgba(0,0,0,0));
  backdrop-filter: blur(6px);
  transition: background .3s, padding .3s;
}
.nav.scrolled {
  background: rgba(0,0,0,.85);
  border-bottom: 1px solid rgba(0,243,255,.15);
  padding: 12px 28px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand img { width: 42px; height: 42px; object-fit: contain; image-rendering: pixelated; }
.nav__brand span {
  font-family: var(--f-pixel); font-size: 10px; letter-spacing: 2px;
  color: var(--white);
}
.nav__links { display: flex; gap: 26px; }
.nav__links a {
  font-family: var(--f-pixel); font-size: 9px; letter-spacing: 2px;
  color: rgba(255,255,255,.7);
  padding: 8px 0; position: relative;
  transition: color .2s;
}
.nav__links a:hover { color: var(--cyan); }
.nav__links a:hover::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
}
.nav__cta {
  font-family: var(--f-pixel); font-size: 9px; letter-spacing: 2px;
  padding: 10px 16px;
  background: var(--magenta);
  color: var(--white);
  border: 2px solid var(--white);
  box-shadow: 4px 4px 0 var(--yellow);
  transition: transform .1s, box-shadow .1s;
}
.nav__cta:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--yellow); }
@media (max-width: 700px) { .nav__links { display: none; } }

/* ============ Utility ============ */
.eyebrow {
  font-family: var(--f-pixel); font-size: 10px; letter-spacing: 3px;
  color: var(--cyan);
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 24px;
}
.eyebrow.center { justify-content: center; display: flex; }
.tick { display: inline-block; width: 10px; height: 10px; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }

.section-title {
  font-family: var(--f-pixel);
  font-size: clamp(28px, 5.5vw, 72px);
  line-height: 1.15;
  letter-spacing: 1px;
  margin: 0 0 32px;
  color: var(--white);
  text-shadow: 4px 4px 0 var(--magenta), 8px 8px 0 rgba(255,0,212,.25);
}
.section-title em {
  font-style: normal;
  color: var(--yellow);
  text-shadow: 4px 4px 0 var(--orange), 8px 8px 0 rgba(255,108,0,.25);
}
.section-title.center { text-align: center; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0,75,255,.35) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(255,0,212,.35) 0%, transparent 60%),
    var(--black);
  display: flex; align-items: center; justify-content: center;
  padding: 120px 24px 80px;
}

.hero__grid {
  position: absolute; left: 50%; bottom: -20%;
  transform: translateX(-50%) perspective(600px) rotateX(60deg);
  width: 220%; height: 60%;
  background-image:
    linear-gradient(to right, rgba(0,243,255,.4) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,0,212,.4) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to top, black 0%, transparent 90%);
  -webkit-mask-image: linear-gradient(to top, black 0%, transparent 90%);
  animation: gridScroll 3s linear infinite;
  will-change: transform;
}
@keyframes gridScroll {
  from { background-position: 0 0; }
  to   { background-position: 0 60px; }
}

.hero__sun {
  position: absolute; left: 50%; top: 45%;
  transform: translate(-50%, -50%);
  width: 460px; height: 460px; border-radius: 50%;
  background: linear-gradient(180deg, var(--yellow) 0%, var(--orange) 40%, var(--magenta) 75%, transparent 100%);
  filter: blur(2px);
  opacity: .55;
  z-index: 0;
  will-change: transform;
}
.hero__sun::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0 22px,
      var(--black) 22px 28px
    );
  mask: linear-gradient(to bottom, transparent 55%, black 55%);
  -webkit-mask: linear-gradient(to bottom, transparent 55%, black 55%);
}

.pixel-field { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.pixel-field span {
  position: absolute; width: 4px; height: 4px; background: var(--white);
  box-shadow: 0 0 8px currentColor;
  animation: twinkle 3s ease-in-out infinite;
}
.pixel-field span:nth-child(1)  { top: 12%; left: 8%;  color: var(--cyan); animation-delay: 0s; }
.pixel-field span:nth-child(2)  { top: 24%; left: 92%; color: var(--magenta); animation-delay: .3s; }
.pixel-field span:nth-child(3)  { top: 8%;  left: 55%; color: var(--yellow); animation-delay: .6s; }
.pixel-field span:nth-child(4)  { top: 32%; left: 20%; color: var(--white); animation-delay: .9s; }
.pixel-field span:nth-child(5)  { top: 18%; left: 78%; color: var(--cyan); animation-delay: 1.2s; }
.pixel-field span:nth-child(6)  { top: 40%; left: 4%;  color: var(--orange); animation-delay: 1.5s; }
.pixel-field span:nth-child(7)  { top: 5%;  left: 35%; color: var(--magenta); animation-delay: 1.8s; }
.pixel-field span:nth-child(8)  { top: 15%; left: 68%; color: var(--white); animation-delay: 2.1s; }
.pixel-field span:nth-child(9)  { top: 28%; left: 45%; color: var(--yellow); animation-delay: 2.4s; }
.pixel-field span:nth-child(10) { top: 45%; left: 88%; color: var(--cyan); animation-delay: 2.7s; }
.pixel-field span:nth-child(11) { top: 22%; left: 12%; color: var(--magenta); animation-delay: .1s; }
.pixel-field span:nth-child(12) { top: 38%; left: 62%; color: var(--white); animation-delay: .5s; }
.pixel-field span:nth-child(13) { top: 10%; left: 82%; color: var(--orange); animation-delay: 1s; }
.pixel-field span:nth-child(14) { top: 48%; left: 30%; color: var(--yellow); animation-delay: 1.4s; }
.pixel-field span:nth-child(15) { top: 6%;  left: 50%; color: var(--cyan); animation-delay: 2s; }

@keyframes twinkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .2; transform: scale(.5); }
}

.hero__inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  max-width: 1100px;
}
.hero__logo {
  width: min(520px, 70vw);
  image-rendering: pixelated;
  filter:
    drop-shadow(0 0 20px rgba(0,243,255,.4))
    drop-shadow(0 0 40px rgba(255,0,212,.35));
  animation: heroLogoFloat 4s ease-in-out infinite;
}
@keyframes heroLogoFloat {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}

.hero__headline {
  font-family: var(--f-pixel);
  font-size: clamp(28px, 6vw, 84px);
  line-height: 1.15;
  margin: 24px 0 20px;
  letter-spacing: 2px;
}
.hero__headline .line {
  display: block;
  text-shadow:
    4px 4px 0 var(--blue),
    -2px -2px 0 rgba(0,243,255,.5);
}
.hero__headline .pulse-word {
  color: var(--magenta);
  text-shadow:
    0 0 20px var(--magenta),
    0 0 40px rgba(255,0,212,.7),
    4px 4px 0 var(--cyan);
  animation: pulseWord 1.4s ease-in-out infinite;
  display: inline-block;
}
@keyframes pulseWord {
  0%,100% { transform: scale(1); filter: brightness(1); }
  50%     { transform: scale(1.06); filter: brightness(1.35); }
}

.hero__sub {
  font-family: var(--f-mono);
  font-size: clamp(14px, 1.6vw, 22px);
  letter-spacing: 2px;
  color: rgba(255,255,255,.8);
  margin: 6px 0 40px;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.hero__sub .dot { color: var(--yellow); }

/* Equalizer */
.equalizer {
  display: flex; align-items: flex-end; gap: 6px;
  height: 90px;
  margin-top: 8px;
}
.equalizer span {
  display: block;
  width: 10px;
  background: var(--cyan);
  box-shadow: 0 0 8px currentColor;
  animation: eqBar 1s ease-in-out infinite;
  transform-origin: bottom;
}
.equalizer span:nth-child(4n+1) { background: var(--cyan); color: var(--cyan); }
.equalizer span:nth-child(4n+2) { background: var(--magenta); color: var(--magenta); }
.equalizer span:nth-child(4n+3) { background: var(--yellow); color: var(--yellow); }
.equalizer span:nth-child(4n)   { background: var(--orange); color: var(--orange); }
.equalizer span:nth-child(1)  { animation-delay: .0s; }
.equalizer span:nth-child(2)  { animation-delay: .1s; }
.equalizer span:nth-child(3)  { animation-delay: .2s; }
.equalizer span:nth-child(4)  { animation-delay: .3s; }
.equalizer span:nth-child(5)  { animation-delay: .4s; }
.equalizer span:nth-child(6)  { animation-delay: .5s; }
.equalizer span:nth-child(7)  { animation-delay: .6s; }
.equalizer span:nth-child(8)  { animation-delay: .7s; }
.equalizer span:nth-child(9)  { animation-delay: .8s; }
.equalizer span:nth-child(10) { animation-delay: .9s; }
.equalizer span:nth-child(11) { animation-delay: .05s; }
.equalizer span:nth-child(12) { animation-delay: .15s; }
.equalizer span:nth-child(13) { animation-delay: .25s; }
.equalizer span:nth-child(14) { animation-delay: .35s; }
.equalizer span:nth-child(15) { animation-delay: .45s; }
.equalizer span:nth-child(16) { animation-delay: .55s; }
.equalizer span:nth-child(17) { animation-delay: .65s; }
.equalizer span:nth-child(18) { animation-delay: .75s; }
.equalizer span:nth-child(19) { animation-delay: .85s; }
.equalizer span:nth-child(20) { animation-delay: .95s; }
.equalizer span:nth-child(21) { animation-delay: .12s; }
.equalizer span:nth-child(22) { animation-delay: .22s; }
.equalizer span:nth-child(23) { animation-delay: .32s; }
.equalizer span:nth-child(24) { animation-delay: .42s; }
.equalizer span:nth-child(25) { animation-delay: .52s; }
.equalizer span:nth-child(26) { animation-delay: .62s; }
.equalizer span:nth-child(27) { animation-delay: .72s; }
.equalizer span:nth-child(28) { animation-delay: .82s; }
.equalizer span:nth-child(29) { animation-delay: .92s; }
.equalizer span:nth-child(30) { animation-delay: .18s; }

@keyframes eqBar {
  0%, 100% { height: 10px; }
  50%      { height: 80px; }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 3;
}
.scroll-indicator__label {
  font-family: var(--f-pixel); font-size: 9px; letter-spacing: 3px;
  color: rgba(255,255,255,.7);
}
.scroll-indicator__arrow {
  width: 12px; height: 12px;
  border-right: 3px solid var(--cyan); border-bottom: 3px solid var(--cyan);
  transform: rotate(45deg);
  box-shadow: 3px 3px 0 rgba(0,243,255,.3);
  animation: bounceDown 1.6s ease-in-out infinite;
}
@keyframes bounceDown {
  0%,100% { transform: rotate(45deg) translate(0,0); opacity: .8; }
  50%     { transform: rotate(45deg) translate(4px,4px); opacity: 1; }
}

/* ============ MISSION ============ */
.mission {
  position: relative;
  min-height: 100vh;
  padding: 140px 24px;
  display: flex; align-items: center; justify-content: center;
  background:
    linear-gradient(180deg, var(--black), var(--ink) 40%, var(--black));
  overflow: hidden;
}
.pixel-drift { position: absolute; inset: 0; pointer-events: none; }
.pixel-drift i {
  position: absolute;
  left: var(--x); top: var(--y);
  width: var(--s); height: var(--s);
  background: var(--c);
  box-shadow: 0 0 12px var(--c);
  animation: drift var(--d) linear infinite;
  will-change: transform;
}
@keyframes drift {
  0%   { transform: translate(0,0) rotate(0deg); }
  50%  { transform: translate(30px,-40px) rotate(180deg); }
  100% { transform: translate(0,0) rotate(360deg); }
}

.mission__inner { max-width: 1200px; width: 100%; position: relative; z-index: 2; }
.mission__eyebrow {
  font-family: var(--f-pixel); font-size: 10px; letter-spacing: 3px;
  color: var(--cyan); margin: 0 0 32px;
  display: inline-flex; align-items: center; gap: 10px;
}
.mission__text {
  font-family: var(--f-pixel);
  font-size: clamp(24px, 4.4vw, 62px);
  line-height: 1.4;
  letter-spacing: 1px;
  color: var(--white);
  margin: 0;
  text-wrap: pretty;
}
.mission__text em {
  font-style: normal;
  color: var(--yellow);
  text-shadow: 3px 3px 0 var(--orange);
}
.mission__text .hit {
  color: var(--magenta);
  text-shadow: 3px 3px 0 var(--cyan), 0 0 24px rgba(255,0,212,.6);
  display: inline-block;
}

/* Word reveal */
.reveal-words .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal-words.in .word { opacity: 1; transform: none; }

.mission__meta {
  margin-top: 60px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  border-top: 2px solid rgba(0,243,255,.2);
  padding-top: 32px;
}
.mission__meta > div { display: flex; flex-direction: column; gap: 8px; }
.mission__meta span {
  font-family: var(--f-pixel); font-size: 8px; letter-spacing: 2px; color: rgba(255,255,255,.5);
}
.mission__meta strong {
  font-family: var(--f-pixel); font-size: clamp(12px, 1.6vw, 18px); color: var(--cyan);
  text-shadow: 2px 2px 0 rgba(0,75,255,.6);
  letter-spacing: 2px;
}
@media (max-width: 640px) {
  .mission__meta { grid-template-columns: 1fr 1fr; }
}

/* ============ SERVICES ============ */
.services {
  position: relative;
  padding: 140px 24px;
  background: var(--black);
  overflow: hidden;
}
.services::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 30%, rgba(0,75,255,.15), transparent 50%),
              radial-gradient(ellipse at 80% 80%, rgba(255,0,212,.15), transparent 50%);
  pointer-events: none;
}
.services__header { max-width: 1400px; margin: 0 auto 80px; position: relative; z-index: 2; }
.services__track {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
  position: relative; z-index: 2;
}
@media (max-width: 800px) { .services__track { grid-template-columns: 1fr; } }

.svc {
  --accent: var(--cyan);
  position: relative;
  padding: 40px 32px 36px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border: 2px solid rgba(255,255,255,.08);
  overflow: hidden;
  transition: transform .5s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s;
  opacity: 0;
  transform: translateY(60px) scale(.96);
}
.svc.in {
  opacity: 1;
  transform: scale(var(--svc-scale, 1));
}
.svc:hover {
  border-color: var(--accent);
  box-shadow:
    0 0 0 2px var(--accent),
    0 0 40px rgba(255,255,255,.05),
    0 20px 60px -20px var(--accent);
  transform: translateY(-6px);
}
.svc::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, var(--accent) 0%, transparent 70%);
  opacity: 0; transition: opacity .4s;
  pointer-events: none;
  mix-blend-mode: screen;
}
.svc:hover::before { opacity: .18; }
.svc::after {
  /* Corner pixel bracket */
  content: ""; position: absolute; top: 12px; right: 12px;
  width: 18px; height: 18px;
  border-top: 3px solid var(--accent); border-right: 3px solid var(--accent);
}

.svc__num {
  font-family: var(--f-pixel);
  font-size: 12px; letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 24px;
}
.svc__icon {
  color: var(--accent);
  filter: drop-shadow(0 0 16px var(--accent));
  margin-bottom: 24px;
  image-rendering: pixelated;
}
.svc__title {
  font-family: var(--f-pixel);
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.4;
  letter-spacing: 1px;
  margin: 0 0 20px;
  color: var(--white);
}
.svc__body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,.7);
  margin: 0 0 24px;
  max-width: 44ch;
}
.svc__tags {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.svc__tags li {
  font-family: var(--f-pixel); font-size: 8px; letter-spacing: 1px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.6);
}

/* ============ GALLERY ============ */
.gallery {
  padding: 140px 24px;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.gallery__header { max-width: 1400px; margin: 0 auto 60px; }
.gallery__sub {
  font-family: var(--f-mono); font-size: 20px; color: rgba(255,255,255,.6);
  margin: 0;
}

/* Upload hint */
.upload-hint {
  max-width: 1400px;
  margin: 0 auto 32px;
  padding: 14px 18px;
  border: 2px dashed rgba(0,243,255,.35);
  background: rgba(0,243,255,.05);
  font-family: var(--f-mono); font-size: 18px;
  color: rgba(255,255,255,.75);
  display: flex; align-items: center; gap: 14px;
}
.upload-hint__badge {
  font-family: var(--f-pixel); font-size: 10px; letter-spacing: 2px;
  color: var(--black); background: var(--cyan);
  padding: 6px 8px;
  flex-shrink: 0;
}

/* Featured horizontal reel */
.reel {
  max-width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 24px 40px;
  margin: 0 -24px 60px;
  scrollbar-width: thin;
  scrollbar-color: var(--cyan) transparent;
}
.reel::-webkit-scrollbar { height: 6px; }
.reel::-webkit-scrollbar-thumb { background: var(--cyan); }
.reel__track {
  display: flex; gap: 24px; padding: 0 8px;
}
.reel__card {
  flex: 0 0 min(520px, 80vw);
  scroll-snap-align: start;
  margin: 0;
  transition: transform .3s;
}
.reel__card:hover { transform: translateY(-6px); }
/* image-slot styling for reel cards */
image-slot.reel__img {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  border: 2px solid var(--accent, var(--cyan));
  box-shadow: 0 0 30px -8px var(--accent, var(--cyan));
  --slot-bg: linear-gradient(135deg, color-mix(in oklab, var(--accent, #00F3FF) 40%, black), black);
  background: var(--slot-bg);
}
.reel__card figcaption {
  margin-top: 14px;
  font-family: var(--f-pixel); font-size: 10px; letter-spacing: 2px;
  color: var(--white);
  display: flex; gap: 12px; align-items: center;
}
.reel__card figcaption span { color: var(--accent); }

/* Masonry grid */
.grid {
  max-width: 1400px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 16px;
}
.grid__cell {
  --accent: var(--cyan);
  position: relative;
  background:
    linear-gradient(135deg, color-mix(in oklab, var(--accent) 25%, black), black 80%);
  border: 2px solid rgba(255,255,255,.08);
  overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s;
  opacity: 0;
  transform: translateY(30px) scale(.97);
  cursor: none;
}
.grid__slot {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: none;
  z-index: 0;
}
.grid__cell.in { opacity: 1; transform: none; }
.grid__cell.tall { grid-row: span 2; }
.grid__cell.wide { grid-column: span 2; }
.grid__cell::after {
  content: ""; position: absolute; top: 10px; right: 10px;
  width: 14px; height: 14px;
  border-top: 2px solid var(--accent); border-right: 2px solid var(--accent);
  z-index: 3;
}
.grid__cell:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent), 0 20px 50px -10px var(--accent);
  z-index: 5;
}
.grid__tag {
  position: absolute; top: 16px; left: 16px;
  font-family: var(--f-pixel); font-size: 8px; letter-spacing: 2px;
  color: var(--accent);
  padding: 6px 8px;
  background: rgba(0,0,0,.7);
  border: 1px solid var(--accent);
  z-index: 3;
  pointer-events: none;
}
.grid__title {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  font-family: var(--f-pixel); font-size: clamp(12px, 1.2vw, 15px);
  letter-spacing: 1px; color: var(--white);
  text-shadow: 2px 2px 0 rgba(0,0,0,.9), 0 0 12px rgba(0,0,0,.9);
  z-index: 3;
  pointer-events: none;
}
/* Overlay gradient over dropped images so labels stay legible */
.grid__cell::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 12px, rgba(255,255,255,.04) 12px 13px),
    repeating-linear-gradient(90deg, transparent 0 12px, rgba(255,255,255,.04) 12px 13px);
  pointer-events: none;
  z-index: 2;
}
/* When cell contains a filled slot, hide the scanline crosshatch and add a bottom-vignette instead */
.grid__cell:has(image-slot[data-filled])::before {
  background-image: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.75) 100%);
}
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .grid__cell.wide { grid-column: span 2; }
}

/* ============ NUMBERS ============ */
.numbers {
  padding: 140px 24px;
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.numbers::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent, rgba(0,75,255,.15) 50%, transparent);
  pointer-events: none;
}
.numbers__grid {
  max-width: 1400px; margin: 60px auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  position: relative; z-index: 2;
}
@media (max-width: 900px) { .numbers__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .numbers { padding: 80px 16px; }
  .numbers__grid { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
  .stat { padding: 32px 20px; }
  .stat__value { margin-bottom: 14px; }
}

.stat {
  --accent: var(--cyan);
  padding: 40px 24px;
  border: 2px solid rgba(255,255,255,.1);
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent);
  text-align: center;
  position: relative;
  transition: border-color .3s, box-shadow .3s, transform .3s;
  opacity: 0; transform: translateY(30px);
}
.stat.in { opacity: 1; transform: none; }
.stat:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent), 0 0 40px -10px var(--accent);
  transform: translateY(-4px);
}
.stat::before {
  content: ""; position: absolute; top: 10px; left: 10px;
  width: 12px; height: 12px;
  border-top: 2px solid var(--accent); border-left: 2px solid var(--accent);
}
.stat::after {
  content: ""; position: absolute; bottom: 10px; right: 10px;
  width: 12px; height: 12px;
  border-bottom: 2px solid var(--accent); border-right: 2px solid var(--accent);
}
.stat__value {
  font-family: var(--f-pixel);
  font-size: clamp(36px, 5.5vw, 76px);
  line-height: 1;
  color: var(--accent);
  text-shadow: 4px 4px 0 rgba(0,0,0,.6), 0 0 20px var(--accent);
  margin-bottom: 20px;
}
.stat__value--word {
  font-size: clamp(28px, 3.8vw, 52px);
  letter-spacing: 1px;
}
.stat__label {
  font-family: var(--f-pixel);
  font-size: clamp(9px, 1vw, 11px);
  letter-spacing: 2px;
  color: rgba(255,255,255,.8);
  line-height: 1.5;
}

/* ============ CASE FILES / EVENT SHOWCASE ============ */
.casefiles {
  padding: 140px 24px;
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.casefiles::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent, rgba(255,0,212,.08) 50%, transparent);
  pointer-events: none;
}
.proof__showcase {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 8px;
  position: relative;
  z-index: 2;
}
.proof__showcase > .eyebrow {
  margin-bottom: 8px;
}
.proof__showcase .section-title {
  margin-bottom: 48px;
}
.proof__showcase-title {
  font-family: var(--f-display);
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-align: center;
  color: #fff;
  text-shadow: 3px 3px 0 var(--magenta), 6px 6px 0 rgba(255,0,212,.25);
  margin: 8px 0 48px;
}
.proof__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  gap: 16px;
}
@media (max-width: 1100px) {
  .proof__grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; }
}
@media (max-width: 780px) {
  .proof__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
}
@media (max-width: 480px) {
  .proof__grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
}

.proof-card {
  --accent: var(--cyan);
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.1);
  background: #0a0a0a;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s;
  cursor: pointer;
}
.proof-card--tall { grid-row: span 2; }
.proof-card--wide { grid-column: span 2; }
@media (max-width: 780px) {
  .proof-card--tall { grid-row: span 1; }
  .proof-card--wide { grid-column: span 2; }
}
@media (max-width: 480px) {
  .proof-card--wide { grid-column: span 1; }
}
.proof-card image-slot {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}
.proof-card .proof-card__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.2,.8,.2,1), filter .3s;
  filter: saturate(1.05) contrast(1.02);
}
.proof-card::after {
  /* corner pixel bracket */
  content: "";
  position: absolute; top: 10px; right: 10px;
  width: 16px; height: 16px;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  z-index: 3;
  pointer-events: none;
}
.proof-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 14px 16px 14px;
  background: linear-gradient(0deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.65) 55%, transparent 100%);
  color: #fff;
  pointer-events: none;
}
.proof-card__tag {
  display: inline-block;
  font-family: var(--f-pixel);
  font-size: 9px;
  letter-spacing: 2px;
  color: #000;
  background: var(--accent);
  padding: 4px 8px;
  margin-bottom: 8px;
  box-shadow: 2px 2px 0 rgba(0,0,0,.6);
}
.proof-card figcaption h4 {
  font-family: var(--f-display);
  font-size: clamp(15px, 1.2vw, 20px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
  line-height: 1.1;
  color: #fff;
}
.proof-card figcaption p {
  font-family: var(--f-body, ui-sans-serif, system-ui, sans-serif);
  font-size: 11px;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,.75);
  margin: 0;
  text-transform: uppercase;
}
.proof-card figcaption strong {
  color: var(--accent);
  font-weight: 700;
}
.proof-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent), 0 20px 60px -20px var(--accent);
}
.proof-card:hover image-slot,
.proof-card:hover .proof-card__img {
  transform: scale(1.04);
  filter: saturate(1.15) contrast(1.05) brightness(1.05);
}
.proof-card image-slot {
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}

.proof__clients-eyebrow {
  font-family: var(--f-pixel);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--cyan);
  text-align: center;
  margin: 80px 0 24px;
}
.proof__clients {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1100px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
}
.proof__clients li {
  font-family: var(--f-pixel);
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(255,255,255,.7);
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.02);
  transition: color .2s, border-color .2s, background .2s;
}
.proof__clients li:hover {
  color: #000;
  background: var(--yellow);
  border-color: var(--yellow);
}

/* ============ CONTACT ============ */
.contact-wrap {
  padding: 140px 24px;
  background: linear-gradient(180deg, var(--black), var(--ink));
  position: relative;
  overflow: hidden;
}
.contact-wrap::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 10% 50%, rgba(0,243,255,.1), transparent 50%),
    radial-gradient(ellipse at 90% 50%, rgba(255,0,212,.1), transparent 50%);
  pointer-events: none;
}
.contact {
  position: relative; z-index: 2;
  max-width: 1400px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-wrap { padding: 100px 24px; }
  .contact { grid-template-columns: 1fr; gap: 60px; }
}
@media (max-width: 640px) {
  .contact-wrap { padding: 80px 16px; overflow: hidden; }
  .contact { gap: 44px; max-width: 100%; }
  .contact__lede { font-size: 20px; margin: 0 0 28px; }
  .contact__info a, .contact__info li > span:not(.k) { font-size: 16px; word-break: break-word; }
  .contact__info a.wa-link { font-size: 14px; padding: 8px 12px; }
  .field input, .field select, .field textarea { font-size: 16px; padding: 12px 14px; }
  .form { max-width: 100%; }
}
.contact__lede {
  font-family: var(--f-mono); font-size: 22px;
  color: rgba(255,255,255,.7); margin: 0 0 40px;
}
.contact__info { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 20px; }
.contact__info li { display: flex; flex-direction: column; gap: 6px; }
.contact__info .k {
  font-family: var(--f-pixel); font-size: 9px; letter-spacing: 2px; color: var(--cyan);
}
.contact__info a, .contact__info li > span:not(.k) {
  font-family: var(--f-body); font-size: 18px; color: var(--white);
  transition: color .2s;
}
.contact__info a:hover { color: var(--magenta); }

/* WhatsApp direct link */
.contact__info a.wa-link {
  display: inline-flex; align-items: center; gap: 10px;
  align-self: flex-start;
  padding: 8px 14px 8px 12px;
  border: 1.5px solid #25D366;
  border-radius: 999px;
  color: #25D366;
  background: rgba(37, 211, 102, 0.06);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: background .2s, color .2s, transform .15s, box-shadow .2s;
}
.contact__info a.wa-link .wa-ico { width: 16px; height: 16px; flex: 0 0 16px; }
.contact__info a.wa-link:hover {
  background: #25D366;
  color: #0a0a0a;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px -6px rgba(37, 211, 102, 0.55);
}

/* Form */
.form { display: flex; flex-direction: column; gap: 22px; position: relative; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field > span {
  font-family: var(--f-pixel); font-size: 9px; letter-spacing: 2px; color: var(--cyan);
}
.field input, .field select, .field textarea {
  font-family: var(--f-body);
  font-size: 16px;
  color: var(--white);
  background: rgba(255,255,255,.03);
  border: 2px solid rgba(255,255,255,.1);
  padding: 14px 16px;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
  border-radius: 0;
  cursor: none;
}
.field textarea { resize: vertical; min-height: 100px; font-family: var(--f-body); }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.35); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,243,255,.2), 0 0 24px rgba(0,243,255,.15);
  background: rgba(0,243,255,.04);
}
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--cyan) 50%),
                    linear-gradient(-45deg, transparent 50%, var(--cyan) 50%);
  background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.field select option { background: var(--black); color: var(--white); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 500px) { .field-row { grid-template-columns: 1fr; } }

.btn-send {
  align-self: flex-start;
  font-family: var(--f-pixel); font-size: 14px; letter-spacing: 3px;
  color: var(--white);
  background: var(--magenta);
  border: 3px solid var(--white);
  padding: 18px 28px;
  box-shadow: 6px 6px 0 var(--yellow);
  cursor: none;
  transition: transform .1s, box-shadow .1s, background .1s;
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 12px;
}
.btn-send:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--yellow), 0 0 32px rgba(255,0,212,.6);
  background: color-mix(in oklab, var(--magenta) 92%, white);
}
.btn-send:active {
  transform: translate(3px, 3px);
  box-shadow: 0 0 0 var(--yellow);
}
.btn-send__arr { font-size: 10px; }
.form__ok, .form__err {
  font-family: var(--f-pixel); font-size: 10px; letter-spacing: 2px;
  line-height: 1.6;
  opacity: 0; transform: translateY(-4px);
  transition: opacity .3s, transform .3s;
  margin: 4px 0 0;
  display: none;
}
.form__ok { color: var(--yellow); }
.form__err { color: var(--magenta); }
.form__ok.show, .form__err.show { opacity: 1; transform: none; display: block; }
.btn-send[disabled] {
  cursor: not-allowed;
  opacity: 0.75;
  pointer-events: none;
}

/* ============ FOOTER ============ */
.footer {
  position: relative;
  padding: 60px 24px 40px;
  background: var(--black);
}
.footer__border {
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta), var(--yellow), var(--orange));
  box-shadow: 0 0 20px rgba(255,255,255,.1);
}
.footer__inner {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center;
}
.footer__brand img { width: 90px; image-rendering: pixelated; }
.footer__nav { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.footer__nav a {
  font-family: var(--f-pixel); font-size: 9px; letter-spacing: 2px;
  color: rgba(255,255,255,.6);
  transition: color .2s;
}
.footer__nav a:hover { color: var(--cyan); }
.socials { display: flex; gap: 12px; list-style: none; padding: 0; margin: 0; justify-content: flex-end; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 2px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.75);
  transition: color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.socials a:hover {
  color: var(--cyan); border-color: var(--cyan);
  box-shadow: 0 0 16px rgba(0,243,255,.4); transform: translateY(-2px);
}
.footer__copy {
  grid-column: 1 / -1;
  margin: 30px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-family: var(--f-pixel); font-size: 8px; letter-spacing: 2px;
  color: rgba(255,255,255,.4);
  text-align: center;
}
@media (max-width: 700px) {
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .socials { justify-content: center; }
  .footer__nav { justify-content: center; }
}

/* ============ Scroll progress ============ */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: rgba(255,255,255,.04);
  z-index: 95;
}
.scroll-progress span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--magenta), var(--yellow), var(--orange));
  box-shadow: 0 0 12px rgba(0,243,255,.6);
  transition: width .08s linear;
}

/* ============ Marquee band ============ */
.marquee {
  position: relative;
  background: var(--yellow);
  color: var(--black);
  border-top: 3px solid var(--black);
  border-bottom: 3px solid var(--black);
  padding: 18px 0;
  overflow: hidden;
  transform: rotate(-1.2deg) scale(1.03);
  margin: -20px 0;
  z-index: 5;
  box-shadow:
    0 0 0 3px var(--magenta),
    0 20px 60px -20px rgba(255,0,212,.5);
}
.marquee__track {
  display: flex; gap: 32px; align-items: center;
  white-space: nowrap;
  animation: marqueeScroll 28s linear infinite;
  will-change: transform;
}
.marquee__track span {
  font-family: var(--f-pixel); font-size: 18px; letter-spacing: 3px;
}
.marquee__track b {
  font-family: var(--f-pixel); font-size: 14px; color: var(--magenta);
  text-shadow: 2px 2px 0 var(--black);
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 700px) {
  .marquee__track span { font-size: 12px; letter-spacing: 2px; }
  .marquee { padding: 12px 0; }
}

/* ============ ABOUT ============ */
.about {
  position: relative;
  padding: 160px 24px 140px;
  background: var(--black);
  overflow: hidden;
}
.about::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(255,0,212,.14), transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(0,243,255,.12), transparent 55%);
  pointer-events: none;
}
/* Big background number */
.about::after {
  content: "15";
  position: absolute;
  right: -60px; bottom: -140px;
  font-family: var(--f-pixel);
  font-size: clamp(280px, 42vw, 620px);
  color: transparent;
  -webkit-text-stroke: 3px rgba(0,243,255,.14);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}
.about__inner {
  position: relative; z-index: 2;
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: start;
}
@media (max-width: 900px) {
  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .about { padding: 120px 24px 100px; }
}
.about__left { position: sticky; top: 100px; }
@media (max-width: 900px) { .about__left { position: static; } }

.about__body {
  font-family: var(--f-body);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.7;
  color: rgba(255,255,255,.82);
  margin: 0 0 24px;
  max-width: 52ch;
}
.about__body mark {
  background: none;
  color: var(--cyan);
  font-weight: 700;
  text-shadow: 0 0 12px rgba(0,243,255,.4);
  padding: 0 2px;
}
.about__body--accent {
  padding: 24px;
  border-left: 3px solid var(--magenta);
  background: linear-gradient(90deg, rgba(255,0,212,.08), transparent);
  color: var(--white);
}
.chip {
  display: inline-block;
  font-family: var(--f-pixel); font-size: 10px; letter-spacing: 2px;
  color: var(--yellow);
  padding: 6px 10px;
  border: 2px solid var(--yellow);
  margin: 4px 4px 4px 0;
  background: rgba(255,230,0,.06);
  box-shadow: 3px 3px 0 rgba(255,230,0,.2);
}

.about__formats {
  list-style: none; padding: 0; margin: 36px 0 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px;
  border-top: 2px solid rgba(0,243,255,.15);
  padding-top: 28px;
}
.about__formats li {
  font-family: var(--f-pixel); font-size: 10px; letter-spacing: 2px;
  color: rgba(255,255,255,.75);
  display: flex; gap: 10px; align-items: center;
  opacity: 0; transform: translateX(-14px);
  transition: opacity .5s, transform .5s;
}
.about__formats.in li { opacity: 1; transform: none; }
.about__formats li span { color: var(--cyan); }
.about__formats li:nth-child(1) { transition-delay: .05s; }
.about__formats li:nth-child(2) { transition-delay: .12s; }
.about__formats li:nth-child(3) { transition-delay: .19s; }
.about__formats li:nth-child(4) { transition-delay: .26s; }
.about__formats li:nth-child(5) { transition-delay: .33s; }
.about__formats li:nth-child(6) { transition-delay: .40s; }

/* Split-letter title reveal */
[data-split] .split-word {
  display: inline-block;
  white-space: nowrap; /* keep every word on one line */
}
[data-split] .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) rotate(-8deg);
  transition: opacity .5s cubic-bezier(.2,.9,.2,1), transform .6s cubic-bezier(.2,.9,.2,1);
}
[data-split].in .char { opacity: 1; transform: none; }

/* Fade-lines paragraphs */
[data-fade-lines] {
  opacity: 0; transform: translateY(30px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1);
}
[data-fade-lines].in { opacity: 1; transform: none; }

/* ============ WHY PULSELAB ============ */
.why {
  position: relative;
  padding: 140px 24px;
  background:
    linear-gradient(180deg, var(--black), var(--ink) 50%, var(--black));
  overflow: hidden;
}
.why::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(0,243,255,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,0,212,.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.why__header {
  max-width: 1400px; margin: 0 auto 80px;
  text-align: center; position: relative; z-index: 2;
}
.why__pillars {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  position: relative; z-index: 2;
}
@media (max-width: 900px) { .why__pillars { grid-template-columns: 1fr; } }

.pillar {
  --accent: var(--cyan);
  position: relative;
  padding: 40px 32px 36px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 2px solid rgba(255,255,255,.1);
  overflow: hidden;
  opacity: 0;
  transform: translateY(60px) scale(.94);
  transition: transform .7s cubic-bezier(.2,.8,.2,1),
              opacity .7s ease,
              border-color .3s,
              box-shadow .3s;
}
.pillar.in { opacity: 1; transform: none; }
.pillar:hover {
  border-color: var(--accent);
  box-shadow:
    0 0 0 2px var(--accent),
    0 30px 80px -30px var(--accent);
  transform: translateY(-8px);
}
.pillar::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: var(--accent);
  box-shadow: 0 0 20px var(--accent);
}
.pillar::after {
  /* scanline overlay */
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(255,255,255,.02) 3px 4px);
  pointer-events: none;
}
.pillar__marker {
  position: absolute; top: 20px; right: 20px;
  font-family: var(--f-pixel); font-size: 32px;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
  opacity: .5;
}
.pillar__glyph {
  color: var(--accent);
  filter: drop-shadow(0 0 18px var(--accent));
  margin-bottom: 28px;
}
.pillar__title {
  font-family: var(--f-pixel);
  font-size: clamp(15px, 1.6vw, 20px);
  letter-spacing: 1px;
  line-height: 1.4;
  color: var(--white);
  margin: 0 0 20px;
  text-shadow: 2px 2px 0 rgba(0,0,0,.6);
}
.pillar__body {
  font-family: var(--f-body); font-size: 16px; line-height: 1.65;
  color: rgba(255,255,255,.75);
  margin: 0 0 24px;
}
.pillar__body strong {
  color: var(--white);
  font-weight: 700;
}
.pillar__body em {
  font-style: normal;
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent);
}
.pillar__foot {
  font-family: var(--f-pixel); font-size: 9px; letter-spacing: 3px;
  color: rgba(255,255,255,.35);
  padding-top: 20px;
  border-top: 1px dashed rgba(255,255,255,.15);
}

/* ============ Section slide-up wrapper ============ */
[data-section-reveal] {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s ease, transform 1s cubic-bezier(.2,.8,.2,1);
}
[data-section-reveal].in {
  opacity: 1; transform: none;
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.05s !important; }
  html { scroll-behavior: auto; }
}

/* ============ Mobile tweaks (reduce anim intensity) ============ */
@media (max-width: 700px) {
  .hero__sun { width: 300px; height: 300px; }
  .equalizer { height: 60px; }
  .equalizer span { width: 6px; }
  @keyframes eqBar { 0%,100% { height: 8px; } 50% { height: 50px; } }
  .section-title { text-shadow: 3px 3px 0 var(--magenta); }
  .section-title em { text-shadow: 3px 3px 0 var(--orange); }
}
