@font-face{font-family:Cinzel;src:url(fonts/Cinzel-Bold.ttf) format("truetype");font-weight:700;font-display:swap}
@font-face{font-family:Cinzel;src:url(fonts/Cinzel-Regular.ttf) format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:Lato;src:url(fonts/Lato-Regular.ttf) format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:Lato;src:url(fonts/Lato-Bold.ttf) format("truetype");font-weight:700;font-display:swap}
@font-face{font-family:Lato;src:url(fonts/Lato-Italic.ttf) format("truetype");font-style:italic;font-display:swap}

:root{
  --ink:#0E1118;
  --ink2:#161b24;
  --paper:#F4EEE2;
  --paper2:#e8e0d0;
  --text:#2A241C;
  --muted:#4a4338;
  --gold:#E2A85C;
  --gold-ink:#111111;
  --link:#6F4E12;
  --focus-light:#F4EEE2;
  --focus-dark:#0E1118;
  --pad:clamp(1rem,4vw,3.25rem);
  --rail:min(72rem,100%);
  --type-display:clamp(3.75rem, 14.5vw, 11rem); /* theatrical but leave room for full covers */
  --type-h2:clamp(1.85rem,1.4rem + 1.8vw,3rem);
  --type-body:1rem;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:4.25rem}
body{
  margin:0;
  font-family:Lato,system-ui,sans-serif;
  font-size:var(--type-body);
  line-height:1.7;
  color:var(--text);
  background:var(--ink);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--link)}
