/* ===========================================================
   0) Reset / Base
   =========================================================== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
body {
  font-family: system-ui, Arial, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
}

/* ===========================================================
   1) Design Tokens
   =========================================================== */
:root{
  /* Brand blues */
  --brand-dark:#2F5D7C;     /* primary LM Books blue */
  --brand-mid:#5B8FB9;      /* lighter supporting blue */
  --brand-light:#EFF5F9;    /* soft sky background */
  --brand-accent:#C9B27C;   /* warm gold-sand accent */

  /* Text */
  --text:#1F2933;           /* deep ink (not pure black) */
  --muted:#5F6B75;          /* soft muted text */

  /* Lines & borders */
  --border:#D6E0E8;

  /* Surfaces */
  --surface:#FFFFFF;
  --surface-alt:#d6f7f9;    /* pale blue panel/card background */
}

/* ===========================================================
   2) Layout Utilities
   =========================================================== */
.container { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.section { padding: 36px 0; background: var(--surface); }
.section.alt { background: #f9f4ea;; }
.section.tight { padding: 36px 0; }

.split { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 900px){ .split { grid-template-columns: 1fr; } }

.stack > * + * { margin-top: 12px; }
.center { text-align: center; }
.max-60 { max-width: 60ch; }

.journal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto; /* centers the two-column block under the hero heading */
}

.journal-panel {
  max-width: 36rem;
  margin: 0 auto;
}
.journal-bottom {
  text-align: center;
  max-width: 60rem;
  margin: 0 auto;
}
.journal-bottom p {
  text-align: center;
  max-width: 30rem;
  margin: 0 auto;
}


/* ===========================================================
   3) Typography
   =========================================================== */
h1, h2, h3 { color: var(--brand-dark); margin: 0 0 12px; }
h1 { font-size: 2.25rem; line-height: 1.15; }
h2 { font-size: 1.6rem; }
p { margin: 0 0 12px; max-width: 75ch; }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 70ch; }
.pullquote {
  margin: 16px 0; padding: 16px 20px; border-left: 4px solid var(--brand-mid);
  background: #fff; border-radius: 8px; font-style: italic;
}

/* ===========================================================
   4) Header & Navigation (new compact card)
   =========================================================== */

.site-header{
  border-bottom: 1px solid var(--border);
  padding: 12px 0 16px;
  background: transparent; /* keep global background as-is */
}

/* center the card within the main container */
.site-header .bar{
  display:flex;
  justify-content:center;
}

/* lavender card that holds logo + tagline + nav */
.header-card{
   background: var(--surface-alt);
  border-radius: 16px;
  padding: 4px 6px;
  width:100%;
  max-width: 1100px;               /* similar to main content width */
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
  display:flex;
  flex-direction:column;
  gap: 4px;
}

/* top row: logo left, brand message right */
.header-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 1.5rem;
}

/* logo link */
.header-top .logo{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  text-decoration:none;
}

/* logo size */
.site-logo{
  height: 100px;
  width:auto;
}

/* brand message to the right of logo */
.brand-tagline{
  flex: 1;
  text-align: center;
  color: var(--brand-mid);
  font-style: italic;
  font-weight: 700;
  font-size: .90rem;
  line-height: 1.25;
  padding: 6px 12px 0 12px;  /* was 10px 200px 0 0 */
  max-width: 420px;
  margin: 0 auto;
}

/* nav row inside card */
.header-nav{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap: 0.75rem;
}

/* pill nav styling (same behaviour as before) */
.nav,
.pill-nav{
  display:flex;
  gap: 0.75rem;
  flex-wrap:wrap;
}

.pill-nav a,
.nav a{
  text-decoration:none;
  color: var(--brand-dark);
  padding: .4rem .8rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background:#fff;
  font-size:0.95rem;
}

.pill-nav a:hover,
.nav a:hover{
  background: var(--brand-mid);
  color:#fff;
}

