@font-face {
  font-family: "Alegreya";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/alegreya-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Alegreya";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/alegreya-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Alegreya";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/alegreya-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Alegreya";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/alegreya-latin-ext-400-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Alegreya";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/alegreya-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Alegreya";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/alegreya-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/space-mono-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/space-mono-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/space-mono-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/space-mono-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #E3DBCC;
  --paper-2: #D8CFBD;
  --ink: #22201F;
  --rule: #C9BDA9;
  --soft: #625849;
  --serif: "Alegreya", Georgia, serif;
  --mono: "Space Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 14.5px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

body { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
img { display: block; max-width: 100%; height: auto; }
code { font-family: var(--mono); font-size: 0.93em; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; margin: 0; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--ink); color: var(--paper); padding: 6px 12px; z-index: 1; }

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 40px;
}
.logo img { width: 92px; height: auto; }
nav { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 13px; }
nav a, .site-footer a {
  text-decoration: none;
  padding-bottom: 9px;
  background: no-repeat left bottom / 100% 6px;
}
nav a:hover, nav a[aria-current="page"], .site-footer a:hover {
  background-image: url("images/underline.png");
}
.site-footer a { padding-bottom: 6px; background-size: 100% 5px; }

main {
  max-width: 808px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}
main.home { max-width: 618px; }

.hero { width: 330px; margin: 0 auto 56px; }

.home h1 {
  margin: 0 0 32px;
  font-size: 60px;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-align: center;
}
.home .prose p { text-align: justify; }

.prose p { margin: 0 0 22px; }
.prose strong { font-weight: 700; }

.page-head { margin-bottom: 56px; }
.page-head h1 { font-size: 44px; line-height: 1.1; }
.page-head .mark { width: 96px; margin-bottom: 24px; }
.lede { margin: 16px 0 0; font-size: 16px; line-height: 1.55; color: var(--soft); max-width: 600px; }
.kicker { margin: 0 0 16px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); }
.kicker a { text-decoration: none; }
.more { margin: 24px 0 0; font-size: 13px; }

