/*
Theme Name: Ella Mitchelltree
Theme URI: https://ellamitchelltree.com
Author: Ella Mitchelltree
Author URI: https://ellamitchelltree.com
Description: A premium dark-fantasy & paranormal-romance author theme. Series-led hero, a books showcase, an About-the-Author section, reader reviews, a live Substack journal feed, a MailerLite reader-list signup with unsubscribe handling, and an ARC-readers hub. Built to replace a hosted landing page with a site you own.
Version: 5.1.2
Requires at least: 5.9
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ella-mitchelltree
Tags: blog, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, threaded-comments, translation-ready
*/

:root{
  --ink:#14100E; --ink-2:#1C1613; --ink-3:#241B16; --ink-4:#2E2219;
  --ivory:#F4ECDF; --ivory-dim:#CDBFA9; --ivory-faint:#988B79;
  --gold:#CBA24E; --gold-soft:#E6D199; --gold-deep:#9A7B33;
  --ember:#8C2C22; --ember-soft:#B23A2C;
  --line:rgba(203,162,78,0.30); --line-soft:rgba(244,236,223,0.10);
  --shadow:0 30px 60px -28px rgba(0,0,0,0.85); --shadow-sm:0 16px 36px -22px rgba(0,0,0,0.75);
  --font-display:"Cormorant Garamond",Georgia,"Times New Roman",serif;
  --font-body:"EB Garamond",Georgia,serif;
  --font-label:"Jost","Helvetica Neue",Arial,sans-serif;
  --wrap:1180px; --wrap-narrow:880px; --gutter:clamp(20px,5vw,64px); --radius:4px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{ margin:0; background:var(--ink); color:var(--ivory); font-family:var(--font-body);
  font-size:clamp(1.05rem,0.55vw + 0.98rem,1.22rem); line-height:1.75; font-weight:400;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; overflow-x:hidden; }
img{ max-width:100%; height:auto; display:block; }
a{ color:var(--gold); text-decoration:none; transition:color .25s ease; }
a:hover{ color:var(--gold-soft); }
h1,h2,h3,h4{ font-family:var(--font-display); font-weight:600; line-height:1.08; margin:0 0 .4em; letter-spacing:.005em; }
p{ margin:0 0 1.2em; }
::selection{ background:var(--gold); color:var(--ink); }
:focus-visible{ outline:2px solid var(--gold-soft); outline-offset:3px; }
.wrap{ width:100%; max-width:var(--wrap); margin:0 auto; padding-inline:var(--gutter); }
.wrap--narrow{ max-width:var(--wrap-narrow); }
.screen-reader-text{ position:absolute!important; width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap; }
.skip-link{ position:absolute; left:-999px; top:0; background:var(--gold); color:var(--ink); padding:.6em 1em; z-index:999; font-family:var(--font-label); }
.skip-link:focus{ left:8px; top:8px; }

.eyebrow{ font-family:var(--font-label); font-weight:500; font-size:clamp(.82rem,1.3vw,.96rem);
  letter-spacing:.3em; text-transform:uppercase; color:var(--gold); margin:0 0 1.4rem; display:inline-block; }
.section-head{ text-align:center; margin-bottom:clamp(2.4rem,5vw,3.8rem); }
.section-head h2{ font-size:clamp(2.2rem,4.6vw,3.6rem); font-weight:500; }
.section-head p{ color:var(--ivory-dim); max-width:48ch; margin:.6rem auto 0; font-size:1.08rem; }
.flourish{ display:flex; align-items:center; justify-content:center; gap:1rem; color:var(--gold); margin:1.3rem auto 0; max-width:240px; }
.flourish::before,.flourish::after{ content:""; height:1px; flex:1; background:linear-gradient(90deg,transparent,var(--line),transparent); }
.flourish svg{ width:17px; height:17px; opacity:.95; }

.btn{ --bg:var(--gold); --fg:var(--ink); display:inline-flex; align-items:center; justify-content:center; gap:.6em;
  font-family:var(--font-label); font-weight:500; font-size:.86rem; letter-spacing:.16em; text-transform:uppercase;
  padding:1.04em 2.1em; border:1px solid var(--bg); background:var(--bg); color:var(--fg); border-radius:var(--radius); cursor:pointer;
  transition:transform .3s cubic-bezier(.2,.8,.2,1),background .3s ease,color .3s ease,border-color .3s ease,box-shadow .3s ease; }
.btn:hover{ transform:translateY(-2px); background:var(--gold-soft); border-color:var(--gold-soft); color:var(--ink); box-shadow:0 14px 28px -16px rgba(203,162,78,.7); }
.btn--ghost{ --bg:transparent; --fg:var(--ivory); border-color:var(--line); }
.btn--ghost:hover{ background:transparent; border-color:var(--gold); color:var(--gold-soft); box-shadow:none; }
.btn--small{ padding:.8em 1.4em; font-size:.78rem; }
.btn-row{ display:flex; flex-wrap:wrap; gap:1rem; }

.site-header{ position:fixed; inset:0 0 auto 0; z-index:100; display:flex; align-items:center; justify-content:space-between;
  padding:1.15rem var(--gutter); transition:background .4s ease,padding .4s ease,border-color .4s ease,backdrop-filter .4s ease; border-bottom:1px solid transparent; }
.site-header.is-stuck{ background:rgba(18,14,12,.88); backdrop-filter:saturate(140%) blur(12px); border-bottom-color:var(--line); padding-block:.8rem; }
.brand{ display:flex; align-items:center; gap:.85rem; line-height:1; }
.brand .monogram{ width:44px; height:44px; flex:none; color:var(--gold); }
.brand .wordmark{ font-family:var(--font-label); font-weight:400; font-size:1rem; letter-spacing:.3em; text-transform:uppercase; color:var(--ivory); }
.brand:hover .monogram{ color:var(--gold-soft); }
.nav{ display:flex; align-items:center; gap:2.1rem; }
.nav ul{ display:flex; gap:1.9rem; list-style:none; margin:0; padding:0; }
.nav a{ font-family:var(--font-label); font-weight:400; font-size:.82rem; letter-spacing:.18em; text-transform:uppercase; color:var(--ivory); position:relative; padding-block:.3rem; }
.nav a::after{ content:""; position:absolute; left:0; bottom:0; height:1px; width:0; background:var(--gold); transition:width .3s ease; }
.nav a:hover{ color:var(--gold-soft); }
.nav a:hover::after{ width:100%; }
.nav-toggle{ display:none; background:none; border:0; color:var(--ivory); cursor:pointer; padding:.4rem; }
.nav-toggle svg{ width:28px; height:28px; }
@media (max-width:900px){
  .nav-toggle{ display:inline-flex; }
  .nav{ position:fixed; inset:0 0 0 auto; width:min(80vw,360px); flex-direction:column; align-items:flex-start; justify-content:center; gap:0;
    background:var(--ink-2); border-left:1px solid var(--line); padding:2rem var(--gutter); transform:translateX(100%);
    transition:transform .45s cubic-bezier(.2,.8,.2,1); box-shadow:var(--shadow); }
  .nav.is-open{ transform:translateX(0); }
  .nav ul{ flex-direction:column; gap:0; width:100%; }
  .nav li{ width:100%; border-bottom:1px solid var(--line-soft); }
  .nav a{ display:block; padding:1.15rem 0; font-size:.92rem; }
  .nav .btn{ margin-top:1.4rem; }
  body.nav-open{ overflow:hidden; }
}

.hero{ position:relative; min-height:100svh; display:flex; align-items:center; padding:9rem var(--gutter) 5rem; overflow:hidden;
  background:radial-gradient(60% 50% at 78% 28%,rgba(140,44,34,.30),transparent 60%),
    radial-gradient(70% 60% at 12% 88%,rgba(154,123,51,.16),transparent 55%),
    linear-gradient(180deg,#1A1512 0%,var(--ink) 60%,#100C0A 100%); }
.hero__bg{ position:absolute; inset:0; background-size:cover; background-position:center; opacity:.5; }
.hero__stars{ position:absolute; inset:0; pointer-events:none; opacity:.7;
  background-image:radial-gradient(1.4px 1.4px at 12% 22%,rgba(244,236,223,.7),transparent),
    radial-gradient(1.2px 1.2px at 28% 64%,rgba(244,236,223,.5),transparent),
    radial-gradient(1.6px 1.6px at 44% 18%,rgba(244,236,223,.6),transparent),
    radial-gradient(1.2px 1.2px at 67% 52%,rgba(244,236,223,.45),transparent),
    radial-gradient(1.5px 1.5px at 82% 30%,rgba(244,236,223,.6),transparent),
    radial-gradient(1.2px 1.2px at 90% 72%,rgba(244,236,223,.4),transparent),
    radial-gradient(1.3px 1.3px at 56% 84%,rgba(244,236,223,.5),transparent); }
.hero__vignette{ position:absolute; inset:0; box-shadow:inset 0 0 220px 70px rgba(0,0,0,.7); pointer-events:none; }
.hero__inner{ position:relative; z-index:2; width:100%; max-width:var(--wrap); margin:0 auto;
  display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(2rem,5vw,4.5rem); align-items:center; }
.hero__text{ max-width:36rem; }
.hero h1{ font-size:clamp(2.8rem,5.6vw,5rem); font-weight:500; letter-spacing:.01em; margin-bottom:.5rem; text-shadow:0 2px 40px rgba(0,0,0,.5); }
.hero h1 em{ font-style:italic; color:var(--gold-soft); }
.hero__intro{ font-size:clamp(1.08rem,1.4vw,1.32rem); color:var(--ivory-dim); max-width:46ch; margin:0 0 2.2rem; }
.hero__series-tag{ display:flex; align-items:center; gap:.7rem; margin-top:2.4rem; color:var(--ivory-faint); font-family:var(--font-label); font-size:.78rem; letter-spacing:.16em; text-transform:uppercase; }
.hero__series-tag::before{ content:""; width:34px; height:1px; background:var(--gold); }
.hero__cover{ justify-self:center; position:relative; width:min(340px,78%); }
.hero__cover .cover-frame{ transform:rotate(1.4deg); transition:transform .5s ease; box-shadow:0 40px 80px -30px rgba(0,0,0,.9),0 0 0 1px rgba(203,162,78,.18); }
.hero__cover:hover .cover-frame{ transform:rotate(0); }
.hero__cover::after{ content:""; position:absolute; inset:-12% -12% -18% -12%; z-index:-1; background:radial-gradient(closest-side,rgba(203,162,78,.30),transparent 72%); filter:blur(8px); }
.hero__cover-cap{ text-align:center; margin-top:1.2rem; font-family:var(--font-label); font-size:.74rem; letter-spacing:.18em; text-transform:uppercase; color:var(--ivory-faint); }
.hero__cue{ position:absolute; left:50%; bottom:1.8rem; transform:translateX(-50%); z-index:2; color:var(--ivory-faint); font-family:var(--font-label); font-size:.68rem; letter-spacing:.28em; text-transform:uppercase; display:flex; flex-direction:column; align-items:center; gap:.6rem; }
.hero__cue span{ width:1px; height:46px; background:linear-gradient(var(--gold),transparent); animation:cue 2.4s ease-in-out infinite; }
@keyframes cue{ 0%,100%{ opacity:.3; transform:scaleY(.6);} 50%{ opacity:1; transform:scaleY(1);} }
@media (max-width:860px){
  .hero{ text-align:center; padding-top:8rem; }
  .hero__inner{ grid-template-columns:1fr; gap:2.5rem; }
  .hero__text{ max-width:none; margin:0 auto; }
  .hero__intro{ margin-inline:auto; }
  .hero .btn-row,.hero__series-tag{ justify-content:center; }
  .hero__series-tag{ display:inline-flex; }
  .hero__cover{ order:-1; width:min(260px,62%); }
}

.cover-frame{ position:relative; width:100%; aspect-ratio:2/3; border-radius:3px; overflow:hidden; background:linear-gradient(150deg,var(--ink-4),var(--ink-2)); }
.cover-frame img{ position:relative; z-index:1; width:100%; height:100%; object-fit:cover; transition:transform .6s ease; }
.cover-frame .cover-fallback{ position:absolute; inset:0; z-index:0; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:1.4rem; gap:.7rem; }
.cover-fallback .cf-mark{ width:34px; height:34px; color:var(--gold); opacity:.8; }
.cover-fallback .cf-title{ font-family:var(--font-display); font-style:italic; font-size:1.5rem; color:var(--ivory); line-height:1.15; }
.cover-fallback .cf-sub{ font-family:var(--font-label); font-size:.66rem; letter-spacing:.2em; text-transform:uppercase; color:var(--gold-soft); }

.section{ padding:clamp(4.5rem,9vw,8rem) 0; position:relative; }
.section--tint{ background:linear-gradient(180deg,var(--ink) 0%,var(--ink-2) 50%,var(--ink) 100%); }
.section--ink2{ background:var(--ink-2); }

.books{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(1.8rem,3vw,3rem); }
@media (max-width:980px){ .books{ grid-template-columns:1fr 1fr; } }
@media (max-width:620px){ .books{ grid-template-columns:1fr; max-width:430px; margin-inline:auto; } }
.book{ display:flex; flex-direction:column; text-align:center; }
.book__cover{ width:100%; max-width:300px; margin:0 auto 1.6rem; box-shadow:var(--shadow); transition:transform .45s cubic-bezier(.2,.8,.2,1); }
.book:hover .book__cover{ transform:translateY(-8px); }
.book:hover .cover-frame img{ transform:scale(1.04); }
.book__series{ font-family:var(--font-label); font-size:.72rem; letter-spacing:.24em; text-transform:uppercase; color:var(--gold); margin-bottom:.55rem; }
.book__title{ font-size:1.9rem; font-weight:600; margin-bottom:.5rem; }
.book__date{ display:inline-block; font-family:var(--font-label); font-size:.7rem; letter-spacing:.16em; text-transform:uppercase; color:var(--gold-soft); border:1px solid var(--line); border-radius:100px; padding:.45em 1.05em; margin-bottom:1.1rem; }
.book__blurb{ color:var(--ivory-dim); font-size:1.02rem; line-height:1.6; margin-bottom:1.2rem; flex:1; }
.book__links{ display:flex; gap:.6rem; justify-content:center; flex-wrap:wrap; }
.books-cta{ text-align:center; margin-top:clamp(2.6rem,5vw,3.6rem); }
.books-cta .btn-row{ justify-content:center; }

.about__grid{ display:grid; grid-template-columns:minmax(0,360px) 1fr; gap:clamp(2rem,5vw,4.5rem); align-items:center; }
@media (max-width:820px){ .about__grid{ grid-template-columns:1fr; text-align:center; justify-items:center; } }
.about__photo{ position:relative; width:100%; max-width:340px; }
.about__photo-frame{ position:relative; border-radius:4px; overflow:hidden; box-shadow:var(--shadow); border:1px solid var(--line); }
.about__photo-frame img{ width:100%; height:100%; object-fit:cover; filter:grayscale(8%) contrast(1.02); }
.about__photo::before{ content:""; position:absolute; inset:14px -14px -14px 14px; border:1px solid var(--line); border-radius:4px; z-index:-1; }
.about__body h2{ font-size:clamp(2rem,4vw,3.1rem); font-weight:500; }
.about__body p{ color:var(--ivory-dim); }
.about__sig{ font-family:var(--font-display); font-style:italic; font-size:1.9rem; color:var(--gold-soft); margin-top:1rem; }

.praise__quotes{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(1.2rem,2.5vw,2rem); margin-bottom:clamp(2.4rem,5vw,3.4rem); }
@media (max-width:880px){ .praise__quotes{ grid-template-columns:1fr; max-width:560px; margin-inline:auto; } }
.quote{ background:var(--ink-3); border:1px solid var(--line-soft); border-radius:var(--radius); padding:1.8rem 1.6rem; display:flex; flex-direction:column; }
.quote__mark{ color:var(--gold); width:26px; height:26px; margin-bottom:.8rem; opacity:.85; }
.quote__text{ font-family:var(--font-display); font-style:italic; font-size:1.28rem; line-height:1.45; color:var(--ivory); margin-bottom:1rem; flex:1; }
.quote__by{ font-family:var(--font-label); font-size:.72rem; letter-spacing:.16em; text-transform:uppercase; color:var(--gold-soft); }
.praise__widget{ max-width:640px; margin:0 auto; background:#fff; border-radius:var(--radius); padding:.4rem 1.2rem 1rem; box-shadow:var(--shadow); }
.praise__widget #goodreads-widget h1{ color:#382110; }
.praise__cta{ text-align:center; margin-top:clamp(2rem,4vw,2.8rem); }

.journal-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(1.4rem,2.6vw,2.2rem); }
@media (max-width:980px){ .journal-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:620px){ .journal-grid{ grid-template-columns:1fr; } }
.post{ display:flex; flex-direction:column; background:var(--ink-3); border:1px solid var(--line-soft); border-radius:var(--radius); overflow:hidden; transition:transform .4s cubic-bezier(.2,.8,.2,1),border-color .4s ease,box-shadow .4s ease; }
.post:hover{ transform:translateY(-6px); border-color:var(--line); box-shadow:var(--shadow); }
.post__media{ position:relative; aspect-ratio:16/10; overflow:hidden; background:linear-gradient(135deg,var(--ink-4),var(--ink-2)); display:block; }
.post__media img{ position:relative; z-index:1; width:100%; height:100%; object-fit:cover; transition:transform .6s ease; }
.post:hover .post__media img{ transform:scale(1.05); }
.post__media-fallback{ position:absolute; inset:0; z-index:0; display:flex; align-items:center; justify-content:center; color:var(--gold); opacity:.45; }
.post__media-fallback svg{ width:46px; height:46px; }
.post__body{ padding:1.4rem 1.5rem 1.6rem; display:flex; flex-direction:column; flex:1; }
.post__date{ font-family:var(--font-label); font-size:.72rem; letter-spacing:.16em; text-transform:uppercase; color:var(--ivory-faint); margin-bottom:.6rem; }
.post__title{ font-size:1.45rem; font-weight:600; line-height:1.2; margin-bottom:.6rem; }
.post__title a{ color:var(--ivory); }
.post__title a:hover{ color:var(--gold-soft); }
.post__excerpt{ color:var(--ivory-dim); font-size:1rem; line-height:1.6; margin-bottom:1.1rem; flex:1; }
.post__more{ font-family:var(--font-label); font-size:.76rem; letter-spacing:.14em; text-transform:uppercase; color:var(--gold); display:inline-flex; align-items:center; gap:.5em; }
.post__more svg{ width:14px; height:14px; transition:transform .3s ease; }
.post:hover .post__more svg{ transform:translateX(4px); }
.journal__cta{ text-align:center; margin-top:clamp(2.4rem,5vw,3.4rem); }
.journal__empty{ text-align:center; color:var(--ivory-dim); border:1px dashed var(--line); border-radius:var(--radius); padding:3rem 1.5rem; }

.readerlist{ position:relative; overflow:hidden; }
.readerlist::before{ content:""; position:absolute; inset:0; background:radial-gradient(80% 120% at 50% -10%,rgba(140,44,34,.16),transparent 60%); pointer-events:none; }
.readerlist__inner{ position:relative; text-align:center; max-width:640px; margin:0 auto; }
.readerlist h2{ font-size:clamp(2.1rem,4.5vw,3.4rem); font-weight:500; }
.readerlist p.sub{ color:var(--ivory-dim); margin:0 auto 2.2rem; max-width:48ch; font-size:1.1rem; }
.signup-form{ display:flex; gap:.7rem; max-width:480px; margin:0 auto; }
.signup-form input[type=email]{ flex:1; background:var(--ink); border:1px solid var(--line); border-radius:var(--radius); color:var(--ivory); font-family:var(--font-body); font-size:1.05rem; padding:1.02em 1.2em; }
.signup-form input[type=email]::placeholder{ color:var(--ivory-faint); }
.signup-form input[type=email]:focus{ outline:none; border-color:var(--gold); }
@media (max-width:520px){ .signup-form{ flex-direction:column; } }
.form-note{ font-family:var(--font-label); font-size:.8rem; letter-spacing:.03em; color:var(--ivory-faint); margin-top:1.3rem; }
.form-note a{ color:var(--ivory-dim); text-decoration:underline; text-underline-offset:3px; }
.form-note a:hover{ color:var(--gold-soft); }
.admin-hint{ margin:1.4rem auto 0; max-width:520px; font-family:var(--font-label); font-size:.85rem; line-height:1.6; background:rgba(203,162,78,.08); border:1px dashed var(--line); border-radius:var(--radius); color:var(--ivory-dim); padding:1rem 1.2rem; }
.admin-hint strong{ color:var(--gold-soft); }
.ml-embed-wrap{ max-width:520px; margin:0 auto; }
.ml-embed-wrap .ml-form-embedWrapper{ background:transparent!important; box-shadow:none!important; }
.ml-embed-wrap input[type=email],.ml-embed-wrap input[type=text]{ background:var(--ink)!important; border:1px solid var(--line)!important; color:var(--ivory)!important; border-radius:var(--radius)!important; font-family:var(--font-body)!important; }
.ml-embed-wrap button[type=submit],.ml-embed-wrap .ml-form-embedSubmit button{ background:var(--gold)!important; color:var(--ink)!important; border:0!important; font-family:var(--font-label)!important; letter-spacing:.16em!important; text-transform:uppercase!important; border-radius:var(--radius)!important; }

.arc__inner{ text-align:center; max-width:760px; margin:0 auto; }
.arc__sub{ color:var(--ivory-dim); max-width:52ch; margin:0 auto 2.4rem; font-size:1.08rem; }
.arc__platforms{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.1rem; }
@media (max-width:680px){ .arc__platforms{ grid-template-columns:1fr; max-width:360px; margin-inline:auto; } }
.arc-card{ display:flex; flex-direction:column; align-items:center; gap:.7rem; padding:1.8rem 1.2rem; background:var(--ink-3); border:1px solid var(--line-soft); border-radius:var(--radius); transition:transform .35s ease,border-color .35s ease,box-shadow .35s ease; color:var(--ivory); }
.arc-card:hover{ transform:translateY(-5px); border-color:var(--line); box-shadow:var(--shadow); color:var(--ivory); }
.arc-card__mark{ width:30px; height:30px; color:var(--gold); }
.arc-card__name{ font-family:var(--font-display); font-size:1.5rem; font-weight:600; }
.arc-card__go{ font-family:var(--font-label); font-size:.72rem; letter-spacing:.16em; text-transform:uppercase; color:var(--gold-soft); display:inline-flex; align-items:center; gap:.4em; }
.arc-card__go svg{ width:13px; height:13px; }

.site-footer{ background:var(--ink); border-top:1px solid var(--line); padding:clamp(3.5rem,7vw,5.5rem) 0 2.5rem; }
.footer-top{ display:flex; flex-direction:column; align-items:center; text-align:center; gap:1.2rem; }
.footer-mono{ width:58px; height:58px; color:var(--gold); }
.footer-name{ font-family:var(--font-label); letter-spacing:.3em; text-transform:uppercase; font-size:1.05rem; color:var(--ivory); }
.footer-tag{ color:var(--ivory-dim); font-style:italic; font-family:var(--font-display); font-size:1.3rem; max-width:42ch; }
.footer-social{ display:flex; gap:1.4rem; margin-top:.4rem; }
.footer-social a{ color:var(--ivory-dim); }
.footer-social a:hover{ color:var(--gold-soft); transform:translateY(-2px); }
.footer-social svg{ width:23px; height:23px; }
.footer-nav{ display:flex; flex-wrap:wrap; gap:.6rem 1.6rem; justify-content:center; margin-top:1.6rem; }
.footer-nav a{ font-family:var(--font-label); font-size:.78rem; letter-spacing:.16em; text-transform:uppercase; color:var(--ivory-dim); }
.footer-nav a:hover{ color:var(--gold-soft); }
.footer-rule{ height:1px; background:linear-gradient(90deg,transparent,var(--line),transparent); margin:2.4rem 0 1.6rem; width:100%; max-width:560px; }
.footer-legal{ text-align:center; color:var(--ivory-faint); font-family:var(--font-label); font-size:.78rem; letter-spacing:.03em; }
.footer-legal a{ color:var(--ivory-faint); text-decoration:underline; text-underline-offset:3px; }

.page-shell{ padding:clamp(8rem,14vw,11rem) 0 clamp(4rem,8vw,7rem); }
.page-shell .entry-content{ max-width:70ch; margin:0 auto; }
.page-shell .entry-content h1,.page-shell .entry-content h2{ color:var(--ivory); }
.page-title{ text-align:center; font-size:clamp(2.2rem,5vw,3.6rem); font-weight:500; margin-bottom:.4rem; }
.page-subtitle{ text-align:center; color:var(--ivory-dim); max-width:54ch; margin:0 auto 3rem; }
.prefs-card{ background:var(--ink-3); border:1px solid var(--line); border-radius:var(--radius); padding:clamp(1.8rem,4vw,3rem); max-width:620px; margin:0 auto; text-align:center; }
.prefs-card h2{ font-size:1.9rem; margin-bottom:.6rem; }
.prefs-card p{ color:var(--ivory-dim); }
.prefs-steps{ text-align:left; max-width:440px; margin:1.6rem auto; color:var(--ivory-dim); padding-left:1.1rem; }
.prefs-steps li{ margin-bottom:.7rem; }
.prefs-card .btn{ margin-top:1rem; }
.prefs-divider{ display:flex; align-items:center; gap:1rem; color:var(--ivory-faint); font-family:var(--font-label); font-size:.74rem; letter-spacing:.22em; text-transform:uppercase; margin:2rem 0; }
.prefs-divider::before,.prefs-divider::after{ content:""; height:1px; flex:1; background:var(--line); }

.reveal{ opacity:0; transform:translateY(26px); transition:opacity .9s ease,transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible{ opacity:1; transform:none; }
.reveal[data-delay="1"]{ transition-delay:.08s; }
.reveal[data-delay="2"]{ transition-delay:.16s; }
.reveal[data-delay="3"]{ transition-delay:.24s; }
@media (prefers-reduced-motion:reduce){ *{ animation:none!important; transition:none!important; scroll-behavior:auto!important; } .reveal{ opacity:1; transform:none; } }

/* ============================================================
   17. SERIES (v3) — floating gold line-art on black
   ============================================================ */
.hero__art{ justify-self:center; position:relative; width:min(440px,84%); }
.hero__art img{ width:100%; display:block; }
.hero__art::before{ content:""; position:absolute; inset:-10%; z-index:-1; background:radial-gradient(closest-side, rgba(203,162,78,.18), transparent 70%); filter:blur(6px); }
@media (max-width:860px){ .hero__art{ order:-1; width:min(320px,68%); } }

.section--series{ background:#000; position:relative; }
.section--series::before{ content:""; position:absolute; inset:0; pointer-events:none; background:radial-gradient(72% 48% at 50% 0%, rgba(140,44,34,.16), transparent 62%); }
.section--series > .wrap{ position:relative; z-index:1; }

.series-list{ display:flex; flex-direction:column; gap:clamp(3.5rem,8vw,7rem); margin-top:clamp(1.5rem,4vw,3rem); }
.series-row{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(1.5rem,5vw,4.5rem); align-items:center; }
.series-row:nth-child(even) .series-art{ order:2; }
.series-art{ position:relative; }
.series-art img{ display:block; width:100%; max-width:480px; margin:0 auto; transition:transform .5s ease; }
.series-art a:hover img{ transform:translateY(-6px) scale(1.01); }
.series-art::before{ content:""; position:absolute; inset:4% 6%; z-index:0; background:radial-gradient(closest-side, rgba(203,162,78,.16), transparent 72%); filter:blur(10px); }
.series-art a, .series-art img{ position:relative; z-index:1; }
.series-art__fallback{ position:absolute; inset:0; z-index:0; display:flex; align-items:center; justify-content:center; color:var(--gold); opacity:.5; }
.series-art__fallback svg{ width:60px; height:60px; }

.series-body .eyebrow{ margin-bottom:1rem; }
.series-title{ font-size:clamp(2.1rem,4vw,3.3rem); font-weight:500; margin-bottom:.35rem; }
.series-title em{ font-style:italic; }
.series-blurb{ color:var(--ivory-dim); font-size:1.06rem; line-height:1.65; margin-bottom:.4rem; }
.series-books{ list-style:none; margin:1.6rem 0 0; padding:0; border-top:1px solid var(--line); }
.series-book{ display:flex; align-items:center; justify-content:space-between; gap:.8rem 1.6rem; flex-wrap:wrap; padding:1.15rem 0; border-bottom:1px solid var(--line-soft); }
.series-book__info{ text-align:left; }
.series-book__label{ font-family:var(--font-label); font-size:.66rem; letter-spacing:.2em; text-transform:uppercase; color:var(--gold); display:block; margin-bottom:.25rem; }
.series-book__title{ font-family:var(--font-display); font-size:1.42rem; font-weight:600; color:var(--ivory); line-height:1.12; }
.series-book__date{ font-family:var(--font-label); font-size:.72rem; letter-spacing:.04em; color:var(--ivory-faint); display:block; margin-top:.2rem; }
.series-book__links{ display:flex; gap:.5rem; flex-wrap:wrap; flex:none; }
@media (max-width:820px){
  .series-row{ grid-template-columns:1fr; gap:1.8rem; }
  .series-row:nth-child(even) .series-art{ order:0; }
  .series-art img{ max-width:320px; }
  .series-body{ text-align:center; }
  .series-body .eyebrow{ display:inline-block; }
  .series-books{ text-align:center; }
  .series-book{ flex-direction:column; justify-content:center; }
  .series-book__info{ text-align:center; }
}
.series-art{ min-height:160px; }

/* ===== v4: series teaser covers, detail pages, text blog ===== */
.series-covers{ display:flex; gap:1.1rem; flex-wrap:wrap; margin-top:.5rem; }
.series-cover{ display:flex; flex-direction:column; align-items:center; gap:.55rem; width:88px; color:var(--ivory-dim); }
.series-cover .cover-frame{ width:88px; box-shadow:var(--shadow-sm); transition:transform .4s ease; }
.series-cover:hover{ color:var(--gold-soft); }
.series-cover:hover .cover-frame{ transform:translateY(-4px); }
.series-cover__cap{ font-family:var(--font-label); font-size:.62rem; letter-spacing:.07em; text-transform:uppercase; text-align:center; line-height:1.3; }
.cover-frame--mini .cf-mark{ width:22px; height:22px; }
.cover-frame--mini .cf-title,.cover-frame--mini .cf-sub{ display:none; }
@media (max-width:820px){ .series-covers{ justify-content:center; } }

.series-detail-hero{ padding:clamp(7rem,12vw,9.5rem) 0 clamp(2.5rem,5vw,4rem); }
.series-detail-back{ display:inline-block; font-family:var(--font-label); font-size:.76rem; letter-spacing:.14em; text-transform:uppercase; color:var(--ivory-dim); margin-bottom:2rem; }
.series-detail-back:hover{ color:var(--gold-soft); }
.series-detail-hero__grid{ display:grid; grid-template-columns:minmax(0,380px) 1fr; gap:clamp(2rem,5vw,4.5rem); align-items:center; }
.series-detail-hero .series-art img{ }
.series-detail-title{ font-size:clamp(2.4rem,5vw,4rem); font-weight:500; margin:.2rem 0 .5rem; }
@media (max-width:820px){ .series-detail-hero__grid{ grid-template-columns:1fr; text-align:center; } .series-detail-hero .series-art img{ max-width:300px; margin-inline:auto; } }

.bookdetail{ display:grid; grid-template-columns:260px 1fr; gap:clamp(1.8rem,4vw,3.5rem); align-items:start; padding:clamp(2.2rem,4vw,3.2rem) 0; border-top:1px solid var(--line-soft); }
.bookdetail:first-of-type{ border-top:0; padding-top:0; }
.bookdetail__cover .cover-frame{ box-shadow:var(--shadow); }
.bookdetail__title{ font-size:clamp(1.8rem,3.4vw,2.6rem); font-weight:600; margin:.3rem 0 .4rem; }
.bookdetail__update{ display:inline-flex; align-items:center; gap:.5em; color:var(--gold-soft); font-family:var(--font-label); font-size:.78rem; letter-spacing:.04em; background:rgba(203,162,78,.1); border:1px solid var(--line); border-radius:100px; padding:.45em 1.05em; margin:.4rem 0 1rem; }
.bookdetail__update svg{ width:14px; height:14px; }
.bookdetail__blurb{ color:var(--ivory-dim); margin-bottom:1.3rem; font-size:1.05rem; }
.bookdetail__reviews{ margin-top:1.9rem; }
.bookdetail__reviews .eyebrow{ display:block; margin-bottom:1rem; }
.bookdetail__reviews .praise__widget{ margin:0; }
@media (max-width:680px){ .bookdetail{ grid-template-columns:1fr; justify-items:center; text-align:center; } .bookdetail__cover{ max-width:220px; } .bookdetail .book__links{ justify-content:center; } }
.series-news{ max-width:760px; margin:clamp(2.5rem,5vw,4rem) auto 0; }
.series-news .entry-content{ color:var(--ivory-dim); }
.series-news .entry-content h2,.series-news .entry-content h3{ color:var(--ivory); }

.post--text .post__body{ padding:1.5rem 1.6rem 1.7rem; }
.blog-list{ display:flex; flex-direction:column; gap:1.1rem; max-width:760px; margin:0 auto; }
.blog-list .post{ border-left:2px solid var(--line); transition:border-color .3s ease, transform .3s ease; }
.blog-list .post:hover{ border-left-color:var(--gold); }
.section-head-sub{ font-size:1.02rem; }

/* v4.1: badge spacing + constrained review widths on book detail */
.bookdetail__badges{ display:flex; flex-wrap:wrap; gap:.6rem; align-items:center; margin:.5rem 0 1.15rem; }
.bookdetail__badges .book__date{ margin:0; }
.bookdetail__update{ margin:0; }
.bookdetail__reviews .praise__widget{ max-width:560px; margin:0; }
.bookdetail__reviews .praise__quotes{ grid-template-columns:1fr; max-width:560px; gap:1rem; margin:0; }

/* v4.1: Series dropdown menu */
.nav .has-dropdown, .nav .menu-item-has-children{ position:relative; }
.dd-caret{ display:inline-block; width:0; height:0; margin-left:.35em; vertical-align:middle; border-left:4px solid transparent; border-right:4px solid transparent; border-top:5px solid currentColor; opacity:.7; }
.nav .sub-menu{ list-style:none; margin:0; padding:0; }
@media (min-width:901px){
  .nav .sub-menu{ position:absolute; top:100%; left:50%; transform:translateX(-50%) translateY(10px); min-width:230px;
    background:rgba(18,14,12,.97); backdrop-filter:saturate(140%) blur(12px); border:1px solid var(--line); border-radius:var(--radius);
    padding:.5rem 0; opacity:0; visibility:hidden; transition:opacity .25s ease, transform .25s ease; box-shadow:var(--shadow); }
  .nav .has-dropdown:hover .sub-menu, .nav .menu-item-has-children:hover .sub-menu, .nav .sub-menu:hover, .nav .has-dropdown:focus-within .sub-menu{ opacity:1; visibility:visible; transform:translateX(-50%) translateY(4px); }
  .nav .sub-menu::before{ content:""; position:absolute; top:-8px; left:0; right:0; height:8px; }
  .nav .sub-menu li{ display:block; width:100%; border:0; }
  .nav .sub-menu a{ display:block; padding:.7rem 1.5rem; white-space:nowrap; font-size:.76rem; color:var(--ivory-dim); }
  .nav .sub-menu a:hover{ color:var(--gold-soft); background:rgba(203,162,78,.06); }
  .nav .sub-menu a::after{ display:none; }
}
@media (max-width:900px){
  .dd-caret{ display:none; }
  .nav .sub-menu{ width:100%; }
  .nav .sub-menu li{ border-bottom:1px solid var(--line-soft); }
  .nav .sub-menu a{ display:block; padding:.9rem 0 .9rem 1.2rem; font-size:.84rem; color:var(--ivory-dim); }
}

/* v4.1: compact quotes, rating-pill wrap, mobile safeguards */
.quote__text{ font-size:1.18rem; }
.bookdetail__update{ white-space:normal; line-height:1.4; max-width:100%; }
@media (max-width:560px){
  .btn{ padding:.95em 1.4em; font-size:.8rem; letter-spacing:.12em; }
  .hero{ padding-top:7.5rem; }
  .hero__series-tag{ font-size:.72rem; }
  .series-cover{ width:78px; }
  .series-cover .cover-frame{ width:78px; }
  .eyebrow{ letter-spacing:.24em; }
}

/* v4.1: keep embedded (fixed-width) widgets from overflowing on mobile */
.praise__widget{ max-width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; }
.praise__widget #goodreads-widget, .praise__widget iframe{ max-width:100%; }
.ml-embed-wrap{ max-width:100%; overflow-x:auto; }
.bookdetail__reviews{ max-width:100%; }
img, svg, iframe{ max-width:100%; }

/* v4.2: hamburger menu — stack every item vertically */
@media (max-width:900px){
  .nav .nav-menu{ display:flex !important; flex-direction:column !important; flex-wrap:nowrap !important; align-items:stretch; width:100%; gap:0; }
  .nav .nav-menu > li{ display:block; width:100%; }
  .nav .sub-menu{ position:static; display:block; width:100%; opacity:1; visibility:visible; transform:none;
    background:transparent; backdrop-filter:none; border:0; box-shadow:none; padding:.1rem 0 .5rem 1.1rem; }
  .nav .sub-menu::before{ display:none; }
  .nav .sub-menu li{ display:block; width:100%; border-bottom:0; }
}

/* v4.2: book-detail reader-review quotes (compact, constrained) */
.bookdetail__reviews .eyebrow{ display:block; margin-bottom:1rem; }
.bookdetail__quotes{ display:grid; grid-template-columns:1fr 1fr; gap:1rem; max-width:640px; }
.bookdetail__quotes .quote{ padding:1.2rem 1.3rem; }
.bookdetail__quotes .quote__text{ font-size:1.05rem; line-height:1.4; }
@media (max-width:680px){ .bookdetail__quotes{ grid-template-columns:1fr; } }

/* v4.3: SEO/a11y — minimum legible font sizes + larger tap targets */
.series-cover__cap{ font-size:.74rem; }
.cover-fallback .cf-sub{ font-size:.74rem; }
.arc-card__go, .post__more, .footer-legal, .form-note, .quote__by, .book__series, .series-book__label{ font-size:.78rem; }
.footer-social a{ display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; }
.nav .sub-menu a{ min-height:32px; }

/* v4.4: dropdown items must stack (override the nav's horizontal flex) */
@media (min-width:901px){
  .nav .sub-menu{ display:block; gap:0; }
  .nav .sub-menu li{ display:block; width:100%; }
}

/* v4.5: WPForms styled to match the theme */
.wpforms-wrap{ max-width:520px; margin:0 auto; text-align:left; }
.wpforms-wrap .wpforms-field-label,
.wpforms-wrap .wpforms-field-description{ color:var(--ivory-dim)!important; font-family:var(--font-label)!important; font-weight:400!important; }
.wpforms-wrap input[type=text],
.wpforms-wrap input[type=email],
.wpforms-wrap input[type=url],
.wpforms-wrap textarea,
.wpforms-wrap select{ background:var(--ink)!important; border:1px solid var(--line)!important; color:var(--ivory)!important; border-radius:var(--radius)!important; font-family:var(--font-body)!important; font-size:1.02rem!important; padding:.9em 1.1em!important; }
.wpforms-wrap input::placeholder,.wpforms-wrap textarea::placeholder{ color:var(--ivory-faint)!important; }
.wpforms-wrap input:focus,.wpforms-wrap textarea:focus{ border-color:var(--gold)!important; outline:none!important; }
.wpforms-wrap .wpforms-submit-container{ text-align:center; margin-top:.4rem; }
.wpforms-wrap button.wpforms-submit{ background:var(--gold)!important; color:var(--ink)!important; border:0!important; font-family:var(--font-label)!important; font-weight:500!important; letter-spacing:.16em!important; text-transform:uppercase!important; border-radius:var(--radius)!important; padding:1.02em 2.1em!important; cursor:pointer; transition:transform .3s ease, background .3s ease; }
.wpforms-wrap button.wpforms-submit:hover{ background:var(--gold-soft)!important; transform:translateY(-2px); }
.wpforms-wrap .wpforms-confirmation-container-full{ background:var(--ink-3)!important; border:1px solid var(--line)!important; color:var(--ivory)!important; border-radius:var(--radius)!important; padding:1.2rem 1.4rem!important; font-family:var(--font-body)!important; }
.wpforms-wrap .wpforms-field{ padding:.5rem 0!important; }

/* v5.0: brand logo (replaces the monogram) */
.brand-logo{ width:46px; height:46px; object-fit:contain; flex:none; transition:transform .3s ease; }
.brand:hover .brand-logo{ transform:scale(1.05); }
.footer-logo{ width:62px; height:62px; object-fit:contain; }
@media (max-width:560px){ .brand-logo{ width:40px; height:40px; } }
.brand-logo{ height:46px; width:auto; }
.footer-logo{ height:62px; width:auto; }
@media (max-width:560px){ .brand-logo{ height:40px; } }

/* v5.1: full book blurbs + Spotify embed on series pages */
.bookdetail__blurb p{ margin:0 0 1em; }
.bookdetail__blurb p:last-child{ margin-bottom:0; }
.bookdetail__blurb strong{ color:var(--ivory); font-weight:500; }
.bookdetail__blurb em{ font-style:italic; color:var(--ivory); }
.blurb-note{ display:block; font-size:.9rem; line-height:1.55; color:var(--ivory-faint); }
.blurb-note em{ color:var(--ivory-faint); }
.bookdetail__embed{ margin:1.6rem 0 .3rem; max-width:560px; }
.bookdetail__embed iframe{ width:100%; border-radius:12px; border:1px solid var(--line-soft); }

/* v5.1.1: center buttons + tags on mobile */
@media (max-width:820px){
  .btn-row,
  .book__links,
  .series-book__links,
  .bookdetail__badges{ justify-content:center; }
  .bookdetail__embed{ margin-inline:auto; }
  .hero__series-tag{ justify-content:center; }
}

/* v5.1.2: pull quote text up under the mark (reset blockquote default margins) */
.quote__mark{ margin-bottom:.35rem; }
.quote__text{ margin:0 0 1rem; }
.bookdetail__quotes .quote__text{ margin:0; }
