/* ==========================================================================
   Joseph's Storehouse — stylesheet
   Palette: forest #173C32 · ivory #F8F5ED · gold #C4A46A · charcoal #222 · white
   ========================================================================== */

@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-latin-wght-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/fonts/source-sans-3-latin-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }

:root {
  --forest: #173C32;
  --forest-2: #1F4A3E;
  --deep: #0E2A22;
  --ivory: #F8F5ED;
  --ivory-2: #EFE9DA;
  --gold: #C4A46A;
  --gold-text: #7A5E28;          /* gold dark enough for text on ivory (AA) */
  --char: #222222;
  --muted: #5A5F5C;
  --white: #FFFFFF;
  --line: rgba(23, 60, 50, .14);
  --radius: 14px;
  --shadow: 0 1px 2px rgba(14, 42, 34, .06), 0 10px 30px -12px rgba(14, 42, 34, .22);
  --serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; color: var(--char); background: var(--ivory); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-text); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; color: var(--forest); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5vw + .5rem, 4.1rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 2.2vw + 1rem, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--forest); color: var(--ivory); padding: 10px 16px; border-radius: 8px; z-index: 200; transition: top .2s; }
.skip-link:focus { top: 12px; color: var(--ivory); }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.container--narrow { max-width: 780px; }
.container--wide { max-width: 1060px; }

.eyebrow { font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 .9rem; }
.eyebrow--gold { color: var(--gold); }
.lede { font-size: 1.25rem; line-height: 1.55; color: var(--muted); max-width: 62ch; }
.fine-print { font-size: .95rem; color: var(--muted); margin-top: 1.5rem; }

/* ---------- Buttons ------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 700 1rem/1 var(--sans); letter-spacing: .02em; padding: 15px 26px; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--forest); color: var(--ivory); }
.btn--primary:hover { background: var(--deep); color: var(--white); box-shadow: 0 10px 24px -10px rgba(14, 42, 34, .6); }
.btn--gold { background: var(--gold); color: var(--deep); }
.btn--gold:hover { background: #d3b57d; color: var(--deep); box-shadow: 0 10px 24px -10px rgba(196, 164, 106, .8); }
.btn--ghost { border-color: rgba(248, 245, 237, .55); color: var(--ivory); }
.btn--ghost:hover { background: var(--ivory); color: var(--forest); }
.btn--outline { border-color: var(--forest); color: var(--forest); }
.btn--outline:hover { background: var(--forest); color: var(--ivory); }
.btn--block { width: 100%; }
.btn--disabled, .btn:disabled { background: #E3DDCB; color: #6d6a5d; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--disabled:hover { transform: none; background: #E3DDCB; color: #6d6a5d; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { font-weight: 700; text-decoration: none; color: var(--forest); white-space: nowrap; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.link-arrow:hover { color: var(--gold-text); }

/* ---------- Header -------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(248, 245, 237, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -16px rgba(14, 42, 34, .35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--forest); }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; letter-spacing: -.01em; }
.brand__tag { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); font-weight: 700; margin-top: 3px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.site-nav a { display: block; padding: 10px 14px; text-decoration: none; font-weight: 600; font-size: .98rem; color: var(--char); border-radius: 999px; position: relative; transition: color .2s, background-color .2s; }
.site-nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.site-nav a:hover { color: var(--forest); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--forest); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: var(--white); border-radius: 12px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 20px; height: 2px; background: var(--forest); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; } .nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--ivory); border-bottom: 1px solid var(--line); box-shadow: 0 24px 30px -20px rgba(14, 42, 34, .4); display: none; padding: 8px 24px 20px; }
  .site-nav.is-open { display: block; animation: drop .25s var(--ease); }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { padding: 16px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.1rem; }
  .site-nav a::after { display: none; }
  .site-nav a[aria-current="page"] { color: var(--gold-text); }
  .brand__tag { display: none; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------------------------------------------------------- */