.block { margin-top: 96px; }
.block > h2 { font-size: 32px; line-height: 1.15; margin-bottom: 24px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 0; }
.btn {
  display: inline-block;
  padding: 10px 20px;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 13.5px;
  text-decoration: none;
}
.btn:hover { text-decoration: none; background: #000; border-color: #000; }
.btn-secondary { background: transparent; color: var(--ink); }
.btn-secondary:hover { background: var(--paper-2); border-color: var(--ink); }
.btn-inverse { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-inverse:hover { background: #fff; border-color: #fff; }

.rows, .projects, .steps, .team { list-style: none; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: 110px 1fr; gap: 4px 24px; padding: 18px 0; border-top: 1px solid var(--rule); }
.row:last-child { border-bottom: 1px solid var(--rule); }
.row time { font-size: 12px; color: var(--soft); padding-top: 4px; }
.row-title { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.2; text-decoration: none; }
.row-title:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.row p { grid-column: 2; margin: 0; font-size: 13px; color: var(--soft); }

.project { display: grid; grid-template-columns: 72px 1fr; gap: 24px; padding: 24px 0; border-top: 1px solid var(--rule); }
.project:last-child { border-bottom: 1px solid var(--rule); }
.project h3 { font-size: 26px; line-height: 1.1; }
.project h3 a { text-decoration: none; }
.project p { margin: 6px 0 0; }
.project .links { display: flex; gap: 20px; font-size: 13px; }

.steps { counter-reset: step; }
.steps li { counter-increment: step; padding: 24px 0; border-top: 1px solid var(--rule); }
.steps h3 { font-size: 22px; }
.steps h3::before { content: counter(step) ". "; }
.steps p { margin: 6px 0 12px; }

.code {
  margin: 0;
  padding: 18px 20px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13.5px;
  line-height: 1.55;
  overflow-x: auto;
}

.band { margin: 0 0 56px; padding: 32px; background: var(--ink); color: var(--paper); }
.feed p { margin: 0; padding: 6px 0; font-size: 13px; border-bottom: 1px solid #4A4236; }
.feed span { display: inline-block; width: 80px; color: #B8AC99; }
.feed code { color: var(--paper); }
.tag { display: inline-block; margin-left: 8px; padding: 0 6px; border: 1px solid currentColor; font-style: normal; font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; }
.tag-ink { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.funding { margin-top: 96px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 12px; color: var(--soft); }
.funding p { margin: 0 0 8px; }

.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 40px 24px; margin-top: 56px; }
.portrait { width: 160px; height: 160px; filter: grayscale(1); mix-blend-mode: multiply; }
.portrait.placeholder { display: flex; align-items: center; justify-content: center; background: var(--paper-2); font-family: var(--serif); font-size: 40px; color: var(--soft); filter: none; mix-blend-mode: normal; }
.team h3 { margin-top: 12px; font-size: 20px; }
.team p { margin: 2px 0 0; font-size: 12px; color: var(--soft); }

.post h1 { font-size: 44px; line-height: 1.1; }
.longform { font-family: var(--serif); font-size: 18px; line-height: 1.5; max-width: 640px; }

.facts { display: grid; grid-template-columns: 120px 1fr; gap: 12px 24px; margin: 0; }
.facts dt { color: var(--soft); font-size: 13px; }
.facts dd { margin: 0; }

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr repeat(var(--footer-cols, 4), 1fr);
  gap: 32px;
  padding: 40px;
  border-top: 1px solid var(--rule);
  font-size: 12.5px;
}
.site-footer h4 { font-family: var(--mono); font-weight: 400; font-size: 12px; color: var(--soft); margin-bottom: 10px; }
.site-footer a { display: table; margin-bottom: 2px; }
.footer-brand img { width: 64px; }
.footer-brand p { margin: 6px 0 0; color: var(--soft); }

@media (max-width: 720px) {
  .site-header { flex-direction: column; align-items: flex-start; padding: 20px 24px; }
  nav { gap: 6px 20px; }
  main { padding-top: 32px; }
  .hero { width: 240px; margin-bottom: 40px; }
  .home h1 { font-size: 36px; }
  .home .prose p { text-align: left; }
  .page-head h1, .post h1 { font-size: 32px; }
  .block { margin-top: 64px; }
  .block > h2 { font-size: 26px; }
  .row { grid-template-columns: 1fr; }
  .row p { grid-column: 1; }
  .project { grid-template-columns: 48px 1fr; gap: 16px; }
  .band { padding: 20px; margin-left: -24px; margin-right: -24px; }
  .feed span { width: 64px; }
  .team { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .portrait { width: 100%; height: auto; aspect-ratio: 1; }
  .site-footer { grid-template-columns: 1fr 1fr; padding: 32px 24px; }
  .footer-brand { grid-column: 1 / -1; }
}

.dev-logo { display: flex; align-items: baseline; gap: 2px; text-decoration: none; }
.dev-logo span { font-size: 15px; color: var(--soft); }
.tool { display: grid; grid-template-columns: 72px 1fr; gap: 32px; padding: 40px 0; border-top: 1px solid var(--rule); }
.tool:last-child { border-bottom: 1px solid var(--rule); }
.tool h2 { font-size: 32px; line-height: 1.15; }
.tool > div > p { margin: 8px 0 20px; }
.tool .mark { width: 72px; }
.tool-links { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; }
.tool-links a { font-family: var(--serif); font-weight: 500; font-size: 20px; }
.tool-links span { display: block; font-size: 12.5px; color: var(--soft); }
@media (max-width: 720px) {
  .tool { grid-template-columns: 1fr; gap: 16px; }
  .tool-links { grid-template-columns: 1fr; }
}

.site-footer { --footer-cols: 3; }

.site-header, .site-footer { text-transform: lowercase; }
