:root{
  --coal:#11110f;
  --charcoal:#24231f;
  --paper:#eee4d0;
  --paper-dim:#d6cbb9;
  --oxide:#743126;
  --oxide-deep:#592219;
  --brass:#b09265;
  --muted:#aaa292;
  --line:rgba(176,146,101,.26);
  --serif:Georgia,"Times New Roman",serif;
  --sans:Arial,Helvetica,sans-serif;
  --max:1240px;
}
*{box-sizing:border-box}
html{background:var(--coal);scroll-behavior:smooth}
body{
  margin:0;
  background:
    radial-gradient(circle at 76% 7%,rgba(176,146,101,.12),transparent 28rem),
    linear-gradient(180deg,#151512 0,#11110f 44rem,#11110f 100%);
  color:var(--paper);
  font-family:var(--serif);
  text-rendering:optimizeLegibility;
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
.site-header{
  position:sticky;top:0;z-index:50;
  min-height:82px;
  padding:0 clamp(1.25rem,5vw,5rem);
  display:flex;align-items:center;justify-content:space-between;gap:2rem;
  background:rgba(17,17,15,.96);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}
.wordmark{
  white-space:nowrap;
  font:700 clamp(.95rem,1.5vw,1.18rem)/1 var(--serif);
  text-transform:uppercase;letter-spacing:.09em;
}
.wordmark span{color:var(--brass)}
.site-header nav{display:flex;align-items:center;gap:clamp(1rem,2.5vw,2.2rem);font:700 .7rem/1 var(--sans);text-transform:uppercase;letter-spacing:.12em}
.site-header nav a{position:relative;padding:.8rem 0;color:#c9c0b0}
.site-header nav a:hover,.site-header nav a[aria-current=page]{color:var(--paper)}
.site-header nav a[aria-current=page]::after{content:"";position:absolute;left:0;right:0;bottom:.25rem;height:1px;background:var(--oxide)}
.nav-toggle{display:none}
.eyebrow{margin:0;color:var(--brass);font:700 .69rem/1.3 var(--sans);text-transform:uppercase;letter-spacing:.2em}
.button{
  min-height:2.85rem;display:inline-flex;align-items:center;justify-content:center;
  padding:.8rem 1.15rem;border:1px solid rgba(216,200,168,.48);border-radius:2px;
  background:rgba(176,146,101,.08);color:var(--paper);
  font:700 .64rem/1.1 var(--sans);text-transform:uppercase;letter-spacing:.11em;
  transition:.18s ease;
}
.button:hover{background:var(--oxide);border-color:var(--oxide);transform:translateY(-2px)}
.button.primary{background:var(--oxide);border-color:var(--oxide)}
.button.primary:hover{background:#873b2e}
.text-link{color:var(--brass);font:700 .68rem/1.2 var(--sans);text-transform:uppercase;letter-spacing:.1em}
.text-link:hover{color:var(--paper)}
.hero{
  min-height:calc(100vh - 82px);
  width:min(var(--max),100%);
  margin:0 auto;
  padding:clamp(3rem,8vh,6.5rem) clamp(1.5rem,4vw,3rem);
  display:grid;grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);gap:clamp(3rem,7vw,7rem);align-items:center;
}
.hero h1{margin:.8rem 0 1.15rem;font-size:clamp(3.1rem,6.2vw,5.4rem);line-height:.98;font-weight:500;letter-spacing:.005em}
.hero h1 span{color:#d9cfbc}
.hero-lede{max-width:700px;margin:0;color:var(--paper-dim);font-size:clamp(1.05rem,1.6vw,1.34rem);line-height:1.55}
.hero-actions{display:flex;gap:.8rem;flex-wrap:wrap;margin-top:2rem}
.section{width:min(var(--max),100%);margin:0 auto;padding:clamp(4rem,8vw,7rem) clamp(1.5rem,4vw,3rem);border-top:1px solid var(--line)}
.intro-band{display:grid;grid-template-columns:.85fr 1.15fr;gap:clamp(2rem,6vw,6rem);align-items:start}
.intro-band h2,.section-heading h2,.series-band h2,.page-head h1,.about-layout h1,.detail-copy h1{margin:.55rem 0 0;font-size:clamp(2.2rem,4.4vw,4.25rem);line-height:1.03;font-weight:500}
.intro-band>p{margin:0;color:var(--paper-dim);font-size:1.05rem;line-height:1.75}
.section-heading{display:flex;justify-content:space-between;align-items:end;gap:2rem;margin-bottom:2.25rem}
.book-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(1.5rem,3.6vw,3rem)}
.book-card{min-width:0}
.book-art{display:block;overflow:hidden;background:#1d1c18;border:1px solid rgba(176,146,101,.16);box-shadow:0 18px 32px rgba(0,0,0,.32)}
.book-art img{width:100%;aspect-ratio:0.704;object-fit:cover;transition:transform .25s ease}
.book-art:hover img{transform:scale(1.018)}
.book-card-copy{padding:1.2rem .15rem 0}
.book-card h2,.book-card h3{margin:.4rem 0 .65rem;font-size:clamp(1.35rem,2vw,1.8rem);line-height:1.1;font-weight:500}
.book-card p:not(.eyebrow){margin:0 0 .9rem;color:var(--muted);font-size:.93rem;line-height:1.55}
.series-band{display:grid;grid-template-columns:1fr 1fr;gap:clamp(3rem,6vw,6rem);align-items:center;background:linear-gradient(90deg,rgba(116,49,38,.14),transparent)}
.series-copy>p:not(.eyebrow){color:var(--paper-dim);line-height:1.7}
.series-copy .button{margin-top:.5rem}
.series-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;align-items:end}
.series-strip img{width:100%;box-shadow:0 18px 32px rgba(0,0,0,.4)}
.page-shell{width:min(var(--max),100%);margin:0 auto;padding:clamp(3rem,7vw,6rem) clamp(1.5rem,4vw,3rem) 6rem}
.page-head{max-width:820px;margin-bottom:3.2rem}
.page-head>p:last-child{color:var(--paper-dim);font-size:1.08rem;line-height:1.65}
.wide-head{max-width:940px}
.all-books{row-gap:4.5rem}
.series-intro{max-width:920px;margin:-1rem 0 3.5rem;padding-left:1.25rem;border-left:2px solid var(--oxide);color:var(--paper-dim);font-size:1.03rem;line-height:1.7}
.series-intro p{margin:0 0 .8rem}
.series-books{display:grid;gap:3rem}
.series-book{display:grid;grid-template-columns:minmax(220px,300px) minmax(0,1fr);gap:clamp(2rem,5vw,5rem);align-items:center;padding-top:3rem;border-top:1px solid var(--line)}
.series-book h2{margin:.5rem 0 .8rem;font-size:clamp(2rem,3.5vw,3.4rem);font-weight:500}
.series-book>div>p:not(.eyebrow){max-width:650px;color:var(--paper-dim);line-height:1.65}
.book-detail{display:grid;grid-template-columns:minmax(240px,360px) minmax(0,1fr);gap:clamp(3rem,7vw,7rem);align-items:center;min-height:calc(100vh - 210px)}
.detail-cover{margin:0;filter:drop-shadow(0 25px 34px rgba(0,0,0,.55))}
.detail-cover img{width:100%;border:1px solid rgba(176,146,101,.18)}
.detail-copy h1{font-size:clamp(2.8rem,5.4vw,5rem)}
.detail-lede{max-width:730px;color:#d9cfbc;font-size:clamp(1.12rem,1.8vw,1.4rem);line-height:1.5}
.prose{max-width:760px;color:var(--paper-dim);font-size:1rem;line-height:1.72}
.prose p{margin:0 0 1rem}
.historical-note{max-width:760px;margin:1.2rem 0 0;padding:.8rem 0 .8rem 1.1rem;border-left:2px solid var(--oxide);color:var(--muted);font:400 .76rem/1.55 var(--sans)}
.detail-actions{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1.5rem}
.about-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:clamp(3rem,8vw,8rem);align-items:center;min-height:calc(100vh - 210px)}
.quote-panel{margin:0;padding:2.2rem;border:1px solid var(--line);background:rgba(176,146,101,.05)}
.quote-panel blockquote{margin:1rem 0 0;font-size:clamp(1.65rem,3vw,2.6rem);line-height:1.25;font-style:italic}
@media(max-width:900px){
  .hero{grid-template-columns:1fr 330px;gap:2rem}
  .book-grid{grid-template-columns:repeat(2,1fr)}
  .series-band{grid-template-columns:1fr}
}
@media(max-width:700px){
  .site-header{min-height:72px;padding:.8rem 1rem}
  .nav-toggle{display:block;border:1px solid var(--line);background:transparent;color:var(--paper);padding:.55rem .7rem;font:700 .6rem/1 var(--sans);text-transform:uppercase;letter-spacing:.1em}
  .site-header nav{display:none;position:absolute;top:100%;left:0;right:0;padding:.9rem 1rem 1.1rem;flex-direction:column;align-items:stretch;gap:0;background:#11110f;border-bottom:1px solid var(--line)}
  .site-header nav.open{display:flex}
  .site-header nav a{padding:.75rem .15rem}
  .site-header nav a[aria-current=page]::after{display:none}
  .hero{min-height:auto;grid-template-columns:1fr;padding-top:3rem;padding-bottom:4rem}
  .hero h1{font-size:clamp(2.7rem,13vw,4rem)}
    .intro-band,.series-band,.about-layout,.book-detail{grid-template-columns:1fr}
  .book-grid{grid-template-columns:1fr}
  .featured-grid{grid-template-columns:1fr}
  .book-card{display:grid;grid-template-columns:135px minmax(0,1fr);gap:1.1rem;align-items:start}
  .book-card-copy{padding-top:.25rem}
  .series-strip{max-width:520px}
  .series-book{grid-template-columns:130px minmax(0,1fr);gap:1.25rem}
  .detail-cover{max-width:260px}
  .book-detail{align-items:start}
  .section-heading{align-items:start;flex-direction:column}
}
@media(max-width:440px){
  .wordmark{font-size:.78rem}
  .book-card{grid-template-columns:105px minmax(0,1fr)}
  .series-book{grid-template-columns:105px minmax(0,1fr)}
  .series-strip{gap:.5rem}
  }
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}


/* ---------- Home page: aligned with Books/detail pages ---------- */
.home-page{
  padding-top:clamp(3rem,6vw,5rem);
}
.home-head{
  max-width:980px;
  margin-bottom:clamp(3rem,6vw,5rem);
}
.home-head h1{
  max-width:900px;
  font-size:clamp(2.8rem,5.4vw,5rem);
}
.home-head>p:last-child{
  max-width:760px;
}
.compact-heading{
  margin-bottom:2rem;
}
.compact-heading h2{
  margin:.5rem 0 0;
  max-width:760px;
  font-size:clamp(1.9rem,3.5vw,3.1rem);
  line-height:1.08;
  font-weight:500;
}
.home-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  row-gap:4rem;
}
.home-series{
  margin-top:clamp(5rem,9vw,8rem);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
@media(max-width:900px){
  .home-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:700px){
  .home-head{
    margin-bottom:2.5rem;
  }
  .home-grid{
    grid-template-columns:1fr;
    row-gap:2.5rem;
  }
  .home-grid .book-card{
    display:grid;
    grid-template-columns:135px minmax(0,1fr);
    gap:1.1rem;
    align-items:start;
  }
  .home-series{
    margin-top:4rem;
  }
}
@media(max-width:440px){
  .home-grid .book-card{
    grid-template-columns:105px minmax(0,1fr);
  }
}


/* ---------- Home page refinement ---------- */
.standalone-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.home-about{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:clamp(2.5rem,6vw,6rem);
  align-items:start;
  margin-top:clamp(5rem,9vw,8rem);
  padding-top:clamp(4rem,7vw,6rem);
  border-top:1px solid var(--line);
}
.home-about h2{
  margin:.55rem 0 0;
  font-size:clamp(2rem,3.8vw,3.5rem);
  line-height:1.06;
  font-weight:500;
}
.home-about-copy p{
  margin:0 0 1.2rem;
  color:var(--paper-dim);
  font-size:1rem;
  line-height:1.7;
}
@media(max-width:900px){
  .standalone-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:700px){
  .standalone-grid{
    grid-template-columns:1fr;
  }
  .home-about{
    grid-template-columns:1fr;
  }
}


/* =========================================================
   COMPACT HOME
   Purpose: minimum scrolling. Detail belongs on book pages.
   ========================================================= */
.compact-home{
  width:min(1180px,100%);
  margin:0 auto;
  padding:clamp(1.6rem,3.2vh,2.4rem) clamp(1.2rem,3.5vw,2.5rem) clamp(2rem,4vh,3rem);
}
.compact-intro{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr);
  gap:clamp(2rem,5vw,5rem);
  align-items:end;
  padding-bottom:clamp(1.5rem,3vh,2.2rem);
  border-bottom:1px solid var(--line);
}
.compact-intro h1{
  margin:.45rem 0 0;
  max-width:760px;
  font-size:clamp(2.45rem,4.6vw,4.1rem);
  line-height:.98;
  font-weight:500;
}
.compact-intro-copy p{
  margin:0 0 1rem;
  color:var(--paper-dim);
  font-size:clamp(.92rem,1.2vw,1.06rem);
  line-height:1.52;
}
.compact-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.65rem;
}
.compact-group{
  padding-top:clamp(1.35rem,2.5vh,1.9rem);
}
.compact-series-group{
  margin-top:clamp(1.2rem,2.5vh,1.8rem);
  padding-top:clamp(1.35rem,2.5vh,1.9rem);
  border-top:1px solid var(--line);
}
.compact-group-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:1rem;
  margin-bottom:.8rem;
}
.compact-series-note{
  margin:.25rem 0 0;
  color:var(--muted);
  font-size:.8rem;
  line-height:1.35;
}
.compact-cover-row{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(.9rem,2vw,1.5rem);
}
.compact-book{
  display:grid;
  grid-template-columns:minmax(95px,132px) minmax(0,1fr);
  gap:.85rem;
  align-items:center;
  min-width:0;
  padding:.55rem;
  border:1px solid rgba(176,146,101,.16);
  background:rgba(176,146,101,.035);
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
}
.compact-book:hover{
  transform:translateY(-2px);
  border-color:rgba(176,146,101,.42);
  background:rgba(176,146,101,.07);
}
.compact-book img{
  width:100%;
  max-height:185px;
  aspect-ratio:.704;
  object-fit:cover;
  box-shadow:0 10px 18px rgba(0,0,0,.34);
}
.compact-book span{
  font-size:clamp(1rem,1.55vw,1.28rem);
  line-height:1.1;
}
@media(min-width:1000px) and (min-height:760px){
  .compact-home{
    min-height:calc(100vh - 82px);
    display:grid;
    align-content:center;
  }
}
@media(max-width:900px){
  .compact-intro{
    grid-template-columns:1fr;
    gap:1rem;
  }
  .compact-cover-row{
    grid-template-columns:1fr;
  }
  .compact-book{
    grid-template-columns:105px minmax(0,1fr);
  }
}
@media(max-width:520px){
  .compact-home{
    padding-top:1.25rem;
  }
  .compact-intro h1{
    font-size:clamp(2.15rem,10vw,3rem);
  }
  .compact-group-head{
    align-items:flex-start;
  }
  .compact-book{
    grid-template-columns:88px minmax(0,1fr);
    padding:.45rem;
  }
  .compact-book img{
    max-height:128px;
  }
}


