:root {
  --bg: #0b0f0e;
  --text: #e7ebe6;
  --muted: #8a938c;
  --accent: #3e6b66;
  --accent-hover: #5a8f88;
  --line: color-mix(in srgb, var(--accent) 45%, transparent);
  --max: 40rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.04 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip {
  position: absolute; left: -999px; top: 0;
}
.skip:focus { left: 1rem; top: 1rem; background: var(--bg); padding: .5rem .75rem; z-index: 10; }
.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1.75rem 0 4.5rem;
}
header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .35rem 0 2.75rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: var(--text);
  letter-spacing: .18em;
  font-size: .72rem;
  font-weight: 500;
}
.brand:hover { color: var(--text); }
.mark { width: 18px; height: 18px; flex: none; }
nav {
  display: flex;
  gap: 1.35rem;
}
nav a {
  color: var(--muted);
  letter-spacing: .16em;
  font-size: .68rem;
  font-weight: 500;
  text-transform: uppercase;
}
nav a:hover,
nav a[aria-current="page"] { color: var(--text); }
.hero { padding: 1.5rem 0 3.25rem; }
.hero h1 {
  font-family: Literata, Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.15rem, 6vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 1.15rem;
}
.hero p {
  margin: 0;
  color: var(--muted);
  max-width: 28rem;
}
.page-head { padding: 0.25rem 0 2.5rem; }
.page-head h1 {
  font-family: Literata, Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.85rem, 5vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}
.page-head .lede {
  margin: 0;
  color: var(--muted);
  max-width: 28rem;
}
.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0 0 2.4rem;
}
section { padding: 0 0 3rem; }
.kicker {
  color: var(--accent);
  letter-spacing: .2em;
  font-size: .68rem;
  font-weight: 500;
  text-transform: uppercase;
  margin: 0 0 1.4rem;
}
article.post {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem 1.5rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}
article.post:last-of-type { border-bottom: 1px solid var(--line); }
.meta {
  color: var(--accent);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding-top: .45rem;
}
article.post h2 {
  font-family: Literata, Georgia, serif;
  font-weight: 500;
  font-size: 1.35rem;
  margin: 0 0 .25rem;
  letter-spacing: -0.015em;
}
article.post h2 a { color: var(--text); }
article.post h2 a:hover { color: var(--accent-hover); }
article.post p { margin: 0; color: var(--muted); font-size: .98rem; }
.about p { margin: 0 0 1rem; color: var(--muted); max-width: 34rem; }
.about p:last-child { margin-bottom: 0; }
.contact a.email {
  font-family: Literata, Georgia, serif;
  font-size: 1.5rem;
  color: var(--accent);
}
.contact .note {
  margin: .7rem 0 0;
  color: var(--muted);
  font-size: .9rem;
}
article.essay { padding-bottom: 1rem; }
article.essay .meta {
  display: block;
  padding-top: 0;
  margin: 0 0 1.35rem;
}
article.essay h1 {
  font-family: Literata, Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.85rem, 5vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.55rem;
}
article.essay .body p {
  margin: 0 0 1.2rem;
  max-width: 36rem;
}
article.essay .body p:last-child { margin-bottom: 0; }
figure.essay-image {
  margin: 1.35rem 0 1.6rem;
  max-width: 36rem;
}
figure.essay-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}
.back {
  display: inline-block;
  margin-top: 2.25rem;
  color: var(--muted);
  letter-spacing: .14em;
  font-size: .68rem;
  font-weight: 500;
  text-transform: uppercase;
}
.back:hover { color: var(--text); }
footer.site {
  padding-top: 1.5rem;
  color: var(--muted);
  font-size: .8rem;
  letter-spacing: .08em;
}
@media (max-width: 640px) {
  header.site { flex-direction: column; align-items: flex-start; gap: 1rem; padding-bottom: 2rem; }
  article.post { grid-template-columns: 1fr; gap: .3rem; }
  .meta { padding-top: 0; }
}
