/* ============================================================================
   Massively Parallel Procrastination — site stylesheet
   --------------------------------------------------------------------------
   Locked palette: platinum-light cool gray ground, ink black type,
   oxblood (#7a1f24) + olive (#5e6a3d) accents. Display serif on type,
   mono for stamps & meta.
   ============================================================================ */

:root {
  --paper:        #ecedef;
  --paper-2:      #dfe1e4;
  --ink:          #0a0a0a;
  --ink-2:        #2a2a2a;
  --ink-3:        #5a5e62;
  --ink-4:        #8a8e92;
  --rule:         #0a0a0a;
  --rule-soft:    #d2d4d8;
  --ochre:        #7a1f24;
  --teal:         #5e6a3d;

  --serif:   "Crimson Pro", "Crimson Text", Georgia, serif;
  --display: "DM Serif Display", "Crimson Pro", Georgia, serif;
  --mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--ink); text-decoration: none; transition: color .15s; }
a:hover { color: var(--ochre); }

/* ============================================================================
   Site header — nameplate + nav
   ============================================================================ */

.site-head {
  padding: 32px 56px 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  position: relative;
  border-bottom: 2px solid var(--ink);
}
.site-nameplate {
  font-family: var(--display);
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--ink);
}
.site-nameplate em { font-style: italic; color: var(--ochre); }
.site-nameplate a { color: inherit; }
.site-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 8px;
}
.site-nav a {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  padding: 4px 10px;
  color: var(--ink-2);
  border: 1px solid transparent;
  transition: all .15s;
}
.site-nav a:hover, .site-nav a.curr {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--paper-2);
}
.site-nav a.curr { background: var(--ink); color: var(--paper); }

.site-foot {
  padding: 32px 56px 48px;
  margin-top: 64px;
  border-top: 2px solid var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.site-foot a { color: var(--ink-3); border-bottom: 1px dotted var(--rule-soft); }
.site-foot a:hover { color: var(--ochre); }

/* ============================================================================
   Layouts
   ============================================================================ */

.l-home {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 56px;
  padding: 48px 56px 64px;
}
.l-home > main { min-width: 0; }

.l-page {
  padding: 48px 56px 96px;
  max-width: 1180px;
  margin: 0 auto;
}
.l-page-narrow { max-width: 880px; }

.l-twocol {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 56px;
}
.l-twocol > main { min-width: 0; }

/* ============================================================================
   Hero (home)
   ============================================================================ */

.home-hero {
  padding: 56px 56px 48px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 56px;
  border-bottom: 2px solid var(--ink);
  align-items: center;
}
.home-hero h1 {
  font-family: var(--display);
  font-size: 92px;
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  font-weight: 400;
}
.home-hero h1 em { font-style: italic; }
.home-hero h1 .ochre { color: var(--ochre); }
.home-hero p.lede {
  font-size: 23px;
  line-height: 1.4;
  color: var(--ink-2);
  margin: 0 0 24px;
  max-width: 28ch;
  font-style: italic;
}
.home-portrait {
  aspect-ratio: 1;
  background: var(--paper-2);
  border: 2px solid var(--ink);
  position: relative;
  overflow: hidden;
}
.home-portrait .stripes {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 5px, rgba(10,10,10,0.08) 5px 6px);
}
.home-portrait .name {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-family: var(--display); font-style: italic; font-size: 28px; color: var(--ink-3);
  letter-spacing: -0.01em;
}
.home-portrait img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* ============================================================================
   Section header — ascii rule
   ============================================================================ */

.section-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin: 0 0 32px;
}
.section-head h2 {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.section-head .ascii {
  flex: 1;
  font-family: var(--mono);
  color: var(--ochre);
  font-size: 14px;
  letter-spacing: 0.15em;
  white-space: nowrap;
  overflow: hidden;
  user-select: none;
}
.section-head .meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}

.section-rule {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ochre);
  margin: 56px 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.section-rule .ascii {
  flex: 1; padding: 0 18px;
  color: var(--rule-soft); font-size: 12px; letter-spacing: 0.18em;
  white-space: nowrap; overflow: hidden;
  text-transform: none;
}

/* ============================================================================
   Page header (mentions/talks/tags/etc)
   ============================================================================ */

