:root {
  --night: #071824;
  --night-soft: #102b3d;
  --ink: #18232c;
  --ink-soft: #4d5960;
  --paper: #f8f3e9;
  --paper-bright: #fffdf8;
  --blue-paper: #eaf1f3;
  --powder: #bfd5df;
  --gold: #806536;
  --gold-light: #e8d5a4;
  --rose: #d8b9ad;
  --line: rgba(24, 35, 44, 0.16);
  --progress: 0;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 1rem;
  line-height: 1.9;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(7, 24, 36, 0.16) 0 0.55px, transparent 0.8px),
    radial-gradient(circle at 70% 60%, rgba(7, 24, 36, 0.14) 0 0.45px, transparent 0.75px);
  background-size: 9px 9px, 13px 13px;
  content: "";
  opacity: 0.22;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #fffdf8;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px #0b4b66;
}

::selection {
  background: var(--gold-light);
  color: var(--night);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--paper-bright);
  color: var(--night);
  font-size: 0.82rem;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.reading-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 180;
  height: 3px;
  background: rgba(255, 255, 255, 0.09);
}

.reading-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #d9edf3);
  transform: scaleX(var(--progress));
  transform-origin: left;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 120;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  min-height: 4.75rem;
  padding: 0.65rem clamp(1rem, 3vw, 3rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 24, 36, 0.82);
  color: #fff;
  backdrop-filter: blur(18px) saturate(120%);
}

.brand {
  display: inline-flex;
  gap: 0.72rem;
  align-items: center;
  width: fit-content;
  min-height: 2.75rem;
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.015em;
}

.brand img {
  width: 2.6rem;
  height: 2.6rem;
  object-fit: contain;
}

