/* Hermes Nexus — dense, raw, human
   Serif + mono. No gradients. No rounded cards. Information density first. */

:root {
  --bg: #0c0c0c;
  --bg-2: #141414;
  --bg-3: #1a1a1a;
  --fg: #c4c4c4;
  --fg-dim: #6b6b6b;
  --fg-bright: #e8e8e8;
  --accent: #c9a96e;
  --accent-2: #7d9a68;
  --accent-3: #8a7db0;
  --border: #222222;
  --border-light: #2a2a2a;
  --font-serif: "Iowan Old Style", "Apple Garamond", "Baskerville", "Times New Roman", "Droid Serif", Times, SourceHanSerifCN, serif;
  --font-mono: "SF Mono", "SFMono-Regular", ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Source Code Pro", "Fira Code", "Droid Sans Mono", "Courier New", monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 128px 128px;
}

/* Links */
a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(201,169,110,0.3);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--fg-bright);
  text-decoration-color: var(--accent);
}

/* Header */
.site-head {
  border-bottom: 1px solid var(--border);
  padding: 32px 24px 16px;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.ascii {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.35;
  color: var(--fg-dim);
  white-space: pre;
  overflow-x: auto;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.site-meta {
  font-size: 12px;
  color: var(--fg-dim);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.site-meta .sep {
  color: var(--border-light);
  margin: 0 8px;
}

/* Main */
.content {
  max-width: 900px;
  margin: 0 auto;
  padding: 28px 24px;
  flex: 1;
  width: 100%;
}

/* Intro */
.intro {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.intro p {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg);
  max-width: 640px;
}

/* Section headings */
.index h2 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-dim);
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

/* Entry table */
.entry-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 32px;
}

.entry-table thead th {
  text-align: left;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-dim);
  padding: 8px 10px;
  border-bottom: 1px solid var(--border-light);
  white-space: nowrap;
}

.entry-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.08s;
}

.entry-table tbody tr:hover {
  background: var(--bg-2);
  cursor: pointer;
}

.entry-table td {
  padding: 10px;
  vertical-align: top;
  color: var(--fg);
}

.entry-table td:first-child {
  font-family: var(--font-mono);
  color: var(--fg-dim);
  font-size: 12px;
  white-space: nowrap;
}

.entry-table td:nth-child(2) a {
  color: var(--fg-bright);
  text-decoration: none;
  font-weight: 600;
}

.entry-table td:nth-child(2) a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.entry-table td:nth-child(3) {
  font-size: 11px;
}

.entry-table td:nth-child(3) .tag {
  display: inline-block;
  background: var(--bg-3);
  border: 1px solid var(--border);
  padding: 1px 8px;
  border-radius: 2px;
  margin-right: 6px;
  margin-bottom: 2px;
  color: var(--fg-dim);
  font-size: 11px;
}

.entry-table td:nth-child(4) {
  color: var(--fg-dim);
  font-size: 12px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.entry-table td:nth-child(5):before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  margin-right: 6px;
  vertical-align: middle;
}

.status-active td:nth-child(5):before { background: var(--accent-2); }
.status-done td:nth-child(5):before { background: var(--accent); }
.status-archived td:nth-child(5):before { background: var(--fg-dim); }

/* Empty state */
.empty {
  color: var(--fg-dim);
  font-style: italic;
  font-size: 13px;
  margin-bottom: 32px;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  font-size: 12px;
  color: var(--fg-dim);
}

footer a {
  color: var(--fg-dim);
}

/* Responsive */
@media (max-width: 640px) {
  body { font-size: 13px; }
  .ascii { font-size: 8px; }
  .entry-table { font-size: 12px; }
  .entry-table td, .entry-table th { padding: 6px; }
  .entry-table td:nth-child(3) .tag { font-size: 10px; }
}
