:root {
  /* ====================================================================
     joshuaaah.com color bible — canonical tokens (2026-11-04)
     White-dominant base. Deep purple = brand/structural (header, nav,
     primary buttons). Teal = interactive (links, hover/active states).
     Orange = sparing spotlight accent. Silver = quiet dividers.
     Copied verbatim from X:\WebSites\www.joshuaaah.com\styles.css so
     Scriptura reads as the same household/brand family as the hub and
     every other joshuaaah.com-hosted app.
     ==================================================================== */
  --nav-height: 68px;

  --jx-bg:             #FFFFFF;
  --jx-surface:        #F7F6FA;
  --jx-surface-alt:    #ECEAF1;
  --jx-primary:        #3B1F6B; /* deep purple — headers, nav, primary buttons */
  --jx-primary-hover:  #5A3394;
  --jx-accent:         #0D9488; /* teal — links, CTAs, active states (fills/borders/rings) */
  --jx-accent-hover:   #14B8A6;
  --jx-text:           #121117;
  --jx-text-secondary: #6B6974;
  --jx-border:         #D8D5E0;
  --jx-border-soft:    #E4E2EA;
  --jx-success:        #16A34A;
  --jx-warning:        #D97706;
  --jx-spotlight:       #F97316; /* orange — featured/highlight accent, used sparingly */
  --jx-spotlight-hover: #FB923C;

  /* Accessibility adjustment, carried over verbatim from the hub re-theme:
     raw --jx-accent teal is only ~3.7:1 on white (fine for borders/fills/
     focus rings, the 3:1 floor) but fails the 4.5:1 AA floor as literal
     text. Anywhere teal is foreground text/labels, this darkened variant
     (~5.5:1) is used instead. */
  --jx-accent-text:    #0F766E;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;

  --font-sans:    'Inter', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', 'Segoe UI', Roboto, Arial, sans-serif;

  /* ---- Scriptura-specific: legacy names used throughout this file,
     mapped onto the bible tokens above ---- */
  --ink:        var(--jx-text);
  --ink-soft:   var(--jx-text-secondary);
  --rule:       var(--jx-border);
  --accent:     var(--jx-accent-text);   /* was maroon #7a2e2e */
  --accent-soft: var(--jx-surface-alt);  /* was cream #e9d9b4 */

  /* Illuminated-manuscript gold: KEPT deliberately (see style.css header
     comment below) for the handful of spots where it's the actual visual
     signature of the "ancient manuscript" theme — the drop-cap initial,
     the header's illuminated sunburst icon, and the corner flourishes.
     Nowhere else in this file uses these two variables. */
  --illum-gold:      #a9792f;
  --illum-gold-deep: #7d5a1f;

  /* Parchment base, lightened toward the bible's actual white/near-white
     surfaces rather than the old deep tan — still reads as aged paper,
     but the field is white-dominant like every other joshuaaah.com app. */
  --paper:        #FBFAF6;
  --paper-raised: #FFFFFF;

  --max-w: 920px;
  font-size: 16px;
}

/* ============================================================
   JUDGMENT CALL (documented per task instructions): the deep
   gold/brass palette below (--illum-gold / --illum-gold-deep) is kept
   ONLY on the drop-cap initial, the header's illuminated sunburst SVG,
   and the corner flourishes. Illuminated manuscripts use gold leaf for
   exactly these elements — swapping them for purple/teal would read as
   a generic modern tint, not an illuminated letter, and would gut the
   one visual signature Josh approved a few hours before this pass.
   Everything else that is structural (header/nav bg, section labels,
   primary buttons) or interactive (links, focus rings, active/selected
   states, hover borders) now uses the real joshuaaah.com purple/teal
   system below, matching the hub re-theme.
   ============================================================ */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--paper);
  /* Subtle aging grain (unchanged — CSS/SVG only, no image asset) layered
     under the SAME two brand-glow radial gradients the hub's body uses,
     so the page reads as "family" even in its background texture. */
  background-image:
    url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.16  0 0 0 0 0.12  0 0 0 0 0.07  0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(1100px 600px at 12% -10%, rgba(13,148,136,0.07), transparent 60%),
    radial-gradient(900px 560px at 110% 10%, rgba(59,31,107,0.06), transparent 55%);
  background-attachment: fixed, fixed, fixed;
  background-size: 200px 200px, auto, auto;
}

