:root {
  --ink: #162126;
  --muted: #5e6a70;
  --line: #d9e0dd;
  --paper: #fbfaf6;
  --white: #ffffff;
  --gold: #f3c742;
  --green: #2e7562;
  --blue: #2d5f88;
  --coral: #c7654a;
  --shadow: 0 18px 45px rgba(22, 33, 38, .12);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.55; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: white; padding: .7rem 1rem; z-index: 10; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.site-header { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .85rem clamp(1rem, 4vw, 4rem); background: rgba(251,250,246,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.brand img { width: 170px; height: auto; }
.site-nav { display: flex; gap: .25rem; align-items: center; }
.site-nav a { text-decoration: none; padding: .55rem .8rem; border-radius: 6px; color: var(--muted); font-weight: 700; font-size: .95rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); background: #eef3f0; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--white); border-radius: 6px; }
.nav-toggle span:not(.sr-only) { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--ink); }
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); min-height: calc(100vh - 88px); padding: clamp(2rem, 6vw, 6rem) clamp(1rem, 6vw, 6rem) 3rem; border-bottom: 1px solid var(--line); background: var(--paper); color: var(--ink); position: relative; overflow: hidden; }
.hero-copy { max-width: 760px; }
.eyebrow { margin: 0 0 .9rem; color: var(--green); font-weight: 800; text-transform: uppercase; letter-spacing: 0; font-size: .82rem; }
h1, h2, h3 { overflow-wrap: normal; word-break: normal; }
p { overflow-wrap: anywhere; }
h1 { font-size: clamp(3rem, 9vw, 7.5rem); line-height: .9; margin: 0 0 1.25rem; }
.hero-title { max-width: 760px; color: var(--ink); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(3rem, 5.25vw, 5.15rem); line-height: 1.02; letter-spacing: 0; text-wrap: balance; }
.hero-title span { display: block; }
.hero-title em { color: #d88918; font-style: italic; font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: 1.05; margin: 0 0 .75rem; }
.lead { font-size: clamp(1.15rem, 2.2vw, 1.55rem); color: var(--muted); max-width: 760px; margin: 0; }
.hero .eyebrow { color: var(--green); font-weight: 900; letter-spacing: 0; }
.hero .lead { max-width: 600px; color: var(--muted); line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .8rem 1.1rem; border: 0; border-radius: 6px; background: var(--ink); color: var(--white); text-decoration: none; font-weight: 800; cursor: pointer; }
.button.secondary { background: var(--gold); color: var(--ink); }
.hero .button { min-width: 170px; min-height: 54px; background: var(--ink); color: var(--white); font-weight: 900; }
.hero .button.secondary { background: var(--gold); color: var(--ink); border: 0; }
.hero .button:hover { background: var(--green); }
.hero .button.secondary:hover { background: #f0d24a; }
.hero-media { justify-self: stretch; position: relative; min-height: 620px; }
.hero-media::before { content: ""; position: absolute; inset: 8% 0 5% 8%; background: var(--gold); border-radius: 8px; z-index: -1; }
.hero-art { position: absolute; width: 48%; height: auto; max-height: none; object-fit: cover; border: 8px solid var(--white); border-radius: 8px; box-shadow: var(--shadow); background: var(--white); }
.hero-art-main { left: 4%; top: 3%; width: 52%; transform: rotate(-2deg); }
.hero-art-side { right: 1%; top: 12%; width: 43%; transform: rotate(3deg); }
.hero-art-small { right: 13%; bottom: 1%; width: 35%; transform: rotate(-4deg); }
.hero-art-wide { left: 8%; bottom: 6%; width: 46%; transform: rotate(2deg); }
.feature-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); background: var(--white); }
.feature-band article { padding: clamp(1.5rem, 4vw, 3rem); border-right: 1px solid var(--line); }
.feature-band article:last-child { border-right: 0; }
.feature-band span { color: var(--coral); font-weight: 900; }
.feature-band h2 { font-size: 1.55rem; margin-top: .6rem; }
.feature-band p, .prose p { color: var(--muted); }
.workshop-feature { width: min(1120px, calc(100% - 2rem)); margin: clamp(2rem, 5vw, 4rem) auto 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 390px); gap: clamp(1.25rem, 4vw, 3rem); align-items: center; padding: clamp(1rem, 3vw, 1.5rem); background: var(--white); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.workshop-copy { display: grid; gap: 1rem; align-content: start; }
.workshop-copy h2 { margin-bottom: 0; }
.workshop-copy p { margin: 0; color: var(--muted); font-size: 1.08rem; }
.workshop-copy ul { margin: 0; padding-left: 1.15rem; color: #34444b; }
.workshop-copy li { margin: .35rem 0; }
.workshop-copy .button { justify-self: start; margin-top: .25rem; }
.workshop-poster { display: block; border-radius: 8px; overflow: hidden; background: var(--ink); box-shadow: 0 14px 32px rgba(22,33,38,.18); }
.workshop-poster:hover { transform: translateY(-2px); }
.workshop-poster img { display: block; width: 100%; height: auto; }
.split, .content-with-photo, .form-section, .sermon-list, .resource-grid, .toolbar, .latest-sermon, .story-showcase, .publication-showcase { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; padding: clamp(2.5rem, 6vw, 5rem) 0; align-items: start; }
.link-grid, .resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.link-grid a { display: grid; gap: .25rem; min-height: 104px; padding: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: 8px; text-decoration: none; box-shadow: 0 8px 22px rgba(22,33,38,.05); }
.link-grid a:hover, .sermon:hover { border-color: var(--green); transform: translateY(-1px); }
.link-grid span, .sermon em { color: var(--muted); font-style: normal; }
.section-heading { max-width: 760px; padding-bottom: 1rem; }
.section-heading p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.story-showcase, .publication-showcase { padding: clamp(2rem, 5vw, 4rem) 0 0; }
.story-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.story-card { display: grid; grid-template-rows: 330px 1fr; background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; text-decoration: none; box-shadow: 0 14px 32px rgba(22,33,38,.09); }
.story-card:hover { transform: translateY(-3px); border-color: var(--green); }
.story-card img { width: 100%; height: 100%; object-fit: cover; object-position: top center; background: #f3f1e8; }
.story-card div { display: grid; gap: .45rem; align-content: start; padding: 1rem; }
.story-card span { color: var(--blue); font-weight: 900; font-size: .82rem; }
.story-card strong { font-size: 1.25rem; line-height: 1.15; }
.story-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.story-card em { color: var(--green); font-style: normal; font-weight: 900; }
.publication-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.publication-card { display: grid; grid-template-columns: 45% 1fr; gap: 1rem; padding: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 14px 32px rgba(22,33,38,.08); }
.publication-cover { display: block; min-height: 250px; border-radius: 6px; overflow: hidden; background: #efe8d8; box-shadow: 0 10px 22px rgba(22,33,38,.14); }
.publication-cover img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.publication-card h3 { margin: .25rem 0 .45rem; font-size: 1.25rem; line-height: 1.15; }
.publication-card span { color: var(--blue); font-weight: 900; font-size: .82rem; }
.publication-card p { color: var(--muted); margin: 0 0 .8rem; font-size: .95rem; }
.publication-card small { display: block; margin-top: .7rem; color: var(--muted); font-weight: 800; }
.page-hero { padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 6vw, 6rem) clamp(2rem, 5vw, 4rem); background: var(--white); border-bottom: 1px solid var(--line); }
.page-hero.compact { padding-bottom: 2.5rem; }
.page-hero h1 { max-width: 1000px; }
.content-with-photo { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); padding: clamp(2.5rem, 6vw, 5rem) 0; align-items: start; }
.content-with-photo img { border-radius: 8px; box-shadow: var(--shadow); background: var(--white); }
.prose { max-width: 780px; font-size: 1.08rem; }
.toolbar { padding: 2rem 0 1rem; display: grid; gap: .5rem; }
.toolbar label { font-weight: 800; }
input, textarea, select { width: 100%; min-height: 46px; padding: .75rem .85rem; border: 1px solid var(--line); border-radius: 6px; background: var(--white); color: var(--ink); font: inherit; }
textarea { resize: vertical; }
.notice { margin: 1.5rem 0; padding: 1rem; border-left: 5px solid var(--gold); background: var(--white); border-radius: 0 8px 8px 0; }
.notice p { margin: .35rem 0 0; }
details { margin-top: 1.5rem; padding: 1rem; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
summary { cursor: pointer; font-weight: 900; }
.archive-feature { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; padding: 2rem 0 0; display: grid; grid-template-columns: 320px 1fr; gap: 2rem; align-items: center; }
.feature-issue { min-height: 230px; padding: 1.25rem; display: grid; align-content: end; gap: .3rem; color: var(--ink); text-decoration: none; background: linear-gradient(145deg, var(--gold), #fff4b5 58%, var(--white)); border: 1px solid #dec35b; border-radius: 8px; box-shadow: var(--shadow); }
.feature-issue strong { font-size: 1.7rem; line-height: 1.05; }
.feature-issue em { font-style: normal; color: #5b4b12; }
.cover-mark { justify-self: start; align-self: start; padding: .35rem .55rem; border-radius: 999px; background: var(--ink); color: var(--white); font-weight: 900; font-size: .78rem; }
.resource-grid { padding-bottom: 4rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.resource { display: grid; grid-template-rows: auto 1fr; min-height: 410px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: 0 8px 22px rgba(22,33,38,.05); }
.issue-cover { min-height: 280px; padding: 1rem; display: grid; place-items: center; text-decoration: none; color: var(--ink); background: #f5f1e7; border-bottom: 1px solid var(--line); }
.issue-cover img { max-width: 100%; max-height: 270px; width: auto; height: auto; object-fit: contain; box-shadow: 0 10px 22px rgba(22,33,38,.16); background: var(--white); }
.resource-info span { color: var(--muted); font-style: normal; }
.resource-info { display: grid; gap: .75rem; padding: 1rem; align-content: start; }
.resource-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.resource-actions a { min-height: 38px; padding: .45rem .75rem; display: inline-flex; align-items: center; border-radius: 6px; background: #eef3f0; color: var(--ink); font-weight: 800; text-decoration: none; }
.resource-actions a:hover { background: var(--gold); }
.pdf-reader-hero h1 { font-size: clamp(2.2rem, 6vw, 4.5rem); }
.pdf-reader-shell { width: min(1180px, calc(100% - 2rem)); margin: 2rem auto 4rem; display: grid; gap: .75rem; }
.pdf-reader-shell iframe { width: 100%; height: min(78vh, 980px); min-height: 620px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); box-shadow: 0 12px 30px rgba(22,33,38,.08); }
.pdf-reader-shell p { color: var(--muted); margin: 0; }
.sermon-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding: 2rem 0 4rem; }
.latest-sermon { display: grid; grid-template-columns: minmax(280px, .95fr) minmax(0, 1.05fr); gap: clamp(1.25rem, 4vw, 3rem); align-items: center; padding: 2rem 0 0; }
.latest-video { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--ink); }
.latest-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.play-badge { position: absolute; left: 1rem; bottom: 1rem; min-height: 38px; display: inline-flex; align-items: center; padding: .45rem .75rem; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 900; }
.latest-copy h2 { margin-bottom: .65rem; }
.latest-copy p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.latest-meta { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; margin-top: 1rem; }
.latest-meta span { color: var(--blue); font-weight: 900; }
.latest-meta a { min-height: 40px; display: inline-flex; align-items: center; padding: .5rem .8rem; border-radius: 6px; background: var(--ink); color: var(--white); text-decoration: none; font-weight: 900; }
.sermon { display: grid; grid-template-rows: auto auto auto 1fr auto; gap: .55rem; min-height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: 0 8px 22px rgba(22,33,38,.05); }
.sermon:hover { border-color: var(--green); transform: translateY(-1px); }
.sermon img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #dfe8e4; }
.sermon span, .sermon strong, .sermon p, .sermon-actions { margin-left: 1rem; margin-right: 1rem; }
.sermon span { margin-top: .35rem; color: var(--blue); font-weight: 900; font-size: .86rem; }
.sermon strong { font-size: 1.1rem; line-height: 1.2; }
.sermon p { margin-top: 0; margin-bottom: 0; color: var(--muted); font-size: .95rem; }
.sermon-actions { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; margin-bottom: 1rem; }
.sermon-actions button, .sermon-actions a { min-height: 38px; padding: .45rem .75rem; border: 0; border-radius: 6px; font: inherit; font-weight: 900; text-decoration: none; cursor: pointer; }
.sermon-actions button { background: var(--ink); color: var(--white); }
.sermon-actions a { display: inline-flex; align-items: center; background: #eef3f0; color: var(--ink); }
.sermon-actions button:hover, .sermon-actions a:hover { background: var(--gold); color: var(--ink); }
.form-section { padding: 2rem 0 4rem; }
.contact-form { display: grid; gap: 1rem; max-width: 820px; background: var(--white); padding: clamp(1rem, 4vw, 2rem); border: 1px solid var(--line); border-radius: 8px; }
.contact-form label { display: grid; gap: .35rem; font-weight: 800; color: var(--ink); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
fieldset { display: flex; flex-wrap: wrap; gap: 1rem; border: 1px solid var(--line); border-radius: 8px; padding: 1rem; }
fieldset legend { font-weight: 800; padding: 0 .35rem; }
fieldset label { display: flex !important; grid-template-columns: auto 1fr; align-items: center; gap: .45rem; }
fieldset input { width: auto; min-height: 0; }
.directory-visual { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; padding: 2rem 0 0; display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(1.25rem, 4vw, 3rem); align-items: center; }
.visual-copy p:not(.eyebrow) { color: var(--muted); margin: 0 0 1rem; }
.map-note { font-size: .95rem; }
.heat-legend { display: grid; grid-template-columns: 22px auto 22px auto 22px auto 22px auto; gap: .35rem .45rem; align-items: center; font-weight: 800; color: var(--muted); }
.heat-swatch { width: 22px; height: 22px; border-radius: 5px; border: 1px solid var(--line); }
.usa-map-card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: clamp(.75rem, 2vw, 1.15rem); box-shadow: 0 10px 28px rgba(22,33,38,.06); overflow-x: auto; }
.usa-map-inner { position: relative; min-width: 700px; }
.usa-map-inner img { display: block; width: 100%; height: auto; border-radius: 6px; }
.map-bubble { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 999px; background: #8b3d61; color: var(--white); border: 2px solid var(--white); box-shadow: 0 8px 18px rgba(22,33,38,.24); font-size: .86rem; font-weight: 900; line-height: 1; text-decoration: none; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.map-bubble:hover, .map-bubble:focus-visible { transform: translate(-50%, -50%) scale(1.12); background: #2e7562; box-shadow: 0 10px 24px rgba(22,33,38,.32); outline: 0; }
.state-heatmap { display: grid; grid-template-columns: repeat(12, minmax(38px, 1fr)); grid-template-rows: repeat(7, 48px); gap: .42rem; padding: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 28px rgba(22,33,38,.06); overflow-x: auto; }
.state-tile { min-width: 38px; min-height: 48px; display: grid; place-items: center; align-content: center; gap: .05rem; border: 1px solid rgba(22,33,38,.14); border-radius: 7px; text-decoration: none; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.state-tile strong { font-size: .9rem; line-height: 1; }
.state-tile span { font-size: .75rem; font-weight: 900; line-height: 1; opacity: .82; }
.state-tile:hover, .state-tile:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(22,33,38,.14); border-color: var(--ink); outline: 0; }
.level-0 { background: #eef3f0; color: #728087; }
.level-1 { background: #cfe5dd; }
.level-2 { background: #82b9a6; }
.level-3 { background: #2e7562; color: var(--white); }
.level-4 { background: #173f36; color: var(--white); }
.state-jump { width: min(1120px, calc(100% - 2rem)); margin: 0 auto 1rem; display: flex; gap: .45rem; flex-wrap: wrap; }
.state-jump a { padding: .45rem .65rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); text-decoration: none; font-weight: 800; font-size: .86rem; }
.state-jump a:hover { border-color: var(--green); background: #eef3f0; }
.directory-sections { width: min(1120px, calc(100% - 2rem)); margin: 0 auto 4rem; display: grid; gap: 1.2rem; }
.directory-section { scroll-margin-top: 110px; }
.directory-section header { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1rem 0 .7rem; border-bottom: 2px solid var(--ink); }
.directory-section h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); margin: 0; }
.directory-section header span { color: var(--muted); font-weight: 800; white-space: nowrap; }
.church-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; padding-top: .9rem; }
.church-card { padding: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 22px rgba(22,33,38,.04); }
.church-card h3 { margin: 0 0 .65rem; font-size: 1.2rem; line-height: 1.2; }
.church-card p { margin: .2rem 0; color: #34444b; }
.church-card a { color: var(--blue); font-weight: 800; }
.empty-state { padding: 1rem; color: var(--muted); }
.book-pages { width: min(980px, calc(100% - 2rem)); margin: 0 auto; padding: 2rem 0 4rem; display: grid; gap: 1rem; }
.book-pages img { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: var(--white); box-shadow: 0 10px 28px rgba(22,33,38,.08); }
.site-footer { display: flex; justify-content: space-between; gap: 1.5rem; padding: 2rem clamp(1rem, 6vw, 6rem); border-top: 1px solid var(--line); background: var(--ink); color: var(--white); }
.site-footer p { margin: .3rem 0 0; color: #d9e0dd; }
.site-footer a { color: var(--gold); font-weight: 800; }
.is-hidden { display: none !important; }
@media (max-width: 860px) {
  .site-header { align-items: center; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; padding: .8rem 1rem 1rem; background: var(--paper); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .85rem; }
  .hero, .split, .content-with-photo { grid-template-columns: 1fr; min-height: auto; }
  .hero { padding-top: 2.5rem; }
  .hero-title { max-width: 720px; font-size: clamp(3rem, 10vw, 4.8rem); }
  .hero-media { justify-self: stretch; min-height: 520px; }
  .hero-art { border-width: 6px; }
  .feature-band, .resource-grid, .sermon-list, .link-grid, .archive-feature, .church-grid, .directory-visual, .latest-sermon, .story-grid, .publication-grid, .publication-card, .workshop-feature { grid-template-columns: 1fr; }
  .story-card { grid-template-rows: minmax(260px, 60vw) 1fr; }
  .publication-cover { min-height: 360px; }
  .state-heatmap { grid-template-columns: repeat(12, 42px); }
  .usa-map-inner { min-width: 680px; }
  .feature-band article { border-right: 0; border-bottom: 1px solid var(--line); }
  .field-row { grid-template-columns: 1fr; }
  .site-footer { display: grid; }
}
@media (max-width: 520px) {
  .brand img { width: 136px; }
  h1 { font-size: clamp(2.7rem, 18vw, 4.5rem); }
  .hero-title { font-size: clamp(2.6rem, 13vw, 3.65rem); }
  .actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .pdf-reader-shell iframe { min-height: 520px; height: 70vh; }
  .hero-media { min-height: 450px; }
  .hero-art-main { width: 58%; left: 0; }
  .hero-art-side { width: 45%; right: 0; }
  .hero-art-small { width: 42%; right: 5%; }
  .hero-art-wide { width: 52%; left: 2%; }
}