/* polish.css: single design-system layer, loaded last. */
:root{--s1:.5rem;--s2:1rem;--s3:1.5rem;--s4:2.5rem;--s5:4rem;--side:240px;--hdr:64px;--r:8px;
--shadow:0 18px 40px -16px #000d,0 0 0 1px #e8c06a33;--shadow-h:0 26px 50px -18px #000,0 0 0 1px #e8c06a80}
html body{font-size:1.0625rem;line-height:1.65}
html body h1{font-size:clamp(2.2rem,4.4vw,3.6rem);letter-spacing:.05em;line-height:1.1;margin:0 0 .35em;color:var(--text);text-shadow:0 2px 24px #0009}
html body h2{font-size:clamp(1.6rem,2.8vw,2.3rem);letter-spacing:.05em;text-transform:none;color:var(--text);margin:0 0 .5em;line-height:1.15}
html body h3{font-size:clamp(1.15rem,1.6vw,1.4rem);color:var(--gold);margin:0 0 .4em}
html body .eyebrow{font-size:.74rem;letter-spacing:.28em;margin:0 0 .7rem;color:var(--gold)}
html body p,html body li{max-width:none}
html body main p:not(.eyebrow):not(.small-note):not(.rail__status){max-width:68ch}
html body .center p,html body .center-row{margin-inline:auto}
/* sections: one rhythm, subtle dividers */
html body main section{padding-block:clamp(2.5rem,5vw,4rem);border-top:1px solid #e8c06a1a}
html body main section:first-child{border-top:0}
html body .section--alt{background:linear-gradient(180deg,#0e1630,#0b1224)}
/* buttons */
html body .btn{font-size:.78rem;letter-spacing:.14em;padding:.85rem 1.6rem;border-radius:999px;border:2px solid var(--gold);margin-top:.6rem;transition:transform .15s,background .15s,box-shadow .15s}
html body .btn:hover{transform:translateY(-2px);box-shadow:0 8px 22px -10px #e8c06a99}
html body .btn--ghost{background:transparent;color:var(--gold)}
html body .btn--sm{padding:.55rem 1.1rem;font-size:.7rem}
html body .btn-row{gap:.8rem;margin-top:var(--s2)}
html body .badge{font-size:.68rem;letter-spacing:.2em;padding:.32rem .85rem;border-radius:999px;margin:0 0 .9rem;border:1px solid var(--gold);color:var(--gold);background:#e8c06a14}
/* covers */
html body .cover{border-radius:var(--r);box-shadow:var(--shadow);transition:transform .2s,box-shadow .2s}
html body a:hover .cover,html body .cover:hover{transform:translateY(-4px);box-shadow:var(--shadow-h)}
/* header + 18+ bar */
html body .agebar{font-size:.78rem;padding:.3rem 1rem;letter-spacing:.02em}
html body .site-header .wrap{min-height:var(--hdr);padding-block:.25rem}
html body .site-header{background:#0a1020f2}
/* ===== sidebar ===== */
html body .books-layout{display:block}
html body .series-nav ul{list-style:none;margin:.6rem 0 0;padding:0;border:0;display:flex;flex-direction:column;gap:.4rem}
html body .series-nav li{margin:0}
html body .series-nav a{display:flex;align-items:center;min-height:42px;box-sizing:border-box;margin:0;padding:.45rem .85rem;background:var(--sb,#333);color:#fbf7ef!important;border:1px solid #ffffff22;border-left:3px solid #ffffff33;border-radius:6px;font-family:var(--sans);font-weight:600;font-size:.88rem;line-height:1.2;text-decoration:none;transform:none;box-shadow:none;transition:filter .15s,border-color .15s}
html body .series-nav a:hover{filter:brightness(1.2);border-left-color:var(--gold);text-decoration:none;transform:none;box-shadow:none}
html body .series-nav summary{font-family:var(--display);font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;color:var(--gold);padding:.5rem 0;cursor:pointer}
@media (min-width:1081px){
 html body{padding-left:var(--side)}
 html body aside.series-side{position:fixed!important;top:0!important;left:0;bottom:0;width:var(--side);height:100vh;overflow-y:auto;z-index:60;box-sizing:border-box;padding:calc(var(--hdr) + 1.75rem) 1rem 1.5rem;background:#070b17;border-right:1px solid var(--line)}
 html body aside.series-side::before{content:"";position:absolute;top:0;left:0;right:0;height:calc(var(--hdr) + 1.7rem);display:flex;align-items:center;justify-content:center;font-family:var(--display);letter-spacing:.2em;text-transform:uppercase;font-size:.78rem;color:var(--gold);border-bottom:1px solid var(--line)}
 html body .series-nav summary{padding-left:0}
}
@media (max-width:1080px){
 html body main{display:flex;flex-direction:column}
 html body main .books-layout{display:contents}
 html body main aside.series-side{order:-1;position:static!important;width:auto;height:auto;padding:.35rem 1.25rem;background:#070b17;border-bottom:1px solid var(--line)}
 html body .series-nav[open] ul{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));padding-bottom:.6rem}
 html body main > *{min-width:0;width:100%}
}
/* ===== home ===== */
html body .splash:has(.collage){padding:0!important;background:#070b17;border:0}
html body .splash:has(.collage) .wrap{width:100%;max-width:none}
html body .splash:has(.collage) > .wrap > .eyebrow{display:none}
html body .splash:not(:has(.collage)){padding:clamp(2rem,4vw,3rem) 0 1.4rem!important;background:linear-gradient(180deg,#0b1224,#0a1020)}
html body .collage{margin:0;border-radius:0}
html body .zal-feature{padding-block:clamp(2.5rem,5vw,4.5rem);background:radial-gradient(800px 420px at 25% 45%,rgba(60,140,90,.18),transparent 70%),linear-gradient(180deg,#0b1224,#0a1020)}
html body .zal-covers{max-width:560px;gap:1.2rem}
html body .zal-feature h1{margin-bottom:.5rem}
html body .zal-pitch{font-size:1.12rem;max-width:60ch}
html body .amz-tiles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1.2rem;margin-top:var(--s3)}
html body .amz-tile{flex-direction:column;align-items:center;text-align:center;gap:.7rem;padding:1rem 1rem 1.1rem;height:100%;box-sizing:border-box;border-radius:var(--r);background:#ffffff08;border:1px solid #e8c06a2e;font-size:.9rem;transition:border-color .15s,transform .15s,background .15s}
html body .amz-tile .cover{width:100%;max-width:150px;aspect-ratio:5/8;object-fit:cover;border-radius:6px}
html body .amz-tile:hover{border-color:var(--gold);background:#e8c06a0d;transform:translateY(-3px)}
@media (max-width:900px){html body .amz-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:560px){html body .amz-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}}
html body .signup{padding:1.6rem 1.8rem}
html body section[aria-labelledby="mature-title"]{padding-block:1rem;background:#070b17}
html body .notice{padding:.8rem 1.1rem;font-size:.9rem;border-radius:var(--r)}
html body .notice h2{font-size:.85rem;letter-spacing:.14em;text-transform:uppercase;margin:0 0 .3rem}
/* ===== books + series ===== */
html body .book{display:grid;grid-template-columns:minmax(200px,300px) minmax(0,1fr);gap:clamp(1.6rem,4vw,3.5rem);align-items:start}
html body .book .cover{max-width:300px;width:100%}
html body .feature{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(1.6rem,4vw,3.5rem);align-items:center}
html body .rail--5{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1.6rem 1.2rem}
html body .rail--5 .rail__item{flex:none;width:auto}
html body .rail .cover{width:100%;max-width:200px;aspect-ratio:5/8;object-fit:cover}
html body .rail__item{padding:.9rem .6rem 1rem;border-radius:var(--r);transition:background .15s}
html body .rail__item:hover{background:#ffffff08}
@media (max-width:900px){html body .rail--5{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:760px){
 html body .book,html body .feature,html body .zal-grid{grid-template-columns:1fr}
 html body .book .cover{max-width:260px}
 html body .rail--5{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* footer */
html body .site-footer{border-top:1px solid var(--line);background:#070b17}
html body .site-footer p{max-width:60ch}
html body .book + .book{margin-top:clamp(2.5rem,5vw,4rem);padding-top:clamp(2.5rem,5vw,4rem);border-top:1px solid #e8c06a1a}
html body section[aria-labelledby^="signup-title"]{padding-block:clamp(2rem,4vw,3rem)}

/* Cullmark / Whispers to the Unculled free-start banner */
html body .free-series-banner{background:#10261e;border-bottom:1px solid rgba(111,227,189,.28);text-align:center;padding:.85rem 0;color:var(--text)}
html body .free-series-banner p{margin:0 auto;max-width:42rem;line-height:1.5}
html body .free-series-banner__age{color:var(--gold);letter-spacing:.06em;margin-right:.35rem}
html body .free-series-banner__cta{margin-top:.55rem}
html body .free-series-banner__btn{display:inline-block;border:1px solid var(--aurora);color:var(--aurora);text-decoration:none;padding:.4rem 1.05rem;border-radius:99px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;font-size:.8rem}
html body .free-series-banner__btn:hover,html body .free-series-banner__btn:focus-visible{background:var(--aurora);color:#0a1020}
@media (max-width:760px){html body .free-series-banner{padding:.8rem .2rem}html body .free-series-banner p{font-size:.95rem}}