.hero { background: radial-gradient(1200px 600px at 85% 20%, rgba(196, 164, 106, .16), transparent 60%), linear-gradient(160deg, var(--forest) 0%, var(--deep) 100%); color: var(--ivory); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(35deg, rgba(196, 164, 106, .045) 0 1px, transparent 1px 38px); pointer-events: none; }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-block: 72px 80px; position: relative; }
.hero h1 { color: var(--ivory); margin-bottom: .45em; }
.hero .lede { color: rgba(248, 245, 237, .84); margin-bottom: 2rem; }
.hero__verse { margin: 2.6rem 0 0; padding-left: 18px; border-left: 2px solid var(--gold); max-width: 46ch; }
.hero__verse blockquote { margin: 0 0 6px; font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: rgba(248, 245, 237, .9); }
.hero__verse figcaption { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.hero__art { border-radius: 999px 999px 22px 22px; overflow: hidden; border: 1px solid rgba(196, 164, 106, .55); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .65); outline: 10px solid rgba(196, 164, 106, .09); outline-offset: 0; aspect-ratio: 900 / 760; }
.hero__art img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; padding-block: 48px 56px; gap: 40px; }
  .hero__art { max-width: 460px; margin-inline: auto; width: 100%; }
}

.pillars { background: var(--ivory-2); border-block: 1px solid var(--line); }
.pillars__inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.pillar { display: flex; gap: 16px; align-items: flex-start; padding: 28px 24px; border-left: 1px solid var(--line); }
.pillar:first-child { border-left: 0; padding-left: 0; }
.pillar__num { font-family: var(--serif); font-size: 1.6rem; color: var(--gold-text); min-width: 2.4rem; }
.pillar h2 { font-size: 1.25rem; margin-bottom: .15em; }
.pillar p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 820px) { .pillars__inner { grid-template-columns: 1fr; } .pillar { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; } .pillar:first-child { border-top: 0; } }

/* ---------- Sections ------------------------------------------------------ */
.section { padding-block: 84px; }
.section--tight { padding-block: 44px; }
.section--ivory-2 { background: var(--ivory-2); }
.section--forest { background: linear-gradient(160deg, var(--forest) 0%, var(--deep) 100%); color: var(--ivory); }
.section--forest h2 { color: var(--ivory); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head--row > div { max-width: 720px; }
.section-head__sub { color: var(--muted); font-size: 1.1rem; margin: 0; }
.section--cta { background: var(--ivory-2); padding-block: 56px; }
.cta-split { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-split h2 { margin-bottom: .2em; } .cta-split p { margin: 0; color: var(--muted); }
@media (max-width: 720px) { .section { padding-block: 56px; } }

.page-hero { background: linear-gradient(160deg, var(--forest) 0%, var(--deep) 100%); color: var(--ivory); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(35deg, rgba(196, 164, 106, .05) 0 1px, transparent 1px 38px); }
.page-hero__inner { position: relative; padding-block: 64px 56px; }
.page-hero h1 { color: var(--ivory); font-size: clamp(2.1rem, 4vw + .5rem, 3.4rem); max-width: 18ch; }
.page-hero .lede { color: rgba(248, 245, 237, .84); margin: 0; }
.page-hero .eyebrow { color: var(--gold); }

.breadcrumbs { margin-bottom: 22px; font-size: .9rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumbs a { text-decoration: none; opacity: .85; }
.page-hero .breadcrumbs a, .page-hero .breadcrumbs li { color: rgba(248, 245, 237, .8); }
.page-hero .breadcrumbs a:hover { color: var(--gold); opacity: 1; }
.article-hero .breadcrumbs a { color: var(--muted); }
.article-hero .breadcrumbs li { color: var(--muted); }

/* ---------- Grids & cards ------------------------------------------------- */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid--featured { grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; }
.grid--featured > .article-card--large { grid-row: span 2; }
@media (max-width: 1080px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 920px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } .grid--featured { grid-template-columns: 1fr 1fr; } .grid--featured > .article-card--large { grid-row: auto; grid-column: 1 / -1; } }
@media (max-width: 620px) { .grid--3, .grid--4, .grid--featured { grid-template-columns: 1fr; } }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; position: relative; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(196, 164, 106, .7); }
.card__media { display: block; position: relative; overflow: hidden; aspect-ratio: 8 / 5; background: var(--forest); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.045); }
.card__media--tile { background: var(--ivory-2); }
.card__body { padding: 22px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.card__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.card__title { font-size: 1.32rem; margin-bottom: .45em; }
.card__title a { color: var(--forest); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }  /* whole card clickable */
.card__title a:hover { color: var(--gold-text); }
.card__text { color: var(--muted); font-size: 1rem; margin-bottom: 1rem; }
.card__foot { margin: auto 0 0; display: flex; justify-content: space-between; font-size: .88rem; color: var(--muted); font-weight: 600; padding-top: 14px; border-top: 1px solid var(--line); }
.card__more { color: var(--forest); transition: transform .3s var(--ease); }
.card:hover .card__more { transform: translateX(4px); color: var(--gold-text); }
.article-card--large .card__title { font-size: clamp(1.6rem, 1.4vw + 1rem, 2.1rem); }
.article-card--large .card__text { font-size: 1.1rem; }

.chip { display: inline-block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--gold-text); background: rgba(196, 164, 106, .2); padding: 5px 10px; border-radius: 6px; }
.badge { display: inline-block; font-size: .72rem; letter-spacing: .06em; font-weight: 700; padding: 4px 10px; border-radius: 999px; border: 1.5px solid transparent; white-space: nowrap; }
.badge--scripture { background: var(--gold); color: var(--deep); }
.badge--interpretation { border-color: var(--forest); color: var(--forest); background: transparent; }
.badge--opinion { border-color: var(--char); color: var(--char); border-style: dashed; background: transparent; }
.badge--fact { background: var(--forest); color: var(--ivory); }
.badge--events { background: #DDEBE4; color: var(--forest); }
.badge--aff { border-color: var(--gold-text); color: var(--gold-text); }

/* category tiles */
.cat-tile { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.cat-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(196, 164, 106, .7); }
.cat-tile img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; transition: transform .8s var(--ease); }
.cat-tile:hover img { transform: scale(1.04); }
.cat-tile { overflow: hidden; }
.cat-tile__body { display: block; padding: 18px 22px 22px; }
.cat-tile__name { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.25rem; color: var(--forest); margin-bottom: 4px; }
.cat-tile__blurb { display: block; color: var(--muted); font-size: .98rem; }

