:root {
  color-scheme: light;
  --paper: #ffffff;
  --paper-bright: #ffffff;
  --ink: #171816;
  --ink-soft: #555750;
  --line: #cdcec7;
  --line-dark: #5e605a;
  --gold: #80591d;
  --gold-light: #d8c49a;
  --oxblood: #741f27;
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Avenir Next", "Avenir", "Helvetica Neue", Arial, sans-serif;
  --page: min(1180px, calc(100% - 64px));
  --reading: 720px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--oxblood);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--ink);
  color: white;
}

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

.progress {
  position: fixed;
  z-index: 90;
  inset: 0 0 auto;
  height: 3px;
  pointer-events: none;
}

.progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--oxblood);
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  width: var(--page);
  min-height: 68px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
}

.wordmark img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.site-header nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
}

.site-header nav a {
  text-decoration: none;
}

.site-header nav a:hover {
  text-decoration: underline;
}

.hero {
  position: relative;
  display: grid;
  width: var(--page);
  min-height: max(560px, calc(100svh - 116px));
  margin: 0 auto;
  place-items: center;
  border-bottom: 1px solid var(--ink);
}

.hero-inner {
  width: min(880px, 100%);
  padding: 42px 0 54px;
  text-align: center;
}

.hero-logo {
  width: 124px;
  height: 124px;
  margin: 0 auto 22px;
  object-fit: contain;
}

.eyebrow,
.section-kicker,
.part-heading > p,
.book-action {
  margin: 0;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 860px;
  margin: 12px auto 18px;
  font-family: var(--serif);
  font-size: 82px;
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 0 auto;
  color: #353733;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.45;
}

.primary-command {
  display: inline-flex;
  min-height: 48px;
  margin-top: 30px;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.primary-command span {
  color: var(--oxblood);
  font-family: var(--serif);
  font-size: 22px;
}

.book-count {
  position: absolute;
  right: 0;
  bottom: 14px;
  margin: 0;
  color: var(--line-dark);
  font-family: var(--serif);
  font-size: 13px;
}

.index-section {
  scroll-margin-top: 20px;
}

.section-heading {
  display: grid;
  width: var(--page);
  min-height: 260px;
  margin: 0 auto;
  padding: 64px 0 48px;
  grid-template-columns: 140px 1fr minmax(240px, 360px);
  align-items: end;
  gap: 28px;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 500;
  line-height: 1;
}

.section-heading > p:last-child {
  margin: 0 0 5px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.45;
}

.book-part {
  border-top: 1px solid var(--ink);
}

.part-heading,
.book-row {
  width: var(--page);
  margin: 0 auto;
}

.part-heading {
  display: grid;
  min-height: 164px;
  padding: 34px 0;
  grid-template-columns: 140px 1fr minmax(240px, 360px);
  align-items: center;
  gap: 28px;
}

.part-heading h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 500;
}

.part-heading > span {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 18px;
}

.book-row {
  display: grid;
  min-height: 132px;
  padding: 26px clamp(18px, 2.5vw, 34px);
  grid-template-columns: 116px minmax(0, 1fr) minmax(110px, 126px);
  align-items: center;
  gap: 28px;
  border-top: 1px solid var(--line);
}

.book-row:last-child {
  border-bottom: 1px solid var(--line);
}

.book-row-link {
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 180ms ease;
}

.book-row-link:hover,
.book-row-link:focus-visible {
  background: var(--paper-bright);
}

.book-number {
  margin: 0;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 30px;
}

.book-copy h4 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.15;
}

.book-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.45;
}

.book-action {
  justify-self: end;
  color: var(--oxblood);
  text-align: right;
  white-space: nowrap;
}

.book-arrow {
  display: inline-block;
  margin-left: 8px;
  font-family: var(--serif);
  font-size: 18px;
  transition: transform 180ms ease;
}

.book-row-link:hover .book-arrow,
.book-row-link:focus-visible .book-arrow {
  transform: translateX(6px);
}

.author-section {
  display: grid;
  width: var(--page);
  min-height: 680px;
  margin: 0 auto;
  padding: 110px 0;
  grid-template-columns: minmax(260px, 0.75fr) minmax(340px, 1.25fr);
  align-items: center;
  gap: 90px;
}

.author-mark {
  display: grid;
  width: min(360px, 100%);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 180px;
  line-height: 1;
}

.author-copy {
  max-width: 610px;
}

.author-copy h2,
.signup-copy h2 {
  margin: 12px 0 28px;
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 500;
  line-height: 1.08;
}

.author-copy > p:not(.section-kicker):not(.signature) {
  margin: 0 0 20px;
  color: #353733;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.6;
}

.signature {
  margin: 34px 0 0;
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
}

