.timeline[data-astro-cid-m4alsfbh] {
  padding-block: 4.5rem 6rem;
}

.stations-wrap[data-astro-cid-m4alsfbh] {
  position: relative;
}

.spine[data-astro-cid-m4alsfbh] {
  position: absolute;
  left: 2.4rem;
  top: .6rem;
  bottom: 2rem;
  width: 2px;
  background: color-mix(in srgb, var(--copper) 55%, transparent);
}

.stations[data-astro-cid-m4alsfbh] {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(4rem, 8vh, 6rem);
}

.station[data-astro-cid-m4alsfbh] {
  display: grid;
  grid-template-columns: 4.8rem minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 0 clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.station[data-astro-cid-m4alsfbh]:first-child {
  align-items: start;
}

.station[data-astro-cid-m4alsfbh]:first-child .photo-zone[data-astro-cid-m4alsfbh] .print[data-astro-cid-m4alsfbh] {
  margin-top: -8.5rem;
}

.station--flip[data-astro-cid-m4alsfbh] .photo-zone[data-astro-cid-m4alsfbh] {
  grid-column: 2;
  grid-row: 1;
}

.station--flip[data-astro-cid-m4alsfbh] .text[data-astro-cid-m4alsfbh] {
  grid-column: 3;
  grid-row: 1;
}

.key[data-astro-cid-m4alsfbh] {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  justify-self: center;
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--copper-deep);
  background: var(--vellum);
  padding-block: .5rem;
  z-index: 1;
}

.text[data-astro-cid-m4alsfbh] {
  grid-column: 2;
  grid-row: 1;
}

h2[data-astro-cid-m4alsfbh] {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  color: var(--ink);
}

.prose[data-astro-cid-m4alsfbh] {
  margin-top: 1.1rem;
  max-width: 52ch;
  color: var(--sage);
}

.ledger[data-astro-cid-m4alsfbh] {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  max-width: 46rem;
}

.ledger[data-astro-cid-m4alsfbh] li[data-astro-cid-m4alsfbh] {
  display: flex;
  align-items: baseline;
  gap: 1.3rem;
  padding: .7rem .2rem;
  border-bottom: 1px solid var(--rule);
}

.ledger[data-astro-cid-m4alsfbh] li[data-astro-cid-m4alsfbh]:first-child {
  border-top: 1px solid var(--rule);
}

.term[data-astro-cid-m4alsfbh] {
  font-family: var(--serif);
  font-size: 1.12rem;
  color: var(--copper-deep);
  flex: none;
  min-width: 8ch;
}

.note[data-astro-cid-m4alsfbh] {
  font-size: .95rem;
  color: var(--sage);
}

.photo-zone[data-astro-cid-m4alsfbh] {
  grid-column: 3;
  grid-row: 1;
}

.print[data-astro-cid-m4alsfbh] {
  position: relative;
  margin: 0;
  background: #fff;
  padding: .7rem .7rem .9rem;
  border: 1px solid var(--rule);
  box-shadow: 0 12px 30px -24px #181d1759;
  width: min(100%, 24rem);
}

.print--r[data-astro-cid-m4alsfbh] {
  justify-self: start;
  rotate: -1.2deg;
}

.print--l[data-astro-cid-m4alsfbh] {
  justify-self: end;
  rotate: 1.1deg;
  margin-left: auto;
}

.print[data-astro-cid-m4alsfbh] img, .print[data-astro-cid-m4alsfbh] video[data-astro-cid-m4alsfbh] {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--rule);
}

.print[data-astro-cid-m4alsfbh] video[data-astro-cid-m4alsfbh] {
  aspect-ratio: 1792 / 2400;
  object-fit: cover;
  background: var(--canvas);
}

.print[data-astro-cid-m4alsfbh] figcaption[data-astro-cid-m4alsfbh] {
  margin-top: .75rem;
  color: var(--ink-nav);
  font-size: 10.5px;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .35em .55em;
}

.cap-tag[data-astro-cid-m4alsfbh] {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  white-space: nowrap;
}

.print[data-astro-cid-m4alsfbh] .cap-leaf {
  color: var(--green-deep);
  width: 9px;
  height: 8px;
}

.tick[data-astro-cid-m4alsfbh] {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--copper);
  border-style: solid;
  border-width: 0;
  z-index: 1;
}

.tick--tl[data-astro-cid-m4alsfbh] {
  top: -4px;
  left: -4px;
  border-top-width: 2px;
  border-left-width: 2px;
}

.tick--br[data-astro-cid-m4alsfbh] {
  bottom: -4px;
  right: -4px;
  border-bottom-width: 2px;
  border-right-width: 2px;
}

.photo-zone--pair[data-astro-cid-m4alsfbh] {
  position: relative;
  display: grid;
}

.print--under[data-astro-cid-m4alsfbh] {
  grid-area: 1 / 1;
  width: min(62%, 16rem);
  justify-self: start;
  align-self: end;
  margin-top: 6.5rem;
  rotate: 1.8deg;
  z-index: 1;
}

.print--over[data-astro-cid-m4alsfbh] {
  grid-area: 1 / 1;
  width: min(72%, 19rem);
  justify-self: end;
  align-self: start;
  rotate: -1.2deg;
  z-index: 2;
}

@media (width <= 900px) {
  .spine[data-astro-cid-m4alsfbh] {
    display: none;
  }

  .station[data-astro-cid-m4alsfbh], .station--flip[data-astro-cid-m4alsfbh] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.6rem;
  }

  .key[data-astro-cid-m4alsfbh] {
    align-self: flex-start;
    padding-block: 0;
    background: none;
    border-bottom: 2px solid color-mix(in srgb, var(--copper) 55%, transparent);
    padding-bottom: .35rem;
  }

  .photo-zone[data-astro-cid-m4alsfbh] {
    order: 3;
  }

  .station[data-astro-cid-m4alsfbh]:first-child .photo-zone[data-astro-cid-m4alsfbh] .print[data-astro-cid-m4alsfbh] {
    margin-top: 0;
  }

  .print--r[data-astro-cid-m4alsfbh], .print--l[data-astro-cid-m4alsfbh] {
    justify-self: start;
    margin-left: 0;
  }

  .photo-zone--pair[data-astro-cid-m4alsfbh] {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }

  .print--under[data-astro-cid-m4alsfbh] {
    width: min(100%, 22rem);
    margin-top: 0;
    align-self: flex-start;
  }

  .print--over[data-astro-cid-m4alsfbh] {
    width: min(100%, 24rem);
    align-self: flex-end;
  }
}
