/* Book pages share the site's palette and navigation, without a 3D library. */
.book-hero { overflow: hidden; padding: clamp(3rem, 6vw, 6rem) 0 3rem; background: radial-gradient(ellipse at 75% 55%, #24262a 0, #050505 55%); }
.book-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
.book-hero h1 { max-width: 12ch; font-size: clamp(3rem, 5.5vw, 5.4rem); line-height: 1.03; letter-spacing: -.045em; margin: .7rem 0 1.5rem; }
.book-author { color: #c6c4bf; letter-spacing: .13em; text-transform: uppercase; font-size: .78rem; }
.book-intro { max-width: 48ch; font-size: 1.12rem; color: #d2d0cc; line-height: 1.7; }
.book-hero .hero-actions { align-items: flex-start; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.book-video-link { color: var(--ivory); text-underline-offset: .3em; }
.book-facts { display: flex; flex-wrap: wrap; gap: 1rem; padding: 1.3rem 0 0; margin: 1rem 0 0; list-style: none; color: #b7b5b0; font-size: .85rem; }
.book-preview { margin: 0; text-align: center; min-width: 0; }
.book-stage { position: relative; display: grid; place-items: center; height: 520px; perspective: 1300px; }
.book-stage::after { content: ''; position: absolute; bottom: 10px; width: 85%; height: 35px; background: #000; filter: blur(18px); border-radius: 50%; }
.book-object { --book-w: 300px; --book-h: 450px; --book-d: 8px; position: relative; width: var(--book-w); height: var(--book-h); transform-style: preserve-3d; transform: rotateY(-24deg) rotateX(5deg); transition: transform 800ms cubic-bezier(.2,.7,.2,1); z-index: 1; }
.book-preview[data-side="back"] .book-object { transform: rotateY(156deg) rotateX(5deg); }
.book-face { position: absolute; inset: 0; width: 100%; height: 100%; backface-visibility: hidden; box-shadow: 0 2px 2px #000; }
.book-face img { display: block; width: 100%; height: 100%; object-fit: fill; border-radius: 0; }
.book-front { transform: translateZ(calc(var(--book-d) / 2)); }
.book-back { transform: rotateY(180deg) translateZ(calc(var(--book-d) / 2)); }
.book-spine, .book-pages { position: absolute; top: 0; width: var(--book-d); height: 100%; backface-visibility: hidden; }
.book-spine { left: 0; background: linear-gradient(90deg, #0c0c0c, #353535, #090909); transform: translateX(-50%) rotateY(-90deg); }
.book-pages { right: 0; background: repeating-linear-gradient(90deg, #d4cbbc 0 1px, #f5eee3 1px 3px); transform: translateX(50%) rotateY(90deg); }
.book-controls { display: inline-flex; gap: .2rem; padding: .3rem; border: 1px solid #555; border-radius: 3rem; }
.book-controls[hidden] { display: none; }
.book-controls button { border: 0; border-radius: 2rem; padding: .65rem 1.4rem; min-height: 44px; background: transparent; color: var(--ivory); font: inherit; cursor: pointer; }
.book-controls button[aria-pressed="true"] { background: var(--ivory); color: var(--stage); }
.book-controls button:focus-visible { outline: 3px solid var(--rosso-bright); outline-offset: 3px; }
.book-preview figcaption { margin-top: 1rem; color: #b7b5b0; font-size: .75rem; }
.book-section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.book-section h2 { max-width: 18ch; font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1.07; letter-spacing: -.035em; margin: .7rem 0 1.5rem; }
.book-section .book-lead { max-width: 68ch; font-size: 1.2rem; line-height: 1.7; }
.book-chapters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 3rem; }
.book-chapters article + article { border-left: 1px solid #ccc5bb; padding-left: 2.5rem; }
.book-chapters span { color: #938d85; font-size: 2.7rem; font-weight: 850; }
.book-chapters h3 { font-size: 1.35rem; margin: .6rem 0; }
.book-chapters p { line-height: 1.75; color: #56524c; }
.book-journey { margin: 2.5rem 0 0; }
.book-journey img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; border-radius: .6rem; }
.book-journey figcaption { margin-top: .7rem; color: #686158; font-size: .78rem; text-align: center; }
.book-hero .button, .book-final .button { transition: box-shadow 250ms ease, transform 250ms ease; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .book-preview[data-side="front"] .book-stage:hover .book-object { transform: rotateY(-16deg) rotateX(3deg) translateY(-4px); }
  .book-preview[data-side="back"] .book-stage:hover .book-object { transform: rotateY(164deg) rotateX(3deg) translateY(-4px); }
  .book-hero .button:hover, .book-final .button:hover { transform: translateY(-2px); box-shadow: 0 8px 28px #d0000038; }
}
.book-voices-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 4rem; align-items: center; }
.book-voices-grid .book-lead, .book-body { color: #c6c4bf; line-height: 1.75; }
.book-quote { margin: 0; padding: 1rem 0 1rem 2rem; border-left: 3px solid var(--rosso-bright); }
.book-quote blockquote { margin: 0; }
.book-quote blockquote p { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 750; line-height: 1.25; letter-spacing: -.025em; }
.book-quote figcaption { color: #b7b5b0; line-height: 1.7; font-size: .85rem; }
.book-video-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
.book-video-grid .video-facade { aspect-ratio: 4 / 3; width: 100%; margin-bottom: 1rem; }
.book-video-grid .video-cover { height: 100%; aspect-ratio: auto; object-fit: contain; object-position: center; }
.book-video-grid iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 1rem; margin-bottom: 1rem; }
.book-video-grid .video-facade { background: #171719; }
/* Keep WhatsApp clear of the consent choices on the book pages. */
.analytics-consent { bottom: 5.5rem; }
.book-video-grid p { color: #c6c4bf; line-height: 1.75; }
.book-faq { max-width: 800px; }
.book-faq details { padding: 1.2rem 0; border-bottom: 1px solid #ccc5bb; }
.book-faq summary { cursor: pointer; font-size: 1.1rem; font-weight: 750; }
.book-faq p { color: #56524c; line-height: 1.7; margin: 1rem 0 0; }
.book-faq a { color: #a90000; text-underline-offset: .2em; }
.book-final { text-align: center; }
.book-final h2, .book-final p { margin-inline: auto; }
.book-final p { max-width: 52ch; color: #c6c4bf; line-height: 1.7; }
.book-final .button { margin: 1.5rem 0 1rem; }
.book-retailer-note { font-size: .82rem; }
.books-intro { max-width: 62ch; }
.books-feature { display: grid; grid-template-columns: 260px 1fr; gap: 4rem; align-items: center; }
.books-cover { width: 100%; max-width: 260px; box-shadow: 16px 16px 0 #ded7cd; }
.books-feature h2 { max-width: 22ch; }
.books-coming { max-width: 60ch; border-top: 1px solid #464646; padding-top: 2.5rem; }
@media (max-width: 760px) {
  .book-hero-grid, .book-video-grid, .book-voices-grid, .books-feature { grid-template-columns: 1fr; gap: 2.5rem; }
  .book-hero h1 { font-size: clamp(2.75rem, 12vw, 4rem); }
  .book-stage { height: 410px; }
  .book-object { --book-w: 240px; --book-h: 360px; --book-d: 6px; }
  .book-chapters { grid-template-columns: 1fr; gap: 1.5rem; }
  .book-chapters article + article { border-left: 0; border-top: 1px solid #ccc5bb; padding: 1.5rem 0 0; }
  .book-hero .button { width: 100%; }
  .books-cover { margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) { .book-object, .book-hero .button, .book-final .button { transition: none; } }