h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.01em; }

button, input, select, textarea { font-family: inherit; }

a { color: var(--accent); }
a:hover { color: var(--jx-primary); }

/* Manuscript READING content only — chapter heading + verse text keep the
   period serif. Everything else (nav, header title/kicker, section
   labels, breadcrumb, buttons) is UI chrome and uses font-sans/display
   via the global rules above, matching the hub. */
.verse-text, .reading h3 {
  font-family: "EB Garamond", Georgia, "Times New Roman", serif;
}

/* Illuminated drop-cap: classic manuscript convention, first verse of a
   chapter only. Blackletter is used ONLY for this single oversized glyph --
   body text stays in the readable EB Garamond serif. Gold is kept here
   deliberately — see judgment-call note above. */
.verse-row.drop-cap .verse-text {
  position: relative;
}
.verse-row.drop-cap .verse-text::first-letter {
  font-family: "UnifrakturCook", "EB Garamond", serif;
  font-size: 3.1rem;
  line-height: 0.72;
  font-weight: 700;
  float: left;
  padding: 0.05em 0.1em 0 0;
  margin-right: 0.06em;
  color: var(--illum-gold-deep);
  text-shadow: 1px 1px 0 rgba(125,90,31,0.25);
}

/* ---------- Sticky utility nav (matches the hub exactly: purple bar,
   white nav text, same --nav-height/--radius-sm tokens) ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--jx-primary);
  color: #ffffff;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.site-nav .navbar {
  width: min(1200px, 96%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}
.site-nav .brand {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.05rem;
}
.site-nav .nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: center;
}
.site-nav .nav-list a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: inherit;
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.88rem;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s;
}
.site-nav .nav-list a:hover,
.site-nav .nav-list a:focus {
  background: var(--jx-primary-hover);
  color: #ffffff;
}
.site-nav .nav-list a:focus-visible {
  outline: 2px solid var(--jx-accent);
  outline-offset: 2px;
}

/* ---------- Version switcher: a small segmented control, not a modal ---------- */
.version-switch {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 0.2rem;
  flex: none;
}
.version-switch button {
  font-family: var(--font-display, inherit);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: rgba(255,255,255,0.75);
  background: transparent;
  border: none;
  border-radius: calc(var(--radius-sm) - 2px);
  padding: 0.32rem 0.6rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.version-switch button:hover,
.version-switch button:focus-visible {
  color: #ffffff;
  background: rgba(255,255,255,0.14);
}
.version-switch button[aria-pressed="true"] {
  background: var(--jx-accent, #d8b876);
  color: #241f1a;
}
@media (max-width: 760px) {
  .version-switch { order: 3; width: 100%; justify-content: center; margin-top: 0.4rem; }
  .site-nav { height: auto; }
  .site-nav .navbar { flex-wrap: wrap; padding: 0.5rem 0; }
}

/* ---------- Hero (decorative — illuminated icon kept gold, everything
   else now purple/white per the brand system) ---------- */
.site-header {
  position: relative;
  padding: 2.75rem 1.5rem 2.25rem;
  text-align: center;
  background: linear-gradient(180deg, #2A1854 0%, #3B1F6B 55%, #4A2B82 100%);
  color: #F7F6FA;
  overflow: hidden;
}

.site-header__art {
  width: 108px;
  height: 108px;
  margin: 0 auto 0.75rem;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
}

.site-header__kicker {
  margin: 0;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: #5EEAD4;
}

.site-header__title {
  margin: 0.3rem 0 0.4rem;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.site-header__sub {
  margin: 0 auto;
  max-width: 540px;
  color: #ECEAF1;
  font-size: 0.98rem;
  line-height: 1.5;
}

.site-header__rule {
  width: 140px;
  height: 1px;
  margin: 1.1rem auto 0;
  background: linear-gradient(90deg, transparent, #14B8A6, transparent);
}

/* ---------- Layout ---------- */
.shell {
  max-width: var(--max-w);
  margin: 1.25rem auto 2rem;
  padding: 1.75rem 1.5rem 3rem;
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: 3px;
  box-shadow:
    0 0 0 1px rgba(59,31,107,0.08) inset,
    6px 0 18px -6px rgba(18,17,23,0.10),
    -6px 0 18px -6px rgba(18,17,23,0.10),
    0 10px 30px -12px rgba(18,17,23,0.16);
  position: relative;
}
/* corner flourishes -- simple CSS, no image asset. Gold kept deliberately
   (illuminated-manuscript ornament), see judgment-call note above. */
.shell::before, .shell::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border: 1px solid var(--illum-gold);
  opacity: 0.55;
  pointer-events: none;
}
.shell::before { top: 8px; left: 8px; border-width: 2px 0 0 2px; }
.shell::after { bottom: 8px; right: 8px; border-width: 0 2px 2px 0; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}
.breadcrumb button {
  background: none;
  border: none;
  padding: 0.1rem 0.3rem;
  color: var(--accent);
  font-size: 0.92rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
}
.breadcrumb button:hover { background: var(--accent-soft); color: var(--jx-primary); }
.breadcrumb .sep { color: var(--rule); }
.breadcrumb .current { color: var(--ink); font-weight: 600; }

.searchbar {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.searchbar input {
  flex: 1;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  background: var(--paper-raised);
  font-size: 0.95rem;
  color: var(--ink);
}
.searchbar input:focus { outline: 2px solid var(--jx-accent); outline-offset: 1px; }
.searchbar button {
  padding: 0.6rem 1rem;
  border: 1px solid var(--jx-primary);
  background: var(--jx-primary);
  color: #ffffff;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
}
.searchbar button:hover { background: var(--jx-primary-hover); border-color: var(--jx-primary-hover); }
.search-hint { font-size: 0.8rem; color: var(--ink-soft); margin: -0.9rem 0 1.4rem; }
.search-error { color: #DC2626; font-size: 0.85rem; margin: -0.9rem 0 1.4rem; }

h2.panel-title {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--jx-primary);
  margin: 0 0 0.9rem;
}

/* Testament tabs */
.testament-tabs {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}
.testament-tabs button {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--rule);
  background: var(--paper-raised);
  border-radius: var(--radius-md);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
}
.testament-tabs button.active {
  border-color: var(--jx-accent);
  background: var(--accent-soft);
  color: var(--jx-primary);
}

/* Grids — book-selection grid reads as a real card (gradient, silver
   border, generous radius, hover lift), matching the hub's project
   cards. Chapter/verse-number grids stay compact flat squares
   (overridden below) since a full card treatment on 150 tiny numbers
   would be noise, not polish. */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}
.grid-item {
  padding: 1rem 0.75rem;
  border: 1px solid var(--jx-border);
  background: linear-gradient(165deg, var(--jx-surface-alt), #ffffff);
  border-radius: var(--radius-lg);
  text-align: center;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(59,31,107,0.06);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.grid-item:hover {
  transform: translateY(-2px);
  border-color: var(--jx-accent);
  box-shadow: 0 8px 20px rgba(59,31,107,0.12);
}
.testament-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.4rem;
  color: var(--accent);
  background: var(--jx-surface-alt);
  border: 1px solid var(--jx-border-soft);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}
.testament-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--jx-accent);
  flex-shrink: 0;
}

/* compact flat squares for chapter/verse-number grids — not "cards" */
.grid.chapters, .grid.verses-nav {
  grid-template-columns: repeat(auto-fill, minmax(52px, 1fr));
  gap: 0.6rem;
}
.grid.chapters .grid-item, .grid.verses-nav .grid-item {
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius-sm);
  background: var(--jx-surface);
  font-weight: 500;
  box-shadow: none;
}
.grid.chapters .grid-item:hover, .grid.verses-nav .grid-item:hover {
  transform: none;
  border-color: var(--jx-accent);
  background: var(--accent-soft);
  box-shadow: none;
}

/* Reading pane */
.reading {
  position: relative;
}
.reading h3,
.reading .chapter-nav,
.reading .xref-panel {
  position: relative;
  z-index: 1;
}
.reading h3 {
  font-size: 1.5rem;
  margin: 0 0 1.1rem;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

/* ---------- Chapter-top art + scroll-parallax ghost (Part 4) ----------
   The chapter's earliest-verse plate is shown large at the top of the
   reading pane. As the reader scrolls it out of view, a second copy of the
   same image fades in as a low-opacity, darkened "ghost" fixed behind the
   verse column (classic background-attachment:fixed parallax). Each verse
   row keeps a near-opaque paper background (the scrim) on top of it, so the
   ghost is only ever visible in the gaps between rows -- never behind a
   letterform -- which is what keeps the text legible at any scroll depth. */
.chapter-hero-art {
  margin: 0 0 1.5rem;
  position: relative;
  z-index: 1;
}
.chapter-hero-art img {
  width: 100%;
  height: auto;
  display: block;
  filter: contrast(1.03);
  border: 1px solid var(--rule);
}
.chapter-hero-art figcaption {
  padding: 0.5rem 0.1rem 0;
  font-family: "IM Fell English", "EB Garamond", serif;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: center;
}
.chapter-art-ghost {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center 20%;
  background-attachment: fixed;
  /* darkened + desaturated further so even at the low opacity cap the art
     reads as a watermark, not a loud image fighting the text for attention */
  filter: grayscale(1) brightness(0.55) contrast(0.9);
  transition: opacity 0.2s ease-out;
}
.reading-version-tag {
  font-family: var(--font-sans, inherit);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--ink-soft);
  background: var(--accent-soft);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
}
.verse-row {
  display: flex;
  gap: 0.75rem;
  padding: 0.55rem 0.6rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: baseline;
  position: relative;
  z-index: 1;
  /* scrim: near-opaque so the fixed ghost art behind it (when present) never
     shows through the text itself, only in the margins between rows */
  background: rgba(251, 250, 246, 0.94);
}
.verse-row:hover { background: var(--accent-soft); }
.verse-row.selected { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--jx-accent); }
.verse-num {
  flex: 0 0 auto;
  width: 2rem;
  text-align: right;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  padding-top: 0.2rem;
}
.verse-text {
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--ink);
}
/* search-match highlight: the one spot orange earns its "sparing
   spotlight" role — a genuinely featured/called-out moment in the text */
