@font-face {
  font-family: "Plex Sans";
  src: url("/fonts/ibm-plex-sans-condensed/IBMPlexSansCondensed-Regular.ttf")
    format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Plex Sans";
  src: url("/fonts/ibm-plex-sans-condensed/IBMPlexSansCondensed-SemiBold.ttf")
    format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Plex Serif";
  src: url("/fonts/ibm-plex-serif/IBMPlexSerif-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("/fonts/ibm-plex-mono/IBMPlexMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
:root {
  --paper: #f5f5f3;
  --ink: #222522;
  --muted: #62675f;
  --line: #d3d6ce;
  --accent: #43543d;
  color: var(--ink);
  background: var(--paper);
  font-family: "Plex Sans", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 0.2em;
}
a:hover {
  color: var(--accent);
}
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
img {
  display: block;
  max-width: 100%;
}
figure,
h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
}
h1,
h2 {
  font-family: "Plex Serif", serif;
}
main,
.site-header,
footer {
  width: min(1320px, calc(100% - 96px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  top: -5rem;
  left: 1rem;
  padding: 1rem;
  background: var(--paper);
  z-index: 2;
}
.skip-link:focus {
  top: 1rem;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.4rem;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.035em;
  text-decoration: none;
}
.wordmark span {
  margin-left: 0.75rem;
  color: var(--muted);
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0;
}
nav {
  display: flex;
  gap: 2rem;
}
nav a {
  padding-block: 0.5rem;
  text-decoration: none;
}
.intro {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 4rem;
  align-items: end;
  padding-block: 4.5rem 4rem;
}
.eyebrow,
.section-number,
.index-number,
.person-facts dt,
.file-size {
  font-family: "Plex Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.035em;
}
.eyebrow {
  text-transform: uppercase;
  color: var(--muted);
}
h1 {
  font-size: clamp(3.6rem, 7vw, 6rem);
  line-height: 1.08;
  letter-spacing: -0.065em;
  margin-top: 1.1rem;
}
h1 em {
  font-style: normal;
  color: var(--accent);
}
.lede {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 27rem;
  margin-block: 1.5rem;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  padding-block: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
}
.collection-info {
  border-left: 1px solid var(--line);
  padding-left: 2.5rem;
  max-width: 22rem;
  justify-self: end;
}
.specimen-stamp {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: "Plex Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  transform: rotate(-5deg);
  margin-bottom: 1.6rem;
}
.collection-info > p {
  font-size: 1.2rem;
}
.collection-info dl {
  margin-block: 1.5rem;
}
.collection-info dl div {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
  padding-block: 0.45rem;
}
.collection-info dt {
  color: var(--muted);
}
.collection-info dd {
  font-family: "Plex Mono", monospace;
  font-size: 0.8rem;
  align-self: center;
}
.collection-info .fine-print {
  color: var(--muted);
  font-size: 0.85rem;
}
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--ink);
  padding-top: 1.4rem;
  margin-bottom: 1.8rem;
}
.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.04em;
}
.section-heading p {
  color: var(--muted);
}
.cast-index {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 1.4rem;
  padding-bottom: 3.5rem;
}
.cast-index a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.cast-index img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}
.index-number {
  color: var(--muted);
}
.index-arrow {
  margin-left: auto;
}
.person {
  border-top: 1px solid var(--line);
  padding-block: 2.5rem 3.5rem;
  scroll-margin-top: 1.5rem;
}
.person-heading {
  display: grid;
  grid-template-columns: 2rem 1fr 100px;
  gap: 1rem;
  align-items: center;
}
.section-number {
  color: var(--muted);
  align-self: start;
  padding-top: 0.3rem;
}
.person h3 {
  font-family: "Plex Serif", serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.04em;
  margin-block: 0.2rem;
}
.occupation {
  color: var(--muted);
}
.portrait {
  border: 1px solid var(--line);
}
.portrait img {
  width: 100%;
  height: auto;
}
.person-story {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3rem;
  margin: 1.5rem 0 2rem 3rem;
}
.person-story > p {
  max-width: 42rem;
  color: var(--muted);
}
.person-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: start;
  gap: 0.8rem 1rem;
}
.person-facts dt {
  text-transform: uppercase;
  color: var(--muted);
}
.person-facts dd {
  margin-top: 0.15rem;
}
.documents {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem;
}
.document {
  min-width: 0;
}
.document > a {
  display: block;
  background: #e6e9e2;
}
.document img {
  width: 100%;
  height: auto;
}
.document-caption {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 0.65rem;
  font-size: 0.85rem;
}
.document-caption > span {
  color: var(--muted);
}
.document-caption a {
  white-space: nowrap;
}
.document:nth-child(3) {
  max-width: calc(50% - 0.9rem);
  grid-column: 1 / -1;
}
.relationships {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem 1.3rem;
  margin-top: 1.5rem;
}
.relationships a {
  font-size: 0.85rem;
  text-decoration: none;
}
.relationships span {
  color: var(--muted);
}
.notes-section {
  margin-top: 1rem;
}
.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem 2rem;
  margin-block: 2.5rem 4rem;
}
.note {
  border-left: 2px solid var(--line);
  padding-left: 1.25rem;
}
.note h3 {
  font-weight: 600;
  font-size: 1.2rem;
  margin-block: 0.7rem;
}
.note p {
  white-space: pre-wrap;
  color: var(--muted);
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.download-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 2rem;
}
.download-intro p {
  color: var(--muted);
  max-width: 34rem;
}
.download-intro .text-link {
  flex-shrink: 0;
}
.file-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.file-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-size: 0.85rem;
}
.file-list a > span:first-child {
  overflow-wrap: anywhere;
}
.file-size {
  color: var(--muted);
  flex-shrink: 0;
}
.file-size span {
  margin-left: 0.7rem;
}
footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 4rem;
  padding-block: 2rem;
  border-top: 1px solid var(--ink);
  font-size: 0.85rem;
}
.footer-caption {
  color: var(--muted);
  margin-right: auto;
}
@media (max-width: 1000px) {
  main,
  .site-header,
  footer {
    width: calc(100% - 48px);
  }
  .intro {
    gap: 2rem;
  }
  .cast-index {
    grid-template-columns: repeat(2, 1fr);
  }
  .person-story {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .person-facts {
    grid-template-columns: repeat(3, 1fr);
  }
  .notes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .file-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  main,
  .site-header,
  footer {
    width: calc(100% - 32px);
  }
  .site-header {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .wordmark span {
    margin-left: 0.5rem;
  }
  nav {
    gap: 1.1rem;
  }
  .intro {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-block: 2.5rem;
  }
  .collection-info {
    justify-self: stretch;
    max-width: none;
    padding-left: 1.3rem;
  }
  .collection-info dl {
    max-width: 20rem;
  }
  .section-heading {
    display: block;
  }
  .section-heading p {
    margin-top: 0.5rem;
  }
  .cast-index {
    gap: 0 0.8rem;
    padding-bottom: 2rem;
  }
  .cast-index a {
    gap: 0.4rem;
    font-size: 0.85rem;
  }
  .cast-index img {
    width: 36px;
    height: 36px;
  }
  .index-number {
    display: none;
  }
  .person-heading {
    grid-template-columns: 1fr 72px;
    gap: 0.8rem;
  }
  .section-number {
    display: none;
  }
  .person-story {
    margin-left: 0;
  }
  .person-facts {
    grid-template-columns: 1fr 1fr;
  }
  .documents,
  .notes-grid {
    grid-template-columns: 1fr;
  }
  .document:nth-child(3) {
    max-width: none;
  }
  .download-intro {
    display: block;
  }
  .download-intro .text-link {
    margin-top: 1rem;
  }
  .file-list a {
    font-size: 0.8rem;
  }
  footer {
    align-items: start;
    flex-direction: column;
    gap: 0.7rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
}
