.reader-preview {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 112px);
  max-width: 1260px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 90px;
  padding: 70px 0;
  z-index: 3;
  scroll-margin-top: 180px;
  isolation: isolate;
  color: #fff0d6;
}
.reader-preview::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
.reader-intro h2 {
  font:
    600 clamp(36px, 3.8vw, 56px) / 1.08 "Cormorant Garamond",
    Georgia,
    serif;
  margin: 0 0 26px;
  text-wrap: balance;
  max-width: 520px;
}
.reader-dek {
  font:
    400 18px / 1.8 "Plus Jakarta Sans",
    sans-serif;
  color: #ede5d7;
  margin: 0 0 38px;
  max-width: 540px;
}
.reader-process {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0;
  margin: 0 0 38px;
}
.reader-process li {
  position: relative;
  border-top: 1px solid #d1b57b70;
  padding-top: 18px;
}
.reader-process li:not(:last-child)::after {
  content: "›";
  position: absolute;
  right: -16px;
  top: 12px;
  color: #c4a574;
  font-size: 24px;
}
.reader-process span {
  font:
    500 16px / 1 Georgia,
    serif;
  color: #d7b677;
}
.reader-process h3 {
  font:
    700 16px / 1.4 "Plus Jakarta Sans",
    sans-serif;
  margin: 12px 0 8px;
  color: #fff0d6;
}
.reader-process p {
  font:
    400 15px / 1.6 "Plus Jakarta Sans",
    sans-serif;
  margin: 0;
  color: #ddd6ca;
}
.reader-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font:
    900 15px / 1.2 "Plus Jakarta Sans",
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  transition: filter 0.2s;
}
@media (max-width: 800px) {
  .reader-preview {
    width: calc(100% - 48px);
    gap: 32px;
    grid-template-columns: 1fr;
    padding: 30px 0;
  }
  .reader-dek {
    font-size: 17px;
  }
  .reader-process {
    gap: 18px;
  }
}

