/* Ancient Wisdom, Modern Brains — reader site styles */
:root {
  --bg: #f8f5ef;
  --surface: #fffdf9;
  --sunk: #f1ece2;
  --ink: #1d1b18;
  --ink-2: #3a362f;
  --muted: #6a6359;
  --line: #e4ddd0;
  --gold: #9a5f14;
  --gold-soft: #f4e9d6;
  --teal: #1d6865;
  --teal-soft: #e1eeec;
  --plum: #6a5a86;
  --plum-soft: #ece8f3;
  --shadow: 0 1px 2px rgb(40 30 10 / .05), 0 6px 24px -8px rgb(40 30 10 / .12);
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14130f; --surface: #1c1a16; --sunk: #181712; --ink: #ece6da; --ink-2: #d6cfc1; --muted: #a39b8c; --line: #2f2c26;
    --gold: #e2ab5f; --gold-soft: #2b2317; --teal: #6cc0b8; --teal-soft: #15292a; --plum: #b2a3d6; --plum-soft: #24202f;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 28px -10px rgb(0 0 0 / .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #14130f; --surface: #1c1a16; --sunk: #181712; --ink: #ece6da; --ink-2: #d6cfc1; --muted: #a39b8c; --line: #2f2c26;
  --gold: #e2ab5f; --gold-soft: #2b2317; --teal: #6cc0b8; --teal-soft: #15292a; --plum: #b2a3d6; --plum-soft: #24202f;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 28px -10px rgb(0 0 0 / .6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--teal); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.wrap.narrow { max-width: 780px; }

.eyebrow { font: 600 .74rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin: 0 0 .75rem; }
.eyebrow a { color: inherit; text-decoration: none; }
.small { font-size: .88rem; color: var(--muted); }
.hint { font-size: .9rem; color: var(--muted); margin: .25rem 0 1rem; }

/* ---------- header */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--teal)); }
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 12px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 500 1.08rem/1 var(--serif); margin-right: auto; white-space: nowrap; }
.brand em { color: var(--teal); }
.brand .mark { width: 30px; height: 30px; flex: none; }
.site-nav { display: none; gap: 4px; }
.site-nav a, .menu nav a { color: var(--ink-2); text-decoration: none; font-size: .92rem; font-weight: 500; padding: 8px 12px; border-radius: 999px; }
.site-nav a:hover { background: var(--sunk); }
.site-nav a[aria-current="page"] { background: var(--gold-soft); color: var(--ink); }
.theme-toggle, .menu summary { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; padding: 0; }
.theme-toggle svg, .menu summary svg { width: 18px; height: 18px; }
.menu { position: relative; }
.menu summary { list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: 50px; display: flex; flex-direction: column; min-width: 220px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.menu nav a { border-radius: 8px; padding: 10px 12px; }
.menu nav a:hover { background: var(--sunk); }
.site-nav a { white-space: nowrap; }
@media (min-width: 1200px) { .site-nav { display: flex; } .menu { display: none; } }
@media (min-width: 1200px) { .site-nav { gap: 0; } .site-nav a { padding: 8px 9px; font-size: .88rem; } }
.brand { min-width: 0; }
.brand span { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 480px) { .header-inner { gap: 8px; } .brand { font-size: .94rem; gap: 8px; } .brand .mark { width: 26px; height: 26px; } }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: var(--ink); color: var(--bg); text-decoration: none; font: 600 .95rem/1 var(--sans); border: 1px solid var(--ink); cursor: pointer; }
.btn:hover { background: var(--ink-2); }
.btn.ghost { background: var(--bg); color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--sunk); }
.btn.small { padding: 8px 14px; font-size: .85rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.75rem 0 0; }
.text-link { font-weight: 600; text-decoration: none; }

