@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/instrument-serif.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/assets/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f2e7;
  --pale-paper: #fbf8ef;
  --ink: #232e25;
  --muted: #4e5a4f;
  --green: #214536;
  --soft-green: #e8ebdf;
  --line: #c7c5b2;
  --rust: #a3592e;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --gutter: clamp(1.25rem, 4.5vw, 4rem);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem / 1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, figure {
  margin: 0;
}

h2, h3 {
  color: var(--green);
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1;
}

h2 {
  font-size: clamp(3rem, 5vw, 4.5rem);
  letter-spacing: -.025em;
}

h3 {
  font-size: clamp(2.05rem, 3.25vw, 3rem);
  letter-spacing: -.015em;
}

a {
  color: inherit;
  text-underline-offset: .25em;
}

a:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 5px;
}

[id] {
  scroll-margin-top: 1.5rem;
}

.shell {
  width: min(calc(100% - 2 * var(--gutter)), 73rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 1;
  top: .75rem;
  left: 1rem;
  padding: .5rem .75rem;
  transform: translateY(-200%);
  background: var(--pale-paper);
  color: var(--green);
}

.skip-link:focus {
  transform: translateY(0);
}

.masthead {
  border-top: 5px solid var(--green);
  border-bottom: 1px solid var(--line);
}

.masthead-inner {
  display: flex;
  min-height: 4.35rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--green);
  font: 400 1.55rem / 1 var(--serif);
  text-decoration: none;
  white-space: nowrap;
}

.compass {
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font: 400 1.15rem / 1 Georgia, serif;
}

.masthead nav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem clamp(1rem, 3vw, 2.5rem);
}

.masthead nav a {
  color: var(--green);
  font-size: .87rem;
  font-weight: 600;
  text-decoration: none;
}

.masthead nav a:hover {
  text-decoration: underline;
}

.cover {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(3rem, 6vw, 6rem);
}

.cover-kicker, .label {
  display: block;
  color: var(--muted);
  font: 700 .7rem / 1.4 var(--sans);
  letter-spacing: .15em;
  text-transform: uppercase;
}

.cover-name {
  display: block;
  margin: .35rem 0 1.25rem;
  color: var(--green);
  font: 400 clamp(4.1rem, 7.5vw, 7.5rem) / .94 var(--serif);
  letter-spacing: -.035em;
}

.lede {
  max-width: 39ch;
  font-size: clamp(1rem, 1.45vw, 1.23rem);
  line-height: 1.55;
}

.cover-aside {
  max-width: 42ch;
  margin-top: 1rem;
  color: var(--muted);
  font-size: .95rem;
}

.cover-aside strong {
  display: block;
  margin-bottom: .35rem;
  color: var(--green);
  font-size: 1.1rem;
}

.cover-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem 1.2rem;
  margin-top: 1.55rem;
}

.profile-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: .3rem;
  color: var(--green);
  font-size: .85rem;
  font-weight: 600;
}

.guide-link {
  display: inline-flex;
  min-height: 2.85rem;
  align-items: center;
  gap: 1.5rem;
  padding: .55rem 1rem;
  border: 1px solid var(--green);
  background: var(--green);
  color: var(--pale-paper);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
}

.guide-link:hover {
  background: var(--pale-paper);
  color: var(--green);
}

.atlas {
  padding: .55rem .55rem 0;
  border: 1px solid var(--line);
  background: var(--pale-paper);
}

.atlas img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--paper);
  mix-blend-mode: multiply;
}

