/* Jesus First: the selected editorial direction. Theme experiments stay opt-in. */
:root {
  --paper: #faf7f0;
  --paper-2: #f0ece2;
  --card: #fffcf6;
  --ink: #202a3a;
  --ink-soft: #535a61;
  --ink-faint: #666b70;
  --gold: #87652f;
  --gold-soft: #dec69b;
  --night: #202c3c;
  --line: #ded8cb;
  --radius: 6px;
  --radius-lg: 8px;
  --wrap: 1160px;
  --wrap-narrow: 710px;
}
[hidden] { display: none !important; }
html { scroll-padding-top: 104px; }
body { line-height: 1.7; }
.wrap, .wrap-narrow { width: min(var(--wrap), 100% - 80px); }
.wrap-narrow { max-width: var(--wrap-narrow); }
h1, h2, h3 { font-variation-settings: "SOFT" 25, "opsz" 72; text-wrap: balance; }
h1 { font-weight: 400; letter-spacing: -.045em; line-height: 1.07; }
h2 { font-weight: 400; letter-spacing: -.035em; line-height: 1.16; }
h1 em { font-weight: 400; color: var(--gold); }
p { text-wrap: pretty; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.2rem); line-height: 1.75; }
.kicker { font: 600 .72rem/1.6 var(--font-body); letter-spacing: .15em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.text-link { display: inline-block; font: 600 .92rem/1.5 var(--font-body); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.text-link:hover { color: var(--gold); }
.btn { min-height: 48px; border-radius: 5px; line-height: 1.35; font-size: .92rem; padding: 14px 22px; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #344359; box-shadow: none; }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--gold-soft); }
.btn[aria-disabled="true"] { opacity: 1; background: #e6e0d5; color: #535449; border-color: #d5cbbb; }
:focus-visible { outline: 3px solid #986628; outline-offset: 5px; }
.site-footer :focus-visible, .quiet-invitation :focus-visible, .article-cta :focus-visible { outline-color: #f2c47c; }
#main:focus { outline: none; }
section { padding-block: clamp(64px, 7vw, 96px); }
.site-header { background: var(--paper); backdrop-filter: none; border-bottom: 1px solid var(--line); }
.nav { height: 90px; }
.brand { gap: 12px; }
.brand-mark { width: 37px; height: 37px; }
.brand-name { line-height: 1; font-size: 1.5rem; font-weight: 500; }
.brand-name small { display: block; font: 500 .55rem/1 var(--font-body); letter-spacing: .29em; text-transform: uppercase; margin-top: 8px; }
.nav-links { gap: 30px; }
.nav-links a { font-size: .88rem; }
.nav-links .btn-small { min-height: 42px; padding: 10px 18px; }
.home-hero { padding-block: 52px 62px; }
.home-hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: clamp(32px, 5vw, 78px); }
.hero-copy { padding-block: 10px; }
.hero-copy h1 { font-size: clamp(3.2rem, 5.2vw, 4.75rem); margin-bottom: 26px; }
.hero-copy .lede { max-width: 40ch; margin-bottom: 27px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.hero-note { margin-top: 20px; margin-bottom: 0; font-size: .84rem; color: var(--ink-faint); }
.hero-photo { position: relative; margin: 0; padding-bottom: 36px; }
.hero-photo img { width: 100%; height: 530px; object-fit: cover; border-radius: 3px 3px 42px 3px; }
.hero-photo figcaption { position: absolute; bottom: 0; right: 0; left: 0; text-align: right; font-size: .75rem; color: var(--ink-faint); }
.ministry-strip { border-block: 1px solid var(--line); }
.ministry-strip .wrap { display: flex; justify-content: space-between; gap: 20px; padding-block: 23px; font-size: .78rem; letter-spacing: .025em; color: var(--ink-soft); }
.ministry-strip span { display: inline-flex; align-items: center; gap: 12px; }
.ministry-strip span::before { content: ""; width: 5px; height: 5px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }
.guide-section { padding-block: 100px; }
.guide-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 76px; align-items: center; }
.guide-copy h2 { font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 24px; }
.guide-copy .btn { margin-top: 4px; }
.resource-details { list-style: none; margin: 25px 0 28px; padding: 0; font-size: .94rem; }
.resource-details li { padding: 9px 0 9px 21px; border-bottom: 1px solid var(--line); position: relative; }
.resource-details li::before { content: ""; position: absolute; left: 0; top: 19px; width: 6px; height: 6px; border: 1px solid var(--gold); transform: rotate(45deg); }
.guide-display { position: relative; min-height: 460px; background: var(--paper-2); padding: 48px 25px 55px; display: flex; align-items: center; border-radius: 4px; }
.guide-display .booklet { width: 51%; flex-shrink: 0; z-index: 2; }
.booklet-cover { border-radius: 1px 5px 5px 1px; transform: rotate(-5deg); padding: 15% 13%; background: var(--night); box-shadow: 6px 14px 25px #202a3a22; }
.booklet-page { border-radius: 2px; transform: rotate(-5deg) translate(7px, 2px); box-shadow: none; }
.booklet-cover::after { content: ""; position: absolute; inset: 17px; border: 1px solid #e0c5934d; pointer-events: none; }
.booklet-cover .bc-top { font-size: .55rem; letter-spacing: .13em; }
.booklet-cover .bc-title { font-weight: 400; font-size: clamp(1.45rem, 2.7vw, 2.3rem); line-height: 1.15; }
.booklet-cover .bc-foot { font-size: .55rem; line-height: 1.5; }
.cover-rule { width: 40px; height: 1px; background: var(--gold-soft); }
.guide-display .sample-page { width: 59%; flex-shrink: 0; margin-left: -10%; transform: rotate(5deg) translateY(-10px); padding: 22px; box-shadow: 0 8px 20px #202a3a12; }
.guide-display .sample-page .sp-day { font-size: .68rem; margin-bottom: 15px; }
.guide-display .sample-page .sp-verse { font-size: .92rem; }
.guide-display .sample-page .sp-ref { font-size: .65rem; margin-bottom: 15px; }
.guide-display .sample-page .sp-prayer { font-size: .7rem; line-height: 1.65; }
.guide-display .sample-page .sp-carry { margin-top: 12px; padding-top: 12px; font-size: .67rem; }
.display-caption { position: absolute; bottom: 22px; left: 25px; right: 25px; text-align: center; color: var(--ink-faint); font-size: .75rem; }
.readings-section { background: #f0eee7; }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 35px; }
.section-heading-row h2 { font-size: clamp(2rem, 3.4vw, 2.85rem); margin: 0; }
.section-heading-row .text-link { margin-bottom: 6px; flex-shrink: 0; }
.devotional-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; }
.reading-card { display: block; text-decoration: none; padding: 30px 0 18px; border-top: 1px solid #a5a89f; }
.reading-meta { display: flex; justify-content: space-between; gap: 15px; color: var(--ink-soft); font-size: .75rem; margin-bottom: 35px; }
.reading-meta span:first-child { color: var(--gold); text-transform: uppercase; letter-spacing: .11em; }
.reading-card h3 { font-size: clamp(1.6rem, 2.5vw, 2.1rem); font-weight: 400; margin-bottom: 18px; }
.reading-card p { max-width: 40ch; color: var(--ink-soft); font-size: 1rem; margin-bottom: 25px; }
.reading-card:hover h3 { color: var(--gold); }
.reading-card:hover .text-link { text-decoration-thickness: 2px; }
.ministry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.ministry-grid h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.ministry-video { margin-left: 25px; margin-top: 16px; }
.quiet-invitation { background: var(--night); color: var(--on-night); padding-block: 65px; border-bottom: 1px solid #ffffff22; }
.quiet-invitation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 75px; align-items: center; }
.quiet-invitation h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.quiet-invitation p, .quiet-invitation .signup .fine { color: #d3d5d5; }
.quiet-invitation .signup .btn, .article-cta .signup .btn { background: var(--paper); color: var(--ink); }
.quiet-invitation .text-link, .article-cta .text-link { color: #f2d2a1; }
.signup { max-width: 500px; width: 100%; gap: 15px; }
.signup label { display: block; text-align: left; font-size: .8rem; margin-bottom: 7px; }
.signup label span { font-size: .74rem; }
.signup input { min-height: 48px; padding: 12px; border-radius: 4px; }
.signup .row { grid-template-columns: .85fr 1.15fr; }
.signup .fine { font-size: .78rem; line-height: 1.7; }
.signup .fine a { text-underline-offset: 2px; }
.signup-fallback { border-left: 2px solid var(--gold-soft); padding: 3px 0 3px 22px; }
.signup-fallback p { font-size: .98rem; max-width: 37ch; margin-bottom: 13px; }
.signup.is-loading button { cursor: progress; }
.resource-hero { padding-block: 60px 80px; }
.resource-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 90px; align-items: center; }
.resource-hero h1 { font-size: clamp(3rem, 5vw, 4.3rem); }
.resource-hero .lede { margin-top: 24px; }
.format-note { margin-top: 30px; margin-bottom: 24px; font-size: .83rem; color: var(--ink-faint); }
.single-book-stage { background: var(--paper-2); padding: 45px 40px 30px; text-align: center; }
.single-book-stage .booklet { max-width: 265px; margin-inline: auto; }
.single-book-stage p { font-size: .72rem; color: var(--ink-faint); margin-top: 25px; margin-bottom: 0; }
.single-book-stage .bc-title { font-size: 2rem; }
.sample-section { background: var(--paper-2); }
.sample-section .sample-page { transform: none; width: 100%; max-width: 470px; box-shadow: 0 10px 28px #202a3a0c; padding: 40px; }
.sample-section .sp-day { font-size: .78rem; letter-spacing: .04em; }
.sample-section h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.sample-section .sp-verse { font-size: 1.45rem; }
.guide-outline { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.guide-outline h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.rhythm-list { list-style: none; padding: 0; margin: 0; }
.rhythm-list li { display: grid; grid-template-columns: 38px 1fr; gap: 20px; padding-bottom: 20px; margin-bottom: 25px; border-bottom: 1px solid var(--line); }
.rhythm-list li > span { font-size: .78rem; color: var(--gold); padding-top: 5px; }
.rhythm-list h3 { font-size: 1.4rem; }
.rhythm-list p { margin-bottom: 0; color: var(--ink-soft); }
.faq-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; }
.faq-layout .faq { width: 100%; }
.faq summary { font-family: var(--font-body); font-weight: 500; font-size: 1rem; }
.faq details p { font-size: .95rem; }
.page-head { padding-block: 65px 48px; }
.page-head h1 { font-size: clamp(2.7rem, 5vw, 4.3rem); }
.page-head .lede { max-width: 50ch; margin-top: 24px; margin-bottom: 0; }
.readings-index { background: var(--paper); padding-top: 12px; }
.shop-feature { padding-top: 0; }
.editorial-product { grid-template-columns: .9fr 1.1fr; gap: 65px; padding: 0; border: 0; background: transparent; border-radius: 0; }
.editorial-product h2 { font-size: clamp(2rem, 3.3vw, 2.8rem); }
.editorial-product .booklet { max-width: 280px; }
.editorial-product .single-book-stage { padding-block: 60px 35px; }
.editorial-product .text-link { display: block; margin-top: 25px; }
.editorial-product .buy-note { font-size: .87rem; margin-top: 16px; max-width: 45ch; }
.editorial-product .badge { font-size: .67rem; font-weight: 600; border-radius: 2px; }
.about-content { padding-top: 0; }
.contact-section { margin-top: 50px; border-top: 1px solid var(--line); }
.prose { font-size: 1.08rem; line-height: 1.9; }
.prose a:not(.btn) { text-underline-offset: 4px; }
.article-back { padding-top: 36px; }
.article-head { padding-top: 35px; padding-bottom: 30px; text-align: left; }
.article-head h1 { font-size: clamp(2.7rem, 5vw, 4rem); }
.prayer { background: var(--paper-2); border: 0; border-left: 3px solid var(--gold); border-radius: 0; padding: 30px; }
.article-cta { padding: 30px; border-radius: 4px; }
.article-cta .signup-fallback p { font-size: .95rem; line-height: 1.65; }
.article-cta .signup label { color: var(--paper); }
.site-footer { padding-top: 58px; }
.site-footer .brand-mark { width: 32px; height: 32px; }
.site-footer .brand-name { font-size: 1.35rem; }
.site-footer .footer-grid { grid-template-columns: 1.6fr .7fr .7fr; }
.footer-bottom { font-size: .72rem; margin-top: 48px; }
.site-footer h4 { font-size: .7rem; }
.site-footer p { font-size: .88rem; }
@media (min-width: 821px) and (max-width: 1050px) {
  .home-hero-grid { gap: 35px; }
  .hero-photo img { height: 520px; }
  .guide-grid { gap: 40px; }
  .guide-display { min-height: 390px; padding-inline: 18px; }
  .hero-actions { gap: 20px; }
}
@media (max-width: 820px) {
  .wrap, .wrap-narrow { width: calc(100% - 40px); }
  .nav { min-height: 76px; height: auto; padding-block: 17px; flex-wrap: wrap; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-name { font-size: 1.35rem; }
  .nav-toggle { display: none; min-width: 44px; min-height: 44px; margin-block: -10px; }
  .js .nav-toggle { display: block; }
  .nav-links { display: flex; position: static; padding: 18px 0 0; flex-basis: 100%; border: 0; }
  .js .nav-links { display: none; position: absolute; top: 76px; padding: 10px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: 0 15px 18px #202a3a0a; }
  .js .nav-links.open { display: flex; }
  .nav-links li a { font-size: 1rem; }
  .nav-links .btn { width: 100%; }
  .home-hero { padding-block: 38px 32px; }
  .home-hero-grid { grid-template-columns: 1fr; gap: 35px; }
  .hero-copy h1 { font-size: clamp(3.15rem, 9vw, 4.5rem); margin-bottom: 22px; }
  .hero-copy .lede { max-width: 48ch; }
  .hero-photo { padding-bottom: 30px; }
  .hero-photo img { height: 360px; object-position: center 59%; border-radius: 3px 3px 30px 3px; }
  .hero-photo figcaption { font-size: .7rem; }
  .ministry-strip .wrap { justify-content: center; flex-wrap: wrap; gap: 10px 24px; padding-block: 18px; font-size: .7rem; }
  .guide-section { padding-block: 65px; }
  .guide-grid, .resource-hero-grid, .ministry-grid, .guide-outline, .quiet-invitation-grid, .faq-layout { grid-template-columns: 1fr; gap: 35px; }
  .guide-copy { order: -1; }
  .guide-display { max-width: 550px; width: 100%; margin-inline: auto; min-height: 420px; }
  .ministry-video { margin-left: 0; display: block; }
  .quiet-invitation { padding-block: 50px; }
  .resource-hero { padding-block: 40px 60px; }
  .single-book-stage { max-width: 550px; width: 100%; margin-inline: auto; }
  .resource-hero .single-book-stage .booklet { max-width: 230px; }
  .page-head { padding-block: 45px 35px; }
  .editorial-product { grid-template-columns: 1fr; gap: 36px; }
  .editorial-product .single-book-stage { max-width: none; padding-block: 30px; }
  .editorial-product .booklet { max-width: 210px; }
  .editorial-product .single-book-stage .bc-title { font-size: 1.65rem; }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
  .site-footer .footer-grid > :first-child { grid-column: 1 / -1; }
  .section-heading-row { align-items: start; flex-direction: column; gap: 18px; }
}
@media (max-width: 540px) {
  .hero-actions { align-items: start; flex-direction: column; gap: 20px; }
  .hero-copy .kicker { font-size: .65rem; margin-bottom: 18px; }
  .hero-copy .lede { font-size: 1.05rem; }
  .hero-photo img { height: 300px; }
  .ministry-strip .wrap { justify-content: flex-start; }
  .ministry-strip span { gap: 9px; }
  .ministry-strip span:last-child { display: none; }
  .devotional-grid { grid-template-columns: 1fr; gap: 28px; }
  .reading-meta { margin-bottom: 24px; }
  .guide-display { min-height: 355px; padding-inline: 16px; }
  .guide-display .sample-page { padding: 17px; }
  .guide-display .sample-page .sp-prayer { font-size: .65rem; }
  .guide-display .sample-page .sp-carry { display: none; }
  .sample-section .sample-page { padding: 28px; }
  .sample-section .sp-verse { font-size: 1.3rem; }
  .signup .row { grid-template-columns: 1fr; }
  .article-cta { padding: 25px; }
  .prayer { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
/* Supplied circular Jesus First logo; filtering changes its cyan accent while white remains white. */
.brand-logo { display:block; width:66px; height:66px; flex:none; object-fit:cover; border-radius:50%; clip-path:circle(49% at 50% 50%); filter:hue-rotate(-155deg) saturate(.78); }
.site-footer .brand-logo { width:76px; height:76px; }
.site-footer .brand { display:inline-flex; }
[data-theme="olive"] .brand-logo { filter:hue-rotate(-120deg) saturate(.72); }
[data-theme="chapel"] .brand-logo { filter:grayscale(1); }
[data-theme="vigil"] .brand-logo { filter:hue-rotate(-160deg) saturate(1.05); }
@media(max-width:820px){ .brand-logo {width:54px;height:54px;} .site-footer .brand-logo{width:70px;height:70px;} }
/* Current-page nav button keeps its button colours (was ink on ink). */
.nav-links .btn[aria-current="page"], .nav-links .btn[aria-current="page"]:hover { color: var(--paper); text-decoration: none; }
/* YouTube link in the main navigation */
.nav-links .nav-yt { display: flex; align-items: center; gap: 7px; }
@media (min-width: 821px) { .nav-links li:has(.nav-yt) { display: flex; align-items: center; } }
.nav-links .nav-yt svg { width: 18px; height: 18px; color: #c4302b; flex: none; }
@media (max-width: 1000px) and (min-width: 821px) { .nav-links { gap: 22px; } }
/* Real pages of the free guide, shown as two printed sheets */
.guide-sheets { position: relative; margin: 0 auto; width: min(100%, 360px); aspect-ratio: 560 / 679; }
.guide-sheets .sheet {
  position: absolute; width: 78%; height: auto; top: 0; border-radius: 2px; background: #fff;
  box-shadow: 0 1px 1px rgba(32,42,58,.08), 0 8px 18px rgba(32,42,58,.10), 0 26px 44px rgba(32,42,58,.10);
}
.guide-sheets .sheet-back { right: 0; top: 6%; transform: rotate(5deg); filter: brightness(.97); }
.guide-sheets .sheet-front { left: 0; transform: rotate(-3deg); }
.guide-stage { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.single-book-stage.guide-stage { padding: 56px 48px 30px; }
.single-book-stage.guide-stage .guide-sheets { margin-bottom: 26px; }
.guide-display.guide-stage { padding: 56px 40px 44px; }
.guide-display.guide-stage .display-caption { position: static; margin-top: 30px; }
@media (max-width: 820px) {
  .guide-sheets { width: min(88%, 320px); }
  .single-book-stage.guide-stage, .guide-display.guide-stage { padding: 40px 24px 26px; }
}
/* Ministry name beside the header logo */
.site-header .brand { gap: 14px; text-decoration: none; color: var(--ink); }
.site-header .brand-name { white-space: nowrap; }
@media (max-width: 820px) { html[data-font] .site-header .brand-name { font-size: 1.15rem; } }
@media (max-width: 360px) { html[data-font] .site-header .brand-name { font-size: 1rem; } }

/* Mobile menu: compact rows, clear current page, tidy button */
@media (max-width: 820px) {
  .js .nav-links { left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 20px 22px; background: var(--paper); }
  .nav-links li { display: block; }
  .nav-links li a:not(.btn) {
    display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 4px;
    font-size: 1.02rem; color: var(--ink); border-bottom: 1px solid var(--line); text-decoration: none;
  }
  .nav-links li a[aria-current="page"]:not(.btn) { text-decoration: none; font-weight: 600; box-shadow: inset 3px 0 0 var(--gold); padding-left: 14px; }
  .nav-links .nav-yt svg { width: 20px; height: 20px; }
  .nav-links li:has(.btn) a { border: 0; }
  .nav-links .btn { margin-top: 18px; min-height: 50px; display: flex; align-items: center; justify-content: center; }
}
/* Shop: introductory price and local-currency hint */
.price .was { font-size: .6em; color: var(--ink-faint); margin-right: 10px; text-decoration-thickness: 1px; }
.local-price { margin: -10px 0 20px; font-size: .9rem; color: var(--ink-soft); }

/* Watercolour artwork on devotional cards and article pages */
.reading-card .reading-art { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin: 0 0 22px; transition: transform .4s ease; }
.reading-card:hover .reading-art { transform: translateY(-3px); }
.reading-card .reading-meta { margin-bottom: 18px; }
.article-art { margin-top: 0; margin-bottom: 36px; }
.article-art img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; }
@media (prefers-reduced-motion: reduce) { .reading-card:hover .reading-art { transform: none; } }
