@import url('https://fonts.googleapis.com/css2?family=Special+Elite&family=Oswald:wght@300;400;600;700&family=Courier+Prime:ital,wght@0,400;0,700;1,400&display=swap');

/* ── RESET & ROOT ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:    #0a0904;
  --paper:    #e8e0cc;
  --ink:      #1a1710;
  --acid:     #d4ff00;
  --red:      #c0392b;
  --rust:     #8b3a1a;
  --muted:    #8a8070;
  --stencil:  'Oswald', sans-serif;
  --typer:    'Courier Prime', monospace;
  --display:  'Special Elite', cursive;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--paper);
  font-family: var(--typer);
  overflow-x: hidden;
  cursor: crosshair;
}

/* ── GRAIN OVERLAY ────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 1000;
}

/* ── NAV ──────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: var(--black);
  border-bottom: 2px solid var(--acid);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  height: 56px;
}

.nav-logo {
  font-family: var(--stencil);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--acid);
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--stencil);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--acid);
  border-bottom-color: var(--acid);
}

/* ── PAGE WRAPPER ─────────────────────────────────────── */
.page {
  display: none;
  min-height: 100vh;
  padding-top: 56px;
}
.page.active { display: block; }

/* ── TORN EDGE DIVIDER ────────────────────────────────── */
.torn {
  width: 100%;
  height: 32px;
  background: var(--paper);
  clip-path: polygon(
    0% 60%, 1.5% 20%, 3% 80%, 4.5% 30%, 6% 70%, 7.5% 15%,
    9% 65%, 10.5% 35%, 12% 75%, 13.5% 25%, 15% 55%, 16.5% 10%,
    18% 70%, 19.5% 40%, 21% 80%, 22.5% 20%, 24% 60%, 25.5% 30%,
    27% 75%, 28.5% 15%, 30% 65%, 31.5% 45%, 33% 85%, 34.5% 25%,
    36% 55%, 37.5% 10%, 39% 70%, 40.5% 35%, 42% 80%, 43.5% 20%,
    45% 60%, 46.5% 30%, 48% 75%, 49.5% 15%, 51% 65%, 52.5% 45%,
    54% 85%, 55.5% 25%, 57% 55%, 58.5% 10%, 60% 70%, 61.5% 35%,
    63% 80%, 64.5% 20%, 66% 60%, 67.5% 30%, 69% 75%, 70.5% 15%,
    72% 65%, 73.5% 45%, 75% 85%, 76.5% 25%, 78% 55%, 79.5% 10%,
    81% 70%, 82.5% 35%, 84% 80%, 85.5% 20%, 87% 60%, 88.5% 30%,
    90% 75%, 91.5% 15%, 93% 65%, 94.5% 45%, 96% 85%, 97.5% 25%,
    99% 55%, 100% 40%, 100% 100%, 0% 100%
  );
  margin: 48px 0 0;
  opacity: 0.12;
}

/* ── STAMP ────────────────────────────────────────────── */
.stamp {
  display: inline-block;
  font-family: var(--stencil);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 4px 12px;
  border: 2px solid currentColor;
  transform: rotate(-1.5deg);
}
.stamp.acid { color: var(--acid); border-color: var(--acid); }
.stamp.red  { color: var(--red);  border-color: var(--red);  }

/* ── SECTION RULE ─────────────────────────────────────── */
.rule {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 32px 0 24px;
}
.rule::before, .rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--muted);
}
.rule span {
  font-family: var(--stencil);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ── BUTTONS ──────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--stencil);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 28px;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
}
.btn-acid {
  background: var(--acid);
  color: var(--black);
}
.btn-acid:hover {
  background: #fff;
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--acid);
}
.btn-ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--muted);
}
.btn-ghost:hover {
  border-color: var(--acid);
  color: var(--acid);
}

/* ── FOOTER ───────────────────────────────────────────── */
footer {
  border-top: 1px solid #222;
  padding: 28px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 80px;
}
footer p {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  font-family: var(--stencil);
  text-transform: uppercase;
}
footer a {
  color: var(--acid);
  text-decoration: none;
  font-size: 11px;
  font-family: var(--stencil);
  letter-spacing: 0.1em;
}