/* ---------- hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(1200px 500px at 80% -10%, var(--teal-soft), transparent 60%), radial-gradient(900px 500px at 0% 110%, var(--gold-soft), transparent 60%); }
.contours { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .35; }
@media (min-width: 900px) { .contours { opacity: .55; } }
.contours path { fill: none; stroke-width: 1.1; vector-effect: non-scaling-stroke; }
.contours .map-a path { stroke: var(--gold); }
.contours .map-b path { stroke: var(--teal); }
.hero-inner { position: relative; padding-top: 72px; padding-bottom: 72px; }
.hero h1 { font: 500 clamp(2.6rem, 8vw, 5.2rem)/1.0 var(--serif); letter-spacing: -.02em; margin: 0 0 1rem; }
.hero h1 em { color: var(--teal); }
.hero-sub { font: italic 400 clamp(1.15rem, 2.6vw, 1.5rem)/1.35 var(--serif); color: var(--ink-2); margin: 0 0 1.25rem; max-width: 34ch; }
.hero-dek { max-width: 56ch; font-size: 1.05rem; color: var(--ink-2); margin: 0; background: color-mix(in srgb, var(--bg) 70%, transparent); border-radius: 8px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; padding: 0; margin: 2.25rem 0 0; color: var(--muted); font-size: .92rem; }
.hero-stats strong { display: block; font: 500 2rem/1 var(--serif); color: var(--ink); }
@media (min-width: 720px) { .hero-inner { padding-top: 120px; padding-bottom: 110px; } }

/* ---------- home sections */
.principle, .example { padding: 72px 0; }
.principle h2, .example h2, .section-head h2, .page-head h1 { font: 500 clamp(1.9rem, 4.5vw, 2.8rem)/1.1 var(--serif); letter-spacing: -.01em; margin: 0 0 1rem; }
.principle p, .example p { font-size: 1.06rem; color: var(--ink-2); }
.big-quote { font: italic 400 clamp(1.4rem, 3.4vw, 2rem)/1.3 var(--serif) !important; color: var(--ink) !important; border-left: 3px solid var(--gold); padding-left: 20px; margin: 1.5rem 0; }
.home-passages { padding: 64px 0; background: var(--sunk); border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 2rem; }
.section-head p { color: var(--muted); }

.cards { list-style: none; padding: 0; margin: 0 0 64px; display: grid; gap: 16px; grid-template-columns: 1fr; }
.home-passages .cards { margin-bottom: 0; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 22px 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease, border-color .15s; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--gold) 40%, var(--line)); }
.card-num { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 8px; border-radius: 999px; background: var(--gold-soft); color: var(--gold); font: 600 .85rem/1 var(--sans); align-self: flex-start; }
.card-ref { font: 600 .74rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin: 6px 0 0; }
.card-title { font: 500 1.35rem/1.2 var(--serif); }
.card-tier { align-self: flex-start; font: 600 .7rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; }
.tier-strong { background: var(--teal-soft); color: var(--teal); }
.tier-moderate { background: var(--gold-soft); color: var(--gold); }
.home-additions { padding-top: 64px; }
.wrap > .section-head:not(:first-child) { margin-top: 56px; }
.card-verse { font: italic 400 1rem/1.45 var(--serif); color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.paths { padding: 64px 0 0; }
.path-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .path-grid { grid-template-columns: repeat(3, 1fr); } }
.path { display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); }
.path:hover { box-shadow: var(--shadow); }
.path strong { font: 500 1.4rem/1.2 var(--serif); color: var(--ink); }
.path .eyebrow { margin: 0; }

/* ---------- page heads */
.page-head { padding: 56px 0 32px; border-bottom: 1px solid var(--line); margin-bottom: 40px; background: linear-gradient(180deg, var(--gold-soft), transparent); }
.page-head .dek { font: 400 1.2rem/1.5 var(--serif); color: var(--ink-2); margin: 0; max-width: 60ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.5rem; }
.chips a { font-size: .85rem; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; }
.chips a:hover { border-color: var(--gold); }

/* ---------- passage */
.passage-hero { padding: 56px 0 48px; border-bottom: 1px solid var(--line); background: radial-gradient(700px 300px at 50% 0%, var(--gold-soft), transparent 70%); margin-bottom: 40px; }
.passage-hero h1 { font: 500 clamp(2rem, 5vw, 3.1rem)/1.1 var(--serif); letter-spacing: -.015em; margin: 0 0 2rem; }
.verse { margin: 0 0 1.25rem; padding: 0; }
.verse p { font: italic 400 clamp(1.35rem, 3.2vw, 1.85rem)/1.4 var(--serif); color: var(--ink); margin: 0 0 .6rem; text-wrap: pretty; }
.verse cite { font: 600 .8rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-style: normal; }
.verse cite span { color: var(--muted); font-weight: 500; }
.verse.small p { font-size: 1.1rem; color: var(--ink-2); }

.with-toc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.toc { display: none; }
@media (min-width: 1100px) {
  .with-toc { grid-template-columns: 220px minmax(0, 720px); justify-content: center; }
  .toc { display: block; position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; }
}
.toc-title { font: 600 .74rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: .86rem; line-height: 1.35; }
.toc a:hover { color: var(--ink); }
.toc a.active { color: var(--ink); border-left-color: var(--gold); }