/* =========================================================
   SALES-LED HOME PAGE
   Strong hook, full-width hero, minimal scrolling.
   ========================================================= */
.sales-home{
  width:min(1180px,100%);
  margin:0 auto;
  padding:clamp(1.8rem,3.8vh,3rem) clamp(1.2rem,3.5vw,2.5rem) clamp(2rem,4vh,3.5rem);
}
.sales-hero{
  width:100%;
  padding-bottom:clamp(1.8rem,3.5vh,2.6rem);
  border-bottom:1px solid var(--line);
}
.sales-hero h1{
  margin:.45rem 0 .9rem;
  width:100%;
  max-width:none;
  font-size:clamp(3rem,5.8vw,5.25rem);
  line-height:.96;
  font-weight:500;
  letter-spacing:.002em;
}
.sales-hero h1 span{
  color:#d9cfbc;
}
.sales-lede{
  max-width:900px;
  margin:0;
  color:var(--paper-dim);
  font-size:clamp(1rem,1.35vw,1.18rem);
  line-height:1.55;
}
.sales-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.65rem;
  margin-top:1.2rem;
}
.sales-section{
  padding-top:clamp(1.45rem,2.8vh,2.1rem);
}
.sales-series{
  margin-top:clamp(1.35rem,2.5vh,1.9rem);
  padding-top:clamp(1.45rem,2.8vh,2.1rem);
  border-top:1px solid var(--line);
}
.sales-section-head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:1.5rem;
  margin-bottom:.9rem;
}
.sales-section-head h2{
  margin:.3rem 0 0;
  font-size:clamp(1.55rem,2.6vw,2.35rem);
  line-height:1.08;
  font-weight:500;
}
.sales-book-row{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(.9rem,1.8vw,1.35rem);
}
.sales-book-card{
  display:grid;
  grid-template-columns:minmax(90px,118px) minmax(0,1fr);
  gap:.85rem;
  align-items:center;
  min-width:0;
  padding:.65rem;
  border:1px solid rgba(176,146,101,.16);
  background:rgba(176,146,101,.03);
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
}
.sales-book-card:hover{
  transform:translateY(-2px);
  border-color:rgba(176,146,101,.42);
  background:rgba(176,146,101,.06);
}
.sales-cover img{
  width:100%;
  aspect-ratio:.704;
  object-fit:cover;
  box-shadow:0 10px 18px rgba(0,0,0,.35);
}
.sales-book-copy h3{
  margin:0 0 .45rem;
  font-size:clamp(1.02rem,1.4vw,1.25rem);
  line-height:1.08;
  font-weight:500;
}
.sales-book-copy p{
  margin:0 0 .55rem;
  color:var(--muted);
  font-size:clamp(.72rem,.9vw,.82rem);
  line-height:1.4;
}
.sales-book-copy .text-link{
  font-size:.56rem;
  letter-spacing:.08em;
}
@media(min-width:1050px) and (min-height:820px){
  .sales-home{
    min-height:calc(100vh - 82px);
    display:grid;
    align-content:center;
  }
}
@media(max-width:900px){
  .sales-book-row{
    grid-template-columns:1fr;
  }
  .sales-book-card{
    grid-template-columns:105px minmax(0,1fr);
  }
}
@media(max-width:700px){
  .sales-home{
    padding-top:1.35rem;
  }
  .sales-hero h1{
    font-size:clamp(2.6rem,12vw,4rem);
  }
  .sales-section-head{
    align-items:flex-start;
    flex-direction:column;
    gap:.55rem;
  }
}
@media(max-width:440px){
  .sales-book-card{
    grid-template-columns:82px minmax(0,1fr);
    padding:.5rem;
  }
  .sales-book-copy p{
    font-size:.72rem;
  }
}


