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

:root {
  --ink: #181411;
  --muted: #6b6258;
  --paper: #f4ecd9;
  --paper-deep: #e7dcc4;
  --rust: #a64e2f;
  --gold: #d4a65a;
  --night: #17120f;
  --page-w: clamp(300px, min(38vw, calc((100dvh - 190px) / 1.30)), 560px);
  --page-ratio: 1.30;
}

html {
  min-height: 100%;
  background: #100d0b;
}

body {
  margin: 0;
  min-height: 100vh;
  color: #f7f1e6;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 25% 10%, rgba(150, 88, 47, .24), transparent 32rem),
    radial-gradient(circle at 80% 85%, rgba(76, 56, 42, .25), transparent 36rem),
    linear-gradient(135deg, #0c0a09, #1c1612 58%, #0d0a09);
}

button {
  font: inherit;
}

button:focus-visible {
  outline: 3px solid #f1c172;
  outline-offset: 3px;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 18px clamp(16px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  z-index: 50;
}

.brand-button,
.ghost-button,
.nav-button,
.replay-button,
.dialog-close {
  border: 0;
  cursor: pointer;
}

.brand-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28);
  background: linear-gradient(145deg, #55301f, #1b1511);
  font-weight: 900;
  letter-spacing: -.06em;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.04);
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  letter-spacing: .08em;
  font-size: .95rem;
}

.brand-copy small {
  color: #bdb1a4;
  margin-top: 5px;
}

.ghost-button {
  color: #f8f1e6;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  padding: 10px 16px;
  transition: background .2s ease, transform .2s ease;
}

.ghost-button:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-1px);
}

.stage {
  width: min(1440px, 100%);
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 16px 26px;
  overflow: hidden;
}

.book-wrap {
  width: min(1320px, 100%);
  min-height: min(78vh, 790px);
  display: grid;
  place-items: center;
  perspective: 2600px;
  position: relative;
}

.book {
  width: var(--page-w);
  height: calc(var(--page-w) * var(--page-ratio));
  position: relative;
  transform-style: preserve-3d;
  transform: translateX(12%);
  transition: transform .55s ease;
}

.book.opened {
  transform: translateX(24%);
}

.sheet {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform-origin: 0% 50%;
  transition:
    transform 1.05s cubic-bezier(.2,.72,.12,1),
    filter .7s ease;
  will-change: transform;
}

.sheet.flipped {
  transform: rotateY(-180deg);
  filter: drop-shadow(-18px 14px 17px rgba(0,0,0,.24));
}

.page-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 4px 12px 12px 4px;
}

.page-front {
  transform: rotateY(0deg);
  box-shadow:
    0 30px 70px rgba(0,0,0,.45),
    inset 10px 0 18px rgba(40,25,10,.11),
    inset -1px 0 rgba(255,255,255,.4);
}

.page-back {
  transform: rotateY(180deg);
  border-radius: 12px 4px 4px 12px;
}

.paper,
.paper-back {
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(80,52,26,.09), transparent 3.6%, transparent 96%, rgba(60,35,17,.04)),
    radial-gradient(circle at 24% 16%, rgba(255,255,255,.58), transparent 24%),
    radial-gradient(circle at 78% 80%, rgba(122,88,52,.06), transparent 32%),
    var(--paper);
}

.paper-back::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 80%, rgba(87,50,19,.06)),
    repeating-linear-gradient(0deg, rgba(42,31,20,.018) 0 1px, transparent 1px 4px);
}

.page-inner {
  height: 100%;
  padding: clamp(26px, 3.7vw, 46px);
  display: flex;
  flex-direction: column;
}

.page-kicker,
.eyebrow {
  margin: 0 0 12px;
  font-size: clamp(.66rem, 1vw, .82rem);
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rust);
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  text-wrap: balance;
}

h1 {
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: .86;
  letter-spacing: -.055em;
}

h2 {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: clamp(2.15rem, 4.7vw, 3.7rem);
  line-height: .94;
  letter-spacing: -.045em;
}

