/* EbookState homepage CSS bundle 2026-11-20f (fixall): byte-for-byte concatenation of the four per-release files below, in the
   same order they were linked, plus the 961-1180px nav no-wrap fix at the end. Rollback: restore the four <link> tags. */

/* ===== es-spines-layout-20261120b.css ===== */
/* EbookState v3b — below-hero layout (2026-11-20). Desktop (>=1100px) only; hero/nav untouched.
   Rollback: remove the <link> to this file. */
@media (min-width:1100px){
  :root{--es-gut:clamp(32px,4.4vw,72px);--es-max:1480px}
  /* wider container for every section below the hero */
  .facts>.wrap,#why>.wrap,#team>.wrap,#intro>.wrap,#process>.wrap,#services>.wrap,#portfolio>.wrap,
  #reviews>.wrap,#pricing>.wrap,#faq>.wrap,#contact.wrap{max-width:calc(var(--es-max) + 2 * var(--es-gut));padding-left:var(--es-gut);padding-right:var(--es-gut)}
  .sec{padding:84px 0}
  #pricing{padding-top:84px;padding-bottom:84px}
  .intro-film{padding-bottom:84px}

  /* split, left-aligned section headers */
  #why .sec-h,#process .sec-h,#services .sec-h,#portfolio .sec-h,#reviews .sec-h,#pricing .head,#faq .head{max-width:none;margin:0 0 40px;text-align:left}
  #process .sec-h,#services .sec-h,#pricing .head{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);column-gap:64px;align-items:end}
  #process .sec-h>.eyebrow,#services .sec-h>.eyebrow,#pricing .head>.eyebrow{grid-column:1;justify-self:start}
  #process .sec-h>h2,#services .sec-h>h2,#pricing .head>h2{grid-column:1;margin-bottom:0}
  #process .sec-h>p,#services .sec-h>p,#pricing .head>p{grid-column:2;grid-row:1 / span 2;align-self:end;max-width:560px;margin:0}
  #portfolio .sec-h{margin-bottom:8px}

  /* facts strip: fills the width, left-aligned cells */
  .fact{text-align:left;padding:34px 32px}
  .fact:first-child{padding-left:0}

  /* why: heading column + 2x2 cards */
  #why>.wrap{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:64px;align-items:start}
  #why .sec-h{margin:0;position:sticky;top:130px}
  #why .sec-h p{max-width:520px}
  #why .why-grid{max-width:none;margin:0;gap:20px}
  #why .wcard{padding:30px 32px}

  /* team: full-width split card */
  #team .listen{max-width:none;display:grid;grid-template-columns:minmax(0,6fr) minmax(0,6fr);column-gap:72px;text-align:left;padding:48px 56px;align-items:start}
  #team .listen>.eyebrow{grid-column:1;justify-self:start}
  #team .listen>h2{grid-column:1;grid-row:2 / span 3;align-self:start;margin:0;font-size:44px}
  #team .listen>p,#team .listen>.chips,#team .listen>.vid{grid-column:2}
  #team .listen>p{grid-row:1 / span 2;max-width:600px;margin:0 0 22px;align-self:end}
  #team .listen>.chips{justify-content:flex-start;margin-bottom:14px}
  #team .listen>.vid{justify-self:start}

  /* intro film: copy + chapters left, video right */
  #intro .filmc{max-width:none;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,8fr);column-gap:48px;padding:48px;
    grid-template-areas:"head frame" "chap frame" "act frame" "bottom bottom" "tr tr";grid-template-rows:auto auto 1fr auto auto}
  #intro .filmc>.head{grid-area:head;text-align:left;max-width:none;margin:0 0 22px}
  #intro .filmc>.head h2{font-size:42px}
  #intro .film-frame{grid-area:frame;align-self:start}
  #intro .film-chapters{grid-area:chap;grid-template-columns:repeat(2,1fr);margin-top:0}
  #intro .film-actions{grid-area:act;align-self:start}
  #intro .film-bottom{grid-area:bottom;margin-top:22px}
  #intro .film-transcript{grid-area:tr}

  /* process + services: full container, unchanged inner layout */
  #process .tabs-card{padding:0 48px 44px}
  #services .svc-grid{gap:20px}
  #services .svc{padding:28px 28px}

  /* Book Store: left-aligned note under the full-bleed cover row */
  #portfolio .disc{max-width:760px;margin:30px 0 0;text-align:left}

  /* reviews: heading column + wide card */
  #reviews>.wrap{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:72px;align-items:center}
  #reviews .sec-h{margin:0}
  #reviews .reviewcard{max-width:none;margin:0;grid-template-columns:minmax(260px,320px) 1fr}
  #reviews .reviewcopy{padding:48px 56px}
  #reviews .reviewcopy blockquote{font-size:28px}

  /* pricing: left-aligned sub-headings and notes in the wide container */
  #pricing .es-biz-title{text-align:left}
  #pricing .pnote{text-align:left}
  #pricing .offer-scope{max-width:none;margin:10px 0}
  #pricing .plans{gap:24px}

  /* FAQ: heading column + accordion */
  #faq>.wrap{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:72px;align-items:start}
  #faq .head{margin:0;position:sticky;top:130px}
  #faq .faq{max-width:none;margin:0}

  /* contact + footer: match the wider container */
  #contact.wrap{padding-bottom:72px}
  #contact .cta{padding:64px 72px;gap:72px}
  footer{padding:0 var(--es-gut) 40px}
  footer>.wrap{max-width:var(--es-max)}
  body.es-season-2026 footer .es-season-deco{inset:0 max(var(--es-gut),calc((100% - var(--es-max)) / 2)) 40px}
}
/* narrow desktop: keep why cards roomy */
@media (min-width:1100px) and (max-width:1279px){
  #why>.wrap{grid-template-columns:1fr;gap:0}
  #why .sec-h{position:static;margin-bottom:36px}
  #why .sec-h p{max-width:640px}
}