.site-header .brand img,
.footer-brand img {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.section-nav {
  display: flex;
  gap: clamp(1.3rem, 2.5vw, 2.6rem);
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.section-nav a,
.header-link,
.hero-footer a,
.site-footer > a:last-child {
  transition: color 180ms ease, opacity 180ms ease;
}

.section-nav a:hover,
.section-nav a:focus-visible,
.section-nav a[aria-current="location"],
.hero-footer a:hover,
.hero-footer a:focus-visible {
  color: var(--gold-light);
}

.header-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  min-width: 4.4rem;
  min-height: 2.75rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
}

.header-link:hover,
.header-link:focus-visible {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  min-height: 100dvh;
  overflow: hidden;
  padding: 8rem clamp(1rem, 4vw, 4rem) 3rem;
  background:
    radial-gradient(circle at 74% 34%, rgba(191, 213, 223, 0.18), transparent 28rem),
    radial-gradient(circle at 28% 78%, rgba(183, 148, 85, 0.16), transparent 35rem),
    linear-gradient(132deg, #05131d 0%, #0a2433 54%, #071824 100%);
  color: #fff;
  place-items: center;
}

.hero::before,
.hero::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.hero::before {
  top: 12%;
  right: -9vw;
  width: min(55vw, 48rem);
  aspect-ratio: 1;
  border: 1px solid rgba(232, 213, 164, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 7rem rgba(255, 255, 255, 0.012),
    0 0 0 14rem rgba(255, 255, 255, 0.008);
}

.hero::after {
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 49.96%, rgba(255, 255, 255, 0.05) 50%, transparent 50.04%),
    linear-gradient(180deg, transparent 0 49.96%, rgba(255, 255, 255, 0.035) 50%, transparent 50.04%);
  background-size: 9rem 9rem;
  mask-image: linear-gradient(120deg, transparent 8%, #000 46%, transparent 92%);
  opacity: 0.34;
}

.hero-lines {
  position: absolute;
  inset: auto 8vw 9vh auto;
  width: 18rem;
  height: 9rem;
  border-right: 1px solid rgba(232, 213, 164, 0.34);
  border-bottom: 1px solid rgba(232, 213, 164, 0.34);
}

.hero-lines::before,
.hero-lines::after {
  position: absolute;
  right: -1px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-light);
  content: "";
}

.hero-lines::before {
  top: -2px;
}

.hero-lines::after {
  bottom: -2px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px);
}

.eyebrow {
  margin: 0 0 1.2rem;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.hero .eyebrow {
  color: var(--gold-light);
}

.hero h1 {
  max-width: 12em;
  margin: 0;
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(3rem, 8.2vw, 7.7rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.18;
  text-wrap: balance;
}

.hero h1 span:last-child {
  display: block;
}

.no-break {
  white-space: nowrap;
}

.hero-quote {
  max-width: 43rem;
  margin: clamp(2.4rem, 5vw, 4.5rem) 0 0 auto;
  padding-left: clamp(1.2rem, 2.5vw, 2.2rem);
  border-left: 1px solid rgba(232, 213, 164, 0.52);
  color: rgba(255, 255, 255, 0.8);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.05rem, 1.7vw, 1.45rem);
  letter-spacing: 0.01em;
  line-height: 2.05;
}

.hero-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-top: clamp(3rem, 7vw, 6.5rem);
  color: rgba(255, 255, 255, 0.58);
  font-family: Georgia, serif;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
}

.hero-footer p {
  margin: 0;
}

.hero-footer a {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  min-height: 2.75rem;
  color: rgba(255, 255, 255, 0.78);
  font-family: "Yu Gothic", sans-serif;
  font-weight: 700;
}

.hero-footer a span {
  font-size: 1.1rem;
}

.chapter-index {
  display: grid;
  grid-template-columns: minmax(10rem, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(2rem, 7vw, 8rem);
  width: min(calc(100% - 2rem), 1180px);
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.chapter-index > .eyebrow {
  align-self: start;
  padding-top: 0.65rem;
}

.chapter-index ol {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.chapter-index li {
  border-bottom: 1px solid var(--line);
}

.chapter-index a {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  min-height: 4.25rem;
  padding: 0.7rem 0;
  color: var(--ink-soft);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(0.95rem, 1.5vw, 1.12rem);
  transition: color 180ms ease, padding-left 180ms ease;
}

.chapter-index a:hover,
.chapter-index a:focus-visible {
  padding-left: 0.55rem;
  color: var(--night);
}

.chapter-index a span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 0.72rem;
}

.chapter {
  position: relative;
  display: grid;
  grid-template-columns: minmax(8rem, 0.36fr) minmax(0, 1fr);
  gap: clamp(2rem, 8vw, 9rem);
  min-height: 60svh;
  padding: clamp(6rem, 12vw, 11rem) max(1rem, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
}

.chapter-label {
  align-self: start;
  color: var(--gold);
}

.chapter-label span {
  display: block;
  font-family: Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1;
}

.chapter-label p {
  margin: 0.9rem 0 0;
  font-family: Georgia, serif;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
}

@media (min-width: 981px) {
  .chapter-label {
    position: sticky;
    top: 7.5rem;
  }
}

.prose {
  width: min(100%, 43rem);
}

.prose-wide {
  width: min(100%, 58rem);
}

.prose h2 {
  margin: 0 0 clamp(3rem, 7vw, 5.8rem);
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.3;
  text-wrap: balance;
}

.prose p {
  margin: 0 0 1.6rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.2vw, 1.075rem);
  letter-spacing: 0.018em;
  line-height: 2.05;
}

.prose .statement {
  margin-block: clamp(2.8rem, 6vw, 5.2rem);
  color: var(--ink);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.35rem, 2.7vw, 2.25rem);
  letter-spacing: -0.01em;
  line-height: 1.85;
}

.prose blockquote {
  position: relative;
  margin: clamp(3.3rem, 8vw, 7rem) 0;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.4rem, 5vw, 4.5rem);
  border: 1px solid rgba(183, 148, 85, 0.42);
  background: rgba(255, 253, 248, 0.6);
  color: var(--night);
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.55rem, 3.8vw, 3.25rem);
  letter-spacing: -0.035em;
  line-height: 1.65;
}

