/* ============================================================
   KINGDOM SCRIBE PUBLISHING — Design System
   Warm · Reverent · Modern · Editorial
   ============================================================ */

:root {
  /* Brand palette */
  --ink:        #1f2a44;   /* deep ink navy — text & headers */
  --ink-soft:   #34405e;
  --gold:       #b08d57;   /* burnished brass — primary accent */
  --gold-deep:  #8f6f3e;
  --clay:       #a65a3a;   /* terracotta — secondary accent */
  --sage:       #7c8a6b;   /* muted olive — tags / success */
  --parchment:  #f7f3ec;   /* warm ivory page bg */
  --parchment-2:#efe8db;
  --card:       #fffdf9;
  --line:       #e3dac9;   /* soft taupe dividers */
  --muted:      #6b6557;
  --white:      #ffffff;
  --shadow-sm:  0 1px 3px rgba(31,42,68,.06), 0 1px 2px rgba(31,42,68,.04);
  --shadow-md:  0 8px 24px rgba(31,42,68,.10);
  --shadow-lg:  0 18px 50px rgba(31,42,68,.16);

  --serif:  "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body:   "Spectral", Georgia, serif;
  --sans:   "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--parchment);
  line-height: 1.7;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-deep); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--clay); }
h1,h2,h3,h4 { font-family: var(--serif); color: var(--ink); line-height: 1.12; font-weight: 600; margin: 0 0 .4em; letter-spacing: .2px; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.9rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1.1em; }
.eyebrow {
  font-family: var(--sans); font-size: .74rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep);
  margin: 0 0 .9rem;
}
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.center { text-align: center; }
.lede { font-size: 1.22rem; color: var(--ink-soft); max-width: 60ch; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--sans); font-weight: 600; font-size: .95rem;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.6rem; border-radius: 999px; cursor: pointer;
  border: 1.5px solid transparent; transition: all .22s var(--ease);
  letter-spacing: .01em; line-height: 1; text-align: center;
}
.btn--primary { background: var(--gold); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--gold-deep); color:#fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ink { background: var(--ink); color:#fff; }
.btn--ink:hover { background: var(--ink-soft); color:#fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-deep); }
.btn--block { width: 100%; justify-content: center; }
.btn--sm { padding: .6rem 1.15rem; font-size: .85rem; }
.btn[disabled] { opacity:.55; cursor: not-allowed; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,243,236,.88); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: .65rem; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__name { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--ink); line-height:1; }
.brand__name small { display:block; font-family: var(--sans); font-size: .58rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-deep); margin-top: 3px; font-weight:600; }
.nav__links { display: flex; align-items: center; gap: 1.8rem; list-style: none; margin: 0; padding: 0; }
.nav__links a { font-family: var(--sans); font-size: .92rem; font-weight: 500; color: var(--ink); }
.nav__links a:hover, .nav__links a.active { color: var(--gold-deep); }
.nav__actions { display: flex; align-items: center; gap: 1rem; }
.cart-btn { position: relative; background:none; border:none; cursor:pointer; color: var(--ink); display:flex; align-items:center; padding:6px; }
.cart-btn:hover { color: var(--gold-deep); }
.cart-count {
  position: absolute; top: -4px; right: -6px; background: var(--clay); color:#fff;
  font-family: var(--sans); font-size: .65rem; font-weight: 700; min-width: 18px; height: 18px;
  border-radius: 999px; display: grid; place-items: center; padding: 0 4px;
}
.nav__toggle { display: none; background:none; border:none; cursor:pointer; color: var(--ink); padding: 8px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(176,141,87,.18), transparent 60%),
    linear-gradient(180deg, var(--parchment) 0%, var(--parchment-2) 100%);
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: 96px 0 90px; }
.hero__verse { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--gold-deep); margin-bottom: 1.2rem; }
.hero h1 { margin-bottom: .35em; }
.hero__lede { font-size: 1.25rem; color: var(--ink-soft); max-width: 46ch; margin-bottom: 2rem; }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__art { position: relative; display: grid; place-items: center; }
.hero__art .book-cover { width: 300px; box-shadow: var(--shadow-lg); transform: rotate(-4deg); transition: transform .5s var(--ease); }
.hero__art .book-cover:hover { transform: rotate(-1deg) translateY(-6px); }
.hero__seal {
  position:absolute; bottom: 8%; right: 4%; width: 128px; height:128px;
  background: var(--ink); color: var(--parchment); border-radius: 50%;
  display:grid; place-items:center; text-align:center; transform: rotate(8deg);
  font-family: var(--serif); font-size: .9rem; line-height:1.25; padding: 18px;
  box-shadow: var(--shadow-md);
}
.hero__seal b { font-size: 1.5rem; color: var(--gold); display:block; }

