/* fable-verso: a magazine spread. A deep plum band carries the hero and every other section, the name is set in Fraunces at poster scale over the portrait, spreads alternate left and right. Scene: a conference host at a bright desk at midday deciding whether to invite him. Colour strategy: committed (plum carries roughly 40% of the surface). */
.theme-fable-verso {
  --paper: #fbf8fc;
  --ink: #1f1226;
  --accent: #5a2a72;
  --muted: #5b4d63;
  --line: #e3d9e8;
  --display: 'Fraunces', Georgia, serif;
  --body: 'DM Sans', Arial, sans-serif;
  --radius: 0;
  --verso-band: #3b1f47;
  --verso-band-ink: #ffffff;
  --verso-band-muted: #e9d7f0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.7 var(--body);
}
.theme-fable-verso *, .theme-fable-verso *::before, .theme-fable-verso *::after { box-sizing: border-box; }
.theme-fable-verso :where(h1,h2,h3,p,a,small,strong,span) { overflow-wrap: anywhere; }
.theme-fable-verso :where(img,iframe,input,textarea,select) { max-width: 100%; }
.theme-fable-verso :where(a,button,input,select,textarea):focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.theme-fable-verso :where(.prose,.section-description) { max-width: 64ch; line-height: 1.8; text-wrap: pretty; }
.theme-fable-verso .small-note { color: var(--muted); font-size: 13px; }
.theme-fable-verso .eyebrow { font: 500 13px/1.4 var(--body); letter-spacing: 0; text-transform: none; color: var(--muted); }
.theme-fable-verso .eyebrow:empty, .theme-fable-verso .prose:empty, .theme-fable-verso .timeline:empty { display: none; }
.theme-fable-verso .section-heading > .eyebrow, .theme-fable-verso .invitation-ribbon .eyebrow, .theme-fable-verso .contact-person > .eyebrow, .theme-fable-verso .pathway-number, .theme-fable-verso .topic-number, .theme-fable-verso .contact-option > span, .theme-fable-verso .channel-mark, .theme-fable-verso .podcast-icon, .theme-fable-verso .hero-copy > .eyebrow { display: none; }
.theme-fable-verso :where(h1,h2,h3) { text-wrap: balance; }

