:root {
  --bg: #0f1410;
  --bg-2: #161d17;
  --bg-3: #1d261e;
  --paper: #ece4d2;
  --paper-2: #e2d8c2;
  --ink: #1b1a16;
  --cream: #efe7d6;
  --muted: #a9a593;
  --line: rgba(239, 231, 214, 0.14);
  --red: #c8211b;
  --red-2: #e0362f;
  --serif: "Source Serif 4", Georgia, serif;
  --slab: "Zilla Slab", "Rockwell", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--slab); font-weight: 700; line-height: 1.05; margin: 0 0 .5em; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.show-sm { display: none; }
.small { font-size: .85rem; color: var(--muted); margin: 0 0 .3em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-family: var(--mono);
  font-weight: 500;
  font-size: .9rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 14px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--red);
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--red-2); transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--cream); }
.btn-ghost:hover { background: rgba(255,255,255,.06); }
.btn-small { padding: 9px 16px; font-size: .78rem; }
.btn-big { padding: 18px 34px; font-size: 1rem; }
.link { font-family: var(--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; text-decoration: none; color: var(--muted); }
.link:hover { color: var(--cream); }

.btn-block { display: block; width: 100%; text-align: center; padding: 18px 24px; letter-spacing: .12em; }
.btn-glow { box-shadow: 0 10px 30px rgba(200,33,27,.35); }
.btn-glow:hover { box-shadow: 0 14px 38px rgba(224,54,47,.5); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 20, 16, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--slab); font-weight: 700; font-size: 1.15rem; text-decoration: none; margin: 0; }
.logo-mark { width: 10px; height: 22px; background: var(--red); display: inline-block; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--cream); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 80px; border-bottom: 1px solid var(--line); }
.hero-bg { position: absolute; inset: 0; overflow: hidden; background: #0b0f0c; }
/* the photo: right side, graded like film, slowly drifting */
.hero-photo {
  position: absolute; top: 0; right: 0;
  width: min(72%, 1100px); height: 100%;
  background: url("hero-bg.jpg") 60% 30% / cover no-repeat;
  filter: saturate(.7) contrast(1.12) brightness(.72) sepia(.12);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 45%);
          mask-image: linear-gradient(to right, transparent 0%, #000 45%);
  transform-origin: 65% 40%;
  animation: hero-drift 40s ease-in-out infinite alternate;
}
@keyframes hero-drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to   { transform: scale(1.14) translate3d(-1.5%, 1%, 0); }
}
/* low ground mist */
.hero-fog {
  position: absolute; inset: auto 0 0 0; height: 55%;
  background:
    radial-gradient(ellipse 60% 40% at 70% 100%, rgba(200, 210, 195, .10), transparent 70%),
    radial-gradient(ellipse 50% 30% at 30% 100%, rgba(200, 210, 195, .06), transparent 70%);
  animation: hero-fog 18s ease-in-out infinite alternate;
}
@keyframes hero-fog { from { transform: translateX(-3%); opacity: .7; } to { transform: translateX(3%); opacity: 1; } }
/* vignette + fade into the page */
.hero-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 120% 90% at 70% 35%, transparent 40%, rgba(5, 7, 5, .75) 100%),
    linear-gradient(90deg, rgba(11, 15, 12, .95) 0%, rgba(11, 15, 12, .55) 40%, rgba(11, 15, 12, .15) 70%),
    linear-gradient(0deg, var(--bg) 0%, transparent 28%),
    linear-gradient(180deg, rgba(11, 15, 12, .6) 0%, transparent 18%);
}
/* film grain hides the softness of the photo and feels cinematic */
.hero-grain {
  position: absolute; inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .09; mix-blend-mode: overlay;
  animation: hero-grain 1s steps(4) infinite;
}
@keyframes hero-grain {
  0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo, .hero-fog, .hero-grain { animation: none; }
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.eyebrow, .section-num {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.2em;
}
.section-num::before { content: ""; display: inline-block; width: 22px; height: 2px; background: var(--red); vertical-align: middle; margin-right: 10px; }
.hero h1 { font-size: clamp(3rem, 8vw, 6rem); text-transform: uppercase; letter-spacing: -0.02em; margin-bottom: .25em; }
.red-rule { display: block; width: 120px; height: 6px; background: var(--red); margin: 0 0 24px; }
.hero h1.hero-tag { font-family: var(--slab); font-weight: 700; font-size: clamp(2.4rem, 4.2vw, 3.6rem); line-height: 1.04; letter-spacing: -0.015em; text-transform: none; margin-bottom: .35em; }
.hero-tag em { font-style: normal; color: var(--red-2); }
.hero-text { color: #c9c3b1; font-size: 1.1rem; line-height: 1.65; max-width: 540px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 16px; }
.trust { font-family: var(--mono); font-size: .75rem; color: var(--muted); letter-spacing: .04em; }

.hero-books { min-width: 0; }
.hero-show-label { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.hero-show-label .badge { position: static; white-space: nowrap; }
.slideshow-hero .slide-stage { height: min(72vh, 660px); min-height: 440px; }
/* Hero book picker */
.preview-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 16px; }
.pick {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 9px 6px; cursor: pointer;
  background: rgba(15,20,16,.7); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--cream); font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em;
  transition: border-color .2s, background .2s;
}
.pick:hover { border-color: rgba(239,231,214,.4); }
.pick[aria-selected="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.pick-num { font-size: .8rem; font-weight: 500; }
.pick-state { font-size: .6rem; opacity: .7; }
.pick.has-preview:not([aria-selected="true"]) .pick-state { color: var(--red-2); opacity: 1; }
.preview-soon {
  height: min(72vh, 660px); min-height: 440px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  padding: 28px; text-align: center;
  background: rgba(10,13,11,.75); border: 1px solid var(--line); border-radius: 8px;
}
.preview-soon .cover { width: min(200px, 45%); box-shadow: 0 18px 44px rgba(0,0,0,.55); }
.preview-soon-text { max-width: 340px; }
.preview-soon-text p { margin: 0 0 14px; font-size: .95rem; color: var(--muted); }
.preview-soon-text .preview-soon-title { font-family: var(--slab); font-weight: 700; font-size: 1.35rem; color: var(--cream); margin-bottom: 6px; }

.slideshow-hero .slide { padding: 5% 8%; }
.slideshow-hero .slide-meta { margin-bottom: 0; }

/* hero buy card */
.buy-card {
  max-width: 500px; margin-top: 30px;
  padding: 28px;
  background: rgba(16, 20, 17, .82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 30px 60px rgba(0,0,0,.45);
  backdrop-filter: blur(6px);
}
.buy-card-price { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 22px; }
.buy-card .price { font-size: clamp(2.6rem, 4.5vw, 3.4rem); line-height: 1; }
.buy-card .old-price { font-family: var(--mono); font-size: 1.05rem; }
.buy-tag {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--red-2); border: 1px solid var(--red); padding: 6px 10px; border-radius: 2px;
}
.buy-card .btn-block + .btn-block { margin-top: 14px; }
.buy-card .trust { text-align: center; margin: 18px 0 0; }

/* ---------- covers ---------- */
.cover { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 2px; }
.cover-placeholder {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 22px;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 10px, transparent 10px 20px),
    linear-gradient(160deg, #273127, #121812);
  border: 1px solid var(--line);
  color: var(--cream);
}
.ph-top { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: auto; }
.ph-title { font-family: var(--slab); font-weight: 700; font-size: 1.6rem; line-height: 1; text-transform: uppercase; }
.ph-rule { width: 50px; height: 4px; background: var(--red); margin: 14px 0; }
.ph-sub { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: auto; }

/* ---------- sections ---------- */
.section { padding: 100px 0; border-bottom: 1px solid var(--line); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 680px; margin-bottom: 48px; }

.book-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.book-card { display: flex; flex-direction: column; }
.book-card-cover { position: relative; display: block; text-decoration: none; margin-bottom: 18px; transition: transform .3s; }
.book-card-cover:hover { transform: translateY(-4px); }
.book-card .cover { box-shadow: 0 16px 40px rgba(0,0,0,.45); }
.badge {
  position: absolute; top: 10px; left: 10px;
  font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(15,20,16,.85); border: 1px solid var(--line); padding: 4px 8px; border-radius: 2px;
}
.badge-live { background: var(--red); border-color: var(--red); color: #fff; }
.book-num { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red-2); margin: 0 0 .4em; }
.book-card h3 { margin-bottom: .3em; }
.book-sub { font-style: italic; font-size: .92rem; color: var(--muted); line-height: 1.45; }
.book-blurb { font-size: .95rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.book-card-actions { margin-top: auto; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
.soon { margin-top: auto; font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.is-coming .book-card-cover { opacity: .85; }

/* audio sneak peek: round play button on the cover */
.cover-wrap { position: relative; margin-bottom: 18px; }
.cover-wrap .book-card-cover { margin-bottom: 0; }
.audio-peek {
  --p: 0%;
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  width: 56px; height: 56px; border-radius: 50%; padding: 3px;
  background: conic-gradient(var(--cream) var(--p), rgba(255,255,255,.18) 0);
  box-shadow: 0 8px 24px rgba(0,0,0,.55);
}
.audio-btn { width: 100%; height: 100%; border-radius: 50%; border: 0; background: var(--red); cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .2s; }
.audio-btn:hover { background: var(--red-2); transform: scale(1.06); }
.audio-btn:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }
.audio-icon { width: 0; height: 0; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.is-playing .audio-icon { width: 14px; height: 18px; border: 0; margin: 0; border-left: 5px solid #fff; border-right: 5px solid #fff; }
.audio-peek.nudge { animation: nudge .4s; }
@keyframes nudge { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* featured */
.featured { background: var(--bg-2); }
.featured-inner { display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: center; }
.cover-lg { box-shadow: 0 40px 80px rgba(0,0,0,.6); }
.featured-sub { font-family: var(--slab); font-weight: 500; font-size: 1.3rem; color: var(--muted); }
.specs { list-style: none; padding: 0; margin: 24px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.specs li { font-family: var(--mono); font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; border: 1px solid var(--line); padding: 6px 10px; border-radius: 2px; }
.price-line { display: flex; align-items: baseline; gap: 14px; margin: 0; }
.price-line.center { justify-content: center; margin: 24px 0; }
.price { font-family: var(--slab); font-weight: 700; font-size: 2.6rem; }
.old-price { color: var(--muted); font-size: 1.3rem; }
.format { font-family: var(--mono); font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 80px; border-top: 1px solid var(--line); }
.stat { padding: 28px 20px 0; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-val { display: block; font-family: var(--slab); font-weight: 700; font-size: 3rem; line-height: 1; }
.stat-label { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }

/* paper section */
.section-paper { background: var(--paper); color: var(--ink); }
.section-paper .section-num, .section-paper .lede { color: #6b6455; }
.parts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px 48px; margin-top: 40px; }
.part h3 { font-family: var(--mono); font-weight: 500; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); border-bottom: 2px solid var(--ink); padding-bottom: 10px; }
.part ol { list-style: none; padding: 0; margin: 0; }
.part li { padding: 9px 0; border-bottom: 1px solid rgba(27,26,22,.15); font-size: 1.05rem; }
.ch-num { font-family: var(--mono); font-size: .8rem; color: #8b8270; margin-right: 14px; }

.grades { margin-top: 80px; padding-top: 48px; border-top: 2px solid var(--ink); }
.grades > p { max-width: 680px; color: #4a4539; }
.grade-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.grade { background: var(--paper-2); padding: 24px; border-left: 4px solid var(--red); }
.grade p { margin: 0; font-size: .98rem; }
.grade-letter { font-family: var(--slab); font-weight: 700; font-size: 2.6rem; line-height: 1; display: block; margin-bottom: 10px; }

/* look inside: slideshow */
.slideshow { outline: none; }
.slide-stage {
  position: relative;
  height: min(78vh, 860px);
  min-height: 420px;
  background: radial-gradient(ellipse at center, #1a1a17 0%, #050505 75%);
  border: 1px solid #2a2a26;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6), inset 0 0 120px rgba(0,0,0,.8);
  overflow: hidden;
}
.slide {
  position: absolute; inset: 0; margin: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 4% 6%;
  opacity: 0; z-index: 0;
  pointer-events: none;
  perspective: 2200px;
}
.slide.is-active { opacity: 1; z-index: 2; pointer-events: auto; }
.slide button { all: unset; cursor: zoom-in; height: 100%; display: flex; align-items: center; transform-style: preserve-3d; }
.slide img {
  max-height: 100%; width: auto; max-width: 100%;
  filter: sepia(.28) contrast(1.05) brightness(.96);
  box-shadow: 0 20px 50px rgba(0,0,0,.75), 0 0 0 1px rgba(0,0,0,.4);
  transform-origin: left center;
  backface-visibility: hidden;
}

/* page-turn effect: the page lifts from its spine (left edge) and turns over */
.slide.flip-out { opacity: 1; z-index: 3; }
.slide.under { opacity: 1; z-index: 1; }
.slide.flip-in { z-index: 3; }
.slide.flip-out img { animation: page-turn-out .7s cubic-bezier(.45, .05, .55, .95) forwards; }
.slide.flip-in img { animation: page-turn-in .7s cubic-bezier(.45, .05, .55, .95) forwards; }
@keyframes page-turn-out {
  0%   { transform: rotateY(0deg); filter: sepia(.28) contrast(1.05) brightness(.96); }
  60%  { filter: sepia(.28) contrast(1.05) brightness(.55); }
  100% { transform: rotateY(-95deg); filter: sepia(.28) contrast(1.05) brightness(.35); box-shadow: -30px 20px 60px rgba(0,0,0,.9); }
}
@keyframes page-turn-in {
  0%   { transform: rotateY(-95deg); filter: sepia(.28) contrast(1.05) brightness(.35); }
  40%  { filter: sepia(.28) contrast(1.05) brightness(.55); }
  100% { transform: rotateY(0deg); filter: sepia(.28) contrast(1.05) brightness(.96); }
}
.slide.is-active:not(.flip-in) img { animation: page-settle .7s ease; }
@keyframes page-settle { from { filter: sepia(.28) contrast(1.05) brightness(.7); } }
@media (prefers-reduced-motion: reduce) {
  .slide img { animation: none !important; }
}
.slide-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(15,20,16,.7); border: 1px solid var(--line); color: var(--cream);
  font-size: 2rem; line-height: 1; cursor: pointer;
  transition: background .2s, opacity .2s;
}
.slide-arrow:hover { background: var(--red); border-color: var(--red); }
.slide-arrow.prev { left: 18px; }
.slide-arrow.next { right: 18px; }
.slide-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.06); }
.slide-progress span { display: block; height: 100%; width: 0; background: var(--red); }
.slide-meta { display: flex; justify-content: space-between; gap: 16px; margin: 16px 2px 18px; font-family: var(--mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }
.slide-meta p { margin: 0; }
.slide-cap { color: var(--cream); }
.slide-count { color: var(--muted); white-space: nowrap; }
.slide-thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: thin; }
.thumb { all: unset; flex: 0 0 64px; cursor: pointer; opacity: .45; transition: opacity .2s, transform .2s; }
.thumb img { width: 64px; aspect-ratio: 2 / 3; object-fit: cover; object-position: top; border: 2px solid transparent; }
.thumb:hover { opacity: .8; }
.thumb.is-active { opacity: 1; }
.thumb.is-active img { border-color: var(--red); }
.thumb:focus-visible img, .slide-arrow:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* look inside: page grid */
.pages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.page { margin: 0; }
.page button { all: unset; cursor: zoom-in; display: block; width: 100%; }
.page img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: top; box-shadow: 0 16px 40px rgba(0,0,0,.5); transition: transform .3s; }
.page button:hover img { transform: translateY(-4px); }
.page button:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.page figcaption { font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: 12px; }

/* final cta */
.cta-final { background: radial-gradient(ellipse at top, var(--bg-3), var(--bg) 70%); }
.checks { list-style: none; padding: 0; margin: 28px auto; display: inline-block; text-align: left; }
.checks li { padding: 6px 0 6px 30px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--red-2); font-weight: 700; }

/* bundle */
.bundle { background: var(--bg-2); text-align: center; }
.bundle .lede { margin: 0 auto 20px; }
/* 4-book mockup */
.bundle-books {
  --w: clamp(120px, 17vw, 200px);
  display: flex; justify-content: center; align-items: flex-end;
  margin: 48px auto 40px; padding: 0 0 26px; perspective: 1400px;
  position: relative;
}
.bundle-books::after { /* soft floor shadow */
  content: ""; position: absolute; left: 50%; bottom: 14px; width: calc(var(--w) * 4.2); height: 34px;
  transform: translateX(-50%); background: radial-gradient(ellipse at center, rgba(0,0,0,.65), transparent 70%); z-index: 0;
}
.bundle-book {
  --mid: calc((var(--n) - 1) / 2);
  --off: calc(var(--i) - var(--mid)); /* -1.5 … 1.5 */
  position: relative; z-index: calc(10 - var(--i)); width: var(--w); flex: none;
  margin: 0 calc(var(--w) * -0.04);
  transform: translateY(calc(abs(var(--off)) * 14px)) rotateY(calc(var(--off) * -9deg)) rotate(calc(var(--off) * 3deg));
  transition: transform .35s ease;
}
@supports not (width: abs(1px)) {
  .bundle-book:nth-child(1), .bundle-book:nth-child(4) { margin-bottom: -20px; }
}
.bundle-book:nth-child(2) { z-index: 13; }
.bundle-book:nth-child(3) { z-index: 12; }
.bundle-book .cover {
  box-shadow: 0 24px 44px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.06);
  border-radius: 2px 4px 4px 2px;
}
.bundle-book::before { /* spine highlight */
  content: ""; position: absolute; left: 0; top: 0; bottom: 26px; width: 7%; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.45), rgba(255,255,255,.12) 45%, transparent);
}
.bundle-book:hover { transform: translateY(-10px) rotate(0deg); z-index: 20; }
.bundle-book-num {
  display: block; margin-top: 10px; font-family: var(--mono); font-size: .66rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.bundle-book .ph-title { font-size: clamp(.75rem, 1.4vw, 1.1rem); }
.bundle-book .ph-sub, .bundle-book .ph-top { font-size: clamp(.45rem, .8vw, .62rem); letter-spacing: .1em; }
.bundle .price-line { justify-content: center; margin-bottom: 24px; }

/* faq */
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
summary { font-family: var(--slab); font-weight: 700; font-size: 1.25rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--red-2); font-family: var(--mono); }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin: 14px 0 0; }

/* footer */
.site-footer { padding: 56px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-inner .logo { margin-bottom: 14px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5,8,6,.94); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 84vh; width: auto; box-shadow: 0 30px 80px rgba(0,0,0,.7); }
.lightbox-cap { font-family: var(--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: 16px; }
.lightbox-close { position: absolute; top: 16px; right: 20px; background: none; border: 0; color: var(--cream); font-size: 2.4rem; cursor: pointer; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .book-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner, .featured-inner { grid-template-columns: 1fr; }
  .featured-cover { max-width: 320px; }
  .nav { display: none; }
  .header-inner .btn { margin-left: auto; }
}
@media (max-width: 1000px) {
  .hero-photo {
    width: 100%; height: min(115vw, 760px);
    background-position: 62% 20%;
    -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(11, 15, 12, .35) 0%, rgba(11, 15, 12, .55) 35%, rgba(11, 15, 12, .8) 60%, var(--bg) 100%),
      radial-gradient(ellipse 120% 70% at 60% 20%, transparent 30%, rgba(5, 7, 5, .7) 100%);
  }
  .hero-fog { top: min(60vw, 420px); bottom: auto; height: 50vw; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .section { padding: 70px 0; }
  .hero { padding: 56px 0 70px; }
  .book-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .book-blurb { display: none; }
  .book-card-actions { flex-direction: column; align-items: flex-start; }
  .bundle-books { --w: 23vw; margin: 32px auto 28px; }
  .bundle-books-sm { --w: 20vw; margin: 8px auto 4px; }
  .ph-title { font-size: 1.1rem; }
  .pages { grid-template-columns: 1fr 1fr; gap: 16px; }
  .slide-stage, .slideshow-hero .slide-stage { height: 70vh; min-height: 380px; }
  .preview-soon { height: 70vh; min-height: 380px; }
  .pick { padding: 8px 4px; }
  .pick-num { font-size: .72rem; }
  .slide { padding: 5% 4%; }
  .slide-arrow { width: 40px; height: 40px; font-size: 1.6rem; }
  .slide-arrow.prev { left: 8px; }
  .slide-arrow.next { right: 8px; }
  .slide-meta { flex-direction: column; gap: 4px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat { padding-bottom: 20px; }
  .grade-row { grid-template-columns: 1fr; }
  .logo span:last-child { font-size: 1rem; }
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  .header-inner .btn { white-space: nowrap; }
}

/* "See it unblurred" seal on page previews */
.slide-stage { position: relative; }
.unblur-seal {
  position: absolute; top: 18px; right: 18px; z-index: 5; pointer-events: none;
  width: 132px; height: 132px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: radial-gradient(circle at 35% 30%, #d8322b, #a5160f 70%);
  color: #fff; transform: rotate(-12deg);
  box-shadow: 0 10px 26px rgba(0,0,0,.5), inset 0 0 0 4px #c8211b, inset 0 0 0 6px rgba(255,255,255,.75);
}
.slide.is-active .unblur-seal { animation: seal-in .5s .25s cubic-bezier(.2,1.6,.4,1) both; }
.unblur-seal::before { content: ""; position: absolute; inset: 11px; border: 1px dashed rgba(255,255,255,.55); border-radius: 50%; }
.seal-top, .seal-bot { font-family: var(--mono); font-size: .54rem; letter-spacing: .16em; text-transform: uppercase; opacity: .9; }
.seal-main { font-family: var(--slab); font-weight: 700; font-size: .9rem; letter-spacing: .02em; line-height: 1.05; text-transform: uppercase; margin: 3px 0; }
@keyframes seal-in { from { transform: rotate(-30deg) scale(.4); opacity: 0; } }
@media (max-width: 700px) {
  .unblur-seal { width: 100px; height: 100px; top: 10px; right: 10px; }
  .unblur-seal::before { inset: 8px; }
  .seal-main { font-size: .68rem; }
  .seal-top, .seal-bot { font-size: .46rem; }
}
@media (prefers-reduced-motion: reduce) { .slide.is-active .unblur-seal { animation: none; } }

/* Book picker in section II */
.book-pick { max-width: 560px; margin: 0 0 40px; }
.book-pick-cta { margin: 0 auto 44px; }

/* Keep card buttons on one line */
.book-card-actions .btn, .book-card-actions .link { white-space: nowrap; }
.bundle-book .cover-placeholder { padding: 12%; }
.bundle-book .ph-rule { width: 30%; height: 3px; margin: 8% 0; }

.cta-bundle-box { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 28px auto 18px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 420px; }
.cta-bundle-box .price-line { justify-content: center; }
.cta-bundle-box .price { font-size: 1.8rem; }
.cta-bundle-box { max-width: 560px; }
.bundle-books-sm { --w: clamp(84px, 11vw, 120px); margin: 8px auto 4px; padding-bottom: 22px; }
.bundle-books-sm .bundle-book-num { font-size: .58rem; margin-top: 8px; }
.bundle-books-sm .ph-title { font-size: clamp(.6rem, 1vw, .8rem); }
.bundle-books-sm .ph-sub, .bundle-books-sm .ph-top { font-size: .42rem; }

/* Footer price + button */
.footer-buy { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.footer-buy .price-line { margin: 0; display: flex; align-items: baseline; gap: 10px; }
.footer-buy .price { font-size: 1.8rem; }
@media (max-width: 700px) { .footer-buy { align-items: flex-start; } }

/* Phone: keep price, struck price and tag on one line */
@media (max-width: 480px) {
  .buy-card { padding: 22px 18px; }
  .buy-card-price { gap: 8px 10px; }
  .buy-card .price { font-size: 2.2rem; }
  .buy-card .old-price { font-size: .95rem; }
  .price-line { gap: 10px; }
  .buy-tag { font-size: .6rem; letter-spacing: .06em; padding: 5px 7px; white-space: nowrap; }
}

/* Phone header: full CTA text, smaller */
@media (max-width: 700px) {
  .header-inner { gap: 12px; }
  .header-cta { font-size: .6rem; letter-spacing: .05em; padding: 9px 10px; }
}
@media (max-width: 380px) {
  .header-inner .logo span:last-child { font-size: .9rem; }
  .header-cta { font-size: .56rem; letter-spacing: .03em; padding: 8px 8px; }
}

/* Small phones: nothing in the hero may force the page wider than the screen */
.hero-inner > * { min-width: 0; }
@media (max-width: 400px) {
  .buy-card { padding: 20px 14px; }
  .buy-card .price { font-size: 1.85rem; }
  .buy-card .old-price { font-size: .82rem; }
  .buy-card-price { gap: 8px; }
  .buy-tag { font-size: .52rem; letter-spacing: .03em; padding: 5px 6px; }
  .pick { padding: 8px 2px; }
  .pick-num { font-size: .66rem; letter-spacing: .04em; }
  .pick-state { font-size: .52rem; }
}

/* Never allow sideways scrolling on phones */
html, body { overflow-x: clip; }

.pick-state:empty { display: none; }
.pick { justify-content: center; min-height: 46px; }

/* Slideshow caption: always reserve two lines so the page never jumps */
.slide-cap {
  line-height: 1.5; min-height: 3em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.slide-count { line-height: 1.5; }

/* ---------- buy pop-up ---------- */
body.modal-open { overflow: hidden; }
.buy-modal {
  width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 32px);
  padding: 0; border: 1px solid var(--line); border-radius: 8px;
  background: var(--bg-2); color: var(--cream);
  box-shadow: 0 40px 120px rgba(0,0,0,.7);
}
.buy-modal::backdrop { background: rgba(5,8,6,.78); backdrop-filter: blur(3px); }
.buy-modal[open] { animation: bm-in .25s ease both; }
@keyframes bm-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.bm-inner { position: relative; padding: 30px 26px 22px; }
.bm-inner h2 { font-size: 1.7rem; margin: 0 0 20px; }
.bm-inner .section-num { margin-bottom: 6px; }
.bm-close {
  position: absolute; top: 12px; right: 12px; width: 38px; height: 38px;
  background: transparent; border: 1px solid var(--line); border-radius: 50%;
  color: var(--cream); font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.bm-close:hover { background: rgba(255,255,255,.08); }
.bm-option {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px;
  background: rgba(10,13,11,.6); color: var(--cream); text-decoration: none;
  transition: border-color .2s, background .2s, transform .2s;
}
a.bm-option:hover { border-color: var(--red); background: rgba(200,33,27,.08); transform: translateY(-1px); }
.bm-option .price { font-size: 1.35rem; }
.bm-price { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.bm-price .old-price { font-size: .8rem; }
.bm-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bm-title { font-family: var(--slab); font-weight: 700; font-size: 1.05rem; line-height: 1.2; }
.bm-num, .bm-sub, .bm-note { font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bm-note { color: var(--red-2); letter-spacing: .06em; }
.bm-thumb { width: 44px; }
.bm-thumb .cover { box-shadow: 0 6px 14px rgba(0,0,0,.5); }
.bm-thumb .cover-placeholder { padding: 4px; }
.bm-thumb .cover-placeholder > * { display: none; }
.bm-list { display: grid; gap: 10px; }
.bm-option.is-soon { opacity: .6; cursor: default; }
.bm-bundle { position: relative; border-color: var(--red); background: rgba(200,33,27,.1); padding-top: 22px; }
.bm-bundle .price { font-size: 1.7rem; }
.bm-flag {
  position: absolute; top: -10px; left: 14px; padding: 3px 8px; border-radius: 2px;
  background: var(--red); color: #fff; font-family: var(--mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase;
}
.bm-covers { display: flex; }
.bm-covers .cover { width: 34px; box-shadow: 0 6px 14px rgba(0,0,0,.55); }
.bm-covers .cover + .cover { margin-left: -12px; }
.bm-covers .cover-placeholder { padding: 3px; }
.bm-covers .cover-placeholder > * { display: none; }
.bm-or { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-align: center; margin: 18px 0 10px; }
.buy-modal .trust { text-align: center; margin: 16px 0 0; }
@media (max-width: 480px) {
  .bm-inner { padding: 26px 14px 18px; }
  .bm-inner h2 { font-size: 1.4rem; padding-right: 36px; }
  .bm-option { gap: 10px; padding: 10px; }
  .bm-bundle { padding-top: 20px; }
  .bm-covers .cover { width: 26px; }
  .bm-covers .cover + .cover { margin-left: -10px; }
  .bm-title { font-size: .95rem; }
  .bm-bundle .price { font-size: 1.4rem; }
  .bm-option .price { font-size: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) { .buy-modal[open] { animation: none; } }

/* Buy button while Stripe checkout is opening */
.is-loading { cursor: progress; opacity: .75; pointer-events: none; }
.is-loading::after { content: ""; display: inline-block; width: .8em; height: .8em; margin-left: .6em; vertical-align: -.1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: ty-spin .7s linear infinite; }
@keyframes ty-spin { to { transform: rotate(360deg); } }

/* hero slideshow: no controls, fast like a video trailer. The whole page stays in view;
   each new page swings in from the left, then drifts and zooms a little until the next one. */
/* Page turn: a new page every 1.5 seconds. The old page (.turning) stays on top and turns over from its
   left edge, the spine, like a page of a book, darkening as it lifts; the next page lies underneath
   (.is-active) and comes out of its shadow. main.js times it (TURN = 560ms). */
.evidence-show .slide { padding: 4% 6%; overflow: visible; pointer-events: none; perspective: 2000px; transition: none; animation: none; }
.evidence-show .slide.is-active { z-index: 2; animation: none; }
.evidence-show .slide.turning { opacity: 1; z-index: 3; }
/* the page turns (.sl-page wrapper, hinged on the image's left edge) while the image inside keeps its
   slow drift and zoom, so the page is still moving as it flips over */
.evidence-show .slide .sl-page {
  display: flex; align-items: center; justify-content: center; height: 100%; max-width: 100%;
  transform-origin: left center; backface-visibility: hidden;
}
.evidence-show .slide img,
.evidence-show .slide.is-active:not(.flip-in) img {
  width: auto; height: auto; max-width: 100%; max-height: 100%;
  box-shadow: 0 20px 50px rgba(0,0,0,.75), 0 0 0 1px rgba(0,0,0,.4);
  transform-origin: center;
  animation: page-uncover .56s ease-out, drift-up 2.3s ease-out forwards;
}
.evidence-show .slide[data-drift="down"] img { animation-name: page-uncover, drift-down; }
.evidence-show .slide[data-drift="left"] img { animation-name: page-uncover, drift-left; }
.evidence-show .slide[data-drift="right"] img { animation-name: page-uncover, drift-right; }
@keyframes drift-up    { from { transform: scale(1) translateY(2.5%); }  to { transform: scale(1.06) translateY(-2.5%); } }
@keyframes drift-down  { from { transform: scale(1) translateY(-2.5%); } to { transform: scale(1.06) translateY(2.5%); } }
@keyframes drift-left  { from { transform: scale(1) translateX(3%); }    to { transform: scale(1.06) translateX(-3%); } }
@keyframes drift-right { from { transform: scale(1) translateX(-3%); }   to { transform: scale(1.06) translateX(3%); } }
.evidence-show .slide.turning .sl-page { animation: page-turn-over .56s cubic-bezier(.45, .05, .55, .95) forwards; }
@keyframes page-turn-over {
  0%   { transform: rotateY(0deg);    filter: brightness(1); }
  55%  {                               filter: brightness(.65); }
  100% { transform: rotateY(-178deg); filter: brightness(.4); }
}
@keyframes page-uncover { from { filter: sepia(.28) contrast(1.05) brightness(.55); } to { filter: sepia(.28) contrast(1.05) brightness(.96); } }
@media (prefers-reduced-motion: reduce) { .evidence-show .slide, .evidence-show .slide .sl-page, .evidence-show .slide img { animation: none !important; transform: none; } }

/* ---------- Part I: price cards ---------- */
.col-head { text-align: center; max-width: 860px; margin: 0 auto 56px; }
.col-kicker {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red-2); margin: 0 0 14px;
}
.col-kicker::before, .col-kicker::after { content: ""; flex: none; width: 70px; height: 1px; background: linear-gradient(90deg, transparent, var(--red)); }
.col-kicker::after { transform: scaleX(-1); }
.col-title { font-size: clamp(2.4rem, 5.5vw, 4rem); line-height: 1.05; margin: 0 0 18px; }
.col-lede { font-style: italic; font-size: clamp(1.02rem, 1.6vw, 1.22rem); line-height: 1.6; color: #c9c3b1; margin: 0; }
.col-lede strong { font-style: normal; color: var(--cream); }

.book-grid { grid-template-columns: 1fr 1fr 1.4fr 1fr 1fr; gap: 18px; align-items: stretch; padding-top: 22px; }
.pc {
  display: flex; flex-direction: column; text-align: center; min-width: 0;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; padding: 18px 16px 20px;
}
.pc .cover-wrap { margin: 0 auto 18px; width: 100%; }
.pc .cover { box-shadow: 0 14px 34px rgba(0,0,0,.5), 0 0 0 1px rgba(239,231,214,.08); }
.pc .book-num { margin-bottom: .3em; }
.pc-title { font-size: 1.2rem; line-height: 1.2; margin: 0 0 6px; }
.pc-meta { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red-2); margin: 0 0 16px; }
.pc-list { list-style: none; padding: 0; margin: 0 0 18px; text-align: left; }
.pc-list li { position: relative; padding: 0 0 0 16px; margin: 0 0 9px; font-size: .86rem; line-height: 1.45; color: #c9c3b1; }
.pc-list li::before { content: "✦"; position: absolute; left: 0; top: 1px; font-size: .62rem; color: var(--red-2); }
.pc-price { margin: auto 0 14px; font-family: var(--slab); font-weight: 700; font-size: 1.9rem; line-height: 1; }
.pc .btn-block { padding-left: 10px; padding-right: 10px; }
.pc .is-disabled { cursor: default; opacity: .7; }
.pc .is-disabled:hover { transform: none; background: transparent; }

.pc-bundle {
  position: relative; margin: -22px 0; padding: 30px 18px 22px;
  background: linear-gradient(180deg, #2a1312 0%, #1a0f0e 55%, var(--bg-2) 100%);
  border: 1px solid var(--red); box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 60px rgba(200,33,27,.15);
}
.pc-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: #fff; font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 2px; white-space: nowrap; box-shadow: 0 6px 18px rgba(0,0,0,.45);
}
.pc-bundle .pc-mockup { --w: 25.5%; margin: 6px auto 22px; padding-bottom: 10px; }
.pc-bundle .pc-mockup .bundle-book-num { display: none; }
.pc-bundle .pc-mockup .bundle-book::before { bottom: 0; }
.pc-bundle .pc-mockup .ph-title { font-size: .5rem; }
.pc-bundle .pc-mockup .ph-sub, .pc-bundle .pc-mockup .ph-top, .pc-bundle .pc-mockup .ph-rule { display: none; }
.pc-bundle .pc-title { font-size: 1.45rem; }
.pc-bundle .pc-list li { color: var(--cream); }
.pc-bundle .pc-price { font-size: 2.3rem; color: var(--cream); }
.pc-bundle .pc-price .old-price { font-family: var(--mono); font-size: 1rem; font-weight: 400; margin-right: 6px; }
.pc-save { margin: 12px 0 0; font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red-2); }

@media (max-width: 1100px) {
  .book-grid { grid-template-columns: repeat(4, 1fr); }
  .pc-bundle { grid-column: 1 / -1; order: -1; margin: 0 0 18px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; text-align: left; align-items: center; }
  .pc-bundle > * { grid-column: 2; }
  .pc-bundle .pc-mockup { grid-column: 1; grid-row: 1 / span 7; --w: 25%; margin: 0; }
  .pc-bundle .pc-flag { left: 24px; transform: none; }
}
@media (max-width: 820px) {
  .book-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 640px) {
  .col-head { margin-bottom: 36px; }
  .col-kicker { gap: 10px; font-size: .64rem; }
  .col-kicker::before, .col-kicker::after { width: 24px; }
  .pc-bundle { display: flex; text-align: center; padding: 28px 16px 20px; }
  .pc-bundle .pc-flag { left: 50%; transform: translateX(-50%); }
  .pc-bundle .pc-mockup { --w: 24%; margin: 4px auto 20px; }
  .pc { padding: 14px 12px 16px; }
  .pc:not(.pc-bundle) .pc-list { display: none; }
  .pc-title { font-size: 1.05rem; }
  .pc-price { font-size: 1.6rem; }
  .pc:not(.pc-bundle) .btn-block { font-size: .7rem; letter-spacing: .06em; padding: 12px 6px; }
}
.pc-title { min-height: 2.4em; display: flex; align-items: center; justify-content: center; }
.pc .btn-block { white-space: nowrap; font-size: .74rem; letter-spacing: .08em; }
.pc-bundle .btn-block { font-size: .8rem; }
.pc-bundle .pc-mockup { --w: 27%; }
@media (max-width: 1100px) { .pc-bundle .pc-title { justify-content: flex-start; min-height: 0; } }
@media (max-width: 640px) { .pc-bundle .pc-title { justify-content: center; } .pc .btn-block { white-space: normal; } }
/* the bundle CTA is too long for one line in the narrow desktop column: let it wrap, keep the arrow inside */
.pc-bundle .btn-block { white-space: normal; line-height: 1.4; text-wrap: balance; }
/* Bigfoot silhouette: fills the space the tall bundle card leaves above its price (5-column layout only) */
.pc-sil { display: none; }
@media (min-width: 1101px) {
  .pc-bundle .pc-sil { display: block; position: relative; flex: 1 1 auto; min-height: 150px; margin: 0 -18px 18px; }
  .pc-sil svg { position: absolute; inset: 0; width: 100%; height: 100%; }
}
/* the stacked bundle layout (mega rail open, 1280-1499px) has no spare height: no silhouette there */
@media (min-width: 1280px) and (max-width: 1499px) { html.has-mega-rail .pc-bundle .pc-sil { display: none; } }

/* ---------- The Real Truth Mega Bundle: store rail + standing card ---------- */
.mega-rail { background: var(--bg-2); border-top: 1px solid var(--line); padding: 56px 16px 40px; }
.mega-rail > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.mr-head { position: relative; text-align: center; padding: 26px 20px 22px; border: 1px solid var(--red); border-radius: 6px;
  background: linear-gradient(180deg, #2a1312 0%, #1a0f0e 60%, var(--bg-2) 100%); }
.mr-seal { position: absolute; top: 14px; right: 14px; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); color: #fff; font-family: var(--mono); font-size: .66rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  line-height: 1.1; text-align: center; transform: rotate(-12deg); box-shadow: 0 6px 18px rgba(0,0,0,.45); padding: 6px; }
.mr-kick { font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red-2); margin: 0 0 6px; }
.mr-name { font-size: 1.45rem; line-height: 1.15; margin: 0 0 8px; }
.mr-desc { font-size: .88rem; color: var(--muted); margin: 0 auto 14px; max-width: 30ch; }
.mr-cov { width: min(180px, 60%); height: auto; margin: 0 auto 12px; display: block; filter: drop-shadow(0 16px 26px rgba(0,0,0,.6)); }
.mr-price { margin: 0 0 14px; font-family: var(--slab); }
.mr-price s { font-family: var(--mono); font-size: .95rem; color: var(--muted); margin-right: 6px; }
.mr-price b { font-size: 2rem; color: var(--cream); }
.mr-head .btn { white-space: nowrap; }
.mr-list { margin-top: 18px; }
.mr-limited { border: 1px solid rgba(224,54,47,.45); border-radius: 6px; padding: 12px 12px 4px; margin-bottom: 18px; background: rgba(200,33,27,.06); }
.mr-group { margin-bottom: 14px; }
.mr-ghead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 0 0 6px; padding: 10px 0 8px; border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; }
.mr-best { flex: 0 0 100%; color: var(--red-2); }
.mr-gname { flex: 1; color: var(--cream); }
.mr-gsub { color: var(--muted); white-space: nowrap; }
.mr-row { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 9px 4px; text-decoration: none; color: inherit; border-radius: 4px; transition: background .2s; }
.mr-row:hover { background: rgba(239,231,214,.05); }
.mr-row img { width: 44px; height: auto; aspect-ratio: 288 / 400; object-fit: cover; border-radius: 2px; box-shadow: 0 4px 10px rgba(0,0,0,.45); }
.mr-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mr-title { font-family: var(--slab); font-weight: 700; font-size: .92rem; line-height: 1.2; color: var(--cream); }
.mr-meta { font-family: var(--mono); font-size: .66rem; letter-spacing: .06em; color: var(--muted); }
.mr-meta b { color: var(--red-2); font-weight: 500; }
.mr-blurb { font-size: .8rem; line-height: 1.4; color: #b9b3a1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* wide screens: the rail is a fixed sidebar on the right */
@media (min-width: 1280px) {
  html.has-mega-rail body { padding-right: 320px; }
  .mega-rail { position: fixed; top: 0; right: 0; bottom: 0; width: 320px; z-index: 60; overflow-y: auto; overscroll-behavior: contain;
    padding: 18px 14px 30px; border-top: 0; border-left: 1px solid var(--line); scrollbar-width: thin; }
  .mega-rail > * { max-width: none; }
  .mr-head { padding: 22px 16px 18px; }
  .mr-seal { width: 54px; height: 54px; font-size: .58rem; top: 10px; right: 10px; }
  .mr-name { font-size: 1.3rem; }
  .mr-cov { width: 150px; }
  .mr-head .btn { font-size: .78rem; }
}

/* standing card, bottom-left */
.mega-card { position: fixed; left: 16px; bottom: 16px; z-index: 70; width: 300px; padding: 14px 14px 12px;
  background: #1a0f0e; border: 1px solid var(--red); border-radius: 8px; box-shadow: 0 20px 50px rgba(0,0,0,.6);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .35s ease, transform .35s ease; }
.mega-card.on { opacity: 1; transform: none; pointer-events: auto; }
.mc-x { position: absolute; top: 4px; right: 6px; width: 30px; height: 30px; background: none; border: 0; color: var(--muted); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.mc-x:hover { color: var(--cream); }
.mc-row { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; text-decoration: none; color: inherit; margin: 0 0 12px; padding-right: 18px; }
.mc-row img { width: 56px; height: auto; filter: drop-shadow(0 6px 10px rgba(0,0,0,.6)); }
.mc-row > span { display: flex; flex-direction: column; gap: 2px; }
.mc-k { font-family: var(--mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red-2); }
.mc-name { font-family: var(--slab); font-weight: 700; font-size: 1.02rem; line-height: 1.15; color: var(--cream); }
.mc-p { font-size: .8rem; color: var(--muted); }
.mc-p s { font-size: .74rem; }
.mc-p b { color: var(--cream); }
.mega-card .btn { white-space: nowrap; }
@media (max-width: 640px) {
  .mega-card { left: 10px; right: 10px; bottom: 10px; width: auto; }
}
@media (prefers-reduced-motion: reduce) { .mega-card { transition: none; } }
/* with the mega rail open on mid-size laptops, Part I gets the stacked layout (bundle on top) */
@media (min-width: 1280px) and (max-width: 1499px) {
  html.has-mega-rail .book-grid { grid-template-columns: repeat(4, 1fr); }
  html.has-mega-rail .pc-bundle { grid-column: 1 / -1; order: -1; margin: 0 0 18px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; text-align: left; align-items: center; }
  html.has-mega-rail .pc-bundle > * { grid-column: 2; }
  html.has-mega-rail .pc-bundle .pc-mockup { grid-column: 1; grid-row: 1 / span 7; --w: 25%; margin: 0; }
  html.has-mega-rail .pc-bundle .pc-flag { left: 24px; transform: none; }
  html.has-mega-rail .pc-bundle .pc-title { justify-content: flex-start; min-height: 0; }
}
@media (min-width: 1280px) and (max-width: 1399px) {
  html.has-mega-rail .nav { display: none; }
  html.has-mega-rail .header-inner .btn { margin-left: auto; }
}
@media (min-width: 1400px) and (max-width: 1599px) {
  html.has-mega-rail .nav { gap: 16px; }
  html.has-mega-rail .nav a { font-size: .72rem; }
}
html.has-mega-rail .header-cta { white-space: nowrap; }
.mr-seal { top: -12px; right: -8px; }
.mr-head { margin-top: 12px; }
.mr-name { padding: 0 34px; }
@media (max-width: 640px) { .col-kicker::before, .col-kicker::after { display: none; } }

/* hover pop-up on each book card: "Check the book out / Scroll down", opens that book in the preview below */
.pc .cover-wrap { position: relative; }
.pc-pop {
  position: absolute; left: 50%; top: 50%; z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 12px 16px 11px; border-radius: 6px; text-decoration: none; white-space: nowrap;
  background: rgba(200,33,27,.94); color: #fff; box-shadow: 0 14px 34px rgba(0,0,0,.6);
  opacity: 0; pointer-events: none; transform: translate(-50%, -40%) scale(.92);
  transition: opacity .22s ease, transform .22s ease;
}
.pc-pop::after { /* little pointer under the bubble */
  content: ""; position: absolute; left: 50%; bottom: -7px; width: 14px; height: 14px; background: inherit;
  transform: translateX(-50%) rotate(45deg); border-radius: 2px;
}
.pc-pop-k { font-family: var(--slab); font-weight: 700; font-size: 1rem; }
.pc-pop-s { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; }
.pc-pop-s svg { animation: peek-bob 1.4s ease-in-out infinite; }
@keyframes peek-bob { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
.pc-pop:hover { background: var(--red-2); }
@media (hover: hover) {
  .pc:hover .pc-pop, .pc:focus-within .pc-pop { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
  .pc:hover .book-card-cover .cover { filter: brightness(.6); transition: filter .22s ease; }
}
@media (prefers-reduced-motion: reduce) { .pc-pop, .pc-pop-s svg { transition: none; animation: none; } }

/* long arrow down the right gutter, from the book cards into the slideshow (placed by main.js) */
.side-arrow { position: absolute; z-index: 3; display: block; color: var(--red); text-decoration: none; pointer-events: none; }
.side-arrow[hidden] { display: none; }
.side-arrow svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.side-arrow svg { filter: drop-shadow(0 0 6px rgba(200,33,27,.55)); }
.side-arrow .sa-line { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 10 8; animation: sa-flow 1s linear infinite; }
.side-arrow .sa-head { fill: none; stroke: currentColor; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
@keyframes sa-flow { to { stroke-dashoffset: -18; } }
.side-arrow .sa-label {
  /* letters stand upright, stacked top to bottom (owner: the sideways text was hard to read) */
  position: absolute; transform: translate(-50%, -50%); white-space: nowrap; pointer-events: auto;
  writing-mode: vertical-rl; text-orientation: upright;
  font-family: var(--mono); font-size: .7rem; font-weight: 500; line-height: 1; letter-spacing: .08em; text-transform: uppercase; color: var(--cream);
  background: var(--bg); padding: 10px 6px; border: 1px solid var(--red); border-radius: 2px;
}
.side-arrow:hover { color: var(--red-2); }
.side-arrow:hover .sa-label { background: var(--red); }
@media (prefers-reduced-motion: reduce) { .side-arrow .sa-line { animation: none; } }

/* mega rail hover pop-out (placed by mega-rail.js): a paper card to the left of the hovered book */
.mr-pop {
  position: fixed; z-index: 70; width: 290px; padding: 18px 18px 16px; text-align: center;
  background: var(--paper); color: var(--ink); border: 1px solid #c9b98f; border-radius: 6px;
  box-shadow: 0 24px 60px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transform: translateX(10px); pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility 0s .18s;
}
.mr-pop.on { opacity: 1; visibility: visible; transform: none; transition: opacity .18s ease, transform .18s ease; }
.mr-pop img { width: 150px; height: auto; display: block; margin: 0 auto 12px; filter: drop-shadow(0 10px 18px rgba(0,0,0,.35)); }
.mr-pop h4 { font-family: var(--slab); font-size: 1.05rem; line-height: 1.25; margin: 0 0 6px; color: var(--ink); }
.mr-pop-meta { font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; color: #6b6553; margin: 0 0 10px; }
.mr-pop-meta b { color: var(--red); font-weight: 600; }
.mr-pop-blurb { font-size: .86rem; line-height: 1.5; color: #3a372f; margin: 0; text-align: left; padding-top: 10px; border-top: 1px solid rgba(27,26,22,.12); }
.mr-pop-blurb[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .mr-pop, .mr-pop.on { transition: none; transform: none; } }

/* Look inside (section IV): a teaser, not a reader. No zoom or lightbox, and a light blur so the
   pictures still read but the text doesn't. */
.page-pic { display: block; overflow: hidden; box-shadow: 0 16px 40px rgba(0,0,0,.5); user-select: none; -webkit-user-select: none; }
.page-pic img { display: block; filter: blur(.8px); transform: scale(1.01); box-shadow: none; pointer-events: none; -webkit-user-drag: none; }
/* card meta on ONE line: "39 books · 10 collections · $599.86 $97" (owner, 11 Nov). The meta line may run
   under the close button's column, which only matters next to the title above it. */
@media (min-width: 641px) { .mega-card { width: 330px; } }
.mc-p { white-space: nowrap; font-size: .76rem; margin-right: -18px; }
.mc-p s { font-size: .7rem; }
@media (max-width: 360px) { .mc-p { font-size: .68rem; } .mc-p s { font-size: .64rem; } }
