/* ============================================================
   MEWW — V2 PREMIUM / GLASS LAYER (preview overlay)
   Cinematic fixed background + frosted glass panels.
   Loaded on preview.html only. Original index.html untouched.
   ============================================================ */

/* pixel display font for the hero wordmark */
@import url('https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@400..700&display=swap');

html { background: #060606; }
body { background: transparent; }

/* fixed cinematic background + darkening scrim */
.site-bg {
  position: fixed; inset: 0; z-index: -2;
  background-image: url('meww-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.site-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 32%, transparent 0%, rgba(6,6,6,0.55) 92%),
    linear-gradient(180deg, rgba(6,6,6,0.50) 0%, rgba(6,6,6,0.74) 46%, rgba(6,6,6,0.93) 100%);
}

/* scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 100%;
  transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--gold), var(--white-bright));
  z-index: 9998;
  transition: transform 0.1s linear;
}

/* cursor light */
.cursor-glow {
  position: fixed; left: 50%; top: 50%;
  width: 440px; height: 440px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.05), transparent 64%);
  transform: translate(-50%, -50%);
  pointer-events: none; z-index: 50; mix-blend-mode: screen;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* nav — glass on scroll, no blend-mode over imagery */
nav {
  mix-blend-mode: normal;
  padding: 26px 48px;
  transition: padding 0.5s ease, background 0.5s ease, border-color 0.5s ease;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(6,6,6,0.6);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  padding: 18px 48px;
  border-bottom: 1px solid rgba(201,168,76,0.12);
}
.nav-status {
  display: flex; align-items: center; gap: 9px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--white);
  opacity: 0.7;
}
.nav-status .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2.6s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(201,168,76,0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(201,168,76,0); }
  100% { box-shadow: 0 0 0 0 rgba(201,168,76,0); }
}
.hero-title {
  font-family: 'Pixelify Sans', 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-shadow: 0 0 70px rgba(0,0,0,0.6), 0 0 40px rgba(201,168,76,0.1);
}

/* MANIFESTO — frosted glass panel */
.manifesto {
  max-width: 820px; margin: 140px auto;
  padding: 80px 64px;
  background: rgba(10,9,8,0.16);
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
  border: none;
  border-radius: 0;
  box-shadow: none;
  /* feather the panel (fill + blur) into the background — no hard edges */
  -webkit-mask-image: radial-gradient(ellipse 82% 78% at 50% 50%, #000 52%, transparent 100%);
          mask-image: radial-gradient(ellipse 82% 78% at 50% 50%, #000 52%, transparent 100%);
}
.manifesto p { color: var(--white); opacity: 0.82; }

/* VENTURES — glass cards floating over the image */
.venture-grid { background: transparent; gap: 16px; }
.venture-item {
  background: rgba(16,15,13,0.42);
  backdrop-filter: blur(16px) saturate(135%);
  -webkit-backdrop-filter: blur(16px) saturate(135%);
  border: 1px solid rgba(201,168,76,0.1);
  border-radius: 5px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  transition: opacity 0.8s ease,
              transform 0.5s cubic-bezier(0.16,1,0.3,1),
              background 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
}
.venture-item:hover { background: rgba(22,20,16,0.5); }
.venture-item:not(.classified):hover {
  transform: translateY(-5px);
  border-color: rgba(201,168,76,0.28);
  box-shadow: 0 28px 70px -34px rgba(201,168,76,0.4),
              inset 0 1px 0 rgba(255,255,255,0.06);
}
.venture-item.classified { background: rgba(12,11,9,0.34); }
.venture-label { position: relative; z-index: 2; }
/* ghost index number */
.venture-item:not(.classified) .venture-top::before {
  content: attr(data-num);
  position: absolute; top: -36px; right: -6px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 130px; font-weight: 300; line-height: 1;
  color: var(--white-bright); opacity: 0.03;
  pointer-events: none; z-index: 0;
  transition: opacity 0.5s ease, color 0.5s ease;
}
.venture-item:not(.classified):hover .venture-top::before {
  opacity: 0.07; color: var(--gold);
}

/* SIGNAL — glass form panel */
.signal-form-full {
  background: rgba(12,11,9,0.4);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  border: 1px solid rgba(201,168,76,0.1);
  border-radius: 6px;
  padding: 28px; gap: 12px;
  box-shadow: 0 30px 80px -50px rgba(0,0,0,0.9), inset 0 1px 0 rgba(255,255,255,0.04);
}
.signal-field {
  border-radius: 2px;
  border-color: rgba(201,168,76,0.18);
  background: rgba(255,255,255,0.02);
}
.signal-field:focus {
  border-color: var(--gold);
  background: rgba(201,168,76,0.04);
  box-shadow: 0 0 0 1px var(--gold-glow);
}
.signal-btn-full { border-radius: 2px; }

@media (max-width: 900px) {
  nav, nav.scrolled { padding: 18px 24px; }
  .manifesto { margin: 90px 24px; padding: 48px 30px; }
  .site-bg { background-attachment: scroll; }
}