/* =========================================================
   V10 — CONSISTENT TYPOGRAPHY + CLEANER HOME + BOOK PAGES
   ========================================================= */

/* One H1 scale across home, books, series, about and individual books */
.home-v10 h1,
.page-head h1,
.about-layout h1,
.detail-copy h1{
  font-size:clamp(2.7rem,4.8vw,4.4rem) !important;
  line-height:1.02 !important;
  font-weight:500 !important;
  letter-spacing:.003em !important;
}

/* Home */
.home-v10{
  width:min(1180px,100%);
  margin:0 auto;
  padding:clamp(1.5rem,3vh,2.3rem) clamp(1.25rem,3.5vw,2.5rem) clamp(2rem,4vh,3rem);
}
.home-v10-hero{
  padding-bottom:clamp(1.4rem,2.8vh,2rem);
  border-bottom:1px solid var(--line);
}
.home-v10-hero h1{
  margin:.45rem 0 .75rem;
  max-width:none;
  width:100%;
}
.home-v10-lede{
  max-width:900px;
  margin:0;
  color:var(--paper-dim);
  font-size:clamp(.95rem,1.15vw,1.06rem);
  line-height:1.52;
}
.home-v10-section{
  padding-top:clamp(1.35rem,2.5vh,1.9rem);
}
.home-v10-series{
  margin-top:clamp(1.2rem,2.3vh,1.7rem);
  padding-top:clamp(1.35rem,2.5vh,1.9rem);
  border-top:1px solid var(--line);
}
.home-v10-section-head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:1.5rem;
  margin-bottom:.9rem;
}
.home-v10-section-head h2{
  margin:.25rem 0 0;
  font-size:clamp(1.45rem,2.2vw,2rem);
  line-height:1.08;
  font-weight:500;
}
.home-v10-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(1.1rem,2.3vw,1.8rem);
}
.home-v10-card{
  min-width:0;
}
.home-v10-cover{
  display:block;
  width:100%;
  max-width:235px;
  margin:0 auto;
  background:#1a1916;
  box-shadow:0 16px 28px rgba(0,0,0,.34);
}
.home-v10-cover img{
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
  aspect-ratio:auto;
}
.home-v10-card-copy{
  max-width:290px;
  margin:.8rem auto 0;
  text-align:left;
}
.home-v10-card-copy h3{
  margin:0 0 .38rem;
  font-size:clamp(1rem,1.3vw,1.18rem);
  line-height:1.08;
  font-weight:500;
}
.home-v10-card-copy p{
  margin:0 0 .5rem;
  color:var(--muted);
  font-size:clamp(.72rem,.85vw,.8rem);
  line-height:1.38;
}
.home-v10-card-copy .text-link{
  font-size:.55rem;
  letter-spacing:.075em;
}