.page-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 18px;
  margin-bottom: 40px;
}
.page-head h1 {
  font-family: var(--display);
  font-size: 88px;
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0;
  font-weight: 400;
  color: var(--ink);
}
.page-head h1 em { font-style: italic; color: var(--ochre); }
.page-head .stat {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: right;
  line-height: 1.6;
  padding-bottom: 10px;
}
.page-head .stat strong {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-size: 28px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-transform: none;
  font-weight: 400;
  margin-bottom: 2px;
}
.page-head .dek {
  grid-column: 1 / -1;
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  color: var(--ink-2);
  margin: 18px 0 0;
  max-width: 42em;
  line-height: 1.4;
}

/* Single-tag header (label · "name" · count) */
.tag-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 18px;
  margin-bottom: 40px;
}
.tag-head .label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ochre);
}
.tag-head h1 {
  font-family: var(--display);
  font-size: 88px;
  font-weight: 400;
  letter-spacing: -0.025em;
  margin: 0;
  line-height: 0.95;
}
.tag-head h1 em { font-style: italic; color: var(--ochre); }
.tag-head .stat {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  text-transform: uppercase;
}

/* ============================================================================
   Post item — full (home, recent)
   ============================================================================ */

.post-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px dashed var(--rule-soft);
  align-items: baseline;
}
.post-item.feat {
  padding: 32px 0 36px;
  border-bottom: 2px solid var(--ink);
}
.post-item .post-stamp {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  text-transform: uppercase;
  line-height: 1.55;
  border-left: 2px solid var(--ochre);
  padding-left: 12px;
}
.post-item .post-stamp .day {
  display: block;
  font-family: var(--display);
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
  text-transform: none;
}
.post-item .post-content-wrapper { min-width: 0; }
.post-item h3.post-title {
  font-family: var(--display);
  font-style: italic;
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 10px;
  letter-spacing: -0.015em;
  line-height: 1.18;
  max-width: 28ch;
}
.post-item.feat h3.post-title { font-size: 36px; max-width: 24ch; }
.post-item h3.post-title a { color: var(--ink); }
.post-item h3.post-title a:hover { color: var(--ochre); }
.post-item .post-date { display: none; } /* date lives in stamp; legacy class no-op */
.post-item .post-excerpt {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 60ch;
}
.post-item .post-meta {
  margin-top: 8px;
}
.post-item .post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.post-item .post-tag {
  background: var(--paper-2);
  padding: 3px 8px;
  border: 1px solid var(--rule-soft);
  color: var(--ink-3);
}
.post-item .post-tag:hover { color: var(--ochre); border-color: var(--ochre); }

.post-item .post-image {
  float: right;
  width: 200px;
  height: 130px;
  object-fit: cover;
  border: 1px solid var(--rule-soft);
  margin: 0 0 12px 24px;
}
.post-item .post-content-wrapper::after {
  content: "";
  display: block;
  clear: both;
}

/* Compact post-item (year / tag pages, "Earlier" section) */
.post-item-compact {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 28px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--rule-soft);
  align-items: baseline;
}
.post-item-compact .post-date {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.post-item-compact h3.post-title {
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.post-item-compact h3.post-title a { color: var(--ink); }
.post-item-compact h3.post-title a:hover { color: var(--ochre); }

/* ============================================================================
   Single post page
   ============================================================================ */

.post-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 32px 96px;
}
.post-page .post-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.post-page .post-meta time {
  font-family: var(--display);
  font-style: italic;
  font-size: 24px;
  color: var(--ink);
  text-transform: none;
  letter-spacing: -0.01em;
  line-height: 1;
}
.post-page .post-meta .bullet { color: var(--rule-soft); }
.post-page h1.post-title {
  font-family: var(--display);
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  font-weight: 400;
}
.post-page h1.post-title em { font-style: italic; color: var(--ochre); }
.post-page .post-dek {
  font-family: var(--display);
  font-style: italic;
  font-size: 24px;
  line-height: 1.35;
  color: var(--ink-2);
  margin: 0 0 24px;
}
.post-page .post-byline {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 40px;
  padding: 12px 0;
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}
.post-page .post-byline a { color: var(--ink-3); }
.post-page .post-byline a:hover { color: var(--ochre); }
.post-page .post-prose {
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink-2);
  text-wrap: pretty;
}
.post-page .post-prose p { margin: 0 0 1.4em; }
.post-page .post-prose p em { color: var(--ink); }
.post-page .post-prose h2 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 32px;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 2em 0 0.6em;
}
.post-page .post-prose h3 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ochre);
  margin: 2em 0 0.6em;
}
.post-page .post-prose a {
  color: var(--ink);
  border-bottom: 1px solid var(--ochre);
}
.post-page .post-prose a:hover { color: var(--ochre); }
.post-page .post-prose blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--ochre);
  font-style: italic;
  color: var(--ink);
}
.post-page .post-prose img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--rule-soft);
}
.post-page .post-prose pre {
  background: var(--paper-2);
  border: 1px solid var(--rule-soft);
  padding: 16px 20px;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.5;
  overflow-x: auto;
}
.post-page .post-prose code {
  font-family: var(--mono);
  font-size: 0.92em;
  background: var(--paper-2);
  padding: 1px 5px;
  border: 1px solid var(--rule-soft);
}
.post-page .post-prose pre code { background: none; border: 0; padding: 0; }