.verse-text mark {
  background: #FDE3CB;
  color: var(--ink);
  padding: 0 0.15rem;
  border-radius: 3px;
}

/* Cross references */
.xref-panel {
  margin-top: 0.75rem;
  margin-left: 2.75rem;
  margin-bottom: 0.6rem;
  padding: 0.85rem 1rem;
  background: var(--jx-surface);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--jx-accent);
  border-radius: var(--radius-md);
}
.xref-panel h4 {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.xref-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.35rem; }
.xref-item button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0.3rem 0.4rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.92rem;
  color: var(--ink);
}
.xref-item button:hover { background: var(--accent-soft); }
.xref-ref { font-weight: 700; color: var(--accent); margin-right: 0.4rem; }
.xref-empty { font-size: 0.88rem; color: var(--ink-soft); }

.chapter-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}
.chapter-nav button {
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--rule);
  background: var(--paper-raised);
  border-radius: var(--radius-md);
  cursor: pointer;
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.chapter-nav button:hover:not(:disabled) { border-color: var(--jx-accent); color: var(--jx-primary); }
.chapter-nav button:disabled { opacity: 0.35; cursor: default; }

.loading { padding: 2rem 0; text-align: center; color: var(--ink-soft); }

/* ---------- Biblical art (scaffolding — wired in once images are approved) ----------
   Doré engravings are 19th-century black-and-white wood engravings; framed like a
   manuscript plate, not a modern flat photo card. */
