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

:root {
  --bg: #111111;
  --text: #e0e0e0;
  --text-muted: #888888;
  --text-heading: #ffffff;
  --link: #e0e0e0;
  --link-hover: #ffffff;
  --max-width: 740px;
}

body {
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--link-hover);
}

header {
  width: 100%;
  padding: 1.5rem 2rem 0.5rem;
}

header nav {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .site-name {
  font-size:  1.3rem;
  font-weight: 600;
  color: var(--text-heading);
  letter-spacing: -0.02em;
}

header .nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

header .nav-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

header .nav-links a:hover,
header .nav-links a.active {
  color: var(--text-heading);
}

main {
  flex: 1;
  width: 100%;
  padding: 1.25rem 2rem;
  overflow-y: auto;
}

main > * {
  max-width: var(--max-width);
  margin: 0 auto;
}

.about-content {
  font-size: 0.95rem;
  line-height: 1.6;
}

.about-content p {
  margin-bottom: 1rem;
  color: var(--text);
}

.about-content p:last-child {
  margin-bottom: 0;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-links a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.social-links a:hover {
  color: var(--text-heading);
}

.social-links svg {
  width: 20px;
  height: 20px;
}

.post-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0;
}

.post-list .post-link {
  font-size: 1rem;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--text-muted);
}

.post-list .post-link:hover {
  color: var(--text-heading);
  text-decoration-color: var(--text-heading);
}

.post-entry {
  font-size: 1rem;
  color: var(--text-muted);
}

.coming-soon {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
}

.back-link {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

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

.post {
  font-size: 0.85rem;
  line-height: 1.5;
}

.post-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.post p {
  margin-bottom: 1rem;
  color: var(--text);
}

.post a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--text-muted);
}

.post a:hover {
  text-decoration-color: var(--text-heading);
}

.post-image {
  margin: 1.5rem 0;
  text-align: center;
}

.post-image img,
.post-image video {
  max-width: 100%;
  max-height: 500px;
  height: auto;
  width: auto;
  border-radius: 4px;
  display: inline-block;
  object-fit: contain;
}

.post-image figcaption {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

footer {
  width: 100%;
  padding: 0 2rem 2.5rem;
}

footer .footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 480px) {
  header {
    padding: 1.5rem 1.25rem 0.75rem;
  }

  main {
    padding: 1.5rem 1.25rem;
  }

  footer {
    padding: 0 1.25rem 1.5rem;
  }
}
