@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/barlow-400.woff2) format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/barlow-700.woff2) format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/source-serif-4-400.woff2) format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/source-serif-4-600.woff2) format("woff2");
}
:root {
  --ink: #24262b;
  --red: #c8372d;
  --page: #f2f2f1;
  --paper: #f8f6f1;
  --muted: #676963;
  --line: #d9d8d2;
  font-family:
    "Barlow",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--page);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 0.25em;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
.button {
  cursor: pointer;
}
a,
button,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 48px;
  border: 0;
  background: var(--ink);
  color: white;
  padding: 13px 22px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 650;
  border-radius: 2px;
}
button:hover,
.button:hover {
  filter: brightness(1.12);
}
.red {
  background: var(--red);
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 100;
  background: white;
  padding: 15px;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px max(5vw, 20px);
  background: var(--ink);
  color: #fff;
  border-bottom: 1px solid #ffffff1a;
  gap: 24px;
}
.brand {
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}
.brand small {
  font-size: 11px;
  letter-spacing: 0.04em;
  margin-bottom: 5px;
  padding-left: 8px;
}
.brand strong {
  font-size: 26px;
  letter-spacing: -1.1px;
  line-height: 1.15;
  padding: 4px 8px 6px;
  background: var(--red);
}
.brand strong span {
  font-weight: 300;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  font-weight: 550;
}
.site-header nav a {
  text-decoration: none;
}
.nav-cta {
  border: 1px solid #ffffff4d;
  padding: 11px 18px;
}
.hero {
  background: var(--ink);
  color: white;
  padding: 65px max(8vw, 24px) 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
  overflow: hidden;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.6;
}
.hero .eyebrow {
  color: #c8c7c3;
}
.hero h1 {
  font-size: clamp(64px, 7.4vw, 112px);
  letter-spacing: -0.065em;
  line-height: 0.98;
  margin: 25px 0 30px;
  font-weight: 750;
}
.hero h1 span {
  color: var(--red);
}
.lede {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 21px;
  line-height: 1.65;
  max-width: 43ch;
}
.hero .lede {
  color: #d3d4d4;
}
.actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 32px 0 25px;
  flex-wrap: wrap;
}
.hero-note {
  font-size: 12px;
  color: #c3c4c5;
}
.hero-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 35px;
}
.edition {
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.23em;
  align-self: flex-end;
  color: #aeb0b4;
}
.ticket {
  background: #e9e5d8;
  color: var(--ink);
  padding: 25px 32px;
  transform: rotate(8deg);
  box-shadow: 15px 20px 0 #10121540;
  width: 260px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  border-top: 8px solid var(--red);
}
.ticket > span {
  font-size: 10px;
  letter-spacing: 0.12em;
}
.ticket > span:last-child {
  padding-top: 18px;
  border-top: 1px dashed #8e8b83;
}
.ticket strong {
  font-family: "Source Serif 4", Georgia, serif;
  font-style: italic;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.1;
}
.transit-line {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 30px 0 36px;
  margin: 10px 0 0;
  position: relative;
  gap: 20px;
}
.transit-line::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 11px;
  border-top: 4px solid var(--red);
}
.transit-line li {
  font-size: 11px;
  color: #ccc;
  position: relative;
  padding-top: 5px;
}
.transit-line li::before {
  content: "";
  position: absolute;
  top: -26px;
  left: 0;
  width: 13px;
  height: 13px;
  border: 3px solid var(--red);
  border-radius: 50%;
  background: var(--ink);
}
.catalogue {
  padding: 70px max(8vw, 24px) 80px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-end;
  margin-bottom: 45px;
}
.section-heading h2,
.join-panel h2 {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 400;
  font-size: clamp(30px, 3vw, 44px);
  letter-spacing: -0.04em;
  margin: 10px 0;
}
.section-heading > p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.series-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 75px;
  align-items: center;
  background: #e6e5df;
  padding: 45px 65px;
}
.book-cover {
  background: #1e3031;
  color: #f1e6ca;
  min-height: 360px;
  padding: 24px 28px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  box-shadow: 12px 12px 0 #b9b9ae;
  border-left: 7px solid #112324;
  transform: rotate(-3deg);
  transition: transform 0.2s;
}
.book-cover:hover {
  transform: rotate(0);
}
.book-cover > span {
  font-size: 10px;
  letter-spacing: 0.08em;
}
.cover-orbit {
  font-size: 100px;
  line-height: 1.4;
  text-align: center;
  color: #c7a562;
}
.book-cover > strong {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1.05;
}
.book-cover > small {
  font-size: 10px;
  letter-spacing: 0.08em;
  margin-top: 18px;
}
.series-copy h3 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 44px;
  font-weight: 400;
  margin: 16px 0;
  letter-spacing: -0.04em;
}
.story-description {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 20px;
  line-height: 1.7;
  max-width: 40ch;
  margin-bottom: 25px;
}
.muted {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}
.series-copy > .muted {
  margin-top: 22px;
}
.join-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding: 65px max(8vw, 24px);
  background: #e8e5dd;
  border-top: 1px solid var(--line);
}
.join-panel > div > p:not(.eyebrow):not(.muted) {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 21px;
  line-height: 1.7;
  max-width: 40ch;
}
.site-footer {
  padding: 30px max(5vw, 20px);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 11px;
  line-height: 1.6;
  background: var(--ink);
  color: #c3c4c6;
}
.content-page {
  max-width: 1100px;
  padding: 55px 28px;
  margin: auto;
}
.content-page h1,
.form-page h1 {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 400;
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: -0.04em;
  line-height: 1.12;
}
.series-intro {
  padding-bottom: 0;
}
.chapter-list h2 {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 400;
  font-size: 30px;
}
.chapter-row {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.chapter-number {
  font-size: 38px;
  color: var(--red);
  font-weight: 300;
}
.chapter-row h3 {
  margin: 0 0 8px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 23px;
  font-weight: 400;
}
.chapter-row > .button,
.chapter-row > .muted {
  margin-left: auto;
}
.form-page {
  max-width: 620px;
  min-height: 70vh;
  margin: auto;
  padding: 55px 28px 80px;
}
.form-page > p {
  line-height: 1.7;
}
.account-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 30px 0;
}
.account-form label {
  font-weight: 600;
  font-size: 14px;
}
.account-form input:not([type="checkbox"]),
.account-form select,
.account-form textarea {
  width: 100%;
  border: 1px solid #aaa;
  background: white;
  padding: 13px 14px;
  border-radius: 2px;
  min-height: 48px;
}
.account-form textarea {
  min-height: 220px;
  resize: vertical;
}
.account-form button {
  margin-top: 10px;
  align-self: flex-start;
}
.checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}
.checkbox input {
  width: 20px;
  height: 20px;
  accent-color: var(--red);
}
.validation-summary-errors {
  color: #a12c24;
  font-size: 14px;
  line-height: 1.7;
}
.validation-summary-valid {
  display: none;
}
.mail {
  padding: 25px 0;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.mail h2 {
  font-size: 20px;
}
.library {
  min-height: 70vh;
}
.library-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px;
  margin: 24px 0;
  max-width: 650px;
}
.library-card h2 {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 400;
}
.library-card progress {
  display: block;
  width: 100%;
  height: 5px;
  margin: 20px 0;
}
.reader-shell {
  --reader-bg: #e5e2db;
  --reader-paper: #f8f6f1;
  --reader-ink: #302e2a;
  --reader-muted: #69675f;
  --reading-size: 21px;
  background: var(--reader-bg);
  color: var(--reader-ink);
  padding-bottom: 60px;
  min-height: 100vh;
}
.reader-shell[data-theme="light"] {
  --reader-bg: #eceff1;
  --reader-paper: #fff;
  --reader-ink: #202329;
  --reader-muted: #62666b;
}
.reader-shell[data-theme="dark"] {
  --reader-bg: #17191c;
  --reader-paper: #24272b;
  --reader-ink: #e4e1da;
  --reader-muted: #b1b0aa;
}
.reader-toolbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px max(5vw, 16px);
  background: var(--reader-paper);
  border-bottom: 1px solid #8884;
  min-height: 65px;
}
.reader-toolbar > a {
  font-size: 13px;
  text-decoration: none;
}
.reading-options {
  display: flex;
  gap: 8px;
  align-items: center;
}
.reading-options button,
.reading-options select {
  background: transparent;
  border: 1px solid #8885;
  color: inherit;
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  font-size: 14px;
}
.reading-options select option {
  color: #24262b;
  background: #fff;
}
.reader-toolbar progress {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  border: 0;
  border-radius: 0;
}
.reader-status {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 20px 25px;
  color: var(--reader-muted);
  font-size: 12px;
  min-height: 70px;
}
.reader-status button {
  font-size: 12px;
  min-height: 40px;
  padding: 10px 14px;
}
.reading-paper {
  max-width: 820px;
  margin: 0 auto;
  background: var(--reader-paper);
  padding: 65px clamp(24px, 7vw, 100px);
  box-shadow: 0 3px 30px #0000000a;
}
.chapter-heading {
  text-align: center;
  padding: 20px 0 45px;
}
.chapter-heading .eyebrow {
  color: var(--reader-muted);
  font-size: 10px;
}
.chapter-numeral {
  font-size: 72px;
  color: var(--red);
  font-weight: 300;
  display: block;
  margin-top: 30px;
}
.chapter-heading h1 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin: 12px 0 20px;
}
.reader-shell .muted {
  color: var(--reader-muted);
}
.chapter-rule {
  margin-top: 35px;
  color: var(--red);
}
.chapter-text {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: var(--reading-size);
  line-height: 1.85;
  overflow-wrap: break-word;
  hyphens: auto;
}
.chapter-text > p {
  margin: 0 0 1.15em;
}
.chapter-text > p:first-child::first-letter {
  float: left;
  font-size: 3.1em;
  line-height: 1;
  padding: 0.09em 0.12em 0 0;
  color: var(--red);
}
.case-document {
  margin: 2em 0;
  padding: 1.2em;
  background: #e9e0ca;
  color: #302e2a;
  border-left: 3px solid #b39355;
  box-shadow: 2px 5px 12px #0000000d;
}
.case-document figcaption {
  font-family: "Barlow", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 11px;
  font-weight: 650;
  padding-bottom: 15px;
  border-bottom: 1px solid #a8956d;
}
.case-document p {
  white-space: pre-wrap;
  font-size: 0.85em;
  margin-bottom: 0;
}
.chapter-ending {
  text-align: center;
  border-top: 1px solid #8884;
  margin-top: 55px;
  padding-top: 45px;
  font-size: 14px;
  line-height: 1.7;
}
.chapter-ending > span {
  color: var(--red);
}
.chapter-ending h2 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 28px;
  font-weight: 400;
}
progress {
  accent-color: var(--red);
}
progress::-webkit-progress-bar {
  background: #b8b5ae55;
}
progress::-webkit-progress-value {
  background: var(--red);
}
progress::-moz-progress-bar {
  background: var(--red);
}
@media (min-width: 1500px) {
  .hero,
  .catalogue,
  .join-panel {
    padding-left: calc((100vw - 1220px) / 2);
    padding-right: calc((100vw - 1220px) / 2);
  }
}
@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 40px;
    gap: 20px;
  }
  .hero-aside {
    display: none;
  }
  .hero h1 {
    font-size: 76px;
  }
  .series-card {
    grid-template-columns: 210px 1fr;
    padding: 30px;
    gap: 35px;
  }
  .book-cover {
    min-height: 300px;
    padding: 20px;
  }
  .book-cover strong {
    font-size: 32px;
  }
  .cover-orbit {
    font-size: 75px;
  }
  .series-copy h3 {
    font-size: 32px;
  }
  .section-heading > p {
    display: none;
  }
  .join-panel {
    gap: 30px;
  }
  .site-footer {
    flex-direction: column;
    gap: 8px;
  }
  .reading-paper {
    box-shadow: none;
  }
  .reader-status {
    flex-wrap: wrap;
  }
  .chapter-row {
    flex-wrap: wrap;
  }
  .chapter-row > .button,
  .chapter-row > .muted {
    margin-left: 0;
  }
}
@media (max-width: 540px) {
  .site-header {
    padding: 18px 20px;
    gap: 12px;
  }
  .brand strong {
    font-size: 22px;
  }
  .site-header nav {
    gap: 14px;
    font-size: 11px;
  }
  .nav-cta {
    padding: 9px;
  }
  .hero h1 {
    font-size: 68px;
  }
  .lede {
    font-size: 19px;
  }
  .actions {
    gap: 18px;
  }
  .transit-line li {
    font-size: 10px;
    max-width: 80px;
  }
  .transit-line li:last-child {
    display: none;
  }
  .catalogue {
    padding-top: 45px;
    padding-bottom: 45px;
  }
  .section-heading {
    margin-bottom: 30px;
  }
  .series-card {
    grid-template-columns: 1fr;
    padding: 30px 24px;
    gap: 30px;
  }
  .book-cover {
    max-width: 230px;
    width: 100%;
    margin: auto;
  }
  .series-copy h3 {
    font-size: 36px;
  }
  .join-panel {
    grid-template-columns: 1fr;
    padding-top: 40px;
    padding-bottom: 40px;
    gap: 10px;
  }
  .join-panel h2 br {
    display: none;
  }
  .toolbar-series {
    display: none;
  }
  .reading-paper {
    padding: 35px 24px;
  }
  .reader-status {
    padding: 16px 20px;
  }
  .chapter-heading {
    padding-top: 5px;
  }
  .reader-shell {
    padding-bottom: 0;
  }
  .chapter-text {
    line-height: 1.8;
  }
  .form-page {
    padding-top: 35px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
  .book-cover {
    transform: none;
  }
}

.account-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 14px 0;
  margin: 24px 0;
  border-block: 1px solid var(--line);
  font-size: 14px;
}
.account-nav a {
  padding: 8px 0;
}
.account-nav [aria-current="page"] {
  font-weight: 700;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
}
.status-message {
  border-left: 3px solid #527662;
  background: #e4ede5;
  color: #233f30;
  padding: 14px 18px;
  line-height: 1.6;
}
.preference-section {
  padding: 22px 0 30px;
  border-bottom: 1px solid var(--line);
}
.preference-section h2 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 26px;
  font-weight: 400;
}
.preference-section p {
  line-height: 1.7;
}
.preference-checkbox {
  align-items: flex-start;
  font-weight: 400 !important;
  line-height: 1.7;
}
.preference-checkbox input {
  flex: 0 0 20px;
  margin-top: 4px;
}
.preference-state {
  display: inline-block;
  background: #e6e5df;
  padding: 4px 12px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 700;
}