.prose blockquote::before {
  position: absolute;
  top: -1.1rem;
  left: clamp(1.2rem, 4vw, 3.5rem);
  padding: 0 0.8rem;
  background: var(--paper);
  color: var(--gold);
  content: "“";
  font-family: Georgia, serif;
  font-size: 3rem;
  line-height: 1;
}

.line-sequence,
.question-sequence,
.ending-lines {
  margin: clamp(2.5rem, 6vw, 5rem) 0;
  padding: clamp(1.2rem, 3vw, 2rem) 0 clamp(1.2rem, 3vw, 2rem) clamp(1.3rem, 3.6vw, 2.8rem);
  border-left: 1px solid rgba(183, 148, 85, 0.54);
}

.line-sequence p,
.question-sequence p,
.ending-lines p {
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.line-sequence p:last-child,
.question-sequence p:last-child,
.ending-lines p:last-child {
  margin-bottom: 0;
}

.line-sequence.compact p {
  margin-bottom: 0.35rem;
}

.line-sequence.muted p {
  color: var(--ink-soft);
}

.chapter-opening {
  background:
    radial-gradient(circle at 9% 18%, rgba(191, 213, 223, 0.34), transparent 28rem),
    var(--paper-bright);
}

.chapter-opening .prose-lead {
  width: min(100%, 49rem);
}

.chapter-opening .statement {
  font-size: clamp(1.75rem, 4vw, 3.4rem);
  line-height: 1.6;
}

.chapter-story {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.58), transparent 42%),
    var(--blue-paper);
}

.chapter-story .prose blockquote::before {
  background: var(--blue-paper);
}

.chapter-definition {
  background: var(--paper);
}

.chapter-lifetime {
  border-top-color: rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 78% 18%, rgba(191, 213, 223, 0.13), transparent 32rem),
    linear-gradient(142deg, #071824, #0b2535 72%, #071824);
  color: #fff;
}

.chapter-lifetime .prose h2,
.chapter-lifetime .prose .statement,
.chapter-lifetime .question-sequence p {
  color: #fff;
}

.chapter-lifetime .prose p {
  color: rgba(255, 255, 255, 0.72);
}

.chapter-lifetime .question-sequence {
  border-left-color: var(--gold-light);
}

.chapter-lifetime .chapter-label,
.chapter-answer .chapter-label {
  color: var(--gold-light);
}

.chapter-reality {
  background:
    radial-gradient(circle at 86% 45%, rgba(216, 185, 173, 0.3), transparent 30rem),
    var(--paper-bright);
}

.chapter-bridge {
  min-height: 82svh;
  align-items: center;
  background:
    linear-gradient(110deg, rgba(191, 213, 223, 0.52), rgba(255, 253, 248, 0.76) 54%, rgba(232, 213, 164, 0.34)),
    var(--paper);
}

.chapter-bridge .prose blockquote {
  border: 0;
  border-block: 1px solid rgba(24, 35, 44, 0.2);
  background: transparent;
}

.chapter-bridge .prose blockquote::before {
  background: transparent;
}

.chapter-breeding {
  background: #eef3f2;
}

.chapter-breeding .prose h2 {
  font-size: clamp(2.35rem, 3.7vw, 4rem);
}

.chapter-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(18rem, 0.72fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}

.chapter-photo {
  position: sticky;
  top: 8rem;
  margin: 0;
}

.chapter-photo::before {
  position: absolute;
  inset: -1.15rem 1.15rem 1.15rem -1.15rem;
  z-index: -1;
  border: 1px solid rgba(183, 148, 85, 0.5);
  content: "";
}

.chapter-photo picture {
  display: block;
}

.chapter-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  box-shadow: 0 28px 70px rgba(7, 24, 36, 0.16);
  object-fit: cover;
}

.chapter-photo figcaption {
  margin-top: 0.85rem;
  color: var(--ink-soft);
  font-family: Georgia, serif;
  font-size: 0.68rem;
  font-style: italic;
  letter-spacing: 0.08em;
  text-align: right;
}

.prose-follow {
  grid-column: 2;
  margin-top: clamp(4rem, 9vw, 8rem);
}