/* Individual book pages: less top whitespace and top-aligned cover */
.page-shell{
  padding-top:clamp(1.6rem,3vh,2.4rem) !important;
}
.book-detail{
  min-height:0 !important;
  align-items:start !important;
  padding-top:0 !important;
}
.detail-cover{
  align-self:start !important;
  margin-top:0 !important;
}
.detail-copy{
  align-self:start !important;
}
.detail-copy h1{
  margin:.45rem 0 .8rem !important;
}
.detail-lede{
  margin-top:0 !important;
}
.detail-cover img{
  width:100%;
  height:auto;
  object-fit:contain;
}

/* Books catalogue also keeps covers intact */
.book-art img{
  width:100% !important;
  height:auto !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
}

@media(max-width:900px){
  .home-v10-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .home-v10-cover{
    max-width:200px;
  }
}
@media(max-width:700px){
  .home-v10-grid{
    grid-template-columns:1fr;
  }
  .home-v10-card{
    display:grid;
    grid-template-columns:120px minmax(0,1fr);
    gap:1rem;
    align-items:start;
  }
  .home-v10-cover{
    max-width:none;
    margin:0;
  }
  .home-v10-card-copy{
    max-width:none;
    margin:.15rem 0 0;
  }
  .home-v10-section-head{
    align-items:flex-start;
    flex-direction:column;
    gap:.45rem;
  }
}
@media(max-width:440px){
  .home-v10-card{
    grid-template-columns:95px minmax(0,1fr);
  }
}


/* =========================================================
   V12 — COVER-FIRST HOME SHOWCASE
   ========================================================= */

:root{
  --page-h1: clamp(2.45rem, 4.15vw, 3.9rem);
  --page-h2: clamp(1.45rem, 2.15vw, 2rem);
}

.page-head h1,
.about-layout h1,
.detail-copy h1,
.showcase-intro h1{
  font-size:var(--page-h1) !important;
  line-height:1.02 !important;
  font-weight:500 !important;
  letter-spacing:.002em !important;
}

.showcase-home{
  width:min(1220px,100%);
  margin:0 auto;
  padding:clamp(1.2rem,2.4vh,1.8rem) clamp(1rem,3vw,2rem) clamp(1.4rem,2.8vh,2rem);
}

.showcase-intro{
  padding-bottom:clamp(.95rem,1.8vh,1.35rem);
  border-bottom:1px solid var(--line);
}

.showcase-intro h1{
  margin:.35rem 0 0 !important;
  max-width:none;
  width:100%;
  font-size:clamp(2rem,3.5vw,3.15rem) !important;
}

.book-shelf{
  padding-top:clamp(1rem,2vh,1.4rem);
}

.shelf-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  margin-bottom:.75rem;
}

.shelf-head h2{
  margin:0;
  font-size:var(--page-h2);
  font-weight:500;
}

.shelf-controls{
  display:flex;
  gap:.45rem;
}

.shelf-arrow{
  width:2.2rem;
  height:2.2rem;
  display:grid;
  place-items:center;
  border:1px solid rgba(216,200,168,.38);
  background:rgba(176,146,101,.05);
  color:var(--paper);
  font-size:1rem;
  cursor:pointer;
}

.shelf-arrow:hover{
  background:var(--oxide);
  border-color:var(--oxide);
}

.shelf-viewport{
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:thin;
  scrollbar-color:rgba(176,146,101,.42) transparent;
  scroll-behavior:smooth;
  overscroll-behavior-inline:contain;
  scroll-snap-type:x proximity;
  cursor:grab;
}

.shelf-viewport.dragging{
  cursor:grabbing;
  scroll-behavior:auto;
  user-select:none;
}

.shelf-track{
  display:flex;
  gap:clamp(1rem,2.1vw,1.65rem);
  width:max-content;
  padding:.15rem .25rem .65rem 0;
}

.shelf-book{
  flex:0 0 clamp(205px,18vw,250px);
  scroll-snap-align:start;
}

.shelf-cover{
  display:block;
  width:100%;
  background:#1a1916;
  box-shadow:0 16px 28px rgba(0,0,0,.42);
  transition:transform .18s ease, box-shadow .18s ease;
}

.shelf-book:hover .shelf-cover{
  transform:translateY(-4px);
  box-shadow:0 22px 34px rgba(0,0,0,.48);
}

.shelf-cover img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:auto;
  object-fit:contain;
}

.shelf-title{
  display:block;
  margin-top:.62rem;
  font-size:clamp(.95rem,1.15vw,1.12rem);
  line-height:1.1;
}

.shelf-series{
  display:block;
  margin-top:.2rem;
  color:var(--brass);
  font:700 .55rem/1.25 var(--sans);
  text-transform:uppercase;
  letter-spacing:.09em;
}

