:root {
  --paper: #eee8db;
  --paper-deep: #e2d9c8;
  --paper-light: #f7f2e8;
  --paper-wash: rgba(248, 244, 235, 0.92);
  --ink: #24211c;
  --ink-soft: rgba(36, 33, 28, 0.61);
  --ink-faint: rgba(36, 33, 28, 0.34);
  --hairline: rgba(36, 33, 28, 0.18);
  --shelf: #73513d;
  --shelf-deep: #4b3025;
  --accent: #a74735;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Baskerville, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-snap: cubic-bezier(0.2, 0.82, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--paper);
}

body {
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
a,
input {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

a {
  text-decoration: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
[role="button"]:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 5px;
}

::selection {
  color: var(--paper-light);
  background: var(--ink);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border: 1px solid var(--ink);
  background: var(--paper-light);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.press-experience {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 540px;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 54% 42%, rgba(255, 255, 255, 0.38), transparent 44%),
    linear-gradient(180deg, #f0eadf 0%, var(--paper) 64%, #e8dfd1 100%);
}

.paper-grain {
  position: absolute;
  z-index: 60;
  inset: 0;
  pointer-events: none;
  opacity: 0.19;
  mix-blend-mode: multiply;
  background-image:
    radial-gradient(circle at 12% 31%, rgba(45, 35, 24, 0.14) 0 0.55px, transparent 0.72px),
    radial-gradient(circle at 73% 69%, rgba(255, 255, 255, 0.88) 0 0.52px, transparent 0.7px),
    radial-gradient(circle at 45% 18%, rgba(67, 50, 33, 0.08) 0 0.45px, transparent 0.62px);
  background-size: 7px 9px, 11px 13px, 5px 7px;
}

.ambient-wash {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(250, 247, 240, 0.74) 0%, rgba(250, 247, 240, 0.2) 30%, transparent 54%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 38%);
}

.site-header {
  position: absolute;
  z-index: 30;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 26px clamp(22px, 3.5vw, 58px);
  pointer-events: none;
}

.wordmark {
  display: flex;
  gap: 13px;
  align-items: center;
  pointer-events: auto;
  font-size: 9px;
  font-weight: 660;
  letter-spacing: 0.19em;
  line-height: 1;
  text-transform: uppercase;
}

.wordmark i {
  display: block;
  width: 31px;
  height: 1px;
  background: currentColor;
  opacity: 0.38;
}

.header-actions {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  pointer-events: auto;
}

.header-action {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 1px 0 8px;
  border-bottom: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 640;
  letter-spacing: 0.145em;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease;
}

.header-action:hover {
  color: var(--ink);
  border-color: var(--hairline);
}

.header-action svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.edition-mark {
  display: grid;
  gap: 5px;
  justify-items: end;
  min-width: 115px;
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 570;
  letter-spacing: 0.17em;
  line-height: 1;
}

.experience-status {
  position: absolute;
  z-index: 25;
  top: 76px;
  left: clamp(24px, 3.5vw, 58px);
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 580;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: opacity 300ms ease, transform 400ms var(--ease-out);
}

.experience-status > span {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6c8b64;
  box-shadow: 0 0 0 3px rgba(108, 139, 100, 0.14);
}

.experience-status strong {
  font-weight: inherit;
}

.browse-caption {
  position: absolute;
  z-index: 24;
  bottom: clamp(137px, 20vh, 205px);
  left: clamp(26px, 5.5vw, 94px);
  width: min(455px, 38vw);
  isolation: isolate;
  pointer-events: none;
  transition: opacity 360ms ease, transform 520ms var(--ease-out);
}

.browse-caption::before {
  position: absolute;
  z-index: -1;
  top: -54px;
  right: -128px;
  bottom: -50px;
  left: -96px;
  content: "";
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(238, 232, 219, 0.98) 0%,
    rgba(238, 232, 219, 0.88) 52%,
    rgba(238, 232, 219, 0.34) 75%,
    rgba(238, 232, 219, 0) 100%
  );
}

.book-position {
  display: flex;
  gap: 11px;
  align-items: center;
  margin: 0 0 18px;
  font-size: 8px;
  font-weight: 640;
  letter-spacing: 0.18em;
  line-height: 1;
}

.book-position i {
  width: 49px;
  height: 1px;
  background: var(--ink);
  opacity: 0.33;
}

.browse-caption h1 {
  max-width: 460px;
  margin: 0;
  text-wrap: balance;
  font-family: var(--serif);
  font-size: clamp(40px, 4.8vw, 74px);
  font-weight: 420;
  letter-spacing: -0.052em;
  line-height: 0.89;
}

.active-author {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(14px, 1.25vw, 18px);
  font-style: italic;
  line-height: 1.25;
}

.inspect-button {
  display: inline-flex;
  gap: 23px;
  align-items: center;
  margin-top: 25px;
  padding: 0 0 8px;
  border-bottom: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  font-size: 9px;
  font-weight: 660;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.inspect-button span:last-child {
  font-size: 15px;
  font-weight: 400;
  transition: transform 220ms ease;
}

.inspect-button:hover span:last-child {
  transform: translate3d(3px, -3px, 0);
}

.shelf-viewport {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  perspective: 1700px;
  perspective-origin: 60% 45%;
  cursor: grab;
  touch-action: none;
}

.shelf-viewport.is-dragging {
  cursor: grabbing;
}

.shelf-light {
  position: absolute;
  top: 2%;
  right: 3%;
  width: 67%;
  height: 74%;
  pointer-events: none;
  opacity: 0.88;
  background:
    radial-gradient(ellipse at 48% 40%, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.06) 50%, transparent 70%),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12));
  filter: blur(7px);
  transition: opacity 500ms ease;
}

