/* EB Garamond and IBM Plex Mono, SIL Open Font License 1.1, served from this site
   (latin and latin-ext only). Fetched from Google Fonts 2026-10-22. */
/* latin-ext */
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/eb-garamond-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/eb-garamond-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/eb-garamond-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/eb-garamond-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/eb-garamond-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/eb-garamond-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/eb-garamond-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/eb-garamond-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/eb-garamond-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/eb-garamond-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-normal-latin-ext-400.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-normal-latin-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-normal-latin-ext-500.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-normal-latin-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* The "Manuscript" pages: episode pages and About (design handoff, 2026-10-22).
   The home and acknowledgements pages keep style.css. fonts.css is prepended at build. */

:root {
  --paper: #F2EDE3;
  --matte: #EAE3D5;
  --hairline: #D9D0BF;
  --ink: #1F2533;
  --ink-2: #4A4E58;
  --ink-muted: #5B5F68;
  --gold: #C8871E;
  --gold-text: #9A5F0E;
  --night: #18213A;
  --night-rule: #2E3955;
  --track: #3A4562;
  --aside-1: #ECE5D8;
  --aside-2: #D4CDBF;
  --aside-3: #AEB3BF;
  --aside-4: #7E8597;
  --serif: 'EB Garamond', Georgia, serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}