.atlas figcaption {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.atlas a {
  display: flex;
  min-height: 2.65rem;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .35rem;
  color: var(--green);
  font-size: .75rem;
  font-weight: 600;
  text-decoration: none;
}

.atlas a + a {
  border-left: 1px solid var(--line);
}

.atlas a:hover {
  text-decoration: underline;
}

.sighting-marker {
  display: inline-block;
  flex: 0 0 .55rem;
  width: .55rem;
  height: .55rem;
  border: 1px solid var(--green);
  border-radius: 50%;
  background: var(--green);
}

.sighting-marker.reported {
  border: 1.5px solid var(--rust);
  background: transparent;
}

.chapter {
  padding-block: clamp(2.5rem, 5.25vw, 4.5rem);
  border-top: 1px solid var(--line);
}

.chapter h2 {
  margin-bottom: clamp(1.5rem, 3vw, 2.35rem);
}

.range-grid, .project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.range-grid {
  gap: 1rem;
}

.sighting {
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--line);
  background: var(--pale-paper);
}

.sighting .label {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .8rem;
}

.sighting h3, .project-grid h3 {
  margin-bottom: .6rem;
}

.sighting p:last-child, .project-grid p {
  max-width: 49ch;
}

.notes-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
  align-items: start;
  gap: clamp(1.25rem, 6vw, 5.5rem);
}

.story {
  padding-top: .35rem;
}

.story h3 {
  margin-bottom: 1rem;
}

.story p {
  max-width: 55ch;
  font-size: 1.07rem;
  line-height: 1.7;
}

.story .pull-line {
  margin-top: 1.5rem;
  padding: .25rem 0 .25rem 1rem;
  border-left: 2px solid var(--rust);
  color: var(--green);
  font: italic 400 clamp(1.8rem, 3.2vw, 2.65rem) / 1.05 var(--serif);
}

.margin-notes {
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid #d6d9c9;
  background: var(--soft-green);
}

.margin-notes article + article {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #bfc7b8;
}

.margin-notes h3 {
  margin-bottom: .5rem;
  font-size: clamp(1.8rem, 2.7vw, 2.5rem);
}

.margin-notes p {
  font-size: .93rem;
}

.transcript h2 {
  margin-bottom: .75rem;
}

.transcript-intro {
  max-width: 63ch;
  margin-bottom: 1.65rem;
  color: var(--muted);
}

.transcript-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.transcript-entry {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  background: var(--pale-paper);
}

.transcript-entry:last-child {
  grid-column: 1 / -1;
}

.transcript-entry h3 {
  margin-bottom: .65rem;
}

.transcript-quote {
  margin-top: 1.25rem;
  padding-left: .85rem;
  border-left: 2px solid var(--rust);
}

.transcript-quote blockquote {
  margin: .4rem 0 0;
  color: var(--green);
  font-size: 1.05rem;
}

.project-grid {
  gap: 1rem;
}

.project-grid p + p {
  margin-top: .75rem;
}

.project-grid article {
  padding: 1.25rem 1.35rem 0 0;
  border-top: 1px solid var(--line);
}

.editors {
  background: var(--green);
  color: var(--pale-paper);
}

.editors-inner {
  padding-block: clamp(2.75rem, 7vw, 5rem);
}

.editors .label {
  color: #e0dfc9;
}

.editors-lead {
  margin-block: .4rem .85rem;
  font: 400 clamp(3.15rem, 7vw, 5.25rem) / 1 var(--serif);
  letter-spacing: -.02em;
}

.editors p:not(.editors-lead) {
  max-width: 54ch;
}

.corrections {
  margin-top: 1.25rem;
  color: #e0dfc9;
  font-size: .91rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: .5rem 1rem;
  padding-block: 1.25rem;
  color: var(--muted);
  font-size: .81rem;
}

.footer a {
  white-space: nowrap;
}

@media (max-width: 50rem) {
  .cover {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .cover-name {
    font-size: clamp(4.1rem, 12vw, 7rem);
  }

  .notes-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 34rem) {
  .masthead-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: .7rem;
    padding-block: .9rem;
  }

  .masthead nav a {
    font-size: .8rem;
  }

  .cover {
    gap: 1.8rem;
    padding-block: 2.75rem;
  }

  .range-grid, .project-grid, .transcript-grid {
    grid-template-columns: 1fr;
  }

  .project-grid article + article {
    margin-top: .35rem;
  }
}