.showcase-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:2rem;
  margin-top:clamp(1rem,2vh,1.4rem);
  padding-top:clamp(1rem,2vh,1.4rem);
  border-top:1px solid var(--line);
}

.showcase-footer p:not(.eyebrow){
  margin:.2rem 0 .45rem;
  color:var(--muted);
  font-size:.86rem;
  line-height:1.4;
}

.showcase-footer-links{
  display:flex;
  gap:.6rem;
  flex-wrap:wrap;
}

/* Individual book pages: tighter top space, cover and copy aligned at top */
.page-shell{
  padding-top:clamp(1.1rem,2.2vh,1.75rem) !important;
}
.book-detail{
  min-height:0 !important;
  align-items:start !important;
}
.detail-cover,
.detail-copy{
  align-self:start !important;
}
.detail-cover{
  margin-top:0 !important;
}
.detail-copy h1{
  margin:.35rem 0 .7rem !important;
}

/* Preserve complete cover artwork everywhere */
.book-art img,
.detail-cover img,
.series-book .book-art img,
.series-strip img,
.shelf-cover img{
  height:auto !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
}

@media(min-width:1100px) and (min-height:760px){
  .showcase-home{
    min-height:calc(100vh - 82px);
    display:grid;
    align-content:center;
  }
}

@media(max-width:700px){
  .showcase-home{
    padding-top:1rem;
  }

  .showcase-intro h1{
    font-size:clamp(1.8rem,8vw,2.6rem) !important;
  }

  .shelf-book{
    flex-basis:clamp(180px,60vw,225px);
  }

  .showcase-footer{
    align-items:flex-start;
    flex-direction:column;
    gap:.8rem;
  }
}

@media(max-width:440px){
  .shelf-book{
    flex-basis:72vw;
  }
}


/* =========================================================
   V13 — DESKTOP 2560x1440 @ 125% (≈2048x1152 CSS px)
   Four large covers visible, no page-level horizontal overflow.
   ========================================================= */

html, body{
  max-width:100%;
  overflow-x:hidden !important;
}

.visually-hidden{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}

.showcase-home{
  width:min(1560px, calc(100vw - 48px)) !important;
  max-width:calc(100vw - 48px) !important;
  margin:0 auto !important;
  padding:clamp(1rem,1.7vh,1.4rem) 0 clamp(1rem,1.8vh,1.4rem) !important;
  min-width:0 !important;
}

.showcase-intro{
  padding-bottom:.8rem !important;
}

.showcase-intro .eyebrow{
  margin-bottom:.3rem !important;
}

.showcase-intro h1{
  width:auto !important;
  max-width:100% !important;
  margin:0 !important;
  font-size:clamp(1.9rem,2.55vw,2.85rem) !important;
  line-height:1.04 !important;
  font-weight:500 !important;
}

.book-shelf{
  width:100% !important;
  min-width:0 !important;
  padding-top:.7rem !important;
}

.shelf-head{
  width:100% !important;
  min-width:0 !important;
  margin-bottom:.5rem !important;
  justify-content:flex-end !important;
}

.shelf-viewport{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  padding:0 !important;
  margin:0 !important;
  box-sizing:border-box !important;
  scrollbar-width:none !important;
  -ms-overflow-style:none !important;
}

.shelf-viewport::-webkit-scrollbar{
  display:none !important;
}

.shelf-track{
  display:grid !important;
  grid-auto-flow:column !important;
  grid-auto-columns:calc((100% - 4.5rem) / 4) !important;
  gap:1.5rem !important;
  width:auto !important;
  max-width:none !important;
  min-width:0 !important;
  padding:.15rem 0 .45rem !important;
  box-sizing:border-box !important;
}

.shelf-book{
  width:100% !important;
  min-width:0 !important;
  max-width:none !important;
  flex:none !important;
  scroll-snap-align:start !important;
}

.shelf-cover{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  box-shadow:0 14px 24px rgba(0,0,0,.38) !important;
}

.shelf-cover img{
  display:block !important;
  width:100% !important;
  height:auto !important;
  max-width:100% !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
}

.shelf-title{
  margin-top:.45rem !important;
  font-size:clamp(.95rem,1vw,1.08rem) !important;
  line-height:1.08 !important;
}

.shelf-series{
  margin-top:.14rem !important;
  font-size:.51rem !important;
}

.shelf-controls{
  display:flex !important;
  gap:.35rem !important;
}

.shelf-arrow{
  width:2rem !important;
  height:2rem !important;
  font-size:.9rem !important;
}

.showcase-footer{
  width:100% !important;
  max-width:100% !important;
  margin-top:.55rem !important;
  padding-top:.7rem !important;
  gap:1rem !important;
}

.showcase-footer p:not(.eyebrow){
  margin:.15rem 0 .3rem !important;
  font-size:.78rem !important;
}

.showcase-footer-links{
  margin-left:auto !important;
  flex-shrink:0 !important;
}

.showcase-footer-links .button{
  min-height:2.35rem !important;
  padding:.62rem .9rem !important;
  font-size:.56rem !important;
}

/* keep entire useful home page within a typical 2048x1152 CSS viewport */
@media (min-width:1400px) and (min-height:900px){
  .showcase-home{
    min-height:calc(100vh - 82px) !important;
    display:grid !important;
    grid-template-rows:auto auto auto !important;
    align-content:center !important;
  }
}

/* 1440–1699 CSS px: still four covers, slightly tighter */
@media (min-width:1400px) and (max-width:1699px){
  .showcase-home{
    width:min(1380px, calc(100vw - 40px)) !important;
  }
  .shelf-track{
    gap:1.1rem !important;
    grid-auto-columns:calc((100% - 3.3rem) / 4) !important;
  }
}

/* tablet/smaller desktop: three covers */
@media (min-width:900px) and (max-width:1399px){
  .showcase-home{
    width:min(1120px, calc(100vw - 32px)) !important;
  }
  .shelf-track{
    gap:1rem !important;
    grid-auto-columns:calc((100% - 2rem) / 3) !important;
  }
}

/* phone: one-and-a-bit covers, deliberate hint to swipe */
@media (max-width:899px){
  .showcase-home{
    width:calc(100vw - 24px) !important;
    max-width:calc(100vw - 24px) !important;
  }
  .showcase-intro h1{
    font-size:clamp(1.65rem,7vw,2.35rem) !important;
  }
  .shelf-track{
    gap:.85rem !important;
    grid-auto-columns:min(72vw,240px) !important;
  }
  .showcase-footer{
    align-items:flex-start !important;
    flex-direction:column !important;
  }
  .showcase-footer-links{
    margin-left:0 !important;
  }
}


/* =========================================================
   V14 — GENERIC RESPONSIVE COVER-FIRST HOME
   All six books have equal status.
   ========================================================= */
html, body{
  max-width:100%;
  overflow-x:hidden !important;
}

