:root {
  --page-gutter: clamp(24px, 8vw, 120px);
  --page-top: clamp(76px, 9vw, 124px);
  --page-bottom: clamp(88px, 11vw, 150px);
  --section-gap: clamp(56px, 6vw, 80px);
  --content-width: 1180px;
  --reading-width: 680px;
  --intro-width: 780px;
}

/* One typographic system for every editorial page introduction. */
.editorial-intro h1 {
  max-width: 900px;
  margin: 28px 0;
  font: 400 clamp(54px, 6.1vw, 88px)/.96 var(--serif);
  letter-spacing: -.04em;
  text-align: left;
}

.editorial-intro > p:not(.eyebrow, .contact-note) {
  max-width: var(--intro-width);
  margin-right: 0;
  margin-left: 0;
  font: 300 22px/1.5 var(--serif);
  text-align: left;
}

/* Image-led introductions: Read and Explore. */
.page-hero.read-hero {
  min-height: 680px;
  padding: var(--page-top) 0 0 var(--page-gutter);
  grid-template-columns: minmax(0, 1fr) minmax(390px, 42vw);
  align-items: center;
  gap: clamp(56px, 7vw, 112px);
}

.page-hero.read-hero > .editorial-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
}

.page-hero.read-hero figure {
  align-self: center;
  height: 640px;
  min-height: 0;
}

.explore-intro-copy > p:last-child {
  font-size: 22px;
}

/* Book: a quiet image/text spread using the same page rhythm. */
.book-page {
  width: min(100%, calc(var(--content-width) + 2 * var(--page-gutter)));
  margin: 0 auto;
  padding: var(--page-top) var(--page-gutter) var(--page-bottom);
  grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(56px, 7vw, 104px);
}

.book-visual {
  min-height: 0;
  aspect-ratio: 4 / 5;
}

.book-content .prose {
  margin: 32px 0;
  font-size: 20px;
  line-height: 1.65;
}

/* Standalone text pages share a single left edge and readable measure. */
.article.page {
  width: min(100%, 900px);
  max-width: none;
  margin: 0 auto;
  padding: var(--page-top) var(--page-gutter) var(--page-bottom);
}

.article.page > header,
.article.page > .prose {
  width: min(100%, var(--intro-width));
  max-width: none;
  margin-right: 0;
  margin-left: 0;
}

.article.page > header {
  margin-bottom: var(--section-gap);
}

.article.page > .prose {
  font-size: 21px;
  line-height: 1.68;
}

.page-cta {
  width: min(100%, var(--intro-width));
  margin-top: var(--section-gap);
  padding-top: var(--section-gap);
  border-top: 1px solid var(--line);
}

.page-cta h2 {
  margin: 18px 0;
  font: 400 clamp(38px, 4vw, 54px)/1 var(--serif);
  letter-spacing: -.03em;
}

.page-cta > p:not(.eyebrow) {
  max-width: 620px;
  margin-bottom: 28px;
  font: 300 20px/1.55 var(--serif);
}

/* About retains its image/text spread without the previous dead space. */
.article.page.about-page {
  width: min(100%, calc(var(--content-width) + 2 * var(--page-gutter)));
  max-width: none;
  padding: var(--page-top) var(--page-gutter) var(--page-bottom);
  grid-template-columns: minmax(360px, 1fr) minmax(0, 1fr);
  column-gap: clamp(56px, 7vw, 104px);
  row-gap: var(--section-gap);
}

.article.page.about-page > header {
  width: min(100%, 940px);
  margin: 0;
}

.about-portrait {
  align-self: start;
  width: 100%;
  aspect-ratio: 4 / 5;
}

.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-page > .prose {
  width: 100%;
  align-self: start;
  font-size: 20px;
  line-height: 1.65;
}

/* Contact uses the same header and two-column spacing as About. */
.contact-page {
  width: min(100%, calc(var(--content-width) + 2 * var(--page-gutter)));
  margin: 0 auto;
  padding: var(--page-top) var(--page-gutter) var(--page-bottom);
  grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr);
  column-gap: clamp(56px, 7vw, 104px);
  row-gap: var(--section-gap);
}

.contact-intro {
  width: min(100%, var(--intro-width));
  max-width: none;
  margin: 0;
}

.contact-intro .contact-note {
  margin-top: 22px;
}

.contact-field-image {
  min-height: 0;
  aspect-ratio: 4 / 5;
}

.contact-form {
  width: 100%;
  align-self: start;
  padding-top: 4px;
}

/* The homepage book invitation no longer relies on a faux cover. */
.book-band {
  display: block;
  padding: clamp(88px, 10vw, 144px) var(--page-gutter);
}

.book-band > div {
  max-width: 780px;
  margin: 0 auto;
}

.book-band h2 {
  max-width: 720px;
}

.book-band > div > p:not(.eyebrow) {
  max-width: 600px;
  font: 300 21px/1.55 var(--serif);
}

/* Reading and utility states use the same scale without losing their centered treatment. */
.article:not(.page) h1,
.contact-thanks h1,
.not-found h1 {
  font: 400 clamp(54px, 6.1vw, 88px)/.96 var(--serif);
  letter-spacing: -.04em;
}

.article:not(.page) .standfirst,
.contact-thanks > p:not(.eyebrow),
.not-found > p:not(.eyebrow) {
  font: 300 22px/1.5 var(--serif);
}

@media (max-width: 760px) {
  :root {
    --page-top: 72px;
    --page-bottom: 96px;
    --section-gap: 52px;
  }

  .editorial-intro h1 {
    margin: 24px 0;
    font-size: clamp(46px, 12.5vw, 56px);
  }

  .editorial-intro > p:not(.eyebrow, .contact-note) {
    font-size: 20px;
  }

  .page-hero.read-hero {
    display: block;
    min-height: 0;
    padding: var(--page-top) 0 0;
  }

  .page-hero.read-hero > .editorial-intro {
    padding: 0 24px var(--section-gap);
  }

  .page-hero.read-hero figure {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .book-page,
  .article.page.about-page,
  .contact-page {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: var(--page-top) 24px var(--page-bottom);
    gap: var(--section-gap);
  }

  .book-page {
    align-items: stretch;
  }

  .book-visual {
    order: 2;
    width: 100%;
    margin: 0;
    aspect-ratio: 4 / 5;
  }

  .book-content {
    order: 1;
  }

  .book-content .prose,
  .about-page > .prose,
  .article.page > .prose {
    font-size: 19px;
  }

  .article.page {
    width: 100%;
    padding: var(--page-top) 24px var(--page-bottom);
  }

  .article.page > header {
    margin-bottom: var(--section-gap);
  }

  .about-portrait,
  .contact-field-image {
    width: 100%;
    margin: 0;
  }

  .about-portrait {
    aspect-ratio: 4 / 3;
  }

  .about-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .contact-field-image {
    aspect-ratio: 4 / 5;
  }

  .book-band > div {
    margin: 0;
  }

  .article:not(.page) h1,
  .contact-thanks h1,
  .not-found h1 {
    font-size: clamp(46px, 12.5vw, 56px);
  }
}
