:root {
  --chapters-article-width: 1380px;
  --chapters-reading-width: 820px;
  --chapters-section-gap: clamp(76px, 9vw, 138px);
  --chapters-media-gap: clamp(48px, 7vw, 106px);
  --chapters-copy: rgba(241, 238, 231, .72);
  --chapters-line: rgba(241, 238, 231, .14);
}

.first-chapters-page {
  background: #070707;
  color: var(--ivory);
}

.first-chapters-page .journal-article {
  max-width: var(--chapters-article-width);
  padding-bottom: clamp(86px, 9vw, 138px);
}

.first-chapters__header {
  border-bottom: 1px solid var(--chapters-line);
  margin-bottom: 0;
  max-width: 1120px;
  padding-bottom: clamp(66px, 8vw, 112px);
}

.first-chapters__header .journal-article__date { margin-bottom: 30px; }

.first-chapters__header .journal-article__title {
  font-size: clamp(56px, 7.2vw, 108px);
  line-height: .92;
  max-width: 12ch;
}

.first-chapters__intro {
  margin: var(--chapters-section-gap) auto 0;
  max-width: var(--chapters-reading-width);
}

.first-chapters__intro p,
.first-chapters__copy p,
.first-chapters__closing p {
  color: var(--chapters-copy);
  font: 400 clamp(16px, 1.2vw, 19px)/1.82 "DM Sans", Arial, sans-serif;
  margin: 0 0 clamp(26px, 3vw, 40px);
}

.first-chapters__intro p:last-child,
.first-chapters__copy p:last-child,
.first-chapters__closing p:last-child { margin-bottom: 0; }

.first-chapters__intro .first-chapters__lead {
  color: rgba(241, 238, 231, .92);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.42;
}

.first-chapters__chapter {
  align-items: center;
  border-top: 1px solid var(--chapters-line);
  display: grid;
  gap: var(--chapters-media-gap);
  grid-template-areas: "media copy";
  grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr);
  margin-top: var(--chapters-section-gap);
  padding-top: var(--chapters-section-gap);
}

.first-chapters__chapter--reverse {
  grid-template-areas: "copy media";
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
}

.first-chapters__media {
  align-items: center;
  background: #050505;
  border: 1px solid rgba(241, 238, 231, .1);
  display: flex;
  grid-area: media;
  justify-content: center;
  margin: 0;
  overflow: hidden;
}

.first-chapters__media img {
  display: block;
  height: auto;
  max-height: 900px;
  object-fit: contain;
  object-position: 50% 50%;
  transition: filter .7s ease, transform .8s ease;
  width: 100%;
}

.first-chapters__copy {
  grid-area: copy;
  max-width: 620px;
}

.first-chapters__copy p {
  color: rgba(241, 238, 231, .88);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(24px, 2.25vw, 35px);
  line-height: 1.55;
}

.first-chapters__closing {
  border-top: 1px solid var(--chapters-line);
  margin: var(--chapters-section-gap) auto 0;
  max-width: var(--chapters-reading-width);
  padding-top: var(--chapters-section-gap);
}

.first-chapters__closing p:last-child {
  color: rgba(241, 238, 231, .92);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(28px, 3vw, 45px);
  line-height: 1.46;
  margin-top: clamp(38px, 5vw, 72px);
}

.first-chapters-page .journal-return {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--chapters-reading-width);
}

.first-chapters-page a:focus-visible {
  outline: 1px solid var(--ivory);
  outline-offset: 7px;
}

@media (hover: hover) {
  .first-chapters__media:hover img {
    filter: brightness(1.04);
    transform: scale(1.01);
  }
}

@media (max-width: 1100px) {
  .first-chapters__chapter,
  .first-chapters__chapter--reverse {
    gap: clamp(38px, 5vw, 64px);
    grid-template-columns: minmax(300px, .86fr) minmax(0, 1.14fr);
  }

  .first-chapters__header .journal-article__title {
    font-size: clamp(54px, 7.8vw, 86px);
  }
}

@media (max-width: 780px) {
  .first-chapters-page .journal-article {
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 136px;
  }

  .first-chapters__header { padding-bottom: 72px; }
  .first-chapters__header .journal-article__date { margin-bottom: 24px; }

  .first-chapters__header .journal-article__title {
    font-size: clamp(45px, 13.5vw, 68px);
    max-width: 12ch;
  }

  .first-chapters__intro { margin-top: 76px; }

  .first-chapters__chapter,
  .first-chapters__chapter--reverse {
    gap: 42px;
    grid-template-areas:
      "media"
      "copy";
    grid-template-columns: 1fr;
    margin-top: 84px;
    padding-top: 84px;
  }

  .first-chapters__media img { max-height: none; }
  .first-chapters__copy { max-width: none; }

  .first-chapters__copy p {
    font-size: clamp(23px, 6.8vw, 31px);
    line-height: 1.5;
  }

  .first-chapters__closing {
    margin-top: 84px;
    padding-top: 84px;
  }

  .first-chapters-page .journal-return { margin-top: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  .first-chapters__media img { transition: none; }
}