.shelf-track {
  position: absolute;
  z-index: 5;
  bottom: clamp(60px, 8.4vh, 92px);
  left: 0;
  display: flex;
  align-items: flex-end;
  height: min(69vh, 635px);
  min-height: 360px;
  padding: 0 42vw 0 10vw;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 680ms var(--ease-out);
}

.shelf-track.is-direct-manipulation {
  transition: none;
}

.book-slot {
  --book-height: 470px;
  --spine-width: 35px;
  --cover-width: 310px;
  --book-cover: #6f2130;
  --book-accent: #d5a756;
  --book-ink: #f4ead7;
  position: relative;
  flex: 0 0 var(--spine-width);
  width: var(--spine-width);
  height: var(--book-height);
  margin-right: 7px;
  z-index: 2;
  transform-style: preserve-3d;
  transition: opacity 350ms ease, filter 350ms ease;
}

.book-slot::after {
  position: absolute;
  right: -5px;
  bottom: -2px;
  left: -5px;
  height: 13px;
  border-radius: 50%;
  content: "";
  opacity: 0.32;
  background: rgba(52, 33, 24, 0.55);
  filter: blur(9px);
  transform: translateZ(-10px);
}

.book-object {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border-radius: 2px 3px 2px 2px;
  background: transparent;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 260ms var(--ease-out);
}

.book-slot:not(.is-presented) .book-object:hover {
  transform: translateY(-11px) rotateZ(-0.4deg);
}

.book-spine {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(26, 22, 17, 0.13);
  border-radius: 2px 3px 2px 2px;
  color: var(--book-ink);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.18), transparent 17%, rgba(255, 255, 255, 0.1) 55%, rgba(0, 0, 0, 0.16)),
    var(--book-cover);
  box-shadow:
    inset 1px 0 rgba(255, 255, 255, 0.18),
    inset -1px 0 rgba(0, 0, 0, 0.12),
    1px 1px 1px rgba(50, 33, 24, 0.16);
  transform: translateZ(0);
  transform-origin: 50% 100%;
  transition: opacity 170ms ease, transform 420ms var(--ease-out), filter 260ms ease;
}

.book-spine::before {
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: 4px;
  width: 2px;
  content: "";
  opacity: 0.7;
  background: var(--book-accent);
  box-shadow: 1px 0 rgba(255, 255, 255, 0.08);
}

.book-spine::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.26;
  mix-blend-mode: overlay;
  background-image:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.55) 0 .45px, transparent .6px),
    radial-gradient(circle at 70% 60%, rgba(0,0,0,.45) 0 .5px, transparent .65px);
  background-size: 5px 7px, 7px 9px;
}

.spine-title {
  position: relative;
  z-index: 2;
  max-height: calc(100% - 78px);
  overflow: hidden;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--serif);
  font-size: clamp(11px, 1vw, 15px);
  font-weight: 500;
  letter-spacing: 0.015em;
  line-height: 1;
}

.spine-author {
  position: absolute;
  z-index: 2;
  right: 3px;
  bottom: 33px;
  left: 3px;
  overflow: hidden;
  color: color-mix(in srgb, var(--book-ink) 78%, transparent);
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 6px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: rotate(-90deg) translateX(-10px);
  transform-origin: center;
  opacity: 0.75;
}

.spine-mark {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 10px;
  left: 0;
  display: block;
  text-align: center;
  font-size: 7px;
  font-weight: 760;
  letter-spacing: 0.03em;
}