.signup-section {
  display: grid;
  padding: 96px max(32px, calc((100% - 1180px) / 2));
  grid-template-columns: minmax(280px, 0.9fr) minmax(380px, 1.1fr);
  gap: 100px;
  border-top: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper-bright);
}

.signup-copy {
  align-self: start;
}

.signup-copy .section-kicker {
  color: var(--gold-light);
}

.signup-copy h2 {
  max-width: 440px;
}

.signup-copy > p:last-child {
  max-width: 510px;
  margin: 0;
  color: #c8cac3;
  font-family: var(--serif);
  font-size: 20px;
}

.signup-form {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  align-content: start;
  gap: 24px 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: #d6d8d0;
  font-size: 12px;
  font-weight: 700;
}

.field input {
  width: 100%;
  min-height: 52px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid #696b65;
  border-radius: 0;
  background: transparent;
  color: white;
  font: inherit;
}

.field input:focus {
  border-color: var(--gold-light);
}

.signup-form button {
  grid-column: 1 / -1;
  min-height: 54px;
  margin-top: 6px;
  padding: 0 24px;
  border: 1px solid var(--gold-light);
  border-radius: 0;
  background: var(--gold-light);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
}

.signup-form button:hover {
  background: transparent;
  color: white;
}

.signup-form button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-status {
  min-height: 26px;
  margin: 0;
  grid-column: 1 / -1;
  color: #efb4b8;
  font-size: 14px;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  display: grid;
  min-height: 220px;
  padding: 44px max(32px, calc((100% - 1180px) / 2));
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  border-top: 1px solid #393a37;
  background: var(--ink);
  color: #aeb0aa;
  font-size: 12px;
}

.site-footer p {
  margin: 0;
}

.site-footer p:last-child {
  justify-self: end;
}

.footer-mark {
  justify-self: center;
  grid-column: 2;
  grid-row: 1;
}

.footer-mark img {
  width: 52px;
  height: 52px;
  filter: invert(1);
}

.site-footer p:first-of-type {
  grid-column: 1;
  grid-row: 1;
}

.site-footer p:last-child {
  grid-column: 3;
  grid-row: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.is-ready .reveal {
  opacity: 1;
  transform: translateY(0);
}

.is-ready .reveal:nth-child(2) { transition-delay: 80ms; }
.is-ready .reveal:nth-child(3) { transition-delay: 150ms; }
.is-ready .reveal:nth-child(4) { transition-delay: 220ms; }
.is-ready .reveal:nth-child(5) { transition-delay: 290ms; }

.message-page {
  display: grid;
  min-height: 100svh;
  padding: 32px;
  place-items: center;
}

.message-inner {
  width: min(680px, 100%);
  text-align: center;
}

.message-inner img {
  width: 108px;
  height: 108px;
  margin: 0 auto 30px;
}

.message-inner h1 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 500;
  line-height: 1;
}

.message-inner p {
  max-width: 560px;
  margin: 0 auto 28px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 22px;
}

.message-inner a {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 860px) {
  :root {
    --page: calc(100% - 40px);
  }

  .hero h1 {
    font-size: 62px;
  }

  .section-heading,
  .part-heading {
    grid-template-columns: 100px 1fr;
  }

  .section-heading > p:last-child,
  .part-heading > span {
    grid-column: 2;
  }

  .book-row {
    padding-inline: 20px;
    grid-template-columns: 70px minmax(0, 1fr) 104px;
  }

  .author-section {
    gap: 54px;
  }

  .author-mark {
    font-size: 120px;
  }

  .signup-section {
    grid-template-columns: 1fr;
    gap: 52px;
  }
}