/* ---------- Verse / about splits ----------------------------------------- */
.verse-split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.verse-quote { position: relative; padding: 48px 44px; border: 1px solid rgba(196, 164, 106, .5); border-radius: 22px; background: rgba(255, 255, 255, .03); }
.verse-quote__mark { position: absolute; top: -6px; left: 28px; font-family: var(--serif); font-size: 7rem; line-height: 1; color: var(--gold); opacity: .7; }
.verse-quote blockquote { margin: 18px 0 18px; font-family: var(--serif); font-size: clamp(1.5rem, 1.4vw + 1rem, 2.15rem); line-height: 1.3; font-style: italic; font-weight: 400; color: var(--ivory); }
.verse-quote__ref { margin: 0; color: var(--gold); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; }
.verse-copy p { color: rgba(248, 245, 237, .85); }
.check-list { list-style: none; padding: 0; margin: 1.4rem 0 2rem; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 32px; color: rgba(248, 245, 237, .92); }
.check-list li::before { content: ""; position: absolute; left: 0; top: .38em; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 920px) { .verse-split { grid-template-columns: 1fr; gap: 40px; } .verse-quote { padding: 40px 28px; } }

.about-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about-split__art img { border-radius: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); }
@media (max-width: 920px) { .about-split { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Filters ------------------------------------------------------- */
.filter-bar__top { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 18px; }
.search { position: relative; flex: 1 1 320px; max-width: 460px; display: block; }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.search input { width: 100%; padding: 14px 18px 14px 46px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font: inherit; color: var(--char); transition: border-color .2s, box-shadow .2s; }
.search input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(196, 164, 106, .25); }
.filter-count { margin: 0; color: var(--muted); font-size: .95rem; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip-btn { font: 600 .92rem var(--sans); padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--forest); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.chip-btn:hover { border-color: var(--gold); transform: translateY(-1px); }
.chip-btn.is-active { background: var(--forest); color: var(--ivory); border-color: var(--forest); }
.filter-empty { text-align: center; padding: 48px 0; color: var(--muted); font-size: 1.1rem; }

.label-grid { margin-top: 8px; }
.label-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.label-card p { margin: 14px 0 0; font-size: .96rem; color: var(--muted); }

/* ---------- Article ------------------------------------------------------- */
.article-hero { padding-block: 56px 36px; }
.article-hero h1 { font-size: clamp(2.1rem, 3.6vw + .8rem, 3.5rem); margin-top: 16px; }
.article-hero .lede { margin-bottom: 1.2rem; }
.byline { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--muted); font-size: .95rem; margin: 0; }
.article-cover { margin: 0 0 56px; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--forest); aspect-ratio: 16 / 7; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; padding-bottom: 80px; max-width: 1100px; }
.toc { position: sticky; top: 100px; align-self: start; font-size: .95rem; padding-right: 8px; }
.toc__head { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .76rem; color: var(--gold-text); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc li a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--muted); line-height: 1.35; transition: color .2s, border-color .2s; }
.toc li a:hover, .toc li a.is-current { color: var(--forest); border-left-color: var(--gold); }
@media (max-width: 980px) { .article-layout { grid-template-columns: 1fr; gap: 28px; } .toc { position: static; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; } .article-cover { aspect-ratio: 16 / 9; } }