.book-cover-object {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: absolute;
  z-index: 7;
  bottom: 0;
  left: 50%;
  width: var(--cover-width);
  height: var(--book-height);
  opacity: 0;
  pointer-events: none;
  transform-style: preserve-3d;
  transform-origin: 2.5% 50%;
  transform: translate3d(-49%, 0, -85px) rotateY(-89deg) scale(0.985);
  will-change: transform, opacity;
  transition:
    transform 540ms var(--ease-out),
    opacity 120ms ease,
    filter 300ms ease;
}

.book-cover-object::after {
  position: absolute;
  z-index: -5;
  right: 7%;
  bottom: -29px;
  left: 7%;
  height: 34px;
  border-radius: 50%;
  content: "";
  opacity: 0.8;
  background: rgba(50, 35, 27, 0.38);
  filter: blur(20px);
  transform: translateZ(-28px) rotateX(90deg);
}

.book-board,
.book-page-block,
.book-cover-face,
.book-cover-back,
.book-cover-spine,
.book-cover-fore-edge {
  position: absolute;
  display: block;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.book-page-block {
  z-index: 1;
  top: 7px;
  right: -11px;
  bottom: -10px;
  left: 7px;
  border-radius: 4px 12px 12px 5px;
  background:
    repeating-linear-gradient(0deg, rgba(110, 86, 61, 0.1) 0 1px, transparent 1px 3px),
    linear-gradient(90deg, #e4d9c5, #fffaf0 18%, #e5d9c3 92%);
  box-shadow: 7px 8px 0 rgba(74, 55, 40, 0.12);
  transform: translateZ(-8px);
}

.book-cover-face {
  z-index: 6;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(28, 23, 18, 0.15);
  border-radius: 4px 13px 13px 5px;
  background: var(--book-cover);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.14),
    inset -10px 0 20px rgba(0,0,0,.08),
    0 26px 48px rgba(52, 36, 27, 0.19);
  transform: translateZ(10px);
}

.book-cover-face::before {
  position: absolute;
  z-index: 3;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: multiply;
  background-image:
    radial-gradient(circle at 35% 26%, rgba(20,16,12,.55) 0 .45px, transparent .6px),
    radial-gradient(circle at 74% 61%, rgba(255,255,255,.9) 0 .42px, transparent .6px);
  background-size: 7px 9px, 11px 13px;
}

.book-cover-face::after {
  position: absolute;
  z-index: 4;
  inset: -20% -80%;
  content: "";
  pointer-events: none;
  opacity: 0.54;
  background: linear-gradient(108deg, transparent 37%, rgba(255,255,255,.24) 47%, transparent 57%);
  transform: translateX(-48%);
  transition: transform 900ms var(--ease-out);
}

.book-slot.is-presented:hover .book-cover-face::after,
.press-experience.is-focused .book-slot.is-presented .book-cover-face::after {
  transform: translateX(36%);
}

.book-cover-face img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-cover-back {
  z-index: 0;
  inset: 0;
  border-radius: 4px 13px 13px 5px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.13), transparent 12%, rgba(255,255,255,.05)),
    var(--book-cover);
  transform: translateZ(-11px) rotateY(180deg);
}

.book-cover-spine {
  z-index: 3;
  top: 0;
  bottom: 0;
  left: -9px;
  width: 20px;
  border-radius: 5px 0 0 5px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.22), rgba(255,255,255,.06), rgba(0,0,0,.08)),
    var(--book-cover);
  transform: rotateY(-90deg) translateZ(0);
  transform-origin: right center;
}