/* active styles */
.nav a.active,
.pill-nav a.active,
.pill-nav a[aria-current="page"]{
  background: var(--brand-dark);
  color:#fff;
}

.nav a.active:hover,
.pill-nav a.active:hover{
  background: var(--brand-dark);
  color:#fff;
}

/* responsive tweaks */
@media (max-width: 800px){
  .header-top{
    flex-direction:column;
    align-items:center;
    text-align:center;
  }
  .brand-tagline{
    text-align:center;
  }
  .site-logo{
    height: 70px;
  }
}

@media (max-width: 500px){
  .pill-nav a,
  .nav a{
    font-size:0.9rem;
    padding: .35rem .7rem;
  }
}

/* ===========================================================
   5) Hero bits
   =========================================================== */
.hero-eyebrow{
  font-size: 1.5rem; font-weight: 600; color: var(--brand-mid);
  text-align: center; margin-bottom: 0.75rem; letter-spacing: .02em;
}
.hero h1{
  font-size: 1.75rem; font-weight: 500; line-height: 1.3;
  color: var(--brand-dark); margin-bottom: 0.5rem; text-align: center;
}
.hero .lead{ font-size: 1.1rem; color: var(--muted); text-align: center; }
.hero-notes{
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  margin: 14px 0 4px; font-size: 1rem; color: var(--muted);
  position: relative; padding-top: 10px;
}
.hero-notes::before{
  content: ""; position: absolute; top: 0;
  width: 72px; height: 1px; background: var(--border); opacity: .8;
}

/* Portrait layout */
.hero-combo .two-uneven.left-portrait{
  display:grid; grid-template-columns: 1.0fr 1.0fr; gap: 32px; align-items: center;
}
.portrait-frame{
  display:flex; justify-content:center; max-width: 520px; aspect-ratio: 3 / 4;
  border-radius: 12px; overflow: hidden; box-shadow: 0 12px 32px rgba(0,0,0,.08);
}
.hero-portrait-916{ width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }

@media (max-width: 900px){
  .hero h1{ font-size: 1.6rem; }
  .hero .lead{ font-size: 1.05rem; }
  .hero-combo .two-uneven.left-portrait{ grid-template-columns: 1fr; }
  .hero-portrait-916{ max-width: 360px; margin: 0 auto; }
}
@media (max-width: 600px){
  .hero h1{ font-size: 1.5rem; }
  .hero .lead{ font-size: 1rem; }
  .hero-notes{ font-size: .95rem; }
}

/* ===========================================================
   6) “Reasons” pill list
   =========================================================== */
.reason-list{
  list-style:none; padding:0; margin: 10px auto 0;
  display:grid; grid-template-columns: repeat(3, max-content);
  gap: 8px 12px; justify-content: center; text-align: left; font-size: .95rem;
}
.reason-list li{
  background:#fff; border:1px solid var(--border);
  border-radius: 999px; padding: 6px 10px; line-height: 1.2; white-space: nowrap;
}
@media (max-width: 900px){ .reason-list { grid-template-columns: repeat(2, max-content); } }
@media (max-width: 600px){
  .reason-list { grid-template-columns: 1fr; justify-items:center; }
  .reason-list li { width: max-content; }
}

.about-hero-intro {
  max-width: 40rem;
  margin: 10px auto 0;
}

.about-hero-intro .lead {
  margin: 0;
  line-height: 1.55;
}

.about-portrait {
  float: left;
  width: 140px;
  height: auto;
  margin: 0 1.5rem 1rem 0;
  border-radius: 60px / 75px;
}

.about-hero-intro::after {
  content: "";
  display: block;
  clear: both;
}

/* ===========================================================
   7)About Fix
   =========================================================== */

.helen-wrap {
  max-width: 36rem;
  margin: 0 auto;
}

.helen-photo {
  float: left;                 /* text wraps around the picture */
  width: 150px;                /* adjust if needed */
  height: auto;
  margin: 0 1.5rem 1rem 0;     /* space to the right and below the image */
  border-radius: 50%;          /* remove if you want a rectangle */
}