.prose { max-width: 720px; font-size: 1.125rem; line-height: 1.78; }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { font-size: clamp(1.6rem, 1.4vw + 1.1rem, 2.1rem); margin-top: 2.2em; margin-bottom: .5em; padding-top: .2em; }
.prose h3 { font-size: 1.35rem; margin-top: 1.8em; margin-bottom: .3em; }
.prose p, .prose li { color: #2b2f2d; }
.prose a { color: var(--forest); font-weight: 600; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.prose a:hover { color: var(--gold-text); }
.prose ul, .prose ol { padding-left: 1.4em; } .prose li { margin-bottom: .5em; } .prose li::marker { color: var(--gold-text); font-weight: 700; }
.prose blockquote { margin-inline: 0; padding: 6px 0 6px 26px; border-left: 3px solid var(--gold); font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.5; color: var(--forest); }
.prose blockquote p { color: var(--forest); margin: 0 0 .5em; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.5em 0; }
.prose code { background: var(--ivory-2); padding: 2px 6px; border-radius: 5px; font-size: .92em; }
.prose figure { margin-inline: 0; } .prose figure img { border-radius: var(--radius); } .prose figcaption { font-size: .9rem; color: var(--muted); margin-top: 8px; }
.prose--page { max-width: none; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.prose table { border-collapse: collapse; width: 100%; font-size: .98rem; line-height: 1.5; min-width: 560px; }
.prose th, .prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--ivory-2); font-family: var(--sans); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--forest); }
.prose tr:last-child td { border-bottom: 0; }

.type-note { border-radius: var(--radius); padding: 16px 20px; font-size: .98rem; line-height: 1.55; margin: 0 0 1.8em; background: var(--white); border: 1px solid var(--line); border-left-width: 5px; }
.type-note p { margin: 0; }
.type-note--scripture { border-left-color: var(--gold); }
.type-note--interpretation { border-left-color: var(--forest); }
.type-note--opinion { border-left-color: var(--char); border-left-style: dashed; }
.type-note--fact { border-left-color: var(--forest-2); background: #EEF4F0; }
.type-note--events { border-left-color: #4C8C73; }
.type-note a { font-weight: 600; }
.prose .type-note { font-size: .98rem; line-height: 1.55; }

.callout { border-radius: var(--radius); padding: 18px 22px; border: 1px solid var(--line); border-left: 5px solid var(--forest); background: #EEF4F0; font-size: 1rem; line-height: 1.6; }
.callout > * { margin-top: 0; } .callout > *:last-child { margin-bottom: 0; } .callout p { margin-bottom: .6em; color: #2b2f2d; }
.callout__label { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .75rem; color: var(--forest); margin-bottom: .4em !important; }
.callout--review { background: #FBF3DC; border-color: #E8D49A; border-left: 5px solid #C99A2E; border-style: dashed; border-left-style: solid; }
.callout--review .callout__label { color: #7A5A00; }
.callout--scripture { background: var(--ivory-2); border-left-color: var(--gold); font-family: var(--serif); }
.callout--scripture .callout__label { font-family: var(--sans); color: var(--gold-text); }
.callout--caution { background: #FBECE6; border-color: #EBC7B8; border-left-color: #B5532F; }
.callout--caution .callout__label { color: #8F3A19; }
.callout--tip { background: #F2F6EC; border-left-color: #6E8F3D; }

.author-box { margin-top: 3em !important; padding: 24px 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); font-size: 1rem; }
.author-box p { margin: 0; color: var(--muted); }
.author-box__name { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--forest) !important; margin-bottom: 6px !important; }

/* ---------- Shop ---------------------------------------------------------- */
.disclosure-banner { border: 1px solid rgba(196, 164, 106, .8); background: #FBF6E8; border-left: 5px solid var(--gold); border-radius: var(--radius); padding: 18px 22px; margin: 0 0 28px; font-size: .98rem; }
.disclosure-banner p { margin: 0; }
.notice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.notice-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.notice-card h2 { font-size: 1.3rem; } .notice-card p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .notice-grid { grid-template-columns: 1fr; } }
.product-card .card__body { padding-top: 20px; }
.ribbon { position: absolute; top: 14px; left: 14px; background: var(--forest); color: var(--ivory); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.spec { background: var(--ivory); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-bottom: 14px; }
.spec__head { margin: 0 0 8px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); }
.spec__check { margin: 0; padding-left: 1.1em; font-size: .93rem; color: var(--muted); } .spec__check li { margin-bottom: 4px; }
.spec__list { margin: 0; font-size: .93rem; } .spec__list div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border-bottom: 1px dashed var(--line); } .spec__list dt { color: var(--muted); } .spec__list dd { margin: 0; font-weight: 600; text-align: right; }
.product__price { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--forest); margin: 0 0 14px; margin-top: auto; }
.product__price--none { font-family: var(--sans); font-size: .95rem; font-weight: 600; color: var(--muted); }
.product__disclose { font-size: .8rem; color: var(--muted); margin: 12px 0 0; line-height: 1.45; }
.product-card .btn { position: relative; z-index: 2; }
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 20px; }
.steps li { counter-increment: s; position: relative; padding-left: 58px; } .steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 40px; height: 40px; border-radius: 50%; background: var(--forest); color: var(--gold); font-family: var(--serif); font-weight: 600; font-size: 1.15rem; display: grid; place-items: center; }

/* ---------- Forms --------------------------------------------------------- */
.form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form input[type="text"], .form input[type="email"], .form select, .form textarea { width: 100%; padding: 14px 16px; font: inherit; color: var(--char); background: var(--white); border: 1.5px solid var(--line); border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(196, 164, 106, .25); }
.form label { font-weight: 600; font-size: .95rem; display: block; margin-bottom: 6px; }
.form .field { margin-bottom: 18px; } .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; } @media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }
.form .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; margin-bottom: 20px; } .form .check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--forest); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.is-unconnected fieldset[disabled] { opacity: .55; }
.form__notice { margin: 14px 0 0; font-size: .88rem; padding: 10px 14px; border-radius: 10px; background: rgba(255, 255, 255, .08); border: 1px dashed rgba(196, 164, 106, .7); color: rgba(248, 245, 237, .9); }
.form__fine { margin: 10px 0 0; font-size: .85rem; opacity: .8; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; max-width: 1100px; } .contact-form { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 32px; box-shadow: var(--shadow); align-self: start; }
@media (max-width: 920px) { .contact-layout { grid-template-columns: 1fr; gap: 36px; } }

