:root {
  color-scheme: light;
  font-family: "Cardo", Georgia, "Times New Roman", serif;
  font-size: 100%;
  color: #292724;
  background: #faf9f6;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

::selection { background: #e7ddcc; color: #211f1c; }

a {
  color: #725238;
  text-decoration-thickness: .06em;
  text-underline-offset: .2em;
}

a:hover { color: #292724; }

a:focus-visible,
summary:focus-visible {
  outline: 2px solid #725238;
  outline-offset: 5px;
}

.reading-shortcuts {
  margin: 1.5rem 0 0;
  font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
  font-size: .85rem;
}

.reading-shortcuts > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.reading-contents {
  margin: 1rem 0 0;
  border-block: 1px solid #d8d1c6;
}

.reading-contents summary {
  display: list-item;
  min-height: 44px;
  padding-block: .65rem;
  font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
  font-size: .85rem;
  cursor: pointer;
}

.reading-contents ol {
  margin: .25rem 0 1rem;
  padding-left: 1.5rem;
  font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
  font-size: .85rem;
  line-height: 1.65;
}

.reading-contents li { padding-left: .2rem; }

.reading-contents a {
  display: block;
  min-height: 44px;
  padding-block: .5rem;
}

.reading-shell {
  width: min(100% - 3rem, 43rem);
  margin-inline: auto;
  overflow-wrap: break-word;
}

.reading-masthead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-block: 2rem 4.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #d8d1c6;
  font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
  font-size: .8rem;
}

.reading-masthead a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  font-weight: 900;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.reading-masthead span { color: #655f57; }

.reading-masthead .reading-index-link {
  color: #655f57;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.reading-masthead .reading-index-link:hover {
  color: #292724;
  text-decoration: underline;
}

.reading-list {
  margin: 2.75rem 0 0;
  padding: 0;
  list-style: none;
}

.reading-list > li {
  padding-block: 1.75rem 2rem;
  border-block-start: 1px solid #d8d1c6;
}

.reading-list h2 {
  margin: 0 0 .5rem;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.2;
}

.reading-list h2 a {
  display: inline-block;
  padding-block: .2rem;
}

.reading-list .reading-entry-title {
  margin: 0 0 .65rem;
  color: #514b44;
  font-size: 1.2rem;
  line-height: 1.5;
}

.reading-list .reading-shortcuts { margin-top: 1rem; }

.eyebrow,
.reading-meta,
.source-note,
.reading-footer {
  font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
}

.eyebrow {
  margin: 0 0 1rem;
  color: #725238;
  font-size: .75rem;
  letter-spacing: .11em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.7rem, 7.8vw, 4.1rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.reading-deck {
  margin: 1.35rem 0 1.4rem;
  color: #514b44;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  line-height: 1.5;
  text-wrap: pretty;
}

.reading-meta {
  margin: 0;
  color: #655f57;
  font-size: .85rem;
  line-height: 1.65;
}

.reading-body {
  margin-top: 3rem;
  font-size: clamp(1.25rem, 1.1rem + .35vw, 1.4rem);
  line-height: 1.7;
  overflow-wrap: break-word;
  hyphens: manual;
}

.reading-body h2 {
  margin: 2.4rem 0 .8rem;
  font-size: 1.28em;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.015em;
  text-wrap: balance;
}

.reading-body p {
  margin: 0 0 1.2em;
  text-wrap: pretty;
}

.conversation {
  margin-top: 3rem;
  padding-top: .5rem;
  border-top: 1px solid #d8d1c6;
}

.speech { scroll-margin-top: 1.5rem; }

.reading-body .speaker {
  margin: 2.5rem 0 .8rem;
  font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
  font-size: .7em;
  font-style: normal;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .1em;
}

.speech:first-child .speaker { margin-top: 1.5rem; }

.source-note {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #d8d1c6;
  color: #655f57;
  font-size: .875rem;
  line-height: 1.7;
}

.source-note h2 {
  margin: 0 0 .6rem;
  color: #292724;
  font-size: 1rem;
  font-weight: 900;
}

.source-note p { margin: 0 0 .85rem; }

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
}

.source-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.reading-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  margin-top: 3rem;
  padding-block: 1rem 2rem;
  color: #655f57;
  font-size: .8rem;
}

.reading-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.skip-link {
  position: absolute;
  top: .5rem;
  left: 1.5rem;
  padding: .5rem .75rem;
  color: #292724;
  background: #faf9f6;
  transform: translateY(-180%);
  z-index: 1;
}

.skip-link:focus { transform: none; }

main:focus { outline: none; }

@media (max-width: 480px) {
  .reading-shell { width: calc(100% - 2.5rem); }
  .reading-masthead { margin-block: 1rem 2.75rem; }
  .reading-masthead span { font-size: .75rem; }
  .reading-body { margin-top: 2.25rem; }
}

@media (max-width: 340px) {
  .reading-shell { width: calc(100% - 2rem); }
  .reading-masthead { flex-wrap: wrap; gap: 0; }
  h1 { font-size: 2.5rem; }
}

@media print {
  :root { background: #fff; color: #000; }
  .reading-shell { width: 100%; }
  .reading-masthead { margin-block: 0 2rem; }
  .skip-link,
  .reading-shortcuts,
  .reading-contents,
  .reading-footer { display: none; }
  .reading-body { font-size: 12pt; line-height: 1.6; }
  h1 { font-size: 30pt; }
  h2 { break-after: avoid; }
  .speaker { break-after: avoid; }
  p { orphans: 3; widows: 3; }
  a { color: inherit; }
}
