/* Per-book page themes. Loaded after styles.css on the book pages only.
   Fonts: all free, OFL, self-hosted. The "Talonwick Press" wordmark stays IM Fell English everywhere. */
@font-face{font-family:"Abril Fatface";font-weight:400;font-style:normal;font-display:swap;src:url("fonts/abril-fatface-400.woff2") format("woff2");}
@font-face{font-family:"IM Fell English SC";font-weight:400;font-style:normal;font-display:swap;src:url("fonts/im-fell-english-sc-400.woff2") format("woff2");}
@font-face{font-family:"Cinzel Decorative";font-weight:400;font-style:normal;font-display:swap;src:url("fonts/cinzel-decorative-400.woff2") format("woff2");}
@font-face{font-family:"Cinzel Decorative";font-weight:700;font-style:normal;font-display:swap;src:url("fonts/cinzel-decorative-700.woff2") format("woff2");}
@font-face{font-family:"Cormorant Garamond";font-weight:300 700;font-style:normal;font-display:swap;src:url("fonts/cormorant-garamond-400.woff2") format("woff2");}
@font-face{font-family:"Cormorant Garamond";font-weight:400;font-style:italic;font-display:swap;src:url("fonts/cormorant-garamond-400-italic.woff2") format("woff2");}
@font-face{font-family:"Old Standard TT";font-weight:400;font-style:normal;font-display:swap;src:url("fonts/old-standard-tt-400.woff2") format("woff2");}
@font-face{font-family:"Old Standard TT";font-weight:700;font-style:normal;font-display:swap;src:url("fonts/old-standard-tt-700.woff2") format("woff2");}
@font-face{font-family:"Old Standard TT";font-weight:400;font-style:italic;font-display:swap;src:url("fonts/old-standard-tt-400-italic.woff2") format("woff2");}
@font-face{font-family:"Alfa Slab One";font-weight:400;font-style:normal;font-display:swap;src:url("fonts/alfa-slab-one-400.woff2") format("woff2");}

/* ---------- shared: keep wordmark + nav structure identical on every page ---------- */
body[class*="theme-"] .wordmark{font-family:"IM Fell English","Times New Roman",serif !important;font-weight:400 !important;color:var(--ivory)}
body[class*="theme-"] .nav-latin{font-family:"IM Fell English","Times New Roman",serif}
body[class*="theme-"] .nav-eng{font-family:"EB Garamond","Palatino Linotype",serif}
body[class*="theme-"] .site-footer{width:100%;max-width:none;padding:1.8rem 1.25rem 2.2rem;margin-top:2.5rem}
body[class*="theme-"] .site-footer .social a{color:var(--ivory-dim)}
body[class*="theme-"] .site-footer .social a:hover{color:var(--gold-bright)}
body[class*="theme-"] .site-footer p,body[class*="theme-"] .site-footer .copy{color:var(--ivory-dim)}
body[class*="theme-"] .ornament .ornament-svg{width:auto;height:2.1rem;flex:0 0 auto;display:block}

/* =====================================================================
   ALICE: Victorian, Tenniel-style. Ivory paper, black ink line, playful.
   ===================================================================== */