.chapter-aftercare {
  background:
    radial-gradient(circle at 10% 85%, rgba(191, 213, 223, 0.28), transparent 32rem),
    var(--paper-bright);
}

.pledge {
  grid-column: 2;
  width: min(100%, 52rem);
  margin-top: clamp(4rem, 9vw, 8rem);
  padding: clamp(2rem, 6vw, 5rem);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.04), transparent),
    var(--night);
  box-shadow: 0 30px 80px rgba(7, 24, 36, 0.16);
  color: #fff;
}

.pledge .eyebrow {
  color: var(--gold-light);
}

.pledge h3 {
  margin: 0 0 clamp(2rem, 5vw, 4rem);
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.25;
}

.pledge > div {
  padding: 0 0 0 clamp(1.1rem, 3vw, 2.5rem);
  border-left: 1px solid rgba(232, 213, 164, 0.58);
}

.pledge p {
  margin: 0 0 0.7rem;
  color: rgba(255, 255, 255, 0.76);
  line-height: 2;
}

.pledge > p:last-child {
  margin: clamp(2.2rem, 5vw, 4rem) 0 0;
  color: #fff;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
}

.chapter-answer {
  min-height: 100svh;
  align-items: center;
  border-top-color: rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 78% 26%, rgba(232, 213, 164, 0.15), transparent 28rem),
    radial-gradient(circle at 14% 80%, rgba(191, 213, 223, 0.12), transparent 31rem),
    var(--night);
  color: #fff;
}

.chapter-answer .prose h2,
.chapter-answer .prose .statement,
.chapter-answer .ending-lines p,
.chapter-answer .final-line {
  color: #fff;
}

.chapter-answer .prose p {
  color: rgba(255, 255, 255, 0.72);
}

.chapter-answer .ending-lines {
  border-left-color: var(--gold-light);
}

.chapter-answer .final-line {
  margin-top: clamp(4rem, 9vw, 8rem);
  padding-top: clamp(2.2rem, 5vw, 4rem);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.75;
}

.article-actions {
  display: grid;
  gap: 1.5rem;
  justify-items: center;
  padding: clamp(4rem, 8vw, 7rem) 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--night);
  color: rgba(255, 255, 255, 0.76);
  text-align: center;
}

