/* Servants for His Kingdom - generated from tokens.json */
:root {
  --cream: #F9F7F0;
  --white: #FFFFFF;
  --sunflower: #FFD800;
  --kingdom-blue: #004AAD;
  --link-blue-legacy: #0056B8;
  --ink: #121212;
  --black: #000000;
  --seal-charcoal: #2B2F3A;
  --crown-gold: #CA9D42;
  --highlight-gold: #DDB568;
  --on-kingdom-blue: var(--white);
  --focus-ring: var(--kingdom-blue);
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --radius-none: 0;
  --radius-sm: 4px;
  --radius-round: 50%;
  --font-display: "Trebuchet MS", Arimo, "Noto Sans", sans-serif;
  --font-body: Arimo, Arial, "Noto Sans", sans-serif;
}
.display-hero { font-family: var(--font-display); font-size: 56px; line-height: 1.05; font-weight: 700; }
.display-section { font-family: var(--font-display); font-size: 40px; line-height: 1.1; font-weight: 700; }
.heading { font-family: var(--font-display); font-size: 26px; line-height: 1.2; font-weight: 700; }
.body-lead { font-family: var(--font-body); font-size: 20px; line-height: 1.6; font-weight: 400; letter-spacing: 0.06em; }
.body { font-family: var(--font-body); font-size: 16px; line-height: 1.6; font-weight: 400; letter-spacing: 0.06em; }
.caption { font-family: var(--font-body); font-size: 13px; line-height: 1.5; font-weight: 400; letter-spacing: 0.04em; }
.cta { font-family: var(--font-body); font-size: 15px; line-height: 1; font-weight: 400; letter-spacing: 0.08em; }

/* S4HK refinement. Original kit tokens are prepended by build.py and stay intact.
   Order: type/tokens, foundations, shared chrome, layout, components, page details,
   responsive overrides. See spec/design-refinement.md before adding a component. */