@media (max-width: 620px) {
  :root {
    --page: calc(100% - 32px);
  }

  body {
    font-size: 16px;
  }

  .site-header {
    min-height: 60px;
  }

  .wordmark span {
    display: none;
  }

  .wordmark img {
    width: 32px;
    height: 32px;
  }

  .site-header nav {
    gap: 20px;
    font-size: 12px;
  }

  .hero {
    min-height: max(560px, calc(100svh - 104px));
  }

  .hero-inner {
    padding: 34px 0 46px;
  }

  .hero-logo {
    width: 100px;
    height: 100px;
    margin-bottom: 18px;
  }

  .hero h1 {
    max-width: 340px;
    margin-top: 10px;
    font-size: 44px;
    line-height: 0.98;
  }

  .hero-copy {
    max-width: 350px;
    font-size: 19px;
    line-height: 1.43;
  }

  .primary-command {
    margin-top: 22px;
  }

  .section-heading {
    display: block;
    min-height: 230px;
    padding: 54px 0 38px;
  }

  .section-heading h2 {
    margin: 10px 0 24px;
    font-size: 48px;
  }

  .section-heading > p:last-child {
    max-width: 300px;
    font-size: 18px;
  }

  .part-heading {
    display: block;
    min-height: 142px;
    padding: 28px 0;
  }

  .part-heading h3 {
    margin: 6px 0 4px;
    font-size: 36px;
  }

  .part-heading > span {
    font-size: 16px;
  }

  .book-row {
    min-height: 154px;
    padding: 26px 16px;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 8px 14px;
  }

  .book-number {
    align-self: start;
    font-size: 23px;
  }

  .book-copy h4 {
    font-size: 25px;
  }

  .book-copy p {
    margin-top: 7px;
    font-size: 16px;
  }

  .book-action {
    grid-column: 2;
    justify-self: start;
    text-align: left;
  }

  .author-section {
    display: block;
    min-height: 0;
    padding: 78px 0;
  }

  .author-mark {
    width: 148px;
    margin: 0 0 48px;
    font-size: 72px;
  }

  .author-copy h2,
  .signup-copy h2 {
    font-size: 38px;
  }

  .author-copy > p:not(.section-kicker):not(.signature) {
    font-size: 19px;
  }

  .signup-section {
    padding: 72px 20px;
  }

  .signup-form {
    grid-template-columns: 1fr;
  }

  .signup-form button,
  .form-status {
    grid-column: 1;
  }

  .site-footer {
    display: flex;
    min-height: 260px;
    padding: 48px 20px;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    text-align: center;
  }

  .site-footer p:last-child {
    justify-self: auto;
  }

  .footer-mark {
    order: -1;
  }

  .message-inner h1 {
    font-size: 46px;
  }
}

/* Shared Libro reading system */
.book-page {
  min-width: 0;
  overflow-x: hidden;
  background: var(--paper);
}

.book-header {
  background: color-mix(in srgb, var(--paper) 94%, transparent);
}

.book-main {
  min-width: 0;
}

.book-context {
  display: flex;
  width: min(var(--reading), calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 0;
  align-items: center;
  justify-content: space-between;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
}

.book-context p,
.book-context span {
  margin: 0;
}

.book-context p {
  text-transform: uppercase;
}

.book-context span {
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

.book-article {
  width: min(var(--reading), calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 104px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.78;
}

.book-article > p,
.book-article .puertas-content > p {
  margin: 0 0 1.28em;
}

.book-article h1,
.book-article h2,
.book-article h3,
.book-article blockquote {
  color: var(--ink);
  font-family: var(--serif);
}

.book-article h1 {
  max-width: 14ch;
  margin: 0 0 34px;
  font-size: clamp(3.35rem, 7vw, 5rem);
  font-weight: 500;
  line-height: 0.98;
}

.book-article h2 {
  margin: 92px 0 28px;
  font-size: clamp(2.15rem, 5vw, 3.1rem);
  font-weight: 500;
  line-height: 1.08;
}

.book-article h3 {
  margin: 52px 0 18px;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.2;
}

.book-article strong {
  font-weight: 700;
}

.book-article a {
  text-decoration-color: color-mix(in srgb, var(--gold) 62%, transparent);
}

.book-article a:hover {
  text-decoration-color: var(--ink);
}

.book-article ol,
.book-article ul {
  margin: 28px 0;
  padding-left: 1.4em;
}

.book-article li {
  margin: 0 0 0.75em;
  padding-left: 0.35em;
}

.book-article blockquote {
  margin: 42px 0;
  padding: 4px 0 4px 26px;
  border-left: 3px solid var(--gold-light);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.38;
}

.book-article blockquote p {
  margin: 0;
}

.book-article hr {
  width: 74px;
  height: 3px;
  margin: 56px 0;
  border: 0;
  background: var(--gold-light);
}

.book-article figure {
  width: min(1040px, calc(100vw - 32px));
  margin: 58px 50%;
  transform: translateX(-50%);
  background: var(--paper-bright);
}

.book-article figure picture,
.book-article figure img {
  display: block;
  width: 100%;
}

.book-article figure img {
  height: auto;
  background: var(--paper-bright);
}

.book-article figcaption {
  width: min(var(--reading), calc(100vw - 40px));
  margin: 14px auto 0;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
}

.realidad-article h1 {
  margin-top: 84px;
}

.dinero-article > h1 + h2 {
  max-width: 28em;
  margin: -12px 0 28px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.35;
}

.puertas-article-header {
  margin-bottom: 28px;
}

.puertas-label,
.puertas-reading-time {
  display: none;
}

#fuentes-de-las-historias {
  font-size: 34px;
}

#fuentes-de-las-historias + ul {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}

.realidad-stadium {
  margin-top: 30px;
  margin-bottom: 42px;
}

.realidad-stadium-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--paper-bright);
}