.home14{
  width:min(1320px, calc(100% - 2rem));
  margin:0 auto;
  padding:clamp(1.2rem,2.5vw,2rem) 0 clamp(1.2rem,2.5vw,2rem);
}

.home14-intro{
  padding-bottom:.75rem;
  border-bottom:1px solid var(--line);
}

.home14-intro h1{
  margin:.35rem 0 0;
  max-width:none;
  width:100%;
  font-size:clamp(2rem,3.4vw,3.25rem);
  line-height:1.03;
  font-weight:500;
}

.home14-shelf{
  padding-top:.75rem;
}

.home14-head{
  display:flex;
  justify-content:flex-end;
  margin-bottom:.45rem;
}

.home14-controls{
  display:flex;
  gap:.4rem;
}

.home14-arrow{
  width:2.15rem;
  height:2.15rem;
  display:grid;
  place-items:center;
  border:1px solid rgba(216,200,168,.38);
  background:rgba(176,146,101,.05);
  color:var(--paper);
  font-size:1rem;
  cursor:pointer;
}

.home14-arrow:hover{
  background:var(--oxide);
  border-color:var(--oxide);
}

.home14-viewport{
  width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-behavior:smooth;
  scroll-snap-type:x proximity;
  scrollbar-width:none;
  -ms-overflow-style:none;
}

.home14-viewport::-webkit-scrollbar{
  display:none;
}

.home14-track{
  display:flex;
  gap:clamp(1rem,2vw,1.5rem);
  width:max-content;
  padding:.1rem 0 .4rem;
}

.home14-book{
  flex:0 0 clamp(210px,17vw,250px);
  scroll-snap-align:start;
  min-width:0;
}

.home14-cover{
  display:block;
  width:100%;
  background:#1a1916;
  box-shadow:0 14px 26px rgba(0,0,0,.4);
  transition:transform .18s ease, box-shadow .18s ease;
}

.home14-book:hover .home14-cover{
  transform:translateY(-3px);
  box-shadow:0 20px 30px rgba(0,0,0,.47);
}

.home14-cover img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:auto;
  object-fit:contain;
}

.home14-title{
  display:block;
  margin-top:.5rem;
  font-size:clamp(.95rem,1.1vw,1.08rem);
  line-height:1.08;
}

.home14-series{
  display:block;
  margin-top:.18rem;
  color:var(--brass);
  font:700 .53rem/1.25 var(--sans);
  text-transform:uppercase;
  letter-spacing:.09em;
}

.home14-footer{
  display:flex;
  justify-content:flex-end;
  gap:.6rem;
  margin-top:.75rem;
  padding-top:.75rem;
  border-top:1px solid var(--line);
}

@media (max-width:900px){
  .home14{
    width:min(100% - 1.25rem, 100%);
  }

  .home14-book{
    flex-basis:clamp(180px,38vw,225px);
  }
}

@media (max-width:560px){
  .home14-book{
    flex-basis:72vw;
  }

  .home14-intro h1{
    font-size:clamp(1.8rem,8vw,2.5rem);
  }

  .home14-footer{
    justify-content:flex-start;
    flex-wrap:wrap;
  }
}

/* Individual book pages: tighter top edge and aligned cover/text */
.page-shell{
  padding-top:clamp(1rem,2vw,1.6rem) !important;
}
.book-detail{
  min-height:0 !important;
  align-items:start !important;
}
.detail-cover,
.detail-copy{
  align-self:start !important;
}
.detail-cover{
  margin-top:0 !important;
}
.detail-copy h1{
  margin:.35rem 0 .7rem !important;
}

/* Keep heading hierarchy consistent across pages */
.page-head h1,
.about-layout h1,
.detail-copy h1{
  font-size:clamp(2.6rem,4.6vw,4.2rem) !important;
  line-height:1.02 !important;
  font-weight:500 !important;
}

/* Never crop covers */
.book-art img,
.detail-cover img,
.series-book .book-art img,
.series-strip img,
.home14-cover img{
  width:100% !important;
  height:auto !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
}


/* =========================================================
   V15 — agreed heading + book subtitles on home shelf
   ========================================================= */
.home14-subtitle{
  display:block;
  margin-top:.24rem;
  color:var(--muted);
  font-size:clamp(.68rem,.78vw,.78rem);
  line-height:1.3;
  max-width:100%;
}
.home14-series{
  margin-top:.25rem !important;
}