.scriptura-art {
  margin: 1.5rem 0 1.75rem;
  padding: 0.6rem 0.6rem 0.1rem;
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  box-shadow: 0 0 0 1px rgba(59,31,107,0.06) inset, 0 6px 16px -8px rgba(18,17,23,0.18);
  position: relative;
  z-index: 1;
}
.scriptura-art img {
  display: block;
  width: 100%;
  height: auto;
  /* True black & white: the source PNGs are already force-converted to real
     grayscale (R=G=B per pixel, see backups/2026-11-05-grayscale-conversion/).
     No sepia() here any more -- that filter was re-tinting the display even
     after the pixel data was fixed, which is what made the art still read
     as sepia on the live site. contrast() only, no color cast. */
  filter: contrast(1.03);
}
.scriptura-art figcaption {
  padding: 0.5rem 0.2rem 0.7rem;
  font-family: "IM Fell English", "EB Garamond", serif;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: center;
  border-top: 1px solid var(--rule);
  margin-top: 0.4rem;
}
.book-hero {
  margin: 0 0 1.5rem;
}
.book-hero img {
  width: 100%;
  height: auto;
  display: block;
  filter: contrast(1.03);
  border: 1px solid var(--rule);
}

/* About / footer */
.site-footer {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--rule);
}
.site-footer a { color: var(--accent); }
.about-toggle {
  background: none;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  color: var(--ink-soft);
  font-size: 0.85rem;
  margin-bottom: 0.7rem;
}
.about-box { line-height: 1.6; }
.about-box p { margin: 0.4rem 0; }