p {
  font-size: clamp(.88rem, 1.28vw, 1.05rem);
  line-height: 1.48;
  margin: 0 0 1.05em;
}

.lead {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 1.85vw, 1.42rem);
  line-height: 1.4;
  color: #2b241e;
}

blockquote {
  margin: auto 0 4px;
  padding: 17px 0 0 20px;
  border-left: 5px solid var(--rust);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.12rem, 2.2vw, 1.55rem);
  font-style: italic;
  line-height: 1.38;
}

blockquote cite {
  display: block;
  margin-top: 13px;
  font: 700 .78rem/1.2 ui-sans-serif, system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
}

.small-quote {
  margin-top: auto;
  font-size: clamp(1rem, 1.8vw, 1.28rem);
}

.rule {
  height: 1px;
  background: linear-gradient(90deg, var(--rust), transparent);
  margin: 5px 0 25px;
}

.folio {
  position: absolute;
  right: 24px;
  bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: .8rem;
  color: rgba(55,45,36,.6);
}

.style-strip,
.instrument-line {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.style-strip span,
.instrument-line span {
  border: 1px solid rgba(91,60,37,.28);
  border-radius: 999px;
  padding: 8px 10px;
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.cover,
.closing-page {
  color: #fff;
  background: #070605;
}

.cover-photo,
.closing-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}

.cover-vignette,
.closing-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.05) 42%, rgba(0,0,0,.86) 100%),
    linear-gradient(90deg, rgba(0,0,0,.48), transparent 40%, rgba(0,0,0,.06));
}

.cover-copy {
  position: absolute;
  left: clamp(25px, 5vw, 54px);
  right: clamp(25px, 5vw, 54px);
  bottom: clamp(26px, 5vw, 52px);
  text-shadow: 0 4px 22px rgba(0,0,0,.8);
}

.cover .eyebrow,
.closing-page .eyebrow {
  color: #ffd28b;
}

.cover-tag {
  margin: 15px 0 2px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(1.12rem, 2.4vw, 1.65rem);
}

.cover-style {
  margin: 0;
  font-size: clamp(.72rem, 1.5vw, .95rem);
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #ded5ca;
}

.open-hint {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #d9d0c6;
  font-size: .78rem;
  gap: 16px;
}

.corner-arrow {
  font-size: 1.4rem;
}

.dark-accent::after {
  content: "";
  position: absolute;
  width: 42%;
  height: 5px;
  left: 0;
  top: 0;
  background: var(--rust);
}

.split-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  height: 100%;
}

.split-copy {
  padding: clamp(28px, 4.2vw, 48px);
  display: flex;
  flex-direction: column;
}

.split-photo {
  margin: 0;
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.split-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.split-photo figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px 13px;
  border-radius: 8px;
  color: #fff;
  background: rgba(10,8,7,.76);
  backdrop-filter: blur(7px);
  font-size: clamp(.63rem, 1vw, .78rem);
  line-height: 1.4;
}

.mobile-caption {
  display: none;
}

.rhythm-graphic {
  margin: auto 0 26px;
  min-height: 80px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.beat {
  width: 9px;
  height: 36px;
  border-radius: 999px;
  background: #4c4036;
}

.beat.big {
  height: 68px;
  background: var(--rust);
}

.callout {
  display: grid;
  gap: 5px;
  padding-top: 18px;
  border-top: 1px solid rgba(64,45,28,.2);
}

.callout strong {
  color: var(--rust);
  letter-spacing: .1em;
  font-size: .78rem;
}

.callout span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.display-line {
  margin: auto 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
}

.bass-lines {
  display: grid;
  gap: 11px;
}

.bass-lines span {
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rust), #30271f 82%, transparent);
}

.roster {
  display: grid;
  margin-top: 10px;
  border-top: 1px solid rgba(70,47,28,.24);
}

.roster-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  padding: clamp(15px, 2vw, 22px) 0;
  border-bottom: 1px solid rgba(70,47,28,.18);
}

