:root {
  --bg: #0a0a0a;
  --text: #e0e0e0;
  --muted: #707070;
  --accent: #ff4a1c;
  --border: #1a1a1a;
  --max: 720px;
  --font: "SF Mono", "Fira Code", "Fira Mono", "Cascadia Code", Menlo, Consolas, monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.8;
  min-height: 100vh;
}

/* Layout */

.site-wrapper {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */

.site-header {
  padding: 2rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-title {
  font-size: 1rem;
  font-weight: normal;
  margin: 0;
  letter-spacing: 0.05em;
}

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

.site-title a:hover {
  text-decoration: underline;
}

.site-nav {
  font-size: 0.85rem;
  color: var(--muted);
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--accent);
}

/* Main content */

main {
  padding-bottom: 4rem;
}

/* Manifesto */

.manifesto {
  font-size: 0.95rem;
}

.manifesto h1 {
  font-size: 1.1rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

.manifesto .tagline {
  color: var(--muted);
  font-style: italic;
  margin: 0 0 3rem;
  font-size: 0.9rem;
}

.manifesto h2 {
  font-size: 0.85rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 3rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.manifesto p {
  margin: 0 0 1.25rem;
}

.manifesto strong {
  color: #fff;
}

.manifesto em {
  font-style: italic;
  color: var(--muted);
}

.manifesto .scene {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0 0 0.5rem;
}

.manifesto .dialogue {
  padding-left: 1rem;
  border-left: 2px solid var(--border);
  margin: 1rem 0 1.5rem;
}

.manifesto .symbols {
  font-size: 0.9rem;
}

.manifesto .symbols li {
  margin-bottom: 0.5rem;
}

.manifesto .cta {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 1.5rem;
}

/* Post list */

.post-list {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
}

.post-list-heading {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 3rem 0 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.post-list-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.post-list-item:last-child {
  border-bottom: none;
}

.post-list-item .post-title {
  font-size: 1rem;
  margin: 0 0 0.25rem;
  font-weight: normal;
}

.post-list-item .post-title a {
  color: var(--text);
  text-decoration: none;
}

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

.post-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.post-excerpt {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Prose (posts + about) */

.prose {
  font-size: 0.95rem;
}

.prose h1 {
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 0.02em;
  line-height: 1.4;
  margin: 0 0 0.5rem;
  color: #fff;
}

.prose h2 {
  font-size: 1rem;
  font-weight: bold;
  margin: 2.5rem 0 0.75rem;
  color: var(--accent);
}

.prose h3 {
  font-size: 0.95rem;
  font-weight: bold;
  margin: 2rem 0 0.5rem;
}

.prose p {
  margin: 0 0 1.25rem;
}

.prose strong {
  color: #fff;
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose a:hover {
  text-decoration-thickness: 2px;
}

.prose code {
  font-family: var(--font);
  font-size: 0.9em;
  background: #151515;
  color: var(--accent);
  padding: 0.1em 0.35em;
}

.prose pre {
  background: #0f0f0f;
  border: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  margin: 0 0 1.5rem;
}

.prose pre code {
  background: none;
  padding: 0;
  color: var(--text);
  font-size: 0.85rem;
  line-height: 1.6;
}

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

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

/* Post header */

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

.post-header .post-meta {
  margin-top: 0.5rem;
  margin-bottom: 0;
}

/* Back link */

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
}

.back-link:hover {
  color: var(--accent);
}

.back-link::before {
  content: "< ";
}

/* Footer */

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.05em;
}

/* Landing page */

.landing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  gap: 3rem;
}

.landing-emoji {
  font-size: 8rem;
  line-height: 1;
  user-select: none;
}

.landing-button {
  display: inline-block;
  padding: 1rem 3rem;
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
}

.landing-button:hover {
  background: var(--accent);
  color: #000;
}

/* Manifesto CTA */

.manifesto-cta {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.manifesto-cta p {
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.manifesto-cta .landing-button {
  margin-top: 2rem;
}

/* Responsive */

@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  .site-header {
    flex-direction: column;
    gap: 0.5rem;
  }
}
