/*
Theme Name: BTSZ Principal
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
Author: BTSZ
Description: Editorial ministry theme for the Principal of BTSZ.
License: GPL-2.0-or-later
Text Domain: btsz-principal
*/
:root {
  --navy: #081a2c;
  --navy-2: #102d49;
  --gold: #d8a643;
  --gold-light: #f1cf82;
  --ink: #17202a;
  --muted: #637080;
  --paper: #ffffff;
  --soft: #f3f5f6;
  --line: #dfe4e8;
  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --shadow: 0 20px 55px rgba(8, 26, 44, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 1rem; line-height: 1.7; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 96px 0; }
.section-muted { background: var(--soft); }
.section-navy { background: var(--navy); color: #fff; }
.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: fixed; z-index: 1000; left: 1rem; top: -100px; background: var(--gold); color: var(--navy); padding: .75rem 1rem; font-weight: 700; }
.skip-link:focus { top: 1rem; }

h1, h2, h3 { font-family: var(--serif); line-height: 1.18; margin: 0 0 1rem; }
h1 { font-size: clamp(2.75rem, 5.4vw, 5.25rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 3.6vw, 3.35rem); letter-spacing: -.035em; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1rem; }
.eyebrow { margin: 0 0 1rem; color: var(--gold-light); font-size: .78rem; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow-dark { color: #9a6c14; }

.site-header { position: relative; z-index: 50; background: var(--navy); color: #fff; border-bottom: 1px solid rgba(255,255,255,.12); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .75rem; color: #fff; text-decoration: none; }
.brand img { width: 54px; height: 54px; object-fit: contain; }
.brand span { display: flex; flex-direction: column; line-height: 1.2; }
.brand strong { font-family: var(--serif); font-size: 1rem; }
.brand small { margin-top: .3rem; color: #b9c4ce; font-size: .67rem; letter-spacing: .06em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: 1.45rem; }
.primary-nav a { color: #dbe3e9; font-size: .9rem; font-weight: 600; text-decoration: none; transition: color .2s; }
.primary-nav a:hover, .primary-nav a:focus, .primary-nav a.active { color: var(--gold-light); }
.primary-nav .nav-cta { padding: .7rem 1rem; border: 1px solid var(--gold); color: var(--gold-light); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.25); background: transparent; padding: 10px; }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; background: #fff; margin: 5px 0; }

.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; min-height: 720px; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: linear-gradient(90deg, var(--gold), transparent 70%); }
.hero-glow { position: absolute; width: 700px; height: 700px; right: -200px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(216,166,67,.16), transparent 68%); }
.hero-grid { min-height: 720px; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 3rem; }
.hero-copy { position: relative; z-index: 2; padding: 80px 0 100px; }
.hero h1 em { color: var(--gold-light); font-style: normal; }
.hero-lead { max-width: 690px; color: #c7d1da; font-size: 1.14rem; }
.hero-actions { display: flex; align-items: center; gap: 1.6rem; margin-top: 2rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: .8rem 1.35rem; border: 1px solid transparent; font-weight: 700; font-size: .92rem; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.button:hover, .button:focus { transform: translateY(-2px); }
.button-gold { color: var(--navy); background: var(--gold); }
.button-gold:hover { background: var(--gold-light); }
.button-navy { color: #fff; background: var(--navy); }
.button-navy:hover { background: var(--navy-2); }
.button-outline { border-color: var(--gold-light); color: var(--gold-light); }
.button-outline:hover { background: var(--gold); color: var(--navy); }
.text-link { display: inline-flex; gap: .6rem; color: var(--navy); font-weight: 700; text-underline-offset: 5px; }
.text-link-light { color: #fff; }
.hero-note { display: flex; align-items: center; gap: 1rem; max-width: 530px; margin-top: 3rem; color: #9eacb8; font-size: .85rem; }
.hero-note p { margin: 0; }
.note-line { width: 42px; height: 1px; flex: 0 0 auto; background: var(--gold); }
.hero-portrait { position: relative; align-self: stretch; display: flex; align-items: flex-end; justify-content: center; }
.hero-portrait > img { position: relative; z-index: 2; max-height: 690px; width: auto; filter: drop-shadow(0 24px 30px rgba(0,0,0,.25)); }
.portrait-ring { position: absolute; z-index: 1; width: 440px; height: 440px; top: 125px; border: 1px solid rgba(216,166,67,.4); border-radius: 50%; }
.portrait-caption { position: absolute; z-index: 3; right: -10px; bottom: 55px; display: flex; flex-direction: column; min-width: 180px; padding: .9rem 1rem; background: rgba(255,255,255,.94); color: var(--navy); border-left: 3px solid var(--gold); box-shadow: var(--shadow); }
.portrait-caption strong { font-family: var(--serif); font-size: .9rem; }
.portrait-caption span { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }

.intro-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 8vw; }
.intro h2 { color: var(--navy); }
.intro-copy { max-width: 650px; }
.lead-serif { color: var(--navy); font-family: var(--serif); font-size: 1.35rem; line-height: 1.6; }
.intro-copy > .text-link { margin-top: 1rem; }
.section-heading { max-width: 700px; margin-bottom: 3.5rem; }
.section-heading.centred { text-align: center; margin-inline: auto; }
.section-heading > p:last-child { color: var(--muted); }

.role-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.role-card { position: relative; min-height: 390px; padding: 2rem 1.45rem 1.6rem; background: #fff; border-bottom: 3px solid transparent; transition: transform .25s, box-shadow .25s, border-color .25s; }
.role-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: var(--gold); }
.icon-frame { height: 85px; display: flex; align-items: center; }
.icon-frame img { max-width: 86px; max-height: 72px; }
.role-number { position: absolute; top: 2rem; right: 1.45rem; color: #c7cdd2; font-size: .75rem; font-weight: 700; letter-spacing: .15em; }
.role-card h3 { margin-top: 1.5rem; color: var(--navy); }
.role-card p { color: var(--muted); font-size: .93rem; }
.role-card a { position: absolute; left: 1.45rem; bottom: 1.55rem; color: #8c651d; font-size: .87rem; font-weight: 700; text-underline-offset: 4px; }

.featured-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 6vw; align-items: start; }
.feature-main { box-shadow: var(--shadow); }
.feature-image { min-height: 310px; }
.sermon-art { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 3rem; overflow: hidden; background: linear-gradient(135deg, #173b5d, var(--navy)); color: #fff; }
.sermon-art::before { content: "“"; position: absolute; top: -65px; right: 20px; color: rgba(216,166,67,.17); font-family: Georgia, serif; font-size: 20rem; line-height: 1; }
.sermon-art::after { content: ""; position: absolute; width: 160px; height: 1px; left: 3rem; bottom: 3rem; background: var(--gold); }
.sermon-art span { position: relative; z-index: 1; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.12; }
.sermon-art strong { position: relative; z-index: 1; margin-top: 1rem; color: var(--gold-light); font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; }
.feature-content { padding: 2.2rem; border: 1px solid var(--line); border-top: 0; }
.feature-content h2 { font-size: 2rem; }
.feature-content > p:not(.eyebrow) { color: var(--muted); }
.content-meta { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; padding: .85rem 0; margin: 1.4rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #7e6334; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.list-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-end; margin-bottom: .8rem; }
.list-heading h2 { font-size: 2rem; }
.list-heading .text-link { font-size: .85rem; white-space: nowrap; }
.article-row { padding: 1.4rem 0; border-top: 1px solid var(--line); }
.article-topic { color: #9a6c14; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.article-row h3 { margin: .4rem 0; font-size: 1.18rem; }
.article-row h3 a { text-decoration: none; }
.article-row h3 a:hover { color: #8c651d; }
.article-row p { margin: 0; color: var(--muted); font-size: .9rem; }

.books-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 8vw; align-items: center; }
.books-copy > p:not(.eyebrow) { max-width: 520px; color: #b9c6d1; }
.books-copy .button { margin-top: 1rem; }
.book-list { border-top: 1px solid rgba(255,255,255,.18); }
.book-item { position: relative; padding: 2rem 4rem 2rem 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.book-kicker { color: var(--gold-light); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.book-item h3 { margin: .6rem 0 .2rem; font-size: 1.55rem; }
.book-subtitle { color: #b8c4ce; font-size: .9rem; }
.book-item a { position: absolute; top: 50%; right: 0; color: var(--gold-light); font-size: .8rem; font-weight: 700; }

.subscribe { background: #fff; }
.subscribe-box { display: grid; grid-template-columns: 1fr .85fr; gap: 6vw; align-items: center; padding-block: 3rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.subscribe-box h2 { max-width: 700px; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.subscribe-box > div > p:last-child { color: var(--muted); }
.subscribe-form { display: grid; grid-template-columns: 1fr auto; }
.subscribe-form input { min-width: 0; height: 52px; border: 1px solid #b8c1c9; padding: 0 1rem; color: var(--ink); }
.subscribe-form input:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.subscribe-form small { grid-column: 1 / -1; margin-top: .7rem; color: var(--muted); font-size: .72rem; }

.invitation { background: #153550; color: #fff; }
.invitation-inner { display: grid; grid-template-columns: 1fr .72fr; gap: 8vw; align-items: center; }
.invitation h2 { margin: 0; }
.invitation-inner > div:last-child > p { color: #c2ccd5; }

.site-footer { padding: 70px 0 24px; background: #04111e; color: #aebbc6; }
.footer-grid { display: grid; grid-template-columns: 1.45fr .7fr .7fr 1.15fr; gap: 3rem; }
.footer-brand { display: flex; align-items: flex-start; gap: 1rem; }
.footer-brand img { width: 68px; }
.footer-brand strong { color: #fff; font-family: var(--serif); font-size: 1.15rem; }
.footer-brand p { margin-top: .5rem; font-size: .83rem; }
.footer-grid h2 { color: var(--gold-light); font-family: var(--sans); font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; }
.footer-grid a { color: #bdc8d1; font-size: .85rem; text-decoration: none; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-grid p { margin: 0; font-size: .8rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3.5rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .76rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--gold-light); }

@media (max-width: 1000px) {
  .menu-toggle { display: block; }
  .primary-nav { display: none; position: absolute; inset: 88px 20px auto; padding: 1rem; background: #102d49; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: .75rem; }
  .primary-nav .nav-cta { margin-top: .4rem; }
  .hero-grid { grid-template-columns: 1.12fr .88fr; gap: 1rem; }
  .role-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-grid, .books-grid { gap: 3rem; }
  .footer-grid { grid-template-columns: 1.4fr repeat(2, .7fr); }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 650px); }
  .section { padding: 70px 0; }
  .brand small { display: none; }
  .hero { min-height: auto; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { padding: 70px 0 20px; }
  .hero-lead { font-size: 1rem; }
  .hero-portrait { min-height: 520px; }
  .hero-portrait > img { max-height: 520px; }
  .portrait-ring { width: 330px; height: 330px; top: 80px; }
  .portrait-caption { right: 0; bottom: 30px; }
  .intro-grid, .featured-grid, .books-grid, .subscribe-box, .invitation-inner { grid-template-columns: 1fr; }
  .intro-grid { gap: 2rem; }
  .featured-grid, .books-grid { gap: 4rem; }
  .subscribe-box { gap: 2rem; }
  .role-card { min-height: 350px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 500px) {
  h1 { font-size: 2.55rem; }
  .header-inner { min-height: 76px; }
  .brand img { width: 45px; height: 45px; }
  .primary-nav { top: 76px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-note { margin-top: 2rem; }
  .hero-portrait { min-height: 430px; }
  .hero-portrait > img { max-height: 430px; }
  .portrait-ring { width: 270px; height: 270px; top: 70px; }
  .portrait-caption { display: none; }
  .role-grid { grid-template-columns: 1fr; }
  .feature-content { padding: 1.5rem; }
  .sermon-art { min-height: 260px; padding: 2rem; }
  .sermon-art::after { left: 2rem; bottom: 2rem; }
  .list-heading { align-items: flex-start; flex-direction: column; }
  .book-item { padding-right: 0; }
  .book-item a { position: static; display: inline-block; margin-top: .5rem; }
  .subscribe-form { grid-template-columns: 1fr; gap: .7rem; }
  .subscribe-form small { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand, .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Individual book template */
.book-detail-hero { position: relative; overflow: hidden; padding: 85px 0; color: #fff; background: linear-gradient(135deg, #123653, var(--navy) 65%); }
.book-detail-hero::before { content: ""; position: absolute; width: 720px; height: 720px; right: -260px; top: -310px; border: 1px solid rgba(216,166,67,.23); border-radius: 50%; }
.book-detail-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: linear-gradient(90deg, var(--gold), transparent 72%); }
.book-detail-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .72fr 1.28fr; gap: 8vw; align-items: center; }
.book-cover-stage { position: relative; min-height: 560px; display: grid; place-items: center; perspective: 1200px; }
.book-cover-frame { position: relative; z-index: 2; width: min(340px, 86%); aspect-ratio: 2 / 3; overflow: hidden; background: #e8ebed; box-shadow: 22px 28px 55px rgba(0,0,0,.38); transform: rotateY(5deg) rotateZ(-1deg); }
.book-cover-frame::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 9px; background: linear-gradient(90deg, rgba(0,0,0,.25), transparent); }
.book-cover-frame img { width: 100%; height: 100%; object-fit: cover; }
.book-cover-shadow { position: absolute; z-index: 1; width: 330px; height: 40px; bottom: 16px; background: rgba(0,0,0,.38); filter: blur(18px); border-radius: 50%; }
.book-back-link { display: inline-flex; gap: .55rem; margin-bottom: 2.7rem; color: #c4d0d9; font-size: .82rem; font-weight: 700; text-decoration: none; }
.book-back-link:hover, .book-back-link:focus { color: var(--gold-light); }
.book-detail-heading h1 { max-width: 790px; font-size: clamp(3rem, 6.3vw, 5.8rem); }
.book-detail-subtitle { max-width: 760px; color: var(--gold-light); font-family: var(--serif); font-size: clamp(1.2rem, 2.3vw, 1.65rem); }
.book-detail-summary { max-width: 730px; color: #c5d1da; font-size: 1.04rem; }
.book-hero-meta { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin: 1.7rem 0; padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.17); border-bottom: 1px solid rgba(255,255,255,.17); color: #c1ccd5; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.book-purchase-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }
.book-availability-note { margin-top: 1rem; color: #96a7b5; font-size: .75rem; }
.book-detail-main { background: #fff; }
.book-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 315px; gap: 7vw; align-items: start; }
.book-detail-content { min-width: 0; }
.book-overview h2, .book-benefits h2, .book-contents h2, .book-use h2, .book-endorsements h2, .book-author-note h2 { font-size: clamp(1.9rem, 3.7vw, 3rem); }
.book-overview > p:not(.eyebrow):not(.lead-serif) { max-width: 800px; color: var(--muted); }
.book-benefits, .book-contents, .book-use, .book-endorsements, .book-author-note { padding-top: 5rem; }
.book-benefit-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 2rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.book-benefit-grid article { min-height: 220px; padding: 1.6rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.book-benefit-grid span { color: #a47721; font-size: .7rem; font-weight: 700; letter-spacing: .12em; }
.book-benefit-grid h3 { margin-top: 2rem; color: var(--navy); font-size: 1.12rem; }
.book-benefit-grid p { color: var(--muted); font-size: .86rem; }
.book-audience-detail { display: grid; grid-template-columns: 1fr .85fr; gap: 4rem; margin-top: 5rem; padding: clamp(2rem, 5vw, 3.5rem); color: #fff; background: #153550; }
.book-audience-detail h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.book-audience-detail ul { display: grid; gap: .75rem; align-content: center; margin: 0; padding-left: 1.2rem; color: #d0dae1; }
.book-contents ol { padding: 0; margin: 2rem 0 0; list-style: none; border-top: 1px solid var(--line); }
.book-contents li { display: grid; grid-template-columns: 70px 1fr; gap: 1.2rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.book-contents li > span { color: #9b711f; font-size: .72rem; font-weight: 700; letter-spacing: .12em; }
.book-contents li strong { color: var(--navy); font-family: var(--serif); }
.book-contents li p { margin: .3rem 0 0; color: var(--muted); font-size: .85rem; }
.book-excerpt { margin-top: 5rem; padding: clamp(2rem, 5vw, 3.5rem); color: #fff; background: var(--navy); }
.book-excerpt h2 { font-size: clamp(1.8rem, 3.5vw, 2.7rem); }
.book-excerpt blockquote { margin: 1.7rem 0 2rem; padding-left: 1.5rem; border-left: 3px solid var(--gold); }
.book-excerpt blockquote p { color: #d1dbe2; font-family: var(--serif); font-size: 1.12rem; line-height: 1.8; }
.book-use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.book-use-grid article { padding: 1.5rem; background: var(--soft); border-top: 3px solid var(--gold); }
.book-use-grid h3 { color: var(--navy); font-size: 1.05rem; }
.book-use-grid p { margin: 0; color: var(--muted); font-size: .85rem; }
.book-endorsements > div { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.book-endorsements blockquote { margin: 0; padding: 1.7rem; background: #fbf5e8; border: 1px solid #ead7ad; }
.book-endorsements blockquote p { color: var(--navy); font-family: var(--serif); font-size: .95rem; line-height: 1.7; }
.book-endorsements cite { color: #875f16; font-size: .74rem; font-style: normal; font-weight: 700; }
.book-author-note { display: grid; grid-template-columns: 92px 1fr; gap: 2rem; align-items: start; }
.book-author-monogram { display: grid; place-items: center; width: 92px; height: 92px; color: var(--navy); background: var(--gold); border-radius: 50%; font-family: var(--serif); font-weight: 700; }
.book-author-note > div:last-child > p:not(.eyebrow) { color: var(--muted); }
.book-detail-sidebar { position: sticky; top: 2rem; display: grid; gap: 1.2rem; }
.book-order-box { padding: 1.8rem; color: #fff; background: var(--navy); }
.book-price { display: block; margin: .4rem 0; color: var(--gold-light); font-family: var(--serif); font-size: 2.8rem; }
.book-order-box > p:not(.eyebrow):not(.book-share-status) { color: #c5d0d8; font-size: .82rem; }
.book-order-box .button { width: 100%; }
.book-secondary-order { display: block; margin: 1rem 0; color: var(--gold-light); font-size: .78rem; font-weight: 700; text-align: center; text-underline-offset: 4px; }
.book-order-box button { width: 100%; min-height: 44px; margin-top: .5rem; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.4); font-size: .78rem; font-weight: 700; cursor: pointer; }
.book-order-box button:hover, .book-order-box button:focus { color: var(--navy); background: #fff; }
.book-share-status { min-height: 1.3em; margin: .7rem 0 0; color: #aebbc6; font-size: .72rem; }
.book-facts-box, .book-bulk-box { padding: 1.6rem; border: 1px solid var(--line); }
.book-facts-box dl, .book-facts-box dd { margin: 0; }
.book-facts-box dl > div { padding: .85rem 0; border-top: 1px solid var(--line); }
.book-facts-box dt { color: #916819; font-size: .65rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.book-facts-box dd { margin-top: .3rem; color: var(--navy); font-family: var(--serif); font-size: .82rem; }
.book-bulk-box h2 { font-size: 1.4rem; }
.book-bulk-box > p:not(.eyebrow) { color: var(--muted); font-size: .82rem; }
.book-bulk-box .button { width: 100%; }
.related-books { background: var(--soft); }
.related-books-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2rem; }
.related-book-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.related-book-grid article { min-height: 300px; display: flex; flex-direction: column; padding: 1.6rem; background: #fff; border-top: 3px solid var(--gold); }
.related-book-grid article > span { color: #916819; font-size: .67rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.related-book-grid h3 { margin-top: 2rem; color: var(--navy); }
.related-book-grid p { color: var(--muted); font-size: .86rem; }
.related-book-grid a { margin-top: auto; color: #805d19; font-size: .82rem; font-weight: 700; text-underline-offset: 4px; }

@media (max-width: 1000px) {
  .book-detail-hero-grid { grid-template-columns: .7fr 1.3fr; gap: 3rem; }
  .book-detail-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 3rem; }
  .book-use-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .book-detail-hero { padding: 65px 0; }
  .book-detail-hero-grid, .book-detail-layout, .book-audience-detail { grid-template-columns: 1fr; }
  .book-cover-stage { min-height: 470px; }
  .book-cover-frame { width: min(300px, 82%); }
  .book-detail-sidebar { position: static; }
  .related-book-grid { grid-template-columns: 1fr; }
}

@media (max-width: 500px) {
  .book-detail-heading h1 { font-size: 2.65rem; }
  .book-cover-stage { min-height: 430px; }
  .book-benefit-grid, .book-endorsements > div { grid-template-columns: 1fr; }
  .book-purchase-actions, .related-books-heading { align-items: flex-start; flex-direction: column; }
  .book-author-note { grid-template-columns: 1fr; }
  .book-contents li { grid-template-columns: 45px 1fr; gap: .7rem; }
}

/* Individual article template */
.article-detail-hero { position: relative; overflow: hidden; padding: 92px 0 80px; color: #fff; background: var(--navy); }
.article-detail-hero::before { content: "A"; position: absolute; right: -30px; bottom: -155px; color: rgba(216,166,67,.075); font-family: var(--serif); font-size: min(42vw, 34rem); line-height: 1; }
.article-detail-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: linear-gradient(90deg, var(--gold), transparent 72%); }
.article-detail-hero-inner { position: relative; z-index: 1; max-width: 1050px; }
.article-back-link { display: inline-flex; gap: .55rem; margin-bottom: 2.7rem; color: #c4d0d9; font-size: .82rem; font-weight: 700; text-decoration: none; }
.article-back-link:hover, .article-back-link:focus { color: var(--gold-light); }
.article-detail-hero h1 { max-width: 980px; font-size: clamp(2.8rem, 6.5vw, 5.7rem); }
.article-detail-deck { max-width: 820px; margin: 1.25rem 0 2.2rem; color: #cad4dc; font-family: var(--serif); font-size: clamp(1.08rem, 2.2vw, 1.45rem); line-height: 1.65; }
.article-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.18); }
.article-byline > div:not(.article-author-mark) { display: flex; flex-direction: column; }
.article-author-mark { display: grid; place-items: center; width: 48px; height: 48px; color: var(--navy); background: var(--gold); border-radius: 50%; font-family: var(--serif); font-size: .85rem; font-weight: 700; }
.article-byline span { color: #9fadb9; font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.article-byline strong { color: #fff; font-size: .82rem; }
.article-feature-image { width: min(1380px, calc(100% - 40px)); margin: 0 auto; background: var(--soft); }
.article-feature-image img { width: 100%; max-height: 650px; object-fit: cover; }
.article-feature-image figcaption { padding: .7rem 1rem; color: var(--muted); font-size: .72rem; }
.article-detail-main { background: #fff; }
.article-detail-layout { display: grid; grid-template-columns: minmax(0, 760px) 310px; justify-content: space-between; gap: 7vw; align-items: start; }
.article-reading-column { min-width: 0; color: #28333e; font-family: var(--serif); font-size: 1.06rem; line-height: 1.9; }
.article-lead { margin-bottom: 2.4rem; color: var(--navy); font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.7; }
.article-lead::first-letter { float: left; margin: .1rem .48rem 0 0; color: #956b1a; font-family: var(--serif); font-size: 4.2rem; line-height: .82; }
.article-contents { margin: 2.5rem 0 4rem; padding: 1.7rem 2rem; background: var(--soft); border-top: 3px solid var(--gold); font-family: var(--sans); }
.article-contents > span { color: #916819; font-size: .69rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.article-contents ol { display: grid; gap: .55rem; margin: 1rem 0 0; padding-left: 1.25rem; }
.article-contents a { color: var(--navy); font-size: .88rem; font-weight: 700; text-underline-offset: 4px; }
.article-body-section { scroll-margin-top: 2rem; padding-top: 1.3rem; margin-bottom: 3.7rem; }
.article-body-section h2 { color: var(--navy); font-size: clamp(1.85rem, 3.4vw, 2.7rem); }
.article-body-section h3 { margin-top: 2.4rem; color: var(--navy); font-size: 1.35rem; }
.article-pullquote { margin: 4rem 0; padding: .4rem 0 .4rem 2rem; border-left: 4px solid var(--gold); }
.article-pullquote p { margin: 0; color: var(--navy); font-size: clamp(1.45rem, 3vw, 2.15rem); line-height: 1.55; }
.article-scripture-callout { margin: 2.5rem 0; padding: 2rem; color: #fff; background: #153550; font-family: var(--serif); }
.article-scripture-callout > span { color: var(--gold-light); font-family: var(--sans); font-size: .69rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.article-scripture-callout blockquote { margin: 1.2rem 0 0; }
.article-scripture-callout p { margin: 0 0 1rem; font-size: 1.2rem; line-height: 1.75; }
.article-scripture-callout cite { color: var(--gold-light); font-family: var(--sans); font-size: .75rem; font-style: normal; font-weight: 700; }
.article-takeaways { margin: 4rem 0; padding: clamp(1.7rem, 4vw, 2.5rem); background: #fbf5e8; border: 1px solid #ead7ad; font-family: var(--sans); }
.article-takeaways h2 { color: var(--navy); font-size: 1.8rem; }
.article-takeaways ul { display: grid; gap: .75rem; padding-left: 1.25rem; margin: 1.2rem 0 0; }
.article-takeaways li { padding-left: .35rem; color: #35414d; font-size: .94rem; }
.article-conclusion { padding-top: 2.3rem; border-top: 1px solid var(--line); }
.article-notes { padding-top: 2.2rem; border-top: 1px solid var(--line); font-family: var(--sans); }
.article-notes h2 { color: var(--navy); font-size: 1.45rem; }
.article-notes ol { padding-left: 1.25rem; color: var(--muted); font-size: .83rem; line-height: 1.65; }
.article-share { display: grid; grid-template-columns: 1fr auto; gap: 1rem 2rem; align-items: center; margin-top: 4rem; padding: 1.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--sans); }
.article-share span, .article-share strong { display: block; }
.article-share span { color: #916819; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.article-share strong { color: var(--navy); font-size: .9rem; }
.article-share-actions { display: flex; gap: .6rem; }
.article-share button { min-height: 44px; padding: .65rem 1rem; color: var(--navy); background: transparent; border: 1px solid var(--navy); font-size: .78rem; font-weight: 700; cursor: pointer; }
.article-share button:hover, .article-share button:focus { color: #fff; background: var(--navy); }
.article-share > p { grid-column: 1 / -1; min-height: 1.3em; margin: 0; color: var(--muted); font-size: .78rem; }
.article-detail-sidebar { position: sticky; top: 2rem; display: grid; gap: 1.2rem; }
.article-sidebar-box { padding: 1.6rem; background: #fff; border: 1px solid var(--line); }
.article-sidebar-box dl, .article-sidebar-box dd { margin: 0; }
.article-sidebar-box dl > div { padding: 1rem 0; border-top: 1px solid var(--line); }
.article-sidebar-box dt { color: #916819; font-size: .67rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.article-sidebar-box dd { margin-top: .35rem; color: var(--navy); font-family: var(--serif); font-size: .88rem; line-height: 1.55; }
.article-author-initials { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 1.2rem; color: var(--navy); background: var(--gold); border-radius: 50%; font-family: var(--serif); font-weight: 700; }
.article-author-box h2 { font-size: 1.45rem; }
.article-author-box > p:not(.eyebrow) { color: var(--muted); font-size: .84rem; }
.article-book-box { color: #fff; background: var(--navy); border-color: var(--navy); }
.article-book-box h2 { font-size: 1.5rem; }
.article-book-box > p:not(.eyebrow) { color: #c5d0d8; font-size: .84rem; }
.article-related-links { padding: 0; margin: 0; list-style: none; }
.article-related-links li { border-top: 1px solid var(--line); }
.article-related-links a { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; color: var(--navy); font-size: .82rem; font-weight: 700; text-decoration: none; }
.article-related-links a:hover, .article-related-links a:focus { color: #8c651d; }

@media (max-width: 1000px) {
  .article-detail-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 3rem; }
}

@media (max-width: 760px) {
  .article-detail-hero { padding: 65px 0; }
  .article-detail-layout { grid-template-columns: 1fr; }
  .article-detail-sidebar { position: static; }
  .article-feature-image { width: 100%; }
}

@media (max-width: 500px) {
  .article-detail-hero h1 { font-size: 2.55rem; }
  .article-byline { align-items: flex-start; flex-direction: column; }
  .article-contents { padding: 1.4rem; }
  .article-pullquote { padding-left: 1.25rem; }
  .article-share { grid-template-columns: 1fr; }
  .article-share-actions { align-items: flex-start; flex-direction: column; }
}

@media print {
  .site-header, .article-back-link, .article-feature-image figcaption, .article-contents, .article-detail-sidebar, .article-share, .subscribe, .site-footer { display: none !important; }
  .article-detail-hero { padding: 0 0 1.5rem; color: #000; background: #fff; }
  .article-detail-hero::before, .article-detail-hero::after { display: none; }
  .article-detail-hero h1, .article-detail-deck, .article-byline strong { color: #000; }
  .article-byline span { color: #555; }
  .article-detail-main { padding: 1.5rem 0 0; }
  .article-detail-layout { display: block; }
  .article-reading-column { max-width: none; color: #000; font-size: 11pt; }
  .article-body-section, .article-scripture-callout, .article-takeaways, .article-pullquote { break-inside: avoid; }
  .article-scripture-callout { color: #000; background: #fff; border: 1px solid #777; }
  a { color: #000; text-decoration: none; }
}

/* Individual sermon template */
.sermon-detail-hero { position: relative; overflow: hidden; padding: 88px 0; background: var(--navy); color: #fff; }
.sermon-detail-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: linear-gradient(90deg, var(--gold), transparent 72%); }
.sermon-detail-hero-grid { display: grid; grid-template-columns: 1.25fr .55fr; gap: 7vw; align-items: center; }
.sermon-back-link { display: inline-flex; gap: .55rem; margin-bottom: 2.5rem; color: #c4d0d9; font-size: .82rem; font-weight: 700; text-decoration: none; }
.sermon-back-link:hover, .sermon-back-link:focus { color: var(--gold-light); }
.sermon-detail-heading h1 { max-width: 820px; font-size: clamp(2.8rem, 6vw, 5.4rem); }
.sermon-detail-subtitle { max-width: 720px; margin: 1.2rem 0 0; color: #c4cfd8; font-family: var(--serif); font-size: clamp(1.05rem, 2vw, 1.35rem); }
.sermon-scripture-panel { position: relative; min-height: 330px; display: flex; flex-direction: column; justify-content: center; padding: 2.2rem; border: 1px solid rgba(216,166,67,.38); background: linear-gradient(145deg, #183f61, #0b2135); }
.sermon-scripture-panel::before { content: "“"; position: absolute; right: 15px; bottom: -70px; color: rgba(216,166,67,.12); font-family: Georgia, serif; font-size: 14rem; line-height: 1; }
.sermon-scripture-panel span, .sermon-scripture-panel strong, .sermon-scripture-panel b, .sermon-scripture-panel p { position: relative; z-index: 1; }
.sermon-scripture-panel span { color: var(--gold-light); font-size: .69rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.sermon-scripture-panel strong { margin-top: 1.2rem; font-family: var(--serif); font-size: 1.6rem; }
.sermon-scripture-panel b { color: var(--gold-light); font-family: var(--serif); font-size: 3.3rem; font-weight: 400; line-height: 1.1; }
.sermon-scripture-panel p { margin: 1.6rem 0 0; color: #cfdae2; font-family: var(--serif); font-size: .95rem; font-style: italic; }
.sermon-detail-main { background: #fff; }
.sermon-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 7vw; align-items: start; }
.sermon-detail-content { min-width: 0; }
.sermon-metadata { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 2.5rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.sermon-metadata > div { min-height: 110px; padding: 1.2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sermon-metadata span { display: block; margin-bottom: .5rem; color: #916819; font-size: .67rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.sermon-metadata strong { color: var(--navy); font-size: .88rem; line-height: 1.45; }
.sermon-audio-card { padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--soft); border-left: 4px solid var(--gold); }
.sermon-audio-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; }
.sermon-audio-heading h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
.sermon-duration { padding: .35rem .6rem; color: var(--navy); background: #fff; border: 1px solid var(--line); font-size: .73rem; font-weight: 700; white-space: nowrap; }
.sermon-audio { display: block; width: 100%; margin: 1.4rem 0; }
.sermon-audio-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.sermon-share-button { min-height: 50px; padding: .8rem 1.35rem; color: var(--navy); background: transparent; border: 1px solid var(--navy); font-weight: 700; cursor: pointer; }
.sermon-share-button:hover, .sermon-share-button:focus { color: #fff; background: var(--navy); }
.sermon-audio-status { min-height: 1.5em; margin: .8rem 0 0; color: var(--muted); font-size: .8rem; }
.sermon-summary, .sermon-outline, .sermon-transcript { padding-top: 4.5rem; }
.sermon-summary h2, .sermon-outline h2, .sermon-transcript h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
.sermon-outline ol { padding: 0; margin: 2rem 0 0; list-style: none; counter-reset: sermon-outline; border-top: 1px solid var(--line); }
.sermon-outline li { counter-increment: sermon-outline; display: grid; grid-template-columns: 58px 1fr; gap: 1.2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.sermon-outline li::before { content: counter(sermon-outline, decimal-leading-zero); color: #956a18; font-size: .72rem; font-weight: 700; letter-spacing: .1em; }
.sermon-outline li strong { display: block; color: var(--navy); font-family: var(--serif); }
.sermon-outline li span { display: block; grid-column: 2; margin-top: -.7rem; color: var(--muted); font-size: .91rem; }
.sermon-transcript { font-family: var(--serif); font-size: 1.03rem; line-height: 1.85; }
.sermon-transcript > .eyebrow, .sermon-transcript > h2, .sermon-transcript > h3 { font-family: var(--serif); }
.sermon-transcript > .eyebrow { font-family: var(--sans); }
.sermon-transcript h3 { margin-top: 2.7rem; color: var(--navy); font-size: 1.4rem; }
.sermon-response { margin-top: 4.5rem; padding: clamp(2rem, 5vw, 3.5rem); background: #153550; color: #fff; }
.sermon-response h2 { font-size: clamp(1.8rem, 3.5vw, 2.7rem); }
.sermon-response p:last-child { margin-bottom: 0; color: #c9d4dc; }
.sermon-detail-sidebar { position: sticky; top: 2rem; display: grid; gap: 1.2rem; }
.sermon-sidebar-box { padding: 1.6rem; border: 1px solid var(--line); background: #fff; }
.sermon-sidebar-box dl, .sermon-sidebar-box dd { margin: 0; }
.sermon-sidebar-box dl > div { padding: 1rem 0; border-top: 1px solid var(--line); }
.sermon-sidebar-box dt { color: #916819; font-size: .67rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.sermon-sidebar-box dd { margin-top: .35rem; color: var(--navy); font-family: var(--serif); font-size: .88rem; line-height: 1.55; }
.sermon-sidebar-dark { color: #fff; background: var(--navy); border-color: var(--navy); }
.sermon-sidebar-dark h2 { font-size: 1.45rem; }
.sermon-related-links { padding: 0; margin: 0; list-style: none; }
.sermon-related-links li { border-top: 1px solid var(--line); }
.sermon-related-links a { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; color: var(--navy); font-size: .82rem; font-weight: 700; text-decoration: none; }
.sermon-related-links a:hover, .sermon-related-links a:focus { color: #8c651d; }

@media (max-width: 1000px) {
  .sermon-detail-hero-grid { grid-template-columns: 1fr .55fr; gap: 2.5rem; }
  .sermon-detail-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 3rem; }
  .sermon-metadata { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .sermon-detail-hero { padding: 65px 0; }
  .sermon-detail-hero-grid, .sermon-detail-layout { grid-template-columns: 1fr; }
  .sermon-scripture-panel { min-height: 270px; }
  .sermon-detail-sidebar { position: static; }
}

@media (max-width: 500px) {
  .sermon-detail-heading h1 { font-size: 2.55rem; }
  .sermon-metadata { grid-template-columns: 1fr; }
  .sermon-metadata > div { min-height: auto; }
  .sermon-audio-heading, .sermon-audio-actions { align-items: flex-start; flex-direction: column; }
  .sermon-outline li { grid-template-columns: 42px 1fr; gap: .7rem; }
}

/* About page */
.page-hero { background: var(--navy); color: #fff; overflow: hidden; }
.about-hero { position: relative; }
.about-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: linear-gradient(90deg, var(--gold), transparent 75%); }
.about-hero-grid { min-height: 620px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 5vw; }
.page-hero-copy { padding: 90px 0; }
.page-hero-copy h1 { max-width: 760px; }
.page-hero-copy > p:last-child { max-width: 610px; color: #c4cfd8; font-size: 1.15rem; }
.about-hero-portrait { position: relative; align-self: stretch; display: flex; align-items: flex-end; justify-content: center; }
.about-portrait-frame { position: relative; width: min(410px, 100%); height: 565px; align-self: end; background: linear-gradient(145deg, #1e4668, #0d2439); border: 1px solid rgba(216,166,67,.36); border-bottom: 0; overflow: hidden; }
.about-portrait-frame::before { content: ""; position: absolute; width: 360px; height: 360px; left: 50%; top: 70px; transform: translateX(-50%); border: 1px solid rgba(216,166,67,.35); border-radius: 50%; }
.about-portrait-frame img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; object-position: bottom; }
.about-hero-portrait blockquote { position: absolute; z-index: 3; left: -50px; bottom: 40px; width: 295px; margin: 0; padding: 1.25rem 1.4rem; background: #fff; color: var(--navy); border-left: 4px solid var(--gold); box-shadow: var(--shadow); }
.about-hero-portrait blockquote p { margin: 0; font-family: var(--serif); font-size: .95rem; line-height: 1.55; }
.about-nav { position: sticky; z-index: 20; top: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 5px 15px rgba(8,26,44,.04); }
.about-nav-inner { min-height: 58px; display: flex; align-items: center; gap: 1.6rem; overflow-x: auto; }
.about-nav-inner span { color: #8f6820; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.about-nav-inner a { color: var(--muted); font-size: .84rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.about-nav-inner a:hover, .about-nav-inner a:focus { color: var(--navy); }
.biography-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 8vw; }
.section-label { position: sticky; top: 100px; align-self: start; }
.biography-copy { max-width: 720px; }
.identity-line { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.identity-line span { padding: .45rem .8rem; color: #795712; background: #fbf4e5; border: 1px solid #ead6ad; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.family-section { background: #153550; color: #fff; }
.family-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 8vw; align-items: center; }
.family-panel { position: relative; min-height: 330px; padding: 5rem 3rem 3rem; overflow: hidden; background: var(--navy); border: 1px solid rgba(216,166,67,.35); }
.family-panel .decorative-initial { position: absolute; top: -65px; right: -5px; color: rgba(216,166,67,.13); font-family: var(--serif); font-size: 18rem; line-height: 1; }
.family-panel h2, .family-panel p { position: relative; z-index: 1; }
.family-copy p { color: #c5d0d8; }
.family-copy .lead-serif { color: #fff; }
.story-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 8vw; }
.story-heading { align-self: start; padding-left: 1.4rem; border-left: 3px solid var(--gold); }
.story-heading h2 { font-size: clamp(2rem, 3vw, 2.8rem); }
.story-date { color: #906817; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.story-copy { max-width: 730px; }
.story-quote { margin: 2rem 0 0; padding: 1.6rem 2rem; background: var(--soft); border-left: 4px solid var(--gold); }
.story-quote p { margin: 0; color: var(--navy); font-family: var(--serif); font-size: 1.13rem; line-height: 1.6; }
.calling-section { background: var(--navy); color: #fff; }
.calling-section .section-heading > p:last-child { color: #b9c6d1; }
.ministry-timeline { max-width: 920px; margin: 0 auto; padding: 0; list-style: none; counter-reset: timeline; }
.ministry-timeline li { position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 2rem; padding: 0 0 2.5rem; }
.ministry-timeline li:not(:last-child)::after { content: ""; position: absolute; left: 59px; top: 45px; bottom: 0; width: 1px; background: rgba(216,166,67,.4); }
.timeline-year { position: relative; z-index: 1; display: grid; place-items: center; width: 120px; min-height: 42px; color: var(--navy); background: var(--gold); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ministry-timeline h3 { margin-bottom: .4rem; color: #fff; }
.ministry-timeline p { margin: 0; color: #b8c5cf; }
.formation-section { background: var(--soft); }
.formation-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 8vw; }
.formation-grid > div:first-child > p:not(.eyebrow) { color: var(--muted); }
.credentials { background: #fff; border-top: 3px solid var(--gold); box-shadow: var(--shadow); }
.credentials article { display: grid; grid-template-columns: 100px 1fr; gap: .2rem 1.5rem; padding: 1.5rem 1.8rem; border-bottom: 1px solid var(--line); }
.credentials article:last-child { border-bottom: 0; }
.credentials span { grid-row: 1 / 3; color: #8d6519; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.credentials h3 { margin: 0; color: var(--navy); font-size: 1.05rem; }
.credentials p { margin: 0; color: var(--muted); font-size: .86rem; }
.service-section { background: #fff; }
.service-section .section-heading { max-width: 820px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-grid article { min-height: 230px; padding: 1.6rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-grid span { color: #956a18; font-size: .69rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.service-grid h3 { margin: 1.2rem 0 .5rem; font-size: 1.15rem; }
.service-grid p { color: var(--muted); font-size: .88rem; }
.about-cta { background: #153550; color: #fff; }
.about-cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; }
.about-cta-inner h2 { max-width: 700px; margin: 0; }
.about-cta-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; }

@media (max-width: 1000px) {
  .about-hero-grid { grid-template-columns: 1fr .8fr; gap: 2rem; }
  .about-hero-portrait blockquote { left: -20px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .about-cta-inner { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .about-hero-grid { grid-template-columns: 1fr; padding-top: 40px; }
  .page-hero-copy { padding: 35px 0 10px; }
  .about-hero-portrait { min-height: 490px; }
  .about-portrait-frame { height: 490px; }
  .about-hero-portrait blockquote { left: 0; bottom: 25px; }
  .about-nav { position: relative; }
  .biography-grid, .family-grid, .story-layout, .formation-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .section-label { position: static; }
  .family-panel { min-height: 260px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .about-cta-actions { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 500px) {
  .about-hero-portrait { min-height: 430px; }
  .about-portrait-frame { height: 430px; }
  .about-hero-portrait blockquote { width: calc(100% - 28px); }
  .about-nav-inner { gap: 1rem; }
  .family-panel { padding: 4rem 1.5rem 2rem; }
  .ministry-timeline li { grid-template-columns: 78px 1fr; gap: 1rem; }
  .timeline-year { width: 78px; }
  .ministry-timeline li:not(:last-child)::after { left: 38px; }
  .credentials article { grid-template-columns: 1fr; }
  .credentials span { grid-row: auto; }
  .service-grid { grid-template-columns: 1fr; }
}

/* Work and Ministry page */
.ministry-hero { padding: 100px 0 0; background: var(--navy); color: #fff; }
.ministry-hero-grid { display: grid; grid-template-columns: 1fr .72fr; gap: 8vw; align-items: end; padding-bottom: 70px; }
.ministry-hero h1 { margin: 0; }
.ministry-hero h1 em { color: var(--gold-light); font-style: normal; }
.ministry-hero-copy > p { color: #c0cbd4; font-size: 1.08rem; }
.ministry-hero-copy .button { margin-top: 1rem; }
.calling-index { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.16); border-left: 1px solid rgba(255,255,255,.16); }
.calling-index a { min-height: 180px; display: grid; grid-template-columns: 1fr auto; grid-template-rows: 1fr auto; padding: 1.3rem; color: #fff; border-right: 1px solid rgba(255,255,255,.16); text-decoration: none; transition: background .2s; }
.calling-index a:hover, .calling-index a:focus { background: #153550; }
.calling-index span { color: var(--gold-light); font-size: .7rem; font-weight: 700; letter-spacing: .14em; }
.calling-index img { max-width: 66px; max-height: 56px; object-fit: contain; }
.calling-index strong { grid-column: 1 / -1; align-self: end; font-family: var(--serif); font-size: 1.05rem; }
.vocation { scroll-margin-top: 60px; }
.vocation-grid { display: grid; grid-template-columns: 210px 1fr; gap: 7vw; }
.vocation-marker { align-self: start; display: grid; justify-items: start; padding: 1.5rem 0 1.5rem 1.3rem; border-left: 3px solid var(--gold); }
.vocation-marker span { color: #9b711f; font-size: .7rem; font-weight: 700; letter-spacing: .16em; }
.vocation-marker img { max-width: 100px; max-height: 82px; margin: 2rem 0; object-fit: contain; }
.vocation-marker p { margin: 0; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.vocation-main { max-width: 850px; }
.vocation-main > p:not(.eyebrow):not(.lead-serif) { color: var(--muted); }
.ministry-focus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 2.2rem 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.ministry-focus-grid > div { padding: 1.4rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ministry-focus-grid h3 { margin-bottom: .45rem; font-size: 1rem; }
.ministry-focus-grid p { margin: 0; color: var(--muted); font-size: .86rem; }
.vocation-dark { background: #153550; color: #fff; }
.vocation-dark .vocation-marker { border-color: var(--gold-light); }
.vocation-dark .vocation-marker span, .vocation-dark .vocation-marker p { color: var(--gold-light); }
.vocation-dark .vocation-main > p:not(.eyebrow):not(.lead-serif) { color: #c2cdd6; }
.vocation-dark .lead-serif { color: #fff; }
.teaching-subjects { display: flex; flex-wrap: wrap; gap: .55rem; margin: 2rem 0; }
.teaching-subjects span { padding: .45rem .75rem; color: #e9d49f; border: 1px solid rgba(216,166,67,.42); font-size: .73rem; font-weight: 700; }
.institution-list { border-top: 1px solid rgba(255,255,255,.16); }
.institution-list article { display: grid; grid-template-columns: 78px 1fr; gap: 1.2rem; padding: 1.35rem 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.institution-list article > span { color: var(--gold-light); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.institution-list h3 { margin: 0 0 .25rem; font-size: 1rem; }
.institution-list p { margin: 0; color: #b8c5cf; font-size: .85rem; }
.speaker-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin: 2rem 0; }
.speaker-details ul { margin: .8rem 0 0; padding-left: 1.2rem; columns: 2; color: var(--muted); font-size: .88rem; }
.speaker-details li { margin-bottom: .45rem; break-inside: avoid; }
.engagement-note { padding: 1.5rem; background: var(--soft); border-top: 3px solid var(--gold); }
.engagement-note p:not(.eyebrow) { margin-bottom: .45rem; padding-bottom: .45rem; border-bottom: 1px solid var(--line); color: var(--navy); font-size: .86rem; font-weight: 600; }
.vocation-gold { background: #f8f1e3; }
.author-books { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0; }
.author-books article { min-height: 220px; padding: 1.5rem; background: #fff; border-top: 3px solid var(--gold); box-shadow: 0 12px 30px rgba(8,26,44,.08); }
.author-books span { color: #966b19; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.author-books h3 { margin: 1.2rem 0 .5rem; }
.author-books p { margin: 0; color: var(--muted); font-size: .87rem; }
.author-actions { display: flex; align-items: center; gap: 1.5rem; }
.ministry-conviction { background: var(--navy); color: #fff; }
.conviction-grid { display: grid; grid-template-columns: .38fr 1fr; gap: 5vw; align-items: start; }
.conviction-grid blockquote { margin: 0; padding-left: 2rem; border-left: 3px solid var(--gold); }
.conviction-grid blockquote p { margin: 0; color: #fff; font-family: var(--serif); font-size: clamp(1.6rem, 3.2vw, 2.8rem); line-height: 1.5; }

@media (max-width: 1000px) {
  .ministry-hero-grid { gap: 3rem; }
  .calling-index { grid-template-columns: 1fr 1fr; }
  .vocation-grid { grid-template-columns: 165px 1fr; gap: 3rem; }
}

@media (max-width: 760px) {
  .ministry-hero { padding-top: 70px; }
  .ministry-hero-grid { grid-template-columns: 1fr; }
  .vocation-grid { grid-template-columns: 1fr; gap: 2rem; }
  .vocation-marker { grid-template-columns: auto 1fr; align-items: center; gap: 1rem; }
  .vocation-marker span { grid-column: 1 / -1; }
  .vocation-marker img { max-width: 80px; max-height: 65px; margin: 0; }
  .ministry-focus-grid, .speaker-details, .author-books, .conviction-grid { grid-template-columns: 1fr; }
  .speaker-details ul { columns: 1; }
}

@media (max-width: 500px) {
  .calling-index { grid-template-columns: 1fr; }
  .calling-index a { min-height: 135px; }
  .ministry-focus-grid { grid-template-columns: 1fr; }
  .institution-list article { grid-template-columns: 1fr; gap: .4rem; }
  .author-actions { align-items: flex-start; flex-direction: column; }
}

/* Sermons page */
.sermons-hero { padding: 105px 0 90px; background: var(--navy); color: #fff; border-bottom: 3px solid var(--gold); }
.sermons-hero-grid { display: grid; grid-template-columns: 1.15fr .65fr; gap: 8vw; align-items: end; }
.sermons-hero h1 { margin: 0; }
.sermons-hero h1 em { color: var(--gold-light); font-style: normal; }
.sermons-hero-grid > div:last-child > p { color: #c1cdd6; font-size: 1.08rem; }
.featured-sermon-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: stretch; box-shadow: var(--shadow); }
.featured-sermon-art { position: relative; min-height: 520px; padding: 2.5rem; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(145deg, #183f61, var(--navy)); color: #fff; }
.featured-sermon-art::before { content: ""; position: absolute; width: 360px; height: 360px; right: -130px; top: 80px; border: 1px solid rgba(216,166,67,.32); border-radius: 50%; }
.featured-sermon-art::after { content: "“"; position: absolute; right: 25px; bottom: -90px; color: rgba(216,166,67,.12); font-family: Georgia, serif; font-size: 18rem; line-height: 1; }
.sermon-book { position: relative; z-index: 1; color: var(--gold-light); font-size: .75rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.sermon-chapter { position: absolute; top: 55px; right: 35px; color: rgba(255,255,255,.08); font-family: var(--serif); font-size: 14rem; line-height: 1; }
.featured-sermon-art p { position: relative; z-index: 1; margin: 0; font-family: var(--serif); font-size: clamp(1.8rem, 3.5vw, 3rem); line-height: 1.35; }
.featured-sermon-copy { padding: clamp(2rem, 5vw, 4.5rem); border: 1px solid var(--line); }
.featured-sermon-copy h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
.sermon-byline { display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; margin: 1.3rem 0 1.8rem; color: #8c651a; font-size: .73rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.featured-sermon-copy > p:not(.eyebrow):not(.lead-serif) { color: var(--muted); }
.sermon-actions { display: flex; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.sermon-series-strip { padding: 55px 0; background: #153550; color: #fff; }
.series-strip-inner { display: grid; grid-template-columns: 1.05fr .95fr auto; gap: 3rem; align-items: center; }
.series-strip-inner h2 { margin: 0; font-size: clamp(1.55rem, 2.7vw, 2.3rem); }
.series-strip-inner > p { margin: 0; color: #c0ccd5; font-size: .9rem; }
.library-heading { display: grid; grid-template-columns: 1fr .65fr; gap: 4rem; align-items: end; margin-bottom: 2.5rem; }
.library-heading h2 { margin: 0; }
.library-heading > p { margin: 0; color: var(--muted); }
.sermon-controls { display: grid; grid-template-columns: 1.35fr 1fr 1fr auto; gap: .8rem; align-items: end; padding: 1.3rem; background: var(--soft); border: 1px solid var(--line); }
.sermon-controls label { display: block; margin-bottom: .35rem; color: var(--navy); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.sermon-controls input, .sermon-controls select { width: 100%; height: 48px; padding: 0 .85rem; background: #fff; color: var(--ink); border: 1px solid #b9c3ca; border-radius: 0; }
.sermon-controls input:focus, .sermon-controls select:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.sermon-controls button { height: 48px; padding: 0 1rem; color: var(--navy); background: transparent; border: 1px solid var(--navy); font-size: .8rem; font-weight: 700; cursor: pointer; }
.sermon-controls button:hover { background: var(--navy); color: #fff; }
.sermon-results-meta { display: flex; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; color: var(--muted); font-size: .77rem; }
.sermon-results-meta span:first-child { color: #8e661c; font-weight: 700; }
.sermon-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.sermon-card { min-height: 360px; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s, border-color .2s; }
.sermon-card:hover { transform: translateY(-5px); border-color: #cfb372; box-shadow: var(--shadow); }
.sermon-card[hidden] { display: none; }
.sermon-card-top { min-height: 92px; display: flex; justify-content: space-between; align-items: flex-start; padding: 1.2rem; background: var(--navy); color: #fff; }
.sermon-card-top span { color: var(--gold-light); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.sermon-card-top strong { color: rgba(255,255,255,.55); font-family: var(--serif); font-size: 1.4rem; }
.sermon-card-body { padding: 1.4rem 1.4rem .8rem; }
.sermon-label { color: #986d1a; font-size: .67rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.sermon-card h3 { margin: .75rem 0 .7rem; font-size: 1.22rem; }
.sermon-card p { margin: 0; color: var(--muted); font-size: .87rem; }
.sermon-card > a { margin: auto 1.4rem 1.4rem; color: #805d19; font-size: .82rem; font-weight: 700; text-underline-offset: 4px; }
.sermon-empty { padding: 3rem; text-align: center; background: var(--soft); border: 1px solid var(--line); }
.sermon-empty h3 { margin-bottom: .4rem; }
.sermon-empty p { margin: 0; color: var(--muted); }
.sermon-purpose { background: var(--navy); color: #fff; }
.sermon-purpose-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 7vw; align-items: start; }
.sermon-purpose-grid h2 { margin: 0; }
.sermon-purpose blockquote { margin: 0; padding-left: 2rem; border-left: 3px solid var(--gold); }
.sermon-purpose blockquote p { margin: 0; color: #d3dce3; font-family: var(--serif); font-size: clamp(1.35rem, 2.6vw, 2.1rem); line-height: 1.55; }

@media (max-width: 1000px) {
  .sermons-hero-grid { gap: 3rem; }
  .series-strip-inner { grid-template-columns: 1fr 1fr; }
  .series-strip-inner .button { justify-self: start; }
  .sermon-controls { grid-template-columns: 1fr 1fr; }
  .search-field { grid-column: 1 / -1; }
  .sermon-card-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .sermons-hero { padding: 75px 0 65px; }
  .sermons-hero-grid, .featured-sermon-grid, .series-strip-inner, .library-heading, .sermon-purpose-grid { grid-template-columns: 1fr; }
  .featured-sermon-art { min-height: 400px; }
  .series-strip-inner, .library-heading { gap: 1.5rem; }
}

@media (max-width: 500px) {
  .featured-sermon-art { min-height: 330px; padding: 1.6rem; }
  .sermon-chapter { font-size: 10rem; }
  .sermon-actions { align-items: flex-start; flex-direction: column; }
  .sermon-controls, .sermon-card-grid { grid-template-columns: 1fr; }
  .search-field { grid-column: auto; }
  .sermon-card { min-height: 330px; }
}

/* Articles page */
.articles-hero { padding: 105px 0 90px; background: var(--navy); color: #fff; border-bottom: 3px solid var(--gold); }
.articles-hero-grid { display: grid; grid-template-columns: 1.15fr .65fr; gap: 8vw; align-items: end; }
.articles-hero h1 { margin: 0; }
.articles-hero h1 em { color: var(--gold-light); font-style: normal; }
.articles-hero-grid > div:last-child > p { color: #c1cdd6; font-size: 1.08rem; }
.articles-hero-grid .button { margin-top: 1rem; }
.featured-article-grid { display: grid; grid-template-columns: .82fr 1.18fr; box-shadow: var(--shadow); }
.article-editorial-art { position: relative; min-height: 500px; display: flex; flex-direction: column; justify-content: center; padding: 3rem; overflow: hidden; color: #fff; background: linear-gradient(145deg,#1b476b,var(--navy)); }
.article-editorial-art::before { content: "A"; position: absolute; right: -20px; bottom: -90px; color: rgba(216,166,67,.11); font-family: var(--serif); font-size: 24rem; line-height: 1; }
.article-editorial-art span { position: relative; z-index: 1; font-family: var(--serif); font-size: clamp(2.4rem,5vw,4rem); line-height: 1.18; }
.article-editorial-art strong { position: relative; z-index: 1; margin-top: 1.5rem; color: var(--gold-light); font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; }
.featured-article-copy { padding: clamp(2rem,5vw,4rem); border: 1px solid var(--line); }
.featured-article-copy h2 { font-size: clamp(2rem,4vw,3.3rem); }
.featured-article-copy > p:not(.eyebrow):not(.lead-serif) { color: var(--muted); }
.article-meta { display: flex; gap: 1.2rem; margin: 1.6rem 0; padding: .8rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #91691d; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.article-categories { background: #153550; color: #fff; }
.category-row { min-height: 76px; display: flex; align-items: center; gap: 1.5rem; overflow-x: auto; }
.category-row span { color: var(--gold-light); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.category-row a { padding: .35rem 0; color: #d0d9e0; font-size: .82rem; font-weight: 600; white-space: nowrap; text-underline-offset: 5px; }
.category-row a:hover { color: var(--gold-light); }
.article-controls { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: .8rem; align-items: end; padding: 1.3rem; background: var(--soft); border: 1px solid var(--line); }
.article-controls label { display: block; margin-bottom: .35rem; color: var(--navy); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.article-controls input,.article-controls select { width: 100%; height: 48px; padding: 0 .85rem; background: #fff; color: var(--ink); border: 1px solid #b9c3ca; border-radius: 0; }
.article-controls input:focus,.article-controls select:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.article-controls button { height: 48px; padding: 0 1rem; color: var(--navy); background: transparent; border: 1px solid var(--navy); font-size: .8rem; font-weight: 700; cursor: pointer; }
.article-controls button:hover { color: #fff; background: var(--navy); }
.article-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.archive-article { min-height: 260px; display: grid; grid-template-columns: 48px 1fr 35px; gap: 1rem; padding: 1.6rem; background: #fff; border: 1px solid var(--line); transition: transform .2s,box-shadow .2s,border-color .2s; }
.archive-article:hover { transform: translateY(-4px); border-color: #cfb372; box-shadow: var(--shadow); }
.archive-article[hidden] { display: none; }
.archive-number { color: #b1b8be; font-size: .72rem; font-weight: 700; letter-spacing: .12em; }
.archive-article h3 { margin: .55rem 0 .7rem; font-size: 1.25rem; }
.archive-article p { color: var(--muted); font-size: .87rem; }
.archive-article small { color: #8d671d; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.archive-article > a { align-self: end; color: #90681c; font-size: 1.25rem; font-weight: 700; text-decoration: none; }
.writing-purpose { background: var(--navy); color: #fff; }
.writing-purpose-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; }
.writing-purpose-grid > div:last-child > p:not(.lead-serif) { color: #bfcbd4; }
.writing-purpose-grid .lead-serif { color: #fff; }

@media (max-width: 900px) {
  .articles-hero-grid { gap: 3rem; }
  .article-card-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .articles-hero { padding: 75px 0 65px; }
  .articles-hero-grid,.featured-article-grid,.writing-purpose-grid { grid-template-columns: 1fr; }
  .article-editorial-art { min-height: 360px; }
  .article-controls { grid-template-columns: 1fr 1fr; }
  .article-controls > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 500px) {
  .article-editorial-art { min-height: 300px; padding: 2rem; }
  .article-controls { grid-template-columns: 1fr; }
  .article-controls > div:first-child { grid-column: auto; }
  .archive-article { grid-template-columns: 35px 1fr; padding: 1.2rem; }
  .archive-article > a { grid-column: 2; }
}

/* Books page */
.books-hero { background: var(--navy); color: #fff; overflow: hidden; }
.books-hero-grid { min-height: 650px; display: grid; grid-template-columns: 1.08fr .72fr; gap: 7vw; align-items: center; }
.books-hero-copy { padding: 90px 0; }
.books-hero h1 em { color: var(--gold-light); font-style: normal; }
.books-hero-copy > p:not(.eyebrow) { max-width: 690px; color: #c3ced7; font-size: 1.08rem; }
.books-hero-copy .button { margin-top: 1rem; }
.books-hero-mark { position: relative; min-height: 430px; display: flex; flex-direction: column; justify-content: center; padding: 3rem; border: 1px solid rgba(216,166,67,.35); }
.books-hero-mark::before { content: ""; position: absolute; inset: 20px; border: 1px solid rgba(255,255,255,.1); }
.books-hero-mark img { position: absolute; width: 90px; top: 28px; right: 28px; opacity: .7; }
.books-hero-mark span,.books-hero-mark strong,.books-hero-mark em { position: relative; font-family: var(--serif); font-size: clamp(3rem,6vw,5.5rem); line-height: 1.05; }
.books-hero-mark span { color: #fff; }
.books-hero-mark strong { margin-left: 2rem; color: var(--gold-light); }
.books-hero-mark em { margin-left: 4rem; color: #fff; font-style: normal; }
.book-purpose-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; }
.published-book-list { display: grid; gap: 2rem; }
.published-book { display: grid; grid-template-columns: .7fr 1.3fr; min-height: 470px; background: #fff; box-shadow: var(--shadow); }
.published-book-reverse .book-identity { background: #153550; }
.book-identity { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 2.2rem; overflow: hidden; background: var(--navy); color: #fff; }
.book-identity::after { content: ""; position: absolute; width: 310px; height: 310px; right: -145px; bottom: -130px; border: 1px solid rgba(216,166,67,.34); border-radius: 50%; }
.book-stage { color: var(--gold-light); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.book-monogram { position: relative; z-index: 1; color: #fff; font-family: var(--serif); font-size: clamp(5rem,10vw,8rem); letter-spacing: -.12em; }
.book-identity small { position: relative; z-index: 1; color: #b9c6d0; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.book-description { padding: clamp(2rem,5vw,4rem); }
.book-description h3 { font-size: clamp(2rem,4vw,3.2rem); }
.book-tagline { color: #8d6519 !important; font-family: var(--serif); font-size: 1.12rem; }
.book-description > p:not(.eyebrow):not(.book-tagline) { color: var(--muted); }
.book-audience { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0; }
.book-audience strong,.book-audience span { padding: .35rem .65rem; font-size: .72rem; }
.book-audience strong { padding-left: 0; color: var(--navy); }
.book-audience span { color: #795713; background: #faf1de; border: 1px solid #ead6ad; }
.book-buttons { display: flex; align-items: center; gap: 1.4rem; margin-top: 2rem; }
.pathway-section { background: var(--navy); color: #fff; }
.pathway-heading { display: grid; grid-template-columns: 1fr .65fr; gap: 5rem; align-items: end; margin-bottom: 3rem; }
.pathway-heading > p { color: #becad3; }
.book-pathway { display: grid; grid-template-columns: repeat(4,1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.18); border-left: 1px solid rgba(255,255,255,.18); }
.book-pathway li { min-height: 330px; display: flex; flex-direction: column; padding: 1.5rem; border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.book-pathway li > span { color: #7f91a0; font-size: .72rem; font-weight: 700; }
.book-pathway li > strong { margin-top: 2rem; color: var(--gold-light); font-size: .7rem; letter-spacing: .16em; }
.book-pathway h3 { margin-top: .75rem; font-size: 1.2rem; }
.book-pathway p { color: #b9c5cf; font-size: .86rem; }
.book-pathway small { margin-top: auto; color: #8fa0ad; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.book-pathway li.available small { color: var(--gold-light); }
.forthcoming-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 7vw; }
.forthcoming-grid > div:first-child > p:not(.eyebrow) { color: var(--muted); }
.forthcoming-list { border-top: 3px solid var(--gold); }
.forthcoming-list article { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.forthcoming-list span { color: #91691d; font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.forthcoming-list h3 { margin: .5rem 0; font-size: 1.2rem; }
.forthcoming-list p { margin: 0; color: var(--muted); font-size: .88rem; }
.books-chokmah { background: #153550; color: #fff; }
.books-chokmah-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 8vw; align-items: center; }
.books-chokmah-grid img { width: 90px; margin-bottom: 1.5rem; }
.books-chokmah-grid > div:last-child p { color: #c3ced7; }
.books-chokmah-grid .button { margin-top: 1rem; }

@media (max-width: 900px) {
  .books-hero-grid { grid-template-columns: 1fr .7fr; gap: 2rem; }
  .book-pathway { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .books-hero-grid,.book-purpose-grid,.published-book,.pathway-heading,.forthcoming-grid,.books-chokmah-grid { grid-template-columns: 1fr; }
  .books-hero-copy { padding-bottom: 20px; }
  .books-hero-mark { min-height: 340px; margin-bottom: 70px; }
  .pathway-heading { gap: 1rem; }
}
@media (max-width: 500px) {
  .books-hero-mark { padding: 2rem; }
  .book-buttons { align-items: flex-start; flex-direction: column; }
  .book-pathway { grid-template-columns: 1fr; }
  .book-pathway li { min-height: 260px; }
}

/* Invite Collins page */
.invite-hero { background: var(--navy); color: #fff; border-bottom: 3px solid var(--gold); }
.invite-hero-grid { min-height: 620px; display: grid; grid-template-columns: 1.1fr .7fr; gap: 7vw; align-items: center; }
.invite-hero h1 em { color: var(--gold-light); font-style: normal; }
.invite-hero-grid > div:first-child > p:not(.eyebrow) { max-width: 650px; color: #c2ced7; font-size: 1.08rem; }
.invite-hero-mark { position: relative; min-height: 380px; display: flex; flex-direction: column; justify-content: space-between; padding: 2.5rem; border: 1px solid rgba(216,166,67,.36); }
.invite-hero-mark::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(255,255,255,.1); }
.invite-hero-mark img { position: relative; z-index: 1; width: 90px; }
.invite-hero-mark blockquote { position: relative; z-index: 1; margin: 0; }
.invite-hero-mark blockquote p { margin: 0; color: #fff; font-family: var(--serif); font-size: 1.25rem; line-height: 1.6; }
.invitation-intro-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; }
.event-settings { border-top: 1px solid var(--line); }
.setting-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.setting-grid article { min-height: 240px; padding: 1.6rem; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.setting-grid span { color: #a0782d; font-size: .7rem; font-weight: 700; letter-spacing: .14em; }
.setting-grid h3 { margin-top: 1.7rem; font-size: 1.1rem; }
.setting-grid p { color: var(--muted); font-size: .86rem; }
.themes-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 8vw; align-items: start; }
.themes-grid > div:first-child > p:not(.eyebrow) { color: var(--muted); }
.theme-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 3px solid var(--gold); }
.theme-list span { padding: 1rem .5rem; color: var(--navy); border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: .95rem; }
.theme-list span:nth-child(odd) { border-right: 1px solid var(--line); }
.invitation-process { background: #153550; color: #fff; }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.17); border-left: 1px solid rgba(255,255,255,.17); }
.process-grid li { min-height: 265px; padding: 1.5rem; border-right: 1px solid rgba(255,255,255,.17); border-bottom: 1px solid rgba(255,255,255,.17); }
.process-grid span { color: var(--gold-light); font-size: .7rem; font-weight: 700; letter-spacing: .14em; }
.process-grid h3 { margin-top: 2.5rem; font-size: 1.05rem; }
.process-grid p { color: #bdc9d2; font-size: .85rem; }
.invitation-form-section { background: var(--navy); color: #fff; }
.invitation-form-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 5vw; align-items: start; }
.form-sidebar { position: sticky; top: 2rem; }
.form-sidebar > p:not(.eyebrow) { color: #becad3; }
.form-note { margin-top: 2rem; padding: 1.4rem; background: rgba(255,255,255,.06); border-left: 3px solid var(--gold); }
.form-note strong { color: var(--gold-light); }
.form-note ul { margin: .8rem 0 0; padding-left: 1.2rem; color: #c0cbd4; font-size: .86rem; }
.invite-form { padding: clamp(1.5rem,4vw,3rem); background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.invite-form fieldset { margin: 0 0 2.2rem; padding: 0 0 2rem; border: 0; border-bottom: 1px solid var(--line); }
.invite-form legend { width: 100%; margin-bottom: 1.3rem; color: var(--navy); font-family: var(--serif); font-size: 1.25rem; font-weight: 700; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row.three { grid-template-columns: .8fr 1fr 1fr; }
.form-field { margin-bottom: 1rem; }
.form-field label { display: block; margin-bottom: .35rem; color: #344252; font-size: .76rem; font-weight: 700; }
.form-field label span { color: #9a6511; }
.form-field input,.form-field select,.form-field textarea { width: 100%; padding: .75rem .85rem; color: var(--ink); background: #fff; border: 1px solid #aeb9c2; border-radius: 0; }
.form-field input,.form-field select { height: 49px; }
.form-field textarea { min-height: 145px; resize: vertical; }
.form-field input:focus,.form-field select:focus,.form-field textarea:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.form-consent { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; color: var(--muted); font-size: .8rem; }
.form-consent input { width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--navy); }
.form-submit { width: 100%; margin-top: 1.3rem; }
.form-privacy { margin: .7rem 0 0; text-align: center; color: var(--muted); font-size: .72rem; }

@media (max-width: 900px) {
  .invite-hero-grid { grid-template-columns: 1fr .7fr; gap: 2rem; }
  .setting-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .invitation-form-grid { grid-template-columns: .75fr 1.25fr; }
}
@media (max-width: 760px) {
  .invite-hero-grid,.invitation-intro-grid,.themes-grid,.invitation-form-grid { grid-template-columns: 1fr; }
  .invite-hero-grid { padding: 70px 0; }
  .invite-hero-mark { min-height: 300px; }
  .form-sidebar { position: static; }
}
@media (max-width: 500px) {
  .setting-grid,.theme-list,.process-grid,.form-row,.form-row.three { grid-template-columns: 1fr; }
  .theme-list span:nth-child(odd) { border-right: 0; }
  .invite-form { padding: 1.2rem; }
}

/* Contact page */
.contact-hero { padding: 105px 0 90px; color: #fff; background: var(--navy); border-bottom: 3px solid var(--gold); }
.contact-hero-grid { display: grid; grid-template-columns: 1.15fr .65fr; gap: 8vw; align-items: end; }
.contact-hero h1 { margin: 0; }
.contact-hero h1 em { color: var(--gold-light); font-style: normal; }
.contact-hero-grid > div:last-child > p { color: #c2ced7; font-size: 1.08rem; }
.contact-hero-grid .button { margin-top: 1rem; }
.contact-options { padding-bottom: 0; }
.contact-options-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.contact-options article { min-height: 285px; display: flex; flex-direction: column; padding: 1.7rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-options article > span { color: #a0782d; font-size: .7rem; font-weight: 700; letter-spacing: .14em; }
.contact-options h2 { margin-top: 2rem; font-size: 1.25rem; }
.contact-options p { color: var(--muted); font-size: .87rem; }
.contact-options a { margin-top: auto; color: #875f15; font-size: .82rem; font-weight: 700; text-underline-offset: 4px; }
.contact-main { background: #153550; color: #fff; }
.contact-main-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 5vw; align-items: start; }
.contact-details { padding-top: 1rem; }
.contact-details > p:not(.eyebrow):not(.contact-caution) { color: #c3ced7; }
.contact-details dl { margin: 2rem 0; }
.contact-details dl > div { padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.16); }
.contact-details dl > div:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.contact-details dt { color: var(--gold-light); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.contact-details dd { margin: .3rem 0 0; color: #fff; font-size: .9rem; }
.contact-details dd a { color: #fff; text-underline-offset: 4px; }
.contact-social h3 { font-family: var(--sans); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
.contact-social > div { display: flex; gap: .7rem; }
.contact-social a { padding: .45rem .7rem; color: var(--gold-light); border: 1px solid rgba(216,166,67,.4); font-size: .76rem; font-weight: 700; text-decoration: none; }
.contact-caution { margin-top: 2rem; padding: 1rem; color: #d7dfe5; background: rgba(255,255,255,.06); border-left: 3px solid var(--gold); font-size: .78rem; }
.contact-form { padding: clamp(1.5rem,4vw,3rem); color: var(--ink); background: #fff; box-shadow: var(--shadow); }
.contact-form-heading { margin-bottom: 1.8rem; }
.contact-form-heading h2 { margin-bottom: .4rem; }
.contact-form-heading > p:last-child { color: var(--muted); font-size: .8rem; }
.contact-direction { border-top: 1px solid var(--line); }
.direction-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.direction-grid a { min-height: 205px; display: flex; flex-direction: column; padding: 1.4rem; color: var(--ink); background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; transition: background .2s,transform .2s; }
.direction-grid a:hover { transform: translateY(-4px); background: var(--navy); color: #fff; }
.direction-grid span { color: #966b1a; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.direction-grid strong { margin-top: 1.6rem; font-family: var(--serif); }
.direction-grid small { margin-top: auto; color: var(--muted); font-size: .75rem; }
.direction-grid a:hover small { color: #c0ccd5; }
.contact-closing { background: var(--navy); color: #fff; }
.contact-closing-inner { display: grid; grid-template-columns: 100px 1fr; gap: 3rem; align-items: center; max-width: 950px; }
.contact-closing-inner img { width: 90px; }
.contact-closing blockquote { margin: 0; padding-left: 2rem; border-left: 3px solid var(--gold); }
.contact-closing blockquote p { margin: 0; font-family: var(--serif); font-size: clamp(1.3rem,2.5vw,2rem); line-height: 1.55; }

@media (max-width: 900px) {
  .contact-hero-grid { gap: 3rem; }
  .direction-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .contact-hero { padding: 75px 0 65px; }
  .contact-hero-grid,.contact-main-grid { grid-template-columns: 1fr; }
  .contact-options-grid { grid-template-columns: 1fr; }
  .contact-options article { min-height: 230px; }
}
@media (max-width: 500px) {
  .direction-grid { grid-template-columns: 1fr; }
  .direction-grid a { min-height: 175px; }
  .contact-form { padding: 1.2rem; }
  .contact-closing-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-closing blockquote { padding-left: 1.2rem; }
}