/* Feather the reading scrim to zero on every edge. */
.reader-open {
  isolation: isolate;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-family: "Arial Black", Arial, sans-serif;
  font-weight: 900;
  font-size: 17px;
  line-height: 1.15;
  cursor: pointer;
}
.reader-open::before {
  content: "";
  position: absolute;
  z-index: -1;
  box-sizing: border-box;
  border-width: 0 35px;
  border-image-source: url(lorbo-bronze-frame.webp);
  border-image-slice: 0 16.4355% fill;
  border-image-width: 0 35px;
  border-image-repeat: stretch;
  pointer-events: none;
}
.reader-open svg {
  width: 18px;
  height: 18px;
  flex: none;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* The painted spine sits 8% into the cover image: anchor it to the viewport center. */
@media (min-width: 801px) {
  .reader-preview {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
  }
  .reader-intro {
    padding-right: 88px;
  }
}
.reader-preview.reader-pending .reader-intro {
  opacity: 0;
  translate: 0 32px;
}
.reader-preview.reader-pending::before {
  opacity: 0;
}
.reader-preview.reader-entered .reader-intro {
  animation: reader-arrive 850ms var(--lorbo-ease-settle) both;
}
.reader-preview.reader-entered::before {
  animation: reader-scrim 900ms ease both;
}
@keyframes reader-scrim {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reader-preview.reader-entered .reader-intro,
  .reader-preview.reader-entered::before {
    animation: none;
  }
}

/* Match the parchment's sticky clearance and 140px scroll allowance. */
.reader-track {
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
}
.reader-track .reader-preview {
  position: sticky;
  left: auto;
  transform: none;
  pointer-events: auto;
}

/* The section ribbon bridges the two columns and overlaps the book slightly. */
@media (max-width: 700px) {
  .reader-preview {
    padding-top: 100px;
  }
}

/* Ribbon-free reading layout, with text inside the two painted page surfaces. */
.reader-preview {
  padding-top: 40px;
  align-items: center;
}
@media (max-width: 800px) {
  .reader-preview {
    padding-top: 30px;
  }
}

/* The selected rustic writing desk matches the parchment footprint. */
.reader-track .reader-preview {
  width: min(1160px, calc(100% - 48px));
  max-width: none;
  margin: 0 0 0 24px;
  padding: 112px 56px 72px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
}
.reader-preview::before {
  inset: -16px;
  background: url(lorbo-writing-desk-rustic-planks-v1.webp) center / 104% 119% no-repeat;
  filter: drop-shadow(0 20px 26px #07151266);
}
.reader-intro {
  padding-right: 36px;
  max-width: none;
  text-shadow: 0 1px 3px #201109;
}
.reader-intro h2 {
  font-size: 42px;
  line-height: 1.08;
  margin-bottom: 22px;
}
.reader-dek {
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 28px;
}
.reader-process {
  gap: 18px;
  margin-bottom: 28px;
}
.reader-process h3 {
  font-size: 14px;
}
.reader-process p {
  font-size: 13px;
}
.reader-preview > .reader-desk-ribbon {
  bottom: auto;
  z-index: 5;
}
.reader-preview > .reader-desk-ribbon h2 {
  margin: 0;
}
@media (max-width: 1000px) {
  .reader-track .reader-preview {
    width: min(960px, calc(100% - 48px));
  }
  .reader-intro h2 {
    font-size: 36px;
  }
}
@media (max-width: 800px) {
  .reader-track .reader-preview {
    display: block;
    padding: 76px 28px 44px;
  }
  .reader-intro {
    padding: 0;
  }
}

/* Center the desk as a single composition. */
.reader-track .reader-preview {
  margin-inline: auto;
}

/* Use the full centered content stage for the writing desk and larger spread. */
@media (min-width: 1001px) {
  .reader-track .reader-preview {
    width: calc(100% - 48px);
    max-width: none;
    padding-left: 64px;
    padding-right: 64px;
  }
  .reader-intro {
    padding-right: 56px;
  }
  .reader-intro h2 {
    font-size: 46px;
  }
  .reader-dek {
    font-size: 18px;
  }
  .reader-process h3 {
    font-size: 16px;
  }
  .reader-process p {
    font-size: 15px;
  }
}
/* A loose painted sheet gives the introduction a quieter writing surface. */
.reader-preview > .reader-desk-ribbon {
  top: -52px;
}
.reader-preview .reader-intro {
  position: relative;
  isolation: isolate;
  margin: 0 24px 0 28px;
  color: #30251d;
  text-shadow: none;
  align-self: start;
}
.reader-intro::before {
  content: "";
  position: absolute;
  inset: -12px -14px;
  z-index: -1;
  background: none;
  filter: drop-shadow(0 5px 7px #170f0950);
  pointer-events: none;
}
.reader-preview .reader-intro h2 {
  font-size: 38px;
  line-height: 1.08;
  margin: 0 0 24px;
  color: #30251d;
}
.reader-preview .reader-dek {
  font-size: 16px;
  line-height: 1.65;
  color: #44372b;
  margin-bottom: 28px;
}
.reader-preview .reader-process li {
  border-color: #6e594a55;
}
.reader-preview .reader-process h3 {
  color: #30251d;
}
.reader-preview .reader-process p {
  color: #44372b;
}
.reader-preview .reader-process span,
.reader-preview .reader-process li::after {
  color: #775838;
}
@media (max-width: 1000px) and (min-width: 801px) {
  .reader-preview .reader-intro {
    margin-left: 8px;
    margin-right: 10px;
    padding: 32px 22px;
  }
  .reader-preview .reader-intro h2 {
    font-size: 32px;
  }
  .reader-preview .reader-process {
    grid-template-columns: 1fr;
  }
  .reader-preview .reader-process li::after {
    display: none;
  }
}
@media (max-width: 800px) {
  .reader-preview > .reader-desk-ribbon {
    top: -28px;
  }
  .reader-preview .reader-intro {
    margin: 0 10px;
  }
  .reader-preview .reader-intro h2 {
    font-size: 34px;
  }
}

/* Match the visible parchment ribbon: 104px settled parallax plus ribbon offset. */
.reader-track .reader-preview {
  top: 282px;
}
@media (max-width: 700px) {
  .reader-track .reader-preview {
    top: 282px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reader-track .reader-preview {
    top: 386px;
  }
}

/* Match the ink-spill action on the other parchment. */
.reader-open {
  max-width: 100%;
  padding: 0 30px 0 18px;
  color: #fff1d8;
  text-shadow: none;
  gap: 10px;
}
.reader-open::before {
  inset: -6px -12px;
  border: 0;
  border-image: none;
  border-radius: 0;
  background: none;
  filter: none;
  transition: filter 0.2s;
}
.reader-open:hover {
  filter: none;
  transform: none;
}
.reader-open:hover::before {
  filter: brightness(1.15);
}
.reader-open:focus-visible {
  outline: 2px solid #60432d;
  outline-offset: 3px;
  border-radius: 12px;
}
.reader-open svg {
  color: inherit;
}

/* Give the sample action a broader ink silhouette and comfortable label space. */
.reader-open {
  width: 340px;
  height: 112px;
  min-height: 112px;
  white-space: nowrap;
}

/* Keep the paper and closed book on the same desktop baseline. */
@media (min-width: 801px) {
  .reader-preview .reader-intro::before {
    top: 16px;
    bottom: 16px;
  }
}

/* Roomier writing margins, with the quill resting across the paper edge. */
.reader-preview .reader-intro {
  padding: 68px 54px 100px;
}
@media (max-width: 1000px) {
  .reader-preview .reader-intro {
    padding: 52px 32px 100px;
  }
}

/* The book opens over the paper, which remains on the desk. */
@media (min-width: 801px) {
  .reader-preview .reader-intro {
    margin-left: 58px;
    margin-right: -6px;
    padding: 88px 68px 100px;
  }
}
@media (max-width: 800px) {
  .reader-preview .reader-intro {
    padding: 64px 46px 100px;
  }
}

.reader-open {
  position: relative;
  left: -14px;
}

/* A slight loose-sheet tilt tucks the lower right edge beneath the book. */
@media (min-width: 801px) {
  .reader-preview .reader-intro {
    transform: rotate(-1.3deg);
    transform-origin: 50% 50%;
    z-index: 1;
  }
}

/* The scenery settles into ink-purple beneath the writing desk. */
body {
  background: #1c1429;
}
.desk-scene-fade {
  position: absolute;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(28, 20, 41, 0) 0,
    #1c1429 var(--fade-height),
    #1c1429 100%
  );
}

/* One shared centerline for label, track and flat bronze pip. */
.site-frame-top .header-actions .motion-control {
  width: 162px;
  height: 46px;
  min-height: 46px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 0;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  isolation: isolate;
}
.site-frame-top .motion-control::before {
  content: "";
  display: block !important;
  position: absolute;
  inset: 0;
  z-index: -1;
  box-sizing: border-box;
  background: none;
  border-radius: 0;
  border: solid transparent;
  border-width: 0 25px;
  border-image-source: url(lorbo-bronze-frame.webp);
  border-image-slice: 0 16.4355% fill;
  border-image-width: 0 25px;
  border-image-repeat: stretch;
}
.site-frame-top .motion-control > span:first-child {
  display: block;
  margin: 0;
  padding: 0;
  font:
    900 15px / 1.15 "Arial Black",
    Arial,
    sans-serif;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: #100c09;
  text-shadow: 0 1px 0 rgba(255, 231, 184, 0.85);
  -webkit-text-stroke: 0;
  transform: none;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}
.site-frame-top .motion-control .switch-track {
  position: relative;
  flex: none;
  box-sizing: border-box;
  width: 38px;
  height: 22px;
  margin: 0;
  padding: 0;
  border: 1px solid #51321d;
  border-radius: 20px;
  background: #294b35;
  box-shadow:
    inset 0 1px 3px #160d0999,
    0 1px 0 #f0c88d66;
}
.site-frame-top .motion-control .switch-track:after {
  content: "";
  position: absolute;
  top: 50%;
  box-sizing: border-box;
  border-radius: 50%;
  transform: translate(16px, -50%);
  transition:
    transform 0.15s,
    background 0.15s;
}
.site-frame-top .motion-control[aria-checked="false"] .switch-track {
  background: #302018;
}
.site-frame-top .motion-control[aria-checked="false"] .switch-track:after {
  transform: translate(0, -50%);
  border-color: #705035;
}
@media (prefers-reduced-motion: reduce) {
  .site-frame-top .motion-control .switch-track:after {
    transition: none;
  }
}

/* Center visible capitals, rather than the font's ascender/descender line box. */
.hero-copy .invite .invite-label,
.hero-copy .invite:hover .invite-label {
  top: 0;
  transform: none;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}
.site-frame-top .motion-control .switch-track:after,
.site-frame-top .motion-control[aria-checked="false"] .switch-track:after {
  width: 18px;
  height: 18px;
  left: 1px;
  border: 0;
  background: transparent url(lorbo-bronze-toggle-coin.webp) center / contain no-repeat;
  box-shadow: none;
  filter: drop-shadow(0 1px 2px #080603e6) drop-shadow(0 0 1px #080603);
}

/* Give the manuscript stack more presence than the introductory sheet. */
@media (min-width: 801px) {
  .reader-preview .reader-intro {
    align-self: center;
  }
}

/* Give the real explanation a readable, sequential flow. */
.reader-preview .reader-process {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 24px;
}
.reader-preview .reader-process li {
  position: relative;
  padding: 0 0 0 32px;
  border: 0;
}
.reader-preview .reader-process li::after {
  display: none;
}
.reader-preview .reader-process li > span {
  position: absolute;
  font-size: 13px;
}
.reader-preview .reader-process h3 {
  font-size: 16px;
  line-height: 1.3;
  margin: 0 0 5px;
}
.reader-preview .reader-process p {
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}

/* Clean writing surface keeps all explanatory copy clear of decorative ink. */
.reader-preview .reader-intro::before,
.reader-preview .reader-intro::after {
  content: "";
  position: absolute;
  left: -14px;
  right: -14px;
  z-index: -1;
  pointer-events: none;
  border: 0;
  background: none;
}
.reader-preview .reader-intro::before {
  top: 16px;
  bottom: auto;
}
.reader-preview .reader-intro::after {
  top: auto;
  bottom: 16px;
  transform: scaleY(-1);
}

/* Comfortable writing margins; no shadow on the internal paper join. */
.reader-preview .reader-intro {
  padding-top: 100px;
  padding-bottom: 100px;
}
.reader-preview .reader-intro::before,
.reader-preview .reader-intro::after {
  filter: none;
  height: calc(50% - 14px);
}
.reader-preview .reader-process {
  gap: 24px;
}
.reader-preview .reader-process li {
  padding-left: 52px;
}
.reader-preview .reader-process li > span {
  left: -6px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  font:
    800 21px / 1 "Plus Jakarta Sans",
    sans-serif;
  color: #fff1d8;
}
.reader-preview .reader-process li > span::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}
@media (max-width: 800px) {
  .reader-preview .reader-intro {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

/* Round, irregular paint spills for the process numbers. */
.reader-preview .reader-process li > span {
  width: 46px;
  height: 46px;
  top: -9px;
}
.reader-preview .reader-process li > span::before {
  background: url(lorbo-ink-step-circle.webp) center / contain no-repeat;
}

/* Keep live text on an unrotated, unfiltered surface for crisp rasterization. */
.reader-preview .reader-intro {
  transform: none;
  filter: none;
}
@keyframes reader-arrive {
  from {
    opacity: 0;
    translate: 0 32px;
  }
  to {
    opacity: 1;
    translate: none;
  }
}

/* Static novel beside the explanation; sample reader paused. */
.reader-closed-novel {
  width: 100%;
  max-width: 540px;
  margin: 0;
  align-self: center;
  justify-self: center;
  text-align: center;
}
.reader-closed-novel img {
  display: block;
  width: 100%;
  height: auto;
}
.reader-closed-novel figcaption {
  position: relative;
}
@media (max-width: 800px) {
  .reader-closed-novel {
    max-width: 380px;
    margin: 20px auto 0;
  }
}

/* A slightly larger closed novel with a clear availability caption. */
@media (min-width: 801px) {
  .reader-closed-novel {
    width: 108%;
    max-width: 584px;
  }
}
.reader-closed-novel figcaption {
  margin: -12px 0 12px;
  font:
    500 27px / 1.3 "Cormorant Garamond",
    Georgia,
    serif;
  color: #fff0d6;
  text-shadow: 0 2px 5px #160e0b;
}

/* Keep the cover and its bronze action on the same rotated surface. */
.reader-closed-novel {
  position: relative;
  transform: rotate(3deg);
}
.reader-closed-novel img {
  transform: none;
}
.book-sample-button {
  position: absolute;
  left: 53%;
  top: 73%;
  transform: translate(-50%, -50%);
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 238px;
  height: 62px;
  padding: 0 24px;
  border: 0;
  background: transparent;
  color: #21160e;
  font:
    800 16px / 1 "Plus Jakarta Sans",
    sans-serif;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 1px 0 #ffe1b780;
  cursor: pointer;
  transition: filter 0.18s;
}
.book-sample-button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-image-source: url(lorbo-bronze-frame.webp);
  border-image-slice: 0 16.4355% fill;
  border-image-width: 0 32px;
  border-image-repeat: stretch;
  filter: drop-shadow(0 3px 4px #160d0980);
}
.book-sample-button svg {
  width: 17px;
  height: 17px;
  flex: none;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.book-sample-button:hover {
  filter: brightness(1.13);
}
.book-sample-button:focus-visible {
  outline: var(--lorbo-focus-ring);
  outline-offset: 4px;
}
@media (max-width: 800px) {
  .book-sample-button {
    width: 205px;
    height: 54px;
    font-size: 13px;
  }
}

/* Give the explanation its own onward action and breathing room. */
.reader-preview .reader-visualize {
  width: 280px;
  max-width: 100%;
  height: 88px;
  min-height: 88px;
  margin-top: 8px;
  font-family: var(--lorbo-body);
  font-size: 16px;
  font-weight: 800;
}

/* Open the existing animated cover into a level, in-place reading spread. */
.sample-book-scene {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
}
.sample-book-scene [hidden],
.sample-book-scene[hidden] {
  display: none !important;
}
.sample-book-media {
  position: absolute;
  transform-origin: 63.79% 52.64%;
  pointer-events: none;
}
.sample-book-video,
.sample-book-still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  pointer-events: none;
}
.sample-book-scene[data-state="loading"] .sample-book-media {
  visibility: hidden;
}
.sample-book-pending {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px 20px;
  border: 1px solid rgba(226, 191, 132, 0.55);
  border-radius: 999px;
  background: rgba(44, 32, 60, 0.88);
  color: #fff3da;
  font:
    600 14px / 1.2 "Plus Jakarta Sans",
    system-ui,
    sans-serif;
  white-space: nowrap;
}
.sample-book-pending span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(216, 182, 124, 0.24);
  border-top-color: #eac88c;
  animation: lorbo-loader-spin 1.05s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .sample-book-pending span {
    animation: none;
    border-color: #eac88c;
  }
}
.reading-sample .reader-closed-novel {
  visibility: hidden;
}
.sample-book-pages {
  position: absolute;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  color: #35271d;
  pointer-events: auto;
  outline: none;
}
.sample-book-pages article {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  text-shadow: none;
}
.sample-book-pages h3 {
  text-align: center;
  color: #553e2a;
  flex: none;
}
.sample-book-pages .sample-page-text {
  font:
    19px / 1.6 Georgia,
    serif;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  text-wrap: pretty;
}
.sample-book-pages .sample-page-text p {
  font: inherit;
  color: inherit;
  margin: 0 0 0.9em;
}
.sample-book-close {
  position: absolute;
  right: 24px;
  top: 28px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #c49a60;
  border-radius: 50%;
  background: #382b22;
  color: #f6dfb8;
  font:
    28px / 1 Georgia,
    serif;
  pointer-events: auto;
  cursor: pointer;
}
.sample-book-controls {
  position: absolute;
  bottom: 28px;
  left: 50%;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.sample-book-controls button {
  padding: 10px 20px;
  border: 1px solid #c49a60;
  border-radius: 999px;
  background: #382b22;
  color: #f6dfb8;
  font:
    600 14px / 1.3 "Plus Jakarta Sans",
    sans-serif;
  cursor: pointer;
}
.sample-book-controls button:disabled {
  opacity: 0.4;
  cursor: default;
}
.sample-book-status {
  font:
    500 14px / 1.4 "Plus Jakarta Sans",
    sans-serif;
  color: #f6dfb8;
}
.sample-book-controls button:focus-visible,
.sample-book-close:focus-visible {
  outline: 2px solid #f6dfb8;
  outline-offset: 4px;
}

/* Text bounds follow the new registered 1920×1080 book stage. */
.sample-book-pages {
  left: 28%;
  right: 28%;
  top: 32.5%;
  bottom: 22%;
  gap: 5%;
}

/* Restore opaque book interiors while retaining transparent outside pixels. */
.reader-closed-novel img {
  filter: url(#book-solid-alpha) drop-shadow(0 12px 12px #160e0b66);
}
.sample-book-video,
.sample-book-still {
  filter: url(#book-solid-alpha);
}

/* Printed-book margins inside the painted page edges, desktop only. */
@media (min-width: 801px) {
  .sample-book-pages {
    left: 31.6667%;
    right: 31.6667%;
    top: 34.7222%;
    bottom: 24.0741%;
    gap: 16.4773%;
  }
  .sample-book-pages h3 {
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 24px;
  }
  .sample-book-pages .sample-page-text {
    font-size: 18px;
    line-height: 1.55;
    text-align: justify;
    hyphens: auto;
  }
  .sample-book-pages .sample-page-text p {
    margin: 0;
    orphans: 2;
    widows: 2;
  }
  .sample-book-pages .sample-page-text p + p {
    text-indent: 1.25em;
  }
}

/* Chapter opening and coin controls share the site's bronze details. */
.sample-book-pages h3 {
  font:
    700 32px / 1.15 "Cormorant Garamond",
    Georgia,
    serif;
  letter-spacing: 0.045em;
  margin: 24px 0 34px;
}
.sample-page-text.sample-prologue > p:first-child {
  display: flow-root;
  min-height: 3.1em;
  text-indent: 0;
}
.sample-page-text.sample-prologue > p:first-child::first-letter {
  float: left;
  font:
    700 68px / 0.8 "Cormorant Garamond",
    Georgia,
    serif;
  margin: 5px 9px 0 0;
  color: #513521;
}
.sample-book-controls {
  inset: 0;
  transform: none;
  width: auto;
  max-width: none;
  display: block;
  pointer-events: none;
}
.sample-book-scene .sample-book-coin {
  position: absolute;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 13px;
  border: 0;
  border-radius: 50%;
  background: transparent url(lorbo-bronze-toggle-coin.webp) center / contain no-repeat;
  color: #392414;
  box-shadow: none;
  filter: drop-shadow(0 3px 3px #160d0980);
  pointer-events: auto;
  cursor: pointer;
}
.sample-book-coin svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 1px 0 #ffe0a288);
}
.sample-book-scene .sample-book-previous {
  top: calc(var(--book-center-y) - 29px);
}
.sample-book-scene .sample-book-next {
  top: calc(var(--book-center-y) - 29px);
}
.sample-book-scene .sample-book-close {
  right: auto;
  width: 48px;
  height: 48px;
  padding: 12px;
  z-index: 2;
}
.sample-book-close svg {
  width: 22px;
  height: 22px;
}
.sample-book-scene .sample-book-coin:hover {
  filter: brightness(1.12) drop-shadow(0 3px 3px #160d0980);
}
.sample-book-pips {
  position: absolute;
  top: calc(var(--book-bottom-y) + 18px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
}
.sample-book-controls .sample-book-pip {
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent url(lorbo-bronze-toggle-coin.webp) center / contain no-repeat;
  cursor: pointer;
}
.sample-book-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.sample-book-pip:focus-visible,
.sample-book-coin:focus-visible {
  outline: var(--lorbo-focus-ring);
  outline-offset: 3px;
}

/* Clear the loose sheet near the end of opening without changing its layout. */
.reader-preview.reading-sample-covered .reader-intro {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
/* Both pip states are solid coins; color, size, and rim identify the current spread. */
.sample-book-controls .sample-book-pip {
  width: 24px;
  height: 24px;
  opacity: 1;
  background-color: #736451;
  filter: saturate(0.2) brightness(0.82);
  box-shadow: 0 1px 3px #140d09aa;
  transition:
    filter 0.15s,
    transform 0.15s;
}
.sample-book-controls .sample-book-pip[aria-current="true"] {
  opacity: 1;
  filter: saturate(1.3) brightness(1.12);
  transform: scale(1.12);
  box-shadow:
    0 0 0 1px #f2c98a,
    0 2px 4px #140d09aa;
}
.sample-book-controls .sample-book-pip:hover {
  opacity: 1;
  filter: brightness(1.1);
}

.sample-book-scene[data-state="closing"] .sample-book-close {
  visibility: hidden;
}

/* Keep the reader centered above a lightly dimmed, non-interactive interface. */
html:has(.sample-book-scene[open]) {
  overflow: hidden;
  scrollbar-gutter: stable;
}
dialog.sample-book-scene {
  position: fixed;
  inset: auto;
  margin: 0;
  padding: 0;
  border: 0;
  max-width: none;
  max-height: none;
  background: transparent;
  color: inherit;
  overflow: visible;
  pointer-events: auto;
}
dialog.sample-book-scene::backdrop {
  background: rgba(10, 8, 18, 0.32);
}
.sample-book-scene .sample-book-close {
  top: calc(var(--book-top-y) + 40px);
}

/* An introduction spread before the sample, using the invitation form's details. */
.sample-book-intro {
  position: absolute;
  left: 31.6667%;
  right: 31.6667%;
  top: 34.7222%;
  bottom: 24.0741%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16.4773%;
  align-items: center;
  color: #35271d;
  pointer-events: auto;
}
.sample-book-intro article,
.sample-character-form {
  min-width: 0;
}
.sample-book-intro h2 {
  font:
    700 36px / 1.1 "Cormorant Garamond",
    Georgia,
    serif;
  color: #493322;
  margin: 0 0 22px;
  letter-spacing: -0.015em;
}
.sample-book-intro p {
  font:
    17px / 1.6 Georgia,
    serif;
  color: #4c3b2c;
  margin: 0 0 20px;
}
.sample-book-intro .sample-story-kicker {
  font:
    650 11px / 1.4 "Plus Jakarta Sans",
    sans-serif;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #7b5b3d;
  margin-bottom: 15px;
}
.sample-book-intro .sample-story-genre {
  font:
    600 22px / 1.25 "Cormorant Garamond",
    Georgia,
    serif;
  color: #6d492b;
  margin-bottom: 24px;
}
.sample-book-intro .sample-character-intro {
  font:
    14px / 1.6 "Plus Jakarta Sans",
    sans-serif;
  color: #66536a;
  margin-bottom: 25px;
}
.sample-character-field label,
.sample-character-gender legend {
  display: block;
  font:
    600 13px / 1.4 "Plus Jakarta Sans",
    sans-serif;
  color: #44304e;
  margin: 0 0 11px;
}
.sample-character-field input {
  box-sizing: border-box;
  width: 100%;
  height: 52px;
  padding: 0 20px;
  border: 1px solid #75577e70;
  border-radius: 999px;
  background: #fffaf45e;
  box-shadow: inset 0 2px 5px #49324c09;
  color: #36283e;
  font:
    16px / 1.4 "Plus Jakarta Sans",
    sans-serif;
}
.sample-character-field input:focus {
  outline: var(--lorbo-focus-ring-ink);
  outline-offset: 2px;
}
.sample-character-field input[aria-invalid="true"] {
  border-color: #a44350;
}
.sample-character-gender {
  border: 0;
  padding: 0;
  margin: 25px 0 0;
}
.sample-gender-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.sample-gender-options label {
  position: relative;
  cursor: pointer;
}
.sample-gender-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.sample-gender-options span {
  display: flex;
  justify-content: center;
  gap: 3px;
  border: 1px solid #75577e70;
  background: #fffaf445;
  text-align: center;
  color: #44304e;
  font:
    600 12px / 1.3 "Plus Jakarta Sans",
    sans-serif;
}
.sample-gender-options small {
  font-weight: 400;
  font-size: 10px;
}
.sample-gender-options input:checked + span {
  background: #685073;
  border-color: #685073;
  color: #fff4e4;
}
.sample-character-form .sample-character-error {
  font:
    12px / 1.4 "Plus Jakarta Sans",
    sans-serif;
  color: #8c2834;
  margin: 14px 0 0;
}
.sample-start {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 57px;
  padding: 12px 25px;
  margin-top: 28px;
  border: 0;
  border-radius: 0;
  background: none;
  color: #21160e;
  font:
    800 14px / 1.2 "Plus Jakarta Sans",
    sans-serif;
  text-transform: uppercase;
  text-shadow: 0 1px #ffe3adaf;
  cursor: pointer;
}
.sample-start::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border: solid transparent;
  border-width: 0 30px;
  border-image: url(lorbo-bronze-frame.webp) 0 16.4355% fill / 0 30px / 0 stretch;
  filter: drop-shadow(0 3px 3px #42261525);
}
.sample-start svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.5;
}
.sample-start:hover {
  filter: brightness(1.1);
}
.sample-start:focus-visible {
  outline: var(--lorbo-focus-ring-ink);
  outline-offset: 4px;
}

/* Paint belongs on paper: reuse the existing ink action and numbered-step art. */
body .sample-start.ink-action {
  width: 100%;
  height: 82px;
  min-height: 82px;
  padding: 0 28px;
  margin-top: 20px;
  font:
    800 14px / 1.15 "Plus Jakarta Sans",
    sans-serif;
}
body .sample-start.ink-action::before {
  inset: -6px -10px;
}
.sample-book-scene .sample-book-close {
  left: calc(var(--book-right-x) - 144px);
  background-image: url(lorbo-ink-step-circle.webp);
  color: #fff3dc;
  filter: none;
}
.sample-book-close svg {
  filter: none;
  stroke-width: 2.4;
}
.sample-book-scene .sample-book-close:hover {
  filter: brightness(1.15);
}

/* Reveal the close control only after its book geometry has settled. */
.sample-book-scene:not([data-state="open"]) .sample-book-close {
  visibility: hidden;
}

/* Center each navigation coin on the painted paper edge. */
.sample-book-scene .sample-book-previous {
  left: calc(var(--paper-left-x) - 29px);
}
.sample-book-scene .sample-book-next {
  left: calc(var(--paper-right-x) - 29px);
}

/* Keep the How It Works ribbon close beneath the sticky navigation. */
@media (min-width: 801px) {
  .reader-track .reader-preview {
    top: 212px;
  }
}
/* Center labels at rest; reveal the check with a small, smooth text shift. */
.sample-gender-options span {
  position: relative;
  flex-direction: row;
  align-items: center;
  min-height: 52px;
  padding: 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition:
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.sample-pronoun-label {
  font: inherit;
  transform: translateX(0);
  transition: transform 0.22s cubic-bezier(0.2, 0.65, 0.3, 1);
}
.sample-gender-options input:checked + span .sample-pronoun-label {
  transform: translateX(9px);
}
.sample-gender-options span::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 6px;
  height: 11px;
  border-right: 3px solid #b5f477;
  border-bottom: 3px solid #b5f477;
  opacity: 0;
  transform: translate(-3px, -65%) rotate(40deg) scale(0.85);
  transition:
    opacity 0.18s,
    transform 0.22s cubic-bezier(0.2, 0.65, 0.3, 1);
}
.sample-gender-options input:checked + span::after {
  opacity: 1;
  transform: translate(0, -65%) rotate(40deg) scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .sample-gender-options span,
  .sample-pronoun-label,
  .sample-gender-options span::after {
    transition: none;
  }
}

/* The first spread pairs the city map with the opening of the prologue. */
.sample-page-map {
  flex: 1;
  min-height: 0;
  margin: 0 -12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sample-page-map img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.sample-page-map[hidden],
.sample-page-text[hidden],
.sample-page-ending[hidden] {
  display: none !important;
}

/* A single ink-stamped invitation, centered in the final page's free space. */
.sample-page-ending {
  flex: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 22px 0 0;
  padding: 0;
  color: #503a45;
  text-align: center;
}
.sample-book-pages .sample-ending-page .sample-page-text {
  flex: 0 0 auto;
  overflow: visible;
}
.sample-ending-page .sample-page-ending {
  flex: 1;
  min-height: 0;
}
.sample-ending-content {
  position: relative;
  isolation: isolate;
  margin: 0 auto;
  border: 2px solid #503a45;
  background: #503a4505;
  font-family: var(--lorbo-heading);
}
.sample-ending-content::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid #503a4580;
  pointer-events: none;
  z-index: -1;
}
.sample-book-pages .sample-page-ending h4 {
  margin: 0 0 10px;
  color: #503a45;
  font:
    700 24px / 1.15 "Cormorant Garamond",
    Georgia,
    serif;
  text-transform: uppercase;
  text-shadow: none;
}
.sample-book-pages .sample-page-ending p {
  max-width: none;
  margin: 0;
  color: #503a45;
  font:
    500 17px / 1.3 "Cormorant Garamond",
    Georgia,
    serif;
  text-shadow: none;
  text-wrap: pretty;
}
.sample-book-pages .sample-page-ending .sample-ending-invitation {
  margin: 0 0 10px;
  font-weight: 700;
  font-style: normal;
}
.sample-page-ending .sample-request-access {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  margin: 14px 0 0;
  padding: 8px 7px;
  border: 0;
  border-radius: 1px;
  background: #503a45;
  color: #fff3dc;
  font:
    700 17px / 1.15 "Cormorant Garamond",
    Georgia,
    serif;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  text-shadow: none;
  cursor: pointer;
  transition: background-color 0.18s;
}
.sample-request-access span {
  font: inherit;
  color: inherit;
}
.sample-request-access svg {
  width: 15px;
  height: 15px;
  stroke-width: 2;
  flex: none;
}
.sample-page-ending .sample-request-access:hover {
  background: #382731;
}
.sample-page-ending .sample-request-access:focus-visible {
  outline: 2px solid #503a45;
  outline-offset: 3px;
}

@media (min-width: 801px) and (max-width: 1799px) {
  .reader-track .reader-preview {
    top: 76px;
  }
}

/* Give the closing stamp room for the decorative heading and painted action. */
.sample-ending-content {
  max-width: none;
  margin-inline: -8px;
  width: calc(100% + 16px);
  padding: 22px 18px 17px;
}
.sample-book-pages .sample-page-ending h4 {
  font-family: var(--lorbo-display);
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: 0;
  margin-bottom: 12px;
}
body .sample-page-ending .sample-request-access.ink-action {
  display: flex;
  width: 100%;
  max-width: none;
  min-height: 66px;
  height: 66px;
  padding: 0 18px;
  margin: 14px 0 0;
  font:
    700 16px / 1.15 "Cormorant Garamond",
    Georgia,
    serif;
  letter-spacing: 0.015em;
}
body .sample-page-ending .sample-request-access.ink-action::before {
  inset: -3px -5px;
}

/* Faint map watermark behind the introduction, leaving the form untouched. */
.sample-story-intro {
  position: relative;
  isolation: isolate;
}
.sample-story-intro::before {
  position: absolute;
  inset: -60px -34px;
  z-index: -1;
  pointer-events: none;
  background: none;
  opacity: 0.085;
  mix-blend-mode: multiply;
  mask-image: radial-gradient(ellipse, #000 42%, transparent 74%);
  -webkit-mask-image: radial-gradient(ellipse, #000 42%, transparent 74%);
}
.sample-ending-page .sample-page-ending {
  margin-top: 0;
}

/* Both map treatments register to the complete left-page reading area. */
.sample-book-intro {
  isolation: isolate;
}
.sample-page-map img {
  transform: scale(1.15);
}

/* The introductory spread uses clean parchment without a map watermark. */
.sample-story-intro::before {
  content: none;
}

/* Transparent source artwork carries its own rich ink; no color filtering needed. */
.sample-page-map,
.sample-page-map img {
  mix-blend-mode: normal;
}
.sample-page-map img {
  filter: none;
}

@keyframes lorbo-loader-spin {
  to {
    transform: rotate(360deg);
  }
}