.realidad-stadium-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.realidad-circle {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: clamp(2px, 0.35vw, 5px) solid #d31e25;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.88);
}

.realidad-circle--1 {
  --x: 85.07%;
  --y: 25.92%;
  --size: 6.4%;
}

.realidad-circle--2 {
  --x: 10.08%;
  --y: 46.68%;
  --size: 6.2%;
}

.realidad-circle--3 {
  --x: 82.99%;
  --y: 46.98%;
  --size: 6.5%;
}

.realidad-circle--4 {
  --x: 25.78%;
  --y: 57.24%;
  --size: 6.1%;
}

.realidad-circle--5 {
  --x: 56.8%;
  --y: 56.45%;
  --size: 6.5%;
}

.realidad-circle--6 {
  --x: 37.49%;
  --y: 69.09%;
  --size: 6.2%;
}

.realidad-figure--overhead {
  width: min(900px, calc(100vw - 32px));
}

.realidad-figure--table {
  width: min(940px, calc(100vw - 32px));
}

.realidad-evidence {
  display: grid;
  width: min(980px, calc(100vw - 32px));
  gap: 26px;
  padding: 12px 0;
}

.realidad-evidence-shot {
  position: relative;
  padding: 10px;
  border: 2px solid var(--ink);
  background: var(--paper-bright);
  box-shadow: 8px 8px 0 var(--gold-light);
}

.realidad-evidence-shot--sent {
  transform: rotate(-0.35deg);
}

.realidad-evidence-shot--received {
  transform: rotate(0.3deg);
}

.realidad-evidence-label {
  position: absolute;
  z-index: 1;
  top: -15px;
  left: 18px;
  padding: 4px 9px;
  border: 2px solid var(--ink);
  background: var(--gold-light);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.realidad-evidence-time {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--ink);
  font-size: 13px;
}

.realidad-evidence-time span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1;
}

.book-navigation {
  display: grid;
  width: var(--page);
  min-height: 190px;
  margin: 0 auto 100px;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--sans);
}

.book-navigation a {
  display: flex;
  min-width: 0;
  padding: 30px;
  justify-content: center;
  text-decoration: none;
}

.book-navigation-link {
  flex-direction: column;
  gap: 8px;
}

.book-navigation-link span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.book-navigation-link strong {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.15;
}

.book-navigation-previous {
  grid-column: 1;
  align-items: flex-start;
  border-right: 1px solid var(--line);
}

.book-navigation-next {
  grid-column: 3;
  align-items: flex-end;
  border-left: 1px solid var(--line);
  text-align: right;
}

.book-navigation-index {
  grid-column: 2;
  align-items: center;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
}

.book-navigation a:hover,
.book-navigation a:focus-visible {
  background: var(--paper-bright);
}

@media (max-width: 620px) {
  .book-context {
    width: calc(100% - 30px);
    padding-top: 30px;
  }

  .book-article {
    width: calc(100% - 30px);
    padding: 42px 0 76px;
    font-size: 16px;
    line-height: 1.72;
  }

  .book-article h1 {
    font-size: 3.15rem;
  }

  .book-article h2 {
    margin-top: 68px;
    font-size: 2.15rem;
  }

  .book-article h3 {
    font-size: 22px;
  }

  .book-article blockquote {
    padding-left: 18px;
    font-size: 24px;
  }

  .book-article figure {
    width: calc(100vw - 20px);
    margin-top: 42px;
    margin-bottom: 48px;
  }

  .book-article figcaption {
    width: calc(100vw - 30px);
  }

  .realidad-article h1 {
    margin-top: 60px;
  }

  .dinero-article > h1 + h2 {
    font-size: 20px;
  }

  .realidad-evidence {
    width: calc(100vw - 24px);
    gap: 22px;
  }

  .realidad-evidence-shot {
    padding: 5px;
    box-shadow: 5px 5px 0 var(--gold-light);
  }

  .realidad-evidence-shot--sent,
  .realidad-evidence-shot--received {
    transform: none;
  }

  .realidad-evidence-label {
    top: -13px;
    left: 10px;
    font-size: 9px;
  }

  .book-navigation {
    display: flex;
    width: calc(100% - 30px);
    min-height: 0;
    margin-bottom: 72px;
    flex-direction: column;
  }

  .book-navigation a {
    min-height: 96px;
    padding: 22px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    align-items: flex-start;
    text-align: left;
  }

  .book-navigation-previous {
    order: 1;
  }

  .book-navigation-next {
    order: 2;
    align-items: flex-start;
    text-align: left;
  }

  .book-navigation-index {
    order: 3;
    align-items: center;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .book-row-link:hover .book-arrow,
  .book-row-link:focus-visible .book-arrow {
    transform: none;
  }

  .progress {
    display: none;
  }
}