/* ---------- Verse banner ---------- */
.verse-band { background: var(--ink); color: var(--parchment); text-align:center; padding: 56px 0; }
.verse-band__text { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem,3vw,2.3rem); max-width: 24ch; margin: 0 auto .5rem; color:#fff; }
.verse-band__ref { font-family: var(--sans); letter-spacing: .2em; text-transform: uppercase; font-size:.75rem; color: var(--gold); }

/* ---------- Book cover (programmatic) ---------- */
.book-cover {
  aspect-ratio: 2 / 3; border-radius: 6px; overflow: hidden; position: relative;
  box-shadow: var(--shadow-md); background: var(--ink); color:#fff; display:block;
}
.book-cover svg { width: 100%; height: 100%; display:block; }
/* Real cover photos: fill the 2:3 card without distortion */
img.book-cover { width: 100%; height: auto; object-fit: cover; object-position: center; }

/* ---------- Book grid / cards ---------- */
.grid { display: grid; gap: 30px; }
.grid--books { grid-template-columns: repeat(4, 1fr); }
.book-card { display: flex; flex-direction: column; }
.book-card .cover-wrap { position: relative; transition: transform .3s var(--ease); }
.book-card:hover .cover-wrap { transform: translateY(-6px); }
.book-card .badge {
  position:absolute; top: 10px; left: 10px; background: var(--clay); color:#fff;
  font-family: var(--sans); font-size:.68rem; font-weight:600; letter-spacing:.04em;
  padding: 4px 10px; border-radius: 999px; z-index: 2;
}
.book-card__cat { font-family: var(--sans); font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color: var(--gold-deep); margin: 16px 0 6px; font-weight:600; }
.book-card__title { font-size: 1.32rem; margin: 0 0 4px; line-height:1.15; }
.book-card__title a { color: var(--ink); }
.book-card__title a:hover { color: var(--gold-deep); }
.book-card__author { font-size:.95rem; color: var(--muted); margin: 0 0 12px; }
.book-card__foot { margin-top: auto; display:flex; align-items:center; justify-content:space-between; gap: 10px; padding-top: 12px; }
.book-card__price { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--ink); }