html { background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); }
a { color: var(--gold-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
::selection { background: #E8C98F; }

.sc { font-variant-caps: all-small-caps; }

.page { display: flex; flex-wrap: wrap; align-items: flex-start; min-height: 100vh; }

/* ---- Overview pane ---- */

.overview {
  flex: 0 1 330px; min-width: 280px; box-sizing: border-box;
  position: sticky; top: 0; min-height: 100vh; max-height: 100vh; overflow-y: auto; align-self: flex-start;
  background: var(--night); color: var(--aside-1);
  padding: 32px 32px 40px;
  display: flex; flex-direction: column; gap: 28px;
}
.overview a { color: var(--aside-2); }
.overview a:hover { color: var(--aside-1); }
.overview .label { font-variant-caps: all-small-caps; letter-spacing: .16em; font-size: 16px; color: var(--aside-3); }

.masthead { display: flex; flex-direction: column; gap: 14px; }
.masthead .wordmark {
  color: var(--aside-1); text-decoration: none;
  font-variant-caps: all-small-caps; letter-spacing: .14em; font-size: 20px; font-weight: 500;
}
.masthead .rule { width: 56px; height: 1px; background: var(--gold); }
.masthead nav { display: flex; gap: 18px; font-size: 16px; font-style: italic; }
.masthead nav a { color: var(--aside-3); }
.masthead nav a[aria-current] { color: var(--aside-1); }

.titling { display: flex; flex-direction: column; gap: 10px; }
.kicker { font-variant-caps: all-small-caps; letter-spacing: .16em; font-size: 17px; color: var(--gold); }
.titling h1 { margin: 0; font-weight: 400; font-size: 44px; line-height: 1.02; letter-spacing: -.01em; text-wrap: balance; }
.standfirst { margin: 6px 0 0; font-style: italic; font-size: 18px; line-height: 1.45; color: var(--aside-2); text-wrap: pretty; }

.player {
  display: flex; flex-direction: column; gap: 12px;
  border-top: 1px solid var(--night-rule); border-bottom: 1px solid var(--night-rule); padding: 16px 0;
}
.player audio { width: 100%; }
.player .controls { display: none; align-items: center; gap: 14px; }
.player.enhanced .controls { display: flex; }
.player.enhanced audio { display: none; }
.player button {
  width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; padding: 0;
  border: 1px solid var(--gold); background: transparent; color: var(--gold);
  font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.player button:hover, .player button:focus-visible { background: var(--gold); color: var(--night); }
.player .progress { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.player .track { height: 14px; display: flex; align-items: center; cursor: pointer; }
.player .line { position: relative; height: 2px; width: 100%; background: var(--track); }
.player .fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--gold); }
.player .times { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--aside-3); }
.listen-on { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 15px; font-style: italic; }

.contents { display: flex; flex-direction: column; gap: 4px; }
.contents .label { margin-bottom: 6px; }
.contents a { display: grid; grid-template-columns: 34px 1fr; gap: 6px; align-items: baseline; text-decoration: none; padding: 4px 0; }
.contents .num { font-variant-caps: all-small-caps; letter-spacing: .06em; font-size: 16px; color: var(--aside-4); }
.contents .title { font-size: 18px; color: var(--aside-3); }
.contents a.active .num { color: var(--gold); }
.contents a.active .title, .contents a:hover .title { color: var(--aside-1); }

.summary { display: flex; flex-direction: column; gap: 10px; }
.summary p { margin: 0; font-size: 16.5px; line-height: 1.55; color: var(--aside-2); text-wrap: pretty; }

.voices { display: flex; flex-direction: column; gap: 8px; }
.voices dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; font-size: 16.5px; color: var(--aside-2); }
.voices dt { color: var(--aside-1); }
.voices dd { margin: 0; font-style: italic; }

.overview .next {
  margin-top: auto; display: flex; flex-direction: column; gap: 4px; text-decoration: none;
  border-top: 1px solid var(--night-rule); padding-top: 18px;
}
.next .label { color: var(--gold); }
.next .title { font-size: 22px; color: var(--aside-1); }

/* ---- Transcript ---- */

.text { flex: 1 1 420px; min-width: 0; box-sizing: border-box; padding: 28px clamp(20px, 5vw, 72px) 96px; }
.running-head {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: 880px;
  font-variant-caps: all-small-caps; letter-spacing: .14em; font-size: 16px; color: var(--ink-muted);
  border-bottom: 1px solid var(--hairline); padding-bottom: 12px;
}
.running-head em { font-style: italic; }
.column { max-width: 880px; padding-top: 48px; }

.section-head { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 64px 0 22px; max-width: 640px; scroll-margin-top: 24px; }
.section-head .mark {
  display: flex; align-items: center; gap: 12px; color: var(--gold-text);
  font-variant-caps: all-small-caps; letter-spacing: .18em; font-size: 17px;
}
.section-head .mark::after { content: ""; display: block; width: 40px; height: 1px; background: var(--gold); }
.section-head h2 { margin: 0; font-weight: 400; font-style: italic; font-size: 34px; line-height: 1.15; text-wrap: balance; }

.row { display: flex; flex-wrap: wrap; gap: 4px 40px; align-items: flex-start; }
.row > p {
  flex: 1 1 340px; max-width: 640px; margin: 0 0 20px;
  font-size: 20.5px; line-height: 1.62; text-wrap: pretty; hyphens: auto;
}
.row strong, .about-text strong.term {
  font-weight: inherit; font-variant-caps: all-small-caps; letter-spacing: .08em; font-size: 1.06em;
}
.drop { float: left; font-size: 86px; line-height: .78; padding: 8px 10px 0 0; color: var(--gold-text); }
sup.ref { font-size: 13px; line-height: 0; color: var(--gold-text); padding-left: 2px; }

.margin { flex: 0 1 170px; min-width: 150px; padding-top: 6px; display: flex; flex-direction: column; gap: 14px; }
.note {
  display: flex; flex-direction: column; gap: 3px;
  border-top: 1px solid var(--gold); padding-top: 8px; font-size: 15px; line-height: 1.4; color: var(--ink-2);
}
.note .head { color: var(--gold-text); font-variant-caps: all-small-caps; letter-spacing: .1em; }

.row.quote { margin: 8px 0 28px; }
.row blockquote {
  flex: 1 1 340px; max-width: 640px; margin: 0; box-sizing: border-box;
  padding: 4px 0 4px 28px; border-left: 1px solid var(--gold);
  display: flex; flex-direction: column; gap: 10px;
}
blockquote .who { font-variant-caps: all-small-caps; letter-spacing: .14em; font-size: 16px; color: var(--gold-text); }
blockquote .who sup { font-size: 13px; padding-left: 3px; }
blockquote p { margin: 0; font-style: italic; font-size: 22px; line-height: 1.55; text-wrap: pretty; }
blockquote p em { font-style: normal; }

/* Plates keep the image's own proportions. --fw is the plate's width at most
   520 px tall (set per figure by the build), so portraits are narrower and the
   caption wraps to the plate. */
figure.plate { margin: 8px 0 36px; width: min(100%, var(--fw, 640px)); max-width: 640px; display: flex; flex-direction: column; gap: 10px; }
.plate .matte { border: 1px solid var(--hairline); padding: 8px; background: var(--matte); }
.plate img { display: block; width: 100%; height: auto; }
.plate figcaption { display: flex; flex-direction: column; gap: 4px; }
.plate .caption { font-size: 17px; line-height: 1.4; }
.plate .caption .n { font-variant-caps: all-small-caps; letter-spacing: .1em; color: var(--gold-text); }
.credit { font-family: var(--mono); font-size: 12px; line-height: 1.5; color: var(--ink-muted); }
.credit a { color: inherit; }
.credit a:hover { color: var(--ink); }

.apparatus { margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--ink); max-width: 880px; display: flex; flex-direction: column; gap: 6px; scroll-margin-top: 24px; }
.apparatus .kicker-dark { font-variant-caps: all-small-caps; letter-spacing: .18em; font-size: 17px; color: var(--gold-text); }
.apparatus h2 { margin: 0 0 18px; font-weight: 400; font-style: italic; font-size: 34px; }
.apparatus .entry {
  display: grid; grid-template-columns: 32px minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 6px 18px;
  padding: 12px 0; border-bottom: 1px solid var(--hairline); font-size: 16.5px; line-height: 1.45; align-items: baseline;
}
.apparatus .entry > :first-child { color: var(--gold-text); }
.apparatus .status, .apparatus .source { color: var(--ink-2); }
.apparatus .status strong { font-weight: inherit; font-variant-caps: all-small-caps; letter-spacing: .08em; font-size: 1.06em; color: var(--ink); }
.apparatus .source { font-style: italic; }
.apparatus .source em { font-style: normal; }

