:root {
  color-scheme: light dark;
  --paper: #f2f3f0;
  --paper-2: #e6e8e4;
  --ink: #15171c;
  --ink-soft: #4c515c;
  --rule: #c4c8ce;
  --prussian: #1e3a5f;
  --prussian-wash: #dce4ee;
  --ochre: #805a06;
  --ochre-wash: #f1e7cf;
  --display: "IM Fell English", Georgia, serif;
  --body: "Newsreader", Georgia, serif;
  --label: "IBM Plex Sans Condensed", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #111318; --paper-2: #1a1d24; --ink: #e8e6e0; --ink-soft: #a2a7b2; --rule: #333944;
    --prussian: #a5c4ec; --prussian-wash: #1c2a3d; --ochre: #e2b94f; --ochre-wash: #2d2715;
  }
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1.18rem/1.5 var(--body); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: normal; line-height: 1.08; text-wrap: balance; }
a { color: var(--prussian); text-underline-offset: .16em; }
a:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--prussian); outline-offset: 4px; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.notice { padding: .38rem 1rem; background: var(--ochre-wash); color: var(--ochre); text-align: center; font: 600 .83rem/1.35 var(--label); }
.mast-strip { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0 .65rem; border-bottom: 1px solid var(--rule); }
.mast-name { display: flex; width: fit-content; margin: 1rem auto .1rem; align-items: center; gap: .8rem; text-decoration: none; color: var(--ink); }
.mark { width: clamp(2rem, 6vw, 4.25rem); color: var(--prussian); }
.mast-title { font: clamp(2.75rem, 9vw, 6rem)/1 "UnifrakturMaguntia", Georgia, serif; }
.motto { padding-bottom: 1.1rem; text-align: center; color: var(--ink-soft); }
.motto em { margin-left: .25rem; }
.sections { border-block: 1px solid var(--ink); }
.sections ul { display: flex; justify-content: center; flex-wrap: wrap; gap: .15rem 1.75rem; padding: .52rem 0; margin: 0; list-style: none; }
.sections a, .label, .kicker, .meta, .src, .more, .np-more, .badge, .chip, .btn {
  font: 600 .8rem/1.3 var(--label);
  letter-spacing: .075em;
}
.sections a, .label, .kicker, .src, .more, .np-more, .badge, .btn { text-transform: uppercase; }
.sections a { color: var(--ink); text-decoration: none; }
.sections a:hover, .sections a[aria-current] { color: var(--prussian); text-decoration: underline; }
main { padding-block: 2rem 3.5rem; }
main section + section { margin-top: 2.75rem; }
.page-head { border-bottom: 2px solid var(--ink); padding-bottom: 1rem; margin-bottom: 1.5rem; }
.page-head h1, .lead h1 { margin-top: .3rem; font-size: clamp(2.5rem, 6vw, 4.7rem); }
.page-head p { margin-top: .55rem; max-width: 62ch; color: var(--ink-soft); }
.kicker, .src { display: block; color: var(--prussian); }
.soft, .empty, .meta { color: var(--ink-soft); }
.meta { display: flex; align-items: baseline; gap: .35rem .95rem; flex-wrap: wrap; margin: .65rem 0; letter-spacing: .045em; }
.echo { color: var(--ochre); }
.story, .lead h1 a, .np h2 a, .np h3 a, .trio h3 a, .guest-item h3 a { color: var(--ink); text-decoration: none; }
.story:hover h2, .story:hover h3, h1 a:hover, h2 a:hover, h3 a:hover { color: var(--prussian); text-decoration: underline; }
.standfirst { margin-top: .8rem; color: var(--ink-soft); font-size: clamp(1.24rem, 2.3vw, 1.55rem); }
.front { display: grid; grid-template-columns: minmax(0, 2.25fr) minmax(0, 1fr); gap: 2rem; margin-bottom: 2.4rem; }
.lead .more { display: inline-block; margin-top: .65rem; }
.rail { border-left: 1px solid var(--rule); padding-left: 1.5rem; }
.rail-head, .sec-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1rem; border-top: 2px solid var(--ink); padding: .6rem 0 .7rem; }
.sec-head h2 { font-size: clamp(1.65rem, 4vw, 2.4rem); }
.sec-head p { color: var(--ink-soft); }
.cutting { border-top: 1px solid var(--rule); padding-block: .7rem; }
.cutting h3 { margin: .25rem 0; font-size: 1.3rem; }
.cutting .note { color: var(--ink-soft); font-size: 1.02rem; }
.rail .empty { margin-bottom: .6rem; }
.ruler-scroll { overflow-x: auto; margin-bottom: 1rem; }
.ruler {
  position: relative;
  min-width: 900px;
  margin: 0 3rem;
  height: calc(3.2rem + var(--lanes) * 2.6rem);
  background: linear-gradient(var(--rule), var(--rule)) center 1.4rem / 100% 1px no-repeat;
}
.tick { position: absolute; top: 1.4rem; transform: translateX(-50%); padding-top: .25rem; font: .8rem var(--label); color: var(--ink-soft); }
.tick::before { content: ""; position: absolute; left: 50%; top: -.28rem; height: .45rem; border-left: 1px solid var(--ink-soft); }
.pin { position: absolute; top: calc(2.9rem + var(--lane) * 2.6rem); display: block; transform: translateX(-50%); text-decoration: none; }
.pin::before { content: ""; position: absolute; bottom: 100%; left: 50%; height: calc(1.45rem + var(--lane) * 2.6rem); border-left: 1px dotted var(--ochre); pointer-events: none; }
.pin-label { display: flex; width: 7rem; flex-direction: column; align-items: center; text-align: center; font: 600 .78rem/1.12 var(--label); }
.pin-label b { color: var(--ochre); }
.pin:hover { text-decoration: underline; }
.trio, .stubs, .np-grid, .cuttings-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.trio article, .np-story { border-top: 1px solid var(--rule); padding-top: .75rem; }
.trio h3, .np h3 { font-size: 1.55rem; margin-block: .3rem; }
.pair, .about { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2rem; margin-block: 1.75rem 2.25rem; }
.guest-item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .7rem; padding: .65rem 0; border-bottom: 1px solid var(--rule); }
.monogram { border: 1px solid var(--rule); padding: .5rem; align-self: start; font: 600 .8rem var(--label); }
.pitch, .backpage .more { margin-top: .85rem; }
.letterbox, .aside-card { padding: 1.3rem 1.5rem; border: 1px solid var(--rule); background: var(--paper-2); }
.letterbox h2, .aside-card h2 { margin-block: .3rem; }
.letterbox p, .aside-card p { margin-block: .5rem; }
.btn { display: inline-block; padding: .55rem 1rem; background: var(--prussian); color: var(--paper); text-decoration: none; }
.btn:hover { text-decoration: underline; }
.stub { display: block; border: 1px solid var(--rule); }
.stub-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .35rem; padding: .5rem .7rem; border-bottom: 1px dashed var(--rule); }
.stub-body { padding: .75rem; }
.stub-body h3 { margin-bottom: .35rem; }
.badge { background: var(--paper-2); padding: .2rem .35rem; }
.badge.attended { background: var(--ochre-wash); color: var(--ochre); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.5rem; }
.chip { padding: .38rem .68rem; border: 1px solid var(--rule); text-decoration: none; }
.chip:hover, .chip[aria-current] { background: var(--prussian-wash); border-color: var(--prussian); }
.np-lead { margin-bottom: 1.3rem; }
.np-lead h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-top: .3rem; }
.ledger { list-style: none; margin: 0; padding: 0; }
.ledger li { padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.ledger .story { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; align-items: start; }
.ledger .yr { color: var(--ochre); min-width: 5rem; max-width: 9rem; font: 1.7rem var(--display); }
.ledger small { display: block; font: .82rem var(--label); }
.article { width: min(100%, 780px); margin-inline: auto; }
.prose { max-width: 67ch; }
.prose p, .prose ul, .prose h2 { margin: 0 0 1rem; }
.prose { overflow-wrap: anywhere; }
.prose h2 { margin-top: 1.8rem; font-size: 1.75rem; }
.precedent { background: var(--ochre-wash); padding: .75rem; }
.precedent b { color: var(--ochre); margin-right: .5rem; }
footer { border-top: 3px double var(--ink); padding-block: 1rem 2rem; display: flex; gap: 1rem; flex-wrap: wrap; justify-content: space-between; color: var(--ink-soft); font-size: 1rem; }
.fmark { color: var(--ink); font: 1.55rem "UnifrakturMaguntia", Georgia, serif; }
@media (max-width: 740px) {
  .wrap { width: calc(100% - 32px); }
  .mast-strip { justify-content: center; }
  .hide-sm { display: none; }
  .sections ul { gap: .2rem .9rem; }
  .front, .pair, .about { grid-template-columns: 1fr; gap: 1.15rem; }
  .rail { border-left: 0; padding-left: 0; }
  .trio, .stubs, .np-grid, .cuttings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 470px) {
  .trio, .stubs, .np-grid, .cuttings-grid { grid-template-columns: 1fr; }
}