@font-face {
  font-family: Manrope; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url('/fonts/manrope-latin-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: Manrope; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url('/fonts/manrope-cyrillic-variable.woff2') format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: Manrope; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url('/fonts/manrope-cyrillic-ext-variable.woff2') format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
:root {
  --font-display: Manrope, Arial, sans-serif;
  --font-body: Manrope, Arial, sans-serif;
  --font-quote: Georgia, 'Times New Roman', serif;
  --line: rgba(43, 47, 58, .18);
  --line-on-blue: rgba(255, 255, 255, .28);
  --text-muted: #53585e;
  --gutter: clamp(20px, 4.5vw, 64px);
  --section-space: clamp(64px, 8vw, 112px);
}

/* Foundations */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 16px/1.7 var(--font-body); letter-spacing: 0; }
[hidden] { display: none !important; }
img, video { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
picture > source { display: none; } /* with display: contents, sources would otherwise take grid cells */
figure, blockquote { margin: 0; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select, summary { -webkit-tap-highlight-color: transparent; }
a { color: var(--kingdom-blue); text-underline-offset: 5px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:where(a, button, input, textarea, select, summary):focus-visible { outline: 3px solid var(--kingdom-blue); outline-offset: 5px; }
:where(.band-blue, .site-footer) :where(a, button, summary):focus-visible { outline-color: var(--sunflower); }
h1, h2, h3 { margin: 0 0 24px; color: var(--kingdom-blue); font-family: var(--font-display); font-weight: 650; letter-spacing: -.045em; }
h1 { font-size: clamp(44px, 5.4vw, 72px); line-height: 1.08; }
h2 { font-size: clamp(34px, 3.6vw, 48px); line-height: 1.15; }
h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.23; letter-spacing: -.035em; }
p { margin: 0 0 20px; }
p:last-child { margin-bottom: 0; }
.lead { font-size: clamp(18px, 1.55vw, 21px); line-height: 1.65; }
.caption { font-size: 13px; line-height: 1.6; letter-spacing: 0; color: var(--text-muted); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 23px; color: var(--kingdom-blue); font-size: 11px; line-height: 1.5; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ''; flex: none; width: 28px; height: 3px; background: var(--sunflower); }
.card-label { display: block; color: var(--text-muted); font-size: 11px; line-height: 1.6; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset: 8px auto auto 8px; z-index: 100; padding: 12px 20px; background: var(--kingdom-blue); color: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.wrap { width: 100%; max-width: 1408px; margin-inline: auto; padding-inline: var(--gutter); }
.band { padding-block: var(--section-space); }
.band-tight { padding-block: clamp(40px, 6vw, 80px); }
.band-cream { background: var(--cream); }
.band-sunflower { background: var(--sunflower); }
.band-blue { color: var(--white); background: var(--kingdom-blue); }
.band-blue :where(h1, h2, h3, a, .eyebrow, .caption, .scripture-ref, .attribution) { color: var(--white); }
.band-blue .card-label { color: var(--sunflower); }
.band-sunflower .eyebrow::before { background: var(--kingdom-blue); }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.narrow { max-width: 850px; margin-inline: auto; }
.narrow-left { max-width: 760px; }
.wrap.narrow { max-width: 930px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-top { align-items: start; }
.section-heading { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: end; margin-bottom: 48px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading-top { align-items: start; }
.section-heading > p, .section-heading > div:last-child p { max-width: 440px; color: var(--text-muted); }

/* Shared header: the ordinary HTML nav remains usable until JS initializes. */
.site-header { position: relative; background: var(--cream); border-bottom: 1px solid var(--line); z-index: 10; }
.header-row { display: flex; align-items: center; gap: 32px; min-height: 116px; padding-block: 14px; }
.brand { display: inline-flex; flex: none; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; }
.brand-seal { width: 80px; height: 80px; flex: none; }
.brand-name { display: block; font-size: 18px; line-height: 1.18; font-weight: 750; letter-spacing: -.035em; }
.brand-motto { display: block; margin-top: 6px; color: var(--text-muted); font-size: 9px; font-weight: 650; letter-spacing: .15em; text-transform: uppercase; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; list-style: none; align-items: center; gap: 30px; margin: 0; padding: 0; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 0; border-bottom: 2px solid transparent; color: var(--seal-charcoal); font-size: 13px; font-weight: 650; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current='page'] { color: var(--kingdom-blue); border-bottom-color: var(--sunflower); }
.nav-toggle { display: none; }
.header-give { flex: none; }

/* Actions */
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 22px; min-height: 54px; padding: 17px 26px; border: 1px solid var(--kingdom-blue); border-radius: 3px; background: var(--kingdom-blue); color: var(--white); font-size: 11px; line-height: 1.5; font-weight: 750; letter-spacing: .08em; text-align: center; text-decoration: none; cursor: pointer; }
.btn span[aria-hidden] { margin-left: 4px; font-size: 18px; font-weight: 400; line-height: 1; }
.btn:hover { background: var(--seal-charcoal); border-color: var(--seal-charcoal); color: var(--white); text-decoration: none; }
.btn-small { min-height: 44px; padding: 12px 24px; }
.btn-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn-row-center { justify-content: center; }
.band-blue .btn { color: var(--kingdom-blue); background: var(--sunflower); border-color: var(--sunflower); }
.band-blue .btn:hover { background: var(--white); border-color: var(--white); }
/* Outline button (D-22): every secondary action. Solid .btn stays for give, support and volunteer. */
.btn-outline { padding: 16px 25px; border-width: 2px; background: transparent; color: var(--kingdom-blue); border-color: var(--kingdom-blue); }
.btn-outline:hover { background: var(--kingdom-blue); border-color: var(--kingdom-blue); color: var(--white); }
.btn-outline.btn-small { padding: 11px 23px; }
.band-blue .btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.band-blue .btn-outline:hover { background: var(--white); border-color: var(--white); color: var(--kingdom-blue); }
.program-content .btn, .story-copy .btn, .page-intro .btn { margin-top: 12px; }
.contact-layout aside > .btn { margin-top: 32px; }
/* Sunflower band with blue accents (D-22 variant B) */
.photo-frame.photo-frame-blue::before { background: var(--kingdom-blue); }
.video-frame.photo-frame { overflow: visible; }
.band-sunflower .section-heading > div:last-child p, .band-sunflower .caption { color: var(--ink); }
.about-story figure { margin: 0; }
.about-story .caption { margin-top: 30px; }
.text-link { display: inline-flex; align-items: center; gap: 26px; min-height: 44px; font-size: 13px; font-weight: 750; text-decoration: none; border-bottom: 1px solid currentColor; }
.text-link span { font-size: 20px; font-weight: 400; }
.text-link:hover { gap: 34px; }
.link-arrow { display: inline-block; position: relative; flex: none; width: 14px; height: 14px; }
.link-arrow::before { content: ''; position: absolute; top: 1px; right: 1px; width: 9px; height: 9px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; }
.link-arrow::after { content: ''; position: absolute; left: 0; top: 7px; width: 15px; height: 1.5px; background: currentColor; transform: rotate(-45deg); }

/* Home: a purposeful image, generous type, and a quiet Scripture divider. */
.home-hero { padding-top: clamp(40px, 6vw, 86px); padding-bottom: 0; }
.hero { display: grid; grid-template-columns: 1fr 1.04fr; align-items: center; gap: 56px 64px; }
.hero-text { min-width: 0; padding-bottom: 12px; }
.hero h1 { margin-bottom: 26px; color: var(--kingdom-blue); font-size: clamp(48px, 5.7vw, 80px); line-height: 1.07; letter-spacing: -.055em; }
.hero h1 span { color: var(--ink); }
.hero .lead { max-width: 390px; color: var(--text-muted); font-size: 19px; }
.hero-photo { min-width: 0; align-self: center; padding: 0 16px 0 0; }
.photo-frame { position: relative; isolation: isolate; }
.photo-frame::before { position: absolute; content: ''; z-index: -1; inset: 20px -16px -16px 20px; background: var(--sunflower); }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-photo figcaption { display: block; position: relative; margin-top: 36px; padding-left: 28px; color: var(--text-muted); font-size: 11px; line-height: 1.65; }
.photo-caption-rule { position: absolute; left: 0; top: .8em; width: 16px; height: 1px; background: var(--kingdom-blue); }
.hero-scripture { grid-column: 1 / -1; margin-top: 8px; }
.scripture { font-family: var(--font-quote); font-size: 19px; line-height: 1.6; }
.scripture-ref, .attribution { display: block; margin: 12px 0 24px; color: var(--text-muted); font-size: 11px; line-height: 1.6; }
.band-blue .scripture-ref, .band-blue .attribution { color: rgba(255,255,255,.85); }
.programs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.program-card { min-width: 0; }
.program-media { position: relative; aspect-ratio: 4 / 3; background: var(--seal-charcoal); overflow: hidden; }
.program-poster { width: 100%; height: 100%; object-fit: cover; }
.program-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; }
.program-card.is-playing .program-preview { opacity: 1; }
.preview-toggle { position: absolute; right: 12px; bottom: 12px; min-height: 36px; padding: 8px 12px; border: 1px solid var(--white); border-radius: 3px; color: var(--white); background: var(--kingdom-blue); font-size: 10px; line-height: 1.5; font-weight: 700; cursor: pointer; }
.preview-toggle:focus-visible { outline-color: var(--sunflower); outline-offset: 3px; }
.program-content { padding-top: 24px; }
.program-content .card-label { margin-bottom: 17px; }
.program-content h3 { margin-bottom: 14px; }
.program-content p { max-width: 340px; color: var(--text-muted); font-size: 14px; line-height: 1.8; }
.program-content .text-link { display: flex; justify-content: space-between; padding-top: 8px; border-bottom-color: var(--line); min-height: 48px; }
.story-feature { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(40px, 7vw, 100px); }
.story-copy p:not(.eyebrow) { color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.85; }
.story-copy .text-link { margin-top: 12px; }
.video-frame { background: var(--seal-charcoal); overflow: hidden; }
.video-frame video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.story-quote { margin-top: 24px; padding-left: 20px; border-left: 2px solid var(--sunflower); }
.story-quote p { font-family: var(--font-quote); font-size: 21px; line-height: 1.5; margin-bottom: 10px; }
.story-quote footer { color: rgba(255,255,255,.8); font-size: 11px; }
.transcript { margin-top: 24px; border-top: 1px solid var(--line-on-blue); font-size: 13px; }
.transcript summary { padding: 16px 0; font-weight: 700; cursor: pointer; }
.transcript-body { max-height: 440px; overflow-y: auto; padding-right: 12px; }
.transcript-body p { font-size: 14px; }
.tiers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 48px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tier { padding: 32px 24px; border-left: 1px solid var(--line); }
.tier:first-child { border-left: 0; padding-left: 0; }
.tier-amount { display: block; color: var(--kingdom-blue); font-size: clamp(25px, 2.6vw, 36px); line-height: 1.2; font-weight: 650; letter-spacing: -.04em; margin-bottom: 15px; }
.tier-what { max-width: 180px; margin: 0; color: var(--text-muted); font-size: 12px; line-height: 1.65; }
.give-row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 32px; }
.give-row .caption { margin: 0; }
.invitation-row { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 64px; }
.invitation-row h2 { margin-bottom: 0; }
.invitation-row > div:last-child { justify-self: end; }
.invitation-row p:not(.eyebrow) { font-size: 17px; }

/* Inner page layouts */
.page-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(40px, 6vw, 88px); }
.page-intro { max-width: 600px; }
.page-intro .lead { max-width: 510px; color: var(--text-muted); }
.page-hero-photo { margin: 0; position: relative; }
.page-hero-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.page-hero-photo figcaption { margin-top: 14px; font-size: 12px; color: var(--text-muted); }
.page-hero-photo--portrait img { object-position: 50% 60%; }
.trust-line { font-size: 11px; line-height: 1.7; color: var(--text-muted); margin-top: 24px; }
.photo-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.photo-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.card { min-width: 0; display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--line); background: transparent; }
.card .card-label { margin-bottom: 26px; }
.card h2 { font-size: 28px; line-height: 1.2; margin-bottom: 16px; }
.card p { font-size: 14px; }
.card .btn, .card .text-link { align-self: flex-start; margin-top: auto; }
.team { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 40px 0 0; padding: 0; }
.team-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; margin-bottom: 20px; }
.team-card h3 { margin-bottom: 6px; font-size: 20px; }
.team-card p { color: var(--text-muted); font-size: 12px; }
.jump { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 32px; border-block: 1px solid var(--line); padding-block: 12px; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; color: var(--kingdom-blue); font-size: 12px; font-weight: 700; text-decoration: none; border-bottom: 2px solid transparent; }
.jump a:hover { border-bottom-color: var(--sunflower); }
.program-section { border-top: 1px solid var(--line); }
.program-header { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; margin-bottom: 40px; }
.program-header .lead { margin-top: 0; }
.program-section .editorial-quote { margin-top: 32px; }
.program-section .text-link, .program-section > .wrap > .btn { margin-top: 24px; }
/* Quotes support the page; they never outweigh the headings (2026-10-20). */
.editorial-quote { max-width: 680px; margin: 0; padding-left: 22px; border-left: 3px solid var(--sunflower); }
.editorial-quote p { margin: 0; font-family: var(--font-quote); font-size: clamp(19px, 1.6vw, 22px); line-height: 1.55; letter-spacing: 0; }
.editorial-quote-lg { margin-bottom: 48px; }
.editorial-quote-lg p { font-size: clamp(22px, 2vw, 26px); }
.editorial-quote footer, .editorial-quote cite { display: block; color: inherit; font-family: var(--font-body); font-size: 12px; font-style: normal; letter-spacing: 0; margin: 10px 0 0; }