/* ── ANIMATIONS ───────────────────────────────────────── */
@keyframes flicker {
  0%,100%{opacity:1} 92%{opacity:1} 93%{opacity:0.4} 94%{opacity:1} 96%{opacity:0.6} 97%{opacity:1}
}
@keyframes fadeUp {
  from { opacity:0; transform: translateY(24px); }
  to   { opacity:1; transform: translateY(0); }
}
@keyframes scanline {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}
.fade-up   { animation: fadeUp 0.7s ease both; }
.fade-up-2 { animation: fadeUp 0.7s 0.15s ease both; }
.fade-up-3 { animation: fadeUp 0.7s 0.3s ease both; }
.fade-up-4 { animation: fadeUp 0.7s 0.45s ease both; }

/* ══════════════════════════════════════════════════════════
   HOME — HERO
══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: calc(100vh - 56px);
  display: flex;
  align-items: center;
  padding: 80px 60px 60px;
  overflow: hidden;
  gap: 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(212,255,0,0.04) 0%, transparent 60%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255,255,255,0.012) 2px,
      rgba(255,255,255,0.012) 4px
    );
  pointer-events: none;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.hero-issue {
  font-family: var(--stencil);
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--stencil);
  font-weight: 700;
  font-size: clamp(72px, 10vw, 120px);
  line-height: 0.88;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--paper);
}

.hero-title-sub {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 64px);
  color: var(--acid);
  letter-spacing: 0.08em;
  margin-bottom: 28px;
  margin-top: 4px;
}

.hero-tagline {
  font-family: var(--typer);
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 36px;
  font-style: italic;
  border-left: 2px solid var(--acid);
  padding-left: 16px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-badge {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex-shrink: 0;
}

.badge-date {
  font-family: var(--stencil);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--muted);
  text-transform: uppercase;
  display: block;
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 60px;
  font-family: var(--stencil);
  font-size: 10px;
  letter-spacing: 0.35em;
  color: var(--muted);
  text-transform: uppercase;
}
.scroll-hint::before { content: '↓ '; }

/* ══════════════════════════════════════════════════════════
   HOME — CHARACTER STRIP
══════════════════════════════════════════════════════════ */
.chars-strip {
  padding: 60px 60px 0;
}

.chars-strip h2 {
  font-family: var(--stencil);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
}

.chars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.char-tile {
  position: relative;
  height: 420px;
  background-color: #111;
  overflow: hidden;
  cursor: pointer;
}

.char-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
}

.char-tile:hover::after {
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 40%, rgba(212,255,0,0.06) 100%);
}

.char-code, .char-name, .char-desc {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
}

.char-code {
  bottom: 72px;
  font-family: var(--typer);
  font-size: 10px;
  color: var(--acid);
  letter-spacing: 0.15em;
}

.char-name {
  bottom: 44px;
  font-family: var(--stencil);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper);
}

.char-desc {
  bottom: 16px;
  font-family: var(--typer);
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}

.char-tile:hover .char-desc { opacity: 1; transform: translateY(0); }

.char-tile::before {
  content: attr(data-num);
  position: absolute;
  top: 16px; right: 16px;
  z-index: 3;
  font-family: var(--stencil);
  font-size: 48px;
  font-weight: 700;
  color: rgba(255,255,255,0.06);
  line-height: 1;
}

/* ══════════════════════════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════════════════════════ */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 60px 60px 0;
  align-items: start;
}

.about-left h1 {
  font-family: var(--stencil);
  font-weight: 700;
  font-size: clamp(52px, 7vw, 88px);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: 36px;
}

.about-left h1 em {
  font-style: normal;
  color: var(--acid);
  font-family: var(--display);
  font-size: 0.85em;
  text-transform: none;
  letter-spacing: 0.04em;
}

.about-body p {
  font-family: var(--typer);
  font-size: 14px;
  line-height: 1.85;
  color: var(--paper);
  opacity: 0.85;
  margin-bottom: 20px;
}

.about-body strong { color: var(--acid); font-weight: 700; }

.manifesto-block {
  border-left: 3px solid var(--acid);
  padding: 20px 20px 20px 24px;
  background: rgba(212,255,0,0.03);
}

.manifesto-quote {
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.65;
  color: var(--paper);
  font-style: italic;
  margin-bottom: 12px;
}

.manifesto-quote strong { color: var(--acid); font-style: normal; }

.manifesto-attr {
  font-family: var(--stencil);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ── ROSTER ───────────────────────────────────────────── */
.roster-full {
  padding: 60px 60px 0;
}

.roster-full h2 {
  font-family: var(--stencil);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
}

.roster-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.roster-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 180px;
  border: 1px solid #1a1a15;
  overflow: hidden;
}