.helen-wrap .lead {
  margin: 0 0 1rem 0;
  line-height: 1.55;
}

.helen-wrap::after {
  content: "";
  display: block;
  clear: both;                 /* clears the float so nothing below gets messed up */
}
.mini-about {
  max-width: 32rem;     /* nice clean card width */
  margin: 2rem auto;    /* CENTER the box */
  padding: 1.5rem;
  text-align: center;
}
.mini-about p {
  max-width: 26rem;
  margin: 0 auto 1rem;
  line-height: 1.55;
}
.mini-about h3 {
  margin-top: 0;
}

.mini-about .btn {
  display: inline-block;    /* keeps button centered */
  margin-top: 0.5rem;
}

.helen-photo {
  width: 140px;
  height: 180px;        /* adjust if needed */
  object-fit: cover;     /* prevents squish */
  border-radius: 16px;   /* CNU-style rounded corners */
  display: block;
}

/* ===========================================================
   7) Service grid
   =========================================================== */
.service-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 16px;
}
.service-grid .card {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 20px; box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-grid .card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.service-grid .card h3 { margin: 0 0 8px; color: var(--brand-dark); }
.service-grid .card p { margin: 0; color: var(--muted); }

@media (max-width: 900px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .service-grid { grid-template-columns: 1fr; } }

/* ===========================================================
   8) Home: Rotating Books (scoped)
   =========================================================== */
.home-featured-books .book-rotator{
  position: relative; max-width: 750px; margin: 20px auto 0; min-height: 320px;
}
.home-featured-books .rotator-card{
  position: absolute; inset: 0 auto auto 0;
  opacity: 0; transition: opacity 1s ease-in-out;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 24px; box-shadow: 0 6px 16px rgba(0,0,0,.05);
}
.home-featured-books .rotator-card.active{ opacity: 1; z-index: 1; }
.home-featured-books .book-layout{
  display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: start;
}
.home-featured-books .book-layout img{
  width: 100%; max-width: 180px; border-radius: 8px; display: block;
}
.home-featured-books .book-info h3{ margin:0 0 4px; font-size:1.2rem; color:var(--brand-dark); }
.home-featured-books .book-info .subtitle{ font-size:.95rem; font-style:italic; color: var(--muted); margin-bottom:8px; }
.home-featured-books .book-info p{ margin:0 0 10px; line-height:1.4; }
.home-featured-books .book-controls{
  margin-top: 12px; display:flex; align-items:center; justify-content:center; gap:12px;
}
.home-featured-books .book-dots{ display:flex; gap:6px; }
.home-featured-books .book-dots button{
  width:10px; height:10px; border:none; border-radius:50%; background: var(--border); cursor:pointer;
}
.home-featured-books .book-dots button.active{ background: var(--brand-mid); }
.home-featured-books .book-prev,
.home-featured-books .book-next{
  border:1px solid var(--border); background:#fff; border-radius:999px;
  width:32px; height:32px; display:grid; place-items:center; cursor:pointer;
}
.home-featured-books .book-prev:hover,
.home-featured-books .book-next:hover{ background:#f8f8f8; }
@media (max-width: 600px){
  .home-featured-books .book-layout{ grid-template-columns: 1fr; text-align: center; }
  .home-featured-books .book-layout img{ margin: 0 auto; max-width: 160px; }
}

/* ===========================================================
   9) Books Page — grid cards
   =========================================================== */
.books-grid{
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
.card.book-card{
  display: grid; grid-template-columns: 140px 1fr; align-items: start; gap: 16px; padding: 16px;
  background:#fff; border:1px solid var(--border); border-radius: 12px;
}
.book-card__media img{ width: 100%; max-width: 140px; border-radius: 8px; display: block; }
.book-card__body h3{ margin: 0 0 4px; color: var(--brand-dark); font-size: 1.1rem; }
.book-card__body .subtitle{
  font-size: .95rem; font-style: italic; color: var(--brand-mid);
  font-weight: 600; margin: .25rem 0 8px; line-height: 1.3;
}
.book-card__body p{ margin: 0 0 10px; line-height: 1.4; }
.from-price{ font-weight:700; color:#444; margin:.2rem 0 .1rem; }

@media (max-width: 900px){
  .books-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px){
  .books-grid{ grid-template-columns: 1fr; }
  .card.book-card{ grid-template-columns: 1fr; text-align: center; }
  .book-card__media img{ margin: 0 auto; }
}

/* Make book cover images clickable nicely */
.book-cover-link{ display:block; border-radius:10px; overflow:hidden; text-decoration:none; }
.book-cover-link img{ display:block; width:100%; height:auto; }
.book-cover-link:focus{ outline:2px solid var(--brand-mid); outline-offset:2px; }

/* ===========================================================
   9b) Workshops Page — grid cards (list)
   =========================================================== */
.workshops-grid,
.workshop-grid,
.workshop-cards{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.workshops-grid .card,
.workshop-grid .card,
.workshop-cards .card{
  background:#fff; border:1px solid var(--border); border-radius:12px;
  padding:16px; box-shadow:0 4px 12px rgba(0,0,0,.04);
  display: grid; grid-template-columns: 140px 1fr; gap: 16px; align-items: start;
}
.workshops-grid .card img,
.workshop-grid .card img,
.workshop-cards .card img{
  width: 100%; max-width: 140px; border-radius: 8px;
}
.workshops-grid .card h3,
.workshop-grid .card h3,
.workshop-cards .card h3{
  margin: 0 0 6px; color: var(--brand-dark); font-size:1.1rem;
}
.workshops-grid .card .subtitle,
.workshop-grid .card .subtitle,
.workshop-cards .card .subtitle{
  font-size:.95rem; color: var(--brand-mid); font-style:italic; margin: 0 0 6px;
}

@media (max-width: 900px){
  .workshops-grid, .workshop-grid, .workshop-cards{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 600px){
  .workshops-grid, .workshop-grid, .workshop-cards{ grid-template-columns: 1fr; }
  .workshops-grid .card, .workshop-grid .card, .workshop-cards .card{ grid-template-columns: 1fr; text-align:center; }
  .workshops-grid .card img, .workshop-grid .card img, .workshop-cards .card img{ margin: 0 auto; }
}

/* ===========================================================
   10) Buttons
   =========================================================== */
.btn{
  display: inline-flex; align-items: center; justify-content:center;
  padding: 8px 12px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 0;
  line-height: 1.1; height:auto; margin:0;
}
.btn:hover{ opacity: .92; }

.btn.brand{ background: var(--brand-mid); color:#fff; }
.btn.subtle{
  background: var(--brand-mid); color:#fff; font-weight: 600; padding: 6px 14px; border-radius: 18px;
  transition: background .2s ease;
}
.btn.subtle:hover{ opacity: 1; background: var(--brand-dark); }
.btn.square{ background: #0078C8; color:#fff; }     /* Square = blue */
.btn.paypal{ background: #FFC439; color:#111; }     /* PayPal = yellow */
.btn.amazon{
  background:#fff; color:#146EB4; border:1px solid #146EB4;
}
.btn.amazon:hover{ background:#f4f8ff; }

/* ===========================================================
   11) Cards / Pills utilities
   =========================================================== */
.card{ border: 1px solid var(--border); border-radius: 12px; background: #fff; padding: 20px; box-shadow: 0 10px 28px rgba(0,0,0,.06); }
.grid.two{ display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
@media (max-width:900px){ .grid.two{ grid-template-columns: 1fr; } }

.pill-list{
  display:flex; flex-wrap:wrap; gap:10px; padding:0; margin:12px 0 0; list-style:none;
}
.pill-list li{
  background:#fff; border:1px solid var(--border);
  border-radius:999px; padding:6px 12px; color:var(--text); font-size:.9rem;
}

/* ===========================================================
   12) Book Detail — compact & scoped
   =========================================================== */
.book-detail .book-hero{
  display:grid; grid-template-columns:minmax(220px, 320px) 1fr;
  gap:1.25rem 1.5rem; align-items:start; margin-top:1rem;
}
.book-detail .book-cover{ width:100%; height:auto; border-radius:10px; display:block; }
.book-detail .book-meta{ min-width:260px; }
.book-detail .book-title{ margin:0 0 .15rem; }
.book-detail .book-subtitle{ color: var(--brand-mid); font-style:italic; font-weight:600; margin:.2rem 0 .8rem; line-height:1.35; }
.book-detail .book-excerpt{ margin:.4rem 0 .5rem; }

/* Ship-to picker (emphasized, compact) */
.book-detail .ship-picker{
  margin:.5rem 0 .35rem; padding:.5rem .65rem;
  border:2px solid var(--brand-mid); background:#f9f4ea; border-radius:12px;
  display:flex; gap:.5rem; align-items:center; flex-wrap:wrap;
}
.book-detail .ship-picker .label{ font-weight:700; color:#0a3d62; }
.book-detail .ship-picker .pill{
  appearance:none; border:1px solid var(--brand-mid); background:#fff; color:var(--brand-mid);
  padding:.35rem .8rem; border-radius:999px; cursor:pointer; line-height:1;
}
.book-detail .ship-picker .pill.active{ background:var(--brand-mid); color:#fff; border-color:var(--brand-mid); }

/* Editions stack */
.book-detail .editions{
  display:flex; flex-direction:column; gap:.45rem; margin-top:.6rem;
}
.book-detail .edition{
  display:block; padding:.5rem .65rem; border:1px solid #e7e7e7; border-radius:10px; background:#fff;
}
.book-detail .edition-topline{ display:flex; align-items:baseline; gap:.6rem; margin:0 0 .15rem; }
.book-detail .edition-price{ font-weight:700; }
.book-detail .edition-format{ font-weight:700; color:#333; }
.book-detail .edition-meta{
  display:flex; flex-wrap:wrap; align-items:center; gap:.35rem .5rem;
  margin:0; padding:0; list-style:none; color:#666; font-size:.95rem;
}
.book-detail .edition-meta li{ display:flex; align-items:center; }
.book-detail .edition-meta li + li::before{ content:"•"; margin:0 .4rem; color:#bbb; }
.book-detail .ship-note{ color:#666; font-size:.92rem; margin:.2rem 0 0; }
.book-detail .edition-ctas{ display:flex; flex-wrap:wrap; align-items:center; gap:.4rem; margin-top:.3rem; }

/* CTAs + specs row above editions (if used) */
.book-detail .book-ctas{ display:flex; align-items:center; gap:.6rem; flex-wrap:wrap; margin-top:.5rem; }
.book-detail .book-ctas .price{ font-weight:700; font-size:1.15rem; }
.book-detail .specs-row{
  margin:.5rem 0 0; padding:0; list-style:none;
  display:flex; flex-wrap:wrap; gap:.5rem .75rem; color:#666;
}
.book-detail .specs-row li{ white-space:nowrap; }
.book-detail .specs-row li + li::before{ content:"•"; margin-right:.5rem; opacity:.6; }

/* Testimonials */
.book-detail .book-testimonials h2 { margin: 0 0 .75rem; }
.book-detail .t-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.book-detail .t-card {
  background: #fff; border: 1px solid #e7e7e7; border-radius: 12px;
  padding: 1rem 1.1rem; box-shadow: 0 1px 6px rgba(0,0,0,.06);
}
.book-detail .t-quote { margin: 0 0 .5rem; line-height: 1.5; }
.book-detail .t-author { font-size: .95rem; color: #666; }

@media (max-width: 860px){
  .book-detail .book-hero{ grid-template-columns:1fr; }
  .book-detail .book-cover{ max-width:360px; margin:0 auto; }
}
@media (max-width: 980px){ .book-detail .t-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px){ .book-detail .t-grid { grid-template-columns: 1fr; } }

/* Excerpt (general) */
.excerpt-block p { margin: 0 0 0.5rem; line-height: 1.5; }
.excerpt-more .excerpt-toggle {
  cursor: pointer; font-weight: 600; margin: .25rem 0 .4rem; list-style: none;
  display: inline-flex; gap: .35rem; align-items: center;
}
.excerpt-more .excerpt-toggle::-webkit-details-marker { display: none; }
.excerpt-more .excerpt-toggle::after { content: "▾"; transition: transform .18s ease; }
.excerpt-more[open] .excerpt-toggle::after { transform: rotate(-180deg); }

/* ===========================================================
   12b) Workshop Detail — side-by-side layout
   (Support dedicated workshop classes, reused book classes, or mixed)
   =========================================================== */
.workshop-detail .workshop-hero,
.workshop-detail .book-hero,
.workshop-hero,
.book-hero{
  display:grid;
  grid-template-columns:minmax(220px, 320px) 1fr;
  gap:1.25rem 1.5rem;
  align-items:start;
  margin-top:1rem;
}
.workshop-detail .workshop-cover,
.workshop-detail .book-cover,
.workshop-cover,
.book-cover{
  width:100%; height:auto; border-radius:10px; display:block;
}
.workshop-detail .workshop-meta,
.workshop-detail .book-meta,
.workshop-meta,
.book-meta{ min-width:260px; }
.workshop-detail .workshop-title{ margin:0 0 .2rem; }
.workshop-detail .workshop-subtitle{ color: var(--brand-mid); font-style:italic; font-weight:600; margin:.2rem 0 .8rem; line-height:1.35; }
.workshop-detail .workshop-excerpt{ margin:.4rem 0 .5rem; }
.workshop-detail .workshop-ctas{ display:flex; gap:.6rem; flex-wrap:wrap; margin-top:.5rem; }

@media (max-width: 860px){
  .workshop-detail .workshop-hero,
  .workshop-detail .book-hero,
  .workshop-hero,
  .book-hero{ grid-template-columns:1fr; }
  .workshop-detail .workshop-cover,
  .workshop-detail .book-cover,
  .workshop-cover,
  .book-cover{ max-width:360px; margin:0 auto; }
}

/* ===========================================================
   13) Forms (Appointments / Contact)
   =========================================================== */
.appointments .container{ max-width:760px; }
.appts-header{ text-align:center; margin:0 0 .75rem; }
.appts-tabs{
  display:flex; gap:.75rem; flex-wrap:wrap; justify-content:center;
  margin:.25rem 0 1rem;
}
.appts-tabs a{
  padding:6px 12px; border-radius:999px; text-decoration:none;
  background:#f6f5fb; border:1px solid #e8e4f8; color:inherit;
}
.appts-tabs a:hover{ background:#f0eef9; }
.appts-tabs a.is-active{ background:#fff; color:var(--brand-mid); border-color:currentColor; font-weight:700; }

.notice{ border:1px solid #e4e4e4; background:#fafafa; border-radius:8px; padding:.75rem 1rem; }
.notice.success{ border-color:#cfe8d8; background:#f3fbf7; color:#1d6a42; }
.muted{ color:#666; }

.appts-form{
  background:#fff; border:1px solid #e7e7e7; border-radius:12px;
  padding:16px 18px; box-shadow:0 2px 10px rgba(0,0,0,.05);
  margin-inline:auto;
}
.appts-form .field{ margin:.75rem 0; }
.appts-form label{ display:block; font-weight:600; margin-bottom:.35rem; }
.appts-form input,
.appts-form select,
.appts-form textarea{
  width:100%; padding:10px 12px; border:1px solid #d9d9d9; border-radius:8px; font:inherit;
}
.appts-form input:focus,
.appts-form select:focus,
.appts-form textarea:focus{
  outline:0; border-color:var(--brand-mid);
  box-shadow:0 0 0 3px rgba(130,101,196,.18);
}
.appts-actions{
  display:flex; gap:.6rem; flex-wrap:wrap; justify-content:center; margin-top:.5rem;
}

/* ===========================================================
   14) Footer
   =========================================================== */
.hero-footer { padding: 40px 0; background: var(--surface-alt); }
.hero-footer .container.small { max-width: 600px; }
.hero-footer .eyebrow { font-size: .7rem; letter-spacing: .05em; color: var(--muted); text-align: center; }
.hero-footer h1 { font-size: 1.25rem; margin-bottom: .5rem; text-align: center; }
.hero-footer .lead { font-size: .95rem; text-align: center; margin-bottom: 1rem; }
.hero-footer .stack.center { align-items: center; }

.footer-bottom { text-align: center; font-size: .85rem; color: var(--muted); padding: 12px 0; border-top: 1px solid var(--border); }
.footer-logo { height: 100px; width: auto; margin: 0 auto 6px; display: block; }
.footer-bottom p { margin: 6px auto; }
.footer-nav { margin-top: 6px; }
.footer-nav a{
  display: inline-block; background: var(--surface-alt);
  border: 1px solid var(--border); color: var(--brand-dark);
  padding: 4px 10px; border-radius: 999px; font-size: .85rem; text-decoration: none; line-height: 1;
}
.footer-nav a:hover { background: var(--brand-mid); color: #fff; border-color: transparent; }

/* ===========================================================
   15) Responsive tweaks (header/footer)
   =========================================================== */
@media (max-width: 900px){
  .site-header .bar{ padding: .4rem 0; }
  .site-logo{ height: 100px; }
  .site-title{ font-size: 1.25rem; }
  .nav{ gap: .75rem; }
  .nav a{ padding: .45rem .65rem; font-size: .95rem; }

  .hero-footer{ padding: 32px 0; }
  .hero-footer h1{ font-size: 1.1rem; }
  .hero-footer .lead{ font-size: .9rem; }
}

@media (max-width: 600px){
  .site-header .bar{
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    padding: .35rem 0;
  }
  .site-logo{ height: 70px; }
  .site-title{ font-size: 1.1rem; }
  .nav{
    flex-wrap: wrap;
    justify-content: center;
    gap: .4rem .4rem;
    margin-top: .15rem;
  }
  .nav a{ padding: .45rem .65rem; font-size: .9rem; line-height: 1; }

  .footer-logo{ height: 80px; }
  .hero-footer{ padding: 26px 0; }
  .hero-footer h1{ font-size: 1rem; }
  .hero-footer .lead{ font-size: .9rem; }
}
.hero-eyebrow {
    margin-bottom: 5px !important;
}

.section.home-featured-books {
    padding-top: 0 !important;
}

.hero-combo .container.split {
    align-items: start !important;   /* forces both columns to top align */
}

/* Fix all book card text colors for consistency */
.card.book-card h3 {
    color: var(--brand-dark) !important;    /* strong title color */
}

.card.book-card .subtitle {
    color: var(--brand-mid) !important;     /* warm gold subtitle */
}

.card.book-card p {
    color: var(--text) !important;          /* unified body text */
}

/* Price lines unified */
.from-price {
    color: var(--brand-dark) !important;
}
/* Force ALL book titles (even if links) to use dark brand color */
.card.book-card h3 a,
.card.book-card h3,
.book-card__body h3 a,
.book-info h2 a,
.book-info h2,
.book-detail .book-title a,
.book-detail .book-title {
    color: var(--brand-dark) !important;
    text-decoration: none !important;
}



/* Slightly tighter section spacing on small screens (optional) */
@media (max-width: 700px) {
  :root { --section-space: 28px; }
}