.book-cover-fore-edge {
  z-index: 2;
  top: 8px;
  right: -11px;
  bottom: -8px;
  width: 18px;
  border-radius: 0 10px 10px 0;
  background: repeating-linear-gradient(90deg, #e9dfcd 0 2px, #f8f1e5 2px 3px);
  transform: rotateY(90deg);
  transform-origin: left center;
}

.book-slot.is-presented {
  z-index: 20;
}

.book-slot.is-presented .book-spine {
  opacity: 0;
  transform: translateZ(-36px) scaleX(0.7);
  pointer-events: none;
}

.book-slot.is-presented .book-cover-object {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(-49%, -2px, 150px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(1.012);
}

.book-slot.is-exiting .book-cover-object {
  animation: cover-exit 430ms var(--ease-snap) both;
}

.book-slot.is-entering .book-cover-object {
  animation: cover-enter 510ms var(--ease-out) both;
}

@keyframes cover-exit {
  0% {
    opacity: 1;
    transform: translate3d(-49%, -2px, 150px) rotateY(0deg) scale(1.012);
  }
  38% {
    opacity: 1;
    transform: translate3d(-49%, -2px, 38px) rotateY(0deg) scale(0.99);
  }
  72% {
    opacity: 1;
    transform: translate3d(-49%, 0, 5px) rotateY(-86deg) scale(0.985);
  }
  100% {
    opacity: 0;
    transform: translate3d(-49%, 0, -75px) rotateY(-89deg) scale(0.985);
  }
}

@keyframes cover-enter {
  0% {
    opacity: 0;
    transform: translate3d(-49%, 0, -75px) rotateY(-89deg) scale(0.985);
  }
  25% {
    opacity: 1;
    transform: translate3d(-49%, 0, 5px) rotateY(-86deg) scale(0.985);
  }
  62% {
    opacity: 1;
    transform: translate3d(-49%, -2px, 55px) rotateY(0deg) scale(0.995);
  }
  100% {
    opacity: 1;
    transform: translate3d(-49%, -2px, 150px) rotateY(0deg) scale(1.012);
  }
}

.book-slot.is-decorative {
  pointer-events: none;
  opacity: 0.82;
}

.book-slot.is-decorative .book-spine {
  filter: saturate(0.82);
}

.continuous-shelf {
  position: absolute;
  z-index: 3;
  right: -4%;
  bottom: clamp(36px, 5.6vh, 64px);
  left: 0;
  height: 62px;
  pointer-events: none;
  transform-style: preserve-3d;
}

.shelf-top {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  left: 0;
  height: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.14), transparent 45%),
    repeating-linear-gradient(90deg, rgba(45,27,19,.1) 0 1px, transparent 1px 38px),
    linear-gradient(90deg, #76533e, #8b654c 44%, #6e4a38);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.18), 0 -1px rgba(52, 34, 24, 0.2);
  transform: rotateX(61deg);
  transform-origin: bottom center;
}

.shelf-face {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 0;
  left: 0;
  height: 35px;
  background:
    repeating-linear-gradient(90deg, rgba(42, 25, 18, 0.11) 0 1px, transparent 1px 74px),
    linear-gradient(180deg, #76513c, #5f3e30 72%, #4a3026);
  box-shadow: inset 0 1px rgba(255,255,255,.09), 0 13px 23px rgba(62, 42, 30, 0.17);
}

.shelf-shadow {
  position: absolute;
  right: 0;
  bottom: -25px;
  left: 0;
  height: 30px;
  background: linear-gradient(180deg, rgba(64, 42, 29, 0.19), transparent);
  filter: blur(4px);
}

.floor-shadow {
  position: absolute;
  z-index: 1;
  right: -20%;
  bottom: 0;
  left: -20%;
  height: 85px;
  opacity: 0.54;
  background: radial-gradient(ellipse at 55% 0%, rgba(75, 49, 34, 0.18), transparent 68%);
}

.shelf-arrow {
  position: absolute;
  z-index: 28;
  top: 50%;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  background: rgba(238, 232, 219, 0.7);
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: opacity 260ms ease, transform 260ms ease, background-color 220ms ease;
}

.shelf-arrow:hover:not(:disabled) {
  background: rgba(248, 244, 235, 0.94);
  transform: scale(1.06);
}

.shelf-arrow:disabled {
  cursor: default;
  opacity: 0.22;
}

.shelf-arrow--left {
  left: clamp(16px, 2.8vw, 46px);
}

.shelf-arrow--right {
  right: clamp(16px, 2.8vw, 46px);
}

.arrow-icon {
  position: relative;
  display: block;
  width: 17px;
  height: 10px;
}

.arrow-icon i,
.arrow-icon::before,
.arrow-icon::after {
  position: absolute;
  display: block;
  content: "";
  background: currentColor;
}

.arrow-icon i {
  top: 4px;
  width: 17px;
  height: 1px;
}

.arrow-icon::before,
.arrow-icon::after {
  width: 6px;
  height: 1px;
}

.arrow-icon--right::before {
  top: 2px;
  right: -1px;
  transform: rotate(45deg);
}

.arrow-icon--right::after {
  right: -1px;
  bottom: 2px;
  transform: rotate(-45deg);
}

.arrow-icon--left::before {
  top: 2px;
  left: -1px;
  transform: rotate(-45deg);
}

.arrow-icon--left::after {
  bottom: 2px;
  left: -1px;
  transform: rotate(45deg);
}

.shelf-index {
  position: absolute;
  z-index: 29;
  right: clamp(24px, 5vw, 82px);
  bottom: 30px;
  left: clamp(24px, 5vw, 82px);
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 38px;
  align-items: end;
  transition: opacity 300ms ease, transform 420ms var(--ease-out);
}

.shelf-index__ticks {
  display: grid;
  align-items: end;
  height: 21px;
}

.shelf-index__ticks button {
  position: relative;
  display: block;
  width: 100%;
  height: 21px;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.shelf-index__ticks button::before {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--hairline);
}

.shelf-index__ticks button span {
  position: absolute;
  z-index: 1;
  right: 50%;
  bottom: 1px;
  width: 1px;
  height: 7px;
  background: var(--ink);
  opacity: 0.48;
  transition: height 220ms ease, opacity 220ms ease, width 220ms ease;
}

.shelf-index__ticks button:hover span,
.shelf-index__ticks button.is-active span {
  width: 2px;
  height: 18px;
  opacity: 1;
}

.input-hint {
  display: flex;
  gap: 11px;
  align-items: center;
  padding-bottom: 1px;
  color: var(--ink-soft);
  white-space: nowrap;
  font-size: 8px;
  font-weight: 610;
  letter-spacing: 0.14em;
}

.input-hint i {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: currentColor;
}

.collection-note {
  position: absolute;
  z-index: 18;
  right: clamp(24px, 3.5vw, 58px);
  bottom: 68px;
  max-width: 260px;
  margin: 0;
  color: rgba(36, 33, 28, 0.45);
  text-align: right;
  font-family: var(--serif);
  font-size: 10px;
  line-height: 1.3;
  transition: opacity 280ms ease;
}

.book-details {
  position: absolute;
  z-index: 34;
  top: 0;
  right: 0;
  width: min(625px, 42vw);
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transform: translateX(50px);
  transition: opacity 410ms ease 60ms, transform 620ms var(--ease-out);
}

.book-details::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(238, 232, 219, 0), rgba(238, 232, 219, 0.86) 11%, var(--paper) 25%),
    var(--paper);
}