.reader-shell[data-spacing="compact"] .chapter-text { line-height: 1.6; }
.reader-shell[data-spacing="spacious"] .chapter-text { line-height: 2.15; }
.reader-shell[data-width="narrow"] .reading-paper { max-width: 700px; }
.reader-shell[data-width="wide"] .reading-paper { max-width: 960px; }
.reader-adjustments { position: relative; }
.reader-adjustments summary {
  cursor: pointer;
  min-height: 44px;
  padding: 10px;
  border: 1px solid #8885;
  font-size: 14px;
}
.reader-adjustments summary:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.reader-adjustments > div {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(260px, 85vw);
  padding: 16px;
  background: var(--reader-paper);
  border: 1px solid #8885;
  box-shadow: 0 6px 18px #0002;
  display: grid;
  gap: 8px;
}
.reading-options button:disabled { opacity: .45; cursor: default; }
.chapter-navigation { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.chapter-ending a { display: inline-block; padding: 10px 4px; }
.chapter-ending .button { padding: 12px 20px; white-space: normal; }
@media (max-width: 380px) {
  .reader-toolbar { padding-inline: 10px; gap: 6px; }
  .reading-options { gap: 4px; }
}

.document-paragraph { white-space: pre-wrap; overflow-wrap: anywhere; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px; }

/* Signup: visible requirements, a quiet card and progressive enhancement. */
.signup-intro h1 { font-size: clamp(2.2rem, 7vw, 3.2rem); line-height: 1.12; margin: 16px 0; }
.signup-intro > p { line-height: 1.65; }
.signup-note { color: var(--muted); font-size: .9rem; line-height: 1.6; }
.signup-card { background: var(--paper, #f8f6f1); border: 1px solid var(--line); padding: clamp(18px, 5vw, 32px); margin-top: 28px; border-radius: 8px; }
.signup-card h2 { font-size: 1.5rem; margin: 0; }
.signup-form { margin: 24px 0 0; gap: 22px; }
.signup-field { display: grid; gap: 9px; min-width: 0; }
.signup-field p { margin: 0; font-size: .875rem; line-height: 1.5; }
.password-input { position: relative; }
.password-input:has(.password-toggle:not([hidden])) input { padding-right: 76px; }
.account-form .password-toggle { position: absolute; right: 3px; top: 3px; min-height: 42px; margin: 0; padding: 8px 12px; background: transparent; color: var(--ink, #24262b); border: 0; font-size: .875rem; text-transform: none; letter-spacing: normal; }
.password-toggle[hidden] { display: none; }
.password-rules { list-style: none; padding: 0; margin: 2px 0; font-size: .875rem; line-height: 1.5; display: grid; gap: 6px; }
.password-rules li { display: flex; gap: 9px; align-items: baseline; }
.rule-mark { flex: 0 0 16px; }
.password-rules .is-met { color: #226043; }
.field-error { color: #a12c24; font-size: .875rem; line-height: 1.5; }
.field-validation-valid { display: none; }
.input-validation-error { border-color: #a12c24 !important; }
.signup-form .signup-privacy { margin: 0; font-size: .8rem; line-height: 1.7; }
.signup-form > button { align-self: stretch; margin-top: 0; }
.signup-form > .signup-note { margin: -8px 0 0; text-align: center; }
.signup-signin { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.privacy-page { max-width: 800px; }
.privacy-page p { line-height: 1.75; }
.privacy-page h2 { font-size: 1.45rem; line-height: 1.3; margin: 2.25rem 0 .75rem; scroll-margin-top: 24px; }
.privacy-lead { font-size: 1.15rem; }
.privacy-contents { display: flex; flex-wrap: wrap; gap: 12px 20px; border-block: 1px solid var(--line); padding: 20px 0; margin: 28px 0; }
.privacy-page a { overflow-wrap: anywhere; }

/* Reader access and bilingual editions */
.access-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem}.access-options h3{font-size:1.4rem}.edition-switch{display:flex;gap:1rem;justify-content:center;margin:1.5rem 0}.edition-switch [aria-current="page"]{font-weight:700;text-decoration-thickness:3px}@media(max-width:650px){.access-options{grid-template-columns:1fr}.case-document{margin-inline:0}}

/* Reading access: the same editorial rhythm as the story catalogue. */
.reading-concept { padding: 60px max(8vw, 24px); border-top: 1px solid var(--line); }
.reading-concept-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:28px; margin-bottom:32px; }
.reading-concept-heading h2 { font-family:"Source Serif 4",Georgia,serif; font-size:clamp(34px,3.7vw,52px); font-weight:400; letter-spacing:-.045em; line-height:1.08; margin:12px 0 0; }
.reading-concept-heading > p { font-size:17px; line-height:1.6; margin:0; }
.reading-concept .access-options { gap:16px; }
.access-card { display:flex; flex-direction:column; padding:28px; background:#f8f6f1; border:1px solid var(--line); min-width:0; }
.access-card .access-stage { display:flex; align-items:center; gap:12px; margin:0 0 28px; font-size:12px; font-weight:700; letter-spacing:.035em; }
.access-stage span { display:grid; place-items:center; flex:0 0 30px; height:30px; border:1px solid currentColor; border-radius:50%; font-size:12px; color:var(--red); }
.access-card h3 { font-family:"Source Serif 4",Georgia,serif; font-size:clamp(25px,2.2vw,32px); font-weight:400; letter-spacing:-.035em; line-height:1.15; margin:0 0 16px; }
.access-card > p:not(.access-stage) { font-size:16px; line-height:1.6; margin:0 0 24px; }
.access-card > a { display:flex; justify-content:space-between; align-items:center; gap:12px; min-height:48px; padding-top:16px; margin-top:auto; border-top:1px solid var(--line); text-decoration:none; font-size:15px; font-weight:700; }
.access-card > a:hover { text-decoration:underline; }
.access-card-featured { background:var(--ink); color:#f8f6f1; border-color:var(--ink); }
.access-card-featured .access-stage span { color:#f8f6f1; }
.access-card-featured > a { border-color:#55565a; }
.reading-concept-footer { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px 32px; padding-top:24px; }
.reading-details { display:inline-flex; align-items:center; gap:16px; min-height:44px; font-size:15px; }
@media (max-width:900px) {
  .reading-concept .access-options { grid-template-columns:1fr; }
  .access-card { padding:24px; }
  .access-card .access-stage { margin-bottom:18px; }
  .access-card h3 br { display:none; }
  .reading-concept-heading { align-items:flex-start; flex-direction:column; gap:20px; }
}
@media (max-width:520px) {
  .reading-concept { padding-top:36px; padding-bottom:36px; }
  .reading-concept-heading { margin-bottom:24px; }
  .reading-concept-footer { align-items:flex-start; flex-direction:column; gap:20px; }
}

/* Paged reading is progressive enhancement; the unenhanced chapter remains scrollable. */
.reader-page-controls[hidden], .chapter-ending[hidden] { display:none; }
.reader-page-controls { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px 0; font-size:13px; color:var(--reader-muted); }
.reader-page-controls button { min-height:44px; padding:8px 14px; gap:8px; border:1px solid #8885; background:transparent; color:var(--reader-ink); font-size:14px; }
.reader-page-controls button:disabled { opacity:.35; cursor:default; }
.reader-shell[data-layout="pages"] .reading-paper { padding:24px clamp(20px,5vw,64px); }
.reader-shell[data-layout="pages"] .chapter-heading { padding:0 0 24px; }
.reader-shell[data-layout="pages"] .chapter-heading h1 { font-size:clamp(28px,3vw,38px); margin:8px 0; }
.reader-shell[data-layout="pages"] .chapter-numeral, .reader-shell[data-layout="pages"] .chapter-rule { display:none; }
.reader-shell[data-layout="pages"] .chapter-heading .edition-switch { margin:12px 0 0; }
.reader-shell[data-layout="pages"] .reader-page-viewport { overflow-x:auto; overflow-y:hidden; scrollbar-width:none; overscroll-behavior-x:contain; scroll-behavior:auto; }
.reader-shell[data-layout="pages"] .reader-page-viewport::-webkit-scrollbar { display:none; }
.reader-shell[data-layout="pages"] .chapter-text { height:var(--page-height); column-fill:auto; column-gap:48px; }
.reader-shell[data-layout="pages"] .chapter-text > p { orphans:2; widows:2; }
.reader-shell[data-layout="pages"] .chapter-text > p:first-child::first-letter { float:none; font-size:inherit; padding:0; }
.reader-shell[data-layout="pages"] .case-document { break-inside:avoid; margin:0 0 1em; padding:16px; }
@media(prefers-reduced-motion:reduce) { .reader-page-viewport { scroll-behavior:auto; } }

.site-header nav { font-size:16px; gap:30px; font-weight:600; }
.site-header nav a { display:inline-flex; align-items:center; min-height:44px; }
.site-header nav a:hover { text-decoration:underline; }
.menu-toggle, .menu-toggle[hidden] { display:none; }
@media(max-width:760px) {
  .site-header { flex-wrap:wrap; gap:16px; padding:20px; }
  .site-header nav { width:100%; flex-wrap:wrap; gap:8px 24px; font-size:17px; }
  .site-header.navigation-ready .menu-toggle { display:inline-flex; align-items:center; gap:10px; min-height:48px; padding:10px 12px; background:transparent; color:white; border:1px solid #ffffff70; font-size:15px; }
  .menu-icon { display:flex; flex-direction:column; gap:5px; width:20px; }
  .menu-icon > span { height:2px; background:currentColor; width:20px; }
  .menu-open .menu-icon > span:first-child { transform:translateY(7px) rotate(45deg); }
  .menu-open .menu-icon > span:nth-child(2) { opacity:0; }
  .menu-open .menu-icon > span:last-child { transform:translateY(-7px) rotate(-45deg); }
  .site-header.navigation-ready nav { display:none; }
  .site-header.navigation-ready.menu-open nav { display:flex; flex-direction:column; align-items:stretch; gap:4px; border-top:1px solid #ffffff40; padding-top:12px; }
  .site-header.navigation-ready nav a { padding:12px; min-height:48px; }
}

.footer-share { position:relative; align-self:center; }
.share-icon { width:44px; min-height:44px; padding:10px; background:transparent; color:inherit; border:0; }
.share-icon:hover { color:white; background:#ffffff12; }
.footer-share [hidden] { display:none; }
.share-manual { position:absolute; bottom:48px; right:0; width:min(280px,80vw); padding:16px; background:var(--ink); color:white; border:1px solid #ffffff60; font-size:13px; }
.share-manual input { display:block; width:100%; margin-top:8px; padding:8px; }


.document-open { display:inline-flex; align-items:center; min-height:44px; padding:8px 14px; border:1px solid currentColor; font-size:16px; font-weight:600; text-decoration:none; }
.document-viewer { width:min(900px,calc(100vw - 48px)); height:90dvh; max-width:none; max-height:none; padding:0; border:0; background:#e5e2db; color:#25272a; overflow:hidden; }
.document-viewer[open] { display:flex; flex-direction:column; }
.document-viewer::backdrop { background:rgb(0 0 0 / .65); }
.document-viewer > header { display:flex; flex-shrink:0; align-items:center; justify-content:space-between; gap:16px; padding:12px 16px; background:#faf9f6; border-bottom:1px solid #ccc; }
.document-viewer h2 { font:600 16px/1.35 var(--font-sans,sans-serif); margin:0; }
.document-viewer button { flex-shrink:0; min-height:44px; padding:8px 14px; }
.document-viewer iframe { display:block; flex:1; min-height:0; width:100%; border:0; }
@media(max-width:760px) {
 .document-viewer { width:100%; height:100dvh; margin:0; }
 .document-viewer > header { padding:8px 12px; padding-top:max(8px,env(safe-area-inset-top)); }
}

.author-invitation { padding:72px max(24px,calc((100% - 1200px)/2)); display:grid; grid-template-columns:1fr 1fr; gap:48px; border-top:1px solid #d4d1c9; }
.author-invitation h2 { font-size:clamp(32px,4vw,48px); line-height:1.1; margin:12px 0; }
.author-invitation p { max-width:48ch; }
.author-invitation .actions,.authors-page .actions { flex-wrap:wrap; gap:20px; }
.author-process { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin:40px 0; }
.author-process article { border-top:2px solid #d93831; padding-top:20px; }
.author-process h3 { font-size:24px; }
.author-studio-entry { margin-top:48px; padding:28px; background:#e7e5dd; scroll-margin-top:100px; }
@media(max-width:760px) { .author-invitation,.author-process { grid-template-columns:1fr; gap:24px; } .author-invitation { padding:40px 24px; } .author-studio-entry { padding:20px; } }

/* Scoped administration workspace; public reading and account pages keep their layouts. */
.backoffice { background:#f3f4f6; color:#24272d; }
.workspace-topbar { min-height:68px; display:flex; align-items:center; gap:24px; padding:12px 28px; background:#24272d; color:#fff; }
.workspace-topbar a { color:inherit; font-size:14px; text-decoration:none; }
.workspace-topbar .workspace-brand { margin-right:auto; font-size:21px; font-weight:700; }
.workspace-brand span { font-weight:400; font-size:14px; margin-left:12px; color:#c6c9cf; }
.workspace-shell { display:grid; grid-template-columns:240px minmax(0,1fr); min-height:calc(100vh - 68px); }
.workspace-sidebar { background:#fff; padding:30px 20px; border-right:1px solid #dfe2e6; }
.workspace-sidebar nav { display:grid; gap:5px; }
.workspace-sidebar nav a { padding:11px 12px; border-radius:5px; text-decoration:none; font-size:15px; }
.workspace-sidebar nav a:hover { background:#f1f2f4; }
.workspace-sidebar nav a[aria-current="page"] { background:#fbe9e6; color:#a72e27; font-weight:700; }
.workspace-nav-label { margin:24px 12px 6px; color:#626873; font-size:12px; text-transform:uppercase; letter-spacing:.08em; }
.workspace-identity { border-top:1px solid #dfe2e6; margin-top:36px; padding-top:20px; display:grid; gap:8px; font-size:13px; overflow-wrap:anywhere; }
.workspace-main { padding:36px clamp(20px,3vw,48px) 80px; min-width:0; width:100%; max-width:1800px; }
.workspace-main h1 { font:700 clamp(28px,3vw,38px)/1.2 "Barlow",sans-serif; letter-spacing:-.03em; margin:8px 0 16px; }
.workspace-main h2 { font:700 24px/1.3 "Barlow",sans-serif; margin:8px 0 18px; }
.workspace-main h3 { font-size:19px; margin:0 0 8px; }
.workspace-intro { color:#626873; margin-bottom:28px; }
.stat-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:16px; margin:28px 0 36px; }
.stat-grid article,.workspace-panel { background:white; border:1px solid #dfe2e6; border-radius:8px; padding:24px; }
.stat-grid article { display:flex; flex-direction:column; gap:10px; }
.stat-grid strong { font-size:36px; line-height:1; }
.stat-grid small,.stat-grid a { font-size:13px; color:#626873; }
.workspace-panel { margin:24px 0; }
.workspace-panel summary { font-weight:700; cursor:pointer; }
.workspace-section-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; margin:20px 0; scroll-margin-top:20px; }
.table-scroll { overflow-x:auto; }
.admin-table { width:100%; border-collapse:collapse; font-size:15px; text-align:left; }
.admin-table caption { text-align:left; font-weight:700; font-size:18px; margin-bottom:20px; }
.admin-table th,.admin-table td { padding:15px 14px; border-bottom:1px solid #e4e6ea; vertical-align:top; }
.admin-table thead th { font-size:12px; text-transform:uppercase; letter-spacing:.06em; color:#626873; background:#f7f8fa; }
.admin-table tbody tr:hover { background:#fafbfc; }
.status-badge { display:inline-block; padding:4px 9px; border-radius:4px; background:#eef1f4; font-size:12px; white-space:nowrap; }
.workspace-main .account-form { max-width:100%; }
.workspace-main .account-form textarea { min-height:110px; }
.workspace-main fieldset { border:1px solid #dfe2e6; padding:24px; border-radius:6px; background:#fff; display:grid; gap:12px; margin-bottom:16px; min-width:0; }
.workspace-main .account-form input,.workspace-main .account-form select,.workspace-main .account-form textarea { border-color:#b9c0c9; border-radius:5px; }
.workspace-main .account-form button,.workspace-main .button { border-radius:5px; font-size:14px; min-height:42px; padding:10px 16px; }
.workspace-main .admin-search { display:grid; grid-template-columns:minmax(0,450px) auto; align-items:end; justify-content:start; }
.admin-search label { grid-column:1 / -1; }
.workspace-main .admin-search button { margin:0; }
.workspace-main .mail { background:#fff; border:1px solid #dfe2e6; border-radius:8px; padding:24px; }
.workspace-main [role="status"] { padding:12px 16px; background:#e6f2ea; border-radius:5px; }
.cms-grid { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr); gap:28px; align-items:start; }
.cms-section { background:#fff; border:1px solid #dfe2e6; border-radius:8px; padding:20px; margin:0 0 14px; }
.cms-section summary { font-size:18px; font-weight:700; cursor:pointer; padding:4px 0; }
.cms-fields { display:grid; gap:12px; margin-top:20px; }
.cms-preview { position:sticky; top:24px; padding:24px; background:#e9e7df; border:1px solid #d2d0c8; border-radius:8px; }
.cms-preview h2 { font-family:"Source Serif 4",serif; font-size:32px; white-space:pre-line; }
.cms-preview p { white-space:pre-line; }
.cms-preview-section { border-top:1px solid #ccc8bd; margin-top:24px; padding-top:20px; }
.cms-actions { position:sticky; bottom:0; display:flex; gap:12px; flex-wrap:wrap; padding:16px; background:#fff; border:1px solid #dfe2e6; border-radius:6px; z-index:2; }
.workspace-main .cms-actions button { margin:0; }
@media(max-width:1000px) { .workspace-shell { grid-template-columns:200px minmax(0,1fr); } .cms-grid { grid-template-columns:1fr; } .cms-preview { position:static; } }
@media(max-width:700px) { .workspace-shell { display:block; } .workspace-sidebar { padding:16px; border-bottom:1px solid #dfe2e6; } .workspace-sidebar nav { display:flex; flex-wrap:wrap; gap:4px; } .workspace-sidebar nav a { font-size:14px; padding:8px; } .workspace-nav-label,.workspace-identity { display:none; } .workspace-main { padding:24px 16px 48px; } .workspace-topbar { gap:14px; padding:16px; flex-wrap:wrap; } .workspace-brand span { display:none; } .workspace-panel { padding:16px; } .workspace-section-heading { align-items:flex-start; flex-wrap:wrap; } .stat-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; } .stat-grid article { padding:16px; } .admin-table { min-width:560px; } }
.cms-copy { white-space:pre-line; }

.site-footer { display:block; padding:36px 28px 20px; }
.footer-inner { width:100%; max-width:1200px; margin:0 auto; display:grid; grid-template-columns:minmax(220px,1fr) auto; gap:24px 48px; }
.footer-brand > a { display:inline-flex; gap:10px; align-items:baseline; color:#fff; font-size:22px; font-weight:700; text-decoration:none; }
.footer-brand > a span { font-size:12px; font-weight:400; color:#bfc0c3; }
.footer-brand p { font-size:14px; margin:8px 0 0; color:#bfc0c3; }
.footer-navigation { display:grid; gap:12px; align-content:start; }
.site-footer .footer-navigation nav { display:flex; flex-wrap:wrap; justify-content:flex-start; gap:8px 20px; font-size:14px; }
.site-footer .footer-navigation a { min-height:28px; display:inline-flex; align-items:center; }
.footer-bottom { grid-column:1 / -1; display:flex; align-items:center; gap:16px; border-top:1px solid #47494c; padding-top:12px; }
.footer-bottom small { font-size:12px; color:#bfc0c3; }
.footer-bottom .footer-share { margin-left:auto; flex:0 0 36px; min-height:36px; }
@media(max-width:700px) { .site-footer { padding:28px 24px 16px; } .footer-inner { grid-template-columns:1fr; gap:22px; } .footer-bottom { grid-column:1; } }

.form-page.billing-page { max-width:1120px; }
.billing-heading { max-width:700px; margin-bottom:28px; }
.billing-heading h1 { font-size:clamp(36px,5vw,58px); line-height:1.08; }
.billing-heading > p:last-child { color:#5d6064; line-height:1.7; }
.billing-test,.billing-notice { background:#eeeae0; border-left:3px solid #9b7734; padding:16px 20px; margin:20px 0; font-size:15px; }
.billing-test p { margin:6px 0; }
.billing-test summary { cursor:pointer; font-size:14px; margin-top:8px; text-decoration:underline; }
.billing-current { display:flex; justify-content:space-between; align-items:center; gap:28px; padding:28px; margin:28px 0; background:#e7eade; border:1px solid #ccd2bd; border-radius:8px; }
.billing-current h2 { font-size:26px; margin:8px 0; }
.billing-current p { max-width:65ch; line-height:1.6; }
.billing-current-actions { display:grid; flex-shrink:0; gap:10px; }
.billing-current-actions form { margin:0; }
.billing-manage { background:transparent; color:#30332c; padding:8px 0; text-decoration:underline; font-size:14px; }
.billing-plans { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin:28px 0; }
.billing-plan { display:flex; flex-direction:column; padding:32px; border:1px solid #d0cfc8; border-radius:10px; background:#faf9f6; }
.billing-plan-featured { border-top:4px solid #d93831; padding-top:29px; }
.billing-plan h2 { font:600 36px/1.2 "Source Serif 4",serif; margin:8px 0 20px; }
.billing-price { font-size:42px; font-weight:700; margin:0; }
.billing-price span { font-size:17px; font-weight:400; color:#5d6064; }
.billing-tax { color:#5d6064; font-size:14px; margin:5px 0 20px; }
.billing-plan ul { padding-left:20px; margin:8px 0 20px; line-height:1.6; }
.billing-plan li { margin:10px 0; padding-left:4px; }
.billing-plan > form,.billing-plan > .button,.billing-owned { margin-top:auto; }
.billing-plan button,.billing-plan > .button { width:100%; text-align:center; border-radius:4px; }
.billing-fine,.billing-help,.billing-register { font-size:14px; line-height:1.6; color:#5d6064; }
.billing-fine { margin-bottom:24px; }
.billing-book-form { display:grid; gap:10px; }
.billing-book-form label { font-size:14px; font-weight:600; }
.billing-book-form select { width:100%; min-height:48px; padding:10px; border:1px solid #aaa; background:white; }
.billing-history { border-top:1px solid #d0cfc8; padding:24px 0; margin:30px 0 10px; }
.billing-history summary { font-weight:600; cursor:pointer; margin-bottom:16px; }
.billing-help { margin-top:28px; }
.form-page.checkout-result-page { max-width:760px; }
.checkout-result { text-align:center; padding:32px 16px; }
.checkout-result h1 { font-size:clamp(36px,5vw,54px); line-height:1.12; }
.checkout-result > p { line-height:1.7; max-width:54ch; margin:20px auto; }
.checkout-symbol { display:grid; place-items:center; width:72px; height:72px; border-radius:50%; background:#e4e9d9; color:#3c5234; font-size:36px; margin:12px auto 24px; }
.billing-test-label { font-size:13px; font-weight:600; color:#79602d; }
@media(max-width:700px) { .billing-plans { grid-template-columns:1fr; } .billing-plan { padding:24px; } .billing-current { display:block; padding:22px; } .billing-current-actions { margin-top:20px; } .billing-heading h1 { font-size:38px; } }

/* Full book copy stays readable; catalogue cards use a concise excerpt. */
.book-synopsis { max-width: 70ch; margin: 1.75rem 0 2rem; font-size: 1.1rem; line-height: 1.75; }
.book-synopsis p + p { margin-top: 1.2em; }
.series-intro h1 { max-width: 18ch; text-wrap: balance; }
.series-copy h3, .book-cover strong { overflow-wrap: anywhere; text-wrap: balance; }

.reading-shelf { max-width: 1120px; }
.shelf-series { margin-top: 3rem; }
.shelf-series-heading h2 { font: 400 clamp(1.7rem, 3vw, 2.5rem)/1.15 "Source Serif 4", Georgia, serif; margin: .5rem 0; }
.shelf-book { margin: 1.5rem 0; border: 1px solid var(--line); border-radius: 12px; background: #faf9f6; overflow: hidden; }
.shelf-book-heading { display: flex; justify-content: space-between; gap: 2rem; padding: 1.75rem; }
.shelf-book-heading h3 { font: 400 clamp(1.5rem, 2.6vw, 2rem)/1.2 "Source Serif 4", Georgia, serif; margin: .5rem 0 1rem; }
.shelf-book-heading h3 a { text-decoration: none; }
.shelf-book-actions { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1rem; flex-shrink: 0; }
.shelf-chapters { padding: 0 1.75rem; }
.shelf-chapter { display: grid; grid-template-columns: minmax(0, 1fr) 160px auto; gap: 1.5rem; align-items: center; padding: 1.2rem 0; border-top: 1px solid var(--line); }
.shelf-chapter-title { display: flex; gap: 1rem; align-items: center; min-width: 0; }
.shelf-chapter h4 { margin: 0 0 .3rem; font-size: 1rem; overflow-wrap: anywhere; }
.shelf-chapter-progress { font-size: .8rem; }
.shelf-chapter progress { display: block; width: 100%; height: 6px; accent-color: var(--red); margin-top: .5rem; }
.shelf-book-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding: 1rem 1.75rem; }
.shelf-unfollow { color: var(--muted); background: transparent; border: 0; padding: .5rem 0; text-decoration: underline; min-height: 44px; }
.shelf-empty { padding: 0 1.75rem 1rem; }
.shelf-explore { margin: 2rem 0; }
@media (max-width: 650px) {
  .shelf-book-heading { flex-direction: column; gap: 1rem; padding: 1.25rem; }
  .shelf-book-actions { width: 100%; }
  .shelf-chapters { padding: 0 1.25rem; }
  .shelf-chapter { grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; }
  .shelf-chapter-title { grid-column: 1 / -1; }
  .shelf-book-footer { padding: .75rem 1.25rem; }
}