/* V16 - three covers per page */
html,body{max-width:100%;overflow-x:hidden!important}
.home16{width:min(1400px,calc(100% - 2rem));margin:0 auto;padding:1.15rem 0 1.3rem}
.home16-intro{padding-bottom:.65rem;border-bottom:1px solid var(--line)}
.home16-intro h1{margin:.3rem 0 0;width:100%;max-width:none;font-size:clamp(2rem,3.2vw,3.15rem);line-height:1.03;font-weight:500}
.home16-shelf{padding-top:.6rem}
.home16-controls{display:flex;justify-content:flex-end;align-items:center;gap:.45rem;margin-bottom:.45rem}
.home16-arrow{width:2.15rem;height:2.15rem;display:grid;place-items:center;border:1px solid rgba(216,200,168,.38);background:rgba(176,146,101,.05);color:var(--paper);font-size:1rem;cursor:pointer}
.home16-arrow:hover{background:var(--oxide);border-color:var(--oxide)}
.home16-arrow:disabled{opacity:.3;cursor:default;background:transparent}
.home16-page-indicator{min-width:3.1rem;text-align:center;color:var(--muted);font:700 .62rem/1 var(--sans);letter-spacing:.08em}
.home16-viewport{width:100%;overflow:hidden}
.home16-track{display:flex;width:200%;transition:transform .4s ease}
.home16-track.is-page-2{transform:translateX(-50%)}
.home16-page{flex:0 0 50%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(1.5rem,3vw,2.6rem);padding:.1rem .2rem .4rem}
.home16-book{display:block;min-width:0}
.home16-cover{display:block;width:min(100%,320px);margin:0 auto;background:#1a1916;box-shadow:0 16px 28px rgba(0,0,0,.42);transition:transform .18s ease,box-shadow .18s ease}
.home16-book:hover .home16-cover{transform:translateY(-4px);box-shadow:0 22px 34px rgba(0,0,0,.48)}
.home16-cover img{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain}
.home16-title,.home16-subtitle,.home16-series{display:block;width:min(100%,320px);margin-left:auto;margin-right:auto}
.home16-title{margin-top:.55rem;font-size:clamp(1rem,1.15vw,1.15rem);line-height:1.08}
.home16-subtitle{margin-top:.2rem;color:var(--muted);font-size:clamp(.7rem,.78vw,.8rem);line-height:1.28}
.home16-series{margin-top:.22rem;color:var(--brass);font:700 .54rem/1.2 var(--sans);text-transform:uppercase;letter-spacing:.09em}
.home16-footer{display:flex;justify-content:flex-end;margin-top:.55rem;padding-top:.55rem;border-top:1px solid var(--line)}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.page-shell{padding-top:clamp(1rem,2vw,1.5rem)!important}
.book-detail{min-height:0!important;align-items:start!important}
.detail-cover,.detail-copy{align-self:start!important}
.detail-cover{margin-top:0!important}
.detail-copy h1{margin:.35rem 0 .7rem!important}
.page-head h1,.about-layout h1,.detail-copy h1{font-size:clamp(2.6rem,4.4vw,4.1rem)!important;line-height:1.02!important;font-weight:500!important}
.home16-cover img,.detail-cover img,.book-art img{width:100%!important;height:auto!important;aspect-ratio:auto!important;object-fit:contain!important}
@media(max-width:900px){.home16-page{gap:1rem}}
@media(max-width:700px){.home16{width:calc(100% - 1rem)}.home16-intro h1{font-size:clamp(1.8rem,7.5vw,2.5rem)}.home16-page{grid-template-columns:1fr}.home16-cover,.home16-title,.home16-subtitle,.home16-series{width:min(72vw,300px)}}


/* V17 about panel */
.about-side-copy{
  margin:.9rem 0 0;
  color:var(--paper-dim);
  font-size:clamp(.92rem,1.15vw,1.05rem);
  line-height:1.65;
}


/* =========================================================
   V19 — seven-book home shelf, three covers per viewport
   ========================================================= */
.home19-viewport{
  width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  scrollbar-width:none;
  -ms-overflow-style:none;
}
.home19-viewport::-webkit-scrollbar{display:none}
.home19-track{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:calc((100% - 5.2rem) / 3);
  gap:2.6rem;
  width:max-content;
  min-width:100%;
  padding:.1rem .2rem .45rem;
}
.home19-book{
  display:block;
  min-width:0;
  scroll-snap-align:start;
}
.home19-cover{
  display:block;
  width:100%;
  max-width:350px;
  margin:0 auto;
  background:#1a1916;
  box-shadow:0 16px 28px rgba(0,0,0,.42);
  transition:transform .18s ease,box-shadow .18s ease;
}
.home19-book:hover .home19-cover{
  transform:translateY(-4px);
  box-shadow:0 22px 34px rgba(0,0,0,.48);
}
.home19-cover img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:auto;
  object-fit:contain;
}
.home19-title,
.home19-subtitle,
.home19-series{
  display:block;
  width:100%;
  max-width:350px;
  margin-left:auto;
  margin-right:auto;
}
.home19-title{
  margin-top:.55rem;
  font-size:clamp(1rem,1.15vw,1.15rem);
  line-height:1.08;
}
.home19-subtitle{
  margin-top:.2rem;
  color:var(--muted);
  font-size:clamp(.7rem,.78vw,.8rem);
  line-height:1.28;
}
.home19-series{
  margin-top:.22rem;
  color:var(--brass);
  font:700 .54rem/1.2 var(--sans);
  text-transform:uppercase;
  letter-spacing:.09em;
}

@media(max-width:900px){
  .home19-track{
    grid-auto-columns:calc((100% - 2rem) / 2);
    gap:2rem;
  }
}
@media(max-width:620px){
  .home19-track{
    grid-auto-columns:78%;
    gap:1rem;
  }
}


/* =========================================================
   V20 — PROFESSIONAL THREE-COVER HOME
   ========================================================= */
html, body{
  max-width:100%;
  overflow-x:hidden !important;
}

.home20{
  width:min(1500px, calc(100% - 2rem));
  margin:0 auto;
  padding:clamp(1rem,2vh,1.5rem) 0 clamp(1rem,2vh,1.4rem);
}

.home20-header{
  width:100%;
  padding-bottom:.7rem;
  border-bottom:1px solid var(--line);
}

.home20-header h1{
  margin:.3rem 0 0;
  width:100%;
  max-width:none;
  font-size:clamp(2rem,3vw,3rem);
  line-height:1.03;
  font-weight:500;
}

.home20-gallery{
  position:relative;
  display:grid;
  grid-template-columns:2.7rem minmax(0,1fr) 2.7rem;
  gap:.85rem;
  align-items:center;
  margin-top:.8rem;
}

.home20-window{
  width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-behavior:smooth;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  -ms-overflow-style:none;
}
.home20-window::-webkit-scrollbar{display:none}

.home20-track{
  display:flex;
  gap:clamp(1.25rem,2.5vw,2.4rem);
  width:max-content;
  padding:.15rem .15rem .45rem;
}

.home20-card{
  flex:0 0 calc((100vw - 10rem - 2 * clamp(1.25rem,2.5vw,2.4rem)) / 3);
  max-width:390px;
  min-width:0;
  scroll-snap-align:start;
}

@media(min-width:1500px){
  .home20-card{
    flex-basis:calc((1400px - 2 * clamp(1.25rem,2.5vw,2.4rem)) / 3);
  }
}

.home20-cover{
  display:block;
  width:100%;
  max-width:340px;
  margin:0 auto;
  background:#191815;
  box-shadow:0 16px 30px rgba(0,0,0,.42);
  transition:transform .18s ease, box-shadow .18s ease;
}

.home20-cover:hover{
  transform:translateY(-4px);
  box-shadow:0 22px 38px rgba(0,0,0,.5);
}

.home20-cover img{
  display:block;
  width:100%;
  height:auto;
  max-height:530px;
  object-fit:contain;
  aspect-ratio:auto;
}

.home20-meta{
  width:100%;
  max-width:340px;
  margin:.55rem auto 0;
  min-height:5.4rem;
}

.home20-meta h2{
  margin:0;
  font-size:clamp(1.05rem,1.15vw,1.18rem);
  line-height:1.08;
  font-weight:500;
}

.home20-meta p{
  margin:.25rem 0 0;
  color:var(--muted);
  font-size:clamp(.72rem,.8vw,.8rem);
  line-height:1.3;
}

.home20-meta span{
  display:block;
  margin-top:.28rem;
  color:var(--brass);
  font:700 .53rem/1.2 var(--sans);
  text-transform:uppercase;
  letter-spacing:.09em;
}

.home20-arrow{
  width:2.6rem;
  height:2.6rem;
  display:grid;
  place-items:center;
  border:1px solid rgba(216,200,168,.38);
  background:rgba(176,146,101,.05);
  color:var(--paper);
  font-size:1rem;
  cursor:pointer;
}

.home20-arrow:hover:not(:disabled){
  background:var(--oxide);
  border-color:var(--oxide);
}

.home20-arrow:disabled{
  opacity:.25;
  cursor:default;
}

