/* Jack Bodenstein Spy Files - Shared Stylesheet */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --black: #0a0a0a;
  --charcoal: #1a1a1a;
  --green: #1d3a2a;
  --red: #8b0000;
  --gold: #b8960c;
  --gold-light: #d4a810;
  --text: #c8c8c0;
  --text-dim: #888;
  --border: #2a2a2a;
}

body {
  font-family: 'Georgia', serif;
  background: var(--black);
  color: var(--text);
  line-height: 1.75;
}

/* HEADER */
header {
  background: linear-gradient(180deg, #000 0%, var(--charcoal) 100%);
  border-bottom: 2px solid var(--gold);
  padding: 60px 20px 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 28px, rgba(184,150,12,0.04) 28px, rgba(184,150,12,0.04) 29px);
  pointer-events: none;
}
.site-label {
  font-family: 'Courier New', monospace;
  font-size: 0.75em;
  letter-spacing: 6px;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
header h1 {
  font-size: 3em;
  color: var(--gold);
  letter-spacing: 4px;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 12px;
}
header .tagline {
  font-size: 1.1em;
  color: var(--text-dim);
  font-style: italic;
  letter-spacing: 1px;
}

/* NAV */
nav {
  background: #111;
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
}
nav a {
  color: var(--gold);
  text-decoration: none;
  margin: 0 16px;
  font-size: 0.85em;
  font-family: 'Courier New', monospace;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color 0.2s;
}
nav a:hover { color: #fff; }

/* CONTAINER */
.container { max-width: 1000px; margin: 0 auto; padding: 60px 20px; }

/* HEADINGS */
h2 {
  font-size: 1.9em;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
h3 { font-size: 1.3em; color: var(--gold-light); margin-bottom: 12px; }

/* PARAGRAPHS */
p { margin-bottom: 16px; color: var(--text); font-size: 1.05em; line-height: 1.8; }

section { margin-bottom: 70px; }

/* CLASSIFIED STAMP */
.stamp {
  display: inline-block;
  border: 3px solid var(--red);
  color: var(--red);
  font-family: 'Courier New', monospace;
  font-size: 0.8em;
  font-weight: bold;
  letter-spacing: 4px;
  padding: 4px 12px;
  text-transform: uppercase;
  transform: rotate(-3deg);
  margin-bottom: 20px;
  opacity: 0.85;
}
.stamp-gold {
  border-color: var(--gold);
  color: var(--gold);
  transform: rotate(2deg);
}

/* REDACTED */
.redacted {
  background: #333;
  color: transparent;
  user-select: none;
  border-radius: 2px;
  padding: 0 4px;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(135deg, #000 0%, #0d1a10 40%, #000 100%);
  border-bottom: 1px solid var(--border);
  padding: 100px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(29,58,42,0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(139,0,0,0.15) 0%, transparent 60%),
    repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(184,150,12,0.02) 80px, rgba(184,150,12,0.02) 81px);
}
.hero-content { position: relative; z-index: 1; }
.hero h1 {
  font-size: 3.5em;
  color: var(--gold);
  letter-spacing: 6px;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 0 40px rgba(184,150,12,0.4);
}
.hero .subtitle {
  font-size: 1.3em;
  color: var(--text-dim);
  font-style: italic;
  max-width: 600px;
  margin: 0 auto 30px;
}
.hero-meta {
  font-family: 'Courier New', monospace;
  font-size: 0.8em;
  color: var(--red);
  letter-spacing: 4px;
  text-transform: uppercase;
}

/* CARDS */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 30px;
}
.card {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  padding: 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-top-color: var(--red); transform: translateY(-2px); }
.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 16px;
  display: block;
}
.card-img-placeholder {
  width: 100%;
  height: 180px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Courier New', monospace;
  font-size: 0.75em;
  letter-spacing: 3px;
  color: var(--text-dim);
  text-transform: uppercase;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.95em; color: var(--text-dim); margin-bottom: 12px; }
.card-link {
  font-family: 'Courier New', monospace;
  font-size: 0.8em;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.card-link:hover { color: #fff; }

/* DOSSIER */
.dossier {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  padding: 30px;
  margin-bottom: 30px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}
.dossier .field { display: flex; gap: 20px; margin-bottom: 8px; flex-wrap: wrap; }
.dossier .label { color: var(--gold); min-width: 160px; text-transform: uppercase; font-size: 0.85em; letter-spacing: 2px; }
.dossier .value { color: var(--text); flex: 1; }

/* THREAT METER */
.threat-bar-wrap { margin: 6px 0 16px; }
.threat-bar {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.threat-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--red));
  border-radius: 3px;
}

/* MISSION HEADER */
.mission-header {
  background: linear-gradient(135deg, #000 0%, var(--green) 50%, #000 100%);
  padding: 80px 20px 60px;
  text-align: center;
  border-bottom: 2px solid var(--gold);
}
.mission-header .mission-code {
  font-family: 'Courier New', monospace;
  color: var(--red);
  font-size: 0.8em;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.mission-header h1 {
  font-size: 2.8em;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* FICTION TEXT */
.fiction { max-width: 760px; margin: 0 auto; }
.fiction p { font-size: 1.1em; line-height: 1.9; color: var(--text); margin-bottom: 20px; }
.fiction h3 { color: var(--gold); margin: 30px 0 12px; font-size: 1.2em; letter-spacing: 2px; text-transform: uppercase; }

/* INTERNAL LINK */
a.il {
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 1px dotted var(--gold);
}
a.il:hover { color: #fff; border-bottom-color: #fff; }

/* SECTION DIVIDER */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 50px 0;
}

/* BLOG */
.article-list { list-style: none; }
.article-list li {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.article-list li:last-child { border-bottom: none; }
.article-list .art-title {
  font-size: 1.2em;
  color: var(--gold);
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}
.article-list .art-title:hover { color: #fff; }
.article-list .art-meta {
  font-family: 'Courier New', monospace;
  font-size: 0.8em;
  color: var(--red);
  letter-spacing: 2px;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.article-list p { font-size: 0.95em; color: var(--text-dim); margin-bottom: 0; }

/* RELATED */
.related {
  background: #111;
  border: 1px solid var(--border);
  border-top: 2px solid var(--green);
  padding: 30px;
  margin-top: 50px;
}
.related h3 { color: var(--gold); margin-bottom: 16px; font-size: 1em; letter-spacing: 3px; text-transform: uppercase; }
.related ul { list-style: none; }
.related ul li { margin-bottom: 10px; }
.related ul li a { color: var(--text); text-decoration: none; font-size: 0.95em; }
.related ul li a:hover { color: var(--gold); }
.related ul li a::before { content: '// '; color: var(--red); font-family: monospace; }

/* ORG PAGE */
.org-header {
  background: linear-gradient(135deg, #000 0%, #0d0d1a 50%, #000 100%);
  padding: 80px 20px;
  text-align: center;
  border-bottom: 2px solid var(--gold);
}

/* FOOTER */
footer {
  background: #0d0d0d;
  border-top: 2px solid var(--gold);
  text-align: center;
  padding: 50px 20px;
  color: var(--text-dim);
  font-family: 'Courier New', monospace;
  font-size: 0.85em;
}
footer .footer-logo { color: var(--gold); font-size: 1.2em; letter-spacing: 4px; margin-bottom: 12px; text-transform: uppercase; }
footer a { color: var(--gold); text-decoration: none; }
footer a:hover { color: #fff; }
footer nav { background: none; border: none; padding: 0; margin: 16px 0; }
footer nav a { font-size: 0.8em; }
footer .footer-classified {
  color: var(--red);
  letter-spacing: 4px;
  margin-top: 20px;
  font-size: 0.75em;
}

@media (max-width: 600px) {
  header h1 { font-size: 2em; }
  .hero h1 { font-size: 2.2em; }
  .mission-header h1 { font-size: 2em; }
  nav a { margin: 0 8px; font-size: 0.75em; }
  .card-grid { grid-template-columns: 1fr; }
}
