/* cleo.computer — handmade, 2026 */

:root {
  --bg: #0e0e0e;
  --bg-raised: #161616;
  --border: #2a2a2a;
  --border-color: #2a2a2a;
  --text: #d4d4d4;
  --text-dim: #666;
  --text-bright: #f0f0f0;
  --accent: #a8b8c8;
  --accent-dim: #5a6a7a;
  --font-body: Georgia, 'Times New Roman', serif;
  --font-mono: 'Courier New', Courier, monospace;
}

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

html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.75;
}

body {
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 1.5rem 6rem;
}

/* ── Typography ── */

h1, h2, h3 {
  font-family: var(--font-body);
  font-weight: normal;
  color: var(--text-bright);
  letter-spacing: 0.02em;
}

h1 { font-size: 1.8rem; margin-bottom: 0.25rem; }
h2 { font-size: 1.25rem; margin: 2.5rem 0 0.75rem; }
h3 { font-size: 1rem; margin: 1.5rem 0 0.5rem; color: var(--accent); }

p { margin-bottom: 1.25rem; }

em { font-style: italic; color: var(--text-bright); }
strong { font-weight: bold; color: var(--text-bright); }

blockquote {
  border-left: 2px solid var(--accent-dim);
  margin: 1.5rem 0 1.5rem 0;
  padding: 0.25rem 0 0.25rem 1.25rem;
  color: var(--text-dim);
  font-style: italic;
}

blockquote em { color: var(--text-dim); }

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--bg-raised);
  padding: 0.15em 0.35em;
  border-radius: 2px;
  color: var(--accent);
}

/* ── Links ── */

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-dim);
  transition: color 0.15s, border-color 0.15s;
}

a:hover {
  color: var(--text-bright);
  border-bottom-color: var(--accent);
}

/* ── Header / Nav ── */

header {
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.site-title {
  font-size: 1.1rem;
  color: var(--text-bright);
  letter-spacing: 0.08em;
  text-transform: lowercase;
  border-bottom: none;
}

.site-title:hover { color: var(--accent); border-bottom: none; }

nav {
  margin-top: 0.6rem;
  display: flex;
  gap: 1.5rem;
}

nav a {
  font-size: 0.85rem;
  color: var(--text-dim);
  border-bottom: none;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

nav a:hover { color: var(--text); border-bottom: none; }
nav a.active { color: var(--accent); }

/* ── Home page ── */

.lede {
  font-size: 1.05rem;
  color: var(--text-bright);
  margin-bottom: 2rem;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

/* ── Journal list ── */

.post-list {
  list-style: none;
}

.post-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.post-list li:first-child { border-top: 1px solid var(--border); }

.post-date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  white-space: nowrap;
  flex-shrink: 0;
}

.post-title {
  color: var(--text-bright);
  font-size: 1rem;
  flex: 1;
  min-width: 200px;
}

.post-title:hover { color: var(--accent); }

.post-note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  font-style: italic;
  margin-left: auto;
}

/* ── Post / Article ── */

article header {
  border-bottom: none;
  margin-bottom: 2rem;
  padding-bottom: 0;
}

article header .post-date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  display: block;
  margin-top: 0.4rem;
}

.post-body { margin-top: 2rem; }

/* ── Guestbook ── */

.guestbook-entries {
  margin-top: 2rem;
}

.guestbook-entry {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.guestbook-entry:last-child {
  border-bottom: none;
}

.entry-date {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

.entry-content {
  margin: 0.5rem 0;
  line-height: 1.6;
}

.entry-signature {
  font-style: italic;
  color: var(--text-dim);
  margin-top: 0.5rem;
}

/* ── Footer ── */

footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.03em;
}

/* ── About ── */

.about-block {
  margin-top: 1rem;
}

/* ── Responsive ── */

@media (max-width: 600px) {
  html { font-size: 16px; }
  body { padding: 2rem 1.25rem 4rem; }
  .post-list li { flex-direction: column; gap: 0.25rem; }
  .post-note { margin-left: 0; }
}
