/* One stylesheet, system fonts, no client-side dependencies. */
:root {
  color-scheme: light;
  --paper: #f8f7f3;
  --ink: #292c28;
  --muted: #64665e;
  --line: #dcded5;
  --accent: #984a32;
  --soft: #eeeee6;
  --mono: ui-monospace, 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --serif: 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 1px; }
::selection { background: #e6d4bc; color: var(--ink); }
img, svg { max-width: 100%; height: auto; }
figure { margin: 2rem 0; }
figcaption { margin-top: .7rem; color: var(--muted); font: 12px/1.6 var(--mono); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.2; }
h1 { font: 400 clamp(2.15rem, 4.6vw, 3.15rem)/1.13 var(--serif); letter-spacing: -.035em; }
h2 { font-size: 1.2rem; font-weight: 500; }
h3 { font-size: 1.25rem; font-weight: 500; }
.site-shell { max-width: 1016px; margin: 0 auto; padding: 0 44px; }
.site-header { min-height: 105px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: .8rem; font: 600 16px var(--mono); letter-spacing: -.04em; text-decoration: none; }
.site-mark { color: var(--accent); font-size: 20px; letter-spacing: -.08em; }
nav { display: flex; gap: 1.75rem; }
.site-header nav a { padding: .5rem 0; color: var(--muted); text-decoration: none; font-size: 13px; }
.site-header nav a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: .65rem; }
main { min-height: 65vh; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 10; padding: .6rem 1rem; background: var(--ink); color: white; }
.skip-link:focus { top: .5rem; }
.introduction { padding: 57px 0 43px; max-width: 780px; }
.eyebrow { margin-bottom: 1rem; color: var(--muted); font: 10px/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.tiny-cross { color: var(--accent); margin-right: .5rem; font-size: 14px; }
.introduction h1 { margin-bottom: 1.5rem; }
.tagline { border-left: 2px solid var(--accent); padding-left: 1rem; margin-bottom: 1.5rem; }
.tagline p:first-child { margin-bottom: .1rem; font: italic 21px/1.4 var(--serif); }
.tagline p:last-child { margin: 0; color: var(--muted); font-size: 12px; font-style: italic; }
.intro-copy { max-width: 590px; margin: 0; font-size: 14px; line-height: 1.8; color: var(--muted); }
.home-section { margin-top: 1rem; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0 0 15px; border-bottom: 1px solid var(--line); }
.section-heading h2 { margin: 0; font: 500 13px/1.5 var(--sans); }
.section-number { display: inline-block; margin-right: .8rem; color: var(--accent); font: 10px var(--mono); }
.text-link { font-size: 12px; text-decoration: none; }
.text-link span { display: inline-block; margin-left: .4rem; color: var(--accent); }
.featured-project { display: grid; grid-template-columns: 1.2fr 1fr; border: 1px solid var(--line); margin: 23px 0 0; }
.featured-copy { padding: 30px; }
.featured-copy .eyebrow { font-size: 9px; letter-spacing: .06em; }
.dot { margin: 0 .4rem; }
.featured-copy h3 { font: 400 29px/1.18 var(--serif); letter-spacing: -.025em; margin-bottom: 1rem; }
.featured-copy h3 a { text-decoration: none; }
.featured-copy > p:not(.eyebrow) { font-size: 13px; line-height: 1.8; color: var(--muted); max-width: 340px; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tags span { padding: 3px 7px; background: var(--soft); border: 1px solid var(--line); color: var(--muted); font: 9px/1.5 var(--mono); }
.featured-link { display: inline-block; margin-top: 1.5rem; color: var(--accent); }
.bridge-diagram { display: flex; flex-direction: column; justify-content: center; margin: 0; padding: 25px; background: #f0f1e9; border-left: 1px solid var(--line); }
.diagram-label { margin-bottom: 1rem; font: 10px/1.5 var(--mono); color: var(--muted); }
.diagram-label span { color: var(--accent); margin-right: .4rem; }
.diagram-flow { width: min(100%, 205px); margin: 0 auto; text-align: center; }
.diagram-node { border: 1px solid #b7bdae; padding: 9px 12px; background: var(--paper); font: 11px/1.5 var(--mono); }
.diagram-node span { display: block; color: var(--muted); font-size: 9px; margin-top: 1px; }
.bridge-node { border-color: var(--accent); }
.diagram-connector { height: 23px; color: var(--muted); font: 17px/23px var(--mono); }
.bridge-diagram figcaption { font-size: 9px; text-align: center; margin-top: 1rem; margin-bottom: 0; }
.other-projects { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.other-projects a { padding: 18px 0; text-decoration: none; display: grid; grid-template-columns: 1fr auto; column-gap: 16px; font-size: 13px; }
.other-projects a:first-child { padding-right: 25px; }
.other-projects a + a { border-left: 1px solid var(--line); padding-left: 25px; }
.other-projects .small-meta { grid-column: 1; margin-top: 3px; font-family: var(--sans); font-size: 11px; }
.other-projects a > span:last-child { grid-column: 2; grid-row: 1; color: var(--accent); }
.latest-section { margin-top: 36px; }
.article-row { display: grid; grid-template-columns: 120px 1fr 20px; gap: 25px; border-bottom: 1px solid var(--line); padding: 25px 0; }
.article-row-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; font: 10px/1.5 var(--mono); color: var(--muted); padding-top: 4px; }
.article-row h3 { margin-bottom: .5rem; font: 400 23px/1.3 var(--serif); }
.article-row h3 a { text-decoration: none; }
.article-row p { font-size: 13px; color: var(--muted); margin-bottom: .4rem; }
.row-arrow { padding-top: 2px; color: var(--accent); text-decoration: none; }
.small-meta { font: 10px/1.6 var(--mono); color: var(--muted); }
.status-label { display: inline-block; background: #f1e7d9; color: #824126; padding: 3px 6px; font: 9px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.empty-state { padding: 24px 0; border-bottom: 1px solid var(--line); }
.empty-state p { max-width: 530px; margin-bottom: 0; color: var(--muted); font-size: 13px; }
.empty-state .empty-title { margin-bottom: .3rem; color: var(--ink); font: 400 22px/1.4 var(--serif); }
.margin-note { display: flex; align-items: center; gap: .8rem; color: var(--muted); margin: 32px 0 45px; }
.margin-note > span { color: var(--accent); }
.margin-note p { margin: 0; font: italic 13px/1.7 var(--serif); }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding: 22px 0 30px; margin-top: 55px; color: var(--muted); font: 10px/1.6 var(--mono); }
.footer-divider { margin: 0 .5rem; color: var(--accent); }
.site-footer > div { display: flex; gap: 1.5rem; }
.site-footer a { text-decoration: none; }
.page-heading { margin: 54px 0 42px; max-width: 660px; }
.page-heading h1 { margin-bottom: 1.1rem; }
.page-heading > p:not(.eyebrow) { color: var(--muted); font-size: 15px; }
.project-row { display: grid; grid-template-columns: 28px 1fr 20px; gap: 20px; padding: 27px 0; border-top: 1px solid var(--line); }
.project-row > .section-number { margin-top: 6px; }
.project-row .eyebrow { margin-bottom: .4rem; font-size: 9px; }
.project-row h2 { margin-bottom: .7rem; font: 400 26px/1.25 var(--serif); }
.project-row h2 a { text-decoration: none; }
.project-row p:last-child { font-size: 13px; margin-bottom: 0; color: var(--muted); }
.project-row:last-child { border-bottom: 1px solid var(--line); }
.project-page, .article-page { max-width: 700px; margin: 0 auto; }
.project-page .page-heading { max-width: none; }
.back-link { display: inline-block; color: var(--muted); font: 11px/1.6 var(--mono); text-decoration: none; margin-bottom: 2rem; }
.project-page .back-link { margin-bottom: 1.5rem; }
.article-heading { margin: 40px 0 28px; }
.article-heading h1 { font-size: clamp(2.2rem, 5vw, 3rem); margin: .9rem 0 1rem; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; font: 10px/1.5 var(--mono); color: var(--muted); }
.article-description { font: 18px/1.6 var(--serif); color: var(--muted); }
.draft-notice { border-left: 2px solid var(--accent); padding: 12px 16px; margin: 0 0 24px; background: var(--soft); font-size: 12px; color: var(--muted); }
.draft-notice strong { color: var(--ink); }
.preview-banner { font: 10px/1.6 var(--mono); color: var(--accent); padding: .65rem 0; border-bottom: 1px solid var(--line); }
.preview-banner span { margin: 0 .5rem; }
.series-label { font: 11px/1.5 var(--mono); color: var(--muted); margin: 28px 0; }
.series-label span { margin: 0 .4rem; color: var(--accent); }
.prose { font-size: 16px; line-height: 1.85; overflow-wrap: break-word; }
.prose p { margin-bottom: 1.3rem; }
.prose h2 { font: 400 28px/1.3 var(--serif); margin: 2.2rem 0 1rem; letter-spacing: -.02em; }
.prose h3 { margin: 1.7rem 0 .75rem; }
.prose a { color: var(--accent); }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: .5rem; }
.prose blockquote { margin: 1.7rem 0; border-left: 2px solid #bbbeb0; padding: .3rem 0 .3rem 1.3rem; color: #50534b; }
.prose blockquote p { margin-bottom: .8rem; font-size: 15px; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose img { display: block; margin: 1.5rem 0 .6rem; border: 1px solid var(--line); }
.prose table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 1.8rem 0; font-size: 13px; line-height: 1.7; }
.prose th, .prose td { text-align: left; border: 1px solid var(--line); padding: 10px 13px; vertical-align: top; min-width: 120px; }
.prose th { background: var(--soft); font-weight: 500; }
code, pre { font-family: var(--mono); }
:not(pre) > code { font-size: .85em; padding: .15rem .35rem; background: var(--soft); border-radius: 2px; }
pre { color: #e3e6dc; background: #292e29; padding: 23px; font-size: 12px; line-height: 1.8; overflow-x: auto; margin: 1.7rem 0; tab-size: 2; border: 1px solid #20251f; }
pre code { font-size: inherit; font-family: inherit; white-space: pre; }
.token.comment, .token.prolog, .token.doctype, .token.cdata { color: #a5b0a0; }
.token.punctuation { color: #d6dbd1; }
.token.property, .token.tag, .token.constant, .token.symbol, .token.deleted { color: #f1b4a4; }
.token.boolean, .token.number { color: #e8bf8b; }
.token.selector, .token.attr-name, .token.string, .token.char, .token.builtin, .token.inserted { color: #b6d5a7; }
.token.operator, .token.entity, .token.url { color: #e0d7b8; }
.token.atrule, .token.attr-value, .token.keyword { color: #b5c9ec; }
.token.function, .token.class-name { color: #e9d5a4; }
.token.regex, .token.important, .token.variable { color: #d5bae6; }
.series-navigation { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 40px; font-size: 13px; }
.article-end { margin-top: 45px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 18px; }
.article-end > span { color: var(--accent); }
.about-copy { max-width: 660px; }
@media (max-width: 700px) {
  .site-shell { padding: 0 24px; }
  .site-header { min-height: 88px; gap: 1rem; }
  nav { gap: 1rem; }
  .wordmark { font-size: 13px; gap: .5rem; }
  .site-mark { font-size: 18px; }
  .site-header nav a { font-size: 12px; }
  .introduction { padding-top: 38px; }
  .featured-copy { padding: 22px; }
  .bridge-diagram { padding: 20px 15px; }
  .featured-project { grid-template-columns: 1.1fr 1fr; }
  .featured-copy .eyebrow { max-width: 170px; }
  .featured-copy h3 { font-size: 26px; }
  .article-row { grid-template-columns: 100px 1fr 15px; gap: 14px; }
  .page-heading { margin-top: 40px; }
}
@media (max-width: 480px) {
  .site-shell { padding: 0 20px; }
  .site-header { flex-direction: column; align-items: flex-start; gap: .6rem; padding: 20px 0 16px; }
  .site-header nav { width: 100%; justify-content: space-between; }
  .introduction { padding: 30px 0; }
  .introduction h1 { font-size: 2.1rem; }
  .desktop-break { display: none; }
  .eyebrow { font-size: 9px; }
  .featured-project { grid-template-columns: 1fr; }
  .featured-copy { padding: 23px; }
  .featured-copy .eyebrow { max-width: none; }
  .featured-copy h3 br { display: none; }
  .bridge-diagram { border-left: 0; border-top: 1px solid var(--line); padding: 22px; }
  .diagram-flow { width: 100%; max-width: 210px; }
  .other-projects { grid-template-columns: 1fr; }
  .other-projects a:first-child { padding-right: 0; }
  .other-projects a + a { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .section-heading h2 { font-size: 12px; }
  .section-number { margin-right: .4rem; }
  .text-link { font-size: 11px; }
  .article-row { grid-template-columns: 1fr 20px; gap: 8px; }
  .article-row-meta { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: .75rem; }
  .project-row { grid-template-columns: 20px 1fr 15px; gap: 10px; }
  .project-row h2 { font-size: 23px; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: .8rem; }
  .site-footer > div { width: 100%; justify-content: space-between; }
  .prose { font-size: 15px; }
  .prose h2 { font-size: 25px; }
  pre { padding: 17px; font-size: 11px; }
}
@media print {
  body { color: black; background: white; }
  .site-header nav, .site-footer, .preview-banner, .back-link, .article-end { display: none; }
  .site-shell { max-width: none; padding: 0; }
  pre { white-space: pre-wrap; break-inside: avoid; }
  .prose a { color: black; }
}
