/* The Water Carrier — site pages (home, shelves, about, contact).
   Hand-maintained source file (not generated).
   Look and feel carried over from the SITE123 site: navy header with peach links,
   Caladea throughout, orange (#f46530) buttons and rules, white / #f9f9f9 bands,
   white cards with soft shadows. New: glass shelves with a turquoise tint. */

:root {
  --navy: #1b262c;
  --navy-2: #24323a;
  --peach: #fcdbcf;
  --orange: #f46530;
  --orange-ink: #611e05;
  --ink: #111;
  --text: #2b2b2b;
  --muted: #666;
  --band: #f9f9f9;
  --white: #fff;
  --line: #e4e4e4;
  --teal: #3fb8b4;
  --teal-ink: #2f8f8c;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
  --wrap: 1180px;
  --serif: "Caladea", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--band); color: var(--text);
  font-family: var(--serif); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--orange-ink); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-weight: 400; font-size: clamp(32px, 4.2vw, 49px); }
h2 { font-weight: 700; font-size: clamp(26px, 3vw, 36px); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 860px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.eyebrow, .kicker { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 .6em; }
.rule { display: block; width: 100px; height: 5px; background: var(--orange); margin: 18px 0 22px; border: 0; }
.rule.center { margin-left: auto; margin-right: auto; }
.lede { font-size: 18px; color: #444; }
.small { font-size: 14px; } .muted { color: var(--muted); }

.button {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 30px; border: 0; cursor: pointer;
  background: var(--orange); color: var(--orange-ink); font: 700 17px/1.2 var(--serif);
  text-decoration: none; transition: filter .15s, transform .15s;
}
.button:hover { filter: brightness(1.06); transform: translateY(-1px); }
.button.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.button.disabled { background: #ddd; color: #777; cursor: not-allowed; }
:focus-visible { outline: 3px solid var(--teal-ink); outline-offset: 2px; }
.site-header :focus-visible { outline-color: var(--teal); }   /* the light teal reads on navy; the darker one (3.6:1+) on white and cream */

/* ---------- header ---------- */
.site-header { background: var(--navy); position: sticky; top: 0; z-index: 40; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; max-width: none; padding: 0 22px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand img { height: 44px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-imprint { font-size: 25px; letter-spacing: .06em; text-transform: uppercase; }
.brand-name { font-size: 11px; letter-spacing: .32em; text-transform: uppercase; margin-top: 6px; display: flex; align-items: center; gap: 8px; color: #e9e9e9; }
.brand-name::before, .brand-name::after { content: ''; width: 22px; height: 1px; background: currentColor; opacity: .8; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  color: var(--peach); text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: .03em;
  padding: 8px 13px; position: relative;
}
.site-nav a::after { content: ''; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 2px; background: var(--peach); transform: scaleX(0); transition: transform .2s; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-toggle { display: none; background: none; border: 0; color: var(--peach); width: 46px; height: 46px; cursor: pointer; }
.menu-toggle svg { width: 26px; height: 26px; stroke: currentColor; stroke-width: 2.2; fill: none; stroke-linecap: round; }
/* S7: the icon turns a quarter as it becomes a cross (site.js swaps the drawing) */
.menu-toggle svg { transition: transform .2s ease; }
.menu-toggle[aria-expanded="true"] svg { transform: rotate(90deg); }

/* ---------- hero (home) ---------- */
.hero {
  position: relative; min-height: min(78vh, 680px); display: flex; align-items: center;
  background: var(--hero) center 40% / cover no-repeat, var(--navy);
}
.hero-inner { width: 100%; }
.hero-panel {
  max-width: 560px; padding: 44px 44px 40px; background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}
.hero-panel h1 { margin: 0; }
.hero-verse { margin: 0 0 26px; font-size: 18px; color: #1d1d1d; }
.hero-verse p { margin: 0 0 6px; font-style: italic; }
.hero-verse cite { font-style: normal; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #444; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- bands ---------- */
.section { padding: 80px 0; }
.band-white { background: var(--white); }
.band-grey { background: var(--band); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head .rule { margin-left: auto; margin-right: auto; }

/* feature: image card + white text card, alternating sides (as on the SITE123 pages) */
.feature { display: grid; grid-template-columns: 5fr 7fr; gap: 30px; align-items: stretch; }
.feature + .feature { margin-top: 60px; }
.feature.flip { grid-template-columns: 7fr 5fr; }
.feature.flip .feature-img { order: 2; }
.feature-img { min-height: 380px; background: var(--img) center / cover no-repeat; box-shadow: var(--shadow); }
/* photo tiles lift like the white cards (Gerhard, 31 Oct, option B): a hairline edge, a close contact shadow, then the soft drop.
   The plain --shadow alone vanishes against a photo's dark edge. */
.feature-img { box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 2px 4px rgba(0,0,0,.08), 0 14px 32px rgba(0,0,0,.16); }
.feature-card { background: var(--white); box-shadow: var(--shadow); padding: 48px 52px; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.feature-card h2 { margin: 0; }
.feature-card .rule { margin: 18px auto 22px; }
.feature-card p { color: #333; }
.cover-row { display: flex; justify-content: center; gap: 12px; margin: 6px 0 26px; flex-wrap: wrap; }
.cover-row a { display: block; width: calc(74px * var(--scale, 1)); align-self: flex-end; transition: transform .2s; }
.cover-row a:hover { transform: translateY(-4px); }
.cover-row img { width: 100%; display: block; aspect-ratio: var(--ratio); object-fit: cover; box-shadow: 0 6px 14px rgba(0,0,0,.22); }
.cover-row.cards img { border-radius: 5px; }
.feature-card .button { align-self: center; }

/* about strip / contact strip */
.about-strip { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; }
.about-strip .mark { background: var(--white); box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; padding: 40px; }
.about-strip .mark img { width: 62%; max-width: 240px; }
.contact-strip { text-align: center; }
.contact-strip .mail { font-size: 20px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: 64px 0 40px; background: var(--white); border-bottom: 1px solid var(--line); }
/* P1 (6 Nov 2026): the shading is darker behind the words (left) and lighter over the subject (right), so small
   white text keeps 4.85:1 or better over bright sky and the photographs look less grey */
.page-hero.has-img { position: relative; color: #fff; border: 0; padding: 90px 0 70px;
  --scrim: linear-gradient(90deg, rgba(20, 28, 33, .72) 0%, rgba(20, 28, 33, .64) 55%, rgba(20, 28, 33, .30) 80%, rgba(20, 28, 33, .18) 100%);
  background: var(--scrim), var(--hero) center / cover no-repeat; }
.page-hero.has-img .crumbs, .page-hero.has-img .lede, .page-hero.has-img .hero-note { text-shadow: 0 1px 2px rgba(0, 0, 0, .45); }
.page-hero.has-img h1, .page-hero.has-img .lede, .page-hero.has-img .crumbs, .page-hero.has-img .crumbs a { color: #fff; }
.page-hero h1 { margin: 6px 0 0; }
.page-hero .rule { margin: 18px 0; }
.crumbs { font-size: 14px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }

/* ---------- prose pages ---------- */
.prose { font-size: 18px; }
.prose h2 { font-size: 22px; letter-spacing: .12em; text-transform: uppercase; margin-top: 1.8em; }
.prose blockquote { margin: 1.4em 0; padding: 20px 26px; background: var(--white); border-left: 5px solid var(--orange); box-shadow: var(--shadow); font-style: italic; }
.prose blockquote p { margin: 0; }
.prose .button { margin-top: 10px; }
.card-white { background: var(--white); box-shadow: var(--shadow); padding: 48px 52px; }
.about-layout { display: grid; grid-template-columns: 2fr 3fr; gap: 30px; }
.about-layout .mark { background: var(--white); box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; padding: 40px; }
.about-layout .mark img { width: 70%; max-width: 260px; }
.closing-verse { text-align: center; font-size: 24px; font-style: italic; margin-top: 2em; }
.closing-verse span { display: block; font-style: normal; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.next-links { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-weight: 700; }

/* ---------- shelves ---------- */
.shelf-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 0 50px; }
.shelf-tabs a { text-decoration: none; color: var(--ink); padding: 9px 18px; background: var(--white); box-shadow: 0 2px 8px rgba(0,0,0,.08); font-weight: 700; }
.shelf-tabs a span { color: var(--muted); font-weight: 400; margin-left: 4px; }
.shelf-tabs a[aria-current="page"] { background: var(--navy); color: var(--peach); }
.shelf-tabs a[aria-current="page"] span { color: var(--peach); opacity: .8; }
/* S2 (2 Nov 2026): Library in the menu stays underlined on every shelf page; the all-shelves page */
.site-nav a[aria-current="true"]::after { transform: scaleX(1); }
.library-page .page-hero.has-img { background-position: center, 75% 57%; }  /* 9 Nov 2026: books and jar whole from the iPad (2.6:1) to 1920 px (5.7:1) */
.library-all .shelf-tabs { position: sticky; top: 76px; z-index: 5; padding: 12px 0; margin-bottom: 30px; background: var(--white); }
.library-shelf { scroll-margin-top: 150px; }
.library-shelf + .library-shelf { margin-top: 40px; padding-top: 50px; border-top: 1px solid var(--line); }
.library-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; }
.library-head h2, .library-head h3 { margin: 0; }
.library-head h3 { font-weight: 700; font-size: clamp(26px, 3vw, 36px); }     /* a shelf heading, h3 under its group since Review 66 item 35: the h2 look kept */
.library-open { font-weight: 700; color: var(--orange-ink); }   /* one link colour across the site (style review, Gerhard 10 Nov 2026) */
.library-intro { color: var(--muted); margin: 6px 0 36px; }
@media (max-width: 640px) {
  .library-all .shelf-tabs { top: 64px; background: var(--white); padding: 8px 16px; margin-bottom: 24px; }
  .library-shelf { scroll-margin-top: 130px; }
  .library-shelf + .library-shelf { margin-top: 20px; padding-top: 32px; }
  .library-intro { margin-bottom: 24px; }
}

.shelf-scroll { overflow-x: auto; overflow-y: visible; margin: 0 -24px 64px; padding: 0 24px; scrollbar-width: thin; }
.shelf-row { --gap: clamp(18px, 3vw, 44px); min-width: calc(var(--n) * 150px + (var(--n) - 1) * var(--gap)); }
.shelf-items, .shelf-captions {
  display: grid; grid-template-columns: repeat(var(--n), minmax(130px, 200px));
  column-gap: var(--gap); justify-content: center; padding: 0 30px;
}
.shelf-items { align-items: end; position: relative; z-index: 2; }

/* the standing object: a book with spine and page block, or a stacked card deck */
.standing { display: block; position: relative; margin-bottom: -7px; perspective: 900px;
  width: calc(var(--scale, 1) * 100%); justify-self: center; }   /* printed books at their real relative size */
.standing .obj { position: relative; display: block; transform-origin: 50% 100%; transition: transform .3s ease; transform: rotateY(-14deg); transform-style: preserve-3d; }
.standing img { display: block; width: 100%; aspect-ratio: var(--ratio); object-fit: cover; position: relative; z-index: 2;
  box-shadow: 0 14px 22px -8px rgba(0, 40, 45, .45); }
.standing.book .obj::before { /* spine crease */
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 7%; z-index: 3; pointer-events: none;
  background: linear-gradient(to right, rgba(0,0,0,.30), rgba(255,255,255,.22) 40%, rgba(0,0,0,.10) 75%, rgba(0,0,0,0));
}
.standing.book .obj::after { /* page block on the right */
  content: ''; position: absolute; top: 2px; bottom: 2px; right: calc(var(--thick) * -1); width: var(--thick); z-index: 1;
  background: repeating-linear-gradient(to right, #fbf9f4 0 1px, #d9d3c8 1px 2px);
  transform: skewY(-20deg); transform-origin: left;
}
.standing.cards img { border-radius: 8px; box-shadow: 5px -4px 0 -1px #e9e4dc, 10px -8px 0 -2px #d9d3c9, 0 14px 22px -8px rgba(0, 40, 45, .45); }
.standing:hover .obj, .standing:focus-visible .obj { transform: rotateY(0) translateY(-8px); }

/* glass shelf with a turquoise tint */
.glass { position: relative; display: block; height: 46px; z-index: 1; }
.glass-top {
  position: absolute; left: 0; right: 0; top: 0; height: 26px;
  background: linear-gradient(to bottom, rgba(170, 236, 232, .30), rgba(90, 200, 196, .45));
  clip-path: polygon(3% 0, 97% 0, 100% 100%, 0 100%);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}
.glass-front {
  position: absolute; left: 0; right: 0; top: 26px; height: 12px;
  background: linear-gradient(to bottom, rgba(120, 220, 215, .85), rgba(40, 150, 150, .70) 60%, rgba(25, 110, 112, .80));
  border-top: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 16px 22px -10px rgba(0, 70, 75, .45), inset 0 -2px 3px rgba(0, 60, 65, .25);
}
.glass::after { /* soft reflection under the shelf */
  content: ''; position: absolute; left: 6%; right: 6%; top: 40px; height: 22px;
  background: radial-gradient(ellipse at 50% 0, rgba(63, 184, 180, .28), rgba(63, 184, 180, 0) 70%);
}
.shelf-captions { margin-top: 16px; align-items: start; }
.caption { text-align: center; }
.caption .kicker { font-size: 11px; margin-bottom: 4px; }
.caption .t { display: block; font-weight: 700; font-size: 18px; line-height: 1.25; color: var(--ink); text-decoration: none; }
.caption .t:hover { text-decoration: underline; }
.caption .d { display: block; font-size: 14px; line-height: 1.45; color: var(--muted); margin-top: 6px; }
.caption .actions { display: flex; justify-content: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.caption .actions a { font-size: 14px; font-weight: 700; text-decoration: none; padding: 6px 14px; }
.caption .read { color: var(--orange-ink); background: rgba(244, 101, 48, .14); }
.caption .read:hover { background: var(--orange); }
.caption .buy { color: #fff; background: var(--navy); }
.empty { text-align: center; color: var(--muted); font-style: italic; }

.other-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.other { display: flex; gap: 18px; align-items: center; background: var(--white); box-shadow: var(--shadow); text-decoration: none; color: var(--text); }
.other-img { width: 120px; align-self: stretch; min-height: 110px; background: var(--img) center / cover; flex: 0 0 120px; }
.other strong { display: block; font-size: 20px; color: var(--ink); }
.other span span { display: block; color: var(--muted); font-size: 15px; padding-right: 14px; }

/* ---------- contact / donate ---------- */
.contact-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 30px; }
.contact-form { background: var(--white); box-shadow: var(--shadow); padding: 40px; display: grid; gap: 18px; }
.contact-form label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: 400 17px/1.4 var(--serif); padding: 12px 14px; border: 1px solid #cfcfcf; background: #fff; color: var(--text); border-radius: 0; width: 100%;
}
.contact-form textarea { resize: vertical; }
.contact-form .button { justify-self: start; }
.form-note { margin: 0; color: var(--muted); font-size: 15px; }
.contact-aside { background: var(--white); box-shadow: var(--shadow); padding: 40px; }
.contact-aside h2 { font-size: 20px; letter-spacing: .1em; text-transform: uppercase; margin-top: 0; }
.contact-aside p + h2 { margin-top: 1.6em; }
.draft-note { background: #fff6e0; border-left: 5px solid #e0a400; padding: 14px 18px; font-size: 15px; }
.donate-options { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.amount { padding: 14px 24px; background: var(--white); box-shadow: var(--shadow); font-weight: 700; }

/* ---------- footer ---------- */
.site-footer { background: var(--band); border-top: 1px solid #ccc; color: #222; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 30px; padding-top: 48px; padding-bottom: 32px; }
/* H centred on the name beside it; the line below starts under the name, so the H stands alone (Gerhard 14 Nov, replacing 7 Nov) */
.footer-brand { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 8px; align-items: center; align-self: start; }
.footer-brand img { width: 54px; height: auto; }
.footer-brand .fb-name { margin: 0; font-size: 18px; text-transform: uppercase; letter-spacing: .04em; text-wrap: balance; }
.footer-brand .fb-line { grid-column: 2; margin: 0; font-size: 14px; color: var(--muted); }   /* starts under the name; the H stands alone */
.site-footer h2 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #222; margin: 0 0 12px; font-weight: 700; }
.site-footer nav a, .site-footer a { display: block; color: #222; text-decoration: none; margin-bottom: 6px; text-transform: uppercase; font-size: 13px; letter-spacing: .06em; }
.site-footer a:hover { color: var(--orange-ink); }
.footer-place { color: var(--muted); font-size: 14px; margin-top: 4px; }
.footer-base { border-top: 1px solid #ddd; padding-top: 16px; padding-bottom: 24px; font-size: 13px; color: var(--muted); }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .site-nav a { font-size: 16px; padding: 8px 9px; }
  .brand-imprint { font-size: 21px; }
}
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); padding: 6px 0 14px; display: none; box-shadow: 0 12px 20px rgba(0,0,0,.25); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 26px; font-size: 18px; }
  .site-nav a::after { left: 26px; right: auto; width: 40px; bottom: 6px; }
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .feature-img { order: 0; }
  .feature-img { min-height: 300px; }
  .about-strip, .about-layout, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 60px 0; }
}

/* ---------- phone ---------- */
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 16px; }
  .header-inner { min-height: 64px; padding: 0 12px 0 16px; }
  .brand img { height: 36px; }
  .brand-imprint { font-size: 18px; }
  .brand-name { font-size: 9px; letter-spacing: .24em; }
  .hero { min-height: auto; padding: 56px 0; align-items: flex-end; }
  .hero-panel { padding: 28px 22px 26px; background: rgba(255, 255, 255, 0.80); }
  .hero-verse { font-size: 16.5px; }
  .feature-card, .card-white, .contact-form, .contact-aside { padding: 30px 22px; }
  .feature-img { min-height: 230px; }
  .shelf-scroll { margin: 0 -16px 48px; padding: 0 16px; scroll-snap-type: x proximity; }
  .shelf-row { --gap: 18px; min-width: calc(var(--n) * 138px + (var(--n) - 1) * 18px + 24px); }
  .shelf-items, .shelf-captions { grid-template-columns: repeat(var(--n), 138px); padding: 0 12px; justify-content: start; }
  .caption .d { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .next-links { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .standing .obj { transform: none; }
}

/* cover rows: card decks keep rounded corners whichever shelf they come from */
.cover-row a.cards img { border-radius: 5px; }
/* Recently Added mixes books and card decks: one height for all, each width from its own shape */
.cover-row.recent { flex-wrap: nowrap; overflow-x: auto; justify-content: safe center; padding: 4px 6px 18px; margin-bottom: 10px; }   /* padding: room for the cover shadows inside the scroll box */
.cover-row.recent a { width: auto; height: 96px; flex: none; }
.cover-row.recent img { height: 100%; width: auto; }
@media (max-width: 640px) { .cover-row.recent { gap: 8px; } .cover-row.recent a { height: 56px; } }   /* six fit in a phone card (about 314px) */

/* house button icons */
.bi { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.button:hover .bi { transform: translateY(-1px) scale(1.08); }
.caption .actions a { display: inline-flex; align-items: center; gap: 6px; }
.caption .actions .bi { width: 16px; height: 16px; }

/* home: contact section with the query form */
.contact-home .contact-grid { align-items: start; }
.contact-intro { padding-top: 10px; }
.contact-intro .mail a { display: inline-flex; align-items: center; gap: 8px; font-size: 19px; }
.contact-intro .mail .bi { width: 22px; height: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.contact-home .contact-grid { grid-template-columns: 2fr 3fr; }
@media (max-width: 960px) { .contact-home .contact-grid { grid-template-columns: 1fr; } }

/* ---------- bookstore ---------- */
.store-item { display: grid; grid-template-columns: 4fr 7fr; gap: 40px; align-items: center; }
.store-item + .store-item { margin-top: 70px; }
.store-item.flip { grid-template-columns: 7fr 4fr; }
.store-item.flip .store-stage { order: 2; }
.store-stage { padding: 30px 30px 0; }
.store-stage .standing { width: calc(min(240px, 70%) * var(--scale, 1)); margin: 0 auto -7px; }
.store-card { background: var(--white); box-shadow: var(--shadow); padding: 44px 48px; }
.store-card h2 { margin: 0; }
.store-sub { font-style: italic; color: #444; margin: 6px 0 0; font-size: 19px; }
.store-tagline { font-weight: 700; color: var(--ink); }
.store-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.store-note { text-align: center; color: #444; }
.store-note .bi { width: 40px; height: 40px; color: var(--orange-ink); }
.caption .order { color: #fff; background: var(--navy); }
.caption .order:hover { background: var(--navy-2); }
@media (max-width: 960px) {
  .store-item, .store-item.flip { grid-template-columns: 1fr; gap: 10px; }
  .store-item.flip .store-stage { order: 0; }
  .store-card { padding: 30px 22px; }
}

/* wordmark: "— THE WATER CARRIER —" spans exactly the width of HYDROPHOROS;
   the rules flex to fill whatever the letters leave over */
.brand-text { display: inline-grid; justify-items: stretch; }
.brand-imprint { letter-spacing: .06em; margin-right: -.06em; }
.brand-name { width: 100%; letter-spacing: .2em; gap: 7px; margin-top: 5px; }
.brand-name::before, .brand-name::after { flex: 1 1 auto; width: auto; min-width: 8px; }
@media (max-width: 640px) { .brand-name { letter-spacing: .14em; gap: 5px; } }
@media (max-width: 1100px) and (min-width: 641px) { .brand-name { font-size: 10px; letter-spacing: .12em; gap: 6px; } }

/* contact form: honeypot (hidden from people, visible to bots), status line, Turnstile */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form { position: relative; }
.form-note.ok { color: #1f6e46; font-weight: 700; }
.form-note.err { color: #a12a0b; font-weight: 700; }
.contact-form [aria-invalid="true"] { border-color: #a12a0b; box-shadow: 0 0 0 1px #a12a0b; }
.contact-form button[disabled] { opacity: .6; cursor: progress; }
.cf-turnstile:empty { display: none; }

/* accessibility: text on orange meets WCAG AA (4.8:1; the old #611e05 was 4.0:1) */
:root { --button-ink: #4a1603; }
.button { color: var(--button-ink); }
.button.ghost { color: var(--ink); }
.caption .read { color: var(--button-ink); }
.caption .read:hover { color: var(--button-ink); }

/* ---------- search ---------- */
.header-search { color: var(--peach); display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; }
.header-search .bi { width: 22px; height: 22px; }
/* the search glass turns white on hover, like the Ask mark beside it (Gerhard, 21 Nov 2026) */
.header-search:hover { color: #fff; }
.search-page { --pagefind-ui-primary: #611e05; --pagefind-ui-text: #2b2b2b; --pagefind-ui-background: #fff;
  --pagefind-ui-border: #cfcfcf; --pagefind-ui-tag: #f1ebe0; --pagefind-ui-border-radius: 0;
  --pagefind-ui-font: "Caladea", Georgia, serif; --pagefind-ui-scale: 1; }
#search .pagefind-ui__search-input { font-weight: 400; }
#search .pagefind-ui__result-link { color: var(--ink); }
#search .pagefind-ui__result-thumb { width: 70px; }
#search mark { background: rgba(244, 101, 48, .28); color: inherit; }
/* S8 (2 Nov 2026): covers 48px wide in their real upright shape; the filter column without the browser's fieldset frame */
.search-page { --pagefind-ui-image-box-ratio: 2 / 3; }
#search .pagefind-ui__result-thumb { width: 48px; max-width: 48px; flex: 0 0 48px; }
#search .pagefind-ui__result-image { box-shadow: 0 2px 6px rgba(0, 0, 0, .18); }
#search .pagefind-ui__filter-panel { border: 0; padding: 0; margin-left: 0; margin-right: 0; }
#search .pagefind-ui__filter-block { border-bottom-width: 1px; }
/* 320 px (iPhone SE): Pagefind gives each excerpt a 250 px minimum, which with the 48 px cover pushed its rows 23 px past
   the screen (site search design 9.1, 15 Nov 2026); the text box may now shrink to the space it has */
#search .pagefind-ui__result-inner, #search .pagefind-ui__result-excerpt { min-width: 0; }
@media (max-width: 960px) { .header-search { margin-left: auto; } }
/* header source order: brand, menu button, menu, search (style review 4.5). On desktop the button is hidden, so Tab
   follows the eye; on phones the button is drawn after the search icon, as before */
@media (max-width: 960px) { .menu-toggle { order: 2; } }

/* ---------- order a printed copy (/order/) ---------- */
.order [hidden] { display: none !important; }   /* the grid rules below must not undo [hidden] */
.order-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 30px; align-items: start; }
.order-paused { grid-column: 1 / -1; margin: 0; background: #fff6e0; border-left: 5px solid #e0a400; padding: 16px 20px; font-size: 17px; }
.order-test { grid-column: 1 / -1; margin: 0; background: #fff6e0; border-left: 5px solid #e0a400; padding: 12px 18px; font-size: 15px; font-weight: 700; }
.order-form h2, .order-summary h2 { font-size: 20px; letter-spacing: .1em; text-transform: uppercase; margin: 6px 0 0; }
.order-books { display: grid; gap: 10px; }
.contact-form .order-book { display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); font-weight: 400; }
.order-book .info { flex: 1; min-width: 0; }
.order-book.on { border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); }
.contact-form .order-book .order-qty { margin: 0; font-size: 14px; color: var(--muted); text-align: center; }
.contact-form .order-book .order-qty select { width: 76px; display: block; margin-top: 4px; }
.order-subtotal { margin: 10px 0 24px; font-weight: 700; color: var(--ink); }
@media (max-width: 480px) { .contact-form .order-book { flex-wrap: wrap; } .order-book .info { flex: 1 1 150px; } .contact-form .order-book .order-qty { margin-left: 74px; text-align: left; } }
.order-book img { width: 60px; box-shadow: 0 3px 8px rgba(0,0,0,.18); }
.order-book span span { display: block; color: var(--muted); font-size: 15px; }
.order-book strong { font-size: 18px; color: var(--ink); }
.order-book .price { color: var(--text); font-weight: 700; }
.contact-form .order-qty select { width: 120px; }
.form-note.small { font-size: 14px; }
.order-summary { background: var(--white); box-shadow: var(--shadow); padding: 34px; display: grid; gap: 16px; position: sticky; top: 20px; }
.order-options { display: grid; gap: 10px; }
.order-option { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; padding: 12px; border: 1px solid var(--line); cursor: pointer; }
.order-option:has(input:checked) { border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); }
.order-option input { margin-top: 5px; }
.order-option span span { display: block; color: var(--muted); font-size: 14px; }
.order-option b { white-space: nowrap; }
.addr-list { list-style: none; margin: -6px 0 12px; padding: 0; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.addr-list li[role=option] { padding: 12px 14px; cursor: pointer; border-top: 1px solid var(--line); line-height: 1.35; }
.addr-list li[role=option]:first-child { border-top: 0; }
.addr-list li[role=option]:hover, .addr-list li.on { background: var(--peach); }
.addr-list .addr-by { padding: 6px 14px; font-size: 12px; color: var(--muted); text-align: right; border-top: 1px solid var(--line); }
.addr-ask { margin: 4px 0 16px; padding: 14px 16px; border: 1px solid var(--orange); background: var(--band); }
.addr-ask p { margin: 0 0 12px; }
.addr-ask div { display: flex; gap: 10px; flex-wrap: wrap; }
.order-total { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; margin: 0; padding-top: 12px; border-top: 1px solid var(--line); }
.order-total dd { margin: 0; text-align: right; }
.order-total .t { font-weight: 700; font-size: 20px; color: var(--ink); padding-top: 6px; }
#order-pay { min-height: 50px; }
.order-done { grid-column: 1 / -1; background: var(--white); box-shadow: var(--shadow); padding: 50px 40px; text-align: center; }
.order-done > .bi { width: 44px; height: 44px; stroke: var(--orange); }
.order-done p { max-width: 560px; margin-left: auto; margin-right: auto; }
@media (max-width: 860px) {
  .order-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; padding: 30px 22px; }
}

/* tables in text pages (Terms of Sale: seller details) */
.prose table { border-collapse: collapse; margin: 0 0 1.4em; }
.prose td { padding: 5px 18px 5px 0; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose td:first-child { color: var(--muted); white-space: nowrap; }
@media (max-width: 640px) { .prose td:first-child { white-space: normal; } }

/* ---------- refinements from the 26 Oct 2026 site review ---------- */
.site-header { z-index: 1000; }          /* PayPal's frames (z-index 100) must slide under the header */
.hero-intro { margin: 0 0 20px; font-size: 18px; line-height: 1.5; color: #1d1d1d; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.local-note { display: flex; gap: 12px; align-items: flex-start; background: var(--white); border-left: 5px solid var(--teal-ink);
  padding: 16px 20px; margin: 0 0 44px; box-shadow: var(--shadow); font-size: 16px; line-height: 1.55; }
.local-note .bi { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--teal-ink); }
.local-note.small { box-shadow: none; margin: 0; padding: 12px 14px; font-size: 15px; background: var(--band); display: block; }
.store-price { font-size: 18px; color: var(--ink); margin: 18px 0 0; }
.store-price span { display: block; font-size: 15px; color: var(--muted); }
/* S4 (2 Nov 2026): a larger cover, and the delivered price read at a glance */
.store-stage .standing { width: calc(min(300px, 82%) * var(--scale, 1)); }
/* site review W1 (3 Nov 2026): the price is one calm line at body size */
.store-price { font-size: inherit; color: var(--ink); }
.store-price strong { font-size: inherit; font-weight: 700; }
@media (max-width: 640px) { .store-stage .standing { width: calc(min(230px, 64%) * var(--scale, 1)); } }   /* phones: the price and Order button come sooner */
.order-next ol { margin: 0; padding-left: 20px; display: grid; gap: 10px; font-size: 16px; line-height: 1.5; }
/* "Read free" leads (the mission); "Order print" is the outline button */
.caption .read { color: var(--button-ink); background: var(--orange); }
.caption .read:hover { background: var(--orange); filter: brightness(1.06); }
.caption .order { color: var(--navy); background: transparent; box-shadow: inset 0 0 0 2px var(--navy); }
.caption .order:hover { background: var(--navy); color: #fff; }
/* a phone on its side gets the phone strip's picture too (no iPad is under 500px tall) */
@media (max-height: 500px) and (orientation: landscape) { html[data-banners="photo"] .feature-img { background-image: var(--img-sm, var(--img)); } }
/* captions: the buttons line up across a shelf whatever the title length */
.shelf-captions { align-items: stretch; }
.caption { display: flex; flex-direction: column; }
.caption .actions { margin-top: auto; padding-top: 10px; }
@media (max-width: 640px) {
  .feature-img { min-height: 120px; }  /* compact photos: the phone home page was over 7,000px long */
  /* phones: the slim strip may have its own picture (--img-sm): the Bookstore's square photo was sharp only in places
     the strip cuts off, so it showed blur. Phones only; iPads and computers keep the square photo (Gerhard, 4 Nov 2026) */
  html[data-banners="photo"] .feature-img { background-image: var(--img-sm, var(--img)); }
  /* a shelf wider than the phone fades at the right edge until scrolled to the end */
  .shelf-scroll.more { -webkit-mask-image: linear-gradient(90deg, #000 82%, rgba(0,0,0,.15));
                       mask-image: linear-gradient(90deg, #000 82%, rgba(0,0,0,.15)); }
}
.page-hero.has-img .hero-note { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .92); max-width: 60ch; }
.page-hero.has-img .hero-note a { color: #fff; }
/* S5 (2 Nov 2026): on phones the photo banner stays under about 200px and drops its subtitle line,
   so the first cover is on the first screen (Bookstore, the shelves, Devotionals) */
@media (max-width: 640px) {
  html[data-banners="photo"] .page-hero.has-img { padding: 24px 0 22px; }
  html[data-banners="photo"] .page-hero.has-img .lede { display: none; }
  html[data-banners="photo"] .page-hero.has-img .rule { margin: 12px 0 0; }
  html[data-banners="photo"] .page-hero.has-img .hero-note { margin-top: 10px; font-size: 13.5px; }
  html[data-banners="photo"] .page-hero.has-img + .section { padding-top: 28px; }
}

/* placeholders readable on white (Safari's default grey is about 2.3:1) */
input::placeholder, textarea::placeholder { color: #6f6b64; opacity: 1; }

/* Headings reached by a #link stay clear of the fixed top bar. */
h2[id], h3[id] { scroll-margin-top: 110px; }
.coupon { margin: 4px 0 14px; }
.coupon label { margin-top: 8px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.coupon-row { display: flex; gap: 10px; margin-top: 10px; }
.coupon-row input { flex: 1; min-width: 0; font: 400 17px/1.4 var(--serif); padding: 12px 14px; border: 1px solid #cfcfcf; background: #fff; color: var(--text); border-radius: 0; text-transform: uppercase; letter-spacing: .04em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.coupon .link-btn { font-weight: 700; }

/* ---------- style review of 31 Oct 2026 (docs/reviews/2026-10-31 Site style review.md) ---------- */
:root { color-scheme: light; }    /* 3.5: no automatic dark mode; iOS keeps form controls light */

/* 1.2 the hero's message is the headline under the title, set larger than the sentence that follows it */
.hero-sub { font-size: clamp(21px, 2vw, 25px); font-style: italic; color: #1d1d1d; margin: 0 0 12px; line-height: 1.3; }
.hero-intro { font-size: 17px; }
/* 8.3 phones get the 960px hero (build_wc_site.py makes it; home.html preloads the one this rule picks) */
@media (max-width: 640px) { .hero { background-image: var(--hero-sm, var(--hero)); } }
/* S1 (2 Nov 2026): the promise is the headline; the newest title waits in the panel with Read and Listen.
   On a phone the panel reads headline, sentence, button, newest title, then the verse, all in the first screen
   up to the newest title. */
.home .hero-panel { display: flex; flex-direction: column; }
.home .hero-panel h1 { font-size: clamp(32px, 3.6vw, 44px); line-height: 1.15; }
.home .hero-actions { margin-bottom: 4px; }
@media (min-width: 641px) { .home .hero { padding: 48px 0; } }   /* the taller panel keeps clear of the header */
.hero-new { display: flex; gap: 16px; align-items: center; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(0, 0, 0, .12); }
.hero-new-cover { flex: none; width: 64px; }
.hero-new-cover img { display: block; width: 64px; height: auto; box-shadow: 0 6px 14px rgba(0, 0, 0, .22); background: #e4ddd2; }
.hero-new-text { min-width: 0; }
.hero-new .kicker { margin: 0 0 2px; font-size: 12px; color: #444; }   /* P6: 4.9:1 on the panel */
.hero-new-title { display: block; font-weight: 700; font-size: 19px; line-height: 1.25; color: var(--ink); text-decoration: none; }
.hero-new-title:hover { text-decoration: underline; }
.hero-new-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.hero-new-actions .button { gap: 6px; min-height: 44px; padding: 8px 16px; font-size: 15px; }
.hero-new-actions .bi { width: 18px; height: 18px; }
@media (max-width: 640px) {
  .home .hero { padding: 16px 0 24px; align-items: flex-start; }
  .home .hero-panel { padding: 22px 20px 20px; }
  .home .hero-panel h1 { font-size: 30px; }
  .home .hero-panel .rule { margin: 12px 0 14px; }
  .home .hero-intro { margin-bottom: 16px; }
  .home .hero-verse { order: 5; margin: 22px 0 0; font-size: 16px; }
  .home .hero-actions { order: 3; }
  .home .hero-actions .button.ghost { display: none; }   /* About is in the menu and further down; one clear action here */
  .home .hero-new { order: 4; margin-top: 18px; padding-top: 16px; }
}

/* 1.5 Bookshelf hero: zoom removed 5 Nov 2026, the new books photo shows whole */

/* 1.6 About: the monogram card no longer fills a phone screen before the text */
@media (max-width: 960px) { .about-layout .mark { padding: 24px; } .about-layout .mark img { width: 96px; } }

/* 2.1 a comfortable reading measure on the text pages */
.prose p, .prose li, .prose blockquote { max-width: 68ch; }

/* 2.2 the plain page hero takes a hint of the warm bands */
.page-hero.plain { background: linear-gradient(#fff, #fbfaf8); }

/* 2.3 / 8.2 footer: capitals for the headings only; links in sentence case with room to tap (about 36px) */
.site-footer nav a, .site-footer a { text-transform: none; letter-spacing: 0; font-size: 15px; line-height: 1.6; padding: 6px 0; margin: 0; }
.site-footer h2 { margin-bottom: 6px; }
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px 18px; }
  .footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; }
}
/* S10 (2 Nov 2026): every small link gets an invisible tap area at least 44px tall (Apple's minimum),
   drawn by ::after so nothing on the page moves or changes size */
.site-footer a, .crumbs a, .caption .actions a, .caption .t, .header-search, .store-note a { position: relative; }
.site-footer a::after, .crumbs a::after, .caption .actions a::after, .caption .t::after, .header-search::after, .store-note a::after {
  content: ''; position: absolute; left: -4px; right: -4px; top: 50%; height: 44px; min-width: 44px; transform: translateY(-50%); }
.caption .t::after { height: 100%; min-height: 44px; }
/* test round 4 Nov 2026 (S2): the same invisible 44px tap area for the links that still lacked it */
.next-links a, .chip, .hero-new-title, .mail a { position: relative; }
.next-links a::after, .chip::after, .hero-new-title::after, .mail a::after {
  content: ''; position: absolute; left: -4px; right: -4px; top: 50%; height: 44px; min-width: 44px; transform: translateY(-50%); }
/* site review W2 (3 Nov 2026): the visible tap targets themselves reach 44px; links grow by padding offset with negative margin, so nothing moves */
.caption .actions a { min-height: 44px; padding: 0 16px; box-sizing: border-box; }
.caption .t { padding: 11px 0; margin: -11px 0; }
.crumbs a { display: inline-block; padding: 11px 6px; margin: -11px -6px; }
.library-open { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; margin: -9px -8px; }

/* (3.2 tinted single-action button reverted, Gerhard 31 Oct: every Read button is the same solid orange) */
/* 6.3 series line above a caption title (Wake Up! · 1 and 2) */
.caption .kicker.series { color: #8a4a2a; letter-spacing: .12em; }

/* 4.2 404 and the empty search page */
.search-mini { display: flex; gap: 10px; margin: 6px 0 18px; max-width: 620px; }
.search-mini input { flex: 1; min-width: 0; font: 400 17px/1.4 var(--serif); padding: 12px 14px; border: 1px solid #cfcfcf; background: #fff; color: var(--text); border-radius: 0; }
.search-mini .button { padding: 12px 22px; }
.house-verse { margin: 0 auto 36px; max-width: 640px; text-align: center; font-size: 22px; font-style: italic; color: #1d1d1d; }
.house-verse p { margin: 0 0 8px; }
.house-verse cite { font-style: normal; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #555; }
.search-start { margin-top: 26px; }
.search-start[hidden] { display: none; }
.search-start .kicker { margin: 0 0 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 16px; background: var(--white); box-shadow: inset 0 0 0 1px #d8d2c8;
  color: var(--ink); text-decoration: none; border-radius: 999px; font-size: 16px; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--orange); background: #fff7f2; }
.search-start .shelf-tabs { justify-content: flex-start; margin: 0; }
/* the two sermon buttons wrap together (Gerhard, 17 Nov 2026): never "Sermons to hear" alone on a row */
.search-start .shelf-pair { display: flex; flex-wrap: wrap; gap: inherit; max-width: 100%; }
@media (max-width: 640px) { .search-mini { flex-direction: column; } .search-mini .button { justify-content: center; } }

/* 4.4 phones: shelves in rows of two (no sideways scroll), shelf tabs in one scrolling row */
.rows-2 { display: none; }
@media (max-width: 640px) {
  .rows-4 { display: none; }
  .rows-2 { display: block; }
  .rows-2 .shelf-scroll { overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .rows-2 .shelf-row { min-width: 0; --gap: 22px; }
  .rows-2 .shelf-items, .rows-2 .shelf-captions { grid-template-columns: repeat(var(--n), minmax(0, 150px)); justify-content: center; padding: 0 8px; }
  .shelf-section .shelf-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin: 0 -16px 40px; padding: 4px 16px 12px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .shelf-section .shelf-tabs::-webkit-scrollbar { display: none; }
  .shelf-tabs a { flex: none; white-space: nowrap; }
}
/* S6 (2 Nov 2026): on phones the tab row fades at an edge that has more tabs beyond it (site.js sets the classes) */
@media (max-width: 640px) {
  .shelf-section .shelf-tabs.more-r { -webkit-mask-image: linear-gradient(90deg, #000 80%, transparent); mask-image: linear-gradient(90deg, #000 80%, transparent); }
  .shelf-section .shelf-tabs.more-l { -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%); mask-image: linear-gradient(90deg, transparent, #000 20%); }
  .shelf-section .shelf-tabs.more-l.more-r { -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent); }
}

/* 6.2 booklets and books stand taller in the mixed Recently Added row, so their titles survive */
.cover-row.recent a.book { height: 108px; }
@media (max-width: 640px) { .cover-row.recent a.book { height: 66px; } }

/* 7.2 covers show the reader's greige while they load, not a white box */
.cover-row img, .standing img, .other-img { background-color: #e4ddd2; }
.cover-row img, .standing img { background-image: linear-gradient(#ece6dd, #ddd5c9); }

/* 7.3 iOS draws a native select 24px tall whatever the padding: draw our own, as tall as the fields */
.contact-form select { -webkit-appearance: none; appearance: none; min-height: 48px; padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18' fill='none' stroke='%23444' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; }

/* Ink-sketch banners (31 Oct 2026, site.json "banners": "ink"; the photos are the fallback, library/banners/).
   Line art on the booklet paper: no dark overlay on the page banners, dark headings, the drawing whole at the right. */
html[data-banners="ink"] { --paper-w: #F3EEE6; --grain: url("data:image/svg+xml,%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 values='0 0 0 0 0.23 0 0 0 0 0.18 0 0 0 0 0.12 1.6 0 0 0 -0.55'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.12'/%3E%3C/svg%3E"); }
html[data-banners="ink"] .hero { background: var(--grain), var(--hero) right 3% bottom / auto 104% no-repeat, var(--paper-w); }
html[data-banners="ink"] .hero-panel { background: rgba(255,255,255,.94); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 10px 30px rgba(59,47,37,.10); }
@media (max-width: 1200px) and (min-width: 641px) { html[data-banners="ink"] .hero { background-size: auto, auto 86%, auto; background-position: 0 0, right -6% bottom, 0 0; } }
@media (max-width: 640px) { html[data-banners="ink"] .hero { background-image: var(--grain), var(--hero-sm, var(--hero)); background-color: var(--paper-w);
  background-repeat: repeat, no-repeat; background-size: auto, 170% auto; background-position: 0 0, 72% 100%; padding: 28px 0 230px; align-items: flex-start; } }
html[data-banners="ink"] .page-hero.has-img { color: #2a221b; border-bottom: 1px solid #e3dbcf;
  background: var(--grain), var(--hero) right 4% center / auto 125% no-repeat, var(--paper-w); }
html[data-banners="ink"] .page-hero.has-img h1, html[data-banners="ink"] .page-hero.has-img .crumbs, html[data-banners="ink"] .page-hero.has-img .crumbs a { color: #2a221b; }
html[data-banners="ink"] .page-hero.has-img .lede, html[data-banners="ink"] .page-hero.has-img .hero-note { color: #4a3e33; }
html[data-banners="ink"] .page-hero.has-img .hero-note a { color: var(--orange-ink); }
@media (max-width: 960px) { html[data-banners="ink"] .page-hero.has-img { background-size: auto, auto 85%, auto; background-position: 0 0, right -6% bottom, 0 0; } }
@media (max-width: 640px) { html[data-banners="ink"] .page-hero.has-img { background-size: auto, auto 150px, auto; background-position: 0 0, right -30px bottom, 0 0; padding-bottom: 170px; } }
html[data-banners="ink"] .feature-img { background: var(--grain), var(--img) center / 88% auto no-repeat, var(--paper-w); }
@media (max-width: 640px) { .feature-img { box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 2px 4px rgba(0,0,0,.08), 0 10px 22px rgba(0,0,0,.14); } }

/* S3 (2 Nov 2026): one accent colour. Everything you can press, and every "chosen" state, is the deep teal of the reader
   (#1f6e6b; white text on it 6.0:1, hover 8.0:1, pressed 10:1). Orange keeps one job only: the short house rule under
   headings (and the matching edge of a quotation), which is never pressable. */
:root { --accent: #1f6e6b; --accent-hover: #185a57; --accent-press: #134a48; --accent-tint: rgba(31, 110, 107, .14); }
.button { background: var(--accent); color: #fff; }
.button:hover { background: var(--accent-hover); filter: none; }
.button:active { background: var(--accent-press); transform: none; }
.button.ghost { background: transparent; color: var(--ink); }
.button.ghost:hover { background: var(--accent-tint); }
.button.disabled { background: #ddd; color: #777; }
.caption .read { background: var(--accent); color: #fff; }
.caption .read:hover { background: var(--accent-hover); color: #fff; filter: none; }
.caption .read:active { background: var(--accent-press); }
.chip:hover { box-shadow: inset 0 0 0 1px var(--accent); background: #eef5f4; }
.order-book.on, .order-option:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.addr-ask { border-color: var(--accent); }
.order-done > .bi { stroke: var(--accent); }
.search-page { --pagefind-ui-primary: #1f6e6b; }
#search mark { background: rgba(31, 110, 107, .18); }

/* site review H1 (3 Nov 2026): the home page's one Newest row, covers large enough to read; About and Contact share a band */
.newest-band .section-head { margin-bottom: 30px; }
.newest-band .cover-row.recent { flex-wrap: wrap; overflow: visible; gap: 22px; margin: 0 0 22px; padding: 4px 0 10px; }
.newest-band .cover-row.recent a { height: 190px; }
.newest-band .cover-row.recent a.book { height: 214px; }
.newest-more { text-align: center; margin: 0; }
.contact-intro .contact-head { margin-top: 48px; }
@media (max-width: 640px) {
  .newest-band .cover-row.recent { gap: 18px 14px; }
  .newest-band .cover-row.recent a { height: 118px; }
  .newest-band .cover-row.recent a.book { height: 132px; }
  .contact-intro .contact-head { margin-top: 36px; }
}

/* site review H2 (3 Nov 2026): the library opens with the same Newest row, smaller; the shelves follow in their usual order */
.library-newest { text-align: center; margin: 0 0 30px; }
.library-newest .kicker { font-size: 13px; font-weight: 400; margin: 0 0 14px; }
.library-newest .cover-row.recent { flex-wrap: wrap; overflow: visible; gap: 18px; margin: 0; padding: 4px 0 8px; }
.library-newest .cover-row.recent a { height: 150px; }
.library-newest .cover-row.recent a.book { height: 168px; }
@media (max-width: 640px) {
  .library-newest { margin-bottom: 18px; }
  .library-newest .cover-row.recent { gap: 14px 12px; }
  .library-newest .cover-row.recent a { height: 100px; }
  .library-newest .cover-row.recent a.book { height: 112px; }
}

/* site review H4 (3 Nov 2026): the rule under headings, and the matching edge of a quotation, take the teal of the buttons */
.rule { background: var(--accent); }
.prose blockquote { border-left-color: var(--accent); }

/* site review H5 (3 Nov 2026): the Bookstore's South Africa note below the banner, as a calm note */
.store-local { max-width: 760px; margin: 0 auto 50px; }
@media (max-width: 640px) { .store-local { margin-bottom: 30px; font-size: 15px; } }

/* site review H6 (3 Nov 2026): the home page's Newest titles stand on a glass shelf like the shelf pages; one shelf of six on
   desktop, rows of three on tablets, rows of two on phones (no sideways scroll). The library's plain Newest strip keeps its
   covers on one baseline. */
.rows-3 { display: none; }
.newest-band .shelf-scroll { margin-bottom: 40px; }
.newest-band .caption .d { display: none; }   /* title and Read only: the shelf pages carry the descriptions */
@media (min-width: 1101px) { .newest-band .shelf-row { --gap: 30px; } }
@media (max-width: 1100px) and (min-width: 641px) {
  .newest-band .rows-4 { display: none; }
  .newest-band .rows-3 { display: block; }
  .newest-band .rows-3 .shelf-row { min-width: 0; }
}
@media (max-width: 640px) { .newest-band .rows-2 .shelf-scroll { margin-bottom: 36px; } }
.library-newest .cover-row.recent { align-items: flex-end; }
.library-newest .cover-row.recent a { align-self: flex-end; }

/* site review H7 (3 Nov 2026, Gerhard): the home Newest band in the Recently Added layout. On wide screens the covers
   keep that card's sizes, in one row; on phones they match the Bookstore band's covers and wrap three and three */
.newest-home .cover-row.recent { flex-wrap: nowrap; overflow-x: auto; gap: 12px; margin: 6px 0 26px; padding: 4px 6px 18px; align-items: flex-end; }
.newest-home .cover-row.recent a { height: 96px; }
.newest-home .cover-row.recent a.book { height: 108px; }
@media (max-width: 640px) {
  .newest-home .cover-row.recent { flex-wrap: wrap; overflow: visible; gap: 16px 18px; margin: 0 0 22px; padding: 4px 0 10px; }
  .newest-home .cover-row.recent a { height: 93px; }          /* the books as tall as the Bookstore band's (105px), three to a row */
  .newest-home .cover-row.recent a.book { height: 105px; }
}

/* site review N1 (3 Nov 2026): in the phone menu, the shelves sit indented under Library, regular weight and a little smaller,
   each a full 44px tap row; the current shelf takes a pale teal tint */
.nav-sub { display: none; list-style: none; margin: 0; padding: 0 0 4px; }
@media (max-width: 960px) {
  .nav-sub { display: block; }
  .site-nav .nav-sub a { display: flex; align-items: center; min-height: 44px; padding: 6px 26px 6px 46px; font-weight: 400; font-size: 16px; letter-spacing: .02em; }
  .site-nav .nav-sub a::after { display: none; }
  .site-nav .nav-sub a[aria-current="page"] { background: rgba(63, 184, 180, .16); }
}

/* site review N3 (3 Nov 2026): desktop and iPad, a chevron beside Library opens a small white panel of shelves (click, not hover) */
.nav-drop, .nav-panel { display: none; }
@media (min-width: 961px) {
  .site-nav { position: relative; }
  .nav-drop { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: -17px; margin-right: -7px; padding: 0;
    background: none; border: 0; color: var(--peach); cursor: pointer; }
  .nav-drop svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
  .nav-drop[aria-expanded="true"] svg { transform: rotate(180deg); }
  .nav-panel:not([hidden]) { display: block; position: absolute; left: 0; top: calc(100% + 14px); min-width: 230px; padding: 8px 0;
    background: var(--white); box-shadow: var(--shadow), 0 0 0 1px rgba(0, 0, 0, .05); z-index: 50; }
  .site-nav .nav-panel a { display: block; padding: 10px 20px; color: var(--ink); font-weight: 400; font-size: 16px; letter-spacing: 0; }
  .site-nav .nav-panel a::after { display: none; }
  .site-nav .nav-panel a:hover { background: var(--band); }
  .site-nav .nav-panel a[aria-current="page"] { background: var(--accent-tint); color: var(--accent); font-weight: 700; }
  .nav-panel-rule { display: block; height: 1px; margin: 6px 20px; background: var(--line); }
}

/* the home Newest picture's focal point, set beside the image in home.html (desktop square, then the phone strip) */
.newest-home .feature-img { background-position: var(--pos, center); }
@media (max-width: 640px) { .newest-home .feature-img { background-position: var(--pos-sm, var(--pos, center)); } }

/* Gerhard, 5 Nov 2026: the Newest row (home and library) is always ONE row on every screen: covers that would wrap are
   left out (site.js oneRow), so a phone shows fewer than a computer; never more than six on any screen (Gerhard). Newest first, so the oldest drop off. No sideways scroll. */
.cover-row.recent.one-row { flex-wrap: wrap; overflow: visible; }
.newest-home .cover-row.recent.one-row { padding: 4px 0 10px; margin: 6px 0 26px; }
@media (max-width: 640px) { .newest-home .cover-row.recent.one-row { margin: 0 0 22px; } }

/* Phone home hero (Gerhard's mock-up, chosen 6 Nov 2026 from seven trials; part of photo Option A): a fixed composition
   measured from his 1320 px mock-up, every position in vw (1 vw = 13.2 mock px) so it holds at every phone width.
   Photo: hero-phone.webp, his picture aligned and hazed to match the mock-up. The verse moves to a cream band under it. */
.hero-verse-band { display: none; }
.hero-br { display: none; }
@media (max-width: 640px) {
  .home { --cream: #fdf4ea; }
  .hero-br { display: inline; }
  .home .hero {
    display: block; min-height: 0; padding: 0; height: 143.2vw;
    background: var(--hero-ph, url('/assets/img/hero-phone.webp')) center top / 100% auto no-repeat, var(--cream);
  }
  .home .hero .wrap { padding: 0; max-width: none; height: 100%; }
  .home .hero-panel {
    position: relative; width: 100%; max-width: none; height: 100%; min-width: 0; padding: 0; margin: 0;
    background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; display: block;
  }
  .home .hero-panel > * { position: absolute; left: 7.3vw; margin: 0; }
  .home .hero-panel h1 { top: var(--t6-h1, 18.4vw); font-size: 7.9vw; line-height: 0.96; color: #111; letter-spacing: -.005em; }
  .home .hero-panel .rule { margin: 0; top: 44.8vw; width: 18.7vw; height: 0.83vw; background: #114e47; border-radius: 1px; }
  .home .hero-intro { top: var(--t6-intro, 48.3vw); width: 44.8vw; font-size: 3.73vw; line-height: 1.18; color: #232220; }
  .home .hero-panel .hero-verse { display: none; }
  .home .hero-actions { top: 70.9vw; }   /* a line's space below the four-line intro (Gerhard, 13 Nov 2026) */
  .home .hero-actions .button.ghost { display: none; }
  .home .hero-actions .button {
    position: relative; width: 43.6vw; height: 7.95vw; min-height: 0; padding: 0; gap: 2.2vw; justify-content: center;
    font-size: 3.5vw; font-weight: 400; color: #fbf6ee; white-space: nowrap; border: 0; border-radius: 1.4vw;
    background: linear-gradient(to bottom, #136a63 0%, #0f4f4a 55%, #063f3a 100%);
    box-shadow: 0 0.9vw 2vw rgba(10, 45, 40, .28), inset 0 1px 0 rgba(255, 255, 255, .14);
  }
  .home .hero-actions .button::before { content: ""; position: absolute; inset: -6px 0; }   /* a 44 px tap target round a 31 px button */
  .home .hero-actions .button::after { content: "\203A"; font-size: 1.25em; line-height: 1; margin-left: -.6vw; }
  .home .hero-actions .bi { width: 4.6vw; height: 4.6vw; }
  .home .hero-new {
    top: 106.2vw; left: 6.7vw; right: 6.7vw; height: 29.5vw; padding: 0; gap: 0; border-top: 0; align-items: stretch;
    border: 1px solid rgba(255, 255, 255, .55); border-radius: 1.8vw;
    background: rgba(248, 230, 212, .86); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    box-shadow: 0 1.5vw 4vw rgba(90, 55, 25, .18);
  }
  .home .hero-new-cover { position: absolute; left: 6.1vw; top: 4.8vw; width: 16.5vw; }
  .home .hero-new-cover img { width: 16.5vw; height: auto; box-shadow: 0 1vw 2.4vw rgba(30, 20, 40, .35); }
  .home .hero-new-text { position: absolute; left: 30.9vw; top: 0; bottom: 0; right: 2vw; padding: 0; border: 0; }
  .home .hero-new-text::before { content: ""; position: absolute; left: -4.3vw; top: 5.2vw; bottom: 4.6vw; width: 1px; background: rgba(110, 85, 60, .38); }
  .home .hero-new .kicker { position: absolute; top: var(--t6-kick, 4.9vw); margin: 0; font-size: 3.05vw; letter-spacing: .15em; font-weight: 400; color: #1f5a51; white-space: nowrap; }
  .home .hero-new-title { position: absolute; top: var(--t6-title, 9.2vw); font-size: 5.15vw; font-weight: 700; color: #0c0b0a; white-space: nowrap; }
  .home .hero-new-actions { position: absolute; top: 17.0vw; margin: 0; }
  .home .hero-new-actions .button {
    position: relative; width: 24.1vw; height: 7.8vw; min-height: 0; padding: 0; gap: 2.2vw; justify-content: center; font-size: 3.6vw;
    color: #fbf6ee; border: 0; border-radius: 1.2vw;
    background: linear-gradient(to bottom, #136a63 0%, #0f4f4a 55%, #063f3a 100%); box-shadow: 0 0.8vw 1.8vw rgba(10, 45, 40, .25);
  }
  .home .hero-new-actions .button::before { content: ""; position: absolute; inset: -7px 0; }
  .home .hero-new-actions .bi { width: 4.6vw; height: 4.6vw; }
  .home .hero-new-actions .listen { display: none; }

  .home .hero-verse-band { display: block; position: relative; background: var(--cream); height: 27.1vw; padding: 0; }
  .home .hero-verse-band .wrap { padding: 0; max-width: none; }
  .home .hero-verse-band blockquote { margin: 0; }
  .home .hero-verse-band p {
    position: absolute; left: 8.4vw; top: var(--t6-verse, 4.4vw); width: 90vw; margin: 0; padding-left: 4.3vw; border-left: 0.53vw solid #0b5a52;
    font-style: italic; font-size: 3.5vw; line-height: 1.255; white-space: nowrap; color: #1c1b19;
  }
  .home .hero-verse-band cite {
    position: absolute; left: 8.3vw; right: 8.3vw; top: var(--t6-cite, 20.4vw); display: flex; align-items: center; gap: 4.8vw;
    font-style: normal; font-size: 2.95vw; letter-spacing: .2em; text-transform: uppercase; color: #3a3833; white-space: nowrap;
  }
  .home .hero-verse-band cite::before, .home .hero-verse-band cite::after { content: ""; flex: 1; height: 1px; background: rgba(120, 95, 70, .35); }
}


/* ===================== Website next steps (6 Nov 2026, staging; docs/reviews/2026-11-06 Next steps) ===================== */
/* M1: phones get a 400 px copy of each page banner, under the same shading (restated: it is part of the shorthand) */
@media (max-width: 640px) {
  html[data-banners="photo"] .page-hero.has-img {
    --scrim: linear-gradient(90deg, rgba(20, 28, 33, .72), rgba(20, 28, 33, .62));
    background-image: var(--scrim), var(--hero-sm, var(--hero)); }
}
/* M4: Retina screens get the sharper copy where one exists (Books banner, home picture) */
@media (min-width: 641px) {
  html[data-banners="photo"] .page-hero.has-img { background-image: var(--scrim), -webkit-image-set(var(--hero) 1x, var(--hero-2x, var(--hero)) 2x); }
  html[data-banners="photo"] .page-hero.has-img { background-image: var(--scrim), image-set(var(--hero) 1x, var(--hero-2x, var(--hero)) 2x); }
  html[data-banners="photo"] .hero { background-image: -webkit-image-set(var(--hero) 1x, var(--hero-2x, var(--hero)) 2x); }
  html[data-banners="photo"] .hero { background-image: image-set(var(--hero) 1x, var(--hero-2x, var(--hero)) 2x); }
}
/* M2: iPads held upright (up to 960 px, where the home features become one column) use the wide phone pictures */
@media (max-width: 960px) {
  html[data-banners="photo"] .feature-img { background-image: var(--img-sm, var(--img)); }
  .newest-home .feature-img { background-position: var(--pos-sm, var(--pos, center)); }
}

/* P3: photographs below the first screen load as they come near (site.js adds .seen; base.html has a no-script fallback) */
.feature-img:not(.seen), .other-img:not(.seen) { background-image: none !important; }


/* D2: one quiet line on every card: kind (mixed rows), length, Listen. On phones it takes the place of the description */
.caption .m { display: block; margin-top: 4px; font-size: 13px; line-height: 1.35; color: var(--muted); }

/* D3: phone search: the results start on the first screen once a search is typed */
@media (max-width: 640px) { .search-page.has-query .page-hero .lede { display: none; } .search-page.has-query .page-hero { padding-bottom: 18px; } }

/* D6, D7: the Library page's Browse by theme and By Scripture (D8 Start here is a tab on the Newest row since 9 Nov 2026) */
.library-themes { margin: 0 0 40px; }
.library-themes .kicker { margin: 0 0 12px; }
.library-themes .chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.library-themes .chip[aria-pressed="true"] { background: var(--navy); color: var(--peach); }
.theme-row { margin-top: 22px; }
.theme-row[hidden] { display: none; }
.theme-row .theme-intro { margin: 0 0 6px; color: var(--muted); }
.theme-row .theme-open { font-size: 14px; }
.theme-page .theme-others { margin-top: 40px; }

/* D9: phone Library page: short shelf tabs that fit, and the first four titles of each shelf with a link to the rest */
/* Review 66 item 38 (Gerhard, 25 Nov 2026): one row per shelf on every screen, then "Open shelf (n)" */
.library-shelf .rows-4 .shelf-scroll:nth-child(n+2) { display: none; }
.library-more { display: inline-block; margin: 4px 0 0; font-weight: 700; }
@media (max-width: 640px) {
  .tab-long { display: none; }
  .shelf-tabs a { padding: 9px 12px; }
  .library-shelf .rows-2 .shelf-scroll:nth-child(n+3) { display: none; }
  .library-more { display: inline-block; margin: 4px 0 0; font-weight: 700; }
}

/* functional test 6 Nov 2026: the smallest phones keep "The Water Carrier" on one line, and the three shelf tabs fit;
   style review H2 (25 Nov 2026): the same rule up to 430 px, where Ask sits in the header (it broke from 375 to 419 px: iPhone, Plus and Max) */
@media (max-width: 430px) { .brand-name { letter-spacing: .12em; gap: 5px; white-space: nowrap; } }
@media (max-width: 400px) { .shelf-tabs { gap: 6px; } .shelf-tabs a { padding: 8px 9px; font-size: 14.5px; } }
@media (max-width: 340px) { .shelf-tabs a { padding: 8px 7px; } }

/* evaluator round 3, item 1: the Library's own search box */
.library-search { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 0 0 34px; }   /* the row may shrink: no 2 px overflow on 360-374 px phones (14 Nov 2026) */
.library-search label { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.library-search-row { display: flex; gap: 8px; }
.library-search input { flex: 1 1 auto; min-width: 0; min-height: 48px; padding: 10px 14px; font: 17px/1.3 var(--serif); border: 1px solid #cfc8bc; background: var(--white); color: var(--ink); }
.library-search .button { padding: 0 20px; min-height: 48px; }
@media (max-width: 400px) { .library-search .button { padding: 0 14px; } }

/* evaluator round 3, item 3 (6 Nov 2026): the featured devotional's Read is an outline button, so Browse the library
   stays the main action (phone hero and the computer/iPad panel) */
.hero-new-actions .button.read { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.hero-new-actions .button.read:hover { background: var(--accent-tint); }
@media (max-width: 640px) {
  .home .hero-new-actions .button.read { background: rgba(255, 255, 255, .35); color: #0f4f4a; box-shadow: inset 0 0 0 2px #13655e; text-shadow: none; }
}

/* evaluator round 3, item 4 (6 Nov 2026): warm ivory instead of cool grey for the bands below the hero and the page
   ground (one token; the white cards still stand out) */
:root { --band: #faf6ef; }
/* item 3 note (Gerhard, 6 Nov 2026): the hero's About us outline is teal too, to match Read */
.hero-actions .button.ghost { color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.hero-actions .button.ghost:hover { background: var(--accent-tint); }
/* Start here (Gerhard, 6 Nov 2026): the covers stand on one bottom line, like books on a shelf; the titles stay level */

/* order page banner (6 Nov 2026): the words stay left of the books and jar */
.order .page-hero.has-img .lede { max-width: 42ch; }

/* the "Bible " part of the Bible Teachings tab is part of the label, not the grey count (fix, 6 Nov 2026) */
.shelf-tabs a span.tab-long { color: inherit; font-weight: inherit; margin-left: 0; opacity: 1; }

/* Gerhard, 6 Nov 2026: every outline button is teal (one standard): the general outline button (About us, Listen,
   Read it free online, Back to the bookshelf, Check again, Apply, the 404 home button) and the shelves' Order print */
.button.ghost { color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.button.ghost:hover { background: var(--accent-tint); color: var(--accent-hover); }
.caption .order { color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.caption .order:hover { background: var(--accent); color: #fff; }

/* picture review (6 Nov 2026): pages without a subtitle have a shorter banner, which cut off the bottom of the
   picture on computers (the jar and well on Mission, the books on About); show more of the lower part there */
@media (min-width: 641px) {
  html[data-banners="photo"] .about .page-hero.has-img, html[data-banners="photo"] .mission-statement .page-hero.has-img { background-position: center, center 78%; }
  html[data-banners="photo"] .privacy .page-hero.has-img { background-position: center, 72% 78%; }   /* new Privacy picture (12 Nov 2026): jar and both scrolls whole from the iPad to 1440 px */
}
/* new Terms and Contact pictures, his look kept (12 Nov 2026, style review): focal point set per screen width, because the
   banner shows less of the picture's height the wider the screen (iPad 4:1, laptop 5:1, 1920 px 6.7:1) */
@media (min-width: 641px) and (max-width: 1279px) {
  html[data-banners="photo"] .terms .page-hero.has-img { background-position: center, 50% 53%; }
  html[data-banners="photo"] .contact .page-hero.has-img { background-position: center, 50% 48%; }
}
@media (min-width: 1280px) and (max-width: 1679px) {
  html[data-banners="photo"] .terms .page-hero.has-img { background-position: center, 50% 66%; }
  html[data-banners="photo"] .contact .page-hero.has-img { background-position: center, 50% 58%; }
}
@media (min-width: 1680px) {
  html[data-banners="photo"] .terms .page-hero.has-img, html[data-banners="photo"] .contact .page-hero.has-img { background-position: center, 50% 72%; }
}

/* phone home page (Gerhard, 6 Nov 2026): (1) Browse the library and the spotlight's Read take the site's square button
   shape, flat teal like every other button (same size, place, chevron and shadow); (2) the spotlight card fits any title:
   a taller book or teaching cover sits inside the same cover box, Listen shows beside Read when the title has
   read-aloud, and a long title takes two lines at a smaller size (the card grows a little, still above the verse band) */
@media (max-width: 640px) {
  .home .hero-actions .button, .home .hero-new-actions .button { border-radius: 0; }
  .home .hero-actions .button { background: var(--accent); }
  .home .hero-actions .button:hover { background: var(--accent-hover); }
  .home .hero-new { height: auto; min-height: 29.5vw; display: flex; align-items: center; padding: 4.4vw 3vw 4.4vw 0; }
  .home .hero-new-cover { position: static; flex: none; width: 16.5vw; height: 20.6vw; margin-left: 6.1vw;
    display: flex; align-items: center; justify-content: center; }
  .home .hero-new-cover img { width: auto; height: auto; max-width: 16.5vw; max-height: 20.6vw; }
  .home .hero-new-text { position: relative; left: auto; top: auto; bottom: auto; right: auto; flex: 1; min-width: 0;
    margin-left: 8.3vw; display: flex; flex-direction: column; align-items: flex-start; }
  .home .hero-new-text::before { top: 0; bottom: 0; }
  .home .hero-new .kicker, .home .hero-new-title, .home .hero-new-actions { position: static; }
  .home .hero-new-title { margin-top: 1.1vw; white-space: normal; line-height: 1.15; }
  .home .hero-new-title.long { font-size: 4.3vw; }
  .home .hero-new-actions { margin-top: 2.4vw; display: flex; flex-wrap: nowrap; gap: 2vw; }
  .home .hero-new-actions .listen { display: inline-flex; width: 24.1vw; height: 7.8vw; min-height: 0; padding: 0; gap: 2.2vw;
    justify-content: center; font-size: 3.6vw; background: rgba(255, 255, 255, .35); color: #0f4f4a; box-shadow: inset 0 0 0 2px #13655e; border-radius: 0; }
}

/* phone home (Gerhard, 7 Nov 2026, option D of four): the photo strip and its panel read as one card. No gap,
   one shared shadow, and a thin teal seam where the photo meets the card (it echoes the teal rule under the heading) */
@media (max-width: 640px) {
  .home .feature { gap: 0; box-shadow: 0 0 0 1px rgba(0,0,0,.04), 0 10px 30px rgba(0,0,0,.12); background: var(--white); }
  .home .feature-img { box-shadow: none; border-bottom: 3px solid var(--accent); }
  .home .feature-card { box-shadow: none; }
}

/* phone home (Gerhard, 7 Nov 2026, version 4 from the style agent): John 7:37-38 as a centred epigraph under the hero,
   in place of the left-aligned pull-quote band; the band takes the Newest section's cream, and that section starts closer */
@media (max-width: 640px) {
  .home .hero-verse-band { height: auto; padding: 4.6vw 7vw 2vw; text-align: center; background: var(--band); }
  .home .hero-verse-band p { position: static; width: auto; padding: 0; border: 0; white-space: normal; font-size: 3.6vw; line-height: 1.4; color: #2e2c27; }
  .home .hero-verse-band cite { position: static; display: block; margin-top: 2.4vw; font-size: 2.7vw; letter-spacing: .22em; color: #6b6a63; }
  .home .hero-verse-band cite::before, .home .hero-verse-band cite::after { content: none; }
  .home .hero-verse-band blockquote::after { content: ""; display: block; width: 12vw; height: 2px; margin: 3.6vw auto 0; background: var(--accent); }
  .home .newest-home { padding-top: 34px; }
}

/* home features on computers and iPads (Gerhard, 7 Nov 2026, option A): the square photo and its panel form one card,
   with one shared shadow and a 3px teal seam on the join (the phone's seam turned on its side; it moves with the flip) */
@media (min-width: 961px) {
  .home .feature { gap: 0; background: var(--white); box-shadow: 0 0 0 1px rgba(0,0,0,.04), 0 10px 30px rgba(0,0,0,.12); }
  .home .feature-img, .home .feature-card { box-shadow: none; }
  .home .feature:not(.flip) .feature-img { border-right: 3px solid var(--accent); }
  .home .feature.flip .feature-img { border-left: 3px solid var(--accent); }
}
/* iPads held upright (one column, the wide pictures): the phone layout, seam under the photo */
@media (min-width: 641px) and (max-width: 960px) {
  .home .feature { gap: 0; background: var(--white); box-shadow: 0 0 0 1px rgba(0,0,0,.04), 0 10px 30px rgba(0,0,0,.12); }
  .home .feature-img { box-shadow: none; border-bottom: 3px solid var(--accent); }
  .home .feature-card { box-shadow: none; }
}

/* footer on phones (Gerhard, 7 Nov 2026): the phone ".wrap { padding: 0 16px }" came later and zeroed the footer's top
   and bottom padding, so the brand sat on the rule and the copyright line on the screen edge; restore both */
@media (max-width: 640px) {
  .site-footer .footer-grid { padding-top: 40px; padding-bottom: 28px; }
  .site-footer .footer-base { padding-top: 16px; padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
}

/* home features (Gerhard, 7 Nov 2026): the joined photo + panel lift off the page as one piece. The soft shared
   shadow showed only beside the white panel; a layered one (contact edge, close shade, deep fall) reads round the photo too */
.home .feature { box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 2px 5px rgba(0,0,0,.08), 0 18px 42px rgba(0,0,0,.20); }
@media (max-width: 640px) { .home .feature { box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 2px 4px rgba(0,0,0,.08), 0 12px 28px rgba(0,0,0,.18); } }
/* home features (Gerhard, 8 Nov 2026): a picture inside a pane gets a thin white frame and becomes part of the pane unit;
   only full-width banners run edge to edge. Frame on all four sides on computers (the teal seam stays the photo's inner edge) */
@media (min-width: 961px) { .home .feature .feature-img { margin: 14px; } }
@media (min-width: 641px) and (max-width: 960px) { .home .feature-img { margin: 12px 12px 0; } }
@media (max-width: 640px) { .home .feature-img { margin: 8px 8px 0; } }

/* Most read (9 Nov 2026): a second tab on the Library's Newest row; the tabs look like the kicker they replace */
#row-popular[hidden], #row-popular a[hidden], #row-newest[hidden], #row-start[hidden], .popular-when[hidden] { display: none; }
.library-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; margin: 0 0 14px; }
.library-tabs button { font: inherit; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; background: none; border: 0;
  padding: 0 0 4px; color: var(--muted); cursor: pointer; }
.library-tabs button[aria-selected="true"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--teal-ink); }
.popular-when { margin: -2px 0 0; font-size: 14px; color: var(--muted); }
.popular-when button { font: inherit; background: none; border: 0; padding: 4px 2px; color: var(--muted); cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; }
.popular-when button[aria-pressed="true"] { color: var(--ink); text-decoration: none; font-weight: 600; }

/* Search, themes and passages in one block (Gerhard + design review, 9 Nov 2026): "theme" and "verse" in the label open a
   menu of about five rows that scrolls inside itself (Gerhard: "five or so items visible"), floating under the search row */
.library-find { position: relative; margin: 0 0 30px; }
.library-find .library-search { margin: 0; }
.find-label { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; line-height: 1.6; }
.trig { color: var(--teal-ink); text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 1px; margin: -4px 0; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 2px) / calc(100% - 15px) 1px no-repeat; }
.trig svg { width: 9px; height: 6px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .2s; }
.trig:hover, .trig[aria-expanded="true"] { color: var(--ink); }
.trig[aria-expanded="true"] svg { transform: rotate(180deg); }
.find-pan { position: absolute; z-index: 20; left: 0; top: 100%; width: 420px; display: flex; flex-direction: column;
  background: #fff; border: 1px solid #e4ded3; box-shadow: 0 22px 44px -26px rgba(40, 32, 20, .28); }
.find-pan[hidden] { display: none; }
.find-pan::before { content: ""; position: absolute; top: -7px; left: calc(var(--nx, 40px) - 7px); width: 12px; height: 12px; background: #fff;
  border-left: 1px solid #e4ded3; border-top: 1px solid #e4ded3; transform: rotate(45deg); }
.pan-head { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0; padding: 16px 24px 10px; border-bottom: 1px solid #eee8de; }
.pan-head span { letter-spacing: .04em; text-transform: none; font-style: italic; margin-left: 6px; color: #8a847a; }
.pan-body { --row: 46px; --fu: 0px; --fd: 0px; max-height: calc(var(--row) * 5 + 8px); overflow-y: auto; overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch; padding: 4px 24px; scrollbar-width: thin; scrollbar-color: #d9d2c6 transparent; outline: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 var(--fu), #000 calc(100% - var(--fd)), transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 var(--fu), #000 calc(100% - var(--fd)), transparent 100%); }
.pan-body.more-up { --fu: 36px; }
.pan-body.more-down { --fd: 56px; }
.pan-body:focus-visible { box-shadow: inset 0 0 0 2px var(--teal-ink); }
.pan-body::-webkit-scrollbar { width: 6px; }
.pan-body::-webkit-scrollbar-thumb { background: #ddd6ca; border-radius: 3px; }
.pan-themes { list-style: none; margin: 0; padding: 0; }
.pan-themes a { display: flex; justify-content: space-between; align-items: center; gap: 12px; height: var(--row); box-sizing: border-box;
  border-bottom: 1px solid #f1ece4; text-decoration: none; color: var(--ink); }
.pan-themes li:last-child a { border-bottom: 0; }
.pan-themes .nm { font-family: var(--serif); font-size: 17px; }
.pan-themes .ct { font-size: 13px; color: var(--muted); white-space: nowrap; }
.pan-themes a:hover .nm, .pan-book a:hover .tt { text-decoration: underline; text-decoration-color: var(--teal-ink); text-underline-offset: 4px; }
#pan-verse .pan-body { max-height: calc(var(--row) * 5.5 + 54px); }    /* five passages, the book names between them, and a sixth fading */
.pan-book h3 { font-family: inherit; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  margin: 0; height: 26px; display: flex; align-items: flex-end; padding-bottom: 3px; box-sizing: border-box; }
.pan-book ul { list-style: none; margin: 0; padding: 0; }
.pan-book a { display: grid; grid-template-columns: 4.6em 1fr; gap: 8px; align-items: center; height: var(--row); box-sizing: border-box;
  border-bottom: 1px solid #f1ece4; text-decoration: none; color: var(--ink); font-size: 15px; }
.pan-book li:last-child a { border-bottom: 0; }
.pan-book .rf { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--teal-ink); }
.pan-book .tt { font-family: var(--serif); color: #444; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.library-themes { margin: 0; }
.library-themes .theme-row { margin: 0 0 30px; scroll-margin-top: 110px; }   /* clear of the sticky header */
.theme-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; border-bottom: 1px solid #eee8de; padding-bottom: 10px; margin-bottom: 12px; }
.theme-head > div { min-width: 0; }
.theme-head .kicker { margin: 0 0 2px; font-size: 12px; }
.theme-head h3 { margin: 0; font-size: 24px; outline: none; }
.theme-close { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); text-decoration: none; padding: 8px 0; }
.theme-close:hover { color: var(--ink); }
.theme-close svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.4; }
@media (max-width: 640px) {
  .find-label { font-size: 12px; letter-spacing: .12em; }
  .trig { padding: 10px 1px; margin: -10px 0; }                       /* 44 px tap height on phones */
  .find-pan { left: -16px !important; width: calc(100% + 32px); border-left: 0; border-right: 0; }
  .pan-head { padding: 14px 16px 10px; }
  .pan-body { --row: 44px; padding: 2px 16px; }
  #pan-verse .pan-body { max-height: calc(var(--row) * 5.5 + 44px); }
  .pan-book h3 { height: 22px; }
  .theme-head h3 { font-size: 21px; line-height: 1.2; }
}
/* the original 320 px iPhone SE: the Search button keeps only its magnifier, so the row fits the screen (design review) */
@media (max-width: 359px) {
  .library-search .btn-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .library-search .button { padding: 0 12px; }
  .find-label { letter-spacing: .08em; }
}

/* Library top spacing (Gerhard + design review, 9 Nov 2026): three groups (search, featured row, shelves); Library page only */
.library-page .library-all.section { padding-top: 56px; }                 /* banner → search label (was 80) */
.library-find { margin-bottom: 40px; }                                     /* input → tabs (was 30) */
.library-find:has(+ .library-themes .theme-row:not([hidden])) { margin-bottom: 24px; }   /* input → open theme row */
.library-themes .theme-row { margin-bottom: 40px; }                        /* open theme row → tabs 40 (was 64) */
.library-themes .theme-row .shelf-scroll:last-child { margin-bottom: 0; }   /* the last shelf's 64px gap was collapsing through */
.library-tabs { margin-bottom: 10px; }                                     /* tabs → covers 14 (was 18) */
.library-newest { margin-bottom: 44px; }                                   /* covers → shelf buttons 64 (was 50) */
.library-page .library-all .shelf-tabs { margin-bottom: 12px; }           /* shelf buttons → "Books" 24 (was 42) */
@media (max-width: 900px) {
  .library-page .library-all.section { padding-top: 48px; }
  .library-newest { margin-bottom: 36px; }
}
@media (max-width: 640px) {
  html .library-page .page-hero + .library-all.section { padding-top: 24px; }
  .library-find { margin-bottom: 32px; }
  .library-tabs { margin-bottom: 8px; }
  .library-newest { margin-bottom: 28px; }
  .library-page .library-all .shelf-tabs { margin-bottom: 12px; }
}
/* phones: the theme/verse underline sat on the search box (Gerhard's iPhone, 9 Nov 2026). An invisible ~44 px tap box,
   the underline 1 px under the word as on desktop, 6 px clear of the input (design review) */
@media (max-width: 640px) {
  .trig { padding: 12px 1px; margin: -12px 0; background-position: 0 calc(100% - 10px); }
}
/* landscape phones (QA, 9 Nov 2026): too short for five rows under the search row, so the menu shrinks to fit the screen */
@media (max-height: 500px) {
  .pan-body, #pan-verse .pan-body { max-height: max(96px, calc(100vh - 250px)); }
}
/* Featured panel (Gerhard + design review, 9 Nov 2026, option C): Start here · Newest · Most read in a tinted panel shaped
   like the home page's .feature-card, so the page reads search, featured, shelves. Warm paper, no teal line (colour only
   for meaning); the tab text one shade darker and the underline deeper so both stay clear on the tint. */
.library-page .library-newest { background: #f5efe7; box-shadow: var(--shadow); padding: 30px 24px 26px; margin-bottom: 52px; }
.library-page .library-newest .cover-row { margin-bottom: 0; }
.library-page .library-newest .library-tabs button { color: #5f5a52; }
.library-page .library-newest .library-tabs button[aria-selected="true"] { color: var(--ink); box-shadow: inset 0 -2px 0 #226e6b; }
.library-page .library-newest .popular-when, .library-page .library-newest .popular-when button { color: #5f5a52; }
.library-page .library-newest .popular-when button[aria-pressed="true"] { color: var(--ink); }
.library-page .library-newest .cover-row img { box-shadow: 0 6px 14px rgba(60, 45, 25, .20); }
@media (max-width: 640px) {
  .library-page .library-newest { padding: 22px 12px 18px; margin-bottom: 32px; box-shadow: none; }   /* as the home cards on phones */
}
/* phones: the Library's shelf buttons centred like on desktop (Gerhard, 9 Nov 2026); "safe" keeps them scrollable from
   the first button if they ever no longer fit */
@media (max-width: 640px) { .shelf-section .shelf-tabs { justify-content: safe center; } }   /* and on each shelf page (10 Nov 2026) */
/* Gerhard, 9 Nov 2026: the featured panel without its shadow (option C2: the tint alone sets it apart) */
.library-page .library-newest { box-shadow: none; border: 1px solid #efe7dc; }   /* and a hairline edge (Gerhard), so the cream never fades into white */
/* Gerhard, 9 Nov 2026: the shelf buttons (Books · Bible Teachings · Devotionals, here, on the shelf pages and the empty
   search page) follow the one outline standard of 6 Nov: teal outline and text; the current shelf keeps its navy fill */
.shelf-tabs a:not([aria-current]) { color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent), 0 2px 8px rgba(0, 0, 0, .08); }
.shelf-tabs a:not([aria-current]) span:not(.tab-long) { color: var(--muted); }   /* the count in the muted ink, AA (style review M5, 25 Nov 2026); "Bible" stays full strength */
.shelf-tabs a:not([aria-current]):hover { background: var(--accent-tint); color: var(--accent-hover); }
/* Gerhard, 9 Nov 2026: the current shelf's button is solid teal (not navy), the filled partner of the teal outlines */
.shelf-tabs a[aria-current="page"] { background: var(--accent); color: #fff; box-shadow: inset 0 0 0 2px var(--accent), 0 2px 8px rgba(0, 0, 0, .08); }
.shelf-tabs a[aria-current="page"] span:not(.tab-long) { color: #fff; }   /* full white: AA on the teal (style review M5) */
.shelf-tabs a[aria-current="page"] .tab-long { color: #fff; }

/* Home hero, jar and basin (Gerhard, 9 Nov 2026): on desktop the jar, stream and basin sit right of the panel and stay
   in view up to 1920 px and wider; the phone shows its own upright picture from the top (rule above). */
@media (min-width: 641px) { .home .hero { background-position: 100% 60%; } }   /* the spring hero: whole town below the header at 1920 (style review, 10 Nov 2026) */

/* Devotionals banner, the river over limestone ledges (Gerhard, 9 Nov 2026; replaces the spring): cascade and olive trunk whole from the iPad to 1920 px */
body[data-shelf="devotionals"].shelf-page .page-hero.has-img { background-position: center, 70% 72%; }

/* order page: the South Africa notice shown on "Show delivery options" (Gerhard, 10 Nov 2026) */
.za-flag { margin: 18px 0 0; padding: 18px 20px; background: var(--band); box-shadow: none; }
.za-flag p { margin: 0 0 10px; }
.za-flag .za-title { font-weight: 700; color: var(--ink); }
.za-flag .za-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; }
.za-flag:focus { outline: none; }
@media (max-width: 640px) { .link-sep { display: block; height: 6px; font-size: 0; } }   /* home About: the two links on their own lines on phones */
/* About Us (Gerhard, 11 Nov 2026): now the jar-and-well picture that was on Mission Statement, placed as it was there (center 78% above) */
/* Search page banner: the lamp on the path (Gerhard, 10 Nov 2026) */
.search-page .page-hero.has-img { background-position: center, 70% 50%; }
@media (max-width: 640px) { .search-page .page-hero.has-img { background-position: center, 100% 50%; } }
/* style review 10 Nov 2026: the search box in the house font; the Contact card keeps its own height */
#search .pagefind-ui__search-input, #search .pagefind-ui__search-input::placeholder { font-family: inherit; }
.contact-aside { align-self: start; }
/* text links on hover: a little lighter, thicker underline, never teal (style agent, Gerhard 10 Nov 2026); not the white crumbs on banners */
main a:not([class]):hover, main a.library-open:hover { color: #8a3412; text-decoration-thickness: 2px; }
.page-hero a:not([class]):hover { color: inherit; }
/* Library tabs (Start here / Newest / Most read) answer the pointer: text darkens, a faint teal underline previews the selected one
   (Gerhard, 10 Nov 2026); controls stay teal, text links terracotta */
.library-tabs button { cursor: pointer; transition: color .15s, box-shadow .15s; }
.library-page .library-newest .library-tabs button:not([aria-selected="true"]):hover { color: var(--ink); box-shadow: inset 0 -2px 0 rgba(34, 110, 107, .35); }

/* Logo hover (10 Nov 2026, Gerhard): the H changes colour like the menu links, white to their peach. The H is
   drawn as a mask over the monogram picture so its colour can change; the rest of the logo stays as it is. */
.brand .mark { display: block; height: 44px; aspect-ratio: 256 / 188; background-color: #fff; transition: background-color .2s ease;
  -webkit-mask: url(/assets/img/monogram-white.png) center / contain no-repeat; mask: url(/assets/img/monogram-white.png) center / contain no-repeat; }
.brand:not([aria-current="page"]):hover .mark, .brand:not([aria-current="page"]):focus-visible .mark { background-color: var(--peach); }
.brand[aria-current="page"] { cursor: default; }   /* on the home page itself the logo does not answer (Gerhard, 10 Nov) */
@media (max-width: 640px) { .brand .mark { height: 36px; } }
@media (prefers-reduced-motion: reduce) { .brand .mark { transition: none; } }

/* About Us banner as tall as the Bookstore's (Gerhard, 10 Nov 2026): About has no subtitle line, so it gets that
   line's height (47 px) as padding instead. At that height the whole man, head to feet, fits up to about 1480 px
   wide; wider screens keep his head (64% 0% above). */
@media (min-width: 641px) {
  html[data-banners="photo"] .about .page-hero.has-img { padding-bottom: 117px; }
}

/* Mission Statement on phones (Gerhard, 11 Nov 2026): the same banner height as every other page; his phone picture is
   shown from 70% down, so the water carrier on the path and the spring both stay in the strip */
@media (max-width: 640px) {
  html[data-banners="photo"] .mission-statement .page-hero.has-img { background-position: center, center 70%; }
}

/* SEO plan 1.2 (11 Nov 2026): cover-row pictures carry width and height in the page, so the browser reserves their
   space before they load; the size on screen still comes from the row (width 100%, the cover's own ratio) */
.cover-row img { height: auto; }

/* SEO 5.1 final layout (Gerhard, 12 Nov 2026): the lead under the heading; "About this theme" below the covers, styled as a text link */
.theme-page .theme-lead p { margin: 0; }
.theme-page .theme-about { margin-top: 40px; }
.theme-page .theme-about summary { color: var(--orange-ink); text-decoration: underline; cursor: pointer; width: max-content; }
.theme-page .theme-about summary:hover { color: #8a3412; text-decoration-thickness: 2px; }
.theme-page .theme-about[open] summary { margin-bottom: 1em; }
.theme-page .theme-about p { margin: 0 0 1em; }

/* ===================== Sermons (SermonIndex style design and Gerhard's decisions, 14 Nov 2026) ===================== */
/* /sermons/: a sermon of the day and four more. The player is one family with the reader's Listen bar (viewer.css
   .lbar): teal play circle, 6 px track with teal fill and a white thumb ringed in teal, the 15-second skips, a speed
   button; all text in the site's serif. */
.sermons .page-hero.has-img .lede { max-width: 46ch; }
/* the banner (his picture, 14 Nov 2026): lectern, Bible and jar right of centre; the focal point is set per screen
   width, because the banner shows less of the picture's height the wider the screen */
.sermons .page-hero.has-img { background-position: center, 72% 62%; }
@media (min-width: 1280px) and (max-width: 1679px) { .sermons .page-hero.has-img { background-position: center, 72% 68%; } }
@media (min-width: 1680px) { .sermons .page-hero.has-img { background-position: center, 72% 84%; } }
@media (max-width: 640px) { html[data-banners="photo"] .sermons .page-hero.has-img { background-position: center, 74% 60%; } }

.sermon-wrap { max-width: 860px; }
.sermon-fail { background: var(--white); box-shadow: var(--shadow); padding: 28px 32px; margin: 0; }
/* the Sermons switch's notice (templates/sermons_off.html, served at /sermons/ while the sermons are off; 14 Nov 2026) */
.sermon-off { text-align: center; }   /* both sentences and the button centred in the panel (Gerhard, 14 Nov 2026) */
.sermon-off p { margin: 0 0 .7em; } .sermon-off .so-act { margin: 18px 0 0; }
.sermon-off .button.ghost { color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }

.sermon-day { background: var(--white); box-shadow: var(--shadow); padding: 40px 48px 34px; }
.sermon-day .kicker { margin: 0 0 10px; }
.sermon-day h2 { font-size: clamp(26px, 2.6vw, 32px); margin: 0; overflow-wrap: anywhere; }
.sermon-day .rule { margin: 16px 0 14px; }
.sermon-by { margin: 0 0 22px; color: var(--muted); font-size: 17px; }
.sermon-by b { color: var(--ink); font-weight: 700; }
.sermon-desc { margin: -12px 0 22px; max-width: 60ch; font-size: 16px; }

/* the player: one row on computers */
.sp { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center;
  padding: 14px 16px; border: 1px solid var(--line); background: #fffdf9; }
.sp-ctl { display: flex; align-items: center; gap: 4px; }
.sp .cb { width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center;
  color: var(--ink); position: relative; cursor: pointer; padding: 0; }
.sp .cb:hover { background: rgba(35, 39, 42, .07); }
.sp .cb svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.sp .cb small { position: absolute; font: 700 8px/1 var(--serif); top: 16px; left: 0; right: 0; text-align: center; pointer-events: none; }
.sp .play { width: 50px; height: 50px; background: var(--accent); color: #fff; }
.sp .play:hover { background: var(--accent-hover); }
.sp .play:active { background: var(--accent-press); }
.sp .play svg { fill: #fff; stroke: none; width: 20px; height: 20px; }
.sp .cb:disabled, .sermon-list .rp:disabled { opacity: .45; cursor: default; }
/* the Pause bar (Gerhard, Review 66 item 22, 25 Nov 2026): while the frame's sermon plays with its player scrolled away, a small
   bar with the frame's own Pause sticks to the foot of the screen; the player's paper and line, the same teal round button */
.sp-mini { position: fixed; z-index: 50; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px; width: max-content; max-width: calc(100vw - 32px); box-sizing: border-box;
  padding: 8px 16px 8px 8px; background: #fffdf9; border: 1px solid var(--line); border-radius: 30px; box-shadow: 0 6px 24px rgba(35, 39, 42, .18); }
.sp-mini[hidden] { display: none; }
.sp-mini .cb { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; padding: 0; cursor: pointer;
  background: var(--accent); color: #fff; }
.sp-mini .cb:hover { background: var(--accent-hover); }
.sp-mini .cb:active { background: var(--accent-press); }
.sp-mini .cb svg { fill: #fff; stroke: none; width: 18px; height: 18px; }
.sp-mini .cb .g-play, .sp-mini .cb .g-wait { display: none; }
.sp-mini .cb:focus-visible { outline: 3px solid var(--teal-ink); outline-offset: 2px; }
.sp-mini-t { margin: 0; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 15px; color: var(--ink); }
.sp-mini-t span { color: var(--muted); }
body.sp-mini-on .site-footer { padding-bottom: 72px; }
.sp .play:disabled:hover { background: var(--accent); }
.sp .cb:focus-visible, .sp .spd:focus-visible, .sp-trk:focus-visible, .sp-vt:focus-visible { outline: 3px solid var(--teal-ink); outline-offset: 2px; }
.sp-mid { min-width: 0; }
.sp-trk { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 18px; margin: 0; padding: 0;
  background: transparent; cursor: pointer; --p: 0%; }
.sp-trk::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--accent) var(--p), rgba(35, 39, 42, .12) var(--p)); }
.sp-trk::-webkit-slider-thumb { -webkit-appearance: none; box-sizing: border-box; width: 14px; height: 14px; margin-top: -4px;
  border-radius: 50%; background: #fff; border: 2px solid var(--accent); }
.sp-trk::-moz-range-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--accent) var(--p), rgba(35, 39, 42, .12) var(--p)); }
.sp-trk::-moz-range-thumb { box-sizing: border-box; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); }
.sp-trk:disabled { cursor: default; opacity: .45; }
.sp-time { display: flex; justify-content: space-between; gap: 10px; margin-top: 4px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.sp .spd { border: 1px solid rgba(35, 39, 42, .18); background: #fff; padding: 7px 10px; font: 700 14px/1 var(--serif); color: var(--ink); cursor: pointer; min-width: 52px; min-height: 40px; }
.sp .spd:hover { border-color: var(--accent); }
.sp .spd[aria-expanded="true"] { border-color: var(--accent); }
/* the speed panel the speed button opens: an exact copy of the reader's Listen speed panel (viewer.css .spop, reader
   review R6; Gerhard, 14 Nov 2026: "must look the same"), speed only. The reader's own colours are written out, because
   this page's --ink, --muted and --accent differ from viewer.css (#23272a ink, #6d6a63 muted, #2f8f8c accent,
   #1f6e6b accent-deep). Only position: absolute (it scrolls with the player) and the six-column grid are this page's. */
.sermon-spop { position: absolute; z-index: 72; width: min(344px, calc(100vw - 24px)); background: #fffdf9; border: 1px solid rgba(35, 39, 42, .14);
  border-radius: 14px; box-shadow: 0 14px 40px rgba(0, 0, 0, .18); padding: 10px 14px 12px; font: 13px/1.4 system-ui, -apple-system, sans-serif; color: #23272a; }
.sermon-spop[hidden] { display: none; }
.sermon-spop .h { margin: 4px 0 6px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #6d6a63; font-weight: 600; }
.sermon-spop .sp-speeds { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; margin-bottom: 8px; }
.sermon-spop button { min-height: 36px; padding: 0 2px; border-radius: 999px; border: 1px solid rgba(35, 39, 42, .16); background: #fff;
  font: 600 13px system-ui, sans-serif; color: #23272a; cursor: pointer; font-variant-numeric: tabular-nums; }
.sermon-spop button:hover { border-color: #2f8f8c; }
.sermon-spop button[aria-pressed="true"] { background: #1f6e6b; border-color: #1f6e6b; color: #fff; }
.sermon-spop button:focus-visible { outline: 2px solid #2f8f8c; outline-offset: 2px; }
@media (pointer: coarse) { .sermon-spop button { min-height: 44px; } }
/* volume (computers only; sermons.js shows it): the speaker mutes, a short slider in the track's style beside it */
.sp.has-vol { grid-template-columns: auto minmax(0, 1fr) auto auto; }
.sp-vol { display: flex; align-items: center; gap: 4px; }
.sp-vol[hidden] { display: none; }
.sp .mute .g-mute, .sp .mute.on .g-vol { display: none; }
.sp .mute.on .g-mute { display: block; }
.sp-vt { -webkit-appearance: none; appearance: none; display: block; width: 84px; height: 18px; margin: 0; padding: 0;
  background: transparent; cursor: pointer; --p: 100%; }
.sp-vt::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--accent) var(--p), rgba(35, 39, 42, .12) var(--p)); }
.sp-vt::-webkit-slider-thumb { -webkit-appearance: none; box-sizing: border-box; width: 12px; height: 12px; margin-top: -4px;
  border-radius: 50%; background: #fff; border: 2px solid var(--accent); }
.sp-vt::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--accent) var(--p), rgba(35, 39, 42, .12) var(--p)); }
.sp-vt::-moz-range-thumb { box-sizing: border-box; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); }
/* play, pause and the slow loading ring (static when motion is reduced) */
.sp .play .g-pause, .sp .play .g-wait, .sermon-list .rp .g-pause, .sermon-list .rp .g-wait { display: none; }
.sp .play.on .g-play, .sermon-list .rp.on .g-play { display: none; }
.sp .play.on .g-pause, .sermon-list .rp.on .g-pause { display: block; }
.sp .play.wait .g-pause, .sermon-list .rp.wait .g-pause { display: none; }
.sp .play.wait .g-wait, .sermon-list .rp.wait .g-wait { display: block; }
.sp .play svg.g-wait, .sermon-list .rp svg.g-wait { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-dasharray: 32 15; stroke-linecap: round;
  animation: sp-ring 1.6s linear infinite; transform-origin: 50% 50%; margin: 0; }
@keyframes sp-ring { to { transform: rotate(360deg); } }

/* More to hear today: quiet rows, a play circle each; the row being heard opens its own player, the circle goes and
   play/pause sits in that white panel beside skip-back (Gerhard, 14 Nov 2026) */
.sermon-more { margin: 46px 0 0; }
.sermon-more h2 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin: 0 0 6px; }
/* the fold (14 Nov 2026): the heading is the one quiet teal control; the chevron turns when the list is open */
.sermon-more h2 { margin: 0; }
.sm-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; background: none;
  font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--accent); cursor: pointer; }
.sm-toggle span { text-decoration: underline; text-underline-offset: 4px; }   /* always underlined, as "About this theme" */
.sm-toggle:hover { color: var(--accent-hover); }
.sm-toggle:hover span { text-decoration-thickness: 2px; }
.sm-toggle:focus-visible { outline: 3px solid var(--teal-ink); outline-offset: 2px; }
.sm-toggle svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.sm-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.sermon-list[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .sm-toggle svg { transition: none; } }
.sermon-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sermon-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sermon-list .rp { width: 44px; height: 44px; border-radius: 50%; border: 0; box-shadow: inset 0 0 0 2px var(--accent); background: transparent;
  color: var(--accent); display: grid; place-items: center; cursor: pointer; padding: 0; }
.sermon-list .rp:hover { background: var(--accent-tint); }
.sermon-list .rp.on { background: var(--accent); color: #fff; }
.sermon-list .rp.on:hover { background: var(--accent-hover); }
.sermon-list .rp svg { width: 16px; height: 16px; fill: currentColor; }
.sermon-list .rp .g-play { margin-left: 2px; }
.sermon-list .rp:focus-visible { outline: 3px solid var(--teal-ink); outline-offset: 2px; }
.sermon-list .t { font-weight: 700; color: var(--ink); line-height: 1.3; overflow-wrap: anywhere; }
.sermon-list .m { display: block; font-size: 15px; color: var(--muted); margin-top: 2px; }
/* the description line (sermon descriptions style design, 14 Nov 2026): the site's quiet secondary text, two lines at
   most; beside the title on wider screens (the open space he named), under the by-line on phones */
.sermon-desc, .sermon-list .ds { color: var(--muted); line-height: 1.45; overflow: hidden; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.sermon-desc[hidden] { display: none; }
.sermon-list .ds { margin: 0; font-size: 15px; }
@media (min-width: 761px) {
  .sermon-list li.has-ds { grid-template-columns: 44px minmax(0, 4fr) minmax(0, 7fr); }
  .sermon-list li.has-ds .ds { padding-left: 12px; }
  .sermon-list li.has-ds { align-items: start; }               /* the line starts level with the title */
  .sermon-list li.has-ds .rp { align-self: center; }
}
@media (max-width: 760px) {
  .sermon-list .ds { grid-column: 2; margin-top: 4px; }
}
/* the row whose sermon is in the frame leaves the list (Gerhard's decision 1, 14 Nov 2026) */
.sermon-list li[hidden] { display: none; }

/* the honest small print under the list (no second rule right under the list's last line) */
.sermon-note { margin: 34px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); line-height: 1.55; }
.sermon-more.is-open:not([hidden]) ~ .sermon-note { border-top: 0; padding-top: 0; }
.sermon-note p { margin: 0 0 .6em; }
/* "Sermons to read" (reading editions style design, 15 Nov 2026): the second fold, in the first one's look; each row one
   link (cover, title, by-line), two columns from 760 px */
.sermon-read { margin: 6px 0 0; }
.sermon-read [hidden] { display: none; }
.sermon-read .sr-intro { margin: 10px 0 18px; font-size: 15px; color: var(--muted); line-height: 1.5; max-width: 640px; }
.sermon-read h3 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin: 22px 0 0; padding-bottom: 8px; }
.read-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.read-list li { border-bottom: 1px solid var(--line); }
.read-list a { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px 0; text-decoration: none; color: inherit; min-height: 44px; }
.read-list img { width: 44px; height: 68px; display: block; box-shadow: 0 1px 3px rgba(0,0,0,.18); }
.read-list .t { font-weight: 700; color: var(--ink); line-height: 1.3; overflow-wrap: anywhere; text-decoration: underline; text-decoration-color: var(--accent);
  text-decoration-thickness: 1px; text-underline-offset: 3px; }
.read-list a:hover .t { text-decoration-thickness: 2px; }
.read-list a:focus-visible { outline: 3px solid var(--teal-ink); outline-offset: 2px; }
.read-list .m { display: block; font-size: 15px; color: var(--muted); margin-top: 2px; }
@media (min-width: 760px) {
  .read-list.two { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 0; }
  .read-list.two li:nth-child(-n+2) { border-top: 1px solid var(--line); }
}
/* preacher groups (the Spurgeon row, Gerhard's decisions 1-3 of 15 Nov 2026): every preacher has the plain grey heading
   above; a preacher with several editions then has ONE row in the .read-list look, a button: a stack of his own first
   three cover thumbnails (the back ones offset up and right 4 px each, so the edges show "several"), the title-line
   "Ten sermons" with the site's disclosure chevron and a grey line; it opens his list, whose top rule is the row's own */
.read-list.sr-set { margin: 0; }
.sr-row { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: center; width: 100%;
  padding: 12px 0; min-height: 44px; border: 0; border-radius: 0; background: none; font: inherit; color: inherit; text-align: left;
  cursor: pointer; -webkit-appearance: none; appearance: none; }
.sr-row:focus-visible { outline: 3px solid var(--teal-ink); outline-offset: 2px; }
.sr-stack { position: relative; width: 44px; height: 68px; display: block; }
.sr-stack img { position: absolute; left: 0; top: 0; }
.sr-stack img:nth-last-child(2) { transform: translate(4px, -4px); }
.sr-stack img:nth-last-child(3) { transform: translate(8px, -8px); }
.sr-row .chev { display: inline-block; width: 15px; height: 15px; margin-left: 8px; vertical-align: -1px; fill: none;
  stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.sr-row[aria-expanded="true"] .chev { transform: rotate(180deg); }
.sr-row:hover .t { text-decoration-thickness: 2px; }
@media (prefers-reduced-motion: reduce) { .sr-row .chev { transition: none; } }
.sr-set + .read-list { border-top: 0; }
.sermon-read .sr-set + .read-list[hidden] { display: none; }
@media (min-width: 760px) { .sr-set + .read-list.two li:nth-child(-n+2) { border-top: 0; } }
/* the one quiet "To read:" line above the recordings in a search (decision 2) */
.sf-toread { margin: 0 0 14px; font-size: 15px; color: var(--muted); line-height: 1.7; }
.sf-toread a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.sf-toread a:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }
.sermon-credit { font-size: 14px; letter-spacing: .02em; }
.sermon-credit a { font-weight: 700; }

/* phone (Gerhard, 14 Nov 2026): the player follows the reader's Listen bar on a phone (viewer.css, max-width 640px):
   "elapsed / total" at the top right, the track across the full width, then speed at the left and back 15, play/pause,
   forward 15 grouped in the centre. Touch sizes stay 44 and 52 px. */
@media (max-width: 640px) {
  .sermon-day { padding: 26px 20px 24px; }
  .sermon-day .kicker .wd { display: none; }
  .sermon-by { font-size: 16px; margin-bottom: 18px; }
  .sermon-desc { font-size: 15px; margin: -10px 0 18px; }
  .sp, .sp.has-vol { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-areas: "time time time" "trk trk trk" "spd ctl vol";
    gap: 6px 8px; padding: 10px 12px 8px; }
  .sp-mid { display: contents; }
  .sp-time { grid-area: time; justify-content: flex-end; gap: 0; margin: 0; font: 13px system-ui, -apple-system, sans-serif; color: #6b6f72; }
  .sp-time .len:not(:empty)::before { content: "\00a0/\00a0"; }
  .sp-trk { grid-area: trk; height: 28px; }
  .sp-ctl { grid-area: ctl; justify-content: center; gap: 10px; }
  .sp .spd { grid-area: spd; justify-self: start; border-radius: 8px; padding: 6px 9px; font: 600 13px system-ui, sans-serif; min-width: 46px; min-height: 44px; }
  .sp-vol { grid-area: vol; justify-self: end; }
  .sp .cb { width: 44px; height: 44px; }
  .sp .play { width: 52px; height: 52px; }
  .sermon-list li { grid-template-columns: 44px minmax(0, 1fr); gap: 0 14px; align-items: start; }
  .sermon-more { margin-top: 36px; }
  .sermon-fail { padding: 22px 20px; }
}
@media (prefers-reduced-motion: reduce) { .sp .play svg.g-wait, .sermon-list .rp svg.g-wait { animation: none; } }
/* testers' round (14 Nov 2026). Touch screens wider than a phone (iPad, a phone on its side) get the phone's targets:
   44 px skip buttons and a 28 px track (finding 9). */
@media (pointer: coarse) {
  .sp .cb { width: 44px; height: 44px; }
  .sp .cb small { top: 18px; }
  .sp-trk { height: 28px; }
}
/* A narrow computer window or high zoom (finding 5, retest A1): the side columns never get narrower than what is in
   them (no control over another), and from 560 px down the volume takes its own line under the controls, at the right. */
@media (max-width: 640px) {
  .sp, .sp.has-vol { grid-template-columns: minmax(min-content, 1fr) auto minmax(min-content, 1fr); }
}
@media (max-width: 560px) {
  .sp.has-vol { grid-template-areas: "time time time" "trk trk trk" "spd ctl ." "vol vol vol"; }
}
@media (max-width: 360px) {
  .sp-ctl { gap: 4px; }
  .sermon-day { padding-left: 16px; padding-right: 16px; }
  /* functional test round 2, F3: at 320 px the speed button's column pushed play 9 px right of centre. Here back 15,
     play and forward 15 take the whole row and centre on the player, as the Listen bar's do; the speed button sits over
     the row's left end, narrow enough (4 px side padding, 2 px between the round buttons) never to reach back 15 */
  .sp-ctl { grid-area: 3 / 1 / 4 / -1; gap: 2px; }
  .sp .spd { grid-area: 3 / 1 / 4 / 2; position: relative; z-index: 1; padding-left: 4px; padding-right: 4px; }
  .sp .play { width: 44px; height: 44px; }      /* a narrow computer window: the 44 px play a phone shows, so back 15 stays clear */
}

/* Search all sermons (sermon search style design and Gerhard's decisions, 14 Nov 2026): the Library's label, field and
   Search button (.find-label, .library-search) above the sermon of the day. While a search shows, its results take the
   place of the day box and the fold (hidden by this class only, so they come back exactly as they were). The rows are
   the "More to hear" rows; one quiet heading line with Clear (or All preachers) at its right; "More by" as teal
   underlined links; one teal outline button for "Show 5 more". No new colour, size or font. */
.sermon-find { margin: 0 0 32px; }
.sermon-find .library-search { margin: 0; grid-template-columns: minmax(0, 1fr); }   /* the row may shrink (360 px phones) */
.sermon-wrap.is-finding .sermon-find { margin-bottom: 22px; }
.sermon-wrap.is-finding > .sermon-day, .sermon-wrap.is-finding > .sermon-more { display: none; }
#sermons.is-finding .sermon-note { border-top: 1px solid var(--line); padding-top: 18px; }
.sf-msg { margin: 10px 0 0; font-size: 15px; color: var(--muted); }
.sf-msg[hidden], .sermon-results[hidden] { display: none; }
.sf-wait { margin: 0; font-size: 15px; color: var(--muted); }
.sf-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 0 0 4px; }
.sf-head h2 { margin: 0; font-family: inherit; font-size: 13px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); line-height: 1.6; outline: none; min-width: 0; overflow-wrap: anywhere; }
.sf-head h2 q { text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--ink); quotes: "\201C" "\201D"; }
.sf-link { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  font: 15px/1 var(--serif); color: var(--accent); text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.sf-link:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }
.sf-link:focus-visible { outline: 3px solid var(--teal-ink); outline-offset: 2px; }
.sf-link svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
/* Scripture searches: the matching passage joins the by-line */
.sermon-list .m .rf { color: var(--ink); }
/* "More by": one line of preacher names under the list; a name never breaks */
.sf-more { margin: 18px 0 0; font-size: 15px; color: var(--muted); line-height: 2; }
.sf-more a { white-space: nowrap; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; padding: 10px 0; }
.sf-more a:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }
.sf-more .sep { padding: 0 2px; }
.sf-step { margin: 22px 0 0; }
.sf-step .button.ghost { color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); background: transparent; min-height: 44px; padding: 0 22px; }
.sf-end { margin: 18px 0 0; font-size: 15px; color: var(--muted); }
/* nothing found */
.sf-none > p { margin: 0 0 14px; color: var(--muted); }
.sf-none > p.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.sf-none .chip { font: inherit; font-size: 16px; border: 0; cursor: pointer; color: var(--ink); }
@media (max-width: 640px) {
  .sermon-find { margin-bottom: 26px; }
  .sf-head h2 { font-size: 12px; letter-spacing: .12em; }
  .sf-head h2 q { font-size: 14px; }
}

/* Sermon in pole position (style design and Gerhard's decisions, 14 Nov 2026): the frame's head, the kicker at the left
   and the way back at the right (the results head's pattern, .sf-head); "Now playing" in the page's own teal (--accent,
   6:1 on white), the only sign that the frame holds a chosen sermon */
.sermon-day .sd-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 16px; margin: -10px 0 0; min-height: 44px; }
.sermon-day .sd-head .kicker { margin: 0; }
.sermon-day .sd-head + h2 { margin-top: 6px; }
.sermon-day .sd-exit[hidden], .sermon-day .kicker span[hidden] { display: none; }
.sermon-day.is-chosen .kicker { color: var(--accent); }
.sermon-day h2:focus { outline: none; }
.sermon-day h2:focus-visible { outline: 3px solid var(--teal-ink); outline-offset: 4px; }
/* while a search shows, a frame holding a chosen (or played) sermon stays above the results; an untouched day box steps aside */
.sermon-wrap.is-finding > .sermon-day.is-kept { display: block; margin: 0 0 30px; }
/* the page lands on the frame clear of the sticky header */
.sermon-day { scroll-margin-top: 96px; }
@media (max-width: 640px) {
  .sermon-day .sd-head { margin-top: -8px; }
  .sermon-wrap.is-finding > .sermon-day.is-kept { margin-bottom: 26px; }
  .sermon-day { scroll-margin-top: 76px; }
}

/* Library page: the Sermons panel at the foot (Gerhard's choice of 20 Nov 2026, S1; it replaces the card of 14 Nov, Option B).
   The top panel's language (.library-newest): its flat cream #f5efe7, its hairline edge #efe7dc, no shadow, one centred
   column, on a white ground. The small-capital label echoes the top panel's tabs; today's sermon sits beside its
   headphones; the teal button is the one action. The panel is never visibly empty: the fixed line without JavaScript or
   when the list fails, a calm placeholder (two still bars, no animation) while the title loads. */
.sermons-band { padding: 64px 0 76px; }
.sermons-feature { background: #f5efe7; border: 1px solid #efe7dc; box-shadow: none; padding: 30px 24px 28px; text-align: center; }
.sermons-feature .sp-k { font-family: inherit; font-size: 13px; font-weight: 400; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; color: #5f5a52; margin: 0 0 18px; }
.sermons-feature .sp-name { color: var(--ink); }
.sermons-feature .sp-dot { margin: 0 .7em; }
.si-today { display: inline-flex; align-items: center; justify-content: center; gap: 14px; text-align: left; margin: 0 0 18px; max-width: 100%; min-width: 0; }
.si-today p { margin: 0; }
.si-today .bi { width: 34px; height: 34px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.6; }
.si-words { min-width: 0; }
.si-today .kicker { font-size: 12px; margin: 0 0 2px; }
.si-today .t { font: 700 23px/1.25 var(--serif); color: var(--ink); overflow-wrap: anywhere; }
.si-today .by { margin-top: 2px; font-size: 15px; color: #5f5a52; }
.si-today .si-fixed { font-size: 17px; line-height: 1.4; color: var(--ink); max-width: 18em; }
.si-today .si-wait { display: none; }
.si-today .si-wait span { display: block; height: 14px; margin: 8px 0 0; border-radius: 7px; background: rgba(35, 39, 42, .08); width: 13em; }
.si-today .si-wait span + span { width: 8em; height: 11px; margin-top: 12px; }
.si-today .t, .si-today .by { display: none; }
.si-today.is-wait .si-fixed, .si-today.is-in .si-fixed { display: none; }
.si-today.is-wait .si-wait { display: block; min-height: 52px; }
.si-today.is-in .t, .si-today.is-in .by { display: block; }
.sermons-feature .sp-act { margin: 0 0 14px; }
.sermons-feature .sp-note { font-size: 14px; color: #5f5a52; margin: 0 auto; max-width: 36em; line-height: 1.5; }
@media (max-width: 640px) {
  .sermons-band { padding: 40px 0 48px; }
  .sermons-feature { padding: 22px 16px 20px; }
  .si-today .t { font-size: 20px; }
  .si-today .si-wait span { width: 10em; }
}
/* functional test round 2, F4: below about 350 px "Listen to today's sermon" broke onto two lines. Narrower side padding
   (as the Library search's button below 400 px) keeps it on one line down to 320 px */
@media (max-width: 360px) {
  .sermons-feature .sp-act .button { padding-left: 12px; padding-right: 12px; gap: 6px; }
}

/* Sermons on this (step 2, site search style design and Gerhard's decisions, 15 Nov 2026): under Pagefind's results on
   /search/, filled by search.js. Only existing tokens. The block lines up with Pagefind's results column: the same flex
   sums as .pagefind-ui__drawer (gap 60, filters flex 1 at min 260 px, results flex 1000 at min 400 px), so it sits under
   the results on a computer and goes full width exactly when Pagefind's own columns stack. "More by" is the /sermons/
   line (.sf-more), class for class. */
.site-sermons, .vg-search { margin: 56px 0 0; display: flex; flex-wrap: wrap; column-gap: 60px; }
.site-sermons[hidden], .vg-search[hidden] { display: none; }
.site-sermons::before, .vg-search::before { content: ""; flex: 1; min-width: min(260px, 100%); }
.ss-in { flex: 1000; min-width: min(400px, 100%); }
.ss-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 0 0 12px; border-bottom: 1px solid var(--line); }
.ss-head h2 { margin: 0; font-family: inherit; font-size: 13px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 1.6; }
.ss-head p { margin: 0; font-size: 14px; color: var(--muted); text-align: right; }
.ss-list { list-style: none; margin: 0; padding: 0; }
.ss-list li { border-bottom: 1px solid var(--line); }
.ss-list a { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0 16px; align-items: start; padding: 16px 0; color: inherit; text-decoration: none; }
.ss-list .ic { width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--accent); color: var(--accent);
  display: flex; align-items: center; justify-content: center; }
.ss-list .ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ss-list a:hover .ic { background: var(--accent-tint); }
.ss-list .bx { display: block; min-width: 0; }
.ss-list .t { display: block; font-weight: 700; color: var(--ink); line-height: 1.3; overflow-wrap: anywhere; font-size: 18px;
  text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.ss-list a:hover .t { text-decoration-thickness: 2px; }
.ss-list .m { display: block; font-size: 15px; color: var(--muted); margin-top: 3px; overflow-wrap: anywhere; }
.ss-list .m .rf { color: var(--ink); }
.ss-list .ds { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 6px 0 0; font-size: 15px;
  line-height: 1.45; color: var(--muted); overflow-wrap: anywhere; }
.ss-list a:focus-visible { outline: 3px solid var(--teal-ink); outline-offset: 2px; }
.site-sermons .sf-more { margin: 16px 0 0; }
.site-sermons .sf-more a:focus-visible { outline: 3px solid var(--teal-ink); outline-offset: 2px; }
@media (max-width: 640px) {
  .site-sermons { margin-top: 44px; }
  .ss-head { flex-direction: column; gap: 2px; }
  .ss-head h2 { font-size: 12px; letter-spacing: .12em; }
  .ss-head p { text-align: left; font-size: 13px; }
  .ss-list a { gap: 0 14px; padding: 14px 0; }
  .ss-list .t { font-size: 17px; }
}

/* Sermons to read as a shelf (style design option A, Gerhard's decisions of 17 Nov 2026).
   On /sermons/ the fold is one link in the fold's own look (.sm-toggle), its chevron pointing right (it goes to a page). */
a.sm-toggle { text-decoration: none; }
/* the set (decision 2): three of the preacher's own covers standing one behind the other on the glass. The front cover is
   in the flow at a book's full height (build note 1); the two behind are offset up and to the right and a shade darker,
   and fan a little further on hover and focus, like a book lifting. No new image. */
.standing.set .obj img:not(:last-child) { position: absolute; left: 0; top: 0; z-index: 1; filter: brightness(.9); transition: transform .3s ease; }
.standing.set .obj img:nth-last-child(2) { transform: translate(6%, -6%); }
.standing.set .obj img:nth-last-child(3) { transform: translate(12%, -12%); z-index: 0; filter: brightness(.8); }
.standing.set .obj img:last-child { z-index: 2; }
.standing.set:hover .obj img:nth-last-child(2), .standing.set:focus-visible .obj img:nth-last-child(2) { transform: translate(8%, -8%); }
.standing.set:hover .obj img:nth-last-child(3), .standing.set:focus-visible .obj img:nth-last-child(3) { transform: translate(16%, -16%); }
/* the keyboard ring goes round the whole stack, the covers behind included, not the front cover alone */
.standing.set:focus-visible { outline: none; }
.standing.set:focus-visible::after { content: ''; position: absolute; left: -6px; bottom: -6px; top: calc(-16% - 12px); right: calc(-16% - 6px);
  outline: 3px solid var(--teal-ink); pointer-events: none; z-index: 3; }
/* room above each row for the covers behind, fanned on hover, and for the ring round them: the row scrolls sideways
   (overflow) on computers and iPads, which would cut anything above it; phones (rows of two) do not clip */
.sr-shelf .shelf-items { padding-top: 66px; }
@media (max-width: 640px) { .sr-shelf .shelf-items { padding-top: 24px; } }
@media (min-width: 641px) { .sr-shelf .shelf-tabs { margin-bottom: 20px; } }   /* the tabs keep their distance from the covers */
@media (prefers-reduced-motion: reduce) {
  .standing.set:hover .obj img:nth-last-child(2), .standing.set:focus-visible .obj img:nth-last-child(2) { transform: translate(6%, -6%); }
  .standing.set:hover .obj img:nth-last-child(3), .standing.set:focus-visible .obj img:nth-last-child(3) { transform: translate(12%, -12%); }
}
/* decision 9 (17 Nov 2026): the shelf tabs at least 44 px tall on phones, on every shelf page (they were 39 px) */
@media (max-width: 640px) { .shelf-tabs a { min-height: 44px; line-height: 44px; padding-top: 0; padding-bottom: 0; box-sizing: border-box; } }

/* every preacher in the tabs (Gerhard's decisions 1-7 of 17 Nov 2026). Computer and iPad: option A, the surname and his
   count in the house tabs (the first names stay on the covers, kickers, h1 and crumbs); iPad portrait splits four and
   three. Phones: option C, one "Preacher" menu in place of the tabs once site.js has marked the section (.has-pick);
   without script a phone keeps the tabs, wrapped, every name in view. */
.sr-shelf .shelf-tabs .tab-long { display: none; }
.sr-shelf .shelf-tabs a { position: relative; }   /* the hidden unit word (.sr-only, absolute) stays inside its tab */
.pick-preacher { display: none; }
@media (min-width: 641px) and (max-width: 900px) {
  .sr-shelf .shelf-tabs { max-width: 640px; margin-left: auto; margin-right: auto; }   /* 4 + 3, never 6 + 1 */
}
@media (max-width: 640px) {
  .sr-shelf .shelf-tabs { flex-wrap: wrap; overflow: visible; justify-content: center; gap: 8px; margin: 0 0 32px; padding: 0;
    -webkit-mask-image: none; mask-image: none; }
  .sr-shelf.has-pick .shelf-tabs { display: none; }
  .sr-shelf.has-pick .pick-preacher { display: flex; align-items: center; gap: 12px; margin: 0 0 32px; }
  .pick-preacher label { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); flex: none; }
  .pp-box { position: relative; flex: 1 1 auto; min-width: 0; }
  .pp-box select { -webkit-appearance: none; appearance: none; display: block; width: 100%; min-height: 48px; margin: 0;
    padding: 10px 44px 10px 14px; font: 700 17px/1.3 var(--serif); color: var(--accent); background: var(--white); border: 0;
    border-radius: 0; box-shadow: inset 0 0 0 2px var(--accent), 0 2px 8px rgba(0, 0, 0, .08); text-overflow: ellipsis; }
  .pp-box select:focus-visible { outline: 3px solid var(--teal-ink); outline-offset: 2px; }
  .pp-box svg { position: absolute; right: 14px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%);
    fill: none; stroke: var(--accent); stroke-width: 2; pointer-events: none; }
}
/* tabs to the top of the covers (style agent, measured on staging, 17 Nov 2026): computer 42 to 50 px, phone 24 to 38 px, iPad unchanged */
@media (min-width: 901px) { .sr-shelf .shelf-tabs { margin-bottom: 28px; } }
@media (max-width: 640px) { .sr-shelf.has-pick .pick-preacher { margin-bottom: 46px; } }

/* ---------- Ask the Library (style design of 17 Nov 2026; Gerhard's decisions 1 to 4, C8, L9 to L12) ---------- */
/* header: the "Ask" on ripples mark beside the search glass, peach like the glass, white on hover; drawn as a mask so it
   takes the link's colour. The Worker removes it while Ask is off (data-ask). */
.header-ask { color: var(--peach); display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 6px; margin-right: 2px; text-decoration: none; }
.header-ask .ask-mark { display: block; width: 39px; height: 26px; background: currentColor;
  -webkit-mask: url(/assets/img/ask-mark.svg) center / contain no-repeat; mask: url(/assets/img/ask-mark.svg) center / contain no-repeat; }
.header-ask:hover, .header-ask[aria-current="page"] { color: #fff; }
@media (min-width: 961px) { .header-inner { position: relative; } .header-ask { position: absolute; right: 70px; top: 50%; transform: translateY(-50%); } }
@media (max-width: 960px) { .header-ask { margin-left: auto; } .header-ask + .header-search { margin-left: 0; } }
@media (max-width: 640px) { .header-ask .ask-mark { width: 36px; height: 24px; } }

/* the page */
.ask-section { padding-top: 56px; }
.ask-card { background: var(--white); box-shadow: var(--shadow); padding: 34px 40px 26px; text-align: center; }
.ask-hero-mark { width: 150px; height: auto; display: block; margin: 0 auto 18px; }
.ask-form { text-align: left; }
.ask-row { display: flex; gap: 0; }
.ask-row input { flex: 1 1 auto; min-width: 0; font: 400 19px/1.3 var(--serif); color: var(--text); padding: 15px 16px; border: 1px solid #cfcfcf; border-right: 0; background: #fff; border-radius: 0; }
.ask-row input::placeholder { color: #767676; font-style: italic; }
.ask-row input:focus-visible { outline: 3px solid var(--teal-ink); outline-offset: 0; }
.ask-row .button { padding: 0 30px; flex: none; border-radius: 0; }
.ask-go[aria-disabled="true"] { background: var(--accent-hover); cursor: progress; }
/* the one button: Ask (filled), Asking…, Clear (teal outline); one width for all three, so nothing moves (18 Nov 2026) */
.ask-row .ask-go { min-width: 128px; justify-content: center; }
.ask-go.is-clear { background: var(--white); color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.ask-go.is-clear:hover { background: var(--accent); color: #fff; }
.ask-err { margin: 10px 0 0; }
.ask-note { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--muted); text-align: left; }
.ask-note .bi { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.ask-ts:empty { display: none; }
.ask-ts { margin-top: 10px; }
.ask-start { margin-top: 30px; }
.ask-start .kicker { margin: 0 0 10px; }
.ask-example { font-style: italic; }
.ask-alt { font-size: 16px; color: var(--muted); margin: 4px 0 0; }
.ask-alt a { color: var(--accent); font-weight: 700; }
.search-ask { margin-top: 22px; }

#ask-out:not(:empty) { margin-top: 28px; }
.ask-answer { position: relative; background: var(--white); box-shadow: var(--shadow); padding: 34px 40px 28px; }
.ask-q { font-weight: 400; font-style: italic; font-size: clamp(24px, 3vw, 30px); margin: 0 0 14px; overflow-wrap: anywhere; }
.ask-q::before { content: '\201c'; } .ask-q::after { content: '\201d'; }
.ask-q:focus { outline: none; }
.ask-lead { font-size: 16px; color: #444; margin: 0 0 6px; }
/* the library's own note (21 Nov 2026): fixed text above an answer on its subject */
.ask-libnote { border-left: 3px solid var(--accent); background: rgba(0, 0, 0, 0.025); padding: 10px 14px; margin: 4px 0 14px; }
.ask-libnote .kicker { margin: 0 0 4px; }
.ask-libnote p:last-child { margin: 0; font-size: 15.5px; line-height: 1.5; }
.ask-group { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin: 24px 0 10px; }
.ask-ex { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.ask-ex-cover img { width: 64px; height: auto; display: block; box-shadow: 0 3px 10px rgba(0, 0, 0, .2); }
.ask-ex-cm svg { width: 32px; height: 32px; display: block; margin: 4px auto 0; color: var(--muted); }
.ask-ex-body { min-width: 0; }
.ask-ex .kicker { font-size: 12px; margin: 0 0 4px; }
.ask-ex-t { font-size: 20px; margin: 0 0 8px; line-height: 1.3; }
.ask-ex-pg { font-weight: 400; color: var(--muted); font-size: 16px; }
.ask-quote { margin: 0 0 12px; padding: 0 0 0 14px; border-left: 3px solid #d8e7e6; }
.ask-quote p { margin: 0; font-size: 17px; line-height: 1.6; color: #222; overflow-wrap: anywhere; }
.ask-quote mark { background: #e6f2f1; color: inherit; padding: 0 1px; }
.ask-ex-act { margin: 0; }
.ask-open { padding: 9px 16px; font-size: 15.5px; color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.ask-note-foot { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 8px; }
.ask-again { margin-top: 36px; }
.ask-none { text-align: center; padding-top: 30px; }
.ask-empty-mark { width: 120px; height: auto; display: block; margin: 0 auto 14px; opacity: .55; }
.ask-q-small { font-size: 19px; margin: 0 0 18px; color: #444; }
.ask-none h2, .ask-msg h2, .ask-help-card h2 { font-size: clamp(24px, 3vw, 30px); }
.ask-none h2:focus, .ask-msg h2:focus, .ask-help-card h2:focus, .ask-rest h2:focus { outline: none; }
.ask-none-sub { font-size: 15px; color: var(--muted); margin: -4px 0 0; }
.ask-none-actions { margin: 18px 0 4px; }
.ask-none-actions .button.ghost, .ask-rest-msg .button.ghost { color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.ask-none-actions .bi { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; margin-right: 8px; vertical-align: -3px; }
.ask-msg p:last-child { margin-bottom: 0; }
.ask-wait { display: flex; align-items: center; gap: 12px; color: var(--muted); margin: 0 0 16px; font-style: italic; }
.ask-wait-mark { width: 54px; height: auto; }
.sk { display: block; height: 14px; margin: 0 0 12px; background: linear-gradient(90deg, #eeeae4, #f6f3ef, #eeeae4); border-radius: 2px; }
.sk.short { width: 60%; }
/* the small Ask mark beside "Reading the library…" fades gently in and out while the library is read (Gerhard, phone test 18 Nov
   2026: opacity 0.45 to 1, 1.8 s, ease-in-out; no movement or colour); it stops when the wait card is replaced, and is still
   under reduced motion (the mark is alt="", so screen readers hear only the live wording).
   21 Nov 2026 (Gerhard: the phone showed no pulse): the fade now runs under Reduce Motion too. It is a fade in place with no
   movement, which Reduce Motion allows, and phones with that setting on showed a still mark. */
.ask-wait-mark { animation: ask-pulse 1.8s ease-in-out infinite; }
@keyframes ask-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
/* the progress steps while Ask works (Ask speed, Gerhard 26 Nov 2026, Review 70: option B, words only; assets/ask.js progressCard).
   Shown after 0.4 s, so a reply from the cache never flashes it; fades in place only, no movement (also under Reduce Motion) */
.apg { opacity: 0; transition: opacity .2s ease; }
.apg.is-shown { opacity: 1; }
@keyframes apg-in { from { opacity: .15; } to { opacity: 1; } }
.apg-line.apg-in { animation: apg-in .35s ease; }
.apg-b .ask-wait { margin-bottom: 10px; }
.apg-segs { display: flex; gap: 6px; margin: 0 0 20px 66px; }
.apg-segs span { width: 22px; height: 3px; border-radius: 2px; background: #e4dfd7; }
.apg-segs span.is-done { background: #a9cbc8; }
.apg-segs span.is-now { background: var(--accent); animation: ask-pulse 1.8s ease-in-out infinite; }
@media (max-width: 640px) { .apg-segs { margin-left: 0; } }
/* resting for today, switched off, help */
.ask-rest { padding-top: 30px; margin-bottom: 30px; }
.ask-rest h2 { font-size: clamp(24px, 3vw, 30px); margin: 0 0 10px; }
.ask-rest p { font-size: 18px; color: #333; margin: 0 auto; max-width: 34em; }
.rest-search { margin: 0 0 30px; }
.rest-search .kicker { margin: 0 0 10px; }
.ask-off { background: var(--white); box-shadow: var(--shadow); padding: 28px 32px; margin: 0; text-align: center; }
.ask-off p { margin: 0 0 .7em; font-size: 18px; }
.ask-off .so-act { margin: 18px 0 0; }
.ask-help-card { background: var(--white); box-shadow: var(--shadow); padding: 26px 32px; margin: 24px 0 0; }
.ask-lines { margin: 0 0 14px; padding-left: 1.2em; }
.ask-lines li { margin: 0 0 6px; }
@media (max-width: 640px) {
  .ask-section { padding-top: 26px; }
  .ask-card { padding: 22px 16px 18px; }
  .ask-hero-mark { width: 104px; margin-bottom: 12px; }
  .ask-row input { font-size: 17px; padding: 13px 12px; }
  .ask-row .button { padding: 0 18px; }
  .ask-row .ask-go { min-width: 104px; }
  .ask-answer { padding: 24px 18px 20px; }
  .ask-ex { grid-template-columns: 48px 1fr; gap: 12px; }
  .ask-ex-cover img { width: 48px; }
  .ask-ex-t { font-size: 18px; }
  .ask-quote p { font-size: 16px; }
  .ask-rest p { font-size: 17px; }
  .ask-off, .ask-help-card { padding: 22px 18px; }
}
/* the cited answer (Gerhard's citation model, style design section 6, C1 to C7) */
.ask-sum p { font-size: 18px; line-height: 1.65; margin: 0 0 14px; color: #222; }
.fn-ref { font-size: .7em; line-height: 0; vertical-align: super; position: relative; top: -.1em; }
.fn-ref a { display: inline-block; box-sizing: border-box; min-width: 24px; min-height: 24px; padding: 6px 8px; margin: -6px -8px; text-align: center; font-weight: 700; font-style: normal; color: var(--accent); text-decoration: none; border-radius: 3px; line-height: 1; }
.fn-ref a:hover { background: var(--accent-tint); text-decoration: underline; text-underline-offset: 2px; }
.fn-ref a:focus-visible { outline: 3px solid var(--teal-ink); outline-offset: 0; background: var(--accent-tint); }
.fn-ref a:visited { color: var(--accent); }   /* the marks stay teal after a visit (Gerhard, 25 Nov 2026) */
.fn-h { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin: 22px 0 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.fn-list { list-style: none; margin: 0; padding: 0; }
.fn-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; border-bottom: 1px solid #f0ece6; }
.fn-link { display: flex; align-items: baseline; gap: 10px; min-height: 44px; padding: 10px 0; text-decoration: none; color: var(--ink); font-size: 16.5px; line-height: 1.4; }
.fn-n { flex: none; min-width: 1.6em; font-weight: 700; color: var(--accent); }
.fn-t { text-decoration: underline; text-decoration-color: rgba(31, 110, 107, .35); text-underline-offset: 3px; }
.fn-link:hover .fn-t { text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.fn-link:focus-visible { outline: 3px solid var(--teal-ink); outline-offset: 2px; }
.fn-link:visited .fn-t { color: #5f5470; }
.fn-link:visited .fn-n { color: var(--accent); }   /* the number stays teal; the title shows it was read */
/* the shelf marks (Gerhard's choice of 20 Nov 2026, Option C on every device; style mock-up of the same day): a grey mark between
   the number and the title in place of the old word at the row's end, and one quiet "From:" line under the list. The marks are
   the site's one sprite (templates/_shelf_marks.svg), drawn at the .bi weight; they only ever mean "which shelf" */
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
:root { --mark: var(--muted); }
.fn-lib { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fn-libw { display: inline-flex; flex: none; color: var(--mark); position: relative; top: 3px; }
.fn-marked .fn-link { gap: 8px; }
.fn-marked .fn-n { min-width: 1.4em; }
/* (review 60, 24 Nov 2026) a Tyndale source names the house and the licence in its own line; the credit line under it is gone */
/* (Gerhard, 26 Nov 2026, item 6) the Tyndale row: "Adapted from ..." linked to the note, then the house and the licence (linked) on the same line */
.fn-list li.fn-tyn { justify-content: flex-start; column-gap: 0; }
.fn-tyn .fn-link { display: inline-flex; }
.fn-lic { font-size: 14.5px; line-height: 1.4; color: var(--muted); padding: 10px 0 10px 4px; }
.fn-lic a { color: var(--teal-ink); text-underline-offset: 3px; }
@media (max-width: 640px) { .fn-lic { display: block; padding: 0 0 10px 3.4em; } .fn-lic-sep { display: none; } }   /* a wrapped line never starts with a dot */
.fn-from { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.fn-from-k { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.fn-from-i { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.fn-from-i .fn-lib { color: var(--mark); width: 16px; height: 16px; }
.fn-from-sep { margin-right: 4px; }
/* the marks beside the shelves' own names (Gerhard's item 5 of 21 Nov 2026, as the mock-ups): the menu (the desktop panel and the
   phone list, Sermons included), the Library page's shelf headings and its shelf buttons. Grey: the link's own colour, softened;
   aria-hidden in the markup, since the name stands beside each one */
.shelf-mk { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -2px; margin-right: 8px; }
.site-nav .nav-panel a, .site-nav .nav-sub a { align-items: center; }
.site-nav .nav-panel a { display: flex; }
.site-nav .shelf-mk { opacity: .7; }
.library-head h2 .shelf-mk, .library-head h3 .shelf-mk { width: 22px; height: 22px; margin-right: 10px; vertical-align: -3px; color: var(--muted); }
.library-page .shelf-tabs .shelf-mk { width: 15px; height: 15px; margin-right: 6px; opacity: .8; }
/* below 390 px the three buttons would no longer fit on one row with their marks (the functional test of 6 Nov 2026 keeps
   them fitting): the buttons drop their marks there; the shelf headings just below keep theirs */
@media (max-width: 389px) { .library-page .shelf-tabs .shelf-mk { display: none; } }
.ask-full { margin-top: 20px; }
/* the library's own answers (19 Nov 2026): a list of titles, and the links under a site answer */
.ask-title-list { margin: 14px 0 6px 1.1em; padding: 0; }
.ask-title-list li { margin: 0 0 10px; line-height: 1.5; }
.ask-title-list a { font-weight: 600; }
.ask-site-links { margin-top: 12px; }
.ask-full .kicker { margin: 0 0 10px; font-size: 12px; }
.full-row { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.full-item { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 15.5px; max-width: 250px; line-height: 1.3; }
.full-item img { width: 38px; height: auto; flex: none; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.full-item:hover span { text-decoration: underline; text-decoration-color: var(--accent); }
.full-item:focus-visible { outline: 3px solid var(--teal-ink); outline-offset: 3px; }
@media (max-width: 640px) {
  .ask-sum p { font-size: 17px; }
  .fn-ref { font-size: .78em; }
  .fn-ref a { min-width: 26px; min-height: 26px; padding: 7px 9px; margin: -7px -9px; }
  .fn-link { font-size: 15.5px; padding-bottom: 2px; min-height: 0; padding-top: 10px; }
  .fn-list li { display: block; padding-bottom: 8px; }
  .fn-marked li { display: block; padding-bottom: 0; }
  .fn-marked .fn-link { padding-bottom: 10px; min-height: 44px; }      /* each row at least 44 px tall */
  .fn-from { gap: 8px 16px; }
  .fn-from-sep { display: none; }   /* no dots on a phone: a wrapped line never starts with one; the gap separates the names */
  .full-item img { width: 30px; }
  .full-row { flex-direction: column; gap: 10px; }
}

/* Ask the Library's own banner (Gerhard's picture, option 22c; style design section 10, 17 Nov 2026): the scroll whole at the
   top of the strip and the rings at its foot */
.ask-page .page-hero.has-img { background-position: center, 100% 58%; }
@media (max-width: 640px) { .ask-page .page-hero.has-img { background-position: center, 100% 60%; } }

/* Ask: the fixed line under a partial answer (addition 6, 18 Nov 2026) */
.ask-answer .ask-partial { font-style: italic; color: var(--muted); }
.ask-answer .ask-gap { color: var(--muted); margin: 0 0 10px; }
.ask-answer .ask-gap em { color: var(--ink); }

/* ---------- Ask the Library P3-1 (21 Nov 2026): the follow-up and "Look in" (the style design's mock-ups, Option A, approved by
   Gerhard). Calm and clean: grey for state, teal only for what can be pressed or what is chosen, no animation, no counters. ---------- */
/* the follow-up panel: the tinted foot of the answer card it belongs to */
.ask-fu { margin: 24px -40px -28px; padding: 22px 40px 26px; background: #f7f5f1; border-top: 1px solid var(--line); }
.ask-fu-label { display: block; font: 700 18px/1.3 var(--serif); color: var(--ink); margin: 0 0 10px; }
.ask-fu .ask-row input { font-size: 17px; padding: 12px 14px; }
.ask-fu .ask-row .button { min-width: 112px; min-height: 48px; justify-content: center; padding: 0 22px;
  background: var(--white); color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.ask-fu .ask-row .button[aria-disabled="true"] { color: var(--muted); box-shadow: inset 0 0 0 2px #cfcfcf; cursor: default; }
.ask-fu-note { font-size: 14.5px; line-height: 1.45; color: var(--muted); margin: 8px 0 0; }
.ask-fu-note .sc-in { color: #444; }
.ask-fu-msg { margin: 0 0 12px; }
.ask-fu-msg b { display: block; color: var(--ink); font-size: 17px; margin: 0 0 2px; }
.ask-fu-msg span { color: #444; font-size: 16px; }
.ask-fu-end p { margin: 0 0 12px; color: #444; font-size: 16px; }
.ask-fu-end .button { min-height: 44px; padding: 10px 20px; font-size: 16px; }
.ask-fu-end p:last-child { margin: 0; }
/* the follow-up's own answer card, under the first */
.ask-follow { margin-top: 18px; }
.ask-follow .ask-q { font-size: clamp(22px, 2.6vw, 27px); }
/* the first answer, short form (phones only, once a follow-up is answered) */
.ask-first-short { display: none; }
.ask-first-short .ask-q-small { margin: 0 0 8px; }
.ask-first-gist { font-size: 16px; line-height: 1.5; color: #444; margin: 0 0 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ask-more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; border: 0; background: none;
  font: 700 16px/1.2 var(--serif); color: var(--accent); cursor: pointer; }
.ask-more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* "Look in": a quiet line under the box at every width; chosen becomes a chip with a clear button */
.sc-mk { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--mark); }
.sc-chev { position: absolute; right: 10px; top: 50%; width: 16px; height: 16px; margin-top: -8px; fill: none; stroke: currentColor; stroke-width: 2; pointer-events: none; }
.ask-scope { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 10px 0 0; }
.ask-scope-k { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-right: 2px; }
.sc-sel { position: relative; display: inline-flex; align-items: center; color: var(--accent); }
.sc-sel select { -webkit-appearance: none; appearance: none; min-height: 44px; margin: 0; padding: 0 34px 0 4px; border: 0; border-radius: 0;
  background: transparent; font: 700 16px/1.2 var(--serif); color: var(--accent); cursor: pointer;
  text-decoration: underline; text-decoration-color: rgba(31, 110, 107, .35); text-underline-offset: 4px; }
.sc-sel select:focus-visible { outline: 3px solid var(--teal-ink); outline-offset: 0; }
.sc-sel.is-on { background: #eef5f4; box-shadow: inset 0 0 0 1px rgba(31, 110, 107, .45); }
.sc-sel .sc-mk { display: none; }
.sc-sel.is-on .sc-mk { display: block; position: absolute; left: 11px; top: 50%; margin-top: -8px; pointer-events: none; }
.sc-sel.is-on select { padding-left: 34px; text-decoration: none; }
.sc-sel.is-on.no-mk select { padding-left: 12px; }
.sc-clear { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: -6px; padding: 0; border: 0;
  background: none; color: var(--muted); cursor: pointer; }
.sc-clear svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.sc-clear:hover { color: var(--accent); }
.ask-scope [hidden], .ask-fu [hidden] { display: none !important; }   /* the rules above must not undo [hidden] */
/* the answer's own line: where it looked (plain text, grey mark) */
.ask-looked { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 15px; color: var(--muted); margin: -4px 0 14px; }
.ask-looked .sc-mk { width: 16px; height: 16px; }
.ask-looked b { font-weight: 400; color: #444; }
/* declined and empty: the offers */
.ask-offer { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 18px 0 6px; }
.ask-offer .button { min-height: 44px; padding: 10px 22px; font-size: 16px; }
.ask-offer .bi { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.ask-offer-note { font-size: 14.5px; color: var(--muted); margin: 6px 0 0; }
.ask-none .ask-looked { justify-content: center; }
.ask-help-fold { max-width: 560px; margin: 18px auto 0; text-align: left; font-size: 15.5px; color: #444; }
.ask-help-fold summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; color: var(--accent); font-weight: 700; }
.ask-help-fold p { margin: 6px 0 0; }
@media (max-width: 640px) {
  .ask-fu { margin: 20px -18px -20px; padding: 18px 18px 20px; }
  .ask-fu .ask-row .button { min-width: 88px; padding: 0 16px; }
  .ask-thread.is-answered .ask-first-full { display: none; }
  .ask-thread.is-answered .ask-first-short { display: block; padding-bottom: 12px; }
  .ask-offer { flex-direction: column; align-items: stretch; }
  .ask-offer .button { justify-content: center; }
}

/* Header at 374 px and below with Ask on (23 Nov 2026, style agent): the Ask mark, search and menu pushed the menu 55 px off
   a 320 px screen. Spacing only from 349 to 374 px; at 348 px and below the brand lock-up eases slightly. Nothing hidden;
   every button keeps a 44 px tap. Nothing changes at 375 px and above. */
@media (max-width: 374.98px) {
  .header-inner { gap: 0; padding: 0 4px 0 16px; }
  .brand { margin-right: 8px; }
  .header-ask, .header-search, .menu-toggle { flex: 0 0 44px; width: 44px; height: 44px; }
  .header-ask { padding: 0 4px; margin-right: 0; }
}
@media (max-width: 348.98px) {
  .header-inner { padding-left: 14px; }
  .brand { gap: 8px; }
  .brand .mark { height: 32px; }
  .brand-imprint { font-size: 15px; }
  .brand-name { font-size: 8px; letter-spacing: .1em; gap: 4px; }
}
/* the credits (Gerhard, review 60, 24 Nov 2026): "Credits and notices" beside the copyright; the /credits/ page's link row */
.footer-credits a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-credits { white-space: nowrap; }   /* style review L1: the dot stays with "Credits and notices": the footer's links are blocks, */
.footer-credits a { display: inline-block; }   /* so this one sits in the line (its 6 px tap padding kept) */
.credits .cr-toc { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0 0 26px; padding: 0; list-style: none; }
.credits .cr-toc a { display: inline-block; padding: 7px 12px; color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); text-decoration: none; font-weight: 700; font-size: 15px; }   /* 2 px, the house outline (style review L3) */
.credits h2 { scroll-margin-top: 100px; }
.credits .prose a { overflow-wrap: anywhere; }     /* the licence address written out wraps on a 320 px phone */

/* the two groups on /library/ (Gerhard, Review 66 item 35, 25 Nov 2026; mock-ups "-alt-" in docs/reviews/2026-11-25 sermons on
   library/mockups-groups/): the "Sermons · Free to hear" label's type (13 px small capitals, .14em, #5f5a52), the Library mark,
   centred between two hairlines; quieter than the shelf headings under them */
.lib-group { display: flex; align-items: center; gap: 18px; margin: 8px 0 34px; }
.lib-group::before, .lib-group::after { content: ''; flex: 1; height: 1px; background: var(--line, #e4ded3); }
.lib-group h2 { font-family: inherit; font-size: 13px; font-weight: 400; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; color: #5f5a52; margin: 0; display: flex; align-items: center; white-space: nowrap; }
.lib-group h2 .shelf-mk { width: 18px; height: 18px; margin-right: 10px; vertical-align: 0; color: #5f5a52; opacity: .75; }
.lib-group.g2 { margin-top: 72px; }
@media (min-width: 641px) { .lib-group.g1 { margin-top: 36px; } }
.shelf-tabs .tab-sep { flex: none; width: 1px; align-self: stretch; background: var(--line, #e4ded3); margin: 6px 4px; }
@media (max-width: 640px) { .lib-group { gap: 12px; margin-bottom: 24px; } .lib-group.g2 { margin-top: 48px; } .lib-group h2 { font-size: 12px; letter-spacing: .12em; } }

/* ---------- How to Use This Site (/help/, the visitor guide, Option B; Gerhard, 27 Nov 2026) ----------
   The approved style design's CSS (docs/reviews/2026-11-27 Visitor guide - style design/guide.css), Options A and B only.
   Reused, not invented: the topic is the reader's About-drawer question pane (viewer.css .pq), restated because viewer.css is
   not loaded on site pages; "Help on this" is the Search page's "Sermons on this" (.site-sermons / .ss-list); the Ask answer is
   the .ask-site card; the pill is the drawer's .pq-own look. Teal only for links, the open question and focus. Serif for
   reading choices (the section list and buttons), sans for tools (the pill, the device note). Every outline button teal. */
.vg-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; max-width: 1080px; }
.vg-side { position: sticky; top: 100px; }   /* below the sticky site header (76 px) */
.vg-side .kicker, .vg-jump .kicker { margin: 0 0 8px; }
.vg-side ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.vg-side a { display: block; padding: 9px 0 9px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--ink);
  text-decoration: none; font: 400 17px/1.35 var(--serif); }
.vg-side a:hover { color: var(--accent); border-left-color: rgba(31, 110, 107, .35); }
.vg-side a[aria-current="true"] { color: var(--accent); border-left-color: var(--accent); }
.vg-side a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.vg-side .vg-still { margin: 22px 0 0; padding-left: 16px; font: 14.5px/1.5 system-ui, -apple-system, sans-serif; color: var(--muted); }
.vg-side .vg-still a { display: inline; padding: 0; border: 0; margin: 0; font: inherit; color: var(--accent); text-decoration: underline; }
.vg-jump { display: none; margin: 0 0 28px; }
.vg-jump p.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.vg-jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--accent);
  background: #fff; color: var(--accent); text-decoration: none; font: 700 16px/1.2 var(--serif); }
.vg-jump a:hover { background: var(--accent-tint); }
.vg-jump a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 960px) {
  .vg-layout { display: block; }
  .vg-side { display: none; }
  .vg-jump { display: block; }
}
.vg-main { min-width: 0; }
.vg-intro { margin: 0 0 30px; font-size: 18px; color: #333; }
.vg-intro p { margin: 0 0 .7em; }
.vg-sec { margin: 0 0 40px; scroll-margin-top: 96px; }   /* clear of the sticky header, as .sermon-day */
.vg-sec > h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: clamp(24px, 2.4vw, 30px); }
.vg-sec > h2 svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.vg-t { margin: 0 0 10px; background: #fff; border: 1px solid rgba(35, 39, 42, .12); border-radius: 10px; scroll-margin-top: 96px; }
.vg-t > summary { display: flex; align-items: flex-start; gap: 10px; min-height: 52px; padding: 14px 14px 14px 18px; cursor: pointer; list-style: none; border-radius: 10px; }
.vg-t > summary::-webkit-details-marker { display: none; }
.vg-t > summary::marker { content: ""; }
@media (hover: hover) { .vg-t > summary:hover { background: #f8f4ed; } }
.vg-t > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.vg-t[open] > summary { border-radius: 10px 10px 0 0; }
.vg-q { flex: 1 1 auto; min-width: 0; font: 700 18px/1.35 var(--serif); color: var(--ink); overflow-wrap: anywhere; }
.vg-t[open] .vg-q { color: var(--accent); }
.vg-chev { flex: none; width: 20px; height: 20px; margin-top: 2px; fill: none; stroke: #7a766e; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.vg-t[open] .vg-chev { transform: rotate(180deg); stroke: var(--accent); }
@media (prefers-reduced-motion: reduce) { .vg-chev { transition: none; } }
.vg-a { padding: 6px 22px 20px 18px; border-top: 1px solid rgba(35, 39, 42, .08); overflow-wrap: anywhere; }
.vg-short { margin: 12px 0 12px; font: 17px/1.6 var(--serif); color: #2b2925; }
.vg-steps { margin: 0 0 14px; padding: 0 0 0 1.6em; font: 16.5px/1.55 var(--serif); color: #2b2925; }
.vg-steps li { margin: 0 0 6px; padding-left: 4px; }
.vg-steps li::marker { font-weight: 700; color: var(--muted); }
.vg-a b { font-family: system-ui, -apple-system, sans-serif; font-size: .9em; font-weight: 600; color: var(--ink); }
.vg-dev { margin: 0 0 14px; padding: 10px 14px; background: #f6f1e8; border-left: 3px solid #c9beae; border-radius: 0 6px 6px 0;
  font: 14.5px/1.5 system-ui, -apple-system, sans-serif; color: #55524b; }
.vg-dev p { margin: 0 0 4px; }
.vg-dev p:last-child { margin: 0; }
.vg-dev span { font-weight: 600; color: #3d3a34; }
.vg-go { margin: 4px 0 0; }
.vg-go a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--accent); border-radius: 999px;
  color: var(--accent); background: #fff; text-decoration: none; font: 600 15px/1.2 system-ui, -apple-system, sans-serif; }
.vg-go a::after { content: "\2192"; }
.vg-go a:hover { background: var(--accent-tint); }
.vg-go a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.vg-end { margin: 36px 0 0; padding: 22px 24px; background: #fff; box-shadow: var(--shadow); font-size: 16.5px; }
.vg-end p { margin: 0; }
.vg-end p + p { margin-top: 6px; }
@media (max-width: 640px) {
  .vg-sec, .vg-t { scroll-margin-top: 80px; }
  .vg-intro { font-size: 17px; }
  .vg-sec { margin-bottom: 32px; }
  .vg-t > summary { padding: 12px 12px 12px 14px; }
  .vg-q { font-size: 17px; }
  .vg-a { padding: 4px 14px 16px 14px; }
  .vg-jump a { padding: 0 13px; font-size: 15.5px; }
}
/* Search, "Help on this" (B4): the Sermons-on-this block (its rules above carry .vg-search too) above the results, at most two rows. The question mark sits in the
   row's own ring (.ss-list .ic): one ring, not two (Gerhard's one change to the design, 27 Nov 2026) */
.vg-search { margin: 26px 0 30px; }
.vg-search .ss-head { padding-bottom: 8px; }
.vg-search .ss-list a { padding: 12px 0; }
.vg-search .ss-list .t { font-size: 17px; }
.vg-search .ss-list .ic svg { width: 22px; height: 22px; stroke-width: 2; }
/* Ask (B3): the site answer card's pill to the topic */
.ask-site .vg-go { margin-top: 14px; }
/* Bookstore (B6): the line in the printing-and-PayPal note */
.vg-inline { white-space: nowrap; }
