@font-face {
  font-family: Inter;
  src: url("/assets/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f4f1e8;
  --raised: #eae6d9;
  --ink: #1f241f;
  --body: #4b524a;
  --muted: #656c61;
  --line: #dbd6c6;
  --hair: #e4dfd1;
  --accent: #3d6b4c;
  --sans: Inter, system-ui, sans-serif;
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 64px;
  --label: 500 10px/1.6 var(--sans);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #16191a;
  --raised: #1d2122;
  --ink: #e6ebe4;
  --body: #b1bab0;
  --muted: #8b948a;
  --line: #2f3835;
  --hair: #262e2b;
  --accent: #9fc9a6;
}
* {
  box-sizing: border-box;
}
html {
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--s5);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font: 14px/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
}
p + p {
  margin-top: var(--s3);
}
a {
  color: inherit;
  text-decoration-color: var(--line);
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
a:hover {
  color: var(--accent);
  text-decoration-color: currentColor;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}
::selection {
  color: var(--ink);
  background: color-mix(in srgb, var(--accent) 20%, var(--paper));
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: fixed;
  z-index: 5;
  left: var(--s3);
  top: -100px;
  background: var(--paper);
  padding: var(--s3);
}
.skip:focus {
  top: var(--s3);
}
.section-heading h2,
.rule h2,
.chapter > h2 {
  font: var(--label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.site {
  width: min(640px, calc(100% - 48px));
  margin: 0 auto;
  padding: var(--s7) 0 var(--s6);
}
.masthead {
  margin: 0;
}
.masthead img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: 50% 42%;
}
.masthead figcaption {
  font: 9px/1.7 var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
  padding: var(--s2) 0 0;
}
.masthead figcaption a {
  text-decoration: none;
}
.topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3) var(--s5);
  margin-top: var(--s4);
  padding: var(--s3) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.site-name {
  font: 600 16px/1.4 var(--sans);
  color: var(--ink);
  letter-spacing: -0.2px;
  text-decoration: none;
}
.topbar nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s5);
  margin-left: auto;
}
.topbar nav a {
  position: relative;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  padding: 2px 0;
}
.topbar nav a:hover {
  color: var(--ink);
}
.topbar nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
  box-shadow: inset 0 -1px var(--accent);
}
.theme-toggle {
  width: 30px;
  height: 30px;
  padding: 7px;
  margin: -4px -7px -4px 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.theme-toggle:hover {
  color: var(--ink);
}
.theme-toggle svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
}
.theme-toggle .sun {
  display: none;
}
:root[data-theme="dark"] .theme-toggle .sun {
  display: block;
}
:root[data-theme="dark"] .theme-toggle .moon {
  display: none;
}
main {
  width: 100%;
  padding-top: var(--s6);
}
main > :first-child,
main > .sr-only + * {
  margin-top: 0;
}
.site-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s2) var(--s5);
  margin-top: var(--s8);
  padding-top: var(--s5);
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.site-foot a {
  text-decoration-color: var(--line);
}
.local-life {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--s2);
}
.local-city,
.local-time,
.local-weather {
  display: inline;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.local-time::before,
.local-weather::before {
  content: "\00b7\00a0";
  color: var(--line);
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--s3);
}
.lede p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--body);
}
.lede p + p {
  margin-top: var(--s4);
}
.section-heading,
.rule {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s4);
  margin: var(--s7) 0 0;
  padding-bottom: var(--s3);
  border-bottom: 1px solid var(--line);
}
.section-heading > a {
  font: var(--label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}
.section-heading > a:hover {
  color: var(--accent);
}
a.entry {
  display: block;
  padding: var(--s4) 0;
  text-decoration: none;
  border-bottom: 1px solid var(--hair);
}
.entry-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s4);
}
.entry-line h3,
.work-samples h3,
.entry-body > h3,
.pair h3 {
  font: 500 14.5px/1.55 var(--sans);
  letter-spacing: -0.15px;
}
.entry-line h3 {
  overflow-wrap: anywhere;
}
.entry-where {
  flex: none;
  font: 9px/1.5 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.entry-where::after {
  content: " ↗";
  letter-spacing: 0;
}
.entry-note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: var(--s1);
}
a.entry:hover h3 {
  color: var(--accent);
}
a.entry:hover .entry-where {
  color: var(--accent);
}
.home-writing .entry {
  padding: var(--s3) 0;
}
.home-writing .entry:last-child,
.timeline li:last-child {
  border-bottom: 0;
}
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}
.timeline li {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: var(--s4);
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--hair);
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
.timeline-when,
.entry-num {
  font: 10px/1.9 var(--sans);
  letter-spacing: 0.08em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.timeline-who {
  color: var(--ink);
  font-weight: 500;
}
.home-work > p {
  margin-top: var(--s5);
  font-size: 13px;
}
.writing-controls {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--paper);
  margin: 0 0 var(--s6);
  padding-top: var(--s2);
}
.topics {
  display: flex;
  flex-wrap: wrap;
  gap: 2px var(--s5);
  padding-bottom: var(--s4);
  border-bottom: 1px solid var(--line);
}
.topics a {
  display: inline-flex;
  gap: var(--s2);
  align-items: baseline;
  min-height: 34px;
  padding: 6px 0;
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
}
.topics a span {
  font-size: 9px;
  font-variant-numeric: tabular-nums;
  opacity: 0.8;
}
.topics a:hover {
  color: var(--ink);
}
.topics a[aria-current="true"] {
  color: var(--ink);
  font-weight: 500;
  box-shadow: inset 0 -1px var(--ink);
}
.search-control {
  display: flex;
  align-items: center;
  gap: var(--s2);
  width: 100%;
  margin-top: var(--s3);
  padding: 0 var(--s3);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--raised);
}
.search-control svg {
  flex: none;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.5;
  stroke-linecap: round;
}
.search-control input {
  min-width: 0;
  width: 100%;
  height: 38px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 13px var(--sans);
  padding: 6px 0;
}
.search-control input::placeholder {
  color: var(--muted);
  opacity: 1;
}
.search-control:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 14%, transparent);
}
.search-control input:focus-visible {
  outline: none;
}
.chapter {
  margin-bottom: var(--s7);
}
.chapter > h2 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s4);
  padding-bottom: var(--s3);
  border-bottom: 1px solid var(--line);
}
.chapter > h2 span {
  font-weight: 400;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}