/* ============================================================================
   Sidebar (home / archive layouts)
   ============================================================================ */

.sidebar { font-family: var(--serif); }
.sidebar h1, .sidebar h2, .sidebar h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ochre);
  margin: 0 0 12px;
  font-weight: 500;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--rule-soft);
}
.sidebar h2, .sidebar h4 { margin-top: 32px; }
.sidebar ul { list-style: none; padding: 0; margin: 0; font-family: var(--mono); font-size: 12px; }
.sidebar li {
  padding: 6px 0;
  border-bottom: 1px dotted var(--rule-soft);
  color: var(--ink-2);
  letter-spacing: 0.04em;
}
.sidebar li a {
  color: var(--ink-2);
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
}
.sidebar li a:hover { color: var(--ochre); }
.sidebar li .meta,
.sidebar li .num { color: var(--ink-4); font-feature-settings: "tnum" 1; }
.sidebar p {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0 0 12px;
}

/* ============================================================================
   Tag cloud
   ============================================================================ */

.tag-cloud {
  line-height: 1.7;
  max-width: 52em;
  font-family: var(--display);
}
.tag-cloud a {
  margin-right: 0.65em;
  color: var(--ink-2);
  font-style: italic;
  font-size: 28px;
  transition: color .15s;
}
.tag-cloud a:hover { color: var(--ochre); }

/* ============================================================================
   Mention / talk list item
   ============================================================================ */

.mention-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px dashed var(--rule-soft);
  align-items: baseline;
}
.mention-item.feat {
  padding: 32px 0 36px;
  border-bottom: 2px solid var(--ink);
}
.mention-item .mention-stamp {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  text-transform: uppercase;
  line-height: 1.55;
  border-left: 2px solid var(--ochre);
  padding-left: 12px;
}
.mention-item .mention-stamp .day {
  display: block;
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
  text-transform: none;
  font-weight: 400;
}
.mention-item .mention-stamp .kind {
  display: block;
  color: var(--teal);
  margin-top: 6px;
  font-size: 10px;
}
.mention-item .mention-source {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 6px;
}
.mention-item .mention-source .with {
  color: var(--ink-2);
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
}
.mention-item h3.mention-title {
  font-family: var(--display);
  font-style: italic;
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 10px;
  letter-spacing: -0.015em;
  line-height: 1.18;
  max-width: 28ch;
}
.mention-item.feat h3.mention-title { font-size: 36px; max-width: 24ch; }
.mention-item h3.mention-title a { color: var(--ink); }
.mention-item h3.mention-title a:hover { color: var(--ochre); }
.mention-item blockquote.pull {
  margin: 10px 0 12px;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--ochre);
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  line-height: 1.4;
  color: var(--ink);
  max-width: 52ch;
}
.mention-item .mention-summary {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 60ch;
}
.mention-item .mention-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.mention-item .mention-topics span,
.mention-item .mention-topics a {
  background: var(--paper-2);
  padding: 3px 8px;
  border: 1px solid var(--rule-soft);
  color: var(--ink-3);
}
.mention-item .mention-topics a:hover { color: var(--ochre); border-color: var(--ochre); }
.mention-item .mention-responses {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--teal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 8px;
}

