@font-face { font-family: Inter; src: url('../fonts/InterVariable.woff2') format('woff2'); font-style: normal; font-weight: 100 900; font-display: swap; }
:root {
  color-scheme: light;
  --paper: #f5f6f2;
  --ink: #383845;
  --heading: #282b35;
  --muted: #59616c;
  --accent: #245846;
  --line: #c7ccc5;
  --faint: #dfe3dc;
  --wash: #eaf0e8;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --measure: 72ch;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; scrollbar-color: #8b968e var(--paper); }
body { margin: 0; background: var(--paper); background-image: radial-gradient(#c7d0c6 1px, transparent 1px), linear-gradient(90deg, transparent calc(100% - 1px), #e1e6dd 0), linear-gradient(transparent calc(100% - 1px), #e1e6dd 0); background-size: 20px 20px, 160px 160px, 160px 160px; color: var(--ink); font: 18px/1.75 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:where(a, button, summary, pre, .table-scroll):focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
::selection { background: #c3dec9; color: #193a2e; }
.skip-link { position: absolute; top: -6rem; left: 1rem; z-index: 3; padding: .6rem 1rem; background: var(--paper); }
.skip-link:focus { top: 1rem; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1440px; margin: auto; padding: 1.2rem 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; font-size: .8rem; }
.site-name { display: inline-flex; align-items: center; gap: 1rem; flex-shrink: 0; font-weight: 720; color: var(--heading); text-decoration: none; }
.site-mark { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--heading); font: 600 .8rem var(--mono); }
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.8rem; }
.site-header nav a { position: relative; padding: .35rem 0; color: var(--muted); text-decoration: none; }
.site-header nav a::after { content: ''; position: absolute; inset: auto 0 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 180ms cubic-bezier(.16, 1, .3, 1); }
.site-header nav a:hover::after, .site-header nav a[aria-current]::after { transform: scaleX(1); }
.site-header nav a[aria-current] { color: var(--accent); }
.page-shell { max-width: 1440px; margin: auto; padding: 0 2.5rem; border-inline: 1px solid var(--faint); }
.main-content { min-width: 0; overflow-wrap: break-word; }
.article-header { padding: 4rem 0 2.5rem; border-bottom: 1px solid var(--line); margin-bottom: 2.5rem; }
.eyebrow, .panel-caption { margin: 0 0 1.5rem; color: var(--muted); font: .7rem/1.7 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 0 0 1.5rem; color: var(--heading); font-size: clamp(2.2rem, 4vw, 3.3rem); font-weight: 770; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.lede { max-width: 60ch; margin: 0; font-size: 1rem; line-height: 1.7; }
.article-meta { margin: 0; color: var(--muted); font: .75rem/1.8 var(--mono); }
.article-meta + .lede { margin-top: 1.3rem; }
.hero-links { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.65rem; }
.hero-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .65rem 1.1rem; border: 1px solid var(--ink); color: var(--heading); font: 600 .7rem/1.5 var(--mono); letter-spacing: .045em; text-transform: uppercase; text-decoration: none; }
.hero-links a:hover { background: var(--wash); }
.hero-links .primary-link { color: var(--paper); background: var(--accent); border-color: var(--accent); }
.hero-links .primary-link:hover { background: #193f32; }
h2 { margin: 3rem 0 1rem; color: var(--heading); font-size: 1.65rem; line-height: 1.25; font-weight: 740; letter-spacing: -.025em; }
h3 { margin: 2rem 0 .8rem; color: var(--heading); font-size: 1.13rem; line-height: 1.4; font-weight: 700; }
p, ul, ol { margin: 0 0 1.3rem; }
ul, ol { padding-left: 1.4rem; }
li { padding-left: .25rem; margin-bottom: .65rem; }
strong { font-weight: 670; }
.prose > :first-child { margin-top: 0; }
blockquote { margin: 2rem 0; padding: 1.25rem 1.5rem; border: 1px solid var(--line); border-left: 3px solid var(--accent); background: var(--wash); font-size: .95rem; }
blockquote p:last-child { margin-bottom: 0; }
blockquote strong { display: block; margin-bottom: .35rem; color: var(--accent); }
blockquote.escalation { background: #f2eee4; border-left-color: #785831; }
blockquote.escalation strong { color: #71512c; }
.home-page .article-header { display: grid; grid-template-columns: 1.08fr 1fr; align-items: start; gap: 4rem; padding: 4rem 0 3rem; margin-bottom: 1.8rem; }
.home-page h1 { font-size: clamp(2.6rem, 5.1vw, 4.5rem); line-height: .99; font-weight: 810; text-transform: uppercase; text-wrap: initial; letter-spacing: -.04em; }
.home-page .article-meta { font-size: .85rem; }
.home-page .hero-copy .lede { font-size: 1rem; line-height: 1.55; }
.practice-panel { position: relative; border: 1px solid var(--line); margin-top: .15rem; }
.practice-panel::before, .practice-panel::after { content: ''; position: absolute; width: 7px; height: 7px; border: 1px solid #718477; background: var(--paper); pointer-events: none; }
.practice-panel::before { top: -4px; left: -4px; }
.practice-panel::after { bottom: -4px; right: -4px; }
.panel-caption { margin: 0; padding: .75rem 1.25rem; border-bottom: 1px solid var(--line); font-size: .62rem; letter-spacing: .1em; }
.practice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.practice-cell { min-width: 0; padding: 1.8rem 1.5rem 2rem; color: var(--ink); text-decoration: none; }
.practice-cell:nth-child(odd) { border-right: 1px solid var(--line); }
.practice-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.practice-cell:hover { background: var(--wash); }
.practice-number { color: var(--muted); font: .7rem var(--mono); font-variant-numeric: tabular-nums; }
.practice-cell h2 { margin: .85rem 0 .55rem; font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.15; }
.practice-cell p { margin: 0; font-size: .82rem; line-height: 1.55; }
.home-principle { margin: 0 0 2rem; }
.home-principle strong { margin: 0; font-size: 1rem; }
.home-section { padding: 2.5rem 0 3rem; border-bottom: 1px solid var(--line); }
.home-section > h2 { margin-top: 0; }
.home-section > p { max-width: var(--measure); }
.runbook-section { display: grid; grid-template-columns: .9fr 1.5fr; column-gap: 4rem; }
.runbook-section h2 { grid-column: 1; grid-row: 1 / span 5; max-width: 19ch; font-size: 2rem; }
.runbook-section p { grid-column: 2; font-size: .95rem; }
.runbook-section > span { display: contents; }
.runbook-section p:last-child { margin-bottom: 0; font-weight: 650; font-size: .82rem; }
.systems-section > h2, .theses-section > h2 { text-transform: uppercase; }
.systems-section > p > code:only-child { padding: 0; border: 0; background: transparent; font: .65rem var(--mono); letter-spacing: .12em; }
.theses-section > ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 4rem; list-style-position: outside; }
.theses-section li { padding: .5rem 0 .7rem .4rem; max-width: 60ch; }
.theses-section li::marker { color: var(--muted); font: .75rem var(--mono); }
.about-section { border-bottom: 0; }
.reading-page .page-shell { display: grid; grid-template-columns: 220px minmax(0, var(--measure)); align-items: start; gap: 3.5rem; padding-right: 3.5rem; }
.reading-page .main-content { padding: 0 2rem; background: var(--paper); border-inline: 1px solid var(--faint); }
.reading-rail { position: sticky; top: 2rem; padding-top: 3.5rem; font-size: .77rem; }
.reading-index summary { cursor: pointer; padding: .6rem 0; font: .65rem/1.5 var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.reading-nav ol { list-style: none; margin: 1rem 0 1.5rem; padding: 0; }
.reading-nav li { margin: 0; padding: 0; border-top: 1px solid var(--line); }
.reading-nav li:last-child { border-bottom: 1px solid var(--line); }
.reading-nav a { display: block; padding: .8rem .65rem; color: var(--muted); text-decoration: none; line-height: 1.55; }
.reading-nav a:hover { background: var(--wash); color: var(--accent); }
.rail-return { font-size: .72rem; }
.reading-page .article-header { padding-top: 4rem; }
.series-index { margin: 1.5rem 0 2.5rem; }
.series-index ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.series-index li { display: grid; grid-template-columns: 2.1rem minmax(0, 1fr) auto; gap: .8rem; align-items: start; margin: 0; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.series-index a { color: var(--heading); font-size: .95rem; font-weight: 650; text-decoration: none; }
.series-index a:hover { color: var(--accent); text-decoration: underline; }
.series-number { padding-top: .2rem; color: var(--muted); font: .7rem/1.8 var(--mono); }
.series-teaser { margin: .55rem 0 .6rem; max-width: 60ch; color: var(--muted); font-size: .88rem; line-height: 1.65; }
.series-meta { display: block; margin-top: .3rem; font-size: .7rem; line-height: 1.6; color: var(--muted); }
.series-arrow { color: var(--accent); }
.series-state { border: 1px solid var(--line); background: var(--wash); padding: .15rem .35rem; color: var(--accent); font-size: .65rem; }
.series-index .is-current a { color: var(--accent); }
.series-banner { margin-bottom: 2.5rem; border: 1px solid var(--line); padding: .8rem 1.1rem; font-size: .8rem; }
.series-banner summary { cursor: pointer; font-weight: 650; }
.series-banner summary span { margin-left: .6rem; color: var(--muted); font-weight: 400; }
.series-banner .series-index { margin: 1rem 0 0; }
.series-banner .series-index li:last-child { border-bottom: 0; }
.table-scroll { overflow-x: auto; margin: 1.5rem 0; }
table { width: 100%; border-collapse: collapse; font-size: .82rem; line-height: 1.65; background: var(--paper); }
th { text-align: left; color: var(--muted); font: .65rem/1.5 var(--mono); text-transform: uppercase; letter-spacing: .065em; }
th, td { border: 1px solid var(--line); padding: 1rem; vertical-align: top; }
th { border-bottom-color: #9ba69c; }
td { min-width: 10rem; }
.systems-section th:first-child, .systems-section td:first-child { min-width: 7rem; }
code, pre { font-family: var(--mono); }
code { font-size: .82em; background: var(--wash); padding: .15em .3em; border: 1px solid var(--faint); }
pre { margin: 1.5rem 0; padding: 1.25rem 1.4rem; overflow-x: auto; background: #0d1117; color: #e6edf3; border: 1px solid #30363d; font-size: .875rem; line-height: 1.7; tab-size: 2; }
pre code { background: none; color: inherit; border: 0; padding: 0; font-size: inherit; white-space: pre; }
.highlight { margin: 0; }
.code-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem .8rem .5rem 1.4rem; background: #161b22; color: #9da7b3; border: 1px solid #30363d; border-bottom: 0; font: .65rem/1.5 var(--mono); margin-top: 1.5rem; }
.code-toolbar + pre { margin-top: 0; }
.copy-code { padding: .35rem .6rem; min-height: 2rem; font: inherit; color: #dbe5ee; background: transparent; border: 1px solid #485260; cursor: pointer; }
.copy-code:hover { background: #28313c; }
.copy-code:disabled { opacity: .7; cursor: wait; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.highlight .c, .highlight .c1, .highlight .cm, .highlight .cp { color: #9da7b3; font-style: italic; }
.highlight .k, .highlight .kc, .highlight .kd, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .o, .highlight .ow { color: #ff7b72; }
.highlight .nl, .highlight .s, .highlight .s1, .highlight .s2, .highlight .sb, .highlight .sc, .highlight .sd, .highlight .se, .highlight .sh, .highlight .sr, .highlight .sx { color: #a5d6ff; }
.highlight .m, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .mo, .highlight .il, .highlight .na, .highlight .no { color: #79c0ff; }
.highlight .nf, .highlight .nc, .highlight .nn { color: #d2a8ff; }
.highlight .nt, .highlight .nb { color: #7ee787; }
.highlight .err, .highlight .gd { color: #ffa198; background: #490202; }
.highlight .gi { color: #7ee787; background: #04260f; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; margin-top: 3rem; padding: 1.5rem 0 2.5rem; border-top: 1px solid var(--line); color: var(--muted); font: .65rem/1.6 var(--mono); }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
@media (max-width: 1100px) {
  .home-page .article-header { gap: 2rem; }
  .practice-cell { padding: 1.5rem 1rem; }
  .reading-page .page-shell { grid-template-columns: 180px minmax(0, 1fr); gap: 1.75rem; padding-right: 1.75rem; }
  .reading-page .main-content { padding-inline: 1.5rem; }
  .header-inner { gap: 1rem; }
  .site-header nav { gap: .35rem 1.1rem; }
}
@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; padding: 1rem 1.5rem; }
  .page-shell { padding: 0 1.5rem; }
  .home-page .article-header { grid-template-columns: 1fr; gap: 2.5rem; }
  .home-page h1 { max-width: 15ch; font-size: clamp(2.6rem, 8vw, 4.5rem); }
  .home-page .hero-copy .lede { max-width: 60ch; }
  .practice-panel { max-width: 720px; }
  .practice-cell { padding: 1.5rem; }
  .practice-cell h2 { font-size: 1.55rem; }
  .runbook-section { grid-template-columns: 1fr; gap: 0; }
  .runbook-section h2 { grid-row: auto; max-width: none; }
  .runbook-section p { grid-column: 1; }
  .reading-page .page-shell { display: block; max-width: 850px; padding: 0 1.5rem; border: 0; }
  .reading-page .main-content { padding: 0; border: 0; }
  .reading-rail { position: static; padding: 1.5rem 0 0; background: var(--paper); }
  .reading-index { border: 1px solid var(--line); padding: .35rem 1rem; }
  .reading-nav ol { margin: .5rem 0; columns: 2; column-gap: 1rem; }
  .reading-nav li { break-inside: avoid; }
  .reading-nav li:last-child { border-bottom: 0; }
  .rail-return { display: none; }
  .reading-page .article-header { padding-top: 2.5rem; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .header-inner { padding: 1rem 1.25rem; gap: .75rem; }
  .site-mark { width: 2.2rem; height: 2.2rem; }
  .site-header nav { gap: .1rem 1.05rem; font-size: .73rem; }
  .site-header nav a { padding: .5rem 0; }
  .page-shell, .reading-page .page-shell { padding: 0 1.25rem; border: 0; }
  .home-page .article-header { padding: 2.75rem 0 2.5rem; }
  .eyebrow { font-size: .62rem; letter-spacing: .1em; margin-bottom: 1.3rem; }
  .home-page h1 { font-size: clamp(2rem, 8.75vw, 3.1rem); }
  .home-page .article-meta { font-size: .8rem; }
  .practice-cell { padding: 1.2rem .85rem; }
  .practice-cell h2 { font-size: 1.22rem; }
  .practice-cell p { font-size: .76rem; }
  .home-section { padding: 2rem 0; }
  .home-section > h2 { font-size: 1.6rem; }
  .theses-section > ol { display: block; }
  .reading-nav ol { columns: auto; }
  .reading-nav a { padding: .65rem .2rem; }
  blockquote { padding: 1rem 1.1rem; }
  .series-index li { grid-template-columns: 1.5rem minmax(0, 1fr) auto; gap: .5rem; }
  .series-banner { padding: .75rem; }
  h1 { font-size: clamp(2rem, 7.8vw, 2.7rem); }
  h2 { font-size: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header nav a::after { transition: none; }
}
@media print {
  .site-header, .hero-links, .copy-code, .series-banner, .reading-rail, .site-footer { display: none; }
  body { background: white; color: black; }
  .page-shell, .reading-page .page-shell { display: block; max-width: none; width: 100%; padding: 0; border: 0; }
  .reading-page .main-content { padding: 0; border: 0; }
  .home-page .article-header { display: block; }
  .practice-panel { margin-top: 2rem; }
  .table-scroll { overflow: visible; }
  table { font-size: 10pt; }
  td { min-width: 0; }
  pre, pre code { white-space: pre-wrap; overflow-wrap: anywhere; }
}
