/* ——— The Annals (dispatch as newspaper history) ——— */
.annals-mast {
  text-align: center;
  padding: 1.15rem 0 1.45rem;
  margin: 0 0 3rem;
  border-top: 1px solid var(--line-ink);
  border-bottom: 1px solid var(--line-ink);
}

.annals-mast .issue-title {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
}

.annals-mast .issue-byline {
  margin-bottom: 0;
}

.annals {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4.25rem;
}

.annals p:not(.eyebrow):not(.annals-year):not(.annals-slide-year) {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 1.2rem;
  line-height: 1.78;
  color: var(--ink-soft);
  text-align: justify;
  hyphens: auto;
  margin: 0 0 1.15rem;
  mix-blend-mode: multiply;
  filter: var(--filter-type-ink-fine);
}

.annals p:not(.eyebrow):not(.annals-year):not(.annals-slide-year):last-child {
  margin-bottom: 0;
}

.annals .drop {
  font-size: 3.35rem;
  line-height: 0.72;
  padding: 0.1rem 0.38rem 0 0;
  mix-blend-mode: multiply;
  filter: var(--filter-type-ink);
}

.annals-spread,
.annals-lead,
.annals-rail,
.annals-era,
.annals-note,
.annals-close {
  min-width: 0;
}

.annals-lead {
  max-width: 46rem;
  margin: 0 auto;
}

.annals p.annals-dek:not(.eyebrow):not(.annals-year):not(.annals-slide-year) {
  max-width: 36rem;
  margin: 0 auto 2.15rem;
  font-size: 1.24rem;
  line-height: 1.68;
  text-align: justify;
}

.annals-copy {
  columns: 1;
  column-gap: 2.15rem;
  column-fill: balance;
}

.annals-copy h2:first-child {
  margin-top: 0;
}

.annals .annals-copy p:not(.eyebrow):not(.annals-year):not(.annals-slide-year) {
  font-size: 1.12rem;
  line-height: 1.68;
  text-align: justify;
  margin: 0 0 0.75rem;
  orphans: 3;
  widows: 3;
}


.annals .hed {
  margin: 0 0 1.75rem;
}

.annals .hed .eyebrow {
  color: var(--stamp);
  margin: 0 0 0.28rem;
  filter: var(--filter-type-ink-fine);
  mix-blend-mode: multiply;
}

.annals h2 {
  font-family: var(--font-news);
  font-weight: 700;
  font-style: normal;
  font-size: clamp(1.42rem, 2.1vw, 1.72rem);
  letter-spacing: 0.035em;
  line-height: 1.18;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
  filter: var(--filter-type-ink);
  mix-blend-mode: multiply;
}

.annals .annals-copy h2 {
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  line-height: 1.3;
  margin: 1.15rem 0 0.5rem;
  break-after: avoid;
  break-inside: avoid;
}

.annals-pull {
  margin: 0;
  padding: 0.35rem 0 0;
  max-width: 46rem;
}

.annals-pull p {
  font-family: var(--font-fell);
  font-style: italic;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.32;
  text-align: left;
  color: var(--ink);
  margin: 0;
  filter: var(--filter-type-ink);
  mix-blend-mode: multiply;
}

.annals-cut {
  margin: 0;
}

.annals-cut img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.annals-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  padding-top: clamp(2.25rem, 4vw, 3.25rem);
  border-top: 1px solid var(--line-ink);
}

/* dek sits as a standfirst above the rule; tighten the gap to it */
.annals-lead + .annals-feature {
  margin-top: calc(clamp(1.5rem, 3vw, 2.5rem) - 4.25rem);
}

.annals .annals-lead p.annals-dek:not(.eyebrow):not(.annals-year):not(.annals-slide-year) {
  margin-bottom: 0;
}

.annals-feature .annals-copy {
  columns: 1;
}

/* all columns and the plate start on one line */
.annals .annals-feature .annals-copy > h2:first-child {
  margin-top: 0;
}

.annals-feature .annals-plate {
  margin-top: 0.3rem;
}

.annals-plate {
  width: 100%;
  max-width: 44rem;
  justify-self: end;
}

@media (min-width: 1280px) {
  .annals-feature .annals-copy {
    columns: 2;
  }
}

@media (max-width: 699px) {
  .annals-feature {
    grid-template-columns: minmax(0, 1fr);
  }

  .annals-plate {
    justify-self: stretch;
    max-width: none;
  }
}

.annals-plate img {
  aspect-ratio: 4 / 3;
  object-position: 50% 60%;
}

.annals-cut figcaption,
.annals-era .annals-cut figcaption {
  font-family: var(--font-fell);
  font-style: italic;
  font-size: 1.16rem;
  margin-top: 0.45rem;
  color: var(--ink-soft);
  mix-blend-mode: multiply;
  filter: var(--filter-type-ink-fine);
}