.article-actions p {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.article-actions > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.article-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.article-action-primary {
  border: 1px solid var(--gold-light);
  background: var(--gold-light);
  color: var(--night);
}

.article-action-secondary {
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
}

.article-action-primary:hover,
.article-action-primary:focus-visible {
  background: #fff;
}

.article-action-secondary:hover,
.article-action-secondary:focus-visible {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  min-height: 10rem;
  padding: 2rem max(1rem, calc((100vw - 1180px) / 2));
  background: #04121b;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.footer-brand {
  color: #fff;
}

.site-footer > p {
  margin: 0;
  font-family: Georgia, serif;
  text-align: center;
}

.site-footer > a:last-child {
  justify-self: end;
  min-height: 2.75rem;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.site-footer > a:last-child:hover,
.site-footer > a:last-child:focus-visible {
  color: var(--gold-light);
}

body.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 700ms ease, transform 850ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

body.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .section-nav {
    display: none;
  }

  .hero::before {
    top: 28%;
    right: -28vw;
    width: 92vw;
  }

  .chapter-index {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .chapter {
    grid-template-columns: 1fr;
    gap: 2.3rem;
  }

  .chapter-label {
    display: flex;
    gap: 1rem;
    align-items: baseline;
  }

  .chapter-label span {
    font-size: 2rem;
  }

  .chapter-label p {
    margin: 0;
  }

  .chapter-grid {
    grid-template-columns: 1fr;
  }

  .chapter-photo {
    position: relative;
    top: auto;
    width: min(88%, 34rem);
    margin: 1rem auto 0;
  }

  .prose-follow,
  .pledge {
    grid-column: 1;
  }

  .prose-follow {
    margin-top: 1.5rem;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 0.96rem;
  }

  .site-header {
    min-height: 4.25rem;
    padding: 0.5rem 0.8rem;
  }

  .brand {
    gap: 0.55rem;
    font-size: 0.94rem;
  }

  .brand img {
    width: 2.35rem;
    height: 2.35rem;
  }

  .header-link {
    min-width: auto;
    padding: 0.42rem 0.75rem;
  }

  .hero {
    align-items: center;
    min-height: 100svh;
    min-height: 100dvh;
    padding: 6.5rem 1rem 2rem;
  }

  .hero h1 {
    max-width: 9.5em;
    font-size: clamp(2.35rem, 9.8vw, 3.5rem);
    line-height: 1.26;
  }

  .hero h1 span {
    display: block;
  }

  .hero-quote {
    margin-top: 2.5rem;
    font-size: 1rem;
  }

  .hero-footer {
    margin-top: 3rem;
  }

  .hero-lines {
    right: 1rem;
    bottom: 2rem;
    width: 8rem;
    height: 4rem;
    opacity: 0.45;
  }

  .chapter-index {
    width: min(calc(100% - 2rem), 34rem);
    padding-block: 4.5rem;
  }

  .chapter-index a {
    grid-template-columns: 2.4rem minmax(0, 1fr);
    min-height: 4.5rem;
    font-size: 0.92rem;
  }

  .chapter {
    min-height: auto;
    padding: 5.5rem 1rem;
  }

  .prose h2 {
    margin-bottom: 3rem;
    font-size: clamp(2.2rem, 11vw, 3.35rem);
  }

  .chapter-breeding .prose h2 {
    font-size: clamp(2.1rem, 9vw, 3rem);
  }

  .prose p {
    margin-bottom: 1.45rem;
    font-size: 1rem;
    line-height: 2;
  }

  .prose .statement {
    margin-block: 2.8rem;
    font-size: 1.42rem;
    line-height: 1.85;
  }

  .prose blockquote {
    margin-block: 3.2rem;
    padding: 2.4rem 1.25rem;
    font-size: 1.65rem;
    line-height: 1.7;
  }

  .line-sequence,
  .question-sequence,
  .ending-lines {
    margin-block: 2.6rem;
    padding-left: 1.15rem;
  }

  .chapter-photo {
    width: calc(100% - 1rem);
    margin-left: 1rem;
  }

  .pledge {
    margin-inline: 0;
    padding: 2.4rem 1.3rem;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    min-height: 9rem;
    padding: 1.7rem 1rem 3.5rem;
  }

  .site-footer > p {
    display: none;
  }

  .article-actions > div {
    width: min(100%, 24rem);
  }

  .article-actions a {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  body.reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  @page {
    margin: 18mm;
  }

  body {
    background: #fff;
    color: #111;
    font-size: 10.5pt;
  }

  body.reveal-ready [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .site-header,
  .reading-progress,
  .article-actions,
  .hero-footer,
  .chapter-index,
  .site-footer {
    display: none !important;
  }

  .hero,
  .chapter,
  .chapter-lifetime,
  .chapter-answer,
  .pledge {
    display: block;
    min-height: 0;
    padding: 12mm 0;
    border: 0;
    background: #fff;
    box-shadow: none;
    color: #111;
  }

  .hero {
    padding-top: 0;
    border-bottom: 1px solid #999;
  }

  .hero h1,
  .hero-quote,
  .prose h2,
  .prose p,
  .prose .statement,
  .chapter-lifetime .prose p,
  .chapter-answer .prose p,
  .pledge p,
  .pledge h3 {
    color: #111 !important;
  }

  .chapter-label,
  .chapter-photo {
    display: none;
  }

  .chapter-grid {
    display: block;
  }

  .prose,
  .prose-wide,
  .prose-follow,
  .pledge {
    width: 100%;
    max-width: none;
    margin-top: 8mm;
  }

  .prose h2,
  .pledge h3 {
    break-after: avoid;
  }

  blockquote,
  .line-sequence,
  .question-sequence,
  .ending-lines,
  .pledge {
    break-inside: avoid;
  }
}