.book-details__inner {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  height: 100%;
  padding: 27px clamp(28px, 4vw, 68px) 30px clamp(52px, 6vw, 98px);
  border-left: 1px solid rgba(36, 33, 28, 0.08);
}

.back-button {
  display: inline-flex;
  gap: 13px;
  align-items: center;
  justify-self: start;
  padding: 0;
  background: transparent;
  cursor: pointer;
  font-size: 9px;
  font-weight: 660;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.back-button .arrow-icon {
  transform: scale(0.78);
}

.book-details__position {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-self: end;
  margin-top: -9px;
  font-size: 9px;
  font-weight: 630;
  letter-spacing: 0.14em;
}

.book-details__position i {
  width: 34px;
  height: 1px;
  margin: 0 5px;
  background: currentColor;
  opacity: 0.28;
}

.book-details__copy {
  align-self: center;
  max-height: 100%;
  padding: 34px 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--hairline) transparent;
}

.details-eyebrow {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 660;
  letter-spacing: 0.19em;
  line-height: 1;
  text-transform: uppercase;
}

.book-details h2 {
  max-width: 510px;
  margin: 0;
  text-wrap: balance;
  font-family: var(--serif);
  font-size: clamp(42px, 4.4vw, 72px);
  font-weight: 420;
  letter-spacing: -0.056em;
  line-height: 0.9;
}

.details-author {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
}

.details-description {
  max-width: 520px;
  margin: 34px 0 0;
  font-family: var(--serif);
  font-size: clamp(16px, 1.25vw, 20px);
  font-weight: 420;
  line-height: 1.4;
}

.book-details blockquote {
  position: relative;
  max-width: 480px;
  margin: 32px 0 0;
  padding: 0 0 0 23px;
  border-left: 1px solid currentColor;
}

.book-details blockquote p {
  margin: 0;
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  line-height: 1.32;
}

.book-details blockquote cite {
  display: block;
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 8px;
  font-style: normal;
  font-weight: 660;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.book-details dl {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 20px;
  max-width: 500px;
  margin: 34px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--hairline);
}

.book-details dl div {
  min-width: 0;
}

.book-details dt {
  margin-bottom: 5px;
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 660;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.book-details dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.25;
}

.read-book-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(500px, 100%);
  margin-top: 27px;
  padding: 16px 0 12px;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  font-weight: 670;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.read-book-button span:last-child {
  font-size: 16px;
  font-weight: 420;
  transition: transform 220ms ease;
}

.read-book-button:hover span:last-child {
  transform: translate3d(3px, -3px, 0);
}

