/* ==========================================================================
   Cheryl Mattox Berry - design system
   Palette measured from HER OWN live site (inline customizer CSS, index.html):
     #020028  dark navy   - buttons, blocks, footer on the live site
     #0F0D33  navy 2      - secondary dark block
     #a0a7ba  periwinkle  - DROPPED on client instruction: "she has no light blues"
   So: dark navy + black + white only. Type is Lato 300/400/900, as before.
   ========================================================================== */

/* --- fonts (self-hosted, latin subset, no third-party request) ----------- */
@font-face{font-family:Lato;font-style:normal;font-weight:300;font-display:swap;src:url(../fonts/lato-300.woff2) format("woff2")}
@font-face{font-family:Lato;font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/lato-400.woff2) format("woff2")}
@font-face{font-family:Lato;font-style:normal;font-weight:900;font-display:swap;src:url(../fonts/lato-900.woff2) format("woff2")}

/* --- tokens -------------------------------------------------------------- */
:root{
  --navy:#020028;          /* her dark blue */
  --navy-2:#0F0D33;        /* her second dark, used for lift on navy */
  --accent:#020028;        /* one accent only - the navy */
  --accent-deep:#000000;   /* hover goes to black, never to a lighter blue */
  --ink:#121212;           /* black text */
  --ink-soft:#54545c;      /* neutral grey - no blue cast */
  --line:#e3e3e7;          /* neutral hairline */
  --paper:#ffffff;
  --mist:#f4f4f6;          /* neutral off-white, replaces the old blue-grey */
  --dark:#020028;

  --font:Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;

  /* modular scale, 1.25 */
  --t-xs:.8125rem; --t-sm:.9375rem; --t-base:1.0625rem; --t-md:1.25rem;
  --t-lg:1.5rem;  --t-xl:2rem;     --t-2xl:2.75rem;     --t-3xl:3.5rem;

  --sp-1:.5rem; --sp-2:1rem; --sp-3:1.5rem; --sp-4:2rem; --sp-5:3rem;
  --sp-6:4.5rem; --sp-7:7rem;

  --wrap:1140px;
  --measure:68ch;
  --radius:3px;
  --shadow:0 1px 2px rgba(2,0,40,.06), 0 8px 24px -12px rgba(2,0,40,.22);
  --shadow-lift:0 2px 4px rgba(2,0,40,.08), 0 22px 44px -18px rgba(2,0,40,.34);
  --ease:cubic-bezier(.22,.61,.36,1);
}

/* --- reset --------------------------------------------------------------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--font);font-size:var(--t-base);font-weight:400;
  line-height:1.72;color:var(--ink);background:var(--paper);
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img{max-width:100%;height:auto;display:block}
a{color:var(--accent);text-decoration-thickness:1px;text-underline-offset:.18em}
a:hover{color:var(--accent-deep)}
h1,h2,h3,h4{margin:0 0 var(--sp-2);line-height:1.15;font-weight:900;letter-spacing:-.018em}
h1{font-size:var(--t-2xl)}
h2{font-size:var(--t-xl)}
h3{font-size:var(--t-lg)}
p{margin:0 0 var(--sp-2)}
/* Lato italic has almost no right sidebearing: "<em>Title</em> is" renders as
   "Titleis". A hair of trailing space gives the word boundary back. */
em{padding-inline-end:.08em}
ul{margin:0;padding:0}
li{list-style:none}
:focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-radius:2px}

