/* Brighter Days — green & sunshine theme. Plain CSS, no external resources. */
:root {
  /* Colour refresh: richer pine greens, warm honey sun, soft sunrise amber */
  --forest: #2e6b47;      /* pine green: links, headings */
  --forest-deep: #1c4532; /* deep forest: top bar, footer, titles */
  --forest-night: #17392a;/* darkest green: footer and deep bars */
  --sage: #7fb069;        /* fresh leaf green: accents */
  --sage-soft: #e8f1e0;   /* pale meadow: tags, soft panels */
  --sun: #f5b700;         /* honey sun: buttons, highlights */
  --sun-glow: #ffc928;    /* light gold: text on dark green */
  --amber: #ee9b3f;       /* sunrise amber: gradient accents only */
  --gold: #c9962a;        /* decorative gold (borders only) */
  --gold-deep: #8a5a0a;   /* readable gold text on light backgrounds */
  --cream: #fbe3a0;       /* deeper sunshine page background */
  --paper: #ffffff;
  --ink: #263028;
  --muted: #5f665b;
  --line: #e7e4d2;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--serif); color: var(--ink); line-height: 1.75; font-size: 1.1rem;
  background-color: #fbe3a0;
  background: var(--cream);
  background-image: radial-gradient(circle at 10% 0%, #fdf0a0 0, transparent 42%), radial-gradient(circle at 100% 60%, #fbe3a0 0, transparent 38%);
  background-attachment: scroll;
}
a { color: var(--forest); }
a:hover { color: var(--gold-deep); }
img { max-width: 100%; }

/* ---------- Top bar / nav ---------- */
.topbar { background: linear-gradient(180deg, #1f4b36, var(--forest-deep)); color: #fff; position: relative; z-index: 2; box-shadow: 0 2px 12px rgba(23,57,42,.25); border-bottom: 2px solid rgba(244,194,71,.55); }
.topbar .inner { max-width: 68rem; margin: 0 auto; padding: .7rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; font-family: var(--sans); font-size: 1.35rem; font-weight: 700; letter-spacing: 0; }
.brand:hover { color: #fff3c4; }
.brand img { width: 40px; height: 40px; background: #fffbe8; border-radius: 50%; padding: 3px; }
.nav { display: flex; gap: .4rem; margin: 0; padding: 0; list-style: none; font-family: var(--sans); font-size: .95rem; }
.nav a { color: #f3f7ee; text-decoration: none; padding: .4rem .9rem; border-radius: 999px; transition: background .2s; }
.nav a:hover { background: rgba(244,194,71,.18); color: #fff; }
.nav a[aria-current="page"] { background: var(--sun); color: var(--forest-deep); box-shadow: 0 2px 10px rgba(244,194,71,.35); }

/* ---------- Home hero ---------- */
.hero { position: relative; text-align: center; background: #fdf0a0 url("assets/hero.svg") center bottom / cover no-repeat; padding: 4.5rem 1.5rem 11rem; overflow: hidden; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1.1; margin: 0 0 .7rem; color: var(--forest-deep); letter-spacing: -.01em; text-shadow: 0 2px 0 rgba(255,255,255,.5); }
.hero p.tagline { font-size: clamp(1.1rem, 2.2vw, 1.35rem); max-width: 36rem; margin: 0 auto; color: #33432f; font-style: italic; }
.hero .badge { display: inline-block; font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--forest-deep); background: rgba(255,255,255,.78); border: 1px solid rgba(46,107,71,.28); font-weight: 600; padding: .3rem .9rem; border-radius: 999px; margin-bottom: 1.2rem; }

/* ---------- Layout ---------- */
main { max-width: 46rem; margin: 0 auto; padding: 2.5rem 1.5rem 4rem; position: relative; }
.home main { max-width: 52rem; }
.section-title { text-align: center; font-family: var(--sans); font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; color: var(--forest); margin: .5rem 0 1.5rem; }
.divider { display: block; width: 200px; height: 24px; margin: 0 auto 1.5rem; background: url("assets/divider.svg") center / contain no-repeat; }

/* ---------- Post cards (home) ---------- */
.post-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; }
.post-list li {
  display: grid; grid-template-columns: 150px 1fr; gap: 1.4rem; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem 1.4rem 1.1rem 1.1rem;
  box-shadow: 0 6px 22px rgba(47,107,63,.08); position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s;
}
.post-list li::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--gold-deep); }
.post-list li:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(47,107,63,.15); }
.post-list .thumb { grid-row: span 3; width: 150px; height: 150px; border-radius: 14px; display: block; }
.post-list .tag { font-family: var(--sans); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--forest-deep); background: var(--sage-soft); padding: .2rem .7rem; border-radius: 999px; justify-self: start; align-self: end; }
.post-list a { font-size: 1.45rem; line-height: 1.3; color: var(--forest-deep); text-decoration: none; font-weight: 700; }
.post-list a:hover { color: var(--gold-deep); }
.post-list a::before { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.post-list .meta { color: var(--muted); font-family: var(--sans); font-size: .9rem; align-self: start; }
.empty { text-align: center; color: var(--muted); font-style: italic; }

/* ---------- Welcome / quote band on home ---------- */
.welcome { margin: 3rem 0 0; padding: 1.8rem 2rem; text-align: center; background: var(--sage-soft); border-radius: 18px; position: relative; overflow: hidden; }
.welcome p { margin: 0; font-size: 1.15rem; color: var(--forest-deep); font-style: italic; }
.welcome::before { content: ""; position: absolute; right: -10px; bottom: -14px; width: 110px; height: 110px; background: url("assets/leaf-corner.svg") center / contain no-repeat; opacity: .5; }

/* ---------- Post page ---------- */
.post-banner { height: 150px; background: #fdf0a0 url("assets/hero.svg") center 80% / cover no-repeat; }
.post main { margin-top: -70px; }
article {
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 2.8rem 3rem 2.4rem;
  box-shadow: 0 10px 34px rgba(47,107,63,.10); position: relative; overflow: hidden;
}
article::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(90deg, var(--forest-deep), var(--sage) 45%, var(--sun) 80%, var(--amber)); }
article::after { content: ""; position: absolute; right: -18px; top: -18px; width: 120px; height: 120px; background: url("assets/leaf-corner.svg") center / contain no-repeat; transform: rotate(180deg) scaleX(-1); opacity: .3; pointer-events: none; }
article h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); line-height: 1.2; margin: 0 0 .6rem; color: var(--forest-deep); padding-right: 2.5rem; }
article .meta { color: var(--muted); font-family: var(--sans); font-size: .9rem; margin: 0 0 2rem; padding-bottom: 1.4rem; border-bottom: 1px dashed var(--line); }
article .meta::before { content: ""; display: inline-block; width: 18px; height: 18px; vertical-align: -3px; margin-right: .45rem; background: url("assets/logo.svg") center / contain no-repeat; }
article p { margin: 0 0 1.25rem; }
article > p:first-of-type:not(.meta), article .meta + p { font-size: 1.22rem; color: #39432f; }
article h3 { font-size: 1.45rem; color: var(--forest); margin: 3rem 0 1rem; padding-top: 2.4rem; background: url("assets/divider.svg") center top / 180px 22px no-repeat; text-align: left; }
article h3::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; background: var(--sun); margin-top: .45rem; }
article em { color: #3d4a35; }

.pullquote {
  margin: 2.2rem -.5rem; padding: 1.6rem 1.8rem 1.6rem 4.2rem; position: relative;
  background: linear-gradient(135deg, #fff8e3, #fde9b8); border-left: 6px solid var(--gold-deep); border-radius: 0 16px 16px 0;
  font-size: 1.45rem; line-height: 1.45; font-style: italic; color: var(--forest-deep);
}
.pullquote::before { content: "\201C"; position: absolute; left: 1rem; top: .3rem; font-size: 4.5rem; line-height: 1; color: var(--sage); font-style: normal; }
.pullquote cite { display: block; margin-top: .6rem; font-family: var(--sans); font-style: normal; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }

.back { display: inline-flex; align-items: center; gap: .4rem; margin-top: 2rem; font-family: var(--sans); font-size: .95rem; color: var(--forest-deep); background: var(--sun); text-decoration: none; padding: .6rem 1.2rem; border-radius: 999px; box-shadow: 0 4px 12px rgba(201,150,42,.28); }
.back:hover { background: var(--sun-glow); color: var(--forest-deep); }

/* ---------- About ---------- */
article .placeholder-note { font-size: .95rem !important; font-family: var(--sans); background: #fff6d0; border: 1px dashed var(--gold); color: var(--gold-deep); padding: .7rem 1rem; border-radius: 10px; }

/* ---------- Footer ---------- */
footer { position: relative; margin-top: 3rem; background: linear-gradient(180deg, var(--forest-deep), var(--forest-night)); color: #dfe9d6; text-align: center; padding: 2.6rem 1.5rem 2rem; font-family: var(--sans); font-size: .92rem; }
footer::before { content: ""; position: absolute; left: 0; right: 0; top: -39px; height: 40px; background: url("assets/wave.svg") center bottom / 100% 100% no-repeat; }
footer .foot-brand { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--serif); font-size: 1.2rem; color: #fff; font-weight: 700; }
footer .foot-brand img { width: 30px; height: 30px; background: #fffbe8; border-radius: 50%; padding: 2px; }
footer p { margin: .5rem 0 0; }
footer .foot-tag { color: var(--sun-glow); font-style: italic; font-family: var(--serif); font-size: 1rem; }
footer a { color: #fff3c4; }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  body { font-size: 1.05rem; }
  .topbar .inner { padding: .6rem 1rem; }
  .brand { font-size: 1.15rem; }
  .brand img { width: 34px; height: 34px; }
  .nav a { padding: .35rem .7rem; }
  .hero { padding: 3rem 1.2rem 8rem; }
  .post-list li { grid-template-columns: 84px 1fr; gap: .9rem; padding: 1rem; }
  .post-list .thumb { width: 84px; height: 84px; grid-row: span 1; }
  .post-list .tag { grid-column: 2; align-self: center; }
  .post-list a { font-size: 1.2rem; grid-column: 1 / -1; }
  .post-list .meta { grid-column: 1 / -1; }
  .post-banner { height: 110px; }
  .post main { margin-top: -50px; padding: 1.5rem .9rem 3rem; }
  article { padding: 2rem 1.3rem 1.6rem; border-radius: 16px; }
  .pullquote { margin: 1.8rem 0; padding: 1.3rem 1.2rem 1.3rem 3.2rem; font-size: 1.2rem; }
  .pullquote::before { font-size: 3.4rem; left: .6rem; }
}

article ul.sources { font-family: system-ui, sans-serif; font-size: .9rem; padding-left: 1.2rem; }
article ul.sources li { margin: .35rem 0; }
article ul.sources a { color: #2f6b3a; word-break: break-word; }

.donate-wrap { text-align: center; margin: 1.8rem 0 !important; }
.donate-btn { display: inline-block; background: var(--sun); color: var(--forest-deep); font-family: var(--sans); font-weight: 700; font-size: 1.05rem; padding: .85rem 2rem; border-radius: 999px; text-decoration: none; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.donate-btn:hover { filter: brightness(1.05); }

/* Inline quotations and post subtitle/byline */
article .subtitle { font-size: 1.2rem; color: var(--forest); margin: -.4rem 0 .6rem; font-style: italic; }
article blockquote.quote { margin: 1.2rem 0 1.4rem; padding: .3rem 0 .3rem 1.2rem; border-left: 4px solid var(--gold-deep); font-style: italic; }
article blockquote.quote p { margin: 0; }
article blockquote.quote cite { display: block; font-style: normal; font-size: .9em; margin-top: .4rem; opacity: .8; }

article h4 { font-family: var(--sans); font-size: 1.05rem; color: var(--forest-deep); margin: 1.4rem 0 .4rem; }
article ol.steps li { margin: .5rem 0; }
article details.reveal { margin: 1.5rem 0; }
article details.reveal summary { cursor: pointer; font-family: var(--sans); font-weight: 600; color: var(--forest-deep); background: var(--sun); padding: .6rem 1rem; border-radius: 999px; display: inline-block; }

/* Mental health note on the front page */
.mh-note { max-width: 760px; margin: 0 auto 2rem; background: #fff; border-left: 6px solid var(--gold-deep); border-radius: 12px; padding: 1rem 1.4rem; box-shadow: 0 2px 10px rgba(0,0,0,.06); font-family: var(--sans); font-size: .95rem; }
.mh-note h2 { font-size: 1.05rem; margin: .2rem 0 .5rem; color: var(--forest-deep); }
.mh-note p { margin: .4rem 0; }

.mh-icon { float: right; width: 84px; height: auto; margin: 0 0 .5rem 1rem; }
@media (max-width: 560px) { .mh-icon { width: 60px; } }

/* ---------- Reorganisation: nav, related posts, topics, start here ---------- */
html, body { overflow-x: clip; }
html { scroll-behavior: auto; }
.topbar .inner { flex-wrap: wrap; }
.nav { flex-wrap: wrap; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; }
.related { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem 1.6rem; margin-top: 2rem; box-shadow: 0 6px 22px rgba(47,107,63,.06); font-family: var(--sans); }
.related h2 { font-size: 1.1rem; color: var(--forest-deep); margin: .4rem 0 .8rem; }
.series { background: var(--sage-soft); border-radius: 12px; padding: .8rem 1rem; margin-bottom: 1rem; display: grid; gap: .3rem; }
.series-name { margin: 0; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--forest); }
.series a { display: flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--forest-deep); }
.related-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.related-list li { border: 1px solid var(--line); border-left: 5px solid var(--gold-deep); border-radius: 12px; padding: .7rem 1rem; background: #fff; }
.related-list a { display: block; font-weight: 700; color: var(--forest-deep); text-decoration: none; font-size: 1.05rem; min-height: 28px; }
.related-list a:hover { color: var(--gold-deep); }
.related-list .desc { display: block; color: var(--muted); font-size: .92rem; margin-top: .2rem; line-height: 1.5; }
.topic-links { margin: 1rem 0 0; font-size: .92rem; }
.topic-links a { display: inline-block; padding: .55rem .2rem; }
article.listing .related-list a { font-family: var(--sans); }
.signposts { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 1rem; }
.signposts > li { background: var(--sage-soft); border-radius: 14px; padding: .4rem 1.2rem .8rem; }
article h3.feel { background: none; padding-top: .6rem; margin: .4rem 0 .4rem; font-size: 1.2rem; }
article h3.feel::after { display: none; }
.signposts ul { margin: 0; padding-left: 1.2rem; font-family: var(--sans); }
.signposts ul a { display: inline-block; padding: .5rem 0; }
.home-books { margin: 3rem 0 0; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem 1.6rem; font-family: var(--sans); }
.home-books h2 { margin: 0 0 .4rem; font-family: var(--serif); color: var(--forest-deep); }
.home-books ul { padding-left: 1.2rem; }
.home-books a { display: inline-block; padding: .35rem 0; }
@media (max-width: 640px) {
  body { font-size: 18px; line-height: 1.7; }
  .topbar .inner { justify-content: center; }
  .nav { justify-content: center; gap: .2rem; }
  .nav a { padding: .3rem .65rem; font-size: .9rem; }
  .related { padding: 1.1rem 1rem; }
}

/* ---------- Books library and reader ---------- */
.library-jump { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; padding: 0; list-style: none; font-family: var(--sans); }
.library-jump a { display: inline-flex; align-items: center; min-height: 44px; padding: .3rem 1rem; border-radius: 999px; background: var(--sage-soft); color: var(--forest-deep); text-decoration: none; font-weight: 600; font-size: .92rem; }
.library-jump a:hover { background: var(--sun); }
.lib-group { margin: 2.5rem 0 0; scroll-margin-top: 1rem; }
.lib-group > h2 { font-size: 1.6rem; color: var(--forest-deep); margin: 0 0 .3rem; }
.lib-group > p { color: var(--muted); font-family: var(--sans); font-size: .95rem; margin: 0 0 1rem; }
.book-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1rem; }
.book-card { background: var(--paper); border: 1px solid var(--line); border-top: 6px solid var(--sun); border-radius: 16px; padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .4rem; box-shadow: 0 6px 18px rgba(47,107,63,.07); }
.book-card .bt { font-size: 1.3rem; line-height: 1.25; font-weight: 700; color: var(--forest-deep); text-decoration: none; }
.book-card .ba { font-family: var(--sans); font-size: .9rem; color: var(--gold-deep); margin: 0; }
.book-card .bd { font-size: .98rem; margin: 0; color: var(--ink); flex: 1; }
.btns { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .4rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .4rem 1.1rem; border-radius: 999px; font-family: var(--sans); font-weight: 700; font-size: .92rem; text-decoration: none; background: var(--sun); color: var(--forest-deep); }
.btn.alt { background: var(--sage-soft); }
.btn:hover { filter: brightness(1.05); color: var(--forest-deep); }
.further { background: #fff8dc; border: 1px dashed var(--gold); border-radius: 16px; padding: 1.2rem 1.4rem; margin-top: 2.5rem; }
.book main { max-width: 52rem; }
.reader { max-width: 65ch; margin: 0 auto; }
.reader-bar { position: sticky; top: 0; z-index: 3; display: flex; flex-wrap: wrap; gap: .5rem; justify-content: space-between; align-items: center; background: rgba(253,250,240,.96); border-bottom: 1px solid var(--line); padding: .5rem .2rem; margin: 0 0 1.2rem; font-family: var(--sans); }
.reader-bar .crumb { font-size: .85rem; color: var(--muted); min-width: 0; overflow-wrap: anywhere; }
article.bookpage { padding: 2.4rem 2.6rem; }
article.bookpage p { text-align: left; overflow-wrap: break-word; hyphens: auto; }
article.bookpage h2 { padding-right: 0; }
article.bookpage h3 { background: none; padding-top: 0; margin: 2rem 0 .8rem; }
.toc { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .3rem; font-family: var(--sans); }
.toc a { display: flex; align-items: center; min-height: 44px; padding: .3rem .8rem; border-radius: 10px; background: var(--sage-soft); color: var(--forest-deep); text-decoration: none; font-size: .98rem; }
.toc a:hover { background: #fff3c4; }
.chap-nav { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: space-between; margin: 2rem 0 0; }
.chap-nav .btn { flex: 1 1 12rem; text-align: center; }
.pd-note { font-family: var(--sans); font-size: .88rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 1rem; margin-top: 2rem; }
.title-page { text-align: center; }
.title-page .by { font-family: var(--sans); color: var(--gold-deep); }
article.bookpage blockquote { margin: 1rem 0 1rem 1rem; padding-left: 1rem; border-left: 3px solid var(--line); }
article.bookpage pre { white-space: pre-wrap; font-family: inherit; }
article.bookpage table { display: block; max-width: 100%; overflow-x: auto; }
@media (max-width: 640px) {
  .book-grid { grid-template-columns: 1fr; }
  article.bookpage { padding: 1.4rem 1.1rem; }
  .book .post main { padding: 1.2rem .7rem 3rem; }
}
.support-link { text-align: center; font-family: var(--sans); margin: 2.5rem 0 0; }
.support-link a { display: inline-flex; align-items: center; min-height: 44px; padding: .3rem 1rem; }
.library main { max-width: 68rem; }
.library article.listing { max-width: 46rem; margin: 0 auto; }

/* Library copyright notices */
.book-card .nz-note{font-size:.8rem;color:#6b5a2e;background:#fff7dd;border-left:3px solid var(--gold-deep);padding:.25rem .5rem;margin:.4rem 0 .6rem;border-radius:4px}
.library-copyright{font-size:.9rem;color:#555;max-width:65ch;margin:2rem auto 0;text-align:center}

.thought-today {
  position: relative; overflow: hidden; isolation: isolate;
  max-width: 760px; margin: 0 auto 2.2rem; text-align: center;
  padding: 1.9rem 2rem 1.7rem; border-radius: 22px;
  color: #1f4d33;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255,255,255,.4), transparent 60%),
    linear-gradient(160deg, #dff0e1 0%, #cfe8d3 100%);
  border: 1px solid rgba(46,107,71,.16);
  box-shadow: 0 8px 24px rgba(28,69,50,.10);
}
.thought-today::before { /* sunrise line across the top */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, transparent, #f6e7b0 22%, #e8d080 50%, #f6e7b0 78%, transparent);
}
.thought-today::after { /* large faint quote mark */
  content: "\201C"; position: absolute; z-index: -1; left: .9rem; top: -.4rem;
  font-family: var(--serif); font-size: 7rem; line-height: 1; color: #1f4d33; opacity: .08;
}
.thought-today .tt-label {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700;
  color: #1c4532;
}
.thought-today .tt-label::before { /* small rising sun */
  content: ""; width: 18px; height: 9px; border-radius: 18px 18px 0 0;
  background: linear-gradient(var(--sun-glow), var(--amber)); box-shadow: 0 0 8px rgba(245,183,0,.45);
}
.thought-today blockquote {
  margin: .8rem auto .7rem; max-width: 34em; font-size: 1.5rem; line-height: 1.45; font-style: italic;
  color: #1f4d33; border: 0; padding: 0; text-shadow: none;
}
.thought-today .tt-author {
  display: inline-block; font-family: var(--sans); font-size: .9rem; font-weight: 600; letter-spacing: .03em; color: #1c4532;
  padding-top: .55rem; border-top: 1px solid rgba(28,69,50,.18);
}
@media (max-width: 560px) {
  .thought-today { padding: 1.5rem 1.2rem 1.4rem; border-radius: 18px; margin-bottom: 1.8rem; }
  .thought-today blockquote { font-size: 1.22rem; }
  .thought-today::after { font-size: 5.5rem; }
}

/* Search */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.search-box input, .lib-search input[type=search] { width: 100%; font: inherit; font-size: 1.2rem; padding: .85rem 1.2rem; border: 2px solid var(--sage); border-radius: 999px; background: var(--paper); color: var(--ink); min-height: 52px; }
.search-box input:focus, .lib-search input[type=search]:focus { outline: 3px solid var(--sun); outline-offset: 2px; border-color: var(--forest); }
.search-box { margin: 1.2rem 0 .8rem; }
.search-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; }
.chip { font-family: var(--sans); font-weight: 700; font-size: .92rem; min-height: 44px; padding: .4rem 1.1rem; border-radius: 999px; border: 2px solid var(--sage); background: var(--paper); color: var(--forest-deep); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.search-status { font-family: var(--sans); color: var(--muted); font-size: .95rem; }
.search-results { list-style: none; padding: 0; margin: 0; }
.search-result { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem; margin: 0 0 .9rem; }
.search-result h3 { margin: .1rem 0 .3rem; font-size: 1.2rem; line-height: 1.35; }
.search-result h3 a { color: var(--forest-deep); text-decoration: none; }
.search-result h3 a:hover { text-decoration: underline; }
.sr-from { margin: 0; font-family: var(--sans); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
.sr-excerpt { margin: 0; font-size: 1rem; color: var(--ink); overflow-wrap: anywhere; }
.sr-excerpt mark, .search-result mark { background: #fff1a8; color: inherit; padding: 0 .1em; border-radius: 3px; }
.lib-search { margin: 1rem 0 1.2rem; }
.lib-search label { display: block; font-family: var(--sans); font-weight: 700; font-size: .95rem; margin-bottom: .4rem; color: var(--forest-deep); }
.lib-search-row { display: flex; gap: .5rem; align-items: center; }
.lib-search-row input[type=search] { font-size: 1.05rem; min-height: 48px; padding: .6rem 1rem; }
@media (max-width: 560px) { .search-box input { font-size: 1.05rem; } .search-result { padding: .85rem 1rem; } .lib-search-row { flex-direction: column; align-items: stretch; } }
.search-result h3::before, .search-result h3::after { content: none; display: none; }
article .search-result h3 { padding: 0; border: 0; text-align: left; background: none; margin: .15rem 0 .35rem; font-size: 1.2rem; }

footer .foot-copy { font-size: .8em; color: #b9c8ae; max-width: 46rem; margin: .7rem auto 0; line-height: 1.5; }

/* Blue side bars on post cards and post pages (9 Nov 2026) */
.post-list li::after { background: var(--gold-deep) !important; }
article blockquote, article blockquote.quote, article .pullquote, .related-list li { border-left-color: var(--gold-deep) !important; }
article .pullquote { background: linear-gradient(135deg, #eef5fa, #dcebf5) !important; }
article .pullquote::before { color: #3a7ca5 !important; }
/* All side borders blue sitewide (9 Nov 2026) */
.mh-note, .pullquote, .related-list li, .book-card .nz-note, blockquote { border-left-color: var(--gold-deep) !important; }
.pullquote { background: linear-gradient(135deg, #eef5fa, #dcebf5) !important; }
.pullquote::before { color: #3a7ca5 !important; }
/* Thought for today: pastel green card (20 Nov 2026) */
.thought-today {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255,255,255,.4), transparent 60%),
    linear-gradient(160deg, #dff0e1 0%, #cfe8d3 100%) !important;
  border: 1px solid rgba(46,107,71,.16) !important;
  border-left: 3px solid #e8d080 !important;
  box-shadow: 0 8px 24px rgba(28,69,50,.10) !important;
  color: #1f4d33 !important;
}
.thought-today::before { height: 3px; background: linear-gradient(90deg, transparent, #f6e7b0 22%, #e8d080 50%, #f6e7b0 78%, transparent) !important; }
.thought-today::after { color: #1f4d33 !important; opacity: .08 !important; }
.thought-today blockquote { color: #1f4d33 !important; text-shadow: none !important; }
.thought-today .tt-label, .thought-today .tt-author { color: #1c4532 !important; }
.thought-today .tt-author { border-top-color: rgba(28,69,50,.18) !important; }

/* ==========================================================================
   Typography system (9 Nov 2026)
   One reading font everywhere: the same sans-serif as the front-page
   "About this site" box. One size and line height for all reading text,
   bold dark-green sans headings on one scale. The hero title "Brighter Days"
   and the footer brand keep the serif on purpose. The top-bar wordmark is
   system-sans, bold and white (LOGO-A-2026-11-12).
   ========================================================================== */
:root {
  --sans: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, "Liberation Sans", sans-serif;
  --read: var(--sans);
  --text-size: 1.125rem;   /* 18px desktop */
  --text-lh: 1.7;
  --h1: clamp(1.7rem, 4vw, 2.15rem);  /* page / post titles */
  --h2: 1.45rem;                      /* section headings */
  --h3: 1.2rem;                       /* sub-headings, box headings */
  --h-small: 1.08rem;                 /* small box headings */
}
@media (max-width: 640px) { :root { --text-size: 1.0625rem; } } /* 17px phones */

body { font-family: var(--read) !important; font-size: var(--text-size) !important; line-height: var(--text-lh) !important; }
.hero h1, footer .foot-brand { font-family: var(--serif); } /* hero title and footer stay serif */

/* All reading text: same family, size and line height */
article p, article li, article blockquote, article blockquote p, article dd, article td,
article > p:first-of-type:not(.meta), article .meta + p,
.mh-note, .mh-note p, .mh-note li,
.welcome p, .home-books p, .home-books li, .lib-group > p, .further p,
.book-card .bd, .signposts li, .related-list li, .sr-excerpt, .hero p.tagline, footer .foot-tag {
  font-family: var(--read) !important; font-size: var(--text-size) !important; line-height: var(--text-lh) !important;
}
article > p:first-of-type:not(.meta), article .meta + p { color: var(--ink) !important; } /* no oversized lead paragraph */
article p.subtitle { font-size: 1.1em !important; line-height: 1.5 !important; font-style: italic; color: var(--forest) !important; }
article.bookpage pre { font-family: var(--read); }

/* Headings: bold dark-green sans on one scale */
article h2, .lib-group > h2, .home-books h2, .mh-note h2, .related h2,
article h3, article h3.feel, article h4, .search-result h3, .post-list a, .book-card .bt, .related-list a {
  font-family: var(--sans) !important; font-weight: 700; color: var(--forest-deep); letter-spacing: -.005em;
}
article h2 { font-size: var(--h1) !important; line-height: 1.2 !important; }
.lib-group > h2, .home-books h2 { font-size: var(--h2) !important; line-height: 1.25 !important; }
article h3 { font-size: var(--h2) !important; line-height: 1.3 !important; }
article.bookpage h3, article h3.feel, .search-result h3, article .search-result h3 { font-size: var(--h3) !important; line-height: 1.35 !important; }
article h4, .related h2 { font-size: var(--h3) !important; line-height: 1.35 !important; }
.mh-note h2 { font-size: var(--h-small) !important; line-height: 1.35 !important; }
.post-list a { font-size: 1.3rem !important; line-height: 1.3 !important; }
.book-card .bt { font-size: 1.2rem !important; line-height: 1.3 !important; }
.related-list a { font-size: var(--text-size) !important; }
@media (max-width: 640px) {
  article h3 { font-size: 1.3rem !important; }
  .lib-group > h2, .home-books h2 { font-size: 1.3rem !important; }
  .post-list a { font-size: 1.15rem !important; }
}

/* Feature quotes: same family, italic, kept a little larger as a design element */
.pullquote, article .pullquote { font-family: var(--read) !important; font-size: 1.3rem !important; line-height: 1.5 !important; }
.thought-today blockquote, .thought-today::after { font-family: var(--read) !important; }
.thought-today blockquote { font-size: 1.35rem !important; line-height: 1.5 !important; }
@media (max-width: 640px) {
  .pullquote, article .pullquote { font-size: 1.15rem !important; }
  .thought-today blockquote { font-size: 1.2rem !important; }
}

/* Small UI text (nav, tags, meta, labels, notes, sources) stays small sans */
article ul.sources, article ul.sources li { font-family: var(--sans) !important; font-size: .9rem !important; line-height: 1.5 !important; }
.book-card .nz-note, .library-copyright, .pd-note, .placeholder-note, .related-list .desc { font-family: var(--sans) !important; }
/* Small UI text keeps its own smaller size (beats the reading-text rule above) */
article p.meta, article .meta { font-size: .9rem !important; line-height: 1.5 !important; }
article p.pd-note { font-size: .88rem !important; line-height: 1.55 !important; }
article p.placeholder-note { font-size: .95rem !important; }
article p.subtitle, article > p.subtitle:first-of-type { font-size: 1.1em !important; line-height: 1.5 !important; color: var(--forest) !important; }
.related p.topic-links { font-size: .92rem !important; }
.book-card p.ba { font-size: .9rem !important; line-height: 1.5 !important; }
.book-card p.nz-note { font-size: .8rem !important; line-height: 1.5 !important; }
.search-result p.sr-from { font-size: .8rem !important; line-height: 1.5 !important; }
/* Quote references match quote cites sitewide */
blockquote .subtitle, blockquote cite { display: block; font-size: .85em !important; font-style: normal !important; margin-top: .3rem; color: var(--forest, #2e6b47); }
/* Post headings refresh (9 Nov 2026) */
article > h2:first-of-type, article h2.post-title { letter-spacing: -.015em; color: var(--forest-night, #17392a) !important; }
article > h2:first-of-type::after { content: ""; display: block; width: 72px; height: 5px; border-radius: 5px; margin: .7rem 0 .2rem; background: linear-gradient(90deg, #3a7ca5, #7fb8d9 55%, var(--sun)); }
article h3:not(.feel) { background: none !important; padding-top: 1.6rem !important; margin-top: 2.6rem !important; border-top: 1px solid rgba(46,107,71,.14); letter-spacing: -.005em; color: var(--forest-deep, #1c4532) !important; position: relative; padding-left: .95rem; }
article h3:not(.feel)::before { content: ""; position: absolute; left: 0; top: calc(1.6rem + .2em); bottom: .2em; width: 5px; border-radius: 4px; background: linear-gradient(#7fb8d9, #3a7ca5); }
article h3:not(.feel)::after { display: none !important; }
article.bookpage h3:not(.feel) { border-top: 0; padding-top: .4rem !important; margin-top: 1.8rem !important; }
article.bookpage h3:not(.feel)::before { top: calc(.4rem + .2em); }
article h4 { color: #2a5f82 !important; letter-spacing: .01em; }
/* Menu buttons refresh (9 Nov 2026) */
.nav { gap: .45rem !important; font-family: var(--sans) !important; }
.nav a {
  font-family: var(--sans) !important; font-size: .95rem !important; font-weight: 600 !important; letter-spacing: .01em;
  color: #f3f7ee !important; padding: .45rem 1rem !important; min-height: 40px !important;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05);
  transition: background .2s, border-color .2s, transform .15s;
}
.nav a:hover { background: rgba(127,184,217,.22) !important; border-color: rgba(127,184,217,.55); color: #fff !important; transform: translateY(-1px); }
.nav a[aria-current="page"] { background: var(--sun) !important; border-color: var(--sun); color: var(--forest-night, #17392a) !important; box-shadow: 0 2px 10px rgba(244,194,71,.35); }
@media (max-width: 720px) {
  .nav { display: grid !important; grid-template-columns: repeat(3, auto); justify-content: center; gap: .4rem !important; }
  .nav a { justify-content: center; font-size: .88rem !important; padding: .35rem .8rem !important; min-height: 38px !important; }
}
@media (max-width: 720px) { .nav { display: flex !important; flex-wrap: wrap; justify-content: center; } }
.book-card { border-top-color: #3a7ca5 !important; }
/* whole related/explore card clickable */
.related-list li { position: relative; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.related-list li a::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
.related-list li:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(42,95,130,.14); background: #f6fafd; }
.related-list li:hover a { color: #2a5f82 !important; }
.related-list li a:focus-visible::after { outline: 3px solid #7fb8d9; outline-offset: 2px; }
.related-list li { padding-right: 2.4rem !important; }
.related-list li::before { content: "\203A"; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); font: 700 1.6rem/1 var(--sans); color: #3a7ca5; pointer-events: none; }

/* ---------- Public polish: skip link, focus, reading time, low strip, back to top ---------- */
.home-start-here { display: flex; justify-content: center; margin: .85rem 0 .4rem; }
.home-start-here .btn { font-size: 1.02rem; padding: .5rem 1.4rem; }
.post-summary { font-size: 1.08rem; line-height: 1.45; margin: 0 0 1.15rem; max-width: 40rem; }

.ig-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  margin: 0;
  color: #193e2d !important;
  text-decoration: none;
  border: none;
  background: none;
  border-radius: 0;
  flex-shrink: 0;
  line-height: 0;
  vertical-align: middle;
  box-shadow: none;
}
.ig-link svg {
  width: 20px;
  height: 20px;
  display: block;
}
.ig-link:hover,
.ig-link:focus-visible {
  background: none !important;
  color: #193e2d !important;
  opacity: 0.75;
}
footer .ig-link {
  color: #143224 !important;
  vertical-align: -3px;
}
footer .ig-link:hover,
footer .ig-link:focus-visible {
  background: none !important;
  color: #143224 !important;
  opacity: 0.75;
}

.skip-link { position: absolute; left: .75rem; top: -5rem; z-index: 100; background: var(--sun); color: var(--forest-deep); font-family: var(--sans); font-weight: 700; padding: .6rem 1.1rem; border-radius: 999px; text-decoration: none; box-shadow: 0 4px 14px rgba(0,0,0,.2); }
.skip-link:focus { top: .75rem; outline: 3px solid #3a7ca5; outline-offset: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 3px solid #3a7ca5; outline-offset: 3px; border-radius: 6px; }
.topbar a:focus-visible, footer a:focus-visible { outline-color: var(--sun); }
.post-list a:focus-visible { outline: none; }
.post-list li:has(a:focus-visible) { outline: 3px solid #3a7ca5; outline-offset: 3px; }
.related-list li a:focus-visible { outline: none; }
main:focus { outline: none; }
.low-strip { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 1.2rem 1.4rem 1.3rem; margin: 0 auto 2rem; max-width: 760px; box-shadow: 0 6px 22px rgba(47,107,63,.06); font-family: var(--sans); }
.low-strip h2 { font-family: var(--sans); font-weight: 700; color: var(--forest-deep); font-size: var(--h3, 1.2rem); line-height: 1.35; margin: .1rem 0 .3rem; }
.low-strip .low-intro { font-family: var(--sans); color: var(--muted); font-size: .95rem; margin: 0 0 .9rem; }
.low-cards .desc a { display: inline !important; position: relative; z-index: 2; font-size: inherit !important; font-weight: 600; min-height: 0; color: var(--forest) !important; text-decoration: underline; text-underline-offset: 2px; }
.low-cards .desc a::after { content: none !important; }
.low-cards .desc a:hover { color: var(--gold-deep) !important; }
.signposts > li[id], .feel-group[id] { scroll-margin-top: 1rem; }
.signposts > li:target, .feel-group:target { box-shadow: 0 0 0 3px #7fb8d9; border-radius: 12px; }
.to-top { text-align: right; margin: 1.2rem 0 0; font-family: var(--sans); }
.to-top a { display: inline-flex; align-items: center; gap: .35rem; font-size: .92rem; color: var(--forest-deep); background: var(--sage-soft); text-decoration: none; padding: .45rem 1rem; border-radius: 999px; border: 1px solid rgba(46,107,71,.2); }
.to-top a:hover { background: #dbe9cf; color: var(--forest-deep); }

/* READABILITY-2026-11-09: easier reading across all pages */
body { font-size: 1.125rem; line-height: 1.8; color: #2b2b2b; -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; }
main { max-width: 42rem; }
.home main { max-width: 50rem; }
article p, article li, main > p { font-size: 1.125rem; line-height: 1.8; margin: 0 0 1.35em; text-align: left; hyphens: none; color: #2b2b2b; }
article > p:first-of-type:not(.meta), article .meta + p { font-size: 1.2rem; line-height: 1.75; }
article ul, article ol { padding-left: 1.4rem; margin: 0 0 1.4em; }
article li { margin-bottom: .55em; }
article h2 { line-height: 1.25; }
article h3 { margin: 2.6rem 0 .9rem; line-height: 1.3; }
article h4 { margin: 1.8rem 0 .5rem; }
article a, main p a { text-decoration: none; color: #2f6b3a; }
article a:hover, main p a:hover { color: #1c4532; }
article blockquote, .pullquote { line-height: 1.6; }
article .meta { font-size: .95rem; }
article ul.sources { font-size: .95rem; line-height: 1.6; }
@media (max-width: 640px) {
  body, article p, article li, main > p { font-size: 1.1rem; line-height: 1.75; }
  main { padding: 1.8rem 1.15rem 3rem; }
  article h2 { font-size: 1.75rem; }
  article h3 { font-size: 1.3rem; margin-top: 2.2rem; }
}

/* WELCOME-2026-11-09: Welcome page cards matching front-page related-list */
.welcome-page .welcome-lead {
  font-family: var(--sans) !important;
  font-style: normal !important;
  font-size: 1.1rem !important;
  line-height: 1.65 !important;
  color: #3a3a3a !important;
  margin: 0.35rem 0 1rem !important;
}
.welcome-page .subtitle { display: none; } /* legacy intro removed */
.welcome-page .meta {
  font-family: var(--sans);
  color: var(--muted);
  margin: 0 0 1.4rem;
}
.welcome-page .mh-note { margin: 0 0 2rem; }
.welcome-page .signposts {
  list-style: none;
  padding: 0;
  margin: 0 0 2.2rem;
  display: grid;
  gap: 1.75rem;
  background: none;
}
.welcome-page .feel-group {
  background: none !important;
  border-radius: 0;
  padding: 0 !important;
  margin: 0;
}
.welcome-page .feel-group .feel,
.welcome-page h3.feel {
  font-family: var(--sans) !important;
  font-weight: 700 !important;
  color: var(--forest-deep) !important;
  font-size: 1.15rem !important;
  line-height: 1.35 !important;
  margin: 0 0 0.65rem !important;
  padding: 0 !important;
  background: none !important;
}
.welcome-page .feel-group .feel::after { display: none !important; }
.welcome-page .feel-group .related-list {
  margin: 0;
  gap: 0.75rem;
}
.welcome-page .related-list li {
  margin-bottom: 0 !important; /* override readability article li spacing */
  padding: 0.95rem 2.5rem 0.95rem 1.1rem !important;
  min-height: 3.4rem;
}
.welcome-page .related-list a {
  font-family: var(--sans) !important;
  font-size: 1.05rem !important;
  line-height: 1.35 !important;
  text-decoration: none !important; /* cards, not inline links */
}
.welcome-page .related-list .desc {
  font-family: var(--sans) !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
  color: var(--muted) !important;
  margin-top: 0.3rem !important;
}
.welcome-page .explore-h {
  font-family: var(--sans) !important;
  font-weight: 700 !important;
  color: var(--forest-deep) !important;
  font-size: 1.15rem !important;
  margin: 0.5rem 0 0.75rem !important;
}
.welcome-page .explore-h::after { display: none !important; }
/* kill the old pale-green signpost boxes if any linger */
.welcome-page .signposts > li {
  background: none !important;
  padding: 0 !important;
}
@media (max-width: 640px) {
  .welcome-page .welcome-lead { font-size: 1.05rem !important; }
  .welcome-page .feel-group .feel,
  .welcome-page h3.feel,
  .welcome-page .explore-h { font-size: 1.08rem !important; }
  .welcome-page .related-list li { padding: 1rem 2.4rem 1rem 1rem !important; }
  .welcome-page .signposts { gap: 1.5rem; }
}

/* CONSISTENCY-2026-11-09: plain dark-grey sans intros and subtitles */
/* Page intros / post subtitles: no green italic */
article .subtitle,
article p.subtitle,
article > p.subtitle:first-of-type {
  font-family: var(--sans) !important;
  font-style: normal !important;
  color: #2b2b2b !important;
  font-size: 1.1rem !important;
  line-height: 1.55 !important;
}
/* Front-page bottom welcome strip */
.welcome p {
  font-family: var(--sans) !important;
  font-style: normal !important;
  color: #2b2b2b !important;
}
/* Hero tagline was green-tinted (#33432f); keep italic, make dark grey */
.hero p.tagline {
  color: #2b2b2b !important;
}
/* Listing / library / topics / search / about intros that use .subtitle
   already covered above. Soften any leftover green italic lead lines on
   listing pages that are not quotations. */
article.listing > p.subtitle,
.welcome-page .welcome-lead {
  font-family: var(--sans) !important;
  font-style: normal !important;
  color: #2b2b2b !important;
}
/* KEEP italics for real quotations and distinct scripture/thought cards:
   article blockquote.quote, .pullquote, Thought-for-today card, <em> titles.
   Do not override those here. */

/* LOGO-A-2026-11-12: Option A mark; header wordmark is system-sans, bold, white */
.brand {
  font-family: var(--sans) !important;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0;
}

/* ASK-2026-11-12: longer header wordmark fits a 390px phone; Ask page form */
@media (max-width: 420px) {
  .brand { font-size: 1.02rem; gap: .45rem; white-space: nowrap; }
  .brand img { width: 32px; height: 32px; }
}
.ask-form { max-width: 40rem; margin: 1.2rem 0 1.6rem; }
.ask-form label {
  display: block; font-family: var(--sans); font-weight: 700;
  color: var(--forest-deep); margin-bottom: .45rem;
}
.ask-form textarea {
  width: 100%; box-sizing: border-box; min-height: 8.5rem;
  font-family: var(--sans); font-size: 1.05rem; color: #2b2b2b;
  line-height: 1.5; padding: .85rem 1rem; border: 1px solid var(--line);
  border-radius: 12px; background: #fff; resize: vertical;
}
.ask-form textarea:focus { outline: 3px solid var(--sun); outline-offset: 2px; border-color: var(--forest); }
.ask-count { font-family: var(--sans); font-size: .9rem; color: #5a5a5a; margin: .4rem 0 1rem; }
.ask-form .btn { border: 0; cursor: pointer; }
.ask-form .btn:disabled { opacity: .7; cursor: wait; }
.ask-out { max-width: 40rem; margin: 0 0 1.6rem; }
.ask-out .ask-status { color: #5a5a5a; }
.ask-out .mh-note { margin: 0 0 1.2rem; }
.ask-out blockquote.quote { margin: 1rem 0; }
.ask-note {
  font-family: var(--sans); font-size: .95rem; color: #3a3a3a;
  max-width: 40rem; margin: 0 0 1rem;
}
.ask-page > h2:first-of-type { color: var(--forest-deep); font-weight: 700; }

/* POLISH-2026-11-12: tidier 390px header; post-card titles wrap beside the mark */
@media (max-width: 420px) {
  .topbar .inner { padding: .5rem .75rem .55rem; gap: .4rem; }
  .brand { font-size: 1.02rem; gap: .4rem; white-space: nowrap; }
  .brand img { width: 30px; height: 30px; }
  .nav { gap: .28rem !important; }
  .nav a { padding: .28rem .58rem !important; font-size: .82rem !important; min-height: 36px !important; }
}
.post-list a {
  overflow-wrap: break-word;
  text-wrap: pretty;
}
@media (max-width: 640px) {
  .post-list li {
    grid-template-columns: 84px 1fr;
    grid-template-rows: auto auto auto;
    align-items: start;
    column-gap: .85rem;
    row-gap: .35rem;
    padding: .9rem .95rem;
  }
  .post-list .thumb { width: 84px; height: 84px; grid-column: 1; grid-row: 1 / 3; }
  .post-list .tag { grid-column: 2; grid-row: 1; align-self: end; justify-self: start; }
  .post-list a {
    grid-column: 2;
    grid-row: 2;
    font-size: 1.05rem !important;
    line-height: 1.28 !important;
  }
  .post-list .meta { grid-column: 1 / -1; grid-row: 3; }
}
.series-page .series-group { margin: 0 0 1.8rem; }
.series-page .series-group > h3 { color: var(--forest-deep); font-weight: 700; margin: 0 0 .7rem; }
.series-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.series-list li { position: relative; }
.series-part {
  display: inline-block; font-family: var(--sans); font-size: .75rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--forest-deep);
  background: var(--sage-soft); padding: .15rem .55rem; border-radius: 999px;
  margin-right: .4rem;
}

/* NAV-2026-11-13: two rows of three after Topics left the menu. No sideways scroll. */
.topbar .inner {
  padding: .5rem 1.1rem .55rem;
  gap: .5rem .8rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.nav {
  display: grid !important;
  grid-template-columns: repeat(4, max-content);
  justify-content: end;
  justify-items: center;
  align-items: center;
  gap: .14rem .22rem !important;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: visible !important;
  width: auto;
}
.nav a {
  display: inline-flex !important;
  align-items: center;
  font-family: var(--sans) !important;
  font-size: .86rem !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  color: #e7efe4 !important;
  text-decoration: none;
  padding: .22rem .55rem !important;
  min-height: 0 !important;
  line-height: 1.25 !important;
  border: 0 !important;
  border-radius: 999px;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.nav a:hover,
.nav a:focus-visible {
  background: rgba(255,255,255,.1) !important;
  color: #fff !important;
  border: 0 !important;
  transform: none !important;
  box-shadow: none !important;
}
.nav a[aria-current="page"] {
  background: var(--sun) !important;
  color: var(--forest-night, #17392a) !important;
  border: 0 !important;
  box-shadow: none !important;
  font-weight: 600 !important;
  padding: .22rem .6rem !important;
}
@media (max-width: 980px) {
  .topbar .inner {
    justify-content: center;
    padding: .45rem .55rem .5rem;
    gap: .32rem;
  }
  .brand { margin: 0 auto; }
  nav[aria-label="Main"] { width: 100%; }
  .nav {
    width: 100%;
    justify-content: center;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .22rem .1rem !important;
    overflow: visible !important;
  }
  .nav a {
    justify-content: center;
    font-size: .8rem !important;
    padding: .34rem .12rem !important;
    min-height: 34px !important;
  }
  .nav a[aria-current="page"] { padding: .34rem .16rem !important; }
}

/* HERO-CARDS-2026-11-12: refined hero heading, gold card accents, quieter motion.
   The title stays a solid dark-green heading with a soft gold halo so it stays
   legible over the sun rays. No background-clip or filter — those can hide or
   blur the words if anything wraps them. */
.hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.7rem, 6.4vw, 4.45rem);
  line-height: 1.05;
  letter-spacing: .02em;
  color: var(--forest-deep);
  -webkit-text-fill-color: var(--forest-deep);
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  filter: none;
  text-shadow: 0 1px 0 rgba(255,255,255,.75);
}
.hero .badge {
  letter-spacing: .16em;
  margin-bottom: 1rem;
}
.hero p.tagline {
  font-style: normal !important;
  font-family: var(--sans) !important;
  color: #2b2b2b !important;
  letter-spacing: .01em;
  font-weight: 400;
  margin-top: .15rem;
  max-width: 34rem;
}
@media (prefers-reduced-motion: no-preference) {
  .hero .badge, .hero h1, .hero p.tagline {
    animation: hero-fade .75s ease both;
  }
  .hero h1 { animation-delay: .08s; }
  .hero p.tagline { animation-delay: .16s; }
}
@keyframes hero-fade {
  from { opacity: 0; transform: translateY(.35rem); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .badge, .hero h1, .hero p.tagline { animation: none; filter: none; }
}

.post-list li {
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(28,69,50,.07);
  transition: transform .4s cubic-bezier(.16, 1, .3, 1), box-shadow .4s ease;
}
.post-list li:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(28,69,50,.14);
}
.post-list li:active {
  transform: translateY(0);
  box-shadow: 0 4px 14px rgba(28,69,50,.08);
}
.post-list li::after {
  width: 5px;
  background: var(--gold-deep) !important;
}
.post-list a {
  color: var(--forest-deep);
}

.thought-today {
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(28,69,50,.10);
  border-left: 3px solid #e8d080 !important;
  transition: box-shadow .18s ease, transform .18s ease;
}
.thought-today:hover {
  box-shadow: 0 12px 28px rgba(28,69,50,.14);
}
.thought-today::before {
  height: 3px;
  background: linear-gradient(90deg, transparent, #f6e7b0 22%, #e8d080 50%, #f6e7b0 78%, transparent) !important;
}
.thought-today::after {
  color: #1f4d33 !important;
  opacity: .08 !important;
}
.thought-today .tt-author {
  border-top-color: rgba(28,69,50,.18) !important;
}

/* The site has no separate dark theme; keep this card a readable pastel
   island if a dark theme class is added later. */
html.dark .thought-today,
html[data-theme="dark"] .thought-today {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255,255,255,.18), transparent 60%),
    linear-gradient(160deg, #cfe8d3 0%, #b9dcc4 100%) !important;
  color: #1f4d33 !important;
  border: 1px solid rgba(31,77,51,.28) !important;
  border-left: 3px solid #e8d080 !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
}
html.dark .thought-today blockquote,
html[data-theme="dark"] .thought-today blockquote { color: #1f4d33 !important; }
html.dark .thought-today .tt-label,
html.dark .thought-today .tt-author,
html[data-theme="dark"] .thought-today .tt-label,
html[data-theme="dark"] .thought-today .tt-author { color: #1c4532 !important; }

.related-list li,
.low-cards li,
article blockquote,
article blockquote.quote,
article .pullquote,
.mh-note,
.book-card .nz-note,
blockquote {
  border-left-color: var(--gold-deep) !important;
}
.related-list li {
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(28,69,50,.05);
  transition: transform .18s ease, box-shadow .18s ease;
}
.related-list li:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(28,69,50,.1);
}
.related-list li::before {
  color: var(--gold-deep);
}
article > h1:first-of-type::after,
article > h2:first-of-type::after {
  background: linear-gradient(90deg, var(--gold-deep), var(--sun) 55%, var(--sun-glow));
}
article h3:not(.feel)::before {
  background: linear-gradient(var(--sun), var(--gold-deep));
}
.book-card { border-top-color: var(--gold-deep) !important; }
.pullquote::before, article .pullquote::before { color: var(--gold-deep) !important; }

/* Bright gold (--sun / --sun-glow) is never used as body text on a light background; it fails 4.5:1. Use --gold-deep on paper, or gold on dark green only. */

/* REVEAL-2026-11-12: fade as sections and cards enter view. Transform and opacity only. */
html.js .reveal {
  position: relative;
  opacity: 0;
  transform: translate3d(0, 10px, 0);
}
html.js .reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity .28s ease, transform .32s cubic-bezier(.16, 1, .3, 1);
}
html.js [data-shatter="1"] { position: relative; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal,
  html.js .reveal.is-visible {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }
}

/* LIFE-2026-11-12: living-field motion — motes, greeting, card press, gentle unified hero drift. GPU transforms only. The sun, hills and sky stay together; layer offsets stay within 4px. */
.hero:has(.hero-art) {
  background-image: none;
  /* Match the front hill so a mid-scroll drift cannot leave a cream sliver. */
  background-color: #a3dbb2;
}
.hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  /* Front-hill mint fills the sliver if the scene drifts up, so no cream gap. */
  background: #a3dbb2;
  contain: paint;
}
.hero-art::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40px;
  background: #a3dbb2;
  pointer-events: none;
  z-index: 1;
}
.hero-art svg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.hero-sun {
  transform-origin: 720px 330px;
  transform-box: fill-box;
}
.hero .badge,
.hero h1,
.hero .tagline,
.hero-greet,
.hero-cheer { position: relative; z-index: 1; }
.hero-cheer {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  color: var(--forest, #2e6b47);
  font-size: 1.05rem;
  letter-spacing: .01em;
  margin: .45rem auto 0;
  max-width: 34rem;
}
.hero-greet {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 400;
  color: #2b2b2b;
  font-size: 1.02rem;
  letter-spacing: .01em;
  margin: .55rem auto 0;
  max-width: 34rem;
}
.motes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}
.mote {
  position: absolute;
  border-radius: 50%;
  background: rgba(245,183,0,.55);
  box-shadow: 0 0 8px rgba(245,183,0,.35);
}
.ask-form { position: relative; }
@media (prefers-reduced-motion: no-preference) {
  html.js .hero:not(.is-paused) .hero-sun {
    animation: sun-pulse 7.4s ease-in-out infinite;
  }
  html.js .hero:not(.is-paused) .hero-glow {
    animation: glow-pulse 7.4s ease-in-out infinite;
  }
  .mote {
    animation: mote-drift 22s ease-in-out infinite;
  }
  .motes.is-paused .mote,
  .hero.is-paused .hero-sun,
  .hero.is-paused .hero-glow { animation-play-state: paused; }
  .post-list li:active,
  .related-list li:active,
  .book-card:active,
  .low-cards li:active {
    transform: translateY(-1px);
    box-shadow: 0 0 0 3px rgba(245,183,0,.42), 0 6px 18px rgba(28,69,50,.1);
  }
}
@keyframes sun-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}
@keyframes glow-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}
@keyframes mote-drift {
  0% { transform: translate3d(0, 10px, 0); opacity: 0; }
  18% { opacity: .85; }
  82% { opacity: .55; }
  100% { transform: translate3d(36px, -120px, 0); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-art svg,
  .hero-art svg g:not(.hero-mamba):not(.hero-cross):not(.hero-ankh):not(.hero-eagle) { transform: none !important; }
  .motes, .mote { display: none; animation: none; }
  .post-list li, .related-list li, .book-card, .low-cards li,
  .post-list li:hover, .related-list li:hover {
    transform: none;
  }
}

/* SHATTER: letters in a strip at the bottom of the screen fall apart on a
   fast scroll, then land with one slight spring bounce. The lines you are
   reading, higher on the screen, stay still. */
html.js .shatter-w,
html.js .shatter-l {
  display: inline-block;
  /* No resting transform: a permanent layer on every letter makes scrolling drag. */
  transition: transform .46s cubic-bezier(.12, 1.35, .28, 1), opacity .34s ease, filter .34s ease;
}
html.js .shatter-w { white-space: nowrap; }
html.js .is-shattering { position: relative; }
html.js .shatter-w.is-flying,
html.js .shatter-l.is-flying {
  will-change: transform, opacity;
  /* Direct updates while scrolling. A slight blur sells the smash. */
  transition: none;
  filter: blur(1.1px);
}
@media (prefers-reduced-motion: reduce) {
  html.js .shatter-w,
  html.js .shatter-l {
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
    transition: none !important;
    will-change: auto !important;
  }
  .sun-refresh { display: none !important; }
}


a .shatter-l { text-decoration: none; }
/* Links and underlined runs can part with the rest of the centre strip. */
[data-noshatter] .shatter-w,
[data-noshatter] .shatter-l {
  display: inline !important;
  transform: none !important;
  opacity: 1 !important;
  filter: none !important;
  transition: none !important;
  will-change: auto !important;
}
/* Immune hero text stays sharp — never split or blurred. */
.hero h1 .shatter-w,
.hero h1 .shatter-l,
.hero .badge .shatter-w,
.hero .badge .shatter-l,
.hero-greet .shatter-w,
.hero-greet .shatter-l,
.hero-cheer .shatter-w,
.hero-cheer .shatter-l {
  display: inline;
  transform: none !important;
  opacity: 1 !important;
  filter: none !important;
  transition: none !important;
  will-change: auto !important;
}
.hero h1,
.hero .badge,
.hero-greet,
.hero-cheer {
  filter: none;
}

/* REFRESH SUN: overlay only — transform and opacity, no layout, no hits. */
.sun-refresh {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  overflow: hidden;
  contain: strict;
}
.sun-refresh-art {
  position: absolute;
  left: 50%;
  top: 0;
  width: 96px;
  height: 96px;
  margin-left: -48px;
  transform: translate3d(0, var(--sun-from, 80vh), 0) scale(0.35);
  opacity: 0;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}
.sun-refresh-rays {
  transform-origin: 60px 60px;
}
.sun-refresh.is-pull .sun-refresh-art {
  will-change: transform, opacity;
}
.sun-refresh.is-burst .sun-refresh-art {
  animation: sun-rise-burst 1.05s ease-out forwards;
}
.sun-refresh.is-burst .sun-refresh-rays {
  animation: sun-rays-fan 1.05s ease-out forwards;
}
@keyframes sun-rise-burst {
  0%   { transform: translate3d(0, var(--sun-from, 80vh), 0) scale(0.35); opacity: 0; }
  16%  { opacity: 1; }
  52%  { transform: translate3d(0, calc(var(--sun-from, 80vh) - 112px), 0) scale(1); opacity: 1; }
  100% { transform: translate3d(0, calc(var(--sun-from, 80vh) - 168px), 0) scale(1.06); opacity: 0; }
}
@keyframes sun-rays-fan {
  0%   { transform: rotate(0deg) scale(0.55); opacity: .65; }
  42%  { transform: rotate(32deg) scale(1.18); opacity: 1; }
  100% { transform: rotate(62deg) scale(1.28); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .sun-refresh { display: none !important; }
}

/* Ask daily limit notice, and the footer motion toggle. */
.ask-left {
  font-family: var(--sans);
  font-size: .95rem;
  color: var(--muted);
  margin: .7rem 0 0;
}
.ask-out.ask-limit {
  border-left: 4px solid var(--gold-deep);
  background: var(--sage-soft, #e8f1e0);
  padding: 1rem 1.15rem;
  border-radius: 8px;
}
.ask-out.ask-limit p { margin: 0; }
.hero-motion {
  position: absolute;
  top: .65rem;
  right: .75rem;
  z-index: 3;
  margin: 0;
  max-width: 12rem;
  text-align: right;
}
.hero-motion .motion-toggle {
  font-size: .78rem;
  color: var(--forest-deep, #1c4532);
  background: rgba(255,255,255,.62);
  border-radius: 999px;
  padding: .28rem .7rem;
  text-decoration: none;
  line-height: 1.25;
  opacity: .8;
}
.hero-motion .motion-toggle:hover,
.hero-motion .motion-toggle:focus-visible {
  opacity: 1;
  color: var(--forest-deep, #1c4532);
  text-decoration: underline;
}
.foot-motion { margin: .4rem 0 0; }
.motion-toggle {
  font-family: var(--sans);
  font-size: .9rem;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.motion-toggle:hover { color: var(--sun-glow, #ffc928); }
html.no-motion .hero-art svg,
html.no-motion .hero-art svg g:not(.hero-mamba):not(.hero-cross):not(.hero-ankh):not(.hero-eagle) { transform: none !important; }

/* MAMBA-2026-12-03: homepage hero and site footer cartoon snake. Tongue may flicker; still when motion is off. */
.hero-mamba-tongue,
.foot-mamba-tongue { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.no-motion) .hero:not(.is-paused) .hero-mamba-tongue,
  html.js:not(.no-motion) .foot-mamba-tongue {
    animation: mamba-tongue 3.4s ease-in-out infinite;
  }
}
@keyframes mamba-tongue {
  0%, 72%, 100% { opacity: 1; }
  78%, 82% { opacity: 0; }
  80% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-mamba-tongue,
  .foot-mamba-tongue { animation: none !important; opacity: 1 !important; }
}
html.no-motion .hero-mamba-tongue,
html.no-motion .foot-mamba-tongue {
  animation: none !important;
  opacity: 1 !important;
}
.foot-mamba {
  position: relative;
  width: calc(100% + 3rem);
  margin: .85rem -1.5rem -2rem;
  height: 42px;
  pointer-events: none;
  overflow: visible;
  line-height: 0;
}
.foot-mamba-ground {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: 16px;
}
.foot-mamba-art {
  position: absolute;
  right: 16%;
  bottom: 8px;
  display: block;
  width: 40px;
  height: auto;
}
.foot-cross-art {
  position: absolute;
  left: 16%;
  bottom: 8px;
  display: block;
  width: auto;
  height: 22px;
}
.foot-ankh-art {
  position: absolute;
  left: calc(16% + 16px);
  bottom: 8px;
  display: block;
  width: auto;
  height: 22px;
}
@media (max-width: 640px) {
  .foot-mamba-art { right: 8%; width: 36px; }
  .foot-cross-art { left: 8%; height: 20px; }
  .foot-ankh-art { left: calc(8% + 14px); height: 20px; }
}

/* HERO-FIGURES-2026-12-03: eagle (static) and desktop size/position of hero figures.
   Layout transforms on the figure groups must survive motion-off; the ankh coin-spin
   lives on an inner group and stops when motion is off. Footer stays slightly larger on desktop. */
.hero-ankh { perspective: 420px; }
.hero-ankh-spin {
  transform-box: fill-box;
  transform-origin: center;
  transform-style: preserve-3d;
}
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.no-motion) .hero:not(.is-paused) .hero-ankh-spin {
    animation: hero-ankh-spin 7s linear infinite;
  }
}
@keyframes hero-ankh-spin {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-ankh-spin { animation: none !important; transform: none !important; }
}
html.no-motion .hero-ankh-spin {
  animation: none !important;
  transform: none !important;
}

@media (min-width: 1024px) {
  .hero-eagle, .hero-cross, .hero-ankh, .hero-mamba {
    transform-box: fill-box;
  }
  .hero-eagle {
    transform-origin: center center;
    /* Sit in the visible top-left of the cropped desktop sky. */
    transform: translate(-150px, 400px) scale(1.2);
  }
  .hero-cross {
    transform-origin: center top;
    transform: translateY(76px) scale(1.22);
  }
  .hero-ankh {
    transform-origin: center top;
    transform: translateY(84px) scale(1.22);
  }
  .foot-mamba { height: 54px; }
  .foot-mamba-art { width: 52px; bottom: 10px; }
  .foot-cross-art, .foot-ankh-art { height: 28px; bottom: 10px; }
  .foot-ankh-art { left: calc(16% + 20px); }
}

/* Wide viewports crop the top of the hero viewBox; nudge the eagle down so it stays fully visible. */
@media (min-width: 1340px) {
  .hero-eagle {
    transform-box: fill-box;
    transform-origin: center center;
    /* Wider viewports crop more of the viewBox top; nudge a little further down. */
    transform: translate(-140px, 445px) scale(1.2);
  }
}


html.no-motion .motes, html.no-motion .mote { display: none; animation: none; }
html.no-motion .sun-refresh { display: none !important; }
html.no-motion .hero-sun,
html.no-motion .hero-glow { animation: none !important; }
html.no-motion .shatter-w,
html.no-motion .shatter-l {
  transform: none !important;
  opacity: 1 !important;
  filter: none !important;
  transition: none !important;
  will-change: auto !important;
}

footer .foot-disclaimer {
  font-family: var(--sans);
  font-size: .75rem;
  color: #b5b5b0;
  max-width: 46rem;
  margin: .55rem auto 0;
  line-height: 1.45;
}

/* MOTION-OPT-2026-11-13k: smoother, same look. Layers only while a motion is playing;. */
.sun-refresh-art { will-change: auto; }
.sun-refresh.is-burst .sun-refresh-art,
.sun-refresh.is-pull .sun-refresh-art { will-change: transform, opacity; }

/* WAY-2026-11-13: plain doors on the home page */
.where-go { list-style: none; padding: 0; margin: .2rem 0 0; }
.where-go li { margin: .55rem 0; line-height: 1.45; }
.more-posts { text-align: center; margin: 1.3rem 0 .2rem; }

.book-card.is-found { outline: 3px solid var(--sun); outline-offset: 3px; }
.book-card[hidden], .lib-group[hidden] { display: none !important; }

.visit-count {
  position: relative;
  z-index: 1;
  margin: .85rem auto 0;
  font-family: var(--sans);
  font-size: .92rem;
  letter-spacing: .02em;
  color: #4d5e52;
}
.view-count {
  font-family: var(--sans);
  font-size: .92rem;
  letter-spacing: .01em;
  color: var(--muted, #5c6b62);
  margin: -.35rem 0 1.35rem;
}


/* Guide-list: scannable teaching bullets that stay readable on a phone. */
article ul.guide-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  display: grid;
  gap: .9rem;
}
article ul.guide-list > li {
  margin: 0 !important;
  padding: 1rem 1.05rem 1.05rem 1.15rem;
  background: #f4f8f1;
  border: 1px solid rgba(46,107,71,.14);
  border-radius: 16px;
  border-left: 5px solid var(--gold-deep, #c4a35a);
  box-sizing: border-box;
  max-width: 100%;
}
article ul.guide-list .g-idea,
article ul.guide-list .g-quote,
article ul.guide-list .g-step,
article ul.guide-list .g-more {
  display: block;
  overflow-wrap: anywhere;
  word-break: normal;
}
article ul.guide-list .g-idea {
  font-weight: 650;
  color: var(--forest-deep, #1c4532);
  line-height: 1.5;
  margin: 0;
}
article ul.guide-list .g-quote {
  margin-top: .55rem;
  color: #333;
  line-height: 1.6;
}
article ul.guide-list .g-step {
  margin-top: .55rem;
  line-height: 1.6;
}
article ul.guide-list .g-more {
  margin-top: .45rem;
  font-family: var(--sans);
  font-size: .95rem;
  line-height: 1.5;
}
article ul.guide-list a { overflow-wrap: anywhere; }
.welcome-page .welcome-feature {
  margin: .2rem 0 1.5rem;
  padding: 1.05rem 1.15rem;
  background: #f4f8f1;
  border-radius: 16px;
  border: 1px solid rgba(46,107,71,.14);
  border-left: 5px solid var(--gold-deep, #c4a35a);
  box-sizing: border-box;
}
.welcome-page .welcome-feature .welcome-lead {
  margin: 0 !important;
}
@media (max-width: 640px) {
  article ul.guide-list { gap: .75rem; }
  article ul.guide-list > li { padding: .9rem .9rem .95rem 1rem; border-radius: 14px; }
  article ul.guide-list .g-more { font-size: .92rem; }
  .welcome-page .welcome-feature { padding: .9rem 1rem; }
}

/* CARD-ICONS-2026-11-20: distinct post icons on cards, topics, series and related lists. */
article ul.guide-list.guide-index {
  gap: .45rem;
}
article ul.guide-list.guide-index > li {
  padding: .55rem .85rem .55rem .95rem;
  border-radius: 12px;
  line-height: 1.45;
  font-family: var(--sans);
  font-size: .98rem;
}
article ul.guide-list.guide-index a {
  font-weight: 650;
  color: var(--forest-deep, #1c4532);
  text-decoration: none;
}
article ul.guide-list.guide-index a:hover { color: var(--gold-deep, #c4a35a); }

.related-list li:has(> img.thumb),
.series-list li:has(> img.thumb) {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  column-gap: .85rem;
  align-items: start;
}
.related-list li > img.thumb,
.series-list li > img.thumb {
  grid-column: 1;
  grid-row: 1 / span 4;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  display: block;
  margin-top: .15rem;
}
.related-list li:has(> img.thumb) > .series-part,
.related-list li:has(> img.thumb) > a,
.related-list li:has(> img.thumb) > .desc,
.related-list li:has(> img.thumb) > .tag,
.series-list li:has(> img.thumb) > .series-part,
.series-list li:has(> img.thumb) > a,
.series-list li:has(> img.thumb) > .desc {
  grid-column: 2;
}
@media (max-width: 640px) {
  article ul.guide-list.guide-index { gap: .4rem; }
  article ul.guide-list.guide-index > li { padding: .5rem .75rem .5rem .85rem; border-radius: 10px; font-size: .95rem; }
  .related-list li:has(> img.thumb),
  .series-list li:has(> img.thumb) {
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: .7rem;
  }
  .related-list li > img.thumb,
  .series-list li > img.thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
  }
}

/* POST-END-LINKS-2026-11-20: Back to the Blog pill on posts. */
.post-end-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem 1rem;
  margin: 1.4rem 0 0;
  font-family: var(--sans);
}
.post-end-links .back-to-blog {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .92rem;
  color: var(--forest-deep, #1c4532);
  background: var(--sage-soft, #e7f0df);
  text-decoration: none;
  padding: .45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(46,107,71,.2);
}
.post-end-links .back-to-blog:hover {
  background: #dbe9cf;
  color: var(--forest-deep, #1c4532);
}
.post-end-links .back-to-blog:focus-visible {
  outline: 3px solid #3a7ca5;
  outline-offset: 2px;
}
.post-end-links .to-top {
  margin: 0 0 0 auto;
  text-align: right;
}
@media (max-width: 640px) {
  .post-end-links {
    margin-top: 1.2rem;
    gap: .5rem .75rem;
  }
  .post-end-links .back-to-blog,
  .post-end-links .to-top a {
    font-size: .9rem;
    padding: .42rem .9rem;
  }
}

/* PRINCIPLE-BOX-2026-11-20: highlighted plain-words box in the barren-season post. */
article .principle-box {
  margin: 1.4rem 0 1.8rem;
  padding: 1rem 1.15rem 1.15rem;
  background: #f4f8f1;
  border: 1px solid rgba(46,107,71,.14);
  border-radius: 16px;
  border-left: 5px solid var(--gold-deep, #c4a35a);
  box-sizing: border-box;
}
article .principle-box .principle-head {
  font-family: var(--sans);
  font-weight: 700;
  color: var(--forest-deep, #1c4532);
  margin: 0 0 .7rem !important;
  font-size: 1.05rem;
}
article .principle-box p { margin: 0 0 .8rem; }
article .principle-box ol {
  margin: 0;
  padding-left: 1.25rem;
}
article .principle-box li { margin: 0 0 .55rem; }
article .principle-box li:last-child { margin-bottom: 0; }
@media (max-width: 640px) {
  article .principle-box { padding: .9rem 1rem 1rem; border-radius: 14px; }
  article .principle-box .principle-head { font-size: 1rem; }
}

/* DISTINGUISHED-2026-11-21: subtle gold-and-green front-page refinements.
   Transform and opacity only. Honours prefers-reduced-motion and html.no-motion. */
.hero-halo {
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: 5.5rem;
  width: 20rem;
  height: 20rem;
  margin: 0;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 224, 120, .55) 0%, rgba(245, 183, 0, .22) 40%, rgba(245, 183, 0, 0) 70%);
  transform: translate(-50%, 28%) scale(1);
  opacity: .8;
}
.hero h1 {
  position: relative;
  overflow: hidden;
}
.hero h1::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 60%;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 248, 220, 0) 38%, rgba(255, 236, 170, .72) 50%, rgba(255, 248, 220, 0) 62%, transparent 100%);
  transform: translate3d(-140%, 0, 0);
  opacity: 0;
}
.hero .hero-wisdom {
  position: relative;
  z-index: 1;
  margin: .7rem auto 0;
  max-width: 28rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--forest-deep);
  letter-spacing: .01em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .45);
}
.hero .motes { z-index: 2; contain: paint; }
.hero .mote {
  background: rgba(245, 183, 0, .62);
  box-shadow: none;
  width: 4px;
  height: 4px;
}
.hero .mote.m1  { left: 8%;  top: 28%; width: 3px; height: 3px; animation-duration: 18s; animation-delay: -2s; }
.hero .mote.m2  { left: 16%; top: 62%; width: 5px; height: 5px; animation-duration: 22s; animation-delay: -8s; }
.hero .mote.m3  { left: 27%; top: 22%; width: 3px; height: 3px; animation-duration: 20s; animation-delay: -14s; }
.hero .mote.m4  { left: 38%; top: 54%; width: 4px; height: 4px; animation-duration: 24s; animation-delay: -5s; }
.hero .mote.m5  { left: 49%; top: 18%; width: 3px; height: 3px; animation-duration: 19s; animation-delay: -11s; }
.hero .mote.m6  { left: 58%; top: 48%; width: 5px; height: 5px; animation-duration: 23s; animation-delay: -3s; }
.hero .mote.m7  { left: 69%; top: 26%; width: 3px; height: 3px; animation-duration: 21s; animation-delay: -16s; }
.hero .mote.m8  { left: 78%; top: 58%; width: 4px; height: 4px; animation-duration: 25s; animation-delay: -7s; }
.hero .mote.m9  { left: 88%; top: 34%; width: 3px; height: 3px; animation-duration: 18s; animation-delay: -12s; }
.hero .mote.m10 { left: 93%; top: 66%; width: 4px; height: 4px; animation-duration: 22s; animation-delay: -1s; }

.scholarship {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 1.15rem 1.25rem 1.3rem;
  text-align: center;
  background: linear-gradient(180deg, #fff8e8 0%, var(--cream, #fbe3a0) 100%);
  border-bottom: 1px solid rgba(201, 150, 42, .22);
  box-shadow: 0 -1px 0 rgba(245, 183, 0, .18);
}
.scholarship-line {
  margin: 0 auto .85rem;
  max-width: 40rem;
  font-family: var(--serif);
  font-variant: small-caps;
  font-feature-settings: "smcp" on, "c2sc" on;
  letter-spacing: .08em;
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--forest-deep);
}
.lib-spines {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: .22rem;
  max-width: 38rem;
  margin: 0 auto;
  text-decoration: none;
  color: inherit;
}
.lib-spines:hover,
.lib-spines:focus-visible { color: inherit; }
.lib-spine {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 1.45rem;
  height: 5.6rem;
  padding: 0 0 .45rem;
  border-radius: 2px 2px 0 0;
  font-family: var(--serif);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .06em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  line-height: 1;
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, .18), inset 1px 0 0 rgba(0, 0, 0, .12);
}
.lib-spine.s1  { height: 6.15rem; background: #e8d080; color: #1f4d33; }
.lib-spine.s2  { height: 5.3rem;  background: #9cc386; color: #1f4d33; }
.lib-spine.s3  { height: 5.9rem;  background: #8db878; color: #163828; }
.lib-spine.s4  { height: 5.2rem;  background: #7eab6a; color: #163828; }
.lib-spine.s5  { height: 5.7rem;  background: #a9cc94; color: #1f4d33; }
.lib-spine.s6  { height: 6.1rem;  background: #f0d78a; color: #1f4d33; }
.lib-spine.s7  { height: 5.4rem;  background: #8db878; color: #163828; }
.lib-spine.s8  { height: 5.85rem; background: #9cc386; color: #1f4d33; }
.lib-spine.s9  { height: 5.25rem; background: #7eab6a; color: #163828; }
.lib-spine.s10 { height: 5.75rem; background: #a9cc94; color: #1f4d33; }
.lib-spine.s11 { height: 5.65rem; background: #e8d080; color: #1f4d33; }
.lib-spine.s12 { height: 5.9rem;  background: #8db878; color: #163828; }
.lib-spines:hover .lib-spine,
.lib-spines:focus-visible .lib-spine {
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, .22), inset 1px 0 0 rgba(0, 0, 0, .12), 0 4px 10px rgba(28, 69, 50, .16);
}
.lib-spines:focus-visible {
  outline: 3px solid #3a7ca5;
  outline-offset: 4px;
  border-radius: 6px;
}

.home .section-title,
.home-books h2 {
  font-family: var(--serif) !important;
  font-variant: small-caps;
  font-feature-settings: "smcp" on, "c2sc" on;
  font-weight: 600 !important;
  letter-spacing: .16em;
  color: var(--gold-deep) !important;
  font-size: .95rem !important;
  text-transform: none;
}
.divider {
  background-image: none !important;
  width: min(18rem, 72%);
  height: 1.2rem;
  position: relative;
  margin: 0 auto 1.6rem;
}
.divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 150, 42, .25), var(--gold) 38%, var(--sun) 50%, var(--gold) 62%, rgba(201, 150, 42, .25), transparent);
  transform: translateY(-50%);
}
.divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  background: var(--gold-deep);
  box-shadow: 0 0 0 3px var(--cream, #fbe3a0);
  transform: translate(-50%, -50%) rotate(45deg);
}

.post-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(28, 69, 50, .12), 0 0 0 1px rgba(201, 150, 42, .38), 0 10px 26px rgba(245, 183, 0, .16);
}

@media (prefers-reduced-motion: no-preference) {
  html.js .hero:not(.is-paused) .hero-halo {
    animation: halo-breathe 8.6s ease-in-out infinite;
  }
  html.js .hero:not(.is-paused) h1::after {
    animation: title-shimmer 48s ease-in-out .5s infinite;
  }
  .hero.is-paused .hero-halo,
  .hero.is-paused h1::after {
    animation-play-state: paused;
  }
}
@keyframes halo-breathe {
  0%, 100% { opacity: .68; transform: translate(-50%, 28%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, 28%) scale(1.14); }
}
@keyframes title-shimmer {
  0%, 3.2% { transform: translate3d(-140%, 0, 0); opacity: 0; }
  4.2% { opacity: .95; }
  6.5% { transform: translate3d(200%, 0, 0); opacity: 0; }
  6.51%, 100% { transform: translate3d(-140%, 0, 0); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-halo { animation: none !important; transform: translate(-50%, 28%) scale(1); opacity: .8; }
  .hero h1::after { animation: none !important; content: none; }
  .post-list li:hover { transform: none; }
}
html.no-motion .hero-halo { animation: none !important; transform: translate(-50%, 28%) scale(1) !important; opacity: .8; }
html.no-motion .hero h1::after { animation: none !important; content: none; }
html.no-motion .post-list li:hover { transform: none; }

@media (max-width: 560px) {
  .hero-halo { width: 15rem; height: 15rem; bottom: 4.2rem; }
  .hero .hero-wisdom { font-size: .98rem; max-width: 22rem; }
  .scholarship { padding: 1rem 1rem 1.15rem; }
  .scholarship-line { font-size: .95rem; letter-spacing: .06em; }
  .lib-spine { width: 1.28rem; height: 5.1rem !important; font-size: .56rem; }
}

/* PASTEL-NAV-2026-11-21: softer sage fills, a stronger even menu, a tidier home hero.
   Headings stay deep green. Gold accents and the pastel Thought for Today card are kept.
   Body text stays the dark-grey sans. */
:root {
  --pastel-sage: #c8ecd0;
  --pastel-sage-deep: #b5e3c0;
  --pastel-ink: #1f4d33;
}

/* Header and menu: one pastel bar, logo-only home link, even tap targets. */
.topbar {
  background: linear-gradient(180deg, #d8f5de 0%, var(--pastel-sage) 55%, var(--pastel-sage-deep) 100%) !important;
  color: var(--pastel-ink) !important;
  box-shadow: 0 2px 10px rgba(31, 77, 51, .08) !important;
  border-bottom: 2px solid rgba(201, 150, 42, .55) !important;
}
.topbar .inner {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: .45rem .65rem !important;
  padding: .4rem .8rem .45rem !important;
  max-width: 72rem;
}
.brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  margin: 0 !important;
  color: var(--pastel-ink) !important;
  font-size: 0 !important;
  line-height: 0 !important;
  gap: 0 !important;
  letter-spacing: 0 !important;
}
.brand:hover { color: var(--pastel-ink) !important; }
.brand img {
  width: 38px !important;
  height: 38px !important;
  background: #fffbe8;
  border-radius: 50%;
  padding: 2px;
  display: block;
}
nav[aria-label="Main"] {
  flex: 1 1 auto;
  min-width: 0;
  width: auto !important;
}
.nav {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  justify-content: stretch !important;
  justify-items: stretch !important;
  align-items: center !important;
  width: 100% !important;
  gap: .2rem !important;
  margin: 0;
  overflow: visible !important;
}
.nav a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: .4rem .45rem !important;
  font-family: var(--sans) !important;
  font-size: .92rem !important;
  font-weight: 700 !important;
  letter-spacing: .01em !important;
  color: var(--pastel-ink) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  transform: none !important;
  white-space: nowrap;
  text-decoration: none;
}
.nav a:hover,
.nav a:focus-visible {
  background: rgba(31, 77, 51, .08) !important;
  color: var(--pastel-ink) !important;
  border: 0 !important;
  transform: none !important;
  box-shadow: none !important;
}
.nav a[aria-current="page"] {
  background: var(--sun) !important;
  color: var(--pastel-ink) !important;
  border: 0 !important;
  font-weight: 800 !important;
  box-shadow: 0 1px 0 rgba(201, 150, 42, .35) !important;
}
.topbar a:focus-visible { outline-color: var(--gold-deep); }

@media (max-width: 720px) {
  /* Two even rows of three, so labels never collide on a 390px phone. */
  .topbar .inner {
    padding: .4rem .55rem .45rem !important;
    gap: .4rem .5rem !important;
    justify-content: flex-start !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
  }
  .brand { margin: 0 !important; }
  .brand img { width: 34px !important; height: 34px !important; }
  nav[aria-label="Main"] { width: auto !important; flex: 1 1 auto; }
  .nav {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    width: 100% !important;
    gap: .2rem .3rem !important;
  }
  .nav a {
    font-size: .88rem !important;
    padding: .4rem .3rem !important;
    min-height: 44px !important;
  }
}

/* Footer: same soft sage, dark green text for contrast. */
footer {
  background: linear-gradient(180deg, var(--pastel-sage), var(--pastel-sage-deep)) !important;
  color: var(--pastel-ink) !important;
}
footer .foot-brand { color: var(--pastel-ink) !important; }
footer .foot-tag { color: var(--pastel-ink) !important; }
footer a { color: var(--pastel-ink) !important; text-decoration: underline; text-underline-offset: 2px; }
footer a:hover { color: var(--gold-deep) !important; }
footer .foot-copy,
footer .foot-disclaimer { color: #3e5648 !important; }
.foot-motion .motion-toggle,
footer .motion-toggle { color: var(--pastel-ink) !important; }
.foot-motion .motion-toggle:hover,
footer .motion-toggle:hover { color: var(--gold-deep) !important; }

/* A few other large or selected green fills, softened without touching headings. */
.chip[aria-pressed="true"] {
  background: var(--sun) !important;
  border-color: var(--sun) !important;
  color: var(--pastel-ink) !important;
}

/* Tidy the home hero now the badge, greeting and rotating cheer are gone. */
.hero { padding: 3.1rem 1.5rem 9.2rem; }
.hero h1 { margin: 0 0 .5rem; }
.hero p.tagline { margin: 0 auto; }
.hero .hero-wisdom { margin: .55rem auto 0; }
@media (max-width: 640px) {
  .hero { padding: 2.1rem 1.15rem 6.4rem !important; }
  .hero h1 { margin: 0 0 .4rem; }
  .hero .hero-wisdom { margin: .45rem auto 0; font-size: .98rem; }
}

/* Scholarship strip: one compact band, readable sentence, spines just beneath. */
.scholarship {
  padding: .95rem 1.15rem 1.05rem !important;
  background: linear-gradient(180deg, #d8f5de 0%, #f7fbf7 100%) !important;
  border-bottom: 1px solid rgba(201, 150, 42, .22);
  box-shadow: none !important;
}
.scholarship-line {
  font-family: var(--serif) !important;
  font-style: italic;
  font-variant: normal !important;
  font-feature-settings: normal !important;
  letter-spacing: .01em !important;
  font-size: 1.05rem !important;
  line-height: 1.5 !important;
  color: var(--pastel-ink) !important;
  max-width: 36rem;
  margin: 0 auto .7rem !important;
}
.scholarship-line a {
  color: var(--pastel-ink);
  font-style: italic;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(201, 150, 42, .8);
  text-underline-offset: 2px;
}
.scholarship-line a:hover { color: var(--gold-deep); }
@media (max-width: 560px) {
  .scholarship { padding: .85rem .9rem .95rem !important; }
  .scholarship-line { font-size: 1rem !important; margin-bottom: .6rem !important; }
  .lib-spine { width: 1.16rem; height: 4.7rem !important; font-size: .52rem; }
}


/* FRESH-MINT-2026-11-21: clearer pastel green (not grey-sage) for large fills,
   matching a soft true mint. Page background stays cream while scrolling.
   Text on mint is #1f4d33 (WCAG AA). Headings stay deep green. Gold is kept. */
html, body {
  background-color: #fffaf0 !important;
}
body {
  background-attachment: scroll !important;
}
:root {
  --pastel-sage: #c8ecd0;
  --pastel-sage-deep: #b5e3c0;
}
.topbar {
  background: linear-gradient(180deg, #d8f5de 0%, #c8ecd0 55%, #b5e3c0 100%) !important;
}
footer {
  background: linear-gradient(180deg, #c8ecd0, #b5e3c0) !important;
}
.hero:has(.hero-art),
.hero-art,
.hero-art::after {
  background-color: #a3dbb2 !important;
  background: #a3dbb2 !important;
}
.scholarship {
  background: linear-gradient(180deg, #c8ecd0 0%, #d8f5de 100%) !important;
}
.share-bar {
  background: #d8f5de !important;
}
.chip[aria-pressed="true"] {
  background: var(--sun) !important;
  border-color: var(--sun) !important;
  color: #1f4d33 !important;
}
article::before {
  background: linear-gradient(90deg, #b5e3c0, var(--sage) 45%, var(--sun) 80%, var(--amber)) !important;
}
.lib-spine {
  color: #1f4d33;
}

/* TYPE-CONSISTENCY-2026-11-21: one plain sans family site-wide; dark grey body,
   dark green headings; no gold text labels; no all-caps letter-spaced labels.
   Italics only for quotations. The established hero title may stay serif. */
html, body,
.nav, .nav a, .brand, footer, footer .foot-brand, footer .foot-tag, footer .foot-copy,
.hero p.tagline, .hero .hero-wisdom, .hero .badge,
.scholarship-line, .scholarship-line a,
.section-title, .home .section-title, .home-books h2, .home-books p,
.thought-today, .thought-today .tt-label, .thought-today .tt-author,
.chip, .post-list, .post-list a, .post-list .tag, .post-list .meta,
.book-card, .book-card .bt, .book-card .ba, .book-card .bd,
.lib-group > h2, .lib-group > p, .lib-spine,
article, article h1, article h2, article h3, article h4, article p, article li,
article .subtitle, article p.subtitle, article .meta,
.welcome p, .low-strip, .low-strip h2, .related, .related h2,
.sr-from, .series-name, .series-part, .pullquote cite,
.title-page .by, .motion-toggle, .search-status, .search-result h3,
h1, h2, h3, h4 {
  font-family: var(--sans) !important;
  font-variant: normal !important;
  font-feature-settings: normal !important;
}
.hero h1 {
  font-family: var(--serif) !important;
}

body { color: var(--ink, #263028); }

/* Body-like lines: normal case, no italic, dark grey on cream. */
.hero p.tagline,
.hero .hero-wisdom,
.welcome p,
.empty,
article p.subtitle,
article .subtitle,
footer .foot-tag {
  font-style: normal !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.hero p.tagline,
.hero .hero-wisdom {
  color: var(--ink, #263028) !important;
  font-family: var(--sans) !important;
}

/* Italics remain only for quotations. */
article blockquote,
article blockquote.quote,
article .pullquote,
article blockquote p,
.pullquote,
.thought-today blockquote {
  font-style: italic !important;
}
.pullquote cite,
article blockquote cite,
article blockquote .subtitle {
  font-style: normal !important;
}

/* Headings and heading-like labels: bold dark green, normal case, even spacing. */
article h1, article h2, article h3, article h4, article h3.feel,
.lib-group > h2, .related h2, .low-strip h2, .mh-note h2, .search-result h3,
.section-title, .home .section-title, .home-books h2,
.thought-today .tt-label {
  font-family: var(--sans) !important;
  font-weight: 700 !important;
  font-style: normal !important;
  font-variant: normal !important;
  text-transform: none !important;
  letter-spacing: -.005em !important;
  color: var(--forest-deep, #1c4532) !important;
}
.hero h1 {
  color: var(--forest-deep, #1c4532) !important;
}
.section-title,
.home .section-title,
.home-books h2 {
  font-size: var(--h2, 1.45rem) !important;
  line-height: 1.25 !important;
  text-align: center;
}
.thought-today .tt-label {
  font-size: var(--h-small, 1.08rem) !important;
  letter-spacing: -.005em !important;
}

/* Strip line: same sans, not italic or small-caps. Dark green on mint for AA. */
.scholarship-line,
.scholarship-line a {
  font-family: var(--sans) !important;
  font-style: normal !important;
  font-variant: normal !important;
  letter-spacing: 0 !important;
  color: #1f4d33 !important;
}
.scholarship-line a { font-weight: 700; }
.scholarship-line a:hover { color: #1c4532 !important; }

footer .foot-brand {
  font-family: var(--sans) !important;
  color: #1f4d33 !important;
}

/* No gold-coloured text labels; gold stays on lines and accents. */
.book-card .ba,
.title-page .by,
.sr-from,
.pullquote cite,
.series-name,
.series-part,
.post-list .tag,
article .placeholder-note {
  color: var(--forest-deep, #1c4532) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-style: normal !important;
}
.sr-from, .series-name, .series-part, .post-list .tag, .pullquote cite {
  font-weight: 700;
}

.lib-spine {
  font-family: var(--sans) !important;
  letter-spacing: 0 !important;
}

/* Pastel Thought for Today card: same fresh mint as the other green fills. */
.thought-today {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255,255,255,.4), transparent 60%),
    linear-gradient(160deg, #d8f5de 0%, #c8ecd0 100%) !important;
}

/* The established hero title stays serif; everything else is the plain sans. */
.hero h1 {
  font-family: var(--serif) !important;
  font-weight: 700 !important;
  letter-spacing: .02em !important;
  color: var(--forest-deep, #1c4532) !important;
}

/* MEADOW-SUN-AND-TITLE-2026-11-21
   Leafy pastel green (not blue-mint, not grey-sage) on large fills.
   Sunshine-yellow page background, kept while scrolling.
   Hero title is solid deep green at rest; the entrance fade no longer
   starts it (or the tagline) at opacity 0. Shimmer stays a light overlay. */
:root {
  --cream: #fbe3a0;
  --pastel-sage: #b8d8a8;
  --pastel-sage-deep: #a8cc98;
}
html, body {
  background-color: #fdf0c4 !important;
}
body {
  background: #fdf0c4 !important;
  background-image: radial-gradient(circle at 10% 0%, #fbe7a6 0, transparent 42%), radial-gradient(circle at 100% 60%, #fdf0c4 0, transparent 38%) !important;
  background-attachment: scroll !important;
}
.topbar {
  background: linear-gradient(180deg, #c4dcb4 0%, #b8d8a8 55%, #a8cc98 100%) !important;
}
footer {
  background: linear-gradient(180deg, #b8d8a8, #a8cc98) !important;
}
.hero:has(.hero-art),
.hero-art,
.hero-art::after {
  background-color: #98c088 !important;
  background: #98c088 !important;
}
.scholarship {
  background: linear-gradient(180deg, #b8d8a8 0%, #c4dcb4 100%) !important;
}
.share-bar { background: #c4dcb4 !important; }
.share-bar button:hover,
.share-bar button:focus-visible,
.share-bar a.share-email:hover,
.share-bar a.share-email:focus-visible {
  background: #a8cc98 !important;
  color: #1f4d33 !important;
}
.thought-today {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255,255,255,.4), transparent 60%),
    linear-gradient(160deg, #c4dcb4 0%, #b8d8a8 100%) !important;
}
article::before {
  background: linear-gradient(90deg, #a8cc98, var(--sage) 45%, var(--sun) 80%, var(--amber)) !important;
}
.lib-spine.s2, .lib-spine.s8 { background: #b8d8a8 !important; color: #1f4d33 !important; }
.lib-spine.s3, .lib-spine.s7, .lib-spine.s12 { background: #a8cc98 !important; color: #1f4d33 !important; }
.lib-spine.s4, .lib-spine.s9 { background: #98c088 !important; color: #1f4d33 !important; }
.lib-spine.s5, .lib-spine.s10 { background: #c4dcb4 !important; color: #1f4d33 !important; }

/* Title: always solid, bold, deep green. Do not use fill-mode "both" on an
   opacity-0 entrance fade — that made the title and tagline invisible until
   the animation finished, and mid-load screenshots looked blank. */
.hero h1 {
  font-family: var(--serif) !important;
  font-weight: 700 !important;
  letter-spacing: .02em !important;
  color: #1c4532 !important;
  -webkit-text-fill-color: #1c4532 !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  opacity: 1 !important;
  visibility: visible !important;
  animation: none !important; /* cancel hero-fade; shimmer lives on ::after */
  filter: none !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.7);
}
.hero p.tagline {
  font-family: var(--sans) !important;
  font-style: normal !important;
  font-weight: 400 !important;
  color: #263028 !important;
  opacity: 1 !important;
  visibility: visible !important;
  animation: none !important;
  letter-spacing: 0 !important;
}
/* Shimmer is only a brief light overlay; at rest it is off the title. */
html.js .hero:not(.is-paused) h1::after {
  animation: title-shimmer 48s ease-in-out 4s infinite;
}
@keyframes title-shimmer {
  0%, 3.2% { transform: translate3d(-140%, 0, 0); opacity: 0; }
  4.2% { opacity: .55; }
  6.5% { transform: translate3d(200%, 0, 0); opacity: 0; }
  6.51%, 100% { transform: translate3d(-140%, 0, 0); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero p.tagline { animation: none !important; opacity: 1 !important; }
  .hero h1::after { animation: none !important; content: none; }
}
html.no-motion .hero h1,
html.no-motion .hero p.tagline { animation: none !important; opacity: 1 !important; }
html.no-motion .hero h1::after { animation: none !important; content: none; }

/* DEEPER-LEAF-2026-11-21: one to two steps darker natural pastel green.
   #1f4d33 stays on lighter fills (AA). On the deepest fills, text is #163828
   so small spine labels also meet WCAG AA. Sunshine yellow and the title fix stay. */
:root {
  --pastel-sage: #a9cc94;
  --pastel-sage-deep: #9cc386;
}
.topbar {
  background: linear-gradient(180deg, #a9cc94 0%, #9cc386 100%) !important;
}
footer {
  background: linear-gradient(180deg, #9cc386, #8db878) !important;
  color: #163828 !important;
}
footer .foot-brand,
footer .foot-tag,
footer a,
footer .foot-copy,
footer .foot-disclaimer,
.foot-motion .motion-toggle,
footer .motion-toggle {
  color: #163828 !important;
}
.hero:has(.hero-art),
.hero-art,
.hero-art::after {
  background-color: #7eab6a !important;
  background: #7eab6a !important;
}
.scholarship {
  background: linear-gradient(180deg, #9cc386 0%, #a9cc94 100%) !important;
}
.scholarship-line,
.scholarship-line a {
  color: #1f4d33 !important;
}
.share-bar { background: #a9cc94 !important; }
.share-bar button:hover,
.share-bar button:focus-visible,
.share-bar a.share-email:hover,
.share-bar a.share-email:focus-visible {
  background: #9cc386 !important;
  color: #1f4d33 !important;
}
.thought-today {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255,255,255,.4), transparent 60%),
    linear-gradient(160deg, #a9cc94 0%, #9cc386 100%) !important;
}
article::before {
  background: linear-gradient(90deg, #9cc386, var(--sage) 45%, var(--sun) 80%, var(--amber)) !important;
}
.lib-spine.s2, .lib-spine.s8 { background: #a9cc94 !important; color: #1f4d33 !important; }
.lib-spine.s3, .lib-spine.s7, .lib-spine.s12 { background: #9cc386 !important; color: #1f4d33 !important; }
.lib-spine.s4, .lib-spine.s9 { background: #8db878 !important; color: #163828 !important; }
.lib-spine.s5, .lib-spine.s10 { background: #7eab6a !important; color: #163828 !important; }

/* Vision is a subheading inside the About this site card (merged 23 Nov 2026). */
.vision-note h2,
.mh-note.vision-note h2,
.about-note h3,
.mh-note.about-note h3 {
  font-family: var(--sans) !important;
  font-weight: 700 !important;
  font-style: normal !important;
  text-transform: none !important;
  letter-spacing: -.005em !important;
  color: var(--forest-deep, #1c4532) !important;
}
.about-note h3,
.mh-note.about-note h3 {
  font-size: 1.05rem !important;
  line-height: 1.35 !important;
  margin: 1rem 0 .45rem !important;
}
.vision-note p,
.about-note h3 + p {
  font-family: var(--sans) !important;
  font-style: normal !important;
  color: var(--ink, #263028) !important;
}

/* HOME-BOOKS-TIDY-2026-11-21: no book list; one Visit the library button with comfortable padding.
   .home-books a { padding: .35rem 0 } was squeezing the button text. */
.home-books ul { display: none !important; }
.home-books-action { margin: 1rem 0 0 !important; }
.home-books a.btn,
.home-books .btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: .65rem 1.4rem !important;
  min-height: 44px;
  line-height: 1.2;
}

/* SUN-WARMER-2026-11-21: a few shades deeper and warmer sunshine yellow,
   consistent while scrolling. White content cards stay white.
   #1f4d33 is 7.66:1 on #fbe3a0 and 7.04:1 on #fdf0a0 (WCAG AA).
   Body grey #263028 is 10.81:1 and 9.93:1. */
:root { --cream: #fbe3a0; }
html, body { background-color: #fbe3a0 !important; }
body {
  background: #fbe3a0 !important;
  background-image: radial-gradient(circle at 10% 0%, #fdf0a0 0, transparent 42%), radial-gradient(circle at 100% 60%, #fbe3a0 0, transparent 38%) !important;
  background-attachment: scroll !important;
}
.post-list li, .mh-note, .related, .home-books {
  background-color: #fff;
}

/* HERO-HILLS-DARKER-2026-11-21: top banner hills only, about three shades
   darker, bottom band a natural forest green. Menu, cards, other fills and
   the sunshine page background are unchanged. */
.hero:has(.hero-art),
.hero-art,
.hero-art::after {
  background-color: #3f6e3a !important;
  background: #3f6e3a !important;
}

/* HOME-HERO-TITLE-BLOG-2026-11-21: "Brighter Days Blog" in the home hero only.
   Same serif, solid deep green. At 390px it wraps to two lines and stays
   inside the banner, with a slightly smaller size so nothing overflows. */
.hero h1 {
  max-width: 100%;
  overflow-wrap: break-word;
  text-wrap: balance;
  line-height: 1.12 !important;
}
@media (max-width: 420px) {
  .hero h1 {
    font-size: clamp(2.2rem, 10vw, 2.65rem) !important;
    letter-spacing: .01em !important;
  }
}

/* HERO-HEADING-ONLY-2026-11-21: tagline and wisdom lines are gone; keep the
   heading balanced over the sun and hills, with no extra empty text gap. */
.hero {
  padding: 3.6rem 1.5rem 8.2rem;
}
.hero h1 {
  margin: 0 auto .2rem !important;
}
@media (max-width: 640px) {
  .hero { padding: 2.5rem 1.15rem 5.7rem !important; }
  .hero h1 { margin: 0 auto .15rem !important; }
}

/* HERO-TITLE-ONELINE-2026-11-21: keep "Brighter Days Blog" on one line on
   narrow phones, including Safari with wider serif metrics. */
.hero h1 {
  white-space: nowrap !important;
  text-wrap: nowrap !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  max-width: 100%;
  font-size: clamp(1.6rem, 8.6vw, 3.2rem) !important;
  letter-spacing: 0.01em !important;
  font-family: var(--serif) !important;
  font-weight: 700 !important;
  color: #1c4532 !important;
  -webkit-text-fill-color: #1c4532 !important;
}
@media (max-width: 420px) {
  .hero h1 {
    font-size: clamp(1.6rem, 8.6vw, 3.2rem) !important;
    letter-spacing: 0.01em !important;
    white-space: nowrap !important;
  }
}

/* HERO-TALLER-2026-11-21: home hero only, about 2.5x the previous phone
   height, and proportionally taller on desktop with a sensible cap. The
   heading sits in the upper-middle of the sky; the sun is larger and
   higher-rising; hills stay width-scaled at the bottom; the dark forest
   band is kept. Motion-off and the one-line heading are unchanged. */
.hero:has(.hero-art) {
  min-height: clamp(36rem, 58vh, 46rem);
  padding: 0 1.5rem !important;
  box-sizing: border-box;
}
.hero:has(.hero-art) h1 {
  position: absolute;
  left: 0;
  right: 0;
  top: 22%;
  margin: 0 auto !important;
  z-index: 2;
}
.hero-sun {
  transform-origin: 50% 50%;
}
.hero:has(.hero-art) .hero-halo {
  top: auto;
  bottom: 4.03vw; /* sun centre: 58/1440 of the width, from the bottom */
  width: 22rem;
  height: 22rem;
  transform: translate(-50%, 50%) scale(1);
}
@media (prefers-reduced-motion: no-preference) {
  html.js .hero:not(.is-paused) .hero-halo {
    animation: halo-breathe-tall 8.6s ease-in-out infinite;
  }
}
@keyframes halo-breathe-tall {
  0%, 100% { opacity: .68; transform: translate(-50%, 50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, 50%) scale(1.14); }
}
@media (prefers-reduced-motion: reduce) {
  .hero:has(.hero-art) .hero-halo {
    animation: none !important;
    transform: translate(-50%, 50%) scale(1) !important;
    opacity: .8;
  }
}
html.no-motion .hero:has(.hero-art) .hero-halo {
  animation: none !important;
  transform: translate(-50%, 50%) scale(1) !important;
  opacity: .8;
}
@media (max-width: 640px) {
  .hero:has(.hero-art) {
    /* Previous phone height was ~171px; 2.5x is 428px (26.75rem). */
    min-height: 26.75rem !important;
    padding: 0 1.15rem !important;
  }
  .hero:has(.hero-art) h1 { top: 20%; }
  .hero:has(.hero-art) .hero-halo {
    width: 16rem;
    height: 16rem;
  }
}
@media (max-width: 420px) {
  .hero:has(.hero-art) {
    min-height: 26.75rem !important;
  }
}


/* HERO-SUN-RISE-2026-11-21: sink the hero sun so the front hill hides
   the bottom ~40% of the disc. Pulse/motion-off keep this rest position
   (scale about the sun centre; no extra rise translate). */
.hero-sun {
  transform-origin: 50% 50%;
  transform-box: fill-box;
}

/* LIBRARY-SEO-2026-11-21: descriptive PDF button labels may wrap. */
.book-card .btns .btn {
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  height: auto;
  min-height: 44px;
}


/* STATUS-YELLOW-2026-11-21: the iPhone status-bar / safe-area strip above
   the menu matches the deeper hero/surround yellow. The leafy green menu
   bar itself is unchanged. The rest of the page background stays as it is. */
html {
  background-color: #fdf0a0 !important;
  padding-top: env(safe-area-inset-top, 0px);
}
body {
  padding-top: 0;
}


/* HERO-SKY-MATCH-2026-11-21: the hero sky should read as the same shade
   as the yellow around the About card. Neutralise lighter halo/glow washes. */
.hero:has(.hero-art) .hero-halo,
.hero.is-paused .hero-halo,
html.no-motion .hero:has(.hero-art) .hero-halo {
  opacity: 0 !important;
  animation: none !important;
  background: none !important;
}
.hero-glow {
  opacity: 0 !important;
}


/* READ-LAYOUT-2026-11-23: comfortable reading measure on desktop (~65-72
   characters), clearer type and spacing on phones, and quotes, images and
   tables that stay inside the column. Listing pages and the home cards are
   left as they are. Italics remain for quotations only. */
@media (min-width: 800px) {
  body.post:not(.library):not(.about) main {
    max-width: calc(70ch + 8rem);
  }
  body.post article:not(.listing):not(.bookpage) {
    max-width: calc(70ch + 4.5rem);
    margin-left: auto;
    margin-right: auto;
    padding-left: 2.25rem;
    padding-right: 2.25rem;
    box-sizing: border-box;
  }
}
@media (max-width: 640px) {
  :root { --text-size: 1.125rem; --text-lh: 1.7; }
  body.post article:not(.listing):not(.bookpage) {
    padding: 1.7rem 1.15rem 1.5rem;
  }
  body.post article:not(.listing):not(.bookpage) h2 {
    margin-top: 1.75rem;
  }
  body.post article:not(.listing):not(.bookpage) p {
    margin-bottom: 1.05em;
  }
}
body.post article:not(.listing) blockquote,
body.post article:not(.listing) .pullquote,
body.post article:not(.listing) pre {
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
body.post article:not(.listing) img,
body.post article:not(.listing) figure,
body.post article:not(.listing) video,
body.post article:not(.listing) iframe,
body.post article:not(.listing) svg {
  max-width: 100%;
  height: auto;
}
body.post article:not(.listing) table {
  max-width: 100%;
  box-sizing: border-box;
}
body.post article:not(.listing) td,
body.post article:not(.listing) th {
  overflow-wrap: anywhere;
  word-break: break-word;
}


/* HERO-MYSTIC-2026-11-23: a soft golden glow on the home title, and a
   slightly starrier light on the existing sky motes. Heading size, colour
   #1c4532, serif, one-line behaviour, hero dimensions, sky, rays, hills
   and sun position are unchanged. Motion stays off under
   prefers-reduced-motion and html.no-motion. */
.hero h1 {
  text-shadow:
    0 1px 0 rgba(255, 255, 255, .72),
    0 0 10px rgba(245, 183, 0, .35),
    0 0 22px rgba(253, 220, 120, .22);
}
.hero:has(.hero-art) .mote {
  border-radius: 50%;
  background: #fff8dc;
  box-shadow: 0 0 6px 1px rgba(255, 236, 170, .65);
}
@media (prefers-reduced-motion: reduce) {
  .hero .mote, .motes, html.no-motion .mote {
    display: none;
    animation: none;
  }
}
html.no-motion .motes,
html.no-motion .mote {
  display: none;
  animation: none;
}


/* EXPLORE-TOPICS-2026-11-23: a quiet row of topic links above the post
   list on Home and the Blog. Existing colours and fonts; the list below
   stays newest first. */
.explore-topics {
  font-family: var(--sans);
  margin: .15rem 0 1.35rem;
  text-align: center;
}
.explore-topics .explore-label {
  margin: 0 0 .55rem;
  font-family: var(--sans);
  font-size: .86rem;
  font-weight: 600;
  color: var(--forest-deep, #1c4532);
  letter-spacing: .01em;
  text-transform: none;
  font-style: normal;
}
.explore-topics ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .4rem .45rem;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 100%;
}
.explore-topics a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: .2rem .7rem;
  border-radius: 999px;
  background: var(--sage-soft, #e8f1e0);
  color: var(--forest-deep, #1c4532);
  text-decoration: none;
  font-family: var(--sans);
  font-size: .86rem;
  font-weight: 600;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  box-sizing: border-box;
  max-width: 100%;
}
.explore-topics a:hover,
.explore-topics a:focus-visible {
  color: var(--forest-deep, #1c4532);
  background: #d7ead0;
}
@media (max-width: 430px) {
  .explore-topics {
    margin-bottom: 1.15rem;
  }
  .explore-topics a {
    font-size: .8rem;
    padding: .18rem .55rem;
    min-height: 2rem;
  }
}


/* HERO-SPARKLE-2026-11-23: a small four-point gold sparkle just above and
   to the right of the home heading "Brighter Days Blog". Heading size,
   colour #1c4532, serif, one-line behaviour and the existing glow are
   unchanged. The ornament is absolutely placed, off the text flow, so it
   cannot push the title onto two lines. It is static. Overflow is opened
   on the heading only so the sparkle is not clipped; the hero itself still
   clips anything that would leave the scene. */
.hero h1 {
  overflow: visible;
}
.hero h1 .hero-title-text {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.hero h1 .hero-sparkle {
  position: absolute;
  top: -0.22em;
  right: -0.22em;
  width: 0.36em;
  height: 0.36em;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23e8c45a' d='M16 1.2l2.05 12.15L30.8 16l-12.75 2.65L16 30.8l-2.05-12.15L1.2 16l12.75-2.65z'/%3E%3Cpath fill='%23fff6d0' d='M16 7.5l.95 6.2L23.5 16l-6.55 1.3L16 24.5l-.95-6.2L8.5 16l6.55-1.3z'/%3E%3C/svg%3E");
  filter: drop-shadow(0 0 2px rgba(245, 183, 0, .5));
}
@media (max-width: 430px) {
  .hero h1 .hero-sparkle {
    width: 0.3em;
    height: 0.3em;
    top: -0.18em;
    right: -0.12em;
  }
}


/* IN-BRIEF-2026-11-23: a short summary card at the top of a post, in the
   same light-card language as the welcome feature and notes. */
article .in-brief {
  margin: .2rem 0 1.5rem;
  padding: 1rem 1.15rem 1.05rem;
  background: #f4f8f1;
  border-radius: 16px;
  border: 1px solid rgba(46,107,71,.14);
  border-left: 5px solid var(--gold-deep, #c4a35a);
  box-sizing: border-box;
  font-family: var(--sans);
}
article .in-brief h2 {
  font-family: var(--sans) !important;
  font-size: 1.05rem !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  font-style: normal !important;
  color: var(--forest-deep, #1c4532) !important;
  margin: 0 0 .55rem !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
article .in-brief ul {
  list-style: disc;
  margin: 0;
  padding: 0 0 0 1.2rem;
}
article .in-brief li {
  margin: 0 0 .35rem;
  padding: 0;
  font-family: var(--sans);
  font-size: .98rem;
  line-height: 1.45;
  color: var(--forest-deep, #1c4532);
  font-style: normal;
}
article .in-brief li:last-child { margin-bottom: 0; }

/* LIB-LOOK-2026-11-23: Library page — cleaner cards, compact topic chips,
   computed intro, solid yellow and greens, no translucency. Header, footer
   and the serif page title are left as they are. */
body.library main {
  max-width: 70rem;
}
body.library article.listing {
  max-width: 42rem;
  margin: 0 auto 1.75rem;
}
body.library article.listing > h1 {
  font-family: var(--serif) !important;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--forest-deep, #193e2d) !important;
  margin: 0 0 .5rem;
}
body.library article.listing > .subtitle {
  margin: 0 0 .55rem;
}
body.library article.listing > .meta {
  margin: 0 0 1rem;
  font-family: var(--sans) !important;
  color: #3d5c4a;
  font-size: .95rem;
}
body.library .lib-notice {
  font-family: var(--sans) !important;
  font-size: .92rem;
  line-height: 1.5;
  color: var(--forest-deep, #193e2d);
  background: #ffffff;
  border: 1px solid var(--line, #e7e4d2);
  border-radius: 12px;
  padding: .85rem 1rem;
  margin: 1rem 0 1.4rem;
}
body.library .lib-explore {
  margin: 1.4rem 0 1.6rem;
}
body.library .lib-explore .explore-label {
  font-family: var(--sans) !important;
  font-weight: 700;
  font-size: .82rem;
  color: var(--forest-deep, #193e2d);
  margin: 0 0 .55rem;
  font-style: normal !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
body.library .library-jump {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--sans);
}
body.library .library-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .2rem .9rem;
  border-radius: 999px;
  background: var(--sage-soft, #d4e6c8);
  color: var(--forest-deep, #193e2d);
  text-decoration: none;
  font-weight: 600;
  font-size: .86rem;
  border: 1px solid var(--sage, #729e5f);
  box-shadow: none;
}
body.library .library-jump a:hover,
body.library .library-jump a:focus-visible {
  background: var(--sun, #f5b700);
  border-color: #d7b14a;
  color: var(--forest-deep, #193e2d);
}
body.library .lib-thread {
  margin: 0;
  padding-top: .2rem;
}
body.library .lib-thread h3 {
  margin: 0 0 .4rem;
}
body.library .lib-group {
  margin: 2.6rem 0 0;
  scroll-margin-top: 1rem;
}
body.library .lib-group > h2 {
  margin: 0 0 .3rem;
}
body.library .lib-group > p {
  margin: 0 0 1.05rem;
  max-width: 46rem;
}
body.library .book-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.05rem;
  align-items: stretch;
}
@media (min-width: 720px) {
  body.library .book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  body.library .book-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
body.library .book-card {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid var(--line, #e7e4d2);
  border-top: 5px solid var(--sun, #f5b700) !important;
  border-radius: 14px;
  padding: 1.15rem 1.2rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: .32rem;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  min-height: 100%;
}
body.library .book-card .bt {
  font-size: 1.12rem !important;
  line-height: 1.3 !important;
  color: var(--forest-deep, #193e2d);
  text-decoration: none;
}
body.library .book-card .bt:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.library .book-card .ba,
body.library .book-card p.ba {
  font-family: var(--sans) !important;
  font-size: .82rem !important;
  line-height: 1.4 !important;
  color: #3d5c4a !important;
  margin: 0 !important;
  font-style: normal !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
body.library .book-card .bd {
  margin: 0 0 .55rem;
  color: var(--ink, #222);
  flex: 1 1 auto;
}
body.library .book-card .card-note {
  font-family: var(--sans) !important;
  font-size: .8rem;
  line-height: 1.45;
  color: #555;
  margin: 0 0 .45rem;
  font-style: normal !important;
}
body.library .book-card .btns {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: auto;
  padding-top: .15rem;
}
body.library .book-card .btns .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .4rem 1.15rem;
  white-space: nowrap;
  box-shadow: none;
}
body.library .further {
  background: #fff8dc;
  border: 1px solid #d7b14a;
  border-radius: 14px;
  padding: 1.2rem 1.35rem 1.3rem;
  margin-top: 2.6rem;
}
body.library .library-copyright {
  font-family: var(--sans) !important;
  font-size: .9rem;
  color: #555;
  max-width: 65ch;
  margin: 2rem auto 0;
  text-align: center;
}
body.library .lib-search {
  margin: 0 0 1.35rem;
}
body.library .lib-search label {
  display: block;
  font-family: var(--sans) !important;
  font-weight: 700;
  font-size: .82rem;
  color: var(--forest-deep, #193e2d);
  margin: 0 0 .45rem;
  font-style: normal !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
body.library .lib-search-row {
  position: relative;
  display: block;
}
body.library .lib-search-row input[type="search"] {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink, #222);
  background: #ffffff;
  border: 1px solid var(--line, #e7e4d2);
  border-radius: 12px;
  padding: .45rem 5.1rem .45rem .9rem;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
}
body.library .lib-search-row input[type="search"]::-webkit-search-cancel-button,
body.library .lib-search-row input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}
body.library .lib-search-row input[type="search"]:focus,
body.library .lib-search-row input[type="search"]:focus-visible {
  outline: 2px solid var(--forest-deep, #193e2d);
  outline-offset: 2px;
  border-color: var(--sage, #729e5f);
}
body.library .lib-search-clear {
  position: absolute;
  right: .35rem;
  top: 50%;
  transform: translateY(-50%);
  min-height: 36px;
  padding: .25rem .75rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .86rem;
  color: var(--forest-deep, #193e2d);
  background: var(--sage-soft, #d4e6c8);
  border: 1px solid var(--sage, #729e5f);
  border-radius: 999px;
  cursor: pointer;
  box-shadow: none;
}
body.library .lib-search-clear:hover,
body.library .lib-search-clear:focus-visible {
  background: var(--sun, #f5b700);
  border-color: #d7b14a;
  color: var(--forest-deep, #193e2d);
}
body.library .lib-search-status {
  font-family: var(--sans) !important;
  font-size: .9rem;
  color: #3d5c4a;
  margin: .45rem 0 0;
}
body.library .lib-search-empty {
  font-family: var(--sans) !important;
  font-size: .95rem;
  color: var(--forest-deep, #193e2d);
  background: #ffffff;
  border: 1px solid var(--line, #e7e4d2);
  border-radius: 12px;
  padding: .85rem 1rem;
  margin: .7rem 0 0;
}
@media (max-width: 419px) {
  body.library .lib-search-row input[type="search"] {
    font-size: 16px;
    padding-right: 4.8rem;
  }
}

/* GREEN-SOLID-2026-11-23: slightly darker greens (~10%) and solid
   yellow/green surfaces. Page and sky stay #fdf0a0 in PAGE-YELLOW-SOLID.
   Rays may remain a subtle tint. Hero title stays serif. */
:root {
  --forest: #296040;
  --forest-deep: #193e2d;
  --forest-night: #153326;
  --sage: #729e5f;
  --sage-soft: #d4e6c8;
  --pastel-sage: #8cb079;
  --pastel-sage-deep: #7fa66c;
}
.hero h1 {
  color: #193e2d !important;
  -webkit-text-fill-color: #193e2d !important;
}
.topbar {
  background: #8cb079 !important;
  border-bottom: 2px solid #125B6C !important;
  box-shadow: none !important;
}
.nav a,
.brand {
  color: #193e2d !important;
}
.nav a:hover {
  background: #f5b700 !important;
  color: #193e2d !important;
}
.nav a[aria-current="page"] {
  background: #f5b700 !important;
  color: #193e2d !important;
}
footer {
  background: #7fa66c !important;
  color: #143224 !important;
}
footer .foot-brand,
footer .foot-tag,
footer a,
footer .foot-copy,
footer .foot-disclaimer,
.foot-motion .motion-toggle,
footer .motion-toggle {
  color: #143224 !important;
}
.scholarship,
.share-bar {
  background: #8cb079 !important;
  border-bottom-color: #c4a35a !important;
  box-shadow: none !important;
}
.scholarship-line,
.scholarship-line a {
  color: #1c452e !important;
}
.thought-today {
  background: #8cb079 !important;
}
.hero,
.hero:has(.hero-art) {
  background-color: #fdf0a0 !important;
  background: #fdf0a0 url("assets/hero.svg") center bottom / cover no-repeat !important;
}
.hero-art,
.hero-art::after {
  background: transparent !important;
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.post-list li,
.mh-note,
.mh-note.about-note,
.about-note,
.related,
.home-books,
.low-strip,
.book-card {
  background: #ffffff !important;
  background-color: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.explore-topics a {
  background: #d4e6c8 !important;
  color: #193e2d !important;
  border-color: #9bb892 !important;
}
.explore-topics a:hover,
.explore-topics a:focus-visible {
  background: #c3d9b5 !important;
  color: #193e2d !important;
}
.chip {
  background: #ffffff !important;
  color: #193e2d !important;
  border-color: #729e5f !important;
}
.chip[aria-pressed="true"] {
  background: #f5b700 !important;
  border-color: #f5b700 !important;
  color: #193e2d !important;
}
article .in-brief {
  background: #e4efe0 !important;
  border: 1px solid #b7c8b4 !important;
}
article .in-brief h2,
article .in-brief li {
  color: #193e2d !important;
}
.post-list .tag,
.to-top a {
  background: #d4e6c8 !important;
  color: #193e2d !important;
  border-color: #9bb892 !important;
}
.share-bar button:hover,
.share-bar button:focus-visible,
.share-bar a.share-email:hover,
.share-bar a.share-email:focus-visible {
  background: #7fa66c !important;
  color: #143224 !important;
}

/* SHELF-LOOK-2026-11-23: home Library shelf. Spines read as books
   (plank, gilt bands, varied sizes, rounded heads). Titles are abstract
   marks only, never readable names. Solid yellow and greens, no translucency. */
a.lib-spines {
  display: block;
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 .2rem .15rem;
  text-decoration: none;
  color: inherit;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
a.lib-spines:hover,
a.lib-spines:focus-visible {
  color: inherit;
  box-shadow: none !important;
}
a.lib-spines:focus-visible {
  outline: 3px solid #3a7ca5;
  outline-offset: 4px;
  border-radius: 6px;
}
.lib-shelf {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.lib-shelf-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-end;
  gap: .16rem;
  width: 100%;
}
.lib-shelf-plank {
  display: block;
  width: 100%;
  height: .48rem;
  margin-top: 0;
  background: #5c7340;
  border-top: 3px solid #8a9a55;
  border-radius: 1px 1px 2px 2px;
}
.lib-spine {
  position: relative;
  display: block;
  flex: 0 0 auto;
  box-sizing: border-box;
  padding: 0 !important;
  border: 0;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  border-bottom-left-radius: 1px;
  border-bottom-right-radius: 1px;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed;
  transform: none;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  overflow: hidden;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background-repeat: no-repeat !important;
  background-image:
    linear-gradient(#c9a24a, #c9a24a),
    linear-gradient(#c9a24a, #c9a24a),
    linear-gradient(#6b5a20, #6b5a20),
    linear-gradient(#6b5a20, #6b5a20) !important;
  background-size: 64% 2px, 64% 2px, 100% .28rem, 100% .28rem !important;
  background-position: center .38rem, center calc(100% - .4rem), top, bottom !important;
}
.lib-spine::before,
.lib-spine::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  pointer-events: none;
}
/* Soft, unreadable title marks: two or three short rounded bars. */
.lib-spine::before {
  top: 1.15rem;
  width: .32rem;
  height: .95rem;
}
.lib-spine::after {
  top: 2.35rem;
  width: .28rem;
  height: .7rem;
}
.lib-spine:nth-child(4n+2)::before { width: .26rem; height: .7rem; top: 1.3rem; }
.lib-spine:nth-child(4n+2)::after { width: .3rem; height: 1.05rem; top: 2.2rem; }
.lib-spine:nth-child(4n+3)::before { width: .3rem; height: 1.15rem; top: 1.2rem; }
.lib-spine:nth-child(4n+3)::after { width: .24rem; height: .55rem; top: 2.55rem; }
.lib-spine:nth-child(4n+4)::before { width: .28rem; height: .8rem; top: 1.05rem; }
.lib-spine:nth-child(4n+4)::after { width: .32rem; height: .9rem; top: 2.1rem; }
.lib-spine.s8 {
  transform: rotate(-6deg);
  transform-origin: bottom center;
  z-index: 1;
  margin: 0 .18rem .02rem;
}
.lib-spine.s1  { height: 6.25rem !important; width: 1.35rem; background-color: #e8d080 !important; }
.lib-spine.s2  { height: 5.15rem !important; width: 1.15rem; background-color: #8cb079 !important; }
.lib-spine.s3  { height: 5.95rem !important; width: 1.5rem;  background-color: #7fa66c !important; }
.lib-spine.s4  { height: 5.05rem !important; width: 1.2rem;  background-color: #f0d78a !important; }
.lib-spine.s5  { height: 5.7rem  !important; width: 1.4rem;  background-color: #719a5f !important; }
.lib-spine.s6  { height: 6.2rem  !important; width: 1.25rem; background-color: #a9cc94 !important; }
.lib-spine.s7  { height: 5.35rem !important; width: 1.1rem;  background-color: #e2c56a !important; }
.lib-spine.s8  { height: 5.9rem  !important; width: 1.45rem; background-color: #8db878 !important; }
.lib-spine.s9  { height: 5.2rem  !important; width: 1.2rem;  background-color: #d7b14a !important; }
.lib-spine.s10 { height: 5.8rem  !important; width: 1.55rem; background-color: #6e9755 !important; }
.lib-spine.s11 { height: 6.05rem !important; width: 1.3rem;  background-color: #e8d080 !important; }
.lib-spine.s12 { height: 5.45rem !important; width: 1.15rem; background-color: #98b885 !important; }
.lib-spine.s13 { height: 5.75rem !important; width: 1.4rem;  background-color: #f0d78a !important; }
.lib-spine.s14 { height: 6.15rem !important; width: 1.2rem;  background-color: #7eab6a !important; }
.lib-spine.s15 { height: 5.25rem !important; width: 1.5rem;  background-color: #e2c56a !important; }
.lib-spine.s16 { height: 5.85rem !important; width: 1.25rem; background-color: #8cb079 !important; }
.lib-spine.s17 { height: 5.55rem !important; width: 1.35rem; background-color: #9cc386 !important; }
.lib-spine.s18 { height: 6rem    !important; width: 1.1rem;  background-color: #d4b85a !important; }
.lib-spine.s19 { height: 5.1rem  !important; width: 1.45rem; background-color: #719a5f !important; }
.lib-spine.s20 { height: 5.95rem !important; width: 1.2rem;  background-color: #f0d78a !important; }
.lib-spine.s21 { height: 5.4rem  !important; width: 1.3rem;  background-color: #7fa66c !important; }
.lib-spine.s22 { height: 6.1rem  !important; width: 1.5rem;  background-color: #e8d080 !important; }
.lib-spine.s23 { height: 5.3rem  !important; width: 1.15rem; background-color: #8db878 !important; }
.lib-spine.s24 { height: 5.7rem  !important; width: 1.4rem;  background-color: #a9cc94 !important; }
/* Marks: a slightly deeper solid of the same family, low contrast, not lettering. */
.lib-spine.s1::before, .lib-spine.s1::after,
.lib-spine.s4::before, .lib-spine.s4::after,
.lib-spine.s7::before, .lib-spine.s7::after,
.lib-spine.s9::before, .lib-spine.s9::after,
.lib-spine.s11::before, .lib-spine.s11::after,
.lib-spine.s13::before, .lib-spine.s13::after,
.lib-spine.s15::before, .lib-spine.s15::after,
.lib-spine.s18::before, .lib-spine.s18::after,
.lib-spine.s20::before, .lib-spine.s20::after,
.lib-spine.s22::before, .lib-spine.s22::after {
  background: #a6862c;
}
.lib-spine.s2::before, .lib-spine.s2::after,
.lib-spine.s3::before, .lib-spine.s3::after,
.lib-spine.s5::before, .lib-spine.s5::after,
.lib-spine.s6::before, .lib-spine.s6::after,
.lib-spine.s8::before, .lib-spine.s8::after,
.lib-spine.s10::before, .lib-spine.s10::after,
.lib-spine.s12::before, .lib-spine.s12::after,
.lib-spine.s14::before, .lib-spine.s14::after,
.lib-spine.s16::before, .lib-spine.s16::after,
.lib-spine.s17::before, .lib-spine.s17::after,
.lib-spine.s19::before, .lib-spine.s19::after,
.lib-spine.s21::before, .lib-spine.s21::after,
.lib-spine.s23::before, .lib-spine.s23::after,
.lib-spine.s24::before, .lib-spine.s24::after {
  background: #45663a;
}
/* 14 spines on a narrow phone, 20 on a tablet, 24 on a wide screen. */
.lib-spine.s15, .lib-spine.s16, .lib-spine.s17, .lib-spine.s18,
.lib-spine.s19, .lib-spine.s20, .lib-spine.s21, .lib-spine.s22,
.lib-spine.s23, .lib-spine.s24 { display: none; }
@media (min-width: 720px) {
  .lib-spine.s15, .lib-spine.s16, .lib-spine.s17, .lib-spine.s18,
  .lib-spine.s19, .lib-spine.s20 { display: block; }
}
@media (min-width: 1100px) {
  .lib-spine.s21, .lib-spine.s22, .lib-spine.s23, .lib-spine.s24 { display: block; }
}
@media (max-width: 559px) {
  .lib-shelf-row { gap: .12rem; }
  .lib-spine.s1  { height: 5.35rem !important; width: 1.08rem; }
  .lib-spine.s2  { height: 4.45rem !important; width: .95rem; }
  .lib-spine.s3  { height: 5.1rem  !important; width: 1.18rem; }
  .lib-spine.s4  { height: 4.35rem !important; width: .98rem; }
  .lib-spine.s5  { height: 4.9rem  !important; width: 1.12rem; }
  .lib-spine.s6  { height: 5.3rem  !important; width: 1.02rem; }
  .lib-spine.s7  { height: 4.6rem  !important; width: .92rem; }
  .lib-spine.s8  { height: 5.05rem !important; width: 1.16rem; }
  .lib-spine.s9  { height: 4.5rem  !important; width: .98rem; }
  .lib-spine.s10 { height: 4.95rem !important; width: 1.2rem; }
  .lib-spine.s11 { height: 5.2rem  !important; width: 1.06rem; }
  .lib-spine.s12 { height: 4.7rem  !important; width: .95rem; }
  .lib-spine.s13 { height: 4.9rem  !important; width: 1.12rem; }
  .lib-spine.s14 { height: 5.25rem !important; width: 1rem; }
  .lib-spine::before { top: .95rem; }
  .lib-spine::after { top: 2rem; }
  .lib-shelf-plank { height: .4rem; }
}

/* PAGE-YELLOW-SOLID-2026-11-21: final cascade. html and body are solid
   #fdf0a0 so iOS Safari's top-of-page sample, the status-bar strip, and
   the yellow around the About card are the same bright pastel yellow. */
html, body {
  background-color: #fdf0a0 !important;
  background: #fdf0a0 !important;
  background-image: none !important;
}
html {
  padding-top: env(safe-area-inset-top, 0px);
}

/* LOGO-SLEEK-2026-11-27: Ryan's logo in the header and footer, a white
   Thought for today card, and a light CSS-only polish. Palette otherwise
   unchanged. Hero title stays serif. */
.brand {
  gap: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-decoration: none;
  align-items: center !important;
}
.brand picture { display: block; line-height: 0; flex: 0 0 auto; }
.brand img {
  width: 48px !important;
  height: 48px !important;
  background: #fff;
  border-radius: 10px;
  padding: 0 !important;
  display: block;
  object-fit: cover;
}
@media (max-width: 720px) {
  .brand { gap: 0 !important; }
  .brand img { width: 44px !important; height: 44px !important; }
}
.topbar .inner {
  align-items: center !important;
  gap: .6rem 1rem !important;
}
footer .foot-brand {
  gap: .5rem;
  align-items: center;
}
footer .foot-brand img {
  width: 36px !important;
  height: 36px !important;
  background: #fff;
  border-radius: 8px;
  padding: 0 !important;
  object-fit: cover;
}

/* Thought for today: white box only; keep the dark green text. */
.thought-today {
  background: #ffffff !important;
  background-image: none !important;
}
html.dark .thought-today,
html[data-theme="dark"] .thought-today {
  background: #ffffff !important;
  background-image: none !important;
}

/* Light sleek polish: spacing, radii, shadows, type. No new colours, fonts, images or JS. */
body {
  line-height: 1.65;
}
article p, article li {
  line-height: 1.7;
}
.hero h1 {
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.nav {
  align-items: center;
}
.thought-today,
.about-note,
.mh-note,
.post-list > li,
.book-card,
.welcome,
.low-strip,
.related,
aside.in-brief {
  border-radius: 16px;
}
.thought-today,
.about-note,
.mh-note,
.post-list > li,
.book-card,
.welcome,
.low-strip,
aside.in-brief {
  box-shadow: 0 4px 16px rgba(28, 69, 50, .07);
}
.post-list {
  gap: 1rem;
}
.section-title {
  margin-top: 2rem;
  margin-bottom: .85rem;
}

/* DESKTOP-PC-2026-11-27: CSS-only wide-screen layout. Mobile rules are
   unchanged. Palette unchanged; the Thought for today card stays white.
   Hero title stays serif. No new images, fonts or JavaScript. */
@media (min-width: 1024px) {
  .home main,
  main:has(.post-list),
  body.library main {
    max-width: 72rem !important;
    padding-left: 2rem;
    padding-right: 2rem;
  }
  body.post:not(.library) main:not(:has(.post-list)) {
    max-width: calc(70ch + 8rem) !important;
  }
  body.post:not(.library) article:not(.listing):not(.bookpage) {
    max-width: calc(70ch + 4.5rem);
    margin-left: auto;
    margin-right: auto;
  }
  body.post:not(.library) article:not(.listing):not(.bookpage) p,
  body.post:not(.library) article:not(.listing):not(.bookpage) li {
    font-size: 1.08rem;
    line-height: 1.7;
  }
  .post-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 1.35rem;
  }
  .topbar .inner {
    max-width: 72rem !important;
    padding: .55rem 1.75rem !important;
    gap: .75rem 1.75rem !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  .nav {
    gap: .3rem .45rem !important;
  }
  .nav a {
    padding: .45rem .75rem !important;
    font-size: .95rem !important;
  }
  .hero {
    padding: 3.25rem 2rem 7.5rem !important;
  }
  .hero h1 {
    font-family: var(--serif) !important;
    font-size: 3.15rem !important;
    line-height: 1.15 !important;
    max-width: 20ch;
    margin-left: auto;
    margin-right: auto;
  }
  .book-card {
    transition: transform .2s ease, box-shadow .2s ease;
  }
  .book-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(47, 107, 63, .14);
  }
  .explore-topics a:hover,
  article a:hover {
    text-underline-offset: .15em;
  }
}
@media (min-width: 1280px) {
  .home main,
  main:has(.post-list),
  body.library main,
  .topbar .inner {
    max-width: 80rem !important;
  }
  .post-list {
    gap: 1.35rem 1.5rem;
  }
  body.library .book-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.2rem;
  }
  .hero {
    padding: 3rem 2.5rem 7rem !important;
  }
  .hero h1 {
    font-family: var(--serif) !important;
    font-size: 3.35rem !important;
  }
  .nav a {
    padding: .45rem .85rem !important;
  }
}

/* SLEEK-TYPE-2026-11-27: light page polish. Palette unchanged;
   Thought for today stays white. Hero title keeps the existing site serif. */
article h1, article h2, article h3,
.section-title, .lib-group > h2, .related h2, .welcome-page h1 {
  font-weight: 600;
}
.nav a {
  font-weight: 600 !important;
}
.nav a[aria-current="page"] {
  font-weight: 650 !important;
  box-shadow: none !important;
}
article,
.post-list > li,
.book-card,
.thought-today,
.about-note,
.mh-note,
.welcome,
.low-strip,
.related,
aside.in-brief {
  box-shadow: 0 2px 12px rgba(28, 69, 50, .05);
}
article,
.post-list > li,
.book-card,
.about-note,
.mh-note,
.welcome,
.related,
aside.in-brief {
  border-width: 1px;
  border-style: solid;
  border-color: rgba(46, 107, 71, .12);
}
.thought-today {
  background: #ffffff !important;
  background-image: none !important;
}
@media (min-width: 720px) {
  body.post:not(.library) article:not(.listing):not(.bookpage) {
    padding-top: 3rem;
    padding-bottom: 2.8rem;
  }
  .section-title {
    margin-top: 2.4rem;
    margin-bottom: 1rem;
  }
}
@media (min-width: 1024px) {
  .home main,
  main:has(.post-list),
  body.library main {
    padding-top: 2.85rem;
    padding-bottom: 4.4rem;
  }
  .book-card:hover,
  .post-list > li:hover {
    box-shadow: 0 8px 22px rgba(47, 107, 63, .09);
  }
  .nav a {
    padding: .42rem .8rem !important;
  }
}

/* HERO-SUN-EBOOK-2026-12-04: no straight band across the sun; free ebook card.
   The front hill covers the lower disc with a curved edge. Any mid-scroll
   sliver is filled by the hero-art background, matched to the front hill. */
.hero-art::after {
  content: none !important;
  height: 0 !important;
  background: none !important;
}
.hero:has(.hero-art),
.hero-art {
  background-color: #396334 !important;
  background: #396334 !important;
}

/* Free ebook card on the home page (BD-100). */
.free-ebook {
  margin: 1.6rem 0 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem 1.6rem;
  font-family: var(--sans);
  box-shadow: 0 2px 12px rgba(28, 69, 50, .05);
}
.free-ebook h2 {
  margin: 0 0 .4rem;
  font-family: var(--serif);
  color: var(--forest-deep);
  font-size: var(--h2);
  line-height: 1.25;
}
.free-ebook p { margin: 0 0 .7rem; }
.free-ebook-action { margin: 1rem 0 .55rem !important; }
.free-ebook a.btn,
.free-ebook .btn {
  display: inline-flex;
}
.free-ebook-count {
  margin: 0 !important;
  font-family: var(--sans);
  font-size: .92rem;
  color: var(--muted, #4a5a48);
}
.lib-ebook {
  margin: 0 0 1rem;
}

/* Post-page decorative strip (cross, spinning ankh, coiled snake). */
.post-banner {
  position: relative;
  height: 100px;
  overflow: hidden;
  background: #fdf0a0 !important;
  line-height: 0;
}
.post-banner-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}
.post-banner-cross,
.post-banner-ankh,
.post-banner-snake {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
  display: block;
}
.post-banner-cross {
  left: 7%;
  bottom: 14px;
  width: 18px;
  height: 52px;
}
.post-banner-ankh {
  left: calc(7% + 28px);
  bottom: 14px;
  width: 22px;
  height: 52px;
}
.post-banner-snake {
  right: 5%;
  bottom: 10px;
  width: 108px;
  height: 44px;
}
.post main {
  margin-top: -10px !important;
}
@media (max-width: 640px) {
  .post-banner { height: 88px !important; }
  .post main { margin-top: -8px !important; }
  .post-banner-cross { height: 44px; width: 15px; bottom: 12px; }
  .post-banner-ankh { height: 44px; width: 18px; left: calc(7% + 24px); bottom: 12px; }
  .post-banner-snake { width: 90px; height: 36px; right: 4%; bottom: 8px; }
}
@media (min-width: 1024px) {
  .post-banner { height: 110px !important; }
  .post main { margin-top: -12px !important; }
  .post-banner-cross { height: 58px; width: 20px; left: 8%; }
  .post-banner-ankh { height: 58px; width: 24px; left: calc(8% + 32px); }
  .post-banner-snake { width: 128px; height: 52px; right: 7%; }
}
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.no-motion) .post-banner .hero-mamba-tongue {
    animation: mamba-tongue 3.4s ease-in-out infinite;
  }
  html.js:not(.no-motion) .post-banner .hero-ankh-spin {
    animation: hero-ankh-spin 7s linear infinite;
    animation-direction: normal;
    animation-timing-function: linear;
  }
}
@media (prefers-reduced-motion: reduce) {
  .post-banner .hero-mamba-tongue,
  .post-banner .hero-ankh-spin { animation: none !important; }
  .post-banner .hero-ankh-spin { transform: none !important; }
}
html.no-motion .post-banner .hero-mamba-tongue,
html.no-motion .post-banner .hero-ankh-spin {
  animation: none !important;
}
html.no-motion .post-banner .hero-ankh-spin {
  transform: none !important;
}

/* 3D spinning ankh: gradient face, thickness, foreshortening, light that dips when edge-on. */
.hero-ankh,
.post-banner-ankh {
  transform-style: preserve-3d;
  perspective: 520px;
}
.hero-ankh-spin {
  transform-box: fill-box;
  transform-origin: center;
  transform-style: preserve-3d;
}
.hero-ankh-back {
  pointer-events: none;
}
@keyframes hero-ankh-spin {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-ankh-spin,
  .post-banner .hero-ankh-spin {
    animation: none !important;
    transform: none !important;
    filter: none !important;
  }
}
html.no-motion .hero-ankh-spin,
html.no-motion .post-banner .hero-ankh-spin {
  animation: none !important;
  transform: none !important;
  filter: none !important;
}


/* Ankh ground shadow: does not spin; narrows when the ankh is edge-on. */
.hero-ankh-shadow {
  transform-box: fill-box;
  transform-origin: center;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.no-motion) .hero:not(.is-paused) .hero-ankh-shadow,
  html.js:not(.no-motion) .post-banner .hero-ankh-shadow {
    animation: hero-ankh-shadow 7s linear infinite;
  }
}
@keyframes hero-ankh-shadow {
  0%, 50%, 100% { transform: scaleX(1); }
  25%, 75% { transform: scaleX(0.38); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-ankh-shadow { animation: none !important; transform: none !important; }
}
html.no-motion .hero-ankh-shadow {
  animation: none !important;
  transform: none !important;
}


/* 3D only while spinning. At rest / motion-off: flat black, no thickness, as before 2afd3d71. */
.hero-ankh-face { fill: #1a1a1a; stroke: none; }
.hero-ankh-back { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.no-motion) .hero:not(.is-paused) .hero-ankh-back,
  html.js:not(.no-motion) .post-banner .hero-ankh-back { opacity: 1; }
  html.js:not(.no-motion) .hero:not(.is-paused) .hero-ankh-face {
    fill: url(#hero-ankh-grad);
    stroke: #9a9a94;
    stroke-width: 1.35px;
    stroke-linejoin: round;
    stroke-linecap: round;
  }
  html.js:not(.no-motion) .post-banner .hero-ankh-face {
    fill: url(#post-ankh-grad);
    stroke: #9a9a94;
    stroke-width: 0.7px;
    stroke-linejoin: round;
    stroke-linecap: round;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-ankh-face { fill: #1a1a1a !important; stroke: none !important; }
  .hero-ankh-back { opacity: 0 !important; }
}
html.no-motion .hero-ankh-face { fill: #1a1a1a !important; stroke: none !important; }
html.no-motion .hero-ankh-back { opacity: 0 !important; }


/* Single solid ankh. Extra 3D layers stay hidden — on iOS Safari a stacked
   rotateY/translateZ spin splayed them into a fan of stripes. preserve-3d
   stays on the spinning parent only. */
.hero-ankh-spin {
  overflow: visible;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}
.hero-ankh-layer {
  transform-box: fill-box;
  transform-origin: center;
}
.hero-ankh-layer:not(.hero-ankh-face) { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .hero-ankh-layer:not(.hero-ankh-face) { opacity: 0 !important; }
}
html.no-motion .hero-ankh-layer:not(.hero-ankh-face) { opacity: 0 !important; }

@keyframes hero-ankh-spin {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

@media (prefers-reduced-motion: no-preference) {
  html.js:not(.no-motion) .hero:not(.is-paused) .hero-ankh-spin,
  html.js:not(.no-motion) .post-banner .hero-ankh-spin {
    animation: hero-ankh-spin 7s linear infinite;
    animation-direction: normal;
    animation-timing-function: linear;
  }
  html.js:not(.no-motion) .hero:not(.is-paused) .hero-ankh-layer,
  html.js:not(.no-motion) .post-banner .hero-ankh-layer {
    animation: none !important;
    transform: none !important;
    filter: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-ankh-spin,
  .hero-ankh-layer { animation: none !important; transform: none !important; filter: none !important; }
}
html.no-motion .hero-ankh-spin,
html.no-motion .hero-ankh-layer {
  animation: none !important;
  transform: none !important;
  filter: none !important;
}

/* SPACE-2026-12-04: more breathing room in the home hero, and tidier
   spacing on narrow screens. Palette, wording and artwork unchanged. */
.hero:has(.hero-art) {
  min-height: clamp(42rem, 70vh, 54rem) !important;
  padding: 0 2rem !important;
}
.hero:has(.hero-art) h1 {
  top: 30% !important;
  padding: 0 3rem !important;
  max-width: 22ch;
  box-sizing: border-box;
}
.hero:has(.hero-art) .hero-motion {
  top: 1.2rem !important;
  right: 1.35rem !important;
  margin: 0 !important;
  z-index: 4;
}
.home-start-here {
  margin: 1.2rem 0 .85rem !important;
}

@media (max-width: 640px) {
  .hero:has(.hero-art) {
    min-height: 33rem !important;
    padding: 0 1.2rem !important;
  }
  .hero:has(.hero-art) h1 {
    top: 34% !important;
    padding: 0 1.15rem !important;
  }
  .hero:has(.hero-art) .hero-motion {
    top: auto !important;
    right: .75rem !important;
    bottom: 11rem !important;
    left: auto !important;
    max-width: 11.5rem;
    text-align: right;
  }
  .topbar .inner {
    padding: .55rem .75rem .6rem !important;
    gap: .5rem .6rem !important;
  }
  .nav {
    gap: .3rem .4rem !important;
  }
  .nav a {
    padding: .42rem .5rem !important;
    min-height: 44px !important;
  }
  main {
    padding: 1.7rem 1.2rem 3.4rem !important;
  }
  .home-start-here {
    margin: 1.15rem 0 1rem !important;
  }
  .post-list li {
    padding: 1.05rem 1.1rem !important;
    column-gap: 1rem !important;
    row-gap: .5rem !important;
  }
  .related,
  .mh-note,
  .home-books,
  .welcome,
  .free-ebook {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }
  body.post main {
    padding: 1.35rem 1.2rem 3.2rem !important;
    margin-top: .35rem !important;
  }
  body.post article:not(.listing):not(.bookpage) {
    padding: 1.9rem 1.2rem 1.7rem !important;
  }
  footer {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }
}

@media (max-width: 420px) {
  .hero:has(.hero-art) {
    min-height: 32rem !important;
  }
  .hero:has(.hero-art) h1 {
    top: 33% !important;
    padding: 0 1rem !important;
  }
  .hero:has(.hero-art) .hero-motion {
    bottom: 10.5rem !important;
    right: .65rem !important;
  }
  .topbar .inner {
    padding: .5rem .65rem .55rem !important;
  }
  main,
  body.post main {
    padding-left: 1.15rem !important;
    padding-right: 1.15rem !important;
  }
}

/* Homepage hero reuses the post-banner cross and ankh SVGs, placed left of the sun. */
.hero:has(.hero-art) .post-banner-cross,
.hero:has(.hero-art) .post-banner-ankh {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
  display: block;
}
.hero:has(.hero-art) .post-banner-cross {
  left: 24%;
  bottom: 26%;
  width: 56px;
  height: 160px;
}
.hero:has(.hero-art) .post-banner-ankh {
  left: calc(24% + 72px);
  bottom: 24%;
  width: 70px;
  height: 168px;
}
html.js:not(.no-motion) .hero:not(.is-paused) .post-banner-ankh .hero-ankh-face {
  fill: url(#post-ankh-grad);
  stroke: #9a9a94;
  stroke-width: 0.7px;
  stroke-linejoin: round;
  stroke-linecap: round;
}
@media (max-width: 640px) {
  .hero:has(.hero-art) .post-banner-cross {
    left: 8%;
    bottom: 22%;
    width: 36px;
    height: 108px;
  }
  .hero:has(.hero-art) .post-banner-ankh {
    left: calc(8% + 48px);
    bottom: 21%;
    width: 46px;
    height: 114px;
  }
}

/* Luke 10:11 in the homepage hero top-right. */
.hero:has(.hero-art) .hero-luke {
  position: absolute;
  top: 3.85rem;
  right: 1.35rem;
  left: auto;
  z-index: 3;
  margin: 0;
  max-width: 26ch;
  text-align: right;
  pointer-events: none;
}
.hero-luke blockquote,
.hero-luke p {
  margin: 0;
  font-family: var(--serif);
  font-size: .72rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
  color: #193e2d;
}
.hero-luke i { font-style: italic; }
.hero-luke figcaption {
  margin: .35rem 0 0;
  font-family: var(--serif);
  font-size: .68rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .02em;
  color: #193e2d;
  opacity: .88;
}
@media (max-width: 640px) {
  .hero:has(.hero-art) .hero-luke {
    top: .65rem;
    right: .7rem;
    max-width: 17.5ch;
  }
  .hero-luke blockquote,
  .hero-luke p { font-size: .62rem; line-height: 1.3; }
  .hero-luke figcaption { font-size: .6rem; margin-top: .25rem; }
}


/* Hero subtitle directly under the title. */
.hero:has(.hero-art) .hero-tagline {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(30% + 4.5rem);
  z-index: 2;
  margin: 0 auto;
  padding: 0 3rem;
  box-sizing: border-box;
  max-width: 40ch;
  white-space: nowrap;
  font-family: var(--serif);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(1.05rem, 2.3vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #193e2d;
  -webkit-text-fill-color: #193e2d;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255,255,255,.75);
}
@media (max-width: 640px) {
  .hero:has(.hero-art) .hero-tagline {
    top: calc(34% + 3.5rem);
    padding: 0 1.15rem;
    font-size: 1.05rem;
  }
}
@media (max-width: 420px) {
  .hero:has(.hero-art) .hero-tagline {
    top: calc(33% + 3.3rem);
  }
}

/* ANKH-3D-HTML-2026-12-04: one HTML wrapper, rotateY, solid SVG copies (not <g>). */
.hero:has(.hero-art),
.post-banner {
  overflow: visible !important;
}
.ankh-3d-tilt {
  transform: rotate(30deg);
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  overflow: visible;
}
.ankh-3d-stage {
  width: 100%;
  height: 100%;
  perspective: 520px;
  -webkit-perspective: 520px;
  overflow: visible;
}
.ankh-3d-spin {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transform-origin: 50% 50%;
  overflow: visible;
}
.ankh-3d-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  backface-visibility: visible;
  -webkit-backface-visibility: visible;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.no-motion) .hero:not(.is-paused) .ankh-3d-spin,
  html.js:not(.no-motion) .post-banner .ankh-3d-spin {
    animation: hero-ankh-spin 7s linear infinite;
    animation-direction: normal;
    animation-timing-function: linear;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ankh-3d-spin { animation: none !important; transform: none !important; }
  .ankh-3d-layer:not(.ankh-3d-face) { visibility: hidden !important; }
  .ankh-3d-layer { transform: none !important; }
}
html.no-motion .ankh-3d-spin,
.hero.is-paused .ankh-3d-spin {
  animation: none !important;
  transform: none !important;
}
html.no-motion .ankh-3d-layer:not(.ankh-3d-face),
.hero.is-paused .ankh-3d-layer:not(.ankh-3d-face) {
  visibility: hidden !important;
}
html.no-motion .ankh-3d-layer,
.hero.is-paused .ankh-3d-layer {
  transform: none !important;
}
/* Do not animate leftover SVG <g> stacks (they splay on iOS). */
.hero-ankh-spin,
.hero-ankh-layer {
  animation: none !important;
}
