@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;600&family=Libre+Baskerville:wght@400;700&display=swap');

:root {
  --bg: #0c0a08;
  --surface: #15120e;
  --border: #2e2820;
  --text: #e8dfd0;
  --text-muted: #9a8e7a;
  --accent: #f0a830;
  --accent-dim: rgba(240, 168, 48, 0.1);
  --accent-cool: #70b8d0;
}

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

body {
  font-family: 'Libre Baskerville', Georgia, serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  min-height: 100vh;
  background-image: radial-gradient(ellipse at 50% 0%, rgba(240,168,48,0.03) 0%, transparent 60%);
}

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 10, 8, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}

nav .nav-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  height: 58px;
}

nav .logo {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
}

nav .menu {
  display: flex;
  gap: 0.3rem;
  list-style: none;
}

nav .menu a {
  display: block;
  padding: 0.4rem 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  border-radius: 5px;
  transition: color 0.2s, background 0.2s;
}

nav .menu a:hover, nav .menu a.active {
  color: var(--accent);
  background: var(--accent-dim);
}

.breadcrumb {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.5rem 2rem 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}

.breadcrumb a:hover { text-decoration: underline; }

.breadcrumb .sep {
  margin: 0 0.4rem;
  opacity: 0.4;
}

.hero {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
}

.hero h1 {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.hero .subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 620px;
}

.hero .era-tag {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  color: var(--accent-cool);
  border: 1px solid var(--accent-cool);
  border-radius: 4px;
  padding: 0.15rem 0.5rem;
  margin-bottom: 0.75rem;
  opacity: 0.8;
}

.content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.5rem 2rem 2rem;
}

.content article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2.5rem;
  margin-bottom: 2rem;
}

.content article h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--accent-cool);
}

.content article p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.93rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.8rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, border-color 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; color: var(--text); }
.card p { font-size: 0.82rem; color: var(--text-muted); }

.next-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.6rem 1.2rem;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--accent);
  text-decoration: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.82rem;
  transition: border-color 0.2s;
}

.next-link:hover { border-color: var(--accent); }
.next-link .arrow { font-size: 1.1rem; }

footer {
  max-width: 1000px;
  margin: 4rem auto 0;
  padding: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-muted);
}
