/* innuce blog — no JavaScript, no build step, no cookies. */
:root {
  --bg: #0b0d12;
  --surface: #14171f;
  --border: #232838;
  --text: #e8eaf1;
  --muted: #9aa2b6;
  --accent: #8b8cff;
  --accent-soft: #b8b9ff;
  --radius: 14px;
  --measure: 42rem;
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-soft); text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; display: block; }

.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  max-width: 62rem; margin: 0 auto; padding: 1.5rem 1.25rem 0;
}
.brand { display: inline-flex; align-items: baseline; gap: .4rem; font-weight: 700; letter-spacing: -.02em; }
.brand-mark { font-size: 1.35rem; color: #fff; }
.brand-suffix { color: var(--muted); font-weight: 500; font-size: 1rem; }
.site-header nav { display: inline-flex; gap: 1.25rem; font-size: .9rem; }
.site-header nav a { color: var(--muted); }
.site-header nav a:hover { color: #fff; }

main { max-width: 62rem; margin: 0 auto; padding: 3rem 1.25rem 4rem; }

.intro { max-width: var(--measure); margin-bottom: 3.5rem; }
.intro h1 { font-size: clamp(2rem, 5vw, 2.9rem); line-height: 1.1; letter-spacing: -.03em; margin: 0 0 .75rem; }
.intro p { color: var(--muted); font-size: 1.1rem; margin: 0; }

.posts { display: grid; gap: 2rem; }
.post-card {
  display: grid; grid-template-columns: 15rem 1fr; gap: 1.5rem; align-items: stretch;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.post-card.no-image { grid-template-columns: 1fr; }
.post-card-image img { width: 100%; height: 100%; min-height: 11rem; object-fit: cover; }
.post-card-body { padding: 1.5rem 1.5rem 1.5rem 0; }
.post-card.no-image .post-card-body { padding: 1.5rem; }
.post-card time, .post-header time { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.post-card h2 { font-size: 1.4rem; line-height: 1.25; margin: .5rem 0 .6rem; letter-spacing: -.02em; }
.post-card h2 a { color: var(--text); }
.post-card h2 a:hover { color: var(--accent-soft); }
.post-card p { color: var(--muted); margin: 0 0 1rem; }
.more { font-weight: 600; font-size: .95rem; }

.post { max-width: var(--measure); margin: 0 auto; }
.post-header h1 { font-size: clamp(1.9rem, 4.5vw, 2.7rem); line-height: 1.15; letter-spacing: -.03em; margin: .6rem 0 .8rem; }
.post-lead { color: var(--muted); font-size: 1.1rem; margin: 0; }
.post-hero { margin: 2rem 0; border-radius: var(--radius); overflow: hidden; }
.post-body { margin-top: 2rem; }
.post-body h2, .post-body h3 { letter-spacing: -.02em; margin: 2.5rem 0 .75rem; line-height: 1.25; }
.post-body p, .post-body li { color: #d3d7e4; }
.post-body blockquote { border-left: 3px solid var(--accent); margin: 1.5rem 0; padding: .25rem 0 .25rem 1.25rem; color: var(--muted); }
.post-body ul, .post-body ol { padding-left: 1.25rem; }
.post-body li { margin: .35rem 0; }
.post-body img { border-radius: 10px; margin: 1.5rem 0; }
.post-body a { text-decoration: underline; text-underline-offset: 3px; }
.post-body hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }
.post-body .youtube { margin: 1.75rem 0; }
.post-body .youtube iframe, .post-body iframe {
  width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 12px;
}
.post-tags { color: var(--muted); font-size: .9rem; margin-top: 2.5rem; }
.post-back { margin-top: 2.5rem; }

.site-footer {
  max-width: 62rem; margin: 0 auto; padding: 2rem 1.25rem 3rem;
  border-top: 1px solid var(--border); color: var(--muted); font-size: .9rem;
}
@media (max-width: 720px) {
  .post-card { grid-template-columns: 1fr; }
  .post-card-body { padding: 1.25rem; }
  .post-card-image img { min-height: 0; max-height: 12rem; }
}