/* masthead */
.theme-fable-verso.site .site-header { max-width: none; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 18px clamp(20px, 5vw, 64px); margin: 0; border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 5; }
.theme-fable-verso.site .wordmark { grid-column: 2; justify-self: center; display: inline-flex; align-items: baseline; gap: 10px; color: var(--ink); font: 500 22px/1 var(--display); letter-spacing: -.01em; text-decoration: none; }
.theme-fable-verso .brand-symbol { font: 500 12px/1 var(--body); letter-spacing: .12em; color: var(--accent); }
.theme-fable-verso .site-nav { grid-column: 1; grid-row: 1; display: flex; flex-wrap: wrap; gap: 4px 18px; font: 500 13px/1 var(--body); }
.theme-fable-verso .site-nav a { display: inline-flex; align-items: center; min-height: 40px; color: var(--muted); text-decoration: none; border: 0; padding: 0; transition: color .2s; }
.theme-fable-verso .site-nav a:hover { color: var(--accent); }
.theme-fable-verso .site-nav a.current { color: var(--ink); padding-bottom: 0; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.theme-fable-verso .verso-issue { grid-column: 3; justify-self: end; font: 500 12px/1.3 var(--body); color: var(--muted); text-align: right; }

/* the page */
.theme-fable-verso.site > .site-main { max-width: none; padding: 0; }
.theme-fable-verso.site .site-main > .block { padding: clamp(56px, 7vw, 104px) clamp(20px, 5vw, 64px); margin: 0; }
.theme-fable-verso.site .site-main > .block > * { max-width: 1240px; margin-left: auto; margin-right: auto; }
.theme-fable-verso.site .site-main > .block:nth-child(even):not(.block-hero) { background: var(--verso-band); color: var(--verso-band-ink); }
.theme-fable-verso.site .site-main > .block:nth-child(even):not(.block-hero) :where(h2,h3,strong) { color: var(--verso-band-ink); }
.theme-fable-verso.site .site-main > .block:nth-child(even):not(.block-hero) :where(p,.eyebrow,.section-description,.prose,figcaption,small) { color: var(--verso-band-muted); }
.theme-fable-verso.site .site-main > .block:nth-child(even):not(.block-hero) .button { background: #fff; color: var(--verso-band); --paper: #3b1f47; }
.theme-fable-verso.site .site-main > .block:nth-child(even):not(.block-hero) .button:hover { background: var(--verso-band-muted); }
.theme-fable-verso.site .site-main > .block:nth-child(even):not(.block-hero) :where(.text-link,.quiet-link,a:not(.button):not(.video-link):not(.pathway)) { color: #fff; }
.theme-fable-verso.site .site-main > .block:nth-child(even):not(.block-hero) :where(.sermon-card,.channel-card,.book-card,.ministry-grid article,.podcast-list article,.article-card) { border-color: #5e3f6c; }
.theme-fable-verso.site h1 { font: 400 clamp(56px, 9vw, 132px)/.92 var(--display); font-variation-settings: 'opsz' 144; letter-spacing: -.03em; margin: 0; }
.theme-fable-verso.site h2 { font: 400 clamp(34px, 4vw, 56px)/1.05 var(--display); letter-spacing: -.02em; margin: 0 0 22px; }
.theme-fable-verso.site h3 { font: 500 clamp(20px, 1.9vw, 26px)/1.25 var(--display); letter-spacing: -.01em; margin: 0 0 8px; }
.theme-fable-verso .section-heading { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 48px; align-items: start; margin-bottom: 36px; padding-bottom: 20px; border-bottom: 1px solid currentColor; }
.theme-fable-verso .section-heading h2 { margin: 0; }
.theme-fable-verso .section-heading .section-description, .theme-fable-verso .section-heading .prose { margin: 6px 0 0; font-size: 16px; }
.theme-fable-verso .section-end-link { display: inline-block; margin-top: 26px; font: 500 15px var(--body); color: var(--accent); }

/* buttons */
.theme-fable-verso .button, .theme-fable-verso .video-link { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 22px; background: var(--accent); color: #fff; font: 500 14px/1 var(--body); text-decoration: none; border: 0; border-radius: 999px; cursor: pointer; transition: background .25s cubic-bezier(.22,1,.36,1), transform .25s cubic-bezier(.22,1,.36,1); }
.theme-fable-verso .button:hover, .theme-fable-verso .video-link:hover { background: var(--verso-band); transform: translateY(-1px); }
.theme-fable-verso .quiet-link, .theme-fable-verso .text-link, .theme-fable-verso .prose a { color: var(--accent); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }

/* hero: poster */
.theme-fable-verso.site .block-hero { padding: 0 clamp(20px, 5vw, 64px) 0; background: var(--verso-band); color: #fff; overflow: hidden; }
.theme-fable-verso .hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(24px, 4vw, 64px); align-items: end; min-height: min(84vh, 760px); padding-top: clamp(40px, 6vw, 96px); }
.theme-fable-verso .hero-copy { padding-bottom: clamp(40px, 6vw, 96px); z-index: 1; }
.theme-fable-verso .hero-copy h1 { color: #fff; margin: 0 0 22px; }
.theme-fable-verso.site .hero-kicker { font: 400 clamp(20px, 2.1vw, 28px)/1.35 var(--display); font-style: italic; color: var(--verso-band-muted); max-width: 28ch; margin: 0 0 18px; }
.theme-fable-verso.site .hero-copy > .prose { color: var(--verso-band-muted); max-width: 52ch; font-size: 16px; }
.theme-fable-verso .hero-actions { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 28px; }
.theme-fable-verso .hero-actions .button { background: #fff; color: var(--verso-band); --paper: #3b1f47; }
.theme-fable-verso .hero-actions .button:hover { background: var(--verso-band-muted); }
.theme-fable-verso .hero-actions .quiet-link { color: #fff; }
.theme-fable-verso .hero-art { position: relative; align-self: stretch; margin: 0; }
.theme-fable-verso.site .hero-image { display: block; width: 100%; height: 100%; min-height: 420px; max-height: 760px; object-fit: cover; object-position: center 12%; border-radius: 0; }
.theme-fable-verso .art-caption { position: absolute; left: 0; bottom: 0; margin: 0; padding: 8px 12px; background: var(--paper); color: var(--ink); font: 500 12px/1.3 var(--body); }
.theme-fable-verso .art-caption:empty { display: none; }
.theme-fable-verso .hero-meta { display: flex; flex-wrap: wrap; gap: 8px 36px; margin: 0; padding: 18px 0; border-top: 1px solid #5e3f6c; color: var(--verso-band-muted); font: 500 13px/1.4 var(--body); }

/* sermons: spreads */
.theme-fable-verso .message-search { display: grid; gap: 6px; max-width: 420px; margin: -10px 0 28px; font: 500 13px var(--body); }
.theme-fable-verso .message-search input { min-height: 44px; padding: 8px 14px; border: 1px solid currentColor; background: transparent; color: inherit; font: 400 15px var(--body); border-radius: 0; }
.theme-fable-verso .sermon-list { display: grid; gap: 0; }
.theme-fable-verso .sermon-card { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px clamp(24px, 4vw, 64px); align-items: center; padding: 28px 0; border-top: 1px solid var(--line); background: transparent; border-radius: 0; }
.theme-fable-verso .sermon-card:nth-child(even) .sermon-visual { order: 2; }
.theme-fable-verso .sermon-visual { position: relative; margin: 0; }
.theme-fable-verso .sermon-thumb { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.theme-fable-verso .sermon-visual .video-link { position: absolute; left: 14px; bottom: 14px; }
.theme-fable-verso .sermon-content .eyebrow { margin: 0 0 6px; }
.theme-fable-verso .sermon-content p { margin: 0 0 8px; font-size: 16px; }
.theme-fable-verso .sermon-content h3 { font-size: clamp(24px, 2.6vw, 36px); }
.theme-fable-verso .block-sermons.variant-featured .sermon-card:first-child { border-top: 0; }

/* other spreads */
.theme-fable-verso .podcast-list { display: grid; gap: 0; }
.theme-fable-verso .podcast-list article { display: grid; grid-template-columns: minmax(0, 1fr); padding: 22px 0; border-top: 1px solid var(--line); }
.theme-fable-verso .podcast-list article > div p { margin: 0 0 8px; }
.theme-fable-verso .ministry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px 40px; }
.theme-fable-verso .ministry-grid article p { margin: 0 0 10px; font-size: 16px; }
.theme-fable-verso .book-grid, .theme-fable-verso .resource-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 36px 40px; }
.theme-fable-verso .book-card { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; align-items: start; }
.theme-fable-verso .book-cover { width: 120px; aspect-ratio: 2 / 3; object-fit: cover; box-shadow: 0 18px 30px -18px rgba(31, 18, 38, .6); }
.theme-fable-verso .book-cover.placeholder { display: grid; place-items: center; padding: 10px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); font: 500 13px/1.3 var(--display); text-align: center; }
.theme-fable-verso .book-card p { margin: 0 0 8px; font-size: 15px; }
.theme-fable-verso .channel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 40px; }
.theme-fable-verso .channel-card { display: grid; gap: 6px; padding: 22px 0; border: 0; border-top: 1px solid var(--line); background: transparent; border-radius: 0; }
.theme-fable-verso .channel-card > p:not(.eyebrow) { margin: 0; font-size: 15px; }
.theme-fable-verso .channel-card .button { justify-self: start; margin-top: 10px; min-height: 40px; padding: 8px 16px; font-size: 13px; }
.theme-fable-verso .pathway-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 40px; }
.theme-fable-verso .pathway { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 22px 0; border-top: 1px solid currentColor; color: inherit; text-decoration: none; transition: padding-left .3s cubic-bezier(.22,1,.36,1); }
.theme-fable-verso .pathway:hover { padding-left: 8px; }
.theme-fable-verso .pathway h3 { margin: 0; }
.theme-fable-verso .pathway p { grid-column: 1 / -1; margin: 0; font-size: 15px; }
.theme-fable-verso .pathway-arrow { font-size: 22px; }
.theme-fable-verso .ministry-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.theme-fable-verso .ministry-gallery figure { margin: 0; }
.theme-fable-verso .ministry-gallery .gallery-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.theme-fable-verso .ministry-gallery img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.theme-fable-verso .ministry-gallery figcaption { margin-top: 10px; font-size: 14px; }
.theme-fable-verso .ministry-gallery figcaption small { display: block; font-size: 12px; }
.theme-fable-verso .about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 48px; }
.theme-fable-verso .about-grid .section-heading { grid-template-columns: minmax(0, 1fr); border: 0; padding: 0; }
.theme-fable-verso .about-grid .bio-photo { width: 100%; margin-bottom: 16px; }
.theme-fable-verso .about-grid .prose { font-size: 18px; }
.theme-fable-verso .invitation-ribbon { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 48px; align-items: center; }
.theme-fable-verso .invitation-ribbon h2 { margin: 0 0 10px; }
.theme-fable-verso .invitation-ribbon p { margin: 0; }
.theme-fable-verso .ribbon-actions { display: grid; gap: 10px; justify-items: start; }
.theme-fable-verso .ribbon-actions small { font-size: 12px; }
.theme-fable-verso .contact-desk, .theme-fable-verso .request-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 48px; }
.theme-fable-verso .contact-option { padding: 22px 0; border-top: 1px solid var(--line); }
.theme-fable-verso .request-note, .theme-fable-verso .engagement-form { padding: 24px; border: 1px solid var(--line); }
.theme-fable-verso .request-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.theme-fable-verso .request-fields label { display: grid; gap: 6px; font: 500 13px var(--body); color: var(--muted); }
.theme-fable-verso .request-fields .span-two { grid-column: 1 / -1; }
.theme-fable-verso .request-fields :where(input,select,textarea) { min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 400 15px var(--body); border-radius: 0; }
.theme-fable-verso .form-chapter { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 10px; }
.theme-fable-verso .form-chapter span { font: 500 12px var(--body); color: var(--accent); }
.theme-fable-verso .article-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 40px; }
.theme-fable-verso .article-card { padding: 22px 0; border-top: 1px solid var(--line); }
.theme-fable-verso .engagement-list article, .theme-fable-verso .topic-list article { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.theme-fable-verso .date-tile { display: grid; place-content: center; min-width: 84px; padding: 10px; background: var(--accent); color: #fff; font: 500 14px/1.3 var(--display); text-align: center; }
.theme-fable-verso .page-intro { max-width: 1240px; margin: 0 auto; padding: clamp(48px, 6vw, 88px) clamp(20px, 5vw, 64px) 8px; border: 0; }
.theme-fable-verso .page-intro h1 { font-size: clamp(44px, 6vw, 88px); }
.theme-fable-verso .page-intro .eyebrow { color: var(--accent); }

/* colophon */
.theme-fable-verso.site .site-footer { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 40px; align-items: start; padding: 40px clamp(20px, 5vw, 64px) 48px; margin: 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.theme-fable-verso.site .site-footer strong { font: 400 26px var(--display); color: var(--ink); }
.theme-fable-verso.site .site-footer p { margin: 4px 0 0; }
.theme-fable-verso.site .site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.theme-fable-verso.site .site-footer nav a { color: var(--ink); font: 500 14px var(--body); text-decoration: none; }
.theme-fable-verso.site .site-footer nav a:hover { color: var(--accent); }
.theme-fable-verso.site .site-footer small { grid-column: 1 / -1; font-size: 12px; }

@media (max-width: 900px) {
  .theme-fable-verso.site .site-header { grid-template-columns: 1fr auto; padding: 12px 16px; }
  .theme-fable-verso.site .wordmark { grid-column: 1; grid-row: 1; justify-self: start; font-size: 19px; }
  .theme-fable-verso .verso-issue { grid-column: 2; grid-row: 1; }
  .theme-fable-verso .site-nav { grid-column: 1 / -1; grid-row: 2; flex-wrap: nowrap; overflow-x: auto; gap: 16px; padding-bottom: 2px; scrollbar-width: none; }
  .theme-fable-verso .site-nav::-webkit-scrollbar { display: none; }
  .theme-fable-verso .site-nav a { flex: 0 0 auto; min-height: 36px; }
  .theme-fable-verso .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 0; }
  .theme-fable-verso .hero-art { order: -1; margin: 0 -16px; }
  .theme-fable-verso.site .hero-image { min-height: 0; height: auto; max-height: 62vh; aspect-ratio: 4 / 5; }
  .theme-fable-verso .hero-copy { padding: 28px 0 32px; }
  .theme-fable-verso.site h1 { font-size: clamp(48px, 13vw, 72px); }
  .theme-fable-verso .section-heading, .theme-fable-verso .about-grid, .theme-fable-verso .invitation-ribbon, .theme-fable-verso .contact-desk, .theme-fable-verso .request-layout { grid-template-columns: minmax(0, 1fr); }
  .theme-fable-verso .sermon-card { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .theme-fable-verso .sermon-card:nth-child(even) .sermon-visual { order: 0; }
}
@media (max-width: 560px) {
  .theme-fable-verso .book-card { grid-template-columns: 88px minmax(0, 1fr); }
  .theme-fable-verso .book-cover { width: 88px; }
  .theme-fable-verso .request-fields { grid-template-columns: minmax(0, 1fr); }
  .theme-fable-verso .request-fields .span-two { grid-column: auto; }
  .theme-fable-verso .hero-meta { gap: 8px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .theme-fable-verso * { transition-duration: 0s !important; }
}
.theme-fable-verso .book-cover.placeholder, .theme-fable-verso .book-cover { border-left: 0; box-shadow: none; }