.prose { font-family: var(--serif); font-size: 1.2rem; line-height: 1.7; color: var(--ink); }
.prose p { margin: 0 0 1.15em; text-wrap: pretty; }
.prose h2 { font: 500 1.9rem/1.2 var(--serif); margin: 2.4em 0 .6em; letter-spacing: -.01em; }
.prose h3 { font: 600 1.25rem/1.3 var(--serif); }
.prose em { font-style: italic; }
.prose .run-in { font-family: var(--sans); font-weight: 650; font-size: .82em; letter-spacing: .01em; color: var(--teal); }
.prose .lead-para { margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose a.xref { font-weight: 600; text-decoration: none; border-bottom: 1px dotted currentColor; }
.cite { color: inherit; text-decoration: none; background: linear-gradient(transparent 60%, var(--teal-soft) 60%); border-radius: 2px; cursor: help; }
.cite:hover, .cite[aria-expanded="true"] { background: var(--teal-soft); color: var(--ink); }

.group-q { margin: 2.4rem 0; padding: 22px 24px; border-radius: var(--radius); background: var(--gold-soft); border: 1px solid color-mix(in srgb, var(--gold) 25%, transparent); font-family: var(--serif); }
.group-q .eyebrow { margin-bottom: .5rem; }
.group-q p { font: 500 1.28rem/1.4 var(--serif); margin: 0 0 .5rem; color: var(--ink); }
.group-q p:last-child { margin-bottom: 0; }

blockquote.feature { margin: 1.8rem 0; padding: 20px 24px; border-left: 3px solid var(--teal); background: var(--teal-soft); border-radius: 0 var(--radius) var(--radius) 0; }
blockquote.feature p { margin: 0; font-size: 1.12rem; line-height: 1.6; }

.living { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.living h2 { margin-top: 0; }
.living-intro { font: 400 1rem/1.5 var(--sans); color: var(--muted); }
.practices { list-style: none; padding: 0 !important; margin: 1.5rem 0; display: grid; gap: 14px; counter-reset: none; }
.practice { margin: 0 !important; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.practice-head { display: flex; gap: 12px; align-items: baseline; margin-bottom: .5rem; }
.practice-num { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: var(--teal-soft); color: var(--teal); font: 600 .8rem/1 var(--sans); transform: translateY(-2px); }
.practice h3 { margin: 0; font: 600 1.18rem/1.3 var(--serif); }
.practice p { font-size: 1.04rem; line-height: 1.6; margin: 0 0 .9rem; color: var(--ink-2); }
.practices.compact .practice p { font-size: 1rem; }
.evidence { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; font: 400 .86rem/1.45 var(--sans); color: var(--muted); padding-top: .8rem; border-top: 1px dashed var(--line); }
.evidence-text em { font-style: italic; }
.badge { display: inline-block; font: 600 .7rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; white-space: nowrap; background: var(--sunk); color: var(--muted); vertical-align: middle; }
.evidence-strong .badge, .badge.evidence-strong { background: var(--teal-soft); color: var(--teal); }
.evidence-moderate .badge, .badge.evidence-moderate { background: var(--gold-soft); color: var(--gold); }
.evidence-early .badge, .badge.evidence-early { background: var(--plum-soft); color: var(--plum); }
.evidence-faith .badge, .badge.evidence-faith { background: var(--ink); color: var(--bg); }
.after-practices { font-size: 1.05rem; padding: 16px 20px; border-radius: var(--radius); background: var(--sunk); }
.after-practices p:last-child { margin: 0; }

.sources { margin: 3rem 0 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-family: var(--sans); }
.sources summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; cursor: pointer; font-weight: 600; font-size: .95rem; list-style: none; }
.sources summary::-webkit-details-marker { display: none; }
.sources summary::after { content: "+"; font-size: 1.3rem; color: var(--muted); margin-left: 12px; }
.sources[open] summary::after { content: "–"; }
.sources summary span:first-child { margin-right: auto; }
.count { font-size: .8rem; color: var(--muted); background: var(--sunk); border-radius: 999px; padding: 3px 9px; }
.sources ol { margin: 0; padding: 0 20px 18px 20px; list-style: none; font-size: .88rem; line-height: 1.5; color: var(--ink-2); }
.sources li { padding: 8px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.src-link { text-decoration: none; font-weight: 700; margin-right: 4px; }

.pager { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 48px auto 72px; }
@media (min-width: 640px) { .pager { grid-template-columns: 1fr 1fr; } }
.pager a { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; color: var(--ink); }
.pager a:hover { box-shadow: var(--shadow); }
.pager span { font: 600 .74rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.pager strong { font: 500 1.12rem/1.3 var(--serif); }
.pager .next { text-align: right; }

/* ---------- start/legend */
.legend { margin: 3rem 0 0; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.legend h2 { margin-top: 0 !important; }
.legend-list { list-style: none; padding: 0 !important; font: 400 1rem/1.5 var(--sans); }
.legend-list li { display: flex; gap: 12px; align-items: baseline; margin: .7rem 0; }
.legend-list .badge { min-width: 92px; text-align: center; }

/* ---------- rule of life */
.rule-group { margin-top: 3rem; }
.rule-group h2 { margin-top: 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.rule-group.thirty { padding: 8px 24px 24px; background: var(--gold-soft); border-radius: var(--radius); }
.rule-group.thirty h2 { border: 0; }

/* ---------- thirty days */
.plan fieldset { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 20px; margin: 0 0 16px; min-width: 0; }
.plan legend { display: flex; align-items: center; gap: 10px; font: 500 1.35rem/1.2 var(--serif); padding: 0 6px; }
.step { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: var(--ink); color: var(--bg); font: 600 .85rem/1 var(--sans); }
.choice { display: flex; gap: 12px; padding: 14px; border-radius: 10px; border: 1px solid var(--line); margin: 10px 0; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--teal); background: var(--teal-soft); }
.choice input { margin-top: 4px; accent-color: var(--teal); width: 18px; height: 18px; flex: none; }
.choice-body { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.choice-title { font-weight: 600; }
.choice-text { font: 400 1rem/1.5 var(--serif); color: var(--ink-2); }
.cue { display: flex; flex-direction: column; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--muted); margin-top: 12px; }
.cue input { font: 400 1rem var(--sans); color: var(--ink); padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); width: 100%; }
.two-col { display: grid; gap: 12px; }
@media (min-width: 600px) { .two-col { grid-template-columns: 1fr 1fr; } }
.grid-wrap { margin: 32px 0; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.grid-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.grid-head h2 { font: 500 1.6rem/1.2 var(--serif); margin: 0; }
.grid-actions { display: flex; gap: 8px; }
.grid { display: grid; gap: 14px; }
.grid-row h3 { display: flex; justify-content: space-between; gap: 10px; font: 600 .95rem/1.3 var(--sans); margin: 0 0 8px; }
.grid-row h3 .tally { color: var(--muted); font-weight: 500; white-space: nowrap; }
.grid-row .cue-line { font: italic 400 .95rem/1.4 var(--serif); color: var(--muted); margin: -4px 0 8px; }
.days { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; }
@media (min-width: 720px) { .days { grid-template-columns: repeat(15, 1fr); } }
.day { position: relative; aspect-ratio: 1; }
.day input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.day span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 8px; border: 1px solid var(--line); font: 500 .75rem/1 var(--sans); color: var(--muted); background: var(--bg); }
.day input:checked + span { background: var(--teal); border-color: var(--teal); color: var(--surface); }
.day input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.day.today span { border: 2px solid var(--gold); color: var(--ink); }
.day.milestone span { box-shadow: inset 0 -3px 0 var(--gold); }
.milestones { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .9rem; color: var(--ink-2); margin: 18px 0 0; }
.milestones strong { color: var(--gold); }

/* ---------- study guide */
.format { padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 32px; }
.format h2 { font: 500 1.5rem/1.2 var(--serif); margin: 0 0 .25rem; }
.steps { padding-left: 1.2em; margin: 1rem 0 0; }
.steps li { margin: .5rem 0; }
.sessions { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.session { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); break-inside: avoid; }
.session.closing { margin: 18px 0 64px; }
.session-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 1rem; }
.session-head .card-ref { margin: 4px 0 4px; }
.session-head h3 { font: 500 1.35rem/1.25 var(--serif); margin: 0; }
.session-head h3 a { color: var(--ink); text-decoration: none; }
.session-q { padding: 14px 16px; border-radius: 10px; background: var(--gold-soft); margin: 1rem 0; }
.session-q p { font: 500 1.12rem/1.45 var(--serif); margin: 0 0 .4rem; }
.session-q .eyebrow { font-size: .68rem; margin-bottom: .4rem; }
.session-p ol { margin: 0; padding-left: 1.3em; }
.session-p li { margin: .35rem 0; }
.session-p .badge { margin-left: 4px; font-size: .62rem; padding: 3px 7px; }

/* ---------- references */
.search input { width: 100%; margin-top: 1.5rem; font: 400 1rem var(--sans); color: var(--ink); padding: 13px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.letters { display: flex; flex-wrap: wrap; gap: 4px; margin: 1rem 0 0; }
.letters a { display: inline-grid; place-items: center; min-width: 30px; height: 30px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: .85rem; color: var(--ink-2); }
.letters a:hover { background: var(--surface); }
.ref-group h2 { font: 500 1.8rem/1 var(--serif); color: var(--gold); margin: 2rem 0 .5rem; }
.refs { list-style: none; padding: 0; margin: 0; }
.refs li { padding: 14px 0; border-top: 1px solid var(--line); font: 400 1rem/1.55 var(--serif); overflow-wrap: anywhere; scroll-margin-top: 90px; }
.refs li p { margin: 0; }
.refs li:target { background: var(--teal-soft); margin: 0 -12px; padding: 14px 12px; border-radius: 10px; }
.cited-in { font: 500 .8rem/1.4 var(--sans) !important; color: var(--muted); margin-top: 6px !important; }
.ref-group:last-child { margin-bottom: 72px; }

/* ---------- about */
.stats { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 12px 32px; font-family: var(--sans); font-size: .95rem; color: var(--muted); }
.stats strong { display: block; font: 500 2.2rem/1 var(--serif); color: var(--ink); }
.cite-box { font-family: var(--sans); font-size: .95rem; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.prose > :last-child { margin-bottom: 72px; }

/* ---------- popover */
.cite-pop { position: absolute; z-index: 80; max-width: min(420px, calc(100vw - 32px)); padding: 14px 16px; background: var(--surface); color: var(--ink-2); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); font: 400 .88rem/1.5 var(--sans); overflow-wrap: anywhere; }
.cite-pop .go { display: inline-block; margin-top: 8px; font-weight: 600; text-decoration: none; }

/* ---------- footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 56px; background: var(--sunk); font-size: .92rem; color: var(--ink-2); }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.3fr .8fr 1.3fr; } }
.footer-title { font: 600 .74rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.site-footer a { color: var(--ink-2); }

/* ---------- print */
@media print {
  .site-header, .site-footer, .progress, .toc, .pager, .theme-toggle, .no-print, .grid-actions, .cta-row, .sources summary::after { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .page-head, .passage-hero { background: none; padding: 0 0 12pt; margin: 0 0 12pt; }
  .session, .practice, .grid-wrap, .plan fieldset { box-shadow: none; border-color: #bbb; break-inside: avoid; }
  .is-tracker .plan .choice:not(:has(input:checked)) { display: none; }
  .day span { background: #fff !important; color: #000 !important; }
  a { color: #000; text-decoration: none; }
  .cite { background: none; }
}
.feature .cite { background: none; border-bottom: 1px solid var(--teal); }

/* ---------- daily strip */
.today { background: #15302e; color: #efe8da; border-bottom: 1px solid #c79a4f; }
.today-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px 22px; min-height: 76px; padding-top: 12px; padding-bottom: 12px; }
.today-label { margin: 0; display: flex; align-items: center; gap: 8px; font: 600 .7rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #e7c27f; white-space: nowrap; }
.today-date { color: #a9bcb7; font-weight: 500; letter-spacing: .06em; }
.today-dot { width: 7px; height: 7px; border-radius: 50%; background: #e7c27f; box-shadow: 0 0 0 0 rgb(231 194 127 / .6); }
@media (prefers-reduced-motion: no-preference) { .today:not(.is-paused) .today-dot { animation: pulse 2.4s infinite; } .today-item { animation: arrive .45s ease-out; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(231 194 127 / .55); } 70% { box-shadow: 0 0 0 7px rgb(231 194 127 / 0); } 100% { box-shadow: 0 0 0 0 rgb(231 194 127 / 0); } }
@keyframes arrive { from { opacity: .35; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.today-slide { min-width: 0; }
.today-item { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: baseline; }
.today-kind { grid-row: 1 / span 3; align-self: start; margin-top: 3px; font: 600 .66rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; border: 1px solid #4d6b66; color: #cfe3de; white-space: nowrap; }
.today-item[data-kind="Practice"] .today-kind { border-color: #6fb3a9; color: #bfe9e1; }
.today-item[data-kind="Question"] .today-kind { border-color: #c79a4f; color: #f0d29b; }
.today-item[data-kind="In the world"] .today-kind { border-color: #a99bd0; color: #ddd4f4; }
.today-head { margin: 0; font: 500 1.08rem/1.35 var(--serif); }
.today-head a { color: #fbf6ec; text-decoration: none; }
.today-head a:hover { text-decoration: underline; text-decoration-color: #c79a4f; }
.today-item[data-kind="Verse"] .today-head { font-style: italic; }
.today-body { margin: 2px 0 0; font-size: .86rem; line-height: 1.45; color: #c4d3cf; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.today-meta { margin: 3px 0 0; font-size: .74rem; color: #93aaa4; }
.today-meta a { color: #e7c27f; }
.today-controls { display: flex; align-items: center; gap: 2px; }
.today-controls button { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; border: 0; background: transparent; color: #d7e4e0; cursor: pointer; }
.today-controls button:hover { background: rgb(255 255 255 / .08); }
.today-controls svg { width: 16px; height: 16px; }
.today-controls .i-play, .today.is-paused .i-pause { display: none; }
.today.is-paused .i-play { display: block; }
.today-count { font-size: .72rem; color: #a9bcb7; min-width: 34px; text-align: center; }
.today :is(a, button):focus-visible { outline: 2px solid #e7c27f; outline-offset: 3px; }
@media (max-width: 720px) {
  .today-inner { grid-template-columns: minmax(0, 1fr) auto; min-height: 132px; }
  .today-slide { grid-column: 1 / -1; grid-row: 2; }
  .today-item { grid-template-columns: minmax(0, 1fr); }
  .today-kind { grid-row: auto; justify-self: start; margin: 0 0 6px; }
  .today-date { display: none; }
}

/* ---------- ask */
.nav-ask, .site-nav a[href="/ask/"] { color: var(--teal) !important; }
.ask-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin: 2rem 0 0; padding: 20px 22px; border-radius: var(--radius); background: var(--teal-soft); border: 1px solid color-mix(in srgb, var(--teal) 25%, transparent); font-family: var(--sans); }
.ask-cta .eyebrow { margin-bottom: .3rem; color: var(--teal); }
.ask-cta-text { margin: 0 !important; font: 500 1.08rem/1.4 var(--serif); }
.chat-wrap { max-width: 1040px; }
/* A real chat window: the conversation scrolls inside it and the box to type in stays at the bottom. */
.chat { display: flex; flex-direction: column; height: min(82vh, 920px); min-height: 560px; border: 1px solid var(--line); border-radius: 22px; background: color-mix(in srgb, var(--surface) 55%, var(--bg)); box-shadow: var(--shadow); overflow: hidden; }
.chat-log { flex: 1; display: flex; flex-direction: column; gap: 18px; overflow-y: auto; padding: 28px 28px 12px; overscroll-behavior: contain; }
.msg { max-width: 82%; padding: 16px 20px; border-radius: 18px; font: 400 1.14rem/1.65 var(--serif); overflow-wrap: anywhere; }
.msg p { margin: 0 0 .7em; }
.msg p:last-child { margin-bottom: 0; }
.msg ul, .msg ol { margin: 0 0 .7em; padding-left: 1.2em; }
.msg-assistant { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-top-left-radius: 4px; }
.msg-user { align-self: flex-end; background: var(--ink); color: var(--bg); border-top-right-radius: 4px; font: 400 1.04rem/1.55 var(--sans); }
.msg-note { align-self: stretch; max-width: none; background: var(--gold-soft); font: 400 .98rem/1.5 var(--sans); }
.msg-today { font: 400 .98rem/1.5 var(--sans); color: var(--muted); }
.typing { display: inline-flex; gap: 5px; padding: 4px 0; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); opacity: .4; }
.chat-form.is-busy .btn { opacity: .5; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { .typing span { animation: blink 1.2s infinite; } .typing span:nth-child(2) { animation-delay: .2s; } .typing span:nth-child(3) { animation-delay: .4s; } }
@keyframes blink { 50% { opacity: 1; } }
.starters { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 28px 12px; }
.starters:empty { display: none; }
.starter { font: 500 .92rem/1.3 var(--sans); padding: 10px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; text-align: left; }
.starter:hover { border-color: var(--teal); color: var(--ink); }
.chat-form { display: flex; gap: 12px; align-items: flex-end; margin: 0 16px 16px; padding: 12px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.chat-form:focus-within { border-color: var(--teal); }
.chat-form textarea { flex: 1; min-width: 0; resize: none; border: 0; outline: none; background: transparent; color: var(--ink); font: 400 1.1rem/1.5 var(--sans); padding: 8px 10px; min-height: 84px; max-height: 240px; }
.chat-form .btn { padding: 12px 22px; font-size: 1rem; }
.chat-note { margin: 14px 4px 72px; }
@media (max-width: 720px) {
  .chat { height: calc(100svh - 150px); min-height: 460px; border-radius: 16px; }
  .chat-log { padding: 18px 14px 8px; }
  .msg { max-width: 94%; font-size: 1.06rem; }
  .starters { padding: 4px 14px 10px; }
  .chat-form { margin: 0 8px 8px; }
  .chat-form textarea { min-height: 64px; font-size: 1rem; }
}
.linklike { background: none; border: 0; padding: 0; color: var(--teal); text-decoration: underline; cursor: pointer; font: inherit; }
@media print { .today, .ask-cta { display: none !important; } }

/* The paper's table of contents */
.paper-toc { list-style: none; padding: 0 !important; margin: 1rem 0 0; border-top: 1px solid var(--line); }
.paper-toc li { margin: 0; border-bottom: 1px solid var(--line); }
.paper-toc a { display: grid; grid-template-columns: 11.5rem 1fr; gap: 2px 20px; padding: 14px 4px; text-decoration: none; color: var(--ink); }
.paper-toc a:hover .pt-title { color: var(--teal); }
.pt-label { grid-row: span 2; font: 600 .74rem/1.5 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); padding-top: .25em; }
.pt-title { font: 500 1.12rem/1.35 var(--serif); }
.pt-note { font: 400 .9rem/1.4 var(--sans); color: var(--muted); }
@media (max-width: 600px) { .paper-toc a { grid-template-columns: 1fr; } .pt-label { grid-row: auto; } }

/* about the author */
.author-photo { display: block; width: 168px; height: 168px; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--line), 0 8px 24px rgba(0, 0, 0, .12); }
.about-head { display: grid; gap: 24px; align-items: center; }
@media (min-width: 640px) { .about-head { grid-template-columns: auto 1fr; gap: 36px; } }
.about-close { font-style: italic; }
.author { padding: 64px 0; background: var(--sunk); border-top: 1px solid var(--line); }
.author-card { display: grid; gap: 24px; align-items: start; }
.author-card p:not(.eyebrow) { font-size: 1.06rem; color: var(--ink-2); }
.author-card .author-photo { width: 120px; height: 120px; }
@media (min-width: 640px) { .author-card { grid-template-columns: auto 1fr; gap: 32px; } }

/* the book */
.book-hero { display: grid; gap: 28px; align-items: center; }
@media (min-width: 760px) { .book-hero { grid-template-columns: minmax(220px, 300px) 1fr; gap: 48px; } }
.book-cover { margin: 0; max-width: 280px; }
.book-cover img, .home-book-cover img, .book-editions img { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: 0 1px 2px rgba(0, 0, 0, .2), 0 14px 36px rgba(0, 0, 0, .22); }
.book-sub { font-family: var(--serif); font-style: italic; }
.book-by { font-weight: 600; color: var(--ink-2); margin: .25rem 0 0; }
.book-lede { font-size: 1.06rem; color: var(--ink-2); max-width: 56ch; }
.book-formats { margin-top: .9rem; }
.btn.is-soon { cursor: default; color: var(--muted); border-style: dashed; }
.btn.is-soon:hover { background: var(--bg); }
.book-parts li { margin-bottom: .5rem; }
.book-weeks { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 10px; }
.book-weeks li { display: grid; grid-template-columns: 1fr; gap: 2px 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
@media (min-width: 640px) { .book-weeks li { grid-template-columns: 84px 1fr auto; } .book-weeks .week-links { grid-column: 2 / -1; } }
.week-num { font: 600 .74rem/1.6 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.week-title { font: 500 1.2rem/1.3 var(--serif); color: var(--ink); }
.week-ref { font-size: .9rem; color: var(--muted); }
.week-links { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .9rem; }
.book-editions { display: grid; gap: 28px; align-items: end; margin: 1.25rem 0 0; }
@media (min-width: 640px) { .book-editions { grid-template-columns: 1fr 2.4fr; } }
.book-editions figure { margin: 0; }
.book-editions figcaption { font-size: .9rem; color: var(--muted); margin-top: .75rem; }
.book-editions figcaption strong { color: var(--ink); }
.home-book { padding: 64px 0; border-bottom: 1px solid var(--line); background: var(--sunk); }
.home-book-inner { display: grid; gap: 28px; align-items: center; }
@media (min-width: 720px) { .home-book-inner { grid-template-columns: 220px 1fr; gap: 48px; } }
.home-book-cover { display: block; max-width: 220px; }
.home-book h2 { font: 500 clamp(1.7rem, 4vw, 2.4rem)/1.15 var(--serif); letter-spacing: -.01em; margin: 0 0 1rem; }
.home-book p:not(.eyebrow) { font-size: 1.06rem; color: var(--ink-2); max-width: 60ch; }
.book-editions + .cta-row { margin-top: 2.25rem; }

/* map of connections */
.map-wrap { margin-bottom: 64px; }
.map-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 20px; }
.map-controls-label, .map-select span { font: 600 .74rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font: 500 .85rem/1 var(--sans); cursor: pointer; }
.chip b { color: var(--gold); }
.chip:hover { background: var(--sunk); }
.chip[aria-pressed="true"] { background: var(--gold-soft); border-color: var(--gold); color: var(--ink); }
.map-select { display: inline-flex; align-items: center; gap: 8px; }
.map-select select { padding: 7px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 500 .85rem/1 var(--sans); }
.map-stage { display: grid; gap: 24px; align-items: start; scroll-margin-top: 80px; }
@media (min-width: 900px) { .map-stage { grid-template-columns: minmax(0, 1.25fr) minmax(300px, 1fr); gap: 32px; } .map-panel { position: sticky; top: 80px; } }
.map-figure { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; }
.map-wheel { display: block; width: 100%; height: auto; font-family: var(--sans); }
.map-wheel .chord { fill: none; stroke: var(--teal); stroke-width: 1.2; opacity: .18; transition: opacity .2s, stroke-width .2s; pointer-events: none; }
.map-wheel .arc { fill: var(--sunk); stroke: var(--line); stroke-width: 1; transition: fill .2s, stroke .2s; }
.map-wheel .week { cursor: pointer; outline: none; }
.map-wheel .week:hover .arc, .map-wheel .week:focus-visible .arc { fill: var(--gold-soft); stroke: var(--gold); }
.map-wheel .week-label { font-size: 13px; fill: var(--ink-2); pointer-events: none; }
.map-wheel .week-label .wk { font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; fill: var(--gold); }
.map-wheel .node { cursor: pointer; outline: none; }
.map-wheel .node .hit { fill: transparent; stroke: none; }
.map-wheel .node circle:not(.hit) { fill: var(--surface); stroke: var(--teal); stroke-width: 1.5; transition: fill .2s, stroke .2s, r .2s; }
.map-wheel .node text { font-size: 10px; font-weight: 600; fill: var(--ink); pointer-events: none; }
.map-wheel .node:hover circle:not(.hit), .map-wheel .node:focus-visible circle:not(.hit) { fill: var(--teal-soft); stroke-width: 2.5; }
.map-wheel .map-center { font-family: var(--serif); font-size: 22px; fill: var(--ink); }
.map-wheel .map-center.small { font-family: var(--sans); font-size: 12px; fill: var(--muted); }
.map-wheel.has-focus .chord { opacity: .06; }
.map-wheel.has-focus .chord.is-on { opacity: .85; stroke-width: 2.2; stroke: var(--gold); }
.map-wheel.has-focus .arc { fill: var(--sunk); }
.map-wheel.has-focus .week.is-on .arc { fill: var(--teal-soft); stroke: var(--teal); }
.map-wheel.has-focus .week.is-current .arc { fill: var(--gold-soft); stroke: var(--gold); stroke-width: 2; }
.map-wheel.has-focus .week:not(.is-on) .week-label { opacity: .4; }
.map-wheel.has-focus .node:not(.is-on) { opacity: .3; }
.map-wheel.has-focus .node.is-on circle:not(.hit) { fill: var(--teal-soft); stroke-width: 2.5; }
.map-wheel.has-focus .node.is-current circle:not(.hit) { fill: var(--gold); stroke: var(--gold); }
.map-wheel.has-focus .node.is-current text { fill: var(--bg); }
.map-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.map-panel h2 { font: 500 1.5rem/1.2 var(--serif); margin: 0 0 .75rem; }
.map-panel p, .map-panel li { font-size: .95rem; color: var(--ink-2); }
.map-panel .map-ref { color: var(--muted); }
.map-plist { padding-left: 1.1rem; margin: .25rem 0 1rem; }
.map-plist li { margin-bottom: .4rem; }
.map-details { border-top: 1px solid var(--line); padding: 8px 0; }
.map-details summary { cursor: pointer; font-weight: 600; color: var(--ink); font-size: .95rem; }
.map-details ul { padding-left: 1.1rem; margin: .5rem 0; }
.map-details li { margin-bottom: .6rem; }
.map-how { color: var(--ink-2); font-size: .9rem; }
.map-panel .cta-row { margin-top: 1rem; }
.map-list { margin-top: 48px; }
.map-rows { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 12px; }
.map-rows > li { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.map-row { display: flex; gap: 12px; align-items: baseline; text-decoration: none; color: var(--ink); }
.map-row .week-num { font: 600 .74rem/1.6 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.map-row .week-title { font: 500 1.15rem/1.3 var(--serif); }
.map-row-passages { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; gap: 4px; font-size: .92rem; }
.map-row-passages abbr { text-decoration: none; color: var(--gold); font-weight: 600; }
.map-systems { width: 100%; border-collapse: collapse; font-size: .92rem; }
.map-systems th, .map-systems td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.map-systems th { font: 600 .74rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 1100px) { .path-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 860px) and (max-width: 1099px) { .path-grid { grid-template-columns: repeat(2, 1fr); } }
.map-wheel .map-hub { fill: var(--surface); opacity: .92; }
@media (max-width: 640px) {
  .map-wheel .week-label tspan:not(.wk) { display: none; }
  .map-wheel .week-label .wk { font-size: 17px; }
  .map-wheel .node circle:not(.hit) { r: 16; }
  .map-wheel .node text { font-size: 14px; }
  .map-wheel .map-center { font-size: 30px; }
  .map-wheel .map-center.small { font-size: 17px; }
}
.site-nav a.is-featured, .menu nav a.is-featured { background: var(--teal); color: var(--bg); font-weight: 600; }
.site-nav a.is-featured:hover, .menu nav a.is-featured:hover { background: var(--ink); }
.site-nav a.is-featured[aria-current="page"] { background: var(--ink); color: var(--bg); }
.site-nav a.is-featured::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 50%; border: 2px solid currentColor; vertical-align: -1px; box-sizing: border-box; }
.map-search { margin-left: auto; flex: 1 1 260px; max-width: 360px; }
.map-search input { width: 100%; box-sizing: border-box; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 500 .9rem/1.2 var(--sans); }
.map-search input:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px var(--teal-soft); }
.map-panel mark { background: var(--gold-soft); color: inherit; padding: 0 2px; border-radius: 3px; }
.map-panel .map-how i { color: var(--muted); font-style: normal; }
@media (max-width: 640px) { .map-search { flex-basis: 100%; max-width: none; margin-left: 0; } }

/* home hero: the map button echoes the featured Map link in the menu */
.btn.ghost.is-map { color: var(--teal); border-color: var(--teal); }
.btn.ghost.is-map:hover { background: var(--teal); color: var(--bg); }
