/* donherron.com — phone-first, light/dark */
@font-face{font-family:"Source Serif";src:url(/fonts/source-serif-4-latin-wght-normal.woff2) format("woff2");font-weight:200 900;font-style:normal;font-display:swap}
@font-face{font-family:"Source Serif";src:url(/fonts/source-serif-4-latin-wght-italic.woff2) format("woff2");font-weight:200 900;font-style:italic;font-display:swap}
@font-face{font-family:"Oswald";src:url(/fonts/oswald-latin-wght-normal.woff2) format("woff2");font-weight:200 700;font-display:swap}
:root{--bg:#f6f2ea;--paper:#fffdf8;--ink:#1f1c18;--muted:#6b645a;--rule:#ddd5c7;--accent:#9b2226;--link:#8a1c20;--quote:#efe8db;--shadow:0 1px 2px rgba(0,0,0,.06);
  --serif:"Source Serif",Georgia,"Times New Roman",serif;--display:"Oswald","Arial Narrow",Impact,sans-serif;--ui:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#121214;--paper:#1a1a1e;--ink:#e8e3d9;--muted:#a39b8e;--rule:#2e2d33;--accent:#e2a356;--link:#f0b770;--quote:#222228;--shadow:none}}
:root[data-theme=dark]{--bg:#121214;--paper:#1a1a1e;--ink:#e8e3d9;--muted:#a39b8e;--rule:#2e2d33;--accent:#e2a356;--link:#f0b770;--quote:#222228;--shadow:none}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:400 1.125rem/1.65 var(--serif);font-optical-sizing:auto}
.wrap{max-width:1180px;margin:0 auto;padding:0 1rem}
a{color:var(--link);text-decoration-thickness:1px;text-underline-offset:.18em}
a:hover{text-decoration-thickness:2px}
img{max-width:100%;height:auto}
.skip{position:absolute;left:-999px}.skip:focus{left:1rem;top:1rem;background:var(--paper);padding:.5rem 1rem;z-index:9}
/* masthead */
.masthead{background:var(--paper);border-bottom:3px double var(--rule);box-shadow:var(--shadow)}
.masthead>.wrap:first-child{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-top:.9rem;padding-bottom:.6rem}
.brand{display:flex;align-items:center;gap:.8rem;text-decoration:none;color:var(--ink)}
.brand img{width:48px;height:48px;border-radius:50%;flex:none}
.brand strong{display:block;font:600 clamp(1.25rem,5.2vw,2.3rem)/1.05 var(--display);text-transform:uppercase;letter-spacing:.02em}
.brand em{display:block;font:italic .95rem/1.3 var(--serif);color:var(--muted)}
.theme-toggle{flex:none;border:1px solid var(--rule);background:transparent;color:var(--ink);width:2.6rem;height:2.6rem;border-radius:50%;font-size:1.15rem;cursor:pointer}
.theme-toggle .moon{display:none}
:root[data-theme=dark] .theme-toggle .sun{display:none}:root[data-theme=dark] .theme-toggle .moon{display:inline}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .theme-toggle .sun{display:none}:root:not([data-theme=light]) .theme-toggle .moon{display:inline}}
/* menu */
.menu{font:500 .95rem/1.2 var(--ui)}
.menu ul{list-style:none;margin:0;padding:0}
.menu a,.menu summary{display:block;padding:.65rem .75rem;color:var(--ink);text-decoration:none;cursor:pointer}
.menu a[aria-current]{color:var(--accent)}
.menu-desktop{display:none}
.menu-mobile>summary{font:600 1rem var(--display);text-transform:uppercase;letter-spacing:.08em;padding:.7rem 0;list-style:none}
.menu-mobile>summary::before{content:"☰  "}
.menu-mobile[open]>summary::before{content:"✕  "}
.menu-mobile>ul{border-top:1px solid var(--rule);padding-bottom:.5rem}
.menu-mobile li{border-bottom:1px solid var(--rule)}
.menu-mobile details ul{padding-left:1rem}
.menu summary::-webkit-details-marker{display:none}
.has-kids>details>summary::after{content:" ▾";color:var(--muted)}
@media (min-width:900px){
  .menu-mobile{display:none}
  .menu-desktop{display:flex;flex-wrap:wrap}
  .menu-desktop>li{position:relative}
  .menu-desktop details>ul{position:absolute;z-index:5;left:0;top:100%;min-width:19rem;background:var(--paper);border:1px solid var(--rule);box-shadow:0 8px 24px rgba(0,0,0,.18);padding:.3rem 0}
}
/* layout */
.layout{display:grid;gap:2.5rem;padding-top:1.5rem;padding-bottom:3rem;align-items:start}
@media (min-width:1000px){.layout{grid-template-columns:minmax(0,1fr) 300px;gap:3.5rem}}
main{min-width:0;max-width:44rem}
/* entries */
.entry{margin:0 0 1.5rem;padding-bottom:.6rem;border-bottom:1px solid var(--rule)}
.entry>:last-child,.entry .content>:last-child{margin-bottom:0}
.entry h1,.entry h2,.archive-head h1{font:600 clamp(1.55rem,4.5vw,2.15rem)/1.15 var(--display);letter-spacing:.005em;margin:0 0 .35rem;text-wrap:balance}
.entry h2 a{color:var(--ink);text-decoration:none}.entry h2 a:hover{color:var(--accent)}
.meta{font:.85rem/1.4 var(--ui);color:var(--muted);margin:0 0 1.3rem;text-transform:uppercase;letter-spacing:.06em}
.entry>h1,.entry>h2,.entry>.meta{text-align:center}
.meta a{color:var(--muted)}
.content h2,.content h3,.content h4,.content h5{font:600 1.15rem/1.3 var(--display);text-transform:uppercase;letter-spacing:.05em;margin:2rem 0 .6rem}
.content p{margin:0 0 1.1em}
.content blockquote,.content .wp-block-quote{margin:1.5rem 0;padding:1rem 1.25rem;background:var(--quote);border-left:4px solid var(--accent);font-size:1.05rem}
.content blockquote p:last-child{margin-bottom:0}
.content blockquote cite{display:block;font:.85rem var(--ui);color:var(--muted);margin-top:.5rem}
.content figure,.content .wp-block-image{margin:1.5rem 0;text-align:center}
.content figcaption,.wp-caption-text{font:.85rem/1.4 var(--ui);color:var(--muted);margin-top:.4rem}
.content img{display:inline-block;border-radius:2px}
.content .alignleft,.content .alignright{display:block;margin:1rem auto}
@media (min-width:640px){.content .alignleft{float:left;margin:.3rem 1.5rem 1rem 0;max-width:45%}.content .alignright{float:right;margin:.3rem 0 1rem 1.5rem;max-width:45%}}
.content .aligncenter{display:block;margin-left:auto;margin-right:auto}
.content::after{content:"";display:table;clear:both}
.content iframe{max-width:100%}
.content table{border-collapse:collapse;width:100%;font-size:.95rem}.content td,.content th{border:1px solid var(--rule);padding:.4rem}
.wp-block-gallery,.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:.5rem;padding:0;list-style:none}
.archived,.defunct{font:.75rem var(--ui);color:var(--muted);white-space:nowrap}
.tagline-tags{font:.85rem/1.6 var(--ui);color:var(--muted)}.tagline-tags a{color:var(--muted)}
.more a{font:600 .9rem var(--ui);text-transform:uppercase;letter-spacing:.06em;text-decoration:none}
.excerpt{padding-bottom:1.6rem;margin-bottom:1.8rem}
.archive-head{margin-bottom:2rem;padding-bottom:1rem;border-bottom:3px double var(--rule)}.archive-head p{color:var(--muted);font-family:var(--ui);margin:.2rem 0}
.pager,.postnav{display:flex;justify-content:space-between;gap:1rem;font:.95rem var(--ui);margin:2rem 0}
.pager a,.postnav a{text-decoration:none;font-weight:600}
.postnav a{max-width:48%}.postnav a span{display:block;font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
.postnav a[rel=next]{text-align:right;margin-left:auto}
.subpages{background:var(--paper);border:1px solid var(--rule);padding:1rem 1.25rem;margin-bottom:2rem}.subpages h2{font:600 1rem var(--display);text-transform:uppercase;margin:0 0 .5rem}
.big-search{display:flex;gap:.5rem;margin-top:.8rem}
input[type=search]{flex:1;min-width:0;font:1rem var(--ui);padding:.6rem .7rem;border:1px solid var(--rule);background:var(--paper);color:var(--ink);border-radius:4px}
button{font:600 .9rem var(--ui);padding:.6rem 1rem;border:0;background:var(--accent);color:#fff;border-radius:4px;cursor:pointer}
:root[data-theme=dark] body:not(.desk) button:not(.theme-toggle){color:#141414}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) body:not(.desk) button:not(.theme-toggle){color:#141414}}
/* sidebar */
.sidebar{font-size:1rem;line-height:1.5}
.sidebar figure,.sidebar .wp-block-image{margin:0 0 1rem;text-align:center}
.sidebar img{max-height:420px;width:auto}
.sidebar hr,.sidebar .wp-block-separator{border:0;border-top:1px solid var(--rule);margin:1.5rem 0}
/* sidebar cards: a line between every card in the right column, the Tour editions included */
aside.sidebar .side-card+.side-card{border-top:1px solid var(--rule);margin-top:1.5rem;padding-top:1.5rem}
.side-card>:last-child{margin-bottom:0}
/* under a short post: a full-width grid of equal cards, pictures at one standard height */
.side-below[hidden]{display:none}
.side-below{padding:0 .6rem 1rem;margin-top:-1.4rem}
.below-text[hidden]{display:none}
.below-pics,.below-text{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 16px}
.below-text{margin-top:1.2rem}.below-pics:empty,.below-text:empty{display:none}
.side-below .side-card{flex:0 0 auto;width:auto;min-height:0}
.side-below .side-card:not(.has-img){flex:0 0 270px;width:270px}
.side-below .side-card figcaption{contain:inline-size;width:100%}   /* captions wrap to their cover's width */
.side-below .side-card{margin:0;padding:.5rem 2px .8rem;border:0;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;gap:.5rem}
.side-below .side-card>*{margin:0;max-width:100%}
.side-below .side-card figure,.side-below .side-card .wp-block-image{margin:0}
.side-below .side-card img{height:var(--imgh,340px)!important;width:auto!important;max-width:100%;max-height:none;object-fit:contain;object-position:top}
.side-below .side-card figcaption{margin-top:.45rem;font-size:.95rem;line-height:1.35}
.side-below .side-card h2{font-size:1.15rem;margin:0}
.side-below .side-card .side-links{width:100%;text-align:left}
.side-below .side-card .side-links .side-h{text-align:center}
.side-below .side-card.big{flex:0 1 838px;width:auto;max-width:100%;justify-content:flex-start;overflow:auto}
.side-below .side-card.big{height:auto}
.side-below .side-card:not(.has-img){justify-content:flex-start}
.side-below .side-card .tags.cloud{line-height:1.15rem}
.sidebar h2,.side-h{font:600 1.45rem/1.25 var(--display);text-transform:uppercase;letter-spacing:.05em;text-align:center;margin:0 0 .8rem}
.sidebar ul,.xpanel ul{padding-left:1.1rem}.sidebar li,.xpanel li{margin:.25rem 0}
.cats li span,.archives li span{color:var(--muted);font:.8rem var(--ui)}
.side-search label{display:block;font:600 1.05rem var(--display);text-transform:uppercase;letter-spacing:.06em;text-align:center;margin-bottom:.5rem}
.side-search div{display:flex;gap:.4rem}
.tags{line-height:1.9}.tags a{display:inline-block;font:.82rem var(--ui);border:1px solid var(--rule);border-radius:3px;padding:0 .4rem;text-decoration:none;color:var(--ink)}
.archives details{border-bottom:1px solid var(--rule)}.archives summary{cursor:pointer;padding:.35rem 0;font:600 .95rem var(--ui)}
.has-text-align-center{text-align:center}
.foot{border-top:3px double var(--rule);background:var(--paper);font:.85rem var(--ui);color:var(--muted)}.foot p{margin:0;padding:1.2rem 0}.foot a{color:var(--muted)}
@media print{.masthead nav,.sidebar,.theme-toggle,.head-search,.pager,.postnav,.foot{display:none}body{background:#fff;color:#000}}
/* pictures placed from the dashboard (Small / Medium / Full width; left / centered / right) */
.content figure.size-small img{max-width:min(100%,320px)}
.content figure.size-medium img{max-width:min(100%,560px)}
.content figure.size-large img,.content figure.size-full img{max-width:100%}
.content figure.alignleft img,.content figure.alignright img{max-width:100%}
.content figure.alignleft.size-small,.content figure.alignright.size-small{max-width:min(45%,320px)}
.content figure.alignleft.size-medium,.content figure.alignright.size-medium{max-width:50%}
/* poems: one verse line per line, a blank line between stanzas */
.content .poem{margin:0 0 1.2em 2.2em;font-size:.95em;line-height:1.5}
.content .poem p{margin:0 0 1em}

/* header search: always at the top (beside the title on wide screens, its own row on narrow ones) */
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.masthead>.wrap:first-child{flex-wrap:wrap}
.brand{order:1;flex:1 1 0;min-width:0}.theme-toggle{order:2}
.head-search{order:3;flex:1 1 100%;display:flex;gap:.4rem}
.head-search input[type=search]{font-size:.95rem;padding:.5rem .7rem;background:var(--bg)}
.head-search button{padding:.5rem .9rem}
/* wide screens: search flush to the right edge of the window, the light/dark button under it */
@media (min-width:1000px){
  .masthead{position:relative}
  .head-search{position:absolute;top:.55rem;right:.6rem;width:21rem;margin:0}
  .theme-toggle{position:absolute;top:3.35rem;right:.6rem;width:2.3rem;height:2.3rem;font-size:1rem}
  .brand{max-width:calc(100vw - 24rem)}
}
/* menu bar: on narrow screens the sidebar's link lists become dropdowns beside MENU */
.menu{position:relative;display:flex;flex-wrap:wrap;align-items:center;column-gap:.2rem}
.menu-mobile[open]>ul{position:absolute;left:0;right:0;top:100%;z-index:6;background:var(--paper);border:1px solid var(--rule);box-shadow:0 10px 28px rgba(0,0,0,.2);max-height:75vh;overflow:auto;padding:0 1rem .5rem}
.menu-mobile>summary{margin-right:.4rem}
.menu-extra{display:contents}
.menu-extra>li>details>summary{font:600 .86rem var(--display);text-transform:uppercase;letter-spacing:.05em;padding:.7rem .45rem;color:var(--ink);list-style:none;white-space:nowrap}
.menu-extra>li>details>summary::after{content:" ▾";color:var(--muted)}
.menu-extra>li>details[open]>summary{color:var(--accent)}
.xpanel{position:absolute;left:0;right:0;top:100%;z-index:6;background:var(--paper);border:1px solid var(--rule);box-shadow:0 10px 28px rgba(0,0,0,.2);max-height:75vh;overflow:auto;padding:.8rem 1.2rem 1rem;font:400 1rem/1.5 var(--serif)}
.xpanel a{display:inline;padding:0;color:var(--link)}
.xpanel .tags a{display:inline-block;color:var(--ink);padding:0 .4rem}
.xpanel .archives summary{display:block;padding:.35rem 0;color:var(--ink)}
@media (min-width:1000px){.menu-extra{display:none}}
@media (max-width:999px){.sidebar .side-links,.sidebar .side-links+hr,.sidebar .side-card.links-only{display:none}}
@media (max-width:480px){.menu-mobile>summary,.menu-extra>li>details>summary{font-size:.8rem;letter-spacing:.03em;padding-left:.3rem;padding-right:.3rem}.menu-mobile>summary{padding-left:0}}
/* tag cloud (wide screens), modelled on Don's WordPress cloud: bold serif words from 8pt (least used) to 22pt (most used),
   no boxes, centred, lines packed tightly (a fixed line height, so big and small words crowd together) */
@media (min-width:1000px){
  .sidebar .tags.cloud{text-align:center;line-height:1.15rem;margin:0}
  .sidebar .tags.cloud a{display:inline;white-space:nowrap;border:0;border-radius:0;padding:0;margin:0 .3rem 0 0;font-family:var(--serif);font-weight:700;font-size:calc(8pt + var(--w,0) * 14pt);letter-spacing:0;color:var(--link);text-decoration:none;vertical-align:baseline}
  .sidebar .tags.cloud a:hover{text-decoration:underline}
}
/* combined Archives: categories, tags, years — wrapped buttons, thin rules between, no subtitles */
.arch .tags{margin:0;text-align:center}.arch .tags a{white-space:nowrap}
.arch .arch-sep,.sidebar .arch .arch-sep{border:0;border-top:1px solid var(--rule);margin:1rem auto;width:60%}
.xpanel .arch .tags{text-align:left}.xpanel .arch .arch-sep{width:100%;margin:.9rem 0}
.arch .arch-cats a,.arch .arch-years a{font-weight:600}
.side-below .big .arch-sep{margin:.55rem auto}.side-below .big .side-h{margin-bottom:.4rem}
/* header: the site title and the menu run flush to the left edge of the window (not lined up with the post column),
   leaving the space beside the posts free for the design phase */
.masthead>.wrap{max-width:none;padding-left:.6rem;padding-right:.6rem}
@media (min-width:900px){.menu-desktop{margin-left:-.75rem}}
.foot p{text-align:center}
/* no sidebar beside the posts (below 1000px): centre the post column; its text stays left-aligned */
@media (max-width:999px){main{margin-left:auto;margin-right:auto;width:100%}}
/* sidebar text never runs much wider than its pictures: captions and text capped at 22rem; on narrow screens (sidebar under
   the post) the whole sidebar is capped and centred */
.sidebar figcaption,.sidebar .side-card>p{max-width:22rem;margin-left:auto;margin-right:auto}
@media (max-width:999px){aside.sidebar{max-width:30rem;width:100%;margin-left:auto;margin-right:auto}}
/* narrow screens: the sidebar's cards use the same grid as under a short post (welcome card on its own row) */
aside.sidebar.emptied{display:none}
.below-pics>.side-card.welcome{flex-basis:100%;width:100%;margin-bottom:.4rem}
@media (max-width:999px){.side-below{margin-top:0;padding-top:1rem;border-top:1px solid var(--rule)}}
/* narrow screens: the welcome card as a slim strip under the header — picture about the size of the header fedora at the far
   left, the welcome text beside it across the window */
.intro-strip{padding:.55rem .6rem;border-bottom:1px solid var(--rule);background:var(--paper)}
.intro-strip .side-card{margin:0;padding:0;border:0}
.intro-strip figure,.intro-strip .wp-block-image{margin:0;display:flex;align-items:flex-start;gap:.75rem;text-align:left}
.intro-strip img{height:48px;width:auto!important;max-height:none;max-width:40vw;flex:none;border-radius:4px;object-fit:cover}
.intro-strip figcaption{margin:0!important;max-width:none!important;font-size:.92rem;line-height:1.35;color:var(--muted);text-align:left}
/* narrow screens (no sidebar beside the posts): the menu bar's options are centred as they wrap; the search box keeps a
   sensible width under the title */
@media (max-width:999px){
  .menu{justify-content:center}
  .menu-desktop{justify-content:center;margin-left:0}
  .head-search{flex-basis:100%;justify-content:center}
  .head-search input[type=search]{flex:0 1 24rem;max-width:24rem}
}
/* Case Files, Fellow Ops, Archives in the menu bar: same lettering as the other menu options (not all capitals) */
.menu-extra>li>details>summary{font:500 .95rem/1.2 var(--ui);text-transform:none;letter-spacing:normal;padding:.65rem .75rem}
@media (max-width:480px){.menu-extra>li>details>summary{font-size:.88rem;padding:.65rem .45rem}}
.menu-mobile>summary{font:500 .95rem/1.2 var(--ui);text-transform:none;letter-spacing:normal}
@media (max-width:480px){.menu-mobile>summary{font-size:.88rem}}
@media (max-width:999px){.side-below .side-card figcaption{font-size:.88rem}}

/* post nav: tight to the rule below (Leo 2026-11-14) */
.postnav,.pager{margin-bottom:0}
@media (max-width:999px){.layout{padding-bottom:1.25rem}}

/* Trial (Leo 2026-11-14): no MENU dropdown. Every menu option stays on the bar at every width and the options wrap
   as the window narrows; Case Files, Fellow Ops and Archives are on the bar at every width too (and still in the
   sidebar cards on wide screens). To go back: delete this block. */
.menu-mobile{display:none!important}
.menu-desktop{display:contents}
.menu-desktop>li{position:relative}
.menu-desktop details>ul{position:absolute;z-index:5;left:0;top:100%;min-width:19rem;background:var(--paper);border:1px solid var(--rule);box-shadow:0 8px 24px rgba(0,0,0,.18);padding:.3rem 0}
.menu-desktop details>ul a{white-space:normal}
@media (min-width:1000px){.menu-extra{display:contents}.menu{margin-left:-.75rem}}
/* narrow: a submenu opens as a full-width panel under the bar, like the Archives panel, so it never runs off the screen */
@media (max-width:999px){
  .menu-desktop>li{position:static}
  .menu-desktop details>ul{left:0;right:0;min-width:0;max-height:75vh;overflow:auto}
}
@media (max-width:480px){.menu-desktop>li>a,.menu-desktop>li>details>summary{font-size:.88rem;padding:.65rem .45rem}}

/* menu bar: tighter spacing between options, across and between lines (Leo 2026-11-14) */
.menu{column-gap:0}
.menu-desktop>li>a,.menu-desktop>li>details>summary,.menu-extra>li>details>summary{padding:.3rem .5rem}
@media (min-width:1000px){.menu{margin-left:-.5rem}}
@media (max-width:999px){.menu{padding-top:.2rem;padding-bottom:.25rem}}
@media (max-width:480px){.menu-desktop>li>a,.menu-desktop>li>details>summary,.menu-extra>li>details>summary{padding:.25rem .4rem}}

/* header (Leo 2026-11-14): the site title always fits on one line — its size follows the header's width (the title is ~15.06×
   its font size wide; 15.4 leaves slack) — and the light/dark button sits at the right, level with the tagline row (site.js
   lines it up exactly with the tagline). */
.masthead>.wrap:first-child{position:relative;container-type:inline-size}
.brand strong{white-space:nowrap;font-size:min(2.3rem,calc((100vw - 100px)/15.4));font-size:min(2.3rem,calc((100cqw - 66px)/15.4))}
.brand em{white-space:nowrap;font-size:min(.95rem,calc((100vw - 150px)/15.2));font-size:min(.95rem,calc((100cqw - 112px)/15.2))}
.theme-toggle{position:absolute;right:.6rem;top:3.2rem;width:2.3rem;height:2.3rem;font-size:1rem;margin:0}
.brand{flex:1 1 100%}
@media (min-width:1000px){
  .brand{flex:0 1 auto}
  .brand strong{font-size:min(2.3rem,calc((100vw - 24rem - 80px)/15.4));font-size:min(2.3rem,calc((100cqw - 23rem - 66px)/15.4))}
  .brand em{font-size:.95rem}
}
@media (min-width:1000px){.head-search{top:.3rem}}
@media (max-width:999px){
  .theme-toggle{width:2.1rem;height:2.1rem;font-size:.95rem}
  .brand em{margin-top:.6rem;font-size:min(.95rem,calc((100vw - 165px)/15.2));font-size:min(.95rem,calc((100cqw - 128px)/15.2))}
}
/* Search button: less padding above and below the word (Leo 2026-11-14); it no longer stretches to the field's height */
.head-search{align-items:center}
.head-search button{padding:.22rem .8rem;line-height:1.2}

/* menu bar: a small rifle cartridge between the options (Leo 2026-11-14, noir theme). Not shown before the first option, nor
   at the start of a wrapped line (site.js marks those items .line-start). */
.menu-desktop>li,.menu-extra>li{display:flex;align-items:center}
.menu-desktop>li::before,.menu-extra>li::before{content:"";flex:none;width:18px;height:7px;margin:0 .05rem;background:url(/assets/bullet.svg) center/contain no-repeat}
.menu>ul.menu-desktop:first-of-type>li:first-child::before,.menu li.line-start::before{display:none}
.menu-desktop>li>a,.menu-desktop>li>details>summary,.menu-extra>li>details>summary{padding-left:.4rem;padding-right:.4rem}
@media (max-width:480px){.menu-desktop>li::before,.menu-extra>li::before{width:15px;height:6px}.menu-desktop>li>a,.menu-desktop>li>details>summary,.menu-extra>li>details>summary{padding-left:.3rem;padding-right:.3rem}}

/* Variant (Leo 2026-11-14): the cartridge stands upright, tip at top, pressed against the left of every menu option
   (Home and the first option on each line included). */
.menu-desktop>li::before,.menu-extra>li::before{width:7px;height:17px;margin:0 0 0 .25rem;background-image:url(/assets/bullet-up.svg)}
.menu>ul.menu-desktop:first-of-type>li:first-child::before,.menu li.line-start::before{display:block}
.menu-desktop>li>a,.menu-desktop>li>details>summary,.menu-extra>li>details>summary{padding-left:.22rem;padding-right:.3rem}
@media (max-width:480px){.menu-desktop>li::before,.menu-extra>li::before{width:6px;height:15px;margin-left:.2rem}.menu-desktop>li>a,.menu-desktop>li>details>summary,.menu-extra>li>details>summary{padding-left:.18rem;padding-right:.22rem}}
@media (min-width:1000px){.menu{margin-left:-.25rem}}

/* Menu icons (Leo 2026-11-14): each option gets its own small icon, pressed against the left of its name, in brass —
   Home fedora, The Tour street lamp, The Books books on a shelf, Some Essays pen nib, Case Files manila folder,
   Fellow Ops magnifying glass, Archives filing cabinet, Navigation compass, Contact Don candlestick telephone.
   Files in /assets/icons/ (used as masks, so the colour comes from --icon). Replaces the cartridge separators. */
:root{--icon:#9a6f22}
:root[data-theme=dark]{--icon:#d2a650}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--icon:#d2a650}}
.menu-desktop>li::before,.menu-extra>li::before{display:none!important}
.menu li[data-ic]::before{display:block!important;content:"";flex:none;width:16px;height:16px;margin:0 0 0 .3rem;background:var(--icon);-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat}
.menu li[data-ic=home]{--ic:url(/assets/icons/home.svg)}
.menu li[data-ic=tour]{--ic:url(/assets/icons/tour.svg)}
.menu li[data-ic=books]{--ic:url(/assets/icons/books.svg)}
.menu li[data-ic=essays]{--ic:url(/assets/icons/essays.svg)}
.menu li[data-ic=case-files]{--ic:url(/assets/icons/case-files.svg)}
.menu li[data-ic=fellow-ops]{--ic:url(/assets/icons/fellow-ops.svg)}
.menu li[data-ic=archives]{--ic:url(/assets/icons/archives.svg)}
.menu li[data-ic=navigation]{--ic:url(/assets/icons/navigation.svg)}
.menu li[data-ic=contact]{--ic:url(/assets/icons/contact.svg)}
.menu li[data-ic]>a,.menu li[data-ic]>details>summary{padding-left:.25rem}
@media (max-width:480px){.menu li[data-ic]::before{width:14px;height:14px;margin-left:.22rem}.menu li[data-ic]>a,.menu li[data-ic]>details>summary{padding-left:.2rem}}
/* Search button: magnifying glass before the word (Leo 2026-11-14); it takes the button's text colour */
.head-search button{display:inline-flex;align-items:center;gap:.3rem}
.head-search button::before{content:"";flex:none;width:.95em;height:.95em;background:currentColor;-webkit-mask:url(/assets/icons/search.svg) center/contain no-repeat;mask:url(/assets/icons/search.svg) center/contain no-repeat}
@media (min-width:1000px){.head-search{width:22.5rem}}

/* Header (Leo 2026-11-14): title and tagline centred at every width; no fedora beside them (the design phase will put
   imagery either side). The light/dark button stays at the right, level with the tagline (site.js). Search box: top right
   from 1280px up, where the centred title has room beside it; below that it has its own centred row under the title. */
.masthead>.wrap:first-child{justify-content:center}
.brand{flex:0 1 auto;max-width:100%;gap:0;justify-content:center;text-align:center}
.brand>span{display:block;min-width:0}
.brand strong{font-size:min(2.3rem,calc((100vw - 30px)/15.4));font-size:min(2.3rem,calc((100cqw - 8px)/15.4))}
.brand em{font-size:min(.95rem,calc((100vw - 120px)/15.2));font-size:min(.95rem,calc((100cqw - 100px)/15.2))}
@media (min-width:1000px){
  .brand{flex:0 1 auto;max-width:100%}
  .brand strong{font-size:min(2.3rem,calc((100vw - 30px)/15.4));font-size:min(2.3rem,calc((100cqw - 8px)/15.4))}
  .masthead>.wrap:first-child{padding-bottom:.6rem}
}
@media (min-width:1000px) and (max-width:1279px){
  .head-search{position:static;order:3;flex:1 1 100%;width:auto;justify-content:center;margin:.5rem 0 0}
  .head-search input[type=search]{flex:0 1 24rem;max-width:24rem}
}
@media (min-width:1280px){
  .brand strong{font-size:min(2.3rem,calc((100vw - 48rem - 30px)/15.4));font-size:min(2.3rem,calc((100cqw - 47.4rem)/15.4))}
}
@media (max-width:999px){.brand em{margin-top:.45rem}}

/* Light theme (Leo 2026-11-14): deeper tan behind the posts so the page isn't uniformly bright; the header, footer and
   panels stay pale paper above it. Quote shading, rules and muted text darkened to match. */
:root{--bg:#e8dcc6;--quote:#dccfb5;--rule:#cdbfa6;--muted:#5d564c}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#121214;--quote:#222228;--rule:#2e2d33;--muted:#a39b8e}}
:root[data-theme=dark]{--bg:#121214;--quote:#222228;--rule:#2e2d33;--muted:#a39b8e}
.head-search{min-width:0;max-width:100%}
.head-search input[type=search]{width:0}
@media (min-width:1280px){.head-search input[type=search]{padding-top:.4rem;padding-bottom:.4rem}}
/* title ↔ tagline closer together (Leo 2026-11-14). On narrow screens the title is kept from running over the light/dark
   button (it stops ~46px short of each edge), so the tagline can sit close under it with the button level beside it. */
.brand em{margin-top:-3px}
@media (max-width:999px){
  .brand em{margin-top:-3px}
  .brand strong{font-size:min(2.3rem,calc((100vw - 120px)/15.4));font-size:min(2.3rem,calc((100cqw - 94px)/15.4))}
}
@media (max-width:999px){.brand em{margin-top:1px}}

/* Search in the menu bar (Leo 2026-11-14): the header search box is gone; the "Search" option (magnifying glass) opens a
   panel with a large field — the full width of the screen on phones, and that same phone-sized length (26rem) on larger
   screens, placed under the option (site.js keeps it inside the window). */
.menu li[data-ic=search]{--ic:url(/assets/icons/search.svg)}
.spanel{position:absolute;z-index:6;top:100%;left:0;right:0;background:var(--paper);border:1px solid var(--rule);box-shadow:0 10px 28px rgba(0,0,0,.2);padding:.7rem;border-radius:0 0 4px 4px}
.spanel form{display:flex;gap:.5rem;align-items:center;margin:0}
.spanel input[type=search]{flex:1 1 auto;width:0;min-width:0;font:1.15rem var(--ui);padding:.7rem .85rem;background:var(--bg)}
.spanel button{display:inline-flex;align-items:center;gap:.35rem;font-size:1rem;padding:.72rem 1rem}
.spanel button::before{content:"";flex:none;width:1em;height:1em;background:currentColor;-webkit-mask:url(/assets/icons/search.svg) center/contain no-repeat;mask:url(/assets/icons/search.svg) center/contain no-repeat}
@media (min-width:1000px){.menu .menu-desktop>li.menu-search{position:static}.spanel{right:auto;width:26rem}}
/* header without the search box: the title only needs to keep clear of the light/dark button */
@media (min-width:1280px){.brand strong{font-size:min(2.3rem,calc((100vw - 120px)/15.4));font-size:min(2.3rem,calc((100cqw - 94px)/15.4))}}
@media (min-width:1000px){.brand strong{font-size:min(2.3rem,calc((100vw - 120px)/15.4));font-size:min(2.3rem,calc((100cqw - 94px)/15.4))}}
.spanel button{gap:0;padding:.7rem .9rem}
.spanel button::before{width:1.25em;height:1.25em}
@media (max-width:360px){.spanel input[type=search]{font-size:1rem}}
@media (max-width:340px){.spanel{padding:.6rem .5rem}.spanel input[type=search]{font-size:.9rem;padding-left:.6rem;padding-right:.5rem}}

/* Light/dark button (Leo 2026-11-14): top-right corner of the window at every width; a centred moon (in the light theme,
   "Bookman’s Holiday") or sun (in the dark theme, "Night Fog") — the theme a click switches to — and on hover just that
   theme's name. */
.theme-toggle{position:absolute;top:.45rem;right:.6rem;width:2.3rem;height:2.3rem;display:grid;place-items:center;padding:0;margin:0;color:var(--ink);background:var(--paper)}
.theme-toggle .sun,.theme-toggle .moon{display:none!important}
.theme-toggle svg{grid-area:1/1;width:1.2rem;height:1.2rem;display:block}
.theme-toggle .ic-sun{display:none}
:root[data-theme=dark] .theme-toggle .ic-sun{display:block}:root[data-theme=dark] .theme-toggle .ic-moon{display:none}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .theme-toggle .ic-sun{display:block}:root:not([data-theme=light]) .theme-toggle .ic-moon{display:none}}
.theme-toggle::after{content:attr(data-next);position:absolute;right:calc(100% + .45rem);top:50%;transform:translateY(-50%);white-space:nowrap;font:600 .8rem/1.2 var(--ui);letter-spacing:.02em;background:var(--ink);color:var(--paper);padding:.32rem .6rem;border-radius:4px;box-shadow:0 4px 14px rgba(0,0,0,.2);opacity:0;pointer-events:none;transition:opacity .12s}
.theme-toggle:hover::after,.theme-toggle:focus-visible::after{opacity:1}
@media (max-width:999px){.theme-toggle{top:.4rem;width:2.1rem;height:2.1rem}.theme-toggle svg{width:1.1rem;height:1.1rem}}
.theme-toggle .ic-moon{width:1.35rem;height:1.35rem}
@media (max-width:999px){.theme-toggle .ic-moon{width:1.25rem;height:1.25rem}}
/* Touch screens (Leo 2026-11-14): no hover label there (it would stick after a tap and read as the current theme). Instead,
   a tap briefly shows the name of the theme just switched to (.flash, set by site.js), then it fades. The hover label
   (name of the theme a click switches to) is kept for mouse/trackpad. */
.theme-toggle:hover::after{opacity:0}
@media (hover:hover){.theme-toggle:hover::after{opacity:1}}
.theme-toggle::before{content:attr(data-now);position:absolute;right:calc(100% + .45rem);top:50%;transform:translateY(-50%);white-space:nowrap;font:600 .8rem/1.2 var(--ui);letter-spacing:.02em;background:var(--ink);color:var(--paper);padding:.32rem .6rem;border-radius:4px;box-shadow:0 4px 14px rgba(0,0,0,.2);opacity:0;pointer-events:none;transition:opacity .35s}
.theme-toggle.flash::before{opacity:1;transition:opacity .1s}
.theme-toggle.flash::after{opacity:0!important}

/* menu bar options centred at every width (Leo 2026-11-14) */
.menu{justify-content:center}
@media (min-width:1000px){.menu{margin-left:0}}

/* tag cloud: rows as close as they go without letters colliding (Leo 2026-11-14) */
@media (min-width:1000px){.sidebar .tags.cloud,.side-below .side-card .tags.cloud{line-height:0}.sidebar .tags.cloud a{line-height:.85}}

/* closed menu panels take no room (a closed panel could stick out past the window edge and add a sideways scroll) */
.menu details:not([open])>:not(summary){display:none}

/* Case Files and Fellow Ops dropdowns (Leo 2026-11-14): styled like The Books / Some Essays — a compact panel under the
   option, plain dark menu lettering, left-aligned (no red links, no bullets). Archives keeps its full-width panel. */
.menu .xpanel.x-case-files,.menu .xpanel.x-fellow-ops{position:absolute;z-index:5;left:0;right:auto;top:100%;min-width:19rem;max-width:26rem;max-height:75vh;overflow:auto;background:var(--paper);border:1px solid var(--rule);box-shadow:0 8px 24px rgba(0,0,0,.18);padding:.3rem 0;font:500 .95rem/1.2 var(--ui);text-align:left}
.menu .x-case-files ul,.menu .x-fellow-ops ul{list-style:none;margin:0;padding:0}
.menu .x-case-files li,.menu .x-fellow-ops li{margin:0}
.menu .x-case-files a,.menu .x-fellow-ops a{display:block;padding:.65rem .75rem;color:var(--ink);text-decoration:none}
.menu .x-case-files a:hover,.menu .x-fellow-ops a:hover{color:var(--accent)}
@media (min-width:1000px){.menu-extra>li[data-ic=case-files],.menu-extra>li[data-ic=fellow-ops]{position:relative}}
@media (max-width:999px){.menu .xpanel.x-case-files,.menu .xpanel.x-fellow-ops{right:0;min-width:0;max-width:none}}

/* dropdown entries closer together (Leo 2026-11-14) */
.menu .menu-desktop details>ul a,.menu .x-case-files a,.menu .x-fellow-ops a{padding:.3rem .75rem}
.menu .menu-desktop details>ul,.menu .xpanel.x-case-files,.menu .xpanel.x-fellow-ops{padding:.35rem 0}

/* Archives dropdown: each section (categories, tags, years) centred (Leo 2026-11-14) */
.menu .x-archives,.menu .x-archives .arch,.menu .x-archives .tags,.menu .x-archives p{text-align:center}

/* Bookman's Holiday (Leo 2026-11-14): no pure white — the header, intro strip, footer, menu panels and other "paper" areas
   use the off-white of Night Fog's text (#e8e3d9). */
:root{--paper:#e8e3d9}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--paper:#1a1a1e}}
:root[data-theme=dark]{--paper:#1a1a1e}
/* theme button (Leo 2026-11-14): its lighter colour is the Bookman's Holiday page tan — the circle in the light theme, the
   sun in Night Fog */
.theme-toggle{background:#e8dcc6}
:root[data-theme=dark] .theme-toggle{background:var(--paper);color:#e8dcc6}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .theme-toggle{background:var(--paper);color:#e8dcc6}}

/* Blood-maroon titles (Leo 2026-11-14): the site title and post titles. Deep maroon in Bookman's Holiday; a brighter blood
   red in Night Fog, where true maroon would vanish into the dark background. */
:root{--title:#6e0e12}
:root[data-theme=dark]{--title:#b3282d}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--title:#b3282d}}
.brand strong,.entry>h1,.entry>h2,.entry>h2 a{color:var(--title)}
/* menu-bar icons in the same blood maroon as the titles (Leo 2026-11-14) */
:root,:root[data-theme=dark]{--icon:var(--title)}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--icon:var(--title)}}
/* trial (Leo 2026-11-14): Night Fog uses the same deep maroon as Bookman's Holiday for titles and menu icons */
:root[data-theme=dark]{--title:#6e0e12}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--title:#6e0e12}}
/* Night Fog (Leo 2026-11-14): titles and menu icons in gold (Bookman's Holiday keeps the deep maroon) */
:root[data-theme=dark]{--title:#d2b471}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--title:#d2b471}}
/* links (Leo 2026-11-14): same colour as the titles — deep maroon in Bookman's Holiday, gold in Night Fog */
:root,:root[data-theme=dark]{--link:var(--title)}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--link:var(--title)}}
/* pictures in posts and the welcome (intro) picture: 1px border in the title colour — maroon / gold (Leo 2026-11-14) */
#main .entry img,.side-card.welcome img,.intro-strip img{border:2px solid var(--title);box-sizing:border-box}
/* highlight colour (current menu item, hovers, open dropdowns, buttons) = the title colour: maroon in Bookman's Holiday,
   gold in Night Fog — no more red/orange (Leo 2026-11-14) */
:root,:root[data-theme=dark]{--accent:var(--title)}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--accent:var(--title)}}
.menu .menu-desktop details>ul a:hover{color:var(--accent)}
/* title ↔ tagline: the same spacing at every width (Leo 2026-11-14) */
.brand em,.brand>span>em{margin-top:1px}
@media (max-width:999px){.brand em{margin-top:1px}}

/* The Books / Some Essays / Case Files / Fellow Ops dropdowns: the compact panel under the option at every width, not a
   full-width panel on smaller screens (Leo 2026-11-14). site.js shifts a panel left if it would run off the window. */
@media (max-width:999px){
  .menu .menu-desktop>li.has-kids,.menu .menu-extra>li[data-ic=case-files],.menu .menu-extra>li[data-ic=fellow-ops]{position:relative}
  .menu .menu-desktop>li.has-kids details>ul,.menu .xpanel.x-case-files,.menu .xpanel.x-fellow-ops{left:0;right:auto;min-width:min(19rem,calc(100vw - 1rem));max-width:min(26rem,calc(100vw - 1rem));max-height:75vh;overflow:auto}
}

/* the option for the page you are on (incl. dropdown options) in the highlight colour (Leo 2026-11-14) */
.menu summary.cur{color:var(--accent)}
/* picture borders (Leo 2026-11-14): 2px for pictures in posts; 1px for the welcome picture and every picture in the sidebar /
   cards (sidebar, cards under the post, phone intro strip) — all in the title colour */
.sidebar .side-card img,.side-card.welcome img,.intro-strip img{border:1px solid var(--title);box-sizing:border-box}

/* Archives dropdown: the tag cloud looks like the sidebar's — mixed sizes by use, bold serif in the link colour, no boxes,
   tightly packed rows, underline on hover (Leo 2026-11-14) */
.menu .x-archives .tags.cloud{text-align:center;line-height:0;margin:0}
.menu .x-archives .tags.cloud a{display:inline;white-space:nowrap;border:0;border-radius:0;background:none;padding:0;margin:0 .3rem 0 0;font-family:var(--serif);font-weight:700;font-size:calc(8pt + var(--w,0) * 14pt);line-height:.85;letter-spacing:0;color:var(--link);text-decoration:none;vertical-align:baseline}
.menu .x-archives .tags.cloud a:hover{text-decoration:underline;color:var(--link)}
/* Archives category and year buttons: hover fills them with the highlight colour — maroon with off-white lettering in
   Bookman's Holiday, gold with dark lettering in Night Fog (Leo 2026-11-14) */
.arch .tags:not(.cloud) a{transition:background-color .12s,color .12s,border-color .12s}
.arch .tags:not(.cloud) a:hover,.arch .tags:not(.cloud) a:focus-visible{background:var(--accent);border-color:var(--accent);color:var(--paper);text-decoration:none}
/* no border on the Lifetime Achievement Award picture (Leo 2026-11-14) */
.side-card.award img{border:0}

/* Signed-in Leo / Don only (Leo 2026-11-14): Edit button after the date/category line of a post, centred under the title of
   a page; "Don's Desk" (typewriter icon) at the end of the menu bar. Readers' pages never contain these. */
.edit-btn{display:inline-block;margin-left:.6rem;padding:.05rem .55rem;font:600 .72rem/1.5 var(--ui);letter-spacing:.06em;text-transform:uppercase;text-decoration:none;color:var(--accent);border:1px solid var(--accent);border-radius:3px;vertical-align:.08em}
.edit-btn:hover,.edit-btn:focus-visible{background:var(--accent);color:var(--paper);text-decoration:none}
.entry>.page-edit{text-align:center;margin-top:-.1rem}
.entry>.page-edit .edit-btn{margin-left:0}
.menu li[data-ic=desk]{--ic:url(/assets/icons/desk.svg)}
.entry .meta .edit-btn,.entry .page-edit .edit-btn{color:var(--accent);text-decoration:none}
.entry .meta .edit-btn:hover,.entry .page-edit .edit-btn:hover{color:var(--paper)}
/* consecutive HEADING lines read as one heading block: tight between lines, normal space before the first and after the last (Leo 2026-11-15) */
.content :is(h2,h3,h4,h5):has(+ :is(h2,h3,h4,h5)){margin-bottom:0}
.content :is(h2,h3,h4,h5) + :is(h2,h3,h4,h5){margin-top:.2rem}
/* headings inside posts in the title maroon / Night Fog gold, matching the post titles (Leo 2026-11-15) */
.content :is(h2,h3,h4,h5){color:var(--title)}
/* sidebar captions set tighter (Leo 2026-11-15): 1.5 → 1.25 */
.sidebar figcaption,.side-below .side-card figcaption{line-height:1.25}
/* the welcome (blog intro) caption is left-justified (Leo 2026-11-15) */
.side-card.welcome figcaption{text-align:left}
/* welcome card beside the posts (Leo 2026-11-15): every welcome picture is shown at the welcome text's width, so picture and text share the same left and right edges whichever picture is up (only the height changes) */
.sidebar .side-card.welcome figure{width:100%;max-width:22rem;margin-left:auto;margin-right:auto}
.sidebar .side-card.welcome img{display:block;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important}
.sidebar .side-card.welcome figcaption{width:100%;max-width:none;margin-top:.5rem;padding:0 .75rem;box-sizing:border-box}
/* quotes in posts set in from both sides (Leo 2026-11-16): 2rem each side on wide screens, 1rem on phones */
.content blockquote,.content .wp-block-quote{margin-left:2rem;margin-right:2rem}
@media (max-width:600px){.content blockquote,.content .wp-block-quote{margin-left:1rem;margin-right:1rem}}
/* search fields (menu-bar Search panel and the results page) type in the body font, Source Serif (Leo 2026-11-16) */
.spanel input[type=search],.big-search input[type=search]{font-family:var(--serif)}
/* dropdown menus (The Books, Some Essays, Case Files, Fellow Ops, and Archives' category and year buttons) in the body font,
   Source Serif (Leo 2026-11-16) */
.menu .menu-desktop details>ul a,.menu .xpanel a{font-family:var(--serif)}
/* dropdown panels (menu dropdowns, Archives, Search) on the same shading as quotes in posts (Leo 2026-11-16) */
.menu .menu-desktop details>ul,.menu .xpanel,.menu .xpanel.x-case-files,.menu .xpanel.x-fellow-ops,.menu .spanel{background:var(--quote)}
/* "In this section" box on pages with sub-pages (The Books, Some Essays…): same shading as quotes in posts (Leo 2026-11-16) */
.subpages{background:var(--quote)}
