/* Dr. Lisa M. Williams — author site
   Palette: ivory paper, warm ink, foil gold (from the Servanthood cover) */
:root{
  --paper:#FAF7F0;
  --paper-deep:#F2ECDF;
  --ink:#221D16;
  --ink-soft:#5A5245;
  --gold:#A87B1E;
  --gold-deep:#8C6512;
  --line:#E3DACA;
  --max:1120px;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:'Inter',system-ui,sans-serif;
  font-size:1.0625rem;line-height:1.65;
  color:var(--ink);background:var(--paper);
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,.brand,.price{font-family:'Fraunces',Georgia,serif;font-weight:500}
img{max-width:100%;height:auto;display:block}
a{color:var(--gold-deep)}
.wrap{max-width:var(--max);margin:0 auto;padding:0 clamp(1.25rem,4vw,2.5rem)}

/* reveal-on-scroll */
.reveal{opacity:0;transform:translateY(18px);transition:opacity .7s ease,transform .7s ease}
.reveal.in{opacity:1;transform:none}
.d1{transition-delay:.12s}.d2{transition-delay:.24s}.d3{transition-delay:.36s}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none}}

/* ---------- header ---------- */
.site-head{position:sticky;top:0;z-index:50;background:rgba(250,247,240,.92);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.head-row{display:flex;align-items:center;justify-content:space-between;min-height:4.25rem}
.brand{font-size:1.35rem;color:var(--ink);text-decoration:none;letter-spacing:.01em}
.nav{display:flex;gap:1.75rem;align-items:center}
.nav a{color:var(--ink);text-decoration:none;font-size:.95rem;font-weight:500}
.nav a:hover{color:var(--gold-deep)}
.nav-cta{border:1.5px solid var(--gold);border-radius:999px;padding:.45rem 1.1rem;color:var(--gold-deep)!important}
.nav-cta:hover{background:var(--gold);color:#fff!important}
.nav-toggle{display:none;background:none;border:0;width:2.5rem;height:2.5rem;cursor:pointer}
.nav-toggle span{display:block;width:1.5rem;height:2px;background:var(--ink);margin:5px auto;transition:.3s}

/* ---------- hero ---------- */
.hero{padding:clamp(3rem,8vw,6.5rem) 0 clamp(3rem,7vw,5.5rem);border-bottom:1px solid var(--line);background:linear-gradient(180deg,rgba(250,247,240,.88) 45%,rgba(242,236,223,.8)),url("../img/bg-hero-wood.webp") center/cover no-repeat}
.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:clamp(2rem,6vw,5rem);align-items:center}
.kicker{text-transform:uppercase;letter-spacing:.18em;font-size:.78rem;font-weight:600;color:var(--gold-deep);margin-bottom:1.1rem}
.hero h1{font-size:clamp(2.3rem,5vw,3.6rem);line-height:1.12;letter-spacing:-.01em}
.hero h1 em{font-style:italic;color:var(--gold-deep)}
.lede{font-size:clamp(1.1rem,1.8vw,1.25rem);color:var(--ink-soft);margin:1.4rem 0 2rem;max-width:34em}
.hero-ctas{display:flex;gap:1rem;flex-wrap:wrap}
.hero-book{position:relative;max-width:420px;justify-self:end}
.hero-book img{border-radius:6px;box-shadow:0 30px 60px -20px rgba(34,29,22,.35)}
.hero-book figcaption{margin-top:1rem;font-size:.85rem;color:var(--ink-soft);text-align:center;font-style:italic}

/* ---------- buttons ---------- */
.btn{display:inline-block;padding:.8rem 1.6rem;border-radius:999px;text-decoration:none;font-weight:600;font-size:.98rem;font-family:'Inter',sans-serif;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.btn:hover{transform:translateY(-2px)}
.btn-gold{background:var(--gold);color:#fff;box-shadow:0 8px 20px -8px rgba(168,123,30,.6)}
.btn-gold:hover{background:var(--gold-deep)}
.btn-ink{background:var(--ink);color:var(--paper)}
.btn-ghost{border:1.5px solid var(--line);color:var(--ink)}
.btn-ghost:hover{border-color:var(--gold)}
.btn-wide{display:block;text-align:center}

/* ---------- books ---------- */
.books{padding:clamp(3.5rem,8vw,6rem) 0;background:linear-gradient(rgba(250,247,240,.9),rgba(250,247,240,.9)),url("../img/bg-books-linen.webp") center/cover}
.section-title{font-size:clamp(1.9rem,3.6vw,2.6rem);letter-spacing:-.01em}
.section-note{color:var(--ink-soft);margin:.6rem 0 0;font-size:.98rem}
.book{display:grid;grid-template-columns:.72fr 1.28fr;gap:clamp(2rem,5vw,4.5rem);align-items:center;padding:clamp(2.75rem,6vw,4.5rem) 0;border-bottom:1px solid var(--line)}
.book.flip{grid-template-columns:1.28fr .72fr}
.book.flip .book-cover{order:2}
.book-cover img{border-radius:6px;box-shadow:0 24px 48px -18px rgba(34,29,22,.3);transition:transform .35s ease}
.book-cover:hover img{transform:translateY(-6px) rotate(-.5deg)}
.book-eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:.74rem;font-weight:600;color:var(--gold-deep);margin-bottom:.6rem}
.book h3{font-size:clamp(1.55rem,2.8vw,2.1rem);line-height:1.2;margin-bottom:1rem}
.book p{color:var(--ink-soft);margin-bottom:1rem;max-width:38em}
.book cite{font-style:italic}
.buy-row{display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap;margin-top:1.4rem}
.price{font-size:2rem;color:var(--ink)}
.price-note{display:block;font-family:'Inter',sans-serif;font-size:.75rem;color:var(--ink-soft);letter-spacing:.02em}
.edition-note{font-size:.92rem;margin-top:1.2rem;padding-top:1rem;border-top:1px dashed var(--line)}
#abcs{background:linear-gradient(rgba(250,247,240,.74),rgba(250,247,240,.74)),url("../img/bg-abc-watercolor.webp") center/cover no-repeat;border-radius:14px;border-bottom:0;padding-left:clamp(1.25rem,3vw,2.5rem);padding-right:clamp(1.25rem,3vw,2.5rem)}

/* ---------- bundle ---------- */
.bundle{margin:clamp(2.5rem,5vw,4rem) 0;padding:0}
.bundle-inner{display:grid;grid-template-columns:.55fr 1.45fr;gap:clamp(1.5rem,4vw,3rem);align-items:center;background:var(--ink);color:var(--paper);border-radius:14px;padding:clamp(1.75rem,4vw,3rem)}
.bundle-inner img{border-radius:8px}
.bundle h3{font-size:clamp(1.5rem,2.6vw,2rem);margin-bottom:.9rem;color:var(--paper)}
.bundle p{color:#CFC7B8;max-width:38em;margin-bottom:.5rem}
.bundle .book-eyebrow{color:#D9AE4E}
.bundle .price{color:#fff}
.bundle .price-note{color:#B5AC9B}
.bundle .btn-ink{background:var(--gold);color:#fff}
.bundle .btn-ink:hover{background:var(--gold-deep)}

/* ---------- about ---------- */
.about{background:linear-gradient(100deg,rgba(26,20,12,.92) 0%,rgba(26,20,12,.78) 55%,rgba(26,20,12,.6)),url("../img/bg-about-bible.webp") center/cover no-repeat;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:clamp(3.5rem,8vw,6rem) 0}
.about .section-title{color:var(--paper)}
.about-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(2rem,5vw,4rem);align-items:start}
.about-copy p{color:#E9E2D3;margin-bottom:1.1rem;font-size:1.1rem;max-width:36em}

/* ---------- order ---------- */
.order{padding:clamp(3.5rem,8vw,6rem) 0;background:linear-gradient(100deg,rgba(250,247,240,.92) 0%,rgba(250,247,240,.84) 55%,rgba(242,236,223,.7)),url("../img/bg-order-lectern.webp") center/cover no-repeat}
.order-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:clamp(2.5rem,6vw,5rem);align-items:start}
.order-steps{margin:1.75rem 0 0 1.25rem;display:grid;gap:1.1rem;color:var(--ink-soft);max-width:36em}
.order-steps li::marker{color:var(--gold-deep);font-weight:600}
.order-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:2rem;box-shadow:0 20px 40px -24px rgba(34,29,22,.25)}
.order-card-title{font-family:'Fraunces',serif;font-size:1.3rem;margin-bottom:1.2rem}
.order-card-note{margin-top:1rem;text-align:center;font-size:.9rem;color:var(--ink-soft)}

/* ---------- footer ---------- */
.site-foot{border-top:1px solid var(--line);padding:2rem 0;background:var(--paper-deep)}
.foot-row{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;font-size:.9rem;color:var(--ink-soft)}

/* ---------- responsive ---------- */
@media (max-width:860px){
  .hero-grid,.book,.book.flip,.about-grid,.order-grid,.bundle-inner{grid-template-columns:1fr}
  .book.flip .book-cover{order:0}
  .book-cover{max-width:320px}
  .hero-book{justify-self:start;max-width:320px}
  .nav{position:fixed;inset:4.25rem 0 auto 0;background:var(--paper);flex-direction:column;padding:1.5rem;border-bottom:1px solid var(--line);display:none}
  .nav.open{display:flex}
  .nav-toggle{display:block}
}
