/* A real bookstore photograph behind the hero copy. */
.hero{background:#09182F;isolation:isolate}
.hero-backdrop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:0;pointer-events:none}
.hero::before{background:linear-gradient(90deg,rgba(3,13,38,.89) 0%,rgba(3,13,38,.76) 45%,rgba(3,13,38,.3) 100%)}
.hero .hero-banner-card{background:rgba(5,18,42,.76);border-color:rgba(255,255,255,.24);padding:24px;box-shadow:0 24px 60px rgba(0,0,0,.22)}
.hero #heroFeatureTag{display:block;color:#F4C967!important;margin-bottom:20px}
.hero-feature-layout{display:grid;grid-template-columns:minmax(115px,.9fr) minmax(0,1fr);align-items:center;gap:24px}
.hero-banner-card--empty .hero-feature-layout{grid-template-columns:1fr}
.hero-feature-copy{min-width:0}
.hero .hero-feature-copy h3{font-size:clamp(1.1rem,1.8vw,1.45rem);line-height:1.2;overflow-wrap:anywhere;color:#FFE2A0}
.hero #heroFeatureByline{font-size:.78rem;line-height:1.5;margin-bottom:12px;color:#EEF2FA;overflow-wrap:anywhere}
.hero #heroFeatureBlurb{font-size:.78rem;line-height:1.55;margin-bottom:18px;color:#DEE5F2;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;max-height:4.65em}
.hero #heroFeatureLink{display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:10px 16px;font-size:.78rem;text-align:center}

/* The front cover turns away on the left, revealing the white fore-edge
   on the right. The binding/spine is never presented to the viewer. */
.hero-book-scene{position:relative;width:100%;max-width:180px;margin:12px auto 20px;perspective:1100px}
.hero-book-scene[hidden]{display:none}
.hero-book-scene::after{content:'';position:absolute;left:-3%;right:-16%;bottom:-12px;height:18px;background:rgba(0,0,0,.52);border-radius:50%;filter:blur(7px);transform:skewX(-20deg);z-index:-1}
.hero-book-volume{position:relative;width:100%;aspect-ratio:var(--hero-book-ratio,2 / 3);transform-style:preserve-3d;transform:rotateY(-32deg)}
.hero-book-front,.hero-book-back{position:absolute;inset:0;border-radius:2px 4px 4px 2px;background:#17243B;backface-visibility:hidden}
.hero-book-front{transform:translateZ(18px);overflow:hidden;box-shadow:inset -2px 0 2px rgba(0,0,0,.12)}
.hero-book-front img,.hero-book-front .cbcover{display:block;width:100%;height:100%;object-fit:contain}
.hero-book-back{transform:translateZ(-18px);box-shadow:10px 10px 22px rgba(0,0,0,.23)}
.hero-book-pages{position:absolute;top:3px;bottom:3px;right:-16px;width:32px;transform:rotateY(90deg);background:repeating-linear-gradient(90deg,#FCF9ED 0px,#FCF9ED 2px,#D8D3C5 2px,#F1EDE0 3px);box-shadow:inset 0 0 3px rgba(0,0,0,.16);backface-visibility:hidden}
@media(max-width:1100px){
  .hero-feature-layout{grid-template-columns:minmax(105px,.85fr) minmax(0,1fr);gap:20px}
  .hero .hero-banner-card{padding:20px}
}
@media(max-width:767px){
  .hero::before{background:linear-gradient(180deg,rgba(3,13,38,.84),rgba(3,13,38,.7) 55%,rgba(3,13,38,.4))}
  .hero-backdrop{object-position:62% center}
  .hero .hero-banner-card{width:100%;max-width:520px;justify-self:center}
  .hero .hero-feature-copy h3{font-size:1.25rem}
}
@media(max-width:360px){
  .hero-feature-layout{grid-template-columns:minmax(90px,.8fr) minmax(0,1fr);gap:14px}
  .hero .hero-banner-card{padding:16px}
  .hero .hero-feature-copy h3{font-size:1.1rem}
  .hero #heroFeatureLink{padding:10px;font-size:.72rem}
}