.colophon {
  margin: 72px auto 0; max-width: 640px; display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center; font-size: 16px; color: var(--ink-muted);
}
.colophon::before { content: ""; display: block; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); margin-bottom: 10px; }
.colophon .label { font-variant-caps: all-small-caps; letter-spacing: .16em; color: var(--ink); }
.colophon p { margin: 0; font-style: italic; }

/* ---- About ---- */

.about-text section { scroll-margin-top: 24px; }
.about-text .row > p, .about-text > section > p, .about-text .solo {
  max-width: 640px; margin: 0 0 20px; font-size: 20.5px; line-height: 1.62; text-wrap: pretty; hyphens: auto;
}
.margin .aside-note { border-top: 1px solid var(--gold); padding-top: 8px; font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.aside-note .head { color: var(--gold-text); font-variant-caps: all-small-caps; letter-spacing: .1em; margin-bottom: 3px; }
.margin figure.fig { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.fig .matte { border: 1px solid var(--hairline); padding: 6px; background: var(--matte); }
.fig img { display: block; width: 100%; height: auto; }
.fig figcaption { font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.fig figcaption .n { font-variant-caps: all-small-caps; letter-spacing: .1em; color: var(--gold-text); }

.two-up { display: flex; flex-wrap: wrap; gap: 20px; max-width: 640px; margin: 8px 0 36px; }
.two-up figure.plate { flex: var(--ar) 1 0; min-width: 0; width: auto; margin: 0; }

.principles { list-style: none; margin: 0 0 20px; padding: 0; max-width: 640px; display: flex; flex-direction: column; gap: 16px; }
.principles li { display: grid; grid-template-columns: 34px 1fr; font-size: 20.5px; line-height: 1.62; }
.principles .num { font-style: italic; color: var(--gold-text); }
.principles .lead { font-variant-caps: all-small-caps; letter-spacing: .08em; font-size: 1.06em; }

.dramatis { max-width: 640px; margin: 8px 0 32px; }
.dramatis .label { font-variant-caps: all-small-caps; letter-spacing: .18em; font-size: 17px; color: var(--gold-text); margin-bottom: 10px; }
.dramatis .part { display: flex; align-items: baseline; gap: 10px; padding: 6px 0; font-size: 19px; }
.dramatis .roles { font-style: italic; }
.dramatis .dots { flex: 1; min-width: 24px; border-bottom: 1px dotted var(--hairline); transform: translateY(-5px); }
.dramatis .name { font-variant-caps: all-small-caps; letter-spacing: .08em; font-size: 1.06em; white-space: nowrap; }

.feed-copy { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; max-width: 640px; margin: 0 0 20px; }
.feed-copy code { font-family: var(--mono); font-size: 14px; background: var(--matte); border: 1px solid var(--hairline); padding: 8px 12px; overflow-wrap: anywhere; }
.feed-copy button {
  font: inherit; font-size: 16px; font-variant-caps: all-small-caps; letter-spacing: .12em; cursor: pointer;
  background: transparent; color: var(--gold-text); border: 1px solid var(--gold-text); padding: 6px 14px;
}
.feed-copy button:hover { background: var(--gold-text); color: var(--paper); }
.feed-copy button[hidden] { display: none; }

/* ---- Home, Acknowledgements, coming pages ---- */

.overview .cover { display: block; width: 100%; height: auto; max-width: 266px; border: 1px solid var(--night-rule); }
.about-text strong { font-weight: inherit; font-variant-caps: all-small-caps; letter-spacing: .08em; font-size: 1.06em; }
.about-text > p, .about-text > section > p { max-width: 640px; margin: 0 0 20px; font-size: 20.5px; line-height: 1.62; text-wrap: pretty; hyphens: auto; }
.section-head .mark:empty { display: none; }

.episode-list { list-style: none; margin: 0 0 20px; padding: 0; max-width: 640px; }
.episode-list li { display: grid; grid-template-columns: 56px 1fr; gap: 6px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--hairline); }
.episode-list .num { font-variant-caps: all-small-caps; letter-spacing: .1em; font-size: 17px; color: var(--gold-text); }
.episode-list .entry { display: flex; flex-direction: column; gap: 4px; }
.episode-list .title { font-size: 22px; line-height: 1.3; }
.episode-list a.title { color: var(--ink); text-decoration: none; }
.episode-list a.title:hover { color: var(--gold-text); text-decoration: underline; }
.episode-list .line { font-style: italic; font-size: 17px; line-height: 1.45; color: var(--ink-2); }
.episode-list .coming .num, .episode-list .coming .title, .episode-list .coming .line { color: var(--ink-muted); }

/* ---- Narrow screens: the pane stacks above the text ---- */

@media (max-width: 759px) {
  .overview { flex-basis: 100%; position: static; min-height: 0; max-height: none; overflow: visible; padding: 28px 16px 32px; gap: 24px; }
  .overview .next { margin-top: 0; }
  .text { flex-basis: 100%; padding: 24px 16px 72px; }
  .titling h1 { font-size: 38px; }
  .section-head { padding-top: 48px; }
  .section-head h2, .apparatus h2 { font-size: 28px; }
  .row > p, .about-text .row > p, .about-text > section > p, .about-text .solo, .principles li { font-size: 19px; }
  blockquote p { font-size: 20px; }
  .row blockquote { padding-left: 18px; }
  .margin { flex-basis: 100%; min-width: 0; margin: -8px 0 20px; }
  .apparatus .entry { grid-template-columns: 28px minmax(0, 1fr); }
  .apparatus .entry > :not(:first-child) { grid-column: 2; }
}
@media (max-width: 479px) {
  .two-up figure.plate { flex-basis: 100%; }
}