.roster-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2.3vw, 1.65rem);
  font-weight: 700;
}

.roster-role {
  align-self: center;
  color: #594e43;
  font-size: clamp(.83rem, 1.35vw, 1rem);
}

.genre-box {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.genre-box span {
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 10px;
  border-radius: 4px;
  background: #211915;
  color: #fff4df;
  font-weight: 800;
  text-align: center;
  font-size: clamp(.68rem, 1.2vw, .9rem);
}

.closing-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(30px, 5vw, 58px);
}

.closing-copy h2 {
  color: #fff;
  margin-bottom: 14px;
  font-size: clamp(2.6rem, 6.6vw, 5.2rem);
  text-shadow: 0 5px 24px rgba(0,0,0,.8);
}

.closing-copy p {
  color: #e5dbce;
}

.replay-button {
  align-self: flex-start;
  margin-top: 12px;
  padding: 11px 15px;
  border-radius: 999px;
  color: #18120f;
  background: #f0c779;
  font-weight: 800;
}

.book-controls {
  display: grid;
  grid-template-columns: 52px minmax(180px, 310px) 52px;
  align-items: center;
  gap: 12px;
  margin-top: 2px;
  position: relative;
  z-index: 40;
}

.nav-button {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.09);
  color: #fff;
  border: 1px solid rgba(255,255,255,.15);
  font-size: 1.4rem;
  transition: transform .2s ease, background .2s ease, opacity .2s ease;
}

.nav-button:hover:not(:disabled) {
  background: rgba(255,255,255,.15);
  transform: translateY(-2px);
}

.nav-button:disabled {
  cursor: not-allowed;
  opacity: .28;
}

.page-status {
  display: grid;
  place-items: center;
  text-align: center;
  line-height: 1.15;
}

#pageTitle {
  font-weight: 800;
}

.page-counter {
  margin-top: 4px;
  color: #ab9e91;
  font-size: .76rem;
}

.gesture-note {
  margin: 9px 0 0;
  color: #8e8378;
  font-size: .72rem;
  text-align: center;
}

.contents-dialog {
  width: min(680px, calc(100% - 32px));
  max-height: min(760px, calc(100vh - 40px));
  border: 0;
  border-radius: 18px;
  padding: 0;
  background: #f5eddb;
  color: var(--ink);
  box-shadow: 0 40px 120px rgba(0,0,0,.7);
}

.contents-dialog::backdrop {
  background: rgba(6,5,4,.76);
  backdrop-filter: blur(5px);
}

.contents-card {
  padding: clamp(24px, 5vw, 42px);
}

.contents-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
  margin-bottom: 20px;
}

.contents-head h2 {
  font-size: clamp(2rem, 6vw, 3rem);
  margin: 0;
}

.eyebrow.dark {
  color: var(--rust);
}

.dialog-close {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e7dcc6;
  color: #1e1713;
  font-size: 1.5rem;
}

.contents-list {
  display: grid;
  gap: 6px;
}

.contents-item {
  width: 100%;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 12px 14px;
  border-radius: 9px;
  border: 1px solid rgba(57,40,26,.08);
  color: #1c1713;
  background: rgba(255,255,255,.45);
  cursor: pointer;
}

.contents-item:hover {
  background: #fff9ed;
}