/* ---------- Feature cards (companion features) ---------- */
.features { display:grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature__icon { width: 52px; height: 52px; border-radius: 12px; background: linear-gradient(135deg, var(--gold), var(--gold-deep)); display:grid; place-items:center; margin-bottom: 18px; color:#fff; }
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.35rem; }
.feature p { font-size: 1rem; color: var(--ink-soft); margin: 0; }

/* ---------- Section heading ---------- */
.sec-head { margin-bottom: 44px; }
.sec-head .lede { margin-top: .5rem; }
.sec-head--row { display:flex; align-items:flex-end; justify-content:space-between; gap: 24px; flex-wrap: wrap; }

/* ---------- Book detail ---------- */
.book-detail { display:grid; grid-template-columns: 360px 1fr; gap: 56px; align-items:start; }
.book-detail__cover { position: sticky; top: 100px; }
.book-detail__cover .book-cover { box-shadow: var(--shadow-lg); }
.book-meta { display:flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 18px; }
.tag { font-family: var(--sans); font-size:.74rem; font-weight:600; letter-spacing:.04em; padding: 5px 12px; border-radius:999px; background: var(--parchment-2); color: var(--ink-soft); border: 1px solid var(--line); }
.tag--cat { background: rgba(124,138,107,.16); color: #566049; border-color: rgba(124,138,107,.3); }

.formats { display:flex; gap: 8px; flex-wrap:wrap; margin: 20px 0; }
.format-pill {
  font-family: var(--sans); font-size:.88rem; font-weight:600; padding: .55rem 1.1rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--card); cursor:pointer; color: var(--ink); transition: all .2s var(--ease);
}
.format-pill[aria-pressed="true"] { border-color: var(--gold); background: var(--gold); color:#fff; }

.buybox { background: var(--card); border:1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); margin: 24px 0; }
.buybox__price { font-family: var(--serif); font-size: 2rem; font-weight: 600; }
.buybox__price small { font-family: var(--sans); font-size: .8rem; color: var(--muted); font-weight:500; }
.retailers { display:grid; gap: 10px; margin-top: 14px; }
.retailer-link {
  display:flex; align-items:center; justify-content:space-between;
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px;
  background: var(--parchment); font-family: var(--sans); font-weight:600; font-size:.92rem; color: var(--ink);
  transition: all .2s var(--ease);
}
.retailer-link:hover { border-color: var(--gold); background:#fff; color: var(--ink); transform: translateX(3px); }
.retailer-link span.arrow { color: var(--gold-deep); }

/* ---------- Tabs ---------- */
.tabs { border-bottom: 1px solid var(--line); display:flex; gap: 6px; margin: 36px 0 28px; flex-wrap:wrap; }
.tab {
  font-family: var(--sans); font-weight:600; font-size:.95rem; color: var(--muted);
  background:none; border:none; padding: 12px 18px; cursor:pointer; border-bottom: 2.5px solid transparent; margin-bottom:-1px;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--gold); }
.tab-panel { display:none; animation: fade .35s var(--ease); }
.tab-panel.active { display:block; }
@keyframes fade { from {opacity:0; transform: translateY(6px);} to {opacity:1; transform:none;} }
.prose p { font-size: 1.08rem; }
.prose h3 { margin-top: 1.6em; }

/* ---------- Single reflection (The Journal article) ---------- */
.container--narrow { max-width: 760px; }
.reflection-body p { margin-bottom: 1.15em; line-height: 1.75; }
.reflection-body p.lead {
  font-family: var(--serif); font-size: 1.34rem; line-height: 1.5;
  color: var(--ink); margin: 1.5em 0 .9em;
}
.reflection-body p.lead strong { font-weight: 600; }
.reflection-body p.reflect {
  font-family: var(--serif); font-style: italic; font-size: 1.14rem;
  color: var(--gold-deep); border-left: 3px solid var(--gold);
  padding: 4px 0 4px 20px; margin-top: 1.8em;
}
.reflection-body p.note {
  font-size: .96rem; color: var(--ink-soft);
  background: var(--parchment-2); border-radius: var(--radius);
  padding: 16px 20px; margin-top: 1.6em;
}
.reflection-body blockquote {
  font-family: var(--serif); font-style: italic; font-size: 1.2rem;
  color: var(--ink); border-left: 3px solid var(--gold);
  padding-left: 22px; margin: 1.4em 0;
}
.reflection-cta p { font-size: 1.02rem; }
.reflection-nav {
  display:flex; justify-content:space-between; gap: 18px;
  margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line);
}
.reflection-nav__link {
  display:flex; flex-direction:column; gap: 4px; max-width: 48%;
  font-family: var(--sans);
}
.reflection-nav__link--next { text-align: right; align-items: flex-end; }
.reflection-nav__link span { font-size:.78rem; letter-spacing:.08em; text-transform:uppercase; color: var(--muted); }
.reflection-nav__link strong { font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.reflection-nav__link:hover strong { color: var(--gold-deep); }

/* ---------- Resource list (companion extras) ---------- */
.resource {
  display:flex; align-items:center; gap: 18px; padding: 18px; border:1px solid var(--line);
  border-radius: var(--radius); background: var(--card); margin-bottom: 14px; transition: box-shadow .2s var(--ease);
}
.resource:hover { box-shadow: var(--shadow-sm); }
.resource__icon { width: 46px; height:46px; flex:none; border-radius: 10px; display:grid; place-items:center; color:#fff; }
.resource__icon.pdf { background: var(--clay); }
.resource__icon.lock { background: var(--ink); }
.resource__icon.video { background: var(--sage); }
.resource__icon.sheet { background: #5f6e4f; }
.resource__icon.qr { background: var(--gold-deep); }
.resource__body { flex:1; }
.resource__body h4 { font-family: var(--serif); font-size: 1.18rem; margin: 0 0 2px; }
.resource__body p { font-size:.92rem; color: var(--muted); margin:0; }
.resource .btn { flex: none; }

/* ---------- Lead magnet / forms ---------- */
.band { background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%); color: var(--parchment); border-radius: 20px; padding: 56px; position: relative; overflow:hidden; }
.band::after { content:""; position:absolute; inset:auto -60px -80px auto; width: 280px; height: 280px; border-radius:50%; background: radial-gradient(circle, rgba(176,141,87,.4), transparent 70%); }
.band h2 { color:#fff; position: relative; }
.band p { color: rgba(247,243,236,.85); position: relative; max-width: 52ch; }
.form-row { display:flex; gap: 12px; flex-wrap: wrap; position: relative; max-width: 520px; }
.form-row input { flex:1; min-width: 200px; }
input, textarea, select {
  font-family: var(--sans); font-size: 1rem; padding: .85rem 1.1rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background:#fff; color: var(--ink); width: 100%;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,141,87,.18); }
label { font-family: var(--sans); font-weight:600; font-size:.85rem; display:block; margin-bottom: 6px; color: var(--ink); }
.field { margin-bottom: 18px; }
.form-note { font-family: var(--sans); font-size:.8rem; color: var(--muted); }
.band .form-note { color: rgba(247,243,236,.65); }

/* ---------- Devotional / blog cards ---------- */
.posts { display:grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.post-card { background: var(--card); border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); display:flex; flex-direction:column; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card__top { height: 8px; background: linear-gradient(90deg, var(--gold), var(--clay)); }
.post-card__inner { padding: 26px; display:flex; flex-direction:column; flex:1; }
.post-card__meta { font-family: var(--sans); font-size:.74rem; letter-spacing:.1em; text-transform:uppercase; color: var(--gold-deep); margin-bottom: 10px; font-weight:600; }
.post-card h3 { font-size: 1.4rem; }
.post-card p { font-size: 1rem; color: var(--ink-soft); }
.post-card .read { margin-top: auto; font-family: var(--sans); font-weight:600; font-size:.9rem; }

/* ---------- Cart ---------- */
.cart-layout { display:grid; grid-template-columns: 1fr 360px; gap: 40px; align-items:start; }
.cart-item { display:grid; grid-template-columns: 70px 1fr auto; gap: 18px; align-items:center; padding: 18px 0; border-bottom:1px solid var(--line); }
.cart-item .book-cover { width: 70px; box-shadow: var(--shadow-sm); }
.cart-item__title { font-family: var(--serif); font-size:1.2rem; margin:0; }
.cart-item__fmt { font-family: var(--sans); font-size:.82rem; color: var(--muted); }
.qty { display:inline-flex; align-items:center; border:1px solid var(--line); border-radius:999px; overflow:hidden; }
.qty button { background:none; border:none; width: 32px; height: 32px; cursor:pointer; font-size:1.1rem; color: var(--ink); }
.qty button:hover { background: var(--parchment-2); }
.qty span { width: 36px; text-align:center; font-family: var(--sans); font-weight:600; }
.summary { background: var(--card); border:1px solid var(--line); border-radius: var(--radius); padding: 28px; position: sticky; top: 100px; box-shadow: var(--shadow-sm); }
.summary__row { display:flex; justify-content:space-between; font-family: var(--sans); font-size:.95rem; margin-bottom: 12px; color: var(--ink-soft); }
.summary__total { display:flex; justify-content:space-between; font-family: var(--serif); font-size:1.5rem; font-weight:600; padding-top:16px; border-top:1px solid var(--line); margin-top:8px; }
.link-remove { background:none; border:none; color: var(--clay); font-family: var(--sans); font-size:.8rem; cursor:pointer; padding:0; }
.link-remove:hover { text-decoration: underline; }

/* ---------- Trust / payment row ---------- */
.pay-badges { display:flex; align-items:center; gap: 16px; flex-wrap:wrap; margin-top: 16px; }
.pay-badge { font-family: var(--sans); font-size:.78rem; font-weight:600; color: var(--muted); border:1px solid var(--line); border-radius: 8px; padding: 6px 12px; background: var(--parchment); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(247,243,236,.78); padding: 72px 0 32px; }
.footer-grid { display:grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; }
.site-footer h4 { color:#fff; font-family: var(--sans); font-size:.82rem; letter-spacing:.16em; text-transform:uppercase; font-weight:700; margin-bottom: 18px; }
.site-footer a { color: rgba(247,243,236,.78); font-size:.95rem; }
.site-footer a:hover { color: var(--gold); }
.footer-links { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap: 10px; }
.footer-brand .brand__name { color:#fff; }
.footer-brand p { font-size:.95rem; color: rgba(247,243,236,.6); margin-top: 14px; max-width: 32ch; }
.footer-bottom { border-top:1px solid rgba(247,243,236,.14); margin-top: 48px; padding-top: 24px; display:flex; justify-content:space-between; gap: 16px; flex-wrap:wrap; font-family: var(--sans); font-size:.82rem; color: rgba(247,243,236,.5); }
.retailer-logos { display:flex; gap: 14px; flex-wrap:wrap; align-items:center; }
.retailer-logos span { font-family: var(--sans); font-size:.82rem; color: rgba(247,243,236,.55); border:1px solid rgba(247,243,236,.18); padding:5px 11px; border-radius: 6px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(120%);
  background: var(--ink); color:#fff; font-family: var(--sans); font-size:.92rem; font-weight:500;
  padding: 14px 22px; border-radius: 999px; box-shadow: var(--shadow-lg); z-index: 2000;
  transition: transform .4s var(--ease); display:flex; align-items:center; gap:10px;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast .dot { width: 8px; height:8px; border-radius:50%; background: var(--sage); }

/* ---------- Modal ---------- */
.modal-overlay { position: fixed; inset:0; background: rgba(31,42,68,.55); backdrop-filter: blur(3px); z-index: 1500; display:none; align-items:center; justify-content:center; padding: 24px; }
.modal-overlay.open { display:flex; animation: fade .3s var(--ease); }
.modal { background: var(--card); border-radius: 20px; max-width: 480px; width:100%; padding: 40px; box-shadow: var(--shadow-lg); position: relative; }
.modal__close { position:absolute; top: 16px; right: 16px; background:none; border:none; cursor:pointer; color: var(--muted); padding: 6px; }
.modal__close:hover { color: var(--ink); }

/* ---------- Breadcrumb ---------- */
.crumb { font-family: var(--sans); font-size:.85rem; color: var(--muted); padding: 24px 0 0; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--gold-deep); }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: linear-gradient(180deg, var(--parchment-2), var(--parchment)); padding: 64px 0 48px; border-bottom:1px solid var(--line); }

/* ---------- Filters ---------- */
.filters { display:flex; gap:10px; flex-wrap:wrap; margin-bottom: 36px; }
.filter-pill { font-family: var(--sans); font-weight:600; font-size:.88rem; padding:.55rem 1.15rem; border-radius:999px; border:1.5px solid var(--line); background:var(--card); cursor:pointer; color: var(--ink-soft); transition: all .2s var(--ease); }
.filter-pill:hover { border-color: var(--gold); }
.filter-pill.active { background: var(--ink); color:#fff; border-color: var(--ink); }

/* ---------- Misc ---------- */
.divider { height:1px; background: var(--line); border:0; margin: 0; }
.bg-alt { background: var(--parchment-2); }
.muted { color: var(--muted); }
.stack-sm > * + * { margin-top: 10px; }
.empty-state { text-align:center; padding: 80px 20px; }
.empty-state svg { color: var(--line); margin-bottom: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid--books { grid-template-columns: repeat(3,1fr); }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; text-align:center; padding: 64px 0; }
  .hero__lede { margin-left:auto; margin-right:auto; }
  .hero__cta { justify-content:center; }
  .hero__art .book-cover { width: 240px; }
  .features, .posts { grid-template-columns: repeat(2,1fr); }
  .book-detail { grid-template-columns: 1fr; }
  .book-detail__cover { position: static; max-width: 280px; margin: 0 auto; }
  .cart-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 17px; }
  .nav__links { display:none; }
  .nav__links.open {
    display:flex; position:absolute; top:76px; left:0; right:0; flex-direction:column;
    background: var(--parchment); border-bottom:1px solid var(--line); padding: 18px 24px; gap: 4px; box-shadow: var(--shadow-md);
  }
  .nav__links.open a { padding: 12px 0; border-bottom:1px solid var(--line); }
  .nav__toggle { display:block; }
  .grid--books { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .features, .posts { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 56px 0; }
  .band { padding: 36px 28px; }
  .book-card__title { font-size: 1.15rem; }
}