/* ---------- Responsive / touch ---------- */
@media (max-width: 860px) {
  .site-nav .brand { font-size: 0.98rem; }
}
@media (max-width: 560px) {
  .site-nav .navbar { justify-content: center; gap: 0.5rem; }
  .site-nav .nav-list a span { display: none; }

  .site-header { padding: 2rem 1rem 1.75rem; }
  .site-header__title { font-size: 1.8rem; }
  .site-header__sub { font-size: 0.9rem; }
  .shell {
    margin: 0.6rem auto 1.25rem;
    padding: 1.1rem 0.9rem 2rem;
    border-radius: 0;
  }
  .shell::before, .shell::after { width: 16px; height: 16px; }

  .searchbar { flex-direction: column; }
  .searchbar input, .searchbar button { width: 100%; min-height: 44px; font-size: 1rem; }

  .testament-tabs button { min-height: 46px; padding: 0.7rem 0.6rem; }

  .grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
  .grid.chapters, .grid.verses-nav {
    grid-template-columns: repeat(auto-fill, minmax(44px, 1fr));
  }
  .grid-item { min-height: 44px; display: flex; flex-direction: column; justify-content: center; }

  .verse-row { padding: 0.65rem 0.4rem; min-height: 44px; }
  .verse-num { width: 1.7rem; }
  .verse-text { font-size: 1.08rem; line-height: 1.6; }
  .verse-row.drop-cap .verse-text::first-letter { font-size: 2.3rem; line-height: 0.7; }

  .xref-panel { margin-left: 0; }
  .xref-item button { min-height: 44px; padding: 0.5rem 0.4rem; }

  .chapter-nav { flex-direction: column; gap: 0.6rem; }
  .chapter-nav button { width: 100%; min-height: 44px; }

  .scriptura-art { margin: 1rem -0.9rem 1.25rem; border-radius: 0; }
}
