:root {
  color-scheme: light;
  --paper: #f8f6ef;
  --card: #faf8f1;
  --ink: #193e34;
  --muted: #52635a;
  --accent: #964329;
  --line: #cccdbf;
  --serif: Baskervville, "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "DM Sans", "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { border-top: 5px solid var(--ink); background: var(--paper); }
body { margin: 0; color: var(--ink); font: 1rem/1.5 var(--sans); }
a { color: inherit; text-decoration-thickness: .07em; text-underline-offset: .2em; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 3px solid #9a5436; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(1160px, calc(100% - 7rem)); margin: 0 auto; }
.skip { position: absolute; z-index: 2; top: 0; left: 1rem; transform: translateY(-130%); padding: .7rem 1rem; color: white; background: var(--ink); }
.skip:focus { transform: translateY(0); }
.mast, .mast nav, .wordmark, .feed, .foot, .section-heading, .eyebrow, .meta, .terms { display: flex; align-items: center; }
.mast { min-height: 81px; justify-content: space-between; gap: 2rem; border-bottom: 1px solid var(--line); }
.wordmark { gap: .6rem; text-decoration: none; font: bold 2rem/1 var(--serif); letter-spacing: -.065em; }
.wordmark .domain { font-weight: normal; }
.mast nav { column-gap: clamp(1rem,3vw,2.15rem); font-size: .89rem; font-weight: 600; }
.mast nav > a { display: inline-flex; align-items: center; min-height: 44px; position: relative; text-decoration: none; }
.mast nav > a[aria-current]::after { content: ""; position: absolute; height: 2px; background: var(--accent); inset: auto 0 5px; }
.feed { gap: .4rem; }
.mast .feed::before { content: ""; width: 1px; height: 17px; background: var(--line); margin-right: .8rem; }
.intro, .pagehead { padding-block: 3rem 2.1rem; }
.eyebrow { margin: 0; gap: .65rem; font-size: .69rem; line-height: 1.5; letter-spacing: .15em; font-weight: 700; text-transform: uppercase; }
.dash { width: 31px; height: 2px; background: var(--accent); }
.dot { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }
.accent, .period { color: var(--accent); }
.divider { color: #a59783; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; text-wrap: pretty; overflow-wrap: anywhere; }
.intro h1, .pagehead h1 { margin: .42rem 0 .45rem; font-size: clamp(3.65rem,7.1vw,6.55rem); line-height: 1.02; letter-spacing: -.065em; }
.deck, .summary { color: #41574c; font: 1.26rem/1.48 var(--serif); }
.feature { display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.feature-art { min-height: 340px; position: relative; background: #e6e7d9; }
.feature-art img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 45% 50%; }
.feature-text { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(2rem,4vw,3.6rem); }
.feature.no-image { grid-template-columns: 1fr; }
.feature-text h2 { margin: 1.15rem 0 .75rem; font-size: clamp(2.5rem,4.4vw,4.25rem); letter-spacing: -.05em; line-height: 1.04; }
.feature-text h2 a, .entry h3 a { text-decoration: none; }
.summary { max-width: 42ch; font-size: 1.17rem; }
.meta { gap: .48rem; flex-wrap: wrap; color: var(--muted); font-size: .77rem; line-height: 1.6; }
.meta a { color: var(--accent); font-weight: 650; }
.feature-text .meta, .article-head .meta { margin-top: 1.1rem; }
.button { display: inline-flex; align-items: center; gap: 1.3rem; margin-top: 1.55rem; padding: .76rem 1.12rem; border-radius: 3px; background: var(--ink); color: var(--paper); font-size: .87rem; font-weight: 600; text-decoration: none; }
.button:hover { background: #275343; color: white; }
.block { margin-top: 2.35rem; }
.section-heading { align-items: baseline; justify-content: space-between; gap: .8rem; border-bottom: 1px solid var(--ink); padding-bottom: .75rem; }
.section-heading h2 { line-height: 1.15; font-size: clamp(1.75rem,2.4vw,2.15rem); letter-spacing: -.04em; }
.section-heading a, .underlink a, .back { font-size: .84rem; font-weight: 600; text-decoration: none; }
.section-heading a span, .underlink a span, .back span { color: var(--accent); }
.topics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-bottom: 1px solid var(--line); }
.topic { text-decoration: none; padding: 1.4rem 1rem 1.55rem; }
.topic:first-child { padding-left: 0; }
.topic + .topic { border-left: 1px solid var(--line); }
.topic-name { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; font: 1.45rem/1.25 var(--serif); }
.topic-name > span { font: .9rem var(--sans); color: var(--accent); }
.topic-desc { display: block; margin-top: .45rem; color: var(--muted); font-size: .82rem; }
.foot { gap: 1rem; flex-wrap: wrap; margin-top: 4rem; padding: 1.3rem 0 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.foot a { color: var(--ink); text-decoration: none; }
.footname { font: bold 1.2rem var(--serif); letter-spacing: -.055em; }
.foot a:last-child { margin-left: auto; }
.pagehead { padding-bottom: 2.4rem; }
.pagehead .back { display: inline-block; margin-bottom: .65rem; }
.underlink, .empty { margin-block: 1.5rem; color: var(--muted); }
.entry { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; border-bottom: 1px solid var(--line); padding: 1.4rem 0; }
.entry h3 { font-size: 1.75rem; line-height: 1.2; letter-spacing: -.03em; }
.entry p:not(.meta):not(.eyebrow) { margin-top: .4rem; color: var(--muted); }
.entry .eyebrow { margin-bottom: .4rem; }
.entry .meta { flex-shrink: 0; }
.article { max-width: 915px; margin: 2rem auto 0; }
.article-head { max-width: 730px; margin: 2rem auto; }
.article-head h1 { margin: .7rem 0; font-size: clamp(2.9rem,6vw,5.3rem); line-height: 1.02; letter-spacing: -.055em; }
.cover { background: #e9e8db; }
.cover img { width: 100%; max-height: 540px; object-fit: cover; }
.prose { max-width: 665px; margin: 2rem auto; font: 1.24rem/1.7 var(--serif); color: #263d33; overflow-wrap: break-word; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose pre { margin: 1rem 0; }
.prose h2, .prose h3 { line-height: 1.18; margin: 2rem 0 .6rem; letter-spacing: -.035em; }
.prose blockquote { border-left: 3px solid var(--accent); padding-left: 1.2rem; font-style: italic; }
.prose pre { overflow: auto; font-size: .9rem; }
.prose table { display: block; max-width: 100%; overflow-x: auto; }
.sample-note { border-left: 2px solid var(--accent); padding: .3rem .8rem; color: var(--muted); font: .85rem/1.5 var(--sans); }
.terms { gap: .6rem; flex-wrap: wrap; margin-top: 1rem; font: .85rem var(--sans); }
.terms b { margin-right: .25rem; }
@media (max-width: 800px) {
  .wrap { width: calc(100% - 3rem); }
  .feature-text { padding: 1.75rem; }
  .feature-art { min-height: 300px; }
  .topics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .topic:nth-child(odd) { border-left: 0; padding-left: 0; }
  .topic:nth-child(n+3) { border-top: 1px solid var(--line); }
  .entry { flex-direction: column; gap: .65rem; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 2.1rem); }
  .mast { min-height: 64px; gap: .8rem; flex-wrap: wrap; padding: .45rem 0; }
  .wordmark { font-size: 1.5rem; gap: .35rem; }
  .wordmark img { width: 28px; }
  .mast nav { gap: .75rem; font-size: .78rem; }
  .mast .feed::before { display: none; }
  .feed svg { display: none; }
  .intro, .pagehead { padding: 2.05rem 0 1.45rem; }
  .eyebrow { font-size: .62rem; }
  .deck { font-size: 1.12rem; }
  .feature { grid-template-columns: 1fr; }
  .feature-art { min-height: auto; }
  .feature-art img { position: static; height: auto; aspect-ratio: 1.9; }
  .feature-text { padding: 1.45rem; }
  .feature-text h2 { margin-top: .75rem; }
  .block { margin-top: 1.8rem; }
  .topic { padding: 1rem .7rem; }
  .foot { margin-top: 2rem; }
  .article-head { margin: 1.3rem 0; }
  .prose { font-size: 1.1rem; }
}