.contents-number {
  color: var(--rust);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.contents-title {
  font-weight: 750;
}

@media (max-width: 900px) {
  :root {
    --page-w: min(76vw, 560px);
  }

  .book {
    transform: translateX(9%);
  }

  .book.opened {
    transform: translateX(14%);
  }

  p {
    line-height: 1.48;
  }
}

@media (max-width: 680px) {
  :root {
    --page-w: min(88vw, calc((100dvh - 175px) / 1.42), 430px);
    --page-ratio: 1.42;
  }

  .topbar {
    padding: 12px 14px;
  }

  .brand-copy small {
    display: none;
  }

  .stage {
    justify-content: flex-start;
    padding-top: 2px;
  }

  .book-wrap {
    min-height: auto;
    padding: 12px 0 18px;
  }

  .book,
  .book.opened {
    transform: translateX(0);
  }

  .page-inner {
    padding: 27px 25px 35px;
  }

  h2 {
    margin-bottom: 14px;
  }

  p {
    font-size: clamp(.82rem, 3.45vw, .98rem);
    line-height: 1.42;
    margin-bottom: .78em;
  }

  .lead {
    font-size: clamp(1rem, 4.4vw, 1.25rem);
  }

  .split-layout {
    display: block;
    position: relative;
  }

  .split-copy {
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    padding: 24px 22px 31px;
    color: #fff;
    background: linear-gradient(180deg, transparent, rgba(8,6,5,.92) 25%);
  }

  .split-copy h2,
  .split-copy .lead,
  .split-copy .page-kicker {
    color: #fff;
  }

  .split-copy .lead {
    margin-bottom: 0;
  }

  .split-copy > p:not(.lead):not(.mobile-caption) {
    display: none;
  }

  .split-photo {
    height: 100%;
  }

  .split-photo figcaption {
    display: none;
  }

  .mobile-caption {
    display: block;
    color: #dfd5ca;
    font-size: .68rem;
    line-height: 1.35;
    margin-top: 10px;
  }

  .roster-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 11px 0;
  }

  .genre-box span {
    min-height: 54px;
  }

  .style-strip,
  .instrument-line {
    gap: 5px;
  }

  .style-strip span,
  .instrument-line span {
    padding: 6px 7px;
    font-size: .55rem;
  }

  .book-controls {
    grid-template-columns: 46px minmax(150px, 1fr) 46px;
    width: min(430px, 92vw);
  }

  .nav-button {
    width: 46px;
    height: 46px;
  }

  .gesture-note {
    max-width: 90vw;
  }
}

@media (max-width: 410px) {
  .ghost-button {
    padding: 9px 12px;
    font-size: .8rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .page-kicker {
    margin-bottom: 7px;
  }

  .page-inner {
    padding: 22px 21px 31px;
  }

  blockquote {
    padding-left: 13px;
  }
}

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


/* --- Live performance pages added in revision 2 --- */
.live-full-page {
  background: #070605;
  color: #fff;
}

.live-full-page > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
}

.live-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.02) 35%, rgba(0,0,0,.78) 100%),
    linear-gradient(90deg, rgba(0,0,0,.35), transparent 55%);
}

.live-copy {
  position: absolute;
  left: clamp(24px, 5vw, 52px);
  right: clamp(24px, 5vw, 52px);
  bottom: clamp(28px, 5vw, 52px);
  text-shadow: 0 4px 20px rgba(0,0,0,.85);
}

.live-copy h2 {
  color: #fff;
  margin-bottom: 10px;
}

.live-copy p:last-child {
  margin: 0;
  color: #e8ded2;
}

.folio.light {
  color: rgba(255,255,255,.72);
}

.gallery-page {
  padding: 0;
}

.gallery-grid {
  height: 100%;
  display: grid;
  grid-template-columns: 1.35fr .85fr;
  grid-template-rows: 1.05fr .95fr;
  gap: 8px;
  padding: 8px;
  background: #17120f;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 3px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-large {
  grid-row: 1 / 3;
}

.gallery-small img {
  object-position: 50% 42%;
}