/* Galleries retain direct image links and native expansion without JS. */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; gap: 18px; padding: 0; margin: 30px 0 0; }
.gallery-item { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: rgba(43,47,58,.07); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%; background: var(--kingdom-blue); }
.gallery-play::after { position: absolute; content: ''; left: 22px; top: 18px; border-left: 15px solid var(--white); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.gallery-more { margin-top: 24px; }
.gallery-more > summary { display: inline-flex; align-items: center; min-height: 54px; padding: 15px 24px; border: 2px solid var(--kingdom-blue); border-radius: 3px; color: var(--kingdom-blue); font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; list-style: none; cursor: pointer; }
.gallery-more > summary::-webkit-details-marker { display: none; }
.gallery-more > summary:hover { background: var(--kingdom-blue); color: var(--white); }
.gallery-more[open] > summary { margin-bottom: 18px; }

/* Native FAQ and forms */
.faq { margin-top: 32px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 24px 40px 24px 0; list-style: none; font-size: 16px; line-height: 1.6; font-weight: 650; color: var(--kingdom-blue); cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 24px; font-size: 24px; font-weight: 400; }
.faq details[open] summary::after { content: '−'; }
.faq-answer { max-width: 700px; padding: 0 40px 24px 0; font-size: 15px; }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: clamp(40px, 8vw, 112px); }
.contact-aside { max-width: 430px; }
.contact-aside h1 { margin-bottom: 24px; }
.contact-aside .lead { color: var(--text-muted); }
.contact-links { margin: 40px 0 0; padding-top: 8px; border-top: 1px solid var(--line); }
.contact-links dt { margin-top: 24px; color: var(--text-muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.contact-links dd { margin: 8px 0 0; font-size: 15px; line-height: 1.9; }
.contact-links a { display: inline-block; padding-block: 3px; overflow-wrap: anywhere; }
.form { min-width: 0; max-width: 760px; }
.form-panel { padding: clamp(24px, 3vw, 40px); background: var(--white); border: 1px solid var(--line); }
.form-panel h2 { font-size: clamp(28px, 3vw, 38px); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.field { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { color: var(--seal-charcoal); font-size: 12px; font-weight: 650; }
.req { color: var(--text-muted); font-size: 10px; font-weight: 400; }
.field :where(input, textarea, select) { width: 100%; min-width: 0; min-height: 50px; padding: 12px; border: 1px solid var(--line); border-radius: 2px; background: var(--white); color: var(--ink); font-size: 16px; line-height: 1.5; }
.field textarea { min-height: 150px; resize: vertical; }
.field select { padding-right: 24px; }
.form-note { font-size: 12px; color: var(--text-muted); margin-bottom: 28px; }
.consent-details { border-top: 1px solid var(--line); margin-top: 28px; }
.consent-details > summary { padding: 18px 0; color: var(--kingdom-blue); font-size: 12px; font-weight: 700; cursor: pointer; }
.consent { min-width: 0; margin: 0 0 24px; padding: 16px; border: 1px solid var(--line); background: var(--cream); }
.consent legend { font-size: 12px; font-weight: 700; padding-inline: 6px; }
.consent-row { display: flex; gap: 12px; align-items: flex-start; }
.consent-row input { flex: none; width: 20px; height: 20px; margin-top: 3px; accent-color: var(--kingdom-blue); }
.consent-row label { font-size: 13px; }
.consent-text { font-size: 12px; line-height: 1.8; margin-top: 12px; }
.consent p { margin-bottom: 10px; }
.consent .caption { font-size: 11px; }
.form-actions { margin-top: 24px; }

/* Footer */
.site-footer { background: var(--kingdom-blue); color: var(--white); padding-block: 64px 24px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1.1fr .65fr 1fr; align-items: start; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { width: 80px; height: 80px; flex: none; }
.footer-word { font-size: 18px; font-weight: 700; line-height: 1.25; letter-spacing: -.03em; }
.footer-motto { margin-top: 7px; font-size: 9px; line-height: 1.5; letter-spacing: .15em; text-transform: uppercase; }
.footer-title { margin: 4px 0 20px; font-size: 11px; font-weight: 700; color: var(--sunflower); text-transform: uppercase; letter-spacing: .08em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer :where(p, li) { font-size: 12px; line-height: 1.85; margin: 0 0 10px; }
.footer-site a, .footer-legal a { display: inline-flex; align-items: center; min-height: 32px; }
.footer-site li, .footer-legal li { margin-bottom: 2px; }
.footer-social { display: flex; gap: 8px; margin-top: 14px !important; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
.footer-social svg { width: 20px; height: 20px; }
.footer-copy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; position: relative; margin-top: 48px; padding-top: 24px; }
.footer-copy::before { position: absolute; content: ''; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line-on-blue); }
.footer-copy .caption { margin: 0; font-size: 10px; line-height: 1.6; color: rgba(255,255,255,.8); }
.footer-copy .caption:nth-child(2) { margin-left: auto; }
.data-toggle { padding: 9px 12px; min-height: 44px; border: 1px solid var(--line-on-blue); border-radius: 3px; background: transparent; color: var(--white); font-size: 10px; font-weight: 650; cursor: pointer; }
.data-toggle[aria-pressed='true'] { background: var(--white); color: var(--kingdom-blue); }

/* Legal and staging review pages */
.legal h1 { margin-bottom: 18px; font-size: clamp(36px, 4.5vw, 56px); text-align: left; }
.legal h2 { font-size: 25px; letter-spacing: -.025em; margin-top: 36px; }
.legal .effective { color: var(--text-muted); text-align: left; font-size: 13px; margin-bottom: 40px; }
.legal-body { font-size: 15px; }
.legal-body ul { padding-left: 1.4em; }
.legal-body li { margin-bottom: 12px; }
.interim-note { padding: 12px 16px; margin-top: 24px; border-left: 3px solid var(--sunflower); background: var(--white); color: var(--ink); font-size: 12px; }
.review { display: block; max-width: 100%; overflow-x: auto; margin-top: 32px; font-size: 13px; border-collapse: collapse; }
.review :where(th, td) { padding: 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.review th { background: var(--kingdom-blue); color: var(--white); }

/* Dialog enhancement. Native image links remain the fallback. */
.lightbox { width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; margin: 0; border: 0; padding: 0; background: transparent; }
.lightbox::backdrop { background: rgba(18,18,18,.96); }
.lightbox-inner { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 100%; height: 100%; padding: 64px 80px; }
.lightbox-media { display: flex; align-items: center; justify-content: center; max-height: calc(100dvh - 160px); max-width: 100%; }
.lightbox-media :where(img, video) { width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 160px); }
.lightbox-caption { margin: 16px 0 0; color: var(--white); font-size: 12px; text-align: center; min-height: 20px; }
.lightbox-btn { position: absolute; width: 48px; height: 48px; padding: 0; border: 1px solid var(--line-on-blue); border-radius: 50%; color: var(--white); background: rgba(18,18,18,.8); font-size: 28px; line-height: 44px; text-align: center; cursor: pointer; }
.lightbox-btn:focus-visible { outline-color: var(--sunflower); }
.lightbox-close { top: max(12px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); }
.lightbox-prev { left: 16px; top: calc(50% - 24px); }
.lightbox-next { right: 16px; top: calc(50% - 24px); }

/* Responsive composition: one definition of each breakpoint. */
@media (max-width: 1100px) {
  .header-row { gap: 24px; }
  .site-nav ul { gap: 22px; }
  .brand-seal { width: 68px; height: 68px; }
  .brand-name { font-size: 16px; }
  .hero { gap: 40px; }
  .programs { gap: 20px; }
  .program-content h3 { font-size: 25px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .header-row { flex-wrap: wrap; min-height: 100px; gap: 16px; }
  .site-nav { order: 4; width: 100%; margin: 0; }
  .site-nav ul { justify-content: space-between; gap: 12px; }
  .header-give { margin-left: auto; }
  .nav-ready .nav-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 12px; margin-left: auto; border: 1px solid var(--line); border-radius: 3px; background: transparent; color: var(--kingdom-blue); cursor: pointer; }
  .nav-toggle-label { font-size: 11px; font-weight: 700; }
  .nav-toggle-bar { display: block; width: 16px; height: 2px; background: currentColor; position: relative; }
  .nav-toggle-bar::before, .nav-toggle-bar::after { position: absolute; content: ''; left: 0; width: 16px; height: 2px; background: currentColor; }
  .nav-toggle-bar::before { top: -5px; }
  .nav-toggle-bar::after { top: 5px; }
  .nav-ready .header-give { margin-left: 0; }
  .nav-ready .site-nav { display: none; }
  .nav-ready .site-nav.is-open { display: block; }
  .nav-ready .site-nav ul { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; border-top: 1px solid var(--line); }
  .nav-ready .site-nav a { display: flex; padding: 12px; min-height: 48px; font-size: 15px; }
  .hero { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .hero h1 { font-size: clamp(44px, 5.4vw, 56px); }
  .hero .lead { font-size: 17px; }
  .section-heading, .invitation-row { gap: 40px; }
  .program-content h3 { font-size: 23px; }
  .program-content .card-label { font-size: 9px; }
  .program-content p { font-size: 13px; }
  .story-feature { grid-template-columns: 1fr 1.1fr; gap: 32px; }
  .tier { padding: 26px 15px; }
  .tier-amount { font-size: 27px; }
  .cards { gap: 16px; }
  .card { padding: 24px; }
  .contact-layout { grid-template-columns: .8fr 1.2fr; gap: 32px; }
  .form-grid { gap: 20px 16px; }
}
@media (max-width: 760px) {
  h1 { font-size: clamp(40px, 8vw, 58px); }
  h2 { font-size: clamp(33px, 6.5vw, 42px); }
  .brand-seal { width: 60px; height: 60px; }
  .brand { gap: 10px; }
  .brand-name { font-size: 15px; }
  .brand-motto { font-size: 8px; }
  .header-row { min-height: 88px; padding-block: 12px; gap: 10px; }
  .btn-small { padding: 12px 17px; }
  .home-hero { padding-top: 42px; }
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: clamp(46px, 9.5vw, 68px); }
  .hero .lead { max-width: 440px; font-size: 18px; }
  .hero-photo { padding-right: 12px; }
  .photo-frame::before { inset: 12px -12px -12px 12px; }
  .hero-photo figcaption { margin-top: 28px; }
  .hero-scripture { grid-column: 1; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
  .section-heading > p { margin: 0; max-width: 550px; font-size: 15px; }
  .programs { grid-template-columns: 1fr; gap: 40px; }
  .program-card { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 24px; }
  .program-media { aspect-ratio: 1; }
  .program-content { padding-top: 0; }
  .program-content .card-label { font-size: 9px; margin-bottom: 12px; }
  .program-content h3 { font-size: clamp(23px, 3.6vw, 28px); }
  .program-content p { font-size: 13px; }
  .program-content .text-link { font-size: 11px; gap: 12px; }
  .preview-toggle { right: 8px; bottom: 8px; font-size: 9px; padding: 7px 9px; }
  .story-feature, .split, .page-hero, .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .story-copy { max-width: 600px; }
  .story-copy h2 br { display: none; }
  .tiers { grid-template-columns: 1fr; margin-top: 32px; }
  .tier, .tier:first-child { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 24px; padding: 22px 0; border-left: 0; border-top: 1px solid var(--line); }
  .tier:first-child { border-top: 0; }
  .tier-amount { margin: 0; font-size: 28px; }
  .tier-what { max-width: 100%; font-size: 13px; }
  .invitation-row { grid-template-columns: 1fr; gap: 28px; }
  .invitation-row > div:last-child { justify-self: start; }
  .invitation-row p:not(.eyebrow) { font-size: 16px; }
  .cards { grid-template-columns: 1fr; gap: 24px; }
  .card { padding: 28px; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .team-card h3 { font-size: 18px; }
  .page-hero-photo img { aspect-ratio: 4 / 3; }
  .page-intro .lead { font-size: 18px; }
  .program-header { grid-template-columns: 1fr; gap: 20px; margin-bottom: 24px; }
  .program-header h2 { margin-bottom: 0; }
  .gallery { gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-strip { grid-template-columns: 1fr 1fr; gap: 12px; }
  .contact-links { margin-top: 28px; }
  .contact-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
  .contact-links > div:last-child { grid-column: 1 / -1; }
  .contact-links dt { margin-top: 12px; }
  .contact-aside { max-width: 100%; }
  .form { max-width: 100%; }
  .form-panel { padding: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-title { margin-bottom: 12px; }
  .footer-copy { align-items: flex-start; gap: 12px; }
  .footer-copy .caption { width: 100%; }
  .footer-copy .caption:nth-child(2) { margin-left: 0; }
  .lightbox-inner { padding: 64px 12px 84px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: max(16px, env(safe-area-inset-bottom)); }
}
@media (max-width: 420px) {
  .brand-name { font-size: 13px; }
  .brand-seal { width: 48px; height: 48px; }
  .brand-motto { font-size: 7px; margin-top: 4px; }
  .header-row { gap: 8px; min-height: 80px; }
  .nav-ready .nav-toggle { padding: 10px; }
  .nav-toggle-label { display: none; }
  .header-give { padding: 12px 14px; }
  .hero h1 { font-size: clamp(43px, 11.3vw, 48px); }
  .hero .btn-row { align-items: stretch; }
  .hero .btn { padding-inline: 16px; gap: 12px; }
  .program-card { display: block; }
  .program-media { aspect-ratio: 4 / 3; }
  .program-content { padding-top: 22px; }
  .program-content h3 { font-size: 28px; }
  .program-content .card-label { font-size: 10px; }
  .program-content p { font-size: 14px; }
  .program-content .text-link { font-size: 13px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-panel { padding: 24px 20px; }
  .field-full { grid-column: auto; }
  .consent { padding: 12px; }
  .tier, .tier:first-child { grid-template-columns: 106px 1fr; gap: 20px; }
  .footer-brand img { width: 68px; height: 68px; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .btn, .text-link { transition: background-color 160ms ease, border-color 160ms ease, gap 180ms ease; }
  .program-preview { transition: opacity 220ms ease; }
  .lightbox[open] { animation: lightbox-in 160ms ease-out; }
  @keyframes lightbox-in { from { opacity: 0; } to { opacity: 1; } }
}
@media print {
  .site-header, .site-footer, .preview-toggle, .program-preview, .btn-row { display: none !important; }
  .band { padding-block: 24px; }
  .band-blue { color: var(--ink); background: transparent; }
  .band-blue :where(h1,h2,h3,p,a) { color: var(--ink); }
  .hero, .page-hero, .contact-layout { display: block; }
}