/* ===== es-mobile-20261120c.css ===== */
/* EbookState v3c mobile pass (2026-11-20). Only <=900px / <=760px rules: desktop (>=1100px) unchanged.
   Rollback: remove this <link> and the two es-bf-*-20261120c.js <script> tags. */

/* ---------- Black Friday bar: compact, one row, 30% OFF badge that pops ---------- */
@media (max-width:900px){
  html.esb-ready body.es-season-2026 .es-season-bar__inner{grid-template-columns:minmax(0,1fr) auto 36px;grid-template-areas:"copy cta dismiss";column-gap:8px;row-gap:0;padding:7px 4px 8px 12px;align-items:center}
  html.esb-ready body.es-season-2026 .es-season-bar__copy{font-size:12.5px;line-height:17px}
  html.esb-ready body.es-season-2026 .es-season-bar__copy strong{display:block;white-space:nowrap;font-size:13.5px;line-height:22px;margin-bottom:1px}
  html.esb-ready body.es-season-2026 .es-season-bar__copy .esb-dot{display:none}
  html.esb-ready body.es-season-2026 .es-season-bar__copy strong em{display:inline-block;background:#F4A340;color:#241510;font-weight:800;font-size:12.5px;letter-spacing:.04em;text-transform:uppercase;line-height:1;padding:4px 8px;margin-left:4px;vertical-align:1px;border-radius:999px;box-shadow:0 0 0 2px rgba(244,163,64,.28)}
  html.esb-ready body.es-season-2026 .es-season-bar__cta{grid-area:cta;justify-self:end;min-height:44px;padding:8px 12px;font-size:13px;white-space:nowrap}
  html.esb-ready body.es-season-2026 .es-season-bar__dismiss{grid-area:dismiss;align-self:center;width:36px;height:44px;margin:0}
}
@media (max-width:480px){
  html.esb-ready body.es-season-2026 .es-season-bar__copy .esb-b{display:none}   /* "Payment plans available." (also in the FAQ) */
}
@media (max-width:360px){
  html.esb-ready body.es-season-2026 .es-season-bar__inner{padding-left:10px;column-gap:6px}
  html.esb-ready body.es-season-2026 .es-season-bar__copy{font-size:12px;line-height:16px}
  html.esb-ready body.es-season-2026 .es-season-bar__cta{padding:8px 9px;font-size:12px}
  html.esb-ready body.es-season-2026 .es-season-bar__copy strong{font-size:12.5px}
  html.esb-ready body.es-season-2026 .es-season-bar__copy strong em{font-size:11px;padding:3px 6px;margin-left:2px}
}
@media (max-width:330px){
  html.esb-ready body.es-season-2026 .es-season-bar__copy strong{white-space:normal}
}
@media (max-width:900px) and (prefers-reduced-motion:no-preference){
  body.es-season-2026 .es-season-bar{animation:esb-in .45s cubic-bezier(.2,.8,.2,1) both}
  html.esb-ready body.es-season-2026 .es-season-bar__copy strong em{animation:esb-pop 1.1s ease-in-out .6s 2,esb-pop 1.1s ease-in-out 8s infinite}
}
@keyframes esb-in{from{transform:translateY(-100%);opacity:0}to{transform:none;opacity:1}}
@keyframes esb-pop{0%,100%{transform:scale(1)}40%{transform:scale(1.14)}70%{transform:scale(.98)}}

/* pricing-card 30% OFF badges: larger on phones */
@media (max-width:760px){
  body.es-season-2026 .es-season-was--card{font-size:15px;gap:8px;margin:8px 0 6px}
  body.es-season-2026 .es-season-was--card .es-season-off{font-size:12px;padding:4px 8px;letter-spacing:.06em}
}

/* ---------- mobile polish below the hero (hero untouched) ---------- */
@media (max-width:760px){
  .sec,#pricing{padding:56px 0}
  .intro-film{padding-bottom:56px}
  .sec-h,section .head{margin-bottom:28px}
  #team{padding-top:0}

  /* why: icon beside text, tighter cards */
  #why .why-grid{gap:12px}
  #why .wcard{flex-direction:row;align-items:flex-start;gap:14px;padding:18px 18px 20px;border-radius:18px}
  #why .wcard .ico{width:40px;height:40px;flex:0 0 40px;border-radius:11px}
  #why .wcard h3{font-size:18.5px;line-height:1.25}
  #why .wcard p{font-size:14.5px;line-height:1.55}

  /* team card: smaller chips that sit two or three per row */
  #team .listen{padding:32px 18px}
  #team .chips{gap:8px;margin-bottom:18px}
  #team .chips li{font-size:13px;padding:6px 12px}

  /* services: one readable column, icon beside text */
  #services .svc-grid{grid-template-columns:1fr;gap:10px}
  #services .svc{display:grid;grid-template-columns:40px minmax(0,1fr);column-gap:14px;align-items:start;padding:16px 18px}
  #services .svc .ico{grid-row:1 / span 2;width:40px;height:40px;margin:0}
  #services .svc h3{font-size:18px;margin:1px 0 4px}
  #services .svc h3 br{display:none}
  #services .svc p{font-size:14px}

  /* reviews: full-width card, shorter video frame */
  #reviews .reviewcard{max-width:none}
  #reviews .reviewposter{aspect-ratio:4/5}
  #reviews .reviewcopy{padding:22px 20px 24px}
  #reviews .reviewcopy blockquote{font-size:19px}

  /* how payment works: tighter */
  #how-payment-works .es-pay-step{padding:18px 18px 20px}

  /* FAQ */
  .faq .q button{font-size:15.5px;padding:16px 2px;gap:14px}
  .faq .q .a{font-size:15px}

  /* contact */
  #contact .cta{padding:34px 14px 14px}
  #contact .cta h2{font-size:31px}
  #contact .cta>div{padding:0 6px}

  /* footer: slightly larger small print */
  footer .copy,footer .tdx-bill{font-size:13px!important}
}
@media (max-width:360px){
  .sec-h h2,section .head h2{font-size:29px}
  #contact .cta h2{font-size:28px}
}

/* ===== es-order-20261120d.css ===== */
/* EbookState v3d (2026-11-20): packages moved up to sit right after the hero + facts strip.
   Spacing/background fixes for the new order only. Rollback: remove this <link> (and restore v3c index.html). */
/* packages: own light band so they read as a block between the tan facts strip and "Why" */
#pricing{background:#FBF7EF;border-bottom:1px solid var(--line)}
/* FAQ used to follow pricing (inline padding-top:0); it now follows the tan reviews band */
#faq{padding-top:110px!important}
@media (min-width:1100px){ #faq{padding-top:84px!important} }
@media (max-width:760px){ #faq{padding-top:56px!important} }

/* ===== es-hero-footer-20261120e.css ===== */
/* EbookState v3e (2026-11-20): "Publish on" platform logo row in the hero + centred footer bottom block.
   Homepage only. Rollback: remove this <link> and the .hero-pub block from index.html. */

/* ---------- hero: Publish on (logos reused from /bookstore/images/platforms/) ---------- */
.hero-pub{position:relative;z-index:5;max-width:1040px;margin:26px auto 0;padding:0 16px;text-align:center}
.hero-pub__t{margin:0 0 10px;font:600 12px/1.2 Inter,system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:var(--burnt)}
.hero-pub__list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.hero-pub__list li{display:flex;align-items:center;justify-content:center;gap:6px;height:44px;padding:0 12px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 2px 8px rgba(16,24,40,.05);color:var(--navy);font:600 12.5px/1 Inter,system-ui,sans-serif;white-space:nowrap}
.hero-pub__list li img{display:block;height:22px;width:auto;max-width:120px;object-fit:contain}
.hero-pub__list li img.lulu{height:26px}
.hero-pub__list li.wide{flex-direction:column;gap:2px}
.hero-pub__list li.wide img{height:10px;max-width:120px}
.hero-pub__list li.wide span{font-size:8.5px;letter-spacing:.25em;text-transform:uppercase;color:var(--muted)}
.hero-pub__tm{margin:8px 0 0;font-size:11px;line-height:1.4;color:var(--muted)}
.hero-pub + .hero-note{margin-top:14px}
/* phones: one swipeable row of smaller logos, after the quote form (never pushes the form down) */
@media (max-width:760px){
  .hero-pub{margin-top:20px;padding:0}
  .hero-pub__t{margin-bottom:8px}
  .hero-pub__list{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:2px 16px 6px;scroll-padding:0 16px}
  .hero-pub__list::-webkit-scrollbar{display:none}
  .hero-pub__list li{flex:0 0 auto;height:40px;padding:0 10px;scroll-snap-align:start;font-size:11.5px}
  .hero-pub__list li img{height:19px;max-width:104px}
  .hero-pub__list li img.lulu{height:22px}
  .hero-pub__tm{padding:0 16px;font-size:10.5px}
}

/* ---------- footer bottom block: centred ---------- */
footer .es-pay-row{align-items:center;text-align:center}
footer .es-pay-row .es-pay-row__list{justify-content:center;margin:0 auto;max-width:100%}
footer .copy,footer .tdx-bill{text-align:center!important}
footer .copy{margin-left:auto;margin-right:auto}
footer .copy .madein{justify-content:center}

/* ===== fixall 2026-11-20: desktop nav must never wrap ("Book Store" broke onto two lines at 1024-1100px) ===== */
@media (min-width:961px){ .nav .links a{white-space:nowrap} }
@media (min-width:961px) and (max-width:1180px){
  .nav .links{gap:18px;font-size:14.5px}
  .nav .nav-r{gap:12px}
  .nav .nav-r .btn{padding:11px 16px}
}
@media (min-width:961px) and (max-width:1060px){ .nav .nav-r .tel{display:none} }