h1,h2,h3,.brand,.wordmark,.live-title,.poster-title{
  font-family:Cinzel,Georgia,serif;font-weight:700;letter-spacing:.02em;line-height:1.1;
}
h1:not(.wordmark){font-size:clamp(1.85rem,1.4rem + 1.8vw,3rem);max-width:20ch}
/* .wordmark / .wm-west set their own size; do not inherit a small h1 */
.skip{position:absolute;left:-999px}
.skip:focus{left:1rem;top:1rem;z-index:100;background:#fff;padding:.55rem 1rem;color:var(--ink)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

:focus{outline:none}
:focus-visible{
  outline:3px solid var(--focus-light);
  outline-offset:3px;
  box-shadow:0 0 0 6px var(--focus-dark);
}

/* —— Nav —— */
.nav{
  position:sticky;top:0;z-index:50;
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  padding:.75rem var(--pad);
  background:rgba(14,17,24,.92);
  border-bottom:1px solid rgba(226,168,92,.28);
  color:#fff;
}
.brand{color:#fff;text-decoration:none;font-size:1.05rem}
.brand span{font-family:Lato,sans-serif;font-size:.65rem;letter-spacing:.28em;margin-left:.5rem;color:var(--gold);font-weight:700}
.nav nav{display:flex;gap:clamp(.75rem,1.8vw,1.4rem);align-items:center;flex-wrap:wrap}
.nav nav a{color:#efe9df;text-decoration:none;font-size:.95rem}
.nav nav a:hover{color:#fff}
.nav .cta{border:1px solid var(--gold);padding:.4rem .9rem;border-radius:999px;color:#fff}
.menu{display:none;background:none;border:0;width:44px;height:44px;cursor:pointer}
.menu span[aria-hidden]{display:block;width:22px;height:2px;background:#fff;margin:auto;box-shadow:0 -7px #fff,0 7px #fff}
@media(max-width:900px){
  .menu{display:block}
  .nav nav{display:none;position:absolute;inset:100% 0 auto 0;flex-direction:column;align-items:stretch;gap:0;background:var(--ink);padding:.5rem 1rem 1rem;border-bottom:1px solid rgba(226,168,92,.25)}
  .nav nav.open{display:flex}
  .nav nav a{padding:.85rem .2rem;border-bottom:1px solid #2a3038}
  .nav .cta{text-align:center;margin-top:.6rem}
}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;padding:.75rem 1.35rem;
  background:var(--gold);color:var(--gold-ink);font:inherit;font-weight:700;
  text-decoration:none;border:2px solid var(--gold);border-radius:2px;cursor:pointer;
  transition:background-color .15s ease,border-color .15s ease,color .15s ease;
}
.btn:hover{background:#cf9b3a;border-color:#cf9b3a}
.btn.ghost{background:transparent;color:#fff;border-color:rgba(244,238,226,.45)}
.btn.ghost:hover{border-color:#fff;background:rgba(255,255,255,.06)}
.btn.sm{padding:.4rem .8rem;font-size:.92rem;min-height:40px}
.btn[disabled]{opacity:.5;cursor:not-allowed}

/* =========================================================
   TITLE SCREEN — full-width wordmark + composed copy|posters
   Cascade: h1.wordmark / .wm-west set size; h1:not(.wordmark) is separate
   Poster covers: NEVER object-fit:cover with a short max-height (crops author line).
   ========================================================= */
.title-screen{
  position:relative;
  isolation:isolate;
  min-height:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  color:#fff;
  overflow:hidden;
  padding:clamp(3.25rem, 5vh, 4rem) var(--pad) clamp(.6rem, 1.5vh, 1.1rem);
}
.ts-atmosphere{
  position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden;
  background-color:#0E1118;
}
.ts-glow{
  position:absolute;
  width:min(52vw, 34rem);
  height:auto;
  max-height:130%;
  object-fit:cover; /* decorative blur only — not the readable posters */
  filter:blur(48px) saturate(1.35) brightness(0.72);
  opacity:.9;
  transform:scale(1.25);
  user-select:none;
}
.ts-glow-a{left:-8%; top:-18%;}
.ts-glow-k{right:-10%; top:-8%; width:min(48vw, 30rem);}
.ts-atmosphere::after{
  content:"";
  position:absolute;inset:0;
  background:
    radial-gradient(ellipse 50% 55% at 78% 40%, rgba(226,168,92,.18), transparent 60%),
    linear-gradient(105deg, rgba(14,17,24,.88) 0%, rgba(14,17,24,.55) 45%, rgba(14,17,24,.72) 100%);
}
.ts-compose{
  width:min(78rem, 100%);
  margin-inline:auto;
  display:flex;
  flex-direction:column;
  gap:clamp(.35rem, 1vh, .7rem);
  min-width:0;
}
.ts-kicker{
  margin:0;
  font-size:.7rem;font-weight:700;letter-spacing:.28em;text-transform:uppercase;color:var(--gold);
  text-align:center;
}
.wordmark{
  margin:0;
  display:block;
  width:100%;
  max-width:none;
  line-height:0.85;
  text-align:center;
}
h1.wordmark{
  font-size:inherit;
  max-width:none;
  width:100%;
  line-height:0.85;
}
.wm-pa{
  display:block;
  /* Proportional gold author identity — readable, not a faint afterthought */
  font-size:clamp(1.35rem, 0.85rem + 2.1vw, 2.65rem);
  letter-spacing:.34em;
  color:var(--gold);
  font-weight:700;
  margin:0 0 .18em;
  line-height:1.05;
  text-shadow:0 2px 12px rgba(0,0,0,.35);
}
.wm-west{
  display:block;
  width:100%;
  font-size:var(--type-display);
  line-height:0.78;
  letter-spacing:0.05em;
  color:#fff;
  text-shadow:0 12px 40px rgba(0,0,0,.45);
}

.ts-stack{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:clamp(.45rem, 1.2vh, .75rem);
  width:100%;
  min-width:0;
}

/* Desktop: compact centred cover pair under identity */
.ts-posters{
  display:flex;
  flex-direction:row;
  justify-content:center;
  align-items:flex-end;
  gap:clamp(0.75rem, 1.5vw, 1.15rem);
  width:100%;
  min-width:0;
}
.poster{
  margin:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:.35rem;
  min-width:0;
  width:auto;
}
.poster img{
  display:block;
  width:auto;
  max-width:100%;
  height:auto;
  max-height:min(46vh, 22rem); /* ~300–350px at 768 */
  object-fit:contain;
  object-position:center center;
  border-radius:2px;
  box-shadow:0 16px 44px rgba(0,0,0,.48);
  background:transparent;
}
.poster figcaption{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:.1rem;
  width:100%;
  max-width:100%;
  text-align:center;
}
.poster-status{font-size:.66rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--gold)}
.poster-title{font-size:clamp(.92rem, 0.82rem + 0.3vw, 1.12rem);color:#fff;line-height:1.15}
.poster-ser{font-size:.78rem;color:#b8b0a4;line-height:1.2}

/* Compact centred horizontal rail under posters */
.ts-copy{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:.65rem 1.15rem;
  width:100%;
  max-width:42rem;
  text-align:center;
  min-width:0;
}
.ts-tag{
  margin:0;
  font-family:Cinzel,Georgia,serif;
  font-size:clamp(1rem, 0.92rem + 0.35vw, 1.2rem);
  font-weight:400;
  line-height:1.25;
  max-width:none;
  color:#f0ebe3;
}
.ts-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:.55rem}

/* Short desktop only (not mobile width): fit CTA rail inside 768-tall fold */
@media(min-width:901px) and (max-height:820px){
  .title-screen{
    padding-top:3rem;
    padding-bottom:24px; /* keep CTA clear of fold */
  }
  .wm-west{font-size:clamp(3.5rem, 13.5vw, 9.75rem)}
  .wm-pa{font-size:clamp(1.25rem, 0.75rem + 1.8vw, 2.25rem); margin-bottom:.14em}
  .poster img{max-height:min(34vh, 16.5rem)} /* ~260px at 768 — full contain, no crop */
  .ts-compose{gap:.25rem}
  .ts-stack{gap:8px} /* tagline/CTA rail gap under posters */
  .poster{gap:.25rem}
  .poster-ser{display:none}
}
@media(min-width:901px) and (max-height:700px){
  .poster img{max-height:min(30vh, 14.5rem)}
  .ts-kicker{display:none}
}

/* Mobile: preserve prior composition (identity → copy → posters); ~12px cover gap */
@media(max-width:820px){
  .title-screen{
    justify-content:flex-start;
    padding-top:4.1rem;
    padding-bottom:1.1rem;
  }
  .ts-glow{filter:blur(36px) saturate(1.3) brightness(0.7); width:70vw}
  .ts-glow-a{left:-20%; top:-10%}
  .ts-glow-k{right:-22%; top:20%}
  .ts-atmosphere::after{
    background:
      radial-gradient(ellipse 90% 40% at 50% 8%, rgba(226,168,92,.2), transparent 55%),
      linear-gradient(180deg, rgba(14,17,24,.72) 0%, rgba(14,17,24,.55) 40%, rgba(14,17,24,.9) 100%);
  }
  .wm-pa{
    font-size:clamp(1.2rem, 4.5vw, 1.75rem);
    letter-spacing:.3em;
    margin-bottom:.16em;
  }
  .wm-west{
    font-size:clamp(3.5rem, 24vw, 6.25rem);
    letter-spacing:.04em;
  }
  .ts-stack{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:.75rem;
  }
  .ts-copy{order:1; max-width:none; flex-direction:column; gap:.55rem}
  .ts-posters{order:2}
  .ts-tag{line-height:1.28; text-align:center}
  .ts-posters{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    width:100%;
  }
  .poster{width:100%; align-items:center}
  .poster img{
    width:100%;
    max-width:100%;
    height:auto;
    max-height:none;
    object-fit:contain;
  }
  .poster figcaption{text-align:center; align-items:center}
  .poster-ser{display:block}
}

/* Chapters / filters above title-screen stacking; chips receive clicks */
.chapter{position:relative;z-index:1}
.lib-tools,.filters{position:relative;z-index:2}
.chip{position:relative;z-index:2;touch-action:manipulation}

/* =========================================================
   CHAPTER SECTIONS — asymmetric rhythm
   ========================================================= */
.chapter{
  padding:clamp(3rem,7vw,5.5rem) var(--pad);
  background:var(--paper);
  color:var(--text);
}
.chapter-library,.chapter-extracts,.chapter-news{background:var(--ink2);color:#efe9df}
.chapter-library a,.chapter-extracts a,.chapter-news a{color:var(--gold)}
.chapter-head{
  width:var(--rail);margin:0 auto 2.25rem;max-width:100%;
  display:grid;
  grid-template-columns:auto 1fr;
  gap:clamp(1rem,3vw,2rem);
  align-items:start;
}
.chapter-index{
  margin:0;
  font-family:Cinzel,Georgia,serif;
  font-size:clamp(3rem,2rem + 4vw,5.5rem);
  line-height:.85;
  color:var(--gold);
  opacity:.85;
}
.chapter-head h2{margin:0 0 .45rem;font-size:var(--type-h2)}
.chapter-head p{margin:0;max-width:42rem;color:var(--muted);font-size:1.05rem}
.chapter-head.invert p{color:#b8b0a4}
.chapter-library .chapter-head h2,
.chapter-extracts .chapter-head h2,
.chapter-news h2{color:#fff}

/* Live showcase — alternating large cover panels */
.showcase{
  width:var(--rail);margin:0 auto;max-width:100%;
  display:flex;flex-direction:column;gap:clamp(2rem,5vw,3.5rem);
}
.showcase-open{
  all:unset;box-sizing:border-box;cursor:pointer;color:inherit;
  display:grid;width:100%;max-width:100%;min-width:0;
  gap:clamp(1.25rem,3vw,2.5rem);
  align-items:center;
}
.showcase-a .showcase-open{grid-template-columns:minmax(0,0.95fr) minmax(0,1.15fr)}
.showcase-b .showcase-open{grid-template-columns:minmax(0,1.15fr) minmax(0,0.95fr)}
.showcase-b .showcase-cover{order:2}
.showcase-b .showcase-copy{order:1}
.showcase-cover{min-width:0}
.showcase-cover img{
  width:100%;max-width:340px;aspect-ratio:5/8;object-fit:cover;
  border-radius:2px;box-shadow:0 18px 44px rgba(14,17,24,.22);background:#ddd;
  transition:transform .18s ease,box-shadow .18s ease;
}
.showcase-a .showcase-cover img{margin-inline:0 auto 0 0}
.showcase-b .showcase-cover img{margin-inline:auto 0 auto auto}
.showcase-copy{
  display:flex;flex-direction:column;gap:.45rem;min-width:0;
  overflow-wrap:anywhere;
}
.badge{
  align-self:flex-start;font-size:.7rem;font-weight:700;letter-spacing:.08em;
  text-transform:uppercase;background:var(--ink);color:#fff;padding:.2rem .55rem;border-radius:2px;
}
.badge.live{background:var(--gold);color:var(--gold-ink)}
.ps{font-size:.78rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--link);margin:0}
.live-title{font-size:clamp(1.45rem,1.15rem + 1.2vw,2.35rem);display:block;margin:.15rem 0}
.hook{font-style:italic;font-size:1.08rem;margin:.2rem 0 .4rem}
.live-blurb{display:block;font-size:1.02rem;line-height:1.7;max-width:40rem}
.live-blurb p{margin:0 0 .75rem}
.live-cta{display:inline-block;margin-top:.4rem;font-weight:700;color:var(--link);text-decoration:underline;text-underline-offset:3px}
.showcase-open:hover img,.showcase-open:focus-visible img{
  transform:translateY(-4px);box-shadow:0 22px 48px rgba(14,17,24,.28);
}

@media(max-width:800px){
  .showcase-a .showcase-open,
  .showcase-b .showcase-open{grid-template-columns:1fr}
  .showcase-b .showcase-cover,.showcase-b .showcase-copy{order:unset}
  .showcase-cover img{max-width:min(280px,78vw);margin-inline:0 !important}
  .chapter-head{grid-template-columns:1fr;gap:.75rem}
  .chapter-index{font-size:2.6rem}
}

/* Forthcoming library — distinct wall of spines */
.lib-tools{width:var(--rail);margin:0 auto 1.5rem;max-width:100%}
.filters{display:flex;flex-wrap:wrap;gap:.5rem}
.chip{
  font:inherit;font-size:.92rem;min-height:44px;padding:.45rem 1rem;cursor:pointer;
  border-radius:999px;border:1px solid rgba(226,168,92,.45);background:transparent;color:#efe9df;
  transition:background-color .15s ease,color .15s ease,border-color .15s ease;
}
.chip[aria-pressed=true]{background:var(--gold);color:var(--gold-ink);border-color:var(--gold)}
.library{
  list-style:none;margin:0 auto;padding:0;width:var(--rail);max-width:100%;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(1.1rem,2.5vw,1.85rem) clamp(.85rem,2vw,1.4rem);
}
@media(min-width:900px){.library{grid-template-columns:repeat(4,minmax(0,1fr))}}
.book-btn{all:unset;cursor:pointer;display:block;width:100%;color:inherit}
.book-btn img{
  width:100%;aspect-ratio:5/8;object-fit:cover;border-radius:2px;background:#333;
  box-shadow:0 10px 28px rgba(0,0,0,.35);
  transition:transform .18s ease,box-shadow .18s ease;
}
.book-btn:hover img,.book-btn:focus-visible img{transform:translateY(-4px)}
.meta{display:flex;flex-direction:column;gap:.25rem;margin-top:.8rem}
.bt{font-weight:700;line-height:1.3;color:#fff;font-size:1rem}
.bs{font-size:.9rem;color:#a9a196}
.library .badge{background:#2a3038;color:#efe9df}

/* Series rail — staggered cards */
.series-rail{
  width:var(--rail);margin:0 auto;max-width:100%;
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1.15rem;
}
.series-rail article{
  background:rgba(255,255,255,.55);
  border-left:4px solid var(--gold);
  padding:1.35rem 1.45rem;
}
.series-rail article:nth-child(even){transform:translateY(1.1rem)}
.series-rail h3{margin:0 0 .55rem;font-size:1.25rem}
.series-rail p{margin:0;line-height:1.65}
@media(max-width:700px){
  .series-rail{grid-template-columns:1fr}
  .series-rail article:nth-child(even){transform:none}
}

/* Extracts */
.previews{
  width:var(--rail);margin:0 auto;max-width:100%;
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1.25rem;
}
@media(max-width:800px){.previews{grid-template-columns:1fr}}
.preview{
  display:grid;grid-template-columns:100px 1fr;gap:1.1rem;align-items:start;
  background:rgba(255,255,255,.06);padding:1.15rem;border-radius:2px;
  border-top:2px solid rgba(226,168,92,.45);
}
.preview img{width:100px;aspect-ratio:5/8;object-fit:cover;border-radius:2px}
.preview h3{margin:.15rem 0 .45rem;font-size:1.2rem;color:#fff}
.preview .ps{color:var(--gold)}
.preview blockquote{
  margin:0;font-family:Georgia,serif;color:#d8d2c8;font-size:1rem;
  display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden;
}
.preview blockquote p{margin:0 0 .55rem}
.link{all:unset;cursor:pointer;color:var(--gold);font-weight:700;margin-top:.35rem;display:inline-block;min-height:44px;padding-top:.3rem}
@media(max-width:480px){.preview{grid-template-columns:1fr}}

/* About / FAQ / News */
.about-panel,.faq-panel{
  width:min(42rem,100%);
  margin-left:clamp(0px,8vw,6rem);
}
.about-panel p{font-size:1.08rem;margin:0 0 1rem;max-width:62ch}
.faq-panel details{border-bottom:1px solid #d5cec1;padding:1rem 0}
.faq-panel summary{cursor:pointer;font-weight:700;font-size:1.05rem;min-height:44px}
.faq-panel details p{margin:.6rem 0 0;max-width:62ch}
.news-panel{
  width:min(36rem,100%);margin:0 auto;text-align:center;color:#efe9df;
}
.news-panel h2{font-size:var(--type-h2);margin:0 0 .65rem;color:#fff}
.news-panel > p{color:#b8b0a4}
.signup label{display:block;text-align:left;font-weight:700;margin:1.4rem 0 .4rem}
.signup .row{display:flex;gap:.55rem}
.signup input{
  flex:1;min-width:0;font:inherit;padding:.8rem 1rem;border-radius:2px;
  border:1px solid #444;background:#0E1118;color:#fff;
}
.status{font-size:.95rem;margin-top:1rem;color:#b8b0a4}
@media(max-width:480px){.signup .row{flex-direction:column}}
@media(max-width:700px){.about-panel,.faq-panel{margin-left:0}}

.foot{
  background:#080a0d;color:#a9a49b;
  padding:2.25rem var(--pad);
  display:grid;gap:1rem;
  border-top:1px solid rgba(226,168,92,.2);
}
.foot nav{display:flex;gap:1.25rem;flex-wrap:wrap}
.foot a{color:#e9e5dd}
.foot p{margin:0;font-size:.85rem;max-width:60ch}

/* Dialog */
dialog{
  border:0;padding:0;border-radius:4px;max-width:min(920px,94vw);width:100%;
  max-height:92vh;overflow:auto;background:var(--paper);color:var(--text);
}
dialog::backdrop{background:rgba(8,10,13,.8)}
.dlg{display:grid;grid-template-columns:minmax(150px,220px) 1fr;gap:1.6rem;padding:1.6rem;position:relative}
.dlg img{width:100%;aspect-ratio:5/8;object-fit:cover;border-radius:2px;box-shadow:0 12px 32px rgba(0,0,0,.28)}
.dlg h2{margin:.15rem 0;font-size:1.55rem}
.sub{color:var(--muted);margin:0}
.date{font-weight:700}
.x{position:absolute;right:.45rem;top:.25rem;width:44px;height:44px;border:0;background:none;font-size:2rem;cursor:pointer;color:var(--text)}
.buy{margin:1.25rem 0}
.fmt{display:flex;flex-wrap:wrap;gap:.45rem;align-items:center;margin-bottom:.45rem}
.fmt span{min-width:6.5rem;font-weight:700}
.ku{color:var(--muted);font-size:.95rem}
#bk-ex h3{font-size:1.1rem;margin-top:1.4rem}
#bk-ex blockquote{border-left:3px solid var(--gold);padding-left:1rem;margin:0}
@media(max-width:640px){.dlg{grid-template-columns:1fr}.dlg img{width:140px}}

@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}
  .showcase-open:hover img,.showcase-open:focus-visible img,
  .book-btn:hover img,.book-btn:focus-visible img{transform:none}
}

/* Text-only extra calendar titles (no cover cards) */
.schedule-extra{
  width:var(--rail);margin:2rem auto 0;max-width:100%;
  padding:1.25rem 0 0;border-top:1px solid rgba(226,168,92,.25);
}
.schedule-extra h3{margin:0 0 .5rem;font-family:Cinzel,Georgia,serif;font-size:1.15rem;color:var(--gold)}
.schedule-extra > p{margin:0 0 1rem;max-width:62ch;font-size:.95rem;color:#cfc7bb}
.schedule-list{margin:0;padding-left:1.25rem;max-width:62ch}
.schedule-list li{margin:0 0 .45rem;line-height:1.4;color:#efe9df}
.schedule-list time{font-variant-numeric:tabular-nums;color:var(--gold)}
