:root { color-scheme: light; --paper: #fafbfb; --ink: #111; --muted: #555; --line: #c5c9c7; --blue: #0000cc; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: var(--blue); text-underline-offset: .18em; }
a:hover { color: #555; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button, input, select { border: 1px solid #999; border-radius: 0; color: var(--ink); background: transparent; }
button { padding: .4rem .7rem; }
button:hover { background: #e9ecea; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
[hidden] { display: none !important; }
.shell { margin: 0; padding: 0 8px; }
.shell > main { max-width: 1160px; margin-left: 0; margin-right: 0; font: 18px/1.55 Georgia, 'Times New Roman', serif; }
.skip-link { position: absolute; left: -10000px; }
.skip-link:focus { left: 20px; top: 8px; background: white; padding: 8px; z-index: 10; }
.preview-note { font: 13px/1.5 system-ui, sans-serif; padding: 9px 12px; border: 1px dashed #888; margin: 24px 0 0; }
.intro { margin: 52px 0 32px; }
.eyebrow, .small, .meta, label, .count, .category-nav, .project-nav, .breadcrumbs, .tag, .post-links, .share-row, .empty p { font-family: system-ui, sans-serif; }
.eyebrow { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
h1 { font-size: clamp(42px, 7vw, 62px); font-weight: normal; line-height: 1.12; margin: 10px 0 18px; }
.intro p { margin: 0; color: var(--muted); }
.ornament { display: none; }
.search-form { display: flex; gap: 12px; align-items: end; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.search-field { flex: 1; min-width: 0; }
label { display: block; font-size: 12px; margin-bottom: 8px; }
input[type=search] { width: 100%; padding: 11px 13px; min-width: 0; background: #fff; }
.search-form button { padding: 11px 20px; }
.journal-layout { display: grid; grid-template-columns: 215px minmax(0, 1fr); gap: 48px; margin-top: 36px; }
.journal-layout > * { min-width: 0; }
.project-nav { font-size: 14px; }
.project-nav h2 { font-size: 12px; font-weight: normal; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 16px; color: var(--muted); }
.project-nav a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 10px; margin-left: -10px; text-decoration: none; }
.project-nav a[aria-current=true] { background: #e8ece8; color: var(--ink); border-left: 2px solid var(--ink); padding-left: 8px; }
.project-nav .number { color: var(--muted); font-size: 12px; }
.results-top { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.results-top h2 { font-size: 25px; font-weight: normal; margin: 0; }
.sort-control { flex-shrink: 0; }
.sort-control label { display: inline; margin-right: 8px; }
select { font: 13px system-ui, sans-serif; padding: 7px; max-width: 100%; }
.category-nav { display: flex; gap: 7px; flex-wrap: wrap; margin: 18px 0; }
.category-nav a { font-size: 12px; border: 1px solid var(--line); padding: 5px 10px; text-decoration: none; }
.category-nav a[aria-current=true] { color: var(--paper); background: #292e29; border-color: #292e29; }
.count { font-size: 12px; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.post-card { padding: 24px 0; border-bottom: 1px solid var(--line); }
.post-card.has-thumbnail { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 22px; align-items: start; }
.post-thumbnail { display: block; }
.post-thumbnail img { display: block; width: 100%; height: auto; max-height: 180px; object-fit: contain; object-position: top center; }
.post-summary { min-width: 0; }
.meta { display: flex; flex-wrap: wrap; gap: 7px 12px; font-size: 12px; color: var(--muted); }
.post-card h3 { font-size: 27px; font-weight: normal; line-height: 1.25; margin: 9px 0; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a:hover { text-decoration: underline; }
.post-card p { margin: 9px 0 13px; color: #444; }
.tag { font-size: 11px; margin-right: 12px; color: #555; }
.empty { padding: 40px 0; }
.empty h3 { font-size: 26px; font-weight: normal; margin-bottom: 8px; }
.empty p { font-size: 14px; color: var(--muted); }
.small { font-size: 13px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; margin: 28px 0 45px; }
.post { max-width: 740px; margin: 0; }
.post h1 { font-size: clamp(36px, 6vw, 52px); }
.post-deck { font-size: 22px; color: #555; margin: 20px 0 30px; }
.post-body { margin: 36px 0; font-size: 20px; line-height: 1.75; }
.post-body h2 { font-weight: normal; line-height: 1.3; margin-top: 36px; }
.post-body img, .post-body video { max-width: 100%; height: auto; }
.post-body iframe { max-width: 100%; }
.post-body figure { margin: 32px 0; }
.post-body figcaption { font: 13px/1.5 system-ui, sans-serif; color: var(--muted); }
.post-body blockquote { margin-left: 0; padding-left: 24px; border-left: 1px solid #888; color: #555; }
.post-body pre { overflow: auto; }
.share-row { border-top: 1px solid var(--line); padding: 24px 0; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; }
.share-row input { width: 100%; padding: 8px; }
.post-links { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding: 24px 0; font-size: 13px; }
.post-links a { max-width: 48%; }
.solid { border: 0; height: 1px; background: #808080; }
.journal-footer { margin-top: 70px; }
.universal-footer { margin: 22px 0 32px; }
.keyword-label { font: 12px system-ui, sans-serif; color: var(--muted); margin-right: 8px; }
.search-scope { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 14px 0 0; padding: 0; border: 0; font: 13px system-ui, sans-serif; }
.search-scope legend { margin-bottom: 8px; padding: 0; }
.search-scope label { display: inline-flex; align-items: center; gap: 5px; margin: 0; font-size: 13px; }
.journal-search-form { align-items: flex-start; }
.journal-search-form > button { margin-top: 27px; }
.search-result { border-bottom: 1px solid var(--line); padding: 20px 0; }
.search-result h2 { font-size: 25px; font-weight: normal; margin: 7px 0; }
.search-result p { margin: 10px 0; }
.search-result .result-type { font: 12px system-ui, sans-serif; color: var(--muted); }
#more-results { margin-top: 24px; }
/* Match the existing primary stylesheet's mobile base text size. */
@media (max-width: 600px) {
  body { font-size: 18px; }
}
@media (max-width: 700px) {
  .shell { padding: 0 8px; }
  .intro { margin-top: 36px; }
  .journal-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .project-nav { border-bottom: 1px solid var(--line); padding-bottom: 18px; }
  .project-nav .project-list { display: flex; gap: 6px; overflow-x: auto; padding: 4px; }
  .project-nav a { white-space: nowrap; margin: 0; border: 1px solid var(--line); gap: 8px; }
  .project-nav a[aria-current=true] { border: 1px solid #333; padding-left: 10px; }
  .results-top { align-items: start; }
  .sort-control label { display: block; margin-bottom: 4px; }
  .search-form { gap: 8px; }
  .search-form button { padding: 11px 12px; }
  .ornament { display: none; }
  .post-card h3 { font-size: 24px; }
  .post-card.has-thumbnail { grid-template-columns: 80px minmax(0, 1fr); gap: 14px; }
  .post-thumbnail img { max-height: 110px; }
  .post-body { font-size: 18px; }
}