.chapter .entry {
  padding: var(--s3) 0;
}
.chapter .entry:last-of-type {
  border-bottom: 0;
}
.result-status {
  color: var(--muted);
  font: var(--label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 var(--s5);
}
.empty-state {
  padding: var(--s4) 0 var(--s7);
}
.empty-state h2 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.4px;
}
.empty-state p {
  margin-top: var(--s2);
  color: var(--muted);
  font-size: 13px;
}
.reset-writing {
  margin-top: var(--s4);
  border: 0;
  background: none;
  padding: var(--s2) 0;
  color: var(--accent);
  font: 12px var(--sans);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.work-samples article {
  padding: var(--s5) 0;
  border-bottom: 1px solid var(--hair);
}
.work-samples article:last-child {
  border-bottom: 0;
}
.work-samples p {
  font-size: 13px;
  color: var(--muted);
  margin: var(--s2) 0 var(--s3);
}
.work-samples a {
  font-size: 12px;
}
.sample-links {
  display: flex;
  gap: var(--s5);
  flex-wrap: wrap;
}
div.entry {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: var(--s4);
  padding: var(--s5) 0;
  border-bottom: 1px solid var(--hair);
}
div.entry:last-of-type {
  border-bottom: 0;
}
.entry-body > p,
.pair p {
  margin-top: var(--s3);
  font-size: 13px;
  color: var(--muted);
}
.entry-body .role-what {
  font: 11px/1.7 var(--sans);
  color: var(--muted);
  margin-top: var(--s1);
}
.entry-body > h3 .role-what {
  display: inline;
  font-size: 11px;
}
.pair {
  display: grid;
  gap: var(--s5);
  margin-top: var(--s5);
}
.ledger {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--s4);
  font-size: 13px;
}
.ledger th {
  font: var(--label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  font-weight: 500;
  padding-bottom: var(--s2);
  border-bottom: 1px solid var(--line);
}
.ledger td {
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--hair);
  vertical-align: baseline;
}
.ledger tr:last-child td {
  border-bottom: 0;
}
.ledger a {
  color: var(--ink);
  text-decoration: none;
}
.ledger a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.ledger .handle {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.ledger .handle a {
  color: var(--muted);
}
.ledger .handle::before {
  content: "(";
}
.ledger .handle::after {
  content: ")";
}
.ledger .num {
  text-align: right;
  color: var(--ink);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ledger .when {
  text-align: right;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.footnote {
  margin-top: var(--s4);
  font-size: 12px;
  color: var(--muted);
}
.footnote a {
  color: var(--body);
}
.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0 var(--s6);
}
.link-list li {
  border-bottom: 1px solid var(--hair);
}
.link-list a {
  display: block;
  padding: var(--s3) 0;
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
}
.link-list a span {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.link-list a:hover {
  color: var(--accent);
}
.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--s2) var(--s4);
  margin: 0;
  padding: 0 0 var(--s5);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.cta a {
  color: var(--ink);
}
.section-heading + *,
.rule + * {
  margin-top: var(--s5);
}
.work-samples > article:first-child {
  padding-top: 0;
}
.section-heading + a.entry,
.rule + div.entry {
  padding-top: 0;
}
.section-heading + .link-list,
.rule + .link-list,
.section-heading + .timeline,
.rule + .timeline {
  margin-top: var(--s3);
}

@media (max-width: 700px) {
  .site {
    width: calc(100% - 40px);
    padding: var(--s5) 0 var(--s5);
  }
  .masthead img {
    height: 180px;
  }
  .topbar {
    gap: var(--s3);
  }
  .topbar nav {
    gap: var(--s4);
    width: 100%;
    margin-left: 0;
    order: 3;
  }
  .site-name {
    font-size: 17px;
  }
  .theme-toggle {
    margin-left: auto;
  }
  h1 {
    font-size: 26px;
    letter-spacing: -0.6px;
  }
  .writing-controls {
    position: static;
  }
  .topics {
    gap: 2px var(--s4);
  }
  .entry-line {
    display: block;
  }
  .entry-where {
    display: block;
    margin-bottom: 2px;
  }
  .timeline li,
  div.entry {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: var(--s3);
  }
  .site-foot {
    gap: var(--s2) var(--s4);
  }
}
@media (max-width: 460px) {
  .timeline li,
  div.entry {
    display: block;
  }
  .timeline-when,
  .entry-num {
    display: block;
    margin-bottom: var(--s1);
  }
}
@media print {
  :root,
  :root[data-theme="dark"] {
    --paper: #fff;
    --raised: #fff;
    --ink: #000;
    --body: #222;
    --muted: #555;
    --line: #ccc;
    --hair: #e5e5e5;
    --accent: #000;
  }
  .topbar,
  .writing-controls,
  .site-foot,
  .masthead {
    display: none;
  }
  .site {
    width: 100%;
    padding: 0;
  }
  main {
    padding-top: 0;
  }
  .entry,
  .work-samples article {
    break-inside: avoid;
  }
}
