:root {
  --forest: #20372d;
  --forest-2: #2d4a3d;
  --forest-3: #13251e;
  --gold: #b6904f;
  --gold-light: #d8bd82;
  --paper: #fbf7ed;
  --paper-2: #f4ecdd;
  --ink: #2e2a23;
  --muted: #756c60;
  --line: #dfd0b4;
  --white: #fffefb;
  --shadow: 0 18px 45px rgba(45, 39, 28, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 0%, rgba(182,144,79,.07), transparent 34rem),
    linear-gradient(180deg, #fffdf8 0, #faf6ed 100%);
  font-family: Tahoma, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
a { color: inherit; }
.container { width: min(1240px, calc(100% - 44px)); margin-inline: auto; }

.site-header {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border-bottom: 1px solid #d8c7a6;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 42px 0 0;
  pointer-events: none;
  opacity: .23;
  background-image:
    linear-gradient(30deg, transparent 24%, rgba(182,144,79,.15) 25%, rgba(182,144,79,.15) 26%, transparent 27%, transparent 74%, rgba(182,144,79,.15) 75%, rgba(182,144,79,.15) 76%, transparent 77%),
    linear-gradient(150deg, transparent 24%, rgba(182,144,79,.12) 25%, rgba(182,144,79,.12) 26%, transparent 27%, transparent 74%, rgba(182,144,79,.12) 75%, rgba(182,144,79,.12) 76%, transparent 77%);
  background-size: 62px 108px;
}
.topline { position: relative; z-index: 2; background: var(--forest-3); color: #efe3ca; font-size: 12px; }
.topline__inner { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topline__note { color: #cdbf9f; }

.hero {
  position: relative;
  z-index: 1;
  min-height: 330px;
  display: grid;
  grid-template-columns: 1fr minmax(460px, 1.65fr) 1fr;
  gap: 28px;
  align-items: center;
  padding-block: 46px 44px;
}
.hero__content { text-align: center; }
.hero__eyebrow {
  margin: 0 0 2px;
  color: var(--forest-2);
  font-family: "Geeza Pro", "Noto Naskh Arabic", "Traditional Arabic", serif;
  font-size: 30px;
  font-weight: 700;
}
.hero h1 {
  margin: 0;
  color: #3a2b1d;
  font-family: "Geeza Pro", "Noto Naskh Arabic", "Traditional Arabic", Tahoma, serif;
  font-size: clamp(48px, 5.1vw, 76px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.02em;
}
.hero__divider { width: min(320px, 78%); margin: 16px auto 13px; display: flex; align-items: center; gap: 12px; color: var(--gold); }
.hero__divider span { height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.hero__divider i { font-style: normal; font-size: 11px; }
.hero__lead { max-width: 690px; margin: 0 auto; color: #6f6254; font-size: 15px; }
.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 145px;
  min-height: 43px;
  margin-top: 22px;
  padding: 8px 20px;
  border-radius: 8px;
  background: var(--forest);
  border: 1px solid var(--forest);
  color: #fff9eb;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 9px 22px rgba(32,55,45,.16);
  transition: transform .18s ease, background .18s ease;
}
.hero__cta:hover { background: var(--forest-2); transform: translateY(-1px); }

.hero__ornament {
  justify-self: start;
  width: 230px;
  height: 245px;
  border: 1px solid rgba(182,144,79,.35);
  border-bottom: 0;
  border-radius: 125px 125px 0 0;
  position: relative;
  background: rgba(255,255,255,.22);
  box-shadow: inset 0 0 0 8px rgba(255,255,255,.25), inset 0 0 0 9px rgba(182,144,79,.12);
}
.hero__ornament::before,
.hero__ornament::after {
  content: "";
  position: absolute;
  inset-inline: 24px;
  height: 1px;
  background: rgba(182,144,79,.34);
}
.hero__ornament::before { bottom: 55px; box-shadow: 0 -46px rgba(182,144,79,.22), 0 -92px rgba(182,144,79,.16); }
.hero__ornament::after {
  width: 64px;
  height: 145px;
  inset-inline: auto 82px;
  bottom: 0;
  background: linear-gradient(90deg,#49311f,#765436 45%,#4b321f);
  border-radius: 4px 4px 0 0;
  box-shadow: -43px 7px 0 #5f3f27, 43px 15px 0 #315044, 78px 28px 0 #8d6a39;
  transform: rotate(-1deg);
}
.hero__seal {
  justify-self: end;
  width: 196px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(182,144,79,.46);
  padding: 10px;
  box-shadow: 0 14px 36px rgba(77,56,29,.08), inset 0 0 0 5px rgba(255,255,255,.6);
  background: rgba(255,253,247,.72);
}
.hero__seal-inner {
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 1px dashed rgba(32,55,45,.34);
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--forest);
}
.hero__seal span { font-size: 13px; color: #827150; }
.hero__seal b { font-family: "Geeza Pro", "Noto Naskh Arabic", "Traditional Arabic", serif; font-size: 34px; line-height: 1.15; }
.hero__seal small { margin-top: 6px; letter-spacing: .22em; color: var(--gold); font-size: 10px; }

.main-nav { position: relative; z-index: 3; background: linear-gradient(180deg, #274438, #1a3027); border-top: 1px solid #6b735a; box-shadow: 0 5px 18px rgba(23,43,34,.14); }
.main-nav__inner { display: flex; align-items: stretch; justify-content: center; min-height: 57px; }
.main-nav a {
  min-width: 142px;
  display: grid;
  place-items: center;
  padding: 14px 22px;
  color: #f8f0df;
  text-decoration: none;
  font-size: 14px;
  border-inline-start: 1px solid rgba(255,255,255,.07);
  transition: .18s ease;
}
.main-nav a:hover,
.main-nav a.is-current { color: #f0cc7c; background: rgba(255,255,255,.035); box-shadow: inset 0 -3px #c7a25e; }

.library-section { padding: 54px 0 0; }
.section-intro { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 28px; }
.section-kicker { margin: 0 0 2px; color: var(--gold); font-size: 12px; font-weight: 700; }
.section-intro h2 {
  margin: 0;
  color: var(--forest);
  font-family: "Geeza Pro", "Noto Naskh Arabic", "Traditional Arabic", serif;
  font-size: 46px;
  line-height: 1.15;
}
.section-intro p:not(.section-kicker) { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.library-count { flex: 0 0 auto; min-width: 116px; padding: 12px 19px 10px; border-right: 3px solid var(--gold); text-align: right; background: rgba(255,255,255,.55); }
.library-count strong { display: block; color: var(--forest); font-family: Georgia, serif; font-size: 34px; line-height: 1; }
.library-count span { color: var(--muted); font-size: 11px; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 28px; padding: 12px; border: 1px solid #e2d5bf; border-radius: 12px; background: rgba(255,255,255,.74); box-shadow: 0 7px 24px rgba(67,53,32,.045); }
.filters { display: flex; gap: 7px; flex-wrap: wrap; }
.filter { border: 1px solid transparent; background: transparent; color: #5e5548; border-radius: 7px; padding: 8px 15px; cursor: pointer; font-size: 12px; transition: .15s ease; }
.filter:hover { background: #f4eee2; color: var(--forest); }
.filter.is-active { background: var(--forest); color: #fff8e9; border-color: var(--forest); }
.search-wrap { position: relative; width: min(310px, 100%); }
.search-icon { position: absolute; right: 14px; top: 50%; width: 15px; height: 15px; transform: translateY(-58%); border: 1.7px solid #76624a; border-radius: 50%; pointer-events: none; }
.search-icon::after { content: ""; position: absolute; width: 7px; height: 1.7px; background: #76624a; left: -5px; bottom: -3px; transform: rotate(45deg); border-radius: 2px; }
#search { width: 100%; min-height: 40px; border: 1px solid #ddceb5; background: #fffefa; border-radius: 8px; padding: 8px 42px 8px 12px; color: var(--ink); outline: none; font-size: 12px; }
#search:focus { border-color: #b6904f; box-shadow: 0 0 0 3px rgba(182,144,79,.10); }

.books { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.book {
  min-width: 0;
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 350px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #e2d5c2;
  border-radius: 14px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.book:hover { transform: translateY(-3px); box-shadow: 0 21px 52px rgba(45,39,28,.13); }
.book[hidden] { display: none; }
.book__body { min-width: 0; padding: 21px 18px 18px; display: flex; flex-direction: column; }
.book__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #89775e; font-size: 10px; font-weight: 700; }
.book__meta span { padding: 3px 9px; background: #f2ecdf; border-radius: 999px; color: var(--forest); }
.book__meta small { font-size: 9px; letter-spacing: .08em; color: #aa8b55; }
.book__body > h3 { margin: 17px 0 8px; color: #2f2a22; font-family: "Geeza Pro", "Noto Naskh Arabic", "Traditional Arabic", Tahoma, serif; font-size: 25px; line-height: 1.35; }
.book__body > p { margin: 0 0 17px; color: var(--muted); font-size: 11.5px; line-height: 1.75; }
.book__actions { margin-top: auto; display: flex; gap: 8px; }
.btn { flex: 1; min-width: 0; min-height: 39px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 10px; border-radius: 7px; text-decoration: none; font-size: 11px; font-weight: 700; transition: .16s ease; }
.btn--primary { background: var(--forest); border: 1px solid var(--forest); color: #fff8e9; }
.btn--primary:hover { background: var(--forest-2); }
.btn--ghost { background: #fff; border: 1px solid #d7c29e; color: #6d5232; }
.btn--ghost:hover { background: #fbf6eb; border-color: var(--gold); }

.book-visual { position: relative; min-height: 350px; display: grid; place-items: center; padding: 20px 15px; overflow: hidden; color: #f4ddb0; box-shadow: inset -12px 0 22px rgba(0,0,0,.12); }
.book-visual::before { content: ""; position: absolute; inset: 0; opacity: .17; background-image: repeating-linear-gradient(45deg, transparent 0 14px, currentColor 15px 16px, transparent 17px 31px), repeating-linear-gradient(-45deg, transparent 0 14px, currentColor 15px 16px, transparent 17px 31px); }
.book-visual::after { content: ""; position: absolute; inset: 8px; border: 1px solid currentColor; opacity: .66; box-shadow: inset 0 0 0 4px rgba(255,255,255,.06), inset 0 0 0 5px currentColor; }
.book-visual__frame { position: relative; z-index: 2; width: 100%; min-height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 27px 14px; }
.book-visual__frame::before,
.book-visual__frame::after { content: "◆"; color: currentColor; opacity: .78; font-size: 9px; margin: 9px 0; }
.book-visual__series { font-size: 9px; opacity: .9; }
.book-visual h3 { margin: 14px 0 6px; color: inherit; font-family: "Geeza Pro", "Noto Naskh Arabic", "Traditional Arabic", Tahoma, serif; font-size: 25px; line-height: 1.35; font-weight: 700; text-shadow: 0 1px rgba(0,0,0,.15); }
.book-visual h3 em { font-size: .72em; font-style: normal; font-weight: 400; }
.book-visual__rule { width: 58px; height: 1px; margin: 5px 0 12px; background: currentColor; opacity: .65; }
.book-visual p { margin: 0; font-size: 9px; line-height: 1.7; opacity: .95; }
.book-visual--sand { background: linear-gradient(145deg, #d8c29b, #ae8954); color: #4a351b; }
.book-visual--navy { background: linear-gradient(145deg, #172f3b, #0c1c25); color: #d6ad5c; }
.book-visual--green { background: linear-gradient(145deg, #284d36, #153021); color: #e2bd67; }
.book-visual--ivory { background: linear-gradient(145deg, #eee1c6, #d7bd8c); color: #694c24; }
.book-visual--burgundy { background: linear-gradient(145deg, #6a2c29, #3e1918); color: #e1bd72; }
.book-visual--sage { background: linear-gradient(145deg, #738064, #4c5b46); color: #f2dfb4; }

.empty { text-align: center; color: var(--muted); padding: 70px 0; }
.access-note { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #e1d2ba; border-radius: 13px; overflow: hidden; background: #f8f2e6; }
.access-note > div { position: relative; padding: 19px 24px; text-align: center; }
.access-note > div + div::before { content: ""; position: absolute; top: 22%; bottom: 22%; right: 0; width: 1px; background: #deccb0; }
.access-note strong { display: block; color: var(--forest); font-size: 13px; margin-bottom: 3px; }
.access-note span { color: #796e5f; font-size: 10.5px; }
.closing { margin: 34px 20px 38px; text-align: center; color: #665136; font-family: "Geeza Pro", "Noto Naskh Arabic", "Traditional Arabic", serif; font-size: 24px; }
footer { border-top: 3px solid #a98346; background: var(--forest-3); color: #efe3ca; }
.footer__inner { min-height: 85px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
footer p { margin: 0; font-family: "Geeza Pro", "Noto Naskh Arabic", "Traditional Arabic", serif; font-size: 19px; }
footer span { color: #bcae92; font-size: 10.5px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

@media (max-width: 1100px) {
  .hero { grid-template-columns: .7fr minmax(430px,1.8fr) .7fr; }
  .hero__ornament { width: 180px; }
  .hero__seal { width: 160px; }
  .books { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 820px) {
  .topline__note { display: none; }
  .hero { display: block; min-height: auto; padding-block: 48px 42px; }
  .hero__ornament, .hero__seal { display: none; }
  .hero__lead { max-width: 580px; }
  .main-nav__inner { overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .main-nav__inner::-webkit-scrollbar { display: none; }
  .main-nav a { min-width: 118px; padding-inline: 16px; }
  .section-intro { align-items: center; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .search-wrap { width: 100%; }
  .filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: 0 0 auto; }
  .access-note { grid-template-columns: 1fr; }
  .access-note > div + div::before { top: 0; bottom: auto; right: 12%; left: 12%; width: auto; height: 1px; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 24px, 1240px); }
  .topline { font-size: 11px; }
  .hero { padding-block: 38px 34px; }
  .hero__eyebrow { font-size: 24px; }
  .hero h1 { font-size: 43px; }
  .hero__lead { font-size: 12.5px; }
  .hero__cta { min-height: 41px; }
  .main-nav a { min-width: 103px; font-size: 12px; min-height: 50px; }
  .library-section { padding-top: 36px; }
  .section-intro { display: block; }
  .section-intro h2 { font-size: 39px; }
  .library-count { display: none; }
  .books { grid-template-columns: 1fr; gap: 15px; }
  .book { grid-template-columns: 38% 62%; min-height: 285px; }
  .book-visual { min-height: 285px; padding: 13px 9px; }
  .book-visual__frame { min-height: 245px; padding-inline: 7px; }
  .book-visual h3 { font-size: 20px; }
  .book-visual__series { font-size: 7px; }
  .book-visual p { font-size: 7.5px; }
  .book__body { padding: 16px 12px 13px; }
  .book__body > h3 { margin-top: 13px; font-size: 20px; }
  .book__body > p { font-size: 10px; }
  .book__actions { flex-direction: column; gap: 6px; }
  .btn { min-height: 35px; font-size: 10px; }
  .closing { font-size: 21px; }
  .footer__inner { min-height: 90px; display: block; text-align: center; padding-block: 17px; }
  footer p { margin-bottom: 2px; }
}
@media (max-width: 390px) {
  .hero h1 { font-size: 37px; }
  .book { grid-template-columns: 36% 64%; }
  .book-visual h3 { font-size: 18px; }
  .book__body > h3 { font-size: 18px; }
}


/* ===== v3 corrected: only requested removals + ordering/mobile UX ===== */
/* The two decorative hero side elements were explicitly removed, so center the remaining hero content. */
.site-header::before { inset: 0; }
.hero {
  min-height: auto;
  display: block;
  max-width: 920px;
  padding-block: 48px 44px;
  text-align: center;
}
.hero__content { max-width: 820px; margin-inline: auto; }
.main-nav__inner { justify-content: center; }

/* Reading stays the first action. */
.book__actions .btn--primary { order: 1; }
.book__actions .btn--ghost { order: 2; }

/* Mobile improvements without removing any additional content. */
@media (max-width: 640px) {
  html { scroll-padding-top: 8px; }
  .container { width: min(100% - 26px, 1240px); }

  .hero { padding-block: 30px 28px; }
  .hero__eyebrow { font-size: 23px; }
  .hero h1 { font-size: clamp(35px, 10.5vw, 44px); line-height: 1.22; }
  .hero__divider { width: min(260px, 82%); margin-block: 12px 10px; }
  .hero__lead { font-size: 14px; line-height: 1.8; }
  .hero__cta { min-height: 48px; min-width: 175px; font-size: 14px; }

  .main-nav__inner {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }
  .main-nav__inner::-webkit-scrollbar { display: none; }
  .main-nav a {
    flex: 0 0 auto;
    min-width: 104px;
    min-height: 49px;
    padding: 12px 15px;
    font-size: 13px;
    scroll-snap-align: start;
  }

  .library-section { padding-top: 32px; }
  .section-intro {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-bottom: 20px;
  }
  .section-intro h2 { font-size: 38px; }
  .section-intro p:not(.section-kicker) { font-size: 13px; line-height: 1.75; }
  .library-count {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
    width: fit-content;
    padding: 9px 14px 8px;
  }
  .library-count strong { font-size: 28px; }
  .library-count span { font-size: 11px; }

  .toolbar { flex-direction: column; align-items: stretch; gap: 11px; margin-bottom: 20px; padding: 10px; }
  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: 0 0 auto; min-height: 42px; padding: 9px 14px; font-size: 13px; }
  .search-wrap { width: 100%; }
  #search { min-height: 48px; font-size: 16px; }

  .books { grid-template-columns: 1fr; gap: 18px; }
  .book {
    display: block;
    min-height: 0;
    border-radius: 14px;
  }
  .book:hover { transform: none; }
  .book-visual {
    min-height: 225px;
    padding: 14px 18px;
    box-shadow: inset 0 -8px 18px rgba(0,0,0,.10);
  }
  .book-visual__frame { min-height: 195px; padding: 20px 14px; }
  .book-visual h3 { font-size: 28px; line-height: 1.35; }
  .book-visual__series { font-size: 9px; }
  .book-visual p { font-size: 9px; }

  .book__body { padding: 18px 16px 16px; }
  .book__meta { font-size: 11px; }
  .book__body > h3 { margin: 13px 0 7px; font-size: 25px; line-height: 1.45; }
  .book__body > p { margin-bottom: 16px; font-size: 12.5px; line-height: 1.8; }
  .book__actions { flex-direction: column; gap: 8px; }
  .btn { width: 100%; min-height: 48px; font-size: 13px; border-radius: 8px; }
  .btn--primary { font-size: 14px; }

  .closing { margin: 28px 20px 30px; font-size: 21px; line-height: 1.7; }
  .footer__inner { min-height: 90px; display: flex; flex-direction: column; justify-content: center; text-align: center; padding-block: 16px; }
  footer p { margin: 0; font-size: 18px; }
  footer span { font-size: 10.5px; }
}

@media (max-width: 390px) {
  .hero h1 { font-size: 34px; }
  .book-visual { min-height: 210px; }
  .book-visual__frame { min-height: 180px; }
  .book-visual h3 { font-size: 25px; }
  .book__body > h3 { font-size: 23px; }
}


/* ===== Recommended reading order ===== */
.reading-order {
  margin-bottom: 18px;
  border: 1px solid #dfd0b4;
  border-radius: 12px;
  background: rgba(255, 254, 250, .82);
  box-shadow: 0 7px 24px rgba(67,53,32,.04);
  overflow: hidden;
}
.reading-order summary {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 14px;
  color: var(--forest);
  cursor: pointer;
  list-style: none;
  user-select: none;
  font-size: 13px;
  font-weight: 700;
}
.reading-order summary::-webkit-details-marker { display: none; }
.reading-order summary::after {
  content: "⌄";
  margin-inline-start: auto;
  color: var(--gold);
  font-size: 18px;
  line-height: 1;
  transition: transform .18s ease;
}
.reading-order[open] summary::after { transform: rotate(180deg); }
.reading-order__icon {
  flex: 0 0 auto;
  min-width: 42px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid #d7c29e;
  border-radius: 999px;
  background: #f7f0e3;
  color: #7d5e32;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 11px;
  letter-spacing: .04em;
}
.reading-order summary small {
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 400;
}
.reading-order__list {
  margin: 0;
  padding: 0 14px 14px;
  list-style: none;
  counter-reset: reading-step;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.reading-order__list li {
  position: relative;
  min-width: 0;
  min-height: 84px;
  padding: 11px 40px 10px 10px;
  border: 1px solid #eadfcd;
  border-radius: 9px;
  background: #fbf7ef;
  counter-increment: reading-step;
}
.reading-order__list li::before {
  content: counter(reading-step);
  position: absolute;
  top: 11px;
  right: 10px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--forest);
  color: #fff8e9;
  font-size: 10px;
  font-weight: 700;
}
.reading-order__list strong {
  display: block;
  color: #342f27;
  font-family: "Geeza Pro", "Noto Naskh Arabic", "Traditional Arabic", Tahoma, serif;
  font-size: 14px;
  line-height: 1.45;
}
.reading-order__list span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.55;
}

@media (max-width: 820px) {
  .reading-order__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .reading-order { margin-bottom: 15px; }
  .reading-order summary {
    min-height: 56px;
    gap: 9px;
    padding: 10px 12px;
    font-size: 13px;
  }
  .reading-order summary small { display: none; }
  .reading-order__icon { min-width: 40px; }
  .reading-order__list {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 0 10px 10px;
  }
  .reading-order__list li {
    min-height: 0;
    padding: 10px 40px 9px 10px;
  }
  .reading-order__list strong { font-size: 15px; }
  .reading-order__list span { font-size: 10px; }
}

/* ===== v5: refined mobile typography and spacing ===== */
@media (max-width: 640px) {
  body { line-height: 1.55; }
  .container { width: min(100% - 22px, 1240px); }

  /* Keep the desktop identity, but scale the hero down for phones. */
  .hero { padding-block: 22px 20px; }
  .hero__eyebrow {
    margin-bottom: 1px;
    font-size: 18px;
    line-height: 1.35;
  }
  .hero h1 {
    max-width: 340px;
    margin-inline: auto;
    font-size: clamp(28px, 8.2vw, 34px);
    line-height: 1.3;
    letter-spacing: 0;
  }
  .hero__divider {
    width: min(220px, 70%);
    margin-block: 9px 8px;
    gap: 8px;
  }
  .hero__divider i { font-size: 8px; }
  .hero__lead {
    max-width: 340px;
    font-size: 12.5px;
    line-height: 1.75;
  }
  .hero__cta {
    min-width: 150px;
    min-height: 43px;
    margin-top: 15px;
    padding: 7px 17px;
    font-size: 12.5px;
  }

  /* Navigation should feel like compact tabs, not another headline row. */
  .main-nav__inner { min-height: 46px; }
  .main-nav a {
    min-width: 90px;
    min-height: 46px;
    padding: 10px 12px;
    font-size: 11.5px;
  }

  .library-section { padding-top: 25px; }
  .section-intro {
    gap: 10px;
    margin-bottom: 16px;
  }
  .section-kicker {
    margin-bottom: 1px;
    font-size: 10.5px;
  }
  .section-intro h2 {
    font-size: 30px;
    line-height: 1.25;
  }
  .section-intro p:not(.section-kicker) {
    max-width: 350px;
    margin-top: 5px;
    font-size: 11.5px;
    line-height: 1.7;
  }
  .library-count {
    gap: 6px;
    padding: 7px 11px 6px;
  }
  .library-count strong { font-size: 23px; }
  .library-count span { font-size: 9.5px; }

  .reading-order summary {
    min-height: 50px;
    gap: 8px;
    padding: 8px 10px;
    font-size: 12px;
  }
  .reading-order__icon {
    min-width: 36px;
    height: 27px;
    font-size: 10px;
  }
  .reading-order summary::after { font-size: 16px; }
  .reading-order__list strong { font-size: 13.5px; }
  .reading-order__list span { font-size: 9.5px; }

  .toolbar { gap: 8px; margin-bottom: 16px; padding: 8px; }
  .filter { min-height: 38px; padding: 7px 12px; font-size: 11.5px; }
  #search { min-height: 44px; font-size: 16px; }

  /* Cards: readable without overpowering the screen. */
  .books { gap: 14px; }
  .book-visual { min-height: 195px; padding: 12px 15px; }
  .book-visual__frame { min-height: 169px; padding: 16px 12px; }
  .book-visual h3 { font-size: 23px; line-height: 1.3; }
  .book-visual__series { font-size: 8px; }
  .book-visual p { font-size: 8.5px; }
  .book__body { padding: 15px 14px 14px; }
  .book__meta { font-size: 10px; }
  .book__body > h3 {
    margin: 11px 0 6px;
    font-size: 21px;
    line-height: 1.4;
  }
  .book__body > p {
    margin-bottom: 13px;
    font-size: 11.5px;
    line-height: 1.7;
  }
  .btn { min-height: 44px; font-size: 12px; }
  .btn--primary { font-size: 12.5px; }

  .closing { margin: 24px 18px 26px; font-size: 18px; line-height: 1.65; }
  footer p { font-size: 16px; }
  footer span { font-size: 9.5px; }
}

@media (max-width: 390px) {
  .hero h1 { max-width: 310px; font-size: 28px; }
  .hero__lead { font-size: 12px; }
  .main-nav a { min-width: 84px; font-size: 11px; }
  .section-intro h2 { font-size: 28px; }
  .book-visual { min-height: 185px; }
  .book-visual__frame { min-height: 160px; }
  .book-visual h3 { font-size: 21px; }
  .book__body > h3 { font-size: 20px; }
}