.newsletter { background: linear-gradient(160deg, var(--forest), var(--deep)); color: var(--ivory); padding-block: 72px; position: relative; overflow: hidden; }
.newsletter::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(35deg, rgba(196, 164, 106, .05) 0 1px, transparent 1px 38px); }
.newsletter__inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.newsletter h2 { color: var(--ivory); } .newsletter p { color: rgba(248, 245, 237, .84); }
.form--inline fieldset { display: flex; gap: 12px; flex-wrap: wrap; } .form--inline input[type="email"] { flex: 1 1 240px; border-radius: 999px; border-color: transparent; padding-inline: 22px; }
@media (max-width: 860px) { .newsletter__inner { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Footer -------------------------------------------------------- */
.site-footer { background: var(--deep); color: rgba(248, 245, 237, .8); padding-top: 64px; font-size: .98rem; }
.site-footer a { color: rgba(248, 245, 237, .85); text-decoration: none; } .site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer__name { font-family: var(--serif); font-size: 1.6rem; color: var(--ivory); margin: 0 0 4px; }
.footer__tag { color: var(--gold); letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; font-weight: 700; margin-bottom: 14px; }
.footer__small { max-width: 38ch; margin: 0; }
.footer__head { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .76rem; color: var(--gold); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer__social { display: flex !important; gap: 16px; margin-top: 16px !important; }
.footer-base { border-top: 1px solid rgba(248, 245, 237, .12); padding-block: 26px 40px; font-size: .88rem; }
.footer-base p { margin: 0 0 8px; } .footer__amazon { color: var(--ivory); font-weight: 600; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- Motion -------------------------------------------------------- */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-reveal .reveal { opacity: 1; transform: none; }
}
@media print { .site-header, .site-footer, .newsletter, .toc { display: none; } body { background: #fff; } }

/* Large featured card: let the image absorb spare height so no empty gap appears */
.article-card--large .card__media { aspect-ratio: auto; flex: 1 1 auto; min-height: 300px; }
.article-card--large .card__body { flex: 0 0 auto; }
@media (max-width: 920px) { .article-card--large .card__media { aspect-ratio: 8 / 5; flex: none; min-height: 0; } }