.annals-chronicle {
  position: relative;
  z-index: 5;
  margin: 1rem 0 0;
  overflow: visible;
  max-width: none;
}

.annals-chronicle-pin {
  position: sticky;
  top: 0;
  height: 100svh;
  /* Touch: sized to the tallest viewport, so when the toolbar slides away no
     strip of the section behind shows (and scrolls) under the pinned paper.
     The extra bottom padding keeps the slide centred in the visible part. */
  height: 100lvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.15rem;
  overflow: hidden;
  isolation: isolate;
  min-width: 0;
  margin-inline: calc(-1 * clamp(1.6rem, 5.5vw, 4.25rem));
  padding: 1.25rem clamp(1.6rem, 5.5vw, 4.25rem) 1.5rem;
  padding-bottom: calc(1.5rem + 100lvh - 100svh);
  background-color: var(--paper);
  background-image: var(--paper-tooth);
  background-size: var(--paper-grain) auto;
  background-repeat: repeat;
  background-blend-mode: soft-light;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.annals-chronicle-pin::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(255, 236, 210, 0.18);
}

.annals-chronicle-pin::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: var(--paper-tooth);
  background-size: var(--paper-grain) auto;
  mix-blend-mode: multiply;
  opacity: 0.58;
}

.annals-chronicle-pin > * {
  position: relative;
  z-index: 1;
}

.annals-chronicle-pin::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.annals-chronicle-kicker {
  margin: 0;
  text-align: center;
  color: var(--stamp);
}

.annals-chronicle-viewport {
  overflow: hidden;
  min-width: 0;
  min-height: 0;
  width: 100%;
  max-width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.annals-chronicle-viewport::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.annals-chronicle-track {
  display: flex;
  will-change: transform;
}

.annals-slide {
  flex: 0 0 100%;
  width: 100%;
  display: grid;
  gap: 1.5rem 2.75rem;
  align-items: center;
  /* Room for the plate's offset frame inside the clipped viewport */
  padding: 0.75rem;
  min-width: 0;
}

/* Framed plate, as the rooms on stay.html */
.annals-slide .grounds-cut {
  margin: 0;
  outline: 1px solid var(--line);
  outline-offset: 0.55rem;
}

.annals-slide .grounds-cut img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  max-height: 58svh;
}

/* Zoomed toward the left so the figure at the plate's right edge falls outside the frame */
.annals-slide .annals-cut-left {
  overflow: hidden;
}

.annals-slide .annals-cut-left img {
  object-position: left center;
  transform: scale(1.18);
  transform-origin: left 60%;
}

.annals-slide-year {
  font-family: var(--font-news);
  font-weight: 700;
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  line-height: 0.85;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin: 0.15rem 0 0.65rem;
  filter: var(--filter-type-ink);
  mix-blend-mode: multiply;
}

.annals-slide h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  margin: 0 0 0.85rem;
}

.annals-slide-copy p:not(.eyebrow):not(.annals-slide-year) {
  text-align: left;
  max-width: 28rem;
}

.annals-chronicle-index {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  margin: 0;
  padding: 0.35rem 0 0;
  list-style: none;
}

.annals-chronicle-index li {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stamp);
  opacity: 0.45;
  transition: opacity 0.35s var(--ease), color 0.35s var(--ease);
}

.annals-chronicle-index li.is-current {
  color: var(--ink);
  opacity: 1;
}

@media (min-width: 700px) {
  .annals-slide {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 0 3.25rem;
  }

  /* Hairline that runs from the heading back to the plate edge */
  .annals-slide h2::after {
    content: "";
    display: block;
    width: 6rem;
    height: 1px;
    margin: 1.15rem 0 0 -3.25rem;
    background: var(--line);
  }

  .annals-slide .grounds-cut img {
    aspect-ratio: 5 / 4;
    max-height: min(62svh, 36rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .annals-chronicle {
    height: auto !important;
  }

  .annals-chronicle-pin {
    position: relative;
    height: auto;
    overflow: visible;
  }

  .annals-chronicle-track {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    transform: none !important;
  }

  .annals-slide {
    flex-basis: auto;
  }
}

.annals-note {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
  padding: 0;
}

.annals-note p {
  text-align: center;
}

.annals-archive {
  max-width: 22rem;
  margin: 0 auto;
}

.annals-archive img {
  aspect-ratio: 4 / 5;
}

.annals-close {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
  padding-top: 0;
}

.annals-close p {
  text-align: center;
}

.annals-close .pencil {
  margin-top: 1.15rem;
}

@media (min-width: 700px) {
  .annals-lead {
    max-width: 52rem;
  }

  .annals-copy {
    columns: 2;
  }
}