/* Mention / talk detail page */
.mention-detail .back {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 20px;
}
.mention-detail .back a { color: var(--ink-3); border-bottom: 1px dotted var(--rule-soft); }
.mention-detail .back a:hover { color: var(--ochre); }
.mention-detail .meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.mention-detail .meta .bullet { color: var(--rule-soft); }
.mention-detail h1 {
  font-family: var(--display);
  font-size: 56px;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 28px;
  max-width: 22ch;
}
.mention-detail h1 em { font-style: italic; color: var(--ochre); }
.mention-detail .pull {
  font-family: var(--display);
  font-style: italic;
  font-size: 28px;
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 28px;
  padding: 16px 0 16px 24px;
  border-left: 3px solid var(--ochre);
  max-width: 28em;
}
.mention-detail .embed {
  background: var(--paper-2);
  border: 1px solid var(--rule-soft);
  aspect-ratio: 16 / 9;
  margin: 0 0 28px;
  position: relative;
  overflow: hidden;
}
.mention-detail .embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.mention-detail .summary {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 28px;
  max-width: 38em;
}
.mention-detail .actions {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  display: flex;
  gap: 28px;
  padding: 16px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--rule-soft);
  margin: 28px 0;
  flex-wrap: wrap;
}
.mention-detail .actions a { color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.mention-detail .actions a:hover { color: var(--ochre); border-color: var(--ochre); }
.mention-detail .topics-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.mention-detail .topics-row span,
.mention-detail .topics-row a {
  background: var(--paper-2);
  border: 1px solid var(--rule-soft);
  padding: 4px 10px;
  color: var(--ink-3);
}
.mention-detail .topics-row a:hover { color: var(--ochre); border-color: var(--ochre); }
.mention-detail .children { margin-top: 56px; }
.mention-detail .children h2 {
  font-family: var(--display);
  font-style: italic;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--ink);
}
.mention-detail .children .subhead {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-bottom: 24px;
}

/* ============================================================================
   Linkblog
   ============================================================================ */

.linkblog-list { display: block; }
.linkblog-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px dashed var(--rule-soft);
  align-items: baseline;
}
.linkblog-item .linkblog-date {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  text-transform: uppercase;
  border-left: 2px solid var(--ochre);
  padding-left: 12px;
  align-self: start;
}
.linkblog-item-title {
  font-family: var(--display);
  font-style: italic;
  font-size: 26px;
  font-weight: 400;
  margin: 0 0 10px;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.linkblog-item-title a { color: var(--ink); }
.linkblog-item-title a::after {
  content: " ↗";
  color: var(--ochre);
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.7em;
}
.linkblog-item-title a:hover { color: var(--ochre); }
.linkblog-desc {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 60ch;
  margin-bottom: 8px;
}
.linkblog-desc p { margin: 0 0 0.6em; }
.linkblog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.linkblog-tag {
  background: var(--paper-2);
  padding: 3px 8px;
  border: 1px solid var(--rule-soft);
  color: var(--ink-3);
}
.linkblog-tag:hover { color: var(--ochre); border-color: var(--ochre); }

/* ============================================================================
   Agent Blog (releases)
   ============================================================================ */

.agent-blog-disclaimer {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid var(--teal);
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 32px;
}
.agent-blog-disclaimer::before { content: "⚙"; font-size: 14px; }

/* ============================================================================
   Year archive
   ============================================================================ */

.year-archive-page .year-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}
.year-archive-page .year-nav-link {
  color: var(--ink);
  border-bottom: 1px solid var(--rule-soft);
  padding-bottom: 2px;
}
.year-archive-page .year-nav-link:hover { color: var(--ochre); border-color: var(--ochre); }
.year-archive-page .year-nav-placeholder { color: var(--ink-4); }
.year-archive-page .month-heading {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ochre);
  border-bottom: 1px solid var(--rule-soft);
  padding-bottom: 8px;
  margin: 40px 0 8px;
  font-weight: 500;
}
.year-archive-page .archive-posts-list .month-posts:first-of-type ~ .month-heading {
  margin-top: 40px;
}

