.article[data-astro-cid-bnohfldf] {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 32px;
  padding: 16vh var(--gutter) 0;
  justify-content: center;
}

.body[data-astro-cid-bnohfldf] {
  max-width: var(--measure);
}

.rail[data-astro-cid-bnohfldf] {
  position: sticky;
  top: 92px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rail[data-astro-cid-bnohfldf] svg {
  width: 26px;
  height: auto;
  color: var(--grey);
}

@supports (animation-timeline: scroll()) {
  .rail[data-astro-cid-bnohfldf] .progress polygon {
    animation: linear both light-up;
    animation-timeline: scroll(root);
  }

  .rail[data-astro-cid-bnohfldf] .progress polygon:first-of-type {
    animation-range: 0% 33%;
  }

  .rail[data-astro-cid-bnohfldf] .progress polygon:nth-of-type(2) {
    animation-range: 33% 66%;
  }

  .rail[data-astro-cid-bnohfldf] .progress polygon:nth-of-type(3) {
    animation-range: 66% 100%;
  }

  @keyframes light-up {
    from {
      color: var(--grey);
    }

    to {
      color: var(--type);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .rail[data-astro-cid-bnohfldf] .progress polygon {
    animation: none;
  }
}

.rail[data-astro-cid-bnohfldf] ol[data-astro-cid-bnohfldf] {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.rail[data-astro-cid-bnohfldf] a[data-astro-cid-bnohfldf] {
  font-family: var(--font-body), Georgia, serif;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: #2e2e2e;
  text-decoration: none;
  padding-left: 9px;
  border-left: 1px solid #1e1e1e;
  display: block;
}

.rail[data-astro-cid-bnohfldf] a[data-astro-cid-bnohfldf]:hover, .rail[data-astro-cid-bnohfldf] li[data-astro-cid-bnohfldf]:target a[data-astro-cid-bnohfldf] {
  color: var(--type);
  border-left-color: var(--type);
}

h1[data-astro-cid-bnohfldf] {
  font-weight: 700;
  font-size: var(--step-title);
  line-height: 1.03;
  letter-spacing: -.03em;
  margin: 0 0 14px;
  text-wrap: balance;
}

.meta[data-astro-cid-bnohfldf] {
  font-size: var(--step-meta);
  color: #6e6e6c;
  margin: 0 0 34px;
}

.portrait[data-astro-cid-bnohfldf] {
  width: 210px;
  height: auto;
  margin: 0 0 28px;
}

.body[data-astro-cid-bnohfldf] p {
  font-family: var(--font-body), Georgia, serif;
  font-size: var(--step-body);
  line-height: var(--leading-body);
  font-weight: 400;
  margin: 0 0 1.15em;
  color: #c9c8c5;
}

.body[data-astro-cid-bnohfldf] h2 {
  font-family: var(--font-display), system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(19px, 2.1vw, 26px);
  letter-spacing: -.018em;
  color: var(--type);
  margin: 2em 0 .6em;
  scroll-margin-top: 92px;
}

.body[data-astro-cid-bnohfldf] a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .18em;
  text-decoration-thickness: 1px;
  text-decoration-color: #6e6e6c;
}

.body[data-astro-cid-bnohfldf] a:hover {
  text-decoration-color: var(--type);
}

.closing[data-astro-cid-bnohfldf] {
  border-top: 1px solid var(--grey);
  padding-top: 26px;
  margin-top: 3em;
}

.article-nav[data-astro-cid-bnohfldf] {
  border-top: 1px solid var(--grey);
  padding-top: 26px;
  margin-top: 3em;
}

.article-nav-label[data-astro-cid-bnohfldf] {
  margin: 0 0 16px;
  color: #6e6e6c;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.article-nav-links[data-astro-cid-bnohfldf] {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.article-nav[data-astro-cid-bnohfldf] a[data-astro-cid-bnohfldf] {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--type);
  font-size: 14px;
  text-decoration: none;
}

.article-nav[data-astro-cid-bnohfldf] a[data-astro-cid-bnohfldf]:hover {
  color: var(--accent);
}

.article-nav[data-astro-cid-bnohfldf] a[data-astro-cid-bnohfldf] span[data-astro-cid-bnohfldf] {
  color: #6e6e6c;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

@media (width <= 560px) {
  .article-nav-links[data-astro-cid-bnohfldf] {
    grid-template-columns: 1fr;
  }
}

@media (width <= 720px) {
  .article[data-astro-cid-bnohfldf] {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 14vh;
  }

  .rail[data-astro-cid-bnohfldf] {
    position: static;
    flex-direction: row;
    align-items: center;
  }

  .rail[data-astro-cid-bnohfldf] svg {
    display: none;
  }

  .rail[data-astro-cid-bnohfldf] ol[data-astro-cid-bnohfldf] {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px 14px;
  }

  .rail[data-astro-cid-bnohfldf] a[data-astro-cid-bnohfldf] {
    border-left: 0;
    padding-left: 0;
  }
}