.gallery-caption {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(18px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gallery-caption h2 {
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  margin-bottom: 12px;
}

.gallery-caption p:last-child {
  margin-bottom: 0;
}

@media (max-width: 680px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 1.2fr .8fr auto;
  }

  .gallery-large {
    grid-row: auto;
  }

  .gallery-caption {
    padding: 16px 18px;
  }

  .gallery-caption h2 {
    margin-bottom: 5px;
  }

  .gallery-caption p:last-child {
    font-size: .78rem;
  }
}


/* --- Revision 3: safer text fit and more book-like page proportions --- */
.page-inner {
  min-height: 0;
  overflow: auto;
  scrollbar-width: none;
}

.page-inner::-webkit-scrollbar {
  display: none;
}

.turn-note {
  margin-top: auto;
  padding-top: 18px;
  color: var(--rust);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (min-width: 681px) and (max-height: 820px) {
  .page-inner {
    padding: 24px 30px 34px;
  }

  h2 {
    margin-bottom: 14px;
    font-size: clamp(2rem, 4vw, 3rem);
  }

  p {
    font-size: clamp(.82rem, 1.05vw, .94rem);
    line-height: 1.42;
    margin-bottom: .82em;
  }

  .lead {
    font-size: clamp(1rem, 1.5vw, 1.22rem);
  }

  blockquote {
    font-size: clamp(1rem, 1.55vw, 1.24rem);
  }
}


/* --- Revision 4: Steve page split to prevent bottom clipping --- */
.steve-bio .instrument-line {
  margin-top: auto;
}

.steve-quote-page {
  background: #080605;
  color: #fff;
}

.steve-quote-page > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 49% 48%;
}

.steve-quote-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.04) 25%, rgba(0,0,0,.86) 100%),
    linear-gradient(90deg, rgba(0,0,0,.28), transparent 60%);
}

.steve-quote-copy {
  position: absolute;
  left: clamp(24px, 5vw, 48px);
  right: clamp(24px, 5vw, 48px);
  bottom: clamp(30px, 5vw, 50px);
  text-shadow: 0 3px 18px rgba(0,0,0,.85);
}

.steve-quote-copy blockquote {
  margin: 0;
  color: #fff;
  border-left-color: #f0c779;
  font-size: clamp(1.08rem, 1.75vw, 1.35rem);
  line-height: 1.38;
}

.steve-quote-copy blockquote cite {
  color: #eadbc8;
}

@media (max-width: 680px) {
  .steve-bio {
    padding-bottom: 30px;
  }

  .steve-quote-copy {
    left: 22px;
    right: 22px;
    bottom: 28px;
  }

  .steve-quote-copy blockquote {
    font-size: clamp(.98rem, 4.2vw, 1.16rem);
  }
}

/* --- Revision 10: lightweight mobile page-sweep --- */
@media (max-width: 680px) {
  .book {
    perspective: none;
    transform-style: flat;
    overflow: visible;
  }

  .sheet {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0,0,0);
    filter: none;
    transition: none;
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  .sheet.is-current,
  .sheet.is-transitioning {
    visibility: visible;
    opacity: 1;
  }

  .sheet.is-current {
    pointer-events: auto;
    z-index: 500 !important;
  }

  .sheet.is-transitioning {
    z-index: 520 !important;
  }

  .sheet.is-current .page-back,
  .sheet.is-transitioning .page-back {
    display: none;
  }

  .sheet.is-current .page-front,
  .sheet.is-transitioning .page-front {
    transform: translate3d(0,0,0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  /* A moving inner shadow gives the sweep a paper-turn feel without 3D. */
  .sheet.is-transitioning::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 4px 12px 12px 4px;
    opacity: var(--turn-shadow, 0);
    background:
      linear-gradient(
        90deg,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,.05) 66%,
        rgba(0,0,0,.22) 100%
      );
  }

  .steve-quote-page > img {
    position: absolute;
    inset: 0;
  }

  .steve-quote-overlay {
    z-index: 1;
  }

  .steve-quote-copy {
    z-index: 2;
    display: block;
  }

  .folio {
    z-index: 3;
  }
}

/* --- Revision 7: clean desktop closing page --- */
@media (min-width: 681px) {
  .book.is-closing {
    transform: translateX(0);
  }

  .book.is-closing .sheet {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    filter: none !important;
  }

  .book.is-closing .sheet.is-current {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    z-index: 999 !important;
    transform: none !important;
  }

  .book.is-closing .sheet.is-current .page-front {
    transform: none !important;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
  }

  .book.is-closing .sheet.is-current .page-back {
    display: none;
  }
}