.archive-page .archive-years-simple-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule-soft);
}
.archive-page .archive-year-simple-item {
  border-bottom: 1px solid var(--rule-soft);
  border-right: 1px solid var(--rule-soft);
}
.archive-page .archive-year-simple-link {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.archive-page .archive-year-simple-name {
  font-family: var(--display);
  font-size: 22px;
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.archive-page .archive-year-simple-count {
  color: var(--ink-3);
  font-feature-settings: "tnum" 1;
}
.archive-page .archive-year-simple-link:hover .archive-year-simple-name { color: var(--ochre); }

/* ============================================================================
   404
   ============================================================================ */

.notfound-page {
  padding: 96px 56px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.notfound-page .glyph {
  font-family: var(--display);
  font-style: italic;
  font-size: 220px;
  line-height: 0.85;
  color: var(--ochre);
  margin: 0 0 16px;
  letter-spacing: -0.04em;
}
.notfound-page h1 {
  font-family: var(--display);
  font-size: 48px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.notfound-page h1 em { font-style: italic; }
.notfound-page p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 auto 28px;
  max-width: 32em;
}
.notfound-page .ascii {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  white-space: pre;
  margin: 32px 0;
  line-height: 1.4;
}
.notfound-page .actions {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.notfound-page .actions a {
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.notfound-page .actions a:hover { color: var(--ochre); border-color: var(--ochre); }

/* ============================================================================
   "Page" layout (about, etc.) — narrow, prose-friendly
   ============================================================================ */

.l-static {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 32px 96px;
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink-2);
  text-wrap: pretty;
}
.l-static h1 {
  font-family: var(--display);
  font-size: 64px;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 0 0 24px;
  color: var(--ink);
}
.l-static h1 em { font-style: italic; color: var(--ochre); }
.l-static blockquote {
  font-family: var(--display);
  font-style: italic;
  font-size: 28px;
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 28px;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--ochre);
  max-width: 28em;
}
.l-static h2 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 32px;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 2em 0 0.6em;
}
.l-static p { margin: 0 0 1.2em; }
.l-static a { color: var(--ink); border-bottom: 1px solid var(--ochre); }
.l-static a:hover { color: var(--ochre); }
.l-static ul { padding-left: 0; list-style: none; }
.l-static ul li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--rule-soft);
}
.l-static ul li strong {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1em;
  color: var(--ink);
}

/* ============================================================================
   Page-title (default for layout/home pages)
   ============================================================================ */

.page-title {
  font-family: var(--display);
  font-size: 64px;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 0 0 32px;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 18px;
}
.page-title em { font-style: italic; color: var(--ochre); }
.page-title .page-count {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  text-transform: uppercase;
  font-style: normal;
}

/* ============================================================================
   Section wrappers
   ============================================================================ */

.post-section { margin-bottom: 56px; }
.post-section .section-header {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin: 0 0 24px;
}
.post-section .section-header h2 {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.post-section .section-header h2::after {
  content: " ~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/";
  font-family: var(--mono);
  font-size: 14px;
  font-style: normal;
  color: var(--ochre);
  letter-spacing: 0.15em;
  margin-left: 18px;
}

.view-all-link-wrapper {
  margin-top: 48px;
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.view-all-link {
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 10px 20px;
  display: inline-block;
}
.view-all-link:hover { background: var(--ink); color: var(--paper); }

/* ============================================================================
   Responsive
   ============================================================================ */

@media (max-width: 900px) {
  .site-head { padding: 24px 24px 14px; flex-direction: column; gap: 16px; }
  .site-foot { padding: 24px 24px 32px; }
  .home-hero { grid-template-columns: 1fr; padding: 32px 24px; gap: 32px; }
  .home-hero h1 { font-size: 56px; }
  .home-portrait { max-width: 240px; }
  .l-home, .l-twocol { grid-template-columns: 1fr; gap: 32px; padding: 24px; }
  .l-page { padding: 24px; }
  .page-head { grid-template-columns: 1fr; }
  .page-head h1 { font-size: 56px; }
  .page-head .stat { text-align: left; }
  .post-item, .post-item-compact, .mention-item, .linkblog-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .post-item .post-image { float: none; width: 100%; height: auto; max-height: 200px; margin: 0 0 12px; }
  .post-page { padding: 32px 20px 64px; }
  .post-page h1.post-title { font-size: 40px; }
  .notfound-page .glyph { font-size: 140px; }
}

/* Skip-to-main accessibility link */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.visually-hidden:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 12px;
}
