:root {
  --accent: #3b82f6;
  --bg: #0a0a0a;
  --panel: #141414;
  --ink: #f2f2f2;
  --muted: #9a9a9a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.55;
  min-height: 100vh;
  position: relative;
}

/* film grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

header {
  border-bottom: 3px solid var(--accent);
  padding: 2.2rem 1.5rem 1.4rem;
  text-align: center;
  transition: border-color 0.4s;
}

h1, h2, .display {
  font-family: Impact, "Arial Narrow", "Helvetica Neue", sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.05; }
header p.tag { color: var(--muted); font-style: italic; margin-top: 0.4rem; }

nav {
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  margin-top: 1.1rem;
  font-family: Impact, "Arial Narrow", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}
nav a { color: var(--muted); text-decoration: none; }
nav a:hover, nav a.here { color: var(--ink); border-bottom: 2px solid var(--accent); }

main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 2rem;
}
main.single { display: block; max-width: 760px; }

@media (max-width: 800px) { main { grid-template-columns: 1fr; } }

form, .panel {
  background: var(--panel);
  border: 1px solid #262626;
  padding: 1.4rem;
}

fieldset { border: none; margin-bottom: 1.3rem; }
legend, .label {
  font-family: Impact, "Arial Narrow", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
  display: block;
}

input[type="text"], select {
  width: 100%;
  background: #0e0e0e;
  border: 1px solid #333;
  color: var(--ink);
  padding: 0.55rem 0.7rem;
  font-family: inherit;
  font-size: 1rem;
}

.radio, .issue { display: block; padding: 0.25rem 0; cursor: pointer; }
.issue input, .radio input { margin-right: 0.5rem; accent-color: var(--accent); }

.hint { color: var(--muted); font-size: 0.82rem; margin-top: 0.4rem; }

.buttons { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.5rem; }

button {
  font-family: Impact, "Arial Narrow", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1rem;
  padding: 0.6rem 1.1rem;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}
button.ghost { background: transparent; border: 1px solid #444; color: var(--ink); }
button:hover { filter: brightness(1.15); }

#flip { width: 100%; margin-bottom: 1rem; font-size: 1.15rem; padding: 0.8rem; }

#script { min-height: 300px; }
#script.flash { animation: flash 0.5s; }
@keyframes flash {
  0% { background: var(--accent); }
  100% { background: var(--panel); }
}

.stage { color: var(--muted); font-style: italic; margin: 0.9rem 0; }
.vo { margin: 0.9rem 0; font-size: 1.12rem; }
.who {
  font-family: Impact, "Arial Narrow", sans-serif;
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-right: 0.4rem;
}
.tagline {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid #2c2c2c;
  font-size: 0.9rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* essay + video pages */
article h2 { font-size: 1.7rem; margin: 2rem 0 0.8rem; color: var(--ink); }
article p { margin: 0.9rem 0; }
article blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.2rem 0 0.2rem 1.2rem;
  margin: 1.2rem 0;
  color: #d8d8d8;
}
.tablewrap { overflow-x: auto; margin: 1.2rem 0; }
table { border-collapse: collapse; width: 100%; }
th, td { border: 1px solid #2e2e2e; padding: 0.55rem 0.8rem; text-align: left; }
th {
  font-family: Impact, "Arial Narrow", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 400;
}
th.right, td.right-col { color: #f87171; }
th.left, td.left-col { color: #60a5fa; }

video { width: 100%; background: #000; border: 1px solid #262626; }

footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  padding: 2rem 1rem 3rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
