/* ============================================================
   PROPAGANDA IS REAL - propagandaisreal.com
   Dark-only. Migrated from Framer 2026-07-20.
   ============================================================ */

/* ---------- Fonts (self-hosted Inter, migrated from the old host 2026-07-20) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/GrgcKwrN6d3Uz8EwcLHZxwEfC4.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/vQyevYAyHtARFwPqUzQGpnDs.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: dark; /* dark only - never inherits OS light mode */
  --bg: #0d0d0d;
  --bg-raised: #161616;
  --bg-input: #1a1a1a;
  --line: #2a2a2a;
  --text: #f5f4f2;
  --text-dim: #9a9893;
  --text-faint: #6b6965;
  --accent: #ff564b;      /* BPI brand red */
  --accent-press: #e04a40;
  --radius-pill: 999px;
  --radius-card: 14px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.5;
  min-height: 100dvh;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Atmosphere: grain + scanlines ---------- */
.grain {
  position: fixed; inset: 0; z-index: 40; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.04;
  mix-blend-mode: overlay;
}
.page {
  position: relative;
  background:
    linear-gradient(rgba(13,13,13,0.72), rgba(13,13,13,0.9) 55%, var(--bg)),
    url('/assets/img/hero.png') center top / cover no-repeat;
}
.page::after { /* faint vertical scanlines, echoes the Framer texture */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 7px);
}

/* ---------- Hero ---------- */
.hero { display: flex; justify-content: center; padding: clamp(72px, 12vh, 128px) 24px 24px; }
.hero-inner { max-width: 760px; text-align: center; position: relative; z-index: 1; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.14em;
  color: var(--text);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  margin-bottom: 28px;
  animation: rise 0.7s ease-out both;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(255, 86, 75, 0.7);
}

.headline {
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  animation: rise 0.7s ease-out 0.08s both;
}
.accent { color: var(--accent); }

.subhead {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 auto 36px;
  animation: rise 0.7s ease-out 0.16s both;
}

/* ---------- Waitlist form ---------- */
.waitlist {
  display: flex; gap: 10px; justify-content: center; align-items: stretch;
  max-width: 460px; margin: 0 auto;
  animation: rise 0.7s ease-out 0.24s both;
}
.waitlist-input {
  flex: 1; min-width: 0;
  background: var(--bg-input);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--text);
  font: inherit; font-size: 14px;
  padding: 13px 20px;
  outline: none;
  transition: border-color 0.2s ease;
}
.waitlist-input::placeholder { color: var(--text-faint); }
.waitlist-input:focus-visible { border-color: var(--accent); }

.btn {
  font: inherit; font-size: 14px; font-weight: 500;
  border: 0; border-radius: var(--radius-pill);
  padding: 13px 24px;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94), background-color 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { transform: scale(1.03); background: var(--accent-press); }
.btn-primary:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.btn-primary[disabled] { opacity: 0.6; cursor: default; transform: none; }

.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  min-height: 22px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-dim);
}
.form-status.ok { color: #7ed67e; }
.form-status.err { color: var(--accent); }

/* ---------- Social proof ---------- */
.social-proof {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-top: 28px;
  animation: rise 0.7s ease-out 0.32s both;
}
.avatars { display: flex; }
.avatars img {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--bg);
  object-fit: cover;
  filter: grayscale(0.4) contrast(1.05);
}
.avatars img + img { margin-left: -10px; }
.avatars .flip { transform: scaleX(-1); }
.proof-line { font-size: 13px; color: var(--text-dim); }
.proof-line strong { color: var(--text); font-weight: 500; }

/* ---------- Trailer ---------- */
.trailer { padding: clamp(48px, 8vh, 88px) 24px 72px; display: flex; flex-direction: column; align-items: center; }
.window {
  width: 100%; max-width: 860px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.window-bar { display: flex; gap: 6px; padding: 12px 14px; }
.window-bar span { width: 9px; height: 9px; border-radius: 50%; background: #3a3a3a; }

.player { position: relative; aspect-ratio: 16 / 9; background: #000000e6; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.player-facade {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; padding: 0; background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.player-facade .poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.85;
}
.play-ring {
  position: relative; z-index: 1;
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 0 rgba(255, 86, 75, 0.45);
  transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation: pulse 2.4s ease-out infinite;
}
.play-ring svg { margin-left: 4px; }
.player-facade:hover .play-ring { transform: scale(1.08); }
.player-facade:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

.funded { margin-top: 28px; font-size: 13px; color: var(--text-faint); }
.funded a { text-decoration: none; transition: color 0.2s ease, transform 0.2s ease; }
.funded a:hover { color: var(--text-dim); }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 36px 24px 44px;
  text-align: center;
}
.footer-links { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.footer-link {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; font-size: 13px; color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}
.footer-link:hover { color: var(--text); transform: translateY(-1px); }
.footer-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.sep { color: var(--text-faint); }
.copyright { margin-top: 16px; font-size: 12px; color: var(--text-faint); }

/* ---------- Access gate modal ---------- */
.gate-overlay[hidden] { display: none; }
.gate-overlay {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.gate-modal {
  position: relative;
  width: 100%; max-width: 400px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 36px 32px 32px;
  text-align: center;
  animation: rise 0.35s ease-out both;
}
.gate-close {
  position: absolute; top: 10px; right: 14px;
  background: none; border: 0; cursor: pointer;
  color: var(--text-faint); font-size: 22px; line-height: 1;
  padding: 6px;
}
.gate-close:hover { color: var(--text); }
.gate-badge { margin-bottom: 18px; }
.gate-title { font-size: 20px; font-weight: 500; margin-bottom: 6px; }
.gate-sub { font-size: 13px; color: var(--text-dim); margin-bottom: 22px; }
#gate-form { display: flex; flex-direction: column; gap: 10px; }
.gate-input { text-align: center; letter-spacing: 0.18em; text-transform: uppercase; }

/* ---------- Motion ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 86, 75, 0.45); }
  70%  { box-shadow: 0 0 0 18px rgba(255, 86, 75, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 86, 75, 0); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 560px) {
  .waitlist { flex-direction: column; }
  .btn { padding: 14px 24px; }
  .hero { padding-top: 64px; }
}
