:root {
  font: 112.5%/1.58 system-ui, sans-serif;
  color: #252624;
  background: #fcfbf9;
  --secondary: #595a55;
  --rule: #dadbd5;
  --serif: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
body { margin: 0; }
main, footer, .masthead nav { width: min(calc(100% - 2.25rem), 55rem); margin-inline: auto; }
main { padding-block: clamp(1.8rem, 5vw, 3.5rem); }
a { color: inherit; text-underline-offset: .2em; overflow-wrap: anywhere; }
a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #356783; outline-offset: 3px; }
.skip { position: absolute; transform: translateY(-150%); background: white; padding: .5rem; }
.skip:focus { transform: none; }
.masthead { border-bottom: 1px solid var(--rule); }
.masthead nav, footer, .section-heading { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem 1.4rem; }
.masthead nav { padding-block: .35rem; }
.masthead a, footer a, .section-heading a, .details-link { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; }
.masthead a { text-decoration: none; }
.masthead a:hover, .episode-list a:hover strong { text-decoration: underline; }
.masthead a:first-child { margin-right: auto; font-weight: 650; letter-spacing: -.02em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; text-wrap: pretty; margin: 0; }
h1 { font-size: clamp(2.3rem, 5vw, 3.45rem); letter-spacing: -.045em; }
h2 { font-size: 1.85rem; letter-spacing: -.035em; }
.cover { display: grid; grid-template-columns: minmax(8rem, 11rem) minmax(0, 1fr); gap: clamp(1.25rem, 4vw, 2.75rem); align-items: center; }
.cover { row-gap: .8rem; }
.cover img { grid-row: span 2; width: 100%; height: auto; aspect-ratio: 1; display: block; border-radius: .35rem; }
.cover p, .metadata, .row-detail, .episode-list time { color: var(--secondary); }
.cover p { margin: .55rem 0 0; }
.cover > div { align-self: end; }
.cover .subscriptions { align-self: start; }
.subscriptions, .year-links { display: flex; flex-wrap: wrap; gap: .45rem; }
.subscriptions a, .year-links a { display: inline-flex; align-items: center; min-height: 44px; padding: .35rem .8rem; border: 1px solid #bcbeb6; border-radius: .4rem; background: white; text-decoration: none; font-size: .88rem; font-weight: 600; }
.subscriptions a:hover, .year-links a:hover, .episode-list a:hover { background: #f0f0eb; }
.latest { margin: clamp(1.65rem, 4vw, 3rem) 0; padding: clamp(1.1rem, 3.5vw, 2rem); border: 1px solid var(--rule); background: #f2f2ee; border-radius: .7rem; }
.latest h2 { font: 650 .84rem/1.5 system-ui, sans-serif; color: var(--secondary); }
.latest h3 { margin: .4rem 0; font-size: clamp(1.9rem, 4vw, 2.65rem); letter-spacing: -.035em; }
.latest h3 a { text-decoration: none; }
.latest h3 a:hover { text-decoration: underline; }
.metadata { margin: .25rem 0; }
audio { display: block; width: 100%; margin-top: 1.2rem; }
.section-heading a { gap: .3em; }
.section-heading { justify-content: space-between; margin-bottom: .6rem; }
.episode-list { list-style: none; margin: .7rem 0 2rem; padding: 0; border-bottom: 1px solid var(--rule); }
.episode-list li { border-top: 1px solid var(--rule); }
.episode-list a { display: flex; justify-content: space-between; align-items: baseline; gap: .1rem 1rem; padding: .85rem .15rem; text-decoration: none; }
.row-copy { min-width: 0; }
.episode-list strong { display: block; font: 500 1.34rem/1.23 var(--serif); }
.row-detail, .episode-list time { font-size: .88rem; }
.episode-list time { flex: none; font-variant-numeric: tabular-nums; }
.year-links { margin: 1.2rem 0 2.25rem; }
.episode { max-width: 68ch; margin-inline: auto; }
.episode header h1 { margin-block: .3rem; }
.episode details { border-block: 1px solid var(--rule); margin-block: 1.4rem; }
summary { padding: .85rem .15rem; cursor: pointer; font-weight: 650; }
.notes { margin-block: 2rem; }
.notes h2, .notes h3 { margin-top: 1.4em; }
footer { border-top: 1px solid var(--rule); padding-block: .8rem 1.5rem; color: var(--secondary); }
@media (max-width: 38rem) {
  .cover { grid-template-columns: clamp(4rem, 20vw, 6.5rem) 1fr; gap: 1rem; }
  .cover img { grid-row: auto; }
  .cover h1 { font-size: clamp(1.65rem, 6.4vw, 2.3rem); }
  .cover p { font-size: .9rem; }
  .cover .subscriptions { grid-column: 1 / -1; }
  .episode-list a { flex-direction: column; }
  .masthead nav { gap: 0 1rem; }
  .masthead a:first-child { flex-basis: 100%; }
}
.listening-panel {
  margin-block: 1.3rem;
  padding: 1rem 1rem .25rem;
  border: 1px solid var(--rule);
  border-radius: .7rem;
  background: #f2f2ee;
}
.listening-panel audio { margin: 0; }
