:root {
  --paper: #fbf8f2;
  --ink: #17241f;
  --teal: #0f5c55;
  --amber: #b96b1c;
  --rule: #ddd3c4;
  --muted: #5c6b64;
  --measure: 68ch;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  letter-spacing: .002em;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--teal);
  color: #fff;
  padding: .6rem 1rem;
  z-index: 9;
}
.skip:focus { left: 0; }

a { color: var(--teal); text-underline-offset: 2px; }
a:hover { color: var(--amber); }
a:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

.masthead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .5rem 1.5rem;
  max-width: 78rem;
  margin: 0 auto;
  padding: 1.1rem 1.25rem 1rem;
  border-bottom: 3px double var(--rule);
}
.mark {
  font: 700 1.15rem/1.2 Georgia, "Times New Roman", serif;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: .01em;
}
.masthead nav {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.1rem;
  margin-left: auto;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .09em;
}
.masthead nav a { text-decoration: none; color: var(--muted); }
.masthead nav a:hover { color: var(--teal); text-decoration: underline; }

main {
  max-width: 78rem;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.crumbs {
  font-size: .8rem;
  letter-spacing: .04em;
  color: var(--muted);
  padding: 1.1rem 0 .9rem;
}
.crumbs a { color: var(--muted); }
.crumbs span { padding: 0 .25rem; }

article {
  max-width: var(--measure);
  margin: 0 auto;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.22;
  color: var(--ink);
}
h1 {
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.85rem);
  margin: .2rem 0 1rem;
  letter-spacing: -.01em;
}
h2 {
  font-size: clamp(1.28rem, 1.1rem + .7vw, 1.6rem);
  margin: 2.4rem 0 .7rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule);
}
h3 { font-size: 1.1rem; margin: 1.6rem 0 .5rem; }

p { margin: 0 0 1.05rem; }
article > p:first-of-type { font-size: 1.15rem; color: #24352f; }

ul, ol { padding-left: 1.25rem; margin: 0 0 1.2rem; }
li { margin-bottom: .45rem; }
li::marker { color: var(--amber); }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2rem 0 1.5rem;
  font-size: .95rem;
}
caption {
  caption-side: top;
  text-align: left;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  padding-bottom: .45rem;
}
thead th {
  background: var(--teal);
  color: #fdf9f1;
  text-align: left;
  font: 600 .82rem/1.35 system-ui, sans-serif;
  letter-spacing: .03em;
  padding: .6rem .7rem;
}
tbody td {
  border-bottom: 1px solid var(--rule);
  padding: .7rem;
  vertical-align: top;
}
tbody tr:nth-child(even) { background: #f6f1e7; }
tbody td a { color: var(--teal); }

details {
  border-top: 1px solid var(--rule);
  padding: .85rem 0 .35rem;
}
details:last-of-type { border-bottom: 1px solid var(--rule); margin-bottom: 1.6rem; }
summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  gap: .6rem;
  align-items: baseline;
}
summary::-webkit-details-marker { display: none; }
summary::before {
  content: "+";
  color: var(--amber);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
}
details[open] summary::before { content: "\2212"; }
details p { margin: .6rem 0 .6rem 1.4rem; color: #2b3d36; }

.cite { font-size: .85rem; color: var(--muted); margin-top: 2rem; }

.foot {
  max-width: 78rem;
  margin: 0 auto;
  padding: 1.6rem 1.25rem 3rem;
  border-top: 3px double var(--rule);
  font-size: .85rem;
  color: var(--muted);
}
.foot-mark {
  font: 700 1rem/1.2 Georgia, serif;
  color: var(--ink);
  margin: 0 0 .5rem;
}
.foot nav { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-bottom: .8rem; }
.foot a { color: var(--teal); }

@media (min-width: 52rem) {
  body { font-size: 1.0938rem; }
  .masthead { padding-top: 1.6rem; }
}

@media print {
  .masthead nav, .foot nav, .skip { display: none; }
  body { background: #fff; }
}