.roster-left {
  position: relative;
  background-color: #111;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  min-height: 180px;
}

.roster-left::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
  pointer-events: none;
}

.roster-handle {
  position: relative;
  z-index: 2;
  font-family: var(--typer);
  font-size: 9px;
  color: var(--acid);
  letter-spacing: 0.15em;
  margin-bottom: 4px;
}

.roster-name {
  position: relative;
  z-index: 2;
  font-family: var(--stencil);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--paper);
}

.roster-right {
  padding: 24px 28px;
  border-left: 1px solid #1a1a15;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.roster-role {
  font-family: var(--stencil);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--acid);
}

.roster-bio {
  font-family: var(--typer);
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

/* ══════════════════════════════════════════════════════════
   READ PAGE
══════════════════════════════════════════════════════════ */
.read-header {
  padding: 48px 60px 32px;
  border-bottom: 1px solid #1a1a15;
  overflow: hidden;
}

.read-header h1 {
  font-family: var(--stencil);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 72px);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: 8px;
}

.read-header p {
  font-family: var(--typer);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.fp-iframe { display: block; }

.issue-meta {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid #1a1a15;
  border-bottom: 1px solid #1a1a15;
}

.meta-item {
  padding: 24px 28px;
  border-right: 1px solid #1a1a15;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meta-item:last-child { border-right: none; }

.meta-item label {
  font-family: var(--stencil);
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
}

.meta-item span {
  font-family: var(--stencil);
  font-size: 16px;
  font-weight: 600;
  color: var(--paper);
}

/* ══════════════════════════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════════════════════════ */
#contact h1 {
  font-family: var(--stencil);
  font-weight: 700;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--paper);
  padding: 60px 60px 0;
  margin-bottom: 16px;
}

#contact .sub {
  font-family: var(--typer);
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
  padding: 0 60px;
  max-width: 560px;
  margin-bottom: 48px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 0 60px;
}

.form-section,
.info-section {
  padding: 36px;
  border: 1px solid #1a1a15;
}

.form-section h2,
.info-section h2 {
  font-family: var(--stencil);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.field label {
  font-family: var(--stencil);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea {
  background: #0d0c09;
  border: 1px solid #2a2820;
  color: var(--paper);
  font-family: var(--typer);
  font-size: 13px;
  padding: 10px 14px;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s;
}

.field input:focus,
.field textarea:focus { border-color: var(--acid); }

.field input::placeholder,
.field textarea::placeholder { color: var(--muted); opacity: 0.5; }

.form-note {
  font-family: var(--typer);
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 16px;
  font-style: italic;
}

.form-success {
  display: none;
  padding: 32px;
  border: 1px solid var(--acid);
  background: rgba(212,255,0,0.04);
}

.form-success p {
  font-family: var(--stencil);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--acid);
  text-transform: uppercase;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid #1a1a15;
}

.info-item:last-of-type { border-bottom: none; }

.info-item label {
  font-family: var(--stencil);
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
}

.info-item span,
.info-item a {
  font-family: var(--stencil);
  font-size: 15px;
  font-weight: 600;
  color: var(--paper);
  text-decoration: none;
}

.info-item a { color: var(--acid); }
.info-item a:hover { text-decoration: underline; }

.distro-note {
  margin-top: 28px;
  padding: 20px;
  border: 1px solid #2a2820;
  background: #0d0c09;
}

.distro-note p {
  font-family: var(--typer);
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

.distro-note strong { color: var(--paper); }

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .hero { padding: 48px 24px 48px; flex-direction: column; min-height: auto; gap: 40px; }
  .scroll-hint { left: 24px; }
  .chars-strip { padding: 40px 24px 0; }
  .chars-grid { grid-template-columns: 1fr; }
  .char-tile { height: 280px; }
  .about-hero { grid-template-columns: 1fr; padding: 40px 24px 0; gap: 40px; }
  .roster-full { padding: 40px 24px 0; }
  .roster-item { grid-template-columns: 1fr; }
  .roster-left { min-height: 160px; }
  .read-header { padding: 32px 24px 24px; }
  .issue-meta { grid-template-columns: repeat(3, 1fr); }
  #contact h1 { padding: 40px 24px 0; }
  #contact .sub { padding: 0 24px; }
  .contact-grid { grid-template-columns: 1fr; padding: 0 24px; }
  footer { padding: 24px; flex-direction: column; gap: 12px; text-align: center; }
}