.home20-footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:1rem;
  margin-top:.4rem;
  padding-top:.55rem;
  border-top:1px solid var(--line);
}

.home20-hint{
  color:var(--muted);
  font-size:.75rem;
  font-style:italic;
}

/* Keep useful home content near one screen on normal desktops */
@media(min-width:1000px) and (min-height:780px){
  .home20{
    min-height:calc(100vh - 82px);
    display:grid;
    grid-template-rows:auto 1fr auto;
    align-items:center;
  }
}

/* Tablet: two books visible */
@media(max-width:950px){
  .home20-card{
    flex-basis:calc((100vw - 7rem - 1.25rem) / 2);
  }
  .home20-gallery{
    grid-template-columns:2.4rem minmax(0,1fr) 2.4rem;
    gap:.55rem;
  }
}

/* Mobile: one book with a hint of the next */
@media(max-width:620px){
  .home20{
    width:calc(100% - 1rem);
  }
  .home20-header h1{
    font-size:clamp(1.8rem,7vw,2.4rem);
  }
  .home20-gallery{
    grid-template-columns:2.2rem minmax(0,1fr) 2.2rem;
    gap:.35rem;
  }
  .home20-card{
    flex-basis:76vw;
  }
  .home20-cover,
  .home20-meta{
    max-width:300px;
  }
  .home20-footer{
    align-items:flex-start;
    flex-direction:column;
  }
}

/* Individual pages remain compact and top-aligned */
.page-shell{
  padding-top:clamp(1rem,2vw,1.5rem) !important;
}
.book-detail{
  min-height:0 !important;
  align-items:start !important;
}
.detail-cover,
.detail-copy{
  align-self:start !important;
}
.detail-cover{
  margin-top:0 !important;
}
.detail-copy h1{
  margin:.35rem 0 .7rem !important;
}
.detail-cover img{
  width:100% !important;
  height:auto !important;
  object-fit:contain !important;
}


/* =========================================================
   V21 — ABOUT ROTATING PANELS
   ========================================================= */
.about-rotator{
  position:relative;
  min-height:250px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  overflow:hidden;
}

.about-card{
  display:none;
  opacity:0;
}

.about-card.is-active{
  display:block;
  opacity:1;
  animation:aboutFade .35s ease;
}

.about-side-copy{
  margin:.9rem 0 0;
  color:var(--paper-dim);
  font-size:clamp(.95rem,1.15vw,1.06rem);
  line-height:1.65;
}

.about-rotator-controls{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.8rem;
  margin-top:1.5rem;
  padding-top:.9rem;
  border-top:1px solid var(--line);
}

.about-rotator-arrow{
  width:2rem;
  height:2rem;
  display:grid;
  place-items:center;
  border:1px solid rgba(216,200,168,.36);
  background:rgba(176,146,101,.05);
  color:var(--paper);
  cursor:pointer;
}

.about-rotator-arrow:hover{
  background:var(--oxide);
  border-color:var(--oxide);
}

.about-rotator-dots{
  display:flex;
  align-items:center;
  gap:.48rem;
}

.about-dot{
  width:8px;
  height:8px;
  padding:0;
  border:1px solid var(--brass);
  border-radius:50%;
  background:transparent;
  opacity:.65;
  cursor:pointer;
}

.about-dot.is-active{
  background:var(--brass);
  opacity:1;
}

@keyframes aboutFade{
  from{opacity:0;transform:translateY(4px)}
  to{opacity:1;transform:translateY(0)}
}

@media(prefers-reduced-motion:reduce){
  .about-card.is-active{animation:none}
}


/* V24 — forthcoming biography treatment */
.home20-cover-placeholder{
  min-height:500px;
  padding:2rem 1.5rem;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  border:1px solid rgba(176,146,101,.5);
  background:
    radial-gradient(circle at 50% 30%, rgba(176,146,101,.14), transparent 42%),
    linear-gradient(180deg,#26221c,#151411);
  color:var(--paper);
}
.home20-cover-placeholder .placeholder-type,
.home20-cover-placeholder .placeholder-coming{
  font:700 .62rem/1.2 var(--sans);
  text-transform:uppercase;
  letter-spacing:.14em;
  color:var(--brass);
}
.home20-cover-placeholder strong{
  display:block;
  margin:1.2rem 0;
  font-family:Georgia,serif;
  font-size:clamp(1.8rem,2.4vw,2.6rem);
  line-height:1.04;
  font-weight:500;
}
.home20-biography{
  color:var(--brass) !important;
}
.detail-cover-placeholder{
  min-height:610px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(176,146,101,.5);
  background:
    radial-gradient(circle at 50% 30%, rgba(176,146,101,.14), transparent 42%),
    linear-gradient(180deg,#26221c,#151411);
}
.detail-placeholder-inner{
  padding:2rem;
  text-align:center;
}
.detail-placeholder-inner span,
.detail-placeholder-inner em,
.book-format-badge{
  font:700 .67rem/1.25 var(--sans);
  text-transform:uppercase;
  letter-spacing:.13em;
  color:var(--brass);
  font-style:normal;
}
.detail-placeholder-inner strong{
  display:block;
  margin:1.3rem 0;
  font-family:Georgia,serif;
  font-size:clamp(2rem,3vw,3rem);
  line-height:1.04;
  font-weight:500;
  color:var(--paper);
}
.book-format-badge{
  margin:.35rem 0 1rem;
}


/* V27 — generic book extra sections */
.book-extra-section{margin-top:1.5rem;padding:1.15rem 1.2rem 1.2rem;border:1px solid rgba(176,146,101,.28);border-left:3px solid var(--oxide);background:rgba(176,146,101,.045)}
.book-extra-section h2{margin:0 0 .65rem;font-size:clamp(1.28rem,1.8vw,1.65rem);line-height:1.15;font-weight:500;color:var(--paper)}
.book-extra-section p{margin:0;color:var(--paper-dim);line-height:1.65}



/* V30 — extra book section is part of the normal prose flow */
.prose .book-extra-section{
  margin:2rem 0 0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  max-width:none !important;
}
.prose .book-extra-section h2{
  margin:0 0 .9rem !important;
  padding:0 !important;
  font-family:Georgia, "Times New Roman", serif !important;
  font-size:1.55rem !important;
  line-height:1.2 !important;
  font-weight:500 !important;
  color:var(--paper) !important;
  letter-spacing:0 !important;
  text-transform:none !important;
}
.prose .book-extra-section p{
  margin:0 0 1rem !important;
  padding:0 !important;
  color:var(--paper-dim) !important;
  font-size:1rem !important;
  line-height:1.72 !important;
  font-weight:inherit !important;
  max-width:none !important;
}
.prose .book-extra-section p:last-child{margin-bottom:0 !important;}