.wrap{width:100%;max-width:var(--wrap);margin-inline:auto;padding-inline:clamp(1.25rem,4vw,2.5rem)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:-9999px;top:0;background:var(--ink);color:#fff;padding:.75rem 1rem;z-index:100}
.skip:focus{left:0}

/* --- header -------------------------------------------------------------- */
/* Navy bar carrying her own script wordmark. The logo file is white on
   transparent - it only exists on a dark bar, which is why the header is navy. */
.site-header{position:sticky;top:0;z-index:50;background:var(--navy);
  border-bottom:1px solid rgba(255,255,255,.10)}
.header-inner{display:flex;align-items:center;gap:var(--sp-2);min-height:82px;flex-wrap:wrap}
.brand{display:block;margin-right:auto;line-height:0;padding:.35rem 0}
/* capped at 176: above that the wordmark pushes the 7-item nav onto a second row */
.wordmark{width:clamp(158px,14vw,176px);height:auto;display:block}

.site-nav ul{display:flex;gap:clamp(.65rem,1.1vw,1.05rem);align-items:center}
.site-nav a{position:relative;text-decoration:none;color:rgba(255,255,255,.78);
  font-size:var(--t-xs);font-weight:400;letter-spacing:.07em;text-transform:uppercase;
  padding:.4rem 0;white-space:nowrap}
.site-nav a::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;
  background:#fff;transform:scaleX(0);transform-origin:left;transition:transform .22s var(--ease)}
.site-nav a:hover{color:#fff}
.site-nav a:hover::after,.site-nav a[aria-current="page"]::after{transform:scaleX(1)}
.site-nav a[aria-current="page"]{color:#fff;font-weight:900}
.site-header :focus-visible{outline-color:#fff}

.nav-toggle{display:none;width:44px;height:44px;border:1px solid rgba(255,255,255,.35);background:transparent;
  border-radius:var(--radius);cursor:pointer;position:relative}
.nav-toggle-bar,.nav-toggle-bar::before,.nav-toggle-bar::after{position:absolute;left:12px;width:20px;height:2px;
  background:#fff;transition:transform .22s var(--ease),opacity .18s}
.nav-toggle-bar{top:21px}
.nav-toggle-bar::before{content:"";top:-6px;left:0}
.nav-toggle-bar::after{content:"";top:6px;left:0}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar{background:transparent}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before{transform:translateY(6px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after{transform:translateY(-6px) rotate(-45deg)}

@media (max-width:1080px){
  .nav-toggle{display:block}
  .site-nav{flex-basis:100%;max-height:0;overflow:hidden;transition:max-height .3s var(--ease)}
  .site-nav.open{max-height:34rem}
  .site-nav ul{flex-direction:column;align-items:stretch;gap:0;padding-bottom:var(--sp-2)}
  .site-nav li+li{border-top:1px solid rgba(255,255,255,.14)}
  .site-nav a{display:block;padding:.85rem .25rem;font-size:var(--t-base)}
  .site-nav a::after{display:none}
}

/* --- buttons ------------------------------------------------------------- */
.btn{display:inline-flex;align-items:center;gap:.6rem;padding:.9rem 1.6rem;border:2px solid var(--accent);
  border-radius:var(--radius);background:var(--accent);color:#fff;font:inherit;font-weight:900;
  font-size:var(--t-sm);letter-spacing:.06em;text-transform:uppercase;text-decoration:none;cursor:pointer;
  transition:background .2s var(--ease),border-color .2s var(--ease),transform .2s var(--ease)}
.btn:hover{background:var(--accent-deep);border-color:var(--accent-deep);color:#fff;transform:translateY(-1px)}
.btn--ghost{background:transparent;color:var(--accent)}
.btn--ghost:hover{background:var(--accent);color:#fff}
.btn--light{background:#fff;border-color:#fff;color:var(--ink)}
.btn--light:hover{background:transparent;color:#fff;border-color:#fff}
/* On navy (hero, dark section, buy box) the fill button has to invert or it
   disappears into the background. Measured: navy-on-navy was invisible. */
.hero .btn,.section--dark .btn{background:#fff;border-color:#fff;color:var(--navy)}
.hero .btn:hover,.section--dark .btn:hover{background:transparent;color:#fff;border-color:#fff}
.hero .btn--ghost,.section--dark .btn--ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.55)}
.hero .btn--ghost:hover,.section--dark .btn--ghost:hover{background:#fff;color:var(--navy);border-color:#fff}

/* --- sections ------------------------------------------------------------ */
.section{padding-block:clamp(3rem,7vw,var(--sp-6))}
.section--mist{background:var(--mist)}
.section--dark{background:var(--dark);color:#fff}
.section--dark h2,.section--dark h3{color:#fff}
.section-head{max-width:var(--measure);margin-bottom:var(--sp-4)}
.eyebrow{font-size:var(--t-xs);font-weight:900;letter-spacing:.2em;text-transform:uppercase;
  color:var(--accent);margin:0 0 .6rem}
.section--dark .eyebrow{color:#ffffff}
.lede{font-size:var(--t-md);font-weight:300;line-height:1.65;color:var(--ink-soft);max-width:var(--measure)}
.section--dark .lede{color:rgba(255,255,255,.76)}
.prose{max-width:var(--measure)}
.prose h2{margin-top:var(--sp-4)}
.prose h3{font-size:var(--t-md);letter-spacing:.1em;text-transform:uppercase;color:var(--accent);
  font-weight:900;margin-top:var(--sp-4)}

/* --- hero ---------------------------------------------------------------- */
/* Navy band continuing straight out of the header: the 3D cover is a
   transparent PNG, so it reads as a real book sitting on the dark. */
.hero{background:var(--navy);color:#fff;padding-block:clamp(2.75rem,7vw,var(--sp-6));overflow:hidden}
.hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(2rem,5vw,var(--sp-5));align-items:center}
.hero h1{color:#fff}
.hero .eyebrow{color:#fff;opacity:.75}
.hero .lede{color:rgba(255,255,255,.82)}
.hero .hero-meta{color:rgba(255,255,255,.62)}
.hero-copy h1{font-size:clamp(2.25rem,5.2vw,var(--t-3xl));margin-bottom:var(--sp-2)}
.hero-copy .lede{margin-bottom:var(--sp-3)}
.hero-actions{display:flex;flex-wrap:wrap;gap:var(--sp-2);align-items:center}
.hero-meta{font-size:var(--t-sm);margin:0}
.hero-grid > .cover{width:100%;height:auto;object-fit:contain}
@media (max-width:820px){
  .hero-grid{grid-template-columns:1fr}
  .hero-grid > .cover{max-width:460px;margin-inline:auto}
}

/* --- hero: film background ------------------------------------------------
   Her own footage (Memphis Blues book signing b-roll, 2018, from her YouTube
   channel) self-hosted - no youtube.com request, no cookie, no branding.
   The veil is navy at >=50% everywhere and ramps to 92% under the copy, so
   white type never sits on a bookshelf. Video is attached by site.js only on
   a wide viewport and only when the visitor has not asked for reduced motion;
   everywhere else the poster frame is what shows. */
.hero--film{position:relative;isolation:isolate}
.hero-film{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  z-index:-2;pointer-events:none;background:var(--navy)}
.hero-veil{position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:
    linear-gradient(180deg,rgba(2,0,40,.72) 0%,rgba(2,0,40,0) 22%),
    linear-gradient(90deg,rgba(2,0,40,.46) 0%,rgba(2,0,40,.58) 34%,rgba(2,0,40,.86) 68%,rgba(2,0,40,.93) 100%)}
@media (max-width:820px){
  /* one column: the copy is under the book, so the ramp has to run downward */
  .hero-veil{background:
    linear-gradient(180deg,rgba(2,0,40,.62) 0%,rgba(2,0,40,.55) 30%,rgba(2,0,40,.88) 66%,rgba(2,0,40,.94) 100%)}
}

/* the cover is a transparent PNG standing on the film - lift + swell on hover.
   2026-09-27 client request: 40% smaller. 420 -> 252 desktop, 330 -> 198 mobile.
   The grid column stays 1fr so the veil ramp under the copy is untouched; the
   book simply centres in its half and lets more of the film through. */
.hero-cover{display:block;width:min(100%,252px);margin-inline:auto;
  transition:transform .5s var(--ease);will-change:transform;
  filter:drop-shadow(0 26px 44px rgba(0,0,0,.55))}
.hero-cover img{width:100%;height:auto;display:block}
.hero-cover:hover,.hero-cover:focus-visible{transform:scale(1.045) translateY(-6px)}
@media (max-width:820px){.hero-cover{width:min(100%,198px)}}

/* --- book covers --------------------------------------------------------- */
/* The four standing-paperback mockups are rendered from one identical camera,
   so a single 3:4 stage lines every spine up across the grid with no per-book
   tuning. 3:4 (not 4:3) since the 2026-09-27 swap: the books stand upright. */
.cover{position:relative;transition:transform .25s var(--ease);background:transparent}
a:hover > .cover,.book-card:hover .cover{transform:translateY(-5px)}

.books{display:grid;grid-template-columns:repeat(2,1fr);gap:clamp(1.25rem,3vw,var(--sp-4))}
/* explicit column counts: auto-fit gave 3 + 1 orphan at 1366 */
@media (min-width:900px){.books{grid-template-columns:repeat(4,1fr)}}
.books--3{grid-template-columns:repeat(2,1fr)}
@media (min-width:900px){.books--3{grid-template-columns:repeat(3,1fr)}}
.book-card{text-decoration:none;color:inherit;display:flex;flex-direction:column;gap:var(--sp-1)}
.book-card > .cover{display:block;width:100%;aspect-ratio:3/4;object-fit:contain}
.book-card h3{font-size:var(--t-md);margin:0}
.book-card p{font-size:var(--t-sm);color:var(--ink-soft);margin:.35rem 0 0;line-height:1.6}
.book-card .more{font-size:var(--t-xs);font-weight:900;letter-spacing:.12em;text-transform:uppercase;
  color:var(--navy);margin-top:auto;padding-top:.6rem}
/* on a dark section the card text has to flip */
.section--dark .book-card,.hero .book-card{color:#fff}
.section--dark .book-card p,.hero .book-card p{color:rgba(255,255,255,.72)}
.section--dark .book-card .more,.hero .book-card .more{color:#fff}

/* --- book page ----------------------------------------------------------- */
.book-hero{display:grid;grid-template-columns:minmax(0,440px) minmax(0,1fr);
  gap:clamp(1.5rem,4vw,var(--sp-5));align-items:start}
.book-hero > .cover{display:block;width:100%;height:auto}
@media (max-width:900px){.book-hero{grid-template-columns:1fr}.book-hero > .cover{max-width:440px}}
/* 2026-09-28: book pages show the ORIGINAL flat cover (same art as Amazon);
   the standing mockups stay on the home grid. A flat 2:3 cover at the old
   440px column would stand 680px tall, so it is capped at 360px. */
.book-hero > .cover--flat{max-width:360px;justify-self:center;border-radius:2px 4px 4px 2px;
  box-shadow:0 1px 2px rgba(0,0,0,.14),0 22px 44px -16px rgba(2,0,40,.5)}
@media (max-width:900px){.book-hero > .cover--flat{max-width:300px}}
.book-hero .synopsis > .lede{margin-bottom:var(--sp-2)}
/* closing line under a synopsis - "sequel to ...", credits, source notes */
.fine-note{font-size:var(--t-sm);color:var(--ink-soft);border-top:1px solid var(--line);
  padding-top:var(--sp-2);margin-top:var(--sp-3)}

/* --- signed-copy / purchase block --------------------------------------- */
/* Client instruction: text boxes are dark navy with white text. */
.buy{background:var(--navy);color:#fff;border-radius:var(--radius);
  padding:clamp(1.5rem,4vw,var(--sp-4));display:grid;gap:var(--sp-2)}
.buy h3{margin:0;font-size:var(--t-lg);color:#fff}
.buy .eyebrow{color:#fff;opacity:.72}
.buy .price{font-size:var(--t-xl);font-weight:900;color:#fff;margin:0}
.buy .fine{font-size:var(--t-sm);color:rgba(255,255,255,.72);margin:0;font-weight:400}
.buy .price .fine{font-size:var(--t-sm)}
.buy a{color:#fff}
.buy a:hover{color:#fff}
.buy-actions{display:flex;flex-wrap:wrap;gap:var(--sp-2);align-items:center;margin-top:.25rem}
.buy form{margin:0}
/* inside a navy box the primary button has to be the light one */
.buy .btn{background:#fff;border-color:#fff;color:var(--navy)}
.buy .btn:hover{background:transparent;color:#fff;border-color:#fff}
.buy .btn--ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.55)}
.buy .btn--ghost:hover{background:#fff;color:var(--navy);border-color:#fff}
.buy .placeholder{border-color:rgba(255,255,255,.45);background:rgba(255,255,255,.08);color:#fff}

/* --- PayPal button -------------------------------------------------------
   PayPal's own hosted-button artwork (btn_buynowCC_LG.gif, 171x47), the exact
   image her live WordPress site posts with today - copied into assets so the
   page makes no request to paypalobjects.com. Where the hosted_button_id is
   still PAYPAL-BUTTON-PENDING the button is a stand-in; build.mjs refuses to
   produce a PRODUCTION build while any of those are left. */
.paypal-btn{display:inline-block;padding:0;border:0;background:transparent;line-height:0;
  cursor:pointer;border-radius:4px;
  transition:transform .2s var(--ease),filter .2s var(--ease)}
.paypal-btn:hover{transform:translateY(-1px);filter:brightness(1.07)}
.paypal-btn img{display:block;width:171px;height:47px}
.buy-actions form{margin:0;display:flex;align-items:center}

/* --- offer: trailer + signed copy as one block --------------------------
   Two half columns, vertically centred on each other. The film is the reason
   somebody wants the book, so the price never lives a scroll away from it.
   Below 860 they stack film-first - watching comes before buying.

   2026-09-27 client request: the navy is pulled LEFT across the film, so the
   whole block is one full-bleed navy band and the trailer sits on blue too.
   The heading is lifted out of it into its own white section above. */
.offer-head{padding-block:clamp(2.5rem,6vw,var(--sp-5)) clamp(1.5rem,3.5vw,var(--sp-4))}
.offer-head .section-head{margin-bottom:0}
.offer-band{background:var(--navy);color:#fff;padding-block:clamp(2rem,5vw,var(--sp-5))}
.offer-band h2,.offer-band h3{color:#fff}
.offer-band .eyebrow{color:#fff;opacity:.72}
.offer-band .fine{color:rgba(255,255,255,.72)}
/* the band IS the navy now - a second navy box inside it would only add a seam */
.offer-band .buy{background:transparent;padding:0;border-radius:0}
.offer{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(1.5rem,4vw,var(--sp-5));align-items:center}
/* the 520px cap on .video-file stays in force here too - the source is 428px
   wide and mush past about 1.2x of that, column width or not. */
.offer-media{display:grid;gap:.6rem;align-content:center}
.offer-media .video-file{margin-inline:auto}
/* on navy the default shadow vanishes; a darker one keeps the film off the flat */
.offer-band .video-file{box-shadow:0 24px 48px -20px rgba(0,0,0,.75)}
@media (max-width:860px){
  .offer{grid-template-columns:1fr;gap:var(--sp-3)}
}

/* --- video (facade - no iframe until clicked) ---------------------------- */
.video{position:relative;aspect-ratio:16/9;background:var(--dark) center/cover no-repeat;
  border-radius:var(--radius);overflow:hidden;cursor:pointer;border:0;padding:0;width:100%;display:block}
.video::after{content:"";position:absolute;inset:0;background:rgba(2,0,40,.28);transition:background .2s}
.video:hover::after{background:rgba(2,0,40,.12)}
.video-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:2;
  width:74px;height:74px;border-radius:50%;background:var(--accent);display:grid;place-items:center;
  box-shadow:0 8px 30px rgba(0,0,0,.35);transition:transform .22s var(--ease)}
.video:hover .video-play{transform:translate(-50%,-50%) scale(1.07)}
.video-play::before{content:"";border-left:19px solid #fff;border-top:12px solid transparent;
  border-bottom:12px solid transparent;margin-left:5px}
.video iframe{position:absolute;inset:0;width:100%;height:100%;border:0;z-index:3}
.video-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:var(--sp-3)}
.video-cap{font-size:var(--t-sm);color:var(--ink-soft);margin:.6rem 0 0}

/* Self-hosted trailer. The source file is 428x242 - it is never stretched past
   about 1.2x of that, otherwise it turns to mush on a retina screen. */
.video-file{max-width:520px;width:100%;border-radius:var(--radius);display:block;
  background:#000;box-shadow:var(--shadow)}
.video-wrap{display:grid;gap:.6rem}

/* --- photo grids --------------------------------------------------------- */
.photo-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--sp-2)}
@media (min-width:640px){.photo-grid{grid-template-columns:repeat(3,1fr)}}
/* 4 across on desktop: 7 photos read as 4 + 3, not 6 + 1 orphan. */
@media (min-width:980px){.photo-grid{grid-template-columns:repeat(4,1fr);gap:var(--sp-3)}}
.photo-grid figure{margin:0}
/* Source photos are 470x630, 1000x1500 and square. One stage for all of them so
   the row does not end ragged; biased upward so faces survive the crop. */
.photo-grid img{border-radius:2px;box-shadow:var(--shadow);width:100%;
  aspect-ratio:3/4;object-fit:cover;object-position:50% 25%}
.photo-grid figcaption{font-size:var(--t-xs);color:var(--ink-soft);margin-top:.5rem;letter-spacing:.04em}

.split{display:grid;grid-template-columns:minmax(0,320px) minmax(0,1fr);gap:clamp(2rem,5vw,var(--sp-5));align-items:start}
@media (max-width:820px){.split{grid-template-columns:1fr}}

/* --- pull quote ---------------------------------------------------------- */
.pullquote{border-left:4px solid var(--accent);padding:.25rem 0 .25rem var(--sp-3);margin:var(--sp-4) 0;
  font-size:var(--t-md);font-weight:300;font-style:italic;color:var(--ink);max-width:var(--measure)}
.pq-cite{display:block;font-size:var(--t-xs);font-style:normal;font-weight:900;
  letter-spacing:.14em;text-transform:uppercase;color:var(--ink-soft);margin-top:.5rem}

/* --- reader reviews -------------------------------------------------------
   2026-09-28 client: "there seems to be a lot of white space on the pages. I
   pulled some quotes from Amazon customer reviews to eat up some of that white
   space." Two quotes per book page, set as a pair so a short synopsis page
   (Memphis Blues carries 49 words) gains a block of real content rather than
   another band of air. Rule on the left, not quotation marks: the navy hairline
   is the same device as .pullquote, so the page keeps one vocabulary. */
.reviews{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,22rem),1fr));
  gap:clamp(1.5rem,4vw,var(--sp-5))}
.review{border-left:3px solid var(--accent);padding-left:var(--sp-3);margin:0}
.review p{font-size:var(--t-md);font-weight:300;font-style:italic;line-height:1.6;
  color:var(--ink);margin:0 0 var(--sp-2)}
.review cite{display:block;font-size:var(--t-xs);font-style:normal;font-weight:900;
  letter-spacing:.14em;text-transform:uppercase;color:var(--ink-soft)}

/* Memphis Blues carries a 49-word synopsis against a 440px cover, so its two
   quotes live INSIDE the synopsis column - that is the exact gap the client
   pointed at - instead of in a band of their own below the fold. */
.reviews--inline{display:block;margin-top:var(--sp-4);
  border-top:1px solid var(--line);padding-top:var(--sp-3);max-width:var(--measure)}
.reviews--inline .eyebrow{margin-bottom:var(--sp-2)}
.reviews--inline .review + .review{margin-top:var(--sp-3)}
.reviews--inline .review p{font-size:var(--t-base)}

/* --- Amazon review slider (home) ---------------------------------------
   Plain scroll-snap track: swipe on a phone, arrows on desktop, and it works
   with JS off. Stars are filled to the BOOK's Amazon average (4.7, measured
   2026-09-28) - Amazon does not show per-review stars to logged-out
   visitors, so nothing here claims a rating we could not see. */
.rv-stars{--r:5;display:inline-block;font-size:1.05rem;letter-spacing:.12em;line-height:1;
  background:linear-gradient(90deg,#FFA41C calc(var(--r) / 5 * 100%),#d9d9de 0);
  -webkit-background-clip:text;background-clip:text;color:transparent}
.rv-stars::before{content:'\2605\2605\2605\2605\2605'}
.rv-head{display:flex;align-items:flex-end;justify-content:space-between;gap:var(--sp-3)}
.rv-head .section-head{margin-bottom:var(--sp-3)}
.rv-nav{display:flex;gap:.5rem;margin-bottom:var(--sp-3)}
.rv-btn{width:44px;height:44px;border:2px solid var(--navy);border-radius:50%;background:#fff;
  color:var(--navy);font:inherit;font-size:1.1rem;font-weight:900;cursor:pointer;
  transition:background .2s var(--ease),color .2s var(--ease)}
.rv-btn:hover{background:var(--navy);color:#fff}
.rv-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 2 * var(--sp-3)) / 3);
  gap:var(--sp-3);overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;
  padding:6px 2px var(--sp-2);scrollbar-width:none}
.rv-track::-webkit-scrollbar{display:none}
@media (max-width:980px){.rv-track{grid-auto-columns:calc((100% - var(--sp-3)) / 2)}}
@media (max-width:640px){.rv-track{grid-auto-columns:86%}.rv-nav{display:none}}
.rv-card{scroll-snap-align:start;display:flex;flex-direction:column;gap:.6rem;
  padding:var(--sp-3);background:#fff;border:1px solid var(--line);border-top:3px solid var(--navy);
  border-radius:var(--radius);text-decoration:none;color:var(--ink);
  transition:transform .25s var(--ease),box-shadow .25s var(--ease)}
.rv-card:hover{color:var(--ink);transform:translateY(-4px);box-shadow:0 16px 32px -18px rgba(2,0,40,.45)}
.rv-quote{font-size:var(--t-base);font-weight:300;font-style:italic;line-height:1.6;margin:0}
.rv-who{font-size:var(--t-xs);font-weight:900;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-soft);margin-top:auto}
.rv-book{font-size:var(--t-sm);color:var(--ink-soft);margin-top:-.4rem}
.rv-src{display:flex;align-items:center;gap:.6rem;padding-top:.8rem;border-top:1px solid var(--line);
  font-size:var(--t-xs);font-weight:900;letter-spacing:.1em;text-transform:uppercase;color:var(--navy)}
.rv-src img{height:18px;width:auto;margin-top:5px}
@media (prefers-reduced-motion:reduce){.rv-track{scroll-behavior:auto}}
/* book pages: one line under the quotes */
.amz-more{display:inline-flex;align-items:center;gap:.5rem;flex-wrap:wrap;margin-top:var(--sp-3);
  font-size:var(--t-sm);color:var(--ink-soft);text-decoration:none}
.amz-more img{height:15px;width:auto;margin-top:4px}
.amz-more:hover{color:var(--navy);text-decoration:underline}

/* --- appearances --------------------------------------------------------- */
.year{font-size:var(--t-xs);font-weight:900;letter-spacing:.2em;color:var(--accent);
  text-transform:uppercase;margin:var(--sp-4) 0 var(--sp-2)}
.events{display:grid;gap:1px;background:var(--line);border-block:1px solid var(--line)}
.event{background:#fff;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);
  gap:var(--sp-2);padding:var(--sp-3) 0}
.event h3{font-size:var(--t-base);margin:0 0 .25rem}
.event .when{font-size:var(--t-sm);color:var(--accent);font-weight:900;margin:0}
.event .where{font-size:var(--t-sm);color:var(--ink-soft);margin:0}
@media (max-width:640px){.event{grid-template-columns:1fr;gap:.35rem}}

/* --- forms --------------------------------------------------------------- */
.form{display:grid;gap:var(--sp-2);max-width:34rem}
.field{display:grid;gap:.4rem}
.field label{font-size:var(--t-sm);font-weight:900;letter-spacing:.04em}
.field input,.field textarea{font:inherit;font-size:var(--t-base);padding:.8rem .9rem;
  border:1px solid var(--line);border-radius:var(--radius);background:#fff;color:var(--ink);width:100%}
.field input:focus,.field textarea:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 3px rgba(2,0,40,.16)}
.field textarea{min-height:9rem;resize:vertical}
.form-note{font-size:var(--t-sm);color:var(--ink-soft)}
.hp{position:absolute;left:-9999px}

/* --- form result notice (rendered by site.js after contact.php redirects) -- */
.notice{border-left:4px solid var(--accent);background:rgba(2,0,40,.07);border-radius:var(--radius);
  padding:var(--sp-2) var(--sp-3);margin:0 0 var(--sp-3);max-width:34rem;font-size:var(--t-sm)}
.notice--bad{border-left-color:#b3261e;background:rgba(179,38,30,.07);color:#8c1d18}

/* --- newsletter ---------------------------------------------------------- */
.newsletter{display:flex;flex-wrap:wrap;gap:var(--sp-2);max-width:34rem}
.newsletter input{flex:1 1 15rem;font:inherit;padding:.9rem 1rem;border:1px solid var(--line);
  border-radius:var(--radius);background:#fff;color:var(--ink)}
.newsletter input::placeholder{color:var(--ink-soft)}
.newsletter input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px rgba(2,0,40,.16)}
/* dark variant - kept for any section that is navy */
.section--dark .newsletter input{border-color:rgba(255,255,255,.28);background:rgba(255,255,255,.07);color:#fff}
.section--dark .newsletter input::placeholder{color:rgba(255,255,255,.55)}
.section--dark .newsletter input:focus{border-color:#ffffff;background:rgba(255,255,255,.12);box-shadow:none}

/* --- contact links (shown wherever PHP is not available) ----------------- */
.contact-links{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--sp-2);
  list-style:none;padding:0;margin:0 0 var(--sp-3)}
/* four channels: 2x2 or 4 across - never 3 + 1 orphan */
@media (min-width:900px){.contact-links{grid-template-columns:repeat(4,1fr);gap:var(--sp-3)}}
@media (max-width:460px){.contact-links{grid-template-columns:1fr}}
.contact-links a{display:grid;gap:.2rem;text-decoration:none;background:var(--navy);color:#fff;
  border-radius:var(--radius);padding:var(--sp-2) var(--sp-3);
  transition:background .2s var(--ease),transform .2s var(--ease)}
.contact-links a:hover{background:var(--navy-2);color:#fff;transform:translateY(-2px)}
.contact-links .contact-label{font-size:var(--t-xs);font-weight:900;letter-spacing:.14em;
  text-transform:uppercase;color:rgba(255,255,255,.65)}
.contact-links .contact-handle{font-size:var(--t-base);color:#fff}

/* --- footer -------------------------------------------------------------- */
.site-footer{background:var(--dark);color:rgba(255,255,255,.7);padding-block:var(--sp-5)}
.footer-inner{display:grid;gap:var(--sp-3)}
.footer-wordmark{width:200px;height:auto;margin-bottom:.4rem}
.footer-note{margin:.2rem 0 0;font-size:var(--t-sm)}
.footer-nav ul{display:flex;flex-wrap:wrap;gap:var(--sp-3)}
.footer-nav a{color:rgba(255,255,255,.7);text-decoration:none;font-size:var(--t-sm)}
.footer-nav a:hover{color:#fff;text-decoration:underline}
.footer-social{display:flex;flex-wrap:wrap;gap:var(--sp-3);list-style:none;padding:0;margin:0}
.footer-social a{color:rgba(255,255,255,.7);text-decoration:none;font-size:var(--t-sm)}
.footer-social a:hover{color:#fff;text-decoration:underline}
.copyright{font-size:var(--t-xs);color:rgba(255,255,255,.45);margin:0;padding-top:var(--sp-2);
  border-top:1px solid rgba(255,255,255,.12)}
@media (min-width:760px){
  .footer-inner{grid-template-columns:1fr auto;align-items:center}
  .footer-social{grid-column:1/-1}
  .copyright{grid-column:1/-1}
}

/* --- motion -------------------------------------------------------------- */
.js .reveal{opacity:0;transform:translateY(14px)}          /* .js is set by an inline head script -- */
.js .reveal.in{opacity:1;transform:none;                     /* without JS nothing is ever hidden */
  transition:opacity .55s var(--ease),transform .55s var(--ease)}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none !important;transition:none !important}
  .js .reveal{opacity:1;transform:none}
}

/* --- placeholder note (preview only, never ships to production) ---------- */
.placeholder{border:1px dashed var(--accent);background:rgba(2,0,40,.05);border-radius:var(--radius);
  padding:var(--sp-2) var(--sp-3);font-size:var(--t-sm);color:var(--accent-deep)}
.hero .placeholder,.section--dark .placeholder{border-color:rgba(255,255,255,.45);
  background:rgba(255,255,255,.09);color:#fff}


/* --- author band (home) ---------------------------------------------------
   Full-bleed: her portrait is a 2852x4278 studio original, so it can run the
   whole height of the section. The studio backdrop is near-white, so a --mist
   ramp on the inner edge dissolves the photo into the page instead of leaving
   a hard rectangle.

   2026-09-27 (1): the stage was 46% x 46vw and the crop took ~44px off the top
   of her hair, so it was shrunk and anchored at 50% 0%.

   2026-09-27 (2): that still cut her chin, and no object-position can fix it.
   The arithmetic: object-fit:cover on a 2:3 photo in a stage W x H shows the
   top H/(1.5W) of it. At 36% x 28rem on a 1920 screen that is 448/1036 = 43%,
   and her chin sits at ~55%. Showing the whole face by cropping would need the
   stage nearly square (H >= 0.93W) - taller than the copy beside it.
   So the crop is gone: the portrait is CONTAINED, standing on the bottom edge
   of the band. Nothing is cut at all.

   2026-09-28: client asked for the HOME photo from her old front page
   (Berry-1-1-1.jpg, the straight-on frame) and for her to read "a bit bigger
   than whole, smaller than the cropped version". Both are done in the source
   file, not in CSS: the 3067x4601 original is cropped to 3067x3740+0+95 (dead
   headroom off the top, cut at mid-chest) = 0.82 ratio, and the display cap
   goes 22rem -> 30rem. Her head now renders ~360px tall against 264px when the
   whole 2:3 frame was shown and ~518px when it was cover-cropped and cutting
   her chin. Still nothing cropped by the browser. */
.section--flush{padding-block:0}
.author-band{display:grid;grid-template-columns:minmax(0,38%) minmax(0,62%);align-items:stretch}
/* The cell carries the photo's OWN studio backdrop (measured rgb(250,252,254)
   at its corners), not --mist, so the edges of the rectangle disappear instead
   of drawing a box around her. The inner edge then ramps into --mist. */
.author-portrait{position:relative;background:#f9fdff;
  display:flex;align-items:flex-end;justify-content:center;
  padding-top:clamp(2rem,5vw,var(--sp-5))}
.author-portrait img{position:static;width:min(100%,30rem);height:auto}
.author-portrait::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(90deg,rgba(244,244,246,0) 80%,var(--mist) 100%)}
.author-copy{display:flex;flex-direction:column;justify-content:center;
  padding-block:clamp(2.5rem,6vw,var(--sp-6));
  padding-left:clamp(1.5rem,4vw,3rem);
  padding-right:max(clamp(1.25rem,4vw,2.5rem),calc((100vw - var(--wrap)) / 2 + clamp(1.25rem,4vw,2.5rem)));}
.author-copy > :last-child{margin-bottom:0}
@media (max-width:820px){
  .author-band{grid-template-columns:1fr}
  .author-portrait{padding-top:var(--sp-4)}
  .author-portrait img{width:min(78%,20rem)}
  .author-portrait::after{background:linear-gradient(180deg,rgba(244,244,246,0) 78%,var(--mist) 100%)}
  .author-copy{padding-inline:clamp(1.25rem,4vw,2.5rem);padding-block:var(--sp-4) var(--sp-5)}
}

/* --- cover gallery (book page): front + back thumbs, click to enlarge ---- */
/* 2026-09-29: fills the white space under the flat cover on Memphis is Calling. */
.book-hero > .cover-stack{max-width:360px;width:100%;justify-self:center;display:grid;gap:var(--sp-2)}
@media (max-width:900px){.book-hero > .cover-stack{max-width:300px}}
.cover-open,.cover-thumb{appearance:none;border:0;padding:0;background:none;cursor:zoom-in;font:inherit;color:inherit}
.cover-open .cover--flat{display:block;width:100%;height:auto;border-radius:2px 4px 4px 2px;
  box-shadow:0 1px 2px rgba(0,0,0,.14),0 22px 44px -16px rgba(2,0,40,.5)}
.cover-open:hover .cover--flat{transform:translateY(-4px)}
.cover-thumbs{display:flex;justify-content:center;gap:var(--sp-2)}
.cover-thumb{display:grid;gap:.35rem;justify-items:center;width:104px}
.cover-thumb img{display:block;width:100%;height:auto;border-radius:2px;
  box-shadow:0 1px 2px rgba(0,0,0,.18),0 8px 16px -8px rgba(2,0,40,.45);transition:transform .2s var(--ease)}
.cover-thumb:hover img,.cover-thumb:focus-visible img{transform:translateY(-3px)}
.cover-thumb span{font-size:var(--t-xs);font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:var(--navy)}
.zoom{border:0;padding:0;background:transparent;max-width:none;max-height:none;width:100vw;height:100vh;
  display:none;place-items:center}
.zoom[open]{display:grid}
.zoom::backdrop{background:rgba(2,0,40,.92)}
.zoom-img{max-width:min(92vw,640px);max-height:88vh;width:auto;height:auto;box-shadow:0 30px 60px -20px rgba(0,0,0,.7)}
.zoom-nav,.zoom-close{position:fixed;border:0;background:rgba(255,255,255,.12);color:#fff;cursor:pointer;
  width:3rem;height:3rem;border-radius:50%;font-size:2rem;line-height:1;display:grid;place-items:center}
.zoom-nav:hover,.zoom-close:hover{background:rgba(255,255,255,.25)}
.zoom-prev{left:clamp(.5rem,3vw,2rem);top:50%;transform:translateY(-50%)}
.zoom-next{right:clamp(.5rem,3vw,2rem);top:50%;transform:translateY(-50%)}
.zoom-close{right:clamp(.5rem,3vw,2rem);top:clamp(.5rem,3vw,2rem);font-size:1.8rem}

/* --- about-me: portrait + narrower copy, balanced heights (2026-09-29) ---- */
.split--author{grid-template-columns:minmax(0,380px) minmax(0,28rem);justify-content:center;align-items:center}
.split--author > picture img{width:100%;height:auto}
.signature{display:block;width:290px;height:auto;margin-top:var(--sp-3)}
@media (max-width:820px){.split--author{grid-template-columns:1fr}.split--author > picture{max-width:400px}}

/* --- about-me: each chapter = text + its photos, sides alternate ----------- */
.story{max-width:62rem;margin-inline:auto;display:grid;gap:clamp(2.5rem,6vw,var(--sp-6))}
.chapter{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:clamp(1.5rem,4vw,var(--sp-5));align-items:center}
.chapter--l .chapter-photos{order:-1}
.chapter--l{grid-template-columns:auto minmax(0,1fr)}
.chapter-text{max-width:var(--measure)}
.chapter-text h3{font-size:var(--t-md);letter-spacing:.1em;text-transform:uppercase;color:var(--accent)}
.chapter-text p:last-child{margin-bottom:0}
.chapter-photos{display:grid;gap:var(--sp-2);grid-template-columns:repeat(2,170px)}
.chapter-photos--1{grid-template-columns:260px}
.chapter-photos--3 figure:last-child{grid-column:1/-1;justify-self:center;width:170px}
.chapter-photos figure{margin:0}
.chapter-photos img{width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;object-position:50% 25%;
  border-radius:2px;box-shadow:var(--shadow)}
.chapter-photos figcaption{font-size:var(--t-xs);color:var(--ink-soft);margin-top:.5rem;letter-spacing:.04em}
@media (max-width:760px){
  .chapter,.chapter--l{grid-template-columns:1fr}
  .chapter--l .chapter-photos{order:0}
  .chapter-photos,.chapter-photos--1{grid-template-columns:repeat(2,1fr)}
  .chapter-photos--1 figure{grid-column:1/-1;justify-self:center;width:70%}
  .chapter-photos--3 figure:last-child{width:calc(50% - var(--sp-1))}
}