body.theme-alice{
  --ivory:#16120e;--ivory-dim:#3b332a;--gold:#8a1f26;--gold-bright:#a4262c;
  --ink:#f6efdc;--ink-raised:#fffaf0;--oxblood:#16120e;--oxblood-bright:#a4262c;
  color-scheme:light;color:var(--ivory);
  background:
    radial-gradient(ellipse at 50% 0%,rgba(255,255,255,.7),transparent 60%),
    repeating-linear-gradient(0deg,rgba(60,40,10,.035) 0 1px,transparent 1px 3px),
    var(--ink);
  font-size:1.2rem;
}
body.theme-alice::before{content:"";display:block;height:14px;background:repeating-linear-gradient(90deg,#16120e 0 14px,#f6efdc 14px 28px);border-bottom:3px double #16120e}
body.theme-alice h1,body.theme-alice h2,body.theme-alice h3{font-family:"Abril Fatface","Playfair Display",Georgia,serif;font-weight:400;letter-spacing:.01em;color:#16120e}
body.theme-alice h1{font-size:clamp(2.8rem,6vw,4.6rem);line-height:1;text-shadow:3px 3px 0 rgba(164,38,44,.28);transform:rotate(-1.2deg);margin-top:.4rem}
body.theme-alice .kicker{font-family:"IM Fell English","Times New Roman",serif;font-style:italic;text-transform:none;letter-spacing:.08em;font-size:1.15rem;color:var(--gold-bright)}
body.theme-alice .english-sub{color:#3b332a;font-family:"IM Fell English",serif}
body.theme-alice .site-nav a{color:var(--ivory-dim)}
body.theme-alice .site-nav a:hover,body.theme-alice .site-nav a:focus-visible{color:#16120e;border-bottom-color:var(--gold-bright)}
body.theme-alice .site-nav a[aria-current="page"]{color:#16120e;border-bottom:2px solid var(--gold-bright)}
body.theme-alice .nav-eng{color:#6a5c4a}
body.theme-alice .page-hero-img,body.theme-alice .grid-2 img{
  border:3px solid #16120e;border-radius:3px;background:#fff;
  box-shadow:0 0 0 6px #f6efdc,0 0 0 8px #16120e,8px 10px 0 8px rgba(22,18,14,.18);
  transform:rotate(.7deg);filter:contrast(1.02);
}
body.theme-alice .grid-2 img{width:100%;transform:rotate(-.8deg)}
body.theme-alice .note{
  color:#2b241c;font-size:1.12rem;background:#fffaf0;border:2px solid #16120e;outline:1px solid #16120e;outline-offset:-7px;
  padding:1.1rem 1.4rem;margin:1.2rem auto;border-radius:2px;
}
body.theme-alice .ornament-rule{background:#16120e;opacity:.9;height:1px}
body.theme-alice .ornament-rule:last-child{background:#16120e}
body.theme-alice .site-footer{background:#16120e;color:#f6efdc;border-top:6px double #f6efdc}
body.theme-alice .site-footer p,body.theme-alice .site-footer .copy,body.theme-alice .site-footer .social a{color:#e8dcc0}
body.theme-alice .site-footer a:hover{color:#fff}
body.theme-alice a{color:var(--gold-bright)}

/* =====================================================================
   MAPS: aged chart parchment, navy and sepia, engraver's small caps.
   ===================================================================== */
body.theme-maps{
  --ivory:#1c2f4b;--ivory-dim:#4b3a26;--gold:#7a5230;--gold-bright:#1c3a66;
  --ink:#e6d6ae;--ink-raised:#efe2c1;--oxblood:#c24a35;--oxblood-bright:#b0402c;
  color-scheme:light;color:var(--ivory);
  background:
    radial-gradient(ellipse at center,transparent 55%,rgba(110,70,25,.30) 100%),
    repeating-linear-gradient(0deg,rgba(28,47,75,.07) 0 1px,transparent 1px 72px),
    repeating-linear-gradient(90deg,rgba(28,47,75,.07) 0 1px,transparent 1px 72px),
    radial-gradient(circle at 20% 15%,rgba(255,245,215,.55),transparent 45%),
    var(--ink);
}
body.theme-maps::before{content:"";display:block;height:12px;border-bottom:2px solid #1c2f4b;background:repeating-linear-gradient(90deg,#1c2f4b 0 22px,#efe2c1 22px 44px);box-shadow:0 3px 0 #efe2c1,0 4px 0 #1c2f4b}
body.theme-maps h1,body.theme-maps h2,body.theme-maps h3{font-family:"IM Fell English SC","IM Fell English",serif;font-weight:400;letter-spacing:.16em;color:#1c2f4b}
body.theme-maps h1{font-size:clamp(2.2rem,5vw,3.6rem);letter-spacing:.2em;padding:.2em 0;border-top:1px solid #1c2f4b;border-bottom:1px solid #1c2f4b;max-width:34rem;margin-left:auto;margin-right:auto}
body.theme-maps h3{font-size:1.45rem;color:#4b3a26}
body.theme-maps .kicker{font-family:"IM Fell English SC",serif;letter-spacing:.3em;color:#7a5230;font-size:.85rem;text-transform:none}
body.theme-maps .english-sub,body.theme-maps .coming-line{color:#7a5230;font-family:"EB Garamond",serif;font-style:italic}
body.theme-maps .site-nav a{color:#4b3a26}
body.theme-maps .site-nav a:hover,body.theme-maps .site-nav a:focus-visible,body.theme-maps .site-nav a[aria-current="page"]{color:#1c2f4b;border-bottom-color:#b0402c}
body.theme-maps .nav-eng{color:#7a5230}
body.theme-maps .page-hero-img{border:2px solid #1c2f4b;box-shadow:0 0 0 5px #efe2c1,0 0 0 7px #1c2f4b,0 0 0 9px #efe2c1,0 12px 22px rgba(70,45,15,.35);filter:sepia(.18) contrast(1.03)}
body.theme-maps .card,body.theme-maps .size,body.theme-maps .ph-panel{background:#f1e5c6;border:1px solid #1c2f4b;box-shadow:inset 0 0 0 4px #f1e5c6,inset 0 0 0 5px rgba(28,47,75,.7)}
body.theme-maps .card .media{background:#d8c698;border-bottom:1px solid #1c2f4b}
body.theme-maps .card .media img{filter:sepia(.25)}
body.theme-maps .card h3{color:#1c2f4b}
body.theme-maps .card p,body.theme-maps .ph-panel{color:#4b3a26}
body.theme-maps .size .name{color:#1c2f4b;font-family:"IM Fell English SC",serif;letter-spacing:.1em}
body.theme-maps .size .price{color:#b0402c;font-family:"IM Fell English",serif}
body.theme-maps .btn{background:#1c2f4b;color:#efe2c1;border:1px solid #1c2f4b;letter-spacing:.2em;font-family:"IM Fell English SC",serif}
body.theme-maps .btn:hover{background:#b0402c;color:#fff}
body.theme-maps .note,body.theme-maps .credit{color:#3d2f1d}
body.theme-maps .credit{border-top:1px solid #7a5230}
body.theme-maps .ornament-rule{background:#1c2f4b;height:1px;opacity:.8}
body.theme-maps .ornament-rule:last-child{background:#1c2f4b}
body.theme-maps .site-footer{background:#1c2f4b;border-top:4px double #efe2c1}
body.theme-maps .site-footer p,body.theme-maps .site-footer .copy,body.theme-maps .site-footer .social a{color:#e9dcb8}
body.theme-maps .site-footer a:hover{color:#fff}
body.theme-maps a{color:#1c3a66}

/* =====================================================================
   OPERA: the Paris Opera house. Deep velvet and gilt, Belle Époque.
   ===================================================================== */
body.theme-opera{
  --ivory:#f7ebcb;--ivory-dim:#e2cd96;--gold:#d6b04a;--gold-bright:#f2d26e;
  --ink:#2a0712;--ink-raised:#3a0c1b;--oxblood:#6e1030;--oxblood-bright:#8e1a40;
  color-scheme:dark;color:var(--ivory);font-size:1.28rem;
  font-family:"Cormorant Garamond","EB Garamond",Georgia,serif;
  background:
    linear-gradient(180deg,rgba(0,0,0,.35),transparent 18%,transparent 82%,rgba(0,0,0,.45)),
    repeating-linear-gradient(90deg,rgba(0,0,0,.30) 0 3px,rgba(255,255,255,.025) 3px 6px,transparent 6px 54px),
    radial-gradient(ellipse at 50% 0%,#5a1230,transparent 70%),
    var(--ink);
}
body.theme-opera::before{content:"";display:block;height:40px;
  background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 40' preserveAspectRatio='none'><path d='M0 0H120V10Q105 38 90 10Q75 38 60 10Q45 38 30 10Q15 38 0 10Z' fill='%23d6b04a'/><path d='M0 0H120V6Q105 30 90 6Q75 30 60 6Q45 30 30 6Q15 30 0 6Z' fill='%236e1030'/></svg>") repeat-x top/120px 40px;}
body.theme-opera h1,body.theme-opera h2,body.theme-opera h3{font-family:"Cinzel Decorative","Cinzel",Georgia,serif;font-weight:400;letter-spacing:.08em;color:var(--gold-bright)}
body.theme-opera h1{font-weight:700;font-size:clamp(2rem,4.6vw,3.3rem);text-shadow:0 2px 14px rgba(214,176,74,.35)}
body.theme-opera .kicker{font-family:"Cinzel Decorative",serif;font-size:.78rem;letter-spacing:.3em;color:var(--gold)}
body.theme-opera .english-sub,body.theme-opera .entry .latin-line{font-family:"Cormorant Garamond",serif;font-style:italic;font-size:1.3rem;color:var(--gold)}
body.theme-opera .entry .work{font-family:"Cinzel Decorative",serif;font-size:1.25rem;letter-spacing:.05em;color:var(--ivory)}
body.theme-opera .entry .status{font-family:"Cormorant Garamond",serif;color:var(--gold)}
body.theme-opera .band-title h2{font-size:1.6rem}
body.theme-opera .site-nav a{color:var(--ivory-dim)}
body.theme-opera .site-nav a:hover,body.theme-opera .site-nav a:focus-visible,body.theme-opera .site-nav a[aria-current="page"]{color:var(--gold-bright);border-bottom-color:var(--gold-bright)}
body.theme-opera .nav-eng{color:var(--gold)}
body.theme-opera .opera-page{
  background:linear-gradient(180deg,rgba(58,12,27,.92),rgba(34,6,16,.95));
  border:2px solid var(--gold);box-shadow:inset 0 0 0 7px #2a0712,inset 0 0 0 8px var(--gold),0 0 40px rgba(0,0,0,.6);
}
body.theme-opera .double-rule{border-color:var(--gold);height:7px}
body.theme-opera .ornament-rule{background:linear-gradient(90deg,transparent,var(--gold),var(--gold))}
body.theme-opera .ornament-rule:last-child{background:linear-gradient(90deg,var(--gold),var(--gold),transparent)}
body.theme-opera .site-footer{background:#1d040c;border-top:3px double var(--gold)}
body.theme-opera a{color:var(--gold-bright)}
body.theme-opera.poster{background:var(--ink)}

/* =====================================================================
   ALPHABET: a printer's type specimen. Warm paper, black ink, proof red.
   ===================================================================== */
body.theme-alphabet{
  --ivory:#12100d;--ivory-dim:#45403a;--gold:#b3261e;--gold-bright:#b3261e;
  --ink:#f4efe3;--ink-raised:#fbf8f0;--oxblood:#12100d;--oxblood-bright:#b3261e;
  color-scheme:light;color:var(--ivory);
  background:
    repeating-linear-gradient(90deg,transparent 0 calc(100% - 1px),rgba(18,16,13,.0) 100%),
    linear-gradient(180deg,#fbf8f0,#f4efe3 40%,#efe9da);
}
body.theme-alphabet::before{content:"";display:block;height:12px;background:#12100d;border-bottom:3px solid #f4efe3;box-shadow:0 4px 0 -1px #12100d}
body.theme-alphabet h1,body.theme-alphabet h2,body.theme-alphabet h3{font-family:"Old Standard TT","Times New Roman",serif;font-weight:700;letter-spacing:-.01em;color:#12100d}
body.theme-alphabet h1{font-size:clamp(2.4rem,5.4vw,4.4rem);text-transform:uppercase;line-height:1;letter-spacing:.02em;border-top:6px solid #12100d;border-bottom:1px solid #12100d;padding:.3em 0 .25em;text-align:center}
body.theme-alphabet .alphabet-intro h2{font-weight:400;font-style:italic;color:#45403a;text-align:center;font-size:1.35rem}
body.theme-alphabet .alphabet-intro h2::after{background:#12100d;height:1px;width:6rem}
body.theme-alphabet .site-nav a{color:#45403a}
body.theme-alphabet .site-nav a:hover,body.theme-alphabet .site-nav a:focus-visible,body.theme-alphabet .site-nav a[aria-current="page"]{color:#12100d;border-bottom-color:#b3261e}
body.theme-alphabet .nav-eng{color:#6b645a}
body.theme-alphabet .alphabet-poster img{box-shadow:0 0 0 1px #12100d,0 0 0 8px #fbf8f0,0 0 0 9px #12100d,0 14px 24px rgba(0,0,0,.25)}
body.theme-alphabet .alphabet-copy p{color:#26221d}
body.theme-alphabet .roster{border-top:6px solid #12100d;border-bottom:1px solid #12100d;margin-top:2rem}
body.theme-alphabet .roster h2{text-transform:uppercase;letter-spacing:.2em;font-size:1rem;text-align:center;padding-top:.8rem;color:#b3261e}
body.theme-alphabet .roster-list{background:transparent}
body.theme-alphabet .roster-list li{border-color:#12100d;color:#12100d;font-family:"Old Standard TT",serif;font-style:italic;background:transparent}
body.theme-alphabet .roster-list .letter{font-family:"Old Standard TT",serif;font-style:normal;font-weight:700;color:#12100d;font-size:2.1rem;line-height:1}
body.theme-alphabet .specimen-line{font-family:"Old Standard TT",serif;font-size:1.5rem;letter-spacing:.35em;text-align:center;margin:1.2rem auto 0;color:#12100d;border-top:1px solid #12100d;border-bottom:1px solid #12100d;padding:.35rem 0;max-width:40rem;overflow:hidden;white-space:nowrap}
body.theme-alphabet .specimen-line i{color:#b3261e;font-style:normal}
body.theme-alphabet .site-footer{background:#12100d;border-top:6px solid #b3261e}
body.theme-alphabet .site-footer p,body.theme-alphabet .site-footer .copy,body.theme-alphabet .site-footer .social a{color:#e8e1d0}
body.theme-alphabet .site-footer a:hover{color:#fff}
body.theme-alphabet a{color:#b3261e}

/* =====================================================================
   EDITIO LUPINA: northern wilderness. Slate, snow and pine, rugged slab type.
   ===================================================================== */
body.theme-lupina{
  --ivory:#edf2f4;--ivory-dim:#c0ced5;--gold:#8fb3a5;--gold-bright:#cfe6dc;
  --ink:#18222a;--ink-raised:#22303a;--oxblood:#274437;--oxblood-bright:#3f6c56;
  color-scheme:dark;color:var(--ivory);
  background:
    radial-gradient(circle at 20% 10%,rgba(255,255,255,.07) 0 1.5px,transparent 2px) 0 0/90px 90px,
    radial-gradient(circle at 70% 60%,rgba(255,255,255,.06) 0 1px,transparent 1.5px) 0 0/55px 55px,
    linear-gradient(180deg,#2b3b47 0%,#1b262e 45%,#131b21 100%);
}
body.theme-lupina::before{content:"";display:block;height:46px;
  background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 46' preserveAspectRatio='none'><path d='M0 46V30l8-18 8 18-4 0 8 12 8-12-4 0 8-20 8 20-4 0 8 14 8-14-4 0 8-16 8 16-4 0 8 12 8-12-4 0 8-22 8 22-4 0 8 14 8-14-4 0 8-16 8 16-4 0 8 12 8-12-4 0v16Z' fill='%23274437'/></svg>") repeat-x bottom/160px 46px;border-bottom:3px solid #edf2f4}
body.theme-lupina h1,body.theme-lupina h2,body.theme-lupina h3{font-family:"Alfa Slab One","Rockwell",Georgia,serif;font-weight:400;letter-spacing:.04em;color:var(--ivory)}
body.theme-lupina h1{font-size:clamp(2.2rem,5vw,3.8rem);text-transform:uppercase;text-shadow:3px 3px 0 #0e151a}
body.theme-lupina .kicker{font-family:"Alfa Slab One",serif;font-size:.78rem;letter-spacing:.28em;color:var(--gold)}
body.theme-lupina .english-sub{font-family:"EB Garamond",serif;font-style:italic;color:var(--gold-bright);font-size:1.25rem}
body.theme-lupina .site-nav a{color:var(--ivory-dim)}
body.theme-lupina .site-nav a:hover,body.theme-lupina .site-nav a:focus-visible,body.theme-lupina .site-nav a[aria-current="page"]{color:#fff;border-bottom-color:var(--gold-bright)}
body.theme-lupina .nav-eng{color:var(--gold)}
body.theme-lupina .note{background:rgba(255,255,255,.05);border:1px solid rgba(207,230,220,.35);border-left:6px solid #3f6c56;padding:1rem 1.3rem;margin:1.2rem auto;font-size:1.12rem;color:var(--ivory)}
body.theme-lupina .ornament-rule{background:linear-gradient(90deg,transparent,#8fb3a5,#8fb3a5)}
body.theme-lupina .ornament-rule:last-child{background:linear-gradient(90deg,#8fb3a5,#8fb3a5,transparent)}
body.theme-lupina .site-footer{background:#0f161b;border-top:6px solid #274437}
body.theme-lupina a{color:var(--gold-bright)}

/* ---------- fixes after first preview pass ---------- */
body[class*="theme-"]:not(.theme-pooh){min-height:100vh}
body.theme-lupina{background-color:#131b21;background-repeat:repeat,repeat,no-repeat}
body.theme-opera{background-color:#2a0712}
body.theme-alice .site-footer .foot-links a,body.theme-alphabet .site-footer .foot-links a,body.theme-maps .site-footer .foot-links a,body.theme-opera .site-footer .foot-links a,body.theme-lupina .site-footer .foot-links a,body.theme-books .site-footer .foot-links a{color:inherit;text-decoration:underline;text-underline-offset:3px}
body.theme-maps .site-footer .foot-links a,body.theme-alice .site-footer .foot-links a,body.theme-alphabet .site-footer .foot-links a{color:#e8dcc0}
body.theme-maps h1{font-size:clamp(1.9rem,4.2vw,3rem);letter-spacing:.14em;max-width:30rem;white-space:normal;line-height:1.25}
body.theme-maps .coming-line{text-align:center;font-size:1.3rem}
body.theme-alice .grid-2 img{max-width:24rem;margin:0 auto;display:block}
body.theme-alice .grid-2{align-items:center}
body.theme-lupina{display:flex;flex-direction:column}
body.theme-lupina .site-footer{margin-top:auto}

body.theme-books .site-footer .foot-links a{color:#f3ead3}

/* =====================================================================
   BEGINNER'S GUIDES — shared reading layout (map-guide, book-guide)
   ===================================================================== */
body.page-guide main.page-wide{max-width:46rem;width:min(46rem,calc(100% - 2.5rem));margin-left:auto;margin-right:auto}
body.page-guide .page-header{padding-bottom:1.2rem}
body.page-guide main > .kicker:first-of-type{margin-top:1.5rem;margin-bottom:.55rem}
body.page-guide .guide-lead,body.page-guide .howto,body.page-guide .glossary,body.page-guide nav.guide-toc{max-width:42rem;margin-left:auto;margin-right:auto}
body.page-guide .guide-lead p,body.page-guide .howto p,body.page-guide .howto li{font-size:1.18rem;line-height:1.65}
body.page-guide .guide-lead p{margin:0 0 1rem}
body.page-guide .guide-cross{text-align:center;margin:.35rem 0 0;font-size:1.08rem}
body.page-guide nav.guide-toc{margin:1.5rem auto 1.8rem;padding:1rem 1.3rem 1.15rem;border:1px solid currentColor}
body.page-guide nav.guide-toc .kicker{margin-bottom:.35rem}
body.page-guide nav.guide-toc ol{margin:.2rem 0 0;padding-left:1.35rem}
body.page-guide nav.guide-toc li{margin:.2rem 0;font-size:1.08rem;line-height:1.45}
body.page-guide .section-head,body.page-guide .glossary dt{scroll-margin-top:1.15rem}
body.page-guide .glossary{margin:0 auto 1.4rem}
body.page-guide .glossary dt{font-size:1.22rem;margin:1.4rem 0 .22rem;line-height:1.3}
body.page-guide .glossary dt .say{font-weight:400;font-style:italic;letter-spacing:0;font-size:.86em;margin-left:.4em;opacity:.8}
body.page-guide .glossary dd{margin:0;font-size:1.12rem;line-height:1.65}
body.page-guide .howto{margin:0 auto 1.2rem}
body.page-guide .howto > p:first-child{margin-top:0}
body.page-guide .howto ol,body.page-guide .howto ul{margin:.35rem 0 1rem;padding-left:1.35rem}
body.page-guide .howto li{margin:.35rem 0}
body.page-guide .honest{max-width:42rem;margin:1.3rem auto;padding:1rem 1.25rem;border:1px solid currentColor}
body.page-guide .honest p{margin:0 0 .7rem;font-size:1.12rem;line-height:1.6}
body.page-guide .honest p:last-child{margin-bottom:0}
body.page-guide .guide-close{text-align:center;margin:2rem auto 0;max-width:42rem}
body.theme-maps.page-guide h1{font-size:clamp(1.65rem,3.8vw,2.5rem);letter-spacing:.1em;max-width:38rem;line-height:1.3;white-space:normal}
body.theme-maps.page-guide nav.guide-toc,body.theme-maps.page-guide .honest{background:#f1e5c6;border-color:#1c2f4b;box-shadow:inset 0 0 0 4px #f1e5c6,inset 0 0 0 5px rgba(28,47,75,.7)}
body.theme-maps.page-guide .glossary dt{font-family:"IM Fell English SC","IM Fell English",serif;letter-spacing:.08em;color:#1c2f4b}
body.theme-maps.page-guide .glossary dt .say{font-family:"EB Garamond",serif;letter-spacing:0;color:#7a5230}
body.theme-maps.page-guide .glossary dd{color:#3d2f1d}
body.theme-maps.page-guide .guide-lead p,body.theme-maps.page-guide .howto p,body.theme-maps.page-guide .howto li{color:#3d2f1d}

/* =====================================================================
   BOOKS GUIDE: a binder's shop. Cream paper, oxblood boards, gilt rules.
   ===================================================================== */
body.theme-books{
  --ivory:#2a100c;--ivory-dim:#5c4036;--gold:#8a6a2f;--gold-bright:#5a1512;
  --ink:#f6efe0;--ink-raised:#fbf6ea;--oxblood:#5a1512;--oxblood-bright:#8a1f26;
  color-scheme:light;color:var(--ivory);
  background:
    radial-gradient(ellipse at 50% 0%,rgba(255,250,235,.7),transparent 55%),
    repeating-linear-gradient(0deg,rgba(90,21,18,.045) 0 1px,transparent 1px 28px),
    var(--ink);
  font-size:1.15rem;
}
body.theme-books::before{content:"";display:block;height:16px;background:#5a1512;border-bottom:3px solid #c4a056;box-shadow:0 1px 0 #5a1512,0 4px 0 #c4a056,0 5px 0 #5a1512}
body.theme-books h1,body.theme-books h2,body.theme-books h3{font-family:"Old Standard TT","Times New Roman",serif;font-weight:700;letter-spacing:.02em;color:#2a100c}
body.theme-books h1{font-size:clamp(2rem,4.6vw,3.2rem);text-transform:uppercase;letter-spacing:.08em;line-height:1.15;border-top:3px double #5a1512;border-bottom:3px double #5a1512;padding:.35em 0 .3em;max-width:38rem;margin-left:auto;margin-right:auto}
body.theme-books h2{font-size:clamp(1.45rem,2.6vw,1.9rem);letter-spacing:.06em;color:#5a1512}
body.theme-books h3{font-size:1.28rem;color:#5a1512;font-weight:700}
body.theme-books .kicker{font-family:"IM Fell English",serif;font-style:italic;text-transform:none;letter-spacing:.1em;font-size:1.05rem;color:#8a6a2f}
body.theme-books .english-sub,body.theme-books .coming-line{color:#5c4036;font-family:"EB Garamond",serif;font-style:italic;text-align:center}
body.theme-books .coming-line{font-size:1.22rem}
body.theme-books .site-nav a{color:#5c4036}
body.theme-books .site-nav a:hover,body.theme-books .site-nav a:focus-visible,body.theme-books .site-nav a[aria-current="page"]{color:#2a100c;border-bottom-color:#c4a056}
body.theme-books .nav-eng{color:#8a6a2f}
body.theme-books .btn{background:#5a1512;color:#f3ead3;border:1px solid #5a1512;letter-spacing:.14em;font-family:"IM Fell English",serif}
body.theme-books .btn:hover{background:#2a100c;color:#f6efe0}
body.theme-books .note,body.theme-books .credit{color:#5c4036}
body.theme-books .credit{border-top:1px solid #c4a056}
body.theme-books .ornament-rule{background:linear-gradient(90deg,transparent,#c4a056,#5a1512,#c4a056,transparent);height:2px;opacity:1}
body.theme-books .site-footer{background:#5a1512;border-top:4px double #c4a056}
body.theme-books .site-footer p,body.theme-books .site-footer .copy,body.theme-books .site-footer .social a{color:#f3ead3}
body.theme-books .site-footer a:hover{color:#fff}
body.theme-books a{color:#5a1512}
body.theme-books.page-guide nav.guide-toc,body.theme-books.page-guide .honest{background:#fbf6ea;border:1px solid #5a1512;box-shadow:inset 0 0 0 3px #fbf6ea,inset 0 0 0 4px #c4a056}
body.theme-books.page-guide .glossary dt{font-family:"Old Standard TT","Times New Roman",serif;font-weight:700;color:#5a1512}
body.theme-books.page-guide .glossary dt .say{font-family:"EB Garamond",serif;font-weight:400;color:#8a6a2f}
body.theme-books.page-guide .glossary dd,body.theme-books.page-guide .guide-lead p,body.theme-books.page-guide .howto p,body.theme-books.page-guide .howto li{color:#2a100c}
body.theme-books .specimen-line{font-family:"Old Standard TT",serif;font-size:1.05rem;letter-spacing:.22em;text-align:center;margin:1rem auto 0;color:#5a1512;border-top:1px solid #c4a056;border-bottom:1px solid #c4a056;padding:.4rem 0;max-width:40rem;text-transform:uppercase}