.focus-controls {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 590;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.focus-controls span + span::before {
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 14px 2px 0;
  border-radius: 50%;
  content: "";
  background: currentColor;
}

.focus-controls button {
  padding: 8px 12px;
  border: 1px solid var(--hairline);
  background: transparent;
  cursor: pointer;
  color: var(--ink);
  font-size: 8px;
  font-weight: 660;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.press-experience.is-focused .browse-caption {
  opacity: 0;
  transform: translate3d(-24px, 0, 0);
}

.press-experience.is-focused .shelf-arrow,
.press-experience.is-focused .shelf-index,
.press-experience.is-focused .experience-status,
.press-experience.is-focused .collection-note {
  opacity: 0;
  pointer-events: none;
}

.press-experience.is-focused .shelf-index {
  transform: translateY(12px);
}

.press-experience.is-focused .book-details {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.press-experience.is-focused .shelf-light {
  opacity: 0.46;
}

.press-experience.is-focused .book-slot:not(.is-presented) {
  opacity: 0.065;
  filter: saturate(0.3) blur(0.4px);
}

.press-experience.is-focused .book-slot.is-presented .book-cover-object {
  transform: translate3d(-49%, -2px, 225px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(1.075);
}

.press-experience.is-focused .continuous-shelf {
  opacity: 0.33;
  transition: opacity 500ms ease;
}

.press-experience.is-focused .site-header {
  opacity: 0.78;
}

.search-dialog {
  position: fixed;
  z-index: 100;
  top: 50%;
  width: min(710px, calc(100vw - 36px));
  max-height: min(690px, calc(100dvh - 48px));
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(36, 33, 28, 0.18);
  border-radius: 2px;
  color: var(--ink);
  background: rgba(246, 241, 231, 0.98);
  box-shadow: 0 35px 100px rgba(42, 31, 22, 0.25);
  transform: translateY(-46%) scale(0.975);
  opacity: 0;
  transition: opacity 240ms ease, transform 340ms var(--ease-out), overlay 340ms ease allow-discrete, display 340ms ease allow-discrete;
}

.search-dialog[open] {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

@starting-style {
  .search-dialog[open] {
    opacity: 0;
    transform: translateY(-47%) scale(0.98);
  }
}

.search-dialog::backdrop {
  background: rgba(48, 38, 29, 0.26);
  backdrop-filter: blur(12px);
}

.search-dialog__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 30px 32px 22px;
}

.search-dialog__top small {
  display: block;
  margin-bottom: 11px;
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 660;
  letter-spacing: 0.18em;
}

.search-dialog__top h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 430;
  letter-spacing: -0.04em;
  line-height: 1;
}

.search-close {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.search-close svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
}

.search-field {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 13px;
  align-items: center;
  margin: 0 32px;
  padding: 14px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.search-field svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.search-field input {
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--serif);
  font-size: 20px;
}

.search-field input::placeholder {
  color: rgba(36, 33, 28, 0.38);
}

.search-field kbd {
  padding: 4px 6px;
  border: 1px solid var(--hairline);
  border-radius: 3px;
  color: var(--ink-soft);
  background: transparent;
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.1em;
}

.search-results {
  max-height: 450px;
  padding: 12px 20px 22px;
  overflow-y: auto;
}

.search-result {
  display: grid;
  grid-template-columns: 45px 1fr auto;
  gap: 15px;
  align-items: center;
  width: 100%;
  padding: 11px 12px;
  border-bottom: 1px solid rgba(36, 33, 28, 0.1);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: background-color 180ms ease;
}

.search-result:hover,
.search-result.is-active {
  background: rgba(36, 33, 28, 0.055);
}

.search-result img {
  width: 43px;
  height: 58px;
  border-radius: 1px 4px 4px 1px;
  object-fit: cover;
  box-shadow: 0 6px 12px rgba(50, 35, 25, 0.17);
}

.search-result strong {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
}

.search-result small {
  display: block;
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 10px;
}

.search-result > span:last-child {
  color: var(--ink-soft);
  font-size: 15px;
}

.search-empty {
  padding: 44px 18px;
  color: var(--ink-soft);
  text-align: center;
  font-family: var(--serif);
  font-size: 17px;
}

.reader-overlay {
  position: fixed;
  z-index: 200;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  background: #f8f7f4;
  transform: translateY(20px) scale(0.994);
  transition: opacity 280ms ease, transform 520ms var(--ease-out), visibility 520ms ease;
}

.reader-overlay.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reader-overlay iframe {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  background: #f8f7f4;
  transition: opacity 280ms ease;
}

.reader-overlay.is-ready iframe {
  opacity: 1;
}

.reader-overlay__loader {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 16px;
  color: #27221d;
  background: #f8f7f4;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.reader-overlay.is-ready .reader-overlay__loader {
  visibility: hidden;
  opacity: 0;
}

.reader-overlay__loader > span {
  display: flex;
  gap: 5px;
  align-items: flex-end;
  height: 55px;
}

.reader-overlay__loader i {
  display: block;
  width: 12px;
  background: currentColor;
  animation: loader-books 1.1s ease-in-out infinite alternate;
}

.reader-overlay__loader i:nth-child(1) { height: 40px; }
.reader-overlay__loader i:nth-child(2) { height: 54px; animation-delay: -0.32s; }
.reader-overlay__loader i:nth-child(3) { height: 34px; animation-delay: -0.67s; }

.reader-overlay__loader strong {
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@keyframes loader-books {
  from { opacity: 0.4; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.loading-screen {
  position: absolute;
  z-index: 90;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  background: var(--paper);
  transition: opacity 720ms ease 120ms, visibility 720ms ease 120ms;
}

.press-experience.is-ready .loading-screen {
  visibility: hidden;
  opacity: 0;
}

.loading-mark {
  display: flex;
  gap: 5px;
  align-items: flex-end;
  height: 62px;
}

.loading-mark span {
  display: block;
  width: 13px;
  background: var(--ink);
  animation: assemble 1.25s ease-in-out infinite alternate;
}

.loading-mark span:nth-child(1) { height: 46px; }
.loading-mark span:nth-child(2) { height: 59px; animation-delay: -0.42s; }
.loading-mark span:nth-child(3) { height: 39px; animation-delay: -0.78s; }

.loading-screen p {
  margin: 19px 0 0;
  font-size: 9px;
  font-weight: 640;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

@keyframes assemble {
  from { opacity: 0.42; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.toast {
  position: fixed;
  z-index: 300;
  right: 24px;
  bottom: 24px;
  max-width: min(380px, calc(100vw - 48px));
  padding: 13px 16px;
  border: 1px solid rgba(36, 33, 28, 0.18);
  color: var(--paper-light);
  background: rgba(36, 33, 28, 0.93);
  box-shadow: 0 18px 45px rgba(36, 33, 28, 0.18);
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 220ms ease, transform 260ms var(--ease-out);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.noscript-message {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: grid;
  place-content: center;
  padding: 32px;
  color: var(--ink);
  background: var(--paper);
  text-align: center;
  font-family: var(--serif);
  font-size: 22px;
}

@media (max-width: 1100px) {
  .book-details {
    width: min(570px, 48vw);
  }

  .book-details__inner {
    padding-right: 34px;
    padding-left: 60px;
  }

  .focus-controls span:nth-child(2) {
    display: none;
  }

  .collection-note {
    display: none;
  }

  .header-action span {
    display: none;
  }
}

@media (max-width: 760px) {
  .press-experience {
    min-height: 460px;
  }

  .site-header {
    padding: 19px 18px;
  }

  .wordmark {
    gap: 8px;
    font-size: 7.5px;
    letter-spacing: 0.14em;
  }

  .wordmark i {
    width: 13px;
  }

  .wordmark span:last-child {
    max-width: 105px;
    line-height: 1.25;
  }

  .header-actions {
    gap: 12px;
  }

  .header-action {
    padding: 0;
    border: 0;
  }

  .header-action svg {
    width: 17px;
    height: 17px;
  }

  .edition-mark {
    display: none;
  }

  .experience-status {
    top: 55px;
    left: 18px;
    max-width: 70vw;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .shelf-viewport {
    perspective-origin: 50% 38%;
  }

  .shelf-track {
    bottom: 130px;
    height: min(57vh, 490px);
    min-height: 300px;
    padding-right: 60vw;
    padding-left: 28vw;
  }

  .browse-caption {
    right: 0;
    bottom: 92px;
    left: 0;
    width: auto;
    padding: 50px 20px 16px;
    background: linear-gradient(180deg, rgba(238, 232, 219, 0), rgba(238, 232, 219, 0.97) 43px, var(--paper) 63px);
  }

  .browse-caption::before {
    display: none;
  }

  .book-position {
    margin-bottom: 12px;
  }

  .browse-caption h1 {
    max-width: 84vw;
    font-size: clamp(39px, 12.5vw, 58px);
  }

  .active-author {
    margin-top: 12px;
    font-size: 14px;
  }

  .inspect-button {
    margin-top: 15px;
  }

  .continuous-shelf {
    bottom: 112px;
  }

  .floor-shadow {
    bottom: 88px;
  }

  .shelf-arrow {
    top: auto;
    bottom: 49px;
    width: 42px;
    height: 42px;
  }

  .shelf-arrow--left { left: 18px; }
  .shelf-arrow--right { right: 18px; }

  .shelf-index {
    right: 71px;
    bottom: 61px;
    left: 71px;
    display: block;
  }

  .shelf-index__ticks,
  .shelf-index__ticks button {
    height: 13px;
  }

  .shelf-index__ticks button span {
    bottom: 2px;
    height: 5px;
  }

  .shelf-index__ticks button:hover span,
  .shelf-index__ticks button.is-active span {
    height: 12px;
  }

  .input-hint {
    display: none;
  }

  .book-details {
    top: auto;
    bottom: 0;
    width: 100%;
    height: min(52dvh, 520px);
    opacity: 0;
    transform: translateY(100%);
  }

  .book-details::before {
    top: -60px;
    background:
      linear-gradient(180deg, rgba(238, 232, 219, 0), rgba(238, 232, 219, 0.95) 58px, var(--paper) 59px),
      var(--paper);
  }

  .press-experience.is-focused .book-details {
    opacity: 1;
    transform: translateY(0);
  }

  .book-details__inner {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto minmax(0, 1fr) auto;
    padding: 8px 20px max(14px, env(safe-area-inset-bottom));
    border-top: 1px solid rgba(36, 33, 28, 0.08);
    border-left: 0;
  }

  .back-button {
    grid-column: 1;
    grid-row: 1;
  }

  .book-details__position {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
  }

  .book-details__position i {
    width: 20px;
  }

  .book-details__copy {
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: auto;
    padding: 24px 0 18px;
  }

  .details-eyebrow {
    margin-bottom: 11px;
  }

  .book-details h2 {
    max-width: 92%;
    font-size: clamp(35px, 10vw, 48px);
  }

  .details-author {
    margin-top: 10px;
    font-size: 14px;
  }

  .details-description {
    margin-top: 20px;
    font-size: 16px;
  }

  .book-details blockquote {
    margin-top: 21px;
  }

  .book-details dl {
    margin-top: 23px;
  }

  .read-book-button {
    margin-top: 22px;
  }

  .focus-controls {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .focus-controls span:nth-child(2) {
    display: none;
  }

  .press-experience.is-focused .site-header {
    opacity: 0.45;
  }

  .press-experience.is-focused .book-slot.is-presented .book-cover-object {
    transform: translate3d(-49%, -2px, 190px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(0.9);
  }

  .search-dialog__top {
    padding: 25px 20px 18px;
  }

  .search-dialog__top h2 {
    font-size: 36px;
  }

  .search-field {
    margin: 0 20px;
  }

  .search-results {
    padding: 10px 8px 18px;
  }
}

@media (max-height: 700px) and (min-width: 761px) {
  .browse-caption {
    bottom: 94px;
  }

  .shelf-track {
    bottom: 58px;
    height: 67vh;
  }

  .book-details__copy {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .book-details h2 {
    font-size: clamp(38px, 4vw, 58px);
  }

  .details-description,
  .book-details blockquote,
  .book-details dl {
    margin-top: 20px;
  }
}

@media (pointer: coarse) {
  .shelf-viewport {
    cursor: default;
  }

  .shelf-index__ticks button {
    min-height: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }
}

/* Mobile composition: the physical book lives above the editorial caption, rather than behind it. */
@media (max-width: 760px) {
  .press-experience {
    --mobile-shelf-bottom: clamp(240px, 40.5vh, 355px);
  }

  .shelf-track {
    bottom: var(--mobile-shelf-bottom);
  }

  .continuous-shelf {
    bottom: calc(var(--mobile-shelf-bottom) - 62px);
  }

  .floor-shadow {
    bottom: calc(var(--mobile-shelf-bottom) - 83px);
  }

  .book-details__copy {
    display: flex;
    flex-direction: column;
  }

  .book-details__copy .details-eyebrow { order: 1; }
  .book-details__copy h2 { order: 2; }
  .book-details__copy .details-author { order: 3; }
  .book-details__copy .read-book-button {
    order: 4;
    margin-top: 18px;
    margin-bottom: 0;
  }
  .book-details__copy .details-description { order: 5; }
  .book-details__copy blockquote { order: 6; }
  .book-details__copy dl { order: 7; }
}

/* Keep the final shelf silhouette clean; the title is the spine's primary label. */
.spine-author,
.collection-note {
  display: none;
}
