/*
Theme Name: Larkin Mill 3bf3
Version: 1.0
*/
:root {
  --runf4a6-accent: #24497a;
  --runf4a6-ink: #15171e;
  --runf4a6-paper: #fdfdfc;
  --runf4a6-radius: 0;
  --runf4a6-font: "Iowan Old Style", Georgia, serif;
  --runf4a6-muted: color-mix(in srgb, var(--runf4a6-ink) 62%, var(--runf4a6-paper));
  --runf4a6-rule: color-mix(in srgb, var(--runf4a6-ink) 14%, var(--runf4a6-paper));
  --runf4a6-measure: 68ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--runf4a6-paper);
  color: var(--runf4a6-ink);
  font-family: var(--runf4a6-font);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* Keyboard users need a way past the nav; visible only when focused. */
.runf4a6-skip {
  position: absolute; left: -9999px;
}
.runf4a6-skip:focus {
  left: 1rem; top: 1rem; z-index: 10;
  background: var(--runf4a6-paper); padding: .6rem 1rem;
}

a { color: var(--runf4a6-accent); text-underline-offset: .16em; }
a:hover { text-decoration: none; }

img, video, iframe { max-width: 100%; height: auto; }

.runf4a6-masthead, .runf4a6-top,
.runf4a6-main, .runf4a6-foot {
  max-width: var(--runf4a6-measure);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.runf4a6-masthead, .runf4a6-top {
  padding-block: 2rem 1rem;
  border-bottom: 1px solid var(--runf4a6-rule);
}
.runf4a6-brand {
  margin: 0; font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em;
}
.runf4a6-brand a { color: inherit; text-decoration: none; }
.runf4a6-tagline { margin: .25rem 0 0; color: var(--runf4a6-muted); font-size: .95rem; }

.runf4a6-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.1rem; margin: .75rem 0 0; padding: 0; }
.runf4a6-nav a { text-decoration: none; font-size: .95rem; }

.runf4a6-main { padding-block: 2.5rem 3rem; }

h1, h2, h3 { line-height: 1.25; letter-spacing: -.015em; }
h1 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.4rem); margin: 0 0 .5rem; }
h2 { font-size: 1.35rem; margin: 0 0 .35rem; }

.runf4a6-meta, .runf4a6-byline, .runf4a6-kicker {
  color: var(--runf4a6-muted); font-size: .9rem; margin: 0 0 1rem;
}
.runf4a6-byline .runf4a6-author { font-weight: 600; }
.runf4a6-byline time::before { content: " · "; }

/* Long-form reading: generous spacing, clear hierarchy, readable tables. */
.runf4a6-prose > * + * { margin-top: 1.15em; }
.runf4a6-prose h2 { margin-top: 2.2em; }
.runf4a6-prose h3 { margin-top: 1.8em; font-size: 1.1rem; }
.runf4a6-prose ul, .runf4a6-prose ol { padding-left: 1.3em; }
.runf4a6-prose li + li { margin-top: .4em; }
.runf4a6-prose blockquote {
  margin-inline: 0; padding-left: 1.1em;
  border-left: 3px solid var(--runf4a6-accent);
  color: var(--runf4a6-muted);
}
.runf4a6-prose code {
  font-size: .92em;
  background: color-mix(in srgb, var(--runf4a6-ink) 7%, var(--runf4a6-paper));
  padding: .12em .35em; border-radius: var(--runf4a6-radius);
}
.runf4a6-prose pre { overflow-x: auto; padding: 1rem; border-radius: var(--runf4a6-radius);
  background: color-mix(in srgb, var(--runf4a6-ink) 7%, var(--runf4a6-paper)); }
.runf4a6-prose pre code { background: none; padding: 0; }
.runf4a6-prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.runf4a6-prose th, .runf4a6-prose td {
  text-align: left; padding: .55rem .7rem; border-bottom: 1px solid var(--runf4a6-rule);
}

.runf4a6-feed, .runf4a6-list { display: grid; gap: 2.2rem; }
.runf4a6-index { list-style: none; padding: 0; margin: 0; display: grid; gap: 2rem; }
.runf4a6-card, .runf4a6-entry, .runf4a6-item, .runf4a6-block {
  border-radius: var(--runf4a6-radius);
}
.runf4a6-card-title a, .runf4a6-item-link { text-decoration: none; }
.runf4a6-card-title a:hover, .runf4a6-item-link:hover { text-decoration: underline; }
.runf4a6-excerpt { color: var(--runf4a6-muted); }
.runf4a6-excerpt p { margin: .4rem 0 0; }

.runf4a6-pager ul, .runf4a6-adjacent {
  display: flex; flex-wrap: wrap; gap: 1rem; list-style: none;
  padding: 0; margin-top: 3rem; font-size: .95rem;
}
.runf4a6-adjacent { justify-content: space-between; border-top: 1px solid var(--runf4a6-rule); padding-top: 1.5rem; }

.runf4a6-foot {
  border-top: 1px solid var(--runf4a6-rule);
  padding-block: 1.5rem 3rem;
  color: var(--runf4a6-muted); font-size: .9rem;
}
.runf4a6-footnav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem; padding: 0; margin: 0 0 .6rem; }
.runf4a6-copy { margin: 0; }

.runf4a6-empty { color: var(--runf4a6-muted); }

@media (prefers-color-scheme: dark) {
  :root {
    --runf4a6-paper: #1a1714;
    --runf4a6-ink: #e9eaec;
    --runf4a6-accent: #81a7da;
  }
}
